@livetiles/reach-components-react 0.5.0-preview.272 → 0.5.0-preview.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm2.js CHANGED
@@ -137,7 +137,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
137
137
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
138
138
  PERFORMANCE OF THIS SOFTWARE.
139
139
  ***************************************************************************** */
140
- var $be=function(){return $be=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},$be.apply(this,arguments)};function Kbe(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 Gbe(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 Ybe(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 Xbe(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function Zbe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Jbe,ewe=function(i){var r,o=i.children,a=Kbe(i,["children"]);return n(t,{children:[e(twe,{},void 0),e(Z,$be({},a,{modalProps:$be($be({},a.modalProps||{}),{className:TV(vZ,"lt-reach-dialog",{"lt-reach-dialog-mobile":Ol.isAnyMobileApp},null===(r=a.modalProps)||void 0===r?void 0:r.className)})},{children:o}),void 0)]},void 0)},twe=Ae(Jbe||(Jbe=Zbe(['\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']))),nwe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},iwe=function(e){return e&&e.Math==Math&&e},rwe=iwe("object"==typeof globalThis&&globalThis)||iwe("object"==typeof window&&window)||iwe("object"==typeof self&&self)||iwe("object"==typeof nwe&&nwe)||Function("return this")(),owe={},awe=function(e){try{return!!e()}catch(e){return!0}},swe=!awe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),lwe={},uwe={}.propertyIsEnumerable,cwe=Object.getOwnPropertyDescriptor,hwe=cwe&&!uwe.call({1:2},1);lwe.f=hwe?function(e){var t=cwe(this,e);return!!t&&t.enumerable}:uwe;var dwe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},fwe={}.toString,pwe=function(e){return fwe.call(e).slice(8,-1)},mwe=pwe,gwe="".split,vwe=awe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==mwe(e)?gwe.call(e,""):Object(e)}:Object,ywe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},bwe=vwe,wwe=ywe,xwe=function(e){return bwe(wwe(e))},Owe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},kwe=Owe,_we=function(e,t){if(!kwe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!kwe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!kwe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!kwe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Swe={}.hasOwnProperty,Cwe=function(e,t){return Swe.call(e,t)},Dwe=Owe,Ewe=rwe.document,Iwe=Dwe(Ewe)&&Dwe(Ewe.createElement),Twe=function(e){return Iwe?Ewe.createElement(e):{}},Awe=Twe,Pwe=!swe&&!awe((function(){return 7!=Object.defineProperty(Awe("div"),"a",{get:function(){return 7}}).a})),Mwe=swe,Nwe=lwe,Rwe=dwe,Lwe=xwe,jwe=_we,Fwe=Cwe,Bwe=Pwe,zwe=Object.getOwnPropertyDescriptor;owe.f=Mwe?zwe:function(e,t){if(e=Lwe(e),t=jwe(t,!0),Bwe)try{return zwe(e,t)}catch(e){}if(Fwe(e,t))return Rwe(!Nwe.f.call(e,t),e[t])};var Wwe={},Qwe=Owe,Uwe=function(e){if(!Qwe(e))throw TypeError(String(e)+" is not an object");return e},Vwe=swe,qwe=Pwe,Hwe=Uwe,$we=_we,Kwe=Object.defineProperty;Wwe.f=Vwe?Kwe:function(e,t,n){if(Hwe(e),t=$we(t,!0),Hwe(n),qwe)try{return Kwe(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 Gwe=Wwe,Ywe=dwe,Xwe=swe?function(e,t,n){return Gwe.f(e,t,Ywe(1,n))}:function(e,t,n){return e[t]=n,e},Zwe={exports:{}},Jwe=rwe,exe=Xwe,txe=function(e,t){try{exe(Jwe,e,t)}catch(n){Jwe[e]=t}return t},nxe=txe,ixe=rwe["__core-js_shared__"]||nxe("__core-js_shared__",{}),rxe=ixe,oxe=Function.toString;"function"!=typeof rxe.inspectSource&&(rxe.inspectSource=function(e){return oxe.call(e)});var axe=rxe.inspectSource,sxe=axe,lxe=rwe.WeakMap,uxe="function"==typeof lxe&&/native code/.test(sxe(lxe)),cxe={exports:{}},hxe=ixe;(cxe.exports=function(e,t){return hxe[e]||(hxe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var dxe,fxe,pxe,mxe=0,gxe=Math.random(),vxe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++mxe+gxe).toString(36)},yxe=cxe.exports,bxe=vxe,wxe=yxe("keys"),xxe=function(e){return wxe[e]||(wxe[e]=bxe(e))},Oxe={},kxe=uxe,_xe=Owe,Sxe=Xwe,Cxe=Cwe,Dxe=xxe,Exe=Oxe,Ixe=rwe.WeakMap;if(kxe){var Txe=new Ixe,Axe=Txe.get,Pxe=Txe.has,Mxe=Txe.set;dxe=function(e,t){return Mxe.call(Txe,e,t),t},fxe=function(e){return Axe.call(Txe,e)||{}},pxe=function(e){return Pxe.call(Txe,e)}}else{var Nxe=Dxe("state");Exe[Nxe]=!0,dxe=function(e,t){return Sxe(e,Nxe,t),t},fxe=function(e){return Cxe(e,Nxe)?e[Nxe]:{}},pxe=function(e){return Cxe(e,Nxe)}}var Rxe={set:dxe,get:fxe,has:pxe,enforce:function(e){return pxe(e)?fxe(e):dxe(e,{})},getterFor:function(e){return function(t){var n;if(!_xe(t)||(n=fxe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Lxe=rwe,jxe=Xwe,Fxe=Cwe,Bxe=txe,zxe=axe,Wxe=Rxe.get,Qxe=Rxe.enforce,Uxe=String(String).split("String");(Zwe.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||Fxe(n,"name")||jxe(n,"name",t),Qxe(n).source=Uxe.join("string"==typeof t?t:"")),e!==Lxe?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:jxe(e,t,n)):o?e[t]=n:Bxe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Wxe(this).source||zxe(this)}));var Vxe=rwe,qxe=rwe,Hxe=function(e){return"function"==typeof e?e:void 0},$xe=function(e,t){return arguments.length<2?Hxe(Vxe[e])||Hxe(qxe[e]):Vxe[e]&&Vxe[e][t]||qxe[e]&&qxe[e][t]},Kxe={},Gxe=Math.ceil,Yxe=Math.floor,Xxe=function(e){return isNaN(e=+e)?0:(e>0?Yxe:Gxe)(e)},Zxe=Xxe,Jxe=Math.min,eOe=function(e){return e>0?Jxe(Zxe(e),9007199254740991):0},tOe=Xxe,nOe=Math.max,iOe=Math.min,rOe=xwe,oOe=eOe,aOe=function(e,t){var n=tOe(e);return n<0?nOe(n+t,0):iOe(n,t)},sOe=function(e){return function(t,n,i){var r,o=rOe(t),a=oOe(o.length),s=aOe(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}},lOe={includes:sOe(!0),indexOf:sOe(!1)},uOe=Cwe,cOe=xwe,hOe=lOe.indexOf,dOe=Oxe,fOe=function(e,t){var n,i=cOe(e),r=0,o=[];for(n in i)!uOe(dOe,n)&&uOe(i,n)&&o.push(n);for(;t.length>r;)uOe(i,n=t[r++])&&(~hOe(o,n)||o.push(n));return o},pOe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mOe=fOe,gOe=pOe.concat("length","prototype");Kxe.f=Object.getOwnPropertyNames||function(e){return mOe(e,gOe)};var vOe={};vOe.f=Object.getOwnPropertySymbols;var yOe=Kxe,bOe=vOe,wOe=Uwe,xOe=$xe("Reflect","ownKeys")||function(e){var t=yOe.f(wOe(e)),n=bOe.f;return n?t.concat(n(e)):t},OOe=Cwe,kOe=xOe,_Oe=owe,SOe=Wwe,COe=awe,DOe=/#|\.prototype\./,EOe=function(e,t){var n=TOe[IOe(e)];return n==POe||n!=AOe&&("function"==typeof t?COe(t):!!t)},IOe=EOe.normalize=function(e){return String(e).replace(DOe,".").toLowerCase()},TOe=EOe.data={},AOe=EOe.NATIVE="N",POe=EOe.POLYFILL="P",MOe=EOe,NOe=rwe,ROe=owe.f,LOe=Xwe,jOe=Zwe.exports,FOe=txe,BOe=function(e,t){for(var n=kOe(t),i=SOe.f,r=_Oe.f,o=0;o<n.length;o++){var a=n[o];OOe(e,a)||i(e,a,r(t,a))}},zOe=MOe,WOe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?NOe:u?NOe[s]||FOe(s,{}):(NOe[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=ROe(n,i))&&a.value:n[i],!zOe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;BOe(o,r)}(e.sham||r&&r.sham)&&LOe(o,"sham",!0),jOe(n,i,o,e)}},QOe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},UOe=ywe,VOe=function(e){return Object(UOe(e))},qOe=QOe,HOe=VOe,$Oe=vwe,KOe=eOe,GOe=function(e){return function(t,n,i,r){qOe(n);var o=HOe(t),a=$Oe(o),s=KOe(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}},YOe={left:GOe(!1),right:GOe(!0)},XOe=awe,ZOe=function(e,t){var n=[][e];return!!n&&XOe((function(){n.call(null,t||function(){throw 1},1)}))},JOe=swe,eke=awe,tke=Cwe,nke=Object.defineProperty,ike={},rke=function(e){throw e},oke=WOe,ake=YOe.left,ske=function(e,t){if(tke(ike,e))return ike[e];t||(t={});var n=[][e],i=!!tke(t,"ACCESSORS")&&t.ACCESSORS,r=tke(t,0)?t[0]:rke,o=tke(t,1)?t[1]:void 0;return ike[e]=!!n&&!eke((function(){if(i&&!JOe)return!0;var e={length:-1};i?nke(e,1,{enumerable:!0,get:rke}):e[1]=1,n.call(e,r,o)}))},lke=ZOe("reduce"),uke=ske("reduce",{1:0});oke({target:"Array",proto:!0,forced:!lke||!uke},{reduce:function(e){return ake(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var cke=fOe,hke=pOe,dke=Object.keys||function(e){return cke(e,hke)},fke=swe,pke=awe,mke=dke,gke=vOe,vke=lwe,yke=VOe,bke=vwe,wke=Object.assign,xke=Object.defineProperty,Oke=!wke||pke((function(){if(fke&&1!==wke({b:1},wke(xke({},"a",{enumerable:!0,get:function(){xke(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!=wke({},e)[n]||mke(wke({},t)).join("")!=i}))?function(e,t){for(var n=yke(e),i=arguments.length,r=1,o=gke.f,a=vke.f;i>r;)for(var s,l=bke(arguments[r++]),u=o?mke(l).concat(o(l)):mke(l),c=u.length,h=0;c>h;)s=u[h++],fke&&!a.call(l,s)||(n[s]=l[s]);return n}:wke,kke=Oke;WOe({target:"Object",stat:!0,forced:Object.assign!==kke},{assign:kke});var _ke=awe,Ske=!!Object.getOwnPropertySymbols&&!_ke((function(){return!String(Symbol())})),Cke=Ske&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Dke=rwe,Eke=cxe.exports,Ike=Cwe,Tke=vxe,Ake=Ske,Pke=Cke,Mke=Eke("wks"),Nke=Dke.Symbol,Rke=Pke?Nke:Nke&&Nke.withoutSetter||Tke,Lke=function(e){return Ike(Mke,e)||(Ake&&Ike(Nke,e)?Mke[e]=Nke[e]:Mke[e]=Rke("Symbol."+e)),Mke[e]},jke=Owe,Fke=pwe,Bke=Lke("match"),zke=function(e){var t;return jke(e)&&(void 0!==(t=e[Bke])?!!t:"RegExp"==Fke(e))},Wke=zke,Qke=function(e){if(Wke(e))throw TypeError("The method doesn't accept regular expressions");return e},Uke=Lke("match"),Vke=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Uke]=!1,"/./"[e](t)}catch(e){}}return!1},qke=Qke,Hke=ywe;function $ke(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)}WOe({target:"String",proto:!0,forced:!Vke("includes")},{includes:function(e){return!!~String(Hke(this)).indexOf(qke(e),arguments.length>1?arguments[1]:void 0)}});var Kke,Gke=Wwe,Yke=Uwe,Xke=dke,Zke=swe?Object.defineProperties:function(e,t){Yke(e);for(var n,i=Xke(t),r=i.length,o=0;r>o;)Gke.f(e,n=i[o++],t[n]);return e},Jke=$xe("document","documentElement"),e_e=Uwe,t_e=Zke,n_e=pOe,i_e=Oxe,r_e=Jke,o_e=Twe,a_e=xxe("IE_PROTO"),s_e=function(){},l_e=function(e){return"<script>"+e+"<\/script>"},u_e=function(){try{Kke=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;u_e=Kke?function(e){e.write(l_e("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Kke):((t=o_e("iframe")).style.display="none",r_e.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(l_e("document.F=Object")),e.close(),e.F);for(var n=n_e.length;n--;)delete u_e.prototype[n_e[n]];return u_e()};i_e[a_e]=!0;var c_e=Object.create||function(e,t){var n;return null!==e?(s_e.prototype=e_e(e),n=new s_e,s_e.prototype=null,n[a_e]=e):n=u_e(),void 0===t?n:t_e(n,t)},h_e=c_e,d_e=Wwe,f_e=Lke("unscopables"),p_e=Array.prototype;null==p_e[f_e]&&d_e.f(p_e,f_e,{configurable:!0,value:h_e(null)});var m_e,g_e,v_e,y_e=function(e){p_e[f_e][e]=!0},b_e={},w_e=!awe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),x_e=Cwe,O_e=VOe,k_e=w_e,__e=xxe("IE_PROTO"),S_e=Object.prototype,C_e=k_e?Object.getPrototypeOf:function(e){return e=O_e(e),x_e(e,__e)?e[__e]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?S_e:null},D_e=C_e,E_e=Xwe,I_e=Cwe,T_e=Lke("iterator"),A_e=!1;[].keys&&("next"in(v_e=[].keys())?(g_e=D_e(D_e(v_e)))!==Object.prototype&&(m_e=g_e):A_e=!0),null==m_e&&(m_e={}),I_e(m_e,T_e)||E_e(m_e,T_e,(function(){return this}));var P_e={IteratorPrototype:m_e,BUGGY_SAFARI_ITERATORS:A_e},M_e=Wwe.f,N_e=Cwe,R_e=Lke("toStringTag"),L_e=function(e,t,n){e&&!N_e(e=n?e:e.prototype,R_e)&&M_e(e,R_e,{configurable:!0,value:t})},j_e=P_e.IteratorPrototype,F_e=c_e,B_e=dwe,z_e=L_e,W_e=b_e,Q_e=function(){return this},U_e=Owe,V_e=Uwe,q_e=function(e){if(!U_e(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},H_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 V_e(n),q_e(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),$_e=WOe,K_e=function(e,t,n){var i=t+" Iterator";return e.prototype=F_e(j_e,{next:B_e(1,n)}),z_e(e,i,!1),W_e[i]=Q_e,e},G_e=C_e,Y_e=H_e,X_e=L_e,Z_e=Xwe,J_e=Zwe.exports,eSe=b_e,tSe=P_e.IteratorPrototype,nSe=P_e.BUGGY_SAFARI_ITERATORS,iSe=Lke("iterator"),rSe=function(){return this},oSe=xwe,aSe=y_e,sSe=b_e,lSe=Rxe,uSe=function(e,t,n,i,r,o,a){K_e(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!nSe&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},h=t+" Iterator",d=!1,f=e.prototype,p=f[iSe]||f["@@iterator"]||r&&f[r],m=!nSe&&p||c(r),g="Array"==t&&f.entries||p;if(g&&(s=G_e(g.call(new e)),tSe!==Object.prototype&&s.next&&(G_e(s)!==tSe&&(Y_e?Y_e(s,tSe):"function"!=typeof s[iSe]&&Z_e(s,iSe,rSe)),X_e(s,h,!0))),"values"==r&&p&&"values"!==p.name&&(d=!0,m=function(){return p.call(this)}),f[iSe]!==m&&Z_e(f,iSe,m),eSe[t]=m,r)if(l={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(u in l)(nSe||d||!(u in f))&&J_e(f,u,l[u]);else $_e({target:t,proto:!0,forced:nSe||d},l);return l},cSe=lSe.set,hSe=lSe.getterFor("Array Iterator"),dSe=uSe(Array,"Array",(function(e,t){cSe(this,{type:"Array Iterator",target:oSe(e),index:0,kind:t})}),(function(){var e=hSe(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");sSe.Arguments=sSe.Array,aSe("keys"),aSe("values"),aSe("entries");var fSe=rwe,pSe={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},mSe=dSe,gSe=Xwe,vSe=Lke,ySe=vSe("iterator"),bSe=vSe("toStringTag"),wSe=mSe.values;for(var xSe in pSe){var OSe=fSe[xSe],kSe=OSe&&OSe.prototype;if(kSe){if(kSe[ySe]!==wSe)try{gSe(kSe,ySe,wSe)}catch(e){kSe[ySe]=wSe}if(kSe[bSe]||gSe(kSe,bSe,xSe),pSe[xSe])for(var _Se in mSe)if(kSe[_Se]!==mSe[_Se])try{gSe(kSe,_Se,mSe[_Se])}catch(e){kSe[_Se]=mSe[_Se]}}}var SSe,CSe,DSe,ESe,ISe,TSe,ASe,PSe,MSe,NSe,RSe,LSe,jSe,FSe,BSe,zSe,WSe,QSe,USe,VSe=function(t){var n=FS().formatMessage;return e(Y,$be({},t,{className:void 0,role:t.role,onClick:t.onClick,hostClassName:t.className,content:t.resourceKey||t.text?t.text||n({id:t.resourceKey},t.values||{}):null,calloutProps:{calloutWidth:t.width,hidden:t.hidden}},{children:t.children}),void 0)},qSe=function(e){return Pe(ISe||(ISe=Zbe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?Pe(SSe||(SSe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):Pe(CSe||(CSe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Rte),(null==e?void 0:e.color)?Pe(DSe||(DSe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):Pe(ESe||(ESe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,10,20)},HSe=function(t){var n=t.tooltipResourceKey,i=t.className,r=Kbe(t,["tooltipResourceKey","className"]);return e(VSe,$be({resourceKey:n,className:i},{children:e($Se,$be({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},$Se=Te.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(TSe||(TSe=Zbe(["\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"])),qSe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),KSe=Te.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(ASe||(ASe=Zbe(["\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})),GSe=function(t){var i=t.showDialog,r=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,u=t.saveButtonResourceId,c=t.children,h=t.className,d=FS().formatMessage;return n(ewe,$be({hidden:!i,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:X.normal,title:d({id:s})},onDismiss:r},{children:[e(YSe,$be({className:h},{children:c}),void 0),n(J,{children:[e(R,$be({onClick:r,"data-button":"cancel"},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0),e(N,$be({disabled:l,onClick:a,"data-button":"save"},{children:e(iC,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},YSe=Te.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(PSe||(PSe=Zbe(["\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"])),20),XSe=Te(GSe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(MSe||(MSe=Zbe(["\n width: 360px;\n"],["\n width: 360px;\n"]))),ZSe=Te(I).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(NSe||(NSe=Zbe(["\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})),JSe=function(t){var n=t.checked,i=t.readOnly,r=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,u=t.ariaLabelResourceKey,c=FS().formatMessage,h=n?s||a||"CheckboxComposite":a||"Checkbox";return e(eCe,$be({className:o},{children:i?e(nCe,{},void 0):e(VSe,$be({resourceKey:l},{children:e(tCe,{iconProps:{iconName:h},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},eCe=Te.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(RSe||(RSe=Zbe(["\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"]))),tCe=Te(ZSe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(LSe||(LSe=Zbe(["\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"])),18,20),nCe=Te.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(jSe||(jSe=Zbe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),iCe=Pe(FSe||(FSe=Zbe(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),rCe=Te(T).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(BSe||(BSe=Zbe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),iCe),oCe=Te(_e).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(zSe||(zSe=Zbe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),iCe),aCe=Pe(WSe||(WSe=Zbe(["\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),sCe=function(){var t=Yte().hideNotification,n=a(Gte),i=n.isNotificationBarVisible,r=Kbe(n,["isNotificationBarVisible"]),o=FS().formatMessage,s=r.messageId||r.text;return i?e(lCe,$be({className:"notification-wrapper","data-notification-bar":!0},{children:e(uCe,$be({messageBarType:r.messageBarType,className:r.className,actions:r.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&e(VSe,$be({text:r.text,resourceKey:r.messageId,values:r.messageValues},{children:r.text||e(iC,{id:r.messageId,values:r.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},lCe=Te.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(QSe||(QSe=Zbe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),uCe=Te(A).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(USe||(USe=Zbe(["\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"])),aCe,16,18,18,16,18,14,30,20),cCe=function(t){var n,i=FS().formatMessage,r=o5(),o=r5(),a=G5(),s=a.searchAccounts,l=a.getUserAvatarUrl,h=u(),d=Ek();c((function(){t.autoFocus&&h&&h.current&&setTimeout((function(){h.current.focus()}))}),[h,t.autoFocus]);var f=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,p=!t.selectionMode||t.selectionMode===ee.multiple,m=t.selectedItems||[],g=f,v={defaultSelectedItems:(t.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(e){return function(e){var n=e.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==z4.Group?t.userPrincipalName:null,mail:T5(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));t.onChange&&t.onChange(n)}(e)},pickerSuggestionsProps:{noResultsFoundText:i({id:"Generic.noResultsFound"}),searchForMoreText:g&&!t.localOnly?i({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:i({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:d.width<c9?300:0,className:"lt-reach-picker-callout"},inputProps:{id:t.inputId,required:t.required,"aria-required":t.required,"aria-label":t.inputAriaLabelResourceKey?i({id:t.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:i({id:"AriaLabel.removeUserButton"})};return t.onEmptyInputFocus&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return w(e).map(y);return e.then((function(e){return w(e).map(y)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=i({id:t.placeholderStringResourceKey})),t.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),e(dCe,$be({className:TV(t.className,"people-picker")},{children:e(te,$be({},v,{componentRef:h,itemLimit:p?void 0:1}),void 0)}),void 0);function y(e){var t=T5(e.mail)?null:e.mail,n=T5(e.userPrincipalName)?null:e.userPrincipalName,i=yk(e.displayName||e.mail||e.userPrincipalName),o=e.type===z4.User?n:e.type===z4.Group?t:null,a={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(o||"")+(t&&t!==o?" ("+t+")":""),tertiaryText:t,imageInitials:i,initialsColor:bk(i),key:o,accountType:e.type,authenticationType:e.authenticationType};return r.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(e,n){return Gbe(this,void 0,void 0,(function(){var i,r,o;return Ybe(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];i=t.allowMailItems&&lk(e)&&{mail:e,userPrincipalName:e,displayName:e,type:z4.User},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,s({search:e,type:t.accountType,includePendingInvitationUsers:t.includePendingInvitationUsers,includePendingRegistrationUsers:t.includePendingRegistrationUsers,localOnly:t.localOnly||n,excludeApiUsers:t.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),t.additionalSearch&&(o=t.additionalSearch(e))&&(r=r.concat(o)),[2,w(r).map(y)];case 3:return a.sent(),[2,i&&[i].map(y)];case 4:return[2]}}))}))}function w(e){if(!t.selectedItems&&!t.defaultSelectedItems&&!t.excludedItems)return e;var n=(t.excludedItems||[]).concat(t.selectedItems||t.defaultSelectedItems||[]);return e.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 hCe,dCe=Te.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(hCe||(hCe=Zbe(["\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"]))),fCe=WOe,pCe=owe.f,mCe=eOe,gCe=Qke,vCe=ywe,yCe=Vke,bCe="".startsWith,wCe=Math.min,xCe=yCe("startsWith"),OCe=!xCe&&!!function(){var e=pCe(String.prototype,"startsWith");return e&&!e.writable}();fCe({target:"String",proto:!0,forced:!OCe&&!xCe},{startsWith:function(e){var t=String(vCe(this));gCe(e);var n=mCe(wCe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return bCe?bCe.call(t,i,n):t.slice(n,n+i.length)===i}});var kCe=Uwe,_Ce=function(){var e=kCe(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},SCe=Zwe.exports,CCe=Uwe,DCe=awe,ECe=_Ce,ICe=RegExp.prototype,TCe=ICe.toString,ACe=DCe((function(){return"/a/b"!=TCe.call({source:"a",flags:"b"})})),PCe="toString"!=TCe.name;(ACe||PCe)&&SCe(RegExp.prototype,"toString",(function(){var e=CCe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ICe)?ECe.call(e):n)}),{unsafe:!0});var MCe,NCe=function(t){var n=t.fileName,i=t.url;return e(RCe,$be({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n},void 0)}),void 0)},RCe=Te.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(MCe||(MCe=Zbe(["\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}),10),LCe=function(t){var i=t.fileName,r=t.url,o=t.onPlay;return r?n(WCe,$be({className:"lt-reach-embedded-audio"},{children:[e(NCe,{fileName:i,url:r},void 0),n("audio",$be({onPlay:function(){return null==o?void 0:o(r)},controls:!0,title:i,controlsList:"nodownload"},{children:[e("source",{src:r,type:"audio/mpeg"},void 0),e(iC,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function jCe(e){var t=qq.getType(e);return t&&t.toString().startsWith("audio/")}var FCe,BCe,zCe,WCe=Te.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(FCe||(FCe=Zbe(["\n width: 100%;\n"],["\n width: 100%;\n"])));Te.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(BCe||(BCe=Zbe(["\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"])),30,10),Te.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(zCe||(zCe=Zbe(["\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"])),30,30,20,(function(e){return e.theme.textColors.default}));var QCe,UCe,VCe,qCe,HCe,$Ce,KCe=function(t){var i=t.children,r=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(XCe,$be({className:s},{children:[r&&e(YCe,{children:r},void 0),e(GCe,$be({"data-attachment":o,backgroundColor:a},{children:i}),void 0)]}),void 0)},GCe=Te.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(QCe||(QCe=Zbe(["\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+";"})),YCe=Te.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(UCe||(UCe=Zbe(["\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),XCe=Te.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(VCe||(VCe=Zbe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),ZCe=Te(P).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(qCe||(qCe=Zbe(["\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}));Te.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(HCe||(HCe=Zbe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Te(ZCe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})($Ce||($Ce=Zbe(["\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 JCe,eDe,tDe,nDe,iDe=function(t){var n=t.children,i=Kbe(t,["children"]);return e(ne,$be({},i,{className:TV(vZ,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},rDe=function(t){var i=FS().formatMessage,r=h(!1),o=r[0],s=r[1],l=a(zte).theme.palette.accent;return n(ewe,$be({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!t.hideCloseButton,type:t.hideCloseButton?X.normal:X.close,title:i({id:t.titleResourceKey},t.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:t.onCancel},{children:[e(oDe,{children:e(iC,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues},void 0)},void 0),e(aDe,{"data-verify-item-input":!0,onChange:function(e,n){var i=n===t.compareValue;i!==o&&s(i)},ariaLabel:i({id:t.inputAriaLabelResourceKey})},void 0),t.children,n(J,{children:[e(R,$be({onClick:t.onCancel,disabled:t.disabled},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0),e(sDe,$be({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(iC,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},oDe=Te.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(JCe||(JCe=Zbe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),aDe=Te(M).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(eDe||(eDe=Zbe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),sDe=Te(N).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(tDe||(tDe=Zbe(["\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})),lDe=function(t){var i=t.showDialog,r=t.titleResourceKey,o=t.titleResourceValues,s=t.infoResourceKey,l=t.infoResourceValues,u=t.onConfirm,c=t.onClose,h=t.children,d=FS().formatMessage,f=a(zte).theme.palette.accent;return n(ewe,$be({hidden:!i,modalProps:{isBlocking:!0},dialogContentProps:{type:X.normal,subText:s?d({id:s},l):"",title:d({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[h,n(J,{children:[e(R,$be({onClick:c,"data-cancel-button":!0},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0),e(N,$be({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:e(iC,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},uDe=function(t){var i=t.onConfirm,r=t.onCancel,o=FS().formatMessage,s=a(zte).theme.palette.accent;return e(ewe,$be({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:X.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:n(cDe,{children:[e(iC,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),n(J,{children:[e(N,$be({onClick:i},{children:e(iC,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),e(R,$be({onClick:r},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},cDe=Te.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(nDe||(nDe=Zbe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),hDe=function(t){var n=t.value,i=a(gC).language,r=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=$be($be({},pDe),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/3600;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/86400;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/604800;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),h=u.getFullYear()-c.getFullYear(),d=12*h+u.getMonth()-c.getMonth();if(Math.round(Math.abs(d))>0&&Math.abs(d)<i.month)return{value:Math.round(d),unit:"month"};return{value:Math.round(h),unit:"year"}}(n),o=r.value,s=r.unit;return e($S,$be({locale:i},{children:e(eC,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)};var dDe,fDe,pDe={second:45,minute:45,hour:22,day:6,week:4,month:12},mDe=function(e){return xl(e).isSame(new Date,"day")},gDe=function(t){var i=xl(t.value),r=i.toDate(),o=!t.showAsAbsolute&&(t.showAsRelative||mDe(t.value)),a={dateTime:r.toISOString(),title:i.format("LLLL")};return!t.showWeekDay&&o?e(yDe,$be({className:TV(t.className)},a,{children:e(hDe,{value:r},void 0)}),void 0):n(yDe,$be({className:TV(t.className)},a,{children:[e(rC,{weekday:t.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:r},void 0)," ",e(oC,{value:r},void 0)]}),void 0)},vDe=function(t){var i=t.startDate,r=t.endDate,o=t.className;if(!r)return e("div",$be({className:o},{children:e(gDe,{value:i,showWeekDay:!0},void 0)}),void 0);var a=xl(i),s=xl(r);return a.isSame(s,"d")?n("div",$be({className:o},{children:[e(gDe,{value:i,showWeekDay:!0},void 0)," - ",e(oC,{value:s.toDate()},void 0)]}),void 0):n("div",$be({className:o},{children:[e(gDe,{value:i,showWeekDay:!0},void 0)," - ",e(gDe,{value:r,showWeekDay:!0},void 0)]}),void 0)},yDe=Te.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(dDe||(dDe=Zbe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));Te.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(fDe||(fDe=Zbe(["\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}),Rte);var bDe,wDe,xDe,ODe,kDe,_De,SDe,CDe=function(t){var n,i=t.children,r=Kbe(t,["children"]);return e(U,$be({},r,{calloutProps:$be($be({},r.calloutProps||{}),{className:TV(vZ,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},DDe=function(t){var i=t.svg,r=t.icon,o=t.styleDefinition,a=t.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=t.additionalButton,u=t.className,c=(null==o?void 0:o.size)||"large";return e(EDe,$be({className:u,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(IDe,$be({hasLargeParagraphStyle:!r,hasLargeSvgStyle:"large"===c},{children:[r&&e(L,{iconName:r},void 0),!r&&i,s.map((function(t,n){return e("p",{children:e(iC,{id:t},void 0)},n)})),l]}),void 0)}),void 0)},EDe=Te.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(xDe||(xDe=Zbe(["\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?Pe(bDe||(bDe=Zbe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):Pe(wDe||(wDe=Zbe(["\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 "])))})),IDe=Te.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(_De||(_De=Zbe(["\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"])),20,14,10,(function(e){return!e.hasLargeSvgStyle&&Pe(ODe||(ODe=Zbe(["\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 "])),18,e.theme.palette.neutralSecondary,30)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&Pe(kDe||(kDe=Zbe(["\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,20,(function(e){return e.theme.palette.accent}),30,30,u9.small)}),(function(e){return e.theme.palette.accent}),3,h9,24,30,30),TDe=function(e,t){return null!=e&&(e&t)===t};Te.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(SDe||(SDe=Zbe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var ADe=WOe,PDe=QOe,MDe=VOe,NDe=awe,RDe=ZOe,LDe=[],jDe=LDe.sort,FDe=NDe((function(){LDe.sort(void 0)})),BDe=NDe((function(){LDe.sort(null)})),zDe=RDe("sort");ADe({target:"Array",proto:!0,forced:FDe||!BDe||!zDe},{sort:function(e){return void 0===e?jDe.call(MDe(this)):jDe.call(MDe(this),PDe(e))}});var WDe=function(n){var i=n.languages,r=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=FS(),u=l.formatMessage;return e(t,{children:y6.apply(void 0,Xbe([l],i)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e($De,{children:e(KDe,{"data-translation-field":t.code,placeholder:null!=s?s:u({id:a},{lang:t.localizedName}),label:t.localizedName,value:r[t.code],onChange:function(e,n){var i;o($be($be({},r),((i={})[t.code]=n,i)))}},void 0)},t.code)}))},void 0)};Te.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(QDe||(QDe=Zbe(["\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 QDe,UDe,VDe,qDe,HDe,$De=Te.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(UDe||(UDe=Zbe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),KDe=Te(M).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(VDe||(VDe=Zbe(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));Te.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(qDe||(qDe=Zbe(["\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"]))),Te.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(HDe||(HDe=Zbe(["\n display: flex;\n"],["\n display: flex;\n"])));var GDe,YDe=function(t){var n=h(null==t.delay),i=n[0],r=n[1];return c((function(){if(null!=!t.delay){var e=setTimeout((function(){return r(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),i?e(XDe,$be({className:t.className},{children:e(D,$be({},t,{className:""}),void 0)}),void 0):null},XDe=Te.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(GDe||(GDe=Zbe(["\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"]))),ZDe=rwe.Promise,JDe=Zwe.exports,eEe=$xe,tEe=Wwe,nEe=swe,iEe=Lke("species"),rEe=function(e){var t=eEe(e),n=tEe.f;nEe&&t&&!t[iEe]&&n(t,iEe,{configurable:!0,get:function(){return this}})},oEe={exports:{}},aEe=b_e,sEe=Lke("iterator"),lEe=Array.prototype,uEe=QOe,cEe=function(e,t,n){if(uEe(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)}},hEe={};hEe[Lke("toStringTag")]="z";var dEe="[object z]"===String(hEe),fEe=pwe,pEe=Lke("toStringTag"),mEe="Arguments"==fEe(function(){return arguments}()),gEe=dEe?fEe: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),pEe))?n:mEe?fEe(t):"Object"==(i=fEe(t))&&"function"==typeof t.callee?"Arguments":i},vEe=gEe,yEe=b_e,bEe=Lke("iterator"),wEe=Uwe,xEe=Uwe,OEe=function(e){return void 0!==e&&(aEe.Array===e||lEe[sEe]===e)},kEe=eOe,_Ee=cEe,SEe=function(e){if(null!=e)return e[bEe]||e["@@iterator"]||yEe[vEe(e)]},CEe=function(e,t,n,i){try{return i?t(wEe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&wEe(r.call(e)),t}},DEe=function(e,t){this.stopped=e,this.result=t},EEe=oEe.exports=function(e,t,n,i,r){var o,a,s,l,u,c,h,d=_Ee(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=SEe(e)))throw TypeError("Target is not iterable");if(OEe(a)){for(s=0,l=kEe(e.length);l>s;s++)if((u=i?d(xEe(h=e[s])[0],h[1]):d(e[s]))&&u instanceof DEe)return u;return new DEe(!1)}o=a.call(e)}for(c=o.next;!(h=c.call(o)).done;)if("object"==typeof(u=CEe(o,d,h.value,i))&&u&&u instanceof DEe)return u;return new DEe(!1)};EEe.stop=function(e){return new DEe(!0,e)};var IEe=Lke("iterator"),TEe=!1;try{var AEe=0,PEe={next:function(){return{done:!!AEe++}},return:function(){TEe=!0}};PEe[IEe]=function(){return this},Array.from(PEe,(function(){throw 2}))}catch(e){}var MEe,NEe,REe,LEe=Uwe,jEe=QOe,FEe=Lke("species"),BEe=function(e,t){var n,i=LEe(e).constructor;return void 0===i||null==(n=LEe(i)[FEe])?t:jEe(n)},zEe=$xe("navigator","userAgent")||"",WEe=/(iphone|ipod|ipad).*applewebkit/i.test(zEe),QEe=rwe,UEe=awe,VEe=pwe,qEe=cEe,HEe=Jke,$Ee=Twe,KEe=WEe,GEe=QEe.location,YEe=QEe.setImmediate,XEe=QEe.clearImmediate,ZEe=QEe.process,JEe=QEe.MessageChannel,eIe=QEe.Dispatch,tIe=0,nIe={},iIe=function(e){if(nIe.hasOwnProperty(e)){var t=nIe[e];delete nIe[e],t()}},rIe=function(e){return function(){iIe(e)}},oIe=function(e){iIe(e.data)},aIe=function(e){QEe.postMessage(e+"",GEe.protocol+"//"+GEe.host)};YEe&&XEe||(YEe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return nIe[++tIe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},MEe(tIe),tIe},XEe=function(e){delete nIe[e]},"process"==VEe(ZEe)?MEe=function(e){ZEe.nextTick(rIe(e))}:eIe&&eIe.now?MEe=function(e){eIe.now(rIe(e))}:JEe&&!KEe?(REe=(NEe=new JEe).port2,NEe.port1.onmessage=oIe,MEe=qEe(REe.postMessage,REe,1)):!QEe.addEventListener||"function"!=typeof postMessage||QEe.importScripts||UEe(aIe)||"file:"===GEe.protocol?MEe="onreadystatechange"in $Ee("script")?function(e){HEe.appendChild($Ee("script")).onreadystatechange=function(){HEe.removeChild(this),iIe(e)}}:function(e){setTimeout(rIe(e),0)}:(MEe=aIe,QEe.addEventListener("message",oIe,!1)));var sIe,lIe,uIe,cIe,hIe,dIe,fIe,pIe,mIe={set:YEe,clear:XEe},gIe=rwe,vIe=owe.f,yIe=pwe,bIe=mIe.set,wIe=WEe,xIe=gIe.MutationObserver||gIe.WebKitMutationObserver,OIe=gIe.process,kIe=gIe.Promise,_Ie="process"==yIe(OIe),SIe=vIe(gIe,"queueMicrotask"),CIe=SIe&&SIe.value;CIe||(sIe=function(){var e,t;for(_Ie&&(e=OIe.domain)&&e.exit();lIe;){t=lIe.fn,lIe=lIe.next;try{t()}catch(e){throw lIe?cIe():uIe=void 0,e}}uIe=void 0,e&&e.enter()},_Ie?cIe=function(){OIe.nextTick(sIe)}:xIe&&!wIe?(hIe=!0,dIe=document.createTextNode(""),new xIe(sIe).observe(dIe,{characterData:!0}),cIe=function(){dIe.data=hIe=!hIe}):kIe&&kIe.resolve?(fIe=kIe.resolve(void 0),pIe=fIe.then,cIe=function(){pIe.call(fIe,sIe)}):cIe=function(){bIe.call(gIe,sIe)});var DIe=CIe||function(e){var t={fn:e,next:void 0};uIe&&(uIe.next=t),lIe||(lIe=t,cIe()),uIe=t},EIe={},IIe=QOe,TIe=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=IIe(t),this.reject=IIe(n)};EIe.f=function(e){return new TIe(e)};var AIe,PIe,MIe=Uwe,NIe=Owe,RIe=EIe,LIe=rwe,jIe=zEe,FIe=rwe.process,BIe=FIe&&FIe.versions,zIe=BIe&&BIe.v8;zIe?PIe=(AIe=zIe.split("."))[0]+AIe[1]:jIe&&(!(AIe=jIe.match(/Edge\/(\d+)/))||AIe[1]>=74)&&(AIe=jIe.match(/Chrome\/(\d+)/))&&(PIe=AIe[1]);var WIe,QIe,UIe,VIe,qIe=PIe&&+PIe,HIe=WOe,$Ie=rwe,KIe=$xe,GIe=ZDe,YIe=Zwe.exports,XIe=function(e,t,n){for(var i in t)JDe(e,i,t[i],n);return e},ZIe=L_e,JIe=rEe,eTe=Owe,tTe=QOe,nTe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},iTe=pwe,rTe=axe,oTe=oEe.exports,aTe=function(e,t){if(!t&&!TEe)return!1;var n=!1;try{var i={};i[IEe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},sTe=BEe,lTe=mIe.set,uTe=DIe,cTe=function(e,t){if(MIe(e),NIe(t)&&t.constructor===e)return t;var n=RIe.f(e);return(0,n.resolve)(t),n.promise},hTe=function(e,t){var n=LIe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},dTe=EIe,fTe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},pTe=Rxe,mTe=MOe,gTe=qIe,vTe=Lke("species"),yTe=pTe.get,bTe=pTe.set,wTe=pTe.getterFor("Promise"),xTe=GIe,OTe=$Ie.TypeError,kTe=$Ie.document,_Te=$Ie.process,STe=KIe("fetch"),CTe=dTe.f,DTe=CTe,ETe="process"==iTe(_Te),ITe=!!(kTe&&kTe.createEvent&&$Ie.dispatchEvent),TTe=mTe("Promise",(function(){if(!(rTe(xTe)!==String(xTe))){if(66===gTe)return!0;if(!ETe&&"function"!=typeof PromiseRejectionEvent)return!0}if(gTe>=51&&/native code/.test(xTe))return!1;var e=xTe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[vTe]=t,!(e.then((function(){}))instanceof t)})),ATe=TTe||!aTe((function(e){xTe.all(e).catch((function(){}))})),PTe=function(e){var t;return!(!eTe(e)||"function"!=typeof(t=e.then))&&t},MTe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;uTe((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],h=o?c.ok:c.fail,d=c.resolve,f=c.reject,p=c.domain;try{h?(o||(2===t.rejection&&jTe(e,t),t.rejection=1),!0===h?s=r:(p&&p.enter(),s=h(r),p&&(p.exit(),u=!0)),s===c.promise?f(OTe("Promise-chain cycle")):(l=PTe(s))?l.call(s,d,f):d(s)):f(r)}catch(e){p&&!u&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&RTe(e,t)}))}},NTe=function(e,t,n){var i,r;ITe?((i=kTe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),$Ie.dispatchEvent(i)):i={promise:t,reason:n},(r=$Ie["on"+e])?r(i):"unhandledrejection"===e&&hTe("Unhandled promise rejection",n)},RTe=function(e,t){lTe.call($Ie,(function(){var n,i=t.value;if(LTe(t)&&(n=fTe((function(){ETe?_Te.emit("unhandledRejection",i,e):NTe("unhandledrejection",e,i)})),t.rejection=ETe||LTe(t)?2:1,n.error))throw n.value}))},LTe=function(e){return 1!==e.rejection&&!e.parent},jTe=function(e,t){lTe.call($Ie,(function(){ETe?_Te.emit("rejectionHandled",e):NTe("rejectionhandled",e,t.value)}))},FTe=function(e,t,n,i){return function(r){e(t,n,r,i)}},BTe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,MTe(e,t,!0))},zTe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw OTe("Promise can't be resolved itself");var r=PTe(n);r?uTe((function(){var i={done:!1};try{r.call(n,FTe(zTe,e,i,t),FTe(BTe,e,i,t))}catch(n){BTe(e,i,n,t)}})):(t.value=n,t.state=1,MTe(e,t,!1))}catch(n){BTe(e,{done:!1},n,t)}}};TTe&&(xTe=function(e){nTe(this,xTe,"Promise"),tTe(e),WIe.call(this);var t=yTe(this);try{e(FTe(zTe,this,t),FTe(BTe,this,t))}catch(e){BTe(this,t,e)}},(WIe=function(e){bTe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=XIe(xTe.prototype,{then:function(e,t){var n=wTe(this),i=CTe(sTe(this,xTe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=ETe?_Te.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&MTe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),QIe=function(){var e=new WIe,t=yTe(e);this.promise=e,this.resolve=FTe(zTe,e,t),this.reject=FTe(BTe,e,t)},dTe.f=CTe=function(e){return e===xTe||e===UIe?new QIe(e):DTe(e)},"function"==typeof GIe&&(VIe=GIe.prototype.then,YIe(GIe.prototype,"then",(function(e,t){var n=this;return new xTe((function(e,t){VIe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof STe&&HIe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return cTe(xTe,STe.apply($Ie,arguments))}}))),HIe({global:!0,wrap:!0,forced:TTe},{Promise:xTe}),ZIe(xTe,"Promise",!1),JIe("Promise"),UIe=KIe("Promise"),HIe({target:"Promise",stat:!0,forced:TTe},{reject:function(e){var t=CTe(this);return t.reject.call(void 0,e),t.promise}}),HIe({target:"Promise",stat:!0,forced:TTe},{resolve:function(e){return cTe(this,e)}}),HIe({target:"Promise",stat:!0,forced:ATe},{all:function(e){var t=this,n=CTe(t),i=n.resolve,r=n.reject,o=fTe((function(){var n=tTe(t.resolve),o=[],a=0,s=1;oTe(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=CTe(t),i=n.reject,r=fTe((function(){var r=tTe(t.resolve);oTe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var WTe={},QTe=awe;function UTe(e,t){return RegExp(e,t)}WTe.UNSUPPORTED_Y=QTe((function(){var e=UTe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),WTe.BROKEN_CARET=QTe((function(){var e=UTe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var VTe=_Ce,qTe=WTe,HTe=RegExp.prototype.exec,$Te=String.prototype.replace,KTe=HTe,GTe=function(){var e=/a/,t=/b*/g;return HTe.call(e,"a"),HTe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),YTe=qTe.UNSUPPORTED_Y||qTe.BROKEN_CARET,XTe=void 0!==/()??/.exec("")[1];(GTe||XTe||YTe)&&(KTe=function(e){var t,n,i,r,o=this,a=YTe&&o.sticky,s=VTe.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)),XTe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),GTe&&(t=o.lastIndex),i=HTe.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:GTe&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),XTe&&i&&i.length>1&&$Te.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var ZTe=KTe;WOe({target:"RegExp",proto:!0,forced:/./.exec!==ZTe},{exec:ZTe});var JTe,eAe=Zwe.exports,tAe=awe,nAe=Lke,iAe=ZTe,rAe=Xwe,oAe=nAe("species"),aAe=!tAe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),sAe="$0"==="a".replace(/./,"$0"),lAe=nAe("replace"),uAe=!!/./[lAe]&&""===/./[lAe]("a","$0"),cAe=!tAe((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]})),hAe=function(e,t,n,i){var r=nAe(e),o=!tAe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!tAe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[oAe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!aAe||!sAe||uAe)||"split"===e&&!cAe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===iAe?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:sAe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:uAe}),u=l[0],c=l[1];eAe(String.prototype,e,u),eAe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&rAe(RegExp.prototype[r],"sham",!0)},dAe=Xxe,fAe=ywe,pAe=function(e){return function(t,n){var i,r,o=String(fAe(t)),a=dAe(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}},mAe={codeAt:pAe(!1),charAt:pAe(!0)}.charAt,gAe=function(e,t,n){return t+(n?mAe(e,t).length:1)},vAe=pwe,yAe=ZTe,bAe=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"!==vAe(e))throw TypeError("RegExp#exec called on incompatible receiver");return yAe.call(e,t)},wAe=hAe,xAe=zke,OAe=Uwe,kAe=ywe,_Ae=BEe,SAe=gAe,CAe=eOe,DAe=bAe,EAe=ZTe,IAe=awe,TAe=[].push,AAe=Math.min,PAe=!IAe((function(){return!RegExp(4294967295,"y")}));wAe("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(kAe(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!xAe(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,h=new RegExp(e.source,u+"g");(o=EAe.call(h,i))&&!((a=h.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&TAe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)h.lastIndex===o.index&&h.lastIndex++;return c===i.length?!s&&h.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=kAe(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=OAe(e),s=String(this),l=_Ae(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(PAe?"y":"g"),h=new l(PAe?a:"^(?:"+a.source+")",c),d=void 0===r?4294967295:r>>>0;if(0===d)return[];if(0===s.length)return null===DAe(h,s)?[s]:[];for(var f=0,p=0,m=[];p<s.length;){h.lastIndex=PAe?p:0;var g,v=DAe(h,PAe?s:s.slice(p));if(null===v||(g=AAe(CAe(h.lastIndex+(PAe?0:p)),s.length))===f)p=SAe(s,p,u);else{if(m.push(s.slice(f,p)),m.length===d)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===d)return m;p=f=g}}return m.push(s.slice(f)),m}]}),!PAe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(JTe||(JTe={}));var MAe=function(t){var i=t.fileName,r=t.url,o=t.onPlay;if(!r)return null;var a="safari"===av?r+"#t=0.1":r;return n("div",$be({className:"lt-reach-embedded-video"},{children:[e(NCe,{fileName:i,url:r},void 0),n("video",$be({onPlay:function(){return null==o?void 0:o(r)},preload:"metadata",controls:!0,title:i,width:"auto",height:"auto"},{children:[e("source",{src:a,type:"video/mp4"},void 0),e(iC,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function NAe(e){var t,n="mac"===Ol.deviceInfo.operatingSystem,i=null===(t=qq.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(JTe.mp4)||(n?i.startsWith(JTe.quicktime):i.startsWith(JTe.webm)))}var RAe,LAe,jAe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},FAe=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 "},BAe=function(e,t,n){return Pe(LAe||(LAe=Zbe(["\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 zAe(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 WAe(e){return Gbe(this,void 0,void 0,(function(){return Ybe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(zAe))];case 1:return[2,t.sent()]}}))}))}function QAe(e){return jCe(e)?"MusicInCollectionFill":NAe(e)?"Video":qAe(null==e?void 0:e.split(".").pop().toLowerCase())}function UAe(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 VAe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function qAe(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 HAe(){var e=zU(),t=BU(),n=t.createApiUrl,i=t.fetchFromApi,r=a(hC).identifier,o=Rg(),s=w9(),u=s.interaction,c=s.module,h=null==r?void 0:r.id;return l((function(){return{exchangeShortLivedToken:function(e){return Gbe(this,void 0,void 0,(function(){var t;return Ybe(this,(function(n){switch(n.label){case 0:return e?[4,i("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":h}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom(t+"/"+n+"/file_access_token/types/short_lived").get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t,n,i,r){var a=this;return function(){return Gbe(a,void 0,void 0,(function(){var a;return Ybe(this,(function(s){switch(s.label){case 0:return[4,t()];case 1:return a=s.sent(),window.open(a,"ios"===o.deviceInfo.operatingSystem?"_self":e),u({event:p9.downloadFile,action:m9.click,value:a,item:{id:n,type:i,parentId:r},module:c}),[2]}}))}))}}}}),[h,i,n,e,c])}var $Ae,KAe,GAe,YAe,XAe,ZAe,JAe,ePe,tPe,nPe,iPe,rPe,oPe,aPe,sPe,lPe,uPe,cPe,hPe=function(i){var r=i.files,o=i.onDeleteClick,a=i.getFileUrl,s=i.fileAccessToken,l=i.onPlayVideo,u=i.onPlayAudio,c=i.disabled,h=i.parentId,d=i.itemResourceType,f=i.className;if(!r||0===r.length)return null;var p=r.filter((function(e){return a&&jCe(e.filename)})),m=r.filter((function(e){return a&&NAe(e.filename)})),g=r.filter((function(e){return!p.includes(e)&&!m.includes(e)}));return n(t,{children:[m.length>0&&e(fPe,$be({className:f,"data-preload-video":"safari"===av},{children:m.map((function(t){return e(pPe,{children:e(MAe,{fileName:t.filename,url:a(t.id),onPlay:function(e){return l(e,t.id)}},void 0)},t.id)}))}),void 0),p.length>0&&e(dPe,$be({className:f},{children:p.map((function(t){return e(mPe,{children:e(LCe,{fileName:t.filename,url:a(t.id),onPlay:function(e){return u(e,t.id)}},void 0)},t.id)}))}),void 0),g.length>0&&e(dPe,$be({className:f},{children:g.map((function(t){return e(mPe,{children:e(gPe,{attachment:t,disabled:c,getFileUrl:a,fileAccessToken:s,onDeleteClick:o,itemResourceType:d,parentId:h},void 0)},t.id)}))}),void 0)]},void 0)},dPe=Te.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})($Ae||($Ae=Zbe(["\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"]))),fPe=Te.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(KAe||(KAe=Zbe(["\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),pPe=Te.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(GAe||(GAe=Zbe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),mPe=Te.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(YAe||(YAe=Zbe(["\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"])),10,u9.small,5),gPe=function(t){var i=t.attachment,r=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=t.parentId,u=t.itemResourceType,c=FS().formatMessage,h=!s&&r,d=HAe(),f=d.exchangeShortLivedToken,p=d.createDownloadClickHandler;return n(vPe,{children:[i.isUploadInProgress&&e(_Pe,{children:e(SPe,{size:ie.medium},void 0)},void 0),e(bPe,$be({takeFullWidth:!h},{children:function(){var t=this;if(i.hasError)return n(wPe,{children:[e(CPe,{iconName:"Warning"},void 0),e(kPe,$be({title:i.filename},{children:i.filename}),void 0)]},void 0);var r=QAe(i.filename);if(o)return n(yPe,$be({title:i.filename,onClick:p("_blank",(function(){return Gbe(t,void 0,void 0,(function(){var e;return Ybe(this,(function(t){switch(t.label){case 0:return[4,f(a)];case 1:return e=t.sent(),[2,o(i.id,e)]}}))}))}),i.id,u,l)},{children:[e(xPe,{iconName:r},void 0),e(kPe,{children:i.filename},void 0)]}),void 0);return n(wPe,{children:[e(xPe,{iconName:r},void 0),e(kPe,$be({title:i.filename},{children:i.filename}),void 0)]},void 0)}()}),void 0),h&&e(OPe,{iconProps:{iconName:"Delete"},onClick:function(){return r(i)},disabled:i.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},vPe=Te.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(XAe||(XAe=Zbe(["\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})),yPe=Te(R).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(ZAe||(ZAe=Zbe(["\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}),10,(function(e){return e.theme.textColors.default})),bPe=Te.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(tPe||(tPe=Zbe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?Pe(JAe||(JAe=Zbe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):Pe(ePe||(ePe=Zbe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),wPe=Te.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(nPe||(nPe=Zbe(["\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"])),10),xPe=Te(L).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(iPe||(iPe=Zbe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),OPe=Te(I).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(rPe||(rPe=Zbe(["\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})),kPe=Te.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(oPe||(oPe=Zbe(["\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"]))),_Pe=Te.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(aPe||(aPe=Zbe(["\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"]))),SPe=Te(YDe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(sPe||(sPe=Zbe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),CPe=Te(L).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(lPe||(lPe=Zbe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),DPe=function(i){var r,o=i.children,a=Kbe(i,["children"]);return n(t,{children:[e(EPe,{},void 0),e(ewe,$be({},a,{modalProps:$be($be({},a.modalProps||{}),{className:TV({"lt-reach-dialog-mobile-full-height":Ol.isAnyMobileApp},null===(r=a.modalProps)||void 0===r?void 0:r.className)})},{children:o}),void 0)]},void 0)},EPe=Ae(uPe||(uPe=Zbe(['\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"}(cPe||(cPe={}));var IPe=function(t){var i=t.className,r=t.offsetTop,o=void 0===r?0:r,a=t.positionBottomOnMobile,s=t.domIdentifier,l=t.offsetRight,u=void 0===l?0:l,c=t.children;return n(PPe,$be({offsetTop:o,offsetRight:u,className:i,positionBottomOnMobile:a,"data-fab":s},{children:[e(NPe,{},void 0),c]}),void 0)},TPe=function(t){var i=t.iconName,r=t.onClick,o=t.tooltipResourceKey,a=t.useSecondaryBgColor,s=t.domIdentifier,l=t.className,u=FS().formatMessage;return n(VSe,$be({className:l,resourceKey:o},{children:[e(NPe,{},void 0),e(RPe,{"data-fab":s,iconProps:{iconName:i},onClick:r,ariaLabel:u({id:o}),useSecondaryBgColor:a},void 0)]}),void 0)},APe=function(i){var r=i.iconName,o=i.tooltipResourceKey,a=i.titleResourceKey,s=i.showCloseButton,l=i.useSecondaryBgColor,c=i.children,d=i.domIdentifier,f=i.useMobileFullHeight,p=FS().formatMessage,m=h(!1),g=m[0],v=m[1],y=u(null),b=Ol.isAnyMobileApp;return n(t,{children:[e("div",$be({ref:y},{children:e(TPe,{"data-fab":d,tooltipResourceKey:o,iconName:r,onClick:function(){return v(!g)},useSecondaryBgColor:l},void 0)}),void 0),g&&b&&f&&n(DPe,$be({hidden:!g,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:X.close,title:p({id:a})},onDismiss:function(){return v(!1)}},{children:[e(XPe,{},void 0),c]}),void 0),g&&b&&!f&&n(ewe,$be({hidden:!g},{children:[c,e(J,{children:e(R,{text:p({id:"Generic.close"}),onClick:function(){return v(!1)}},void 0)},void 0)]}),void 0),g&&!b&&e(iDe,$be({target:y.current,directionalHint:K.bottomRightEdge,onDismiss:function(){return v(!1)}},{children:n(GPe,{children:[c,s&&e(YPe,{text:p({id:"Generic.close"}),onClick:function(){return v(!1)}},void 0)]},void 0)}),void 0)]},void 0)},PPe=Te.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(FPe||(FPe=Zbe(["\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?Pe(LPe||(LPe=Zbe(["\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 "])),u9.medium,e.offsetTop+20):Pe(jPe||(jPe=Zbe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),MPe=function(e){return Pe(WPe||(WPe=Zbe(["\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?Pe(BPe||(BPe=Zbe(["\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})):Pe(zPe||(zPe=Zbe(["\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})))},NPe=Ae(QPe||(QPe=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return pZ("\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 ")})),RPe=Te(I).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(UPe||(UPe=Zbe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return MPe(e.useSecondaryBgColor)}));Te(VSe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(VPe||(VPe=Zbe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return MPe(e.useSecondaryBgColor)}));var LPe,jPe,FPe,BPe,zPe,WPe,QPe,UPe,VPe,qPe,HPe,$Pe,KPe,GPe=Te.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(qPe||(qPe=Zbe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),YPe=Te(R).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(HPe||(HPe=Zbe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),XPe=Ae($Pe||($Pe=Zbe(["\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"])),c9),ZPe=function(t){var n=t.tagName,i=void 0===n?"div":n,r=t.id,o=t.values,a=t.className;return w(i,{className:a},e(iC,{id:r,values:o},void 0))},JPe=function(t){var i=t.icon,r=t.resourceKey,o=t.className,a=t.values,s="string"==typeof i?e(L,{iconName:i},void 0):i;return n(eMe,$be({className:o},{children:[s,e(iC,{id:r,values:a,tagName:"span"},void 0)]}),void 0)},eMe=Te.div(KPe||(KPe=Zbe(["\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,14),tMe={},nMe=new JV;var iMe=new JV;function rMe(e){var t=u(!0);c((function(){t.current||iMe.next(),t.current=!1}),e)}var oMe,aMe,sMe,lMe,uMe=function(t){var n=t.groupName,i=t.groupId,r=t.keywordName,o=t.keywordId,s=t.language,l=t.underlined,u=t.onClick,c=t.tabIndex,h=r5(),d=x6(a(dne).selectedKeywordGroups,h,i,r,n,s);return u?e(hMe,$be({onClick:function(){return u(o)},tabIndex:c},{children:e(dMe,$be({underlined:!0},{children:d}),void 0)}),void 0):e(dMe,$be({underlined:l},{children:d}),void 0)},cMe=function(t){var n=t.groupId,i=t.keywordName,r=r5(),o=x6(a(dne).selectedKeywordGroups,r,n,i);return rMe([o]),e(dMe,$be({underlined:!0},{children:o}),void 0)},hMe=Te(ZCe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(oMe||(oMe=Zbe(["\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})),dMe=Te.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(sMe||(sMe=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&Pe(aMe||(aMe=Zbe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),fMe=function(t){var i=t.modified,r=FS();return i?n(pMe,$be({className:"ms-fontColor-neutralTertiary"},{children:["(",e(VSe,$be({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=r.formatDate(i,{day:"2-digit",month:"2-digit",year:"numeric"}),t=r.formatTime(i);return e+" "+t}()}},{children:e(iC,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},pMe=Te.div(lMe||(lMe=Zbe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function mMe(){return mMe=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},mMe.apply(this,arguments)}var gMe=function(e){return r.createElement("svg",mMe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),r.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}}),r.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"}}),r.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),r.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}}),r.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"}}),r.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}}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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 vMe(){return vMe=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},vMe.apply(this,arguments)}var yMe=function(e){return r.createElement("svg",vMe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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 bMe(){return bMe=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},bMe.apply(this,arguments)}var wMe=function(e){return r.createElement("svg",bMe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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 xMe(){return xMe=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},xMe.apply(this,arguments)}var OMe,kMe,_Me,SMe,CMe,DMe,EMe,IMe,TMe,AMe,PMe,MMe=function(e){return r.createElement("svg",xMe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),r.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),r.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}}),r.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"}}),r.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}}),r.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),r.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"}}),r.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}}),r.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"}}),r.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"}}),r.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"}}),r.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}}),r.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}}))},NMe=function(t){var n=t.images,i=t.selectedIndex,r=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=Dk((function(){return Gbe(this,void 0,void 0,(function(){var e;return Ybe(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}):zAe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],u=s[1],c=s[2];return u||c?null:e(se,{children:e(RMe,{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:a(e.imageId,n,i),width:n,height:i,caption:e.imageTitle}}(e,l[t])})),selectedIndex:i,hidden:r,onClose:o},void 0)},void 0)},RMe=function(i){var r=i.images,o=i.hidden,a=i.selectedIndex,s=i.onClose,l=FS().formatMessage,h=u(null),d=u();return c((function(){var e;if(!o)return clearTimeout(d.current),d.current=setTimeout((function(){return e=function(){var e=new tie(h.current,iie,r.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:a});return e.listen("close",s),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[o,a]),n(t,{children:[e(LMe,{enforceArrowVisibility:!Ol.isNativeMobileApp},void 0),n("div",$be({ref:h,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"},void 0),n("div",$be({className:"pswp__scroll-wrap"},{children:[n("div",$be({className:"pswp__container"},{children:[e("div",{className:"pswp__item"},void 0),e("div",{className:"pswp__item"},void 0),e("div",{className:"pswp__item"},void 0)]}),void 0),n("div",$be({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",$be({className:"pswp__top-bar"},{children:[e("div",{className:"pswp__counter"},void 0),e("button",{className:"pswp__button pswp__button--close",title:l({id:"ImageViewer.closeCaption"})},void 0),e("button",{className:"pswp__button pswp__button--fs",title:l({id:"ImageViewer.toggleFullscreenCaption"})},void 0),e("div",$be({className:"pswp__preloader"},{children:e("div",$be({className:"pswp__preloader__icn"},{children:e("div",$be({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),e("div",$be({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:e("div",{className:"pswp__share-tooltip"},void 0)}),void 0),e("button",{className:"pswp__button pswp__button--arrow--left",title:l({id:"ImageView.previousCaption"})},void 0),e("button",{className:"pswp__button pswp__button--arrow--right",title:l({id:"ImageView.nextCaption"})},void 0),e("div",$be({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},LMe=Ae(kMe||(kMe=Zbe(["\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&&Pe(OMe||(OMe=Zbe(["\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 "])))})),jMe=function(i){var r=i.images,o=i.imageUrlResolver,s=i.disableRoundedCorners,l=i.gridBackgroundColor,u=i.className,c=FS().formatMessage,d=h(null),f=d[0],p=d[1],m=a(zte).theme.palette;if(!r||0===r.length)return null;var g=r.length>4,v=r.length>1,y=r[0];return n(BMe,$be({"data-multi-images":v,className:u,singleImageHeight:y.height,singleImageWidth:y.width},{children:[e("div",$be({"data-gallery-wrapper":!0},{children:v?n(t,{children:[e(WMe,$be({backgroundColor:null!=l?l:m.neutralLight,applyRoundedCorners:!s},{children:r.slice(0,4).map((function(t,n){return e(QMe,$be({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),b(n)},"aria-label":c({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(UMe,{src:t.previewUrl,imageFit:ae.centerCover,alt:t.imageTitle||""},void 0)}),n)}))}),void 0),g&&n(VMe,$be({onClick:function(){return b(4)}},{children:["+",r.length-4]}),void 0)]},void 0):e(FMe,{image:y,onClick:function(){return b(0)},disableRoundedCorners:s},void 0)}),void 0),e(NMe,{images:r,selectedIndex:f,hidden:null==f,onClose:function(){p(null)},imageUrlResolver:o},void 0)]}),void 0);function b(e){p(e)}},FMe=function(t){var n=t.image,i=t.onClick,r=t.disableRoundedCorners,o=FS().formatMessage;return e(zMe,$be({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:e("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},BMe=Te.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(SMe||(SMe=Zbe(["\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&&Pe(_Me||(_Me=Zbe(["\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)})),zMe=Te.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(DMe||(DMe=Zbe(["\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&&Pe(CMe||(CMe=Zbe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),WMe=Te.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(IMe||(IMe=Zbe(["\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&&Pe(EMe||(EMe=Zbe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),QMe=Te.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(TMe||(TMe=Zbe(["\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"]))),UMe=Te(j).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(AMe||(AMe=Zbe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),VMe=Te(R).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(PMe||(PMe=Zbe(["\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"])),18,u9.small,28);var qMe,HMe,$Me,KMe,GMe,YMe,XMe=function(t){var n=t.icon,i=t.isActive,r=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,u=Kbe(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),c=FS().formatMessage;if(!s&&!a)return null;var h=TV("header-button",l),d=s?e(eNe,$be({className:h,to:s},u,{children:e(L,{iconName:n},void 0)}),void 0):e(JMe,$be({className:h,disabled:r,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:c({id:o}),"data-button-type":"header-btn",isActive:i},u),void 0);return e(ZMe,$be({className:"tooltip-container"},{children:e(VSe,$be({resourceKey:o},{children:d}),void 0)}),void 0)},ZMe=Te.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(qMe||(qMe=Zbe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),JMe=Te(I).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(KMe||(KMe=Zbe(['\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&&Pe(HMe||(HMe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&Pe($Me||($Me=Zbe(["\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)})),eNe=Te(_e).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(YMe||(YMe=Zbe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return Pe(GMe||(GMe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),tNe=ywe,nNe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",iNe=RegExp("^"+nNe+nNe+"*"),rNe=RegExp(nNe+nNe+"*$"),oNe=function(e){return function(t){var n=String(tNe(t));return 1&e&&(n=n.replace(iNe,"")),2&e&&(n=n.replace(rNe,"")),n}},aNe={start:oNe(1),end:oNe(2),trim:oNe(3)},sNe=awe,lNe="\t\n\v\f\r                 \u2028\u2029\ufeff",uNe=aNe.trim,cNe=function(e){return sNe((function(){return!!lNe[e]()||"​…᠎"!="​…᠎"[e]()||lNe[e].name!==e}))};WOe({target:"String",proto:!0,forced:cNe("trim")},{trim:function(){return uNe(this)}});var hNe,dNe,fNe,pNe,mNe,gNe,vNe,yNe,bNe,wNe,xNe,ONe,kNe,_Ne,SNe,CNe,DNe,ENe=function(t){var n=t.url,i=t.target,r=t.ariaLabel,o=t.children,s=t.className,l=t.style,u=Kbe(t,["url","target","ariaLabel","children","className","style"]);o5();var c=aee(),h=a(lC);h.onOpenExternalLink;var d=h.tryGetInternalLink,f=!i&&d(n,c);return f?e(oCe,$be({className:s,to:f,"data-link":l9.Internal,"aria-label":r,style:l},u,{children:o}),void 0):e(INe,$be({url:n,target:i,className:s,ariaLabel:r,style:l},u,{children:o}),void 0)},INe=function(t){var n=t.url,i=t.target,r=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,u=Kbe(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(rCe,$be({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":l9.External,style:l},u,{children:s}),void 0)},TNe=Pe(hNe||(hNe=Zbe(["\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"]))),ANe=Te(ENe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(dNe||(dNe=Zbe(["\n ","\n"],["\n ","\n"])),TNe),PNe=Te(INe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(fNe||(fNe=Zbe(["\n ","\n"],["\n ","\n"])),TNe),MNe=Te(I).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(mNe||(mNe=Zbe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&Pe(pNe||(pNe=Zbe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),NNe=Te((function(t){var i,r=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,u=t.target,c=t.tooltipText,h=t.tooltipResourceKey,d=t.disabled,f=t.className,p=Kbe(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=FS().formatMessage,g=o||(null===(i=null==a?void 0:a.trim())||void 0===i?void 0:i.length)>0&&m({id:a});return n(VSe,$be({resourceKey:h,text:c},{children:[l&&!s&&e(ANe,$be({url:l,ariaLabel:g,target:u},p,{children:e(L,{iconName:r,className:f},void 0)}),void 0),s&&!l&&e(MNe,$be({disabled:d,iconProps:{iconName:r},onClick:s,className:f,ariaLabel:g},p),void 0),s&&l&&e(PNe,$be({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(L,{iconName:r,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(vNe||(vNe=Zbe(["\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&&Pe(gNe||(gNe=Zbe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),RNe=function(t){var i=t.shouldAutoFocus,r=void 0===i||i,o=FS(),s=h(null),l=s[0],d=s[1],f=Oe(),p=a(zte).theme.textColors,m=u();return c((function(){return Fne(v),r&&setTimeout((function(){var e;return m&&(null===(e=m.current)||void 0===e?void 0:e.focus())})),function(){Bne(v)}}),[]),c((function(){d("")}),[f.pathname]),n(FNe,$be({className:TV("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(LNe,{className:"search-input",useLightTheme:t.useLightTheme,default:!0,value:l||t.searchText||"",onChange:function(e,t){return g(t)},onKeyDown:function(e){"Enter"===e.key&&t.onExecuteSearch&&t.onExecuteSearch(l);"Escape"===e.key&&g("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:t.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return m.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),t.searching&&e(jNe,{className:"search-spinner"},void 0),e(BNe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;d(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&p.onPrimary},void 0)]}),void 0);function g(e){var n;d(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function v(){return!(!l&&!t.searchText)&&(g(""),!0)}},LNe=Te(M).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(wNe||(wNe=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?Pe(yNe||(yNe=Zbe(["\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}),FAe("color: "+e.theme.textColors.default)):Pe(bNe||(bNe=Zbe(["\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}),FAe("color: "+e.theme.textColors.onPrimary))})),jNe=Te(D).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(xNe||(xNe=Zbe(["\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})),FNe=Te.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(_Ne||(_Ne=Zbe(["\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"])),FAe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?Pe(ONe||(ONe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):Pe(kNe||(kNe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),BNe=Te(ZSe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(SNe||(SNe=Zbe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),zNe=function(i){var r=i.onSearchInputFieldVisibilityChanged,o=i.isToolbarMode,a=i.onExecuteSearch,s=i.onSearchTextChange,l=i.searchText,u=i.showSearchBoxInput,d=i.className,f=i.shouldAutoFocus,p=h(!!l),m=p[0],g=p[1],v=u||m||!!l;return c((function(){null==r||r(v)}),[v]),n(t,{children:[v&&e(RNe,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),y(!1)},shouldAutoFocus:f,className:d,useLightTheme:o},void 0),!v&&(o?e(NNe,{iconName:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):e(XMe,{icon:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function y(e){g(e),null==r||r(e)}},WNe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},QNe=Uwe,UNe=ywe,VNe=WNe,qNe=bAe;hAe("search",1,(function(e,t,n){return[function(t){var n=UNe(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=QNe(e),o=String(this),a=r.lastIndex;VNe(a,0)||(r.lastIndex=0);var s=qNe(r,o);return VNe(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),Te.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(CNe||(CNe=Zbe(["\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"}(DNe||(DNe={})),Te(L).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(HNe||(HNe=Zbe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),Te.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(GNe||(GNe=Zbe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?Pe($Ne||($Ne=Zbe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):Pe(KNe||(KNe=Zbe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),Te.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(YNe||(YNe=Zbe(["\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"})),Te.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(XNe||(XNe=Zbe(["\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 HNe,$Ne,KNe,GNe,YNe,XNe,ZNe,JNe,eRe,tRe=Te.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(ZNe||(ZNe=Zbe(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));Te.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(JNe||(JNe=Zbe(["\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"}),tRe,(function(e){return e.isLoading?"0.6":"1"})),Te(YDe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(eRe||(eRe=Zbe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var nRe,iRe,rRe=function(t){return e(oRe,$be({},t,{"data-toggle-button":!0}),void 0)},oRe=Te(F).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(nRe||(nRe=Zbe(["\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})),aRe=function(e){return Pe(iRe||(iRe=Zbe(["\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 sRe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[v6(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var lRe=hAe,uRe=Uwe,cRe=VOe,hRe=eOe,dRe=Xxe,fRe=ywe,pRe=gAe,mRe=bAe,gRe=Math.max,vRe=Math.min,yRe=Math.floor,bRe=/\$([$&'`]|\d\d?|<[^>]*>)/g,wRe=/\$([$&'`]|\d\d?)/g,xRe=function(e){return void 0===e?e:String(e)};lRe("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=fRe(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=uRe(e),c=String(this),h="function"==typeof i;h||(i=String(i));var d=u.global;if(d){var f=u.unicode;u.lastIndex=0}for(var p=[];;){var m=mRe(u,c);if(null===m)break;if(p.push(m),!d)break;""===String(m[0])&&(u.lastIndex=pRe(c,hRe(u.lastIndex),f))}for(var g="",v=0,y=0;y<p.length;y++){m=p[y];for(var b=String(m[0]),w=gRe(vRe(dRe(m.index),c.length),0),x=[],O=1;O<m.length;O++)x.push(xRe(m[O]));var k=m.groups;if(h){var _=[b].concat(x,w,c);void 0!==k&&_.push(k);var S=String(i.apply(void 0,_))}else S=s(b,c,w,x,k,i);w>=v&&(g+=c.slice(v,w)+S,v=w+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=wRe;return void 0!==o&&(o=cRe(o),u=bRe),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 h=yRe(c/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var ORe=Owe,kRe=H_e,_Re=swe,SRe=rwe,CRe=MOe,DRe=function(e,t,n){var i,r;return kRe&&"function"==typeof(i=t.constructor)&&i!==n&&ORe(r=i.prototype)&&r!==n.prototype&&kRe(e,r),e},ERe=Wwe.f,IRe=Kxe.f,TRe=zke,ARe=_Ce,PRe=WTe,MRe=Zwe.exports,NRe=awe,RRe=Rxe.set,LRe=rEe,jRe=Lke("match"),FRe=SRe.RegExp,BRe=FRe.prototype,zRe=/a/g,WRe=/a/g,QRe=new FRe(zRe)!==zRe,URe=PRe.UNSUPPORTED_Y;if(_Re&&CRe("RegExp",!QRe||URe||NRe((function(){return WRe[jRe]=!1,FRe(zRe)!=zRe||FRe(WRe)==WRe||"/a/i"!=FRe(zRe,"i")})))){for(var VRe=function(e,t){var n,i=this instanceof VRe,r=TRe(e),o=void 0===t;if(!i&&r&&e.constructor===VRe&&o)return e;QRe?r&&!o&&(e=e.source):e instanceof VRe&&(o&&(t=ARe.call(e)),e=e.source),URe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=DRe(QRe?new FRe(e,t):FRe(e,t),i?this:BRe,VRe);return URe&&n&&RRe(a,{sticky:n}),a},qRe=function(e){e in VRe||ERe(VRe,e,{configurable:!0,get:function(){return FRe[e]},set:function(t){FRe[e]=t}})},HRe=IRe(FRe),$Re=0;HRe.length>$Re;)qRe(HRe[$Re++]);BRe.constructor=VRe,VRe.prototype=BRe,MRe(SRe,"RegExp",VRe)}LRe("RegExp");var KRe,GRe=u9.small-40,YRe=u9.medium-40;function XRe(e){return!!e&&oLe.test(e)}function ZRe(e){return e?"https://www.google.com/maps/search/?api=1&"+$g.stringify({query:e}):null}function JRe(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}Te.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(KRe||(KRe=Zbe(["\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"])),10,c9,20,10,10,u9.small,20,GRe,u9.medium,YRe);var eLe,tLe,nLe,iLe,rLe,oLe=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"),aLe=Te.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(tLe||(tLe=Zbe(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,2.3333333333333335,(function(e){return e.showPlaceholder&&Pe(eLe||(eLe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),u9.small,GRe,2.3333333333333335,u9.medium,(function(e){return e.defaultWidth?e.defaultWidth:250}));Te.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(iLe||(iLe=Zbe(["\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&&Pe(nLe||(nLe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),Te(L).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(rLe||(rLe=Zbe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var sLe,lLe,uLe,cLe,hLe,dLe,fLe,pLe,mLe,gLe=function(i){var r=i.enterDuration,o=i.leaveDuration,a=i.children,s=i.style,l=i.className,u=!!r,c=!!o,h="common-opacity-animation_"+r+"_"+o;return n(t,{children:[e(vLe,{name:h,enterDuration:r,leaveDuration:o},void 0),e(Bie,$be({style:s,className:l,transitionName:h,transitionAppear:u,transitionEnter:u,transitionLeave:c,transitionLeaveTimeout:o,transitionAppearTimeout:r,transitionEnterTimeout:r},{children:a}),void 0)]},void 0)},vLe=Ae(sLe||(sLe=Zbe(["\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})),yLe=function(t){var n=t.contentLanguageCode,i=t.originalContent,r=t.content,o=t.onTranslate,a=t.onContentChange,s=t.itemType,l=t.itemId,u=t.tooltipResourceKey,d=t.showLabel,f=FS().formatMessage,p=r5(),m=o5(),g=h(null),v=g[0],y=g[1],b=h(i===r),w=b[0],x=b[1],O=Yte().showError,k=w9(),_=k.interaction,S=k.module,C=v6(p);if(c((function(){return y(null)}),[i]),!m.automaticTranslation)return null;var D=f({id:"Generic.translate"});return n&&n!==C&&g6.includes(C)&&!m6.includes(C)?e(VSe,$be({resourceKey:w?"Generic.translateTo":u,values:{language:f({id:"Generic.languages."+C})}},{children:e(bLe,$be({"aria-label":d?null:D,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return Gbe(this,void 0,void 0,(function(){var e;return Ybe(this,(function(t){switch(t.label){case 0:return w?v?(a(v),x(!1),[3,4]):[3,1]:(a(i),x(!0),_({event:p9.translateContent,value:null,action:m9.click,item:{id:l,type:s},module:S}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(C)];case 2:return e=t.sent(),a(e),y(e),x(!1),[3,4];case 3:return t.sent(),O("Generic.error"),[3,4];case 4:return _({event:p9.translateContent,value:C,itemType:s,action:m9.click,itemId:l,item:{id:l,type:s},module:S}),[2]}}))}))}},{children:d&&D}),void 0)}),void 0):null},bLe=Te(ZCe)(lLe||(lLe=Zbe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),wLe=Te(B).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(uLe||(uLe=Zbe(["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),xLe=function(i){var r=i.comment,o=i.showEdit,a=i.showDelete,s=i.onDelete,l=i.isEditMode,c=i.toggleEditMode,d=i.originalContent,f=i.currentContent,p=i.setContent,m=i.handleTranslate,g=i.showAutoTranslate,v=i.onReply,y=i.disabled,b=FS().formatMessage,w=r5(),x=h(!1),O=x[0],k=x[1],_=u(null);return w.isPublicUser&&!g?null:w.isPublicUser&&g?e(yLe,{"data-auto-translate-button":r.id,originalContent:d,onContentChange:function(e){k(!1),p(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:N5.Comments,itemId:r.id},void 0):n(t,{children:[e("div",$be({ref:_},{children:e(kLe,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return k(!O)},ariaLabel:b({id:"AriaLabel.contextMenuButton"}),disabled:y},void 0)}),void 0),O&&e(SLe,$be({"data-context-menu":!0,target:_.current,onDismiss:function(){return k(!1)}},{children:n(OLe,{children:[e(VSe,$be({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:e(_Le,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==v||v(r,r.sender),k(!1)},text:b({id:"Comment.replyButton"})},void 0)}),void 0),g&&e(yLe,{"data-auto-translate-button":r.id,originalContent:d,onContentChange:function(e){k(!1),p(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:N5.Comments,itemId:r.id},void 0),o&&e(VSe,$be({resourceKey:"Comment.edit.tooltip"},{children:e(_Le,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){c(!0),k(!1)},text:b({id:"Generic.edit"}),disabled:!r.id||l},void 0)}),void 0),a&&e(VSe,$be({resourceKey:"Comment.delete.tooltip"},{children:e(_Le,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),k(!1)},text:b({id:"Generic.Delete"}),disabled:!r.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},OLe=Te.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(cLe||(cLe=Zbe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),kLe=Te(ZSe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(hLe||(hLe=Zbe(["\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),_Le=Te(ZCe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(dLe||(dLe=Zbe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),SLe=Te(iDe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(fLe||(fLe=Zbe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);Te(R).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(pLe||(pLe=Zbe(["\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"]))),Te(R).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(mLe||(mLe=Zbe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var CLe,DLe,ELe,ILe,TLe,ALe=Te(I).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(CLe||(CLe=Zbe(["\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})),PLe=function(t){var i=t.toggleAll,r=t.className,o=a(zte).theme.palette.accent;return n(MLe,$be({className:r},{children:[e(NLe,$be({onClick:function(){return i(!0)},"data-button-toggle":"selectAll",color:o},{children:e(iC,{id:"Generic.SelectAll"},void 0)}),void 0),e(NLe,$be({onClick:function(){return i(!1)},"data-button-toggle":"clearAll",color:o},{children:e(iC,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},MLe=Te.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(DLe||(DLe=Zbe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),NLe=Te(ZCe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(ELe||(ELe=Zbe(["\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"])));Te((function(t){var i=t.iconName,r=t.textKey,o=Kbe(t,["iconName","textKey"]);return n(Se,$be({},o,{children:[i&&e(L,{iconName:i},void 0),e(iC,{id:r},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(ILe||(ILe=Zbe(["\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"])),10,(function(e){return e.theme.palette.accent})),Te(ZSe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(TLe||(TLe=Zbe([""],[""])));var RLe,LLe,jLe,FLe,BLe=function(t){var n=t.language,i=t.channel,r=t.role,o=t.className,s=r5(),l=ULe(a(dne).channels,i,s,n);return e(zLe,$be({title:l,className:o,role:r},{children:l}),void 0)},zLe=Te.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(RLe||(RLe=Zbe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),WLe=function(i){var r=i.channels,o=i.language;return e(t,{children:r.map((function(t,i){var r=QLe(t)?t.id:t;return n("span",{children:[i>0&&", ",e(BLe,{channel:t,language:o},void 0)]},r)}))},void 0)};function QLe(e){return null!=e.id}function ULe(e,t,n,i){if(null==e&&!QLe(t))return t;var r=QLe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==r)return null;i||(i=v6(n));var o=r.translations||null!=e&&e.filter((function(e){return e.id===r.id})).map((function(e){return e.translations}))[0]||{};return i&&o[i]||o[n.subscription.defaultLanguage]||r.name}Te(BLe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(LLe||(LLe=Zbe(["\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"}),25),Te.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(jLe||(jLe=Zbe(["\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"])),10,15,jAe(2,2),25),Te(ZSe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(FLe||(FLe=Zbe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var VLe,qLe,HLe,$Le,KLe,GLe,YLe,XLe,ZLe,JLe,eje,tje=function(t){var i=t.channels,r=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,u=t.className;if(!i||0===i.length)return null;var c=i.length>s;return n(rje,$be({className:u,"data-has-more-indicator":c},{children:[e(nje,{channels:i.slice(0,s),language:r,channelStyleDefinition:o,onChannelClick:l},void 0),c&&e(ije,{channels:i.slice(s),language:r,styleDefinition:o,onChannelClick:l},void 0)]}),void 0)},nje=function(t){var n=t.channels,i=t.language,r=t.channelStyleDefinition,o=t.onChannelClick;return e(oje,$be({"data-channels":!0},{children:n.map((function(t){var a=e(BLe,{channel:t,language:i},void 0);return o?e(aje,$be({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(t)},"data-rounded-outline":!0},{children:a}),t):e(sje,$be({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),t)}))}),void 0)},ije=function(i){var r=i.channels,o=i.language,a=i.styleDefinition,s=i.onChannelClick,l=u(),c=h(!1),d=c[0],f=c[1];return n(t,{children:[e(uje,$be({ref:l,backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color},{children:e(cje,$be({onClick:function(){return f(!0)}},{children:"+"+r.length}),void 0)}),void 0),d&&e(hje,$be({target:l.current,onDismiss:function(){return f(!1)}},{children:e(dje,{children:r.map((function(t){return e("li",{children:s?e(ZCe,$be({onClick:function(){return s(t)}},{children:e(BLe,{channel:t,language:o},void 0)}),void 0):e(BLe,{channel:t,language:o},void 0)},t)}))},void 0)}),void 0)]},void 0)},rje=Te.div(VLe||(VLe=Zbe(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),oje=Te.div(qLe||(qLe=Zbe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),aje=Te(ZCe)(HLe||(HLe=Zbe(["\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 lje(e.bubbleCount,e.backgroundColor,e.color)})),sje=Te.span($Le||($Le=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return lje(e.bubbleCount,e.backgroundColor,e.color)})),lje=function(e,t,n){return Pe(YLe||(YLe=Zbe(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&Pe(KLe||(KLe=Zbe(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&Pe(GLe||(GLe=Zbe(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),qSe({backgroundColor:t,color:n}))},uje=Te.div(XLe||(XLe=Zbe(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return qSe({backgroundColor:e.backgroundColor,color:e.color})})),cje=Te(ZCe)(ZLe||(ZLe=Zbe(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),hje=Te(iDe)(JLe||(JLe=Zbe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),dje=Te.ul(eje||(eje=Zbe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),fje=function(t){var i=t.channels,r=t.buildChannelFilterUrl,o=t.language,a=t.channelBackgroundColor,s=t.onClick,l=t.className;return(null==i?void 0:i.length)?e(Tje,$be({className:l,"data-channels":i.join(",")},{children:i.map((function(t){var i=pje(t)?t.id:t,l=e(Aje,$be({backgroundColor:a},{children:e(BLe,{channel:t,language:o},void 0)}),void 0);return n("li",{children:[r&&e(Pje,$be({"data-channel":!0,to:r(pje(t)?t.name:t),"data-rounded-outline":!0},{children:l}),void 0),s&&e(Nje,$be({"data-rounded-outline":!0,onClick:function(){return s(pje(t)?t.name:t)}},{children:l}),void 0),!s&&!r&&e(Mje,{children:l},void 0)]},i)}))}),void 0):null};function pje(e){return null!=e.id}var mje,gje,vje,yje,bje,wje,xje,Oje,kje,_je,Sje,Cje,Dje,Eje,Ije,Tje=Te.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(mje||(mje=Zbe(["\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"])),14),Aje=Te.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(gje||(gje=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?qSe({backgroundColor:e.backgroundColor}):qSe()})),Pje=Te(Se).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(vje||(vje=Zbe(["\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),Mje=Te.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(yje||(yje=Zbe(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),Nje=Te(ZCe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(bje||(bje=Zbe(["\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),Rje=function(i){var r=i.searchText,o=i.onSearchTextChange,a=i.onExecuteSearch,s=i.onSearchIconClick,l=i.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(Lje,{children:e(zNe,{searchText:r,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0},void 0)},void 0),e(jje,{children:e(NNe,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},Lje=Te.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(wje||(wje=Zbe(["\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"])),h9),jje=Te.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(xje||(xje=Zbe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),u9.medium),Fje=function(t){var i=t.leftSide,r=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,u=t.children,c=h(!1),d=c[0],f=c[1];return n(Bje,$be({className:l,"data-content-toolbar":!0},{children:[n(Qje,{children:[i&&!r&&e(zje,{children:i},void 0),(o||s)&&!a&&n(Wje,{children:[s&&e(Rje,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?p():f(!0)},onSearchInputFieldVisibilityChanged:function(e){return f(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&e(Uje,{children:e(RNe,{onClear:p,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function p(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),f(!1)}},Bje=Te.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(Oje||(Oje=Zbe(["\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),zje=Te.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(kje||(kje=Zbe(["\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"]))),Wje=Te.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(_je||(_je=Zbe(["\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"]))),Qje=Te.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(Sje||(Sje=Zbe(["\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"]))),Uje=Te.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(Cje||(Cje=Zbe(["\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"])),u9.medium);Te(Fje).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(Dje||(Dje=Zbe(["\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"])),10,10,u9.medium,20,20),Te.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(Eje||(Eje=Zbe(["\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"]))),Te.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(Ije||(Ije=Zbe([""],[""])));var Vje,qje,Hje,$je,Kje,Gje,Yje,Xje,Zje,Jje,eFe,tFe=function(i){var r=i.onEmojiSelected,o=i.disabled,a=u(null),s=h(!1),l=s[0],c=s[1],d=FS().formatMessage;return n(t,{children:[e(nFe,$be({ref:a},{children:e(ZSe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return c(!0)},disabled:o,ariaLabel:d({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&e(iFe,$be({directionalHint:K.topCenter,target:a.current,onDismiss:function(){return c(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(oFe,{onSelect:function(e){c(!1),r(e.native)}},void 0)}),void 0)]},void 0)},nFe=Te.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(Vje||(Vje=Zbe([""],[""]))),iFe=Te(iDe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(qje||(qje=Zbe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),rFe=y((function(){return import("./EmojiPicker.esm.esm.js")})),oFe=function(t){var n=t.onSelect,i=Ek();return e(b,$be({fallback:e(aFe,$be({isSmaller:i.width<u9.small},{children:e(YDe,{},void 0)}),void 0)},{children:e(rFe,{onSelect:n},void 0)}),void 0)},aFe=Te.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(Hje||(Hje=Zbe(["\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})),sFe=function(){var t=Ng();return e(lFe,{children:e("a",$be({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:e("img",{src:t.webAppUrl+"/assets/giphy/PoweredBy_200px-White_HorizText.png",alt:"Giphy Attribution"},void 0)}),void 0)},void 0)},lFe=Te.div($je||($je=Zbe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),uFe=function(t){var i,r,o=t.onGifClick,a=t.className,s=Hg(),l=FS().formatMessage,u=new Jae.GiphyFetch(s.giphy.apiKey),c=h(null),d=c[0],f=c[1],p=Ube(d,500)[0],m=Ek(),g=Dk((function(){if(!p)return u.trending({limit:21});return u.search(p,{limit:21})}),null,[p]),v=g[0],y=g[1],b=m.width<550?80:100;return n(cFe,$be({className:a},{children:[e(re,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0},void 0),n(hFe,$be({columnWidth:b,"data-gif-grid":!0},{children:[y&&e(YDe,{delay:300},void 0),0===(null===(i=null==v?void 0:v.data)||void 0===i?void 0:i.length)&&e(iC,{id:"Generic.noResultsFound"},void 0),null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.map((function(t){return e(dFe,{gif:t,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}),void 0)]}),void 0)},cFe=Te.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(Kje||(Kje=Zbe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),hFe=Te.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(Gje||(Gje=Zbe(["\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"])),10,(function(e){return e.columnWidth}),6),dFe=Te(zie.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(Yje||(Yje=Zbe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),fFe=function(t){var i=t.target,r=t.onGifClick,o=t.onDismiss;return n(pFe,$be({directionalHint:K.topCenter,target:i,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(mFe,{onGifClick:r},void 0),e(sFe,{},void 0)]}),void 0)},pFe=Te(iDe)(Xje||(Xje=Zbe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),mFe=Te(uFe)(Zje||(Zje=Zbe(["\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"])));Ae(Jje||(Jje=Zbe(["\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"])),c9),Te(uFe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(eFe||(eFe=Zbe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10);var gFe,vFe,yFe,bFe,wFe,xFe,OFe=function(i){var r=i.disabled,o=i.onGifClick,a=o5(),s=FS().formatMessage,l=u(),c=h(!1),d=c[0],f=c[1];return a.giphy?n("div",{children:[e("div",$be({ref:l},{children:e(ZSe,{iconProps:{iconName:"Gif"},onClick:function(){return f(!0)},disabled:r,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})},void 0)}),void 0),d&&e(t,{children:e(fFe,{target:l.current,onGifClick:function(e){f(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:A5.Giphy})},onDismiss:function(){return f(!1)}},void 0)},void 0)]},void 0):null},kFe=function(t){var n=t.gifInfo,i=t.className,r=Hg(),o=h(),a=o[0],s=o[1];return c((function(){new Jae.GiphyFetch(r.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[r.giphy.apiKey,n.id]),a?e(_Fe,$be({className:i},{children:e(SFe,{gif:a,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},_Fe=Te.div(gFe||(gFe=Zbe([""],[""]))),SFe=Te(zie.Gif)(vFe||(vFe=Zbe(["\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"])),c9),CFe=function(t){var n=t.attachments,i=t.onDeleteClick,r=t.className,o=FS().formatMessage,a=n.filter((function(e){return e.type===A5.Giphy}));return 0===a.length?null:e(DFe,$be({className:r,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(EFe,$be({domIdentifier:"gif",deleteButton:e(ALe,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:e(kFe,{gifInfo:t},void 0)}),t.id)}))}),void 0)},DFe=Te.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(yFe||(yFe=Zbe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),EFe=Te(KCe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(bFe||(bFe=Zbe(["\n width: auto;\n"],["\n width: auto;\n"]))),IFe=function(t){var n=t.attachments,i=t.className,r=n.filter((function(e){return e.type===A5.Giphy}));return 0===r.length?null:e(TFe,$be({className:i,"data-gif-url-preview":r[0].id},{children:e(AFe,{children:e(kFe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},TFe=Te.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(wFe||(wFe=Zbe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),AFe=Te(KCe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(xFe||(xFe=Zbe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var PFe,MFe,NFe,RFe=function(t){var i,r,o=u(null),a=h(!1),s=a[0],l=a[1];return n(LFe,$be({className:t.className},((i={})[t.dataAttribute]=!0,i),{ref:o},{children:[e(jFe,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return Gbe(this,void 0,void 0,(function(){var e,n;return Ybe(this,(function(i){switch(i.label){case 0:return(e=t.disabled)?[3,3]:(n=t.onIconClick)?[4,t.onIconClick()]:[3,2];case 1:n=i.sent(),i.label=2;case 2:e=n,i.label=3;case 3:return e||l(!s),[2]}}))}))},ariaLabel:t.ariaLabel,disabled:t.disabled},void 0),s&&e(FFe,$be({className:"icon-with-callout-content",target:o,directionalHint:null==t.directionalHint?K.rightCenter:t.directionalHint,gapSpace:4,onDismiss:function(){var e;l(!1),null===(e=t.onCalloutDismissed)||void 0===e||e.call(t)},calloutWidth:null!==(r=t.calloutWidth)&&void 0!==r?r:0},{children:t.children}),void 0)]}),void 0)},LFe=Te.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(PFe||(PFe=Zbe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),jFe=Te(ZSe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(MFe||(MFe=Zbe(["\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"]))),FFe=Te(iDe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(NFe||(NFe=Zbe(["\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"]))),BFe="video-view-container";function zFe(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 WFe=["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 QFe(e){return UFe(null==e?void 0:e.preferredLocale)||UFe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||UFe(null==e?void 0:e.preferredUiLanguage)||UFe(navigator.language)||"en"}function UFe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),WFe.find((function(t){return t===e}))):null}var VFe,qFe,HFe,$Fe,KFe,GFe,YFe,XFe,ZFe,JFe=function(t){var i=t.onNextClick,r=t.onPrevClick,o=t.onFirstClick,s=t.hidePrevButton,l=t.hideNextButton,u=t.isLoadingNextPage,c=t.className,h=FS().formatMessage,d=a(zte).theme.palette;return l&&s?null:n(eBe,$be({className:c},{children:[e(VSe,$be({resourceKey:"Lib.paging.goToFirstPage"},{children:e(nBe,{ariaLabel:h({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:s,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),e(iBe,{iconProps:{iconName:"ChevronLeftSmall"},text:h({id:"Generic.previous.page.button.text"}),isHidden:s,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),e(rBe,{iconProps:{iconName:"ChevronRightSmall"},text:h({id:"Generic.next.page.button.text"}),disabled:u,isHidden:l,onClick:i,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},eBe=Te.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(VFe||(VFe=Zbe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),20),tBe=Te(ZCe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(HFe||(HFe=Zbe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&Pe(qFe||(qFe=Zbe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),nBe=Te(tBe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})($Fe||($Fe=Zbe([""],[""]))),iBe=Te(tBe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(KFe||(KFe=Zbe([""],[""]))),rBe=Te(tBe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(GFe||(GFe=Zbe(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));Te.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(YFe||(YFe=Zbe(["\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})),Te.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(XFe||(XFe=Zbe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),60),Te.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(ZFe||(ZFe=Zbe(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var oBe=pwe,aBe=Array.isArray||function(e){return"Array"==oBe(e)},sBe=aBe,lBe=eOe,uBe=cEe,cBe=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,h=!!a&&uBe(a,s,3);c<i;){if(c in n){if(l=h?h(n[c],c,t):n[c],o>0&&sBe(l))u=cBe(e,t,l,lBe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},hBe=cBe,dBe=Owe,fBe=aBe,pBe=Lke("species"),mBe=hBe,gBe=VOe,vBe=eOe,yBe=QOe,bBe=function(e,t){var n;return fBe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!fBe(n.prototype)?dBe(n)&&null===(n=n[pBe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function wBe(e,t,n){var i=function(e){var t=h(0),n=t[0],i=t[1],r=h({pages:{},paginationToken:null,hasNextPage:!0}),o=r[0],a=r[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:Xbe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){a((function(r){var o;return{pages:Hbe(r.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){i(t?e*t:function(t){return t+e})},updateItem:function(e,t){a((function(n){for(var i=$be({},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 $be($be({},n),{pages:i})}))},insertToTheFront:function(t){for(var r,s,l=Xbe([t],(null===(r=o.pages)||void 0===r?void 0:r[0])||[]),u=$be($be({},o.pages),{0:l}),c=Object.keys(u).length,h=0;h<c;){var d=0===h,f=Object.keys(u)[h],p=u[f].length;if(d&&p>e&&p<=2*e){n<2*e&&i(n+e);break}if(p<=e)break;var m=u[f].pop(),g=null!==(s=Object.keys(u)[h+1])&&void 0!==s?s:d?2*e:+f+e,v=u[g];if(!v){o.hasNextPage||(u[g]=[m],i(n+e));break}v.unshift(m),h++}a($be($be({},o),{pages:u}))},deleteItem:function(t){for(var r=$be({},o.pages),s=Object.keys(r).length,l=0;l<s;){var u=Object.keys(r)[l];if(r[u].find((function(e){return e.id===t}))){r[u]=r[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<s;){if(!r[u=Object.keys(r)[l++]].length&&l===s){delete r[u],c=!0;break}var h=Object.keys(r)[l],d=h?r[h]:null;if(!d)break;var f=d.shift();r[u].push(f)}a($be($be({},o),{pages:r}));var p=(c||r[0].length===e)&&n>e;return p&&i(n-e),p}}}(e),r=i.state,o=i.setInitialPages,a=i.updatePageItems,s=i.lastFetchedPageIndex,l=i.updateLastFetchedPageIndex,u=i.updateItem,d=i.insertToTheFront,f=i.deleteItem,p=h(0),m=p[0],g=p[1],v=h(!0),y=v[0],b=v[1],w=h(!1),x=w[0],O=w[1],k=h(null),_=k[0],S=k[1];c((function(){D()}),Xbe([e],n||[]));var C=Object.keys(r.pages).flatMap((function(e){return r.pages[e]})).slice(m-e,m);return{items:C,isInitialLoading:y,isLoadingNextPage:x,error:_,getFirstPage:function(){return g(e)},getPrevPage:function(){return g(m-e)},getNextPage:function(){return Gbe(this,void 0,void 0,(function(){return Ybe(this,(function(t){switch(t.label){case 0:return g(m+e),r.hasNextPage&&m===s-e?[4,E(r.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:m===e,isLastPage:m===s&&!r.hasNextPage,isEmpty:!y&&0===(null==C?void 0:C.length),insertToTheFront:d,updateItem:u,onBeforeDeleteItem:function(t){var n=f(t);!r.hasNextPage&&n&&m>=s&&m>0&&g(m-e);O(!0)},onAfterDeleteItem:function(){return Gbe(this,void 0,void 0,(function(){return Ybe(this,(function(t){switch(t.label){case 0:return r.hasNextPage?r.paginationToken!==2*e?[3,2]:[4,D()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+r.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return O(!1),[2]}}))}))}};function D(){return Gbe(this,void 0,void 0,(function(){var n,i;return Ybe(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=r.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(l(1),g(e)):(l(2),g(e)),[3,4];case 2:return i=r.sent(),nv.error(i),S(i),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function E(n){return Gbe(this,void 0,void 0,(function(){var i,r;return Ybe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),O(!0),[4,t(e,n)];case 1:return i=o.sent(),a(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),nv.error(r),S(_),[3,4];case 3:return O(!1),[7];case 4:return[2]}}))}))}}WOe({target:"Array",proto:!0},{flatMap:function(e){var t,n=gBe(this),i=vBe(n.length);return yBe(e),(t=bBe(n,0)).length=mBe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),y_e("flatMap");var xBe,OBe,kBe,_Be,SBe,CBe,DBe,EBe=function(i){var r=i.onNextClick,o=i.onPrevClick,s=i.hidePagination,l=i.disablePrevButton,u=i.disableNextButton,c=i.children,h=i.className,d=a(zte).theme.palette,f=FS().formatMessage;return s?e(t,{children:c},void 0):n(IBe,$be({className:h},{children:[e(ABe,{disabled:l,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:d.accent,ariaLabel:f({id:"Lib.paging.previous"})},void 0),e(MBe,{children:c},void 0),e(PBe,{disabled:u,onClick:r,iconProps:{iconName:"ChevronDownSmall"},color:d.accent,ariaLabel:f({id:"Lib.paging.next"})},void 0)]}),void 0)},IBe=Te.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(xBe||(xBe=Zbe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),TBe=Te(ZSe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(OBe||(OBe=Zbe(["\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"])),"#333333"),ABe=Te(TBe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(kBe||(kBe=Zbe(["\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})),PBe=Te(TBe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(_Be||(_Be=Zbe(["\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})),MBe=Te.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(SBe||(SBe=Zbe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),NBe=s(null);Te.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(CBe||(CBe=Zbe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),Te.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(DBe||(DBe=Zbe(["\n display: contents;\n"],["\n display: contents;\n"])));var RBe,LBe,jBe,FBe,BBe,zBe,WBe,QBe,UBe,VBe=Pe(RBe||(RBe=Zbe(["\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"]))),qBe=Pe(LBe||(LBe=Zbe(["\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"])),VBe,u9.medium,20),HBe=Pe(jBe||(jBe=Zbe(["\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})),$Be=Pe(FBe||(FBe=Zbe(["\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"])),h9),KBe=function(i){var r=i.getInitialSelectedKey,o=i.bookmarkOption,s=i.manageChannelsOption,l=i.allChannelsOption,u=i.channelsOptions,c=r5(),d=a(dne).channels,f=FS().formatMessage,p=function(){var e=[];l&&e.push({key:"AllChannels",text:f({id:"Channels.All"}),data:{pathname:l.to,iconName:"Org",exact:!0,onSelected:l.onSelected}});if(u){var t=(u.availableChannels?(d||[]).filter((function(e){return u.availableChannels.some((function(t){return e.id===t||e.name===t}))})):c.channels.filter((function(e){return e.isPinnedToNavigation}))).map((function(e){return e}));e=e.concat.apply(e,t.map((function(e){return function(e){var t;return{key:e.id,text:ULe(d,e,c),data:{pathname:null===(t=u.to)||void 0===t?void 0:t.call(u,e),iconName:"Org",exact:!1,channelName:e.name,onSelected:u.onSelected?function(){return u.onSelected(e)}:null}}}(e)})))}o&&e.push({key:"Bookmarks",text:f({id:"Generic.bookmarks"}),data:{pathname:o.to,iconName:"DoubleBookmark",exact:!0,onSelected:o.onSelected}});s&&e.push({key:"ManageChannels",text:f({id:"PageMenu.manageUserChannels"}),data:{pathname:s.to,iconName:"CollapseMenu",exact:!0,onSelected:s.onSelected}});return e}(),m=h((function(){return(null==r?void 0:r(p))||"AllChannels"})),g=m[0],v=m[1];return n(t,{children:[e(GBe,{},void 0),e(YBe,{options:p,onRenderOption:function(t){if(t.data.onSelected)return n(ZBe,{children:[e(L,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key);return n(XBe,$be({to:t.data.pathname,exact:t.data.exact,isActive:t.key===g?function(){return!0}:void 0},{children:[e(L,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]}),t.key)},selectedKey:g,onChange:function(e,t){var n,i;v(t.key.toString()),null===(i=null===(n=t.data)||void 0===n?void 0:n.onSelected)||void 0===i||i.call(n)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:f({id:"AriaLabel.toolbarChannelSelector"})},void 0)]},void 0)},GBe=Ae(BBe||(BBe=Zbe(["\n ","\n"],["\n ","\n"])),$Be),YBe=Te(CDe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(zBe||(zBe=Zbe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),qBe),XBe=Te(Se).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(WBe||(WBe=Zbe(["\n ","\n"],["\n ","\n"])),HBe),ZBe=Te.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(QBe||(QBe=Zbe(["\n ",";\n"],["\n ",";\n"])),HBe),JBe=function(t){var n=t.handler,i=t.disabled;return o5().unreadTracking?e(NNe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},eze=function(t){var n=t.onClick,i=o5(),r=h(!1),o=r[0],a=r[1];return i.unreadTracking?e(NNe,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:"view",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o},void 0):null},tze=function(t){var n=t.onClick,i=t.to,r=t.disabled;return e(NNe,{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)},nze=function(t){var n=t.onClick,i=t.to;return e(NNe,{iconName:"Cancel",onClick:n,to:null==i?void 0:i.url,target:null==i?void 0:i.target,tooltipResourceKey:"Generic.close",ariaLabelResourceKey:"Generic.close","data-toolbar-close-button":!0},void 0)};!function(e){e.UpcomingEvents="upcoming",e.MyBookedEvents="booked",e.PastEvents="past"}(UBe||(UBe={}));var ize,rze,oze,aze,sze=function(i){var r=i.value,o=i.onChange,a=i.viewOptions,s=FS().formatMessage,l=function(){var e=[];(null==a?void 0:a.hideUpcomingEventsView)||e.push({key:UBe.UpcomingEvents,text:s({id:"Events.upcoming"}),data:{iconName:"Event"}});(null==a?void 0:a.hideMyBookedEventsView)||e.push({key:UBe.MyBookedEvents,text:s({id:"Events.myEvents"}),data:{iconName:"PrimaryCalendar"}});(null==a?void 0:a.hidePastEventsView)||e.push({key:UBe.PastEvents,text:s({id:"Events.pastEvents"}),data:{iconName:"RemoveEvent"}});return e}();return n(t,{children:[e(lze,{},void 0),e(uze,{options:l,onRenderOption:function(t){return n(cze,{children:[e(L,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key)},selectedKey:l.length>0?r||l[0].key:void 0,onChange:function(e,t){return o(t.key)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:s({id:"Events.chromelessDropdown"})},void 0)]},void 0)},lze=Ae(ize||(ize=Zbe(["\n ","\n"],["\n ","\n"])),$Be),uze=Te(CDe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(rze||(rze=Zbe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),qBe),cze=Te.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(oze||(oze=Zbe(["\n ",";\n"],["\n ",";\n"])),HBe);function hze(){var e=BU(),t=e.createApiUrl,n=e.fetchFromApi,i=a(Mk).onRequestToken;return l((function(){return{uploadImage:function(e,t,r,o,a){return Gbe(this,void 0,void 0,(function(){var s,l;return Ybe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+qq.getExtension(a.type)),[4,i()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/images/"+r,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,r,o,a){return Gbe(this,void 0,void 0,(function(){var s,l;return Ybe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,i()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/files/"+r,{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})}}),[i,n,t])}function dze(){var e=zU();return l((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return Gbe(this,void 0,void 0,(function(){var t;return Ybe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,y6.apply(void 0,Xbe([e],t))]}}))}))},resolveActiveLanguages:function(e){return Gbe(this,void 0,void 0,(function(){return Ybe(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 Gbe(this,void 0,void 0,(function(){var t;return Ybe(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 fze(){var e=BU().createApiUrl;return l((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])}Ae(aze||(aze=Zbe(["\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 pze,mze,gze,vze,yze,bze,wze,xze,Oze,kze,_ze,Sze,Cze,Dze=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}(),Eze=function(t){var n=o5(),i=h(null),r=i[0],o=i[1],a=G5().getUserAvatarUrl;if(bne(Dze.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),c((function(){var e=l(t.upn,t.tenantId);return function(){return null==e?void 0:e.unsubscribe()}}),[t.upn]),!n.avatars)return null;var s=yk(t.text||t.displayName||t.upn);return e(Ize,$be({},t,{"data-avatar":!0,text:t.text,imageUrl:r,imageShouldFadeIn:!1,imageInitials:s,initialsColor:bk(s),secondaryText:T5(t.secondaryText)?null:t.secondaryText}),void 0);function l(e,t){return null==e?(o(null),null):a(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},Ize=Te(z).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(pze||(pze=Zbe(["\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"]))),Tze=function(t){var i=t.className,r=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(Pze,$be({className:i},{children:[r&&e(VSe,$be({resourceKey:o,text:a},{children:e(Aze,{iconName:r},"icon")}),void 0),s]}),void 0):null},Aze=Te(L).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(mze||(mze=Zbe(["\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"]))),Pze=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(gze||(gze=Zbe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),Mze=function(t){var n=t.email;return T5(n)?null:e(Tze,$be({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(Wze,$be({href:"mailto:"+n},{children:n}),void 0)}),void 0)},Nze=function(t){var n=t.value,i=FS().formatMessage;return null==n?null:e(Tze,$be({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(Wze,$be({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},Rze=function(n){var i=n.value,r=FS().formatMessage;return null==i?null:e(t,{children:(i="string"==typeof i?[i]:i).map((function(t,n){return e(Tze,$be({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(Wze,$be({href:"tel:"+t},{children:r({id:"Generic.callOffice"},{number:t})}),void 0)}),t+n)}))},void 0)},Lze=function(n){var i=n.value,r=n.tooltipResourceKey,o=o5();return null==i?null:e(Tze,$be({iconName:"MapPin",tooltipResourceKey:r||"Generic.Location"},{children:o.userLocationLookup?e(Wze,$be({target:"_blank",rel:"noopener noreferrer",href:ZRe(i)},{children:i}),void 0):e(t,{children:i},void 0)}),void 0)},jze=function(t){var n=t.value;return null==n?null:e(Tze,$be({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},Fze=function(t){var n=t.value;return null==n?null:e(Tze,$be({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},Bze=function(t){var n=t.value,i=ree().buildPath,r=o5();if(!(null==n?void 0:n.userId)||!r.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(Tze,$be({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(Qze,$be({to:i("chats/new")+"?"+$g.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:e(iC,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},zze=Pe(vze||(vze=Zbe(["\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})),Wze=Te.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(yze||(yze=Zbe(["\n ","\n"],["\n ","\n"])),zze),Qze=Te(_e).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(bze||(bze=Zbe(["\n ","\n"],["\n ","\n"])),zze),Uze={mobilePhone:Nze,department:jze,address:Lze},Vze=function(t){var n=t.className,i=t.value,r=t.definition,o=function(){var e=r5(),t=FS().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=ok(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"}}}(),a=o.getPropertyLabel,s=o.getPropertyIcon;if(null==i)return null;var l=a(r),u=s(r),c=Uze[r.name];return c?w(c,{value:i}):e(Tze,$be({iconName:u,tooltipText:l,className:n},{children:i}),void 0)},qze=function(i){var r,o,a,s,l,u=i.user,c=i.ignoredProperties,h=void 0===c?[]:c;return n(t,{children:[!h.includes("department")&&e(jze,{value:null===(r=u.properties)||void 0===r?void 0:r.department},void 0),!h.includes("jobTitle")&&e(Fze,{value:null===(o=u.properties)||void 0===o?void 0:o.jobTitle},void 0),!h.includes("mobilePhone")&&e(Nze,{value:null===(a=u.properties)||void 0===a?void 0:a.mobilePhone},void 0),!h.includes("businessPhones")&&e(Rze,{value:null===(s=u.properties)||void 0===s?void 0:s.businessPhones},void 0),!h.includes("chatMessage")&&e(Bze,{value:u},void 0),!h.includes("officeLocation")&&e(Lze,{value:null===(l=u.properties)||void 0===l?void 0:l.officeLocation},void 0)]},void 0)},Hze=function(i){var r=i.user,o=i.ignoredProperties,a=void 0===o?[]:o,s=r5();return n(t,{children:[!a.includes("chatMessage")&&e(Bze,{value:r},void 0),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(Vze,{definition:t,value:null===(n=r.properties)||void 0===n?void 0:n[t.name]},t.name)}))]},void 0)},$ze=["displayName","department","jobTitle"],Kze=function(t){var i,r=t.upn,o=t.showAvatar,a=t.id,s=G5(),l=s.getUserInfo,u=s.getUserInfoById,c=Dk((function(){return r?l(r):u(a)}),null,[r,a]),h=c[0],d=c[1];if(c[2])return e(Gze,{children:e(iC,r?{id:"Profile.CannotLoadInfo",values:{upn:r}}:{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(d)return e(Zze,{},void 0);var f=o?$ze:[];return n(Yze,$be({"data-user-details":!0},{children:[o&&e(Eze,{upn:h.userPrincipalName,size:G.large,text:h.displayName||h.userPrincipalName,secondaryText:h.properties&&h.properties.department,tertiaryText:h.properties&&h.properties.jobTitle},void 0),n(Xze,{children:[e(Mze,{email:null!==(i=h.mail)&&void 0!==i?i:h.userPrincipalName},void 0),h.isDirectoryUser?e(qze,{user:h,ignoredProperties:f},void 0):e(Hze,{user:h,ignoredProperties:f},void 0)]},void 0)]}),void 0)},Gze=Te.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(wze||(wze=Zbe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),Yze=Te.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(xze||(xze=Zbe(["\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"])),14),Xze=Te.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(Oze||(Oze=Zbe(["\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"])),10),Zze=Te(YDe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(kze||(kze=Zbe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),Jze=function(i){var r=i.upn,o=i.className,a=i.children,s=i.readOnly,l=i.domIdentifier,c=u(null),d=r5(),f=h(!1),p=f[0],m=f[1];return s?e(tWe,$be({className:o},{children:a}),void 0):n(t,{children:[e(tWe,$be({ref:c,className:o},{children:e(nWe,$be({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),m(!p)},ariaLabel:r},{children:a}),"children")}),void 0),p&&!d.isPublicUser&&e(iDe,$be({className:"persona-card-callout",directionalHint:K.bottomCenter,isBeakVisible:!0,onDismiss:function(){return m(!1)},target:c.current},{children:e(eWe,{children:e(Kze,{upn:r,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},eWe=Te.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(_ze||(_ze=Zbe(["\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,20,u9.medium),tWe=Te.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(Sze||(Sze=Zbe(["\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"]))),nWe=Te(P).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(Cze||(Cze=Zbe(["\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 iWe(){return iWe=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},iWe.apply(this,arguments)}var rWe=function(e){return r.createElement("svg",iWe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),r.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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 oWe(){return oWe=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},oWe.apply(this,arguments)}var aWe=function(e){return r.createElement("svg",oWe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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 sWe(){return sWe=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},sWe.apply(this,arguments)}var lWe,uWe,cWe,hWe,dWe,fWe,pWe=function(e){return r.createElement("svg",sWe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),r.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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"}}))},mWe=function(t){var n=t.info,i="number"==typeof n;return e(gWe,$be({isNumber:i,"data-badge-info":n},{children:e(vWe,$be({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},gWe=Te.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(cWe||(cWe=Zbe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?Pe(lWe||(lWe=Zbe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):Pe(uWe||(uWe=Zbe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),vWe=Te.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(dWe||(dWe=Zbe(["\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 Pe(hWe||(hWe=Zbe(["\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,12)}));function yWe(){return yWe=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},yWe.apply(this,arguments)}var bWe,wWe=function(e){return r.createElement("svg",yWe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),fWe||(fWe=r.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 xWe(t){return e(EWe,$be({"data-page-alert":!0},{children:n(IWe,{children:[t.errorType&&e(TWe,$be({onClick:t.onClick},{children:t.errorType===bWe.LoginError?e(aWe,{},void 0):t.errorType===bWe.GenericError?e(rWe,{},void 0):t.errorType===bWe.Error403?e(pWe,{},void 0):e(MMe,{},void 0)}),void 0),e(AWe,{children:t.alertText},void 0),e(PWe,{children:t.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(bWe||(bWe={}));var OWe,kWe,_We,SWe,CWe,DWe,EWe=Te.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(OWe||(OWe=Zbe(["\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})),IWe=Te.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(kWe||(kWe=Zbe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),TWe=Te.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(_We||(_We=Zbe(["\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}),h9),AWe=Te.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(SWe||(SWe=Zbe(["\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})),PWe=Te.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(CWe||(CWe=Zbe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),MWe=Te.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(DWe||(DWe=Zbe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),NWe={exports:{}},RWe=Object.getOwnPropertySymbols,LWe=Object.prototype.hasOwnProperty,jWe=Object.prototype.propertyIsEnumerable;function FWe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var BWe=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=FWe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))LWe.call(n,a)&&(r[a]=n[a]);if(RWe){i=RWe(n);for(var s=0;s<i.length;s++)jWe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},zWe=Function.call.bind(Object.prototype.hasOwnProperty),WWe=function(){};if("production"!==process.env.NODE_ENV){var QWe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UWe={},VWe=zWe;WWe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function qWe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(VWe(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,QWe)}catch(e){a=e}if(!a||a instanceof Error||WWe((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 UWe)){UWe[a.message]=!0;var l=r?r():"";WWe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}qWe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(UWe={})};var HWe=Ie,$We=BWe,KWe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",GWe=zWe,YWe=qWe,XWe=function(){};function ZWe(){return null}"production"!==process.env.NODE_ENV&&(XWe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function JWe(){}function eQe(){}eQe.resetWarningCache=JWe;if("production"!==process.env.NODE_ENV){var tQe=Ie;NWe.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(ZWe),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 `"+h(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",KWe);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 `"+h(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return HWe.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+h(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=h(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(GWe(s,u)){var c=e(s,u,i,r,o+"."+u,KWe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&XWe(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."),ZWe;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"===d(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&&XWe("Invalid argument supplied to oneOfType, expected an instance of array."),ZWe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return XWe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),ZWe}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,KWe);if(null==u)return null;u.data&&GWe(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=h(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!=typeof f)return u(i,r,o,c,d(f));var p=f(s,c,i,r,o+"."+c,KWe);if(p)return p}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=h(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=$We({},t[n],e);for(var f in c){var p=e[f];if(GWe(e,f)&&"function"!=typeof p)return u(i,r,o,f,d(p));if(!p)return new a("Invalid "+r+" `"+o+"` key `"+f+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(s,f,i,r,o+"."+f,KWe);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,h,d){if(u=u||i,h=h||l,d!==KWe){if(t){var f=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 f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+l;!n[p]&&r<3&&(XWe("You are manually calling a React.PropTypes validation function for the `"+h+"` 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[p]=!0,r++)}}return null==s[l]?o?null===s[l]?new a("The "+c+" `"+h+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+h+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,h)}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 h(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(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 h(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 d(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=d(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=YWe,r.resetWarningCache=YWe.resetWarningCache,r.PropTypes=r,r}(tQe.isElement,!0)}else NWe.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:eQe,resetWarningCache:JWe};return n.PropTypes=n,n}();var nQe=NWe.exports,iQe=Object.freeze({__proto__:null,useCurrentUser:r5,useAccountApi:G5,useAuthenticationContext:Nk,useEnvironmentConfig:Rg,useNotificationContext:Yte,usePromise:Dk,LinkContext:lC,TextLink:ENe,logger:nv,createId:rv,ResourceContext:gC,usePluginSettings:function(){var e=a(uee).settings;return null!=e?e:{}},usePluginStorage:fee,usePluginDeviceStore:fee,usePluginSubscriptionStore:function(){return a(uee).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,i=a(uee).subscriptionStore,r=Dk((function(){return i.get(e).catch(mee)}),void 0,sZ(sZ([],t||[]),[e])),o=r[0],s=r[1],l=r[2],u=r[3],c=r[4];return{data:o,set:function(t){return oZ(n,void 0,void 0,(function(){var n;return aZ(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),mee(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return oZ(n,void 0,void 0,(function(){var t;return aZ(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),mee(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(uee).userStore},usePluginUserStoreValue:function(e,t){var n=this,i=a(uee).userStore,r=Dk((function(){return i.get(e).catch(mee)}),void 0,sZ(sZ([],t||[]),[e])),o=r[0],s=r[1],l=r[2],u=r[3],c=r[4];return{data:o,set:function(t){return oZ(n,void 0,void 0,(function(){var n;return aZ(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),mee(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return oZ(n,void 0,void 0,(function(){var t;return aZ(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),mee(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Ng().apiEndpoint}},AccountType:z4,PeoplePicker:cCe,GutterToggle:JSe,EditorSettingsDialog:XSe,Spinner:D,SelectionMode:ee,EditorHighlight:HSe,useTheme:function(){return a(zte).theme},useSubscriptionHandlePathBuilder:ree,useSubscriptionWebAppUrl:oee});var rQe,oQe=[{name:"@reach/core",packageDefinition:$be({default:{}},iQe)}],aQe=[{name:"react",packageDefinition:$be($be({},o),{default:o})},{name:"react-dom",packageDefinition:$be($be({},ze),{default:ze})},{name:"react-is",packageDefinition:$be($be({},Ie),{default:Ie})},{name:"prop-types",packageDefinition:$be({default:nQe},nQe)},{name:"react-router-dom",packageDefinition:$be({},we)},{name:"styled-components",packageDefinition:{default:Te,createGlobalStyle:Ae,css:Pe,useTheme:Ne,isStyledComponent:Re,keyframes:Le,withTheme:je,ThemeProvider:Me,ThemeContext:Fe,ThemeConsumer:Be}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:W,Label:Q,PrimaryButton:N,Icon:L,Link:T,TextField:M,ActionButton:P,IconButton:I,DefaultButton:R,Spinner:D,Dropdown:U,ProgressIndicator:V,Shimmer:q,ShimmerElementsGroup:H,ShimmerElementType:$,DirectionalHint:K,PersonaSize:G,TooltipHost:Y,DialogType:X,Dialog:ewe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:iC,useIntl:FS,FormattedDate:rC,FormattedTime:oC,IntlProvider:$S}},{name:"@apollo/client",packageDefinition:{default:{},gql:AR,useQuery:function(e,t){return YR(e,t,!1)},ApolloClient:kR,ApolloProvider:WR,from:JP,ApolloLink:ZP,fromPromise:HP,split:eM,HttpLink:lM,InMemoryCache:iR,useLazyQuery:function(e,t){return YR(e,t,!0)},useMutation:XR,ApolloError:oR,useApolloClient:QR,useSubscription:function(e,t){var n=f((function(e){return e+1}),0),i=n[1],r=a(BR()),o=t?Qa(Qa({},t),{subscription:e}):{subscription:e},s=h({loading:!o.skip,error:void 0,data:void 0}),l=s[0],d=s[1],p=u(),m=(p.current||(p.current=new HR({options:o,context:r,setResult:d})),p.current);return m.setOptions(o,!0),m.context=r,__DEV__&&GR(i),c((function(){return m.afterExecute()})),c((function(){return function(){m.cleanup(),p.current=void 0}}),[]),m.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:ej}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:pj}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:WA}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:ZR}}],sQe=function(t){var n=t.color,i=t.onColorChange,r=t.className,o=h(n),a=o[0],s=o[1];return c((function(){s(n)}),[n]),e(lQe,$be({className:r},{children:e(le,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==i||i(e)}(t.str)}},void 0)}),void 0)},lQe=Te.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(rQe||(rQe=Zbe(["\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"])),20),uQe=function(t){var n=t.onRequestToken,i=t.children,r=t.subscriptionId,o=h(null),a=o[0],s=o[1],u=l((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(n){return nv.error(e,t),[2,Promise.reject(e)]}))}))}}}),[r,a]);return e(Mk.Provider,Qa({value:u},{children:i}),void 0)},cQe="0.5.0-preview.272",hQe="117832",dQe="56ad9b41ff99669ac0eb61f0df8962d0dc9512d9",fQe=mt,pQe=st,mQe=$i("match"),gQe=function(e){var t;return fQe(e)&&(void 0!==(t=e[mQe])?!!t:"RegExp"==pQe(e))},vQe=$i("match"),yQe=function(e){if(gQe(e))throw TypeError("The method doesn't accept regular expressions");return e},bQe=ht,wQe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[vQe]=!1,"/./"[e](t)}catch(e){}}return!1};Pi({target:"String",proto:!0,forced:!wQe("includes")},{includes:function(e){return!!~String(bQe(this)).indexOf(yQe(e),arguments.length>1?arguments[1]:void 0)}});var xQe,OQe,kQe={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",dashboards:[{name:"news-engagement-overview",title:"News Engagement Overview",id:21,params:"/?standalone=2"}]}},_Qe={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:[]}},SQe=["//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"],CQe=function(t){var n=t.children,i=Ng().apiEndpoint,r=l((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!SQe.some((function(e){return i.toLowerCase().includes(e)}));if(!e)return nv.info("Will use non prod client config..."),Qa({},kQe);return Qa(Qa({},kQe),_Qe)}())}),[i]);return e(qg.Provider,Qa({value:r},{children:n}),void 0)},DQe=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 Va(this,void 0,void 0,(function(){return qa(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 Va(this,void 0,void 0,(function(){return qa(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}(),EQe=new DQe,IQe=function(n){var i=n.subscriptionId,r=n.children;return n.shouldUsePublicAccess?e(TQe,Qa({subscriptionId:i},{children:r}),void 0):e(t,{children:r},void 0)},TQe=function(n){var i=n.subscriptionId,r=n.children,o=a(Mk).setToken,s=cC(),u=function(){var e=BU().fetchFromApi,t=zU();return l((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,c=BU().fetchFromApi,h=a(sC),d=h.handleFatalError,f=h.handleAccessDeniedError,p=Dk((function(){return Va(this,void 0,void 0,(function(){var e,t,n;return qa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+i,[4,s.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,u(i)];case 2:return r.sent().allowPublicAccess?[4,b(i)]:[3,5];case 3:return n=r.sent(),o(n),[4,s.setString(e,n)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[i]),m=p[0],g=p[1],v=p[2];if(v)return nv.error(v),d({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription "+i+"!"};return nv.error(y.message),f({error:y}),null}return e(t,{children:r},void 0);function b(e){return c("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},AQe=function(t){var n=t.children,i=h(),r=i[0],o=i[1],a=h(),s=a[0],u=a[1],c=h(),d=c[0],f=c[1],p=l((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:f}}),[o,u,f]);return e(sC.Provider,Qa({value:p},{children:e(PQe,Qa({fatalError:r,notFoundError:d,accessDeniedError:s},{children:n}),void 0)}),void 0)},PQe=function(n){var i=n.fatalError,r=n.accessDeniedError,o=n.notFoundError,a=n.children;return i?e(MQe,{messageId:i.messageId,error:i.error},void 0):r?e(MQe,{messageId:"AccessDenied.genericMessage",error:r.error},void 0):o?e(MQe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},MQe=function(t){var i=t.messageId,r=t.error,o=FS().formatMessage,a=h(!1),s=a[0],l=a[1];return e(xWe,Qa({errorType:bWe.GenericError,alertText:o({id:i||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(NQe,{children:[e(iC,{id:"Generic.error.details"},void 0),e(RQe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},NQe=Te.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(xQe||(xQe=Ja(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),RQe=Te.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(OQe||(OQe=Ja(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),LQe=function(t){var n=t.children,i=oee(),r=l((function(){return{onShare:function(){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(lC.Provider,Qa({value:r},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+i+e)}},jQe=function(){return null},FQe=Object.freeze({__proto__:null,Page:jQe,NavLinkSidebarItem:jQe,PageMenuActionItem:jQe});var BQe=function(t){var n=t.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){},trackSearchSession:function(){return Promise.resolve(void 0)},view:function(e){return Promise.resolve(void 0)},module:void 0,setModule:function(e){},trackActivity:function(e){}};return e(b9.Provider,Qa({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+cQe+" ("+hQe+") ["+dQe+"]"),window.__did_initialize_reach_context)return;ue()}();var zQe=function(i){var r,o,s,u,h=null!=a(Mg);c((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,h||window.__is_reach_app||(hee.apply(void 0,Xbe(["ReachCorePackages"],Xbe(Xbe([],aQe),oQe))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Qa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Qa({default:{}},FQe)}],hee.apply(void 0,Xa(["ReachComponentLibraryPackages"],t))))}),[]);var d=l((function(){var e,t,n,r,o,a,s,l;return{env:{deviceInfo:{},version:cQe,commitId:dQe,buildId:hQe},appConfig:{apiEndpoint:null!==(t=null===(e=i.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(r=null===(n=i.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==r?r:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=i.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(l=null===(s=i.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==l?l:"wss://ws.reach.livetiles.io/api/v2"}}}),[null===(r=i.config)||void 0===r?void 0:r.apiEndpoint,null===(o=i.config)||void 0===o?void 0:o.webAppUrl,null===(s=i.config)||void 0===s?void 0:s.api3Endpoint,null===(u=i.config)||void 0===u?void 0:u.webSocketsEndpoint]);return h?(nv.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Qa({subscriptionId:i.subscriptionId},i.config),null,2)),e(t,{children:i.children},void 0)):e("div",Qa({className:vZ},{children:e(Mg.Provider,Qa({value:d},{children:e(Ce,{children:e(uC.Provider,Qa({value:EQe},{children:e(CQe,{children:e(j4,Qa({language:i.language},{children:e(Wte,Qa({disableUiFabricThemeOverwrite:i.disableUiFabricThemeOverwrite},{children:e(AQe,{children:e(uQe,Qa({onRequestToken:i.onRequestToken,subscriptionId:i.subscriptionId},{children:e(fC,Qa({subscriptionId:i.subscriptionId},{children:e(IQe,Qa({subscriptionId:i.subscriptionId,shouldUsePublicAccess:!i.onRequestToken},{children:e(LQe,{children:e(WI.Provider,Qa({value:{hideChrome:!1}},{children:e(WQe,Qa({language:i.language},{children:e(DV,Qa({gqlClientConfig:{endPoint:d.appConfig.api3Endpoint,webSocketsEndpoint:d.appConfig.webSocketsEndpoint}},{children:e(H7,{children:e(mne,{children:e(BQe,{children:n(ine,{children:[e(sne,{},void 0),e(sCe,{},void 0),e(QQe,{},void 0),n(De,{children:[e(Ee,{path:"/:subscriptionHandleOrId",render:function(){return i.children}},void 0),e(Ee,{render:function(){return i.children}},void 0)]},void 0)]},void 0)},void 0)},void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)},WQe=function(t){var n,i=t.language,r=t.children,o=a(zte).setTheme,s=a(gC).changeSettings,u=Y5().getCurrentUser,c=Dk((function(){var e,t;return Va(this,void 0,void 0,(function(){var n,r,a,l;return qa(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,u()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),r=ok(i,n.preferredUiLanguage,rk(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=QFe(n),s(r,a).then((function(){return null}),nv.error),i&&(n.preferredContentLanguage=i),[2,n];case 2:throw l=c.sent(),nv.error(l),l;case 3:return[2]}}))}))})),h=c[0],d=c[1],f=c[2],p=c[3],m=a(sC),g=m.handleFatalError,v=m.handleNotFoundError,y=m.handleAccessDeniedError,b=l((function(){return{user:h,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[h]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?y({error:f}):g({error:f}),null):d?null:null==h?(v({}),null):e(n5.Provider,Qa({value:b},{children:r}),void 0)},QQe=function(){return c((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(fZ,{},void 0),e(gZ,{},void 0)]},void 0)};var UQe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,VQe=/[\0-\x1F\x7F-\x9F]/,qQe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,HQe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 $Qe(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 KQe(e){return Object.prototype.toString.call(e)}function GQe(e){return"[object Function]"===KQe(e)}function YQe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var XQe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var ZQe={"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}}},JQe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function eUe(e){var t=e.re=function(e){var t={};return t.src_Any=UQe.source,t.src_Cc=VQe.source,t.src_Z=qQe.source,t.src_P=HQe.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]"===KQe(e)}(n))return!function(e){return"[object RegExp]"===KQe(e)}(n.validate)?GQe(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(GQe(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===KQe(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(YQe).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 tUe(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 nUe(e,t){var n=new tUe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function iUe(e,t){if(!(this instanceof iUe))return new iUe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||XQe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=$Qe({},XQe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$Qe({},ZQe,e),this.__compiled__={},this.__tlds__=JQe,this.__tlds_replaced__=!1,this.re={},eUe(this)}iUe.prototype.add=function(e,t){return this.__schemas__[e]=t,eUe(this),this},iUe.prototype.set=function(e){return this.__opts__=$Qe(this.__opts__,e),this},iUe.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},iUe.prototype.pretest=function(e){return this.re.pretest.test(e)},iUe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},iUe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(nUe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(nUe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},iUe.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(),eUe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,eUe(this),this)},iUe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},iUe.prototype.onCompile=function(){};var rUe=iUe,oUe={exports:{}};!function(e,t){!function(t,n,i){e.exports=i(),e.exports.default=i()}(0,0,(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}))}(oUe);var aUe=oUe.exports;function sUe(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 lUe(){return lUe=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},lUe.apply(this,arguments)}function uUe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cUe(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 hUe(e,t,n){return t&&cUe(e.prototype,t),n&&cUe(e,n),e}function dUe(e){return dUe="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},dUe(e)}function fUe(e){return fUe="function"==typeof Symbol&&"symbol"===dUe(Symbol.iterator)?function(e){return dUe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":dUe(e)},fUe(e)}function pUe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mUe(e,t){return!t||"object"!==fUe(t)&&"function"!=typeof t?pUe(e):t}function gUe(e){return gUe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},gUe(e)}function vUe(e,t){return vUe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vUe(e,t)}function yUe(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&&vUe(e,t)}function bUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wUe(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 xUe(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 OUe(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 kUe(e){return function(e){if(Array.isArray(e))return OUe(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 OUe(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)?OUe(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 _Ue=function(e){return e===Object(e)?Object.keys(e):[]},SUe=function(e){return e===Object(e)?Object.values(e):[]};function CUe(e,t){var n=Object.assign({},e);return IUe(e)&&IUe(t)&&_Ue(t).forEach((function(i){IUe(t[i])&&i in e?n[i]=CUe(e[i],t[i]):Object.assign(n,Are({},i,t[i]))})),n}var DUe=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 CUe(e,t)}),e)},EUe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},IUe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},TUe=function(e){return(e||[]).filter(Boolean)},AUe=function(e){return"&"===e[0]},PUe=function(e){return!AUe(e)},MUe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},NUe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=_Ue(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},RUe=function(e,t){for(var n=t.map(MUe),i=_Ue(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(MUe(s))>=0)&&(r[s]=e[s])}return r},LUe=function e(t,n){for(var i=DUe.apply(void 0,[{},EUe(t,n)].concat(kUe(SUe(RUe(t,n))))),r=_Ue(i).filter(AUe),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=DUe({},i,l)):i[s]=l}return i};function jUe(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 FUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jUe(Object(n),!0).forEach((function(t){Are(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jUe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var BUe=["animationName"],zUe=function(e){var t=e.style,n=e.className;return FUe(FUe({},t?{style:NUe(t,BUe)}:{}),n?{className:n}:{})},WUe=s(zUe);WUe.Provider;var QUe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return _Ue(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},UUe={},VUe=function(e){return function(t,n){var i,r=n||UUe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=QUe(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function qUe(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 HUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qUe(Object(n),!0).forEach((function(t){Are(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qUe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $Ue=function(e){var t=e&&_Ue(e)[0];return t&&t.split("__")[0].split("--")[0]},KUe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(kUe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),kUe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(kUe(r)):r}};function GUe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zUe,o=n||$Ue(i)||(null==t?void 0:t.className),a="function"==typeof t?t:VUe((function(e,n){var a=QUe(e);qbe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),qbe(!n||IUe(n),"Optional second parameter must be a plain object.");var s=a.filter(AUe),l=a.filter(PUe),u=l.length>0?function(e){return SUe(RUe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(LUe(e,s))},h=KUe(o,l,s);return GUe(HUe(HUe(HUe({},(t||n)&&{style:DUe.apply(void 0,[{}].concat(kUe(c(n)),kUe(c(t))))}),h&&{className:h.join(" ")}),i&&{classNames:i}),r)})),s=HUe({},"function"==typeof t?t:{style:t}),l=kUe(new Set([].concat(kUe(s.className?s.className.split(" "):[]),kUe(o?o.split(" "):[])))),u=i?TUe(l.map((function(e){return i[e]}))):l,c=r(HUe(HUe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function YUe(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 XUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YUe(Object(n),!0).forEach((function(t){Are(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YUe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZUe=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 XUe(XUe(XUe({},e),"function"==typeof t?t:{}),{},{style:XUe(XUe({},e.style),"function"==typeof t?t.style:t)})}),{})},JUe=function(e,t,n){var i=t.style,r=t.className,o=t.classNames,s=a(WUe);return l((function(){return GUe({style:i,className:r,classNames:o},s)}),[i,r,o,s])(n,e)},eVe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},tVe="__id__",nVe="__display__",iVe=function(e,t){qbe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(nVe),i=e.indexOf(tVe);return n<0&&(n=null),i<0&&(i=null),qbe(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},rVe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=wUe(t.exec(e.toString()),3),i=n[1],r=n[2];return qbe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},oVe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},aVe=function(){},sVe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:aVe,o=rVe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=oVe(t)+1,n})),l=0,u=0;null!==(i=o.exec(e));){var c=s.find((function(e){return!!i[e]})),h=s.indexOf(c),d=t[h],f=d.markup,p=d.displayTransform,m=c+iVe(f,"id"),g=c+iVe(f,"display"),v=i[m],y=p(v,i[g]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,h,l),u+=y.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},lVe=function(e,t){var n="";return sVe(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},uVe=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 sVe(e,t,a,o),void 0===i?e.length:i},cVe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},hVe=function(e,t){var n=[];return sVe(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},dVe=function(e,t){return"".concat(e,"-").concat(t)},fVe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},pVe=function(e){var t=eVe(e),n=e[e.indexOf(nVe)+nVe.length],i=e[e.indexOf(tVe)+tVe.length];return new RegExp(t.replace(nVe,"([^".concat(eVe(n||""),"]+?)")).replace(tVe,"([^".concat(eVe(i||""),"]+?)")))},mVe=function(e){return p.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?gVe(i,n):pVe(n),displayTransform:r||function(e,t){return t||e}}}))},gVe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=oVe(t);return qbe(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},vVe=[{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}],yVe=function(e){return function(e){var t=e;return vVe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},bVe=function(e,t,n){return n?yVe(e).indexOf(yVe(t)):e.toLowerCase().indexOf(t.toLowerCase())},wVe=function(e){return"number"==typeof e},xVe=function(e){return e===Object(e)?Object.keys(e):[]},OVe=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 kVe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,s=i.classNames,l=xUe(i,["style","className","classNames"]),u=t?t(l):void 0,c=JUe(e,{style:r,className:a,classNames:s},u);return o.createElement(n,lUe({},l,{style:c}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var _Ve=function(e){function t(){var e;return uUe(this,t),bUe(pUe(e=mUe(this,gUe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return yUe(t,v),hUe(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,a=n.value,s=n.style,l=n.children,u=n.containerRef,c=mVe(l);i===r&&(e=uVe(a,c,i,"START"));var h=[],d={},f=h,p=0;return sVe(a,c,(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);f.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(wVe(e)&&e>=i&&e<=i+n.length){var o=e-i;f.push(t.renderSubstring(n.substring(0,o),p)),f=[t.renderSubstring(n.substring(o),p)]}else f.push(t.renderSubstring(n,p));p++})),f.push(" "),f!==h&&h.push(this.renderHighlighterCaret(f)),o.createElement("div",lUe({},s,{ref:u}),h)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",lUe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,i){var r={id:e,display:t,key:i},a=p.toArray(this.props.children)[n];return o.cloneElement(a,r)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",lUe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();bUe(_Ve,"propTypes",{selectionStart:zY.number,selectionEnd:zY.number,value:zY.string.isRequired,onCaretPositionChange:zY.func.isRequired,containerRef:zY.oneOfType([zY.func,zY.shape({current:"undefined"==typeof Element?zY.any:zY.instanceOf(Element)})]),children:zY.oneOfType([zY.element,zY.arrayOf(zY.element)]).isRequired}),bUe(_Ve,"defaultProps",{value:""});var SVe=kVe({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}}))(_Ve),CVe=function(e){function t(){return uUe(this,t),mUe(this,gUe(t).apply(this,arguments))}return yUe(t,v),hUe(t,[{key:"render",value:function(){var e=OVe(this.props,["style","classNames","className"],xVe(t.propTypes));return o.createElement("li",lUe({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,a=bVe(e,i,n);return-1===a?o.createElement("span",r("display"),e):o.createElement("span",r("display"),e.substring(0,a),o.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}();bUe(CVe,"propTypes",{id:zY.string.isRequired,query:zY.string.isRequired,index:zY.number.isRequired,ignoreAccents:zY.bool,suggestion:zY.oneOfType([zY.string,zY.shape({id:zY.oneOfType([zY.string,zY.number]).isRequired,display:zY.string})]).isRequired,renderSuggestion:zY.func,focused:zY.bool});var DVe=kVe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(CVe);function EVe(){var e=JUe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var IVe=function(e){function t(){var e,n;uUe(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return bUe(pUe(n=mUe(this,(e=gUe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),bUe(pUe(n),"select",(function(e,t){n.props.onSelect(e,t)})),bUe(pUe(n),"setUlElement",(function(e){n.ulElement=e})),n}return yUe(t,v),hUe(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,a=e.onMouseDown,s=e.containerRef,l=e.position,u=e.left,c=e.top;return i?o.createElement("div",lUe({},ZUe({position:l||"absolute",left:u,top:c},r),{onMouseDown:a,ref:s}),o.createElement("ul",lUe({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(sUe(t),sUe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var i=this,r=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=p.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return o.createElement(DVe,{style:this.props.style("item"),key:"".concat(a,"-").concat(TVe(e)),id:dVe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:r,onClick:function(){return i.select(e,t)},onMouseEnter:function(){return i.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(EVe,{style:this.props.style("loadingIndicator")})}}]),t}();bUe(IVe,"propTypes",{id:zY.string.isRequired,suggestions:zY.object.isRequired,a11ySuggestionsListLabel:zY.string,focusIndex:zY.number,position:zY.string,left:zY.number,top:zY.number,scrollFocusedIntoView:zY.bool,isLoading:zY.bool,isOpened:zY.bool.isRequired,onSelect:zY.func,ignoreAccents:zY.bool,containerRef:zY.oneOfType([zY.func,zY.shape({current:"undefined"==typeof Element?zY.any:zY.instanceOf(Element)})]),children:zY.oneOfType([zY.element,zY.arrayOf(zY.element)]).isRequired}),bUe(IVe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var TVe=function(e){return"string"==typeof e?e:e.id},AVe=kVe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(IVe);function PVe(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 MVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PVe(n,!0).forEach((function(t){bUe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PVe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var NVe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},RVe=!1,LVe={singleLine:zY.bool,allowSpaceInQuery:zY.bool,allowSuggestionsAboveCursor:zY.bool,forceSuggestionsAboveCursor:zY.bool,ignoreAccents:zY.bool,a11ySuggestionsListLabel:zY.string,value:zY.string,onKeyDown:zY.func,onSelect:zY.func,onBlur:zY.func,onChange:zY.func,suggestionsPortalHost:"undefined"==typeof Element?zY.any:zY.PropTypes.instanceOf(Element),inputRef:zY.oneOfType([zY.func,zY.shape({current:"undefined"==typeof Element?zY.any:zY.instanceOf(Element)})]),children:zY.oneOfType([zY.element,zY.arrayOf(zY.element)]).isRequired},jVe=function(e){function t(e){var n;return uUe(this,t),bUe(pUe(n=mUe(this,gUe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),bUe(pUe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return MVe({},OVe(n.props,["style","classNames","className"],xVe(LVe)),{},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":dVe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),bUe(pUe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return o.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),bUe(pUe(n),"renderInput",(function(e){return o.createElement("input",lUe({type:"text",ref:n.setInputRef},e))})),bUe(pUe(n),"renderTextarea",(function(e){return o.createElement("textarea",lUe({ref:n.setInputRef},e))})),bUe(pUe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),bUe(pUe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),bUe(pUe(n),"renderSuggestionsOverlay",(function(){if(!wVe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=o.createElement(AVe,{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?We.createPortal(a,n.props.suggestionsPortalHost):a})),bUe(pUe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,s=r.children,l=r.value,u=r.style;return o.createElement(SVe,{containerRef:n.setHighlighterElement,style:u("highlighter"),value:l,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},s)})),bUe(pUe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),bUe(pUe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),bUe(pUe(n),"getPlainText",(function(){return lVe(n.props.value||"",mVe(n.props.children))})),bUe(pUe(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})),bUe(pUe(n),"handleChange",(function(e){if(RVe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=mVe(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=lVe(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),h=o;r===a&&(h=Math.max(o,r+l));var d=uVe(e,i,c,"START"),f=uVe(e,i,h,"END"),p=uVe(e,i,c,"NULL"),m=uVe(e,i,h,"NULL"),g=null===p||null===m,v=cVe(e,d,f,u);if(!g){var y=lVe(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),h=s.lastIndexOf(t.substring(a)),d=uVe(e,i,c,"START"),f=uVe(e,i,h,"END"),v=cVe(e,d,f,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=lVe(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(sVe(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=hVe(o,i),h={target:{value:o}};n.executeOnChange(h,o,r,c)}})),bUe(pUe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!RVe){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)}})),bUe(pUe(n),"handleKeyDown",(function(e){if(0!==fVe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(NVe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case NVe.ESC:return void n.clearSuggestions();case NVe.DOWN:return void n.shiftFocus(1);case NVe.UP:return void n.shiftFocus(-1);case NVe.RETURN:case NVe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),bUe(pUe(n),"shiftFocus",(function(e){var t=fVe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),bUe(pUe(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(sUe(e),sUe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),bUe(pUe(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)})),bUe(pUe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),bUe(pUe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),bUe(pUe(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=FVe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},h=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var d={};if(i){d.position="fixed";var f=c.left,p=c.top;f-=FVe(a,"margin-left"),p-=FVe(a,"margin-top"),f-=s.scrollLeft,p-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>m?d.left=Math.max(0,m-a.offsetWidth):d.left=f,r&&p+a.offsetHeight>h&&a.offsetHeight<p-u||o?d.top=Math.max(0,p-a.offsetHeight-u):d.top=p}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?d.right=0:d.left=g,r&&c.top-s.scrollTop+a.offsetHeight>h&&a.offsetHeight<l.top-u-s.scrollTop?d.top=v-a.offsetHeight-u:d.top=v}d.left===n.state.suggestionsPosition.left&&d.top===n.state.suggestionsPosition.top&&d.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:d})}}})),bUe(pUe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),bUe(pUe(n),"handleCompositionStart",(function(){RVe=!0})),bUe(pUe(n),"handleCompositionEnd",(function(){RVe=!1})),bUe(pUe(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()}}})),bUe(pUe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=mVe(r),s=uVe(i,a,t,"NULL");if(null!==s){var l=function(e,t){var n=hVe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,s),a),u=e.substring(l,t);o.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=eVe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=u.match(r);if(o){var a=l+u.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),bUe(pUe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),bUe(pUe(n),"queryData",(function(e,t,i,r,o){var a=n.props,s=a.children,l=a.ignoreAccents,u=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;bVe(s,n,t)>=0&&r.push(e[o])}return r}:e}(p.toArray(s)[t].props.data,l),c=u(e,n.updateSuggestions.bind(null,n._queryId,t,e,i,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,i,r,o,c)})),bUe(pUe(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=MVe({},n.suggestions,bUe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=fVe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),bUe(pUe(n),"addMention",(function(e,t){var i=e.id,r=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,l=t.plainTextValue,u=n.props.value||"",c=mVe(n.props.children),h=p.toArray(n.props.children)[o].props,d=h.markup,f=h.displayTransform,m=h.appendSpaceOnAdd,g=h.onAdd,v=uVe(u,c,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(tVe,t).replace(nVe,n)}(d,i,r);m&&(b+=" ");var w=cVe(u,v,y,b);n.inputElement.focus();var x=f(i,r);m&&(x+=" ");var O=a+x.length;n.setState({selectionStart:O,selectionEnd:O,setSelectionAfterMentionChange:!0});var k={target:{value:w}},_=hVe(w,c),S=cVe(l,a,s,x);n.executeOnChange(k,w,S,_),g&&g(i,r,v,y),n.clearSuggestions()})),bUe(pUe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),bUe(pUe(n),"isOpened",(function(){return wVe(n.state.selectionStart)&&(0!==fVe(n.state.suggestions)||n.isLoading())})),bUe(pUe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(pUe(n)),n.handleCut=n.handleCut.bind(pUe(n)),n.handlePaste=n.handlePaste.bind(pUe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return yUe(t,o.Component),hUe(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 o.createElement("div",lUe({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=mVe(a),l=uVe(o,s,n,"START"),u=uVe(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),h=e.clipboardData.getData("text/plain"),d=cVe(o,l,u,c||h).replace(/\r/g,""),f=lVe(d,s),p={target:MVe({},e.target,{value:d})};this.executeOnChange(p,d,f,hVe(d,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=mVe(o),l=uVe(a,s,n,"START"),u=uVe(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=mVe(o),l=uVe(a,s,n,"START"),u=uVe(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),h=lVe(c,s),d={target:MVe({},e.target,{value:h})};this.executeOnChange(d,c,h,hVe(a,s))}}}]),t}();bUe(jVe,"propTypes",LVe),bUe(jVe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var FVe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},BVe=kVe({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:MVe({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}}))(jVe),zVe={fontWeight:"inherit"},WVe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=JUe(zVe,{style:n,className:i,classNames:r});return o.createElement("strong",a,t)};WVe.propTypes={onAdd:zY.func,onRemove:zY.func,renderSuggestion:zY.func,trigger:zY.oneOfType([zY.string,zY.instanceOf(RegExp)]),markup:zY.string,displayTransform:zY.func,allowSpaceInQuery:zY.bool,isLoading:zY.bool},WVe.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 QVe=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 UVe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=QVe.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 VVe=[".DS_Store","Thumbs.db"];function qVe(e){return Va(this,void 0,void 0,(function(){return qa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?$Ve(e.dataTransfer,e.type):HVe(e))];var n}))}))}function HVe(e){return(null!==e.target&&e.target.files?GVe(e.target.files):[]).map((function(e){return UVe(e)}))}function $Ve(e,t){return Va(this,void 0,void 0,(function(){var n;return qa(this,(function(i){switch(i.label){case 0:return e.items?(n=GVe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(YVe))]):[3,2];case 1:return[2,KVe(XVe(i.sent()))];case 2:return[2,KVe(GVe(e.files).map((function(e){return UVe(e)})))]}}))}))}function KVe(e){return e.filter((function(e){return-1===VVe.indexOf(e.name)}))}function GVe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function YVe(e){if("function"!=typeof e.webkitGetAsEntry)return ZVe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?eqe(t):ZVe(e)}function XVe(e){return e.reduce((function(e,t){return Ga(e,Array.isArray(t)?XVe(t):[t])}),[])}function ZVe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=UVe(t);return Promise.resolve(n)}function JVe(e){return Va(this,void 0,void 0,(function(){return qa(this,(function(t){return[2,e.isDirectory?eqe(e):tqe(e)]}))}))}function eqe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Va(o,void 0,void 0,(function(){var o,a,s;return qa(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(JVe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function tqe(e){return Va(this,void 0,void 0,(function(){return qa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=UVe(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function nqe(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 iqe(e,t,n){if(rqe(e.size)){if(rqe(t)&&rqe(n))return e.size>=t&&e.size<=n;if(rqe(t))return e.size>=t;if(rqe(n))return e.size<=n}return!0}function rqe(e){return null!=e}function oqe(e,t,n,i){return e.every((function(e){return nqe(e,t)&&iqe(e,n,i)}))}function aqe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function sqe(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 lqe(e){e.preventDefault()}function uqe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function cqe(e){return-1!==e.indexOf("Edge/")}function hqe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return uqe(e)||cqe(e)}function dqe(){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!aqe(e)&&t&&t.apply(void 0,[e].concat(i)),aqe(e)}))}}function fqe(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 pqe(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 mqe(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 gqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mqe(n,!0).forEach((function(t){vqe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mqe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yqe(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 bqe=x((function(e,t){var n=e.children,i=Oqe(yqe(e,["children"])),r=i.open,a=yqe(i,["open"]);return k(t,(function(){return{open:r}}),[r]),o.createElement(_,null,n(gqe({},a,{open:r})))}));bqe.displayName="Dropzone",bqe.propTypes={children:zY.func,accept:zY.oneOfType([zY.string,zY.arrayOf(zY.string)]),multiple:zY.bool,preventDropOnDocument:zY.bool,noClick:zY.bool,noKeyboard:zY.bool,noDrag:zY.bool,noDragEventsBubbling:zY.bool,minSize:zY.number,maxSize:zY.number,disabled:zY.bool,getFilesFromEvent:zY.func,onFileDialogCancel:zY.func,onDragEnter:zY.func,onDragLeave:zY.func,onDragOver:zY.func,onDrop:zY.func,onDropAccepted:zY.func,onDropRejected:zY.func};var wqe,xqe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Oqe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,i=void 0!==n&&n,r=e.getFilesFromEvent,o=void 0===r?qVe:r,a=e.maxSize,s=void 0===a?1/0:a,h=e.minSize,p=void 0===h?0:h,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,O=e.onDropRejected,k=e.onFileDialogCancel,_=e.preventDropOnDocument,S=void 0===_||_,C=e.noClick,D=void 0!==C&&C,E=e.noKeyboard,I=void 0!==E&&E,T=e.noDrag,A=void 0!==T&&T,P=e.noDragEventsBubbling,M=void 0!==P&&P,N=u(null),R=u(null),L=f(kqe,xqe),j=pqe(L,2),F=j[0],B=j[1],z=F.isFocused,W=F.isFileDialogActive,Q=F.draggedFiles,U=d((function(){R.current&&(B({type:"openDialog"}),R.current.value=null,R.current.click())}),[B]),V=function(){W&&setTimeout((function(){R.current&&(R.current.files.length||(B({type:"closeDialog"}),"function"==typeof k&&k()))}),300)};c((function(){return window.addEventListener("focus",V,!1),function(){window.removeEventListener("focus",V,!1)}}),[R,W,k]);var q=d((function(e){N.current&&N.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),U()))}),[N,R]),H=d((function(){B({type:"focus"})}),[]),$=d((function(){B({type:"blur"})}),[]),K=d((function(){D||(hqe()?setTimeout(U,0):U())}),[R,D]),G=u([]),Y=function(e){N.current&&N.current.contains(e.target)||(e.preventDefault(),G.current=[])};c((function(){return S&&(document.addEventListener("dragover",lqe,!1),document.addEventListener("drop",Y,!1)),function(){S&&(document.removeEventListener("dragover",lqe),document.removeEventListener("drop",Y))}}),[N,S]);var X=d((function(e){e.preventDefault(),e.persist(),re(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(fqe(G.current),[e.target])),sqe(e)&&Promise.resolve(o(e)).then((function(t){aqe(e)&&!M||(B({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,M]),Z=d((function(e){if(e.preventDefault(),e.persist(),re(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return sqe(e)&&b&&b(e),!1}),[b,M]),J=d((function(e){e.preventDefault(),e.persist(),re(e);var t=G.current.filter((function(t){return t!==e.target&&N.current&&N.current.contains(t)}));G.current=t,t.length>0||(B({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),sqe(e)&&y&&y(e))}),[N,y,M]),ee=d((function(e){e.preventDefault(),e.persist(),re(e),G.current=[],B({type:"reset"}),sqe(e)&&Promise.resolve(o(e)).then((function(n){if(!aqe(e)||M){var i=[],r=[];n.forEach((function(e){nqe(e,t)&&iqe(e,p,s)?i.push(e):r.push(e)})),!g&&i.length>1&&r.push.apply(r,fqe(i.splice(0))),B({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),w&&w(i,r,e),r.length>0&&O&&O(r,e),i.length>0&&x&&x(i,e)}}))}),[g,t,p,s,o,w,x,O,M]),te=function(e){return i?null:e},ne=function(e){return I?null:te(e)},ie=function(e){return A?null:te(e)},re=function(e){M&&e.stopPropagation()},oe=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,h=e.onDrop,d=yqe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return gqe(vqe({onKeyDown:ne(dqe(r,q)),onFocus:ne(dqe(o,H)),onBlur:ne(dqe(a,$)),onClick:te(dqe(s,K)),onDragEnter:ie(dqe(l,X)),onDragOver:ie(dqe(u,Z)),onDragLeave:ie(dqe(c,J)),onDrop:ie(dqe(h,ee))},n,N),i||I?{}:{tabIndex:0},{},d)}}),[N,q,H,$,K,X,Z,J,ee,I,A,i]),ae=d((function(e){e.stopPropagation()}),[]),se=l((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=yqe(e,["refKey","onChange","onClick"]),s=vqe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(dqe(r,ee)),onClick:te(dqe(o,ae)),autoComplete:"off",tabIndex:-1},i,R);return gqe({},s,{},a)}}),[R,t,g,ee,i]),le=Q.length,ue=g||le<=1,ce=le>0&&oqe(Q,t,p,s),he=le>0&&(!ce||!ue);return gqe({},F,{isDragAccept:ce,isDragReject:he,isFocused:z&&!i,getRootProps:oe,getInputProps:se,rootRef:N,inputRef:R,open:te(U)})}function kqe(e,t){switch(t.type){case"focus":return gqe({},e,{isFocused:!0});case"blur":return gqe({},e,{isFocused:!1});case"openDialog":return gqe({},e,{isFileDialogActive:!0});case"closeDialog":return gqe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return gqe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return gqe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return gqe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(wqe||(wqe={}));var _qe={exports:{}},Sqe=$e(_qe.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,h=e.caseSensitive,d=void 0!==h&&h,f=e.className,p=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,O=e.searchWords,k=e.textToHighlight,_=e.unhighlightClassName,S=void 0===_?"":_,C=e.unhighlightStyle,D=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"]),E=(0,o.findAll)({autoEscape:c,caseSensitive:d,findChunks:p,sanitize:x,searchWords:O,textToHighlight:k}),I=w,T=-1,A="",P=void 0,M=(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:f},D,{children:E.map((function(e,t){var i=k.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?d?g[i]:(g=M(g))[i.toLowerCase()]:g;var o=T===+a;A=r+" "+(o?n:""),P=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:A,key:t,style:P};return"string"!=typeof I&&(l.highlightIndex=T),(0,s.createElement)(I,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:C})}))}))}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,h=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:h})}),totalLength:h?h.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,h=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++h<t;)l&&l[h].run();h=-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 p(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 p(e,t)),1!==u.length||c||s(f)},p.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,c="<<anonymous>>",h={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:p(i.thatReturnsNull),arrayOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("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:p((function(t,n,i,r,o){var a=t[n];return e(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return p((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new f("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:p((function(e,t,n,i,r){return g(e[t])?null:new f("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new f("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){return Array.isArray(e)?p((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;return new f("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull)},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 p((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 f("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return p((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new f("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var h=c(a,u,i,r,o+"."+u,s);if(h)return h}}return null}))},exact:function(e){return p((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new f("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var h in c){var d=e[h];if(!d)return new f("Invalid "+r+" `"+o+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(l,h,i,r,o+"."+h,s);if(p)return p}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function p(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function l(l,u,h,d,p,m,g){if(d=d||c,m=m||h,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=d+":"+h;!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,d),i[v]=!0,a++)}return null==u[h]?l?null===u[h]?new f("The "+p+" `"+m+"` is marked as required in `"+d+"`, but its value is `null`."):new f("The "+p+" `"+m+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(u,h,d,p,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return p((function(t,n,i,r,o,a){var s=t[n];return v(s)!==e?new f("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 f.prototype=Error.prototype,h.checkPropTypes=l,h.PropTypes=h,h}}).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],h=0;(u=new Error(t.replace(/%s/g,(function(){return c[h++]})))).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 h=0;h<s.length;h++)r.call(a,s[h])&&(l[s[h]]=a[s[h]])}}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 h;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]),h=e[c](n,c,l,s,null,o)}catch(e){h=e}if(r(!h||h 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 h),h instanceof Error&&!(h.message in a)){a[h.message]=!0;var d=u?u():"";r(!1,"Failed %s type: %s%s",s,h.message,null!=d?d:"")}}}}).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=o},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}}])),Cqe={exports:{}},Dqe=(Cqe.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:$(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:G(e)}function o(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[h])}function s(e){return!(!e||!e[d])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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 h="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function O(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function _(){}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 C(e){return void 0===e.size&&(e.size=e.__iterate(E)),e.size}function D(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function E(){return!0}function I(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function A(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var M=0,N=1,R=2,L="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",F=L||j;function B(e){this.next=e}function z(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 W(){return{value:void 0,done:!0}}function Q(e){return!!q(e)}function U(e){return e&&"function"==typeof e.next}function V(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(L&&e[L]||e[j]);if("function"==typeof t)return t}function H(e){return e&&"number"==typeof e.length}function $(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function K(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=M,B.VALUES=N,B.ENTRIES=R,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},t($,n),$.of=function(){return $(arguments)},$.prototype.toSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq {","}")},$.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},$.prototype.__iterate=function(e,t){return he(this,e,t,!0)},$.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(K,$),K.prototype.toKeyedSeq=function(){return this},t(G,$),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return he(this,e,t,!1)},G.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(Y,$),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},$.isSeq=oe,$.Keyed=K,$.Set=Y,$.Indexed=G;var X,Z,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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():Q(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 H(e)?new te(e):U(e)?new re(e):Q(e)?new ie(e):void 0}function he(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 de(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new B((function(){var e=r[n?o-a:a];return a++>o?W():z(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):me(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,G(t).map((function(n,i){return pe(e,n,i,t)}))):ge(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?K(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 h=!0,d=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return h=!1,!1}));return h&&e.size===d}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(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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 Oe(){throw TypeError("Abstract")}function ke(){}function _e(){}function Se(){}$.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[D(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 B((function(){return r>i?W():z(e,r,n[t?i-r++:r++])}))},t(ne,K),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 B((function(){var a=i[t?r-o:o];return o++>r?W():z(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,G),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=V(this._iterable),i=0;if(U(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=V(this._iterable);if(!U(n))return new B(W);var i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value)}))},t(re,G),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 B((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return z(e,r,i[r++])}))},t(be,G),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 I(e,t,n)?this:new be(this._value,A(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 B((function(){return i<n.size?z(e,i++,n._value):W()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+D(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return I(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.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},xe.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 B((function(){var a=r;return r+=t?-i:i,o>n?W():z(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(Oe,n),t(ke,Oe),t(_e,Oe),t(Se,Oe),Oe.Keyed=ke,Oe.Indexed=_e,Oe.Set=Se;var Ce="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 De(e){return e>>>1&1073741824|3221225471&e}function Ee(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 De(n)}if("string"===t)return e.length>Be?Ie(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ie(e){var t=Qe[e];return void 0===t&&(t=Te(e),We===ze&&(We=0,Qe={}),We++,Qe[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return De(t)}function Ae(e){var t;if(Le&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Me){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Ne(e)))return t}if(t=++je,1073741824&je&&(je=0),Le)Re.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Me)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Pe=Object.isExtensible,Me=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ne(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,Le="function"==typeof WeakMap;Le&&(Re=new WeakMap);var je=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var Be=16,ze=255,We=0,Qe={};function Ue(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ve(e){return null==e?rt():qe(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qe(e){return!(!e||!e[$e])}t(Ve,ke),Ve.prototype.toString=function(){return this.__toString("Map {","}")},Ve.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ve.prototype.set=function(e,t){return ot(this,e,t)},Ve.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ve.prototype.remove=function(e){return ot(this,e,b)},Ve.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ve.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ve.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,On(e),t,n);return i===b?void 0:i},Ve.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()},Ve.prototype.merge=function(){return dt(this,void 0,arguments)},Ve.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ve.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]}))},Ve.prototype.mergeDeep=function(){return dt(this,ft,arguments)},Ve.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,pt(t),n)},Ve.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]}))},Ve.prototype.sort=function(e){return Qt(hn(this,e))},Ve.prototype.sortBy=function(e,t){return Qt(hn(this,t,e))},Ve.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ve.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},Ve.prototype.asImmutable=function(){return this.__ensureOwner()},Ve.prototype.wasAltered=function(){return this.__altered},Ve.prototype.__iterator=function(e,t){return new et(this,e,t)},Ve.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},Ve.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)},Ve.isMap=qe;var He,$e="@@__IMMUTABLE_MAP__@@",Ke=Ve.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(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 z(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(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return He||(He=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=O(w),a=O(x);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 Ge(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:(k(s),k(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ze(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 Ye(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 _);for(var r=new Je(e,Ee(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 Ye(e,r,a)}function ht(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 Xe(e,o+1,a)}function dt(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 fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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}we(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 wt(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}Ke[$e]=!0,Ke[m]=Ke.remove,Ke.removeIn=Ke.deleteIn,Ge.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},Ge.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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),!s||1!==l.length){if(!h&&!s&&l.length>=xt)return ut(e,l,i,r);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ge(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(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)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(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 h=vt(u&l-1),d=this.nodes,f=c?d[h]:void 0,p=at(f,e,t+g,n,i,r,o,a);if(p===f)return this;if(!c&&p&&d.length>=Ot)return ht(e,d,u,s,p);if(c&&!p&&2===d.length&&st(d[1^h]))return d[1^h];if(c&&p&&1===d.length&&st(p))return p;var m=e&&e===this.ownerID,v=c?p?u:u^l:u|l,w=c?p?yt(d,h,p,m):wt(d,h,m):bt(d,h,p,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var h=at(c,e,t+g,n,i,r,o,a);if(h===c)return this;var d=this.count;if(c){if(!h&&--d<kt)return ct(e,u,d,s)}else d++;var f=e&&e===this.ownerID,p=yt(u,s,h,f);return f?(this.count=d,this.nodes=p,this):new Xe(e,d,p)},Ze.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},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(a),k(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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ze(e,this.keyHash,f)},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:(k(a),s?void k(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(o),lt(this,e,t,Ee(i),[i,r])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,B),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 W()};var xt=v/4,Ot=v/2,kt=v/4;function _t(e){var t=Nt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?Mt(0,i,g,null,new Et(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[Ct])}t(_t,_e),_t.of=function(){return this(arguments)},_t.prototype.toString=function(){return this.__toString("List [","]")},_t.prototype.get=function(e,t){if((e=D(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},_t.prototype.set=function(e,t){return Rt(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=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Nt()},_t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Bt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},_t.prototype.pop=function(){return Bt(this,0,-1)},_t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Bt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},_t.prototype.shift=function(){return Bt(this,1)},_t.prototype.merge=function(){return zt(this,void 0,arguments)},_t.prototype.mergeWith=function(t){return zt(this,t,e.call(arguments,1))},_t.prototype.mergeDeep=function(){return zt(this,ft,arguments)},_t.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return zt(this,pt(t),n)},_t.prototype.setSize=function(e){return Bt(this,0,e)},_t.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:Bt(this,T(e,n),A(t,n))},_t.prototype.__iterator=function(e,t){var n=0,i=Pt(this,t);return new B((function(){var t=i();return t===At?W():z(e,n++,t)}))},_t.prototype.__iterate=function(e,t){for(var n,i=0,r=Pt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},_t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},_t.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Dt=_t.prototype;function Et(e,t){this.array=e,this.ownerID=t}Dt[Ct]=!0,Dt[m]=Dt.remove,Dt.setIn=Ke.setIn,Dt.deleteIn=Dt.removeIn=Ke.removeIn,Dt.update=Ke.update,Dt.updateIn=Ke.updateIn,Dt.mergeIn=Ke.mergeIn,Dt.mergeDeepIn=Ke.mergeDeepIn,Dt.withMutations=Ke.withMutations,Dt.asMutable=Ke.asMutable,Dt.asImmutable=Ke.asImmutable,Dt.wasAltered=Ke.wasAltered,Et.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 Et([],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=jt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Et.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=jt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var It,Tt,At={};function Pt(e,t){var n=e._origin,i=e._capacity,r=Wt(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 At;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!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function Mt(e,t,n,i,r,o,a){var s=Object.create(Dt);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 Nt(){return It||(It=Mt(0,0,g))}function Rt(e,t,n){if((t=D(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Bt(e,t).set(0,n):Bt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=O(x);return t>=Wt(e._capacity)?i=Lt(i,e.__ownerID,0,t,n,o):r=Lt(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):Mt(e._origin,e._capacity,e._level,r,i):e}function Lt(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=Lt(u,t,n-g,i,r,o);return c===u?e:((a=jt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(k(o),a=jt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function jt(e,t){return t&&e&&t===e.ownerID?e:new Et(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Wt(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 Bt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new _,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 Et(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var h=Wt(o),d=Wt(s);d>=1<<l+g;)u=new Et(u&&u.array.length?[u]:[],i),l+=g;var f=e._tail,p=d<h?Ft(e,s-1):d>h?new Et([],i):f;if(f&&d>h&&a<o&&f.array.length){for(var m=u=jt(u,i),v=l;v>g;v-=g){var b=h>>>v&y;m=m.array[b]=jt(m.array[b],i)}m.array[h>>>g&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=d)a-=d,s-=d,l=g,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||d<h){for(c=0;u;){var w=a>>>l&y;if(w!==d>>>l&y)break;w&&(c+=(1<<l)*w),l-=g,u=u.array[w]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&d<h&&(u=u.removeAfter(i,l,d-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=p,e.__hash=void 0,e.__altered=!0,e):Mt(a,s,l,u,p)}function zt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Wt(e){return e<v?0:e-1>>>g<<g}function Qt(e){return null==e?qt():Ut(e)?e:qt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return qe(e)&&c(e)}function Vt(e,t,n,i){var r=Object.create(Qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function qt(){return Tt||(Tt=Vt(rt(),Nt()))}function Ht(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Vt(i,r)}function $t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(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=wn,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===R){var i=e.__iterator(t,n);return new B((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===N?M:N,n)},t}function Zt(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,r);return new B((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return z(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=Xt(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=wn,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(R,o),s=0;return new B((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 z(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=Ve().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)?Qt():Ve()).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),I(t,n,r))return e;var o=T(t,r),a=A(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=D(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 B((function(){for(;a++<o;)r.next();if(++l>s)return W();var e=r.next();return i||t===N?e:z(t,l-1,t===M?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,r),s=!0;return new B((function(){if(!s)return W();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===R?e:z(i,l,u,e):(s=!1,W())}))},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(R,o),l=!0,u=0;return new B((function(){var e,o,c;do{if((e=s.next()).done)return i||r===N?e:z(r,u++,r===M?void 0:e.value[1],e);var h=e.value;o=h[0],c=h[1],l&&(l=t.call(n,c,o,a))}while(l);return r===R?e:z(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 B((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===R&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:z(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return W()}))},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(N,i),a=0;return new B((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?z(n,a++,t):z(n,a++,r.value,r)}))},n}function hn(e,t,n){t||(t=xn);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?K(o):l(e)?G(o):Y(o)}function dn(e,t,n){if(t||(t=xn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(N,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),V(r?e.reverse():e)})),a=0,s=!1;return new B((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?W():z(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 Ue(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?K:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function On(e){var t=V(e);if(!t){if(!H(e))throw new TypeError("Expected iterable or array-like: "+e);t=V(n(e))}return t}function kn(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);Dn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=Ve(o)},r=i.prototype=Object.create(_n);return r.constructor=i,i}t(Qt,Ve),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):qt()},Qt.prototype.set=function(e,t){return Ht(this,e,t)},Qt.prototype.remove=function(e){return Ht(this,e,b)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Vt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Qt.isOrderedMap=Ut,Qt.prototype[p]=!0,Qt.prototype[m]=Qt.prototype.remove,t($t,K),$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=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},$t.prototype.map=function(e,t){var n=this,i=Zt(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,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)},$t.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(N,t),i=t?vn(this):0;return new B((function(){var r=n.next();return r.done?r:z(e,t?--i:i++,r.value,r)}))},$t.prototype[p]=!0,t(Kt,G),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t),i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,K),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.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)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return z(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=$t.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var _n=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Dn(e,t){try{t.forEach(En.bind(void 0,e))}catch(e){}}function En(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function In(e){return null==e?Ln():Tn(e)&&!c(e)?e:Ln().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Pn])}_n[m]=_n.remove,_n.deleteIn=_n.removeIn=Ke.removeIn,_n.merge=Ke.merge,_n.mergeWith=Ke.mergeWith,_n.mergeIn=Ke.mergeIn,_n.mergeDeep=Ke.mergeDeep,_n.mergeDeepWith=Ke.mergeDeepWith,_n.mergeDeepIn=Ke.mergeDeepIn,_n.setIn=Ke.setIn,_n.update=Ke.update,_n.updateIn=Ke.updateIn,_n.withMutations=Ke.withMutations,_n.asMutable=Ke.asMutable,_n.asImmutable=Ke.asImmutable,t(In,Se),In.of=function(){return this(arguments)},In.fromKeys=function(e){return this(i(e).keySeq())},In.prototype.toString=function(){return this.__toString("Set {","}")},In.prototype.has=function(e){return this._map.has(e)},In.prototype.add=function(e){return Nn(this,this._map.set(e,!0))},In.prototype.remove=function(e){return Nn(this,this._map.remove(e))},In.prototype.clear=function(){return Nn(this,this._map.clear())},In.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])},In.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)}))}))},In.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)}))}))},In.prototype.merge=function(){return this.union.apply(this,arguments)},In.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},In.prototype.sort=function(e){return jn(hn(this,e))},In.prototype.sortBy=function(e,t){return jn(hn(this,t,e))},In.prototype.wasAltered=function(){return this._map.wasAltered()},In.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},In.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},In.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)},In.isSet=Tn;var An,Pn="@@__IMMUTABLE_SET__@@",Mn=In.prototype;function Nn(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 Rn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return An||(An=Rn(rt()))}function jn(e){return null==e?Qn():Fn(e)?e:Qn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Tn(e)&&c(e)}Mn[Pn]=!0,Mn[m]=Mn.remove,Mn.mergeDeep=Mn.merge,Mn.mergeDeepWith=Mn.mergeWith,Mn.withMutations=Ke.withMutations,Mn.asMutable=Ke.asMutable,Mn.asImmutable=Ke.asImmutable,Mn.__empty=Ln,Mn.__make=Rn,t(jn,In),jn.of=function(){return this(arguments)},jn.fromKeys=function(e){return this(i(e).keySeq())},jn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},jn.isOrderedSet=Fn;var Bn,zn=jn.prototype;function Wn(e,t){var n=Object.create(zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Qn(){return Bn||(Bn=Wn(qt()))}function Un(e){return null==e?Gn():Vn(e)?e:Gn().unshiftAll(e)}function Vn(e){return!(!e||!e[Hn])}zn[p]=!0,zn.__empty=Qn,zn.__make=Wn,t(Un,_e),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=D(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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):Gn()},Un.prototype.slice=function(e,t){if(I(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return _e.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):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.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},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new B((function(){if(i){var t=i.value;return i=i.next,z(e,n++,t)}return W()}))},Un.isStack=Vn;var qn,Hn="@@__IMMUTABLE_STACK__@@",$n=Un.prototype;function Kn(e,t,n,i){var r=Object.create($n);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Gn(){return qn||(qn=Kn(0))}function Yn(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}$n[Hn]=!0,$n.withMutations=Ke.withMutations,$n.asMutable=Ke.asMutable,$n.asImmutable=Ke.asImmutable,$n.wasAltered=Ke.wasAltered,n.Iterator=B,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 $t(this,!0)},toMap:function(){return Ve(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return jn(s(this)?this.valueSeq():this)},toSet:function(){return In(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return _t(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(R)},every:function(e,t){Ue(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 Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(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(M)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(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,hn(this,e))},values:function(){return this.__iterator(N)},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 C(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(E)},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 Yt(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=On(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 dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?ni(e):oi)},minBy:function(e,t){return dn(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,hn(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 Xn=n.prototype;Xn[h]=!0,Xn[F]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=ii,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"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){}}(),Yn(i,{flip:function(){return mn(this,Xt(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 Zn=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(Ee(e),Ee(t))|0}:function(e,t){i=i+li(Ee(e),Ee(t))|0}:t?function(e){i=31*i+Ee(e)|0}:function(e){i=i+Ee(e)|0});return si(r,i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=De((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[d]=!0,Zn[F]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new $t(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=D(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=D(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=pn(this.toSeq(),G.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,pn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,Yn(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=Xn.includes,Yn(K,i.prototype),Yn(G,r.prototype),Yn(Y,o.prototype),Yn(ke,i.prototype),Yn(_e,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:$,Collection:Oe,Map:Ve,OrderedMap:Qt,List:_t,Stack:Un,Set:In,OrderedSet:jn,Record:kn,Range:xe,Repeat:be,is:ve,fromJS:fe}}()).OrderedMap,Eqe={createFromArray:function(e){return Dqe(e.map((function(e){return[e.getKey(),e]})))}},Iqe=Eqe;var Tqe=Cqe.exports,Aqe=Tqe.Map,Pqe=Tqe.OrderedSet,Mqe=Tqe.Record,Nqe=Pqe(),Rqe={style:Nqe,entity:null},Lqe=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 jqe;var t=Aqe({style:Nqe,entity:null}).merge(e),n=Fqe.get(t);if(n)return n;var r=new i(t);return Fqe=Fqe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?Pqe(t):t,entity:Array.isArray(n)?Pqe(n):n})},i}(Mqe(Rqe)),jqe=new Lqe,Fqe=Aqe([[Aqe(Rqe),jqe]]);Lqe.EMPTY=jqe;var Bqe=Lqe;var zqe=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 Wqe=Bqe,Qqe=zqe,Uqe=Cqe.exports,Vqe=Uqe.List,qqe=Uqe.Map,Hqe=Uqe.OrderedSet,$qe=Uqe.Record,Kqe=Uqe.Repeat,Gqe=Hqe(),Yqe=$qe({key:"",type:"unstyled",text:"",characterList:Vqe(),depth:0,data:qqe()}),Xqe=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=Vqe(Kqe(Wqe.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():Gqe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){Qqe(this.getCharacterList(),Zqe,e,t)},r.findEntityRanges=function(e,t){Qqe(this.getCharacterList(),Jqe,e,t)},i}(Yqe);function Zqe(e,t){return e.getStyle()===t.getStyle()}function Jqe(e,t){return e.getEntity()===t.getEntity()}var eHe=Xqe;var tHe=Bqe,nHe=zqe,iHe=Cqe.exports,rHe=iHe.List,oHe=iHe.Map,aHe=iHe.OrderedSet,sHe=iHe.Record,lHe=iHe.Repeat,uHe=aHe(),cHe={parent:null,characterList:rHe(),data:oHe(),depth:0,key:"",text:"",type:"unstyled",children:rHe(),prevSibling:null,nextSibling:null},hHe=function(e,t){return e.getStyle()===t.getStyle()},dHe=function(e,t){return e.getEntity()===t.getEntity()},fHe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=rHe(lHe(tHe.EMPTY,n.length))),e},pHe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cHe;return e.call(this,fHe(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():uHe},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){nHe(this.getCharacterList(),hHe,e,t)},r.findEntityRanges=function(e,t){nHe(this.getCharacterList(),dHe,e,t)},i}(sHe(cHe)),mHe=pHe,gHe=Bqe,vHe=Cqe.exports.Map;function yHe(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(vHe([[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,h=e.getCharacterList();r<u;)c=h.get(r),h=h.set(r,i?gHe.applyStyle(c,n):gHe.removeStyle(c,n)),r++;return e.set("characterList",h)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var bHe={add:function(e,t,n){return yHe(e,t,n,!0)},remove:function(e,t,n){return yHe(e,t,n,!1)}},wHe=Bqe;var xHe=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,wHe.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},OHe=Cqe.exports;var kHe=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(OHe.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return xHe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},_He={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 h=i+n.length,d=l===i,f=u===h;return(!d&&f||d&&!f)&&("forward"===r?u!==h&&u++:l!==i&&l--),{start:l,end:u}}},SHe="production"!==Ns.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var CHe=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(SHe(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}},DHe=CHe;var EHe=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"!==Ns.env.NODE_ENV?DHe(!1,"Entity key not found in this range."):DHe(!1)),n},IHe=_He,THe=EHe,AHe=CHe;function PHe(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 h=THe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=h.length&&("production"!==Ns.env.NODE_ENV?AHe(!1,"There should only be one entity range within this removal range."):AHe(!1));var d=h[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});o||(a?l=d.end:s=d.start);var f=IHe.getRemovalRange(s,l,t.getText().slice(d.start,d.end),d.start,i);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var MHe=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=PHe(e,t,u,r,s,!0,!0);else if(s&&l){var c=PHe(e,t,u,r,s,!1,!0),h=PHe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:h.getFocusOffset(),isBackward:!1})}else if(s){var d=PHe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(l){var f=PHe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return u},NHe={},RHe=Math.pow(2,24);var LHe=function(){for(var e;void 0===e||NHe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*RHe).toString(32);return NHe[e]=!0,e},jHe=mHe,FHe=LHe,BHe=Cqe.exports.OrderedMap,zHe=function(e){return e.first()instanceof jHe?function(e){var t,n={};return BHe(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=FHe();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 h=e.get(u).getChildKeys();e.setIn([u,"children"],h.set(h.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 BHe(e.toArray().map((function(e){var t=FHe();return[t,e.set("key",t)]})))}(e)},WHe=Bqe,QHe=zqe,UHe=CHe;function VHe(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 QHe(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"!==Ns.env.NODE_ENV?UHe(!1,"Removal range must exist within character list."):UHe(!1)),i}(i,s,n),c=u.start,h=u.end;c<h;)l=i.get(c),i=i.set(c,WHe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var qHe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=VHe(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),h=n.get(u);o===u&&(h=l);var d=VHe(i,h,c);return d!==h&&(r[u]=d),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},HHe=zHe,$He=qHe,KHe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=$He(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return HHe(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 GHe=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},YHe=Iqe,XHe=mHe,ZHe=GHe,JHe=CHe,e$e=zHe,t$e=Cqe.exports.List,n$e=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,h=o+i.getText().length,d=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":d=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":d=i.getData()}var f=s.getType();l&&"unstyled"===f&&(f=i.getType());var p=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:ZHe(u,i.getCharacterList(),o),type:f,data:d});return e.merge({blockMap:n.set(r,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:h,focusKey:c,focusOffset:h,isBackward:!1})})},i$e=function(e,t,n,i,r,o){var a=n.first()instanceof XHe,s=[],l=i.size,u=n.get(r),c=i.first(),h=i.last(),d=h.getLength(),f=h.getKey(),p=a&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(p?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(p?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=YHe.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(),h=c.indexOf(r)+1,d=c.toArray();d.splice.apply(d,[h,0].concat(l)),t.setIn([s,"children"],t$e(d))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:d,focusKey:f,focusOffset:d,isBackward:!1})})},r$e=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ns.env.NODE_ENV?JHe(!1,"`insertFragment` should only be called with a collapsed selection state."):JHe(!1));var r=e.getBlockMap(),o=e$e(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof XHe&&(l.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?JHe(!1,"`insertFragment` should not be called when a container node is selected."):JHe(!1))),1===o.size?n$e(e,t,r,o.first(),a,s,i):i$e(e,t,r,o,a,s)},o$e=GHe,a$e=CHe,s$e=Cqe.exports.Repeat;var l$e=function(e,t,n,i){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?a$e(!1,"`insertText` should only be called with a collapsed range."):a$e(!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:o$e(l.getCharacterList(),s$e(i,r).toList(),s)}),h=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})},u$e=Cqe.exports.Map;var c$e=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(u$e([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},h$e=mHe,d$e=function(e,t){if(!(e instanceof h$e))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},f$e=mHe,p$e=d$e,m$e=Cqe.exports;m$e.List;var g$e=m$e.Map,v$e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},y$e=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},b$e=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},w$e=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},x$e=function(e,t,n,i){return e.withMutations((function(r){if(v$e(t.getKey(),r,(function(e){return e.merge({nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})})),v$e(n.getKey(),r,(function(e){return e.merge({nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})})),y$e(t.getKey(),i).forEach((function(e){return v$e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})}))})),v$e(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),v$e(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:b$e(e,r,i)})})),v$e(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:w$e(e,r,i)})})),v$e(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),y$e(n.getKey(),i).forEach((function(e){v$e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=p$e(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?p$e(r,t):null}return n}(n,i).forEach((function(e){return v$e(e,r,(function(e){return e.merge({nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();v$e(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),v$e(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){v$e(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);v$e(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}v$e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},O$e=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},k$e=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 f$e,h=[];if(c){var d=u.getChildKeys(),f=y$e(a,i);u.getNextSiblingKey()&&(h=h.concat(f)),d.isEmpty()||(h=h.concat(f.concat([a]))),h=h.concat(y$e(p$e(u,i),i))}n=l===u?O$e(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var p=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()?g$e([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===h.indexOf(t)})).concat(g$e([[a,null]])).map((function(e,t){return t===r?p:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=x$e(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},_$e=mHe,S$e=LHe,C$e=Cqe.exports,D$e=CHe,E$e=c$e,I$e=C$e.List,T$e=C$e.Map,A$e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},P$e=function(e,t){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?D$e(!1,"Selection range must be collapsed."):D$e(!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 E$e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=S$e(),c=r instanceof _$e,h=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),d=h.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:T$e()}),f=i.toSeq().takeUntil((function(e){return e===r})),p=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=f.concat([[n,h],[u,d]],p).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?D$e(!1,"ContentBlockNode must not have children"):D$e(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();A$e(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:I$e(o)})})),A$e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),A$e(i,e,(function(e){return e.merge({nextSibling:r})})),A$e(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,h,d)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},M$e=Bqe,N$e=bHe,R$e=kHe,L$e=MHe,j$e=KHe,F$e=r$e,B$e=l$e,z$e=CHe,W$e=c$e,Q$e=qHe,U$e=k$e,V$e=P$e,q$e=Cqe.exports.OrderedSet,H$e={replaceText:function(e,t,n,i,r){var o=Q$e(e,t),a=U$e(o,t),s=M$e.create({style:i||q$e(),entity:r||null});return B$e(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==Ns.env.NODE_ENV?z$e(!1,"Target range must be collapsed for `insertText`."):z$e(!1)),H$e.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=j$e(e,t),r=H$e.removeRange(e,t,"backward");return H$e.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=Q$e(e,t),o=U$e(r,t);return F$e(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 h=L$e(e.getEntityMap(),o,a,t,n);return U$e(e,h)}var d=Q$e(e,t);return U$e(d,t)},splitBlock:function(e,t){var n=Q$e(e,t),i=U$e(n,t);return V$e(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return N$e.add(e,t,n)},removeInlineStyle:function(e,t,n){return N$e.remove(e,t,n)},setBlockType:function(e,t,n){return W$e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return W$e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return W$e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=Q$e(e,t);return R$e(i,t,n)}},$$e=H$e;var K$e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function G$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y$e=zqe,X$e=K$e,Z$e=Cqe.exports,J$e=Z$e.List,eKe=Z$e.Repeat,tKe=Z$e.Record,nKe=function(){return!0},iKe=tKe({start:null,end:null}),rKe=tKe({start:null,end:null,decoratorKey:null,leaves:null}),oKe={generate:function(e,t,n){var i=t.getLength();if(!i)return J$e.of(new rKe({start:0,end:0,decoratorKey:null,leaves:J$e.of(new iKe({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):J$e(eKe(null,i)),a=t.getCharacterList();return Y$e(o,sKe,nKe,(function(e,t){r.push(new rKe({start:e,end:t,decoratorKey:o.get(e),leaves:aKe(a.slice(e,t).toList(),e)}))})),J$e(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 rKe(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){G$e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?J$e(Array.isArray(t)?t:X$e(t)).map((function(e){return iKe(e)})):null}))}};function aKe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return Y$e(i,sKe,nKe,(function(e,i){n.push(new iKe({start:e+t,end:i+t}))})),J$e(n)}function sKe(e,t){return e===t}var lKe=oKe;var uKe=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,Cqe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),cKe=uKe;var hKe=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 dKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fKe=cKe,pKe=CHe,mKe=hKe,gKe=(0,Cqe.exports.Map)(),vKe=mKe();function yKe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var bKe={getLastCreatedEntityKey:function(){return yKe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),bKe.__getLastCreatedEntityKey()},create:function(e,t,n){return yKe("DraftEntity.create","contentState.createEntity"),bKe.__create(e,t,n)},add:function(e){return yKe("DraftEntity.add","contentState.addEntity"),bKe.__add(e)},get:function(e){return yKe("DraftEntity.get","contentState.getEntity"),bKe.__get(e)},__getAll:function(){return gKe},__loadWithEntities:function(e){gKe=e,vKe=mKe()},mergeData:function(e,t){return yKe("DraftEntity.mergeData","contentState.mergeEntityData"),bKe.__mergeData(e,t)},replaceData:function(e,t){return yKe("DraftEntity.replaceData","contentState.replaceEntityData"),bKe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return vKe},__create:function(e,t,n){return bKe.__add(new fKe({type:e,mutability:t,data:n||{}}))},__add:function(e){return vKe=mKe(),gKe=gKe.set(vKe,e),vKe},__get:function(e){var t=gKe.get(e);return t||("production"!==Ns.env.NODE_ENV?pKe(!1,"Unknown DraftEntity key: %s.",e):pKe(!1)),t},__mergeData:function(e,t){var n=bKe.__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){dKe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return gKe=gKe.set(e,r),r},__replaceData:function(e,t){var n=bKe.__get(e).set("data",t);return gKe=gKe.set(e,n),n}},wKe=bKe;var xKe=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,Cqe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),OKe=xKe,kKe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},_Ke=new RegExp("\r","g");var SKe=function(e){return e.replace(_Ke,"")};function CKe(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){DKe(e,t,n[t])}))}return e}function DKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EKe=Iqe,IKe=Bqe,TKe=eHe,AKe=mHe,PKe=wKe,MKe=OKe,NKe=LHe,RKe=K$e,LKe=kKe,jKe=Cqe.exports,FKe=SKe,BKe=jKe.List,zKe=jKe.Record,WKe=jKe.Repeat,QKe=jKe.Map,UKe=jKe.OrderedMap,VKe=zKe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),qKe=LKe("draft_tree_data_support")?AKe:TKe,HKe=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 PKe},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 PKe.__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 PKe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return PKe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return PKe.__replaceData(e,t),this},r.addEntity=function(e){return PKe.__add(e),this},r.getEntity=function(e){return PKe.__get(e)},r.getAllEntities=function(){return PKe.__getAll()},r.loadWithEntities=function(e){return PKe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=EKe.createFromArray(n),o=r.isEmpty()?new MKe:MKe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||PKe,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=FKe(e),new qKe({key:NKe(),text:e,type:"unstyled",characterList:BKe(WKe(IKe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(CKe({},e,{blockMap:UKe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new MKe(e.selectionBefore),selectionAfter:new MKe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new qKe(CKe({},e,{data:QKe(e.data),characterList:null!=t?BKe((Array.isArray(t)?t:RKe(t)).map((function(e){return IKe.fromJS(e)}))):void 0}))},i}(VKe),$Ke=HKe,KKe=CHe,GKe=null;function YKe(e){return"LTR"===e||"RTL"===e}function XKe(e){return YKe(e)||("production"!==Ns.env.NODE_ENV?KKe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):KKe(!1)),"LTR"===e?"ltr":"rtl"}function ZKe(e){GKe=e}var JKe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:YKe,getHTMLDir:XKe,getHTMLDirIfDifferent:function(e,t){return YKe(e)||("production"!==Ns.env.NODE_ENV?KKe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):KKe(!1)),YKe(t)||("production"!==Ns.env.NODE_ENV?KKe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):KKe(!1)),e===t?null:XKe(e)},setGlobalDir:ZKe,initGlobalDir:function(){ZKe("LTR")},getGlobalDir:function(){return GKe||this.initGlobalDir(),GKe||("production"!==Ns.env.NODE_ENV?KKe(!1,"Global direction not set."):KKe(!1)),GKe}},eGe=JKe,tGe=CHe,nGe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",iGe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",rGe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+nGe+iGe+"]"),oGe=new RegExp("["+nGe+iGe+"]");function aGe(e){var t=rGe.exec(e);return null==t?null:t[0]}function sGe(e){var t=aGe(e);return null==t?eGe.NEUTRAL:oGe.exec(t)?eGe.RTL:eGe.LTR}function lGe(e,t){if(t=t||eGe.NEUTRAL,!e.length)return t;var n=sGe(e);return n===eGe.NEUTRAL?t:n}function uGe(e,t){return t||(t=eGe.getGlobalDir()),eGe.isStrong(t)||("production"!==Ns.env.NODE_ENV?tGe(!1,"Fallback direction must be a strong direction"):tGe(!1)),lGe(e,t)}var cGe={firstStrongChar:aGe,firstStrongCharDir:sGe,resolveBlockDir:lGe,getDirection:uGe,isDirectionLTR:function(e,t){return uGe(e,t)===eGe.LTR},isDirectionRTL:function(e,t){return uGe(e,t)===eGe.RTL}};function hGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dGe,fGe=cGe,pGe=JKe,mGe=CHe,gGe=function(){function e(e){hGe(this,"_defaultDir",void 0),hGe(this,"_lastDir",void 0),e?pGe.isStrong(e)||("production"!==Ns.env.NODE_ENV?mGe(!1,"Default direction must be a strong direction (LTR or RTL)"):mGe(!1)):e=pGe.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=fGe.getDirection(e,this._lastDir),this._lastDir},e}(),vGe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},yGe=gGe,bGe=Cqe.exports,wGe=vGe,xGe=bGe.OrderedMap,OGe={getDirectionMap:function(e,t){dGe?dGe.reset():dGe=new yGe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return wGe(dGe).getDirection(e.getText())})),r=xGe(n.keySeq().zip(i));return null!=t&&bGe.is(t,r)?t:r}};function kGe(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){_Ge(e,t,n[t])}))}return e}function _Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SGe=lKe,CGe=$Ke,DGe=OGe,EGe=OKe,IGe=Cqe.exports,TGe=IGe.OrderedSet,AGe=IGe.Record,PGe=IGe.Stack,MGe=IGe.OrderedMap,NGe=IGe.List,RGe=AGe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:PGe(),selection:null,treeMap:null,undoStack:PGe()}),LGe=function(){t.createEmpty=function(e){return t.createWithContent(CGe.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:PGe(),redoStack:PGe(),decorator:n||null,selection:EGe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=kGe({},e,{treeMap:FGe(n,e.decorator),directionMap:DGe.getDirectionMap(n)});return new t(new RGe(i))},t.fromJS=function(e){return new t(new RGe(kGe({},e,{directionMap:null!=e.directionMap?MGe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?TGe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?CGe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?PGe(e.redoStack.map((function(e){return CGe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new EGe(e.selection):e.selection,treeMap:null!=e.treeMap?MGe(e.treeMap).map((function(e){return NGe(e).map((function(e){return SGe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?PGe(e.undoStack.map((function(e){return CGe.fromJS(e)}))):e.undoStack,currentContent:CGe.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 SGe.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):FGe(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 SGe.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){_Ge(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 zGe(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 zGe(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 jGe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),jGe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new EGe({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=DGe.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()||BGe(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(),h=["adjust-depth","change-block-type","split-block"];-1===h.indexOf(i)&&(c=null);var d={currentContent:u,directionMap:o,undoStack:l,redoStack:PGe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,d)},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=DGe.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=DGe.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 jGe(e,t,n){return LGe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function FGe(e,t){return e.getBlockMap().map((function(n){return SGe.generate(e,n,t)})).toOrderedMap()}function BGe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function zGe(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):TGe()}var WGe=LGe,QGe=mHe,UGe=d$e,VGe=Cqe.exports,qGe=CHe,HGe=VGe.OrderedMap,$Ge=VGe.List,KGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},GGe=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(),h=n.getParentKey(),d=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){KGe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),KGe(c,e,(function(e){return e.merge({nextSibling:u})})),KGe(u,e,(function(e){return e.merge({prevSibling:c})})),KGe(d,e,(function(e){return e.merge({prevSibling:a})})),KGe(f,e,(function(e){return e.merge({nextSibling:a})})),KGe(h,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:$Ge(r)})})),KGe(a,e,(function(e){return e.merge({nextSibling:d,prevSibling:f,parent:h})}))}))},YGe=function(e,t,n,i){"replace"===i&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Replacing blocks is not supported."):qGe(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Block cannot be moved next to itself."):qGe(!1));var a=e.getBlockMap(),s=t instanceof QGe,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=UGe(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})),h=u.toSeq().skipUntil((function(e){return e===n})).skip(1),d=l.map((function(e){return[e.getKey(),e]})),f=HGe();if("before"===i){var p=e.getBlockBefore(r);p&&p.getKey()===t.getKey()&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Block cannot be moved next to itself."):qGe(!1)),f=c.concat([].concat(d,[[r,n]]),h).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Block cannot be moved next to itself."):qGe(!1)),f=c.concat([[r,n]].concat(d),h).toOrderedMap()}return e.merge({blockMap:GGe(f,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function XGe(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){ZGe(e,t,n[t])}))}return e}function ZGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JGe=Iqe,eYe=Bqe,tYe=eHe,nYe=mHe,iYe=$$e,rYe=WGe,oYe=LHe,aYe=Cqe.exports,sYe=YGe,lYe=kKe("draft_tree_data_support"),uYe=lYe?nYe:tYe,cYe=aYe.List,hYe=aYe.Repeat,dYe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=iYe.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=iYe.splitBlock(o,a),l=s.getSelectionAfter(),u=iYe.setBlockType(s,l,"atomic"),c=eYe.create({entity:t}),h={key:oYe(),type:"atomic",text:n,characterList:cYe(hYe(c,n.length))},d={key:oYe(),type:"unstyled"};lYe&&(h=XGe({},h,{nextSibling:d.key}),d=XGe({},d,{prevSibling:h.key}));var f=[new uYe(h),new uYe(d)],p=JGe.createFromArray(f),m=iYe.replaceWithFragment(u,l,p),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return rYe.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=sYe(o,t,s,i)}else{var l=iYe.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=sYe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=sYe(l,t,c,"after");else{var h=iYe.splitBlock(l,u),d=h.getSelectionAfter(),f=h.getBlockForKey(d.getFocusKey());r=sYe(h,t,f,"before")}}var p=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return rYe.push(e,p,"move-block")}};var fYe=Cqe.exports.List,pYe=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)})),fYe(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 mYe=pYe;function gYe(e){return e.replace(/\//g,"-")}var vYe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(gYe).join(" "):Array.prototype.map.call(arguments,gYe).join(" ")},yYe=o,bYe=vYe,wYe=(0,Cqe.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:yYe.createElement("ul",{className:bYe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:yYe.createElement("ol",{className:bYe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:yYe.createElement("pre",{className:bYe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),xYe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},OYe={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",h="vendor",d="version",f="architecture",p="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",O="ASUS",k="BlackBerry",_="Firefox",S="Google",C="Huawei",D="LG",E="Microsoft",I="Motorola",T="Opera",A="Samsung",P="Sony",M="Xiaomi",N="Zebra",R="Facebook",L=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},j=function(e,t){return typeof e===s&&-1!==F(t).indexOf(F(e))},F=function(e){return e.toLowerCase()},B=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},z=function(e,t){for(var n,o,s,l,u,c,h=0;h<t.length&&!u;){var d=t[h],f=t[h+1];for(n=o=0;n<d.length&&!u;)if(u=d[n++].exec(e))for(s=0;s<f.length;s++)c=u[++o],typeof(l=f[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;h+=2}},W=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(j(t[n][r],e))return"?"===n?i:n}else if(j(t[n],e))return"?"===n?i:n;return e},Q={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"},U={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,d],[/opios[\/ ]+([\w\.]+)/i],[d,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[d,[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,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[d,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],d],[/\bfocus\/([\w\.]+)/i],[d,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[d,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[d,[u,_]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,R],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,d],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[d,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[d,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[d,W,{"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,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[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,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,F]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,F]]],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,[h,A],[c,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[h,A],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[h,x],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[h,x],[c,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[h,C],[c,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[h,C],[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," "],[h,M],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[h,M],[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,[h,"OPPO"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[h,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[h,"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,[h,I],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[h,I],[c,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[h,D],[c,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[h,D],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[h,"Lenovo"],[c,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[h,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[h,S],[c,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[h,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,[h,P],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[h,P],[c,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[h,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[h,w],[c,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[h,w],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,h,[c,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[h,k],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[h,O],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[h,O],[c,m]],[/(nexus 9)/i],[l,[h,"HTC"],[c,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[h,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[h,"Acer"],[c,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[h,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,"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],[h,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],[h,l,[c,g]],[/(surface duo)/i],[l,[h,E],[c,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[h,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[h,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[h,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[h,"RCA"],[c,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[h,"Dell"],[c,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[h,"Verizon"],[c,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[h,"Barnes & Noble"],[c,g]],[/\b(tm\d{3}\w+) b/i],[l,[h,"NuVision"],[c,g]],[/\b(k88) b/i],[l,[h,"ZTE"],[c,g]],[/\b(nx\d{3}j) b/i],[l,[h,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[h,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[h,"Swiss"],[c,g]],[/\b((zeki)?tb.*\b) b/i],[l,[h,"Zeki"],[c,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],l,[c,g]],[/\b(ns-?\w{0,9}) b/i],[l,[h,"Insignia"],[c,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[h,"NextBook"],[c,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[h,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[h,"Envizen"],[c,g]],[/\b(trio[-\w\. ]+) b/i],[l,[h,"MachSpeed"],[c,g]],[/\btu_(1491) b/i],[l,[h,"Rotor"],[c,g]],[/(shield[\w ]+) b/i],[l,[h,"Nvidia"],[c,g]],[/(sprint) (\w+)/i],[h,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[h,E],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[h,N],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[h,N],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,l,[c,p]],[/droid.+; (shield) bui/i],[l,[h,"Nvidia"],[c,p]],[/(playstation [345portablevi]+)/i],[l,[h,P],[c,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[h,E],[c,p]],[/smart-tv.+(samsung)/i],[h,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,A],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,D],[c,v]],[/(apple) ?tv/i],[h,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[h,S],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[h,w],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[h,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,B],[l,B],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[h,l,[c,y]],[/droid.+; (glass) \d/i],[l,[h,S],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[h,N],[c,y]],[/(quest( 2)?)/i],[l,[h,R],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[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,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[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,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[d,W,Q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[d,W,Q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[d,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,d],[/\(bb(10);/i],[d,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],d],[/(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,d],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,d]]},V=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof V))return new V(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}(U,t):U;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,z.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,z.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,z.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,z.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,z.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?B(e,255):e,this},this.setUA(r),this};V.VERSION="0.7.31",V.BROWSER=L([u,d,"major"]),V.CPU=L([f]),V.DEVICE=L([l,h,c,p,m,v,g,y,b]),V.ENGINE=V.OS=L([u,d]),e.exports&&(t=e.exports=V),t.UAParser=V;var q=typeof n!==o&&(n.jQuery||n.Zepto);if(q&&!q.ua){var H=new V;q.ua=H.getResult(),q.ua.get=function(){return H.getUA()},q.ua.set=function(e){H.setUA(e);var t=H.getResult();for(var n in t)q.ua[n]=t[n]}}}("object"==typeof window?window:He)}(OYe,OYe.exports);var kYe="Unknown",_Ye={"Mac OS":"Mac OS X"};var SYe=(new(0,OYe.exports)).getResult(),CYe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(SYe.browser.version),DYe={browserArchitecture:SYe.cpu.architecture||kYe,browserFullVersion:SYe.browser.version||kYe,browserMinorVersion:CYe.minor||kYe,browserName:SYe.browser.name||kYe,browserVersion:SYe.browser.major||kYe,deviceName:SYe.device.model||kYe,engineName:SYe.engine.name||kYe,engineVersion:SYe.engine.version||kYe,platformArchitecture:SYe.cpu.architecture||kYe,platformName:function(e){return _Ye[e]||e}(SYe.os.name)||kYe,platformVersion:SYe.os.version||kYe,platformFullVersion:SYe.os.version||kYe},EYe=DYe,IYe=CHe,TYe=/\./,AYe=/\|\|/,PYe=/\s+\-\s+/,MYe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,NYe=/^(\d*)(.*)/;function RYe(e,t){var n=e.split(AYe);return n.length>1?n.some((function(e){return HYe.contains(e,t)})):function(e,t){var n=e.split(PYe);if(n.length>0&&n.length<=2||("production"!==Ns.env.NODE_ENV?IYe(!1,'the "-" operator expects exactly 2 operands'):IYe(!1)),1===n.length)return LYe(n[0],t);var i=n[0],r=n[1];return WYe(i)&&WYe(r)||("production"!==Ns.env.NODE_ENV?IYe(!1,'operands to the "-" operator must be simple (no modifiers)'):IYe(!1)),LYe(">="+i,t)&&LYe("<="+r,t)}(e=n[0].trim(),t)}function LYe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(TYe),i=BYe(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return jYe(n,o);case"<=":return function(e,t){var n=qYe(e,t);return-1===n||0===n}(n,o);case">=":return FYe(n,o);case">":return function(e,t){return 1===qYe(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);zYe(o)&&(i[r]=o+1+"");return FYe(e,n)&&jYe(e,i)}(n,o);default:return function(e,t){return 0===qYe(e,t)}(n,o)}}function jYe(e,t){return-1===qYe(e,t)}function FYe(e,t){var n=qYe(e,t);return 1===n||0===n}function BYe(e){var t=e.split(TYe),n=t[0].match(MYe);return n||("production"!==Ns.env.NODE_ENV?IYe(!1,"expected regex to match but it did not"):IYe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function zYe(e){return!isNaN(e)&&isFinite(e)}function WYe(e){return!BYe(e).modifier}function QYe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function UYe(e,t){var n=e.match(NYe)[1],i=t.match(NYe)[1],r=parseInt(n,10),o=parseInt(i,10);return zYe(r)&&zYe(o)&&r!==o?VYe(r,o):VYe(e,t)}function VYe(e,t){return typeof e!=typeof t&&("production"!==Ns.env.NODE_ENV?IYe(!1,'"a" and "b" must be of the same type'):IYe(!1)),e>t?1:e<t?-1:0}function qYe(e,t){for(var n=function(e,t){QYe(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 QYe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=UYe(i[o],r[o]);if(a)return a}return 0}var HYe={contains:function(e,t){return RYe(e.trim(),t.trim())}},$Ye=HYe,KYe=Object.prototype.hasOwnProperty;var GYe=function(e,t,n){if(!e)return null;var i={};for(var r in e)KYe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var YYe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},XYe=EYe,ZYe=$Ye;function JYe(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,ZYe.contains(r,t))}function eXe(e){return"Windows"===XYe.platformName?e.replace(/^\s*NT/,""):e}var tXe=GYe({isBrowser:function(e){return JYe(XYe.browserName,XYe.browserFullVersion,e)},isBrowserArchitecture:function(e){return JYe(XYe.browserArchitecture,null,e)},isDevice:function(e){return JYe(XYe.deviceName,null,e)},isEngine:function(e){return JYe(XYe.engineName,XYe.engineVersion,e)},isPlatform:function(e){return JYe(XYe.platformName,XYe.platformFullVersion,e,eXe)},isPlatformArchitecture:function(e){return JYe(XYe.platformArchitecture,null,e)}},YYe);var nXe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var iXe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},rXe=iXe;var oXe=function e(t){if(rXe(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},aXe=nXe,sXe=oXe;var lXe=function(e){for(var t=e;t&&t!==aXe(e).documentElement;){var n=sXe(t);if(null!=n)return n;t=t.parentNode}return null};var uXe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function cXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hXe=tXe,dXe=lXe,fXe=uXe,pXe=CHe,mXe=vGe,gXe=Cqe.exports.Map,vXe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},yXe=hXe.isBrowser("IE <= 11"),bXe=function(){function e(e){var t=this;cXe(this,"observer",void 0),cXe(this,"container",void 0),cXe(this,"mutations",void 0),cXe(this,"onCharData",void 0),this.container=e,this.mutations=gXe();var n=fXe(e);n.MutationObserver&&!yXe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ns.env.NODE_ENV?pXe(!1,"Expected target to be an instance of Node"):pXe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,vXe):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=gXe(),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 yXe?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=mXe(dXe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),wXe={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},xXe={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},OXe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var kXe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},_Xe=CHe,SXe=kXe;var CXe=function(e){var t=e.editorContainer;return t||("production"!==Ns.env.NODE_ENV?_Xe(!1,"Missing editorNode"):_Xe(!1)),SXe(t.firstChild)||("production"!==Ns.env.NODE_ENV?_Xe(!1,"editorNode.firstChild is not an HTMLElement"):_Xe(!1)),t.firstChild},DXe=wXe,EXe=vGe;var IXe=function(e,t,n,i,r){var o=EXe(e.getSelection());if(!t||!i)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=DXe.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=DXe.decode(i),h=c.blockKey,d=e.getBlockTree(h),f=d&&d.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!f)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var p=u.get("start"),m=f.get("start"),g=u?p+n:null,v=f?m+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===h&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===h){var w=u.get("end"),x=f.get("end");b=m===p&&x===w?r<n:m<p}else{var O=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===h})).first();b=O===h}return o.merge({anchorKey:s,anchorOffset:g,focusKey:h,focusOffset:v,isBackward:b})},TXe=lXe,AXe=oXe,PXe=IXe,MXe=CHe,NXe=iXe,RXe=vGe;function LXe(e,t,n){var i=t,r=TXe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==Ns.env.NODE_ENV?MXe(!1,"Unknown node in selection range."):MXe(!1)),e===i)&&(i=i.firstChild,NXe(i)||("production"!==Ns.env.NODE_ENV?MXe(!1,"Invalid DraftEditorContents node."):MXe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==Ns.env.NODE_ENV?MXe(!1,"Invalid DraftEditorContents structure."):MXe(!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&&(NXe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||AXe(e.firstChild));)e=e.firstChild;return e}(i);o=RXe(AXe(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(AXe(s)){var c=function(e){for(;e.lastChild&&(NXe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||AXe(e.lastChild));)e=e.lastChild;return e}(s);l=RXe(AXe(c)),u=jXe(c)}else l=RXe(r),u=jXe(s);return{key:l,offset:u}}function jXe(e){var t=e.textContent;return"\n"===t?0:t.length}var FXe=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:PXe(e,RXe(TXe(n)),i,RXe(TXe(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:RXe(TXe(n)),offset:i},u=LXe(t,r,o)):s?(u={key:RXe(TXe(r)),offset:o},l=LXe(t,n,i)):(l=LXe(t,n,i),u=LXe(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:PXe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},BXe=FXe;var zXe=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}:BXe(e,t,i,r,o,a)},WXe=OXe,QXe=WGe,UXe=CXe,VXe=zXe;var qXe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();WXe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=VXe(n,UXe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?QXe.forceSelection(n,r):QXe.acceptSelection(n,r),e.update(n))}};var HXe={notEmptyKey:function(e){return null!=e&&""!=e}},$Xe=HXe.notEmptyKey;function KXe(e,t){return $Xe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var GXe=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:KXe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),KXe(e.getEntityMap(),n)},YXe=bXe,XXe=$$e,ZXe=wXe,JXe=WGe,eZe=xXe,tZe=CXe,nZe=zXe,iZe=GXe,rZe=vGe,oZe=!1,aZe=!1,sZe=null;var lZe={onCompositionStart:function(e){aZe=!0,function(e){sZe||(sZe=new YXe(tZe(e))).start()}(e)},onCompositionEnd:function(e){oZe=!1,aZe=!1,setTimeout((function(){oZe||lZe.resolveComposition(e)}),20)},onSelect:qXe,onKeyDown:function(e,t){if(!aZe)return lZe.resolveComposition(e),void e._onKeyDown(t);t.which!==eZe.RIGHT&&t.which!==eZe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===eZe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!aZe){var t=rZe(sZe).stopAndFlushMutations();sZe=null,oZe=!0;var n=JXe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=ZXe.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,h=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),d=iZe(i,h),f=i.getBlockForKey(o).getInlineStyleAt(u);i=XXe.replaceText(i,h,e,f,d),n=JXe.set(n,{currentContent:i})}));var r=nZe(n,tZe(e)).selectionState;e.restoreEditorDOM();var o=JXe.acceptSelection(n,r);e.update(JXe.push(o,i,"insert-characters"))}else e.update(n)}}},uZe=lZe,cZe=kY;function hZe(){return hZe=cZe||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},hZe.apply(this,arguments)}var dZe=wXe,fZe=o,pZe=cGe,mZe=JKe,gZe=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"),h=r.getComponentForKey(o),d=r.getPropsForKey(o),f=dZe.encode(u,parseInt(o,10),0),p=l.slice(c.first().get("start"),c.last().get("end")),m=mZe.getHTMLDirIfDifferent(pZe.getDirection(p),a);return fZe.createElement(h,hZe({},d,{contentState:i,decoratedText:p,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},i}(fZe.Component),vZe=gZe;function yZe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wZe=o,xZe=CHe,OZe=iXe,kZe=tXe.isBrowser("IE <= 11");var _Ze=function(e){var t,n;function i(t){var n;return bZe(yZe(n=e.call(this,t)||this),"_forceFlag",void 0),bZe(yZe(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;OZe(t)||("production"!==Ns.env.NODE_ENV?xZe(!1,"node is not an Element"):xZe(!1));var i=t;return n?!function(e){return kZe?"\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},kZe?wZe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):wZe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return kZe?wZe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):wZe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):wZe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(wZe.Component),SZe=_Ze,CZe=iXe;var DZe=function(e){return!(!e||!e.ownerDocument)&&(CZe(e)&&"BR"===e.nodeName)};var EZe=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 IZe=function(e){return EZe(e)&&3==e.nodeType};var TZe=function e(t,n){return!(!t||!n)&&(t===n||!IZe(t)&&(IZe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var AZe=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}},PZe=OXe,MZe=TZe,NZe=AZe,RZe=nXe,LZe=CHe,jZe=iXe,FZe=tXe.isBrowser("IE");function BZe(e,t){if(!e)return"[empty]";var n=zZe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(jZe(n)||("production"!==Ns.env.NODE_ENV?LZe(!1,"Node must be an Element if it is not a text node."):LZe(!1)),n.outerHTML)}function zZe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return RZe(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(zZe(o[a],t));return r}function WZe(e,t){for(var n=e,i=n;n;){if(jZe(n)&&i.hasAttribute("contenteditable"))return BZe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function QZe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function UZe(e,t,n,i){var r=NZe();if(e.extend&&null!=t&&MZe(r,t)){n>QZe(t)&&PZe.logSelectionStateFailure({anonymizedDom:WZe(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 PZe.logSelectionStateFailure({anonymizedDom:WZe(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 VZe(e,t,n,i){var r=RZe(t).createRange();if(n>QZe(t)&&PZe.logSelectionStateFailure({anonymizedDom:WZe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),FZe)try{e.addRange(r)}catch(e){"production"!==Ns.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var qZe=function(e,t,n,i,r){var o=RZe(t);if(MZe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),h=e.getIsBackward();if(!a.extend&&h){var d=s,f=l;s=u,l=c,u=d,c=f,h=!1}var p=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(p&&m)return a.removeAllRanges(),VZe(a,t,l-i,e),void UZe(a,t,c-i,e);if(h){if(m&&(a.removeAllRanges(),VZe(a,t,c-i,e)),p){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),VZe(a,t,l-i,e),UZe(a,g,v,e)}}else p&&(a.removeAllRanges(),VZe(a,t,l-i,e)),m&&UZe(a,t,c-i,e)}},HZe=kY;function $Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GZe=SZe,YZe=o,XZe=CHe,ZZe=DZe,JZe=qZe,eJe=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 KZe($Ze(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"!==Ns.env.NODE_ENV?XZe(!1,"Missing node"):XZe(!1));var l,u=s.firstChild;u||("production"!==Ns.env.NODE_ENV?XZe(!1,"Missing child"):XZe(!1)),u.nodeType===Node.TEXT_NODE?l=u:ZZe(u)?l=s:(l=u.firstChild)||("production"!==Ns.env.NODE_ENV?XZe(!1,"Missing targetNode"):XZe(!1)),JZe(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ns.env.NODE_ENV?XZe(!1,"Missing leafNode"):XZe(!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()),HZe(e,i,n)}),{});if(o){var u=o(s,t);l=HZe(l,u)}return YZe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},YZe.createElement(GZe,null,n))},i}(YZe.Component),tJe=eJe;var nJe=vZe,iJe=tJe,rJe=wXe,oJe=o,aJe=vYe;Cqe.exports.List;var sJe=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,h=t.getKey(),d=t.getText(),f=c.size-1,p=this.props.children||c.map((function(e,c){var p=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=rJe.encode(h,c,n),a=e.get("start"),m=e.get("end");return oJe.createElement(iJe,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:d.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:p===f&&n===g})})).toArray();return p&&o?oJe.createElement(nJe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:p,direction:a,leafSet:e,text:d,key:c}):v})).toArray();return oJe.createElement("div",{"data-offset-key":rJe.encode(h,0,0),className:aJe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},p)},i}(oJe.Component),lJe=sJe;function uJe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var cJe={getTop:function(e){var t=e.ownerDocument;return uJe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;uJe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return uJe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;uJe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},hJe=cJe,dJe=/-(.)/g;var fJe=function(e){return e.replace(dJe,(function(e,t){return t.toUpperCase()}))},pJe=/([A-Z])/g;var mJe=function(e){return e.replace(pJe,"-$1").toLowerCase()},gJe=fJe,vJe=mJe;function yJe(e){return null==e?e:String(e)}var bJe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return yJe(n.getPropertyValue(vJe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return yJe(n.getPropertyValue(vJe(t)));if("display"===t)return"none"}return e.currentStyle?yJe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[gJe(t)]):yJe(e.style&&e.style[gJe(t)])};function wJe(e,t){var n=xJe.get(e,t);return"auto"===n||"scroll"===n}var xJe={get:bJe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(wJe(e,"overflow")||wJe(e,"overflowY")||wJe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},OJe=xJe,kJe=TZe;var _Je=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!kJe(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 SJe=function(e){var t=_Je(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},CJe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var DJe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:CJe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var EJe=DJe,IJe=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 TJe=function(e){var t=EJe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=IJe(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 AJe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function PJe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function MJe(){return{width:window.innerWidth||AJe(),height:window.innerHeight||PJe()}}MJe.withoutScrollbars=function(){return{width:AJe(),height:PJe()}};var NJe=MJe,RJe=kY;function LJe(){return LJe=RJe||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},LJe.apply(this,arguments)}function jJe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FJe(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){BJe(e,t,n[t])}))}return e}function BJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zJe=lJe,WJe=wXe,QJe=o,UJe=hJe,VJe=OJe,qJe=SJe,HJe=TJe,$Je=NJe,KJe=CHe,GJe=kXe;Cqe.exports.List;var YJe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},XJe=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}},ZJe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},JJe=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=FJe({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},e0e=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 BJe(jJe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",QJe.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||YJe(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=VJe.getScrollParent(n),o=HJe(r);if(r===window){var a=qJe(n);(i=a.y+a.height-$Je().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{GJe(n)||("production"!==Ns.env.NODE_ENV?KJe(!1,"blockNode is not an HTMLElement"):KJe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&UJe.setTop(r,UJe.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,h=t.customStyleFn,d=t.customStyleMap,f=t.direction,p=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=WJe.encode(n,0,0),h=s.getBlockForKey(n),d=ZJe(h,o),f=d.CustomComponent||i,p=XJe(h,r),m=p.Element,g=p.wrapperTemplate,v=JJe(h,u,l,a,d,null),y=FJe({},e.props,{tree:c.getBlockTree(n),blockProps:d.customProps,offsetKey:l,block:h});return t.push(QJe.createElement(m,v,QJe.createElement(f,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(h,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(),h=c[0].key;n.push(QJe.cloneElement(e,{key:"".concat(h,"-wrap"),"data-offset-key":WJe.encode(h,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=WJe.encode(y,0,0),w=ZJe(n,o),x=w.CustomComponent,O=null!=x?QJe.createElement(x,LJe({},this.props,{tree:c.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):QJe.createElement(zJe,{block:n,children:v,contentState:s,customStyleFn:h,customStyleMap:d,decorator:l,direction:f,forceSelection:p,hasSelection:YJe(m,y),selection:m,tree:g});if(n.getParentKey())return O;var k=XJe(n,r).Element,_=JJe(n,u,b,a,w,this.wrapperRef);return QJe.createElement(k,_,O)},i}(QJe.Component),t0e=kY;function n0e(){return n0e=t0e||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},n0e.apply(this,arguments)}var i0e=e0e,r0e=wXe,o0e=o,a0e=vGe,s0e=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(),h=a.mustForceSelection(),d=a.getDecorator(),f=a0e(a.getDirectionMap()),p=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:d,editorKey:s,editorState:a,forceSelection:h,selection:c,block:m,direction:l||f.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;p.push({block:o0e.createElement(i0e,n0e({key:g},v)),wrapperTemplate:y,key:g,offsetKey:r0e.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?u.getBlockForKey(b):null}for(var w=[],x=0;x<p.length;){var O=p[x];if(O.wrapperTemplate){var k=[];do{k.push(p[x].block),x++}while(x<p.length&&p[x].wrapperTemplate===O.wrapperTemplate);var _=o0e.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},k);w.push(_)}else w.push(O.block),x++}return o0e.createElement("div",{"data-contents":"true"},w)},i}(o0e.Component),l0e=s0e,u0e=kY;function c0e(){return c0e=u0e||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},c0e.apply(this,arguments)}function h0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f0e=tJe,p0e=wXe,m0e=o,g0e=hJe,v0e=OJe,y0e=cGe,b0e=JKe,w0e=vYe,x0e=SJe,O0e=TJe,k0e=NJe,_0e=CHe,S0e=kXe,C0e=vGe,D0e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},E0e=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 d0e(h0e(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||D0e(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=v0e.getScrollParent(n),o=O0e(r);if(r===window){var a=x0e(n);(i=a.y+a.height-k0e().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{S0e(n)||("production"!==Ns.env.NODE_ENV?_0e(!1,"blockNode is not an HTMLElement"):_0e(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&g0e.setTop(r,g0e.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=D0e(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=p0e.encode(n,s,l),h=a.get("start"),d=a.get("end");return m0e.createElement(f0e,{key:c,offsetKey:c,block:t,start:h,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(h,d),styleSet:t.getInlineStyleAt(h),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),h=a.get("decoratorKey");if(null==h)return c;if(!e.props.decorator)return c;var d=C0e(e.props.decorator),f=d.getComponentForKey(h);if(!f)return c;var p=d.getPropsForKey(h),m=p0e.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")),w=b0e.getHTMLDirIfDifferent(y0e.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return m0e.createElement(f,c0e({},p,x,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=w0e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return m0e.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(m0e.Component),I0e=E0e;var T0e=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},A0e=kY;function P0e(){return P0e=A0e||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},P0e.apply(this,arguments)}function M0e(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){N0e(e,t,n[t])}))}return e}function N0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R0e=I0e,L0e=wXe,j0e=o,F0e=vYe,B0e=T0e,z0e=vGe,W0e=function(e,t,n,i){return F0e({"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})},Q0e=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(),h=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=z0e(a.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),O=w.getType(),k=n(w),_=void 0,S=void 0,C=void 0;k&&(_=k.component,S=k.props,C=k.editable);var D=u||p.get(x),E=L0e.encode(x,0,0),I={contentState:c,block:w,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:f,direction:D,forceSelection:d,offsetKey:E,preventScroll:l,selection:h,tree:a.getBlockTree(x)},T=t.get(O)||t.get("unstyled"),A=T.wrapper,P=T.element||t.get("unstyled").element,M=w.getDepth(),N="";if(i&&(N=i(w)),"li"===P)N=B0e(N,W0e(O,M,y!==A||null===v||M>v,D));var R=_||R0e,L={className:N,"data-block":!0,"data-editor":s,"data-offset-key":E,key:x};void 0!==C&&(L=M0e({},L,{contentEditable:C,suppressContentEditableWarning:!0}));var j=j0e.createElement(P,L,j0e.createElement(R,P0e({},I,{key:x})));g.push({block:j,wrapperTemplate:A,key:x,offsetKey:E}),v=A?w.getDepth():null,y=A}for(var F=[],B=0;B<g.length;){var z=g[B];if(z.wrapperTemplate){var W=[];do{W.push(g[B].block),B++}while(B<g.length&&g[B].wrapperTemplate===z.wrapperTemplate);var Q=j0e.cloneElement(z.wrapperTemplate,{key:z.key+"-wrap","data-offset-key":z.offsetKey},W);F.push(Q)}else F.push(z.block),B++}return j0e.createElement("div",{"data-contents":"true"},F)},i}(j0e.Component),U0e=Q0e,V0e=kKe("draft_tree_data_support")?l0e:U0e,q0e={isImage:function(e){return"image"===H0e(e)[0]},isJpeg:function(e){var t=H0e(e);return q0e.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function H0e(e){return e.split("/")}var $0e=q0e,K0e=CHe;var G0e=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"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Array-like object expected"):K0e(!1)),"number"!=typeof t&&("production"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Object needs a length property"):K0e(!1)),0===t||t-1 in e||("production"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Object should have keys for indices"):K0e(!1)),"function"==typeof e.callee&&("production"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):K0e(!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 Y0e(e){return function(){return e}}var X0e=function(){};X0e.thatReturns=Y0e,X0e.thatReturnsFalse=Y0e(!1),X0e.thatReturnsTrue=Y0e(!0),X0e.thatReturnsNull=Y0e(null),X0e.thatReturnsThis=function(){return this},X0e.thatReturnsArgument=function(e){return e};var Z0e=X0e,J0e=$0e,e1e=G0e,t1e=Z0e,n1e=new RegExp("\r\n","g"),i1e={"text/rtf":1,"text/html":1};function r1e(e){if("file"==e.kind)return e.getAsFile()}var o1e=function(){function e(e){this.data=e,this.types=e.types?e1e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return i1e[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(n1e,"\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(!J0e.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(r1e).filter(t1e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),a1e=o1e,s1e=CHe,l1e=/\.textClipping$/,u1e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var c1e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!He.FileReader||e.type&&!(e.type in u1e))return void t("");if(""===e.type){var n="";return l1e.test(e.name)&&(n=e.name.replace(l1e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==Ns.env.NODE_ENV?s1e(!1,'We should be calling "FileReader.readAsText" which returns a string'):s1e(!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 h1e=function(e){return"handled"===e||!0===e},d1e=a1e,f1e=$$e,p1e=WGe,m1e=lXe,g1e=nXe,v1e=c1e,y1e=IXe,b1e=uXe,w1e=h1e,x1e=vGe;var O1e={onDragEnd:function(e){e.exitCurrentMode(),k1e(e)},onDrop:function(e,t){var n=new d1e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=g1e(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=x1e(n),i=x1e(i);var a=x1e(m1e(n));return y1e(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&&w1e(e.props.handleDroppedFiles(r,o)))return;v1e(o,(function(t){t&&e.update(_1e(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&w1e(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=f1e.moveText(e.getCurrentContent(),e.getSelection(),t);return p1e.push(e,n,"insert-fragment")}(i,r)):e.update(_1e(i,r,n.getText()))),k1e(e)}}}};function k1e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:b1e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function _1e(e,t,n){var i=f1e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return p1e.push(e,i,"insert-fragment")}var S1e=O1e;var C1e=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){Ns.nextTick((function(){h(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)&&h(+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){h(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(){h(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(h,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 h(e){if(s)setTimeout(h,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?He:self);var D1e=He.setImmediate,E1e=$$e,I1e=WGe,T1e=GXe,A1e=h1e,P1e=C1e,M1e=vGe,N1e=D1e,R1e=tXe.isBrowser("Firefox");function L1e(e,t,n,i,r){var o=E1e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return I1e.push(e,o,"insert-characters",r)}var j1e=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&&A1e(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(L1e(n,i,n.getCurrentInlineStyle(),T1e(n.getCurrentContent(),n.getSelection()),!0));var s,l=L1e(n,i,n.getCurrentInlineStyle(),T1e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=P1e(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),h=l.getBlockTree(a);u=c.size!==h.size||c.zip(h).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"),h=n.get("decoratorKey");return t.get("decoratorKey")!==h||t.get("leaves").size!==n.get("leaves").size||a!==u||l!==c||null!=h&&c-u!=s-r}))}if(u||(s=i,u=R1e&&("'"==s||"/"==s)),u||(u=M1e(l.getDirectionMap()).get(a)!==M1e(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=I1e.set(l,{forceSelection:!0}),void e.update(l);l=I1e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,N1e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},F1e=WGe,B1e=TZe,z1e=AZe;var W1e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&z1e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&B1e(r,i.anchorNode)&&B1e(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(F1e.acceptSelection(o,s))}},Q1e=WGe;var U1e=function(e,t){e.setMode("composite"),e.update(Q1e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},V1e=KHe;var q1e=function(e){var t=e.getSelection();return t.isCollapsed()?null:V1e(e.getCurrentContent(),t)},H1e=q1e;var $1e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(H1e(e._latestEditorState))};var K1e=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},G1e=$$e,Y1e=WGe,X1e=OJe,Z1e=q1e,J1e=TJe,e2e=K1e;var t2e=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(e2e(o)){var a=o;n=J1e(X1e.getScrollParent(a))}var s=Z1e(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=G1e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return Y1e.push(e,t,"remove-range")}(i))}),0)}};var n2e=function(e,t){e.setMode("drag"),t.preventDefault()};var i2e=function(e){e._internalDrag=!0,e.setMode("drag")},r2e=WGe,o2e=tXe;var a2e=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),o2e.isBrowser("Chrome < 60.0.3081.0")?e.update(r2e.forceSelection(n,r)):e.update(r2e.acceptSelection(n,r))}},s2e=CHe,l2e=/[\uD800-\uDFFF]/;function u2e(e){return 55296<=e&&e<=57343}function c2e(e){return l2e.test(e)}function h2e(e,t){return 1+u2e(e.charCodeAt(t))}function d2e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!c2e(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+=h2e(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=h2e(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=h2e(e,o);return e.substring(r,o)}var f2e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=h2e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:h2e,hasSurrogateUnit:c2e,isCodeUnitInSurrogateRange:u2e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ns.env.NODE_ENV?s2e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):s2e(!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(!c2e(e))return e.length;for(var t=0,n=0;n<e.length;n+=h2e(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 d2e(e,t=t<n?t:n,i)},substr:d2e},p2e=f2e,m2e=Z0e;function g2e(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 v2e="production"!==Ns.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];g2e.apply(void 0,[t].concat(i))}}:m2e,y2e=v2e,b2e=y2e;var w2e=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&b2e(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})},x2e=$$e,O2e=kKe("draft_tree_data_support");var k2e=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(O2e&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(O2e)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 x2e.removeRange(r,o,n)},_2e=WGe,S2e=p2e,C2e=w2e,D2e=k2e;var E2e=function(e){var t=D2e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return C2e(e,o?S2e.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return _2e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},I2e=$$e,T2e=wXe,A2e=WGe,P2e=HXe.notEmptyKey,M2e=lXe,N2e=E2e,R2e=vGe,L2e=tXe.isEngine("Gecko");var j2e=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=R2e(M2e(i)),h=T2e.decode(c),d=h.blockKey,f=h.decoratorKey,p=h.leafKey,m=u.getBlockTree(d).getIn([f,"leaves",p]),g=m.start,v=m.end,y=u.getCurrentContent(),b=y.getBlockForKey(d),w=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==w){var x,O,k,_,S=u.getSelection(),C=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),D=b.getEntityAt(g),E=P2e(D)?y.getEntity(D):null,I="MUTABLE"===(null!=E?E.getMutability():null),T=I?"spellcheck-change":"apply-entity",A=I2e.replaceText(y,C,l,b.getInlineStyleAt(g),I?b.getEntityAt(g):null);if(L2e)x=n.anchorOffset,O=n.focusOffset,_=(k=g+Math.min(x,O))+Math.abs(x-O),x=k,O=_;else{var P=l.length-w.length;k=S.getStartOffset(),_=S.getEndOffset(),x=r?_+P:k,O=_+P}var M=A.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:x,focusOffset:O})});e.update(A2e.push(u,M,T))}else{var N=t.nativeEvent.inputType;if(N){var R=function(e,t){return"deleteContentBackward"===e?N2e(t):t}(N,u);if(R!==u)return e.restoreEditorDOM(),void e.update(R)}}}},F2e=xXe;var B2e=function(e){return e.which===F2e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},z2e=B2e,W2e=tXe.isPlatform("Mac OS X"),Q2e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return W2e&&e.altKey},usesMacOSHeuristics:function(){return W2e},hasCommandModifier:function(e){return W2e?!!e.metaKey&&!e.altKey:Q2e.isCtrlKeyCommand(e)},isSoftNewlineEvent:z2e},U2e=Q2e,V2e=$$e,q2e=WGe,H2e=KHe,$2e=vGe,K2e=null,G2e={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=$2e(i),K2e=H2e(t,i);var s=V2e.removeRange(t,i,"forward");return s===t?e:q2e.push(e,s,"remove-range")},paste:function(e){if(!K2e)return e;var t=V2e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),K2e);return q2e.push(e,t,"insert-fragment")}},Y2e=G2e,X2e=CHe;var Z2e=tXe.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"!==Ns.env.NODE_ENV?X2e(!1,"Found an unexpected detached subtree when getting range client rects."):X2e(!1)}:function(e){return Array.from(e.getClientRects())},J2e=p2e,e3e=nXe,t3e=Z2e,n3e=CHe;function i3e(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 r3e(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 o3e=WGe,a3e=function(e){e.collapsed||("production"!==Ns.env.NODE_ENV?n3e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):n3e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=e3e(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"!==Ns.env.NODE_ENV?n3e(!1,"Missing document.body"):n3e(!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);i3e(t3e(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==Ns.env.NODE_ENV?n3e(!1,"Found unexpected detached subtree when traversing."):n3e(!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&&J2e.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!i3e(t3e(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=r3e(o=o.childNodes[l])}return e.setStart(i,r),e},s3e=FXe,l3e=w2e,u3e=k2e;var c3e=function(e,t){var n=u3e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return l3e(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=a3e(i),s3e(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:o3e.push(e,n,"remove-range")},h3e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),d3e=new RegExp("^(?:"+h3e+")*(?:['‘’]|(?!"+h3e+").)*(?:(?!"+h3e+").)"),f3e=new RegExp("(?:(?!"+h3e+").)(?:['‘’]|(?!"+h3e+").)*(?:"+h3e+")*$");function p3e(e,t){var n=t?f3e.exec(e):d3e.exec(e);return n?n[0]:e}var m3e={getBackward:function(e){return p3e(e,!0)},getForward:function(e){return p3e(e,!1)}},g3e=m3e,v3e=WGe,y3e=w2e,b3e=k2e;var w3e=function(e){var t=b3e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return y3e(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=g3e.getBackward(r);return y3e(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:v3e.push(e,t,"remove-range")},x3e=y2e;var O3e=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&x3e(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})},k3e=m3e,_3e=WGe,S3e=O3e,C3e=k2e;var D3e=function(e){var t=C3e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=k3e.getForward(r);return S3e(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:_3e.push(e,t,"remove-range")},E3e=$$e,I3e=WGe;var T3e=WGe;var A3e=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return T3e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},P3e=WGe;var M3e=function(e){var t=e.getSelection(),n=t.getStartKey();return P3e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},N3e=WGe,R3e=p2e,L3e=O3e,j3e=k2e;var F3e=function(e){var t=j3e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return L3e(e,o?R3e.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return N3e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},B3e=$$e,z3e=WGe,W3e=KHe;var Q3e=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=W3e(a,i),u=B3e.removeRange(a,i,"backward"),c=u.getSelectionAfter(),h=c.getAnchorOffset()-1,d=c.merge({anchorOffset:h,focusOffset:h}),f=B3e.replaceWithFragment(u,d,l),p=z3e.push(e,f,"insert-fragment");return z3e.acceptSelection(p,r)},U3e=WGe;var V3e=function(e,t,n){var i=U3e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(U3e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(U3e.set(i,{nativelyRenderedContent:r}))}},q3e=$$e,H3e=WGe,$3e=xXe,K3e=Y2e,G3e=tXe,Y3e=h1e,X3e=c3e,Z3e=w3e,J3e=D3e,e4e=function(e){var t=E3e.splitBlock(e.getCurrentContent(),e.getSelection());return I3e.push(e,t,"split-block")},t4e=A3e,n4e=M3e,i4e=E2e,r4e=F3e,o4e=Q3e,a4e=V3e,s4e=U2e.isOptionKeyCommand,l4e=G3e.isBrowser("Chrome");var u4e=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 $3e.RETURN:if(t.preventDefault(),e.props.handleReturn&&Y3e(e.props.handleReturn(t,i)))return;break;case $3e.ESC:if(t.preventDefault(),r("onEscape"))return;break;case $3e.TAB:if(r("onTab"))return;break;case $3e.UP:if(r("onUpArrow"))return;break;case $3e.RIGHT:if(r("onRightArrow"))return;break;case $3e.DOWN:if(r("onDownArrow"))return;break;case $3e.LEFT:if(r("onLeftArrow"))return;break;case $3e.SPACE:l4e&&s4e(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!Y3e(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return H3e.redo(t);case"delete":return r4e(t);case"delete-word":return J3e(t);case"backspace":return i4e(t);case"backspace-word":return Z3e(t);case"backspace-to-start-of-line":return X3e(t,n);case"split-block":return e4e(t);case"transpose-characters":return o4e(t);case"move-selection-to-start-of-block":return n4e(t);case"move-selection-to-end-of-block":return t4e(t);case"secondary-cut":return K3e.cut(t);case"secondary-paste":return K3e.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else a4e(t,i,e.update);else if(n===$3e.SPACE&&l4e&&s4e(t)){var s=q3e.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(H3e.push(i,s,"insert-characters"))}};var c4e=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}(),h4e=c4e,d4e=CHe,f4e=tXe.isBrowser("IE <= 9");var p4e=function(e){var t,n=null;return!f4e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ns.env.NODE_ENV?d4e(!1,"Missing doc.documentElement"):d4e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},m4e=iXe;var g4e=function(e){return!(!e||!e.ownerDocument)&&(m4e(e)&&"A"===e.nodeName)},v4e=iXe;var y4e,b4e=function(e){return!(!e||!e.ownerDocument)&&(v4e(e)&&"IMG"===e.nodeName)};function w4e(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){x4e(e,t,n[t])}))}return e}function x4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O4e=Bqe,k4e=eHe,_4e=mHe,S4e=wYe,C4e=wKe,D4e=h4e,E4e=vYe,I4e=LHe,T4e=p4e,A4e=kKe,P4e=Cqe.exports,M4e=P4e.List,N4e=P4e.Map,R4e=P4e.OrderedSet,L4e=g4e,j4e=DZe,F4e=kXe,B4e=b4e,z4e=A4e("draft_tree_data_support"),W4e=new RegExp("\r","g"),Q4e=new RegExp("\n","g"),U4e=new RegExp("^\n","g"),V4e=new RegExp("&nbsp;","g"),q4e=new RegExp("&#13;?","g"),H4e=new RegExp("&#8203;?","g"),$4e=["bold","bolder","500","600","700","800","900"],K4e=["light","lighter","normal","100","200","300","400"],G4e=["className","href","rel","target","title"],Y4e=["alt","className","height","src","width"],X4e=(x4e(y4e={},E4e("public/DraftStyleDefault/depth0"),0),x4e(y4e,E4e("public/DraftStyleDefault/depth1"),1),x4e(y4e,E4e("public/DraftStyleDefault/depth2"),2),x4e(y4e,E4e("public/DraftStyleDefault/depth3"),3),x4e(y4e,E4e("public/DraftStyleDefault/depth4"),4),y4e),Z4e=N4e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),J4e=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)}))})),N4e(t)},e5e=function(e){if(F4e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},t5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(X4e).some((function(n){e.classList.contains(n)&&(t=X4e[n])})),t},n5e=function(e){if(!L4e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},i5e=function(e){if(!B4e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},r5e=function(e,t){if(!F4e(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){$4e.indexOf(i)>=0?e.add("BOLD"):K4e.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"))}))},o5e=function(e){return"ul"===e||"ol"===e},a5e=function(){function e(e,t){x4e(this,"characterList",M4e()),x4e(this,"currentBlockType","unstyled"),x4e(this,"currentDepth",0),x4e(this,"currentEntity",null),x4e(this,"currentText",""),x4e(this,"wrapper",null),x4e(this,"blockConfigs",[]),x4e(this,"contentBlocks",[]),x4e(this,"entityMap",C4e),x4e(this,"blockTypeMap",void 0),x4e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=M4e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=C4e,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],R4e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(z4e?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||I4e(),n=w4e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:M4e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=M4e(),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||o5e(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;o5e(o)&&(this.wrapper=o,o5e(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(i5e(r))this._addImgNode(r,t);else if(n5e(r))this._addAnchorNode(r,n,t);else{var u=t;Z4e.has(o)&&(u=u.add(Z4e.get(o))),u=r5e(r,u);var c=e5e(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 h=this.currentDepth,d=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!z4e&&F4e(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=r;this.currentDepth=t5e(f,this.currentDepth)}var p=I4e(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:p,childConfigs:m,type:l})),this.currentDepth=h,this.wrapper=d}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=O4e.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=M4e()):(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(U4e,"")).replace(Q4e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){j4e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(B4e(e)){var n=e,i={};Y4e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),A4e("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(L4e(e)){var i=e,r={};G4e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new D4e(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=M4e(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new _4e(w4e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return M4e(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 k4e(w4e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=M4e(),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}(),s5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T4e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S4e,i=t(e=e.trim().replace(W4e,"").replace(V4e," ").replace(q4e,"").replace(H4e,""));if(!i)return null;var r=J4e(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new a5e(r,o).addDOMNode(i).getContentBlocks()};function l5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u5e=eHe,c5e=mHe,h5e=s5e,d5e=LHe,f5e=p4e,p5e=kKe,m5e=Cqe.exports,g5e=SKe,v5e=m5e.List,y5e=m5e.Repeat,b5e=p5e("draft_tree_data_support"),w5e=b5e?c5e:u5e,x5e={processHTML:function(e,t){return h5e(e,f5e,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=g5e(i);var o=d5e(),a={key:o,type:n,text:i,characterList:v5e(y5e(t,i.length))};if(b5e&&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){l5e(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new w5e(a)),e}),[])}};var O5e=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})},k5e=$$e,_5e=WGe,S5e=O5e,C5e=vGe,D5e={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 D5e.toggleInlineStyle(e,"BOLD");case"italic":return D5e.toggleInlineStyle(e,"ITALIC");case"underline":return D5e.toggleInlineStyle(e,"UNDERLINE");case"code":return D5e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return D5e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return D5e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=k5e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=_5e.push(e,t,"insert-characters");return _5e.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 _5e.push(e,a,"remove-range")}var s=D5e.tryToRemoveBlockStyle(e);return s?_5e.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=k5e.removeRange(n,a,"forward");return s!==n?_5e.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=S5e(o,i,e.shiftKey?-1:1,n);return _5e.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=C5e(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 _5e.push(e,k5e.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?D5e.toggleBlockType(e,"code-block"):D5e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return _5e.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?k5e.removeInlineStyle(o,n,t):k5e.applyInlineStyle(o,n,t),_5e.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=k5e.applyEntity(e.getCurrentContent(),t,n);return _5e.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 k5e.setBlockType(r,t,"unstyled")}return null}},E5e=D5e,I5e=/\r\n?|\n/g;var T5e=Iqe,A5e=Bqe,P5e=a1e,M5e=$$e,N5e=x5e,R5e=WGe,L5e=E5e,j5e=GXe,F5e=c1e,B5e=h1e,z5e=function(e){return e.split(I5e)};function W5e(e,t,n){var i=M5e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return R5e.push(e,i.set("entityMap",n),"insert-fragment")}var Q5e=function(e,t){t.preventDefault();var n=new P5e(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&B5e(e.props.handlePastedFiles(i)))return;return void F5e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=z5e(t),o=A5e.create({style:n.getCurrentInlineStyle(),entity:j5e(n.getCurrentContent(),n.getSelection())}),a=L5e.getCurrentBlockType(n),s=N5e.processText(i,o,a),l=T5e.createFromArray(s),u=M5e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(R5e.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!B5e(e.props.handlePastedText(a,s,l))){if(a&&(o=z5e(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(W5e(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(W5e(e._latestEditorState,u));if(s){var c=N5e.processHTML(s,e.props.blockRenderMap);if(c){var h=c.contentBlocks,d=c.entityMap;if(h){var f=T5e.createFromArray(h);return void e.update(W5e(e._latestEditorState,f,d))}}}e.setClipboard(null)}if(o.length){var p=A5e.create({style:l.getCurrentInlineStyle(),entity:j5e(l.getCurrentContent(),l.getSelection())}),m=L5e.getCurrentBlockType(l),g=N5e.processText(o,p,m),v=T5e.createFromArray(g);e.update(W5e(e._latestEditorState,v))}}},U5e=tXe,V5e=j1e,q5e=W1e,H5e=U1e,$5e=$1e,K5e=t2e,G5e=n2e,Y5e=i2e,X5e=a2e,Z5e=j2e,J5e=u4e,e6e=Q5e,t6e=qXe,n6e=U5e.isBrowser("Chrome"),i6e=U5e.isBrowser("Firefox"),r6e=n6e||i6e?t6e:function(e){},o6e={onBeforeInput:V5e,onBlur:q5e,onCompositionStart:H5e,onCopy:$5e,onCut:K5e,onDragOver:G5e,onDragStart:Y5e,onFocus:X5e,onInput:Z5e,onKeyDown:J5e,onPaste:e6e,onSelect:t6e,onMouseUp:r6e,onKeyUp:r6e},a6e=We.unstable_flushControlled;var s6e=o,l6e=vYe,u6e=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=l6e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return s6e.createElement("div",{className:t},s6e.createElement("div",{className:l6e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(s6e.Component),c6e=u6e,h6e=U2e,d6e=xXe,f6e=tXe,p6e=f6e.isPlatform("Mac OS X"),m6e=p6e&&f6e.isBrowser("Firefox < 29"),g6e=h6e.hasCommandModifier,v6e=h6e.isCtrlKeyCommand;function y6e(e){return p6e&&e.altKey||v6e(e)}var b6e=function(e){switch(e.keyCode){case 66:return g6e(e)?"bold":null;case 68:return v6e(e)?"delete":null;case 72:return v6e(e)?"backspace":null;case 73:return g6e(e)?"italic":null;case 74:return g6e(e)?"code":null;case 75:return p6e&&v6e(e)?"secondary-cut":null;case 77:case 79:return v6e(e)?"split-block":null;case 84:return p6e&&v6e(e)?"transpose-characters":null;case 85:return g6e(e)?"underline":null;case 87:return p6e&&v6e(e)?"backspace-word":null;case 89:return v6e(e)?p6e?"secondary-paste":"redo":null;case 90:return function(e){return g6e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case d6e.RETURN:return"split-block";case d6e.DELETE:return function(e){return!p6e&&e.shiftKey?null:y6e(e)?"delete-word":"delete"}(e);case d6e.BACKSPACE:return function(e){return g6e(e)&&p6e?"backspace-to-start-of-line":y6e(e)?"backspace-word":"backspace"}(e);case d6e.LEFT:return m6e&&g6e(e)?"move-selection-to-start-of-block":null;case d6e.RIGHT:return m6e&&g6e(e)?"move-selection-to-end-of-block":null;default:return null}},w6e=kY;function x6e(){return x6e=w6e||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},x6e.apply(this,arguments)}function O6e(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){_6e(e,t,n[t])}))}return e}function k6e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S6e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var C6e=wYe,D6e=xYe,E6e=uZe,I6e=V0e,T6e=S1e,A6e=o6e,P6e=a6e,M6e=c6e,N6e=WGe,R6e=o,L6e=hJe,j6e=OJe,F6e=vYe,B6e=LHe,z6e=b6e,W6e=TJe,Q6e=kKe,U6e=CHe,V6e=kXe,q6e=vGe,H6e=tXe.isBrowser("IE"),$6e=!H6e,K6e={edit:A6e,composite:E6e,drag:T6e,cut:null,render:null},G6e=!1,Y6e=function(e){function t(){return e.apply(this,arguments)||this}S6e(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}(R6e.Component),X6e=function(e){function t(t){var n;return _6e(k6e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),_6e(k6e(n),"_clipboard",void 0),_6e(k6e(n),"_handler",void 0),_6e(k6e(n),"_dragCount",void 0),_6e(k6e(n),"_internalDrag",void 0),_6e(k6e(n),"_editorKey",void 0),_6e(k6e(n),"_placeholderAccessibilityID",void 0),_6e(k6e(n),"_latestEditorState",void 0),_6e(k6e(n),"_latestCommittedEditorState",void 0),_6e(k6e(n),"_pendingStateFromBeforeInput",void 0),_6e(k6e(n),"_onBeforeInput",void 0),_6e(k6e(n),"_onBlur",void 0),_6e(k6e(n),"_onCharacterData",void 0),_6e(k6e(n),"_onCompositionEnd",void 0),_6e(k6e(n),"_onCompositionStart",void 0),_6e(k6e(n),"_onCopy",void 0),_6e(k6e(n),"_onCut",void 0),_6e(k6e(n),"_onDragEnd",void 0),_6e(k6e(n),"_onDragOver",void 0),_6e(k6e(n),"_onDragStart",void 0),_6e(k6e(n),"_onDrop",void 0),_6e(k6e(n),"_onInput",void 0),_6e(k6e(n),"_onFocus",void 0),_6e(k6e(n),"_onKeyDown",void 0),_6e(k6e(n),"_onKeyPress",void 0),_6e(k6e(n),"_onKeyUp",void 0),_6e(k6e(n),"_onMouseDown",void 0),_6e(k6e(n),"_onMouseUp",void 0),_6e(k6e(n),"_onPaste",void 0),_6e(k6e(n),"_onSelect",void 0),_6e(k6e(n),"editor",void 0),_6e(k6e(n),"editorContainer",void 0),_6e(k6e(n),"focus",void 0),_6e(k6e(n),"blur",void 0),_6e(k6e(n),"setMode",void 0),_6e(k6e(n),"exitCurrentMode",void 0),_6e(k6e(n),"restoreEditorDOM",void 0),_6e(k6e(n),"setClipboard",void 0),_6e(k6e(n),"getClipboard",void 0),_6e(k6e(n),"getEditorKey",void 0),_6e(k6e(n),"update",void 0),_6e(k6e(n),"onDragEnter",void 0),_6e(k6e(n),"onDragLeave",void 0),_6e(k6e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),_6e(k6e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=j6e.getScrollParent(r),a=e||W6e(o),s=a.x,l=a.y;V6e(r)||("production"!==Ns.env.NODE_ENV?U6e(!1,"editorNode is not an HTMLElement"):U6e(!1)),r.focus(),o===window?window.scrollTo(s,l):L6e.setTop(o,l),i||n.update(N6e.forceSelection(t,t.getSelection()))}})),_6e(k6e(n),"blur",(function(){var e=n.editor;e&&(V6e(e)||("production"!==Ns.env.NODE_ENV?U6e(!1,"editorNode is not an HTMLElement"):U6e(!1)),e.blur())})),_6e(k6e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=O6e({},K6e.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=O6e({},K6e,{edit:a});n._handler=s[e]})),_6e(k6e(n),"exitCurrentMode",(function(){n.setMode("edit")})),_6e(k6e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),_6e(k6e(n),"setClipboard",(function(e){n._clipboard=e})),_6e(k6e(n),"getClipboard",(function(){return n._clipboard})),_6e(k6e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),_6e(k6e(n),"onDragEnter",(function(){n._dragCount++})),_6e(k6e(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||B6e(),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"!==Ns.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}S6e(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&&(P6e?P6e((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:q6e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return R6e.createElement(M6e,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,h=F6e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),d=this.props.role||"textbox",f="combobox"===d?!!this.props.ariaExpanded:null,p={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:O6e({},D6e,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return R6e.createElement("div",{className:h},this._renderPlaceholder(),R6e.createElement("div",{className:F6e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},R6e.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:f,"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:F6e({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:d,spellCheck:$6e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},R6e.createElement(Y6e,{editor:this,editorState:a}),R6e.createElement(I6e,x6e({},p,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!G6e&&Q6e("draft_ods_enabled")&&(G6e=!0),this.setMode("edit"),H6e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):He.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(R6e.Component);_6e(X6e,"defaultProps",{blockRenderMap:C6e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:z6e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Z6e=X6e,J6e=Ke(Object.freeze({__proto__:null})),e8e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},t8e=e8e,n8e=p2e.strlen;var i8e=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:n8e(o.slice(0,i)),length:n8e(o.slice(i,r)),key:Number(t[t8e.stringify(a)])})})),n},r8e=p2e,o8e=zqe,a8e=function(e,t){return e===t},s8e=function(e){return!!e},l8e=[];var u8e=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 o8e(r,a8e,s8e,(function(t,r){var o=e.getText();i.push({offset:r8e.strlen(o.slice(0,t)),length:r8e.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(l8e,n.toJS())};function c8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h8e=eHe,d8e=mHe,f8e=e8e,p8e=i8e,m8e=u8e,g8e=CHe,v8e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:m8e(e),entityRanges:p8e(e,t),data:e.getData().toObject()}},y8e=function(e,t,n,i){if(e instanceof h8e)n.push(v8e(e,t));else{e instanceof d8e||("production"!==Ns.env.NODE_ENV?g8e(!1,"block is not a BlockNode"):g8e(!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){c8e(e,t,n[t])}))}return e}({},v8e(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},b8e=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=f8e.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),y8e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(f8e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function w8e(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){x8e(e,t,n[t])}))}return e}function x8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O8e=LHe,k8e=CHe,_8e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},S8e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ns.env.NODE_ENV?k8e(!1,"Invalid raw state"):k8e(!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"!==Ns.env.NODE_ENV?k8e(!1,"Invalid tree raw block"):k8e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=w8e({},e);_8e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?w8e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,w8e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=_8e(e),r=e.depth||0,o=w8e({},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:O8e(),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)})),w8e({},e,{blocks:t})}},C8e=S8e,D8e=y2e,E8e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Ns.env.NODE_ENV&&D8e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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)}},I8e=E8e,T8e=Bqe,A8e=Cqe.exports.List;var P8e=function(e,t){var n=e.map((function(e,n){var i=t[n];return T8e.create({style:e,entity:i})}));return A8e(n)},M8e=p2e.substr;var N8e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=M8e(e,0,t.offset).length,r=i+M8e(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},R8e=p2e,L8e=Cqe.exports.OrderedSet,j8e=R8e.substr,F8e=L8e();var B8e=function(e,t){var n=Array(e.length).fill(F8e);return t&&t.forEach((function(t){for(var i=j8e(e,0,t.offset).length,r=i+j8e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function z8e(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){W8e(e,t,n[t])}))}return e}function W8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q8e=eHe,U8e=mHe,V8e=$Ke,q8e=wKe,H8e=C8e,$8e=I8e,K8e=OKe,G8e=P8e,Y8e=N8e,X8e=B8e,Z8e=LHe,J8e=Cqe.exports,e9e=CHe,t9e=kKe("draft_tree_data_support"),n9e=J8e.List,i9e=J8e.Map,r9e=J8e.OrderedMap,o9e=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||Z8e(),data:i9e(r),characterList:a9e(e,t)}},a9e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return G8e(X8e(n,r||[]),Y8e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return z8e({},e,{key:t[e.key]})}))))},s9e=function(e){return z8e({},e,{key:e.key||Z8e()})},l9e=function(e,t,n){var i=t.map((function(e){return z8e({},e,{parentRef:n})}));return e.concat(i.reverse())},u9e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=t9e&&!n?H8e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!t9e)return function(e,t){return r9e(e.map((function(e){var n=new Q8e(o9e(e,t));return[n.getKey(),n]})))}(n?H8e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(s9e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==Ns.env.NODE_ENV?e9e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e9e(!1));var o=i.children.map(s9e),a=new U8e(z8e({},o9e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:n9e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=l9e([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),h=c.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||("production"!==Ns.env.NODE_ENV?e9e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e9e(!1));break}var f=l.children.map(s9e),p=new U8e(z8e({},o9e(l,t),{parent:u.getKey(),children:n9e(f.map((function(e){return e.key}))),prevSibling:0===h?null:c.get(h-1),nextSibling:h===c.size-1?null:c.get(h+1)}));n=n.set(p.getKey(),p),s=l9e(s,f,p)}return n}),r9e())}(i,t);return"production"!==Ns.env.NODE_ENV&&($8e.isValidTree(r)||("production"!==Ns.env.NODE_ENV?e9e(!1,"Should be a valid tree"):e9e(!1))),r},c9e=function(e){Array.isArray(e.blocks)||("production"!==Ns.env.NODE_ENV?e9e(!1,"invalid RawDraftContentState"):e9e(!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]=q8e.__create(r,o,a||{})})),n}(e),n=u9e(e,t),i=n.isEmpty()?new K8e:K8e.createEmpty(n.first().getKey());return new V8e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},h9e=Z2e;var d9e=function(e){var t=h9e(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}},f9e=d9e;var p9e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=f9e(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},m9e={Editor:Z6e,EditorBlock:I0e,EditorState:WGe,CompositeDecorator:mYe,Entity:wKe,EntityInstance:cKe,BlockMapBuilder:Iqe,CharacterMetadata:Bqe,ContentBlock:eHe,ContentState:$Ke,RawDraftContentState:J6e,SelectionState:OKe,AtomicBlockUtils:dYe,KeyBindingUtil:U2e,Modifier:$$e,RichUtils:E5e,DefaultDraftBlockRenderMap:wYe,DefaultDraftInlineStyle:xYe,convertFromHTML:s5e,convertFromRaw:c9e,convertToRaw:b8e,genKey:LHe,getDefaultKeyBinding:b6e,getVisibleSelectionRect:p9e};function g9e(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 v9e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},y9e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};function b9e(e){return b9e="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},b9e(e)}var w9e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function x9e(e){if(-1!==w9e.indexOf(e.type))return Ve.renderToStaticMarkup(e);var t=Ve.renderToStaticMarkup(o.cloneElement(e,{},"\r")).split("\r");return qbe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),qbe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function O9e(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}function k9e(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(o.isValidElement(e)){if(O9e(e))return Ve.renderToStaticMarkup(e);var n=x9e(e);if(null!==t&&"object"===b9e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(qbe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var a=e.start,s=e.end;return a+t+s}return e}var _9e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.isValidElement(t)){var i=x9e(t);if("string"==typeof i)return 0;var r=i[n].length,a=o.Children.toArray(t.props.children)[0];return r+(a&&o.isValidElement(a)?e(a,n):0)}return"object"===b9e(t)&&t[n]?t[n].length:0},S9e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},C9e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S9e,i=kUe(e.text),r=n;if(n.__isMiddleware&&(r=n(S9e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(v9e),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=kUe(k9e(u,l)||l),h=_9e(u,"start"),d=_9e(u,"end"),f=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?g9e(t,n.offset,n.length,c.length,h,d):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),i=[].concat(kUe(i.slice(0,n.offset)),kUe(c),kUe(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},D9e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},E9e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function I9e(e){switch(e){case"BOLD":return o.createElement("strong",null);case"ITALIC":return o.createElement("em",null);case"UNDERLINE":return o.createElement("u",null);case"CODE":return o.createElement("code",null);default:return{start:"",end:""}}}var T9e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},A9e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return qbe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},P9e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},M9e=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},N9e=function(e,t){return t.offset+t.length-(e.offset+e.length)},R9e=function(e,t){for(var n=0;n<e.length;){if(!t.every(M9e.bind(null,e[n])))return e.slice(n);n++}return[]},L9e=function(e,t,n){return t+k9e(e(n.style)).start},j9e=function(e,t,n){return k9e(e(n.style)).end+t},F9e=function(e){return function(t){return e(t)}};F9e.__isMiddleware=!0;var B9e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function z9e(e){return qbe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:o.isValidElement(e)?(t=e,o.isValidElement(t)&&o.Children.count(t.props.children)>0?Ve.renderToStaticMarkup(e):x9e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&o.isValidElement(e.element)?Object.assign({},e,x9e(e.element)):(qbe(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);var t}function W9e(e,t){if(qbe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=x9e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(o.isValidElement(e.nest)){var a=x9e(e.nest),s=a.start,l=a.end;return Object.assign({},e,{nestStart:s,nestEnd:l})}return qbe(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 Q9e=["1","a","i"],U9e={unstyled:o.createElement("p",null),paragraph:o.createElement("p",null),"header-one":o.createElement("h1",null),"header-two":o.createElement("h2",null),"header-three":o.createElement("h3",null),"header-four":o.createElement("h4",null),"header-five":o.createElement("h5",null),"header-six":o.createElement("h6",null),blockquote:o.createElement("blockquote",null),"unordered-list-item":{element:o.createElement("li",null),nest:o.createElement("ul",null)},"ordered-list-item":{element:o.createElement("li",null),nest:function(e){var t=Q9e[e%3];return o.createElement("ol",{type:t})}},media:o.createElement("figure",null),atomic:o.createElement("figure",null)},V9e=function(e,t){return t},q9e=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,a=e.entityToHTML,s=void 0===a?V9e:a;return function(e){var t;qbe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(B9e(U9e)):E9e(B9e(r),B9e(U9e));var i=m9e.convertToRaw(e),a=[],l=i.blocks.map((function(e){var r=e.type,l=e.depth,u="",c="",h=t(e);if(!h)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(h.nest)for(;l+1!==a.length||r!==a[l].type;)if(l+1===a.length){var d=a[l];u+=W9e(t(d),l).nestEnd,c+=W9e(t(e),l).nestStart,a[l]=e}else if(l+1<a.length){var f=a[a.length-1];u+=W9e(t(f),l).nestEnd,a=a.slice(0,-1)}else c+=W9e(t(e),l).nestStart,a.push(e);else u=a.reduceRight((function(e,n){return e+W9e(t(n),l).nestEnd}),""),a=[];var p,m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F9e;qbe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(I9e):E9e(D9e(n),D9e(I9e));for(var i="",r=[],o=e.inlineStyleRanges.sort(v9e),a=kUe(e.text),s=0;s<a.length;s++){var l=P9e(s,o),u=T9e(r,l),c=T9e(l,r),h=T9e(r,u),d=R9e(h,c),f=d.concat(c).sort(N9e),p=f.reduce(L9e.bind(null,t),"");i+=u.concat(d).reduce(j9e.bind(null,t),"")+p+a[s],r=(r=A9e(r,d.concat(u))).concat(f),qbe(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+k9e(t(n.style)).end}),i)}(C9e(function(e){for(var t=kUe(e.text),n=e.entityRanges.sort(v9e),i=e.inlineStyleRanges.sort(v9e),r="",o=function(e){var o=t[e];if(void 0!==y9e[o]){var a=y9e[o],s=kUe(r).length;r+=a;var l=function(e){return g9e(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,s),n),g=z9e(t(e));return p="string"==typeof g?g:g.start+m+g.end,0===m.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(p=o.isValidElement(g.empty)?Ve.renderToStaticMarkup(g.empty):g.empty),u+c+p})).join("");return l=a.reduce((function(e,n){return e+W9e(t(n),n.depth).nestEnd}),l)}},H9e={exports:{}};H9e.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:$(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:G(e)}function o(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[h])}function s(e){return!(!e||!e[d])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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 h="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function O(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function _(){}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 C(e){return void 0===e.size&&(e.size=e.__iterate(E)),e.size}function D(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function E(){return!0}function I(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function A(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var M=0,N=1,R=2,L="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",F=L||j;function B(e){this.next=e}function z(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 W(){return{value:void 0,done:!0}}function Q(e){return!!q(e)}function U(e){return e&&"function"==typeof e.next}function V(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(L&&e[L]||e[j]);if("function"==typeof t)return t}function H(e){return e&&"number"==typeof e.length}function $(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function K(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=M,B.VALUES=N,B.ENTRIES=R,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},t($,n),$.of=function(){return $(arguments)},$.prototype.toSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq {","}")},$.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},$.prototype.__iterate=function(e,t){return he(this,e,t,!0)},$.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(K,$),K.prototype.toKeyedSeq=function(){return this},t(G,$),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return he(this,e,t,!1)},G.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(Y,$),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},$.isSeq=oe,$.Keyed=K,$.Set=Y,$.Indexed=G;var X,Z,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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():Q(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 H(e)?new te(e):U(e)?new re(e):Q(e)?new ie(e):void 0}function he(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 de(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new B((function(){var e=r[n?o-a:a];return a++>o?W():z(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):me(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,G(t).map((function(n,i){return pe(e,n,i,t)}))):ge(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?K(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 h=!0,d=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return h=!1,!1}));return h&&e.size===d}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(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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 Oe(){throw TypeError("Abstract")}function ke(){}function _e(){}function Se(){}$.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[D(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 B((function(){return r>i?W():z(e,r,n[t?i-r++:r++])}))},t(ne,K),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 B((function(){var a=i[t?r-o:o];return o++>r?W():z(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,G),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=V(this._iterable),i=0;if(U(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=V(this._iterable);if(!U(n))return new B(W);var i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value)}))},t(re,G),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 B((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return z(e,r,i[r++])}))},t(be,G),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 I(e,t,n)?this:new be(this._value,A(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 B((function(){return i<n.size?z(e,i++,n._value):W()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+D(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return I(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.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},xe.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 B((function(){var a=r;return r+=t?-i:i,o>n?W():z(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(Oe,n),t(ke,Oe),t(_e,Oe),t(Se,Oe),Oe.Keyed=ke,Oe.Indexed=_e,Oe.Set=Se;var Ce="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 De(e){return e>>>1&1073741824|3221225471&e}function Ee(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 De(n)}if("string"===t)return e.length>Be?Ie(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ie(e){var t=Qe[e];return void 0===t&&(t=Te(e),We===ze&&(We=0,Qe={}),We++,Qe[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return De(t)}function Ae(e){var t;if(Le&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Me){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Ne(e)))return t}if(t=++je,1073741824&je&&(je=0),Le)Re.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Me)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Pe=Object.isExtensible,Me=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ne(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,Le="function"==typeof WeakMap;Le&&(Re=new WeakMap);var je=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var Be=16,ze=255,We=0,Qe={};function Ue(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ve(e){return null==e?rt():qe(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qe(e){return!(!e||!e[$e])}t(Ve,ke),Ve.prototype.toString=function(){return this.__toString("Map {","}")},Ve.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ve.prototype.set=function(e,t){return ot(this,e,t)},Ve.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ve.prototype.remove=function(e){return ot(this,e,b)},Ve.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ve.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ve.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,On(e),t,n);return i===b?void 0:i},Ve.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()},Ve.prototype.merge=function(){return dt(this,void 0,arguments)},Ve.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ve.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]}))},Ve.prototype.mergeDeep=function(){return dt(this,ft,arguments)},Ve.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,pt(t),n)},Ve.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]}))},Ve.prototype.sort=function(e){return Qt(hn(this,e))},Ve.prototype.sortBy=function(e,t){return Qt(hn(this,t,e))},Ve.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ve.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},Ve.prototype.asImmutable=function(){return this.__ensureOwner()},Ve.prototype.wasAltered=function(){return this.__altered},Ve.prototype.__iterator=function(e,t){return new et(this,e,t)},Ve.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},Ve.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)},Ve.isMap=qe;var He,$e="@@__IMMUTABLE_MAP__@@",Ke=Ve.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(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 z(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(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return He||(He=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=O(w),a=O(x);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 Ge(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:(k(s),k(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ze(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 Ye(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 _);for(var r=new Je(e,Ee(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 Ye(e,r,a)}function ht(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 Xe(e,o+1,a)}function dt(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 fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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}we(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 wt(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}Ke[$e]=!0,Ke[m]=Ke.remove,Ke.removeIn=Ke.deleteIn,Ge.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},Ge.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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),!s||1!==l.length){if(!h&&!s&&l.length>=xt)return ut(e,l,i,r);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ge(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(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)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(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 h=vt(u&l-1),d=this.nodes,f=c?d[h]:void 0,p=at(f,e,t+g,n,i,r,o,a);if(p===f)return this;if(!c&&p&&d.length>=Ot)return ht(e,d,u,s,p);if(c&&!p&&2===d.length&&st(d[1^h]))return d[1^h];if(c&&p&&1===d.length&&st(p))return p;var m=e&&e===this.ownerID,v=c?p?u:u^l:u|l,w=c?p?yt(d,h,p,m):wt(d,h,m):bt(d,h,p,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var h=at(c,e,t+g,n,i,r,o,a);if(h===c)return this;var d=this.count;if(c){if(!h&&--d<kt)return ct(e,u,d,s)}else d++;var f=e&&e===this.ownerID,p=yt(u,s,h,f);return f?(this.count=d,this.nodes=p,this):new Xe(e,d,p)},Ze.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},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(a),k(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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ze(e,this.keyHash,f)},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:(k(a),s?void k(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(o),lt(this,e,t,Ee(i),[i,r])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,B),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 W()};var xt=v/4,Ot=v/2,kt=v/4;function _t(e){var t=Nt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?Mt(0,i,g,null,new Et(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[Ct])}t(_t,_e),_t.of=function(){return this(arguments)},_t.prototype.toString=function(){return this.__toString("List [","]")},_t.prototype.get=function(e,t){if((e=D(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},_t.prototype.set=function(e,t){return Rt(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=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Nt()},_t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Bt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},_t.prototype.pop=function(){return Bt(this,0,-1)},_t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Bt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},_t.prototype.shift=function(){return Bt(this,1)},_t.prototype.merge=function(){return zt(this,void 0,arguments)},_t.prototype.mergeWith=function(t){return zt(this,t,e.call(arguments,1))},_t.prototype.mergeDeep=function(){return zt(this,ft,arguments)},_t.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return zt(this,pt(t),n)},_t.prototype.setSize=function(e){return Bt(this,0,e)},_t.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:Bt(this,T(e,n),A(t,n))},_t.prototype.__iterator=function(e,t){var n=0,i=Pt(this,t);return new B((function(){var t=i();return t===At?W():z(e,n++,t)}))},_t.prototype.__iterate=function(e,t){for(var n,i=0,r=Pt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},_t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},_t.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Dt=_t.prototype;function Et(e,t){this.array=e,this.ownerID=t}Dt[Ct]=!0,Dt[m]=Dt.remove,Dt.setIn=Ke.setIn,Dt.deleteIn=Dt.removeIn=Ke.removeIn,Dt.update=Ke.update,Dt.updateIn=Ke.updateIn,Dt.mergeIn=Ke.mergeIn,Dt.mergeDeepIn=Ke.mergeDeepIn,Dt.withMutations=Ke.withMutations,Dt.asMutable=Ke.asMutable,Dt.asImmutable=Ke.asImmutable,Dt.wasAltered=Ke.wasAltered,Et.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 Et([],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=jt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Et.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=jt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var It,Tt,At={};function Pt(e,t){var n=e._origin,i=e._capacity,r=Wt(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 At;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!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function Mt(e,t,n,i,r,o,a){var s=Object.create(Dt);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 Nt(){return It||(It=Mt(0,0,g))}function Rt(e,t,n){if((t=D(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Bt(e,t).set(0,n):Bt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=O(x);return t>=Wt(e._capacity)?i=Lt(i,e.__ownerID,0,t,n,o):r=Lt(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):Mt(e._origin,e._capacity,e._level,r,i):e}function Lt(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=Lt(u,t,n-g,i,r,o);return c===u?e:((a=jt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(k(o),a=jt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function jt(e,t){return t&&e&&t===e.ownerID?e:new Et(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Wt(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 Bt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new _,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 Et(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var h=Wt(o),d=Wt(s);d>=1<<l+g;)u=new Et(u&&u.array.length?[u]:[],i),l+=g;var f=e._tail,p=d<h?Ft(e,s-1):d>h?new Et([],i):f;if(f&&d>h&&a<o&&f.array.length){for(var m=u=jt(u,i),v=l;v>g;v-=g){var b=h>>>v&y;m=m.array[b]=jt(m.array[b],i)}m.array[h>>>g&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=d)a-=d,s-=d,l=g,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||d<h){for(c=0;u;){var w=a>>>l&y;if(w!==d>>>l&y)break;w&&(c+=(1<<l)*w),l-=g,u=u.array[w]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&d<h&&(u=u.removeAfter(i,l,d-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=p,e.__hash=void 0,e.__altered=!0,e):Mt(a,s,l,u,p)}function zt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Wt(e){return e<v?0:e-1>>>g<<g}function Qt(e){return null==e?qt():Ut(e)?e:qt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return qe(e)&&c(e)}function Vt(e,t,n,i){var r=Object.create(Qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function qt(){return Tt||(Tt=Vt(rt(),Nt()))}function Ht(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Vt(i,r)}function $t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(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=wn,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===R){var i=e.__iterator(t,n);return new B((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===N?M:N,n)},t}function Zt(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,r);return new B((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return z(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=Xt(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=wn,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(R,o),s=0;return new B((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 z(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=Ve().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)?Qt():Ve()).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),I(t,n,r))return e;var o=T(t,r),a=A(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=D(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 B((function(){for(;a++<o;)r.next();if(++l>s)return W();var e=r.next();return i||t===N?e:z(t,l-1,t===M?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,r),s=!0;return new B((function(){if(!s)return W();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===R?e:z(i,l,u,e):(s=!1,W())}))},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(R,o),l=!0,u=0;return new B((function(){var e,o,c;do{if((e=s.next()).done)return i||r===N?e:z(r,u++,r===M?void 0:e.value[1],e);var h=e.value;o=h[0],c=h[1],l&&(l=t.call(n,c,o,a))}while(l);return r===R?e:z(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 B((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===R&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:z(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return W()}))},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(N,i),a=0;return new B((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?z(n,a++,t):z(n,a++,r.value,r)}))},n}function hn(e,t,n){t||(t=xn);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?K(o):l(e)?G(o):Y(o)}function dn(e,t,n){if(t||(t=xn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(N,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),V(r?e.reverse():e)})),a=0,s=!1;return new B((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?W():z(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 Ue(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?K:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function On(e){var t=V(e);if(!t){if(!H(e))throw new TypeError("Expected iterable or array-like: "+e);t=V(n(e))}return t}function kn(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);Dn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=Ve(o)},r=i.prototype=Object.create(_n);return r.constructor=i,i}t(Qt,Ve),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):qt()},Qt.prototype.set=function(e,t){return Ht(this,e,t)},Qt.prototype.remove=function(e){return Ht(this,e,b)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Vt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Qt.isOrderedMap=Ut,Qt.prototype[p]=!0,Qt.prototype[m]=Qt.prototype.remove,t($t,K),$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=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},$t.prototype.map=function(e,t){var n=this,i=Zt(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,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)},$t.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(N,t),i=t?vn(this):0;return new B((function(){var r=n.next();return r.done?r:z(e,t?--i:i++,r.value,r)}))},$t.prototype[p]=!0,t(Kt,G),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t),i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,K),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.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)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return z(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=$t.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var _n=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Dn(e,t){try{t.forEach(En.bind(void 0,e))}catch(e){}}function En(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function In(e){return null==e?Ln():Tn(e)&&!c(e)?e:Ln().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Pn])}_n[m]=_n.remove,_n.deleteIn=_n.removeIn=Ke.removeIn,_n.merge=Ke.merge,_n.mergeWith=Ke.mergeWith,_n.mergeIn=Ke.mergeIn,_n.mergeDeep=Ke.mergeDeep,_n.mergeDeepWith=Ke.mergeDeepWith,_n.mergeDeepIn=Ke.mergeDeepIn,_n.setIn=Ke.setIn,_n.update=Ke.update,_n.updateIn=Ke.updateIn,_n.withMutations=Ke.withMutations,_n.asMutable=Ke.asMutable,_n.asImmutable=Ke.asImmutable,t(In,Se),In.of=function(){return this(arguments)},In.fromKeys=function(e){return this(i(e).keySeq())},In.prototype.toString=function(){return this.__toString("Set {","}")},In.prototype.has=function(e){return this._map.has(e)},In.prototype.add=function(e){return Nn(this,this._map.set(e,!0))},In.prototype.remove=function(e){return Nn(this,this._map.remove(e))},In.prototype.clear=function(){return Nn(this,this._map.clear())},In.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])},In.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)}))}))},In.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)}))}))},In.prototype.merge=function(){return this.union.apply(this,arguments)},In.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},In.prototype.sort=function(e){return jn(hn(this,e))},In.prototype.sortBy=function(e,t){return jn(hn(this,t,e))},In.prototype.wasAltered=function(){return this._map.wasAltered()},In.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},In.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},In.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)},In.isSet=Tn;var An,Pn="@@__IMMUTABLE_SET__@@",Mn=In.prototype;function Nn(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 Rn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return An||(An=Rn(rt()))}function jn(e){return null==e?Qn():Fn(e)?e:Qn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Tn(e)&&c(e)}Mn[Pn]=!0,Mn[m]=Mn.remove,Mn.mergeDeep=Mn.merge,Mn.mergeDeepWith=Mn.mergeWith,Mn.withMutations=Ke.withMutations,Mn.asMutable=Ke.asMutable,Mn.asImmutable=Ke.asImmutable,Mn.__empty=Ln,Mn.__make=Rn,t(jn,In),jn.of=function(){return this(arguments)},jn.fromKeys=function(e){return this(i(e).keySeq())},jn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},jn.isOrderedSet=Fn;var Bn,zn=jn.prototype;function Wn(e,t){var n=Object.create(zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Qn(){return Bn||(Bn=Wn(qt()))}function Un(e){return null==e?Gn():Vn(e)?e:Gn().unshiftAll(e)}function Vn(e){return!(!e||!e[Hn])}zn[p]=!0,zn.__empty=Qn,zn.__make=Wn,t(Un,_e),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=D(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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):Gn()},Un.prototype.slice=function(e,t){if(I(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return _e.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):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.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},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new B((function(){if(i){var t=i.value;return i=i.next,z(e,n++,t)}return W()}))},Un.isStack=Vn;var qn,Hn="@@__IMMUTABLE_STACK__@@",$n=Un.prototype;function Kn(e,t,n,i){var r=Object.create($n);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Gn(){return qn||(qn=Kn(0))}function Yn(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}$n[Hn]=!0,$n.withMutations=Ke.withMutations,$n.asMutable=Ke.asMutable,$n.asImmutable=Ke.asImmutable,$n.wasAltered=Ke.wasAltered,n.Iterator=B,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 $t(this,!0)},toMap:function(){return Ve(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return jn(s(this)?this.valueSeq():this)},toSet:function(){return In(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return _t(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(R)},every:function(e,t){Ue(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 Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(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(M)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(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,hn(this,e))},values:function(){return this.__iterator(N)},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 C(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(E)},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 Yt(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=On(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 dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?ni(e):oi)},minBy:function(e,t){return dn(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,hn(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 Xn=n.prototype;Xn[h]=!0,Xn[F]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=ii,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"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){}}(),Yn(i,{flip:function(){return mn(this,Xt(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 Zn=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(Ee(e),Ee(t))|0}:function(e,t){i=i+li(Ee(e),Ee(t))|0}:t?function(e){i=31*i+Ee(e)|0}:function(e){i=i+Ee(e)|0});return si(r,i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=De((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[d]=!0,Zn[F]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new $t(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=D(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=D(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=pn(this.toSeq(),G.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,pn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,Yn(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=Xn.includes,Yn(K,i.prototype),Yn(G,r.prototype),Yn(Y,o.prototype),Yn(ke,i.prototype),Yn(_e,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:$,Collection:Oe,Map:Ve,OrderedMap:Qt,List:_t,Stack:Un,Set:In,OrderedSet:jn,Record:kn,Range:xe,Repeat:be,is:ve,fromJS:fe}}();var $9e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function K9e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=$9e(e)):t=$9e(e);return t.body}var G9e=new RegExp("\r","g"),Y9e=new RegExp("\n","g"),X9e=new RegExp("&nbsp;","g"),Z9e=new RegExp("\r","g"),J9e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],e7e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},t7e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},n7e=function(e,t,n){},i7e=function(e,t,n){return n},r7e=function(e,t){},o7e=function(e){return[]},a7e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function s7e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H9e.exports.Map();return!0===n?{text:"\r",inlines:[H9e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[H9e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function l7e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H9e.exports.Map();return{text:"\r",inlines:[H9e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function u7e(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 c7e(e,t,n){return u7e(e,n)}function h7e(e,t,n){var i=e7e[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 d7e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H9e.exports.OrderedSet();return h7e(e,t,n)}function f7e(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||"\n"===t.text)return e;" "!==i&&"\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 p7e(e,t,n,i,r,o,a,s,l,u,c,h,d,f,p,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:" ",inlines:[H9e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Y9e," "));var w=Array(b.length).fill(m),x=0;return l(b,c,h,d,f).sort(v9e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+x;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),w.splice.bind(w,o,i).apply(w,Array(r.length).fill(t)),x+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var O=i;return null===O?s7e("unstyled",o,!0):s7e(O||"unstyled",o,p.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=h7e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var _,S,C=u(g,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(_=C,S=H9e.exports.Map()):(_="string"==typeof C?C:C.type,S=C.data?H9e.exports.Map(C.data):H9e.exports.Map()),i||-1===r.indexOf(g)&&!_)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===_&&(i=_,v=!0,k=s7e(_,o,!0,S));else{var D=u7e(g,n);k=l7e(D,o),i=D,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else k=l7e(_||u7e(g,n),o,S),i=_||u7e(g,n),v=!0;var E=e.firstChild;null!=E||!m||"atomic"!==_&&"atomic"!==i||(E=document.createTextNode("a")),null!=E&&(g=E.nodeName.toLowerCase());for(var I=null;E;){I=s(g,E,c,h,d,f),k=f7e(k,p7e(E,t,n,i,r,o,a,s,l,u,c,h,d,f,p,I||m),p.flat);var T=E.nextSibling;if(T&&r.indexOf(g)>=0&&i){var A=u(g,E,n,i),P=void 0,M=void 0;!1!==A&&("string"==typeof(A=A||{})?(P=A,M=H9e.exports.Map()):(P=A.type||u7e(g,n),M=A.data?H9e.exports.Map(A.data):H9e.exports.Map()),k=f7e(k,s7e(P,o,p.flat,M),p.flat))}T&&(g=T.nodeName.toLowerCase()),E=T}return v&&(k=f7e(k,l7e(y,o,H9e.exports.Map()),p.flat)),k}function m7e(e,t,n,i,r,o,a,s,l,u,c){var h=c(e=e.trim().replace(G9e,"").replace(X9e," "));if(!h)return null;var d=function(e){return J9e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?J9e.concat(["div"]):["div"],f=p7e(h,H9e.exports.OrderedSet(),"ul",null,d,-1,t,n,i,r,o,a,s,l,u);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:H9e.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:H9e.exports.Map(),depth:0}),f}function g7e(e,t,n,i,r,o,a,s,l,u,c,h){var d=m7e(e,t,n,i,r,o,a,s,l,u,c);if(null==d)return[];var f=0;return d.text.split("\r").map((function(e,t){e=e.replace(Z9e,"");var n=f+e.length,i=a7e(d).inlines.slice(f,n),r=a7e(d).entities.slice(f,n),o=H9e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),m9e.CharacterMetadata.create(n)})));return f=n+1,new m9e.ContentBlock({key:h(),type:a7e(d).blocks[t].type,data:a7e(d).blocks[t].data,depth:a7e(d).blocks[t].depth,text:e,characterList:o})}))}var v7e=function(e){var t=e.htmlToStyle,n=void 0===t?i7e:t,i=e.htmlToEntity,r=void 0===i?r7e:i,o=e.textToEntity,a=void 0===o?o7e:o,s=e.htmlToBlock,l=void 0===s?n7e: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]:K9e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m9e.genKey,s=m9e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():m9e.Entity.create.apply(m9e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):m9e.Entity.get.apply(m9e.Entity,arguments)},h=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):m9e.Entity.mergeData.apply(m9e.Entity,arguments)},d=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):m9e.Entity.replaceData.apply(m9e.Entity,arguments)},f=g7e(e,t7e(n,d7e),t7e(r,r7e),t7e(a,o7e),t7e(l,c7e),u,c,h,d,t,i,o),p=m9e.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:p,selectionBefore:m9e.SelectionState.createEmpty(m),selectionAfter:m9e.SelectionState.createEmpty(m)})}},y7e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?v7e({}).apply(void 0,arguments):v7e.apply(void 0,arguments)};BX('/**\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 b7e={};function w7e(e){e&&(e.value=!0)}function x7e(){}function O7e(e){return void 0===e.size&&(e.size=e.__iterate(_7e)),e.size}function k7e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?O7e(e)+t:t}function _7e(){return!0}function S7e(e,t,n){return(0===e&&!I7e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function C7e(e,t){return E7e(e,t,0)}function D7e(e,t){return E7e(e,t,t)}function E7e(e,t,n){return void 0===e?n:I7e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function I7e(e){return e<0||0===e&&1/e==-1/0}function T7e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function A7e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function P7e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function M7e(e){return A7e(e)||P7e(e)}var N7e=function(e){return T7e(e)?e:eet(e)},R7e=function(e){function t(e){return A7e(e)?e:tet(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(N7e),L7e=function(e){function t(e){return P7e(e)?e:net(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(N7e),j7e=function(e){function t(e){return T7e(e)&&!M7e(e)?e:iet(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(N7e);N7e.Keyed=R7e,N7e.Indexed=L7e,N7e.Set=j7e;function F7e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function B7e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function z7e(e){return T7e(e)||B7e(e)}var W7e="@@__IMMUTABLE_ORDERED__@@";function Q7e(e){return Boolean(e&&e[W7e])}var U7e="function"==typeof Symbol&&Symbol.iterator,V7e=U7e||"@@iterator",q7e=function(e){this.next=e};function H7e(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 $7e(){return{value:void 0,done:!0}}function K7e(e){return!!X7e(e)}function G7e(e){return e&&"function"==typeof e.next}function Y7e(e){var t=X7e(e);return t&&t.call(e)}function X7e(e){var t=e&&(U7e&&e[U7e]||e["@@iterator"]);if("function"==typeof t)return t}q7e.prototype.toString=function(){return"[Iterator]"},q7e.KEYS=0,q7e.VALUES=1,q7e.ENTRIES=2,q7e.prototype.inspect=q7e.prototype.toSource=function(){return this.toString()},q7e.prototype[V7e]=function(){return this};var Z7e=Object.prototype.hasOwnProperty;function J7e(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 eet=function(e){function t(e){return null==e?uet():z7e(e)?e.toSeq():function(e){var t=det(e);if(t)return t;if("object"==typeof e)return new oet(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 q7e((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return H7e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(N7e),tet=function(e){function t(e){return null==e?uet().toKeyedSeq():T7e(e)?A7e(e)?e.toSeq():e.fromEntrySeq():B7e(e)?e.toSeq():cet(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(eet),net=function(e){function t(e){return null==e?uet():T7e(e)?A7e(e)?e.entrySeq():e.toIndexedSeq():B7e(e)?e.toSeq().entrySeq():het(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}(eet),iet=function(e){function t(e){return(T7e(e)&&!M7e(e)?e:net(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}(eet);eet.isSeq=F7e,eet.Keyed=tet,eet.Set=iet,eet.Indexed=net,eet.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var ret=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[k7e(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 q7e((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return H7e(e,o,n[o])}))},t}(net),oet=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 Z7e.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 q7e((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return H7e(e,a,n[a])}))},t}(tet);oet.prototype[W7e]=!0;var aet,set=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=Y7e(this._collection),i=0;if(G7e(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=Y7e(this._collection);if(!G7e(n))return new q7e($7e);var i=0;return new q7e((function(){var t=n.next();return t.done?t:H7e(e,i++,t.value)}))},t}(net);function uet(){return aet||(aet=new ret([]))}function cet(e){var t=Array.isArray(e)?new ret(e):K7e(e)?new set(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new oet(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function het(e){var t=det(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function det(e){return J7e(e)?new ret(e):K7e(e)?new set(e):void 0}function fet(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function pet(e){return fet(e)&&Q7e(e)}function met(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function get(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!!(met(e)&&met(t)&&e.equals(t))}var vet="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 yet(e){return e>>>1&1073741824|3221225471&e}var bet=Object.prototype.valueOf;function wet(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 yet(t)}(e);case"string":return e.length>Iet?function(e){var t=Pet[e];void 0===t&&(t=xet(e),Aet===Tet&&(Aet=0,Pet={}),Aet++,Pet[e]=t);return t}(e):xet(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?yet(e.hashCode(e)):(e.valueOf!==bet&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Cet&&void 0!==(t=_et.get(e)))return t;if(void 0!==(t=e[Eet]))return t;if(!ket){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Eet]))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=++Det,1073741824&Det&&(Det=0);if(Cet)_et.set(e,t);else{if(void 0!==Oet&&!1===Oet(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ket)Object.defineProperty(e,Eet,{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[Eet]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Eet]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return xet(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function xet(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return yet(t)}var Oet=Object.isExtensible,ket=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var _et,Cet="function"==typeof WeakMap;Cet&&(_et=new WeakMap);var Det=0,Eet="__immutablehash__";"function"==typeof Symbol&&(Eet=Symbol(Eet));var Iet=16,Tet=255,Aet=0,Pet={},Met=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=Bet(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Fet(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}(tet);Met.prototype[W7e]=!0;var Net=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&&O7e(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&&O7e(this),new q7e((function(){var o=i.next();return o.done?o:H7e(e,t?n.size-++r:r++,o.value,o)}))},t}(net),Ret=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 q7e((function(){var t=n.next();return t.done?t:H7e(e,t.value,t.value,t)}))},t}(iet),Let=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){Yet(t);var i=T7e(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 q7e((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){Yet(i);var r=T7e(i);return H7e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(tet);function jet(e){var t=Zet(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=Jet,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 q7e((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 Fet(e,t,n){var i=Zet(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b7e);return o===b7e?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 q7e((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return H7e(i,s,t.call(n,a[1],s,e),r)}))},i}function Bet(e,t){var n=this,i=Zet(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=jet(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=Jet,i.__iterate=function(n,i){var r=this,o=0;return i&&O7e(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&&O7e(e);var a=e.__iterator(2,!r);return new q7e((function(){var e=a.next();if(e.done)return e;var s=e.value;return H7e(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function zet(e,t,n,i){var r=Zet(e);return i&&(r.has=function(i){var r=e.get(i,b7e);return r!==b7e&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b7e);return o!==b7e&&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 q7e((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 H7e(r,i?u:s++,c,o)}}))},r}function Wet(e,t,n,i){var r=e.size;if(S7e(t,n,r))return e;var o=C7e(t,r),a=D7e(n,r);if(o!=o||a!=a)return Wet(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=Zet(e);return u.size=0===s?s:e.size&&s||void 0,!i&&F7e(e)&&s>=0&&(u.get=function(t,n){return(t=k7e(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 q7e($7e);var r=e.__iterator(t,n),a=0,l=0;return new q7e((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:H7e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Qet(e,t,n,i){var r=Zet(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 q7e((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:H7e(r,u++,0===r?void 0:e.value[1],e);var h=e.value;o=h[0],c=h[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:H7e(r,o,c,e)}))},r}function Uet(e,t){var n=A7e(e),i=[e].concat(t).map((function(e){return T7e(e)?n&&(e=R7e(e)):e=n?cet(e):het(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&&A7e(r)||P7e(e)&&P7e(r))return r}var o=new ret(i);return n?o=o.toKeyedSeq():P7e(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 Vet(e,t,n){var i=Zet(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)&&T7e(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 q7e((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)||!T7e(l))return n?e:H7e(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function qet(e,t,n){t||(t=ett);var i=A7e(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?tet(o):P7e(e)?net(o):iet(o)}function Het(e,t,n){if(t||(t=ett),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return $et(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return $et(t,e,n)?n:e}))}function $et(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Ket(e,t,n,i){var r=Zet(e),o=new ret(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=N7e(e),Y7e(r?e.reverse():e)})),a=0,s=!1;return new q7e((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}:H7e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function Get(e,t){return e===t?e:F7e(e)?t:e.constructor(t)}function Yet(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Xet(e){return A7e(e)?R7e:P7e(e)?L7e:j7e}function Zet(e){return Object.create((A7e(e)?tet:P7e(e)?net:iet).prototype)}function Jet(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):eet.prototype.cacheResult.call(this)}function ett(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 ttt(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 ntt(e,t){if(!e)throw new Error(t)}function itt(e){ntt(e!==1/0,"Cannot perform this action with an infinite size.")}function rtt(e){if(J7e(e)&&"string"!=typeof e)return e;if(Q7e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function ott(e){return"object"==typeof e&&(z7e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function att(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function stt(e,t,n){return z7e(e)?e.get(t,n):function(e,t){return z7e(e)?e.has(t):ott(e)&&Z7e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function ltt(e){if(Array.isArray(e))return ttt(e);var t={};for(var n in e)Z7e.call(e,n)&&(t[n]=e[n]);return t}function utt(e,t,n,i){i||(i=n,n=void 0);var r=ctt(z7e(e),e,rtt(t),0,n,i);return r===b7e?n:r}function ctt(e,t,n,i,r,o){var a=t===b7e;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!ott(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(att)+"]: "+t);var u=n[i],c=a?b7e:stt(t,u,b7e),h=ctt(c===b7e?e:z7e(c),c,n,i+1,r,o);return h===c?t:h===b7e?function(e,t){if(!ott(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(z7e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!Z7e.call(e,t))return e;var n=ltt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!ott(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(z7e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(Z7e.call(e,t)&&n===e[t])return e;var i=ltt(e);return i[t]=n,i}(a?e?jtt():{}:t,u,h)}function htt(e,t){return function(e,t,n){return utt(e,t,b7e,(function(){return n}))}(this,e,t)}function dtt(e){return function(e,t){return utt(e,t,(function(){return b7e}))}(this,e)}function ftt(e,t,n,i){return utt(e,[t],n,i)}function ptt(e,t,n){return 1===arguments.length?e(this):ftt(this,e,t,n)}function mtt(e,t,n){return utt(this,e,t,n)}function gtt(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=R7e(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){ftt(e,i,b7e,(function(e){return e===b7e?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 vtt(e,t,n){return ytt(e,t,function(e){function t(n,i,r){return ott(n)&&ott(i)?ytt(n,[i],t):e?e(n,i,r):i}return t}(n))}function ytt(e,t,n){if(!ott(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(z7e(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?L7e:R7e,a=i?function(t){r===e&&(r=ltt(r)),r.push(t)}:function(t,i){var o=Z7e.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=ltt(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function btt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return utt(this,e,jtt(),(function(e){return ytt(e,t)}))}function wtt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return utt(this,e,jtt(),(function(e){return vtt(e,t)}))}function xtt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Ott(){return this.__ownerID?this:this.__ensureOwner(new x7e)}function ktt(){return this.__ensureOwner()}function _tt(){return this.__altered}Net.prototype.cacheResult=Met.prototype.cacheResult=Ret.prototype.cacheResult=Let.prototype.cacheResult=Jet;var Stt=function(e){function t(t){return null==t?jtt():fet(t)&&!Q7e(t)?t:jtt().withMutations((function(n){var i=e(t);itt(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 jtt().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 Ftt(this,e,t)},t.prototype.remove=function(e){return Ftt(this,e,b7e)},t.prototype.deleteAll=function(e){var t=N7e(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):jtt()},t.prototype.sort=function(e){return lnt(qet(this,e))},t.prototype.sortBy=function(e,t){return lnt(qet(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 Mtt(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?Ltt(this.size,this._root,e,this.__hash):0===this.size?jtt():(this.__ownerID=e,this.__altered=!1,this)},t}(R7e);Stt.isMap=fet;var Ctt=Stt.prototype;Ctt["@@__IMMUTABLE_MAP__@@"]=!0,Ctt.delete=Ctt.remove,Ctt.removeAll=Ctt.deleteAll,Ctt.setIn=htt,Ctt.removeIn=Ctt.deleteIn=dtt,Ctt.update=ptt,Ctt.updateIn=mtt,Ctt.merge=Ctt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return gtt(this,e)},Ctt.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 gtt(this,t,e)},Ctt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return vtt(this,e)},Ctt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return vtt(this,t,e)},Ctt.mergeIn=btt,Ctt.mergeDeepIn=wtt,Ctt.withMutations=xtt,Ctt.wasAltered=_tt,Ctt.asImmutable=ktt,Ctt["@@transducer/init"]=Ctt.asMutable=Ott,Ctt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ctt["@@transducer/result"]=function(e){return e.asImmutable()};var Dtt=function(e,t){this.ownerID=e,this.entries=t};Dtt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(get(n,r[o][0]))return r[o][1];return i},Dtt.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b7e,l=this.entries,u=0,c=l.length;u<c&&!get(i,l[u][0]);u++);var h=u<c;if(h?l[u][1]===r:s)return this;if(w7e(a),(s||!h)&&w7e(o),!s||1!==l.length){if(!h&&!s&&l.length>=Vtt)return function(e,t,n,i){e||(e=new x7e);for(var r=new Att(e,wet(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 d=e&&e===this.ownerID,f=d?l:ttt(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Dtt(e,f)}};var Ett=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Ett.prototype.get=function(e,t,n,i){void 0===t&&(t=wet(n));var r=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&r)?i:this.nodes[Qtt(o&r-1)].get(e+5,t,n,i)},Ett.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=wet(i));var s=31&(0===t?n:n>>>t),l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b7e)return this;var h=Qtt(u&l-1),d=this.nodes,f=c?d[h]:void 0,p=Btt(f,e,t+5,n,i,r,o,a);if(p===f)return this;if(!c&&p&&d.length>=qtt)return function(e,t,n,i,r){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Itt(e,o+1,a)}(e,d,u,s,p);if(c&&!p&&2===d.length&&ztt(d[1^h]))return d[1^h];if(c&&p&&1===d.length&&ztt(p))return p;var m=e&&e===this.ownerID,g=c?p?u:u^l:u|l,v=c?p?Utt(d,h,p,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}(d,h,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}(d,h,p,m);return m?(this.bitmap=g,this.nodes=v,this):new Ett(e,g,v)};var Itt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Itt.prototype.get=function(e,t,n,i){void 0===t&&(t=wet(n));var r=31&(0===e?t:t>>>e),o=this.nodes[r];return o?o.get(e+5,t,n,i):i},Itt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=wet(i));var s=31&(0===t?n:n>>>t),l=r===b7e,u=this.nodes,c=u[s];if(l&&!c)return this;var h=Btt(c,e,t+5,n,i,r,o,a);if(h===c)return this;var d=this.count;if(c){if(!h&&--d<Htt)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 Ett(e,r,a)}(e,u,d,s)}else d++;var f=e&&e===this.ownerID,p=Utt(u,s,h,f);return f?(this.count=d,this.nodes=p,this):new Itt(e,d,p)};var Ttt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Ttt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(get(n,r[o][0]))return r[o][1];return i},Ttt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=wet(i));var s=r===b7e;if(n!==this.keyHash)return s?this:(w7e(a),w7e(o),Wtt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!get(i,l[u][0]);u++);var h=u<c;if(h?l[u][1]===r:s)return this;if(w7e(a),(s||!h)&&w7e(o),s&&2===c)return new Att(e,this.keyHash,l[1^u]);var d=e&&e===this.ownerID,f=d?l:ttt(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ttt(e,this.keyHash,f)};var Att=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Att.prototype.get=function(e,t,n,i){return get(n,this.entry[0])?this.entry[1]:i},Att.prototype.update=function(e,t,n,i,r,o,a){var s=r===b7e,l=get(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(w7e(a),s?void w7e(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Att(e,this.keyHash,[i,r]):(w7e(o),Wtt(this,e,t,wet(i),[i,r])))},Dtt.prototype.iterate=Ttt.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},Ett.prototype.iterate=Itt.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}},Att.prototype.iterate=function(e,t){return e(this.entry)};var Ptt,Mtt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Rtt(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 Ntt(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Ntt(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 Ntt(e,o.entry);t=this._stack=Rtt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(q7e);function Ntt(e,t){return H7e(e,t[0],t[1])}function Rtt(e,t){return{node:e,index:0,__prev:t}}function Ltt(e,t,n,i){var r=Object.create(Ctt);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function jtt(){return Ptt||(Ptt=Ltt(0))}function Ftt(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=Btt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b7e?-1:1:0)}else{if(n===b7e)return e;r=1,i=new Dtt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Ltt(r,i):jtt()}function Btt(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b7e?e:(w7e(s),w7e(a),new Att(t,i,[r,o]))}function ztt(e){return e.constructor===Att||e.constructor===Ttt}function Wtt(e,t,n,i,r){if(e.keyHash===i)return new Ttt(t,i,[e.entry,r]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?i:i>>>n),l=a===s?[Wtt(e,t,n+5,i,r)]:(o=new Att(t,i,r),a<s?[e,o]:[o,e]);return new Ett(t,1<<a|1<<s,l)}function Qtt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Utt(e,t,n,i){var r=i?e:ttt(e);return r[t]=n,r}var Vtt=8,qtt=16,Htt=8;function $tt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var Ktt=function(e){function t(t){var n=tnt();if(null==t)return n;if($tt(t))return t;var i=e(t),r=i.size;return 0===r?n:(itt(r),r>0&&r<32?ent(0,r,5,null,new Ytt(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=k7e(this,e))>=0&&e<this.size){var n=rnt(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=k7e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?ont(e,t).set(0,n):ont(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=ant(e._capacity)?i=nnt(i,e.__ownerID,0,t,n,o):r=nnt(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 ent(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):tnt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){ont(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return ont(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){ont(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return ont(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&&K7e(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 ont(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 S7e(e,t,n)?this:ont(this,C7e(e,n),D7e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=Jtt(this,t);return new q7e((function(){var r=i();return r===Ztt?{value:void 0,done:!0}:H7e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=Jtt(this,t);(n=r())!==Ztt&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ent(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?tnt():(this.__ownerID=e,this.__altered=!1,this)},t}(L7e);Ktt.isList=$tt;var Gtt=Ktt.prototype;Gtt["@@__IMMUTABLE_LIST__@@"]=!0,Gtt.delete=Gtt.remove,Gtt.merge=Gtt.concat,Gtt.setIn=htt,Gtt.deleteIn=Gtt.removeIn=dtt,Gtt.update=ptt,Gtt.updateIn=mtt,Gtt.mergeIn=btt,Gtt.mergeDeepIn=wtt,Gtt.withMutations=xtt,Gtt.wasAltered=_tt,Gtt.asImmutable=ktt,Gtt["@@transducer/init"]=Gtt.asMutable=Ott,Gtt["@@transducer/step"]=function(e,t){return e.push(t)},Gtt["@@transducer/result"]=function(e){return e.asImmutable()};var Ytt=function(e,t){this.array=e,this.ownerID=t};Ytt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&31;if(i>=this.array.length)return new Ytt([],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=int(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ytt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&31;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=int(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Xtt,Ztt={};function Jtt(e,t){var n=e._origin,i=e._capacity,r=ant(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>32&&(u=32);return function(){if(l===u)return Ztt;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>32&&(c=32);return function(){for(;;){if(s){var e=s();if(e!==Ztt)return e;s=null}if(u===c)return Ztt;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function ent(e,t,n,i,r,o,a){var s=Object.create(Gtt);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 tnt(){return Xtt||(Xtt=ent(0,0,5))}function nnt(e,t,n,i,r,o){var a,s=i>>>n&31,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=nnt(u,t,n-5,i,r,o);return c===u?e:((a=int(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&w7e(o),a=int(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function int(e,t){return t&&e&&t===e.ownerID?e:new Ytt(e?e.array.slice():[],t)}function rnt(e,t){if(t>=ant(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&31],i-=5;return n}}function ont(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x7e,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 Ytt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var h=ant(o),d=ant(s);d>=1<<l+5;)u=new Ytt(u&&u.array.length?[u]:[],i),l+=5;var f=e._tail,p=d<h?rnt(e,s-1):d>h?new Ytt([],i):f;if(f&&d>h&&a<o&&f.array.length){for(var m=u=int(u,i),g=l;g>5;g-=5){var v=h>>>g&31;m=m.array[v]=int(m.array[v],i)}m.array[h>>>5&31]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=d)a-=d,s-=d,l=5,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||d<h){for(c=0;u;){var y=a>>>l&31;if(y!==d>>>l&31)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&d<h&&(u=u.removeAfter(i,l,d-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=p,e.__hash=void 0,e.__altered=!0,e):ent(a,s,l,u,p)}function ant(e){return e<32?0:e-1>>>5<<5}var snt,lnt=function(e){function t(e){return null==e?cnt():pet(e)?e:cnt().withMutations((function(t){var n=R7e(e);itt(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):cnt()},t.prototype.set=function(e,t){return hnt(this,e,t)},t.prototype.remove=function(e){return hnt(this,e,b7e)},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?unt(t,n,e,this.__hash):0===this.size?cnt():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Stt);function unt(e,t,n,i){var r=Object.create(lnt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function cnt(){return snt||(snt=unt(jtt(),tnt()))}function hnt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b7e){if(!l)return e;a.size>=32&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):unt(i,r)}lnt.isOrderedMap=pet,lnt.prototype[W7e]=!0,lnt.prototype.delete=lnt.prototype.remove;function dnt(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var fnt=function(e){function t(e){return null==e?vnt():dnt(e)?e:vnt().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=k7e(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):gnt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&dnt(t))return t;itt(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):gnt(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):vnt()},t.prototype.slice=function(t,n){if(S7e(t,n,this.size))return this;var i=C7e(t,this.size);if(D7e(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):gnt(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?gnt(this.size,this._head,e,this.__hash):0===this.size?vnt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new ret(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 ret(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new q7e((function(){if(i){var t=i.value;return i=i.next,H7e(e,n++,t)}return{value:void 0,done:!0}}))},t}(L7e);fnt.isStack=dnt;var pnt,mnt=fnt.prototype;function gnt(e,t,n,i){var r=Object.create(mnt);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function vnt(){return pnt||(pnt=gnt(0))}mnt["@@__IMMUTABLE_STACK__@@"]=!0,mnt.shift=mnt.pop,mnt.unshift=mnt.push,mnt.unshiftAll=mnt.pushAll,mnt.withMutations=xtt,mnt.wasAltered=_tt,mnt.asImmutable=ktt,mnt["@@transducer/init"]=mnt.asMutable=Ott,mnt["@@transducer/step"]=function(e,t){return e.unshift(t)},mnt["@@transducer/result"]=function(e){return e.asImmutable()};function ynt(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function bnt(e){return ynt(e)&&Q7e(e)}function wnt(e,t){if(e===t)return!0;if(!T7e(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||A7e(e)!==A7e(t)||P7e(e)!==P7e(t)||Q7e(e)!==Q7e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!M7e(e);if(Q7e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&get(r[1],e)&&(n||get(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?!get(t,e.get(i,b7e)):!get(e.get(i,b7e),t))return a=!1,!1}));return a&&e.size===s}function xnt(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 Ont(e){if(!e||"object"!=typeof e)return e;if(!T7e(e)){if(!ott(e))return e;e=eet(e)}if(A7e(e)){var t={};return e.__iterate((function(e,n){t[n]=Ont(e)})),t}var n=[];return e.__iterate((function(e){n.push(Ont(e))})),n}var knt=function(e){function t(t){return null==t?Ent():ynt(t)&&!Q7e(t)?t:Ent().withMutations((function(n){var i=e(t);itt(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(R7e(e).keySeq())},t.intersect=function(e){return(e=N7e(e).toArray()).length?Snt.intersect.apply(t(e.pop()),e):Ent()},t.union=function(e){return(e=N7e(e).toArray()).length?Snt.union.apply(t(e.pop()),e):Ent()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Cnt(this,this._map.set(e,e))},t.prototype.remove=function(e){return Cnt(this,this._map.remove(e))},t.prototype.clear=function(){return Cnt(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 Vnt(qet(this,e))},t.prototype.sortBy=function(e,t){return Vnt(qet(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}(j7e);knt.isSet=ynt;var _nt,Snt=knt.prototype;function Cnt(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 Dnt(e,t){var n=Object.create(Snt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ent(){return _nt||(_nt=Dnt(jtt()))}Snt["@@__IMMUTABLE_SET__@@"]=!0,Snt.delete=Snt.remove,Snt.merge=Snt.concat=Snt.union,Snt.withMutations=xtt,Snt.asImmutable=ktt,Snt["@@transducer/init"]=Snt.asMutable=Ott,Snt["@@transducer/step"]=function(e,t){return e.add(t)},Snt["@@transducer/result"]=function(e){return e.asImmutable()},Snt.__empty=Ent,Snt.__make=Dnt;var Int,Tnt=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(ntt(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(Int)return Int;Int=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+k7e(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 S7e(e,n,this.size)?this:(e=C7e(e,this.size),(n=D7e(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 q7e((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,H7e(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:wnt(this,e)},t}(net);function Ant(e,t,n){for(var i=rtt(t),r=0;r!==i.length;)if((e=stt(e,i[r++],b7e))===b7e)return n;return e}function Pnt(){itt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}N7e.isIterable=T7e,N7e.isKeyed=A7e,N7e.isIndexed=P7e,N7e.isAssociative=M7e,N7e.isOrdered=Q7e,N7e.Iterator=q7e,xnt(N7e,{toArray:function(){itt(this.size);var e=new Array(this.size||0),t=A7e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Net(this)},toJS:function(){return Ont(this)},toKeyedSeq:function(){return new Met(this,!0)},toMap:function(){return Stt(this.toKeyedSeq())},toObject:Pnt,toOrderedMap:function(){return lnt(this.toKeyedSeq())},toOrderedSet:function(){return Vnt(A7e(this)?this.valueSeq():this)},toSet:function(){return knt(A7e(this)?this.valueSeq():this)},toSetSeq:function(){return new Ret(this)},toSeq:function(){return P7e(this)?this.toIndexedSeq():A7e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return fnt(A7e(this)?this.valueSeq():this)},toList:function(){return Ktt(A7e(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 Get(this,Uet(this,e))},includes:function(e){return this.some((function(t){return get(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){itt(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 Get(this,zet(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 itt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){itt(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 Get(this,Fet(this,e,t))},reduce:function(e,t,n){return Lnt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Lnt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return Get(this,Bet(this,!0))},slice:function(e,t){return Get(this,Wet(this,e,t,!0))},some:function(e,t){return!this.every(Bnt(e),t)},sort:function(e){return Get(this,qet(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 O7e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Stt().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 wnt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ret(e._cache);var t=e.toSeq().map(Fnt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Bnt(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(_7e,null,e)},flatMap:function(e,t){return Get(this,function(e,t,n){var i=Xet(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 Get(this,Vet(this,e,!0))},fromEntrySeq:function(){return new Let(this)},get:function(e,t){return this.find((function(t,n){return get(n,e)}),void 0,t)},getIn:function(e,t){return Ant(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=A7e(e),r=(Q7e(e)?lnt():Stt()).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=Xet(e);return r.map((function(t){return Get(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,b7e)!==b7e},hasIn:function(e){return function(e,t){return Ant(e,t,b7e)!==b7e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:N7e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:N7e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return get(t,e)}))},keySeq:function(){return this.toSeq().map(jnt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Het(this,e)},maxBy:function(e,t){return Het(this,t,e)},min:function(e){return Het(this,e?znt(e):Qnt)},minBy:function(e,t){return Het(this,t?znt(t):Qnt,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 Get(this,Qet(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Bnt(e),t)},sortBy:function(e,t){return Get(this,qet(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 Get(this,function(e,t,n){var i=Zet(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 q7e((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:H7e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Bnt(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=Q7e(e),n=A7e(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Unt(wet(e),wet(t))|0}:function(e,t){i=i+Unt(wet(e),wet(t))|0}:t?function(e){i=31*i+wet(e)|0}:function(e){i=i+wet(e)|0});return function(e,t){return t=vet(t,3432918353),t=vet(t<<15|t>>>-15,461845907),t=vet(t<<13|t>>>-13,5),t=vet((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=yet((t=vet(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var Mnt=N7e.prototype;Mnt["@@__IMMUTABLE_ITERABLE__@@"]=!0,Mnt[V7e]=Mnt.values,Mnt.toJSON=Mnt.toArray,Mnt.__toStringMapper=att,Mnt.inspect=Mnt.toSource=function(){return this.toString()},Mnt.chain=Mnt.flatMap,Mnt.contains=Mnt.includes,xnt(R7e,{flip:function(){return Get(this,jet(this))},mapEntries:function(e,t){var n=this,i=0;return Get(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Get(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Nnt=R7e.prototype;Nnt["@@__IMMUTABLE_KEYED__@@"]=!0,Nnt[V7e]=Mnt.entries,Nnt.toJSON=Pnt,Nnt.__toStringMapper=function(e,t){return att(t)+": "+att(e)},xnt(L7e,{toKeyedSeq:function(){return new Met(this,!1)},filter:function(e,t){return Get(this,zet(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 Get(this,Bet(this,!1))},slice:function(e,t){return Get(this,Wet(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=C7e(e,e<0?this.count():this.size);var i=this.slice(0,e);return Get(this,1===n?i:i.concat(ttt(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 Get(this,Vet(this,e,!1))},get:function(e,t){return(e=k7e(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=k7e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Get(this,function(e,t){var n=Zet(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 q7e((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?H7e(n,a++,t):H7e(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(ttt(arguments)),t=Ket(this.toSeq(),net.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Get(this,n)},keySeq:function(){return Tnt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return Get(this,Qet(this,e,t,!1))},zip:function(){var e=[this].concat(ttt(arguments));return Get(this,Ket(this,Wnt,e))},zipAll:function(){var e=[this].concat(ttt(arguments));return Get(this,Ket(this,Wnt,e,!0))},zipWith:function(e){var t=ttt(arguments);return t[0]=this,Get(this,Ket(this,e,t))}});var Rnt=L7e.prototype;function Lnt(e,t,n,i,r,o){return itt(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function jnt(e,t){return t}function Fnt(e,t){return[t,e]}function Bnt(e){return function(){return!e.apply(this,arguments)}}function znt(e){return function(){return-e.apply(this,arguments)}}function Wnt(){return ttt(arguments)}function Qnt(e,t){return e<t?1:e>t?-1:0}function Unt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Rnt["@@__IMMUTABLE_INDEXED__@@"]=!0,Rnt[W7e]=!0,xnt(j7e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),j7e.prototype.has=Mnt.includes,j7e.prototype.contains=j7e.prototype.includes,xnt(tet,R7e.prototype),xnt(net,L7e.prototype),xnt(iet,j7e.prototype);var Vnt=function(e){function t(e){return null==e?Knt():bnt(e)?e:Knt().withMutations((function(t){var n=j7e(e);itt(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(R7e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(knt);Vnt.isOrderedSet=bnt;var qnt,Hnt=Vnt.prototype;function $nt(e,t){var n=Object.create(Hnt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Knt(){return qnt||(qnt=$nt(cnt()))}Hnt[W7e]=!0,Hnt.zip=Rnt.zip,Hnt.zipWith=Rnt.zipWith,Hnt.__empty=Knt,Hnt.__make=$nt;var Gnt={exports:{}};
140
+ var $be=function(){return $be=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},$be.apply(this,arguments)};function Kbe(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 Gbe(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 Ybe(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 Xbe(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function Zbe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Jbe,ewe=function(i){var r,o=i.children,a=Kbe(i,["children"]);return n(t,{children:[e(twe,{},void 0),e(Z,$be({},a,{modalProps:$be($be({},a.modalProps||{}),{className:TV(vZ,"lt-reach-dialog",{"lt-reach-dialog-mobile":Ol.isAnyMobileApp},null===(r=a.modalProps)||void 0===r?void 0:r.className)})},{children:o}),void 0)]},void 0)},twe=Ae(Jbe||(Jbe=Zbe(['\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']))),nwe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},iwe=function(e){return e&&e.Math==Math&&e},rwe=iwe("object"==typeof globalThis&&globalThis)||iwe("object"==typeof window&&window)||iwe("object"==typeof self&&self)||iwe("object"==typeof nwe&&nwe)||Function("return this")(),owe={},awe=function(e){try{return!!e()}catch(e){return!0}},swe=!awe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),lwe={},uwe={}.propertyIsEnumerable,cwe=Object.getOwnPropertyDescriptor,hwe=cwe&&!uwe.call({1:2},1);lwe.f=hwe?function(e){var t=cwe(this,e);return!!t&&t.enumerable}:uwe;var dwe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},fwe={}.toString,pwe=function(e){return fwe.call(e).slice(8,-1)},mwe=pwe,gwe="".split,vwe=awe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==mwe(e)?gwe.call(e,""):Object(e)}:Object,ywe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},bwe=vwe,wwe=ywe,xwe=function(e){return bwe(wwe(e))},Owe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},kwe=Owe,_we=function(e,t){if(!kwe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!kwe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!kwe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!kwe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Swe={}.hasOwnProperty,Cwe=function(e,t){return Swe.call(e,t)},Dwe=Owe,Ewe=rwe.document,Iwe=Dwe(Ewe)&&Dwe(Ewe.createElement),Twe=function(e){return Iwe?Ewe.createElement(e):{}},Awe=Twe,Pwe=!swe&&!awe((function(){return 7!=Object.defineProperty(Awe("div"),"a",{get:function(){return 7}}).a})),Mwe=swe,Nwe=lwe,Rwe=dwe,Lwe=xwe,jwe=_we,Fwe=Cwe,Bwe=Pwe,zwe=Object.getOwnPropertyDescriptor;owe.f=Mwe?zwe:function(e,t){if(e=Lwe(e),t=jwe(t,!0),Bwe)try{return zwe(e,t)}catch(e){}if(Fwe(e,t))return Rwe(!Nwe.f.call(e,t),e[t])};var Wwe={},Qwe=Owe,Uwe=function(e){if(!Qwe(e))throw TypeError(String(e)+" is not an object");return e},Vwe=swe,qwe=Pwe,Hwe=Uwe,$we=_we,Kwe=Object.defineProperty;Wwe.f=Vwe?Kwe:function(e,t,n){if(Hwe(e),t=$we(t,!0),Hwe(n),qwe)try{return Kwe(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 Gwe=Wwe,Ywe=dwe,Xwe=swe?function(e,t,n){return Gwe.f(e,t,Ywe(1,n))}:function(e,t,n){return e[t]=n,e},Zwe={exports:{}},Jwe=rwe,exe=Xwe,txe=function(e,t){try{exe(Jwe,e,t)}catch(n){Jwe[e]=t}return t},nxe=txe,ixe=rwe["__core-js_shared__"]||nxe("__core-js_shared__",{}),rxe=ixe,oxe=Function.toString;"function"!=typeof rxe.inspectSource&&(rxe.inspectSource=function(e){return oxe.call(e)});var axe=rxe.inspectSource,sxe=axe,lxe=rwe.WeakMap,uxe="function"==typeof lxe&&/native code/.test(sxe(lxe)),cxe={exports:{}},hxe=ixe;(cxe.exports=function(e,t){return hxe[e]||(hxe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var dxe,fxe,pxe,mxe=0,gxe=Math.random(),vxe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++mxe+gxe).toString(36)},yxe=cxe.exports,bxe=vxe,wxe=yxe("keys"),xxe=function(e){return wxe[e]||(wxe[e]=bxe(e))},Oxe={},kxe=uxe,_xe=Owe,Sxe=Xwe,Cxe=Cwe,Dxe=xxe,Exe=Oxe,Ixe=rwe.WeakMap;if(kxe){var Txe=new Ixe,Axe=Txe.get,Pxe=Txe.has,Mxe=Txe.set;dxe=function(e,t){return Mxe.call(Txe,e,t),t},fxe=function(e){return Axe.call(Txe,e)||{}},pxe=function(e){return Pxe.call(Txe,e)}}else{var Nxe=Dxe("state");Exe[Nxe]=!0,dxe=function(e,t){return Sxe(e,Nxe,t),t},fxe=function(e){return Cxe(e,Nxe)?e[Nxe]:{}},pxe=function(e){return Cxe(e,Nxe)}}var Rxe={set:dxe,get:fxe,has:pxe,enforce:function(e){return pxe(e)?fxe(e):dxe(e,{})},getterFor:function(e){return function(t){var n;if(!_xe(t)||(n=fxe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Lxe=rwe,jxe=Xwe,Fxe=Cwe,Bxe=txe,zxe=axe,Wxe=Rxe.get,Qxe=Rxe.enforce,Uxe=String(String).split("String");(Zwe.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||Fxe(n,"name")||jxe(n,"name",t),Qxe(n).source=Uxe.join("string"==typeof t?t:"")),e!==Lxe?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:jxe(e,t,n)):o?e[t]=n:Bxe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Wxe(this).source||zxe(this)}));var Vxe=rwe,qxe=rwe,Hxe=function(e){return"function"==typeof e?e:void 0},$xe=function(e,t){return arguments.length<2?Hxe(Vxe[e])||Hxe(qxe[e]):Vxe[e]&&Vxe[e][t]||qxe[e]&&qxe[e][t]},Kxe={},Gxe=Math.ceil,Yxe=Math.floor,Xxe=function(e){return isNaN(e=+e)?0:(e>0?Yxe:Gxe)(e)},Zxe=Xxe,Jxe=Math.min,eOe=function(e){return e>0?Jxe(Zxe(e),9007199254740991):0},tOe=Xxe,nOe=Math.max,iOe=Math.min,rOe=xwe,oOe=eOe,aOe=function(e,t){var n=tOe(e);return n<0?nOe(n+t,0):iOe(n,t)},sOe=function(e){return function(t,n,i){var r,o=rOe(t),a=oOe(o.length),s=aOe(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}},lOe={includes:sOe(!0),indexOf:sOe(!1)},uOe=Cwe,cOe=xwe,hOe=lOe.indexOf,dOe=Oxe,fOe=function(e,t){var n,i=cOe(e),r=0,o=[];for(n in i)!uOe(dOe,n)&&uOe(i,n)&&o.push(n);for(;t.length>r;)uOe(i,n=t[r++])&&(~hOe(o,n)||o.push(n));return o},pOe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mOe=fOe,gOe=pOe.concat("length","prototype");Kxe.f=Object.getOwnPropertyNames||function(e){return mOe(e,gOe)};var vOe={};vOe.f=Object.getOwnPropertySymbols;var yOe=Kxe,bOe=vOe,wOe=Uwe,xOe=$xe("Reflect","ownKeys")||function(e){var t=yOe.f(wOe(e)),n=bOe.f;return n?t.concat(n(e)):t},OOe=Cwe,kOe=xOe,_Oe=owe,SOe=Wwe,COe=awe,DOe=/#|\.prototype\./,EOe=function(e,t){var n=TOe[IOe(e)];return n==POe||n!=AOe&&("function"==typeof t?COe(t):!!t)},IOe=EOe.normalize=function(e){return String(e).replace(DOe,".").toLowerCase()},TOe=EOe.data={},AOe=EOe.NATIVE="N",POe=EOe.POLYFILL="P",MOe=EOe,NOe=rwe,ROe=owe.f,LOe=Xwe,jOe=Zwe.exports,FOe=txe,BOe=function(e,t){for(var n=kOe(t),i=SOe.f,r=_Oe.f,o=0;o<n.length;o++){var a=n[o];OOe(e,a)||i(e,a,r(t,a))}},zOe=MOe,WOe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?NOe:u?NOe[s]||FOe(s,{}):(NOe[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=ROe(n,i))&&a.value:n[i],!zOe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;BOe(o,r)}(e.sham||r&&r.sham)&&LOe(o,"sham",!0),jOe(n,i,o,e)}},QOe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},UOe=ywe,VOe=function(e){return Object(UOe(e))},qOe=QOe,HOe=VOe,$Oe=vwe,KOe=eOe,GOe=function(e){return function(t,n,i,r){qOe(n);var o=HOe(t),a=$Oe(o),s=KOe(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}},YOe={left:GOe(!1),right:GOe(!0)},XOe=awe,ZOe=function(e,t){var n=[][e];return!!n&&XOe((function(){n.call(null,t||function(){throw 1},1)}))},JOe=swe,eke=awe,tke=Cwe,nke=Object.defineProperty,ike={},rke=function(e){throw e},oke=WOe,ake=YOe.left,ske=function(e,t){if(tke(ike,e))return ike[e];t||(t={});var n=[][e],i=!!tke(t,"ACCESSORS")&&t.ACCESSORS,r=tke(t,0)?t[0]:rke,o=tke(t,1)?t[1]:void 0;return ike[e]=!!n&&!eke((function(){if(i&&!JOe)return!0;var e={length:-1};i?nke(e,1,{enumerable:!0,get:rke}):e[1]=1,n.call(e,r,o)}))},lke=ZOe("reduce"),uke=ske("reduce",{1:0});oke({target:"Array",proto:!0,forced:!lke||!uke},{reduce:function(e){return ake(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var cke=fOe,hke=pOe,dke=Object.keys||function(e){return cke(e,hke)},fke=swe,pke=awe,mke=dke,gke=vOe,vke=lwe,yke=VOe,bke=vwe,wke=Object.assign,xke=Object.defineProperty,Oke=!wke||pke((function(){if(fke&&1!==wke({b:1},wke(xke({},"a",{enumerable:!0,get:function(){xke(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!=wke({},e)[n]||mke(wke({},t)).join("")!=i}))?function(e,t){for(var n=yke(e),i=arguments.length,r=1,o=gke.f,a=vke.f;i>r;)for(var s,l=bke(arguments[r++]),u=o?mke(l).concat(o(l)):mke(l),c=u.length,h=0;c>h;)s=u[h++],fke&&!a.call(l,s)||(n[s]=l[s]);return n}:wke,kke=Oke;WOe({target:"Object",stat:!0,forced:Object.assign!==kke},{assign:kke});var _ke=awe,Ske=!!Object.getOwnPropertySymbols&&!_ke((function(){return!String(Symbol())})),Cke=Ske&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Dke=rwe,Eke=cxe.exports,Ike=Cwe,Tke=vxe,Ake=Ske,Pke=Cke,Mke=Eke("wks"),Nke=Dke.Symbol,Rke=Pke?Nke:Nke&&Nke.withoutSetter||Tke,Lke=function(e){return Ike(Mke,e)||(Ake&&Ike(Nke,e)?Mke[e]=Nke[e]:Mke[e]=Rke("Symbol."+e)),Mke[e]},jke=Owe,Fke=pwe,Bke=Lke("match"),zke=function(e){var t;return jke(e)&&(void 0!==(t=e[Bke])?!!t:"RegExp"==Fke(e))},Wke=zke,Qke=function(e){if(Wke(e))throw TypeError("The method doesn't accept regular expressions");return e},Uke=Lke("match"),Vke=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Uke]=!1,"/./"[e](t)}catch(e){}}return!1},qke=Qke,Hke=ywe;function $ke(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)}WOe({target:"String",proto:!0,forced:!Vke("includes")},{includes:function(e){return!!~String(Hke(this)).indexOf(qke(e),arguments.length>1?arguments[1]:void 0)}});var Kke,Gke=Wwe,Yke=Uwe,Xke=dke,Zke=swe?Object.defineProperties:function(e,t){Yke(e);for(var n,i=Xke(t),r=i.length,o=0;r>o;)Gke.f(e,n=i[o++],t[n]);return e},Jke=$xe("document","documentElement"),e_e=Uwe,t_e=Zke,n_e=pOe,i_e=Oxe,r_e=Jke,o_e=Twe,a_e=xxe("IE_PROTO"),s_e=function(){},l_e=function(e){return"<script>"+e+"<\/script>"},u_e=function(){try{Kke=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;u_e=Kke?function(e){e.write(l_e("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Kke):((t=o_e("iframe")).style.display="none",r_e.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(l_e("document.F=Object")),e.close(),e.F);for(var n=n_e.length;n--;)delete u_e.prototype[n_e[n]];return u_e()};i_e[a_e]=!0;var c_e=Object.create||function(e,t){var n;return null!==e?(s_e.prototype=e_e(e),n=new s_e,s_e.prototype=null,n[a_e]=e):n=u_e(),void 0===t?n:t_e(n,t)},h_e=c_e,d_e=Wwe,f_e=Lke("unscopables"),p_e=Array.prototype;null==p_e[f_e]&&d_e.f(p_e,f_e,{configurable:!0,value:h_e(null)});var m_e,g_e,v_e,y_e=function(e){p_e[f_e][e]=!0},b_e={},w_e=!awe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),x_e=Cwe,O_e=VOe,k_e=w_e,__e=xxe("IE_PROTO"),S_e=Object.prototype,C_e=k_e?Object.getPrototypeOf:function(e){return e=O_e(e),x_e(e,__e)?e[__e]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?S_e:null},D_e=C_e,E_e=Xwe,I_e=Cwe,T_e=Lke("iterator"),A_e=!1;[].keys&&("next"in(v_e=[].keys())?(g_e=D_e(D_e(v_e)))!==Object.prototype&&(m_e=g_e):A_e=!0),null==m_e&&(m_e={}),I_e(m_e,T_e)||E_e(m_e,T_e,(function(){return this}));var P_e={IteratorPrototype:m_e,BUGGY_SAFARI_ITERATORS:A_e},M_e=Wwe.f,N_e=Cwe,R_e=Lke("toStringTag"),L_e=function(e,t,n){e&&!N_e(e=n?e:e.prototype,R_e)&&M_e(e,R_e,{configurable:!0,value:t})},j_e=P_e.IteratorPrototype,F_e=c_e,B_e=dwe,z_e=L_e,W_e=b_e,Q_e=function(){return this},U_e=Owe,V_e=Uwe,q_e=function(e){if(!U_e(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},H_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 V_e(n),q_e(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),$_e=WOe,K_e=function(e,t,n){var i=t+" Iterator";return e.prototype=F_e(j_e,{next:B_e(1,n)}),z_e(e,i,!1),W_e[i]=Q_e,e},G_e=C_e,Y_e=H_e,X_e=L_e,Z_e=Xwe,J_e=Zwe.exports,eSe=b_e,tSe=P_e.IteratorPrototype,nSe=P_e.BUGGY_SAFARI_ITERATORS,iSe=Lke("iterator"),rSe=function(){return this},oSe=xwe,aSe=y_e,sSe=b_e,lSe=Rxe,uSe=function(e,t,n,i,r,o,a){K_e(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!nSe&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},h=t+" Iterator",d=!1,f=e.prototype,p=f[iSe]||f["@@iterator"]||r&&f[r],m=!nSe&&p||c(r),g="Array"==t&&f.entries||p;if(g&&(s=G_e(g.call(new e)),tSe!==Object.prototype&&s.next&&(G_e(s)!==tSe&&(Y_e?Y_e(s,tSe):"function"!=typeof s[iSe]&&Z_e(s,iSe,rSe)),X_e(s,h,!0))),"values"==r&&p&&"values"!==p.name&&(d=!0,m=function(){return p.call(this)}),f[iSe]!==m&&Z_e(f,iSe,m),eSe[t]=m,r)if(l={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(u in l)(nSe||d||!(u in f))&&J_e(f,u,l[u]);else $_e({target:t,proto:!0,forced:nSe||d},l);return l},cSe=lSe.set,hSe=lSe.getterFor("Array Iterator"),dSe=uSe(Array,"Array",(function(e,t){cSe(this,{type:"Array Iterator",target:oSe(e),index:0,kind:t})}),(function(){var e=hSe(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");sSe.Arguments=sSe.Array,aSe("keys"),aSe("values"),aSe("entries");var fSe=rwe,pSe={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},mSe=dSe,gSe=Xwe,vSe=Lke,ySe=vSe("iterator"),bSe=vSe("toStringTag"),wSe=mSe.values;for(var xSe in pSe){var OSe=fSe[xSe],kSe=OSe&&OSe.prototype;if(kSe){if(kSe[ySe]!==wSe)try{gSe(kSe,ySe,wSe)}catch(e){kSe[ySe]=wSe}if(kSe[bSe]||gSe(kSe,bSe,xSe),pSe[xSe])for(var _Se in mSe)if(kSe[_Se]!==mSe[_Se])try{gSe(kSe,_Se,mSe[_Se])}catch(e){kSe[_Se]=mSe[_Se]}}}var SSe,CSe,DSe,ESe,ISe,TSe,ASe,PSe,MSe,NSe,RSe,LSe,jSe,FSe,BSe,zSe,WSe,QSe,USe,VSe=function(t){var n=FS().formatMessage;return e(Y,$be({},t,{className:void 0,role:t.role,onClick:t.onClick,hostClassName:t.className,content:t.resourceKey||t.text?t.text||n({id:t.resourceKey},t.values||{}):null,calloutProps:{calloutWidth:t.width,hidden:t.hidden}},{children:t.children}),void 0)},qSe=function(e){return Pe(ISe||(ISe=Zbe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?Pe(SSe||(SSe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):Pe(CSe||(CSe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Rte),(null==e?void 0:e.color)?Pe(DSe||(DSe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):Pe(ESe||(ESe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,10,20)},HSe=function(t){var n=t.tooltipResourceKey,i=t.className,r=Kbe(t,["tooltipResourceKey","className"]);return e(VSe,$be({resourceKey:n,className:i},{children:e($Se,$be({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},$Se=Te.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(TSe||(TSe=Zbe(["\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"])),qSe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),KSe=Te.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(ASe||(ASe=Zbe(["\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})),GSe=function(t){var i=t.showDialog,r=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,u=t.saveButtonResourceId,c=t.children,h=t.className,d=FS().formatMessage;return n(ewe,$be({hidden:!i,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:X.normal,title:d({id:s})},onDismiss:r},{children:[e(YSe,$be({className:h},{children:c}),void 0),n(J,{children:[e(R,$be({onClick:r,"data-button":"cancel"},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0),e(N,$be({disabled:l,onClick:a,"data-button":"save"},{children:e(iC,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},YSe=Te.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(PSe||(PSe=Zbe(["\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"])),20),XSe=Te(GSe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(MSe||(MSe=Zbe(["\n width: 360px;\n"],["\n width: 360px;\n"]))),ZSe=Te(I).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(NSe||(NSe=Zbe(["\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})),JSe=function(t){var n=t.checked,i=t.readOnly,r=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,u=t.ariaLabelResourceKey,c=FS().formatMessage,h=n?s||a||"CheckboxComposite":a||"Checkbox";return e(eCe,$be({className:o},{children:i?e(nCe,{},void 0):e(VSe,$be({resourceKey:l},{children:e(tCe,{iconProps:{iconName:h},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},eCe=Te.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(RSe||(RSe=Zbe(["\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"]))),tCe=Te(ZSe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(LSe||(LSe=Zbe(["\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"])),18,20),nCe=Te.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(jSe||(jSe=Zbe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),iCe=Pe(FSe||(FSe=Zbe(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),rCe=Te(T).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(BSe||(BSe=Zbe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),iCe),oCe=Te(_e).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(zSe||(zSe=Zbe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),iCe),aCe=Pe(WSe||(WSe=Zbe(["\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),sCe=function(){var t=Yte().hideNotification,n=a(Gte),i=n.isNotificationBarVisible,r=Kbe(n,["isNotificationBarVisible"]),o=FS().formatMessage,s=r.messageId||r.text;return i?e(lCe,$be({className:"notification-wrapper","data-notification-bar":!0},{children:e(uCe,$be({messageBarType:r.messageBarType,className:r.className,actions:r.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&e(VSe,$be({text:r.text,resourceKey:r.messageId,values:r.messageValues},{children:r.text||e(iC,{id:r.messageId,values:r.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},lCe=Te.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(QSe||(QSe=Zbe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),uCe=Te(A).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(USe||(USe=Zbe(["\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"])),aCe,16,18,18,16,18,14,30,20),cCe=function(t){var n,i=FS().formatMessage,r=o5(),o=r5(),a=G5(),s=a.searchAccounts,l=a.getUserAvatarUrl,h=u(),d=Ek();c((function(){t.autoFocus&&h&&h.current&&setTimeout((function(){h.current.focus()}))}),[h,t.autoFocus]);var f=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,p=!t.selectionMode||t.selectionMode===ee.multiple,m=t.selectedItems||[],g=f,v={defaultSelectedItems:(t.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(e){return function(e){var n=e.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==z4.Group?t.userPrincipalName:null,mail:T5(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));t.onChange&&t.onChange(n)}(e)},pickerSuggestionsProps:{noResultsFoundText:i({id:"Generic.noResultsFound"}),searchForMoreText:g&&!t.localOnly?i({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:i({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:d.width<c9?300:0,className:"lt-reach-picker-callout"},inputProps:{id:t.inputId,required:t.required,"aria-required":t.required,"aria-label":t.inputAriaLabelResourceKey?i({id:t.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:i({id:"AriaLabel.removeUserButton"})};return t.onEmptyInputFocus&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return w(e).map(y);return e.then((function(e){return w(e).map(y)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=i({id:t.placeholderStringResourceKey})),t.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),e(dCe,$be({className:TV(t.className,"people-picker")},{children:e(te,$be({},v,{componentRef:h,itemLimit:p?void 0:1}),void 0)}),void 0);function y(e){var t=T5(e.mail)?null:e.mail,n=T5(e.userPrincipalName)?null:e.userPrincipalName,i=yk(e.displayName||e.mail||e.userPrincipalName),o=e.type===z4.User?n:e.type===z4.Group?t:null,a={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(o||"")+(t&&t!==o?" ("+t+")":""),tertiaryText:t,imageInitials:i,initialsColor:bk(i),key:o,accountType:e.type,authenticationType:e.authenticationType};return r.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(e,n){return Gbe(this,void 0,void 0,(function(){var i,r,o;return Ybe(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];i=t.allowMailItems&&lk(e)&&{mail:e,userPrincipalName:e,displayName:e,type:z4.User},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,s({search:e,type:t.accountType,includePendingInvitationUsers:t.includePendingInvitationUsers,includePendingRegistrationUsers:t.includePendingRegistrationUsers,localOnly:t.localOnly||n,excludeApiUsers:t.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),t.additionalSearch&&(o=t.additionalSearch(e))&&(r=r.concat(o)),[2,w(r).map(y)];case 3:return a.sent(),[2,i&&[i].map(y)];case 4:return[2]}}))}))}function w(e){if(!t.selectedItems&&!t.defaultSelectedItems&&!t.excludedItems)return e;var n=(t.excludedItems||[]).concat(t.selectedItems||t.defaultSelectedItems||[]);return e.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 hCe,dCe=Te.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(hCe||(hCe=Zbe(["\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"]))),fCe=WOe,pCe=owe.f,mCe=eOe,gCe=Qke,vCe=ywe,yCe=Vke,bCe="".startsWith,wCe=Math.min,xCe=yCe("startsWith"),OCe=!xCe&&!!function(){var e=pCe(String.prototype,"startsWith");return e&&!e.writable}();fCe({target:"String",proto:!0,forced:!OCe&&!xCe},{startsWith:function(e){var t=String(vCe(this));gCe(e);var n=mCe(wCe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return bCe?bCe.call(t,i,n):t.slice(n,n+i.length)===i}});var kCe=Uwe,_Ce=function(){var e=kCe(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},SCe=Zwe.exports,CCe=Uwe,DCe=awe,ECe=_Ce,ICe=RegExp.prototype,TCe=ICe.toString,ACe=DCe((function(){return"/a/b"!=TCe.call({source:"a",flags:"b"})})),PCe="toString"!=TCe.name;(ACe||PCe)&&SCe(RegExp.prototype,"toString",(function(){var e=CCe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ICe)?ECe.call(e):n)}),{unsafe:!0});var MCe,NCe=function(t){var n=t.fileName,i=t.url;return e(RCe,$be({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n},void 0)}),void 0)},RCe=Te.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(MCe||(MCe=Zbe(["\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}),10),LCe=function(t){var i=t.fileName,r=t.url,o=t.onPlay;return r?n(WCe,$be({className:"lt-reach-embedded-audio"},{children:[e(NCe,{fileName:i,url:r},void 0),n("audio",$be({onPlay:function(){return null==o?void 0:o(r)},controls:!0,title:i,controlsList:"nodownload"},{children:[e("source",{src:r,type:"audio/mpeg"},void 0),e(iC,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function jCe(e){var t=qq.getType(e);return t&&t.toString().startsWith("audio/")}var FCe,BCe,zCe,WCe=Te.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(FCe||(FCe=Zbe(["\n width: 100%;\n"],["\n width: 100%;\n"])));Te.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(BCe||(BCe=Zbe(["\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"])),30,10),Te.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(zCe||(zCe=Zbe(["\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"])),30,30,20,(function(e){return e.theme.textColors.default}));var QCe,UCe,VCe,qCe,HCe,$Ce,KCe=function(t){var i=t.children,r=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(XCe,$be({className:s},{children:[r&&e(YCe,{children:r},void 0),e(GCe,$be({"data-attachment":o,backgroundColor:a},{children:i}),void 0)]}),void 0)},GCe=Te.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(QCe||(QCe=Zbe(["\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+";"})),YCe=Te.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(UCe||(UCe=Zbe(["\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),XCe=Te.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(VCe||(VCe=Zbe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),ZCe=Te(P).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(qCe||(qCe=Zbe(["\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}));Te.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(HCe||(HCe=Zbe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Te(ZCe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})($Ce||($Ce=Zbe(["\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 JCe,eDe,tDe,nDe,iDe=function(t){var n=t.children,i=Kbe(t,["children"]);return e(ne,$be({},i,{className:TV(vZ,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},rDe=function(t){var i=FS().formatMessage,r=h(!1),o=r[0],s=r[1],l=a(zte).theme.palette.accent;return n(ewe,$be({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!t.hideCloseButton,type:t.hideCloseButton?X.normal:X.close,title:i({id:t.titleResourceKey},t.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:t.onCancel},{children:[e(oDe,{children:e(iC,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues},void 0)},void 0),e(aDe,{"data-verify-item-input":!0,onChange:function(e,n){var i=n===t.compareValue;i!==o&&s(i)},ariaLabel:i({id:t.inputAriaLabelResourceKey})},void 0),t.children,n(J,{children:[e(R,$be({onClick:t.onCancel,disabled:t.disabled},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0),e(sDe,$be({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(iC,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},oDe=Te.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(JCe||(JCe=Zbe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),aDe=Te(M).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(eDe||(eDe=Zbe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),sDe=Te(N).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(tDe||(tDe=Zbe(["\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})),lDe=function(t){var i=t.showDialog,r=t.titleResourceKey,o=t.titleResourceValues,s=t.infoResourceKey,l=t.infoResourceValues,u=t.onConfirm,c=t.onClose,h=t.children,d=FS().formatMessage,f=a(zte).theme.palette.accent;return n(ewe,$be({hidden:!i,modalProps:{isBlocking:!0},dialogContentProps:{type:X.normal,subText:s?d({id:s},l):"",title:d({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[h,n(J,{children:[e(R,$be({onClick:c,"data-cancel-button":!0},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0),e(N,$be({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:e(iC,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},uDe=function(t){var i=t.onConfirm,r=t.onCancel,o=FS().formatMessage,s=a(zte).theme.palette.accent;return e(ewe,$be({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:X.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:n(cDe,{children:[e(iC,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),n(J,{children:[e(N,$be({onClick:i},{children:e(iC,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),e(R,$be({onClick:r},{children:e(iC,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},cDe=Te.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(nDe||(nDe=Zbe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),hDe=function(t){var n=t.value,i=a(gC).language,r=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=$be($be({},pDe),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/3600;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/86400;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/604800;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),h=u.getFullYear()-c.getFullYear(),d=12*h+u.getMonth()-c.getMonth();if(Math.round(Math.abs(d))>0&&Math.abs(d)<i.month)return{value:Math.round(d),unit:"month"};return{value:Math.round(h),unit:"year"}}(n),o=r.value,s=r.unit;return e($S,$be({locale:i},{children:e(eC,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)};var dDe,fDe,pDe={second:45,minute:45,hour:22,day:6,week:4,month:12},mDe=function(e){return xl(e).isSame(new Date,"day")},gDe=function(t){var i=xl(t.value),r=i.toDate(),o=!t.showAsAbsolute&&(t.showAsRelative||mDe(t.value)),a={dateTime:r.toISOString(),title:i.format("LLLL")};return!t.showWeekDay&&o?e(yDe,$be({className:TV(t.className)},a,{children:e(hDe,{value:r},void 0)}),void 0):n(yDe,$be({className:TV(t.className)},a,{children:[e(rC,{weekday:t.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:r},void 0)," ",e(oC,{value:r},void 0)]}),void 0)},vDe=function(t){var i=t.startDate,r=t.endDate,o=t.className;if(!r)return e("div",$be({className:o},{children:e(gDe,{value:i,showWeekDay:!0},void 0)}),void 0);var a=xl(i),s=xl(r);return a.isSame(s,"d")?n("div",$be({className:o},{children:[e(gDe,{value:i,showWeekDay:!0},void 0)," - ",e(oC,{value:s.toDate()},void 0)]}),void 0):n("div",$be({className:o},{children:[e(gDe,{value:i,showWeekDay:!0},void 0)," - ",e(gDe,{value:r,showWeekDay:!0},void 0)]}),void 0)},yDe=Te.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(dDe||(dDe=Zbe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));Te.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(fDe||(fDe=Zbe(["\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}),Rte);var bDe,wDe,xDe,ODe,kDe,_De,SDe,CDe=function(t){var n,i=t.children,r=Kbe(t,["children"]);return e(U,$be({},r,{calloutProps:$be($be({},r.calloutProps||{}),{className:TV(vZ,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},DDe=function(t){var i=t.svg,r=t.icon,o=t.styleDefinition,a=t.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=t.additionalButton,u=t.className,c=(null==o?void 0:o.size)||"large";return e(EDe,$be({className:u,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(IDe,$be({hasLargeParagraphStyle:!r,hasLargeSvgStyle:"large"===c},{children:[r&&e(L,{iconName:r},void 0),!r&&i,s.map((function(t,n){return e("p",{children:e(iC,{id:t},void 0)},n)})),l]}),void 0)}),void 0)},EDe=Te.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(xDe||(xDe=Zbe(["\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?Pe(bDe||(bDe=Zbe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):Pe(wDe||(wDe=Zbe(["\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 "])))})),IDe=Te.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(_De||(_De=Zbe(["\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"])),20,14,10,(function(e){return!e.hasLargeSvgStyle&&Pe(ODe||(ODe=Zbe(["\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 "])),18,e.theme.palette.neutralSecondary,30)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&Pe(kDe||(kDe=Zbe(["\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,20,(function(e){return e.theme.palette.accent}),30,30,u9.small)}),(function(e){return e.theme.palette.accent}),3,h9,24,30,30),TDe=function(e,t){return null!=e&&(e&t)===t};Te.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(SDe||(SDe=Zbe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var ADe=WOe,PDe=QOe,MDe=VOe,NDe=awe,RDe=ZOe,LDe=[],jDe=LDe.sort,FDe=NDe((function(){LDe.sort(void 0)})),BDe=NDe((function(){LDe.sort(null)})),zDe=RDe("sort");ADe({target:"Array",proto:!0,forced:FDe||!BDe||!zDe},{sort:function(e){return void 0===e?jDe.call(MDe(this)):jDe.call(MDe(this),PDe(e))}});var WDe=function(n){var i=n.languages,r=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=FS(),u=l.formatMessage;return e(t,{children:y6.apply(void 0,Xbe([l],i)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e($De,{children:e(KDe,{"data-translation-field":t.code,placeholder:null!=s?s:u({id:a},{lang:t.localizedName}),label:t.localizedName,value:r[t.code],onChange:function(e,n){var i;o($be($be({},r),((i={})[t.code]=n,i)))}},void 0)},t.code)}))},void 0)};Te.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(QDe||(QDe=Zbe(["\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 QDe,UDe,VDe,qDe,HDe,$De=Te.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(UDe||(UDe=Zbe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),KDe=Te(M).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(VDe||(VDe=Zbe(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));Te.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(qDe||(qDe=Zbe(["\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"]))),Te.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(HDe||(HDe=Zbe(["\n display: flex;\n"],["\n display: flex;\n"])));var GDe,YDe=function(t){var n=h(null==t.delay),i=n[0],r=n[1];return c((function(){if(null!=!t.delay){var e=setTimeout((function(){return r(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),i?e(XDe,$be({className:t.className},{children:e(D,$be({},t,{className:""}),void 0)}),void 0):null},XDe=Te.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(GDe||(GDe=Zbe(["\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"]))),ZDe=rwe.Promise,JDe=Zwe.exports,eEe=$xe,tEe=Wwe,nEe=swe,iEe=Lke("species"),rEe=function(e){var t=eEe(e),n=tEe.f;nEe&&t&&!t[iEe]&&n(t,iEe,{configurable:!0,get:function(){return this}})},oEe={exports:{}},aEe=b_e,sEe=Lke("iterator"),lEe=Array.prototype,uEe=QOe,cEe=function(e,t,n){if(uEe(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)}},hEe={};hEe[Lke("toStringTag")]="z";var dEe="[object z]"===String(hEe),fEe=pwe,pEe=Lke("toStringTag"),mEe="Arguments"==fEe(function(){return arguments}()),gEe=dEe?fEe: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),pEe))?n:mEe?fEe(t):"Object"==(i=fEe(t))&&"function"==typeof t.callee?"Arguments":i},vEe=gEe,yEe=b_e,bEe=Lke("iterator"),wEe=Uwe,xEe=Uwe,OEe=function(e){return void 0!==e&&(aEe.Array===e||lEe[sEe]===e)},kEe=eOe,_Ee=cEe,SEe=function(e){if(null!=e)return e[bEe]||e["@@iterator"]||yEe[vEe(e)]},CEe=function(e,t,n,i){try{return i?t(wEe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&wEe(r.call(e)),t}},DEe=function(e,t){this.stopped=e,this.result=t},EEe=oEe.exports=function(e,t,n,i,r){var o,a,s,l,u,c,h,d=_Ee(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=SEe(e)))throw TypeError("Target is not iterable");if(OEe(a)){for(s=0,l=kEe(e.length);l>s;s++)if((u=i?d(xEe(h=e[s])[0],h[1]):d(e[s]))&&u instanceof DEe)return u;return new DEe(!1)}o=a.call(e)}for(c=o.next;!(h=c.call(o)).done;)if("object"==typeof(u=CEe(o,d,h.value,i))&&u&&u instanceof DEe)return u;return new DEe(!1)};EEe.stop=function(e){return new DEe(!0,e)};var IEe=Lke("iterator"),TEe=!1;try{var AEe=0,PEe={next:function(){return{done:!!AEe++}},return:function(){TEe=!0}};PEe[IEe]=function(){return this},Array.from(PEe,(function(){throw 2}))}catch(e){}var MEe,NEe,REe,LEe=Uwe,jEe=QOe,FEe=Lke("species"),BEe=function(e,t){var n,i=LEe(e).constructor;return void 0===i||null==(n=LEe(i)[FEe])?t:jEe(n)},zEe=$xe("navigator","userAgent")||"",WEe=/(iphone|ipod|ipad).*applewebkit/i.test(zEe),QEe=rwe,UEe=awe,VEe=pwe,qEe=cEe,HEe=Jke,$Ee=Twe,KEe=WEe,GEe=QEe.location,YEe=QEe.setImmediate,XEe=QEe.clearImmediate,ZEe=QEe.process,JEe=QEe.MessageChannel,eIe=QEe.Dispatch,tIe=0,nIe={},iIe=function(e){if(nIe.hasOwnProperty(e)){var t=nIe[e];delete nIe[e],t()}},rIe=function(e){return function(){iIe(e)}},oIe=function(e){iIe(e.data)},aIe=function(e){QEe.postMessage(e+"",GEe.protocol+"//"+GEe.host)};YEe&&XEe||(YEe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return nIe[++tIe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},MEe(tIe),tIe},XEe=function(e){delete nIe[e]},"process"==VEe(ZEe)?MEe=function(e){ZEe.nextTick(rIe(e))}:eIe&&eIe.now?MEe=function(e){eIe.now(rIe(e))}:JEe&&!KEe?(REe=(NEe=new JEe).port2,NEe.port1.onmessage=oIe,MEe=qEe(REe.postMessage,REe,1)):!QEe.addEventListener||"function"!=typeof postMessage||QEe.importScripts||UEe(aIe)||"file:"===GEe.protocol?MEe="onreadystatechange"in $Ee("script")?function(e){HEe.appendChild($Ee("script")).onreadystatechange=function(){HEe.removeChild(this),iIe(e)}}:function(e){setTimeout(rIe(e),0)}:(MEe=aIe,QEe.addEventListener("message",oIe,!1)));var sIe,lIe,uIe,cIe,hIe,dIe,fIe,pIe,mIe={set:YEe,clear:XEe},gIe=rwe,vIe=owe.f,yIe=pwe,bIe=mIe.set,wIe=WEe,xIe=gIe.MutationObserver||gIe.WebKitMutationObserver,OIe=gIe.process,kIe=gIe.Promise,_Ie="process"==yIe(OIe),SIe=vIe(gIe,"queueMicrotask"),CIe=SIe&&SIe.value;CIe||(sIe=function(){var e,t;for(_Ie&&(e=OIe.domain)&&e.exit();lIe;){t=lIe.fn,lIe=lIe.next;try{t()}catch(e){throw lIe?cIe():uIe=void 0,e}}uIe=void 0,e&&e.enter()},_Ie?cIe=function(){OIe.nextTick(sIe)}:xIe&&!wIe?(hIe=!0,dIe=document.createTextNode(""),new xIe(sIe).observe(dIe,{characterData:!0}),cIe=function(){dIe.data=hIe=!hIe}):kIe&&kIe.resolve?(fIe=kIe.resolve(void 0),pIe=fIe.then,cIe=function(){pIe.call(fIe,sIe)}):cIe=function(){bIe.call(gIe,sIe)});var DIe=CIe||function(e){var t={fn:e,next:void 0};uIe&&(uIe.next=t),lIe||(lIe=t,cIe()),uIe=t},EIe={},IIe=QOe,TIe=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=IIe(t),this.reject=IIe(n)};EIe.f=function(e){return new TIe(e)};var AIe,PIe,MIe=Uwe,NIe=Owe,RIe=EIe,LIe=rwe,jIe=zEe,FIe=rwe.process,BIe=FIe&&FIe.versions,zIe=BIe&&BIe.v8;zIe?PIe=(AIe=zIe.split("."))[0]+AIe[1]:jIe&&(!(AIe=jIe.match(/Edge\/(\d+)/))||AIe[1]>=74)&&(AIe=jIe.match(/Chrome\/(\d+)/))&&(PIe=AIe[1]);var WIe,QIe,UIe,VIe,qIe=PIe&&+PIe,HIe=WOe,$Ie=rwe,KIe=$xe,GIe=ZDe,YIe=Zwe.exports,XIe=function(e,t,n){for(var i in t)JDe(e,i,t[i],n);return e},ZIe=L_e,JIe=rEe,eTe=Owe,tTe=QOe,nTe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},iTe=pwe,rTe=axe,oTe=oEe.exports,aTe=function(e,t){if(!t&&!TEe)return!1;var n=!1;try{var i={};i[IEe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},sTe=BEe,lTe=mIe.set,uTe=DIe,cTe=function(e,t){if(MIe(e),NIe(t)&&t.constructor===e)return t;var n=RIe.f(e);return(0,n.resolve)(t),n.promise},hTe=function(e,t){var n=LIe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},dTe=EIe,fTe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},pTe=Rxe,mTe=MOe,gTe=qIe,vTe=Lke("species"),yTe=pTe.get,bTe=pTe.set,wTe=pTe.getterFor("Promise"),xTe=GIe,OTe=$Ie.TypeError,kTe=$Ie.document,_Te=$Ie.process,STe=KIe("fetch"),CTe=dTe.f,DTe=CTe,ETe="process"==iTe(_Te),ITe=!!(kTe&&kTe.createEvent&&$Ie.dispatchEvent),TTe=mTe("Promise",(function(){if(!(rTe(xTe)!==String(xTe))){if(66===gTe)return!0;if(!ETe&&"function"!=typeof PromiseRejectionEvent)return!0}if(gTe>=51&&/native code/.test(xTe))return!1;var e=xTe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[vTe]=t,!(e.then((function(){}))instanceof t)})),ATe=TTe||!aTe((function(e){xTe.all(e).catch((function(){}))})),PTe=function(e){var t;return!(!eTe(e)||"function"!=typeof(t=e.then))&&t},MTe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;uTe((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],h=o?c.ok:c.fail,d=c.resolve,f=c.reject,p=c.domain;try{h?(o||(2===t.rejection&&jTe(e,t),t.rejection=1),!0===h?s=r:(p&&p.enter(),s=h(r),p&&(p.exit(),u=!0)),s===c.promise?f(OTe("Promise-chain cycle")):(l=PTe(s))?l.call(s,d,f):d(s)):f(r)}catch(e){p&&!u&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&RTe(e,t)}))}},NTe=function(e,t,n){var i,r;ITe?((i=kTe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),$Ie.dispatchEvent(i)):i={promise:t,reason:n},(r=$Ie["on"+e])?r(i):"unhandledrejection"===e&&hTe("Unhandled promise rejection",n)},RTe=function(e,t){lTe.call($Ie,(function(){var n,i=t.value;if(LTe(t)&&(n=fTe((function(){ETe?_Te.emit("unhandledRejection",i,e):NTe("unhandledrejection",e,i)})),t.rejection=ETe||LTe(t)?2:1,n.error))throw n.value}))},LTe=function(e){return 1!==e.rejection&&!e.parent},jTe=function(e,t){lTe.call($Ie,(function(){ETe?_Te.emit("rejectionHandled",e):NTe("rejectionhandled",e,t.value)}))},FTe=function(e,t,n,i){return function(r){e(t,n,r,i)}},BTe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,MTe(e,t,!0))},zTe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw OTe("Promise can't be resolved itself");var r=PTe(n);r?uTe((function(){var i={done:!1};try{r.call(n,FTe(zTe,e,i,t),FTe(BTe,e,i,t))}catch(n){BTe(e,i,n,t)}})):(t.value=n,t.state=1,MTe(e,t,!1))}catch(n){BTe(e,{done:!1},n,t)}}};TTe&&(xTe=function(e){nTe(this,xTe,"Promise"),tTe(e),WIe.call(this);var t=yTe(this);try{e(FTe(zTe,this,t),FTe(BTe,this,t))}catch(e){BTe(this,t,e)}},(WIe=function(e){bTe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=XIe(xTe.prototype,{then:function(e,t){var n=wTe(this),i=CTe(sTe(this,xTe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=ETe?_Te.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&MTe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),QIe=function(){var e=new WIe,t=yTe(e);this.promise=e,this.resolve=FTe(zTe,e,t),this.reject=FTe(BTe,e,t)},dTe.f=CTe=function(e){return e===xTe||e===UIe?new QIe(e):DTe(e)},"function"==typeof GIe&&(VIe=GIe.prototype.then,YIe(GIe.prototype,"then",(function(e,t){var n=this;return new xTe((function(e,t){VIe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof STe&&HIe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return cTe(xTe,STe.apply($Ie,arguments))}}))),HIe({global:!0,wrap:!0,forced:TTe},{Promise:xTe}),ZIe(xTe,"Promise",!1),JIe("Promise"),UIe=KIe("Promise"),HIe({target:"Promise",stat:!0,forced:TTe},{reject:function(e){var t=CTe(this);return t.reject.call(void 0,e),t.promise}}),HIe({target:"Promise",stat:!0,forced:TTe},{resolve:function(e){return cTe(this,e)}}),HIe({target:"Promise",stat:!0,forced:ATe},{all:function(e){var t=this,n=CTe(t),i=n.resolve,r=n.reject,o=fTe((function(){var n=tTe(t.resolve),o=[],a=0,s=1;oTe(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=CTe(t),i=n.reject,r=fTe((function(){var r=tTe(t.resolve);oTe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var WTe={},QTe=awe;function UTe(e,t){return RegExp(e,t)}WTe.UNSUPPORTED_Y=QTe((function(){var e=UTe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),WTe.BROKEN_CARET=QTe((function(){var e=UTe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var VTe=_Ce,qTe=WTe,HTe=RegExp.prototype.exec,$Te=String.prototype.replace,KTe=HTe,GTe=function(){var e=/a/,t=/b*/g;return HTe.call(e,"a"),HTe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),YTe=qTe.UNSUPPORTED_Y||qTe.BROKEN_CARET,XTe=void 0!==/()??/.exec("")[1];(GTe||XTe||YTe)&&(KTe=function(e){var t,n,i,r,o=this,a=YTe&&o.sticky,s=VTe.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)),XTe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),GTe&&(t=o.lastIndex),i=HTe.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:GTe&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),XTe&&i&&i.length>1&&$Te.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var ZTe=KTe;WOe({target:"RegExp",proto:!0,forced:/./.exec!==ZTe},{exec:ZTe});var JTe,eAe=Zwe.exports,tAe=awe,nAe=Lke,iAe=ZTe,rAe=Xwe,oAe=nAe("species"),aAe=!tAe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),sAe="$0"==="a".replace(/./,"$0"),lAe=nAe("replace"),uAe=!!/./[lAe]&&""===/./[lAe]("a","$0"),cAe=!tAe((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]})),hAe=function(e,t,n,i){var r=nAe(e),o=!tAe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!tAe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[oAe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!aAe||!sAe||uAe)||"split"===e&&!cAe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===iAe?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:sAe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:uAe}),u=l[0],c=l[1];eAe(String.prototype,e,u),eAe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&rAe(RegExp.prototype[r],"sham",!0)},dAe=Xxe,fAe=ywe,pAe=function(e){return function(t,n){var i,r,o=String(fAe(t)),a=dAe(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}},mAe={codeAt:pAe(!1),charAt:pAe(!0)}.charAt,gAe=function(e,t,n){return t+(n?mAe(e,t).length:1)},vAe=pwe,yAe=ZTe,bAe=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"!==vAe(e))throw TypeError("RegExp#exec called on incompatible receiver");return yAe.call(e,t)},wAe=hAe,xAe=zke,OAe=Uwe,kAe=ywe,_Ae=BEe,SAe=gAe,CAe=eOe,DAe=bAe,EAe=ZTe,IAe=awe,TAe=[].push,AAe=Math.min,PAe=!IAe((function(){return!RegExp(4294967295,"y")}));wAe("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(kAe(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!xAe(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,h=new RegExp(e.source,u+"g");(o=EAe.call(h,i))&&!((a=h.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&TAe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)h.lastIndex===o.index&&h.lastIndex++;return c===i.length?!s&&h.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=kAe(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=OAe(e),s=String(this),l=_Ae(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(PAe?"y":"g"),h=new l(PAe?a:"^(?:"+a.source+")",c),d=void 0===r?4294967295:r>>>0;if(0===d)return[];if(0===s.length)return null===DAe(h,s)?[s]:[];for(var f=0,p=0,m=[];p<s.length;){h.lastIndex=PAe?p:0;var g,v=DAe(h,PAe?s:s.slice(p));if(null===v||(g=AAe(CAe(h.lastIndex+(PAe?0:p)),s.length))===f)p=SAe(s,p,u);else{if(m.push(s.slice(f,p)),m.length===d)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===d)return m;p=f=g}}return m.push(s.slice(f)),m}]}),!PAe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(JTe||(JTe={}));var MAe=function(t){var i=t.fileName,r=t.url,o=t.onPlay;if(!r)return null;var a="safari"===av?r+"#t=0.1":r;return n("div",$be({className:"lt-reach-embedded-video"},{children:[e(NCe,{fileName:i,url:r},void 0),n("video",$be({onPlay:function(){return null==o?void 0:o(r)},preload:"metadata",controls:!0,title:i,width:"auto",height:"auto"},{children:[e("source",{src:a,type:"video/mp4"},void 0),e(iC,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function NAe(e){var t,n="mac"===Ol.deviceInfo.operatingSystem,i=null===(t=qq.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(JTe.mp4)||(n?i.startsWith(JTe.quicktime):i.startsWith(JTe.webm)))}var RAe,LAe,jAe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},FAe=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 "},BAe=function(e,t,n){return Pe(LAe||(LAe=Zbe(["\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 zAe(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 WAe(e){return Gbe(this,void 0,void 0,(function(){return Ybe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(zAe))];case 1:return[2,t.sent()]}}))}))}function QAe(e){return jCe(e)?"MusicInCollectionFill":NAe(e)?"Video":qAe(null==e?void 0:e.split(".").pop().toLowerCase())}function UAe(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 VAe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function qAe(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 HAe(){var e=zU(),t=BU(),n=t.createApiUrl,i=t.fetchFromApi,r=a(hC).identifier,o=Rg(),s=w9(),u=s.interaction,c=s.module,h=null==r?void 0:r.id;return l((function(){return{exchangeShortLivedToken:function(e){return Gbe(this,void 0,void 0,(function(){var t;return Ybe(this,(function(n){switch(n.label){case 0:return e?[4,i("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":h}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom(t+"/"+n+"/file_access_token/types/short_lived").get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t,n,i,r){var a=this;return function(){return Gbe(a,void 0,void 0,(function(){var a;return Ybe(this,(function(s){switch(s.label){case 0:return[4,t()];case 1:return a=s.sent(),window.open(a,"ios"===o.deviceInfo.operatingSystem?"_self":e),u({event:p9.downloadFile,action:m9.click,value:a,item:{id:n,type:i,parentId:r},module:c}),[2]}}))}))}}}}),[h,i,n,e,c])}var $Ae,KAe,GAe,YAe,XAe,ZAe,JAe,ePe,tPe,nPe,iPe,rPe,oPe,aPe,sPe,lPe,uPe,cPe,hPe=function(i){var r=i.files,o=i.onDeleteClick,a=i.getFileUrl,s=i.fileAccessToken,l=i.onPlayVideo,u=i.onPlayAudio,c=i.disabled,h=i.parentId,d=i.itemResourceType,f=i.className;if(!r||0===r.length)return null;var p=r.filter((function(e){return a&&jCe(e.filename)})),m=r.filter((function(e){return a&&NAe(e.filename)})),g=r.filter((function(e){return!p.includes(e)&&!m.includes(e)}));return n(t,{children:[m.length>0&&e(fPe,$be({className:f,"data-preload-video":"safari"===av},{children:m.map((function(t){return e(pPe,{children:e(MAe,{fileName:t.filename,url:a(t.id),onPlay:function(e){return l(e,t.id)}},void 0)},t.id)}))}),void 0),p.length>0&&e(dPe,$be({className:f},{children:p.map((function(t){return e(mPe,{children:e(LCe,{fileName:t.filename,url:a(t.id),onPlay:function(e){return u(e,t.id)}},void 0)},t.id)}))}),void 0),g.length>0&&e(dPe,$be({className:f},{children:g.map((function(t){return e(mPe,{children:e(gPe,{attachment:t,disabled:c,getFileUrl:a,fileAccessToken:s,onDeleteClick:o,itemResourceType:d,parentId:h},void 0)},t.id)}))}),void 0)]},void 0)},dPe=Te.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})($Ae||($Ae=Zbe(["\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"]))),fPe=Te.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(KAe||(KAe=Zbe(["\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),pPe=Te.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(GAe||(GAe=Zbe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),mPe=Te.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(YAe||(YAe=Zbe(["\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"])),10,u9.small,5),gPe=function(t){var i=t.attachment,r=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=t.parentId,u=t.itemResourceType,c=FS().formatMessage,h=!s&&r,d=HAe(),f=d.exchangeShortLivedToken,p=d.createDownloadClickHandler;return n(vPe,{children:[i.isUploadInProgress&&e(_Pe,{children:e(SPe,{size:ie.medium},void 0)},void 0),e(bPe,$be({takeFullWidth:!h},{children:function(){var t=this;if(i.hasError)return n(wPe,{children:[e(CPe,{iconName:"Warning"},void 0),e(kPe,$be({title:i.filename},{children:i.filename}),void 0)]},void 0);var r=QAe(i.filename);if(o)return n(yPe,$be({title:i.filename,onClick:p("_blank",(function(){return Gbe(t,void 0,void 0,(function(){var e;return Ybe(this,(function(t){switch(t.label){case 0:return[4,f(a)];case 1:return e=t.sent(),[2,o(i.id,e)]}}))}))}),i.id,u,l)},{children:[e(xPe,{iconName:r},void 0),e(kPe,{children:i.filename},void 0)]}),void 0);return n(wPe,{children:[e(xPe,{iconName:r},void 0),e(kPe,$be({title:i.filename},{children:i.filename}),void 0)]},void 0)}()}),void 0),h&&e(OPe,{iconProps:{iconName:"Delete"},onClick:function(){return r(i)},disabled:i.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},vPe=Te.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(XAe||(XAe=Zbe(["\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})),yPe=Te(R).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(ZAe||(ZAe=Zbe(["\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}),10,(function(e){return e.theme.textColors.default})),bPe=Te.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(tPe||(tPe=Zbe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?Pe(JAe||(JAe=Zbe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):Pe(ePe||(ePe=Zbe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),wPe=Te.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(nPe||(nPe=Zbe(["\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"])),10),xPe=Te(L).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(iPe||(iPe=Zbe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),OPe=Te(I).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(rPe||(rPe=Zbe(["\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})),kPe=Te.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(oPe||(oPe=Zbe(["\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"]))),_Pe=Te.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(aPe||(aPe=Zbe(["\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"]))),SPe=Te(YDe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(sPe||(sPe=Zbe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),CPe=Te(L).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(lPe||(lPe=Zbe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),DPe=function(i){var r,o=i.children,a=Kbe(i,["children"]);return n(t,{children:[e(EPe,{},void 0),e(ewe,$be({},a,{modalProps:$be($be({},a.modalProps||{}),{className:TV({"lt-reach-dialog-mobile-full-height":Ol.isAnyMobileApp},null===(r=a.modalProps)||void 0===r?void 0:r.className)})},{children:o}),void 0)]},void 0)},EPe=Ae(uPe||(uPe=Zbe(['\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"}(cPe||(cPe={}));var IPe=function(t){var i=t.className,r=t.offsetTop,o=void 0===r?0:r,a=t.positionBottomOnMobile,s=t.domIdentifier,l=t.offsetRight,u=void 0===l?0:l,c=t.children;return n(PPe,$be({offsetTop:o,offsetRight:u,className:i,positionBottomOnMobile:a,"data-fab":s},{children:[e(NPe,{},void 0),c]}),void 0)},TPe=function(t){var i=t.iconName,r=t.onClick,o=t.tooltipResourceKey,a=t.useSecondaryBgColor,s=t.domIdentifier,l=t.className,u=FS().formatMessage;return n(VSe,$be({className:l,resourceKey:o},{children:[e(NPe,{},void 0),e(RPe,{"data-fab":s,iconProps:{iconName:i},onClick:r,ariaLabel:u({id:o}),useSecondaryBgColor:a},void 0)]}),void 0)},APe=function(i){var r=i.iconName,o=i.tooltipResourceKey,a=i.titleResourceKey,s=i.showCloseButton,l=i.useSecondaryBgColor,c=i.children,d=i.domIdentifier,f=i.useMobileFullHeight,p=FS().formatMessage,m=h(!1),g=m[0],v=m[1],y=u(null),b=Ol.isAnyMobileApp;return n(t,{children:[e("div",$be({ref:y},{children:e(TPe,{"data-fab":d,tooltipResourceKey:o,iconName:r,onClick:function(){return v(!g)},useSecondaryBgColor:l},void 0)}),void 0),g&&b&&f&&n(DPe,$be({hidden:!g,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:X.close,title:p({id:a})},onDismiss:function(){return v(!1)}},{children:[e(XPe,{},void 0),c]}),void 0),g&&b&&!f&&n(ewe,$be({hidden:!g},{children:[c,e(J,{children:e(R,{text:p({id:"Generic.close"}),onClick:function(){return v(!1)}},void 0)},void 0)]}),void 0),g&&!b&&e(iDe,$be({target:y.current,directionalHint:K.bottomRightEdge,onDismiss:function(){return v(!1)}},{children:n(GPe,{children:[c,s&&e(YPe,{text:p({id:"Generic.close"}),onClick:function(){return v(!1)}},void 0)]},void 0)}),void 0)]},void 0)},PPe=Te.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(FPe||(FPe=Zbe(["\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?Pe(LPe||(LPe=Zbe(["\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 "])),u9.medium,e.offsetTop+20):Pe(jPe||(jPe=Zbe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),MPe=function(e){return Pe(WPe||(WPe=Zbe(["\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?Pe(BPe||(BPe=Zbe(["\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})):Pe(zPe||(zPe=Zbe(["\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})))},NPe=Ae(QPe||(QPe=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return pZ("\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 ")})),RPe=Te(I).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(UPe||(UPe=Zbe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return MPe(e.useSecondaryBgColor)}));Te(VSe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(VPe||(VPe=Zbe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return MPe(e.useSecondaryBgColor)}));var LPe,jPe,FPe,BPe,zPe,WPe,QPe,UPe,VPe,qPe,HPe,$Pe,KPe,GPe=Te.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(qPe||(qPe=Zbe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),YPe=Te(R).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(HPe||(HPe=Zbe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),XPe=Ae($Pe||($Pe=Zbe(["\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"])),c9),ZPe=function(t){var n=t.tagName,i=void 0===n?"div":n,r=t.id,o=t.values,a=t.className;return w(i,{className:a},e(iC,{id:r,values:o},void 0))},JPe=function(t){var i=t.icon,r=t.resourceKey,o=t.className,a=t.values,s="string"==typeof i?e(L,{iconName:i},void 0):i;return n(eMe,$be({className:o},{children:[s,e(iC,{id:r,values:a,tagName:"span"},void 0)]}),void 0)},eMe=Te.div(KPe||(KPe=Zbe(["\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,14),tMe={},nMe=new JV;var iMe=new JV;function rMe(e){var t=u(!0);c((function(){t.current||iMe.next(),t.current=!1}),e)}var oMe,aMe,sMe,lMe,uMe=function(t){var n=t.groupName,i=t.groupId,r=t.keywordName,o=t.keywordId,s=t.language,l=t.underlined,u=t.onClick,c=t.tabIndex,h=r5(),d=x6(a(dne).selectedKeywordGroups,h,i,r,n,s);return u?e(hMe,$be({onClick:function(){return u(o)},tabIndex:c},{children:e(dMe,$be({underlined:!0},{children:d}),void 0)}),void 0):e(dMe,$be({underlined:l},{children:d}),void 0)},cMe=function(t){var n=t.groupId,i=t.keywordName,r=r5(),o=x6(a(dne).selectedKeywordGroups,r,n,i);return rMe([o]),e(dMe,$be({underlined:!0},{children:o}),void 0)},hMe=Te(ZCe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(oMe||(oMe=Zbe(["\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})),dMe=Te.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(sMe||(sMe=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&Pe(aMe||(aMe=Zbe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),fMe=function(t){var i=t.modified,r=FS();return i?n(pMe,$be({className:"ms-fontColor-neutralTertiary"},{children:["(",e(VSe,$be({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=r.formatDate(i,{day:"2-digit",month:"2-digit",year:"numeric"}),t=r.formatTime(i);return e+" "+t}()}},{children:e(iC,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},pMe=Te.div(lMe||(lMe=Zbe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function mMe(){return mMe=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},mMe.apply(this,arguments)}var gMe=function(e){return r.createElement("svg",mMe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),r.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}}),r.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"}}),r.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),r.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}}),r.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"}}),r.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}}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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 vMe(){return vMe=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},vMe.apply(this,arguments)}var yMe=function(e){return r.createElement("svg",vMe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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 bMe(){return bMe=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},bMe.apply(this,arguments)}var wMe=function(e){return r.createElement("svg",bMe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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}}),r.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 xMe(){return xMe=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},xMe.apply(this,arguments)}var OMe,kMe,_Me,SMe,CMe,DMe,EMe,IMe,TMe,AMe,PMe,MMe=function(e){return r.createElement("svg",xMe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),r.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),r.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}}),r.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"}}),r.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}}),r.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),r.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"}}),r.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}}),r.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"}}),r.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"}}),r.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"}}),r.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}}),r.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}}))},NMe=function(t){var n=t.images,i=t.selectedIndex,r=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=Dk((function(){return Gbe(this,void 0,void 0,(function(){var e;return Ybe(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}):zAe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],u=s[1],c=s[2];return u||c?null:e(se,{children:e(RMe,{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:a(e.imageId,n,i),width:n,height:i,caption:e.imageTitle}}(e,l[t])})),selectedIndex:i,hidden:r,onClose:o},void 0)},void 0)},RMe=function(i){var r=i.images,o=i.hidden,a=i.selectedIndex,s=i.onClose,l=FS().formatMessage,h=u(null),d=u();return c((function(){var e;if(!o)return clearTimeout(d.current),d.current=setTimeout((function(){return e=function(){var e=new tie(h.current,iie,r.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:a});return e.listen("close",s),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[o,a]),n(t,{children:[e(LMe,{enforceArrowVisibility:!Ol.isNativeMobileApp},void 0),n("div",$be({ref:h,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"},void 0),n("div",$be({className:"pswp__scroll-wrap"},{children:[n("div",$be({className:"pswp__container"},{children:[e("div",{className:"pswp__item"},void 0),e("div",{className:"pswp__item"},void 0),e("div",{className:"pswp__item"},void 0)]}),void 0),n("div",$be({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",$be({className:"pswp__top-bar"},{children:[e("div",{className:"pswp__counter"},void 0),e("button",{className:"pswp__button pswp__button--close",title:l({id:"ImageViewer.closeCaption"})},void 0),e("button",{className:"pswp__button pswp__button--fs",title:l({id:"ImageViewer.toggleFullscreenCaption"})},void 0),e("div",$be({className:"pswp__preloader"},{children:e("div",$be({className:"pswp__preloader__icn"},{children:e("div",$be({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),e("div",$be({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:e("div",{className:"pswp__share-tooltip"},void 0)}),void 0),e("button",{className:"pswp__button pswp__button--arrow--left",title:l({id:"ImageView.previousCaption"})},void 0),e("button",{className:"pswp__button pswp__button--arrow--right",title:l({id:"ImageView.nextCaption"})},void 0),e("div",$be({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},LMe=Ae(kMe||(kMe=Zbe(["\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&&Pe(OMe||(OMe=Zbe(["\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 "])))})),jMe=function(i){var r=i.images,o=i.imageUrlResolver,s=i.disableRoundedCorners,l=i.gridBackgroundColor,u=i.className,c=FS().formatMessage,d=h(null),f=d[0],p=d[1],m=a(zte).theme.palette;if(!r||0===r.length)return null;var g=r.length>4,v=r.length>1,y=r[0];return n(BMe,$be({"data-multi-images":v,className:u,singleImageHeight:y.height,singleImageWidth:y.width},{children:[e("div",$be({"data-gallery-wrapper":!0},{children:v?n(t,{children:[e(WMe,$be({backgroundColor:null!=l?l:m.neutralLight,applyRoundedCorners:!s},{children:r.slice(0,4).map((function(t,n){return e(QMe,$be({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),b(n)},"aria-label":c({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(UMe,{src:t.previewUrl,imageFit:ae.centerCover,alt:t.imageTitle||""},void 0)}),n)}))}),void 0),g&&n(VMe,$be({onClick:function(){return b(4)}},{children:["+",r.length-4]}),void 0)]},void 0):e(FMe,{image:y,onClick:function(){return b(0)},disableRoundedCorners:s},void 0)}),void 0),e(NMe,{images:r,selectedIndex:f,hidden:null==f,onClose:function(){p(null)},imageUrlResolver:o},void 0)]}),void 0);function b(e){p(e)}},FMe=function(t){var n=t.image,i=t.onClick,r=t.disableRoundedCorners,o=FS().formatMessage;return e(zMe,$be({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:e("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},BMe=Te.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(SMe||(SMe=Zbe(["\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&&Pe(_Me||(_Me=Zbe(["\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)})),zMe=Te.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(DMe||(DMe=Zbe(["\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&&Pe(CMe||(CMe=Zbe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),WMe=Te.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(IMe||(IMe=Zbe(["\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&&Pe(EMe||(EMe=Zbe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),QMe=Te.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(TMe||(TMe=Zbe(["\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"]))),UMe=Te(j).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(AMe||(AMe=Zbe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),VMe=Te(R).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(PMe||(PMe=Zbe(["\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"])),18,u9.small,28);var qMe,HMe,$Me,KMe,GMe,YMe,XMe=function(t){var n=t.icon,i=t.isActive,r=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,u=Kbe(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),c=FS().formatMessage;if(!s&&!a)return null;var h=TV("header-button",l),d=s?e(eNe,$be({className:h,to:s},u,{children:e(L,{iconName:n},void 0)}),void 0):e(JMe,$be({className:h,disabled:r,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:c({id:o}),"data-button-type":"header-btn",isActive:i},u),void 0);return e(ZMe,$be({className:"tooltip-container"},{children:e(VSe,$be({resourceKey:o},{children:d}),void 0)}),void 0)},ZMe=Te.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(qMe||(qMe=Zbe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),JMe=Te(I).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(KMe||(KMe=Zbe(['\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&&Pe(HMe||(HMe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&Pe($Me||($Me=Zbe(["\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)})),eNe=Te(_e).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(YMe||(YMe=Zbe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return Pe(GMe||(GMe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),tNe=ywe,nNe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",iNe=RegExp("^"+nNe+nNe+"*"),rNe=RegExp(nNe+nNe+"*$"),oNe=function(e){return function(t){var n=String(tNe(t));return 1&e&&(n=n.replace(iNe,"")),2&e&&(n=n.replace(rNe,"")),n}},aNe={start:oNe(1),end:oNe(2),trim:oNe(3)},sNe=awe,lNe="\t\n\v\f\r                 \u2028\u2029\ufeff",uNe=aNe.trim,cNe=function(e){return sNe((function(){return!!lNe[e]()||"​…᠎"!="​…᠎"[e]()||lNe[e].name!==e}))};WOe({target:"String",proto:!0,forced:cNe("trim")},{trim:function(){return uNe(this)}});var hNe,dNe,fNe,pNe,mNe,gNe,vNe,yNe,bNe,wNe,xNe,ONe,kNe,_Ne,SNe,CNe,DNe,ENe=function(t){var n=t.url,i=t.target,r=t.ariaLabel,o=t.children,s=t.className,l=t.style,u=Kbe(t,["url","target","ariaLabel","children","className","style"]);o5();var c=aee(),h=a(lC);h.onOpenExternalLink;var d=h.tryGetInternalLink,f=!i&&d(n,c);return f?e(oCe,$be({className:s,to:f,"data-link":l9.Internal,"aria-label":r,style:l},u,{children:o}),void 0):e(INe,$be({url:n,target:i,className:s,ariaLabel:r,style:l},u,{children:o}),void 0)},INe=function(t){var n=t.url,i=t.target,r=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,u=Kbe(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(rCe,$be({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":l9.External,style:l},u,{children:s}),void 0)},TNe=Pe(hNe||(hNe=Zbe(["\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"]))),ANe=Te(ENe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(dNe||(dNe=Zbe(["\n ","\n"],["\n ","\n"])),TNe),PNe=Te(INe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(fNe||(fNe=Zbe(["\n ","\n"],["\n ","\n"])),TNe),MNe=Te(I).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(mNe||(mNe=Zbe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&Pe(pNe||(pNe=Zbe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),NNe=Te((function(t){var i,r=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,u=t.target,c=t.tooltipText,h=t.tooltipResourceKey,d=t.disabled,f=t.className,p=Kbe(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=FS().formatMessage,g=o||(null===(i=null==a?void 0:a.trim())||void 0===i?void 0:i.length)>0&&m({id:a});return n(VSe,$be({resourceKey:h,text:c},{children:[l&&!s&&e(ANe,$be({url:l,ariaLabel:g,target:u},p,{children:e(L,{iconName:r,className:f},void 0)}),void 0),s&&!l&&e(MNe,$be({disabled:d,iconProps:{iconName:r},onClick:s,className:f,ariaLabel:g},p),void 0),s&&l&&e(PNe,$be({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(L,{iconName:r,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(vNe||(vNe=Zbe(["\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&&Pe(gNe||(gNe=Zbe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),RNe=function(t){var i=t.shouldAutoFocus,r=void 0===i||i,o=FS(),s=h(null),l=s[0],d=s[1],f=Oe(),p=a(zte).theme.textColors,m=u();return c((function(){return Fne(v),r&&setTimeout((function(){var e;return m&&(null===(e=m.current)||void 0===e?void 0:e.focus())})),function(){Bne(v)}}),[]),c((function(){d("")}),[f.pathname]),n(FNe,$be({className:TV("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(LNe,{className:"search-input",useLightTheme:t.useLightTheme,default:!0,value:l||t.searchText||"",onChange:function(e,t){return g(t)},onKeyDown:function(e){"Enter"===e.key&&t.onExecuteSearch&&t.onExecuteSearch(l);"Escape"===e.key&&g("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:t.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return m.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),t.searching&&e(jNe,{className:"search-spinner"},void 0),e(BNe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;d(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&p.onPrimary},void 0)]}),void 0);function g(e){var n;d(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function v(){return!(!l&&!t.searchText)&&(g(""),!0)}},LNe=Te(M).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(wNe||(wNe=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?Pe(yNe||(yNe=Zbe(["\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}),FAe("color: "+e.theme.textColors.default)):Pe(bNe||(bNe=Zbe(["\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}),FAe("color: "+e.theme.textColors.onPrimary))})),jNe=Te(D).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(xNe||(xNe=Zbe(["\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})),FNe=Te.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(_Ne||(_Ne=Zbe(["\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"])),FAe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?Pe(ONe||(ONe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):Pe(kNe||(kNe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),BNe=Te(ZSe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(SNe||(SNe=Zbe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),zNe=function(i){var r=i.onSearchInputFieldVisibilityChanged,o=i.isToolbarMode,a=i.onExecuteSearch,s=i.onSearchTextChange,l=i.searchText,u=i.showSearchBoxInput,d=i.className,f=i.shouldAutoFocus,p=h(!!l),m=p[0],g=p[1],v=u||m||!!l;return c((function(){null==r||r(v)}),[v]),n(t,{children:[v&&e(RNe,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),y(!1)},shouldAutoFocus:f,className:d,useLightTheme:o},void 0),!v&&(o?e(NNe,{iconName:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):e(XMe,{icon:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function y(e){g(e),null==r||r(e)}},WNe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},QNe=Uwe,UNe=ywe,VNe=WNe,qNe=bAe;hAe("search",1,(function(e,t,n){return[function(t){var n=UNe(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=QNe(e),o=String(this),a=r.lastIndex;VNe(a,0)||(r.lastIndex=0);var s=qNe(r,o);return VNe(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),Te.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(CNe||(CNe=Zbe(["\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"}(DNe||(DNe={})),Te(L).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(HNe||(HNe=Zbe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),Te.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(GNe||(GNe=Zbe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?Pe($Ne||($Ne=Zbe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):Pe(KNe||(KNe=Zbe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),Te.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(YNe||(YNe=Zbe(["\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"})),Te.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(XNe||(XNe=Zbe(["\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 HNe,$Ne,KNe,GNe,YNe,XNe,ZNe,JNe,eRe,tRe=Te.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(ZNe||(ZNe=Zbe(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));Te.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(JNe||(JNe=Zbe(["\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"}),tRe,(function(e){return e.isLoading?"0.6":"1"})),Te(YDe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(eRe||(eRe=Zbe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var nRe,iRe,rRe=function(t){return e(oRe,$be({},t,{"data-toggle-button":!0}),void 0)},oRe=Te(F).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(nRe||(nRe=Zbe(["\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})),aRe=function(e){return Pe(iRe||(iRe=Zbe(["\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 sRe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[v6(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var lRe=hAe,uRe=Uwe,cRe=VOe,hRe=eOe,dRe=Xxe,fRe=ywe,pRe=gAe,mRe=bAe,gRe=Math.max,vRe=Math.min,yRe=Math.floor,bRe=/\$([$&'`]|\d\d?|<[^>]*>)/g,wRe=/\$([$&'`]|\d\d?)/g,xRe=function(e){return void 0===e?e:String(e)};lRe("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=fRe(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=uRe(e),c=String(this),h="function"==typeof i;h||(i=String(i));var d=u.global;if(d){var f=u.unicode;u.lastIndex=0}for(var p=[];;){var m=mRe(u,c);if(null===m)break;if(p.push(m),!d)break;""===String(m[0])&&(u.lastIndex=pRe(c,hRe(u.lastIndex),f))}for(var g="",v=0,y=0;y<p.length;y++){m=p[y];for(var b=String(m[0]),w=gRe(vRe(dRe(m.index),c.length),0),x=[],O=1;O<m.length;O++)x.push(xRe(m[O]));var k=m.groups;if(h){var _=[b].concat(x,w,c);void 0!==k&&_.push(k);var S=String(i.apply(void 0,_))}else S=s(b,c,w,x,k,i);w>=v&&(g+=c.slice(v,w)+S,v=w+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=wRe;return void 0!==o&&(o=cRe(o),u=bRe),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 h=yRe(c/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var ORe=Owe,kRe=H_e,_Re=swe,SRe=rwe,CRe=MOe,DRe=function(e,t,n){var i,r;return kRe&&"function"==typeof(i=t.constructor)&&i!==n&&ORe(r=i.prototype)&&r!==n.prototype&&kRe(e,r),e},ERe=Wwe.f,IRe=Kxe.f,TRe=zke,ARe=_Ce,PRe=WTe,MRe=Zwe.exports,NRe=awe,RRe=Rxe.set,LRe=rEe,jRe=Lke("match"),FRe=SRe.RegExp,BRe=FRe.prototype,zRe=/a/g,WRe=/a/g,QRe=new FRe(zRe)!==zRe,URe=PRe.UNSUPPORTED_Y;if(_Re&&CRe("RegExp",!QRe||URe||NRe((function(){return WRe[jRe]=!1,FRe(zRe)!=zRe||FRe(WRe)==WRe||"/a/i"!=FRe(zRe,"i")})))){for(var VRe=function(e,t){var n,i=this instanceof VRe,r=TRe(e),o=void 0===t;if(!i&&r&&e.constructor===VRe&&o)return e;QRe?r&&!o&&(e=e.source):e instanceof VRe&&(o&&(t=ARe.call(e)),e=e.source),URe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=DRe(QRe?new FRe(e,t):FRe(e,t),i?this:BRe,VRe);return URe&&n&&RRe(a,{sticky:n}),a},qRe=function(e){e in VRe||ERe(VRe,e,{configurable:!0,get:function(){return FRe[e]},set:function(t){FRe[e]=t}})},HRe=IRe(FRe),$Re=0;HRe.length>$Re;)qRe(HRe[$Re++]);BRe.constructor=VRe,VRe.prototype=BRe,MRe(SRe,"RegExp",VRe)}LRe("RegExp");var KRe,GRe=u9.small-40,YRe=u9.medium-40;function XRe(e){return!!e&&oLe.test(e)}function ZRe(e){return e?"https://www.google.com/maps/search/?api=1&"+$g.stringify({query:e}):null}function JRe(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}Te.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(KRe||(KRe=Zbe(["\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"])),10,c9,20,10,10,u9.small,20,GRe,u9.medium,YRe);var eLe,tLe,nLe,iLe,rLe,oLe=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"),aLe=Te.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(tLe||(tLe=Zbe(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,2.3333333333333335,(function(e){return e.showPlaceholder&&Pe(eLe||(eLe=Zbe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),u9.small,GRe,2.3333333333333335,u9.medium,(function(e){return e.defaultWidth?e.defaultWidth:250}));Te.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(iLe||(iLe=Zbe(["\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&&Pe(nLe||(nLe=Zbe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),Te(L).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(rLe||(rLe=Zbe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var sLe,lLe,uLe,cLe,hLe,dLe,fLe,pLe,mLe,gLe=function(i){var r=i.enterDuration,o=i.leaveDuration,a=i.children,s=i.style,l=i.className,u=!!r,c=!!o,h="common-opacity-animation_"+r+"_"+o;return n(t,{children:[e(vLe,{name:h,enterDuration:r,leaveDuration:o},void 0),e(Bie,$be({style:s,className:l,transitionName:h,transitionAppear:u,transitionEnter:u,transitionLeave:c,transitionLeaveTimeout:o,transitionAppearTimeout:r,transitionEnterTimeout:r},{children:a}),void 0)]},void 0)},vLe=Ae(sLe||(sLe=Zbe(["\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})),yLe=function(t){var n=t.contentLanguageCode,i=t.originalContent,r=t.content,o=t.onTranslate,a=t.onContentChange,s=t.itemType,l=t.itemId,u=t.tooltipResourceKey,d=t.showLabel,f=FS().formatMessage,p=r5(),m=o5(),g=h(null),v=g[0],y=g[1],b=h(i===r),w=b[0],x=b[1],O=Yte().showError,k=w9(),_=k.interaction,S=k.module,C=v6(p);if(c((function(){return y(null)}),[i]),!m.automaticTranslation)return null;var D=f({id:"Generic.translate"});return n&&n!==C&&g6.includes(C)&&!m6.includes(C)?e(VSe,$be({resourceKey:w?"Generic.translateTo":u,values:{language:f({id:"Generic.languages."+C})}},{children:e(bLe,$be({"aria-label":d?null:D,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return Gbe(this,void 0,void 0,(function(){var e;return Ybe(this,(function(t){switch(t.label){case 0:return w?v?(a(v),x(!1),[3,4]):[3,1]:(a(i),x(!0),_({event:p9.translateContent,value:null,action:m9.click,item:{id:l,type:s},module:S}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(C)];case 2:return e=t.sent(),a(e),y(e),x(!1),[3,4];case 3:return t.sent(),O("Generic.error"),[3,4];case 4:return _({event:p9.translateContent,value:C,itemType:s,action:m9.click,itemId:l,item:{id:l,type:s},module:S}),[2]}}))}))}},{children:d&&D}),void 0)}),void 0):null},bLe=Te(ZCe)(lLe||(lLe=Zbe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),wLe=Te(B).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(uLe||(uLe=Zbe(["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),xLe=function(i){var r=i.comment,o=i.showEdit,a=i.showDelete,s=i.onDelete,l=i.isEditMode,c=i.toggleEditMode,d=i.originalContent,f=i.currentContent,p=i.setContent,m=i.handleTranslate,g=i.showAutoTranslate,v=i.onReply,y=i.disabled,b=FS().formatMessage,w=r5(),x=h(!1),O=x[0],k=x[1],_=u(null);return w.isPublicUser&&!g?null:w.isPublicUser&&g?e(yLe,{"data-auto-translate-button":r.id,originalContent:d,onContentChange:function(e){k(!1),p(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:N5.Comments,itemId:r.id},void 0):n(t,{children:[e("div",$be({ref:_},{children:e(kLe,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return k(!O)},ariaLabel:b({id:"AriaLabel.contextMenuButton"}),disabled:y},void 0)}),void 0),O&&e(SLe,$be({"data-context-menu":!0,target:_.current,onDismiss:function(){return k(!1)}},{children:n(OLe,{children:[e(VSe,$be({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:e(_Le,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==v||v(r,r.sender),k(!1)},text:b({id:"Comment.replyButton"})},void 0)}),void 0),g&&e(yLe,{"data-auto-translate-button":r.id,originalContent:d,onContentChange:function(e){k(!1),p(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:N5.Comments,itemId:r.id},void 0),o&&e(VSe,$be({resourceKey:"Comment.edit.tooltip"},{children:e(_Le,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){c(!0),k(!1)},text:b({id:"Generic.edit"}),disabled:!r.id||l},void 0)}),void 0),a&&e(VSe,$be({resourceKey:"Comment.delete.tooltip"},{children:e(_Le,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),k(!1)},text:b({id:"Generic.Delete"}),disabled:!r.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},OLe=Te.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(cLe||(cLe=Zbe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),kLe=Te(ZSe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(hLe||(hLe=Zbe(["\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),_Le=Te(ZCe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(dLe||(dLe=Zbe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),SLe=Te(iDe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(fLe||(fLe=Zbe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);Te(R).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(pLe||(pLe=Zbe(["\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"]))),Te(R).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(mLe||(mLe=Zbe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var CLe,DLe,ELe,ILe,TLe,ALe=Te(I).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(CLe||(CLe=Zbe(["\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})),PLe=function(t){var i=t.toggleAll,r=t.className,o=a(zte).theme.palette.accent;return n(MLe,$be({className:r},{children:[e(NLe,$be({onClick:function(){return i(!0)},"data-button-toggle":"selectAll",color:o},{children:e(iC,{id:"Generic.SelectAll"},void 0)}),void 0),e(NLe,$be({onClick:function(){return i(!1)},"data-button-toggle":"clearAll",color:o},{children:e(iC,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},MLe=Te.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(DLe||(DLe=Zbe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),NLe=Te(ZCe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(ELe||(ELe=Zbe(["\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"])));Te((function(t){var i=t.iconName,r=t.textKey,o=Kbe(t,["iconName","textKey"]);return n(Se,$be({},o,{children:[i&&e(L,{iconName:i},void 0),e(iC,{id:r},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(ILe||(ILe=Zbe(["\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"])),10,(function(e){return e.theme.palette.accent})),Te(ZSe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(TLe||(TLe=Zbe([""],[""])));var RLe,LLe,jLe,FLe,BLe=function(t){var n=t.language,i=t.channel,r=t.role,o=t.className,s=r5(),l=ULe(a(dne).channels,i,s,n);return e(zLe,$be({title:l,className:o,role:r},{children:l}),void 0)},zLe=Te.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(RLe||(RLe=Zbe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),WLe=function(i){var r=i.channels,o=i.language;return e(t,{children:r.map((function(t,i){var r=QLe(t)?t.id:t;return n("span",{children:[i>0&&", ",e(BLe,{channel:t,language:o},void 0)]},r)}))},void 0)};function QLe(e){return null!=e.id}function ULe(e,t,n,i){if(null==e&&!QLe(t))return t;var r=QLe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==r)return null;i||(i=v6(n));var o=r.translations||null!=e&&e.filter((function(e){return e.id===r.id})).map((function(e){return e.translations}))[0]||{};return i&&o[i]||o[n.subscription.defaultLanguage]||r.name}Te(BLe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(LLe||(LLe=Zbe(["\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"}),25),Te.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(jLe||(jLe=Zbe(["\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"])),10,15,jAe(2,2),25),Te(ZSe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(FLe||(FLe=Zbe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var VLe,qLe,HLe,$Le,KLe,GLe,YLe,XLe,ZLe,JLe,eje,tje=function(t){var i=t.channels,r=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,u=t.className;if(!i||0===i.length)return null;var c=i.length>s;return n(rje,$be({className:u,"data-has-more-indicator":c},{children:[e(nje,{channels:i.slice(0,s),language:r,channelStyleDefinition:o,onChannelClick:l},void 0),c&&e(ije,{channels:i.slice(s),language:r,styleDefinition:o,onChannelClick:l},void 0)]}),void 0)},nje=function(t){var n=t.channels,i=t.language,r=t.channelStyleDefinition,o=t.onChannelClick;return e(oje,$be({"data-channels":!0},{children:n.map((function(t){var a=e(BLe,{channel:t,language:i},void 0);return o?e(aje,$be({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(t)},"data-rounded-outline":!0},{children:a}),t):e(sje,$be({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),t)}))}),void 0)},ije=function(i){var r=i.channels,o=i.language,a=i.styleDefinition,s=i.onChannelClick,l=u(),c=h(!1),d=c[0],f=c[1];return n(t,{children:[e(uje,$be({ref:l,backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color},{children:e(cje,$be({onClick:function(){return f(!0)}},{children:"+"+r.length}),void 0)}),void 0),d&&e(hje,$be({target:l.current,onDismiss:function(){return f(!1)}},{children:e(dje,{children:r.map((function(t){return e("li",{children:s?e(ZCe,$be({onClick:function(){return s(t)}},{children:e(BLe,{channel:t,language:o},void 0)}),void 0):e(BLe,{channel:t,language:o},void 0)},t)}))},void 0)}),void 0)]},void 0)},rje=Te.div(VLe||(VLe=Zbe(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),oje=Te.div(qLe||(qLe=Zbe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),aje=Te(ZCe)(HLe||(HLe=Zbe(["\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 lje(e.bubbleCount,e.backgroundColor,e.color)})),sje=Te.span($Le||($Le=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return lje(e.bubbleCount,e.backgroundColor,e.color)})),lje=function(e,t,n){return Pe(YLe||(YLe=Zbe(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&Pe(KLe||(KLe=Zbe(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&Pe(GLe||(GLe=Zbe(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),qSe({backgroundColor:t,color:n}))},uje=Te.div(XLe||(XLe=Zbe(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return qSe({backgroundColor:e.backgroundColor,color:e.color})})),cje=Te(ZCe)(ZLe||(ZLe=Zbe(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),hje=Te(iDe)(JLe||(JLe=Zbe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),dje=Te.ul(eje||(eje=Zbe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),fje=function(t){var i=t.channels,r=t.buildChannelFilterUrl,o=t.language,a=t.channelBackgroundColor,s=t.onClick,l=t.className;return(null==i?void 0:i.length)?e(Tje,$be({className:l,"data-channels":i.join(",")},{children:i.map((function(t){var i=pje(t)?t.id:t,l=e(Aje,$be({backgroundColor:a},{children:e(BLe,{channel:t,language:o},void 0)}),void 0);return n("li",{children:[r&&e(Pje,$be({"data-channel":!0,to:r(pje(t)?t.name:t),"data-rounded-outline":!0},{children:l}),void 0),s&&e(Nje,$be({"data-rounded-outline":!0,onClick:function(){return s(pje(t)?t.name:t)}},{children:l}),void 0),!s&&!r&&e(Mje,{children:l},void 0)]},i)}))}),void 0):null};function pje(e){return null!=e.id}var mje,gje,vje,yje,bje,wje,xje,Oje,kje,_je,Sje,Cje,Dje,Eje,Ije,Tje=Te.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(mje||(mje=Zbe(["\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"])),14),Aje=Te.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(gje||(gje=Zbe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?qSe({backgroundColor:e.backgroundColor}):qSe()})),Pje=Te(Se).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(vje||(vje=Zbe(["\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),Mje=Te.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(yje||(yje=Zbe(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),Nje=Te(ZCe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(bje||(bje=Zbe(["\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),Rje=function(i){var r=i.searchText,o=i.onSearchTextChange,a=i.onExecuteSearch,s=i.onSearchIconClick,l=i.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(Lje,{children:e(zNe,{searchText:r,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0},void 0)},void 0),e(jje,{children:e(NNe,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},Lje=Te.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(wje||(wje=Zbe(["\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"])),h9),jje=Te.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(xje||(xje=Zbe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),u9.medium),Fje=function(t){var i=t.leftSide,r=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,u=t.children,c=h(!1),d=c[0],f=c[1];return n(Bje,$be({className:l,"data-content-toolbar":!0},{children:[n(Qje,{children:[i&&!r&&e(zje,{children:i},void 0),(o||s)&&!a&&n(Wje,{children:[s&&e(Rje,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?p():f(!0)},onSearchInputFieldVisibilityChanged:function(e){return f(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&e(Uje,{children:e(RNe,{onClear:p,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function p(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),f(!1)}},Bje=Te.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(Oje||(Oje=Zbe(["\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),zje=Te.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(kje||(kje=Zbe(["\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"]))),Wje=Te.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(_je||(_je=Zbe(["\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"]))),Qje=Te.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(Sje||(Sje=Zbe(["\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"]))),Uje=Te.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(Cje||(Cje=Zbe(["\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"])),u9.medium);Te(Fje).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(Dje||(Dje=Zbe(["\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"])),10,10,u9.medium,20,20),Te.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(Eje||(Eje=Zbe(["\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"]))),Te.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(Ije||(Ije=Zbe([""],[""])));var Vje,qje,Hje,$je,Kje,Gje,Yje,Xje,Zje,Jje,eFe,tFe=function(i){var r=i.onEmojiSelected,o=i.disabled,a=u(null),s=h(!1),l=s[0],c=s[1],d=FS().formatMessage;return n(t,{children:[e(nFe,$be({ref:a},{children:e(ZSe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return c(!0)},disabled:o,ariaLabel:d({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&e(iFe,$be({directionalHint:K.topCenter,target:a.current,onDismiss:function(){return c(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(oFe,{onSelect:function(e){c(!1),r(e.native)}},void 0)}),void 0)]},void 0)},nFe=Te.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(Vje||(Vje=Zbe([""],[""]))),iFe=Te(iDe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(qje||(qje=Zbe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),rFe=y((function(){return import("./EmojiPicker.esm.esm.js")})),oFe=function(t){var n=t.onSelect,i=Ek();return e(b,$be({fallback:e(aFe,$be({isSmaller:i.width<u9.small},{children:e(YDe,{},void 0)}),void 0)},{children:e(rFe,{onSelect:n},void 0)}),void 0)},aFe=Te.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(Hje||(Hje=Zbe(["\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})),sFe=function(){var t=Ng();return e(lFe,{children:e("a",$be({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:e("img",{src:t.webAppUrl+"/assets/giphy/PoweredBy_200px-White_HorizText.png",alt:"Giphy Attribution"},void 0)}),void 0)},void 0)},lFe=Te.div($je||($je=Zbe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),uFe=function(t){var i,r,o=t.onGifClick,a=t.className,s=Hg(),l=FS().formatMessage,u=new Jae.GiphyFetch(s.giphy.apiKey),c=h(null),d=c[0],f=c[1],p=Ube(d,500)[0],m=Ek(),g=Dk((function(){if(!p)return u.trending({limit:21});return u.search(p,{limit:21})}),null,[p]),v=g[0],y=g[1],b=m.width<550?80:100;return n(cFe,$be({className:a},{children:[e(re,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0},void 0),n(hFe,$be({columnWidth:b,"data-gif-grid":!0},{children:[y&&e(YDe,{delay:300},void 0),0===(null===(i=null==v?void 0:v.data)||void 0===i?void 0:i.length)&&e(iC,{id:"Generic.noResultsFound"},void 0),null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.map((function(t){return e(dFe,{gif:t,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}),void 0)]}),void 0)},cFe=Te.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(Kje||(Kje=Zbe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),hFe=Te.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(Gje||(Gje=Zbe(["\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"])),10,(function(e){return e.columnWidth}),6),dFe=Te(zie.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(Yje||(Yje=Zbe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),fFe=function(t){var i=t.target,r=t.onGifClick,o=t.onDismiss;return n(pFe,$be({directionalHint:K.topCenter,target:i,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(mFe,{onGifClick:r},void 0),e(sFe,{},void 0)]}),void 0)},pFe=Te(iDe)(Xje||(Xje=Zbe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),mFe=Te(uFe)(Zje||(Zje=Zbe(["\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"])));Ae(Jje||(Jje=Zbe(["\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"])),c9),Te(uFe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(eFe||(eFe=Zbe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10);var gFe,vFe,yFe,bFe,wFe,xFe,OFe=function(i){var r=i.disabled,o=i.onGifClick,a=o5(),s=FS().formatMessage,l=u(),c=h(!1),d=c[0],f=c[1];return a.giphy?n("div",{children:[e("div",$be({ref:l},{children:e(ZSe,{iconProps:{iconName:"Gif"},onClick:function(){return f(!0)},disabled:r,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})},void 0)}),void 0),d&&e(t,{children:e(fFe,{target:l.current,onGifClick:function(e){f(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:A5.Giphy})},onDismiss:function(){return f(!1)}},void 0)},void 0)]},void 0):null},kFe=function(t){var n=t.gifInfo,i=t.className,r=Hg(),o=h(),a=o[0],s=o[1];return c((function(){new Jae.GiphyFetch(r.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[r.giphy.apiKey,n.id]),a?e(_Fe,$be({className:i},{children:e(SFe,{gif:a,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},_Fe=Te.div(gFe||(gFe=Zbe([""],[""]))),SFe=Te(zie.Gif)(vFe||(vFe=Zbe(["\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"])),c9),CFe=function(t){var n=t.attachments,i=t.onDeleteClick,r=t.className,o=FS().formatMessage,a=n.filter((function(e){return e.type===A5.Giphy}));return 0===a.length?null:e(DFe,$be({className:r,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(EFe,$be({domIdentifier:"gif",deleteButton:e(ALe,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:e(kFe,{gifInfo:t},void 0)}),t.id)}))}),void 0)},DFe=Te.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(yFe||(yFe=Zbe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),EFe=Te(KCe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(bFe||(bFe=Zbe(["\n width: auto;\n"],["\n width: auto;\n"]))),IFe=function(t){var n=t.attachments,i=t.className,r=n.filter((function(e){return e.type===A5.Giphy}));return 0===r.length?null:e(TFe,$be({className:i,"data-gif-url-preview":r[0].id},{children:e(AFe,{children:e(kFe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},TFe=Te.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(wFe||(wFe=Zbe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),AFe=Te(KCe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(xFe||(xFe=Zbe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var PFe,MFe,NFe,RFe=function(t){var i,r,o=u(null),a=h(!1),s=a[0],l=a[1];return n(LFe,$be({className:t.className},((i={})[t.dataAttribute]=!0,i),{ref:o},{children:[e(jFe,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return Gbe(this,void 0,void 0,(function(){var e,n;return Ybe(this,(function(i){switch(i.label){case 0:return(e=t.disabled)?[3,3]:(n=t.onIconClick)?[4,t.onIconClick()]:[3,2];case 1:n=i.sent(),i.label=2;case 2:e=n,i.label=3;case 3:return e||l(!s),[2]}}))}))},ariaLabel:t.ariaLabel,disabled:t.disabled},void 0),s&&e(FFe,$be({className:"icon-with-callout-content",target:o,directionalHint:null==t.directionalHint?K.rightCenter:t.directionalHint,gapSpace:4,onDismiss:function(){var e;l(!1),null===(e=t.onCalloutDismissed)||void 0===e||e.call(t)},calloutWidth:null!==(r=t.calloutWidth)&&void 0!==r?r:0},{children:t.children}),void 0)]}),void 0)},LFe=Te.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(PFe||(PFe=Zbe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),jFe=Te(ZSe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(MFe||(MFe=Zbe(["\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"]))),FFe=Te(iDe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(NFe||(NFe=Zbe(["\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"]))),BFe="video-view-container";function zFe(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 WFe=["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 QFe(e){return UFe(null==e?void 0:e.preferredLocale)||UFe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||UFe(null==e?void 0:e.preferredUiLanguage)||UFe(navigator.language)||"en"}function UFe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),WFe.find((function(t){return t===e}))):null}var VFe,qFe,HFe,$Fe,KFe,GFe,YFe,XFe,ZFe,JFe=function(t){var i=t.onNextClick,r=t.onPrevClick,o=t.onFirstClick,s=t.hidePrevButton,l=t.hideNextButton,u=t.isLoadingNextPage,c=t.className,h=FS().formatMessage,d=a(zte).theme.palette;return l&&s?null:n(eBe,$be({className:c},{children:[e(VSe,$be({resourceKey:"Lib.paging.goToFirstPage"},{children:e(nBe,{ariaLabel:h({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:s,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),e(iBe,{iconProps:{iconName:"ChevronLeftSmall"},text:h({id:"Generic.previous.page.button.text"}),isHidden:s,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),e(rBe,{iconProps:{iconName:"ChevronRightSmall"},text:h({id:"Generic.next.page.button.text"}),disabled:u,isHidden:l,onClick:i,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},eBe=Te.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(VFe||(VFe=Zbe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),20),tBe=Te(ZCe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(HFe||(HFe=Zbe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&Pe(qFe||(qFe=Zbe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),nBe=Te(tBe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})($Fe||($Fe=Zbe([""],[""]))),iBe=Te(tBe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(KFe||(KFe=Zbe([""],[""]))),rBe=Te(tBe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(GFe||(GFe=Zbe(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));Te.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(YFe||(YFe=Zbe(["\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})),Te.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(XFe||(XFe=Zbe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),60),Te.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(ZFe||(ZFe=Zbe(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var oBe=pwe,aBe=Array.isArray||function(e){return"Array"==oBe(e)},sBe=aBe,lBe=eOe,uBe=cEe,cBe=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,h=!!a&&uBe(a,s,3);c<i;){if(c in n){if(l=h?h(n[c],c,t):n[c],o>0&&sBe(l))u=cBe(e,t,l,lBe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},hBe=cBe,dBe=Owe,fBe=aBe,pBe=Lke("species"),mBe=hBe,gBe=VOe,vBe=eOe,yBe=QOe,bBe=function(e,t){var n;return fBe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!fBe(n.prototype)?dBe(n)&&null===(n=n[pBe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function wBe(e,t,n){var i=function(e){var t=h(0),n=t[0],i=t[1],r=h({pages:{},paginationToken:null,hasNextPage:!0}),o=r[0],a=r[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:Xbe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){a((function(r){var o;return{pages:Hbe(r.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){i(t?e*t:function(t){return t+e})},updateItem:function(e,t){a((function(n){for(var i=$be({},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 $be($be({},n),{pages:i})}))},insertToTheFront:function(t){for(var r,s,l=Xbe([t],(null===(r=o.pages)||void 0===r?void 0:r[0])||[]),u=$be($be({},o.pages),{0:l}),c=Object.keys(u).length,h=0;h<c;){var d=0===h,f=Object.keys(u)[h],p=u[f].length;if(d&&p>e&&p<=2*e){n<2*e&&i(n+e);break}if(p<=e)break;var m=u[f].pop(),g=null!==(s=Object.keys(u)[h+1])&&void 0!==s?s:d?2*e:+f+e,v=u[g];if(!v){o.hasNextPage||(u[g]=[m],i(n+e));break}v.unshift(m),h++}a($be($be({},o),{pages:u}))},deleteItem:function(t){for(var r=$be({},o.pages),s=Object.keys(r).length,l=0;l<s;){var u=Object.keys(r)[l];if(r[u].find((function(e){return e.id===t}))){r[u]=r[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<s;){if(!r[u=Object.keys(r)[l++]].length&&l===s){delete r[u],c=!0;break}var h=Object.keys(r)[l],d=h?r[h]:null;if(!d)break;var f=d.shift();r[u].push(f)}a($be($be({},o),{pages:r}));var p=(c||r[0].length===e)&&n>e;return p&&i(n-e),p}}}(e),r=i.state,o=i.setInitialPages,a=i.updatePageItems,s=i.lastFetchedPageIndex,l=i.updateLastFetchedPageIndex,u=i.updateItem,d=i.insertToTheFront,f=i.deleteItem,p=h(0),m=p[0],g=p[1],v=h(!0),y=v[0],b=v[1],w=h(!1),x=w[0],O=w[1],k=h(null),_=k[0],S=k[1];c((function(){D()}),Xbe([e],n||[]));var C=Object.keys(r.pages).flatMap((function(e){return r.pages[e]})).slice(m-e,m);return{items:C,isInitialLoading:y,isLoadingNextPage:x,error:_,getFirstPage:function(){return g(e)},getPrevPage:function(){return g(m-e)},getNextPage:function(){return Gbe(this,void 0,void 0,(function(){return Ybe(this,(function(t){switch(t.label){case 0:return g(m+e),r.hasNextPage&&m===s-e?[4,E(r.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:m===e,isLastPage:m===s&&!r.hasNextPage,isEmpty:!y&&0===(null==C?void 0:C.length),insertToTheFront:d,updateItem:u,onBeforeDeleteItem:function(t){var n=f(t);!r.hasNextPage&&n&&m>=s&&m>0&&g(m-e);O(!0)},onAfterDeleteItem:function(){return Gbe(this,void 0,void 0,(function(){return Ybe(this,(function(t){switch(t.label){case 0:return r.hasNextPage?r.paginationToken!==2*e?[3,2]:[4,D()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+r.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return O(!1),[2]}}))}))}};function D(){return Gbe(this,void 0,void 0,(function(){var n,i;return Ybe(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=r.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(l(1),g(e)):(l(2),g(e)),[3,4];case 2:return i=r.sent(),nv.error(i),S(i),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function E(n){return Gbe(this,void 0,void 0,(function(){var i,r;return Ybe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),O(!0),[4,t(e,n)];case 1:return i=o.sent(),a(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),nv.error(r),S(_),[3,4];case 3:return O(!1),[7];case 4:return[2]}}))}))}}WOe({target:"Array",proto:!0},{flatMap:function(e){var t,n=gBe(this),i=vBe(n.length);return yBe(e),(t=bBe(n,0)).length=mBe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),y_e("flatMap");var xBe,OBe,kBe,_Be,SBe,CBe,DBe,EBe=function(i){var r=i.onNextClick,o=i.onPrevClick,s=i.hidePagination,l=i.disablePrevButton,u=i.disableNextButton,c=i.children,h=i.className,d=a(zte).theme.palette,f=FS().formatMessage;return s?e(t,{children:c},void 0):n(IBe,$be({className:h},{children:[e(ABe,{disabled:l,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:d.accent,ariaLabel:f({id:"Lib.paging.previous"})},void 0),e(MBe,{children:c},void 0),e(PBe,{disabled:u,onClick:r,iconProps:{iconName:"ChevronDownSmall"},color:d.accent,ariaLabel:f({id:"Lib.paging.next"})},void 0)]}),void 0)},IBe=Te.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(xBe||(xBe=Zbe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),TBe=Te(ZSe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(OBe||(OBe=Zbe(["\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"])),"#333333"),ABe=Te(TBe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(kBe||(kBe=Zbe(["\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})),PBe=Te(TBe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(_Be||(_Be=Zbe(["\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})),MBe=Te.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(SBe||(SBe=Zbe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),NBe=s(null);Te.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(CBe||(CBe=Zbe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),Te.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(DBe||(DBe=Zbe(["\n display: contents;\n"],["\n display: contents;\n"])));var RBe,LBe,jBe,FBe,BBe,zBe,WBe,QBe,UBe,VBe=Pe(RBe||(RBe=Zbe(["\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"]))),qBe=Pe(LBe||(LBe=Zbe(["\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"])),VBe,u9.medium,20),HBe=Pe(jBe||(jBe=Zbe(["\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})),$Be=Pe(FBe||(FBe=Zbe(["\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"])),h9),KBe=function(i){var r=i.getInitialSelectedKey,o=i.bookmarkOption,s=i.manageChannelsOption,l=i.allChannelsOption,u=i.channelsOptions,c=r5(),d=a(dne).channels,f=FS().formatMessage,p=function(){var e=[];l&&e.push({key:"AllChannels",text:f({id:"Channels.All"}),data:{pathname:l.to,iconName:"Org",exact:!0,onSelected:l.onSelected}});if(u){var t=(u.availableChannels?(d||[]).filter((function(e){return u.availableChannels.some((function(t){return e.id===t||e.name===t}))})):c.channels.filter((function(e){return e.isPinnedToNavigation}))).map((function(e){return e}));e=e.concat.apply(e,t.map((function(e){return function(e){var t;return{key:e.id,text:ULe(d,e,c),data:{pathname:null===(t=u.to)||void 0===t?void 0:t.call(u,e),iconName:"Org",exact:!1,channelName:e.name,onSelected:u.onSelected?function(){return u.onSelected(e)}:null}}}(e)})))}o&&e.push({key:"Bookmarks",text:f({id:"Generic.bookmarks"}),data:{pathname:o.to,iconName:"DoubleBookmark",exact:!0,onSelected:o.onSelected}});s&&e.push({key:"ManageChannels",text:f({id:"PageMenu.manageUserChannels"}),data:{pathname:s.to,iconName:"CollapseMenu",exact:!0,onSelected:s.onSelected}});return e}(),m=h((function(){return(null==r?void 0:r(p))||"AllChannels"})),g=m[0],v=m[1];return n(t,{children:[e(GBe,{},void 0),e(YBe,{options:p,onRenderOption:function(t){if(t.data.onSelected)return n(ZBe,{children:[e(L,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key);return n(XBe,$be({to:t.data.pathname,exact:t.data.exact,isActive:t.key===g?function(){return!0}:void 0},{children:[e(L,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]}),t.key)},selectedKey:g,onChange:function(e,t){var n,i;v(t.key.toString()),null===(i=null===(n=t.data)||void 0===n?void 0:n.onSelected)||void 0===i||i.call(n)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:f({id:"AriaLabel.toolbarChannelSelector"})},void 0)]},void 0)},GBe=Ae(BBe||(BBe=Zbe(["\n ","\n"],["\n ","\n"])),$Be),YBe=Te(CDe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(zBe||(zBe=Zbe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),qBe),XBe=Te(Se).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(WBe||(WBe=Zbe(["\n ","\n"],["\n ","\n"])),HBe),ZBe=Te.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(QBe||(QBe=Zbe(["\n ",";\n"],["\n ",";\n"])),HBe),JBe=function(t){var n=t.handler,i=t.disabled;return o5().unreadTracking?e(NNe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},eze=function(t){var n=t.onClick,i=o5(),r=h(!1),o=r[0],a=r[1];return i.unreadTracking?e(NNe,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:"view",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o},void 0):null},tze=function(t){var n=t.onClick,i=t.to,r=t.disabled;return e(NNe,{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)},nze=function(t){var n=t.onClick,i=t.to;return e(NNe,{iconName:"Cancel",onClick:n,to:null==i?void 0:i.url,target:null==i?void 0:i.target,tooltipResourceKey:"Generic.close",ariaLabelResourceKey:"Generic.close","data-toolbar-close-button":!0},void 0)};!function(e){e.UpcomingEvents="upcoming",e.MyBookedEvents="booked",e.PastEvents="past"}(UBe||(UBe={}));var ize,rze,oze,aze,sze=function(i){var r=i.value,o=i.onChange,a=i.viewOptions,s=FS().formatMessage,l=function(){var e=[];(null==a?void 0:a.hideUpcomingEventsView)||e.push({key:UBe.UpcomingEvents,text:s({id:"Events.upcoming"}),data:{iconName:"Event"}});(null==a?void 0:a.hideMyBookedEventsView)||e.push({key:UBe.MyBookedEvents,text:s({id:"Events.myEvents"}),data:{iconName:"PrimaryCalendar"}});(null==a?void 0:a.hidePastEventsView)||e.push({key:UBe.PastEvents,text:s({id:"Events.pastEvents"}),data:{iconName:"RemoveEvent"}});return e}();return n(t,{children:[e(lze,{},void 0),e(uze,{options:l,onRenderOption:function(t){return n(cze,{children:[e(L,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key)},selectedKey:l.length>0?r||l[0].key:void 0,onChange:function(e,t){return o(t.key)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:s({id:"Events.chromelessDropdown"})},void 0)]},void 0)},lze=Ae(ize||(ize=Zbe(["\n ","\n"],["\n ","\n"])),$Be),uze=Te(CDe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(rze||(rze=Zbe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),qBe),cze=Te.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(oze||(oze=Zbe(["\n ",";\n"],["\n ",";\n"])),HBe);function hze(){var e=BU(),t=e.createApiUrl,n=e.fetchFromApi,i=a(Mk).onRequestToken;return l((function(){return{uploadImage:function(e,t,r,o,a){return Gbe(this,void 0,void 0,(function(){var s,l;return Ybe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+qq.getExtension(a.type)),[4,i()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/images/"+r,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,r,o,a){return Gbe(this,void 0,void 0,(function(){var s,l;return Ybe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,i()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/files/"+r,{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})}}),[i,n,t])}function dze(){var e=zU();return l((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return Gbe(this,void 0,void 0,(function(){var t;return Ybe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,y6.apply(void 0,Xbe([e],t))]}}))}))},resolveActiveLanguages:function(e){return Gbe(this,void 0,void 0,(function(){return Ybe(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 Gbe(this,void 0,void 0,(function(){var t;return Ybe(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 fze(){var e=BU().createApiUrl;return l((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])}Ae(aze||(aze=Zbe(["\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 pze,mze,gze,vze,yze,bze,wze,xze,Oze,kze,_ze,Sze,Cze,Dze=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}(),Eze=function(t){var n=o5(),i=h(null),r=i[0],o=i[1],a=G5().getUserAvatarUrl;if(bne(Dze.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),c((function(){var e=l(t.upn,t.tenantId);return function(){return null==e?void 0:e.unsubscribe()}}),[t.upn]),!n.avatars)return null;var s=yk(t.text||t.displayName||t.upn);return e(Ize,$be({},t,{"data-avatar":!0,text:t.text,imageUrl:r,imageShouldFadeIn:!1,imageInitials:s,initialsColor:bk(s),secondaryText:T5(t.secondaryText)?null:t.secondaryText}),void 0);function l(e,t){return null==e?(o(null),null):a(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},Ize=Te(z).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(pze||(pze=Zbe(["\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"]))),Tze=function(t){var i=t.className,r=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(Pze,$be({className:i},{children:[r&&e(VSe,$be({resourceKey:o,text:a},{children:e(Aze,{iconName:r},"icon")}),void 0),s]}),void 0):null},Aze=Te(L).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(mze||(mze=Zbe(["\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"]))),Pze=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(gze||(gze=Zbe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),Mze=function(t){var n=t.email;return T5(n)?null:e(Tze,$be({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(Wze,$be({href:"mailto:"+n},{children:n}),void 0)}),void 0)},Nze=function(t){var n=t.value,i=FS().formatMessage;return null==n?null:e(Tze,$be({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(Wze,$be({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},Rze=function(n){var i=n.value,r=FS().formatMessage;return null==i?null:e(t,{children:(i="string"==typeof i?[i]:i).map((function(t,n){return e(Tze,$be({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(Wze,$be({href:"tel:"+t},{children:r({id:"Generic.callOffice"},{number:t})}),void 0)}),t+n)}))},void 0)},Lze=function(n){var i=n.value,r=n.tooltipResourceKey,o=o5();return null==i?null:e(Tze,$be({iconName:"MapPin",tooltipResourceKey:r||"Generic.Location"},{children:o.userLocationLookup?e(Wze,$be({target:"_blank",rel:"noopener noreferrer",href:ZRe(i)},{children:i}),void 0):e(t,{children:i},void 0)}),void 0)},jze=function(t){var n=t.value;return null==n?null:e(Tze,$be({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},Fze=function(t){var n=t.value;return null==n?null:e(Tze,$be({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},Bze=function(t){var n=t.value,i=ree().buildPath,r=o5();if(!(null==n?void 0:n.userId)||!r.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(Tze,$be({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(Qze,$be({to:i("chats/new")+"?"+$g.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:e(iC,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},zze=Pe(vze||(vze=Zbe(["\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})),Wze=Te.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(yze||(yze=Zbe(["\n ","\n"],["\n ","\n"])),zze),Qze=Te(_e).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(bze||(bze=Zbe(["\n ","\n"],["\n ","\n"])),zze),Uze={mobilePhone:Nze,department:jze,address:Lze},Vze=function(t){var n=t.className,i=t.value,r=t.definition,o=function(){var e=r5(),t=FS().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=ok(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"}}}(),a=o.getPropertyLabel,s=o.getPropertyIcon;if(null==i)return null;var l=a(r),u=s(r),c=Uze[r.name];return c?w(c,{value:i}):e(Tze,$be({iconName:u,tooltipText:l,className:n},{children:i}),void 0)},qze=function(i){var r,o,a,s,l,u=i.user,c=i.ignoredProperties,h=void 0===c?[]:c;return n(t,{children:[!h.includes("department")&&e(jze,{value:null===(r=u.properties)||void 0===r?void 0:r.department},void 0),!h.includes("jobTitle")&&e(Fze,{value:null===(o=u.properties)||void 0===o?void 0:o.jobTitle},void 0),!h.includes("mobilePhone")&&e(Nze,{value:null===(a=u.properties)||void 0===a?void 0:a.mobilePhone},void 0),!h.includes("businessPhones")&&e(Rze,{value:null===(s=u.properties)||void 0===s?void 0:s.businessPhones},void 0),!h.includes("chatMessage")&&e(Bze,{value:u},void 0),!h.includes("officeLocation")&&e(Lze,{value:null===(l=u.properties)||void 0===l?void 0:l.officeLocation},void 0)]},void 0)},Hze=function(i){var r=i.user,o=i.ignoredProperties,a=void 0===o?[]:o,s=r5();return n(t,{children:[!a.includes("chatMessage")&&e(Bze,{value:r},void 0),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(Vze,{definition:t,value:null===(n=r.properties)||void 0===n?void 0:n[t.name]},t.name)}))]},void 0)},$ze=["displayName","department","jobTitle"],Kze=function(t){var i,r=t.upn,o=t.showAvatar,a=t.id,s=G5(),l=s.getUserInfo,u=s.getUserInfoById,c=Dk((function(){return r?l(r):u(a)}),null,[r,a]),h=c[0],d=c[1];if(c[2])return e(Gze,{children:e(iC,r?{id:"Profile.CannotLoadInfo",values:{upn:r}}:{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(d)return e(Zze,{},void 0);var f=o?$ze:[];return n(Yze,$be({"data-user-details":!0},{children:[o&&e(Eze,{upn:h.userPrincipalName,size:G.large,text:h.displayName||h.userPrincipalName,secondaryText:h.properties&&h.properties.department,tertiaryText:h.properties&&h.properties.jobTitle},void 0),n(Xze,{children:[e(Mze,{email:null!==(i=h.mail)&&void 0!==i?i:h.userPrincipalName},void 0),h.isDirectoryUser?e(qze,{user:h,ignoredProperties:f},void 0):e(Hze,{user:h,ignoredProperties:f},void 0)]},void 0)]}),void 0)},Gze=Te.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(wze||(wze=Zbe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),Yze=Te.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(xze||(xze=Zbe(["\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"])),14),Xze=Te.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(Oze||(Oze=Zbe(["\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"])),10),Zze=Te(YDe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(kze||(kze=Zbe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),Jze=function(i){var r=i.upn,o=i.className,a=i.children,s=i.readOnly,l=i.domIdentifier,c=u(null),d=r5(),f=h(!1),p=f[0],m=f[1];return s?e(tWe,$be({className:o},{children:a}),void 0):n(t,{children:[e(tWe,$be({ref:c,className:o},{children:e(nWe,$be({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),m(!p)},ariaLabel:r},{children:a}),"children")}),void 0),p&&!d.isPublicUser&&e(iDe,$be({className:"persona-card-callout",directionalHint:K.bottomCenter,isBeakVisible:!0,onDismiss:function(){return m(!1)},target:c.current},{children:e(eWe,{children:e(Kze,{upn:r,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},eWe=Te.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(_ze||(_ze=Zbe(["\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,20,u9.medium),tWe=Te.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(Sze||(Sze=Zbe(["\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"]))),nWe=Te(P).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(Cze||(Cze=Zbe(["\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 iWe(){return iWe=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},iWe.apply(this,arguments)}var rWe=function(e){return r.createElement("svg",iWe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),r.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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 oWe(){return oWe=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},oWe.apply(this,arguments)}var aWe=function(e){return r.createElement("svg",oWe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),r.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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 sWe(){return sWe=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},sWe.apply(this,arguments)}var lWe,uWe,cWe,hWe,dWe,fWe,pWe=function(e){return r.createElement("svg",sWe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),r.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),r.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}}),r.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}}),r.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"}}),r.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}}),r.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"}}))},mWe=function(t){var n=t.info,i="number"==typeof n;return e(gWe,$be({isNumber:i,"data-badge-info":n},{children:e(vWe,$be({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},gWe=Te.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(cWe||(cWe=Zbe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?Pe(lWe||(lWe=Zbe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):Pe(uWe||(uWe=Zbe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),vWe=Te.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(dWe||(dWe=Zbe(["\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 Pe(hWe||(hWe=Zbe(["\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,12)}));function yWe(){return yWe=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},yWe.apply(this,arguments)}var bWe,wWe=function(e){return r.createElement("svg",yWe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),fWe||(fWe=r.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 xWe(t){return e(EWe,$be({"data-page-alert":!0},{children:n(IWe,{children:[t.errorType&&e(TWe,$be({onClick:t.onClick},{children:t.errorType===bWe.LoginError?e(aWe,{},void 0):t.errorType===bWe.GenericError?e(rWe,{},void 0):t.errorType===bWe.Error403?e(pWe,{},void 0):e(MMe,{},void 0)}),void 0),e(AWe,{children:t.alertText},void 0),e(PWe,{children:t.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(bWe||(bWe={}));var OWe,kWe,_We,SWe,CWe,DWe,EWe=Te.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(OWe||(OWe=Zbe(["\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})),IWe=Te.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(kWe||(kWe=Zbe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),TWe=Te.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(_We||(_We=Zbe(["\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}),h9),AWe=Te.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(SWe||(SWe=Zbe(["\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})),PWe=Te.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(CWe||(CWe=Zbe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),MWe=Te.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(DWe||(DWe=Zbe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),NWe={exports:{}},RWe=Object.getOwnPropertySymbols,LWe=Object.prototype.hasOwnProperty,jWe=Object.prototype.propertyIsEnumerable;function FWe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var BWe=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=FWe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))LWe.call(n,a)&&(r[a]=n[a]);if(RWe){i=RWe(n);for(var s=0;s<i.length;s++)jWe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},zWe=Function.call.bind(Object.prototype.hasOwnProperty),WWe=function(){};if("production"!==process.env.NODE_ENV){var QWe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UWe={},VWe=zWe;WWe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function qWe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(VWe(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,QWe)}catch(e){a=e}if(!a||a instanceof Error||WWe((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 UWe)){UWe[a.message]=!0;var l=r?r():"";WWe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}qWe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(UWe={})};var HWe=Ie,$We=BWe,KWe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",GWe=zWe,YWe=qWe,XWe=function(){};function ZWe(){return null}"production"!==process.env.NODE_ENV&&(XWe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function JWe(){}function eQe(){}eQe.resetWarningCache=JWe;if("production"!==process.env.NODE_ENV){var tQe=Ie;NWe.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(ZWe),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 `"+h(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",KWe);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 `"+h(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return HWe.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+h(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=h(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(GWe(s,u)){var c=e(s,u,i,r,o+"."+u,KWe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&XWe(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."),ZWe;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"===d(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&&XWe("Invalid argument supplied to oneOfType, expected an instance of array."),ZWe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return XWe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),ZWe}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,KWe);if(null==u)return null;u.data&&GWe(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=h(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!=typeof f)return u(i,r,o,c,d(f));var p=f(s,c,i,r,o+"."+c,KWe);if(p)return p}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=h(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=$We({},t[n],e);for(var f in c){var p=e[f];if(GWe(e,f)&&"function"!=typeof p)return u(i,r,o,f,d(p));if(!p)return new a("Invalid "+r+" `"+o+"` key `"+f+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(s,f,i,r,o+"."+f,KWe);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,h,d){if(u=u||i,h=h||l,d!==KWe){if(t){var f=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 f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+l;!n[p]&&r<3&&(XWe("You are manually calling a React.PropTypes validation function for the `"+h+"` 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[p]=!0,r++)}}return null==s[l]?o?null===s[l]?new a("The "+c+" `"+h+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+h+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,h)}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 h(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(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 h(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 d(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=d(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=YWe,r.resetWarningCache=YWe.resetWarningCache,r.PropTypes=r,r}(tQe.isElement,!0)}else NWe.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:eQe,resetWarningCache:JWe};return n.PropTypes=n,n}();var nQe=NWe.exports,iQe=Object.freeze({__proto__:null,useCurrentUser:r5,useAccountApi:G5,useAuthenticationContext:Nk,useEnvironmentConfig:Rg,useNotificationContext:Yte,usePromise:Dk,LinkContext:lC,TextLink:ENe,logger:nv,createId:rv,ResourceContext:gC,usePluginSettings:function(){var e=a(uee).settings;return null!=e?e:{}},usePluginStorage:fee,usePluginDeviceStore:fee,usePluginSubscriptionStore:function(){return a(uee).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,i=a(uee).subscriptionStore,r=Dk((function(){return i.get(e).catch(mee)}),void 0,sZ(sZ([],t||[]),[e])),o=r[0],s=r[1],l=r[2],u=r[3],c=r[4];return{data:o,set:function(t){return oZ(n,void 0,void 0,(function(){var n;return aZ(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),mee(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return oZ(n,void 0,void 0,(function(){var t;return aZ(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),mee(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(uee).userStore},usePluginUserStoreValue:function(e,t){var n=this,i=a(uee).userStore,r=Dk((function(){return i.get(e).catch(mee)}),void 0,sZ(sZ([],t||[]),[e])),o=r[0],s=r[1],l=r[2],u=r[3],c=r[4];return{data:o,set:function(t){return oZ(n,void 0,void 0,(function(){var n;return aZ(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),mee(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return oZ(n,void 0,void 0,(function(){var t;return aZ(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),mee(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Ng().apiEndpoint}},AccountType:z4,PeoplePicker:cCe,GutterToggle:JSe,EditorSettingsDialog:XSe,Spinner:D,SelectionMode:ee,EditorHighlight:HSe,useTheme:function(){return a(zte).theme},useSubscriptionHandlePathBuilder:ree,useSubscriptionWebAppUrl:oee});var rQe,oQe=[{name:"@reach/core",packageDefinition:$be({default:{}},iQe)}],aQe=[{name:"react",packageDefinition:$be($be({},o),{default:o})},{name:"react-dom",packageDefinition:$be($be({},ze),{default:ze})},{name:"react-is",packageDefinition:$be($be({},Ie),{default:Ie})},{name:"prop-types",packageDefinition:$be({default:nQe},nQe)},{name:"react-router-dom",packageDefinition:$be({},we)},{name:"styled-components",packageDefinition:{default:Te,createGlobalStyle:Ae,css:Pe,useTheme:Ne,isStyledComponent:Re,keyframes:Le,withTheme:je,ThemeProvider:Me,ThemeContext:Fe,ThemeConsumer:Be}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:W,Label:Q,PrimaryButton:N,Icon:L,Link:T,TextField:M,ActionButton:P,IconButton:I,DefaultButton:R,Spinner:D,Dropdown:U,ProgressIndicator:V,Shimmer:q,ShimmerElementsGroup:H,ShimmerElementType:$,DirectionalHint:K,PersonaSize:G,TooltipHost:Y,DialogType:X,Dialog:ewe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:iC,useIntl:FS,FormattedDate:rC,FormattedTime:oC,IntlProvider:$S}},{name:"@apollo/client",packageDefinition:{default:{},gql:AR,useQuery:function(e,t){return YR(e,t,!1)},ApolloClient:kR,ApolloProvider:WR,from:JP,ApolloLink:ZP,fromPromise:HP,split:eM,HttpLink:lM,InMemoryCache:iR,useLazyQuery:function(e,t){return YR(e,t,!0)},useMutation:XR,ApolloError:oR,useApolloClient:QR,useSubscription:function(e,t){var n=f((function(e){return e+1}),0),i=n[1],r=a(BR()),o=t?Qa(Qa({},t),{subscription:e}):{subscription:e},s=h({loading:!o.skip,error:void 0,data:void 0}),l=s[0],d=s[1],p=u(),m=(p.current||(p.current=new HR({options:o,context:r,setResult:d})),p.current);return m.setOptions(o,!0),m.context=r,__DEV__&&GR(i),c((function(){return m.afterExecute()})),c((function(){return function(){m.cleanup(),p.current=void 0}}),[]),m.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:ej}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:pj}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:WA}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:ZR}}],sQe=function(t){var n=t.color,i=t.onColorChange,r=t.className,o=h(n),a=o[0],s=o[1];return c((function(){s(n)}),[n]),e(lQe,$be({className:r},{children:e(le,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==i||i(e)}(t.str)}},void 0)}),void 0)},lQe=Te.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(rQe||(rQe=Zbe(["\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"])),20),uQe=function(t){var n=t.onRequestToken,i=t.children,r=t.subscriptionId,o=h(null),a=o[0],s=o[1],u=l((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(n){return nv.error(e,t),[2,Promise.reject(e)]}))}))}}}),[r,a]);return e(Mk.Provider,Qa({value:u},{children:i}),void 0)},cQe="0.5.0-preview.273",hQe="117845",dQe="a664a8a2a67d5ac83a433d6bf9c8dd625e15c2be",fQe=mt,pQe=st,mQe=$i("match"),gQe=function(e){var t;return fQe(e)&&(void 0!==(t=e[mQe])?!!t:"RegExp"==pQe(e))},vQe=$i("match"),yQe=function(e){if(gQe(e))throw TypeError("The method doesn't accept regular expressions");return e},bQe=ht,wQe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[vQe]=!1,"/./"[e](t)}catch(e){}}return!1};Pi({target:"String",proto:!0,forced:!wQe("includes")},{includes:function(e){return!!~String(bQe(this)).indexOf(yQe(e),arguments.length>1?arguments[1]:void 0)}});var xQe,OQe,kQe={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",dashboards:[{name:"news-engagement-overview",title:"News Engagement Overview",id:21,params:"/?standalone=2"}]}},_Qe={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:[]}},SQe=["//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"],CQe=function(t){var n=t.children,i=Ng().apiEndpoint,r=l((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!SQe.some((function(e){return i.toLowerCase().includes(e)}));if(!e)return nv.info("Will use non prod client config..."),Qa({},kQe);return Qa(Qa({},kQe),_Qe)}())}),[i]);return e(qg.Provider,Qa({value:r},{children:n}),void 0)},DQe=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 Va(this,void 0,void 0,(function(){return qa(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 Va(this,void 0,void 0,(function(){return qa(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}(),EQe=new DQe,IQe=function(n){var i=n.subscriptionId,r=n.children;return n.shouldUsePublicAccess?e(TQe,Qa({subscriptionId:i},{children:r}),void 0):e(t,{children:r},void 0)},TQe=function(n){var i=n.subscriptionId,r=n.children,o=a(Mk).setToken,s=cC(),u=function(){var e=BU().fetchFromApi,t=zU();return l((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,c=BU().fetchFromApi,h=a(sC),d=h.handleFatalError,f=h.handleAccessDeniedError,p=Dk((function(){return Va(this,void 0,void 0,(function(){var e,t,n;return qa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+i,[4,s.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,u(i)];case 2:return r.sent().allowPublicAccess?[4,b(i)]:[3,5];case 3:return n=r.sent(),o(n),[4,s.setString(e,n)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[i]),m=p[0],g=p[1],v=p[2];if(v)return nv.error(v),d({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription "+i+"!"};return nv.error(y.message),f({error:y}),null}return e(t,{children:r},void 0);function b(e){return c("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},AQe=function(t){var n=t.children,i=h(),r=i[0],o=i[1],a=h(),s=a[0],u=a[1],c=h(),d=c[0],f=c[1],p=l((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:f}}),[o,u,f]);return e(sC.Provider,Qa({value:p},{children:e(PQe,Qa({fatalError:r,notFoundError:d,accessDeniedError:s},{children:n}),void 0)}),void 0)},PQe=function(n){var i=n.fatalError,r=n.accessDeniedError,o=n.notFoundError,a=n.children;return i?e(MQe,{messageId:i.messageId,error:i.error},void 0):r?e(MQe,{messageId:"AccessDenied.genericMessage",error:r.error},void 0):o?e(MQe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},MQe=function(t){var i=t.messageId,r=t.error,o=FS().formatMessage,a=h(!1),s=a[0],l=a[1];return e(xWe,Qa({errorType:bWe.GenericError,alertText:o({id:i||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(NQe,{children:[e(iC,{id:"Generic.error.details"},void 0),e(RQe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},NQe=Te.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(xQe||(xQe=Ja(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),RQe=Te.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(OQe||(OQe=Ja(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),LQe=function(t){var n=t.children,i=oee(),r=l((function(){return{onShare:function(){return Va(void 0,void 0,void 0,(function(){return qa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(lC.Provider,Qa({value:r},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+i+e)}},jQe=function(){return null},FQe=Object.freeze({__proto__:null,Page:jQe,NavLinkSidebarItem:jQe,PageMenuActionItem:jQe});var BQe=function(t){var n=t.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){},trackSearchSession:function(){return Promise.resolve(void 0)},module:void 0,setModule:function(e){},trackActivity:function(e){}};return e(b9.Provider,Qa({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+cQe+" ("+hQe+") ["+dQe+"]"),window.__did_initialize_reach_context)return;ue()}();var zQe=function(i){var r,o,s,u,h=null!=a(Mg);c((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,h||window.__is_reach_app||(hee.apply(void 0,Xbe(["ReachCorePackages"],Xbe(Xbe([],aQe),oQe))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Qa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Qa({default:{}},FQe)}],hee.apply(void 0,Xa(["ReachComponentLibraryPackages"],t))))}),[]);var d=l((function(){var e,t,n,r,o,a,s,l;return{env:{deviceInfo:{},version:cQe,commitId:dQe,buildId:hQe},appConfig:{apiEndpoint:null!==(t=null===(e=i.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(r=null===(n=i.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==r?r:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=i.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(l=null===(s=i.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==l?l:"wss://ws.reach.livetiles.io/api/v2"}}}),[null===(r=i.config)||void 0===r?void 0:r.apiEndpoint,null===(o=i.config)||void 0===o?void 0:o.webAppUrl,null===(s=i.config)||void 0===s?void 0:s.api3Endpoint,null===(u=i.config)||void 0===u?void 0:u.webSocketsEndpoint]);return h?(nv.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Qa({subscriptionId:i.subscriptionId},i.config),null,2)),e(t,{children:i.children},void 0)):e("div",Qa({className:vZ},{children:e(Mg.Provider,Qa({value:d},{children:e(Ce,{children:e(uC.Provider,Qa({value:EQe},{children:e(CQe,{children:e(j4,Qa({language:i.language},{children:e(Wte,Qa({disableUiFabricThemeOverwrite:i.disableUiFabricThemeOverwrite},{children:e(AQe,{children:e(uQe,Qa({onRequestToken:i.onRequestToken,subscriptionId:i.subscriptionId},{children:e(fC,Qa({subscriptionId:i.subscriptionId},{children:e(IQe,Qa({subscriptionId:i.subscriptionId,shouldUsePublicAccess:!i.onRequestToken},{children:e(LQe,{children:e(WI.Provider,Qa({value:{hideChrome:!1}},{children:e(WQe,Qa({language:i.language},{children:e(DV,Qa({gqlClientConfig:{endPoint:d.appConfig.api3Endpoint,webSocketsEndpoint:d.appConfig.webSocketsEndpoint}},{children:e(H7,{children:e(mne,{children:e(BQe,{children:n(ine,{children:[e(sne,{},void 0),e(sCe,{},void 0),e(QQe,{},void 0),n(De,{children:[e(Ee,{path:"/:subscriptionHandleOrId",render:function(){return i.children}},void 0),e(Ee,{render:function(){return i.children}},void 0)]},void 0)]},void 0)},void 0)},void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)},WQe=function(t){var n,i=t.language,r=t.children,o=a(zte).setTheme,s=a(gC).changeSettings,u=Y5().getCurrentUser,c=Dk((function(){var e,t;return Va(this,void 0,void 0,(function(){var n,r,a,l;return qa(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,u()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),r=ok(i,n.preferredUiLanguage,rk(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=QFe(n),s(r,a).then((function(){return null}),nv.error),i&&(n.preferredContentLanguage=i),[2,n];case 2:throw l=c.sent(),nv.error(l),l;case 3:return[2]}}))}))})),h=c[0],d=c[1],f=c[2],p=c[3],m=a(sC),g=m.handleFatalError,v=m.handleNotFoundError,y=m.handleAccessDeniedError,b=l((function(){return{user:h,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[h]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?y({error:f}):g({error:f}),null):d?null:null==h?(v({}),null):e(n5.Provider,Qa({value:b},{children:r}),void 0)},QQe=function(){return c((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(fZ,{},void 0),e(gZ,{},void 0)]},void 0)};var UQe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,VQe=/[\0-\x1F\x7F-\x9F]/,qQe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,HQe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 $Qe(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 KQe(e){return Object.prototype.toString.call(e)}function GQe(e){return"[object Function]"===KQe(e)}function YQe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var XQe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var ZQe={"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}}},JQe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function eUe(e){var t=e.re=function(e){var t={};return t.src_Any=UQe.source,t.src_Cc=VQe.source,t.src_Z=qQe.source,t.src_P=HQe.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]"===KQe(e)}(n))return!function(e){return"[object RegExp]"===KQe(e)}(n.validate)?GQe(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(GQe(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===KQe(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(YQe).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 tUe(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 nUe(e,t){var n=new tUe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function iUe(e,t){if(!(this instanceof iUe))return new iUe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||XQe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=$Qe({},XQe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$Qe({},ZQe,e),this.__compiled__={},this.__tlds__=JQe,this.__tlds_replaced__=!1,this.re={},eUe(this)}iUe.prototype.add=function(e,t){return this.__schemas__[e]=t,eUe(this),this},iUe.prototype.set=function(e){return this.__opts__=$Qe(this.__opts__,e),this},iUe.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},iUe.prototype.pretest=function(e){return this.re.pretest.test(e)},iUe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},iUe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(nUe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(nUe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},iUe.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(),eUe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,eUe(this),this)},iUe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},iUe.prototype.onCompile=function(){};var rUe=iUe,oUe={exports:{}};!function(e,t){!function(t,n,i){e.exports=i(),e.exports.default=i()}(0,0,(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}))}(oUe);var aUe=oUe.exports;function sUe(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 lUe(){return lUe=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},lUe.apply(this,arguments)}function uUe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cUe(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 hUe(e,t,n){return t&&cUe(e.prototype,t),n&&cUe(e,n),e}function dUe(e){return dUe="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},dUe(e)}function fUe(e){return fUe="function"==typeof Symbol&&"symbol"===dUe(Symbol.iterator)?function(e){return dUe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":dUe(e)},fUe(e)}function pUe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mUe(e,t){return!t||"object"!==fUe(t)&&"function"!=typeof t?pUe(e):t}function gUe(e){return gUe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},gUe(e)}function vUe(e,t){return vUe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vUe(e,t)}function yUe(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&&vUe(e,t)}function bUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wUe(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 xUe(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 OUe(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 kUe(e){return function(e){if(Array.isArray(e))return OUe(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 OUe(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)?OUe(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 _Ue=function(e){return e===Object(e)?Object.keys(e):[]},SUe=function(e){return e===Object(e)?Object.values(e):[]};function CUe(e,t){var n=Object.assign({},e);return IUe(e)&&IUe(t)&&_Ue(t).forEach((function(i){IUe(t[i])&&i in e?n[i]=CUe(e[i],t[i]):Object.assign(n,Are({},i,t[i]))})),n}var DUe=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 CUe(e,t)}),e)},EUe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},IUe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},TUe=function(e){return(e||[]).filter(Boolean)},AUe=function(e){return"&"===e[0]},PUe=function(e){return!AUe(e)},MUe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},NUe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=_Ue(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},RUe=function(e,t){for(var n=t.map(MUe),i=_Ue(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(MUe(s))>=0)&&(r[s]=e[s])}return r},LUe=function e(t,n){for(var i=DUe.apply(void 0,[{},EUe(t,n)].concat(kUe(SUe(RUe(t,n))))),r=_Ue(i).filter(AUe),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=DUe({},i,l)):i[s]=l}return i};function jUe(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 FUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jUe(Object(n),!0).forEach((function(t){Are(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jUe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var BUe=["animationName"],zUe=function(e){var t=e.style,n=e.className;return FUe(FUe({},t?{style:NUe(t,BUe)}:{}),n?{className:n}:{})},WUe=s(zUe);WUe.Provider;var QUe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return _Ue(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},UUe={},VUe=function(e){return function(t,n){var i,r=n||UUe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=QUe(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function qUe(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 HUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qUe(Object(n),!0).forEach((function(t){Are(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qUe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $Ue=function(e){var t=e&&_Ue(e)[0];return t&&t.split("__")[0].split("--")[0]},KUe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(kUe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),kUe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(kUe(r)):r}};function GUe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zUe,o=n||$Ue(i)||(null==t?void 0:t.className),a="function"==typeof t?t:VUe((function(e,n){var a=QUe(e);qbe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),qbe(!n||IUe(n),"Optional second parameter must be a plain object.");var s=a.filter(AUe),l=a.filter(PUe),u=l.length>0?function(e){return SUe(RUe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(LUe(e,s))},h=KUe(o,l,s);return GUe(HUe(HUe(HUe({},(t||n)&&{style:DUe.apply(void 0,[{}].concat(kUe(c(n)),kUe(c(t))))}),h&&{className:h.join(" ")}),i&&{classNames:i}),r)})),s=HUe({},"function"==typeof t?t:{style:t}),l=kUe(new Set([].concat(kUe(s.className?s.className.split(" "):[]),kUe(o?o.split(" "):[])))),u=i?TUe(l.map((function(e){return i[e]}))):l,c=r(HUe(HUe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function YUe(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 XUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YUe(Object(n),!0).forEach((function(t){Are(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YUe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZUe=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 XUe(XUe(XUe({},e),"function"==typeof t?t:{}),{},{style:XUe(XUe({},e.style),"function"==typeof t?t.style:t)})}),{})},JUe=function(e,t,n){var i=t.style,r=t.className,o=t.classNames,s=a(WUe);return l((function(){return GUe({style:i,className:r,classNames:o},s)}),[i,r,o,s])(n,e)},eVe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},tVe="__id__",nVe="__display__",iVe=function(e,t){qbe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(nVe),i=e.indexOf(tVe);return n<0&&(n=null),i<0&&(i=null),qbe(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},rVe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=wUe(t.exec(e.toString()),3),i=n[1],r=n[2];return qbe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},oVe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},aVe=function(){},sVe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:aVe,o=rVe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=oVe(t)+1,n})),l=0,u=0;null!==(i=o.exec(e));){var c=s.find((function(e){return!!i[e]})),h=s.indexOf(c),d=t[h],f=d.markup,p=d.displayTransform,m=c+iVe(f,"id"),g=c+iVe(f,"display"),v=i[m],y=p(v,i[g]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,h,l),u+=y.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},lVe=function(e,t){var n="";return sVe(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},uVe=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 sVe(e,t,a,o),void 0===i?e.length:i},cVe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},hVe=function(e,t){var n=[];return sVe(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},dVe=function(e,t){return"".concat(e,"-").concat(t)},fVe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},pVe=function(e){var t=eVe(e),n=e[e.indexOf(nVe)+nVe.length],i=e[e.indexOf(tVe)+tVe.length];return new RegExp(t.replace(nVe,"([^".concat(eVe(n||""),"]+?)")).replace(tVe,"([^".concat(eVe(i||""),"]+?)")))},mVe=function(e){return p.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?gVe(i,n):pVe(n),displayTransform:r||function(e,t){return t||e}}}))},gVe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=oVe(t);return qbe(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},vVe=[{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}],yVe=function(e){return function(e){var t=e;return vVe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},bVe=function(e,t,n){return n?yVe(e).indexOf(yVe(t)):e.toLowerCase().indexOf(t.toLowerCase())},wVe=function(e){return"number"==typeof e},xVe=function(e){return e===Object(e)?Object.keys(e):[]},OVe=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 kVe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,s=i.classNames,l=xUe(i,["style","className","classNames"]),u=t?t(l):void 0,c=JUe(e,{style:r,className:a,classNames:s},u);return o.createElement(n,lUe({},l,{style:c}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var _Ve=function(e){function t(){var e;return uUe(this,t),bUe(pUe(e=mUe(this,gUe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return yUe(t,v),hUe(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,a=n.value,s=n.style,l=n.children,u=n.containerRef,c=mVe(l);i===r&&(e=uVe(a,c,i,"START"));var h=[],d={},f=h,p=0;return sVe(a,c,(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);f.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(wVe(e)&&e>=i&&e<=i+n.length){var o=e-i;f.push(t.renderSubstring(n.substring(0,o),p)),f=[t.renderSubstring(n.substring(o),p)]}else f.push(t.renderSubstring(n,p));p++})),f.push(" "),f!==h&&h.push(this.renderHighlighterCaret(f)),o.createElement("div",lUe({},s,{ref:u}),h)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",lUe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,i){var r={id:e,display:t,key:i},a=p.toArray(this.props.children)[n];return o.cloneElement(a,r)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",lUe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();bUe(_Ve,"propTypes",{selectionStart:zY.number,selectionEnd:zY.number,value:zY.string.isRequired,onCaretPositionChange:zY.func.isRequired,containerRef:zY.oneOfType([zY.func,zY.shape({current:"undefined"==typeof Element?zY.any:zY.instanceOf(Element)})]),children:zY.oneOfType([zY.element,zY.arrayOf(zY.element)]).isRequired}),bUe(_Ve,"defaultProps",{value:""});var SVe=kVe({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}}))(_Ve),CVe=function(e){function t(){return uUe(this,t),mUe(this,gUe(t).apply(this,arguments))}return yUe(t,v),hUe(t,[{key:"render",value:function(){var e=OVe(this.props,["style","classNames","className"],xVe(t.propTypes));return o.createElement("li",lUe({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,a=bVe(e,i,n);return-1===a?o.createElement("span",r("display"),e):o.createElement("span",r("display"),e.substring(0,a),o.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}();bUe(CVe,"propTypes",{id:zY.string.isRequired,query:zY.string.isRequired,index:zY.number.isRequired,ignoreAccents:zY.bool,suggestion:zY.oneOfType([zY.string,zY.shape({id:zY.oneOfType([zY.string,zY.number]).isRequired,display:zY.string})]).isRequired,renderSuggestion:zY.func,focused:zY.bool});var DVe=kVe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(CVe);function EVe(){var e=JUe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var IVe=function(e){function t(){var e,n;uUe(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return bUe(pUe(n=mUe(this,(e=gUe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),bUe(pUe(n),"select",(function(e,t){n.props.onSelect(e,t)})),bUe(pUe(n),"setUlElement",(function(e){n.ulElement=e})),n}return yUe(t,v),hUe(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,a=e.onMouseDown,s=e.containerRef,l=e.position,u=e.left,c=e.top;return i?o.createElement("div",lUe({},ZUe({position:l||"absolute",left:u,top:c},r),{onMouseDown:a,ref:s}),o.createElement("ul",lUe({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(sUe(t),sUe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var i=this,r=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=p.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return o.createElement(DVe,{style:this.props.style("item"),key:"".concat(a,"-").concat(TVe(e)),id:dVe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:r,onClick:function(){return i.select(e,t)},onMouseEnter:function(){return i.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(EVe,{style:this.props.style("loadingIndicator")})}}]),t}();bUe(IVe,"propTypes",{id:zY.string.isRequired,suggestions:zY.object.isRequired,a11ySuggestionsListLabel:zY.string,focusIndex:zY.number,position:zY.string,left:zY.number,top:zY.number,scrollFocusedIntoView:zY.bool,isLoading:zY.bool,isOpened:zY.bool.isRequired,onSelect:zY.func,ignoreAccents:zY.bool,containerRef:zY.oneOfType([zY.func,zY.shape({current:"undefined"==typeof Element?zY.any:zY.instanceOf(Element)})]),children:zY.oneOfType([zY.element,zY.arrayOf(zY.element)]).isRequired}),bUe(IVe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var TVe=function(e){return"string"==typeof e?e:e.id},AVe=kVe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(IVe);function PVe(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 MVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PVe(n,!0).forEach((function(t){bUe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PVe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var NVe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},RVe=!1,LVe={singleLine:zY.bool,allowSpaceInQuery:zY.bool,allowSuggestionsAboveCursor:zY.bool,forceSuggestionsAboveCursor:zY.bool,ignoreAccents:zY.bool,a11ySuggestionsListLabel:zY.string,value:zY.string,onKeyDown:zY.func,onSelect:zY.func,onBlur:zY.func,onChange:zY.func,suggestionsPortalHost:"undefined"==typeof Element?zY.any:zY.PropTypes.instanceOf(Element),inputRef:zY.oneOfType([zY.func,zY.shape({current:"undefined"==typeof Element?zY.any:zY.instanceOf(Element)})]),children:zY.oneOfType([zY.element,zY.arrayOf(zY.element)]).isRequired},jVe=function(e){function t(e){var n;return uUe(this,t),bUe(pUe(n=mUe(this,gUe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),bUe(pUe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return MVe({},OVe(n.props,["style","classNames","className"],xVe(LVe)),{},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":dVe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),bUe(pUe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return o.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),bUe(pUe(n),"renderInput",(function(e){return o.createElement("input",lUe({type:"text",ref:n.setInputRef},e))})),bUe(pUe(n),"renderTextarea",(function(e){return o.createElement("textarea",lUe({ref:n.setInputRef},e))})),bUe(pUe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),bUe(pUe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),bUe(pUe(n),"renderSuggestionsOverlay",(function(){if(!wVe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=o.createElement(AVe,{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?We.createPortal(a,n.props.suggestionsPortalHost):a})),bUe(pUe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,s=r.children,l=r.value,u=r.style;return o.createElement(SVe,{containerRef:n.setHighlighterElement,style:u("highlighter"),value:l,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},s)})),bUe(pUe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),bUe(pUe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),bUe(pUe(n),"getPlainText",(function(){return lVe(n.props.value||"",mVe(n.props.children))})),bUe(pUe(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})),bUe(pUe(n),"handleChange",(function(e){if(RVe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=mVe(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=lVe(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),h=o;r===a&&(h=Math.max(o,r+l));var d=uVe(e,i,c,"START"),f=uVe(e,i,h,"END"),p=uVe(e,i,c,"NULL"),m=uVe(e,i,h,"NULL"),g=null===p||null===m,v=cVe(e,d,f,u);if(!g){var y=lVe(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),h=s.lastIndexOf(t.substring(a)),d=uVe(e,i,c,"START"),f=uVe(e,i,h,"END"),v=cVe(e,d,f,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=lVe(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(sVe(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=hVe(o,i),h={target:{value:o}};n.executeOnChange(h,o,r,c)}})),bUe(pUe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!RVe){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)}})),bUe(pUe(n),"handleKeyDown",(function(e){if(0!==fVe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(NVe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case NVe.ESC:return void n.clearSuggestions();case NVe.DOWN:return void n.shiftFocus(1);case NVe.UP:return void n.shiftFocus(-1);case NVe.RETURN:case NVe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),bUe(pUe(n),"shiftFocus",(function(e){var t=fVe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),bUe(pUe(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(sUe(e),sUe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),bUe(pUe(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)})),bUe(pUe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),bUe(pUe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),bUe(pUe(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=FVe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},h=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var d={};if(i){d.position="fixed";var f=c.left,p=c.top;f-=FVe(a,"margin-left"),p-=FVe(a,"margin-top"),f-=s.scrollLeft,p-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>m?d.left=Math.max(0,m-a.offsetWidth):d.left=f,r&&p+a.offsetHeight>h&&a.offsetHeight<p-u||o?d.top=Math.max(0,p-a.offsetHeight-u):d.top=p}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?d.right=0:d.left=g,r&&c.top-s.scrollTop+a.offsetHeight>h&&a.offsetHeight<l.top-u-s.scrollTop?d.top=v-a.offsetHeight-u:d.top=v}d.left===n.state.suggestionsPosition.left&&d.top===n.state.suggestionsPosition.top&&d.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:d})}}})),bUe(pUe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),bUe(pUe(n),"handleCompositionStart",(function(){RVe=!0})),bUe(pUe(n),"handleCompositionEnd",(function(){RVe=!1})),bUe(pUe(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()}}})),bUe(pUe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=mVe(r),s=uVe(i,a,t,"NULL");if(null!==s){var l=function(e,t){var n=hVe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,s),a),u=e.substring(l,t);o.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=eVe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=u.match(r);if(o){var a=l+u.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),bUe(pUe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),bUe(pUe(n),"queryData",(function(e,t,i,r,o){var a=n.props,s=a.children,l=a.ignoreAccents,u=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;bVe(s,n,t)>=0&&r.push(e[o])}return r}:e}(p.toArray(s)[t].props.data,l),c=u(e,n.updateSuggestions.bind(null,n._queryId,t,e,i,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,i,r,o,c)})),bUe(pUe(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=MVe({},n.suggestions,bUe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=fVe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),bUe(pUe(n),"addMention",(function(e,t){var i=e.id,r=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,l=t.plainTextValue,u=n.props.value||"",c=mVe(n.props.children),h=p.toArray(n.props.children)[o].props,d=h.markup,f=h.displayTransform,m=h.appendSpaceOnAdd,g=h.onAdd,v=uVe(u,c,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(tVe,t).replace(nVe,n)}(d,i,r);m&&(b+=" ");var w=cVe(u,v,y,b);n.inputElement.focus();var x=f(i,r);m&&(x+=" ");var O=a+x.length;n.setState({selectionStart:O,selectionEnd:O,setSelectionAfterMentionChange:!0});var k={target:{value:w}},_=hVe(w,c),S=cVe(l,a,s,x);n.executeOnChange(k,w,S,_),g&&g(i,r,v,y),n.clearSuggestions()})),bUe(pUe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),bUe(pUe(n),"isOpened",(function(){return wVe(n.state.selectionStart)&&(0!==fVe(n.state.suggestions)||n.isLoading())})),bUe(pUe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(pUe(n)),n.handleCut=n.handleCut.bind(pUe(n)),n.handlePaste=n.handlePaste.bind(pUe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return yUe(t,o.Component),hUe(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 o.createElement("div",lUe({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=mVe(a),l=uVe(o,s,n,"START"),u=uVe(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),h=e.clipboardData.getData("text/plain"),d=cVe(o,l,u,c||h).replace(/\r/g,""),f=lVe(d,s),p={target:MVe({},e.target,{value:d})};this.executeOnChange(p,d,f,hVe(d,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=mVe(o),l=uVe(a,s,n,"START"),u=uVe(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=mVe(o),l=uVe(a,s,n,"START"),u=uVe(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),h=lVe(c,s),d={target:MVe({},e.target,{value:h})};this.executeOnChange(d,c,h,hVe(a,s))}}}]),t}();bUe(jVe,"propTypes",LVe),bUe(jVe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var FVe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},BVe=kVe({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:MVe({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}}))(jVe),zVe={fontWeight:"inherit"},WVe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=JUe(zVe,{style:n,className:i,classNames:r});return o.createElement("strong",a,t)};WVe.propTypes={onAdd:zY.func,onRemove:zY.func,renderSuggestion:zY.func,trigger:zY.oneOfType([zY.string,zY.instanceOf(RegExp)]),markup:zY.string,displayTransform:zY.func,allowSpaceInQuery:zY.bool,isLoading:zY.bool},WVe.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 QVe=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 UVe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=QVe.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 VVe=[".DS_Store","Thumbs.db"];function qVe(e){return Va(this,void 0,void 0,(function(){return qa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?$Ve(e.dataTransfer,e.type):HVe(e))];var n}))}))}function HVe(e){return(null!==e.target&&e.target.files?GVe(e.target.files):[]).map((function(e){return UVe(e)}))}function $Ve(e,t){return Va(this,void 0,void 0,(function(){var n;return qa(this,(function(i){switch(i.label){case 0:return e.items?(n=GVe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(YVe))]):[3,2];case 1:return[2,KVe(XVe(i.sent()))];case 2:return[2,KVe(GVe(e.files).map((function(e){return UVe(e)})))]}}))}))}function KVe(e){return e.filter((function(e){return-1===VVe.indexOf(e.name)}))}function GVe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function YVe(e){if("function"!=typeof e.webkitGetAsEntry)return ZVe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?eqe(t):ZVe(e)}function XVe(e){return e.reduce((function(e,t){return Ga(e,Array.isArray(t)?XVe(t):[t])}),[])}function ZVe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=UVe(t);return Promise.resolve(n)}function JVe(e){return Va(this,void 0,void 0,(function(){return qa(this,(function(t){return[2,e.isDirectory?eqe(e):tqe(e)]}))}))}function eqe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Va(o,void 0,void 0,(function(){var o,a,s;return qa(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(JVe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function tqe(e){return Va(this,void 0,void 0,(function(){return qa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=UVe(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function nqe(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 iqe(e,t,n){if(rqe(e.size)){if(rqe(t)&&rqe(n))return e.size>=t&&e.size<=n;if(rqe(t))return e.size>=t;if(rqe(n))return e.size<=n}return!0}function rqe(e){return null!=e}function oqe(e,t,n,i){return e.every((function(e){return nqe(e,t)&&iqe(e,n,i)}))}function aqe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function sqe(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 lqe(e){e.preventDefault()}function uqe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function cqe(e){return-1!==e.indexOf("Edge/")}function hqe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return uqe(e)||cqe(e)}function dqe(){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!aqe(e)&&t&&t.apply(void 0,[e].concat(i)),aqe(e)}))}}function fqe(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 pqe(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 mqe(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 gqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mqe(n,!0).forEach((function(t){vqe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mqe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yqe(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 bqe=x((function(e,t){var n=e.children,i=Oqe(yqe(e,["children"])),r=i.open,a=yqe(i,["open"]);return k(t,(function(){return{open:r}}),[r]),o.createElement(_,null,n(gqe({},a,{open:r})))}));bqe.displayName="Dropzone",bqe.propTypes={children:zY.func,accept:zY.oneOfType([zY.string,zY.arrayOf(zY.string)]),multiple:zY.bool,preventDropOnDocument:zY.bool,noClick:zY.bool,noKeyboard:zY.bool,noDrag:zY.bool,noDragEventsBubbling:zY.bool,minSize:zY.number,maxSize:zY.number,disabled:zY.bool,getFilesFromEvent:zY.func,onFileDialogCancel:zY.func,onDragEnter:zY.func,onDragLeave:zY.func,onDragOver:zY.func,onDrop:zY.func,onDropAccepted:zY.func,onDropRejected:zY.func};var wqe,xqe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Oqe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,i=void 0!==n&&n,r=e.getFilesFromEvent,o=void 0===r?qVe:r,a=e.maxSize,s=void 0===a?1/0:a,h=e.minSize,p=void 0===h?0:h,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,O=e.onDropRejected,k=e.onFileDialogCancel,_=e.preventDropOnDocument,S=void 0===_||_,C=e.noClick,D=void 0!==C&&C,E=e.noKeyboard,I=void 0!==E&&E,T=e.noDrag,A=void 0!==T&&T,P=e.noDragEventsBubbling,M=void 0!==P&&P,N=u(null),R=u(null),L=f(kqe,xqe),j=pqe(L,2),F=j[0],B=j[1],z=F.isFocused,W=F.isFileDialogActive,Q=F.draggedFiles,U=d((function(){R.current&&(B({type:"openDialog"}),R.current.value=null,R.current.click())}),[B]),V=function(){W&&setTimeout((function(){R.current&&(R.current.files.length||(B({type:"closeDialog"}),"function"==typeof k&&k()))}),300)};c((function(){return window.addEventListener("focus",V,!1),function(){window.removeEventListener("focus",V,!1)}}),[R,W,k]);var q=d((function(e){N.current&&N.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),U()))}),[N,R]),H=d((function(){B({type:"focus"})}),[]),$=d((function(){B({type:"blur"})}),[]),K=d((function(){D||(hqe()?setTimeout(U,0):U())}),[R,D]),G=u([]),Y=function(e){N.current&&N.current.contains(e.target)||(e.preventDefault(),G.current=[])};c((function(){return S&&(document.addEventListener("dragover",lqe,!1),document.addEventListener("drop",Y,!1)),function(){S&&(document.removeEventListener("dragover",lqe),document.removeEventListener("drop",Y))}}),[N,S]);var X=d((function(e){e.preventDefault(),e.persist(),re(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(fqe(G.current),[e.target])),sqe(e)&&Promise.resolve(o(e)).then((function(t){aqe(e)&&!M||(B({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,M]),Z=d((function(e){if(e.preventDefault(),e.persist(),re(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return sqe(e)&&b&&b(e),!1}),[b,M]),J=d((function(e){e.preventDefault(),e.persist(),re(e);var t=G.current.filter((function(t){return t!==e.target&&N.current&&N.current.contains(t)}));G.current=t,t.length>0||(B({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),sqe(e)&&y&&y(e))}),[N,y,M]),ee=d((function(e){e.preventDefault(),e.persist(),re(e),G.current=[],B({type:"reset"}),sqe(e)&&Promise.resolve(o(e)).then((function(n){if(!aqe(e)||M){var i=[],r=[];n.forEach((function(e){nqe(e,t)&&iqe(e,p,s)?i.push(e):r.push(e)})),!g&&i.length>1&&r.push.apply(r,fqe(i.splice(0))),B({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),w&&w(i,r,e),r.length>0&&O&&O(r,e),i.length>0&&x&&x(i,e)}}))}),[g,t,p,s,o,w,x,O,M]),te=function(e){return i?null:e},ne=function(e){return I?null:te(e)},ie=function(e){return A?null:te(e)},re=function(e){M&&e.stopPropagation()},oe=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,h=e.onDrop,d=yqe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return gqe(vqe({onKeyDown:ne(dqe(r,q)),onFocus:ne(dqe(o,H)),onBlur:ne(dqe(a,$)),onClick:te(dqe(s,K)),onDragEnter:ie(dqe(l,X)),onDragOver:ie(dqe(u,Z)),onDragLeave:ie(dqe(c,J)),onDrop:ie(dqe(h,ee))},n,N),i||I?{}:{tabIndex:0},{},d)}}),[N,q,H,$,K,X,Z,J,ee,I,A,i]),ae=d((function(e){e.stopPropagation()}),[]),se=l((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=yqe(e,["refKey","onChange","onClick"]),s=vqe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(dqe(r,ee)),onClick:te(dqe(o,ae)),autoComplete:"off",tabIndex:-1},i,R);return gqe({},s,{},a)}}),[R,t,g,ee,i]),le=Q.length,ue=g||le<=1,ce=le>0&&oqe(Q,t,p,s),he=le>0&&(!ce||!ue);return gqe({},F,{isDragAccept:ce,isDragReject:he,isFocused:z&&!i,getRootProps:oe,getInputProps:se,rootRef:N,inputRef:R,open:te(U)})}function kqe(e,t){switch(t.type){case"focus":return gqe({},e,{isFocused:!0});case"blur":return gqe({},e,{isFocused:!1});case"openDialog":return gqe({},e,{isFileDialogActive:!0});case"closeDialog":return gqe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return gqe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return gqe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return gqe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(wqe||(wqe={}));var _qe={exports:{}},Sqe=$e(_qe.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,h=e.caseSensitive,d=void 0!==h&&h,f=e.className,p=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,O=e.searchWords,k=e.textToHighlight,_=e.unhighlightClassName,S=void 0===_?"":_,C=e.unhighlightStyle,D=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"]),E=(0,o.findAll)({autoEscape:c,caseSensitive:d,findChunks:p,sanitize:x,searchWords:O,textToHighlight:k}),I=w,T=-1,A="",P=void 0,M=(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:f},D,{children:E.map((function(e,t){var i=k.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?d?g[i]:(g=M(g))[i.toLowerCase()]:g;var o=T===+a;A=r+" "+(o?n:""),P=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:A,key:t,style:P};return"string"!=typeof I&&(l.highlightIndex=T),(0,s.createElement)(I,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:C})}))}))}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,h=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:h})}),totalLength:h?h.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,h=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++h<t;)l&&l[h].run();h=-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 p(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 p(e,t)),1!==u.length||c||s(f)},p.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,c="<<anonymous>>",h={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:p(i.thatReturnsNull),arrayOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("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:p((function(t,n,i,r,o){var a=t[n];return e(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return p((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new f("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:p((function(e,t,n,i,r){return g(e[t])?null:new f("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new f("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){return Array.isArray(e)?p((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;return new f("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull)},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 p((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 f("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return p((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new f("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var h=c(a,u,i,r,o+"."+u,s);if(h)return h}}return null}))},exact:function(e){return p((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new f("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var h in c){var d=e[h];if(!d)return new f("Invalid "+r+" `"+o+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(l,h,i,r,o+"."+h,s);if(p)return p}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function p(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function l(l,u,h,d,p,m,g){if(d=d||c,m=m||h,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=d+":"+h;!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,d),i[v]=!0,a++)}return null==u[h]?l?null===u[h]?new f("The "+p+" `"+m+"` is marked as required in `"+d+"`, but its value is `null`."):new f("The "+p+" `"+m+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(u,h,d,p,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return p((function(t,n,i,r,o,a){var s=t[n];return v(s)!==e?new f("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 f.prototype=Error.prototype,h.checkPropTypes=l,h.PropTypes=h,h}}).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],h=0;(u=new Error(t.replace(/%s/g,(function(){return c[h++]})))).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 h=0;h<s.length;h++)r.call(a,s[h])&&(l[s[h]]=a[s[h]])}}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 h;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]),h=e[c](n,c,l,s,null,o)}catch(e){h=e}if(r(!h||h 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 h),h instanceof Error&&!(h.message in a)){a[h.message]=!0;var d=u?u():"";r(!1,"Failed %s type: %s%s",s,h.message,null!=d?d:"")}}}}).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=o},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}}])),Cqe={exports:{}},Dqe=(Cqe.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:$(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:G(e)}function o(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[h])}function s(e){return!(!e||!e[d])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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 h="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function O(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function _(){}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 C(e){return void 0===e.size&&(e.size=e.__iterate(E)),e.size}function D(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function E(){return!0}function I(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function A(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var M=0,N=1,R=2,L="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",F=L||j;function B(e){this.next=e}function z(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 W(){return{value:void 0,done:!0}}function Q(e){return!!q(e)}function U(e){return e&&"function"==typeof e.next}function V(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(L&&e[L]||e[j]);if("function"==typeof t)return t}function H(e){return e&&"number"==typeof e.length}function $(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function K(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=M,B.VALUES=N,B.ENTRIES=R,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},t($,n),$.of=function(){return $(arguments)},$.prototype.toSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq {","}")},$.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},$.prototype.__iterate=function(e,t){return he(this,e,t,!0)},$.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(K,$),K.prototype.toKeyedSeq=function(){return this},t(G,$),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return he(this,e,t,!1)},G.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(Y,$),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},$.isSeq=oe,$.Keyed=K,$.Set=Y,$.Indexed=G;var X,Z,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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():Q(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 H(e)?new te(e):U(e)?new re(e):Q(e)?new ie(e):void 0}function he(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 de(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new B((function(){var e=r[n?o-a:a];return a++>o?W():z(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):me(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,G(t).map((function(n,i){return pe(e,n,i,t)}))):ge(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?K(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 h=!0,d=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return h=!1,!1}));return h&&e.size===d}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(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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 Oe(){throw TypeError("Abstract")}function ke(){}function _e(){}function Se(){}$.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[D(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 B((function(){return r>i?W():z(e,r,n[t?i-r++:r++])}))},t(ne,K),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 B((function(){var a=i[t?r-o:o];return o++>r?W():z(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,G),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=V(this._iterable),i=0;if(U(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=V(this._iterable);if(!U(n))return new B(W);var i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value)}))},t(re,G),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 B((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return z(e,r,i[r++])}))},t(be,G),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 I(e,t,n)?this:new be(this._value,A(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 B((function(){return i<n.size?z(e,i++,n._value):W()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+D(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return I(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.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},xe.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 B((function(){var a=r;return r+=t?-i:i,o>n?W():z(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(Oe,n),t(ke,Oe),t(_e,Oe),t(Se,Oe),Oe.Keyed=ke,Oe.Indexed=_e,Oe.Set=Se;var Ce="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 De(e){return e>>>1&1073741824|3221225471&e}function Ee(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 De(n)}if("string"===t)return e.length>Be?Ie(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ie(e){var t=Qe[e];return void 0===t&&(t=Te(e),We===ze&&(We=0,Qe={}),We++,Qe[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return De(t)}function Ae(e){var t;if(Le&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Me){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Ne(e)))return t}if(t=++je,1073741824&je&&(je=0),Le)Re.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Me)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Pe=Object.isExtensible,Me=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ne(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,Le="function"==typeof WeakMap;Le&&(Re=new WeakMap);var je=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var Be=16,ze=255,We=0,Qe={};function Ue(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ve(e){return null==e?rt():qe(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qe(e){return!(!e||!e[$e])}t(Ve,ke),Ve.prototype.toString=function(){return this.__toString("Map {","}")},Ve.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ve.prototype.set=function(e,t){return ot(this,e,t)},Ve.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ve.prototype.remove=function(e){return ot(this,e,b)},Ve.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ve.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ve.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,On(e),t,n);return i===b?void 0:i},Ve.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()},Ve.prototype.merge=function(){return dt(this,void 0,arguments)},Ve.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ve.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]}))},Ve.prototype.mergeDeep=function(){return dt(this,ft,arguments)},Ve.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,pt(t),n)},Ve.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]}))},Ve.prototype.sort=function(e){return Qt(hn(this,e))},Ve.prototype.sortBy=function(e,t){return Qt(hn(this,t,e))},Ve.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ve.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},Ve.prototype.asImmutable=function(){return this.__ensureOwner()},Ve.prototype.wasAltered=function(){return this.__altered},Ve.prototype.__iterator=function(e,t){return new et(this,e,t)},Ve.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},Ve.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)},Ve.isMap=qe;var He,$e="@@__IMMUTABLE_MAP__@@",Ke=Ve.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(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 z(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(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return He||(He=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=O(w),a=O(x);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 Ge(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:(k(s),k(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ze(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 Ye(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 _);for(var r=new Je(e,Ee(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 Ye(e,r,a)}function ht(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 Xe(e,o+1,a)}function dt(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 fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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}we(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 wt(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}Ke[$e]=!0,Ke[m]=Ke.remove,Ke.removeIn=Ke.deleteIn,Ge.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},Ge.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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),!s||1!==l.length){if(!h&&!s&&l.length>=xt)return ut(e,l,i,r);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ge(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(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)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(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 h=vt(u&l-1),d=this.nodes,f=c?d[h]:void 0,p=at(f,e,t+g,n,i,r,o,a);if(p===f)return this;if(!c&&p&&d.length>=Ot)return ht(e,d,u,s,p);if(c&&!p&&2===d.length&&st(d[1^h]))return d[1^h];if(c&&p&&1===d.length&&st(p))return p;var m=e&&e===this.ownerID,v=c?p?u:u^l:u|l,w=c?p?yt(d,h,p,m):wt(d,h,m):bt(d,h,p,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var h=at(c,e,t+g,n,i,r,o,a);if(h===c)return this;var d=this.count;if(c){if(!h&&--d<kt)return ct(e,u,d,s)}else d++;var f=e&&e===this.ownerID,p=yt(u,s,h,f);return f?(this.count=d,this.nodes=p,this):new Xe(e,d,p)},Ze.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},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(a),k(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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ze(e,this.keyHash,f)},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:(k(a),s?void k(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(o),lt(this,e,t,Ee(i),[i,r])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,B),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 W()};var xt=v/4,Ot=v/2,kt=v/4;function _t(e){var t=Nt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?Mt(0,i,g,null,new Et(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[Ct])}t(_t,_e),_t.of=function(){return this(arguments)},_t.prototype.toString=function(){return this.__toString("List [","]")},_t.prototype.get=function(e,t){if((e=D(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},_t.prototype.set=function(e,t){return Rt(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=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Nt()},_t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Bt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},_t.prototype.pop=function(){return Bt(this,0,-1)},_t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Bt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},_t.prototype.shift=function(){return Bt(this,1)},_t.prototype.merge=function(){return zt(this,void 0,arguments)},_t.prototype.mergeWith=function(t){return zt(this,t,e.call(arguments,1))},_t.prototype.mergeDeep=function(){return zt(this,ft,arguments)},_t.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return zt(this,pt(t),n)},_t.prototype.setSize=function(e){return Bt(this,0,e)},_t.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:Bt(this,T(e,n),A(t,n))},_t.prototype.__iterator=function(e,t){var n=0,i=Pt(this,t);return new B((function(){var t=i();return t===At?W():z(e,n++,t)}))},_t.prototype.__iterate=function(e,t){for(var n,i=0,r=Pt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},_t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},_t.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Dt=_t.prototype;function Et(e,t){this.array=e,this.ownerID=t}Dt[Ct]=!0,Dt[m]=Dt.remove,Dt.setIn=Ke.setIn,Dt.deleteIn=Dt.removeIn=Ke.removeIn,Dt.update=Ke.update,Dt.updateIn=Ke.updateIn,Dt.mergeIn=Ke.mergeIn,Dt.mergeDeepIn=Ke.mergeDeepIn,Dt.withMutations=Ke.withMutations,Dt.asMutable=Ke.asMutable,Dt.asImmutable=Ke.asImmutable,Dt.wasAltered=Ke.wasAltered,Et.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 Et([],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=jt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Et.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=jt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var It,Tt,At={};function Pt(e,t){var n=e._origin,i=e._capacity,r=Wt(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 At;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!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function Mt(e,t,n,i,r,o,a){var s=Object.create(Dt);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 Nt(){return It||(It=Mt(0,0,g))}function Rt(e,t,n){if((t=D(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Bt(e,t).set(0,n):Bt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=O(x);return t>=Wt(e._capacity)?i=Lt(i,e.__ownerID,0,t,n,o):r=Lt(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):Mt(e._origin,e._capacity,e._level,r,i):e}function Lt(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=Lt(u,t,n-g,i,r,o);return c===u?e:((a=jt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(k(o),a=jt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function jt(e,t){return t&&e&&t===e.ownerID?e:new Et(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Wt(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 Bt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new _,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 Et(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var h=Wt(o),d=Wt(s);d>=1<<l+g;)u=new Et(u&&u.array.length?[u]:[],i),l+=g;var f=e._tail,p=d<h?Ft(e,s-1):d>h?new Et([],i):f;if(f&&d>h&&a<o&&f.array.length){for(var m=u=jt(u,i),v=l;v>g;v-=g){var b=h>>>v&y;m=m.array[b]=jt(m.array[b],i)}m.array[h>>>g&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=d)a-=d,s-=d,l=g,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||d<h){for(c=0;u;){var w=a>>>l&y;if(w!==d>>>l&y)break;w&&(c+=(1<<l)*w),l-=g,u=u.array[w]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&d<h&&(u=u.removeAfter(i,l,d-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=p,e.__hash=void 0,e.__altered=!0,e):Mt(a,s,l,u,p)}function zt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Wt(e){return e<v?0:e-1>>>g<<g}function Qt(e){return null==e?qt():Ut(e)?e:qt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return qe(e)&&c(e)}function Vt(e,t,n,i){var r=Object.create(Qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function qt(){return Tt||(Tt=Vt(rt(),Nt()))}function Ht(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Vt(i,r)}function $t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(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=wn,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===R){var i=e.__iterator(t,n);return new B((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===N?M:N,n)},t}function Zt(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,r);return new B((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return z(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=Xt(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=wn,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(R,o),s=0;return new B((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 z(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=Ve().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)?Qt():Ve()).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),I(t,n,r))return e;var o=T(t,r),a=A(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=D(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 B((function(){for(;a++<o;)r.next();if(++l>s)return W();var e=r.next();return i||t===N?e:z(t,l-1,t===M?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,r),s=!0;return new B((function(){if(!s)return W();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===R?e:z(i,l,u,e):(s=!1,W())}))},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(R,o),l=!0,u=0;return new B((function(){var e,o,c;do{if((e=s.next()).done)return i||r===N?e:z(r,u++,r===M?void 0:e.value[1],e);var h=e.value;o=h[0],c=h[1],l&&(l=t.call(n,c,o,a))}while(l);return r===R?e:z(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 B((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===R&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:z(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return W()}))},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(N,i),a=0;return new B((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?z(n,a++,t):z(n,a++,r.value,r)}))},n}function hn(e,t,n){t||(t=xn);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?K(o):l(e)?G(o):Y(o)}function dn(e,t,n){if(t||(t=xn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(N,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),V(r?e.reverse():e)})),a=0,s=!1;return new B((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?W():z(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 Ue(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?K:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function On(e){var t=V(e);if(!t){if(!H(e))throw new TypeError("Expected iterable or array-like: "+e);t=V(n(e))}return t}function kn(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);Dn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=Ve(o)},r=i.prototype=Object.create(_n);return r.constructor=i,i}t(Qt,Ve),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):qt()},Qt.prototype.set=function(e,t){return Ht(this,e,t)},Qt.prototype.remove=function(e){return Ht(this,e,b)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Vt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Qt.isOrderedMap=Ut,Qt.prototype[p]=!0,Qt.prototype[m]=Qt.prototype.remove,t($t,K),$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=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},$t.prototype.map=function(e,t){var n=this,i=Zt(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,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)},$t.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(N,t),i=t?vn(this):0;return new B((function(){var r=n.next();return r.done?r:z(e,t?--i:i++,r.value,r)}))},$t.prototype[p]=!0,t(Kt,G),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t),i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,K),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.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)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return z(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=$t.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var _n=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Dn(e,t){try{t.forEach(En.bind(void 0,e))}catch(e){}}function En(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function In(e){return null==e?Ln():Tn(e)&&!c(e)?e:Ln().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Pn])}_n[m]=_n.remove,_n.deleteIn=_n.removeIn=Ke.removeIn,_n.merge=Ke.merge,_n.mergeWith=Ke.mergeWith,_n.mergeIn=Ke.mergeIn,_n.mergeDeep=Ke.mergeDeep,_n.mergeDeepWith=Ke.mergeDeepWith,_n.mergeDeepIn=Ke.mergeDeepIn,_n.setIn=Ke.setIn,_n.update=Ke.update,_n.updateIn=Ke.updateIn,_n.withMutations=Ke.withMutations,_n.asMutable=Ke.asMutable,_n.asImmutable=Ke.asImmutable,t(In,Se),In.of=function(){return this(arguments)},In.fromKeys=function(e){return this(i(e).keySeq())},In.prototype.toString=function(){return this.__toString("Set {","}")},In.prototype.has=function(e){return this._map.has(e)},In.prototype.add=function(e){return Nn(this,this._map.set(e,!0))},In.prototype.remove=function(e){return Nn(this,this._map.remove(e))},In.prototype.clear=function(){return Nn(this,this._map.clear())},In.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])},In.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)}))}))},In.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)}))}))},In.prototype.merge=function(){return this.union.apply(this,arguments)},In.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},In.prototype.sort=function(e){return jn(hn(this,e))},In.prototype.sortBy=function(e,t){return jn(hn(this,t,e))},In.prototype.wasAltered=function(){return this._map.wasAltered()},In.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},In.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},In.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)},In.isSet=Tn;var An,Pn="@@__IMMUTABLE_SET__@@",Mn=In.prototype;function Nn(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 Rn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return An||(An=Rn(rt()))}function jn(e){return null==e?Qn():Fn(e)?e:Qn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Tn(e)&&c(e)}Mn[Pn]=!0,Mn[m]=Mn.remove,Mn.mergeDeep=Mn.merge,Mn.mergeDeepWith=Mn.mergeWith,Mn.withMutations=Ke.withMutations,Mn.asMutable=Ke.asMutable,Mn.asImmutable=Ke.asImmutable,Mn.__empty=Ln,Mn.__make=Rn,t(jn,In),jn.of=function(){return this(arguments)},jn.fromKeys=function(e){return this(i(e).keySeq())},jn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},jn.isOrderedSet=Fn;var Bn,zn=jn.prototype;function Wn(e,t){var n=Object.create(zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Qn(){return Bn||(Bn=Wn(qt()))}function Un(e){return null==e?Gn():Vn(e)?e:Gn().unshiftAll(e)}function Vn(e){return!(!e||!e[Hn])}zn[p]=!0,zn.__empty=Qn,zn.__make=Wn,t(Un,_e),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=D(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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):Gn()},Un.prototype.slice=function(e,t){if(I(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return _e.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):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.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},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new B((function(){if(i){var t=i.value;return i=i.next,z(e,n++,t)}return W()}))},Un.isStack=Vn;var qn,Hn="@@__IMMUTABLE_STACK__@@",$n=Un.prototype;function Kn(e,t,n,i){var r=Object.create($n);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Gn(){return qn||(qn=Kn(0))}function Yn(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}$n[Hn]=!0,$n.withMutations=Ke.withMutations,$n.asMutable=Ke.asMutable,$n.asImmutable=Ke.asImmutable,$n.wasAltered=Ke.wasAltered,n.Iterator=B,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 $t(this,!0)},toMap:function(){return Ve(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return jn(s(this)?this.valueSeq():this)},toSet:function(){return In(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return _t(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(R)},every:function(e,t){Ue(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 Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(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(M)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(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,hn(this,e))},values:function(){return this.__iterator(N)},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 C(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(E)},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 Yt(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=On(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 dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?ni(e):oi)},minBy:function(e,t){return dn(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,hn(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 Xn=n.prototype;Xn[h]=!0,Xn[F]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=ii,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"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){}}(),Yn(i,{flip:function(){return mn(this,Xt(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 Zn=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(Ee(e),Ee(t))|0}:function(e,t){i=i+li(Ee(e),Ee(t))|0}:t?function(e){i=31*i+Ee(e)|0}:function(e){i=i+Ee(e)|0});return si(r,i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=De((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[d]=!0,Zn[F]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new $t(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=D(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=D(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=pn(this.toSeq(),G.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,pn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,Yn(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=Xn.includes,Yn(K,i.prototype),Yn(G,r.prototype),Yn(Y,o.prototype),Yn(ke,i.prototype),Yn(_e,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:$,Collection:Oe,Map:Ve,OrderedMap:Qt,List:_t,Stack:Un,Set:In,OrderedSet:jn,Record:kn,Range:xe,Repeat:be,is:ve,fromJS:fe}}()).OrderedMap,Eqe={createFromArray:function(e){return Dqe(e.map((function(e){return[e.getKey(),e]})))}},Iqe=Eqe;var Tqe=Cqe.exports,Aqe=Tqe.Map,Pqe=Tqe.OrderedSet,Mqe=Tqe.Record,Nqe=Pqe(),Rqe={style:Nqe,entity:null},Lqe=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 jqe;var t=Aqe({style:Nqe,entity:null}).merge(e),n=Fqe.get(t);if(n)return n;var r=new i(t);return Fqe=Fqe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?Pqe(t):t,entity:Array.isArray(n)?Pqe(n):n})},i}(Mqe(Rqe)),jqe=new Lqe,Fqe=Aqe([[Aqe(Rqe),jqe]]);Lqe.EMPTY=jqe;var Bqe=Lqe;var zqe=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 Wqe=Bqe,Qqe=zqe,Uqe=Cqe.exports,Vqe=Uqe.List,qqe=Uqe.Map,Hqe=Uqe.OrderedSet,$qe=Uqe.Record,Kqe=Uqe.Repeat,Gqe=Hqe(),Yqe=$qe({key:"",type:"unstyled",text:"",characterList:Vqe(),depth:0,data:qqe()}),Xqe=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=Vqe(Kqe(Wqe.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():Gqe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){Qqe(this.getCharacterList(),Zqe,e,t)},r.findEntityRanges=function(e,t){Qqe(this.getCharacterList(),Jqe,e,t)},i}(Yqe);function Zqe(e,t){return e.getStyle()===t.getStyle()}function Jqe(e,t){return e.getEntity()===t.getEntity()}var eHe=Xqe;var tHe=Bqe,nHe=zqe,iHe=Cqe.exports,rHe=iHe.List,oHe=iHe.Map,aHe=iHe.OrderedSet,sHe=iHe.Record,lHe=iHe.Repeat,uHe=aHe(),cHe={parent:null,characterList:rHe(),data:oHe(),depth:0,key:"",text:"",type:"unstyled",children:rHe(),prevSibling:null,nextSibling:null},hHe=function(e,t){return e.getStyle()===t.getStyle()},dHe=function(e,t){return e.getEntity()===t.getEntity()},fHe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=rHe(lHe(tHe.EMPTY,n.length))),e},pHe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cHe;return e.call(this,fHe(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():uHe},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){nHe(this.getCharacterList(),hHe,e,t)},r.findEntityRanges=function(e,t){nHe(this.getCharacterList(),dHe,e,t)},i}(sHe(cHe)),mHe=pHe,gHe=Bqe,vHe=Cqe.exports.Map;function yHe(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(vHe([[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,h=e.getCharacterList();r<u;)c=h.get(r),h=h.set(r,i?gHe.applyStyle(c,n):gHe.removeStyle(c,n)),r++;return e.set("characterList",h)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var bHe={add:function(e,t,n){return yHe(e,t,n,!0)},remove:function(e,t,n){return yHe(e,t,n,!1)}},wHe=Bqe;var xHe=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,wHe.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},OHe=Cqe.exports;var kHe=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(OHe.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return xHe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},_He={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 h=i+n.length,d=l===i,f=u===h;return(!d&&f||d&&!f)&&("forward"===r?u!==h&&u++:l!==i&&l--),{start:l,end:u}}},SHe="production"!==Ns.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var CHe=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(SHe(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}},DHe=CHe;var EHe=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"!==Ns.env.NODE_ENV?DHe(!1,"Entity key not found in this range."):DHe(!1)),n},IHe=_He,THe=EHe,AHe=CHe;function PHe(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 h=THe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=h.length&&("production"!==Ns.env.NODE_ENV?AHe(!1,"There should only be one entity range within this removal range."):AHe(!1));var d=h[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});o||(a?l=d.end:s=d.start);var f=IHe.getRemovalRange(s,l,t.getText().slice(d.start,d.end),d.start,i);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var MHe=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=PHe(e,t,u,r,s,!0,!0);else if(s&&l){var c=PHe(e,t,u,r,s,!1,!0),h=PHe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:h.getFocusOffset(),isBackward:!1})}else if(s){var d=PHe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(l){var f=PHe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return u},NHe={},RHe=Math.pow(2,24);var LHe=function(){for(var e;void 0===e||NHe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*RHe).toString(32);return NHe[e]=!0,e},jHe=mHe,FHe=LHe,BHe=Cqe.exports.OrderedMap,zHe=function(e){return e.first()instanceof jHe?function(e){var t,n={};return BHe(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=FHe();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 h=e.get(u).getChildKeys();e.setIn([u,"children"],h.set(h.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 BHe(e.toArray().map((function(e){var t=FHe();return[t,e.set("key",t)]})))}(e)},WHe=Bqe,QHe=zqe,UHe=CHe;function VHe(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 QHe(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"!==Ns.env.NODE_ENV?UHe(!1,"Removal range must exist within character list."):UHe(!1)),i}(i,s,n),c=u.start,h=u.end;c<h;)l=i.get(c),i=i.set(c,WHe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var qHe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=VHe(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),h=n.get(u);o===u&&(h=l);var d=VHe(i,h,c);return d!==h&&(r[u]=d),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},HHe=zHe,$He=qHe,KHe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=$He(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return HHe(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 GHe=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},YHe=Iqe,XHe=mHe,ZHe=GHe,JHe=CHe,e$e=zHe,t$e=Cqe.exports.List,n$e=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,h=o+i.getText().length,d=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":d=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":d=i.getData()}var f=s.getType();l&&"unstyled"===f&&(f=i.getType());var p=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:ZHe(u,i.getCharacterList(),o),type:f,data:d});return e.merge({blockMap:n.set(r,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:h,focusKey:c,focusOffset:h,isBackward:!1})})},i$e=function(e,t,n,i,r,o){var a=n.first()instanceof XHe,s=[],l=i.size,u=n.get(r),c=i.first(),h=i.last(),d=h.getLength(),f=h.getKey(),p=a&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(p?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(p?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=YHe.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(),h=c.indexOf(r)+1,d=c.toArray();d.splice.apply(d,[h,0].concat(l)),t.setIn([s,"children"],t$e(d))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:d,focusKey:f,focusOffset:d,isBackward:!1})})},r$e=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ns.env.NODE_ENV?JHe(!1,"`insertFragment` should only be called with a collapsed selection state."):JHe(!1));var r=e.getBlockMap(),o=e$e(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof XHe&&(l.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?JHe(!1,"`insertFragment` should not be called when a container node is selected."):JHe(!1))),1===o.size?n$e(e,t,r,o.first(),a,s,i):i$e(e,t,r,o,a,s)},o$e=GHe,a$e=CHe,s$e=Cqe.exports.Repeat;var l$e=function(e,t,n,i){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?a$e(!1,"`insertText` should only be called with a collapsed range."):a$e(!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:o$e(l.getCharacterList(),s$e(i,r).toList(),s)}),h=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})},u$e=Cqe.exports.Map;var c$e=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(u$e([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},h$e=mHe,d$e=function(e,t){if(!(e instanceof h$e))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},f$e=mHe,p$e=d$e,m$e=Cqe.exports;m$e.List;var g$e=m$e.Map,v$e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},y$e=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},b$e=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},w$e=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},x$e=function(e,t,n,i){return e.withMutations((function(r){if(v$e(t.getKey(),r,(function(e){return e.merge({nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})})),v$e(n.getKey(),r,(function(e){return e.merge({nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})})),y$e(t.getKey(),i).forEach((function(e){return v$e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})}))})),v$e(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),v$e(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:b$e(e,r,i)})})),v$e(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:w$e(e,r,i)})})),v$e(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),y$e(n.getKey(),i).forEach((function(e){v$e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=p$e(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?p$e(r,t):null}return n}(n,i).forEach((function(e){return v$e(e,r,(function(e){return e.merge({nextSibling:b$e(e,r,i),prevSibling:w$e(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();v$e(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),v$e(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){v$e(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);v$e(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}v$e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},O$e=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},k$e=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 f$e,h=[];if(c){var d=u.getChildKeys(),f=y$e(a,i);u.getNextSiblingKey()&&(h=h.concat(f)),d.isEmpty()||(h=h.concat(f.concat([a]))),h=h.concat(y$e(p$e(u,i),i))}n=l===u?O$e(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var p=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()?g$e([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===h.indexOf(t)})).concat(g$e([[a,null]])).map((function(e,t){return t===r?p:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=x$e(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},_$e=mHe,S$e=LHe,C$e=Cqe.exports,D$e=CHe,E$e=c$e,I$e=C$e.List,T$e=C$e.Map,A$e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},P$e=function(e,t){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?D$e(!1,"Selection range must be collapsed."):D$e(!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 E$e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=S$e(),c=r instanceof _$e,h=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),d=h.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:T$e()}),f=i.toSeq().takeUntil((function(e){return e===r})),p=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=f.concat([[n,h],[u,d]],p).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?D$e(!1,"ContentBlockNode must not have children"):D$e(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();A$e(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:I$e(o)})})),A$e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),A$e(i,e,(function(e){return e.merge({nextSibling:r})})),A$e(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,h,d)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},M$e=Bqe,N$e=bHe,R$e=kHe,L$e=MHe,j$e=KHe,F$e=r$e,B$e=l$e,z$e=CHe,W$e=c$e,Q$e=qHe,U$e=k$e,V$e=P$e,q$e=Cqe.exports.OrderedSet,H$e={replaceText:function(e,t,n,i,r){var o=Q$e(e,t),a=U$e(o,t),s=M$e.create({style:i||q$e(),entity:r||null});return B$e(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==Ns.env.NODE_ENV?z$e(!1,"Target range must be collapsed for `insertText`."):z$e(!1)),H$e.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=j$e(e,t),r=H$e.removeRange(e,t,"backward");return H$e.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=Q$e(e,t),o=U$e(r,t);return F$e(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 h=L$e(e.getEntityMap(),o,a,t,n);return U$e(e,h)}var d=Q$e(e,t);return U$e(d,t)},splitBlock:function(e,t){var n=Q$e(e,t),i=U$e(n,t);return V$e(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return N$e.add(e,t,n)},removeInlineStyle:function(e,t,n){return N$e.remove(e,t,n)},setBlockType:function(e,t,n){return W$e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return W$e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return W$e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=Q$e(e,t);return R$e(i,t,n)}},$$e=H$e;var K$e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function G$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y$e=zqe,X$e=K$e,Z$e=Cqe.exports,J$e=Z$e.List,eKe=Z$e.Repeat,tKe=Z$e.Record,nKe=function(){return!0},iKe=tKe({start:null,end:null}),rKe=tKe({start:null,end:null,decoratorKey:null,leaves:null}),oKe={generate:function(e,t,n){var i=t.getLength();if(!i)return J$e.of(new rKe({start:0,end:0,decoratorKey:null,leaves:J$e.of(new iKe({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):J$e(eKe(null,i)),a=t.getCharacterList();return Y$e(o,sKe,nKe,(function(e,t){r.push(new rKe({start:e,end:t,decoratorKey:o.get(e),leaves:aKe(a.slice(e,t).toList(),e)}))})),J$e(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 rKe(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){G$e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?J$e(Array.isArray(t)?t:X$e(t)).map((function(e){return iKe(e)})):null}))}};function aKe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return Y$e(i,sKe,nKe,(function(e,i){n.push(new iKe({start:e+t,end:i+t}))})),J$e(n)}function sKe(e,t){return e===t}var lKe=oKe;var uKe=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,Cqe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),cKe=uKe;var hKe=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 dKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fKe=cKe,pKe=CHe,mKe=hKe,gKe=(0,Cqe.exports.Map)(),vKe=mKe();function yKe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var bKe={getLastCreatedEntityKey:function(){return yKe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),bKe.__getLastCreatedEntityKey()},create:function(e,t,n){return yKe("DraftEntity.create","contentState.createEntity"),bKe.__create(e,t,n)},add:function(e){return yKe("DraftEntity.add","contentState.addEntity"),bKe.__add(e)},get:function(e){return yKe("DraftEntity.get","contentState.getEntity"),bKe.__get(e)},__getAll:function(){return gKe},__loadWithEntities:function(e){gKe=e,vKe=mKe()},mergeData:function(e,t){return yKe("DraftEntity.mergeData","contentState.mergeEntityData"),bKe.__mergeData(e,t)},replaceData:function(e,t){return yKe("DraftEntity.replaceData","contentState.replaceEntityData"),bKe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return vKe},__create:function(e,t,n){return bKe.__add(new fKe({type:e,mutability:t,data:n||{}}))},__add:function(e){return vKe=mKe(),gKe=gKe.set(vKe,e),vKe},__get:function(e){var t=gKe.get(e);return t||("production"!==Ns.env.NODE_ENV?pKe(!1,"Unknown DraftEntity key: %s.",e):pKe(!1)),t},__mergeData:function(e,t){var n=bKe.__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){dKe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return gKe=gKe.set(e,r),r},__replaceData:function(e,t){var n=bKe.__get(e).set("data",t);return gKe=gKe.set(e,n),n}},wKe=bKe;var xKe=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,Cqe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),OKe=xKe,kKe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},_Ke=new RegExp("\r","g");var SKe=function(e){return e.replace(_Ke,"")};function CKe(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){DKe(e,t,n[t])}))}return e}function DKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EKe=Iqe,IKe=Bqe,TKe=eHe,AKe=mHe,PKe=wKe,MKe=OKe,NKe=LHe,RKe=K$e,LKe=kKe,jKe=Cqe.exports,FKe=SKe,BKe=jKe.List,zKe=jKe.Record,WKe=jKe.Repeat,QKe=jKe.Map,UKe=jKe.OrderedMap,VKe=zKe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),qKe=LKe("draft_tree_data_support")?AKe:TKe,HKe=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 PKe},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 PKe.__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 PKe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return PKe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return PKe.__replaceData(e,t),this},r.addEntity=function(e){return PKe.__add(e),this},r.getEntity=function(e){return PKe.__get(e)},r.getAllEntities=function(){return PKe.__getAll()},r.loadWithEntities=function(e){return PKe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=EKe.createFromArray(n),o=r.isEmpty()?new MKe:MKe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||PKe,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=FKe(e),new qKe({key:NKe(),text:e,type:"unstyled",characterList:BKe(WKe(IKe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(CKe({},e,{blockMap:UKe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new MKe(e.selectionBefore),selectionAfter:new MKe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new qKe(CKe({},e,{data:QKe(e.data),characterList:null!=t?BKe((Array.isArray(t)?t:RKe(t)).map((function(e){return IKe.fromJS(e)}))):void 0}))},i}(VKe),$Ke=HKe,KKe=CHe,GKe=null;function YKe(e){return"LTR"===e||"RTL"===e}function XKe(e){return YKe(e)||("production"!==Ns.env.NODE_ENV?KKe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):KKe(!1)),"LTR"===e?"ltr":"rtl"}function ZKe(e){GKe=e}var JKe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:YKe,getHTMLDir:XKe,getHTMLDirIfDifferent:function(e,t){return YKe(e)||("production"!==Ns.env.NODE_ENV?KKe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):KKe(!1)),YKe(t)||("production"!==Ns.env.NODE_ENV?KKe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):KKe(!1)),e===t?null:XKe(e)},setGlobalDir:ZKe,initGlobalDir:function(){ZKe("LTR")},getGlobalDir:function(){return GKe||this.initGlobalDir(),GKe||("production"!==Ns.env.NODE_ENV?KKe(!1,"Global direction not set."):KKe(!1)),GKe}},eGe=JKe,tGe=CHe,nGe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",iGe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",rGe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+nGe+iGe+"]"),oGe=new RegExp("["+nGe+iGe+"]");function aGe(e){var t=rGe.exec(e);return null==t?null:t[0]}function sGe(e){var t=aGe(e);return null==t?eGe.NEUTRAL:oGe.exec(t)?eGe.RTL:eGe.LTR}function lGe(e,t){if(t=t||eGe.NEUTRAL,!e.length)return t;var n=sGe(e);return n===eGe.NEUTRAL?t:n}function uGe(e,t){return t||(t=eGe.getGlobalDir()),eGe.isStrong(t)||("production"!==Ns.env.NODE_ENV?tGe(!1,"Fallback direction must be a strong direction"):tGe(!1)),lGe(e,t)}var cGe={firstStrongChar:aGe,firstStrongCharDir:sGe,resolveBlockDir:lGe,getDirection:uGe,isDirectionLTR:function(e,t){return uGe(e,t)===eGe.LTR},isDirectionRTL:function(e,t){return uGe(e,t)===eGe.RTL}};function hGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dGe,fGe=cGe,pGe=JKe,mGe=CHe,gGe=function(){function e(e){hGe(this,"_defaultDir",void 0),hGe(this,"_lastDir",void 0),e?pGe.isStrong(e)||("production"!==Ns.env.NODE_ENV?mGe(!1,"Default direction must be a strong direction (LTR or RTL)"):mGe(!1)):e=pGe.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=fGe.getDirection(e,this._lastDir),this._lastDir},e}(),vGe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},yGe=gGe,bGe=Cqe.exports,wGe=vGe,xGe=bGe.OrderedMap,OGe={getDirectionMap:function(e,t){dGe?dGe.reset():dGe=new yGe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return wGe(dGe).getDirection(e.getText())})),r=xGe(n.keySeq().zip(i));return null!=t&&bGe.is(t,r)?t:r}};function kGe(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){_Ge(e,t,n[t])}))}return e}function _Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SGe=lKe,CGe=$Ke,DGe=OGe,EGe=OKe,IGe=Cqe.exports,TGe=IGe.OrderedSet,AGe=IGe.Record,PGe=IGe.Stack,MGe=IGe.OrderedMap,NGe=IGe.List,RGe=AGe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:PGe(),selection:null,treeMap:null,undoStack:PGe()}),LGe=function(){t.createEmpty=function(e){return t.createWithContent(CGe.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:PGe(),redoStack:PGe(),decorator:n||null,selection:EGe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=kGe({},e,{treeMap:FGe(n,e.decorator),directionMap:DGe.getDirectionMap(n)});return new t(new RGe(i))},t.fromJS=function(e){return new t(new RGe(kGe({},e,{directionMap:null!=e.directionMap?MGe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?TGe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?CGe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?PGe(e.redoStack.map((function(e){return CGe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new EGe(e.selection):e.selection,treeMap:null!=e.treeMap?MGe(e.treeMap).map((function(e){return NGe(e).map((function(e){return SGe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?PGe(e.undoStack.map((function(e){return CGe.fromJS(e)}))):e.undoStack,currentContent:CGe.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 SGe.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):FGe(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 SGe.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){_Ge(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 zGe(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 zGe(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 jGe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),jGe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new EGe({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=DGe.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()||BGe(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(),h=["adjust-depth","change-block-type","split-block"];-1===h.indexOf(i)&&(c=null);var d={currentContent:u,directionMap:o,undoStack:l,redoStack:PGe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,d)},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=DGe.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=DGe.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 jGe(e,t,n){return LGe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function FGe(e,t){return e.getBlockMap().map((function(n){return SGe.generate(e,n,t)})).toOrderedMap()}function BGe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function zGe(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):TGe()}var WGe=LGe,QGe=mHe,UGe=d$e,VGe=Cqe.exports,qGe=CHe,HGe=VGe.OrderedMap,$Ge=VGe.List,KGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},GGe=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(),h=n.getParentKey(),d=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){KGe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),KGe(c,e,(function(e){return e.merge({nextSibling:u})})),KGe(u,e,(function(e){return e.merge({prevSibling:c})})),KGe(d,e,(function(e){return e.merge({prevSibling:a})})),KGe(f,e,(function(e){return e.merge({nextSibling:a})})),KGe(h,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:$Ge(r)})})),KGe(a,e,(function(e){return e.merge({nextSibling:d,prevSibling:f,parent:h})}))}))},YGe=function(e,t,n,i){"replace"===i&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Replacing blocks is not supported."):qGe(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Block cannot be moved next to itself."):qGe(!1));var a=e.getBlockMap(),s=t instanceof QGe,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=UGe(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})),h=u.toSeq().skipUntil((function(e){return e===n})).skip(1),d=l.map((function(e){return[e.getKey(),e]})),f=HGe();if("before"===i){var p=e.getBlockBefore(r);p&&p.getKey()===t.getKey()&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Block cannot be moved next to itself."):qGe(!1)),f=c.concat([].concat(d,[[r,n]]),h).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==Ns.env.NODE_ENV?qGe(!1,"Block cannot be moved next to itself."):qGe(!1)),f=c.concat([[r,n]].concat(d),h).toOrderedMap()}return e.merge({blockMap:GGe(f,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function XGe(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){ZGe(e,t,n[t])}))}return e}function ZGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JGe=Iqe,eYe=Bqe,tYe=eHe,nYe=mHe,iYe=$$e,rYe=WGe,oYe=LHe,aYe=Cqe.exports,sYe=YGe,lYe=kKe("draft_tree_data_support"),uYe=lYe?nYe:tYe,cYe=aYe.List,hYe=aYe.Repeat,dYe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=iYe.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=iYe.splitBlock(o,a),l=s.getSelectionAfter(),u=iYe.setBlockType(s,l,"atomic"),c=eYe.create({entity:t}),h={key:oYe(),type:"atomic",text:n,characterList:cYe(hYe(c,n.length))},d={key:oYe(),type:"unstyled"};lYe&&(h=XGe({},h,{nextSibling:d.key}),d=XGe({},d,{prevSibling:h.key}));var f=[new uYe(h),new uYe(d)],p=JGe.createFromArray(f),m=iYe.replaceWithFragment(u,l,p),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return rYe.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=sYe(o,t,s,i)}else{var l=iYe.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=sYe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=sYe(l,t,c,"after");else{var h=iYe.splitBlock(l,u),d=h.getSelectionAfter(),f=h.getBlockForKey(d.getFocusKey());r=sYe(h,t,f,"before")}}var p=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return rYe.push(e,p,"move-block")}};var fYe=Cqe.exports.List,pYe=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)})),fYe(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 mYe=pYe;function gYe(e){return e.replace(/\//g,"-")}var vYe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(gYe).join(" "):Array.prototype.map.call(arguments,gYe).join(" ")},yYe=o,bYe=vYe,wYe=(0,Cqe.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:yYe.createElement("ul",{className:bYe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:yYe.createElement("ol",{className:bYe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:yYe.createElement("pre",{className:bYe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),xYe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},OYe={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",h="vendor",d="version",f="architecture",p="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",O="ASUS",k="BlackBerry",_="Firefox",S="Google",C="Huawei",D="LG",E="Microsoft",I="Motorola",T="Opera",A="Samsung",P="Sony",M="Xiaomi",N="Zebra",R="Facebook",L=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},j=function(e,t){return typeof e===s&&-1!==F(t).indexOf(F(e))},F=function(e){return e.toLowerCase()},B=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},z=function(e,t){for(var n,o,s,l,u,c,h=0;h<t.length&&!u;){var d=t[h],f=t[h+1];for(n=o=0;n<d.length&&!u;)if(u=d[n++].exec(e))for(s=0;s<f.length;s++)c=u[++o],typeof(l=f[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;h+=2}},W=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(j(t[n][r],e))return"?"===n?i:n}else if(j(t[n],e))return"?"===n?i:n;return e},Q={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"},U={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,d],[/opios[\/ ]+([\w\.]+)/i],[d,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[d,[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,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[d,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],d],[/\bfocus\/([\w\.]+)/i],[d,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[d,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[d,[u,_]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,R],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,d],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[d,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[d,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[d,W,{"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,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[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,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,F]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,F]]],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,[h,A],[c,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[h,A],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[h,x],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[h,x],[c,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[h,C],[c,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[h,C],[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," "],[h,M],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[h,M],[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,[h,"OPPO"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[h,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[h,"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,[h,I],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[h,I],[c,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[h,D],[c,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[h,D],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[h,"Lenovo"],[c,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[h,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[h,S],[c,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[h,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,[h,P],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[h,P],[c,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[h,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[h,w],[c,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[h,w],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,h,[c,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[h,k],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[h,O],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[h,O],[c,m]],[/(nexus 9)/i],[l,[h,"HTC"],[c,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[h,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[h,"Acer"],[c,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[h,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,"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],[h,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],[h,l,[c,g]],[/(surface duo)/i],[l,[h,E],[c,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[h,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[h,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[h,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[h,"RCA"],[c,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[h,"Dell"],[c,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[h,"Verizon"],[c,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[h,"Barnes & Noble"],[c,g]],[/\b(tm\d{3}\w+) b/i],[l,[h,"NuVision"],[c,g]],[/\b(k88) b/i],[l,[h,"ZTE"],[c,g]],[/\b(nx\d{3}j) b/i],[l,[h,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[h,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[h,"Swiss"],[c,g]],[/\b((zeki)?tb.*\b) b/i],[l,[h,"Zeki"],[c,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],l,[c,g]],[/\b(ns-?\w{0,9}) b/i],[l,[h,"Insignia"],[c,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[h,"NextBook"],[c,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[h,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[h,"Envizen"],[c,g]],[/\b(trio[-\w\. ]+) b/i],[l,[h,"MachSpeed"],[c,g]],[/\btu_(1491) b/i],[l,[h,"Rotor"],[c,g]],[/(shield[\w ]+) b/i],[l,[h,"Nvidia"],[c,g]],[/(sprint) (\w+)/i],[h,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[h,E],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[h,N],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[h,N],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,l,[c,p]],[/droid.+; (shield) bui/i],[l,[h,"Nvidia"],[c,p]],[/(playstation [345portablevi]+)/i],[l,[h,P],[c,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[h,E],[c,p]],[/smart-tv.+(samsung)/i],[h,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,A],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,D],[c,v]],[/(apple) ?tv/i],[h,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[h,S],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[h,w],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[h,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,B],[l,B],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[h,l,[c,y]],[/droid.+; (glass) \d/i],[l,[h,S],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[h,N],[c,y]],[/(quest( 2)?)/i],[l,[h,R],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[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,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[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,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[d,W,Q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[d,W,Q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[d,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,d],[/\(bb(10);/i],[d,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],d],[/(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,d],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,d]]},V=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof V))return new V(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}(U,t):U;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,z.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,z.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,z.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,z.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,z.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?B(e,255):e,this},this.setUA(r),this};V.VERSION="0.7.31",V.BROWSER=L([u,d,"major"]),V.CPU=L([f]),V.DEVICE=L([l,h,c,p,m,v,g,y,b]),V.ENGINE=V.OS=L([u,d]),e.exports&&(t=e.exports=V),t.UAParser=V;var q=typeof n!==o&&(n.jQuery||n.Zepto);if(q&&!q.ua){var H=new V;q.ua=H.getResult(),q.ua.get=function(){return H.getUA()},q.ua.set=function(e){H.setUA(e);var t=H.getResult();for(var n in t)q.ua[n]=t[n]}}}("object"==typeof window?window:He)}(OYe,OYe.exports);var kYe="Unknown",_Ye={"Mac OS":"Mac OS X"};var SYe=(new(0,OYe.exports)).getResult(),CYe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(SYe.browser.version),DYe={browserArchitecture:SYe.cpu.architecture||kYe,browserFullVersion:SYe.browser.version||kYe,browserMinorVersion:CYe.minor||kYe,browserName:SYe.browser.name||kYe,browserVersion:SYe.browser.major||kYe,deviceName:SYe.device.model||kYe,engineName:SYe.engine.name||kYe,engineVersion:SYe.engine.version||kYe,platformArchitecture:SYe.cpu.architecture||kYe,platformName:function(e){return _Ye[e]||e}(SYe.os.name)||kYe,platformVersion:SYe.os.version||kYe,platformFullVersion:SYe.os.version||kYe},EYe=DYe,IYe=CHe,TYe=/\./,AYe=/\|\|/,PYe=/\s+\-\s+/,MYe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,NYe=/^(\d*)(.*)/;function RYe(e,t){var n=e.split(AYe);return n.length>1?n.some((function(e){return HYe.contains(e,t)})):function(e,t){var n=e.split(PYe);if(n.length>0&&n.length<=2||("production"!==Ns.env.NODE_ENV?IYe(!1,'the "-" operator expects exactly 2 operands'):IYe(!1)),1===n.length)return LYe(n[0],t);var i=n[0],r=n[1];return WYe(i)&&WYe(r)||("production"!==Ns.env.NODE_ENV?IYe(!1,'operands to the "-" operator must be simple (no modifiers)'):IYe(!1)),LYe(">="+i,t)&&LYe("<="+r,t)}(e=n[0].trim(),t)}function LYe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(TYe),i=BYe(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return jYe(n,o);case"<=":return function(e,t){var n=qYe(e,t);return-1===n||0===n}(n,o);case">=":return FYe(n,o);case">":return function(e,t){return 1===qYe(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);zYe(o)&&(i[r]=o+1+"");return FYe(e,n)&&jYe(e,i)}(n,o);default:return function(e,t){return 0===qYe(e,t)}(n,o)}}function jYe(e,t){return-1===qYe(e,t)}function FYe(e,t){var n=qYe(e,t);return 1===n||0===n}function BYe(e){var t=e.split(TYe),n=t[0].match(MYe);return n||("production"!==Ns.env.NODE_ENV?IYe(!1,"expected regex to match but it did not"):IYe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function zYe(e){return!isNaN(e)&&isFinite(e)}function WYe(e){return!BYe(e).modifier}function QYe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function UYe(e,t){var n=e.match(NYe)[1],i=t.match(NYe)[1],r=parseInt(n,10),o=parseInt(i,10);return zYe(r)&&zYe(o)&&r!==o?VYe(r,o):VYe(e,t)}function VYe(e,t){return typeof e!=typeof t&&("production"!==Ns.env.NODE_ENV?IYe(!1,'"a" and "b" must be of the same type'):IYe(!1)),e>t?1:e<t?-1:0}function qYe(e,t){for(var n=function(e,t){QYe(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 QYe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=UYe(i[o],r[o]);if(a)return a}return 0}var HYe={contains:function(e,t){return RYe(e.trim(),t.trim())}},$Ye=HYe,KYe=Object.prototype.hasOwnProperty;var GYe=function(e,t,n){if(!e)return null;var i={};for(var r in e)KYe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var YYe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},XYe=EYe,ZYe=$Ye;function JYe(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,ZYe.contains(r,t))}function eXe(e){return"Windows"===XYe.platformName?e.replace(/^\s*NT/,""):e}var tXe=GYe({isBrowser:function(e){return JYe(XYe.browserName,XYe.browserFullVersion,e)},isBrowserArchitecture:function(e){return JYe(XYe.browserArchitecture,null,e)},isDevice:function(e){return JYe(XYe.deviceName,null,e)},isEngine:function(e){return JYe(XYe.engineName,XYe.engineVersion,e)},isPlatform:function(e){return JYe(XYe.platformName,XYe.platformFullVersion,e,eXe)},isPlatformArchitecture:function(e){return JYe(XYe.platformArchitecture,null,e)}},YYe);var nXe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var iXe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},rXe=iXe;var oXe=function e(t){if(rXe(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},aXe=nXe,sXe=oXe;var lXe=function(e){for(var t=e;t&&t!==aXe(e).documentElement;){var n=sXe(t);if(null!=n)return n;t=t.parentNode}return null};var uXe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function cXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hXe=tXe,dXe=lXe,fXe=uXe,pXe=CHe,mXe=vGe,gXe=Cqe.exports.Map,vXe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},yXe=hXe.isBrowser("IE <= 11"),bXe=function(){function e(e){var t=this;cXe(this,"observer",void 0),cXe(this,"container",void 0),cXe(this,"mutations",void 0),cXe(this,"onCharData",void 0),this.container=e,this.mutations=gXe();var n=fXe(e);n.MutationObserver&&!yXe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ns.env.NODE_ENV?pXe(!1,"Expected target to be an instance of Node"):pXe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,vXe):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=gXe(),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 yXe?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=mXe(dXe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),wXe={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},xXe={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},OXe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var kXe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},_Xe=CHe,SXe=kXe;var CXe=function(e){var t=e.editorContainer;return t||("production"!==Ns.env.NODE_ENV?_Xe(!1,"Missing editorNode"):_Xe(!1)),SXe(t.firstChild)||("production"!==Ns.env.NODE_ENV?_Xe(!1,"editorNode.firstChild is not an HTMLElement"):_Xe(!1)),t.firstChild},DXe=wXe,EXe=vGe;var IXe=function(e,t,n,i,r){var o=EXe(e.getSelection());if(!t||!i)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=DXe.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=DXe.decode(i),h=c.blockKey,d=e.getBlockTree(h),f=d&&d.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!f)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var p=u.get("start"),m=f.get("start"),g=u?p+n:null,v=f?m+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===h&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===h){var w=u.get("end"),x=f.get("end");b=m===p&&x===w?r<n:m<p}else{var O=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===h})).first();b=O===h}return o.merge({anchorKey:s,anchorOffset:g,focusKey:h,focusOffset:v,isBackward:b})},TXe=lXe,AXe=oXe,PXe=IXe,MXe=CHe,NXe=iXe,RXe=vGe;function LXe(e,t,n){var i=t,r=TXe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==Ns.env.NODE_ENV?MXe(!1,"Unknown node in selection range."):MXe(!1)),e===i)&&(i=i.firstChild,NXe(i)||("production"!==Ns.env.NODE_ENV?MXe(!1,"Invalid DraftEditorContents node."):MXe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==Ns.env.NODE_ENV?MXe(!1,"Invalid DraftEditorContents structure."):MXe(!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&&(NXe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||AXe(e.firstChild));)e=e.firstChild;return e}(i);o=RXe(AXe(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(AXe(s)){var c=function(e){for(;e.lastChild&&(NXe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||AXe(e.lastChild));)e=e.lastChild;return e}(s);l=RXe(AXe(c)),u=jXe(c)}else l=RXe(r),u=jXe(s);return{key:l,offset:u}}function jXe(e){var t=e.textContent;return"\n"===t?0:t.length}var FXe=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:PXe(e,RXe(TXe(n)),i,RXe(TXe(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:RXe(TXe(n)),offset:i},u=LXe(t,r,o)):s?(u={key:RXe(TXe(r)),offset:o},l=LXe(t,n,i)):(l=LXe(t,n,i),u=LXe(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:PXe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},BXe=FXe;var zXe=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}:BXe(e,t,i,r,o,a)},WXe=OXe,QXe=WGe,UXe=CXe,VXe=zXe;var qXe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();WXe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=VXe(n,UXe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?QXe.forceSelection(n,r):QXe.acceptSelection(n,r),e.update(n))}};var HXe={notEmptyKey:function(e){return null!=e&&""!=e}},$Xe=HXe.notEmptyKey;function KXe(e,t){return $Xe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var GXe=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:KXe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),KXe(e.getEntityMap(),n)},YXe=bXe,XXe=$$e,ZXe=wXe,JXe=WGe,eZe=xXe,tZe=CXe,nZe=zXe,iZe=GXe,rZe=vGe,oZe=!1,aZe=!1,sZe=null;var lZe={onCompositionStart:function(e){aZe=!0,function(e){sZe||(sZe=new YXe(tZe(e))).start()}(e)},onCompositionEnd:function(e){oZe=!1,aZe=!1,setTimeout((function(){oZe||lZe.resolveComposition(e)}),20)},onSelect:qXe,onKeyDown:function(e,t){if(!aZe)return lZe.resolveComposition(e),void e._onKeyDown(t);t.which!==eZe.RIGHT&&t.which!==eZe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===eZe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!aZe){var t=rZe(sZe).stopAndFlushMutations();sZe=null,oZe=!0;var n=JXe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=ZXe.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,h=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),d=iZe(i,h),f=i.getBlockForKey(o).getInlineStyleAt(u);i=XXe.replaceText(i,h,e,f,d),n=JXe.set(n,{currentContent:i})}));var r=nZe(n,tZe(e)).selectionState;e.restoreEditorDOM();var o=JXe.acceptSelection(n,r);e.update(JXe.push(o,i,"insert-characters"))}else e.update(n)}}},uZe=lZe,cZe=kY;function hZe(){return hZe=cZe||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},hZe.apply(this,arguments)}var dZe=wXe,fZe=o,pZe=cGe,mZe=JKe,gZe=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"),h=r.getComponentForKey(o),d=r.getPropsForKey(o),f=dZe.encode(u,parseInt(o,10),0),p=l.slice(c.first().get("start"),c.last().get("end")),m=mZe.getHTMLDirIfDifferent(pZe.getDirection(p),a);return fZe.createElement(h,hZe({},d,{contentState:i,decoratedText:p,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},i}(fZe.Component),vZe=gZe;function yZe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wZe=o,xZe=CHe,OZe=iXe,kZe=tXe.isBrowser("IE <= 11");var _Ze=function(e){var t,n;function i(t){var n;return bZe(yZe(n=e.call(this,t)||this),"_forceFlag",void 0),bZe(yZe(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;OZe(t)||("production"!==Ns.env.NODE_ENV?xZe(!1,"node is not an Element"):xZe(!1));var i=t;return n?!function(e){return kZe?"\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},kZe?wZe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):wZe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return kZe?wZe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):wZe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):wZe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(wZe.Component),SZe=_Ze,CZe=iXe;var DZe=function(e){return!(!e||!e.ownerDocument)&&(CZe(e)&&"BR"===e.nodeName)};var EZe=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 IZe=function(e){return EZe(e)&&3==e.nodeType};var TZe=function e(t,n){return!(!t||!n)&&(t===n||!IZe(t)&&(IZe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var AZe=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}},PZe=OXe,MZe=TZe,NZe=AZe,RZe=nXe,LZe=CHe,jZe=iXe,FZe=tXe.isBrowser("IE");function BZe(e,t){if(!e)return"[empty]";var n=zZe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(jZe(n)||("production"!==Ns.env.NODE_ENV?LZe(!1,"Node must be an Element if it is not a text node."):LZe(!1)),n.outerHTML)}function zZe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return RZe(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(zZe(o[a],t));return r}function WZe(e,t){for(var n=e,i=n;n;){if(jZe(n)&&i.hasAttribute("contenteditable"))return BZe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function QZe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function UZe(e,t,n,i){var r=NZe();if(e.extend&&null!=t&&MZe(r,t)){n>QZe(t)&&PZe.logSelectionStateFailure({anonymizedDom:WZe(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 PZe.logSelectionStateFailure({anonymizedDom:WZe(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 VZe(e,t,n,i){var r=RZe(t).createRange();if(n>QZe(t)&&PZe.logSelectionStateFailure({anonymizedDom:WZe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),FZe)try{e.addRange(r)}catch(e){"production"!==Ns.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var qZe=function(e,t,n,i,r){var o=RZe(t);if(MZe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),h=e.getIsBackward();if(!a.extend&&h){var d=s,f=l;s=u,l=c,u=d,c=f,h=!1}var p=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(p&&m)return a.removeAllRanges(),VZe(a,t,l-i,e),void UZe(a,t,c-i,e);if(h){if(m&&(a.removeAllRanges(),VZe(a,t,c-i,e)),p){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),VZe(a,t,l-i,e),UZe(a,g,v,e)}}else p&&(a.removeAllRanges(),VZe(a,t,l-i,e)),m&&UZe(a,t,c-i,e)}},HZe=kY;function $Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GZe=SZe,YZe=o,XZe=CHe,ZZe=DZe,JZe=qZe,eJe=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 KZe($Ze(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"!==Ns.env.NODE_ENV?XZe(!1,"Missing node"):XZe(!1));var l,u=s.firstChild;u||("production"!==Ns.env.NODE_ENV?XZe(!1,"Missing child"):XZe(!1)),u.nodeType===Node.TEXT_NODE?l=u:ZZe(u)?l=s:(l=u.firstChild)||("production"!==Ns.env.NODE_ENV?XZe(!1,"Missing targetNode"):XZe(!1)),JZe(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ns.env.NODE_ENV?XZe(!1,"Missing leafNode"):XZe(!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()),HZe(e,i,n)}),{});if(o){var u=o(s,t);l=HZe(l,u)}return YZe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},YZe.createElement(GZe,null,n))},i}(YZe.Component),tJe=eJe;var nJe=vZe,iJe=tJe,rJe=wXe,oJe=o,aJe=vYe;Cqe.exports.List;var sJe=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,h=t.getKey(),d=t.getText(),f=c.size-1,p=this.props.children||c.map((function(e,c){var p=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=rJe.encode(h,c,n),a=e.get("start"),m=e.get("end");return oJe.createElement(iJe,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:d.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:p===f&&n===g})})).toArray();return p&&o?oJe.createElement(nJe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:p,direction:a,leafSet:e,text:d,key:c}):v})).toArray();return oJe.createElement("div",{"data-offset-key":rJe.encode(h,0,0),className:aJe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},p)},i}(oJe.Component),lJe=sJe;function uJe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var cJe={getTop:function(e){var t=e.ownerDocument;return uJe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;uJe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return uJe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;uJe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},hJe=cJe,dJe=/-(.)/g;var fJe=function(e){return e.replace(dJe,(function(e,t){return t.toUpperCase()}))},pJe=/([A-Z])/g;var mJe=function(e){return e.replace(pJe,"-$1").toLowerCase()},gJe=fJe,vJe=mJe;function yJe(e){return null==e?e:String(e)}var bJe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return yJe(n.getPropertyValue(vJe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return yJe(n.getPropertyValue(vJe(t)));if("display"===t)return"none"}return e.currentStyle?yJe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[gJe(t)]):yJe(e.style&&e.style[gJe(t)])};function wJe(e,t){var n=xJe.get(e,t);return"auto"===n||"scroll"===n}var xJe={get:bJe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(wJe(e,"overflow")||wJe(e,"overflowY")||wJe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},OJe=xJe,kJe=TZe;var _Je=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!kJe(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 SJe=function(e){var t=_Je(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},CJe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var DJe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:CJe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var EJe=DJe,IJe=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 TJe=function(e){var t=EJe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=IJe(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 AJe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function PJe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function MJe(){return{width:window.innerWidth||AJe(),height:window.innerHeight||PJe()}}MJe.withoutScrollbars=function(){return{width:AJe(),height:PJe()}};var NJe=MJe,RJe=kY;function LJe(){return LJe=RJe||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},LJe.apply(this,arguments)}function jJe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FJe(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){BJe(e,t,n[t])}))}return e}function BJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zJe=lJe,WJe=wXe,QJe=o,UJe=hJe,VJe=OJe,qJe=SJe,HJe=TJe,$Je=NJe,KJe=CHe,GJe=kXe;Cqe.exports.List;var YJe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},XJe=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}},ZJe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},JJe=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=FJe({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},e0e=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 BJe(jJe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",QJe.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||YJe(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=VJe.getScrollParent(n),o=HJe(r);if(r===window){var a=qJe(n);(i=a.y+a.height-$Je().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{GJe(n)||("production"!==Ns.env.NODE_ENV?KJe(!1,"blockNode is not an HTMLElement"):KJe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&UJe.setTop(r,UJe.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,h=t.customStyleFn,d=t.customStyleMap,f=t.direction,p=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=WJe.encode(n,0,0),h=s.getBlockForKey(n),d=ZJe(h,o),f=d.CustomComponent||i,p=XJe(h,r),m=p.Element,g=p.wrapperTemplate,v=JJe(h,u,l,a,d,null),y=FJe({},e.props,{tree:c.getBlockTree(n),blockProps:d.customProps,offsetKey:l,block:h});return t.push(QJe.createElement(m,v,QJe.createElement(f,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(h,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(),h=c[0].key;n.push(QJe.cloneElement(e,{key:"".concat(h,"-wrap"),"data-offset-key":WJe.encode(h,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=WJe.encode(y,0,0),w=ZJe(n,o),x=w.CustomComponent,O=null!=x?QJe.createElement(x,LJe({},this.props,{tree:c.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):QJe.createElement(zJe,{block:n,children:v,contentState:s,customStyleFn:h,customStyleMap:d,decorator:l,direction:f,forceSelection:p,hasSelection:YJe(m,y),selection:m,tree:g});if(n.getParentKey())return O;var k=XJe(n,r).Element,_=JJe(n,u,b,a,w,this.wrapperRef);return QJe.createElement(k,_,O)},i}(QJe.Component),t0e=kY;function n0e(){return n0e=t0e||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},n0e.apply(this,arguments)}var i0e=e0e,r0e=wXe,o0e=o,a0e=vGe,s0e=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(),h=a.mustForceSelection(),d=a.getDecorator(),f=a0e(a.getDirectionMap()),p=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:d,editorKey:s,editorState:a,forceSelection:h,selection:c,block:m,direction:l||f.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;p.push({block:o0e.createElement(i0e,n0e({key:g},v)),wrapperTemplate:y,key:g,offsetKey:r0e.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?u.getBlockForKey(b):null}for(var w=[],x=0;x<p.length;){var O=p[x];if(O.wrapperTemplate){var k=[];do{k.push(p[x].block),x++}while(x<p.length&&p[x].wrapperTemplate===O.wrapperTemplate);var _=o0e.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},k);w.push(_)}else w.push(O.block),x++}return o0e.createElement("div",{"data-contents":"true"},w)},i}(o0e.Component),l0e=s0e,u0e=kY;function c0e(){return c0e=u0e||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},c0e.apply(this,arguments)}function h0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f0e=tJe,p0e=wXe,m0e=o,g0e=hJe,v0e=OJe,y0e=cGe,b0e=JKe,w0e=vYe,x0e=SJe,O0e=TJe,k0e=NJe,_0e=CHe,S0e=kXe,C0e=vGe,D0e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},E0e=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 d0e(h0e(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||D0e(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=v0e.getScrollParent(n),o=O0e(r);if(r===window){var a=x0e(n);(i=a.y+a.height-k0e().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{S0e(n)||("production"!==Ns.env.NODE_ENV?_0e(!1,"blockNode is not an HTMLElement"):_0e(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&g0e.setTop(r,g0e.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=D0e(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=p0e.encode(n,s,l),h=a.get("start"),d=a.get("end");return m0e.createElement(f0e,{key:c,offsetKey:c,block:t,start:h,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(h,d),styleSet:t.getInlineStyleAt(h),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),h=a.get("decoratorKey");if(null==h)return c;if(!e.props.decorator)return c;var d=C0e(e.props.decorator),f=d.getComponentForKey(h);if(!f)return c;var p=d.getPropsForKey(h),m=p0e.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")),w=b0e.getHTMLDirIfDifferent(y0e.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return m0e.createElement(f,c0e({},p,x,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=w0e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return m0e.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(m0e.Component),I0e=E0e;var T0e=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},A0e=kY;function P0e(){return P0e=A0e||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},P0e.apply(this,arguments)}function M0e(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){N0e(e,t,n[t])}))}return e}function N0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R0e=I0e,L0e=wXe,j0e=o,F0e=vYe,B0e=T0e,z0e=vGe,W0e=function(e,t,n,i){return F0e({"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})},Q0e=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(),h=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=z0e(a.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),O=w.getType(),k=n(w),_=void 0,S=void 0,C=void 0;k&&(_=k.component,S=k.props,C=k.editable);var D=u||p.get(x),E=L0e.encode(x,0,0),I={contentState:c,block:w,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:f,direction:D,forceSelection:d,offsetKey:E,preventScroll:l,selection:h,tree:a.getBlockTree(x)},T=t.get(O)||t.get("unstyled"),A=T.wrapper,P=T.element||t.get("unstyled").element,M=w.getDepth(),N="";if(i&&(N=i(w)),"li"===P)N=B0e(N,W0e(O,M,y!==A||null===v||M>v,D));var R=_||R0e,L={className:N,"data-block":!0,"data-editor":s,"data-offset-key":E,key:x};void 0!==C&&(L=M0e({},L,{contentEditable:C,suppressContentEditableWarning:!0}));var j=j0e.createElement(P,L,j0e.createElement(R,P0e({},I,{key:x})));g.push({block:j,wrapperTemplate:A,key:x,offsetKey:E}),v=A?w.getDepth():null,y=A}for(var F=[],B=0;B<g.length;){var z=g[B];if(z.wrapperTemplate){var W=[];do{W.push(g[B].block),B++}while(B<g.length&&g[B].wrapperTemplate===z.wrapperTemplate);var Q=j0e.cloneElement(z.wrapperTemplate,{key:z.key+"-wrap","data-offset-key":z.offsetKey},W);F.push(Q)}else F.push(z.block),B++}return j0e.createElement("div",{"data-contents":"true"},F)},i}(j0e.Component),U0e=Q0e,V0e=kKe("draft_tree_data_support")?l0e:U0e,q0e={isImage:function(e){return"image"===H0e(e)[0]},isJpeg:function(e){var t=H0e(e);return q0e.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function H0e(e){return e.split("/")}var $0e=q0e,K0e=CHe;var G0e=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"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Array-like object expected"):K0e(!1)),"number"!=typeof t&&("production"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Object needs a length property"):K0e(!1)),0===t||t-1 in e||("production"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Object should have keys for indices"):K0e(!1)),"function"==typeof e.callee&&("production"!==Ns.env.NODE_ENV?K0e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):K0e(!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 Y0e(e){return function(){return e}}var X0e=function(){};X0e.thatReturns=Y0e,X0e.thatReturnsFalse=Y0e(!1),X0e.thatReturnsTrue=Y0e(!0),X0e.thatReturnsNull=Y0e(null),X0e.thatReturnsThis=function(){return this},X0e.thatReturnsArgument=function(e){return e};var Z0e=X0e,J0e=$0e,e1e=G0e,t1e=Z0e,n1e=new RegExp("\r\n","g"),i1e={"text/rtf":1,"text/html":1};function r1e(e){if("file"==e.kind)return e.getAsFile()}var o1e=function(){function e(e){this.data=e,this.types=e.types?e1e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return i1e[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(n1e,"\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(!J0e.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(r1e).filter(t1e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),a1e=o1e,s1e=CHe,l1e=/\.textClipping$/,u1e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var c1e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!He.FileReader||e.type&&!(e.type in u1e))return void t("");if(""===e.type){var n="";return l1e.test(e.name)&&(n=e.name.replace(l1e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==Ns.env.NODE_ENV?s1e(!1,'We should be calling "FileReader.readAsText" which returns a string'):s1e(!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 h1e=function(e){return"handled"===e||!0===e},d1e=a1e,f1e=$$e,p1e=WGe,m1e=lXe,g1e=nXe,v1e=c1e,y1e=IXe,b1e=uXe,w1e=h1e,x1e=vGe;var O1e={onDragEnd:function(e){e.exitCurrentMode(),k1e(e)},onDrop:function(e,t){var n=new d1e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=g1e(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=x1e(n),i=x1e(i);var a=x1e(m1e(n));return y1e(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&&w1e(e.props.handleDroppedFiles(r,o)))return;v1e(o,(function(t){t&&e.update(_1e(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&w1e(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=f1e.moveText(e.getCurrentContent(),e.getSelection(),t);return p1e.push(e,n,"insert-fragment")}(i,r)):e.update(_1e(i,r,n.getText()))),k1e(e)}}}};function k1e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:b1e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function _1e(e,t,n){var i=f1e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return p1e.push(e,i,"insert-fragment")}var S1e=O1e;var C1e=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){Ns.nextTick((function(){h(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)&&h(+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){h(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(){h(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(h,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 h(e){if(s)setTimeout(h,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?He:self);var D1e=He.setImmediate,E1e=$$e,I1e=WGe,T1e=GXe,A1e=h1e,P1e=C1e,M1e=vGe,N1e=D1e,R1e=tXe.isBrowser("Firefox");function L1e(e,t,n,i,r){var o=E1e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return I1e.push(e,o,"insert-characters",r)}var j1e=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&&A1e(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(L1e(n,i,n.getCurrentInlineStyle(),T1e(n.getCurrentContent(),n.getSelection()),!0));var s,l=L1e(n,i,n.getCurrentInlineStyle(),T1e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=P1e(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),h=l.getBlockTree(a);u=c.size!==h.size||c.zip(h).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"),h=n.get("decoratorKey");return t.get("decoratorKey")!==h||t.get("leaves").size!==n.get("leaves").size||a!==u||l!==c||null!=h&&c-u!=s-r}))}if(u||(s=i,u=R1e&&("'"==s||"/"==s)),u||(u=M1e(l.getDirectionMap()).get(a)!==M1e(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=I1e.set(l,{forceSelection:!0}),void e.update(l);l=I1e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,N1e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},F1e=WGe,B1e=TZe,z1e=AZe;var W1e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&z1e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&B1e(r,i.anchorNode)&&B1e(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(F1e.acceptSelection(o,s))}},Q1e=WGe;var U1e=function(e,t){e.setMode("composite"),e.update(Q1e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},V1e=KHe;var q1e=function(e){var t=e.getSelection();return t.isCollapsed()?null:V1e(e.getCurrentContent(),t)},H1e=q1e;var $1e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(H1e(e._latestEditorState))};var K1e=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},G1e=$$e,Y1e=WGe,X1e=OJe,Z1e=q1e,J1e=TJe,e2e=K1e;var t2e=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(e2e(o)){var a=o;n=J1e(X1e.getScrollParent(a))}var s=Z1e(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=G1e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return Y1e.push(e,t,"remove-range")}(i))}),0)}};var n2e=function(e,t){e.setMode("drag"),t.preventDefault()};var i2e=function(e){e._internalDrag=!0,e.setMode("drag")},r2e=WGe,o2e=tXe;var a2e=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),o2e.isBrowser("Chrome < 60.0.3081.0")?e.update(r2e.forceSelection(n,r)):e.update(r2e.acceptSelection(n,r))}},s2e=CHe,l2e=/[\uD800-\uDFFF]/;function u2e(e){return 55296<=e&&e<=57343}function c2e(e){return l2e.test(e)}function h2e(e,t){return 1+u2e(e.charCodeAt(t))}function d2e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!c2e(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+=h2e(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=h2e(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=h2e(e,o);return e.substring(r,o)}var f2e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=h2e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:h2e,hasSurrogateUnit:c2e,isCodeUnitInSurrogateRange:u2e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ns.env.NODE_ENV?s2e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):s2e(!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(!c2e(e))return e.length;for(var t=0,n=0;n<e.length;n+=h2e(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 d2e(e,t=t<n?t:n,i)},substr:d2e},p2e=f2e,m2e=Z0e;function g2e(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 v2e="production"!==Ns.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];g2e.apply(void 0,[t].concat(i))}}:m2e,y2e=v2e,b2e=y2e;var w2e=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&b2e(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})},x2e=$$e,O2e=kKe("draft_tree_data_support");var k2e=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(O2e&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(O2e)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 x2e.removeRange(r,o,n)},_2e=WGe,S2e=p2e,C2e=w2e,D2e=k2e;var E2e=function(e){var t=D2e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return C2e(e,o?S2e.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return _2e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},I2e=$$e,T2e=wXe,A2e=WGe,P2e=HXe.notEmptyKey,M2e=lXe,N2e=E2e,R2e=vGe,L2e=tXe.isEngine("Gecko");var j2e=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=R2e(M2e(i)),h=T2e.decode(c),d=h.blockKey,f=h.decoratorKey,p=h.leafKey,m=u.getBlockTree(d).getIn([f,"leaves",p]),g=m.start,v=m.end,y=u.getCurrentContent(),b=y.getBlockForKey(d),w=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==w){var x,O,k,_,S=u.getSelection(),C=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),D=b.getEntityAt(g),E=P2e(D)?y.getEntity(D):null,I="MUTABLE"===(null!=E?E.getMutability():null),T=I?"spellcheck-change":"apply-entity",A=I2e.replaceText(y,C,l,b.getInlineStyleAt(g),I?b.getEntityAt(g):null);if(L2e)x=n.anchorOffset,O=n.focusOffset,_=(k=g+Math.min(x,O))+Math.abs(x-O),x=k,O=_;else{var P=l.length-w.length;k=S.getStartOffset(),_=S.getEndOffset(),x=r?_+P:k,O=_+P}var M=A.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:x,focusOffset:O})});e.update(A2e.push(u,M,T))}else{var N=t.nativeEvent.inputType;if(N){var R=function(e,t){return"deleteContentBackward"===e?N2e(t):t}(N,u);if(R!==u)return e.restoreEditorDOM(),void e.update(R)}}}},F2e=xXe;var B2e=function(e){return e.which===F2e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},z2e=B2e,W2e=tXe.isPlatform("Mac OS X"),Q2e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return W2e&&e.altKey},usesMacOSHeuristics:function(){return W2e},hasCommandModifier:function(e){return W2e?!!e.metaKey&&!e.altKey:Q2e.isCtrlKeyCommand(e)},isSoftNewlineEvent:z2e},U2e=Q2e,V2e=$$e,q2e=WGe,H2e=KHe,$2e=vGe,K2e=null,G2e={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=$2e(i),K2e=H2e(t,i);var s=V2e.removeRange(t,i,"forward");return s===t?e:q2e.push(e,s,"remove-range")},paste:function(e){if(!K2e)return e;var t=V2e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),K2e);return q2e.push(e,t,"insert-fragment")}},Y2e=G2e,X2e=CHe;var Z2e=tXe.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"!==Ns.env.NODE_ENV?X2e(!1,"Found an unexpected detached subtree when getting range client rects."):X2e(!1)}:function(e){return Array.from(e.getClientRects())},J2e=p2e,e3e=nXe,t3e=Z2e,n3e=CHe;function i3e(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 r3e(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 o3e=WGe,a3e=function(e){e.collapsed||("production"!==Ns.env.NODE_ENV?n3e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):n3e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=e3e(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"!==Ns.env.NODE_ENV?n3e(!1,"Missing document.body"):n3e(!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);i3e(t3e(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==Ns.env.NODE_ENV?n3e(!1,"Found unexpected detached subtree when traversing."):n3e(!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&&J2e.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!i3e(t3e(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=r3e(o=o.childNodes[l])}return e.setStart(i,r),e},s3e=FXe,l3e=w2e,u3e=k2e;var c3e=function(e,t){var n=u3e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return l3e(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=a3e(i),s3e(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:o3e.push(e,n,"remove-range")},h3e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),d3e=new RegExp("^(?:"+h3e+")*(?:['‘’]|(?!"+h3e+").)*(?:(?!"+h3e+").)"),f3e=new RegExp("(?:(?!"+h3e+").)(?:['‘’]|(?!"+h3e+").)*(?:"+h3e+")*$");function p3e(e,t){var n=t?f3e.exec(e):d3e.exec(e);return n?n[0]:e}var m3e={getBackward:function(e){return p3e(e,!0)},getForward:function(e){return p3e(e,!1)}},g3e=m3e,v3e=WGe,y3e=w2e,b3e=k2e;var w3e=function(e){var t=b3e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return y3e(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=g3e.getBackward(r);return y3e(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:v3e.push(e,t,"remove-range")},x3e=y2e;var O3e=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&x3e(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})},k3e=m3e,_3e=WGe,S3e=O3e,C3e=k2e;var D3e=function(e){var t=C3e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=k3e.getForward(r);return S3e(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:_3e.push(e,t,"remove-range")},E3e=$$e,I3e=WGe;var T3e=WGe;var A3e=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return T3e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},P3e=WGe;var M3e=function(e){var t=e.getSelection(),n=t.getStartKey();return P3e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},N3e=WGe,R3e=p2e,L3e=O3e,j3e=k2e;var F3e=function(e){var t=j3e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return L3e(e,o?R3e.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return N3e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},B3e=$$e,z3e=WGe,W3e=KHe;var Q3e=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=W3e(a,i),u=B3e.removeRange(a,i,"backward"),c=u.getSelectionAfter(),h=c.getAnchorOffset()-1,d=c.merge({anchorOffset:h,focusOffset:h}),f=B3e.replaceWithFragment(u,d,l),p=z3e.push(e,f,"insert-fragment");return z3e.acceptSelection(p,r)},U3e=WGe;var V3e=function(e,t,n){var i=U3e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(U3e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(U3e.set(i,{nativelyRenderedContent:r}))}},q3e=$$e,H3e=WGe,$3e=xXe,K3e=Y2e,G3e=tXe,Y3e=h1e,X3e=c3e,Z3e=w3e,J3e=D3e,e4e=function(e){var t=E3e.splitBlock(e.getCurrentContent(),e.getSelection());return I3e.push(e,t,"split-block")},t4e=A3e,n4e=M3e,i4e=E2e,r4e=F3e,o4e=Q3e,a4e=V3e,s4e=U2e.isOptionKeyCommand,l4e=G3e.isBrowser("Chrome");var u4e=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 $3e.RETURN:if(t.preventDefault(),e.props.handleReturn&&Y3e(e.props.handleReturn(t,i)))return;break;case $3e.ESC:if(t.preventDefault(),r("onEscape"))return;break;case $3e.TAB:if(r("onTab"))return;break;case $3e.UP:if(r("onUpArrow"))return;break;case $3e.RIGHT:if(r("onRightArrow"))return;break;case $3e.DOWN:if(r("onDownArrow"))return;break;case $3e.LEFT:if(r("onLeftArrow"))return;break;case $3e.SPACE:l4e&&s4e(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!Y3e(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return H3e.redo(t);case"delete":return r4e(t);case"delete-word":return J3e(t);case"backspace":return i4e(t);case"backspace-word":return Z3e(t);case"backspace-to-start-of-line":return X3e(t,n);case"split-block":return e4e(t);case"transpose-characters":return o4e(t);case"move-selection-to-start-of-block":return n4e(t);case"move-selection-to-end-of-block":return t4e(t);case"secondary-cut":return K3e.cut(t);case"secondary-paste":return K3e.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else a4e(t,i,e.update);else if(n===$3e.SPACE&&l4e&&s4e(t)){var s=q3e.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(H3e.push(i,s,"insert-characters"))}};var c4e=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}(),h4e=c4e,d4e=CHe,f4e=tXe.isBrowser("IE <= 9");var p4e=function(e){var t,n=null;return!f4e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ns.env.NODE_ENV?d4e(!1,"Missing doc.documentElement"):d4e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},m4e=iXe;var g4e=function(e){return!(!e||!e.ownerDocument)&&(m4e(e)&&"A"===e.nodeName)},v4e=iXe;var y4e,b4e=function(e){return!(!e||!e.ownerDocument)&&(v4e(e)&&"IMG"===e.nodeName)};function w4e(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){x4e(e,t,n[t])}))}return e}function x4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O4e=Bqe,k4e=eHe,_4e=mHe,S4e=wYe,C4e=wKe,D4e=h4e,E4e=vYe,I4e=LHe,T4e=p4e,A4e=kKe,P4e=Cqe.exports,M4e=P4e.List,N4e=P4e.Map,R4e=P4e.OrderedSet,L4e=g4e,j4e=DZe,F4e=kXe,B4e=b4e,z4e=A4e("draft_tree_data_support"),W4e=new RegExp("\r","g"),Q4e=new RegExp("\n","g"),U4e=new RegExp("^\n","g"),V4e=new RegExp("&nbsp;","g"),q4e=new RegExp("&#13;?","g"),H4e=new RegExp("&#8203;?","g"),$4e=["bold","bolder","500","600","700","800","900"],K4e=["light","lighter","normal","100","200","300","400"],G4e=["className","href","rel","target","title"],Y4e=["alt","className","height","src","width"],X4e=(x4e(y4e={},E4e("public/DraftStyleDefault/depth0"),0),x4e(y4e,E4e("public/DraftStyleDefault/depth1"),1),x4e(y4e,E4e("public/DraftStyleDefault/depth2"),2),x4e(y4e,E4e("public/DraftStyleDefault/depth3"),3),x4e(y4e,E4e("public/DraftStyleDefault/depth4"),4),y4e),Z4e=N4e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),J4e=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)}))})),N4e(t)},e5e=function(e){if(F4e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},t5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(X4e).some((function(n){e.classList.contains(n)&&(t=X4e[n])})),t},n5e=function(e){if(!L4e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},i5e=function(e){if(!B4e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},r5e=function(e,t){if(!F4e(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){$4e.indexOf(i)>=0?e.add("BOLD"):K4e.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"))}))},o5e=function(e){return"ul"===e||"ol"===e},a5e=function(){function e(e,t){x4e(this,"characterList",M4e()),x4e(this,"currentBlockType","unstyled"),x4e(this,"currentDepth",0),x4e(this,"currentEntity",null),x4e(this,"currentText",""),x4e(this,"wrapper",null),x4e(this,"blockConfigs",[]),x4e(this,"contentBlocks",[]),x4e(this,"entityMap",C4e),x4e(this,"blockTypeMap",void 0),x4e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=M4e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=C4e,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],R4e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(z4e?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||I4e(),n=w4e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:M4e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=M4e(),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||o5e(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;o5e(o)&&(this.wrapper=o,o5e(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(i5e(r))this._addImgNode(r,t);else if(n5e(r))this._addAnchorNode(r,n,t);else{var u=t;Z4e.has(o)&&(u=u.add(Z4e.get(o))),u=r5e(r,u);var c=e5e(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 h=this.currentDepth,d=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!z4e&&F4e(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=r;this.currentDepth=t5e(f,this.currentDepth)}var p=I4e(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:p,childConfigs:m,type:l})),this.currentDepth=h,this.wrapper=d}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=O4e.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=M4e()):(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(U4e,"")).replace(Q4e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){j4e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(B4e(e)){var n=e,i={};Y4e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),A4e("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(L4e(e)){var i=e,r={};G4e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new D4e(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=M4e(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new _4e(w4e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return M4e(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 k4e(w4e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=M4e(),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}(),s5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T4e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S4e,i=t(e=e.trim().replace(W4e,"").replace(V4e," ").replace(q4e,"").replace(H4e,""));if(!i)return null;var r=J4e(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new a5e(r,o).addDOMNode(i).getContentBlocks()};function l5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u5e=eHe,c5e=mHe,h5e=s5e,d5e=LHe,f5e=p4e,p5e=kKe,m5e=Cqe.exports,g5e=SKe,v5e=m5e.List,y5e=m5e.Repeat,b5e=p5e("draft_tree_data_support"),w5e=b5e?c5e:u5e,x5e={processHTML:function(e,t){return h5e(e,f5e,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=g5e(i);var o=d5e(),a={key:o,type:n,text:i,characterList:v5e(y5e(t,i.length))};if(b5e&&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){l5e(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new w5e(a)),e}),[])}};var O5e=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})},k5e=$$e,_5e=WGe,S5e=O5e,C5e=vGe,D5e={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 D5e.toggleInlineStyle(e,"BOLD");case"italic":return D5e.toggleInlineStyle(e,"ITALIC");case"underline":return D5e.toggleInlineStyle(e,"UNDERLINE");case"code":return D5e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return D5e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return D5e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=k5e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=_5e.push(e,t,"insert-characters");return _5e.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 _5e.push(e,a,"remove-range")}var s=D5e.tryToRemoveBlockStyle(e);return s?_5e.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=k5e.removeRange(n,a,"forward");return s!==n?_5e.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=S5e(o,i,e.shiftKey?-1:1,n);return _5e.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=C5e(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 _5e.push(e,k5e.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?D5e.toggleBlockType(e,"code-block"):D5e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return _5e.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?k5e.removeInlineStyle(o,n,t):k5e.applyInlineStyle(o,n,t),_5e.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=k5e.applyEntity(e.getCurrentContent(),t,n);return _5e.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 k5e.setBlockType(r,t,"unstyled")}return null}},E5e=D5e,I5e=/\r\n?|\n/g;var T5e=Iqe,A5e=Bqe,P5e=a1e,M5e=$$e,N5e=x5e,R5e=WGe,L5e=E5e,j5e=GXe,F5e=c1e,B5e=h1e,z5e=function(e){return e.split(I5e)};function W5e(e,t,n){var i=M5e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return R5e.push(e,i.set("entityMap",n),"insert-fragment")}var Q5e=function(e,t){t.preventDefault();var n=new P5e(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&B5e(e.props.handlePastedFiles(i)))return;return void F5e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=z5e(t),o=A5e.create({style:n.getCurrentInlineStyle(),entity:j5e(n.getCurrentContent(),n.getSelection())}),a=L5e.getCurrentBlockType(n),s=N5e.processText(i,o,a),l=T5e.createFromArray(s),u=M5e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(R5e.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!B5e(e.props.handlePastedText(a,s,l))){if(a&&(o=z5e(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(W5e(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(W5e(e._latestEditorState,u));if(s){var c=N5e.processHTML(s,e.props.blockRenderMap);if(c){var h=c.contentBlocks,d=c.entityMap;if(h){var f=T5e.createFromArray(h);return void e.update(W5e(e._latestEditorState,f,d))}}}e.setClipboard(null)}if(o.length){var p=A5e.create({style:l.getCurrentInlineStyle(),entity:j5e(l.getCurrentContent(),l.getSelection())}),m=L5e.getCurrentBlockType(l),g=N5e.processText(o,p,m),v=T5e.createFromArray(g);e.update(W5e(e._latestEditorState,v))}}},U5e=tXe,V5e=j1e,q5e=W1e,H5e=U1e,$5e=$1e,K5e=t2e,G5e=n2e,Y5e=i2e,X5e=a2e,Z5e=j2e,J5e=u4e,e6e=Q5e,t6e=qXe,n6e=U5e.isBrowser("Chrome"),i6e=U5e.isBrowser("Firefox"),r6e=n6e||i6e?t6e:function(e){},o6e={onBeforeInput:V5e,onBlur:q5e,onCompositionStart:H5e,onCopy:$5e,onCut:K5e,onDragOver:G5e,onDragStart:Y5e,onFocus:X5e,onInput:Z5e,onKeyDown:J5e,onPaste:e6e,onSelect:t6e,onMouseUp:r6e,onKeyUp:r6e},a6e=We.unstable_flushControlled;var s6e=o,l6e=vYe,u6e=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=l6e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return s6e.createElement("div",{className:t},s6e.createElement("div",{className:l6e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(s6e.Component),c6e=u6e,h6e=U2e,d6e=xXe,f6e=tXe,p6e=f6e.isPlatform("Mac OS X"),m6e=p6e&&f6e.isBrowser("Firefox < 29"),g6e=h6e.hasCommandModifier,v6e=h6e.isCtrlKeyCommand;function y6e(e){return p6e&&e.altKey||v6e(e)}var b6e=function(e){switch(e.keyCode){case 66:return g6e(e)?"bold":null;case 68:return v6e(e)?"delete":null;case 72:return v6e(e)?"backspace":null;case 73:return g6e(e)?"italic":null;case 74:return g6e(e)?"code":null;case 75:return p6e&&v6e(e)?"secondary-cut":null;case 77:case 79:return v6e(e)?"split-block":null;case 84:return p6e&&v6e(e)?"transpose-characters":null;case 85:return g6e(e)?"underline":null;case 87:return p6e&&v6e(e)?"backspace-word":null;case 89:return v6e(e)?p6e?"secondary-paste":"redo":null;case 90:return function(e){return g6e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case d6e.RETURN:return"split-block";case d6e.DELETE:return function(e){return!p6e&&e.shiftKey?null:y6e(e)?"delete-word":"delete"}(e);case d6e.BACKSPACE:return function(e){return g6e(e)&&p6e?"backspace-to-start-of-line":y6e(e)?"backspace-word":"backspace"}(e);case d6e.LEFT:return m6e&&g6e(e)?"move-selection-to-start-of-block":null;case d6e.RIGHT:return m6e&&g6e(e)?"move-selection-to-end-of-block":null;default:return null}},w6e=kY;function x6e(){return x6e=w6e||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},x6e.apply(this,arguments)}function O6e(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){_6e(e,t,n[t])}))}return e}function k6e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S6e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var C6e=wYe,D6e=xYe,E6e=uZe,I6e=V0e,T6e=S1e,A6e=o6e,P6e=a6e,M6e=c6e,N6e=WGe,R6e=o,L6e=hJe,j6e=OJe,F6e=vYe,B6e=LHe,z6e=b6e,W6e=TJe,Q6e=kKe,U6e=CHe,V6e=kXe,q6e=vGe,H6e=tXe.isBrowser("IE"),$6e=!H6e,K6e={edit:A6e,composite:E6e,drag:T6e,cut:null,render:null},G6e=!1,Y6e=function(e){function t(){return e.apply(this,arguments)||this}S6e(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}(R6e.Component),X6e=function(e){function t(t){var n;return _6e(k6e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),_6e(k6e(n),"_clipboard",void 0),_6e(k6e(n),"_handler",void 0),_6e(k6e(n),"_dragCount",void 0),_6e(k6e(n),"_internalDrag",void 0),_6e(k6e(n),"_editorKey",void 0),_6e(k6e(n),"_placeholderAccessibilityID",void 0),_6e(k6e(n),"_latestEditorState",void 0),_6e(k6e(n),"_latestCommittedEditorState",void 0),_6e(k6e(n),"_pendingStateFromBeforeInput",void 0),_6e(k6e(n),"_onBeforeInput",void 0),_6e(k6e(n),"_onBlur",void 0),_6e(k6e(n),"_onCharacterData",void 0),_6e(k6e(n),"_onCompositionEnd",void 0),_6e(k6e(n),"_onCompositionStart",void 0),_6e(k6e(n),"_onCopy",void 0),_6e(k6e(n),"_onCut",void 0),_6e(k6e(n),"_onDragEnd",void 0),_6e(k6e(n),"_onDragOver",void 0),_6e(k6e(n),"_onDragStart",void 0),_6e(k6e(n),"_onDrop",void 0),_6e(k6e(n),"_onInput",void 0),_6e(k6e(n),"_onFocus",void 0),_6e(k6e(n),"_onKeyDown",void 0),_6e(k6e(n),"_onKeyPress",void 0),_6e(k6e(n),"_onKeyUp",void 0),_6e(k6e(n),"_onMouseDown",void 0),_6e(k6e(n),"_onMouseUp",void 0),_6e(k6e(n),"_onPaste",void 0),_6e(k6e(n),"_onSelect",void 0),_6e(k6e(n),"editor",void 0),_6e(k6e(n),"editorContainer",void 0),_6e(k6e(n),"focus",void 0),_6e(k6e(n),"blur",void 0),_6e(k6e(n),"setMode",void 0),_6e(k6e(n),"exitCurrentMode",void 0),_6e(k6e(n),"restoreEditorDOM",void 0),_6e(k6e(n),"setClipboard",void 0),_6e(k6e(n),"getClipboard",void 0),_6e(k6e(n),"getEditorKey",void 0),_6e(k6e(n),"update",void 0),_6e(k6e(n),"onDragEnter",void 0),_6e(k6e(n),"onDragLeave",void 0),_6e(k6e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),_6e(k6e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=j6e.getScrollParent(r),a=e||W6e(o),s=a.x,l=a.y;V6e(r)||("production"!==Ns.env.NODE_ENV?U6e(!1,"editorNode is not an HTMLElement"):U6e(!1)),r.focus(),o===window?window.scrollTo(s,l):L6e.setTop(o,l),i||n.update(N6e.forceSelection(t,t.getSelection()))}})),_6e(k6e(n),"blur",(function(){var e=n.editor;e&&(V6e(e)||("production"!==Ns.env.NODE_ENV?U6e(!1,"editorNode is not an HTMLElement"):U6e(!1)),e.blur())})),_6e(k6e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=O6e({},K6e.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=O6e({},K6e,{edit:a});n._handler=s[e]})),_6e(k6e(n),"exitCurrentMode",(function(){n.setMode("edit")})),_6e(k6e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),_6e(k6e(n),"setClipboard",(function(e){n._clipboard=e})),_6e(k6e(n),"getClipboard",(function(){return n._clipboard})),_6e(k6e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),_6e(k6e(n),"onDragEnter",(function(){n._dragCount++})),_6e(k6e(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||B6e(),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"!==Ns.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}S6e(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&&(P6e?P6e((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:q6e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return R6e.createElement(M6e,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,h=F6e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),d=this.props.role||"textbox",f="combobox"===d?!!this.props.ariaExpanded:null,p={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:O6e({},D6e,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return R6e.createElement("div",{className:h},this._renderPlaceholder(),R6e.createElement("div",{className:F6e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},R6e.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:f,"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:F6e({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:d,spellCheck:$6e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},R6e.createElement(Y6e,{editor:this,editorState:a}),R6e.createElement(I6e,x6e({},p,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!G6e&&Q6e("draft_ods_enabled")&&(G6e=!0),this.setMode("edit"),H6e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):He.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(R6e.Component);_6e(X6e,"defaultProps",{blockRenderMap:C6e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:z6e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Z6e=X6e,J6e=Ke(Object.freeze({__proto__:null})),e8e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},t8e=e8e,n8e=p2e.strlen;var i8e=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:n8e(o.slice(0,i)),length:n8e(o.slice(i,r)),key:Number(t[t8e.stringify(a)])})})),n},r8e=p2e,o8e=zqe,a8e=function(e,t){return e===t},s8e=function(e){return!!e},l8e=[];var u8e=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 o8e(r,a8e,s8e,(function(t,r){var o=e.getText();i.push({offset:r8e.strlen(o.slice(0,t)),length:r8e.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(l8e,n.toJS())};function c8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h8e=eHe,d8e=mHe,f8e=e8e,p8e=i8e,m8e=u8e,g8e=CHe,v8e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:m8e(e),entityRanges:p8e(e,t),data:e.getData().toObject()}},y8e=function(e,t,n,i){if(e instanceof h8e)n.push(v8e(e,t));else{e instanceof d8e||("production"!==Ns.env.NODE_ENV?g8e(!1,"block is not a BlockNode"):g8e(!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){c8e(e,t,n[t])}))}return e}({},v8e(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},b8e=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=f8e.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),y8e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(f8e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function w8e(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){x8e(e,t,n[t])}))}return e}function x8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O8e=LHe,k8e=CHe,_8e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},S8e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ns.env.NODE_ENV?k8e(!1,"Invalid raw state"):k8e(!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"!==Ns.env.NODE_ENV?k8e(!1,"Invalid tree raw block"):k8e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=w8e({},e);_8e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?w8e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,w8e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=_8e(e),r=e.depth||0,o=w8e({},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:O8e(),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)})),w8e({},e,{blocks:t})}},C8e=S8e,D8e=y2e,E8e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Ns.env.NODE_ENV&&D8e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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"!==Ns.env.NODE_ENV&&D8e(!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)}},I8e=E8e,T8e=Bqe,A8e=Cqe.exports.List;var P8e=function(e,t){var n=e.map((function(e,n){var i=t[n];return T8e.create({style:e,entity:i})}));return A8e(n)},M8e=p2e.substr;var N8e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=M8e(e,0,t.offset).length,r=i+M8e(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},R8e=p2e,L8e=Cqe.exports.OrderedSet,j8e=R8e.substr,F8e=L8e();var B8e=function(e,t){var n=Array(e.length).fill(F8e);return t&&t.forEach((function(t){for(var i=j8e(e,0,t.offset).length,r=i+j8e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function z8e(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){W8e(e,t,n[t])}))}return e}function W8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q8e=eHe,U8e=mHe,V8e=$Ke,q8e=wKe,H8e=C8e,$8e=I8e,K8e=OKe,G8e=P8e,Y8e=N8e,X8e=B8e,Z8e=LHe,J8e=Cqe.exports,e9e=CHe,t9e=kKe("draft_tree_data_support"),n9e=J8e.List,i9e=J8e.Map,r9e=J8e.OrderedMap,o9e=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||Z8e(),data:i9e(r),characterList:a9e(e,t)}},a9e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return G8e(X8e(n,r||[]),Y8e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return z8e({},e,{key:t[e.key]})}))))},s9e=function(e){return z8e({},e,{key:e.key||Z8e()})},l9e=function(e,t,n){var i=t.map((function(e){return z8e({},e,{parentRef:n})}));return e.concat(i.reverse())},u9e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=t9e&&!n?H8e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!t9e)return function(e,t){return r9e(e.map((function(e){var n=new Q8e(o9e(e,t));return[n.getKey(),n]})))}(n?H8e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(s9e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==Ns.env.NODE_ENV?e9e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e9e(!1));var o=i.children.map(s9e),a=new U8e(z8e({},o9e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:n9e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=l9e([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),h=c.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||("production"!==Ns.env.NODE_ENV?e9e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):e9e(!1));break}var f=l.children.map(s9e),p=new U8e(z8e({},o9e(l,t),{parent:u.getKey(),children:n9e(f.map((function(e){return e.key}))),prevSibling:0===h?null:c.get(h-1),nextSibling:h===c.size-1?null:c.get(h+1)}));n=n.set(p.getKey(),p),s=l9e(s,f,p)}return n}),r9e())}(i,t);return"production"!==Ns.env.NODE_ENV&&($8e.isValidTree(r)||("production"!==Ns.env.NODE_ENV?e9e(!1,"Should be a valid tree"):e9e(!1))),r},c9e=function(e){Array.isArray(e.blocks)||("production"!==Ns.env.NODE_ENV?e9e(!1,"invalid RawDraftContentState"):e9e(!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]=q8e.__create(r,o,a||{})})),n}(e),n=u9e(e,t),i=n.isEmpty()?new K8e:K8e.createEmpty(n.first().getKey());return new V8e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},h9e=Z2e;var d9e=function(e){var t=h9e(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}},f9e=d9e;var p9e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=f9e(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},m9e={Editor:Z6e,EditorBlock:I0e,EditorState:WGe,CompositeDecorator:mYe,Entity:wKe,EntityInstance:cKe,BlockMapBuilder:Iqe,CharacterMetadata:Bqe,ContentBlock:eHe,ContentState:$Ke,RawDraftContentState:J6e,SelectionState:OKe,AtomicBlockUtils:dYe,KeyBindingUtil:U2e,Modifier:$$e,RichUtils:E5e,DefaultDraftBlockRenderMap:wYe,DefaultDraftInlineStyle:xYe,convertFromHTML:s5e,convertFromRaw:c9e,convertToRaw:b8e,genKey:LHe,getDefaultKeyBinding:b6e,getVisibleSelectionRect:p9e};function g9e(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 v9e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},y9e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};function b9e(e){return b9e="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},b9e(e)}var w9e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function x9e(e){if(-1!==w9e.indexOf(e.type))return Ve.renderToStaticMarkup(e);var t=Ve.renderToStaticMarkup(o.cloneElement(e,{},"\r")).split("\r");return qbe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),qbe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function O9e(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}function k9e(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(o.isValidElement(e)){if(O9e(e))return Ve.renderToStaticMarkup(e);var n=x9e(e);if(null!==t&&"object"===b9e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(qbe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var a=e.start,s=e.end;return a+t+s}return e}var _9e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.isValidElement(t)){var i=x9e(t);if("string"==typeof i)return 0;var r=i[n].length,a=o.Children.toArray(t.props.children)[0];return r+(a&&o.isValidElement(a)?e(a,n):0)}return"object"===b9e(t)&&t[n]?t[n].length:0},S9e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},C9e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S9e,i=kUe(e.text),r=n;if(n.__isMiddleware&&(r=n(S9e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(v9e),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=kUe(k9e(u,l)||l),h=_9e(u,"start"),d=_9e(u,"end"),f=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?g9e(t,n.offset,n.length,c.length,h,d):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),i=[].concat(kUe(i.slice(0,n.offset)),kUe(c),kUe(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},D9e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},E9e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function I9e(e){switch(e){case"BOLD":return o.createElement("strong",null);case"ITALIC":return o.createElement("em",null);case"UNDERLINE":return o.createElement("u",null);case"CODE":return o.createElement("code",null);default:return{start:"",end:""}}}var T9e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},A9e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return qbe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},P9e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},M9e=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},N9e=function(e,t){return t.offset+t.length-(e.offset+e.length)},R9e=function(e,t){for(var n=0;n<e.length;){if(!t.every(M9e.bind(null,e[n])))return e.slice(n);n++}return[]},L9e=function(e,t,n){return t+k9e(e(n.style)).start},j9e=function(e,t,n){return k9e(e(n.style)).end+t},F9e=function(e){return function(t){return e(t)}};F9e.__isMiddleware=!0;var B9e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function z9e(e){return qbe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:o.isValidElement(e)?(t=e,o.isValidElement(t)&&o.Children.count(t.props.children)>0?Ve.renderToStaticMarkup(e):x9e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&o.isValidElement(e.element)?Object.assign({},e,x9e(e.element)):(qbe(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);var t}function W9e(e,t){if(qbe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=x9e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(o.isValidElement(e.nest)){var a=x9e(e.nest),s=a.start,l=a.end;return Object.assign({},e,{nestStart:s,nestEnd:l})}return qbe(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 Q9e=["1","a","i"],U9e={unstyled:o.createElement("p",null),paragraph:o.createElement("p",null),"header-one":o.createElement("h1",null),"header-two":o.createElement("h2",null),"header-three":o.createElement("h3",null),"header-four":o.createElement("h4",null),"header-five":o.createElement("h5",null),"header-six":o.createElement("h6",null),blockquote:o.createElement("blockquote",null),"unordered-list-item":{element:o.createElement("li",null),nest:o.createElement("ul",null)},"ordered-list-item":{element:o.createElement("li",null),nest:function(e){var t=Q9e[e%3];return o.createElement("ol",{type:t})}},media:o.createElement("figure",null),atomic:o.createElement("figure",null)},V9e=function(e,t){return t},q9e=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,a=e.entityToHTML,s=void 0===a?V9e:a;return function(e){var t;qbe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(B9e(U9e)):E9e(B9e(r),B9e(U9e));var i=m9e.convertToRaw(e),a=[],l=i.blocks.map((function(e){var r=e.type,l=e.depth,u="",c="",h=t(e);if(!h)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(h.nest)for(;l+1!==a.length||r!==a[l].type;)if(l+1===a.length){var d=a[l];u+=W9e(t(d),l).nestEnd,c+=W9e(t(e),l).nestStart,a[l]=e}else if(l+1<a.length){var f=a[a.length-1];u+=W9e(t(f),l).nestEnd,a=a.slice(0,-1)}else c+=W9e(t(e),l).nestStart,a.push(e);else u=a.reduceRight((function(e,n){return e+W9e(t(n),l).nestEnd}),""),a=[];var p,m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F9e;qbe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(I9e):E9e(D9e(n),D9e(I9e));for(var i="",r=[],o=e.inlineStyleRanges.sort(v9e),a=kUe(e.text),s=0;s<a.length;s++){var l=P9e(s,o),u=T9e(r,l),c=T9e(l,r),h=T9e(r,u),d=R9e(h,c),f=d.concat(c).sort(N9e),p=f.reduce(L9e.bind(null,t),"");i+=u.concat(d).reduce(j9e.bind(null,t),"")+p+a[s],r=(r=A9e(r,d.concat(u))).concat(f),qbe(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+k9e(t(n.style)).end}),i)}(C9e(function(e){for(var t=kUe(e.text),n=e.entityRanges.sort(v9e),i=e.inlineStyleRanges.sort(v9e),r="",o=function(e){var o=t[e];if(void 0!==y9e[o]){var a=y9e[o],s=kUe(r).length;r+=a;var l=function(e){return g9e(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,s),n),g=z9e(t(e));return p="string"==typeof g?g:g.start+m+g.end,0===m.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(p=o.isValidElement(g.empty)?Ve.renderToStaticMarkup(g.empty):g.empty),u+c+p})).join("");return l=a.reduce((function(e,n){return e+W9e(t(n),n.depth).nestEnd}),l)}},H9e={exports:{}};H9e.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:$(e)}function i(e){return s(e)?e:K(e)}function r(e){return l(e)?e:G(e)}function o(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[h])}function s(e){return!(!e||!e[d])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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 h="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function O(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function _(){}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 C(e){return void 0===e.size&&(e.size=e.__iterate(E)),e.size}function D(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function E(){return!0}function I(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function A(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var M=0,N=1,R=2,L="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",F=L||j;function B(e){this.next=e}function z(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 W(){return{value:void 0,done:!0}}function Q(e){return!!q(e)}function U(e){return e&&"function"==typeof e.next}function V(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(L&&e[L]||e[j]);if("function"==typeof t)return t}function H(e){return e&&"number"==typeof e.length}function $(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function K(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=M,B.VALUES=N,B.ENTRIES=R,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},t($,n),$.of=function(){return $(arguments)},$.prototype.toSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq {","}")},$.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},$.prototype.__iterate=function(e,t){return he(this,e,t,!0)},$.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(K,$),K.prototype.toKeyedSeq=function(){return this},t(G,$),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return he(this,e,t,!1)},G.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(Y,$),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},$.isSeq=oe,$.Keyed=K,$.Set=Y,$.Indexed=G;var X,Z,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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():Q(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 H(e)?new te(e):U(e)?new re(e):Q(e)?new ie(e):void 0}function he(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 de(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new B((function(){var e=r[n?o-a:a];return a++>o?W():z(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):me(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,G(t).map((function(n,i){return pe(e,n,i,t)}))):ge(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?K(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 h=!0,d=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return h=!1,!1}));return h&&e.size===d}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(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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 Oe(){throw TypeError("Abstract")}function ke(){}function _e(){}function Se(){}$.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[D(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 B((function(){return r>i?W():z(e,r,n[t?i-r++:r++])}))},t(ne,K),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 B((function(){var a=i[t?r-o:o];return o++>r?W():z(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,G),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=V(this._iterable),i=0;if(U(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=V(this._iterable);if(!U(n))return new B(W);var i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value)}))},t(re,G),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 B((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return z(e,r,i[r++])}))},t(be,G),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 I(e,t,n)?this:new be(this._value,A(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 B((function(){return i<n.size?z(e,i++,n._value):W()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+D(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return I(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.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},xe.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 B((function(){var a=r;return r+=t?-i:i,o>n?W():z(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(Oe,n),t(ke,Oe),t(_e,Oe),t(Se,Oe),Oe.Keyed=ke,Oe.Indexed=_e,Oe.Set=Se;var Ce="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 De(e){return e>>>1&1073741824|3221225471&e}function Ee(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 De(n)}if("string"===t)return e.length>Be?Ie(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ie(e){var t=Qe[e];return void 0===t&&(t=Te(e),We===ze&&(We=0,Qe={}),We++,Qe[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return De(t)}function Ae(e){var t;if(Le&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Me){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Ne(e)))return t}if(t=++je,1073741824&je&&(je=0),Le)Re.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Me)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Pe=Object.isExtensible,Me=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ne(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,Le="function"==typeof WeakMap;Le&&(Re=new WeakMap);var je=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var Be=16,ze=255,We=0,Qe={};function Ue(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ve(e){return null==e?rt():qe(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qe(e){return!(!e||!e[$e])}t(Ve,ke),Ve.prototype.toString=function(){return this.__toString("Map {","}")},Ve.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ve.prototype.set=function(e,t){return ot(this,e,t)},Ve.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ve.prototype.remove=function(e){return ot(this,e,b)},Ve.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ve.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ve.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,On(e),t,n);return i===b?void 0:i},Ve.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()},Ve.prototype.merge=function(){return dt(this,void 0,arguments)},Ve.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ve.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]}))},Ve.prototype.mergeDeep=function(){return dt(this,ft,arguments)},Ve.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,pt(t),n)},Ve.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]}))},Ve.prototype.sort=function(e){return Qt(hn(this,e))},Ve.prototype.sortBy=function(e,t){return Qt(hn(this,t,e))},Ve.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ve.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},Ve.prototype.asImmutable=function(){return this.__ensureOwner()},Ve.prototype.wasAltered=function(){return this.__altered},Ve.prototype.__iterator=function(e,t){return new et(this,e,t)},Ve.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},Ve.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)},Ve.isMap=qe;var He,$e="@@__IMMUTABLE_MAP__@@",Ke=Ve.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(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 z(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(Ke);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return He||(He=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=O(w),a=O(x);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 Ge(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:(k(s),k(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ze(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 Ye(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 _);for(var r=new Je(e,Ee(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 Ye(e,r,a)}function ht(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 Xe(e,o+1,a)}function dt(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 fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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}we(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 wt(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}Ke[$e]=!0,Ke[m]=Ke.remove,Ke.removeIn=Ke.deleteIn,Ge.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},Ge.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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),!s||1!==l.length){if(!h&&!s&&l.length>=xt)return ut(e,l,i,r);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ge(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(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)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(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 h=vt(u&l-1),d=this.nodes,f=c?d[h]:void 0,p=at(f,e,t+g,n,i,r,o,a);if(p===f)return this;if(!c&&p&&d.length>=Ot)return ht(e,d,u,s,p);if(c&&!p&&2===d.length&&st(d[1^h]))return d[1^h];if(c&&p&&1===d.length&&st(p))return p;var m=e&&e===this.ownerID,v=c?p?u:u^l:u|l,w=c?p?yt(d,h,p,m):wt(d,h,m):bt(d,h,p,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,i){void 0===t&&(t=Ee(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var h=at(c,e,t+g,n,i,r,o,a);if(h===c)return this;var d=this.count;if(c){if(!h&&--d<kt)return ct(e,u,d,s)}else d++;var f=e&&e===this.ownerID,p=yt(u,s,h,f);return f?(this.count=d,this.nodes=p,this):new Xe(e,d,p)},Ze.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},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ee(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(a),k(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 h=u<c;if(h?l[u][1]===r:s)return this;if(k(a),(s||!h)&&k(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var d=e&&e===this.ownerID,f=d?l:S(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ze(e,this.keyHash,f)},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:(k(a),s?void k(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(o),lt(this,e,t,Ee(i),[i,r])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,B),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 W()};var xt=v/4,Ot=v/2,kt=v/4;function _t(e){var t=Nt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?Mt(0,i,g,null,new Et(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[Ct])}t(_t,_e),_t.of=function(){return this(arguments)},_t.prototype.toString=function(){return this.__toString("List [","]")},_t.prototype.get=function(e,t){if((e=D(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},_t.prototype.set=function(e,t){return Rt(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=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Nt()},_t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Bt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},_t.prototype.pop=function(){return Bt(this,0,-1)},_t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Bt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},_t.prototype.shift=function(){return Bt(this,1)},_t.prototype.merge=function(){return zt(this,void 0,arguments)},_t.prototype.mergeWith=function(t){return zt(this,t,e.call(arguments,1))},_t.prototype.mergeDeep=function(){return zt(this,ft,arguments)},_t.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return zt(this,pt(t),n)},_t.prototype.setSize=function(e){return Bt(this,0,e)},_t.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:Bt(this,T(e,n),A(t,n))},_t.prototype.__iterator=function(e,t){var n=0,i=Pt(this,t);return new B((function(){var t=i();return t===At?W():z(e,n++,t)}))},_t.prototype.__iterate=function(e,t){for(var n,i=0,r=Pt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},_t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},_t.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Dt=_t.prototype;function Et(e,t){this.array=e,this.ownerID=t}Dt[Ct]=!0,Dt[m]=Dt.remove,Dt.setIn=Ke.setIn,Dt.deleteIn=Dt.removeIn=Ke.removeIn,Dt.update=Ke.update,Dt.updateIn=Ke.updateIn,Dt.mergeIn=Ke.mergeIn,Dt.mergeDeepIn=Ke.mergeDeepIn,Dt.withMutations=Ke.withMutations,Dt.asMutable=Ke.asMutable,Dt.asImmutable=Ke.asImmutable,Dt.wasAltered=Ke.wasAltered,Et.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 Et([],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=jt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Et.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=jt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var It,Tt,At={};function Pt(e,t){var n=e._origin,i=e._capacity,r=Wt(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 At;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!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function Mt(e,t,n,i,r,o,a){var s=Object.create(Dt);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 Nt(){return It||(It=Mt(0,0,g))}function Rt(e,t,n){if((t=D(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Bt(e,t).set(0,n):Bt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=O(x);return t>=Wt(e._capacity)?i=Lt(i,e.__ownerID,0,t,n,o):r=Lt(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):Mt(e._origin,e._capacity,e._level,r,i):e}function Lt(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=Lt(u,t,n-g,i,r,o);return c===u?e:((a=jt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(k(o),a=jt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function jt(e,t){return t&&e&&t===e.ownerID?e:new Et(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Wt(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 Bt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new _,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 Et(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var h=Wt(o),d=Wt(s);d>=1<<l+g;)u=new Et(u&&u.array.length?[u]:[],i),l+=g;var f=e._tail,p=d<h?Ft(e,s-1):d>h?new Et([],i):f;if(f&&d>h&&a<o&&f.array.length){for(var m=u=jt(u,i),v=l;v>g;v-=g){var b=h>>>v&y;m=m.array[b]=jt(m.array[b],i)}m.array[h>>>g&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=d)a-=d,s-=d,l=g,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||d<h){for(c=0;u;){var w=a>>>l&y;if(w!==d>>>l&y)break;w&&(c+=(1<<l)*w),l-=g,u=u.array[w]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&d<h&&(u=u.removeAfter(i,l,d-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=p,e.__hash=void 0,e.__altered=!0,e):Mt(a,s,l,u,p)}function zt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Wt(e){return e<v?0:e-1>>>g<<g}function Qt(e){return null==e?qt():Ut(e)?e:qt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return qe(e)&&c(e)}function Vt(e,t,n,i){var r=Object.create(Qt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function qt(){return Tt||(Tt=Vt(rt(),Nt()))}function Ht(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Vt(i,r)}function $t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(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=wn,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===R){var i=e.__iterator(t,n);return new B((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===N?M:N,n)},t}function Zt(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,r);return new B((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return z(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=Xt(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=wn,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(R,o),s=0;return new B((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 z(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=Ve().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)?Qt():Ve()).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),I(t,n,r))return e;var o=T(t,r),a=A(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=D(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 B((function(){for(;a++<o;)r.next();if(++l>s)return W();var e=r.next();return i||t===N?e:z(t,l-1,t===M?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,r),s=!0;return new B((function(){if(!s)return W();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===R?e:z(i,l,u,e):(s=!1,W())}))},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(R,o),l=!0,u=0;return new B((function(){var e,o,c;do{if((e=s.next()).done)return i||r===N?e:z(r,u++,r===M?void 0:e.value[1],e);var h=e.value;o=h[0],c=h[1],l&&(l=t.call(n,c,o,a))}while(l);return r===R?e:z(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 B((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===R&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:z(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return W()}))},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(N,i),a=0;return new B((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?z(n,a++,t):z(n,a++,r.value,r)}))},n}function hn(e,t,n){t||(t=xn);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?K(o):l(e)?G(o):Y(o)}function dn(e,t,n){if(t||(t=xn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(N,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),V(r?e.reverse():e)})),a=0,s=!1;return new B((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?W():z(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 Ue(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?K:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function On(e){var t=V(e);if(!t){if(!H(e))throw new TypeError("Expected iterable or array-like: "+e);t=V(n(e))}return t}function kn(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);Dn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=Ve(o)},r=i.prototype=Object.create(_n);return r.constructor=i,i}t(Qt,Ve),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):qt()},Qt.prototype.set=function(e,t){return Ht(this,e,t)},Qt.prototype.remove=function(e){return Ht(this,e,b)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Vt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Qt.isOrderedMap=Ut,Qt.prototype[p]=!0,Qt.prototype[m]=Qt.prototype.remove,t($t,K),$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=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},$t.prototype.map=function(e,t){var n=this,i=Zt(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,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)},$t.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(N,t),i=t?vn(this):0;return new B((function(){var r=n.next();return r.done?r:z(e,t?--i:i++,r.value,r)}))},$t.prototype[p]=!0,t(Kt,G),Kt.prototype.includes=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t),i=0;return new B((function(){var t=n.next();return t.done?t:z(e,i++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,K),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.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)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new B((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return z(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Kt.prototype.cacheResult=$t.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var _n=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Dn(e,t){try{t.forEach(En.bind(void 0,e))}catch(e){}}function En(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function In(e){return null==e?Ln():Tn(e)&&!c(e)?e:Ln().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Pn])}_n[m]=_n.remove,_n.deleteIn=_n.removeIn=Ke.removeIn,_n.merge=Ke.merge,_n.mergeWith=Ke.mergeWith,_n.mergeIn=Ke.mergeIn,_n.mergeDeep=Ke.mergeDeep,_n.mergeDeepWith=Ke.mergeDeepWith,_n.mergeDeepIn=Ke.mergeDeepIn,_n.setIn=Ke.setIn,_n.update=Ke.update,_n.updateIn=Ke.updateIn,_n.withMutations=Ke.withMutations,_n.asMutable=Ke.asMutable,_n.asImmutable=Ke.asImmutable,t(In,Se),In.of=function(){return this(arguments)},In.fromKeys=function(e){return this(i(e).keySeq())},In.prototype.toString=function(){return this.__toString("Set {","}")},In.prototype.has=function(e){return this._map.has(e)},In.prototype.add=function(e){return Nn(this,this._map.set(e,!0))},In.prototype.remove=function(e){return Nn(this,this._map.remove(e))},In.prototype.clear=function(){return Nn(this,this._map.clear())},In.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])},In.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)}))}))},In.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)}))}))},In.prototype.merge=function(){return this.union.apply(this,arguments)},In.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},In.prototype.sort=function(e){return jn(hn(this,e))},In.prototype.sortBy=function(e,t){return jn(hn(this,t,e))},In.prototype.wasAltered=function(){return this._map.wasAltered()},In.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},In.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},In.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)},In.isSet=Tn;var An,Pn="@@__IMMUTABLE_SET__@@",Mn=In.prototype;function Nn(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 Rn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return An||(An=Rn(rt()))}function jn(e){return null==e?Qn():Fn(e)?e:Qn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Tn(e)&&c(e)}Mn[Pn]=!0,Mn[m]=Mn.remove,Mn.mergeDeep=Mn.merge,Mn.mergeDeepWith=Mn.mergeWith,Mn.withMutations=Ke.withMutations,Mn.asMutable=Ke.asMutable,Mn.asImmutable=Ke.asImmutable,Mn.__empty=Ln,Mn.__make=Rn,t(jn,In),jn.of=function(){return this(arguments)},jn.fromKeys=function(e){return this(i(e).keySeq())},jn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},jn.isOrderedSet=Fn;var Bn,zn=jn.prototype;function Wn(e,t){var n=Object.create(zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Qn(){return Bn||(Bn=Wn(qt()))}function Un(e){return null==e?Gn():Vn(e)?e:Gn().unshiftAll(e)}function Vn(e){return!(!e||!e[Hn])}zn[p]=!0,zn.__empty=Qn,zn.__make=Wn,t(Un,_e),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=D(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.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):Kn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(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):Kn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.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):Gn()},Un.prototype.slice=function(e,t){if(I(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return _e.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):Kn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.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},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new B((function(){if(i){var t=i.value;return i=i.next,z(e,n++,t)}return W()}))},Un.isStack=Vn;var qn,Hn="@@__IMMUTABLE_STACK__@@",$n=Un.prototype;function Kn(e,t,n,i){var r=Object.create($n);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Gn(){return qn||(qn=Kn(0))}function Yn(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}$n[Hn]=!0,$n.withMutations=Ke.withMutations,$n.asMutable=Ke.asMutable,$n.asImmutable=Ke.asImmutable,$n.wasAltered=Ke.wasAltered,n.Iterator=B,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(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 $t(this,!0)},toMap:function(){return Ve(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return jn(s(this)?this.valueSeq():this)},toSet:function(){return In(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return _t(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(R)},every:function(e,t){Ue(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 Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(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(M)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(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,hn(this,e))},values:function(){return this.__iterator(N)},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 C(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(E)},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 Yt(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=On(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 dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?ni(e):oi)},minBy:function(e,t){return dn(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,hn(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 Xn=n.prototype;Xn[h]=!0,Xn[F]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=ii,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"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){}}(),Yn(i,{flip:function(){return mn(this,Xt(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 Zn=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(Ee(e),Ee(t))|0}:function(e,t){i=i+li(Ee(e),Ee(t))|0}:t?function(e){i=31*i+Ee(e)|0}:function(e){i=i+Ee(e)|0});return si(r,i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=De((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[d]=!0,Zn[F]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new $t(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=D(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=D(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=pn(this.toSeq(),G.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,pn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,Yn(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=Xn.includes,Yn(K,i.prototype),Yn(G,r.prototype),Yn(Y,o.prototype),Yn(ke,i.prototype),Yn(_e,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:$,Collection:Oe,Map:Ve,OrderedMap:Qt,List:_t,Stack:Un,Set:In,OrderedSet:jn,Record:kn,Range:xe,Repeat:be,is:ve,fromJS:fe}}();var $9e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function K9e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=$9e(e)):t=$9e(e);return t.body}var G9e=new RegExp("\r","g"),Y9e=new RegExp("\n","g"),X9e=new RegExp("&nbsp;","g"),Z9e=new RegExp("\r","g"),J9e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],e7e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},t7e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},n7e=function(e,t,n){},i7e=function(e,t,n){return n},r7e=function(e,t){},o7e=function(e){return[]},a7e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function s7e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H9e.exports.Map();return!0===n?{text:"\r",inlines:[H9e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[H9e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function l7e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H9e.exports.Map();return{text:"\r",inlines:[H9e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function u7e(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 c7e(e,t,n){return u7e(e,n)}function h7e(e,t,n){var i=e7e[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 d7e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H9e.exports.OrderedSet();return h7e(e,t,n)}function f7e(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||"\n"===t.text)return e;" "!==i&&"\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 p7e(e,t,n,i,r,o,a,s,l,u,c,h,d,f,p,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:" ",inlines:[H9e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Y9e," "));var w=Array(b.length).fill(m),x=0;return l(b,c,h,d,f).sort(v9e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+x;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),w.splice.bind(w,o,i).apply(w,Array(r.length).fill(t)),x+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var O=i;return null===O?s7e("unstyled",o,!0):s7e(O||"unstyled",o,p.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=h7e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var _,S,C=u(g,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(_=C,S=H9e.exports.Map()):(_="string"==typeof C?C:C.type,S=C.data?H9e.exports.Map(C.data):H9e.exports.Map()),i||-1===r.indexOf(g)&&!_)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===_&&(i=_,v=!0,k=s7e(_,o,!0,S));else{var D=u7e(g,n);k=l7e(D,o),i=D,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else k=l7e(_||u7e(g,n),o,S),i=_||u7e(g,n),v=!0;var E=e.firstChild;null!=E||!m||"atomic"!==_&&"atomic"!==i||(E=document.createTextNode("a")),null!=E&&(g=E.nodeName.toLowerCase());for(var I=null;E;){I=s(g,E,c,h,d,f),k=f7e(k,p7e(E,t,n,i,r,o,a,s,l,u,c,h,d,f,p,I||m),p.flat);var T=E.nextSibling;if(T&&r.indexOf(g)>=0&&i){var A=u(g,E,n,i),P=void 0,M=void 0;!1!==A&&("string"==typeof(A=A||{})?(P=A,M=H9e.exports.Map()):(P=A.type||u7e(g,n),M=A.data?H9e.exports.Map(A.data):H9e.exports.Map()),k=f7e(k,s7e(P,o,p.flat,M),p.flat))}T&&(g=T.nodeName.toLowerCase()),E=T}return v&&(k=f7e(k,l7e(y,o,H9e.exports.Map()),p.flat)),k}function m7e(e,t,n,i,r,o,a,s,l,u,c){var h=c(e=e.trim().replace(G9e,"").replace(X9e," "));if(!h)return null;var d=function(e){return J9e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?J9e.concat(["div"]):["div"],f=p7e(h,H9e.exports.OrderedSet(),"ul",null,d,-1,t,n,i,r,o,a,s,l,u);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:H9e.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:H9e.exports.Map(),depth:0}),f}function g7e(e,t,n,i,r,o,a,s,l,u,c,h){var d=m7e(e,t,n,i,r,o,a,s,l,u,c);if(null==d)return[];var f=0;return d.text.split("\r").map((function(e,t){e=e.replace(Z9e,"");var n=f+e.length,i=a7e(d).inlines.slice(f,n),r=a7e(d).entities.slice(f,n),o=H9e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),m9e.CharacterMetadata.create(n)})));return f=n+1,new m9e.ContentBlock({key:h(),type:a7e(d).blocks[t].type,data:a7e(d).blocks[t].data,depth:a7e(d).blocks[t].depth,text:e,characterList:o})}))}var v7e=function(e){var t=e.htmlToStyle,n=void 0===t?i7e:t,i=e.htmlToEntity,r=void 0===i?r7e:i,o=e.textToEntity,a=void 0===o?o7e:o,s=e.htmlToBlock,l=void 0===s?n7e: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]:K9e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m9e.genKey,s=m9e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():m9e.Entity.create.apply(m9e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):m9e.Entity.get.apply(m9e.Entity,arguments)},h=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):m9e.Entity.mergeData.apply(m9e.Entity,arguments)},d=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):m9e.Entity.replaceData.apply(m9e.Entity,arguments)},f=g7e(e,t7e(n,d7e),t7e(r,r7e),t7e(a,o7e),t7e(l,c7e),u,c,h,d,t,i,o),p=m9e.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:p,selectionBefore:m9e.SelectionState.createEmpty(m),selectionAfter:m9e.SelectionState.createEmpty(m)})}},y7e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?v7e({}).apply(void 0,arguments):v7e.apply(void 0,arguments)};BX('/**\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 b7e={};function w7e(e){e&&(e.value=!0)}function x7e(){}function O7e(e){return void 0===e.size&&(e.size=e.__iterate(_7e)),e.size}function k7e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?O7e(e)+t:t}function _7e(){return!0}function S7e(e,t,n){return(0===e&&!I7e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function C7e(e,t){return E7e(e,t,0)}function D7e(e,t){return E7e(e,t,t)}function E7e(e,t,n){return void 0===e?n:I7e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function I7e(e){return e<0||0===e&&1/e==-1/0}function T7e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function A7e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function P7e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function M7e(e){return A7e(e)||P7e(e)}var N7e=function(e){return T7e(e)?e:eet(e)},R7e=function(e){function t(e){return A7e(e)?e:tet(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(N7e),L7e=function(e){function t(e){return P7e(e)?e:net(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(N7e),j7e=function(e){function t(e){return T7e(e)&&!M7e(e)?e:iet(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(N7e);N7e.Keyed=R7e,N7e.Indexed=L7e,N7e.Set=j7e;function F7e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function B7e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function z7e(e){return T7e(e)||B7e(e)}var W7e="@@__IMMUTABLE_ORDERED__@@";function Q7e(e){return Boolean(e&&e[W7e])}var U7e="function"==typeof Symbol&&Symbol.iterator,V7e=U7e||"@@iterator",q7e=function(e){this.next=e};function H7e(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 $7e(){return{value:void 0,done:!0}}function K7e(e){return!!X7e(e)}function G7e(e){return e&&"function"==typeof e.next}function Y7e(e){var t=X7e(e);return t&&t.call(e)}function X7e(e){var t=e&&(U7e&&e[U7e]||e["@@iterator"]);if("function"==typeof t)return t}q7e.prototype.toString=function(){return"[Iterator]"},q7e.KEYS=0,q7e.VALUES=1,q7e.ENTRIES=2,q7e.prototype.inspect=q7e.prototype.toSource=function(){return this.toString()},q7e.prototype[V7e]=function(){return this};var Z7e=Object.prototype.hasOwnProperty;function J7e(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 eet=function(e){function t(e){return null==e?uet():z7e(e)?e.toSeq():function(e){var t=det(e);if(t)return t;if("object"==typeof e)return new oet(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 q7e((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return H7e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(N7e),tet=function(e){function t(e){return null==e?uet().toKeyedSeq():T7e(e)?A7e(e)?e.toSeq():e.fromEntrySeq():B7e(e)?e.toSeq():cet(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(eet),net=function(e){function t(e){return null==e?uet():T7e(e)?A7e(e)?e.entrySeq():e.toIndexedSeq():B7e(e)?e.toSeq().entrySeq():het(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}(eet),iet=function(e){function t(e){return(T7e(e)&&!M7e(e)?e:net(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}(eet);eet.isSeq=F7e,eet.Keyed=tet,eet.Set=iet,eet.Indexed=net,eet.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var ret=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[k7e(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 q7e((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return H7e(e,o,n[o])}))},t}(net),oet=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 Z7e.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 q7e((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return H7e(e,a,n[a])}))},t}(tet);oet.prototype[W7e]=!0;var aet,set=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=Y7e(this._collection),i=0;if(G7e(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=Y7e(this._collection);if(!G7e(n))return new q7e($7e);var i=0;return new q7e((function(){var t=n.next();return t.done?t:H7e(e,i++,t.value)}))},t}(net);function uet(){return aet||(aet=new ret([]))}function cet(e){var t=Array.isArray(e)?new ret(e):K7e(e)?new set(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new oet(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function het(e){var t=det(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function det(e){return J7e(e)?new ret(e):K7e(e)?new set(e):void 0}function fet(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function pet(e){return fet(e)&&Q7e(e)}function met(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function get(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!!(met(e)&&met(t)&&e.equals(t))}var vet="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 yet(e){return e>>>1&1073741824|3221225471&e}var bet=Object.prototype.valueOf;function wet(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 yet(t)}(e);case"string":return e.length>Iet?function(e){var t=Pet[e];void 0===t&&(t=xet(e),Aet===Tet&&(Aet=0,Pet={}),Aet++,Pet[e]=t);return t}(e):xet(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?yet(e.hashCode(e)):(e.valueOf!==bet&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Cet&&void 0!==(t=_et.get(e)))return t;if(void 0!==(t=e[Eet]))return t;if(!ket){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Eet]))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=++Det,1073741824&Det&&(Det=0);if(Cet)_et.set(e,t);else{if(void 0!==Oet&&!1===Oet(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ket)Object.defineProperty(e,Eet,{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[Eet]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Eet]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return xet(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function xet(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return yet(t)}var Oet=Object.isExtensible,ket=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var _et,Cet="function"==typeof WeakMap;Cet&&(_et=new WeakMap);var Det=0,Eet="__immutablehash__";"function"==typeof Symbol&&(Eet=Symbol(Eet));var Iet=16,Tet=255,Aet=0,Pet={},Met=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=Bet(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Fet(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}(tet);Met.prototype[W7e]=!0;var Net=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&&O7e(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&&O7e(this),new q7e((function(){var o=i.next();return o.done?o:H7e(e,t?n.size-++r:r++,o.value,o)}))},t}(net),Ret=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 q7e((function(){var t=n.next();return t.done?t:H7e(e,t.value,t.value,t)}))},t}(iet),Let=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){Yet(t);var i=T7e(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 q7e((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){Yet(i);var r=T7e(i);return H7e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(tet);function jet(e){var t=Zet(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=Jet,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 q7e((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 Fet(e,t,n){var i=Zet(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b7e);return o===b7e?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 q7e((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return H7e(i,s,t.call(n,a[1],s,e),r)}))},i}function Bet(e,t){var n=this,i=Zet(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=jet(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=Jet,i.__iterate=function(n,i){var r=this,o=0;return i&&O7e(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&&O7e(e);var a=e.__iterator(2,!r);return new q7e((function(){var e=a.next();if(e.done)return e;var s=e.value;return H7e(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function zet(e,t,n,i){var r=Zet(e);return i&&(r.has=function(i){var r=e.get(i,b7e);return r!==b7e&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b7e);return o!==b7e&&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 q7e((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 H7e(r,i?u:s++,c,o)}}))},r}function Wet(e,t,n,i){var r=e.size;if(S7e(t,n,r))return e;var o=C7e(t,r),a=D7e(n,r);if(o!=o||a!=a)return Wet(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=Zet(e);return u.size=0===s?s:e.size&&s||void 0,!i&&F7e(e)&&s>=0&&(u.get=function(t,n){return(t=k7e(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 q7e($7e);var r=e.__iterator(t,n),a=0,l=0;return new q7e((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:H7e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Qet(e,t,n,i){var r=Zet(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 q7e((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:H7e(r,u++,0===r?void 0:e.value[1],e);var h=e.value;o=h[0],c=h[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:H7e(r,o,c,e)}))},r}function Uet(e,t){var n=A7e(e),i=[e].concat(t).map((function(e){return T7e(e)?n&&(e=R7e(e)):e=n?cet(e):het(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&&A7e(r)||P7e(e)&&P7e(r))return r}var o=new ret(i);return n?o=o.toKeyedSeq():P7e(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 Vet(e,t,n){var i=Zet(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)&&T7e(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 q7e((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)||!T7e(l))return n?e:H7e(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function qet(e,t,n){t||(t=ett);var i=A7e(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?tet(o):P7e(e)?net(o):iet(o)}function Het(e,t,n){if(t||(t=ett),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return $et(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return $et(t,e,n)?n:e}))}function $et(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Ket(e,t,n,i){var r=Zet(e),o=new ret(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=N7e(e),Y7e(r?e.reverse():e)})),a=0,s=!1;return new q7e((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}:H7e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function Get(e,t){return e===t?e:F7e(e)?t:e.constructor(t)}function Yet(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Xet(e){return A7e(e)?R7e:P7e(e)?L7e:j7e}function Zet(e){return Object.create((A7e(e)?tet:P7e(e)?net:iet).prototype)}function Jet(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):eet.prototype.cacheResult.call(this)}function ett(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 ttt(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 ntt(e,t){if(!e)throw new Error(t)}function itt(e){ntt(e!==1/0,"Cannot perform this action with an infinite size.")}function rtt(e){if(J7e(e)&&"string"!=typeof e)return e;if(Q7e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function ott(e){return"object"==typeof e&&(z7e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function att(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function stt(e,t,n){return z7e(e)?e.get(t,n):function(e,t){return z7e(e)?e.has(t):ott(e)&&Z7e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function ltt(e){if(Array.isArray(e))return ttt(e);var t={};for(var n in e)Z7e.call(e,n)&&(t[n]=e[n]);return t}function utt(e,t,n,i){i||(i=n,n=void 0);var r=ctt(z7e(e),e,rtt(t),0,n,i);return r===b7e?n:r}function ctt(e,t,n,i,r,o){var a=t===b7e;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!ott(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(att)+"]: "+t);var u=n[i],c=a?b7e:stt(t,u,b7e),h=ctt(c===b7e?e:z7e(c),c,n,i+1,r,o);return h===c?t:h===b7e?function(e,t){if(!ott(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(z7e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!Z7e.call(e,t))return e;var n=ltt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!ott(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(z7e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(Z7e.call(e,t)&&n===e[t])return e;var i=ltt(e);return i[t]=n,i}(a?e?jtt():{}:t,u,h)}function htt(e,t){return function(e,t,n){return utt(e,t,b7e,(function(){return n}))}(this,e,t)}function dtt(e){return function(e,t){return utt(e,t,(function(){return b7e}))}(this,e)}function ftt(e,t,n,i){return utt(e,[t],n,i)}function ptt(e,t,n){return 1===arguments.length?e(this):ftt(this,e,t,n)}function mtt(e,t,n){return utt(this,e,t,n)}function gtt(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=R7e(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){ftt(e,i,b7e,(function(e){return e===b7e?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 vtt(e,t,n){return ytt(e,t,function(e){function t(n,i,r){return ott(n)&&ott(i)?ytt(n,[i],t):e?e(n,i,r):i}return t}(n))}function ytt(e,t,n){if(!ott(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(z7e(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?L7e:R7e,a=i?function(t){r===e&&(r=ltt(r)),r.push(t)}:function(t,i){var o=Z7e.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=ltt(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function btt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return utt(this,e,jtt(),(function(e){return ytt(e,t)}))}function wtt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return utt(this,e,jtt(),(function(e){return vtt(e,t)}))}function xtt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Ott(){return this.__ownerID?this:this.__ensureOwner(new x7e)}function ktt(){return this.__ensureOwner()}function _tt(){return this.__altered}Net.prototype.cacheResult=Met.prototype.cacheResult=Ret.prototype.cacheResult=Let.prototype.cacheResult=Jet;var Stt=function(e){function t(t){return null==t?jtt():fet(t)&&!Q7e(t)?t:jtt().withMutations((function(n){var i=e(t);itt(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 jtt().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 Ftt(this,e,t)},t.prototype.remove=function(e){return Ftt(this,e,b7e)},t.prototype.deleteAll=function(e){var t=N7e(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):jtt()},t.prototype.sort=function(e){return lnt(qet(this,e))},t.prototype.sortBy=function(e,t){return lnt(qet(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 Mtt(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?Ltt(this.size,this._root,e,this.__hash):0===this.size?jtt():(this.__ownerID=e,this.__altered=!1,this)},t}(R7e);Stt.isMap=fet;var Ctt=Stt.prototype;Ctt["@@__IMMUTABLE_MAP__@@"]=!0,Ctt.delete=Ctt.remove,Ctt.removeAll=Ctt.deleteAll,Ctt.setIn=htt,Ctt.removeIn=Ctt.deleteIn=dtt,Ctt.update=ptt,Ctt.updateIn=mtt,Ctt.merge=Ctt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return gtt(this,e)},Ctt.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 gtt(this,t,e)},Ctt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return vtt(this,e)},Ctt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return vtt(this,t,e)},Ctt.mergeIn=btt,Ctt.mergeDeepIn=wtt,Ctt.withMutations=xtt,Ctt.wasAltered=_tt,Ctt.asImmutable=ktt,Ctt["@@transducer/init"]=Ctt.asMutable=Ott,Ctt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ctt["@@transducer/result"]=function(e){return e.asImmutable()};var Dtt=function(e,t){this.ownerID=e,this.entries=t};Dtt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(get(n,r[o][0]))return r[o][1];return i},Dtt.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b7e,l=this.entries,u=0,c=l.length;u<c&&!get(i,l[u][0]);u++);var h=u<c;if(h?l[u][1]===r:s)return this;if(w7e(a),(s||!h)&&w7e(o),!s||1!==l.length){if(!h&&!s&&l.length>=Vtt)return function(e,t,n,i){e||(e=new x7e);for(var r=new Att(e,wet(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 d=e&&e===this.ownerID,f=d?l:ttt(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Dtt(e,f)}};var Ett=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Ett.prototype.get=function(e,t,n,i){void 0===t&&(t=wet(n));var r=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&r)?i:this.nodes[Qtt(o&r-1)].get(e+5,t,n,i)},Ett.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=wet(i));var s=31&(0===t?n:n>>>t),l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b7e)return this;var h=Qtt(u&l-1),d=this.nodes,f=c?d[h]:void 0,p=Btt(f,e,t+5,n,i,r,o,a);if(p===f)return this;if(!c&&p&&d.length>=qtt)return function(e,t,n,i,r){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Itt(e,o+1,a)}(e,d,u,s,p);if(c&&!p&&2===d.length&&ztt(d[1^h]))return d[1^h];if(c&&p&&1===d.length&&ztt(p))return p;var m=e&&e===this.ownerID,g=c?p?u:u^l:u|l,v=c?p?Utt(d,h,p,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}(d,h,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}(d,h,p,m);return m?(this.bitmap=g,this.nodes=v,this):new Ett(e,g,v)};var Itt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Itt.prototype.get=function(e,t,n,i){void 0===t&&(t=wet(n));var r=31&(0===e?t:t>>>e),o=this.nodes[r];return o?o.get(e+5,t,n,i):i},Itt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=wet(i));var s=31&(0===t?n:n>>>t),l=r===b7e,u=this.nodes,c=u[s];if(l&&!c)return this;var h=Btt(c,e,t+5,n,i,r,o,a);if(h===c)return this;var d=this.count;if(c){if(!h&&--d<Htt)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 Ett(e,r,a)}(e,u,d,s)}else d++;var f=e&&e===this.ownerID,p=Utt(u,s,h,f);return f?(this.count=d,this.nodes=p,this):new Itt(e,d,p)};var Ttt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Ttt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(get(n,r[o][0]))return r[o][1];return i},Ttt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=wet(i));var s=r===b7e;if(n!==this.keyHash)return s?this:(w7e(a),w7e(o),Wtt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!get(i,l[u][0]);u++);var h=u<c;if(h?l[u][1]===r:s)return this;if(w7e(a),(s||!h)&&w7e(o),s&&2===c)return new Att(e,this.keyHash,l[1^u]);var d=e&&e===this.ownerID,f=d?l:ttt(l);return h?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),d?(this.entries=f,this):new Ttt(e,this.keyHash,f)};var Att=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Att.prototype.get=function(e,t,n,i){return get(n,this.entry[0])?this.entry[1]:i},Att.prototype.update=function(e,t,n,i,r,o,a){var s=r===b7e,l=get(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(w7e(a),s?void w7e(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Att(e,this.keyHash,[i,r]):(w7e(o),Wtt(this,e,t,wet(i),[i,r])))},Dtt.prototype.iterate=Ttt.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},Ett.prototype.iterate=Itt.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}},Att.prototype.iterate=function(e,t){return e(this.entry)};var Ptt,Mtt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Rtt(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 Ntt(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Ntt(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 Ntt(e,o.entry);t=this._stack=Rtt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(q7e);function Ntt(e,t){return H7e(e,t[0],t[1])}function Rtt(e,t){return{node:e,index:0,__prev:t}}function Ltt(e,t,n,i){var r=Object.create(Ctt);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function jtt(){return Ptt||(Ptt=Ltt(0))}function Ftt(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=Btt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b7e?-1:1:0)}else{if(n===b7e)return e;r=1,i=new Dtt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Ltt(r,i):jtt()}function Btt(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b7e?e:(w7e(s),w7e(a),new Att(t,i,[r,o]))}function ztt(e){return e.constructor===Att||e.constructor===Ttt}function Wtt(e,t,n,i,r){if(e.keyHash===i)return new Ttt(t,i,[e.entry,r]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?i:i>>>n),l=a===s?[Wtt(e,t,n+5,i,r)]:(o=new Att(t,i,r),a<s?[e,o]:[o,e]);return new Ett(t,1<<a|1<<s,l)}function Qtt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Utt(e,t,n,i){var r=i?e:ttt(e);return r[t]=n,r}var Vtt=8,qtt=16,Htt=8;function $tt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var Ktt=function(e){function t(t){var n=tnt();if(null==t)return n;if($tt(t))return t;var i=e(t),r=i.size;return 0===r?n:(itt(r),r>0&&r<32?ent(0,r,5,null,new Ytt(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=k7e(this,e))>=0&&e<this.size){var n=rnt(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=k7e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?ont(e,t).set(0,n):ont(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=ant(e._capacity)?i=nnt(i,e.__ownerID,0,t,n,o):r=nnt(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 ent(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):tnt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){ont(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return ont(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){ont(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return ont(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&&K7e(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 ont(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 S7e(e,t,n)?this:ont(this,C7e(e,n),D7e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=Jtt(this,t);return new q7e((function(){var r=i();return r===Ztt?{value:void 0,done:!0}:H7e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=Jtt(this,t);(n=r())!==Ztt&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ent(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?tnt():(this.__ownerID=e,this.__altered=!1,this)},t}(L7e);Ktt.isList=$tt;var Gtt=Ktt.prototype;Gtt["@@__IMMUTABLE_LIST__@@"]=!0,Gtt.delete=Gtt.remove,Gtt.merge=Gtt.concat,Gtt.setIn=htt,Gtt.deleteIn=Gtt.removeIn=dtt,Gtt.update=ptt,Gtt.updateIn=mtt,Gtt.mergeIn=btt,Gtt.mergeDeepIn=wtt,Gtt.withMutations=xtt,Gtt.wasAltered=_tt,Gtt.asImmutable=ktt,Gtt["@@transducer/init"]=Gtt.asMutable=Ott,Gtt["@@transducer/step"]=function(e,t){return e.push(t)},Gtt["@@transducer/result"]=function(e){return e.asImmutable()};var Ytt=function(e,t){this.array=e,this.ownerID=t};Ytt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&31;if(i>=this.array.length)return new Ytt([],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=int(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ytt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&31;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=int(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Xtt,Ztt={};function Jtt(e,t){var n=e._origin,i=e._capacity,r=ant(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>32&&(u=32);return function(){if(l===u)return Ztt;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>32&&(c=32);return function(){for(;;){if(s){var e=s();if(e!==Ztt)return e;s=null}if(u===c)return Ztt;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function ent(e,t,n,i,r,o,a){var s=Object.create(Gtt);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 tnt(){return Xtt||(Xtt=ent(0,0,5))}function nnt(e,t,n,i,r,o){var a,s=i>>>n&31,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=nnt(u,t,n-5,i,r,o);return c===u?e:((a=int(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&w7e(o),a=int(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function int(e,t){return t&&e&&t===e.ownerID?e:new Ytt(e?e.array.slice():[],t)}function rnt(e,t){if(t>=ant(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&31],i-=5;return n}}function ont(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x7e,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 Ytt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var h=ant(o),d=ant(s);d>=1<<l+5;)u=new Ytt(u&&u.array.length?[u]:[],i),l+=5;var f=e._tail,p=d<h?rnt(e,s-1):d>h?new Ytt([],i):f;if(f&&d>h&&a<o&&f.array.length){for(var m=u=int(u,i),g=l;g>5;g-=5){var v=h>>>g&31;m=m.array[v]=int(m.array[v],i)}m.array[h>>>5&31]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=d)a-=d,s-=d,l=5,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||d<h){for(c=0;u;){var y=a>>>l&31;if(y!==d>>>l&31)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&d<h&&(u=u.removeAfter(i,l,d-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=p,e.__hash=void 0,e.__altered=!0,e):ent(a,s,l,u,p)}function ant(e){return e<32?0:e-1>>>5<<5}var snt,lnt=function(e){function t(e){return null==e?cnt():pet(e)?e:cnt().withMutations((function(t){var n=R7e(e);itt(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):cnt()},t.prototype.set=function(e,t){return hnt(this,e,t)},t.prototype.remove=function(e){return hnt(this,e,b7e)},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?unt(t,n,e,this.__hash):0===this.size?cnt():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Stt);function unt(e,t,n,i){var r=Object.create(lnt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function cnt(){return snt||(snt=unt(jtt(),tnt()))}function hnt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b7e){if(!l)return e;a.size>=32&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):unt(i,r)}lnt.isOrderedMap=pet,lnt.prototype[W7e]=!0,lnt.prototype.delete=lnt.prototype.remove;function dnt(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var fnt=function(e){function t(e){return null==e?vnt():dnt(e)?e:vnt().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=k7e(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):gnt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&dnt(t))return t;itt(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):gnt(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):vnt()},t.prototype.slice=function(t,n){if(S7e(t,n,this.size))return this;var i=C7e(t,this.size);if(D7e(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):gnt(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?gnt(this.size,this._head,e,this.__hash):0===this.size?vnt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new ret(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 ret(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new q7e((function(){if(i){var t=i.value;return i=i.next,H7e(e,n++,t)}return{value:void 0,done:!0}}))},t}(L7e);fnt.isStack=dnt;var pnt,mnt=fnt.prototype;function gnt(e,t,n,i){var r=Object.create(mnt);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function vnt(){return pnt||(pnt=gnt(0))}mnt["@@__IMMUTABLE_STACK__@@"]=!0,mnt.shift=mnt.pop,mnt.unshift=mnt.push,mnt.unshiftAll=mnt.pushAll,mnt.withMutations=xtt,mnt.wasAltered=_tt,mnt.asImmutable=ktt,mnt["@@transducer/init"]=mnt.asMutable=Ott,mnt["@@transducer/step"]=function(e,t){return e.unshift(t)},mnt["@@transducer/result"]=function(e){return e.asImmutable()};function ynt(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function bnt(e){return ynt(e)&&Q7e(e)}function wnt(e,t){if(e===t)return!0;if(!T7e(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||A7e(e)!==A7e(t)||P7e(e)!==P7e(t)||Q7e(e)!==Q7e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!M7e(e);if(Q7e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&get(r[1],e)&&(n||get(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?!get(t,e.get(i,b7e)):!get(e.get(i,b7e),t))return a=!1,!1}));return a&&e.size===s}function xnt(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 Ont(e){if(!e||"object"!=typeof e)return e;if(!T7e(e)){if(!ott(e))return e;e=eet(e)}if(A7e(e)){var t={};return e.__iterate((function(e,n){t[n]=Ont(e)})),t}var n=[];return e.__iterate((function(e){n.push(Ont(e))})),n}var knt=function(e){function t(t){return null==t?Ent():ynt(t)&&!Q7e(t)?t:Ent().withMutations((function(n){var i=e(t);itt(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(R7e(e).keySeq())},t.intersect=function(e){return(e=N7e(e).toArray()).length?Snt.intersect.apply(t(e.pop()),e):Ent()},t.union=function(e){return(e=N7e(e).toArray()).length?Snt.union.apply(t(e.pop()),e):Ent()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Cnt(this,this._map.set(e,e))},t.prototype.remove=function(e){return Cnt(this,this._map.remove(e))},t.prototype.clear=function(){return Cnt(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 Vnt(qet(this,e))},t.prototype.sortBy=function(e,t){return Vnt(qet(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}(j7e);knt.isSet=ynt;var _nt,Snt=knt.prototype;function Cnt(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 Dnt(e,t){var n=Object.create(Snt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ent(){return _nt||(_nt=Dnt(jtt()))}Snt["@@__IMMUTABLE_SET__@@"]=!0,Snt.delete=Snt.remove,Snt.merge=Snt.concat=Snt.union,Snt.withMutations=xtt,Snt.asImmutable=ktt,Snt["@@transducer/init"]=Snt.asMutable=Ott,Snt["@@transducer/step"]=function(e,t){return e.add(t)},Snt["@@transducer/result"]=function(e){return e.asImmutable()},Snt.__empty=Ent,Snt.__make=Dnt;var Int,Tnt=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(ntt(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(Int)return Int;Int=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+k7e(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 S7e(e,n,this.size)?this:(e=C7e(e,this.size),(n=D7e(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 q7e((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,H7e(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:wnt(this,e)},t}(net);function Ant(e,t,n){for(var i=rtt(t),r=0;r!==i.length;)if((e=stt(e,i[r++],b7e))===b7e)return n;return e}function Pnt(){itt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}N7e.isIterable=T7e,N7e.isKeyed=A7e,N7e.isIndexed=P7e,N7e.isAssociative=M7e,N7e.isOrdered=Q7e,N7e.Iterator=q7e,xnt(N7e,{toArray:function(){itt(this.size);var e=new Array(this.size||0),t=A7e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Net(this)},toJS:function(){return Ont(this)},toKeyedSeq:function(){return new Met(this,!0)},toMap:function(){return Stt(this.toKeyedSeq())},toObject:Pnt,toOrderedMap:function(){return lnt(this.toKeyedSeq())},toOrderedSet:function(){return Vnt(A7e(this)?this.valueSeq():this)},toSet:function(){return knt(A7e(this)?this.valueSeq():this)},toSetSeq:function(){return new Ret(this)},toSeq:function(){return P7e(this)?this.toIndexedSeq():A7e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return fnt(A7e(this)?this.valueSeq():this)},toList:function(){return Ktt(A7e(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 Get(this,Uet(this,e))},includes:function(e){return this.some((function(t){return get(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){itt(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 Get(this,zet(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 itt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){itt(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 Get(this,Fet(this,e,t))},reduce:function(e,t,n){return Lnt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Lnt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return Get(this,Bet(this,!0))},slice:function(e,t){return Get(this,Wet(this,e,t,!0))},some:function(e,t){return!this.every(Bnt(e),t)},sort:function(e){return Get(this,qet(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 O7e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Stt().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 wnt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ret(e._cache);var t=e.toSeq().map(Fnt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Bnt(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(_7e,null,e)},flatMap:function(e,t){return Get(this,function(e,t,n){var i=Xet(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 Get(this,Vet(this,e,!0))},fromEntrySeq:function(){return new Let(this)},get:function(e,t){return this.find((function(t,n){return get(n,e)}),void 0,t)},getIn:function(e,t){return Ant(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=A7e(e),r=(Q7e(e)?lnt():Stt()).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=Xet(e);return r.map((function(t){return Get(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,b7e)!==b7e},hasIn:function(e){return function(e,t){return Ant(e,t,b7e)!==b7e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:N7e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:N7e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return get(t,e)}))},keySeq:function(){return this.toSeq().map(jnt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Het(this,e)},maxBy:function(e,t){return Het(this,t,e)},min:function(e){return Het(this,e?znt(e):Qnt)},minBy:function(e,t){return Het(this,t?znt(t):Qnt,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 Get(this,Qet(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Bnt(e),t)},sortBy:function(e,t){return Get(this,qet(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 Get(this,function(e,t,n){var i=Zet(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 q7e((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:H7e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Bnt(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=Q7e(e),n=A7e(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Unt(wet(e),wet(t))|0}:function(e,t){i=i+Unt(wet(e),wet(t))|0}:t?function(e){i=31*i+wet(e)|0}:function(e){i=i+wet(e)|0});return function(e,t){return t=vet(t,3432918353),t=vet(t<<15|t>>>-15,461845907),t=vet(t<<13|t>>>-13,5),t=vet((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=yet((t=vet(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var Mnt=N7e.prototype;Mnt["@@__IMMUTABLE_ITERABLE__@@"]=!0,Mnt[V7e]=Mnt.values,Mnt.toJSON=Mnt.toArray,Mnt.__toStringMapper=att,Mnt.inspect=Mnt.toSource=function(){return this.toString()},Mnt.chain=Mnt.flatMap,Mnt.contains=Mnt.includes,xnt(R7e,{flip:function(){return Get(this,jet(this))},mapEntries:function(e,t){var n=this,i=0;return Get(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Get(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Nnt=R7e.prototype;Nnt["@@__IMMUTABLE_KEYED__@@"]=!0,Nnt[V7e]=Mnt.entries,Nnt.toJSON=Pnt,Nnt.__toStringMapper=function(e,t){return att(t)+": "+att(e)},xnt(L7e,{toKeyedSeq:function(){return new Met(this,!1)},filter:function(e,t){return Get(this,zet(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 Get(this,Bet(this,!1))},slice:function(e,t){return Get(this,Wet(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=C7e(e,e<0?this.count():this.size);var i=this.slice(0,e);return Get(this,1===n?i:i.concat(ttt(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 Get(this,Vet(this,e,!1))},get:function(e,t){return(e=k7e(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=k7e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Get(this,function(e,t){var n=Zet(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 q7e((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?H7e(n,a++,t):H7e(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(ttt(arguments)),t=Ket(this.toSeq(),net.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Get(this,n)},keySeq:function(){return Tnt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return Get(this,Qet(this,e,t,!1))},zip:function(){var e=[this].concat(ttt(arguments));return Get(this,Ket(this,Wnt,e))},zipAll:function(){var e=[this].concat(ttt(arguments));return Get(this,Ket(this,Wnt,e,!0))},zipWith:function(e){var t=ttt(arguments);return t[0]=this,Get(this,Ket(this,e,t))}});var Rnt=L7e.prototype;function Lnt(e,t,n,i,r,o){return itt(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function jnt(e,t){return t}function Fnt(e,t){return[t,e]}function Bnt(e){return function(){return!e.apply(this,arguments)}}function znt(e){return function(){return-e.apply(this,arguments)}}function Wnt(){return ttt(arguments)}function Qnt(e,t){return e<t?1:e>t?-1:0}function Unt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Rnt["@@__IMMUTABLE_INDEXED__@@"]=!0,Rnt[W7e]=!0,xnt(j7e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),j7e.prototype.has=Mnt.includes,j7e.prototype.contains=j7e.prototype.includes,xnt(tet,R7e.prototype),xnt(net,L7e.prototype),xnt(iet,j7e.prototype);var Vnt=function(e){function t(e){return null==e?Knt():bnt(e)?e:Knt().withMutations((function(t){var n=j7e(e);itt(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(R7e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(knt);Vnt.isOrderedSet=bnt;var qnt,Hnt=Vnt.prototype;function $nt(e,t){var n=Object.create(Hnt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Knt(){return qnt||(qnt=$nt(cnt()))}Hnt[W7e]=!0,Hnt.zip=Rnt.zip,Hnt.zipWith=Rnt.zipWith,Hnt.__empty=Knt,Hnt.__make=$nt;var Gnt={exports:{}};
141
141
  /*!
142
142
  Copyright (c) 2015 Jed Watson.
143
143
  Based on code that is Copyright 2013-2015, Facebook, Inc.