@livetiles/reach-components-react 0.5.0-preview.923 → 0.5.0-preview.924
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 +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -242,7 +242,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
242
242
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
243
243
|
PERFORMANCE OF THIS SOFTWARE.
|
|
244
244
|
***************************************************************************** */
|
|
245
|
-
var LUe=function(){return LUe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},LUe.apply(this,arguments)};function qUe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function WUe(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function FUe(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function VUe(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||t)}function BUe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var ZUe,YUe=function(r){var i,o=r.children,a=qUe(r,["children"]),s=Qpe();return n(t,{children:[e(GUe,{},void 0),e(J,LUe({},a,{modalProps:LUe(LUe({},a.modalProps||{}),{className:jH(s,"lt-reach-dialog",{"lt-reach-dialog-mobile":Vp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},GUe=Qe(ZUe||(ZUe=BUe(['\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']))),HUe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},KUe=function(e){return e&&e.Math==Math&&e},JUe=KUe("object"==typeof globalThis&&globalThis)||KUe("object"==typeof window&&window)||KUe("object"==typeof self&&self)||KUe("object"==typeof HUe&&HUe)||Function("return this")(),eXe={},tXe=function(e){try{return!!e()}catch(e){return!0}},nXe=!tXe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),rXe={},iXe={}.propertyIsEnumerable,oXe=Object.getOwnPropertyDescriptor,aXe=oXe&&!iXe.call({1:2},1);rXe.f=aXe?function(e){var t=oXe(this,e);return!!t&&t.enumerable}:iXe;var sXe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},lXe={}.toString,cXe=function(e){return lXe.call(e).slice(8,-1)},uXe=cXe,dXe="".split,pXe=tXe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==uXe(e)?dXe.call(e,""):Object(e)}:Object,fXe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},hXe=pXe,mXe=fXe,gXe=function(e){return hXe(mXe(e))},OXe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},vXe=OXe,yXe=function(e,t){if(!vXe(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!vXe(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!vXe(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!vXe(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},bXe={}.hasOwnProperty,wXe=function(e,t){return bXe.call(e,t)},xXe=OXe,_Xe=JUe.document,kXe=xXe(_Xe)&&xXe(_Xe.createElement),SXe=function(e){return kXe?_Xe.createElement(e):{}},PXe=SXe,CXe=!nXe&&!tXe((function(){return 7!=Object.defineProperty(PXe("div"),"a",{get:function(){return 7}}).a})),$Xe=nXe,EXe=rXe,TXe=sXe,QXe=gXe,IXe=yXe,DXe=wXe,AXe=CXe,RXe=Object.getOwnPropertyDescriptor;eXe.f=$Xe?RXe:function(e,t){if(e=QXe(e),t=IXe(t,!0),AXe)try{return RXe(e,t)}catch(e){}if(DXe(e,t))return TXe(!EXe.f.call(e,t),e[t])};var zXe={},NXe=OXe,MXe=function(e){if(!NXe(e))throw TypeError(String(e)+" is not an object");return e},jXe=nXe,UXe=CXe,XXe=MXe,LXe=yXe,qXe=Object.defineProperty;zXe.f=jXe?qXe:function(e,t,n){if(XXe(e),t=LXe(t,!0),XXe(n),UXe)try{return qXe(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 WXe=zXe,FXe=sXe,VXe=nXe?function(e,t,n){return WXe.f(e,t,FXe(1,n))}:function(e,t,n){return e[t]=n,e},BXe={exports:{}},ZXe=JUe,YXe=VXe,GXe=function(e,t){try{YXe(ZXe,e,t)}catch(n){ZXe[e]=t}return t},HXe=GXe,KXe=JUe["__core-js_shared__"]||HXe("__core-js_shared__",{}),JXe=KXe,eLe=Function.toString;"function"!=typeof JXe.inspectSource&&(JXe.inspectSource=function(e){return eLe.call(e)});var tLe=JXe.inspectSource,nLe=tLe,rLe=JUe.WeakMap,iLe="function"==typeof rLe&&/native code/.test(nLe(rLe)),oLe={exports:{}},aLe=KXe;(oLe.exports=function(e,t){return aLe[e]||(aLe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var sLe,lLe,cLe,uLe=0,dLe=Math.random(),pLe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++uLe+dLe).toString(36)},fLe=oLe.exports,hLe=pLe,mLe=fLe("keys"),gLe=function(e){return mLe[e]||(mLe[e]=hLe(e))},OLe={},vLe=iLe,yLe=OXe,bLe=VXe,wLe=wXe,xLe=gLe,_Le=OLe,kLe=JUe.WeakMap;if(vLe){var SLe=new kLe,PLe=SLe.get,CLe=SLe.has,$Le=SLe.set;sLe=function(e,t){return $Le.call(SLe,e,t),t},lLe=function(e){return PLe.call(SLe,e)||{}},cLe=function(e){return CLe.call(SLe,e)}}else{var ELe=xLe("state");_Le[ELe]=!0,sLe=function(e,t){return bLe(e,ELe,t),t},lLe=function(e){return wLe(e,ELe)?e[ELe]:{}},cLe=function(e){return wLe(e,ELe)}}var TLe={set:sLe,get:lLe,has:cLe,enforce:function(e){return cLe(e)?lLe(e):sLe(e,{})},getterFor:function(e){return function(t){var n;if(!yLe(t)||(n=lLe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},QLe=JUe,ILe=VXe,DLe=wXe,ALe=GXe,RLe=tLe,zLe=TLe.get,NLe=TLe.enforce,MLe=String(String).split("String");(BXe.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||DLe(n,"name")||ILe(n,"name",t),NLe(n).source=MLe.join("string"==typeof t?t:"")),e!==QLe?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:ILe(e,t,n)):o?e[t]=n:ALe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&zLe(this).source||RLe(this)}));var jLe=JUe,ULe=JUe,XLe=function(e){return"function"==typeof e?e:void 0},LLe=function(e,t){return arguments.length<2?XLe(jLe[e])||XLe(ULe[e]):jLe[e]&&jLe[e][t]||ULe[e]&&ULe[e][t]},qLe={},WLe=Math.ceil,FLe=Math.floor,VLe=function(e){return isNaN(e=+e)?0:(e>0?FLe:WLe)(e)},BLe=VLe,ZLe=Math.min,YLe=function(e){return e>0?ZLe(BLe(e),9007199254740991):0},GLe=VLe,HLe=Math.max,KLe=Math.min,JLe=gXe,eqe=YLe,tqe=function(e,t){var n=GLe(e);return n<0?HLe(n+t,0):KLe(n,t)},nqe=function(e){return function(t,n,r){var i,o=JLe(t),a=eqe(o.length),s=tqe(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},rqe={includes:nqe(!0),indexOf:nqe(!1)},iqe=wXe,oqe=gXe,aqe=rqe.indexOf,sqe=OLe,lqe=function(e,t){var n,r=oqe(e),i=0,o=[];for(n in r)!iqe(sqe,n)&&iqe(r,n)&&o.push(n);for(;t.length>i;)iqe(r,n=t[i++])&&(~aqe(o,n)||o.push(n));return o},cqe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],uqe=lqe,dqe=cqe.concat("length","prototype");qLe.f=Object.getOwnPropertyNames||function(e){return uqe(e,dqe)};var pqe={};pqe.f=Object.getOwnPropertySymbols;var fqe=qLe,hqe=pqe,mqe=MXe,gqe=LLe("Reflect","ownKeys")||function(e){var t=fqe.f(mqe(e)),n=hqe.f;return n?t.concat(n(e)):t},Oqe=wXe,vqe=gqe,yqe=eXe,bqe=zXe,wqe=function(e,t){for(var n=vqe(t),r=bqe.f,i=yqe.f,o=0;o<n.length;o++){var a=n[o];Oqe(e,a)||r(e,a,i(t,a))}},xqe=tXe,_qe=/#|\.prototype\./,kqe=function(e,t){var n=Pqe[Sqe(e)];return n==$qe||n!=Cqe&&("function"==typeof t?xqe(t):!!t)},Sqe=kqe.normalize=function(e){return String(e).replace(_qe,".").toLowerCase()},Pqe=kqe.data={},Cqe=kqe.NATIVE="N",$qe=kqe.POLYFILL="P",Eqe=kqe,Tqe=JUe,Qqe=eXe.f,Iqe=VXe,Dqe=BXe.exports,Aqe=GXe,Rqe=wqe,zqe=Eqe,Nqe=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Tqe:c?Tqe[s]||Aqe(s,{}):(Tqe[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Qqe(n,r))&&a.value:n[r],!zqe(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Rqe(o,i)}(e.sham||i&&i.sham)&&Iqe(o,"sham",!0),Dqe(n,r,o,e)}},Mqe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},jqe=fXe,Uqe=function(e){return Object(jqe(e))},Xqe=Mqe,Lqe=Uqe,qqe=pXe,Wqe=YLe,Fqe=function(e){return function(t,n,r,i){Xqe(n);var o=Lqe(t),a=qqe(o),s=Wqe(o.length),l=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(l in a){i=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(i=n(i,a[l],l,o));return i}},Vqe={left:Fqe(!1),right:Fqe(!0)},Bqe=tXe,Zqe=function(e,t){var n=[][e];return!!n&&Bqe((function(){n.call(null,t||function(){throw 1},1)}))},Yqe=nXe,Gqe=tXe,Hqe=wXe,Kqe=Object.defineProperty,Jqe={},eWe=function(e){throw e},tWe=Nqe,nWe=Vqe.left,rWe=function(e,t){if(Hqe(Jqe,e))return Jqe[e];t||(t={});var n=[][e],r=!!Hqe(t,"ACCESSORS")&&t.ACCESSORS,i=Hqe(t,0)?t[0]:eWe,o=Hqe(t,1)?t[1]:void 0;return Jqe[e]=!!n&&!Gqe((function(){if(r&&!Yqe)return!0;var e={length:-1};r?Kqe(e,1,{enumerable:!0,get:eWe}):e[1]=1,n.call(e,i,o)}))},iWe=Zqe("reduce"),oWe=rWe("reduce",{1:0});tWe({target:"Array",proto:!0,forced:!iWe||!oWe},{reduce:function(e){return nWe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var aWe=lqe,sWe=cqe,lWe=Object.keys||function(e){return aWe(e,sWe)},cWe=nXe,uWe=tXe,dWe=lWe,pWe=pqe,fWe=rXe,hWe=Uqe,mWe=pXe,gWe=Object.assign,OWe=Object.defineProperty,vWe=!gWe||uWe((function(){if(cWe&&1!==gWe({b:1},gWe(OWe({},"a",{enumerable:!0,get:function(){OWe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=gWe({},e)[n]||dWe(gWe({},t)).join("")!=r}))?function(e,t){for(var n=hWe(e),r=arguments.length,i=1,o=pWe.f,a=fWe.f;r>i;)for(var s,l=mWe(arguments[i++]),c=o?dWe(l).concat(o(l)):dWe(l),u=c.length,d=0;u>d;)s=c[d++],cWe&&!a.call(l,s)||(n[s]=l[s]);return n}:gWe,yWe=vWe;Nqe({target:"Object",stat:!0,forced:Object.assign!==yWe},{assign:yWe});var bWe=tXe,wWe=!!Object.getOwnPropertySymbols&&!bWe((function(){return!String(Symbol())})),xWe=wWe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_We=JUe,kWe=oLe.exports,SWe=wXe,PWe=pLe,CWe=wWe,$We=xWe,EWe=kWe("wks"),TWe=_We.Symbol,QWe=$We?TWe:TWe&&TWe.withoutSetter||PWe,IWe=function(e){return SWe(EWe,e)||(CWe&&SWe(TWe,e)?EWe[e]=TWe[e]:EWe[e]=QWe("Symbol."+e)),EWe[e]},DWe=OXe,AWe=cXe,RWe=IWe("match"),zWe=function(e){var t;return DWe(e)&&(void 0!==(t=e[RWe])?!!t:"RegExp"==AWe(e))},NWe=zWe,MWe=function(e){if(NWe(e))throw TypeError("The method doesn't accept regular expressions");return e},jWe=IWe("match"),UWe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[jWe]=!1,"/./"[e](t)}catch(e){}}return!1},XWe=MWe,LWe=fXe;function qWe(e,t){var n=e||[],r=t||[],i=n.map((function(e){return e.id})),o=r.filter((function(e){return!i.includes(e.id)}));return n.concat(o)}Nqe({target:"String",proto:!0,forced:!UWe("includes")},{includes:function(e){return!!~String(LWe(this)).indexOf(XWe(e),arguments.length>1?arguments[1]:void 0)}});var WWe,FWe=zXe,VWe=MXe,BWe=lWe,ZWe=nXe?Object.defineProperties:function(e,t){VWe(e);for(var n,r=BWe(t),i=r.length,o=0;i>o;)FWe.f(e,n=r[o++],t[n]);return e},YWe=LLe("document","documentElement"),GWe=MXe,HWe=ZWe,KWe=cqe,JWe=OLe,eFe=YWe,tFe=SXe,nFe=gLe("IE_PROTO"),rFe=function(){},iFe=function(e){return"<script>"+e+"<\/script>"},oFe=function(){try{WWe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;oFe=WWe?function(e){e.write(iFe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(WWe):((t=tFe("iframe")).style.display="none",eFe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(iFe("document.F=Object")),e.close(),e.F);for(var n=KWe.length;n--;)delete oFe.prototype[KWe[n]];return oFe()};JWe[nFe]=!0;var aFe=Object.create||function(e,t){var n;return null!==e?(rFe.prototype=GWe(e),n=new rFe,rFe.prototype=null,n[nFe]=e):n=oFe(),void 0===t?n:HWe(n,t)},sFe=aFe,lFe=zXe,cFe=IWe("unscopables"),uFe=Array.prototype;null==uFe[cFe]&&lFe.f(uFe,cFe,{configurable:!0,value:sFe(null)});var dFe,pFe,fFe,hFe=function(e){uFe[cFe][e]=!0},mFe={},gFe=!tXe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),OFe=wXe,vFe=Uqe,yFe=gFe,bFe=gLe("IE_PROTO"),wFe=Object.prototype,xFe=yFe?Object.getPrototypeOf:function(e){return e=vFe(e),OFe(e,bFe)?e[bFe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?wFe:null},_Fe=xFe,kFe=VXe,SFe=wXe,PFe=IWe("iterator"),CFe=!1;[].keys&&("next"in(fFe=[].keys())?(pFe=_Fe(_Fe(fFe)))!==Object.prototype&&(dFe=pFe):CFe=!0),null==dFe&&(dFe={}),SFe(dFe,PFe)||kFe(dFe,PFe,(function(){return this}));var $Fe={IteratorPrototype:dFe,BUGGY_SAFARI_ITERATORS:CFe},EFe=zXe.f,TFe=wXe,QFe=IWe("toStringTag"),IFe=function(e,t,n){e&&!TFe(e=n?e:e.prototype,QFe)&&EFe(e,QFe,{configurable:!0,value:t})},DFe=$Fe.IteratorPrototype,AFe=aFe,RFe=sXe,zFe=IFe,NFe=mFe,MFe=function(){return this},jFe=OXe,UFe=MXe,XFe=function(e){if(!jFe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},LFe=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,r){return UFe(n),XFe(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),qFe=Nqe,WFe=function(e,t,n){var r=t+" Iterator";return e.prototype=AFe(DFe,{next:RFe(1,n)}),zFe(e,r,!1),NFe[r]=MFe,e},FFe=xFe,VFe=LFe,BFe=IFe,ZFe=VXe,YFe=BXe.exports,GFe=mFe,HFe=$Fe.IteratorPrototype,KFe=$Fe.BUGGY_SAFARI_ITERATORS,JFe=IWe("iterator"),eVe=function(){return this},tVe=gXe,nVe=hFe,rVe=mFe,iVe=TLe,oVe=function(e,t,n,r,i,o,a){WFe(n,t,r);var s,l,c,u=function(e){if(e===i&&m)return m;if(!KFe&&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)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[JFe]||f["@@iterator"]||i&&f[i],m=!KFe&&h||u(i),g="Array"==t&&f.entries||h;if(g&&(s=FFe(g.call(new e)),HFe!==Object.prototype&&s.next&&(FFe(s)!==HFe&&(VFe?VFe(s,HFe):"function"!=typeof s[JFe]&&ZFe(s,JFe,eVe)),BFe(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(p=!0,m=function(){return h.call(this)}),f[JFe]!==m&&ZFe(f,JFe,m),GFe[t]=m,i)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(KFe||p||!(c in f))&&YFe(f,c,l[c]);else qFe({target:t,proto:!0,forced:KFe||p},l);return l},aVe=iVe.set,sVe=iVe.getterFor("Array Iterator"),lVe=oVe(Array,"Array",(function(e,t){aVe(this,{type:"Array Iterator",target:tVe(e),index:0,kind:t})}),(function(){var e=sVe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");rVe.Arguments=rVe.Array,nVe("keys"),nVe("values"),nVe("entries");var cVe=JUe,uVe={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},dVe=lVe,pVe=VXe,fVe=IWe,hVe=fVe("iterator"),mVe=fVe("toStringTag"),gVe=dVe.values;for(var OVe in uVe){var vVe=cVe[OVe],yVe=vVe&&vVe.prototype;if(yVe){if(yVe[hVe]!==gVe)try{pVe(yVe,hVe,gVe)}catch(e){yVe[hVe]=gVe}if(yVe[mVe]||pVe(yVe,mVe,OVe),uVe[OVe])for(var bVe in dVe)if(yVe[bVe]!==dVe[bVe])try{pVe(yVe,bVe,dVe[bVe])}catch(e){yVe[bVe]=dVe[bVe]}}}var wVe,xVe,_Ve,kVe,SVe,PVe,CVe,$Ve,EVe,TVe,QVe,IVe,DVe,AVe,RVe,zVe,NVe,MVe,jVe,UVe=function(t){var n=FI().formatMessage,r=Qpe();return e(G,LUe({},t,{className:jH(r,"lt-reach-tooltip"),role:t.role,onClick:t.onClick,hostClassName:t.className,content:t.resourceKey||t.text?t.text||n({id:t.resourceKey},t.values||{}):null,calloutProps:LUe(LUe({},t.calloutProps),{calloutWidth:t.width,hidden:t.hidden}),dir:"auto"},{children:t.children}),void 0)},XVe=function(e){var t,n;return Ie(SVe||(SVe=BUe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?Ie(wVe||(wVe=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):Ie(xVe||(xVe=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),rde),(null==e?void 0:e.color)?Ie(_Ve||(_Ve=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):Ie(kVe||(kVe=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:10,20)},LVe=function(t){var n=t.tooltipResourceKey,r=t.className,i=qUe(t,["tooltipResourceKey","className"]);return e(UVe,LUe({resourceKey:n,className:r},{children:e(qVe,LUe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},qVe=Te.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(PVe||(PVe=BUe(["\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 flex: 1 1 auto;\n }\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 flex: 1 1 auto;\n }\n"])),XVe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"})),WVe=Te.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(CVe||(CVe=BUe(["\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})),FVe=function(t){var r=t.showDialog,i=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,c=t.saveButtonResourceId,u=t.children,d=t.className,p=FI().formatMessage;return n(YUe,LUe({hidden:!r,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:H.normal,title:p({id:s})},onDismiss:i},{children:[e(VVe,LUe({className:d},{children:u}),void 0),n(K,{children:[e(A,LUe({onClick:i,"data-button":"cancel"},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0),e(D,LUe({disabled:l,onClick:a,"data-button":"save"},{children:e(uD,{id:c||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},VVe=Te.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})($Ve||($Ve=BUe(["\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),BVe=Te(FVe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(EVe||(EVe=BUe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),ZVe=Te(E).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(TVe||(TVe=BUe(["\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})),YVe=function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,c=t.ariaLabelResourceKey,u=FI().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(GVe,LUe({className:o},{children:r?e(KVe,{},void 0):e(UVe,LUe({resourceKey:l},{children:e(HVe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?u({id:c}):null},void 0)}),void 0)}),void 0)},GVe=Te.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(QVe||(QVe=BUe(["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"],["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"]))),HVe=Te(ZVe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(IVe||(IVe=BUe(["\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),KVe=Te.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(DVe||(DVe=BUe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),JVe=Ie(AVe||(AVe=BUe(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),eBe=Te.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(RVe||(RVe=BUe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),JVe),tBe=Te(ke).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(zVe||(zVe=BUe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),JVe),nBe=Ie(NVe||(NVe=BUe(["\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),rBe=function(){var t=vde().hideNotification,n=a(Ode),r=n.isNotificationBarVisible,i=qUe(n,["isNotificationBarVisible"]),o=FI().formatMessage,s=i.messageId||i.text;return r?e(iBe,LUe({className:"notification-wrapper","data-notification-bar":!0},{children:e(oBe,LUe({messageBarType:i.messageBarType,className:i.className,actions:i.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&e(UVe,LUe({text:i.text,resourceKey:i.messageId,values:i.messageValues},{children:i.text||e(uD,{id:i.messageId,values:i.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},iBe=Te.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(MVe||(MVe=BUe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),oBe=Te(T).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(jVe||(jVe=BUe(["\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"])),nBe,16,18,18,16,18,14,30,20),aBe=function(t){var n,r=FI().formatMessage,i=lie(),o=sie(),a=Jie(),s=a.searchAccounts,l=a.getUserAvatarUrl,d=c(),p=RT();u((function(){t.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,t.autoFocus]);var f=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,h=!t.selectionMode||t.selectionMode===ee.multiple,m=t.selectedItems||[],g=f,O={defaultSelectedItems:(t.defaultSelectedItems||[]).map((function(e){return v(e)})),resolveDelay:500,onResolveSuggestions:function(e){return y(e,g)},onGetMoreResults:function(e){return y(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!==qre.Group?t.userPrincipalName:null,mail:Die(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));t.onChange&&t.onChange(n)}(e)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!t.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Pse?300:0,className:"lt-reach-picker-callout"},inputProps:{id:t.inputId,required:t.required,"aria-required":t.required,"aria-label":t.inputAriaLabelResourceKey?r({id:t.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:r({id:"AriaLabel.removeUserButton"})};return t.onEmptyInputFocus&&(O.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return b(e).map(v);return e.then((function(e){return b(e).map(v)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===m.length&&(O.inputProps.placeholder=r({id:t.placeholderStringResourceKey})),t.selectedItems&&(O.selectedItems=m.map((function(e){return v(e)}))),e(lBe,LUe({className:jH(t.className,"people-picker")},{children:e(te,LUe({},O,{componentRef:d,itemLimit:h?void 0:1}),void 0)}),void 0);function v(e){var t=Die(e.mail)?null:e.mail,n=Die(e.userPrincipalName)?null:e.userPrincipalName,r=zC(e.displayName||e.mail||e.userPrincipalName),o=e.type===qre.User?n:e.type===qre.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:r,initialsColor:NC(r),key:o,accountType:e.type,authenticationType:e.authenticationType};return i.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function y(e,n){return WUe(this,void 0,void 0,(function(){var r,i,o;return FUe(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];r=t.allowMailItems&&PC(e)&&{mail:e,userPrincipalName:e,displayName:e,type:qre.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 i=a.sent(),r&&i.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,r)}))&&i.push(r),t.additionalSearch&&(o=t.additionalSearch(e))&&(i=i.concat(o)),[2,b(i).map(v)];case 3:return a.sent(),[2,r&&[r].map(v)];case 4:return[2]}}))}))}function b(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 sBe,lBe=Te.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(sBe||(sBe=BUe(["\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"]))),cBe=Nqe,uBe=eXe.f,dBe=YLe,pBe=MWe,fBe=fXe,hBe=UWe,mBe="".startsWith,gBe=Math.min,OBe=hBe("startsWith"),vBe=!OBe&&!!function(){var e=uBe(String.prototype,"startsWith");return e&&!e.writable}();cBe({target:"String",proto:!0,forced:!vBe&&!OBe},{startsWith:function(e){var t=String(fBe(this));pBe(e);var n=dBe(gBe(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return mBe?mBe.call(t,r,n):t.slice(n,n+r.length)===r}});var yBe=MXe,bBe=function(){var e=yBe(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},wBe=BXe.exports,xBe=MXe,_Be=tXe,kBe=bBe,SBe=RegExp.prototype,PBe=SBe.toString,CBe=_Be((function(){return"/a/b"!=PBe.call({source:"a",flags:"b"})})),$Be="toString"!=PBe.name;(CBe||$Be)&&wBe(RegExp.prototype,"toString",(function(){var e=xBe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in SBe)?kBe.call(e):n)}),{unsafe:!0});var EBe,TBe=function(t){var n=t.fileName,r=t.url;return e(QBe,LUe({href:r,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n},void 0)}),void 0)},QBe=Te.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(EBe||(EBe=BUe(["\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),IBe=function(t){var r=t.fileName,i=t.url,o=t.onPlay;return i?n(NBe,LUe({className:"lt-reach-embedded-audio"},{children:[e(TBe,{fileName:r,url:i},void 0),n("audio",LUe({onPlay:function(){return null==o?void 0:o(i)},controls:!0,title:r,controlsList:"nodownload"},{children:[e("source",{src:i,type:"audio/mpeg"},void 0),e(uD,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function DBe(e){var t=JK.getType(e);return t&&t.toString().startsWith("audio/")}var ABe,RBe,zBe,NBe=Te.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(ABe||(ABe=BUe(["\n width: 100%;\n"],["\n width: 100%;\n"])));Te.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(RBe||(RBe=BUe(["\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"})(zBe||(zBe=BUe(["\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 MBe,jBe,UBe,XBe,LBe,qBe,WBe=function(t){var r=t.children,i=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(BBe,LUe({className:s},{children:[i&&e(VBe,{children:i},void 0),e(FBe,LUe({"data-attachment":o,backgroundColor:a},{children:r}),void 0)]}),void 0)},FBe=Te.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(MBe||(MBe=BUe(["\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+";"})),VBe=Te.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(jBe||(jBe=BUe(["\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),BBe=Te.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(UBe||(UBe=BUe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),ZBe=Te(Q).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(XBe||(XBe=BUe(["\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"})(LBe||(LBe=BUe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Te(ZBe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(qBe||(qBe=BUe(["\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 YBe,GBe,HBe,KBe,JBe=function(t){var n=t.children,r=qUe(t,["children"]),i=Qpe();return e(ne,LUe({},r,{className:jH(i,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:LUe({isClickableOutsideFocusTrap:!0},r.focusTrapProps)},{children:n}),void 0)},eZe=function(t){var r=FI().formatMessage,i=d(!1),o=i[0],s=i[1],l=a(lde).theme.palette.accent;return n(YUe,LUe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!t.hideCloseButton,type:t.hideCloseButton?H.normal:H.close,title:r({id:t.titleResourceKey},t.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:t.onCancel},{children:[e(tZe,{children:e(uD,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues},void 0)},void 0),e(nZe,{"data-verify-item-input":!0,onChange:function(e,n){var r=n===t.compareValue;r!==o&&s(r)},ariaLabel:r({id:t.inputAriaLabelResourceKey})},void 0),t.children,n(K,{children:[e(A,LUe({onClick:t.onCancel,disabled:t.disabled},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0),e(rZe,LUe({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(uD,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},tZe=Te.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(YBe||(YBe=BUe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),nZe=Te(I).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(GBe||(GBe=BUe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),rZe=Te(D).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(HBe||(HBe=BUe(["\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})),iZe=function(t){var r=t.showDialog,i=t.titleResourceKey,o=t.titleResourceValues,s=t.infoResourceKey,l=t.infoResourceValues,c=t.onConfirm,u=t.onClose,d=t.width,p=t.children,f=FI().formatMessage,h=a(lde).theme.palette.accent;return n(YUe,LUe({hidden:!r,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:H.normal,subText:s?f({id:s},l):"",title:f({id:i},o),titleProps:{style:{color:h}}},onDismiss:u},{children:[p,n(K,{children:[e(A,LUe({onClick:u,"data-cancel-button":!0},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0),e(D,LUe({"data-ok-button":!0,onClick:function(){null==c||c(),null==u||u()}},{children:e(uD,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},oZe=function(t){var r=t.onConfirm,i=t.onCancel,o=FI().formatMessage,s=a(lde).theme.palette.accent;return e(YUe,LUe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:H.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:i},{children:n(aZe,{children:[e(uD,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),n(K,{children:[e(D,LUe({onClick:r},{children:e(uD,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),e(A,LUe({onClick:i},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},aZe=Te.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(KBe||(KBe=BUe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),sZe=function(t){var n=t.value,r=a(_D).language,i=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var r=LUe(LUe({},lZe),n||{}),i=(+e-+t)/1e3;if(Math.abs(i)<r.second)return{value:Math.round(i),unit:"second"};var o=i/60;if(Math.abs(o)<r.minute)return{value:Math.round(o),unit:"minute"};var a=i/3600;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var s=i/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var l=i/604800;if(Math.round(Math.abs(l))>0&&Math.abs(l)<r.week)return{value:Math.round(l),unit:"week"};var c=new Date(e),u=new Date(t),d=c.getFullYear()-u.getFullYear(),p=12*d+c.getMonth()-u.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<r.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=i.value,s=i.unit;return e(eD,LUe({locale:r},{children:e(sD,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)};var lZe={second:45,minute:45,hour:22,day:6,week:4,month:12};var cZe,uZe,dZe,pZe,fZe,hZe,mZe,gZe,OZe,vZe=function(r){var i,o,a=(i=r.value,o=r.dateOnly,l((function(){var e=jC(i),t=Uu(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:o?void 0:"numeric",minute:o?void 0:"numeric"},{locale:Nre()}),n={dateTime:e.toISOString(),title:t};return{date:e,timeProps:n}}),[o,i])),s=a.date,c=a.timeProps,u=!r.showAsAbsolute&&(r.showAsRelative||UC(r.value))&&!r.dateOnly;return!r.showWeekDay&&u?e(bZe,LUe({className:jH(r.className)},c,{dir:"auto"},{children:e(sZe,{value:s},void 0)}),void 0):n(bZe,LUe({className:jH(r.className)},c,{dir:"auto"},{children:[e(dD,{weekday:r.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:s},void 0),!r.dateOnly&&n(t,{children:[" ",e(pD,{value:s},void 0)]},void 0)]}),void 0)},yZe=function(r){var i=r.startDate,o=r.endDate,a=r.dateOnly,s=r.className;if(!i)return null;if(!o)return e("div",LUe({className:s,dir:"auto"},{children:e(vZe,{value:i,showWeekDay:!0,dateOnly:a},void 0)}),void 0);var l=new Date(i),c=new Date(o);return ec(l,c)?n("div",LUe({className:s,dir:"auto"},{children:[e(vZe,{value:i,showWeekDay:!0,dateOnly:a},void 0),!a&&n(t,{children:[" - ",e(pD,{value:c},void 0)]},void 0)]}),void 0):n("div",LUe({className:s,dir:"auto"},{children:[e(vZe,{value:i,showWeekDay:!0,dateOnly:a},void 0)," - ",e(vZe,{value:o,showWeekDay:!0,dateOnly:a},void 0)]}),void 0)},bZe=Te.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(cZe||(cZe=BUe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),wZe=Te.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(uZe||(uZe=BUe(["\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}),rde),xZe=function(t){var n,r=t.children,i=qUe(t,["children"]);return e(q,LUe({},i,{calloutProps:LUe(LUe({},i.calloutProps||{}),{className:jH(m7,"lt-reach-dropdown",null===(n=i.calloutProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)},_Ze=function(t){var r=t.svg,i=t.icon,o=t.styleDefinition,a=t.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=t.additionalButton,c=t.className,u=(null==o?void 0:o.size)||"large";return e(kZe,LUe({className:c,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(SZe,LUe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===u},{children:[i&&e(R,{iconName:i},void 0),!i&&r,s.map((function(t,n){return e("p",{children:e(uD,{id:t},void 0)},n)})),l]}),void 0)}),void 0)},kZe=Te.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(fZe||(fZe=BUe(["\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?Ie(dZe||(dZe=BUe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):Ie(pZe||(pZe=BUe(["\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 "])))})),SZe=Te.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(gZe||(gZe=BUe(["\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&&Ie(hZe||(hZe=BUe(["\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&&Ie(mZe||(mZe=BUe(["\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,Sse.small)}),(function(e){return e.theme.palette.accent}),3,Cse,24,30,30),PZe=function(e,t){return null!=e&&(e&t)===t};Te.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(OZe||(OZe=BUe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var CZe=Nqe,$Ze=Mqe,EZe=Uqe,TZe=tXe,QZe=Zqe,IZe=[],DZe=IZe.sort,AZe=TZe((function(){IZe.sort(void 0)})),RZe=TZe((function(){IZe.sort(null)})),zZe=QZe("sort");CZe({target:"Array",proto:!0,forced:AZe||!RZe||!zZe},{sort:function(e){return void 0===e?DZe.call(EZe(this)):DZe.call(EZe(this),$Ze(e))}});var NZe=function(n){var r=n.languages,i=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=FI(),c=l.formatMessage;return e(t,{children:_oe.apply(void 0,VUe([l],r)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e(qZe,{children:e(WZe,{"data-translation-field":t.code,placeholder:null!=s?s:c({id:a},{lang:t.localizedName}),label:t.localizedName,value:i[t.code],onChange:function(e,n){var r;o(LUe(LUe({},i),((r={})[t.code]=n,r)))},dir:"auto"},void 0)},t.code)}))},void 0)};Te.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(MZe||(MZe=BUe(["\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 MZe,jZe,UZe,XZe,LZe,qZe=Te.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(jZe||(jZe=BUe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),WZe=Te(I).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(UZe||(UZe=BUe(["\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"})(XZe||(XZe=BUe(["\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"})(LZe||(LZe=BUe(["\n display: flex;\n"],["\n display: flex;\n"])));var FZe,VZe=function(t){var n=d(null==t.delay),r=n[0],i=n[1];return u((function(){if(null!=!t.delay){var e=setTimeout((function(){return i(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),r?e(BZe,LUe({className:t.className},{children:e(C,LUe({},t,{className:""}),void 0)}),void 0):null},BZe=Te.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(FZe||(FZe=BUe(["\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"]))),ZZe=JUe.Promise,YZe=BXe.exports,GZe=LLe,HZe=zXe,KZe=nXe,JZe=IWe("species"),eYe={exports:{}},tYe=mFe,nYe=IWe("iterator"),rYe=Array.prototype,iYe=Mqe,oYe=function(e,t,n){if(iYe(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,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},aYe={};aYe[IWe("toStringTag")]="z";var sYe="[object z]"===String(aYe),lYe=cXe,cYe=IWe("toStringTag"),uYe="Arguments"==lYe(function(){return arguments}()),dYe=sYe?lYe:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),cYe))?n:uYe?lYe(t):"Object"==(r=lYe(t))&&"function"==typeof t.callee?"Arguments":r},pYe=dYe,fYe=mFe,hYe=IWe("iterator"),mYe=MXe,gYe=MXe,OYe=function(e){return void 0!==e&&(tYe.Array===e||rYe[nYe]===e)},vYe=YLe,yYe=oYe,bYe=function(e){if(null!=e)return e[hYe]||e["@@iterator"]||fYe[pYe(e)]},wYe=function(e,t,n,r){try{return r?t(mYe(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&mYe(i.call(e)),t}},xYe=function(e,t){this.stopped=e,this.result=t},_Ye=eYe.exports=function(e,t,n,r,i){var o,a,s,l,c,u,d,p=yYe(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=bYe(e)))throw TypeError("Target is not iterable");if(OYe(a)){for(s=0,l=vYe(e.length);l>s;s++)if((c=r?p(gYe(d=e[s])[0],d[1]):p(e[s]))&&c instanceof xYe)return c;return new xYe(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=wYe(o,p,d.value,r))&&c&&c instanceof xYe)return c;return new xYe(!1)};_Ye.stop=function(e){return new xYe(!0,e)};var kYe=IWe("iterator"),SYe=!1;try{var PYe=0,CYe={next:function(){return{done:!!PYe++}},return:function(){SYe=!0}};CYe[kYe]=function(){return this},Array.from(CYe,(function(){throw 2}))}catch(e){}var $Ye,EYe,TYe,QYe=MXe,IYe=Mqe,DYe=IWe("species"),AYe=function(e,t){var n,r=QYe(e).constructor;return void 0===r||null==(n=QYe(r)[DYe])?t:IYe(n)},RYe=LLe("navigator","userAgent")||"",zYe=/(iphone|ipod|ipad).*applewebkit/i.test(RYe),NYe=JUe,MYe=tXe,jYe=cXe,UYe=oYe,XYe=YWe,LYe=SXe,qYe=zYe,WYe=NYe.location,FYe=NYe.setImmediate,VYe=NYe.clearImmediate,BYe=NYe.process,ZYe=NYe.MessageChannel,YYe=NYe.Dispatch,GYe=0,HYe={},KYe=function(e){if(HYe.hasOwnProperty(e)){var t=HYe[e];delete HYe[e],t()}},JYe=function(e){return function(){KYe(e)}},eGe=function(e){KYe(e.data)},tGe=function(e){NYe.postMessage(e+"",WYe.protocol+"//"+WYe.host)};FYe&&VYe||(FYe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return HYe[++GYe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},$Ye(GYe),GYe},VYe=function(e){delete HYe[e]},"process"==jYe(BYe)?$Ye=function(e){BYe.nextTick(JYe(e))}:YYe&&YYe.now?$Ye=function(e){YYe.now(JYe(e))}:ZYe&&!qYe?(TYe=(EYe=new ZYe).port2,EYe.port1.onmessage=eGe,$Ye=UYe(TYe.postMessage,TYe,1)):!NYe.addEventListener||"function"!=typeof postMessage||NYe.importScripts||MYe(tGe)||"file:"===WYe.protocol?$Ye="onreadystatechange"in LYe("script")?function(e){XYe.appendChild(LYe("script")).onreadystatechange=function(){XYe.removeChild(this),KYe(e)}}:function(e){setTimeout(JYe(e),0)}:($Ye=tGe,NYe.addEventListener("message",eGe,!1)));var nGe,rGe,iGe,oGe,aGe,sGe,lGe,cGe,uGe={set:FYe,clear:VYe},dGe=JUe,pGe=eXe.f,fGe=cXe,hGe=uGe.set,mGe=zYe,gGe=dGe.MutationObserver||dGe.WebKitMutationObserver,OGe=dGe.process,vGe=dGe.Promise,yGe="process"==fGe(OGe),bGe=pGe(dGe,"queueMicrotask"),wGe=bGe&&bGe.value;wGe||(nGe=function(){var e,t;for(yGe&&(e=OGe.domain)&&e.exit();rGe;){t=rGe.fn,rGe=rGe.next;try{t()}catch(e){throw rGe?oGe():iGe=void 0,e}}iGe=void 0,e&&e.enter()},yGe?oGe=function(){OGe.nextTick(nGe)}:gGe&&!mGe?(aGe=!0,sGe=document.createTextNode(""),new gGe(nGe).observe(sGe,{characterData:!0}),oGe=function(){sGe.data=aGe=!aGe}):vGe&&vGe.resolve?(lGe=vGe.resolve(void 0),cGe=lGe.then,oGe=function(){cGe.call(lGe,nGe)}):oGe=function(){hGe.call(dGe,nGe)});var xGe=wGe||function(e){var t={fn:e,next:void 0};iGe&&(iGe.next=t),rGe||(rGe=t,oGe()),iGe=t},_Ge={},kGe=Mqe,SGe=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=kGe(t),this.reject=kGe(n)};_Ge.f=function(e){return new SGe(e)};var PGe,CGe,$Ge=MXe,EGe=OXe,TGe=_Ge,QGe=JUe,IGe=RYe,DGe=JUe.process,AGe=DGe&&DGe.versions,RGe=AGe&&AGe.v8;RGe?CGe=(PGe=RGe.split("."))[0]+PGe[1]:IGe&&(!(PGe=IGe.match(/Edge\/(\d+)/))||PGe[1]>=74)&&(PGe=IGe.match(/Chrome\/(\d+)/))&&(CGe=PGe[1]);var zGe,NGe,MGe,jGe,UGe=CGe&&+CGe,XGe=Nqe,LGe=JUe,qGe=LLe,WGe=ZZe,FGe=BXe.exports,VGe=function(e,t,n){for(var r in t)YZe(e,r,t[r],n);return e},BGe=IFe,ZGe=function(e){var t=GZe(e),n=HZe.f;KZe&&t&&!t[JZe]&&n(t,JZe,{configurable:!0,get:function(){return this}})},YGe=OXe,GGe=Mqe,HGe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},KGe=cXe,JGe=tLe,eHe=eYe.exports,tHe=function(e,t){if(!t&&!SYe)return!1;var n=!1;try{var r={};r[kYe]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},nHe=AYe,rHe=uGe.set,iHe=xGe,oHe=function(e,t){if($Ge(e),EGe(t)&&t.constructor===e)return t;var n=TGe.f(e);return(0,n.resolve)(t),n.promise},aHe=function(e,t){var n=QGe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},sHe=_Ge,lHe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},cHe=TLe,uHe=Eqe,dHe=UGe,pHe=IWe("species"),fHe=cHe.get,hHe=cHe.set,mHe=cHe.getterFor("Promise"),gHe=WGe,OHe=LGe.TypeError,vHe=LGe.document,yHe=LGe.process,bHe=qGe("fetch"),wHe=sHe.f,xHe=wHe,_He="process"==KGe(yHe),kHe=!!(vHe&&vHe.createEvent&&LGe.dispatchEvent),SHe=uHe("Promise",(function(){if(!(JGe(gHe)!==String(gHe))){if(66===dHe)return!0;if(!_He&&"function"!=typeof PromiseRejectionEvent)return!0}if(dHe>=51&&/native code/.test(gHe))return!1;var e=gHe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[pHe]=t,!(e.then((function(){}))instanceof t)})),PHe=SHe||!tHe((function(e){gHe.all(e).catch((function(){}))})),CHe=function(e){var t;return!(!YGe(e)||"function"!=typeof(t=e.then))&&t},$He=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;iHe((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=o?u.ok:u.fail,p=u.resolve,f=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&IHe(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===u.promise?f(OHe("Promise-chain cycle")):(l=CHe(s))?l.call(s,p,f):p(s)):f(i)}catch(e){h&&!c&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&THe(e,t)}))}},EHe=function(e,t,n){var r,i;kHe?((r=vHe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),LGe.dispatchEvent(r)):r={promise:t,reason:n},(i=LGe["on"+e])?i(r):"unhandledrejection"===e&&aHe("Unhandled promise rejection",n)},THe=function(e,t){rHe.call(LGe,(function(){var n,r=t.value;if(QHe(t)&&(n=lHe((function(){_He?yHe.emit("unhandledRejection",r,e):EHe("unhandledrejection",e,r)})),t.rejection=_He||QHe(t)?2:1,n.error))throw n.value}))},QHe=function(e){return 1!==e.rejection&&!e.parent},IHe=function(e,t){rHe.call(LGe,(function(){_He?yHe.emit("rejectionHandled",e):EHe("rejectionhandled",e,t.value)}))},DHe=function(e,t,n,r){return function(i){e(t,n,i,r)}},AHe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,$He(e,t,!0))},RHe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw OHe("Promise can't be resolved itself");var i=CHe(n);i?iHe((function(){var r={done:!1};try{i.call(n,DHe(RHe,e,r,t),DHe(AHe,e,r,t))}catch(n){AHe(e,r,n,t)}})):(t.value=n,t.state=1,$He(e,t,!1))}catch(n){AHe(e,{done:!1},n,t)}}};SHe&&(gHe=function(e){HGe(this,gHe,"Promise"),GGe(e),zGe.call(this);var t=fHe(this);try{e(DHe(RHe,this,t),DHe(AHe,this,t))}catch(e){AHe(this,t,e)}},(zGe=function(e){hHe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=VGe(gHe.prototype,{then:function(e,t){var n=mHe(this),r=wHe(nHe(this,gHe));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=_He?yHe.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$He(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),NGe=function(){var e=new zGe,t=fHe(e);this.promise=e,this.resolve=DHe(RHe,e,t),this.reject=DHe(AHe,e,t)},sHe.f=wHe=function(e){return e===gHe||e===MGe?new NGe(e):xHe(e)},"function"==typeof WGe&&(jGe=WGe.prototype.then,FGe(WGe.prototype,"then",(function(e,t){var n=this;return new gHe((function(e,t){jGe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof bHe&&XGe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return oHe(gHe,bHe.apply(LGe,arguments))}}))),XGe({global:!0,wrap:!0,forced:SHe},{Promise:gHe}),BGe(gHe,"Promise",!1),ZGe("Promise"),MGe=qGe("Promise"),XGe({target:"Promise",stat:!0,forced:SHe},{reject:function(e){var t=wHe(this);return t.reject.call(void 0,e),t.promise}}),XGe({target:"Promise",stat:!0,forced:SHe},{resolve:function(e){return oHe(this,e)}}),XGe({target:"Promise",stat:!0,forced:PHe},{all:function(e){var t=this,n=wHe(t),r=n.resolve,i=n.reject,o=lHe((function(){var n=GGe(t.resolve),o=[],a=0,s=1;eHe(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=wHe(t),r=n.reject,i=lHe((function(){var i=GGe(t.resolve);eHe(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var zHe={},NHe=tXe;function MHe(e,t){return RegExp(e,t)}zHe.UNSUPPORTED_Y=NHe((function(){var e=MHe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),zHe.BROKEN_CARET=NHe((function(){var e=MHe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var jHe=bBe,UHe=zHe,XHe=RegExp.prototype.exec,LHe=String.prototype.replace,qHe=XHe,WHe=function(){var e=/a/,t=/b*/g;return XHe.call(e,"a"),XHe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),FHe=UHe.UNSUPPORTED_Y||UHe.BROKEN_CARET,VHe=void 0!==/()??/.exec("")[1];(WHe||VHe||FHe)&&(qHe=function(e){var t,n,r,i,o=this,a=FHe&&o.sticky,s=jHe.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),VHe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),WHe&&(t=o.lastIndex),r=XHe.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:WHe&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),VHe&&r&&r.length>1&&LHe.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var BHe=qHe;Nqe({target:"RegExp",proto:!0,forced:/./.exec!==BHe},{exec:BHe});var ZHe,YHe=BXe.exports,GHe=tXe,HHe=IWe,KHe=BHe,JHe=VXe,eKe=HHe("species"),tKe=!GHe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),nKe="$0"==="a".replace(/./,"$0"),rKe=HHe("replace"),iKe=!!/./[rKe]&&""===/./[rKe]("a","$0"),oKe=!GHe((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]})),aKe=function(e,t,n,r){var i=HHe(e),o=!GHe((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!GHe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[eKe]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!tKe||!nKe||iKe)||"split"===e&&!oKe){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===KHe?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:nKe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:iKe}),c=l[0],u=l[1];YHe(String.prototype,e,c),YHe(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&JHe(RegExp.prototype[i],"sham",!0)},sKe=VLe,lKe=fXe,cKe=function(e){return function(t,n){var r,i,o=String(lKe(t)),a=sKe(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},uKe={codeAt:cKe(!1),charAt:cKe(!0)}.charAt,dKe=function(e,t,n){return t+(n?uKe(e,t).length:1)},pKe=cXe,fKe=BHe,hKe=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==pKe(e))throw TypeError("RegExp#exec called on incompatible receiver");return fKe.call(e,t)},mKe=aKe,gKe=zWe,OKe=MXe,vKe=fXe,yKe=AYe,bKe=dKe,wKe=YLe,xKe=hKe,_Ke=BHe,kKe=tXe,SKe=[].push,PKe=Math.min,CKe=!kKe((function(){return!RegExp(4294967295,"y")}));mKe("split",2,(function(e,t,n){var r;return r="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 r=String(vKe(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!gKe(e))return t.call(r,e,i);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(o=_Ke.call(d,r))&&!((a=d.lastIndex)>u&&(l.push(r.slice(u,o.index)),o.length>1&&o.index<r.length&&SKe.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return u===r.length?!s&&d.test("")||l.push(""):l.push(r.slice(u)),l.length>i?l.slice(0,i):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 i=vKe(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=OKe(e),s=String(this),l=yKe(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(CKe?"y":"g"),d=new l(CKe?a:"^(?:"+a.source+")",u),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===s.length)return null===xKe(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=CKe?h:0;var g,O=xKe(d,CKe?s:s.slice(h));if(null===O||(g=PKe(wKe(d.lastIndex+(CKe?0:h)),s.length))===f)h=bKe(s,h,c);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var v=1;v<=O.length-1;v++)if(m.push(O[v]),m.length===p)return m;h=f=g}}return m.push(s.slice(f)),m}]}),!CKe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(ZHe||(ZHe={}));var $Ke=function(t){var r=t.fileName,i=t.url,o=t.onPlay;if(!i)return null;var a="safari"===xw?i+"#t=0.1":i;return n("div",LUe({className:"lt-reach-embedded-video"},{children:[e(TBe,{fileName:r,url:i},void 0),n("video",LUe({onPlay:function(){return null==o?void 0:o(i)},preload:"metadata",controls:!0,title:r,width:"auto",height:"auto"},{children:[e("source",{src:a,type:"video/mp4"},void 0),e(uD,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function EKe(e){var t,n="mac"===Vp.deviceInfo.operatingSystem,r=null===(t=JK.getType(e))||void 0===t?void 0:t.toString();return!!r&&(!!r.startsWith(ZHe.mp4)||(n?r.startsWith(ZHe.quicktime):r.startsWith(ZHe.webm)))}var TKe,QKe,IKe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},DKe=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 "},AKe=function(e,t,n){return Ie(QKe||(QKe=BUe(["\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 RKe(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 zKe(e){return WUe(this,void 0,void 0,(function(){return FUe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(RKe))];case 1:return[2,t.sent()]}}))}))}function NKe(e){return DBe(e)?"MusicInCollectionFill":EKe(e)?"Video":UKe(null==e?void 0:e.split(".").pop().toLowerCase())}function MKe(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 jKe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function UKe(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 XKe(){var e=YG(),t=ZG(),n=t.createApiUrl,r=t.fetchFromApi,i=a(vD).identifier,o=ow(),s=Jse().interaction,c=null==i?void 0:i.id;return l((function(){return{exchangeShortLivedToken:function(e){return WUe(this,void 0,void 0,(function(){var t,n;return FUe(this,(function(i){switch(i.label){case 0:return e?(t={method:"POST",headers:VG(e,c)},[4,r("/file_access_token/types/short_lived",t)]):[2,null];case 1:return[2,200!==(n=i.sent()).status?null:n.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,r){var i=this;return function(){return WUe(i,void 0,void 0,(function(){var i;return FUe(this,(function(a){switch(a.label){case 0:return[4,t()];case 1:return i=a.sent(),window.open(i,"ios"===o.deviceInfo.operatingSystem?"_self":e),s({event:Qse.downloadFile,action:Ise.click,value:Yse(i),item:{id:n,type:"content",parentId:r}}),[2]}}))}))}}}}),[c,r,n,e,module])}var LKe,qKe,WKe,FKe,VKe,BKe,ZKe,YKe,GKe,HKe,KKe,JKe,eJe,tJe,nJe,rJe,iJe,oJe,aJe=function(r){var i=r.files,o=r.onDeleteClick,a=r.getFileUrl,s=r.fileAccessToken,l=r.onPlayVideo,c=r.onPlayAudio,u=r.disabled,d=r.parentId,p=r.className;if(!i||0===i.length)return null;var f=i.filter((function(e){return a&&DBe(e.filename)})),h=i.filter((function(e){return a&&EKe(e.filename)})),m=i.filter((function(e){return!f.includes(e)&&!h.includes(e)}));return n(t,{children:[h.length>0&&e(lJe,LUe({className:p,"data-preload-video":"safari"===xw},{children:h.map((function(t){return e(cJe,{children:e($Ke,{fileName:t.filename,url:a(t.id),onPlay:function(e){return l(e,t.id)}},void 0)},t.id)}))}),void 0),f.length>0&&e(sJe,LUe({className:p},{children:f.map((function(t){return e(uJe,{children:e(IBe,{fileName:t.filename,url:a(t.id),onPlay:function(e){return c(e,t.id)}},void 0)},t.id)}))}),void 0),m.length>0&&e(sJe,LUe({className:p},{children:m.map((function(t){return e(uJe,{children:e(dJe,{attachment:t,disabled:u,getFileUrl:a,fileAccessToken:s,onDeleteClick:o,parentId:d},void 0)},t.id)}))}),void 0)]},void 0)},sJe=Te.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(LKe||(LKe=BUe(["\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"]))),lJe=Te.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(qKe||(qKe=BUe(["\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),cJe=Te.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(WKe||(WKe=BUe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),uJe=Te.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(FKe||(FKe=BUe(["\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,Sse.small,5),dJe=function(t){var r=t.attachment,i=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=t.parentId,c=FI().formatMessage,u=!s&&i,d=XKe(),p=d.exchangeShortLivedToken,f=d.createDownloadClickHandler;return n(pJe,{children:[r.isUploadInProgress&&e(yJe,{children:e(bJe,{size:re.medium},void 0)},void 0),e(hJe,LUe({takeFullWidth:!u},{children:function(){var t=this;if(r.hasError)return n(mJe,{children:[e(wJe,{iconName:"Warning"},void 0),e(vJe,LUe({title:r.filename},{children:r.filename}),void 0)]},void 0);var i=NKe(r.filename);if(o)return n(fJe,LUe({title:r.filename,onClick:f("_blank",(function(){return WUe(t,void 0,void 0,(function(){var e;return FUe(this,(function(t){switch(t.label){case 0:return[4,p(a)];case 1:return e=t.sent(),[2,o(r.id,e)]}}))}))}),r.id,l)},{children:[e(gJe,{iconName:i},void 0),e(vJe,{children:r.filename},void 0)]}),void 0);return n(mJe,{children:[e(gJe,{iconName:i},void 0),e(vJe,LUe({title:r.filename},{children:r.filename}),void 0)]},void 0)}()}),void 0),u&&e(OJe,{iconProps:{iconName:"Delete"},onClick:function(){return i(r)},disabled:r.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},pJe=Te.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(VKe||(VKe=BUe(["\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})),fJe=Te(A).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(BKe||(BKe=BUe(["\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})),hJe=Te.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(GKe||(GKe=BUe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?Ie(ZKe||(ZKe=BUe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):Ie(YKe||(YKe=BUe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),mJe=Te.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(HKe||(HKe=BUe(["\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),gJe=Te(R).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(KKe||(KKe=BUe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),OJe=Te(E).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(JKe||(JKe=BUe(["\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})),vJe=Te.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(eJe||(eJe=BUe(["\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"]))),yJe=Te.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(tJe||(tJe=BUe(["\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"]))),bJe=Te(VZe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(nJe||(nJe=BUe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),wJe=Te(R).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(rJe||(rJe=BUe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),xJe=function(r){var i,o=r.children,a=qUe(r,["children"]);return n(t,{children:[e(_Je,{},void 0),e(YUe,LUe({},a,{modalProps:LUe(LUe({},a.modalProps||{}),{className:jH({"lt-reach-dialog-mobile-full-height":Vp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},_Je=Qe(iJe||(iJe=BUe(['\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"}(oJe||(oJe={}));var kJe=function(t){var r=t.className,i=t.offsetTop,o=void 0===i?0:i,a=t.positionBottomOnMobile,s=t.domIdentifier,l=t.offsetRight,c=void 0===l?0:l,u=t.children;return n(CJe,LUe({offsetTop:o,offsetRight:c,className:r,positionBottomOnMobile:a,"data-fab":s},{children:[e(EJe,{},void 0),u]}),void 0)},SJe=function(t){var r=t.iconName,i=t.onClick,o=t.tooltipResourceKey,a=t.useSecondaryBgColor,s=t.domIdentifier,l=t.className,c=FI().formatMessage;return n(UVe,LUe({className:l,resourceKey:o},{children:[e(EJe,{},void 0),e(TJe,{"data-fab":s,iconProps:{iconName:r},onClick:i,ariaLabel:c({id:o}),useSecondaryBgColor:a},void 0)]}),void 0)},PJe=function(r){var i=r.iconName,o=r.tooltipResourceKey,a=r.titleResourceKey,s=r.showCloseButton,l=r.useSecondaryBgColor,u=r.children,p=r.domIdentifier,f=r.useMobileFullHeight,h=FI().formatMessage,m=d(!1),g=m[0],O=m[1],v=c(null),y=Vp.isAnyMobileApp;return n(t,{children:[e("div",LUe({ref:v},{children:e(SJe,{"data-fab":p,tooltipResourceKey:o,iconName:i,onClick:function(){return O(!g)},useSecondaryBgColor:l},void 0)}),void 0),g&&y&&f&&n(xJe,LUe({hidden:!g,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:H.close,title:h({id:a})},onDismiss:function(){return O(!1)}},{children:[e(VJe,{},void 0),u]}),void 0),g&&y&&!f&&n(YUe,LUe({hidden:!g},{children:[u,e(K,{children:e(A,{text:h({id:"Generic.close"}),onClick:function(){return O(!1)}},void 0)},void 0)]}),void 0),g&&!y&&e(JBe,LUe({target:v.current,directionalHint:Z.bottomRightEdge,onDismiss:function(){return O(!1)}},{children:n(WJe,{children:[u,s&&e(FJe,{text:h({id:"Generic.close"}),onClick:function(){return O(!1)}},void 0)]},void 0)}),void 0)]},void 0)},CJe=Te.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(DJe||(DJe=BUe(["\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?Ie(QJe||(QJe=BUe(["\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 "])),Sse.medium,e.offsetTop+20):Ie(IJe||(IJe=BUe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),$Je=function(e){return Ie(zJe||(zJe=BUe(["\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?Ie(AJe||(AJe=BUe(["\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})):Ie(RJe||(RJe=BUe(["\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})))},EJe=Qe(NJe||(NJe=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return p7("\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 ")})),TJe=Te(E).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(MJe||(MJe=BUe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return $Je(e.useSecondaryBgColor)}));Te(UVe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(jJe||(jJe=BUe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return $Je(e.useSecondaryBgColor)}));var QJe,IJe,DJe,AJe,RJe,zJe,NJe,MJe,jJe,UJe,XJe,LJe,qJe,WJe=Te.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(UJe||(UJe=BUe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),FJe=Te(A).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(XJe||(XJe=BUe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),VJe=Qe(LJe||(LJe=BUe(["\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"])),Pse),BJe=function(t){var n=t.tagName,r=void 0===n?"div":n,i=t.id,o=t.values,a=t.dir,s=t.className;return b(r,{className:s,dir:a},e(uD,{id:i,values:o},void 0))},ZJe=function(t){var r=t.icon,i=t.resourceKey,o=t.className,a=t.values,s="string"==typeof r?e(R,{iconName:r},void 0):r;return n(YJe,LUe({className:o},{children:[s,e(uD,{id:i,values:a,tagName:"span"},void 0)]}),void 0)},YJe=Te.div(qJe||(qJe=BUe(["\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),GJe={},HJe=new lK;var KJe=new lK;function JJe(e){var t=c(!0);u((function(){t.current||KJe.next(),t.current=!1}),e)}var e0e,t0e,n0e,r0e,i0e=function(t){var n=t.groupName,r=t.groupId,i=t.keywordName,o=t.language,s=t.underlined,l=t.onClick,c=t.tabIndex,u=sie(),d=Coe(a(Dde).selectedKeywordGroups,u,r,i,n,o);return l?e(a0e,LUe({onClick:l,tabIndex:c},{children:e(s0e,LUe({underlined:!0,dir:"auto"},{children:d}),void 0)}),void 0):e(s0e,LUe({underlined:s,dir:"auto"},{children:d}),void 0)},o0e=function(t){var n=t.groupId,r=t.keywordName,i=sie(),o=Coe(a(Dde).selectedKeywordGroups,i,n,r);return JJe([o]),e(s0e,LUe({underlined:!0},{children:o}),void 0)},a0e=Te(ZBe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(e0e||(e0e=BUe(["\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})),s0e=Te.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(n0e||(n0e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&Ie(t0e||(t0e=BUe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),l0e=function(t){var r=t.modified,i=FI();return r?n(c0e,LUe({className:"ms-fontColor-neutralTertiary"},{children:["(",e(UVe,LUe({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(r,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(r);return e+" "+t}()}},{children:e(uD,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},c0e=Te.div(r0e||(r0e=BUe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function u0e(){return u0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u0e.apply(this,arguments)}var d0e=function(e){return i.createElement("svg",u0e({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),i.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}}),i.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"}}),i.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.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}}),i.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"}}),i.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}}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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 p0e(){return p0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p0e.apply(this,arguments)}var f0e=function(e){return i.createElement("svg",p0e({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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 h0e(){return h0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h0e.apply(this,arguments)}var m0e=function(e){return i.createElement("svg",h0e({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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 g0e(){return g0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g0e.apply(this,arguments)}var O0e,v0e,y0e,b0e,w0e,x0e,_0e,k0e,S0e,P0e,C0e,$0e=function(e){return i.createElement("svg",g0e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),i.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),i.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}}),i.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"}}),i.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}}),i.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.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"}}),i.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}}),i.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"}}),i.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"}}),i.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"}}),i.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}}),i.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}}))},E0e=function(t){var n=t.images,r=t.selectedIndex,i=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=AT((function(){return WUe(this,void 0,void 0,(function(){var e;return FUe(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}):RKe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],c=s[1],u=s[2];return c||u?null:e(se,{children:e(T0e,{images:n.map((function(e,t){return function(e,t){var n=Math.min(t.width,2500),r=Math.trunc(t.height/t.width*n);return{thumbnail:e.previewUrl,large:a(e.imageId,n,r),width:n,height:r,caption:e.imageTitle}}(e,l[t])})),selectedIndex:r,hidden:i,onClose:o},void 0)},void 0)},T0e=function(r){var i=r.images,o=r.hidden,a=r.selectedIndex,s=r.onClose,l=FI().formatMessage,d=c(null),p=c();return u((function(){var e;if(!o)return clearTimeout(p.current),p.current=setTimeout((function(){return e=function(){var e=new Ape(d.current,zpe,i.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(Q0e,{enforceArrowVisibility:!Vp.isNativeMobileApp},void 0),n("div",LUe({ref:d,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"},void 0),n("div",LUe({className:"pswp__scroll-wrap"},{children:[n("div",LUe({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",LUe({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",LUe({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",LUe({className:"pswp__preloader"},{children:e("div",LUe({className:"pswp__preloader__icn"},{children:e("div",LUe({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),e("div",LUe({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",LUe({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},Q0e=Qe(v0e||(v0e=BUe(["\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&&Ie(O0e||(O0e=BUe(["\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 "])))})),I0e=function(r){var i=r.images,o=r.imageUrlResolver,s=r.disableRoundedCorners,l=r.gridBackgroundColor,c=r.className,u=FI().formatMessage,p=d(null),f=p[0],h=p[1],m=a(lde).theme.palette;if(!i||0===i.length)return null;var g=i.length>4,O=i.length>1,v=i[0];return n(A0e,LUe({"data-multi-images":O,className:c,singleImageHeight:v.height,singleImageWidth:v.width},{children:[e("div",LUe({"data-gallery-wrapper":!0},{children:O?n(t,{children:[e(z0e,LUe({backgroundColor:null!=l?l:m.neutralLight,applyRoundedCorners:!s},{children:i.slice(0,4).map((function(t,n){return e(N0e,LUe({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),y(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(M0e,{src:t.previewUrl,imageFit:ae.centerCover,alt:t.imageTitle||""},void 0)}),n)}))}),void 0),g&&n(j0e,LUe({onClick:function(){return y(4)}},{children:["+",i.length-4]}),void 0)]},void 0):e(D0e,{image:v,onClick:function(){return y(0)},disableRoundedCorners:s},void 0)}),void 0),e(E0e,{images:i,selectedIndex:f,hidden:null==f,onClose:function(){h(null)},imageUrlResolver:o},void 0)]}),void 0);function y(e){h(e)}},D0e=function(t){var n=t.image,r=t.onClick,i=t.disableRoundedCorners,o=FI().formatMessage;return e(R0e,LUe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),r()},applyRoundedCorners:!i,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:e("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},A0e=Te.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(b0e||(b0e=BUe(["\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&&Ie(y0e||(y0e=BUe(["\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)})),R0e=Te.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(x0e||(x0e=BUe(["\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&&Ie(w0e||(w0e=BUe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),z0e=Te.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(k0e||(k0e=BUe(["\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&&Ie(_0e||(_0e=BUe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),N0e=Te.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(S0e||(S0e=BUe(["\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"]))),M0e=Te(z).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(P0e||(P0e=BUe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),j0e=Te(A).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(C0e||(C0e=BUe(["\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,Sse.small,28);var U0e,X0e,L0e,q0e,W0e,F0e,V0e=function(t){var n=t.icon,r=t.isActive,i=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,c=qUe(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),u=FI().formatMessage;if(!s&&!a)return null;var d=jH("header-button",l),p=s?e(Y0e,LUe({className:d,to:s},c,{children:e(R,{iconName:n},void 0)}),void 0):e(Z0e,LUe({className:d,disabled:i,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:u({id:o}),"data-button-type":"header-btn",isActive:r},c),void 0);return e(B0e,LUe({className:"tooltip-container"},{children:e(UVe,LUe({resourceKey:o},{children:p}),void 0)}),void 0)},B0e=Te.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(U0e||(U0e=BUe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),Z0e=Te(E).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(q0e||(q0e=BUe(['\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&&Ie(X0e||(X0e=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&Ie(L0e||(L0e=BUe(["\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)})),Y0e=Te(ke).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(F0e||(F0e=BUe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return Ie(W0e||(W0e=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),G0e=fXe,H0e="[\t\n\v\f\r \u2028\u2029\ufeff]",K0e=RegExp("^"+H0e+H0e+"*"),J0e=RegExp(H0e+H0e+"*$"),e1e=function(e){return function(t){var n=String(G0e(t));return 1&e&&(n=n.replace(K0e,"")),2&e&&(n=n.replace(J0e,"")),n}},t1e={start:e1e(1),end:e1e(2),trim:e1e(3)},n1e=tXe,r1e="\t\n\v\f\r \u2028\u2029\ufeff",i1e=t1e.trim,o1e=function(e){return n1e((function(){return!!r1e[e]()||"
"!="
"[e]()||r1e[e].name!==e}))};Nqe({target:"String",proto:!0,forced:o1e("trim")},{trim:function(){return i1e(this)}});var a1e,s1e,l1e,c1e,u1e,d1e,p1e,f1e,h1e,m1e,g1e,O1e,v1e,y1e,b1e,w1e,x1e,_1e=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.children,s=t.className,l=t.style,c=qUe(t,["url","target","ariaLabel","children","className","style"]);lie();var u=Kce(),d=a(mD);d.onOpenExternalLink;var p=d.tryGetInternalLink,f=!r&&p(n,u);return f?e(tBe,LUe({className:s,to:f,"data-link":kse.Internal,"aria-label":i,style:l,dir:"auto"},c,{children:o}),void 0):e(k1e,LUe({url:n,target:r,className:s,ariaLabel:i,style:l},c,{children:o}),void 0)},k1e=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,c=qUe(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(eBe,LUe({href:n,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===r?"_blank":r,rel:"noopener noreferrer","aria-label":i,"data-link":kse.External,style:l,dir:"auto"},c,{children:s}),void 0)},S1e=Ie(a1e||(a1e=BUe(["\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"]))),P1e=Te(_1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(s1e||(s1e=BUe(["\n ","\n"],["\n ","\n"])),S1e),C1e=Te(k1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(l1e||(l1e=BUe(["\n ","\n"],["\n ","\n"])),S1e),$1e=Te(E).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(u1e||(u1e=BUe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&Ie(c1e||(c1e=BUe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),E1e=Te((function(t){var r,i=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,c=t.target,u=t.tooltipText,d=t.tooltipResourceKey,p=t.disabled,f=t.className,h=qUe(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=FI().formatMessage,g=o||(null===(r=null==a?void 0:a.trim())||void 0===r?void 0:r.length)>0&&m({id:a});return n(UVe,LUe({resourceKey:d,text:u},{children:[l&&!s&&e(P1e,LUe({url:l,ariaLabel:g,target:c},h,{children:e(R,{iconName:i,className:f},void 0)}),void 0),s&&!l&&e($1e,LUe({disabled:p,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:g},h),void 0),s&&l&&e(C1e,LUe({url:l,target:c,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(R,{iconName:i,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(p1e||(p1e=BUe(["\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&&Ie(d1e||(d1e=BUe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),T1e=function(t){var r=t.shouldAutoFocus,i=void 0===r||r,o=FI(),s=d(null),l=s[0],p=s[1],f=we(),h=a(lde).theme.textColors,m=c();return u((function(){return ape(O),i&&setTimeout((function(){var e;return m&&(null===(e=m.current)||void 0===e?void 0:e.focus())})),function(){spe(O)}}),[]),u((function(){p("")}),[f.pathname]),n(D1e,LUe({className:jH("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(Q1e,{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(I1e,{className:"search-spinner"},void 0),e(A1e,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;p(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&h.onPrimary},void 0)]}),void 0);function g(e){var n;p(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function O(){return!(!l&&!t.searchText)&&(g(""),!0)}},Q1e=Te(I).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(m1e||(m1e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?Ie(f1e||(f1e=BUe(["\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}),DKe("color: "+e.theme.textColors.default)):Ie(h1e||(h1e=BUe(["\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}),DKe("color: "+e.theme.textColors.onPrimary))})),I1e=Te(C).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(g1e||(g1e=BUe(["\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})),D1e=Te.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(y1e||(y1e=BUe(["\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"])),DKe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?Ie(O1e||(O1e=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):Ie(v1e||(v1e=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),A1e=Te(ZVe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(b1e||(b1e=BUe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),R1e=function(r){var i=r.onSearchInputFieldVisibilityChanged,o=r.isToolbarMode,a=r.onExecuteSearch,s=r.onSearchTextChange,l=r.searchText,c=r.showSearchBoxInput,p=r.className,f=r.shouldAutoFocus,h=d(!!l),m=h[0],g=h[1],O=c||m||!!l;return u((function(){null==i||i(O)}),[O]),n(t,{children:[O&&e(T1e,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),v(!1)},shouldAutoFocus:f,className:p,useLightTheme:o},void 0),!O&&(o?e(E1e,{iconName:"Search",onClick:function(){return v(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):e(V0e,{icon:"Search",onClick:function(){return v(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function v(e){g(e),null==i||i(e)}},z1e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},N1e=MXe,M1e=fXe,j1e=z1e,U1e=hKe;aKe("search",1,(function(e,t,n){return[function(t){var n=M1e(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=N1e(e),o=String(this),a=i.lastIndex;j1e(a,0)||(i.lastIndex=0);var s=U1e(i,o);return j1e(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),Te.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(w1e||(w1e=BUe(["\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"}(x1e||(x1e={})),Te(R).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(X1e||(X1e=BUe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),Te.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(W1e||(W1e=BUe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?Ie(L1e||(L1e=BUe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):Ie(q1e||(q1e=BUe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),Te.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(F1e||(F1e=BUe(["\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"})(V1e||(V1e=BUe(["\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 X1e,L1e,q1e,W1e,F1e,V1e,B1e,Z1e,Y1e,G1e=Te.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(B1e||(B1e=BUe(["\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"})(Z1e||(Z1e=BUe(["\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"}),G1e,(function(e){return e.isLoading?"0.6":"1"})),Te(VZe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(Y1e||(Y1e=BUe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var H1e,K1e,J1e=function(t){return e(e2e,LUe({},t,{"data-toggle-button":!0}),void 0)},e2e=Te(N).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(H1e||(H1e=BUe(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-inline-start: 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-inline-start: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),t2e=function(e){return Ie(K1e||(K1e=BUe(["\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 n2e(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[xoe(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var r2e=aKe,i2e=MXe,o2e=Uqe,a2e=YLe,s2e=VLe,l2e=fXe,c2e=dKe,u2e=hKe,d2e=Math.max,p2e=Math.min,f2e=Math.floor,h2e=/\$([$&'`]|\d\d?|<[^>]*>)/g,m2e=/\$([$&'`]|\d\d?)/g,g2e=function(e){return void 0===e?e:String(e)};r2e("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=l2e(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var l=n(t,e,this,r);if(l.done)return l.value}var c=i2e(e),u=String(this),d="function"==typeof r;d||(r=String(r));var p=c.global;if(p){var f=c.unicode;c.lastIndex=0}for(var h=[];;){var m=u2e(c,u);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(c.lastIndex=c2e(u,a2e(c.lastIndex),f))}for(var g="",O=0,v=0;v<h.length;v++){m=h[v];for(var y=String(m[0]),b=d2e(p2e(s2e(m.index),u.length),0),w=[],x=1;x<m.length;x++)w.push(g2e(m[x]));var _=m.groups;if(d){var k=[y].concat(w,b,u);void 0!==_&&k.push(_);var S=String(r.apply(void 0,k))}else S=s(y,u,b,w,_,r);b>=O&&(g+=u.slice(O,b)+S,O=b+y.length)}return g+u.slice(O)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,c=m2e;return void 0!==o&&(o=o2e(o),c=h2e),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=f2e(u/10);return 0===d?t:d<=l?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var O2e,v2e=Sse.small-40,y2e=Sse.medium-40;function b2e(e){if(!e)return!1;var t=e.split("://");if(t.length<2)return!1;var n=t.shift();if("https"!==n&&"http"!==n)return!1;t[0].startsWith("www.")&&(t=t[0].split("^www.").slice(-1));var r=t[0].split(/^(?:\d{1,3}\.){3}\d{1,3}/);if(r.length<2){var i=t[0].split(/^(?:[a-z\d]([a-z\d-]*[a-z\d])*\.?)+[a-z]{2,}/i);if(i.length<2)return!1;t=i.slice(-1)}else t=r.slice(-1);if(!(t=t[0].split(/^:\d+/).slice(-1))[0].length)return!0;var o=t[0].split(/^(?:\/[a-z\d%_.~:#+-]+)*\/?/i);if(o.length<2)return!1;if(!(t=o.slice(-1))[0].length)return!0;if(t[0].startsWith("?")){var a=t[0].split(/^\?[;&a-z\d%_.~+=-]*/i);if(a.length<2)return!1;t=a.slice(-1)}if(t[0].startsWith("#")){var s=t[0].split(/^#[-a-z\d_]*/);if(s.length<2)return!1;t=s.slice(-1)}return!t[0].length||"/"===t[0]}function w2e(e){return e?"https://www.google.com/maps/search/?api=1&"+ol.stringify({query:e}):null}function x2e(e,t){var n;if(!e.useExternalContent)return null;var r=e.contents[t];return(null==r?void 0:r.active)&&(null==r?void 0:r.externalUrl)?r.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"})(O2e||(O2e=BUe(["\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,Pse,20,10,10,Sse.small,20,v2e,Sse.medium,y2e);var _2e,k2e,S2e,P2e,C2e,$2e=Te.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(k2e||(k2e=BUe(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,2.3333333333333335,(function(e){return e.showPlaceholder&&Ie(_2e||(_2e=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),Sse.small,v2e,2.3333333333333335,Sse.medium,(function(e){return e.defaultWidth||250}));Te.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(P2e||(P2e=BUe(["\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&&Ie(S2e||(S2e=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),Te(R).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(C2e||(C2e=BUe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var E2e,T2e,Q2e,I2e,D2e,A2e,R2e,z2e,N2e,M2e,j2e=function(r){var i=r.enterDuration,o=r.leaveDuration,a=r.children,s=r.style,l=r.className,c=!!i,u=!!o,d="common-opacity-animation_"+i+"_"+o;return n(t,{children:[e(U2e,{name:d,enterDuration:i,leaveDuration:o},void 0),e(vfe,LUe({style:s,className:l,transitionName:d,transitionAppear:c,transitionEnter:c,transitionLeave:u,transitionLeaveTimeout:o,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:a}),void 0)]},void 0)},U2e=Qe(E2e||(E2e=BUe(["\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})),X2e=function(r){var i=r.finalHeight,o=r.enterDuration,a=r.leaveDuration,s=r.children,l=r.style,c=r.className,u=!!o,d=!!a,p="common-ease-animation_"+o+"_"+a;return n(t,{children:[e(L2e,{name:p,enterDuration:o,leaveDuration:a,finalHeight:i},void 0),e(vfe,LUe({style:l,className:c,transitionName:p,transitionAppear:u,transitionEnter:u,transitionLeave:d,transitionLeaveTimeout:a,transitionAppearTimeout:o,transitionEnterTimeout:o},{children:s}),void 0)]},void 0)},L2e=Qe(T2e||(T2e=BUe(["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.enterDuration}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.leaveDuration})),q2e=function(t){var n=t.contentLanguageCode,r=t.originalContent,i=t.content,o=t.onTranslate,a=t.onContentChange,s=t.itemType,l=t.itemId,c=t.tooltipResourceKey,p=t.showLabel,f=FI().formatMessage,h=sie(),m=lie(),g=d(null),O=g[0],v=g[1],y=d(r===i),b=y[0],w=y[1],x=vde().showError,_=Jse().interaction,k=xoe(h);if(u((function(){return v(null)}),[r]),!m.automaticTranslation)return null;var S=f({id:"Generic.translate"});return n&&n!==k&&boe.includes(k)&&!yoe.includes(k)?e(UVe,LUe({resourceKey:b?"Generic.translateTo":c,values:{language:f({id:"Generic.languages."+k})}},{children:e(W2e,LUe({"aria-label":p?null:S,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return WUe(this,void 0,void 0,(function(){var e;return FUe(this,(function(t){switch(t.label){case 0:return b?O?(a(O),w(!1),[3,4]):[3,1]:(a(r),w(!0),_({event:Qse.translateContent,value:null,action:Ise.click,item:{id:l,type:s}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(k)];case 2:return e=t.sent(),a(e),v(e),w(!1),[3,4];case 3:return t.sent(),x("Generic.error"),[3,4];case 4:return _({event:Qse.translateContent,value:k,itemType:s,action:Ise.click,itemId:l,item:{id:l,type:s}}),[2]}}))}))}},{children:p&&S}),void 0)}),void 0):null},W2e=Te(ZBe)(Q2e||(Q2e=BUe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),F2e=Te(M).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(I2e||(I2e=BUe(["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),V2e=function(r){var i=r.comment,o=r.showEdit,a=r.showDelete,s=r.onDelete,l=r.isEditMode,u=r.toggleEditMode,p=r.originalContent,f=r.currentContent,h=r.setContent,m=r.handleTranslate,g=r.showAutoTranslate,O=r.onReply,v=r.disabled,y=FI().formatMessage,b=sie(),w=d(!1),x=w[0],_=w[1],k=c(null);return b.isPublicUser&&!g?null:b.isPublicUser&&g?e(q2e,{"data-auto-translate-button":i.id,originalContent:p,onContentChange:function(e){_(!1),h(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:Nie.Comments,itemId:i.id},void 0):n(t,{children:[e("div",LUe({ref:k},{children:e(Z2e,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return _(!x)},ariaLabel:y({id:"AriaLabel.contextMenuButton"}),disabled:v},void 0)}),void 0),x&&e(G2e,LUe({"data-context-menu":!0,target:k.current,onDismiss:function(){return _(!1)}},{children:n(B2e,{children:[e(UVe,LUe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:e(Y2e,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==O||O(i,i.sender),_(!1)},text:y({id:"Comment.replyButton"})},void 0)}),void 0),g&&e(q2e,{"data-auto-translate-button":i.id,originalContent:p,onContentChange:function(e){_(!1),h(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:Nie.Comments,itemId:i.id},void 0),o&&e(UVe,LUe({resourceKey:"Comment.edit.tooltip"},{children:e(Y2e,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),_(!1)},text:y({id:"Generic.edit"}),disabled:!i.id||l},void 0)}),void 0),a&&e(UVe,LUe({resourceKey:"Comment.delete.tooltip"},{children:e(Y2e,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),_(!1)},text:y({id:"Generic.Delete"}),disabled:!i.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},B2e=Te.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(D2e||(D2e=BUe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Z2e=Te(ZVe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(A2e||(A2e=BUe(["\n && {\n width: auto;\n padding: 0 24px;\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 24px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),Y2e=Te(ZBe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(R2e||(R2e=BUe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),G2e=Te(JBe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(z2e||(z2e=BUe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);Te(A).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(N2e||(N2e=BUe(["\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(A).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(M2e||(M2e=BUe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var H2e,K2e,J2e,e5e,t5e,n5e=Te(E).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(H2e||(H2e=BUe(["\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})),r5e=function(t){var r=t.toggleAll,i=t.className,o=a(lde).theme.palette.accent;return n(i5e,LUe({className:i},{children:[e(o5e,LUe({onClick:function(){return r(!0)},"data-button-toggle":"selectAll",color:o},{children:e(uD,{id:"Generic.SelectAll"},void 0)}),void 0),e(o5e,LUe({onClick:function(){return r(!1)},"data-button-toggle":"clearAll",color:o},{children:e(uD,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},i5e=Te.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(K2e||(K2e=BUe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),o5e=Te(ZBe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(J2e||(J2e=BUe(["\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 r=t.iconName,i=t.textKey,o=qUe(t,["iconName","textKey"]);return n(Se,LUe({},o,{children:[r&&e(R,{iconName:r},void 0),e(uD,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(e5e||(e5e=BUe(["\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(ZVe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(t5e||(t5e=BUe([""],[""])));var a5e,s5e,l5e,c5e,u5e=function(t){var n=t.language,r=t.channel,i=t.role,o=t.className,s=sie(),l=a(Dde).channels,c=f5e(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,n);return e(d5e,LUe({title:c,className:o,role:i,dir:"auto"},{children:c}),void 0)},d5e=Te.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(a5e||(a5e=BUe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),p5e=function(r){var i=r.channels,o=r.language;return e(t,{children:i.map((function(t,r){return n("span",{children:[r>0&&", ",e(u5e,{channel:t,language:o},void 0)]},t.id)}))},void 0)};function f5e(e,t,n){if(null==e)return null;n||(n=xoe(t));var r=e.translations||{};return n&&r[n]||r[t.subscription.defaultLanguage]||e.name}Te(u5e).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(s5e||(s5e=BUe(["\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"})(l5e||(l5e=BUe(["\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,IKe(2,2),25),Te(ZVe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(c5e||(c5e=BUe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var h5e,m5e,g5e,O5e,v5e,y5e,b5e,w5e,x5e,_5e=function(t){var r=t.channels,i=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,c=t.className;if(!r||0===r.length)return null;var u=r.length>s;return n(P5e,LUe({className:c,"data-has-more-indicator":u},{children:[e(k5e,{channels:r.slice(0,s),language:i,channelStyleDefinition:o,onChannelClick:l},void 0),u&&e(S5e,{channels:r.slice(s),language:i,styleDefinition:o,onChannelClick:l},void 0)]}),void 0)},k5e=function(t){var n=t.channels,r=t.language,i=t.channelStyleDefinition,o=t.onChannelClick;return e(C5e,LUe({"data-channels":!0},{children:n.map((function(t){var a=e(u5e,{channel:t,language:r},void 0);return o?e($5e,LUe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color,onClick:function(){return o(t)},"data-rounded-outline":!0},{children:a}),t.id):e(E5e,LUe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color},{children:a}),t.id)}))}),void 0)},S5e=function(t){var r=t.channels,i=t.language,o=t.styleDefinition,a=t.onChannelClick,s=c(),l=d(!1),u=l[0],p=l[1];return n(Q5e,LUe({ref:s},{children:[e(I5e,LUe({onClick:function(){return p(!0)},backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color,"data-channels-indicator":!0},{children:"+"+r.length}),void 0),u&&e(D5e,LUe({target:s.current,onDismiss:function(){return p(!1)}},{children:e(A5e,{children:r.map((function(t){return e("li",{children:a?e(ZBe,LUe({onClick:function(){return a(t)}},{children:e(u5e,{channel:t,language:i},void 0)}),void 0):e(u5e,{channel:t,language:i},void 0)},t.id)}))},void 0)}),void 0)]}),void 0)},P5e=Te.div(h5e||(h5e=BUe(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),6),C5e=Te.div(m5e||(m5e=BUe(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),$5e=Te(ZBe)(g5e||(g5e=BUe(["\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 T5e(e.bubbleCount,e.backgroundColor,e.color)})),E5e=Te.span(O5e||(O5e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return T5e(e.bubbleCount,e.backgroundColor,e.color)})),T5e=function(e,t,n){return Ie(v5e||(v5e=BUe(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - "+6*(e-1)+"px) / "+e+"\n );",XVe({backgroundColor:t,color:n}))},Q5e=Te.div(y5e||(y5e=BUe([""],[""]))),I5e=Te(ZBe)(b5e||(b5e=BUe(["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"],["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"])),(function(e){return XVe({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),D5e=Te(JBe)(w5e||(w5e=BUe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),A5e=Te.ul(x5e||(x5e=BUe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),R5e=function(t){var r=t.channels,i=t.buildChannelFilterUrl,o=t.language,a=t.channelBackgroundColor,s=t.onClick,l=t.className;return(null==r?void 0:r.length)?e(J5e,LUe({className:l,"data-channels":r.map((function(e){return e.name})).join(",")},{children:r.map((function(t){var r=e(t4e,LUe({backgroundColor:a},{children:e(u5e,{channel:t,language:o},void 0)}),void 0);return n(e4e,{children:[i&&e(n4e,LUe({"data-channel":!0,to:i(z5e(t)?t.name:t),"data-rounded-outline":!0},{children:r}),void 0),s&&e(i4e,LUe({"data-rounded-outline":!0,onClick:function(){return z5e(t)?s(t.name,t):s(t)}},{children:r}),void 0),!s&&!i&&e(r4e,{children:r},void 0)]},t.id)}))}),void 0):null};function z5e(e){return null!=e.id}var N5e,M5e,j5e,U5e,X5e,L5e,q5e,W5e,F5e,V5e,B5e,Z5e,Y5e,G5e,H5e,K5e,J5e=Te.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(N5e||(N5e=BUe(["\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\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\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),14),e4e=Te.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(M5e||(M5e=BUe(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),t4e=Te.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(j5e||(j5e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?XVe({backgroundColor:e.backgroundColor}):XVe()})),n4e=Te(Se).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(U5e||(U5e=BUe(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),(function(e){return e.theme.textColors.default}),6),r4e=Te.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(X5e||(X5e=BUe(["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),6),i4e=Te(ZBe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(L5e||(L5e=BUe(["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"],["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"])),6),o4e=function(r){var i=r.searchText,o=r.onSearchTextChange,a=r.onExecuteSearch,s=r.onSearchIconClick,l=r.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(a4e,{children:e(R1e,{searchText:i,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0},void 0)},void 0),e(s4e,{children:e(E1e,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},a4e=Te.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(q5e||(q5e=BUe(["\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"])),Cse),s4e=Te.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(W5e||(W5e=BUe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Sse.medium),l4e=function(t){var r=t.leftSide,i=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,c=t.children,u=d(!1),p=u[0],f=u[1];return n(c4e,LUe({className:l,"data-content-toolbar":!0},{children:[n(p4e,{children:[r&&!i&&e(u4e,{children:r},void 0),(o||s)&&!a&&n(d4e,{children:[s&&e(o4e,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){p?h():f(!0)},onSearchInputFieldVisibilityChanged:function(e){return f(e)}},void 0),o]},void 0)]},void 0),c,s&&p&&e(f4e,{children:e(T1e,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),f(!1)}},c4e=Te.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(F5e||(F5e=BUe(["\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),u4e=Te.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(V5e||(V5e=BUe(["\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"]))),d4e=Te.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(B5e||(B5e=BUe(["\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"]))),p4e=Te.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(Z5e||(Z5e=BUe(["\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"]))),f4e=Te.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(Y5e||(Y5e=BUe(["\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"])),Sse.medium);Te(l4e).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(G5e||(G5e=BUe(["\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,Sse.medium,20,20),Te.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(H5e||(H5e=BUe(["\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"})(K5e||(K5e=BUe([""],[""])));var h4e,m4e,g4e,O4e,v4e,y4e,b4e,w4e,x4e,_4e,k4e,S4e=function(r){var i=r.onEmojiSelected,o=r.disabled,a=c(null),s=d(!1),l=s[0],u=s[1],p=FI().formatMessage;return n(t,{children:[e(P4e,LUe({ref:a},{children:e(ZVe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:o,ariaLabel:p({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&e(C4e,LUe({directionalHint:Z.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(E4e,{onSelect:function(e){u(!1),i(e.native)}},void 0)}),void 0)]},void 0)},P4e=Te.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(h4e||(h4e=BUe([""],[""]))),C4e=Te(JBe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(m4e||(m4e=BUe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),$4e=v((function(){return import("./EmojiPicker.esm.esm2.js")})),E4e=function(t){var n=t.onSelect,r=RT();return e(y,LUe({fallback:e(T4e,LUe({isSmaller:r.width<Sse.small},{children:e(VZe,{},void 0)}),void 0)},{children:e($4e,{onSelect:n},void 0)}),void 0)},T4e=Te.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(g4e||(g4e=BUe(["\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})),Q4e=function(){var t=iw();return e(I4e,{children:e("a",LUe({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)},I4e=Te.div(O4e||(O4e=BUe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),D4e=function(t){var r,i,o=t.onGifClick,a=t.className,s=gw(),l=FI().formatMessage,c=new Qge.GiphyFetch(s.giphy.apiKey),u=d(null),p=u[0],f=u[1],h=wEe(p,500)[0],m=RT(),g=AT((function(){if(!h)return c.trending({limit:21});return c.search(h,{limit:21})}),null,[h]),O=g[0],v=g[1],y=m.width<550?80:100;return n(A4e,LUe({className:a},{children:[e(ie,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0},void 0),n(R4e,LUe({columnWidth:y,"data-gif-grid":!0},{children:[v&&e(VZe,{delay:300},void 0),0===(null===(r=null==O?void 0:O.data)||void 0===r?void 0:r.length)&&e(uD,{id:"Generic.noResultsFound"},void 0),null===(i=null==O?void 0:O.data)||void 0===i?void 0:i.map((function(t){return e(z4e,{gif:t,width:y,height:y,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}),void 0)]}),void 0)},A4e=Te.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(v4e||(v4e=BUe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),R4e=Te.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(y4e||(y4e=BUe(["\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),z4e=Te(yfe.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(b4e||(b4e=BUe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),N4e=function(t){var r=t.target,i=t.onGifClick,o=t.onDismiss;return n(M4e,LUe({directionalHint:Z.topCenter,target:r,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(j4e,{onGifClick:i},void 0),e(Q4e,{},void 0)]}),void 0)},M4e=Te(JBe)(w4e||(w4e=BUe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),j4e=Te(D4e)(x4e||(x4e=BUe(["\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"])));Qe(_4e||(_4e=BUe(["\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"])),Pse),Te(D4e).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(k4e||(k4e=BUe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10);var U4e,X4e,L4e,q4e,W4e,F4e,V4e=function(r){var i=r.disabled,o=r.onGifClick,a=lie(),s=FI().formatMessage,l=c(),u=d(!1),p=u[0],f=u[1];return a.giphy?n("div",{children:[e("div",LUe({ref:l},{children:e(ZVe,{iconProps:{iconName:"Gif"},onClick:function(){return f(!0)},disabled:i,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})},void 0)}),void 0),p&&e(t,{children:e(N4e,{target:l.current,onGifClick:function(e){f(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:Aie.Giphy})},onDismiss:function(){return f(!1)}},void 0)},void 0)]},void 0):null},B4e=function(t){var n=t.gifInfo,r=t.className,i=gw(),o=d(),a=o[0],s=o[1];return u((function(){new Qge.GiphyFetch(i.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[i.giphy.apiKey,n.id]),a?e(Z4e,LUe({className:r},{children:e(Y4e,{gif:a,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},Z4e=Te.div(U4e||(U4e=BUe([""],[""]))),Y4e=Te(yfe.Gif)(X4e||(X4e=BUe(["\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"])),Pse),G4e=function(t){var n=t.attachments,r=t.onDeleteClick,i=t.className,o=FI().formatMessage,a=n.filter((function(e){return e.type===Aie.Giphy}));return 0===a.length?null:e(H4e,LUe({className:i,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(K4e,LUe({domIdentifier:"gif",deleteButton:e(n5e,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return r(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:e(B4e,{gifInfo:t},void 0)}),t.id)}))}),void 0)},H4e=Te.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(L4e||(L4e=BUe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),K4e=Te(WBe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(q4e||(q4e=BUe(["\n width: auto;\n"],["\n width: auto;\n"]))),J4e=function(t){var n=t.attachments,r=t.className,i=n.filter((function(e){return e.type===Aie.Giphy}));return 0===i.length?null:e(e3e,LUe({className:r,"data-gif-url-preview":i[0].id},{children:e(t3e,{children:e(B4e,{gifInfo:i[0]},void 0)},void 0)}),void 0)},e3e=Te.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(W4e||(W4e=BUe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),t3e=Te(WBe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(F4e||(F4e=BUe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var n3e,r3e,i3e,o3e=function(t){var r,i,o=c(null),a=d(!1),s=a[0],l=a[1];return n(a3e,LUe({className:t.className},((r={})[t.dataAttribute]=!0,r),{ref:o},{children:[e(s3e,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return WUe(this,void 0,void 0,(function(){var e,n;return FUe(this,(function(r){switch(r.label){case 0:return(e=t.disabled)?[3,3]:(n=t.onIconClick)?[4,t.onIconClick()]:[3,2];case 1:n=r.sent(),r.label=2;case 2:e=n,r.label=3;case 3:return e||l(!s),[2]}}))}))},ariaLabel:t.ariaLabel,disabled:t.disabled},void 0),s&&e(l3e,LUe({className:"icon-with-callout-content",target:o,directionalHint:null==t.directionalHint?Z.rightCenter:t.directionalHint,gapSpace:4,onDismiss:function(){var e;l(!1),null===(e=t.onCalloutDismissed)||void 0===e||e.call(t)},calloutWidth:null!==(i=t.calloutWidth)&&void 0!==i?i:0},{children:t.children}),void 0)]}),void 0)},a3e=Te.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(n3e||(n3e=BUe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),s3e=Te(ZVe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(r3e||(r3e=BUe(["\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"]))),l3e=Te(JBe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(i3e||(i3e=BUe(["\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"]))),c3e="video-view-container";function u3e(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 d3e,p3e,f3e,h3e,m3e,g3e,O3e,v3e,y3e,b3e=function(t){var r=t.onNextClick,i=t.onPrevClick,o=t.onFirstClick,s=t.hidePrevButton,l=t.hideNextButton,c=t.isLoadingNextPage,u=t.className,d=FI().formatMessage,p=a(lde).theme.palette;return l&&s?null:n(w3e,LUe({className:u},{children:[e(UVe,LUe({resourceKey:"Lib.paging.goToFirstPage"},{children:e(_3e,{ariaLabel:d({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:s,onClick:o,color:p.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),e(k3e,{iconProps:{iconName:"ChevronLeftSmall"},text:d({id:"Generic.previous.page.button.text"}),isHidden:s,onClick:i,color:p.accent,"data-horizontal-pager-back-button":!0},void 0),e(S3e,{iconProps:{iconName:"ChevronRightSmall"},text:d({id:"Generic.next.page.button.text"}),disabled:c,isHidden:l,onClick:r,color:p.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},w3e=Te.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(d3e||(d3e=BUe(["\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),x3e=Te(ZBe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(f3e||(f3e=BUe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&Ie(p3e||(p3e=BUe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),_3e=Te(x3e).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(h3e||(h3e=BUe([""],[""]))),k3e=Te(x3e).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(m3e||(m3e=BUe([""],[""]))),S3e=Te(x3e).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(g3e||(g3e=BUe(["\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"})(O3e||(O3e=BUe(["\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"})(v3e||(v3e=BUe(["\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"})(y3e||(y3e=BUe(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var P3e=cXe,C3e=Array.isArray||function(e){return"Array"==P3e(e)},$3e=C3e,E3e=YLe,T3e=oYe,Q3e=function(e,t,n,r,i,o,a,s){for(var l,c=i,u=0,d=!!a&&T3e(a,s,3);u<r;){if(u in n){if(l=d?d(n[u],u,t):n[u],o>0&&$3e(l))c=Q3e(e,t,l,E3e(l.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},I3e=Q3e,D3e=OXe,A3e=C3e,R3e=IWe("species"),z3e=I3e,N3e=Uqe,M3e=YLe,j3e=Mqe,U3e=function(e,t){var n;return A3e(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!A3e(n.prototype)?D3e(n)&&null===(n=n[R3e])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function X3e(e,t,n){var r=function(e){var t=d(0),n=t[0],r=t[1],i=d({pages:{},paginationToken:null,hasNextPage:!0}),o=i[0],a=i[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:VUe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,r){a((function(i){var o;return{pages:kEe(i.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:r}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){a((function(n){for(var r=LUe({},n.pages),i=Object.keys(r).length,o=0;o<i;){var a=Object.keys(r)[o++],s=r[a];if(s.find((function(t){return t.id===e}))){r[a]=s.map((function(n){return n.id===e?t:n}));break}}return LUe(LUe({},n),{pages:r})}))},insertToTheFront:function(t){for(var i,s,l=VUe([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[]),c=LUe(LUe({},o.pages),{0:l}),u=Object.keys(c).length,d=0;d<u;){var p=0===d,f=Object.keys(c)[d],h=c[f].length;if(p&&h>e&&h<=2*e){n<2*e&&r(n+e);break}if(h<=e)break;var m=c[f].pop(),g=null!==(s=Object.keys(c)[d+1])&&void 0!==s?s:p?2*e:+f+e,O=c[g];if(!O){o.hasNextPage||(c[g]=[m],r(n+e));break}O.unshift(m),d++}a(LUe(LUe({},o),{pages:c}))},deleteItem:function(t){for(var i=LUe({},o.pages),s=Object.keys(i).length,l=0;l<s;){var c=Object.keys(i)[l],u=i[c].find((function(e){return e.id===t}));if(u){i[c]=i[c].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<s;){if(!i[c=Object.keys(i)[l++]].length&&l===s){delete i[c],d=!0;break}var p=Object.keys(i)[l],f=p?i[p]:null;if(!f)break;var h=f.shift();i[c].push(h)}a(LUe(LUe({},o),{pages:i}));var m=(d||i[0].length===e)&&n>e;return m&&r(n-e),m}}}(e),i=r.state,o=r.setInitialPages,a=r.updatePageItems,s=r.lastFetchedPageIndex,l=r.updateLastFetchedPageIndex,c=r.updateItem,p=r.insertToTheFront,f=r.deleteItem,h=d(0),m=h[0],g=h[1],O=d(!0),v=O[0],y=O[1],b=d(!1),w=b[0],x=b[1],_=d(null),k=_[0],S=_[1];u((function(){C()}),VUe([e],n||[]));var P=Object.keys(i.pages).flatMap((function(e){return i.pages[e]})).slice(m-e,m);return{items:P,isInitialLoading:v,isLoadingNextPage:w,error:k,getFirstPage:function(){return g(e)},getPrevPage:function(){return g(m-e)},getNextPage:function(){return WUe(this,void 0,void 0,(function(){return FUe(this,(function(t){switch(t.label){case 0:return g(m+e),i.hasNextPage&&m===s-e?[4,$(i.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:m===e,isLastPage:m===s&&!i.hasNextPage,isEmpty:!v&&0===(null==P?void 0:P.length),insertToTheFront:p,updateItem:c,onBeforeDeleteItem:function(t){var n=f(t);!i.hasNextPage&&n&&m>=s&&m>0&&g(m-e);x(!0)},onAfterDeleteItem:function(){return WUe(this,void 0,void 0,(function(){return FUe(this,(function(t){switch(t.label){case 0:return i.hasNextPage?i.paginationToken!==2*e?[3,2]:[4,C()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,$(+i.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return x(!1),[2]}}))}))}};function C(){return WUe(this,void 0,void 0,(function(){var n,r;return FUe(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=i.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 r=i.sent(),vw.error(r),S(r),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function $(n){return WUe(this,void 0,void 0,(function(){var r,i;return FUe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),x(!0),[4,t(e,n)];case 1:return r=o.sent(),a(n,r.items,r.paginationToken,r.hasNextPage),[3,4];case 2:return i=o.sent(),vw.error(i),S(k),[3,4];case 3:return x(!1),[7];case 4:return[2]}}))}))}}Nqe({target:"Array",proto:!0},{flatMap:function(e){var t,n=N3e(this),r=M3e(n.length);return j3e(e),(t=U3e(n,0)).length=z3e(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),hFe("flatMap");var L3e,q3e,W3e,F3e,V3e,B3e,Z3e,Y3e=function(r){var i=r.onNextClick,o=r.onPrevClick,s=r.hidePagination,l=r.disablePrevButton,c=r.disableNextButton,u=r.children,d=r.className,p=a(lde).theme.palette,f=FI().formatMessage;return s?e(t,{children:u},void 0):n(G3e,LUe({className:d},{children:[e(K3e,{disabled:l,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:p.accent,ariaLabel:f({id:"Lib.paging.previous"})},void 0),e(e6e,{children:u},void 0),e(J3e,{disabled:c,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:p.accent,ariaLabel:f({id:"Lib.paging.next"})},void 0)]}),void 0)},G3e=Te.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(L3e||(L3e=BUe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),H3e=Te(ZVe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(q3e||(q3e=BUe(["\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 &::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 &::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"),K3e=Te(H3e).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(W3e||(W3e=BUe(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),J3e=Te(H3e).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(F3e||(F3e=BUe(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),e6e=Te.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(V3e||(V3e=BUe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),t6e=s(null);Te.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(B3e||(B3e=BUe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),Te.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(Z3e||(Z3e=BUe(["\n display: contents;\n"],["\n display: contents;\n"])));var n6e,r6e,i6e,o6e,a6e,s6e,l6e,c6e,u6e,d6e=Ie(n6e||(n6e=BUe(["\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"]))),p6e=Ie(r6e||(r6e=BUe(["\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"])),d6e,Sse.medium,20),f6e=Ie(i6e||(i6e=BUe(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n flex: 0 0 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 flex: 0 0 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})),h6e=Ie(o6e||(o6e=BUe(["\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"])),Cse),m6e=function(r){var i=r.getInitialSelectedKey,o=r.bookmarkOption,s=r.manageChannelsOption,l=r.allChannelsOption,c=r.channelsOptions,u=sie(),p=a(Dde).channels,f=FI().formatMessage,h=function(){var e=[];l&&e.push({key:"AllChannels",text:f({id:"Channels.All"}),data:{pathname:l.to,iconName:"Org",exact:!0,onSelected:l.onSelected,isChannel:!1}});if(c){var t=(c.availableChannels?(p||[]).filter((function(e){return c.availableChannels.some((function(t){return e.id===t||e.name===t}))})):u.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:e.name,data:{pathname:null===(t=c.to)||void 0===t?void 0:t.call(c,e),iconName:"Org",exact:!1,channel:e,isChannel:!0,onSelected:c.onSelected?function(){return c.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,isChannel:!1}});s&&e.push({key:"ManageChannels",text:f({id:"PageMenu.manageUserChannels"}),data:{pathname:s.to,iconName:"CollapseMenu",exact:!0,onSelected:s.onSelected,isChannel:!1}});return e}(),m=d((function(){return(null==i?void 0:i(h))||"AllChannels"})),g=m[0],O=m[1];return n(t,{children:[e(g6e,{},void 0),e(O6e,{options:h,onRenderOption:function(t){if(t.data.onSelected)return n(y6e,{children:[e(R,{iconName:t.data.iconName},void 0),t.data.isChannel?e(u5e,{channel:t.data.channel,language:u.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]},t.key);return n(v6e,LUe({to:t.data.pathname,exact:t.data.exact,isActive:t.key===g?function(){return!0}:void 0},{children:[e(R,{iconName:t.data.iconName},void 0),t.data.isChannel?e(u5e,{channel:t.data.channel,language:u.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]}),t.key)},selectedKey:g,onRenderTitle:function(t){var n=t[0];if(n.data.isChannel)return e(u5e,{channel:n.data.channel,language:u.preferredUiLanguage},void 0);return e("span",{children:n.text},void 0)},onChange:function(e,t){var n,r;O(t.key.toString()),null===(r=null===(n=t.data)||void 0===n?void 0:n.onSelected)||void 0===r||r.call(n)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:f({id:"AriaLabel.toolbarChannelSelector"})},void 0)]},void 0)},g6e=Qe(a6e||(a6e=BUe(["\n ","\n"],["\n ","\n"])),h6e),O6e=Te(xZe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(s6e||(s6e=BUe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),p6e),v6e=Te(Se).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(l6e||(l6e=BUe(["\n ","\n"],["\n ","\n"])),f6e),y6e=Te.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(c6e||(c6e=BUe(["\n ",";\n"],["\n ",";\n"])),f6e),b6e=function(t){var n=t.handler,r=t.disabled;return lie().unreadTracking?e(E1e,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:r,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},w6e=function(t){var n=t.onClick,r=lie(),i=d(!1),o=i[0],a=i[1];return r.unreadTracking?e(E1e,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:o?"Hide3":"View",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o},void 0):null},x6e=function(t){var n=t.onClick,r=t.to,i=t.disabled;return e(E1e,{tooltipResourceKey:"Generic.showManageView",disabled:i,iconName:"edit",to:null==r?void 0:r.url,target:null==r?void 0:r.target,onClick:n,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"},void 0)},_6e=function(t){var n=t.onClick,r=t.to;return e(E1e,{iconName:"Cancel",onClick:n,to:null==r?void 0:r.url,target:null==r?void 0:r.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"}(u6e||(u6e={}));var k6e,S6e,P6e,C6e,$6e=function(r){var i=r.value,o=r.onChange,a=r.viewOptions,s=FI().formatMessage,l=function(){var e=[];(null==a?void 0:a.hideUpcomingEventsView)||e.push({key:u6e.UpcomingEvents,text:s({id:"Events.upcoming"}),data:{iconName:"Event"}});(null==a?void 0:a.hideMyBookedEventsView)||e.push({key:u6e.MyBookedEvents,text:s({id:"Events.myEvents"}),data:{iconName:"PrimaryCalendar"}});(null==a?void 0:a.hidePastEventsView)||e.push({key:u6e.PastEvents,text:s({id:"Events.pastEvents"}),data:{iconName:"RemoveEvent"}});return e}();return n(t,{children:[e(E6e,{},void 0),e(T6e,{options:l,onRenderOption:function(t){return n(Q6e,{children:[e(R,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key)},selectedKey:l.length>0?i||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)},E6e=Qe(k6e||(k6e=BUe(["\n ","\n"],["\n ","\n"])),h6e),T6e=Te(xZe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(S6e||(S6e=BUe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),p6e),Q6e=Te.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(P6e||(P6e=BUe(["\n ",";\n"],["\n ",";\n"])),f6e);function I6e(){var e=ZG(),t=e.createApiUrl,n=e.fetchFromApi,r=a(UT).onRequestToken;return l((function(){return{uploadImage:function(e,t,i,o,a){return WUe(this,void 0,void 0,(function(){var s,l,c;return FUe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+JK.getExtension(a.type)),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:VG(l,t)},[2,n(e+"/attachments/"+o+"/images/"+i,c)]}}))}))},uploadFile:function(e,t,i,o,a){return WUe(this,void 0,void 0,(function(){var s,l,c;return FUe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:VG(l,t)},[2,n(e+"/attachments/"+o+"/files/"+i,c)]}}))}))},getFileUrl:function(e,n,r,i,o){if(null!=o||(o=r.fileAccessToken),!o)return null;return t(e+"/attachments/"+r.attachmentContainerId+"/files/"+i,{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)},getChatMessageImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)}};function e(e,n,r,i,o,a,s){return t(null==a?e+"/attachments/"+i+"/images/"+o:"default"===a?e+"/attachments/"+i+"/images/"+o+"/default":e+"/attachments/"+i+"/images/"+o+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:r})}}),[r,n,t])}function D6e(){var e=YG();return l((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return WUe(this,void 0,void 0,(function(){var t;return FUe(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return t=r.sent(),[2,_oe.apply(void 0,VUe([e],t))]}}))}))},resolveActiveLanguages:function(e){return WUe(this,void 0,void 0,(function(){return FUe(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 WUe(this,void 0,void 0,(function(){var t;return FUe(this,(function(r){switch(r.label){case 0:return t=e.subscription.languages,[4,n()];case 1:return[2,r.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 A6e(){var e=ZG(),t=e.createApiUrl,n=e.fetchFromApi;return l((function(){return{getVideoThumbnailUrl:function(e,n,r,i,o,a,s,l){void 0===s&&(s=0);return t("/videos/"+encodeURIComponent(i)+"/thumbnail/"+("number"==typeof s?s:0)+"/"+(l||""),{access_token:e,subscriptionId:n,videoSource:r,itemId:o,hasCustomThumbnail:a})},getBannerVideoThumbnailUrl:function(e,n,r,i,o,a){return t("/"+i+"/"+n+"/videos/banner/thumbnail/"+("number"==typeof o?o:0)+"/"+(a||""),{access_token:e,subscriptionId:r})},uploadCustomVideoThumbnail:function(e,t,r,i,o){return WUe(this,void 0,void 0,(function(){var a,s;return FUe(this,(function(l){switch(l.label){case 0:return(a=new FormData).append("file",o),s={method:"POST",body:a,headers:VG(e,r)},[4,n("/editor/"+t+"/videos/"+encodeURIComponent(i)+"/thumbnail",s)];case 1:return[2,l.sent()]}}))}))}}}),[t,n])}Qe(C6e||(C6e=BUe(["\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 R6e,z6e,N6e,M6e,j6e,U6e,X6e,L6e,q6e,W6e,F6e,V6e,B6e,Z6e,Y6e=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}(),G6e=function(t){var n=lie(),r=d(null),i=r[0],o=r[1],a=Jie().getUserAvatarUrl;if(Xde(Y6e.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),u((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=zC(t.text||t.displayName||t.upn);return e(H6e,LUe({},t,{"data-avatar":!0,text:t.text,imageUrl:i,imageShouldFadeIn:!1,imageInitials:s,initialsColor:NC(s),secondaryText:!t.forceShowSecondaryText&&Die(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)}))}},H6e=Te(j).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(R6e||(R6e=BUe(["\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"]))),K6e=function(t){var r=t.className,i=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(e7e,LUe({className:r},{children:[i&&e(UVe,LUe({resourceKey:o,text:a},{children:e(J6e,{iconName:i},"icon")}),void 0),e(t7e,LUe({dir:"auto"},{children:s}),void 0)]}),void 0):null},J6e=Te(R).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(z6e||(z6e=BUe(["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"]))),e7e=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(N6e||(N6e=BUe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),t7e=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(M6e||(M6e=BUe([""],[""]))),n7e=function(t){var n=t.email;return Die(n)?null:e(K6e,LUe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(u7e,LUe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},r7e=function(t){var n=t.value,r=FI().formatMessage;return null==n?null:e(K6e,LUe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(u7e,LUe({href:"tel:"+n},{children:r({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},i7e=function(n){var r=n.value,i=FI().formatMessage;return null==r?null:e(t,{children:(r="string"==typeof r?[r]:r).map((function(t,n){return e(K6e,LUe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(u7e,LUe({href:"tel:"+t},{children:i({id:"Generic.callOffice"},{number:t})}),void 0)}),t+n)}))},void 0)},o7e=function(n){var r=n.value,i=n.tooltipResourceKey,o=lie();return null==r?null:e(K6e,LUe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:o.userLocationLookup?e(u7e,LUe({target:"_blank",rel:"noopener noreferrer",href:w2e(r)},{children:r}),void 0):e(t,{children:r},void 0)}),void 0)},a7e=function(t){var n=t.value;return null==n?null:e(K6e,LUe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},s7e=function(t){var n=t.value;return null==n?null:e(K6e,LUe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},l7e=function(t){var n=t.value,r=Gce().buildPath,i=lie();if(!(null==n?void 0:n.userId)||!i.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(K6e,LUe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(d7e,LUe({to:r("chats/new")+"?"+ol.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:e(uD,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},c7e=Ie(j6e||(j6e=BUe(["\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})),u7e=Te.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(U6e||(U6e=BUe(["\n ","\n"],["\n ","\n"])),c7e),d7e=Te(ke).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(X6e||(X6e=BUe(["\n ","\n"],["\n ","\n"])),c7e),p7e={mobilePhone:r7e,department:a7e,address:o7e},f7e=function(t){var n=t.className,r=t.value,i=t.definition,o=function(){var e=sie(),t=FI().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(r){var i=_C(e.preferredUiLanguage),o=r.translations||{},a=Object.keys(n);return i&&o[i]||o[e.subscription.defaultLanguage]||r.label||a.some((function(e){return e===r.name}))&&t({id:"Generic."+r.name})||r.name},getPropertyIcon:function(e){var t,r;return null!==(r=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==r?r:"UserOptional"}}}(),a=o.getPropertyLabel,s=o.getPropertyIcon;if(null==r)return null;var l=a(i),c=s(i),u=p7e[i.name];return u?b(u,{value:r}):e(K6e,LUe({iconName:c,tooltipText:l,className:n},{children:r}),void 0)},h7e=function(r){var i,o,a,s,l,c=r.user,u=r.ignoredProperties,d=void 0===u?[]:u;return n(t,{children:[!d.includes("department")&&e(a7e,{value:null===(i=c.properties)||void 0===i?void 0:i.department},void 0),!d.includes("jobTitle")&&e(s7e,{value:null===(o=c.properties)||void 0===o?void 0:o.jobTitle},void 0),!d.includes("mobilePhone")&&e(r7e,{value:null===(a=c.properties)||void 0===a?void 0:a.mobilePhone},void 0),!d.includes("businessPhones")&&e(i7e,{value:null===(s=c.properties)||void 0===s?void 0:s.businessPhones},void 0),!d.includes("chatMessage")&&e(l7e,{value:c},void 0),!d.includes("officeLocation")&&e(o7e,{value:null===(l=c.properties)||void 0===l?void 0:l.officeLocation},void 0)]},void 0)},m7e=function(r){var i=r.user,o=r.ignoredProperties,a=void 0===o?[]:o,s=sie();return n(t,{children:[!a.includes("chatMessage")&&e(l7e,{value:i},void 0),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(f7e,{definition:t,value:null===(n=i.properties)||void 0===n?void 0:n[t.name]},t.name)}))]},void 0)},g7e=["displayName","department","jobTitle"],O7e=function(t){var r,i=t.upn,o=t.showAvatar,a=t.id,s=Jie(),l=s.getUserInfo,c=s.getUserInfoById,u=AT((function(){return i?l(i):c(a)}),null,[i,a]),d=u[0],p=u[1];if(u[2])return e(v7e,{children:e(uD,i?{id:"Profile.CannotLoadInfo",values:{upn:i}}:{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return e(w7e,{},void 0);var f=o?g7e:[];return n(y7e,LUe({"data-user-details":!0},{children:[o&&e(G6e,{upn:d.userPrincipalName,size:Y.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),n(b7e,{children:[e(n7e,{email:null!==(r=d.mail)&&void 0!==r?r:d.userPrincipalName},void 0),d.isDirectoryUser?e(h7e,{user:d,ignoredProperties:f},void 0):e(m7e,{user:d,ignoredProperties:f},void 0)]},void 0)]}),void 0)},v7e=Te.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(L6e||(L6e=BUe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),y7e=Te.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(q6e||(q6e=BUe(["\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),b7e=Te.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(W6e||(W6e=BUe(["\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),w7e=Te(VZe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(F6e||(F6e=BUe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),x7e=function(r){var i=r.upn,o=r.className,a=r.children,s=r.readOnly,l=r.domIdentifier,u=c(null),p=sie(),f=d(!1),h=f[0],m=f[1];return s?e(k7e,LUe({className:o},{children:a}),void 0):n(t,{children:[e(k7e,LUe({ref:u,className:o},{children:e(S7e,LUe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),m(!h)},ariaLabel:i,dir:"auto"},{children:a}),"children")}),void 0),h&&!p.isPublicUser&&e(JBe,LUe({className:"persona-card-callout",directionalHint:Z.bottomCenter,isBeakVisible:!0,onDismiss:function(){return m(!1)},target:u.current},{children:e(_7e,{children:e(O7e,{upn:i,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},_7e=Te.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(V6e||(V6e=BUe(["\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,Sse.medium),k7e=Te.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(B6e||(B6e=BUe(["\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"]))),S7e=Te(Q).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(Z6e||(Z6e=BUe(["\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 P7e(){return P7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P7e.apply(this,arguments)}var C7e=function(e){return i.createElement("svg",P7e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),i.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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 $7e(){return $7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$7e.apply(this,arguments)}var E7e=function(e){return i.createElement("svg",$7e({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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 T7e(){return T7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T7e.apply(this,arguments)}var Q7e,I7e,D7e,A7e,R7e,z7e,N7e=function(e){return i.createElement("svg",T7e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),i.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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"}}))},M7e=function(t){var n=t.info,r="number"==typeof n;return e(j7e,LUe({isNumber:r,"data-badge-info":n},{children:e(U7e,LUe({isNumber:r},{children:"number"==typeof n&&n}),void 0)}),void 0)},j7e=Te.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(D7e||(D7e=BUe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?Ie(Q7e||(Q7e=BUe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):Ie(I7e||(I7e=BUe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),U7e=Te.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(R7e||(R7e=BUe(["\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 Ie(A7e||(A7e=BUe(["\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 X7e(){return X7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X7e.apply(this,arguments)}var L7e,q7e=function(e){return i.createElement("svg",X7e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),z7e||(z7e=i.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 W7e(t){return e(H7e,LUe({"data-page-alert":!0},{children:n(K7e,{children:[t.errorType&&e(J7e,LUe({onClick:t.onClick},{children:t.errorType===L7e.LoginError?e(E7e,{},void 0):t.errorType===L7e.GenericError?e(C7e,{},void 0):t.errorType===L7e.Error403?e(N7e,{},void 0):e($0e,{},void 0)}),void 0),e(e8e,{children:t.alertText},void 0),e(t8e,{children:t.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(L7e||(L7e={}));var F7e,V7e,B7e,Z7e,Y7e,G7e,H7e=Te.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(F7e||(F7e=BUe(["\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})),K7e=Te.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(V7e||(V7e=BUe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),J7e=Te.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(B7e||(B7e=BUe(["\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}),Cse),e8e=Te.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(Z7e||(Z7e=BUe(["\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})),t8e=Te.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(Y7e||(Y7e=BUe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),n8e=Te.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(G7e||(G7e=BUe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),r8e={exports:{}},i8e=Object.getOwnPropertySymbols,o8e=Object.prototype.hasOwnProperty,a8e=Object.prototype.propertyIsEnumerable;function s8e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var l8e=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=s8e(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))o8e.call(n,a)&&(i[a]=n[a]);if(i8e){r=i8e(n);for(var s=0;s<r.length;s++)a8e.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},c8e=Function.call.bind(Object.prototype.hasOwnProperty),u8e=function(){};if("production"!==process.env.NODE_ENV){var d8e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",p8e={},f8e=c8e;u8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function h8e(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(f8e(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"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,r,n,null,d8e)}catch(e){a=e}if(!a||a instanceof Error||u8e((r||"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 p8e)){p8e[a.message]=!0;var l=i?i():"";u8e("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}h8e.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(p8e={})};var m8e=Ee,g8e=l8e,O8e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",v8e=c8e,y8e=h8e,b8e=function(){};function w8e(){return null}"production"!==process.env.NODE_ENV&&(b8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function x8e(){}function _8e(){}_8e.resetWarningCache=x8e;if("production"!==process.env.NODE_ENV){var k8e=Ee;r8e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={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(w8e),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,o+"["+l+"]",O8e);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return m8e.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var l=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+l+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return u(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(v8e(s,c)){var u=e(s,c,r,i,o+"."+c,O8e);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&b8e(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."),w8e;function t(t,n,r,i,s){for(var l=t[n],c=0;c<e.length;c++)if(o(l,e[c]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(l)+"` supplied to `"+r+"`, expected one of "+u+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&b8e("Invalid argument supplied to oneOfType, expected an instance of array."),w8e;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return b8e("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),w8e}return s((function(t,n,r,i,o){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,r,i,o,O8e);if(null==c)return null;c.data&&v8e(c.data,"expectedType")&&s.push(c.data.expectedType)}return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var f=e[u];if("function"!=typeof f)return c(r,i,o,u,p(f));var h=f(s,u,r,i,o+"."+u,O8e);if(h)return h}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");var u=g8e({},t[n],e);for(var f in u){var h=e[f];if(v8e(e,f)&&"function"!=typeof h)return c(r,i,o,f,p(h));if(!h)return new a("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(s,f,r,i,o+"."+f,O8e);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={},i=0;function o(o,s,l,c,u,d,p){if(c=c||r,d=d||l,p!==O8e){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 h=c+":"+l;!n[h]&&i<3&&(b8e("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. 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[h]=!0,i++)}}return null==s[l]?o?null===s[l]?new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,u,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,r,i,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+i+" `"+o+"` of type `"+p(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function c(e,t,n,r,i){return new a((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function u(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(u);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!u(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,i.checkPropTypes=y8e,i.resetWarningCache=y8e.resetWarningCache,i.PropTypes=i,i}(k8e.isElement,!0)}else r8e.exports=function(){function e(e,t,n,r,i,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:_8e,resetWarningCache:x8e};return n.PropTypes=n,n}();var S8e=r8e.exports,P8e=Object.freeze({__proto__:null,useCurrentUser:sie,useAccountApi:Jie,useAuthenticationContext:XT,useEnvironmentConfig:ow,useNotificationContext:vde,usePromise:AT,LinkContext:mD,TextLink:_1e,logger:vw,createId:bw,ResourceContext:_D,usePluginSettings:function(){var e=a(eue).settings;return null!=e?e:{}},usePluginStorage:iue,usePluginDeviceStore:iue,usePluginSubscriptionStore:function(){return a(eue).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(eue).subscriptionStore,i=AT((function(){return r.get(e).catch(aue)}),void 0,o7(o7([],t||[]),[e])),o=i[0],s=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return r7(n,void 0,void 0,(function(){var n;return i7(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),aue(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return r7(n,void 0,void 0,(function(){var t;return i7(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),aue(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(eue).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(eue).userStore,i=AT((function(){return r.get(e).catch(aue)}),void 0,o7(o7([],t||[]),[e])),o=i[0],s=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return r7(n,void 0,void 0,(function(){var n;return i7(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),aue(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return r7(n,void 0,void 0,(function(){var t;return i7(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),aue(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:iw().apiEndpoint}},AccountType:qre,PeoplePicker:aBe,GutterToggle:YVe,EditorSettingsDialog:BVe,Spinner:C,SelectionMode:ee,EditorHighlight:LVe,useTheme:function(){return a(lde).theme},useSubscriptionHandlePathBuilder:Gce,useSubscriptionWebAppUrl:Hce});var C8e,$8e,E8e=[{name:"@reach/core",packageDefinition:LUe({default:{}},P8e)}],T8e=[{name:"react",packageDefinition:LUe(LUe({},o),{default:o})},{name:"react-dom",packageDefinition:LUe(LUe({},Ue),{default:Ue})},{name:"react-is",packageDefinition:LUe(LUe({},Ee),{default:Ee})},{name:"prop-types",packageDefinition:LUe({default:S8e},S8e)},{name:"react-router-dom",packageDefinition:LUe({default:be},be)},{name:"styled-components",packageDefinition:{default:Te,createGlobalStyle:Qe,css:Ie,useTheme:Ae,isStyledComponent:Re,keyframes:ze,withTheme:Ne,ThemeProvider:De,ThemeContext:Me,ThemeConsumer:je}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:U,Label:X,PrimaryButton:D,Icon:R,Link:L,TextField:I,ActionButton:Q,IconButton:E,DefaultButton:A,Spinner:C,Dropdown:q,ProgressIndicator:W,Shimmer:F,ShimmerElementsGroup:V,ShimmerElementType:B,DirectionalHint:Z,PersonaSize:Y,TooltipHost:G,DialogType:H,Dialog:YUe,DialogFooter:K,ChoiceGroup:M}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:uD,useIntl:FI,FormattedDate:dD,FormattedTime:pD,IntlProvider:eD}},{name:"@apollo/client",packageDefinition:{default:{},gql:eW,useQuery:function(e,t){return yW(e,t,!1)},ApolloClient:Vq,ApolloProvider:uW,from:xX,ApolloLink:wX,fromPromise:mX,split:_X,HttpLink:QX,InMemoryCache:Pq,useLazyQuery:function(e,t){return yW(e,t,!0)},useMutation:bW,ApolloError:$q,useApolloClient:dW,useSubscription:function(e,t){var n=f((function(e){return e+1}),0),r=n[1],i=a(lW()),o=t?Wa(Wa({},t),{subscription:e}):{subscription:e},s=d({loading:!o.skip,error:void 0,data:void 0}),l=s[0],p=s[1],h=c(),m=(h.current||(h.current=new mW({options:o,context:i,setResult:p})),h.current);return m.setOptions(o,!0),m.context=i,__DEV__&&vW(r),u((function(){return m.afterExecute()})),u((function(){return function(){m.cleanup(),h.current=void 0}}),[]),m.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:HN}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:xW}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:uU}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:wW}}],Q8e=function(t){var n=t.color,r=t.onColorChange,i=t.className,o=d(n),a=o[0],s=o[1];return u((function(){s(n)}),[n]),e(I8e,LUe({className:i},{children:e(le,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},I8e=Te.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(C8e||(C8e=BUe(["\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);!function(e){e.Row="row",e.Column="column"}($8e||($8e={}));var D8e,A8e,R8e,z8e=function(t){var r=t.defaultSVG,i=t.hoveredSVG,o=t.label,a=t.labelDirection,s=void 0===a?$8e.Row:a,l=t.labelGap,c=void 0===l?4:l,u=t.reverseIcon,d=t.size,p=t.className;return n(N8e,LUe({flexDirection:s,"data-icon-host":!0,className:p,gap:c},{children:[u&&o,e(M8e,LUe({size:d,"data-icon":!0,"data-icon-state":"default"},{children:r}),void 0),i&&e(M8e,LUe({size:d,"data-icon":!0,"data-icon-state":"hovered"},{children:i}),void 0),!u&&o]}),void 0)},N8e=Te.span.withConfig({displayName:"Icon__Host",componentId:"sc-179by8k-0"})(D8e||(D8e=BUe(["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","\n\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","\n\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"var(--icon-label-direction,"+e.flexDirection+")"}),(function(e){return e.gap+"px};"})),M8e=Te.span.withConfig({displayName:"Icon__Inner",componentId:"sc-179by8k-1"})(A8e||(A8e=BUe(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}));function j8e(){return j8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j8e.apply(this,arguments)}var U8e,X8e=function(e){return i.createElement("svg",j8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),R8e||(R8e=i.createElement("path",{d:"M7 2.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h7.5c3.29 0 6-2.71 6-6 0-1.922-.985-3.568-2.41-4.669C18.615 9.99 19 9.055 19 8c0-3.014-2.486-5.5-5.5-5.5H7Zm2 4h4.5c.852 0 1.5.648 1.5 1.5s-.648 1.5-1.5 1.5H9v-3Zm0 7h5.5c1.128 0 2 .872 2 2 0 1.128-.872 2-2 2H9v-4Z",fill:"#0F0E0E"})))};function L8e(){return L8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L8e.apply(this,arguments)}var q8e,W8e=function(e){return i.createElement("svg",L8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),U8e||(U8e=i.createElement("path",{d:"M3.25 6a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.75.75 0 1 0 0 1.5h14.5a.75.75 0 1 0 0-1.5H6.75ZM3.25 11a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75ZM3.25 16a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75Z",fill:"#0F0E0E"})))};function F8e(){return F8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F8e.apply(this,arguments)}var V8e,B8e=function(e){return i.createElement("svg",F8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),q8e||(q8e=i.createElement("path",{d:"M15.243 7.99a.75.75 0 0 0-.523.23L12 10.94 9.28 8.22a.75.75 0 1 0-1.06 1.06L10.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L12 13.06l2.72 2.72a.751.751 0 1 0 1.06-1.06L13.06 12l2.72-2.72a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function Z8e(){return Z8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z8e.apply(this,arguments)}var Y8e,G8e=function(e){return i.createElement("svg",Z8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),V8e||(V8e=i.createElement("path",{d:"M17.46 2.715a3.82 3.82 0 0 0-2.709 1.116l-2.548 2.548c-1.237 1.237-1.384 3.107-.563 4.566l-.695.695c-1.46-.821-3.33-.674-4.567.563L3.83 14.751a3.847 3.847 0 0 0 0 5.419 3.848 3.848 0 0 0 5.42 0l2.547-2.548c1.237-1.237 1.384-3.108.563-4.567l.695-.695c1.46.82 3.329.674 4.566-.563l2.548-2.548a3.846 3.846 0 0 0 0-5.418 3.82 3.82 0 0 0-2.709-1.116Zm0 1.988c.467 0 .933.18 1.295.542a1.817 1.817 0 0 1 0 2.59l-2.548 2.548c-.455.455-1.07.59-1.648.473l1.334-1.334a1.001 1.001 0 0 0-1.415-1.415l-1.334 1.334c-.117-.578.019-1.193.473-1.648l2.548-2.548a1.825 1.825 0 0 1 1.295-.542Zm-8.372 8.372c.12 0 .235.046.353.07l-1.333 1.332a1.002 1.002 0 0 0 1.415 1.416l1.333-1.333c.116.577-.019 1.193-.473 1.647l-2.549 2.549a1.816 1.816 0 0 1-2.59-.001 1.816 1.816 0 0 1 0-2.589l2.55-2.549a1.825 1.825 0 0 1 1.294-.542Z",fill:"#0F0E0E"})))};function H8e(){return H8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H8e.apply(this,arguments)}var K8e,J8e=function(e){return i.createElement("svg",H8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Y8e||(Y8e=i.createElement("path",{d:"M17.46 2.964a3.57 3.57 0 0 0-2.532 1.044L12.38 6.556c-1.205 1.204-1.303 3.043-.423 4.426l-.976.976c-1.383-.88-3.222-.783-4.426.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.383.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064 3.57 3.57 0 0 0-2.532-1.044Zm0 1.49c.531 0 1.062.205 1.472.614a2.07 2.07 0 0 1 0 2.944l-2.548 2.548c-.63.63-1.545.764-2.308.424l1.639-1.638a.748.748 0 0 0-.236-1.236.75.75 0 0 0-.825.175l-1.638 1.639a2.059 2.059 0 0 1 .424-2.308l2.548-2.548c.41-.409.94-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.638-1.637c.34.763.207 1.677-.424 2.307l-2.548 2.549a2.07 2.07 0 0 1-2.944-.001 2.07 2.07 0 0 1 0-2.943l2.55-2.549c.409-.409.94-.613 1.47-.613Z",fill:"#0F0E0E"})))};function e9e(){return e9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e9e.apply(this,arguments)}var t9e,n9e=function(e){return i.createElement("svg",e9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),K8e||(K8e=i.createElement("path",{d:"M13.985 6.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06l-3.47-3.47 3.47-3.47a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function r9e(){return r9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r9e.apply(this,arguments)}var i9e,o9e=function(e){return i.createElement("svg",r9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t9e||(t9e=i.createElement("path",{d:"M10.003 6.992a.75.75 0 0 0-.522 1.288l3.47 3.47-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function a9e(){return a9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a9e.apply(this,arguments)}var s9e,l9e=function(e){return i.createElement("svg",a9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i9e||(i9e=i.createElement("path",{d:"M19.743 3.49a.75.75 0 0 0-.523.23L12 10.94 4.78 3.72a.75.75 0 1 0-1.06 1.06L10.94 12l-7.22 7.22a.75.75 0 1 0 1.06 1.06L12 13.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L13.06 12l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function c9e(){return c9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c9e.apply(this,arguments)}var u9e,d9e=function(e){return i.createElement("svg",c9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s9e||(s9e=i.createElement("path",{d:"M12 1.999c-5.514 0-10 4.486-10 10 0 1.638.431 3.168 1.13 4.533l-1.083 3.881c-.253.902.639 1.793 1.54 1.541l3.885-1.084C8.835 21.568 10.364 22 12 22c5.514 0 10-4.486 10-10s-4.486-10-10-10Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5-1.5 0-2.905-.39-4.129-1.072a.75.75 0 0 0-.566-.068L3.61 20.39l1.032-3.69a.75.75 0 0 0-.068-.568A8.445 8.445 0 0 1 3.5 11.999c0-4.703 3.797-8.5 8.5-8.5ZM16.75 8l-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm0 3.249-9.5.001a.751.751 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm-5 3.251-4.5.001a.75.75 0 1 0 0 1.5l4.5-.001a.751.751 0 1 0 0-1.5Z",fill:"#0F0E0E"})))};function p9e(){return p9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p9e.apply(this,arguments)}var f9e,h9e=function(e){return i.createElement("svg",p9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),u9e||(u9e=i.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2ZM9 8.25a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm6 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm-7.175 5.752a.748.748 0 0 1 .644.284A4.466 4.466 0 0 0 12 16a4.467 4.467 0 0 0 3.531-1.714.749.749 0 1 1 1.179.928A5.959 5.959 0 0 1 12 17.5a5.957 5.957 0 0 1-4.71-2.286.75.75 0 0 1 .535-1.212Z",fill:"#0F0E0E"})))};function m9e(){return m9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m9e.apply(this,arguments)}var g9e,O9e=function(e){return i.createElement("svg",m9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),f9e||(f9e=i.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5A8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5ZM9 8.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm6 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7.113 5.742a.75.75 0 0 0-.596 1.222A5.985 5.985 0 0 0 12 17.5a5.985 5.985 0 0 0 4.709-2.286.75.75 0 1 0-1.179-.928A4.473 4.473 0 0 1 12 16a4.472 4.472 0 0 1-3.53-1.714.75.75 0 0 0-.583-.294Z",fill:"#0F0E0E"})))};function v9e(){return v9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v9e.apply(this,arguments)}var y9e,b9e=function(e){return i.createElement("svg",v9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g9e||(g9e=i.createElement("path",{d:"M7 2a1 1 0 0 0-.929.629l-4 10a1 1 0 0 0 1.858.743l.749-1.872h4.645l.748 1.871a.99.99 0 0 0 .479.51l.959-2.302-3.58-8.95A1.001 1.001 0 0 0 7 2Zm8.976 3a1 1 0 0 0-.899.615l-5 12a1 1 0 1 0 1.846.77L12.916 16h6.168l.993 2.385a1 1 0 1 0 1.846-.77l-5-12A1 1 0 0 0 15.976 5ZM7 5.692 8.523 9.5H5.478L7 5.692ZM16 8.6l2.25 5.4h-4.5L16 8.6ZM11 20a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H11Z",fill:"#0F0E0E"})))};function w9e(){return w9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w9e.apply(this,arguments)}var x9e,_9e=function(e){return i.createElement("svg",w9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),y9e||(y9e=i.createElement("path",{d:"M7 2a.75.75 0 0 0-.695.469l-4.25 10.5a.75.75 0 1 0 1.39.562l.823-2.031h5.464l.823 2.031a.74.74 0 0 0 .175.25l.786-1.873-3.82-9.44A.75.75 0 0 0 7 2Zm0 2.749L9.125 10h-4.25L7 4.749ZM15.98 5a.75.75 0 0 0-.671.46l-5.25 12.5a.75.75 0 1 0 1.382.58l1.079-2.566 6.972.026 1.067 2.54a.75.75 0 1 0 1.382-.58l-5.25-12.5A.75.75 0 0 0 15.98 5ZM16 7.687l2.86 6.811-5.712-.022L16 7.686ZM10.75 20.5a.751.751 0 1 0 0 1.5h10.5a.751.751 0 1 0 0-1.5h-10.5Z",fill:"#0F0E0E"})))};function k9e(){return k9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k9e.apply(this,arguments)}var S9e,P9e=function(e){return i.createElement("svg",k9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),x9e||(x9e=i.createElement("path",{d:"M14.72 3.491a.752.752 0 0 0-.085.009H9.25a.75.75 0 1 0 0 1.5h4.405L8.236 19H4.25a.751.751 0 1 0 0 1.5h4.376a.75.75 0 0 0 .24 0h5.884a.751.751 0 1 0 0-1.5H9.845l5.419-14h3.486a.75.75 0 1 0 0-1.5h-3.876a.75.75 0 0 0-.154-.009Z",fill:"#0F0E0E"})))};function C9e(){return C9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C9e.apply(this,arguments)}var $9e,E9e=function(e){return i.createElement("svg",C9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),S9e||(S9e=i.createElement("path",{d:"M10.735 4.493a.75.75 0 0 0-.515.227l-7 7a.75.75 0 0 0 0 1.06l7 7a.75.75 0 1 0 1.06-1.06L5.56 13h14.69a.75.75 0 1 0 0-1.5H5.56l5.72-5.72a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function T9e(){return T9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T9e.apply(this,arguments)}var Q9e,I9e=function(e){return i.createElement("svg",T9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$9e||($9e=i.createElement("path",{d:"M2 12c0 5.511 4.489 10 10 10a1 1 0 1 0 0-2c-4.43 0-8-3.57-8-8s3.57-8 8-8a1 1 0 1 0 0-2C6.489 2 2 6.489 2 12Zm12.445 8.315a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm2.918-1.952a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.007-12.72a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm1.944 9.804a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.005-6.886a1 1 0 1 0 2 0 1 1 0 0 0-2 0ZM20 12a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z",fill:"#0F0E0E"})))};function D9e(){return D9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D9e.apply(this,arguments)}var A9e,R9e=function(e){return i.createElement("svg",D9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Q9e||(Q9e=i.createElement("path",{d:"M12 2C6.489 2 2 6.489 2 12s4.489 10 10 10a9.99 9.99 0 0 0 3.514-.635.998.998 0 0 0 .395-1.63 1.002 1.002 0 0 0-1.099-.242A7.976 7.976 0 0 1 12 20c-4.43 0-8-3.57-8-8s3.57-8 8-8 8 3.57 8 8v1c0 1.117-.883 2-2 2s-2-.883-2-2V8a1 1 0 0 0-1.99-.148A4.145 4.145 0 0 0 11.5 7C8.95 7 7 9.32 7 12s1.95 5 4.5 5c1.328 0 2.49-.633 3.302-1.614A3.998 3.998 0 0 0 18 17c2.197 0 4-1.803 4-4v-1c0-5.511-4.489-10-10-10Zm-.5 7c1.31 0 2.5 1.27 2.5 3s-1.19 3-2.5 3S9 13.73 9 12s1.19-3 2.5-3Z",fill:"#0F0E0E"})))};function z9e(){return z9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z9e.apply(this,arguments)}var N9e,M9e=function(e){return i.createElement("svg",z9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),A9e||(A9e=i.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10c1.234 0 2.42-.224 3.514-.635a.748.748 0 0 0 .29-1.219.75.75 0 0 0-.818-.185A8.475 8.475 0 0 1 12 20.5 8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5 4.703 0 8.5 3.797 8.5 8.5v1.25c0 1.252-.998 2.25-2.25 2.25A2.239 2.239 0 0 1 16 13.25v-5.5a.751.751 0 1 0-1.5 0v.533C13.71 7.493 12.666 7 11.5 7 8.971 7 7 9.298 7 12s1.971 5 4.5 5c1.436 0 2.691-.742 3.509-1.877A3.756 3.756 0 0 0 18.25 17 3.761 3.761 0 0 0 22 13.25V12c0-5.514-4.486-10-10-10Zm-.5 6.5c1.607 0 3 1.515 3 3.5s-1.393 3.5-3 3.5-3-1.515-3-3.5 1.393-3.5 3-3.5Z",fill:"#0F0E0E"})))};function j9e(){return j9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j9e.apply(this,arguments)}var U9e,X9e=function(e){return i.createElement("svg",j9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),N9e||(N9e=i.createElement("path",{d:"M11.5 16.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function L9e(){return L9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L9e.apply(this,arguments)}var q9e,W9e=function(e){return i.createElement("svg",L9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),U9e||(U9e=i.createElement("path",{d:"M5.228 2.5a.75.75 0 0 0-.215.038l-1.5.5a.75.75 0 0 0 .474 1.424L4.5 4.29V7.25a.75.75 0 1 0 1.5 0v-4a.75.75 0 0 0-.772-.75ZM10.75 5a.75.75 0 1 0 0 1.5h9a.75.75 0 1 0 0-1.5h-9ZM5.052 9c-.75 0-1.315.413-1.61.781-.296.369-.41.752-.41.752a.75.75 0 1 0 1.436.434s.038-.117.143-.248c.106-.132.19-.219.44-.219.207 0 .244.046.321.15a.834.834 0 0 1 .128.39c0 .202-.04.263-.17.394-.132.13-.378.282-.678.438-.299.156-.644.313-.978.58-.334.265-.674.737-.674 1.298a.75.75 0 0 0 .75.75h3a.751.751 0 1 0 0-1.5H5.645c.248-.14.503-.264.745-.505.337-.337.61-.861.61-1.456 0-.417-.115-.863-.42-1.278A1.928 1.928 0 0 0 5.051 9Zm5.698 2.5a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9ZM5.052 16c-1.111 0-1.83.718-1.83.718a.75.75 0 1 0 1.056 1.064s.29-.282.774-.282c.199 0 .33.061.39.11.06.048.058.058.058.092 0 .261-.04.243-.057.255A.44.44 0 0 1 5.25 18a.75.75 0 0 0 0 1.5c-.008 0 .266.043.4.112.134.07.1.04.1.051 0 .13-.022.153-.099.213a.763.763 0 0 1-.445.124c-.516 0-.992-.339-.992-.339a.75.75 0 1 0-.928 1.178s.795.661 1.92.661c.49 0 .974-.133 1.37-.443a1.8 1.8 0 0 0 .674-1.394c0-.45-.23-.774-.496-1.032.145-.272.246-.58.246-.929 0-.502-.252-.968-.617-1.262-.365-.293-.834-.44-1.331-.44Zm5.698 2a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9Z",fill:"#0F0E0E"})))};function F9e(){return F9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F9e.apply(this,arguments)}var V9e,B9e=function(e){return i.createElement("svg",F9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),q9e||(q9e=i.createElement("path",{d:"M10.25 3C6.255 3 3 6.255 3 10.25s3.255 7.25 7.25 7.25c1.728 0 3.317-.61 4.565-1.625l4.905 4.905a.75.75 0 1 0 1.06-1.06l-4.905-4.905A7.213 7.213 0 0 0 17.5 10.25C17.5 6.255 14.245 3 10.25 3Zm0 1.5A5.739 5.739 0 0 1 16 10.25a5.727 5.727 0 0 1-1.604 3.985.746.746 0 0 0-.16.16A5.727 5.727 0 0 1 10.25 16a5.739 5.739 0 0 1-5.75-5.75 5.739 5.739 0 0 1 5.75-5.75Z",fill:"#0F0E0E"})))};function Z9e(){return Z9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z9e.apply(this,arguments)}var Y9e,G9e=function(e){return i.createElement("svg",Z9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),V9e||(V9e=i.createElement("path",{d:"M17.74 2.99a1 1 0 0 0-.697 1.717l.547.547C11.738 5.34 7 10.128 7 16a1 1 0 1 0 2 0 8.73 8.73 0 0 1 8.577-8.741l-.534.534a1 1 0 1 0 1.414 1.414l2.161-2.161a1 1 0 0 0-.004-1.596l-2.157-2.157a1 1 0 0 0-.718-.303ZM6.25 3A3.265 3.265 0 0 0 3 6.25v11.5A3.265 3.265 0 0 0 6.25 21h11.5A3.265 3.265 0 0 0 21 17.75V14a1 1 0 1 0-2 0v3.75c0 .702-.548 1.25-1.25 1.25H6.25C5.548 19 5 18.452 5 17.75V6.25C5 5.548 5.548 5 6.25 5H10a1 1 0 1 0 0-2H6.25Z",fill:"#0F0E0E"})))};function H9e(){return H9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H9e.apply(this,arguments)}var K9e=function(e){return i.createElement("svg",H9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Y9e||(Y9e=i.createElement("path",{d:"M17.742 2.992a.75.75 0 0 0-.522 1.288l1.22 1.22h-.69C11.822 5.5 7 10.322 7 16.25a.75.75 0 1 0 1.5 0A9.238 9.238 0 0 1 17.75 7h.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.436-2.435a.75.75 0 0 0-.004-1.194L18.28 3.22a.75.75 0 0 0-.538-.228ZM6.25 3A3.262 3.262 0 0 0 3 6.25v11.5A3.262 3.262 0 0 0 6.25 21h11.5A3.261 3.261 0 0 0 21 17.75v-4a.751.751 0 1 0-1.5 0v4a1.74 1.74 0 0 1-1.75 1.75H6.25a1.74 1.74 0 0 1-1.75-1.75V6.25c0-.975.775-1.75 1.75-1.75h4a.75.75 0 1 0 0-1.5h-4Z",fill:"#0F0E0E"})))};function J9e(e,t,n){return void 0===t&&(t=20),void 0===n&&(n=.8),l((function(){var r=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var r=Math.floor(100*e/(window.innerHeight-t))/100;return r>=n?1:r}(e,t,n);return{initialBreakpoint:r,breakpoints:1!==r?[0,r,1]:[0,1]}}),[])}var eet,tet,net,ret,iet,oet=w((function(t,r){var i=t.size,o=void 0===i?"Default":i,a=t.icon,s=t.label,l=t.disabled,c=t.onClick,u=t.domIdentifier,d=t.className;return n(set,LUe({isSmall:"Small"===o,disabled:l,onClick:c,className:d,ref:r,"data-button":u},{children:[a&&e(cet,{children:a},void 0),s]}),void 0)})),aet=Ie(eet||(eet=BUe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n"]))),set=Te.button.withConfig({displayName:"BaseButton__StyledButton",componentId:"sc-10vs599-0"})(ret||(ret=BUe(["\n ","\n gap: 4px;\n\n ","\n"],["\n ","\n gap: 4px;\n\n ","\n"])),aet,(function(e){return e.isSmall?Ie(tet||(tet=BUe(["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "],["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "]))):Ie(net||(net=BUe(["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "],["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "])))})),cet=Te.div.withConfig({displayName:"BaseButton__IconHost",componentId:"sc-10vs599-1"})(iet||(iet=BUe(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"])));Te(oet).withConfig({displayName:"StandardButtons__OutlinedButton",componentId:"sc-1kkequa-0"})(det||(det=BUe(["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"])));var uet=Te(oet).withConfig({displayName:"StandardButtons__PrimaryButton",componentId:"sc-1kkequa-1"})(pet||(pet=BUe(["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"],["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"])));Te(oet).withConfig({displayName:"StandardButtons__SecondaryButton",componentId:"sc-1kkequa-2"})(fet||(fet=BUe(["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"],["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"])));var det,pet,fet,het,met,get,Oet,vet,yet,bet,wet=Te(oet).withConfig({displayName:"StandardButtons__TertiaryButton",componentId:"sc-1kkequa-3"})(het||(het=BUe(["\n background-color: white;\n\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"],["\n background-color: white;\n\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"]))),xet=Te(oet).withConfig({displayName:"StandardButtons__TextButton",componentId:"sc-1kkequa-4"})(met||(met=BUe(["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"]))),_et=w((function(t,r){var i=t.defaultSVG,o=t.hoveredSVG,a=t.secondarySVG,s=t.label,l=t.labelDirection,c=t.labelGap,u=t.iconSize,d=t.onClick,p=t.disabled,f=t.domIdentifier,h=t.reverseIcon,m=t.className,g=qUe(t,["defaultSVG","hoveredSVG","secondarySVG","label","labelDirection","labelGap","iconSize","onClick","disabled","domIdentifier","reverseIcon","className"]);return n(ket,LUe({onClick:d,ref:r,className:m,disabled:p,shouldAddMarginRight:!!a,"data-button":f},g,{children:[e(z8e,{defaultSVG:i,hoveredSVG:o,label:s,labelDirection:l,labelGap:c,size:u,reverseIcon:h},void 0),a]}),void 0)})),ket=Te.button.withConfig({displayName:"IconActionButton__StyledButton",componentId:"sc-1xa2jyn-0"})(get||(get=BUe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n"])),(function(e){return e.shouldAddMarginRight&&"margin-right: 8px"})),Pet=w((function(t,n){var r=t.defaultSVG,i=t.hoveredSVG,o=t.secondarySVG,a=t.isSelected,s=t.label,l=t.labelDirection,c=t.labelGap,u=t.iconSize,d=t.onClick,p=t.disabled,f=t.domIdentifier,h=t.className;return e(Cet,{onClick:d,ref:n,className:h,disabled:p,isSelected:a,defaultSVG:a?i:r,hoveredSVG:i,label:s,labelDirection:l,labelGap:c,iconSize:u,secondarySVG:o,domIdentifier:f},void 0)})),Cet=Te(_et).withConfig({displayName:"ContentActionButton__StyledIconActionButton",componentId:"sc-p9fvi8-0"})(yet||(yet=BUe(["\n border-radius: 8px;\n padding: 4px 8px;\n\n ","\n"],["\n border-radius: 8px;\n padding: 4px 8px;\n\n ","\n"])),(function(e){return e.isSelected?Ie(Oet||(Oet=BUe(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "]))):Ie(vet||(vet=BUe(["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "])))}));Te(Se).withConfig({displayName:"IconNavLink__StyledNavLink",componentId:"sc-vke3b0-0"})(bet||(bet=BUe(["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"row"===e.direction?"10px":"5px"}));var $et,Eet,Tet,Qet,Iet,Det,Aet,Ret,zet,Net,Met,jet,Uet,Xet,Let,qet=Te(_et).withConfig({displayName:"BackButton__StyledIconActionButton",componentId:"sc-18svzaj-0"})($et||($et=BUe(["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"],["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"]))),Wet=w((function(t,n){var r=t.buttonSize,i=void 0===r?"Default":r,o=t.defaultSVG,a=t.hoveredSVG,s=t.disabled,l=t.onClick,c=t.className;return e(Fet,{buttonSize:i,disabled:s,onClick:l,className:c,ref:n,defaultSVG:o,hoveredSVG:!s&&a,iconSize:"Small"===i?13:20},void 0)})),Fet=Te(_et).withConfig({displayName:"BaseIconicButton__StyledIconActionButton",componentId:"sc-1788zrp-0"})(Iet||(Iet=BUe(["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"],["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"])),(function(e){var t=e.buttonSize;return Ie("Large"===t?Eet||(Eet=BUe(["\n width: 40px;\n height: 40px;\n padding: 8px;\n "],["\n width: 40px;\n height: 40px;\n padding: 8px;\n "])):"Small"===t?Tet||(Tet=BUe(["\n width: 28px;\n height: 28px;\n padding: 4px;\n "],["\n width: 28px;\n height: 28px;\n padding: 4px;\n "])):Qet||(Qet=BUe(["\n width: 32px;\n height: 32px;\n padding: 4px;\n "],["\n width: 32px;\n height: 32px;\n padding: 4px;\n "])))})),Vet=function(t){return e(Bet,LUe({},t,{defaultSVG:t.isSelected&&t.hoveredSVG?t.hoveredSVG:t.defaultSVG}),void 0)},Bet=Te(Wet).withConfig({displayName:"IconicButtons__PrimaryIconicStyledBaseButton",componentId:"sc-1kri1yx-0"})(Ret||(Ret=BUe(["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"],["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"])),(function(e){return e.isSelected?Ie(Det||(Det=BUe(["\n background-color: var(--color-coral-200);\n "],["\n background-color: var(--color-coral-200);\n "]))):Ie(Aet||(Aet=BUe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "])))}));Te(Wet).withConfig({displayName:"IconicButtons__SecondaryIconicStyledBaseButton",componentId:"sc-1kri1yx-1"})(Met||(Met=BUe(["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"],["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"])),(function(e){return e.isSelected?Ie(zet||(zet=BUe(["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "],["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "]))):Ie(Net||(Net=BUe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "])))})),Te(_et).withConfig({displayName:"FloatingActionButton__StyledIconActionButton",componentId:"sc-k5ph7w-0"})(jet||(jet=BUe(["\n position: fixed;\n z-index: 2;\n right: ","px;\n bottom: ","px;\n width: 60px;\n height: 60px;\n border-radius: 100%;\n background-color: var(--color-coral-400);\n filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.2));\n\n @media screen and (min-width: ","px) {\n right: ","px;\n bottom: ","px;\n width: 80px;\n height: 80px;\n }\n\n &:hover {\n background-color: var(--color-coral-500);\n }\n\n &:active {\n background-color: var(--color-coral-600);\n }\n\n &:disabled {\n background-color: var(--color-coral-100);\n\n svg {\n fill: var(--color-coral-200);\n }\n }\n"],["\n position: fixed;\n z-index: 2;\n right: ","px;\n bottom: ","px;\n width: 60px;\n height: 60px;\n border-radius: 100%;\n background-color: var(--color-coral-400);\n filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.2));\n\n @media screen and (min-width: ","px) {\n right: ","px;\n bottom: ","px;\n width: 80px;\n height: 80px;\n }\n\n &:hover {\n background-color: var(--color-coral-500);\n }\n\n &:active {\n background-color: var(--color-coral-600);\n }\n\n &:disabled {\n background-color: var(--color-coral-100);\n\n svg {\n fill: var(--color-coral-200);\n }\n }\n"])),(function(e){return e.offsetRight||20}),(function(e){return e.offsetRight||20}),Sse.medium,(function(e){return e.offsetRight||40}),(function(e){return e.offsetRight||40})),Te.div.withConfig({displayName:"ProfileButton__Host",componentId:"sc-rvofml-0"})(Uet||(Uet=BUe(["\n display: flex;\n gap: 16px;\n"],["\n display: flex;\n gap: 16px;\n"]))),Te.div.withConfig({displayName:"ProfileButton__Label",componentId:"sc-rvofml-1"})(Xet||(Xet=BUe(["\n margin: auto 0;\n color: var(--color-neutral-950);\n letter-spacing: 0.015em;\n font-weight: 700;\n font-size: 12px;\n"],["\n margin: auto 0;\n color: var(--color-neutral-950);\n letter-spacing: 0.015em;\n font-weight: 700;\n font-size: 12px;\n"]))),function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(Let||(Let={}));var Zet,Yet,Get,Het,Ket,Jet,ett,ttt,ntt,rtt,itt,ott,att,stt,ltt,ctt,utt,dtt,ptt,ftt,htt=function(t){var r=t.isOpen,i=t.triggerButton,o=t.title,a=t.type,s=void 0===a?Let.close:a,l=t.isBlocking,c=t.onDismiss,u=t.className,d=t.children,p=Qpe(),f=FI().formatMessage;return n(aQe,LUe({open:r,onOpenChange:function(e){return e||null==c?void 0:c()}},{children:[null!=i&&e(sQe,LUe({asChild:!0},{children:i}),void 0),n(lQe,{children:[e(mtt,{},void 0),n(gtt,LUe({className:jH(p,u),onInteractOutside:l?function(e){return e.preventDefault()}:void 0},{children:[(o||s===Let.close)&&n(Ott,LUe({"data-dialog-header":!0},{children:[o&&e(ytt,LUe({"data-dialog-header-title":!0},{children:o}),void 0),s===Let.close&&e(pQe,LUe({asChild:!0},{children:e(btt,LUe({"aria-label":f({id:"Generic.close"})},{children:e(l9e,{},void 0)}),void 0)}),void 0)]}),void 0),e(vtt,LUe({"data-dialog-inner":!0},{children:d}),void 0)]}),void 0)]},void 0)]}),void 0)},mtt=Te(cQe).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1mpyir9-0"})(Zet||(Zet=BUe(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),gtt=Te(uQe).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1mpyir9-1"})(Yet||(Yet=BUe(["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"],["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"]))),Ott=Te.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1mpyir9-2"})(Get||(Get=BUe(["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"],["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"]))),vtt=Te.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1mpyir9-3"})(Het||(Het=BUe(["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"],["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"]))),ytt=Te(dQe).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1mpyir9-4"})(Ket||(Ket=BUe(["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"],["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"])),6),btt=Te.button.withConfig({displayName:"BaseDialog__CloseButton",componentId:"sc-1mpyir9-5"})(Jet||(Jet=BUe(["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"],["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"]))),wtt=function(t){var r=t.hideCancelButton,i=t.onSave,o=t.disableSave,a=t.saveButtonLabel,s=t.cancelButtonLabel,l=t.children,c=qUe(t,["hideCancelButton","onSave","disableSave","saveButtonLabel","cancelButtonLabel","children"]),u=FI().formatMessage;return n(xtt,LUe({},c,{children:[l,(i||!r)&&n(_tt,LUe({"data-dialog-footer":!0},{children:[!r&&e(pQe,LUe({asChild:!0},{children:e(wet,{label:s||u({id:"Generic.Cancel"})},void 0)}),void 0),i&&e(pQe,LUe({asChild:!0},{children:e(uet,{disabled:o,onClick:i,label:a||u({id:"Generic.Save"})},void 0)}),void 0)]}),void 0)]}),void 0)},xtt=Te(htt).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-1wziofc-0"})(itt||(itt=BUe(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"])),Epe,(function(e){return e.maxwidth?Ie(ett||(ett=BUe(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):Ie(ttt||(ttt=BUe(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?Ie(ntt||(ntt=BUe(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):Ie(rtt||(rtt=BUe(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),_tt=Te.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-1wziofc-1"})(ott||(ott=BUe(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n box-sizing: border-box;\n gap: 8px;\n margin-top: 40px;\n"],["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n box-sizing: border-box;\n gap: 8px;\n margin-top: 40px;\n"]))),ktt=function(t){var r=t.isOpen,i=t.onDismiss,o=t.title,a=t.triggerButton,s=t.hideHeader,l=t.customActionButton,c=t.className,u=t.children,d=qUe(t,["isOpen","onDismiss","title","triggerButton","hideHeader","customActionButton","className","children"]),p=Qpe();return n(Stt,{children:[a,n(RNe,LUe({"data-modal":!0,isOpen:r,onDidDismiss:function(){return i()},className:p},d,{children:[!s&&e($tt,{title:o,onDismiss:i,customActionButton:l,className:c},void 0),e(Ptt,LUe({forceOverscroll:!1},{children:e(Ctt,LUe({"data-inlinemodal-content":!0,className:c},{children:u}),void 0)}),void 0)]}),void 0)]},void 0)},Stt=Te.div.withConfig({displayName:"MobileInlineModal__Host",componentId:"sc-12osu96-0"})(att||(att=BUe(["\n display: flex;\n"],["\n display: flex;\n"]))),Ptt=Te(PNe).withConfig({displayName:"MobileInlineModal__StyledIonContent",componentId:"sc-12osu96-1"})(stt||(stt=BUe(["\n --padding-bottom: 0;\n"],["\n --padding-bottom: 0;\n"]))),Ctt=Te.div.withConfig({displayName:"MobileInlineModal__Content",componentId:"sc-12osu96-2"})(ltt||(ltt=BUe(["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"],["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"]))),$tt=function(t){var r=t.title,i=t.customActionButton,o=t.onDismiss,a=t.className;return e(Ett,LUe({class:"ion-no-border","data-inlinemodal-header":!0,className:a},{children:n(Ttt,{children:[i||e(Qtt,{onClick:o},void 0),e(Itt,{children:r},void 0)]},void 0)}),void 0)},Ett=Te(CNe).withConfig({displayName:"MobileInlineModal__StyledIonHeader",componentId:"sc-12osu96-3"})(ctt||(ctt=BUe(["\n background: var(--mobile-modal-background-color);\n"],["\n background: var(--mobile-modal-background-color);\n"]))),Ttt=Te.div.withConfig({displayName:"MobileInlineModal__Inner",componentId:"sc-12osu96-4"})(utt||(utt=BUe(["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"],["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"]))),Qtt=Te((function(t){var n=t.onClick,r=t.className;return e(qet,{defaultSVG:e(E9e,{},void 0),onClick:n,className:r},void 0)})).withConfig({displayName:"MobileInlineModal__StyledBackButton",componentId:"sc-12osu96-5"})(dtt||(dtt=BUe(["\n position: absolute;\n left: 0;\n top: 0;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n"]))),Itt=Te.h2.withConfig({displayName:"MobileInlineModal__Title",componentId:"sc-12osu96-6"})(ptt||(ptt=BUe(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"])));Te(htt).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-mvozll-0"})(ftt||(ftt=BUe(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),439,439,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),439,439);var Dtt,Att,Rtt=w((function(t,n){return!a(jtt)||t.neverStackChildren?e(Ntt,LUe({ref:n},t),void 0):e(ztt,LUe({},t),void 0)})),ztt=function(e){var t=e.isOpen,n=e.onDismiss,r=e.initialBreakpoint,i=e.children,o=a(jtt).addNewLayer;return u((function(){t&&o(i,n,r)}),[t]),null},Ntt=w((function(t,n){var r=t.isOpen,i=t.onDismiss,o=t.initialBreakpoint,a=t.breakpoints,s=t.className,l=t.children,c=Qpe();return e("div",{children:e(RNe,LUe({isOpen:r,ref:n,onDidDismiss:i,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:c,handleBehavior:"cycle"},{children:e(PNe,LUe({forceOverscroll:!1},{children:e(Mtt,LUe({className:s},{children:l((function(){return null}))}),void 0)}),void 0)}),void 0)},void 0)})),Mtt=Te.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-14p349p-0"})(Dtt||(Dtt=BUe(["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"],["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"])),Sse.small),jtt=s(null);Te.div.withConfig({displayName:"Modal__Host",componentId:"sc-wik3mt-0"})(Att||(Att=BUe(["\n display: flex;\n"],["\n display: flex;\n"])));var Utt=Nqe,Xtt=nXe,Ltt=JUe,qtt=wXe,Wtt=OXe,Ftt=zXe.f,Vtt=wqe,Btt=Ltt.Symbol;if(Xtt&&"function"==typeof Btt&&(!("description"in Btt.prototype)||void 0!==Btt().description)){var Ztt={},Ytt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Ytt?new Btt(e):void 0===e?Btt():Btt(e);return""===e&&(Ztt[t]=!0),t};Vtt(Ytt,Btt);var Gtt=Ytt.prototype=Btt.prototype;Gtt.constructor=Ytt;var Htt=Gtt.toString,Ktt="Symbol(test)"==String(Btt("test")),Jtt=/^Symbol\((.*)\)[^)]+$/;Ftt(Gtt,"description",{configurable:!0,get:function(){var e=Wtt(this)?this.valueOf():this,t=Htt.call(e);if(qtt(Ztt,e))return"";var n=Ktt?t.slice(7,-1):t.replace(Jtt,"$1");return""===n?void 0:n}}),Utt({global:!0,forced:!0},{Symbol:Ytt})}var ent,tnt,nnt,rnt,int=Ie(ent||(ent=BUe(["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"],["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"])));Te(INe).withConfig({displayName:"ConfirmationDialog__StyledIonActionSheet",componentId:"sc-m2uptd-0"})(tnt||(tnt=BUe(["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"],["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"])),int),Te(wtt).withConfig({displayName:"ConfirmationDialog__StyledDialog",componentId:"sc-m2uptd-1"})(nnt||(nnt=BUe(["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"],["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"]))),Te.div.withConfig({displayName:"ConfirmationDialog__Description",componentId:"sc-m2uptd-2"})(rnt||(rnt=BUe(["\n color: var(--color-neutral-800);\n ","\n"],["\n color: var(--color-neutral-800);\n ","\n"])),int);var ont,ant,snt,lnt,cnt,unt,dnt,pnt,fnt,hnt=function(t){var r=t.isOpen,i=t.onOpenChange,o=t.trigger,a=t.anchor,s=t.className,l=t.children,c=t.align,u=t.alignOffset,d=t.side,p=t.sideOffset,f=Qpe();return n(MUe,LUe({open:r,onOpenChange:i},{children:[null!=a&&e(jUe,LUe({asChild:!0},{children:a}),void 0),null!=o&&e(UUe,LUe({asChild:!0},{children:o}),void 0),e(mnt,LUe({className:jH(f,s)},{children:e(gnt,LUe({className:"PopoverContent",align:c,alignOffset:u,side:d,sideOffset:p},{children:l}),void 0)}),void 0)]}),void 0)},mnt=Te.div.withConfig({displayName:"BasePopover__PopoverOverrides",componentId:"sc-1vqo814-0"})(ont||(ont=BUe(["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"],["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"]))),gnt=Te(XUe).withConfig({displayName:"BasePopover__StyledContent",componentId:"sc-1vqo814-1"})(ant||(ant=BUe(["\n background: #ffffff;\n ","\n"],["\n background: #ffffff;\n ","\n"])),Epe),Ont=Te.div.withConfig({displayName:"Skeleton__Host",componentId:"sc-rex4m6-0"})(snt||(snt=BUe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"])));Te.div.withConfig({displayName:"Skeleton__SkeletonInlineGroup",componentId:"sc-rex4m6-1"})(lnt||(lnt=BUe(["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"],["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"])),(function(e){return(e.gap||16)+"px"})),Te.div.withConfig({displayName:"Skeleton__SkeletonBlockGroup",componentId:"sc-rex4m6-2"})(cnt||(cnt=BUe(["\n display: flex;\n flex-direction: column;\n gap: 5px;\n width: 100%;\n ","\n"],["\n display: flex;\n flex-direction: column;\n gap: 5px;\n width: 100%;\n ","\n"])),(function(e){return e.marginTop&&"margin-top: "+e.marginTop+"px;"})),Te.div.withConfig({displayName:"Skeleton__Avatar",componentId:"sc-rex4m6-3"})(unt||(unt=BUe(["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36}),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36})),Te.div.withConfig({displayName:"Skeleton__Line",componentId:"sc-rex4m6-4"})(dnt||(dnt=BUe(["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.width)&&void 0!==t?t:"auto"}),(function(e){return e.height?"height: "+e.height+"px":"height: 20px"})),Te.div.withConfig({displayName:"PageScrollIndicator__Host",componentId:"sc-2wrh76-0"})(pnt||(pnt=BUe(["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"],["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"]))),Te.div.attrs((function(e){return{style:{width:e.progress+"%"}}})).withConfig({displayName:"PageScrollIndicator__ProgressBar",componentId:"sc-2wrh76-1"})(fnt||(fnt=BUe(["\n height: 4px;\n background: var(--color-coral-500);\n"],["\n height: 4px;\n background: var(--color-coral-500);\n"])));var vnt=function(t){var n=t.size,r=t.className;return e(xnt,{defaultSVG:e(I9e,{},void 0),size:null!=n?n:24,className:r},void 0)};Te(vnt).withConfig({displayName:"SpinnerLoader__PageSpinnerLoader",componentId:"sc-1y3keaq-0"})(ynt||(ynt=BUe(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(e){var t;return"calc(50% - "+(null!==(t=e.size)&&void 0!==t?t:24)/2+"px)"}),(function(e){var t;return"calc(50% - "+(null!==(t=e.size)&&void 0!==t?t:24)/2+"px)"}));var ynt,bnt,wnt,xnt=Te(z8e).withConfig({displayName:"SpinnerLoader__SpinnerIcon",componentId:"sc-1y3keaq-1"})(bnt||(bnt=BUe(["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"],["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])));Te.time.withConfig({displayName:"DateTimeDisplay__Host",componentId:"sc-17lnikl-0"})(wnt||(wnt=BUe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));var _nt,knt,Snt,Pnt,Cnt,$nt,Ent,Tnt,Qnt,Int,Dnt,Ant,Rnt,znt,Nnt=Te.div.withConfig({displayName:"SearchBox__Host",componentId:"sc-kta4dl-0"})(_nt||(_nt=BUe(["\n position: relative;\n"],["\n position: relative;\n"]))),Mnt=Te.div.withConfig({displayName:"SearchBox__SearchIconHost",componentId:"sc-kta4dl-1"})(knt||(knt=BUe(["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n display: flex;\n align-items: center;\n margin-left: 10px;\n\n & > svg {\n width: 20px;\n height: 20px;\n }\n"],["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n display: flex;\n align-items: center;\n margin-left: 10px;\n\n & > svg {\n width: 20px;\n height: 20px;\n }\n"]))),jnt=Te(_et).withConfig({displayName:"SearchBox__CloseIconButton",componentId:"sc-kta4dl-2"})(Snt||(Snt=BUe(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n padding: 0 10px;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n padding: 0 10px;\n"]))),Unt=Te.input.withConfig({displayName:"SearchBox__SearchInput",componentId:"sc-kta4dl-3"})(Pnt||(Pnt=BUe(["\n box-sizing: border-box;\n height: 32px;\n width: 100%;\n border-radius: 4px;\n border: 1px solid var(--color-neutral-200);\n background: #fff;\n padding: 4px 32px 4px 36px;\n\n &:hover {\n border-color: var(--color-neutral-700);\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n ","\n border-radius: 4px;\n }\n\n font-family: Mulish, Arial, sans-serif !important;\n color: var(--color-neutral-950);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 100%;\n\n &::placeholder {\n font-size: 16px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-neutral-700);\n }\n"],["\n box-sizing: border-box;\n height: 32px;\n width: 100%;\n border-radius: 4px;\n border: 1px solid var(--color-neutral-200);\n background: #fff;\n padding: 4px 32px 4px 36px;\n\n &:hover {\n border-color: var(--color-neutral-700);\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n ","\n border-radius: 4px;\n }\n\n font-family: Mulish, Arial, sans-serif !important;\n color: var(--color-neutral-950);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 100%;\n\n &::placeholder {\n font-size: 16px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-neutral-700);\n }\n"])),Epe);Te.div.withConfig({displayName:"OTPInput__Host",componentId:"sc-x2sm3g-0"})(Cnt||(Cnt=BUe(["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"],["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"]))),Te.input.withConfig({displayName:"OTPInput__SingleInput",componentId:"sc-x2sm3g-1"})($nt||($nt=BUe(["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"],["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"]))),Te.div(Ent||(Ent=BUe(["\n display: flex;\n flex-direction: column;\n height: 91px;\n gap: 4px;\n"],["\n display: flex;\n flex-direction: column;\n height: 91px;\n gap: 4px;\n"]))),Te.div(Tnt||(Tnt=BUe(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"]))),Te.span(Int||(Int=BUe(["\n font-size: 16px;\n font-weight: 700;\n padding-left: 4px;\n line-height: 20px;\n\n ","\n"],["\n font-size: 16px;\n font-weight: 700;\n padding-left: 4px;\n line-height: 20px;\n\n ","\n"])),(function(e){return e.error&&Ie(Qnt||(Qnt=BUe(["\n color: #ff5050;\n "],["\n color: #ff5050;\n "])))})),Te.input(Ant||(Ant=BUe(["\n border: 1px solid #d7d2d1;\n border-radius: 4px;\n background: none;\n font-size: 16px;\n padding: 14px 16px;\n height: 16px;\n\n ","\n"],["\n border: 1px solid #d7d2d1;\n border-radius: 4px;\n background: none;\n font-size: 16px;\n padding: 14px 16px;\n height: 16px;\n\n ","\n"])),(function(e){return e.errorMessage&&Ie(Dnt||(Dnt=BUe(["\n border-color: #be2032;\n background-color: #ffeded;\n "],["\n border-color: #be2032;\n background-color: #ffeded;\n "])))})),Te.span(Rnt||(Rnt=BUe(["\n color: #ff5050;\n font-size: 12px;\n line-height: 14px;\n padding-left: 4px;\n"],["\n color: #ff5050;\n font-size: 12px;\n line-height: 14px;\n padding-left: 4px;\n"]))),Te.div(znt||(znt=BUe(["\n display: flex;\n flex-direction: column;\n padding: 64px 40px 40px;\n border: 1px solid var(--color-neutral-100);\n border-radius: 8px;\n box-shadow: 0px 16px 48px 0px rgba(15, 14, 14, 0.05);\n background: var(--color-neutral-50);\n box-sizing: border-box;\n gap: 40px;\n"],["\n display: flex;\n flex-direction: column;\n padding: 64px 40px 40px;\n border: 1px solid var(--color-neutral-100);\n border-radius: 8px;\n box-shadow: 0px 16px 48px 0px rgba(15, 14, 14, 0.05);\n background: var(--color-neutral-50);\n box-sizing: border-box;\n gap: 40px;\n"])));var Xnt=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=l((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(n){return vw.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(UT.Provider,Wa({value:c},{children:r}),void 0)},Lnt="0.5.0-preview.923",qnt="134229",Wnt="868a9556c97684e862264c3e09cb5ce757ea87a9",Fnt=gt,Vnt=lt,Bnt=Zr("match"),Znt=function(e){var t;return Fnt(e)&&(void 0!==(t=e[Bnt])?!!t:"RegExp"==Vnt(e))},Ynt=Znt,Gnt=Zr("match"),Hnt=function(e){if(Ynt(e))throw TypeError("The method doesn't accept regular expressions");return e},Knt=pt,Jnt=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Gnt]=!1,"/./"[e](t)}catch(e){}}return!1};Dr({target:"String",proto:!0,forced:!Jnt("includes")},{includes:function(e){return!!~String(Knt(this)).indexOf(Hnt(e),arguments.length>1?arguments[1]:void 0)}});var ert,trt,nrt={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:{regions:{global:{dashboardHostName:"superset.test.analytics.livetiles.io",ingestionHostName:"api.test.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"00bc5e79-67a0-447f-b841-daab4017898e"}]}}}},rrt={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:{regions:{global:{dashboardHostName:"superset-euw.analytics.livetiles.io",ingestionHostName:"api-euw.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"00ecd407-3efd-4c67-8c8e-f8f79221acce"}]},australia:{dashboardHostName:"superset-aue.analytics.livetiles.io",ingestionHostName:"api-aue.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"e31a9225-a917-4638-9eff-6542449cbf73"}]},usa:{dashboardHostName:"superset-use.analytics.livetiles.io",ingestionHostName:"api-use.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"433c5c17-10d2-4260-a235-bfac9a917c71"}]}}}},irt=require("deepmerge"),ort=["//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"],art=function(t){var n=t.children,r=iw(),i=r.apiEndpoint,o=r.additionalVideoSources,a=l((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!ort.some((function(e){return i.toLowerCase().includes(e)}));if(!e)return vw.info("Will use non prod client config..."),Wa(Wa({},nrt),{additionalVideoSources:o});var t=irt(nrt,rrt,{arrayMerge:function(e,t){return t}});return Wa(Wa({},t),{additionalVideoSources:o})}())}),[i]);return e(mw.Provider,Wa({value:a},{children:n}),void 0)},srt=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 Ba(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 Ba(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}(),lrt=new srt,crt=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(urt,Wa({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},urt=function(n){var r=n.subscriptionId,i=n.children,o=a(UT).setToken,s=OD(),l=Ide().getSubscriptionBySubscriptionIdentifier,c=ZG().fetchFromApi,u=a(hD),d=u.handleFatalError,p=u.handleAccessDeniedError,f=AT((function(){return Va(this,void 0,void 0,(function(){var e,t,n;return Ba(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,s.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,l(r)];case 2:return i.sent().allowPublicAccess?[4,v(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,s.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),h=f[0],m=f[1],g=f[2];if(g)return vw.error(g),d({error:g}),null;if(m)return null;if(!h){var O={message:"Public access is not enabled for the subscription "+r+"!"};return vw.error(O.message),p({error:O}),null}return e(t,{children:i},void 0);function v(e){return c("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},drt=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],u=d(),p=u[0],f=u[1],h=l((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:f}}),[o,c,f]);return e(hD.Provider,Wa({value:h},{children:e(prt,Wa({fatalError:i,notFoundError:p,accessDeniedError:s},{children:n}),void 0)}),void 0)},prt=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(frt,{messageId:r.messageId,error:r.error},void 0):i?e(frt,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(frt,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},frt=function(t){var r=t.messageId,i=t.error,o=FI().formatMessage,a=d(!1),s=a[0],l=a[1];return e(W7e,Wa({errorType:L7e.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(hrt,{children:[e(uD,{id:"Generic.error.details"},void 0),e(mrt,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},hrt=Te.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(ert||(ert=ts(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),mrt=Te.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(trt||(trt=ts(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),grt=function(t){var n=t.children,r=Hce(),i=l((function(){return{onShare:function(){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(mD.Provider,Wa({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},Ort=function(){return null},vrt=Object.freeze({__proto__:null,Page:Ort,NavLinkSidebarItem:Ort,PageMenuActionItem:Ort});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Lnt+" ("+qnt+") ["+Wnt+"]"),window.__did_initialize_reach_context)return;ce()}();var yrt=function(r){var i,o,s,c,d,p,f,h=null!=a(rw);u((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,h||window.__is_reach_app||(nue.apply(void 0,VUe(["ReachCorePackages"],VUe(VUe([],T8e),E8e))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Wa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Wa({default:{}},vrt)}],nue.apply(void 0,Ja(["ReachComponentLibraryPackages"],t))))}),[]);var m=l((function(){var e,t,n,i,o,a,s,l,c,u;return{env:{deviceInfo:{},version:Lnt,commitId:Wnt,buildId:qnt},appConfig:{apiEndpoint:null!==(t=null===(e=r.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(i=null===(n=r.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==i?i:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=r.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(l=null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==l?l:"wss://ws.reach.livetiles.io/api/v2",additionalVideoSources:null!==(u=null===(c=r.config)||void 0===c?void 0:c.additionalVideoSources)&&void 0!==u?u:[]}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(s=r.config)||void 0===s?void 0:s.api3Endpoint,null===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint,null===(d=r.config)||void 0===d?void 0:d.additionalVideoSources]);if(h)return vw.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Wa({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0);var g=function(e){return new zJ({defaultOptions:e,queryCache:wpe()})}({queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1,retry:!1,staleTime:5e3,cacheTime:5e3,refetchInterval:!1,refetchIntervalInBackground:!1}});return e("div",Wa({className:m7},{children:e(rw.Provider,Wa({value:m},{children:e(Pe,{children:e(gD.Provider,Wa({value:lrt},{children:e(art,{children:e(jre,Wa({language:r.language,locale:r.locale},{children:e(cde,Wa({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(drt,{children:e(Xnt,Wa({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(bD,Wa({subscriptionId:r.subscriptionId},{children:e(crt,Wa({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(grt,{children:e(XJ,Wa({client:g},{children:e(Yz.Provider,Wa({value:{hideChrome:!1}},{children:e(wrt,Wa({subscriptionId:r.subscriptionId,language:r.language,locale:r.locale},{children:e(zH,Wa({gqlClientConfig:{endPoint:m.appConfig.api3Endpoint,webSocketsEndpoint:m.appConfig.webSocketsEndpoint}},{children:e(Mce,{children:e(zde,{children:e(brt,Wa({disableAnalytics:null===(p=r.analyticsProps)||void 0===p?void 0:p.disableAnalytics,appName:null===(f=r.analyticsProps)||void 0===f?void 0:f.appName},{children:n(Sde,{children:[e(Ede,{},void 0),e(rBe,{},void 0),e(xrt,{},void 0),n(Ce,{children:[e($e,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e($e,{render:function(){return r.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)}),void 0)},brt=function(t){var n=t.disableAnalytics,r=t.appName,i=t.children;return n?e(ale,{children:i},void 0):e(ele,Wa({appName:r},{children:i}),void 0)},wrt=function(t){var n,r=t.subscriptionId,i=t.language,o=t.locale,s=t.children,c=a(lde).setTheme,u=a(_D).changeSettings,d=function(){var e=eoe().getCurrentUser,t=UJ();return{getCurrentUser:function(n){return r7(this,void 0,void 0,(function(){var r=this;return i7(this,(function(i){switch(i.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return r7(r,void 0,void 0,(function(){return i7(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,i.sent()]}}))}))}}}().getCurrentUser,p=AT((function(){var e,t;return Va(this,void 0,void 0,(function(){var n,a,s,l;return Ba(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,d(r)];case 1:return n=p.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&c(n.subscription.theme),a=_C(i,n.preferredUiLanguage,xC(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=Xre(n,o),u(a,s).then((function(){return null}),vw.error),i&&(n.preferredContentLanguage=i),[2,n];case 2:throw l=p.sent(),vw.error(l),l;case 3:return[2]}}))}))})),f=p[0],h=p[1],m=p[2],g=p[3],O=a(hD),v=O.handleFatalError,y=O.handleNotFoundError,b=O.handleAccessDeniedError,w=l((function(){return{user:f,refreshUser:function(e){return Promise.resolve(e&&g(e))}}}),[f]);return m?(403===(null===(n=null==m?void 0:m.response)||void 0===n?void 0:n.statusCode)?b({error:m}):v({error:m}),null):h?null:null==f?(y({}),null):e(oie.Provider,Wa({value:w},{children:s}),void 0)},xrt=function(){return u((function(){!function(){var e="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap";if(!document.querySelector('head link[href="'+e+'"]')){var t=document.createElement("link");t.href="https://fonts.gstatic.com/",t.rel="preconnect",t.crossOrigin="";var n=document.createElement("link");n.href=e,n.rel="stylesheet",document.head.prepend(n),document.head.prepend(t)}}()}),[]),n(t,{children:[e(d7,{},void 0),e(h7,{},void 0)]},void 0)};var _rt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,krt=/[\0-\x1F\x7F-\x9F]/,Srt=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Prt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 Crt(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 $rt(e){return Object.prototype.toString.call(e)}function Ert(e){return"[object Function]"===$rt(e)}function Trt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Qrt={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var Irt={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Drt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Art(e){var t=e.re=function(e){var t={};return t.src_Any=_rt.source,t.src_Cc=krt.source,t.src_Z=Srt.source,t.src_P=Prt.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 r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];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 r={validate:null,link:null};if(e.__compiled__[t]=r,function(e){return"[object Object]"===$rt(e)}(n))return!function(e){return"[object RegExp]"===$rt(e)}(n.validate)?Ert(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(Ert(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$rt(e)}(n)?o(t,n):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Trt).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 Rrt(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function zrt(e,t){var n=new Rrt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Nrt(e,t){if(!(this instanceof Nrt))return new Nrt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||Qrt.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=Crt({},Qrt,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Crt({},Irt,e),this.__compiled__={},this.__tlds__=Drt,this.__tlds_replaced__=!1,this.re={},Art(this)}Nrt.prototype.add=function(e,t){return this.__schemas__[e]=t,Art(this),this},Nrt.prototype.set=function(e){return this.__opts__=Crt(this.__opts__,e),this},Nrt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,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(i=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+i;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!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},Nrt.prototype.pretest=function(e){return this.re.pretest.test(e)},Nrt.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Nrt.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(zrt(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(zrt(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},Nrt.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(),Art(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Art(this),this)},Nrt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Nrt.prototype.onCompile=function(){};var Mrt=Nrt,jrt={exports:{}};!function(e,t){!function(t,n,r){e.exports=r(),e.exports.default=r()}(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,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(t,n){return t+(i[n]||e[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.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}))}(jrt);var Urt=jrt.exports;function Xrt(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 Lrt(){return Lrt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lrt.apply(this,arguments)}function qrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wrt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Frt(e,t,n){return t&&Wrt(e.prototype,t),n&&Wrt(e,n),e}function Vrt(e){return Vrt="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},Vrt(e)}function Brt(e){return Brt="function"==typeof Symbol&&"symbol"===Vrt(Symbol.iterator)?function(e){return Vrt(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Vrt(e)},Brt(e)}function Zrt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yrt(e,t){return!t||"object"!==Brt(t)&&"function"!=typeof t?Zrt(e):t}function Grt(e){return Grt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Grt(e)}function Hrt(e,t){return Hrt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hrt(e,t)}function Krt(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&&Hrt(e,t)}function Jrt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eit(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function tit(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nit(e){return function(e){if(Array.isArray(e))return Bu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Zu(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 rit=function(e){return e===Object(e)?Object.keys(e):[]},iit=function(e){return e===Object(e)?Object.values(e):[]};function oit(e,t){var n=Object.assign({},e);return lit(e)&&lit(t)&&rit(t).forEach((function(r){lit(t[r])&&r in e?n[r]=oit(e[r],t[r]):Object.assign(n,ad({},r,t[r]))})),n}var ait=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return oit(e,t)}),e)},sit=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},lit=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},cit=function(e){return(e||[]).filter(Boolean)},uit=function(e){return"&"===e[0]},dit=function(e){return!uit(e)},pit=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},fit=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=rit(e),r={},i=0,o=n.length;i<o;i+=1){var a=n[i],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(r[a]=e[a])}return r},hit=function(e,t){for(var n=t.map(pit),r=rit(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(pit(s))>=0)&&(i[s]=e[s])}return i},mit=function e(t,n){for(var r=ait.apply(void 0,[{},sit(t,n)].concat(nit(iit(hit(t,n))))),i=rit(r).filter(uit),o=0,a=i.length;o<a;o+=1){var s=i[o],l=e(r[s],n);n.indexOf(s)>=0?(delete r[s],r=ait({},r,l)):r[s]=l}return r};function git(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?git(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):git(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vit=["animationName"],yit=function(e){var t=e.style,n=e.className;return Oit(Oit({},t?{style:fit(t,vit)}:{}),n?{className:n}:{})},bit=s(yit);bit.Provider;var wit=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return rit(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},xit={},_it=function(e){return function(t,n){var r,i=n||xit;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=wit(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function kit(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kit(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pit=function(e){var t=e&&rit(e)[0];return t&&t.split("__")[0].split("--")[0]},Cit=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(nit(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),nit(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(nit(i)):i}};function $it(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yit,o=n||Pit(r)||(null==t?void 0:t.className),a="function"==typeof t?t:_it((function(e,n){var a=wit(e);_Ee(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),_Ee(!n||lit(n),"Optional second parameter must be a plain object.");var s=a.filter(uit),l=a.filter(dit),c=l.length>0?function(e){return iit(hit(e,l))}:function(e){return[e]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(mit(e,s))},d=Cit(o,l,s);return $it(Sit(Sit(Sit({},(t||n)&&{style:ait.apply(void 0,[{}].concat(nit(u(n)),nit(u(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=Sit({},"function"==typeof t?t:{style:t}),l=nit(new Set([].concat(nit(s.className?s.className.split(" "):[]),nit(o?o.split(" "):[])))),c=r?cit(l.map((function(e){return r[e]}))):l,u=i(Sit(Sit({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,u),a}function Eit(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eit(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qit=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 Tit(Tit(Tit({},e),"function"==typeof t?t:{}),{},{style:Tit(Tit({},e.style),"function"==typeof t?t.style:t)})}),{})},Iit=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(bit);return l((function(){return $it({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},Dit=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},Ait="__id__",Rit="__display__",zit=function(e,t){_Ee("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(Rit),r=e.indexOf(Ait);return n<0&&(n=null),r<0&&(r=null),_Ee(null!==n||null!==r,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===t&&r<=n||"display"===t&&n<=r?0:1:0},Nit=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=eit(t.exec(e.toString()),3),r=n[1],i=n[2];return _Ee(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},Mit=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},jit=function(){},Uit=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:jit,o=Nit(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=Mit(t)+1,n})),l=0,c=0;null!==(r=o.exec(e));){var u=s.find((function(e){return!!r[e]})),d=s.indexOf(u),p=t[d],f=p.markup,h=p.displayTransform,m=u+zit(f,"id"),g=u+zit(f,"display"),O=r[m],v=h(O,r[g]),y=e.substring(l,r.index);i(y,l,c),c+=y.length,n(r[0],r.index,c,O,v,d,l),c+=v.length,l=o.lastIndex}l<e.length&&i(e.substring(l),l,c)},Xit=function(e,t){var n="";return Uit(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},Lit=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,l,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return Uit(e,t,a,o),void 0===r?e.length:r},qit=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},Wit=function(e,t){var n=[];return Uit(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},Fit=function(e,t){return"".concat(e,"-").concat(t)},Vit=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},Bit=function(e){var t=Dit(e),n=e[e.indexOf(Rit)+Rit.length],r=e[e.indexOf(Ait)+Ait.length];return new RegExp(t.replace(Rit,"([^".concat(Dit(n||""),"]+?)")).replace(Ait,"([^".concat(Dit(r||""),"]+?)")))},Zit=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?Yit(r,n):Bit(n),displayTransform:i||function(e,t){return t||e}}}))},Yit=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=Mit(t);return _Ee(n===r,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(r,")")),e},Git=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],Hit=function(e){return function(e){var t=e;return Git.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},Kit=function(e,t,n){return n?Hit(e).indexOf(Hit(t)):e.toLowerCase().indexOf(t.toLowerCase())},Jit=function(e){return"number"==typeof e},eot=function(e){return e===Object(e)?Object.keys(e):[]},tot=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);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 not(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,l=tit(r,["style","className","classNames"]),c=t?t(l):void 0,u=Iit(e,{style:i,className:a,classNames:s},c);return o.createElement(n,Lrt({},l,{style:u}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var rot=function(e){function t(){var e;return qrt(this,t),Jrt(Zrt(e=Yrt(this,Grt(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return Krt(t,O),Frt(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 r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,l=n.children,c=n.containerRef,u=Zit(l);r===i&&(e=Lit(a,u,r,"START"));var d=[],p={},f=d,h=0;return Uit(a,u,(function(e,n,r,i,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(p,i);f.push(t.getMentionComponentForMatch(i,o,a,l))}),(function(n,r,i){if(Jit(e)&&e>=r&&e<=r+n.length){var o=e-r;f.push(t.renderSubstring(n.substring(0,o),h)),f=[t.renderSubstring(n.substring(o),h)]}else f.push(t.renderSubstring(n,h));h++})),f.push(" "),f!==d&&d.push(this.renderHighlighterCaret(f)),o.createElement("div",Lrt({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",Lrt({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",Lrt({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();Jrt(rot,"propTypes",{selectionStart:b0.number,selectionEnd:b0.number,value:b0.string.isRequired,onCaretPositionChange:b0.func.isRequired,containerRef:b0.oneOfType([b0.func,b0.shape({current:"undefined"==typeof Element?b0.any:b0.instanceOf(Element)})]),children:b0.oneOfType([b0.element,b0.arrayOf(b0.element)]).isRequired}),Jrt(rot,"defaultProps",{value:""});var iot=not({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}}))(rot),oot=function(e){function t(){return qrt(this,t),Yrt(this,Grt(t).apply(this,arguments))}return Krt(t,O),Frt(t,[{key:"render",value:function(){var e=tot(this.props,["style","classNames","className"],eot(t.propTypes));return o.createElement("li",Lrt({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,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,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,r=t.query,i=t.style,a=Kit(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();Jrt(oot,"propTypes",{id:b0.string.isRequired,query:b0.string.isRequired,index:b0.number.isRequired,ignoreAccents:b0.bool,suggestion:b0.oneOfType([b0.string,b0.shape({id:b0.oneOfType([b0.string,b0.number]).isRequired,display:b0.string})]).isRequired,renderSuggestion:b0.func,focused:b0.bool});var aot=not({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(oot);function sot(){var e=Iit(),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 lot=function(e){function t(){var e,n;qrt(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jrt(Zrt(n=Yrt(this,(e=Grt(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),Jrt(Zrt(n),"select",(function(e,t){n.props.onSelect(e,t)})),Jrt(Zrt(n),"setUlElement",(function(e){n.ulElement=e})),n}return Krt(t,O),Frt(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,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,l=e.position,c=e.left,u=e.top;return r?o.createElement("div",Lrt({},Qit({position:l||"absolute",left:c,top:u},i),{onMouseDown:a,ref:s}),o.createElement("ul",Lrt({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(Xrt(t),Xrt(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(aot,{style:this.props.style("item"),key:"".concat(a,"-").concat(cot(e)),id:Fit(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:l,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(sot,{style:this.props.style("loadingIndicator")})}}]),t}();Jrt(lot,"propTypes",{id:b0.string.isRequired,suggestions:b0.object.isRequired,a11ySuggestionsListLabel:b0.string,focusIndex:b0.number,position:b0.string,left:b0.number,top:b0.number,scrollFocusedIntoView:b0.bool,isLoading:b0.bool,isOpened:b0.bool.isRequired,onSelect:b0.func,ignoreAccents:b0.bool,containerRef:b0.oneOfType([b0.func,b0.shape({current:"undefined"==typeof Element?b0.any:b0.instanceOf(Element)})]),children:b0.oneOfType([b0.element,b0.arrayOf(b0.element)]).isRequired}),Jrt(lot,"defaultProps",{suggestions:{},onSelect:function(){return null}});var cot=function(e){return"string"==typeof e?e:e.id},uot=not({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(lot);function dot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dot(n,!0).forEach((function(t){Jrt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fot={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},hot=!1,mot={singleLine:b0.bool,allowSpaceInQuery:b0.bool,allowSuggestionsAboveCursor:b0.bool,forceSuggestionsAboveCursor:b0.bool,ignoreAccents:b0.bool,a11ySuggestionsListLabel:b0.string,value:b0.string,onKeyDown:b0.func,onSelect:b0.func,onBlur:b0.func,onChange:b0.func,suggestionsPortalHost:"undefined"==typeof Element?b0.any:b0.PropTypes.instanceOf(Element),inputRef:b0.oneOfType([b0.func,b0.shape({current:"undefined"==typeof Element?b0.any:b0.instanceOf(Element)})]),children:b0.oneOfType([b0.element,b0.arrayOf(b0.element)]).isRequired},got=function(e){function t(e){var n;return qrt(this,t),Jrt(Zrt(n=Yrt(this,Grt(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),Jrt(Zrt(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return pot({},tot(n.props,["style","classNames","className"],eot(mot)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{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":Fit(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),Jrt(Zrt(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),Jrt(Zrt(n),"renderInput",(function(e){return o.createElement("input",Lrt({type:"text",ref:n.setInputRef},e))})),Jrt(Zrt(n),"renderTextarea",(function(e){return o.createElement("textarea",Lrt({ref:n.setInputRef},e))})),Jrt(Zrt(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),Jrt(Zrt(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),Jrt(Zrt(n),"renderSuggestionsOverlay",(function(){if(!Jit(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(uot,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,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?Xe.createPortal(a,n.props.suggestionsPortalHost):a})),Jrt(Zrt(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,l=i.value,c=i.style;return o.createElement(iot,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:l,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),Jrt(Zrt(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),Jrt(Zrt(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),Jrt(Zrt(n),"getPlainText",(function(){return Xit(n.props.value||"",Zit(n.props.children))})),Jrt(Zrt(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),Jrt(Zrt(n),"handleChange",(function(e){if(hot=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=Zit(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=Xit(e,r),l=s.length-t.length;"undefined"===i&&(i=a+l),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),u=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+l));var p=Lit(e,r,u,"START"),f=Lit(e,r,d,"END"),h=Lit(e,r,u,"NULL"),m=Lit(e,r,d,"NULL"),g=null===h||null===m,O=qit(e,p,f,c);if(!g){var v=Xit(O,r);if(v!==t){for(u=0;t[u]===v[u];)u++;c=t.slice(u,a),d=s.lastIndexOf(t.substring(a)),p=Lit(e,r,u,"START"),f=Lit(e,r,d,"END"),O=qit(e,p,f,c)}}return O}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=Xit(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,c=function(e,t,n){var r=n,i=!1;if(Uit(e,t,(function(e,t,o,a,s,l,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var u=Wit(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,u)}})),Jrt(Zrt(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!hot){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)}})),Jrt(Zrt(n),"handleKeyDown",(function(e){if(0!==Vit(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(fot).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case fot.ESC:return void n.clearSuggestions();case fot.DOWN:return void n.shiftFocus(1);case fot.UP:return void n.shiftFocus(-1);case fot.RETURN:case fot.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),Jrt(Zrt(n),"shiftFocus",(function(e){var t=Vit(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),Jrt(Zrt(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(Xrt(e),Xrt(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),Jrt(Zrt(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)})),Jrt(Zrt(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),Jrt(Zrt(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),Jrt(Zrt(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),c=Oot(s,"font-size"),u={left:l.left+e.left,top:l.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var p={};if(r){p.position="fixed";var f=u.left,h=u.top;f-=Oot(a,"margin-left"),h-=Oot(a,"margin-top"),f-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=f,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?p.top=Math.max(0,h-a.offsetHeight-c):p.top=h}else{var g=e.left-s.scrollLeft,O=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,i&&u.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-c-s.scrollTop?p.top=O-a.offsetHeight-c:p.top=O}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),Jrt(Zrt(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),Jrt(Zrt(n),"handleCompositionStart",(function(){hot=!0})),Jrt(Zrt(n),"handleCompositionEnd",(function(){hot=!1})),Jrt(Zrt(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),Jrt(Zrt(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=Zit(i),s=Lit(r,a,t,"NULL");if(null!==s){var l=function(e,t){var n=Wit(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(l,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=Dit(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=l+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),Jrt(Zrt(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),Jrt(Zrt(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,l=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;Kit(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,l),u=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));u instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,u)})),Jrt(Zrt(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=pot({},n.suggestions,Jrt({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,c=Vit(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=c?Math.max(c-1,0):l})}})),Jrt(Zrt(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,l=t.plainTextValue,c=n.props.value||"",u=Zit(n.props.children),d=h.toArray(n.props.children)[o].props,p=d.markup,f=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,O=Lit(c,u,a,"START"),v=O+s-a,y=function(e,t,n){return e.replace(Ait,t).replace(Rit,n)}(p,r,i);m&&(y+=" ");var b=qit(c,O,v,y);n.inputElement.focus();var w=f(r,i);m&&(w+=" ");var x=a+w.length;n.setState({selectionStart:x,selectionEnd:x,setSelectionAfterMentionChange:!0});var _={target:{value:b}},k=Wit(b,u),S=qit(l,a,s,w);n.executeOnChange(_,b,S,k),g&&g(r,i,O,v),n.clearSuggestions()})),Jrt(Zrt(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),Jrt(Zrt(n),"isOpened",(function(){return Jit(n.state.selectionStart)&&(0!==Vit(n.state.suggestions)||n.isLoading())})),Jrt(Zrt(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(Zrt(n)),n.handleCut=n.handleCut.bind(Zrt(n)),n.handlePaste=n.handlePaste.bind(Zrt(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return Krt(t,o.Component),Frt(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",Lrt({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,r=t.selectionEnd,i=this.props,o=i.value,a=i.children,s=Zit(a),l=Lit(o,s,n,"START"),c=Lit(o,s,r,"END"),u=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=qit(o,l,c,u||d).replace(/\r/g,""),f=Xit(p,s),h={target:pot({},e.target,{value:p})};this.executeOnChange(h,p,f,Wit(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=Zit(o),l=Lit(a,s,n,"START"),c=Lit(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(l,c))}},{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,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=Zit(o),l=Lit(a,s,n,"START"),c=Lit(a,s,r,"END"),u=[a.slice(0,l),a.slice(c)].join(""),d=Xit(u,s),p={target:pot({},e.target,{value:d})};this.executeOnChange(p,u,d,Wit(a,s))}}}]),t}();Jrt(got,"propTypes",mot),Jrt(got,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Oot=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},vot=not({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:pot({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}}))(got),yot={fontWeight:"inherit"},bot=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=Iit(yot,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};bot.propTypes={onAdd:b0.func,onRemove:b0.func,renderSuggestion:b0.func,trigger:b0.oneOfType([b0.string,b0.instanceOf(RegExp)]),markup:b0.string,displayTransform:b0.func,allowSpaceInQuery:b0.bool,isLoading:b0.bool},bot.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 wot=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 xot(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=wot.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var _ot=[".DS_Store","Thumbs.db"];function kot(e){return Va(this,void 0,void 0,(function(){return Ba(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?Pot(e.dataTransfer,e.type):Sot(e))];var n}))}))}function Sot(e){return(null!==e.target&&e.target.files?$ot(e.target.files):[]).map((function(e){return xot(e)}))}function Pot(e,t){return Va(this,void 0,void 0,(function(){var n;return Ba(this,(function(r){switch(r.label){case 0:return e.items?(n=$ot(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(Eot))]):[3,2];case 1:return[2,Cot(Tot(r.sent()))];case 2:return[2,Cot($ot(e.files).map((function(e){return xot(e)})))]}}))}))}function Cot(e){return e.filter((function(e){return-1===_ot.indexOf(e.name)}))}function $ot(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function Eot(e){if("function"!=typeof e.webkitGetAsEntry)return Qot(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Dot(t):Qot(e)}function Tot(e){return e.reduce((function(e,t){return Ha(e,Array.isArray(t)?Tot(t):[t])}),[])}function Qot(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=xot(t);return Promise.resolve(n)}function Iot(e){return Va(this,void 0,void 0,(function(){return Ba(this,(function(t){return[2,e.isDirectory?Dot(e):Aot(e)]}))}))}function Dot(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return Va(o,void 0,void 0,(function(){var o,a,s;return Ba(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(r)];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(Iot)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Aot(e){return Va(this,void 0,void 0,(function(){return Ba(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=xot(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function Rot(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}function zot(e,t,n){if(Not(e.size)){if(Not(t)&&Not(n))return e.size>=t&&e.size<=n;if(Not(t))return e.size>=t;if(Not(n))return e.size<=n}return!0}function Not(e){return null!=e}function Mot(e,t,n,r){return e.every((function(e){return Rot(e,t)&&zot(e,n,r)}))}function jot(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Uot(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 Xot(e){e.preventDefault()}function Lot(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function qot(e){return-1!==e.indexOf("Edge/")}function Wot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Lot(e)||qot(e)}function Fot(){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,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!jot(e)&&t&&t.apply(void 0,[e].concat(r)),jot(e)}))}}function Vot(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 Bot(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=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Zot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zot(n,!0).forEach((function(t){Got(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Got(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hot(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Kot=w((function(e,t){var n=e.children,r=tat(Hot(e,["children"])),i=r.open,a=Hot(r,["open"]);return k(t,(function(){return{open:i}}),[i]),o.createElement(_,null,n(Yot({},a,{open:i})))}));Kot.displayName="Dropzone",Kot.propTypes={children:b0.func,accept:b0.oneOfType([b0.string,b0.arrayOf(b0.string)]),multiple:b0.bool,preventDropOnDocument:b0.bool,noClick:b0.bool,noKeyboard:b0.bool,noDrag:b0.bool,noDragEventsBubbling:b0.bool,minSize:b0.number,maxSize:b0.number,disabled:b0.bool,getFilesFromEvent:b0.func,onFileDialogCancel:b0.func,onDragEnter:b0.func,onDragLeave:b0.func,onDragOver:b0.func,onDrop:b0.func,onDropAccepted:b0.func,onDropRejected:b0.func};var Jot,eat={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function tat(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,i=e.getFilesFromEvent,o=void 0===i?kot:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,O=e.onDragEnter,v=e.onDragLeave,y=e.onDragOver,b=e.onDrop,w=e.onDropAccepted,x=e.onDropRejected,_=e.onFileDialogCancel,k=e.preventDropOnDocument,S=void 0===k||k,P=e.noClick,C=void 0!==P&&P,$=e.noKeyboard,E=void 0!==$&&$,T=e.noDrag,Q=void 0!==T&&T,I=e.noDragEventsBubbling,D=void 0!==I&&I,A=c(null),R=c(null),z=f(nat,eat),N=Bot(z,2),M=N[0],j=N[1],U=M.isFocused,X=M.isFileDialogActive,L=M.draggedFiles,q=p((function(){R.current&&(j({type:"openDialog"}),R.current.value=null,R.current.click())}),[j]),W=function(){X&&setTimeout((function(){R.current&&(R.current.files.length||(j({type:"closeDialog"}),"function"==typeof _&&_()))}),300)};u((function(){return window.addEventListener("focus",W,!1),function(){window.removeEventListener("focus",W,!1)}}),[R,X,_]);var F=p((function(e){A.current&&A.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),q()))}),[A,R]),V=p((function(){j({type:"focus"})}),[]),B=p((function(){j({type:"blur"})}),[]),Z=p((function(){C||(Wot()?setTimeout(q,0):q())}),[R,C]),Y=c([]),G=function(e){A.current&&A.current.contains(e.target)||(e.preventDefault(),Y.current=[])};u((function(){return S&&(document.addEventListener("dragover",Xot,!1),document.addEventListener("drop",G,!1)),function(){S&&(document.removeEventListener("dragover",Xot),document.removeEventListener("drop",G))}}),[A,S]);var H=p((function(e){e.preventDefault(),e.persist(),ie(e),-1===Y.current.indexOf(e.target)&&(Y.current=[].concat(Vot(Y.current),[e.target])),Uot(e)&&Promise.resolve(o(e)).then((function(t){jot(e)&&!D||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),O&&O(e))}))}),[o,O,D]),K=p((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Uot(e)&&y&&y(e),!1}),[y,D]),J=p((function(e){e.preventDefault(),e.persist(),ie(e);var t=Y.current.filter((function(t){return t!==e.target&&A.current&&A.current.contains(t)}));Y.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Uot(e)&&v&&v(e))}),[A,v,D]),ee=p((function(e){e.preventDefault(),e.persist(),ie(e),Y.current=[],j({type:"reset"}),Uot(e)&&Promise.resolve(o(e)).then((function(n){if(!jot(e)||D){var r=[],i=[];n.forEach((function(e){Rot(e,t)&&zot(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,Vot(r.splice(0))),j({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),b&&b(r,i,e),i.length>0&&x&&x(i,e),r.length>0&&w&&w(r,e)}}))}),[g,t,h,s,o,b,w,x,D]),te=function(e){return r?null:e},ne=function(e){return E?null:te(e)},re=function(e){return Q?null:te(e)},ie=function(e){D&&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,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,p=Hot(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Yot(Got({onKeyDown:ne(Fot(i,F)),onFocus:ne(Fot(o,V)),onBlur:ne(Fot(a,B)),onClick:te(Fot(s,Z)),onDragEnter:re(Fot(l,H)),onDragOver:re(Fot(c,K)),onDragLeave:re(Fot(u,J)),onDrop:re(Fot(d,ee))},n,A),r||E?{}:{tabIndex:0},{},p)}}),[A,F,V,B,Z,H,K,J,ee,E,Q,r]),ae=p((function(e){e.stopPropagation()}),[]),se=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=Hot(e,["refKey","onChange","onClick"]),s=Got({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(Fot(i,ee)),onClick:te(Fot(o,ae)),autoComplete:"off",tabIndex:-1},r,R);return Yot({},s,{},a)}}),[R,t,g,ee,r]),le=L.length,ce=g||le<=1,ue=le>0&&Mot(L,t,h,s),de=le>0&&(!ue||!ce);return Yot({},M,{isDragAccept:ue,isDragReject:de,isFocused:U&&!r,getRootProps:oe,getInputProps:se,rootRef:A,inputRef:R,open:te(q)})}function nat(e,t){switch(t.type){case"focus":return Yot({},e,{isFocused:!0});case"blur":return Yot({},e,{isFocused:!1});case"openDialog":return Yot({},e,{isFileDialogActive:!0});case"closeDialog":return Yot({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return Yot({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return Yot({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Yot({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(Jot||(Jot={}));var rat={exports:{}},iat=(rat.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:B(e)}function r(e){return s(e)?e:Z(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!c(e)?e:G(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,O=1<<g,v=O-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function P(e){return void 0===e.size&&(e.size=e.__iterate($)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function $(){return!0}function E(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function Q(e,t){return I(e,t,t)}function I(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,A=1,R=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",M=z||N;function j(e){this.next=e}function U(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function X(){return{value:void 0,done:!0}}function L(e){return!!F(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=F(e);return t&&t.call(e)}function F(e){var t=e&&(z&&e[z]||e[N]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function B(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Z(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function G(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=D,j.VALUES=A,j.ENTRIES=R,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[M]=function(){return this},t(B,n),B.of=function(){return B(arguments)},B.prototype.toSeq=function(){return this},B.prototype.toString=function(){return this.__toString("Seq {","}")},B.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},B.prototype.__iterate=function(e,t){return de(this,e,t,!0)},B.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(Z,B),Z.prototype.toKeyedSeq=function(){return this},t(Y,B),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(G,B),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},B.isSeq=oe,B.Keyed=Z,B.Set=G,B.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new ie(e).fromEntrySeq():L(e)?new re(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=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(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 ue(e){return V(e)?new te(e):q(e)?new ie(e):L(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new j((function(){var e=i[n?o-a:a];return a++>o?X():U(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Z(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?Z(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Oe(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 ve(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)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&Oe(i[1],e)&&(n||Oe(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,r){if(n?!e.has(t):i?!Oe(t,e.get(r,y)):!Oe(e.get(r,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(be(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 xe(){throw TypeError("Abstract")}function _e(){}function ke(){}function Se(){}B.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new j((function(){return i>r?X():U(e,i,n[t?r-i++:i++])}))},t(ne,Z),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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new j((function(){var a=r[t?i-o:o];return o++>i?X():U(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(q(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!q(n))return new j(X);var r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new j((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return U(e,i,r[i++])}))},t(ye,Y),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return Oe(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:new ye(this._value,Q(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return Oe(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return Oe(this._value,e)?this.size:-1},ye.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},ye.prototype.__iterator=function(e,t){var n=this,r=0;return new j((function(){return r<n.size?U(e,r++,n._value):X()}))},ye.prototype.equals=function(e){return e instanceof ye?Oe(this._value,e._value):ve(e)},t(we,Y),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return E(e,t,this.size)?this:(e=T(e,this.size),(t=Q(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new j((function(){var a=i;return i+=t?-r:r,o>n?X():U(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ve(this,e)},t(xe,n),t(_e,xe),t(ke,xe),t(Se,xe),xe.Keyed=_e,xe.Indexed=ke,xe.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function $e(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 Ce(n)}if("string"===t)return e.length>je?Ee(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Qe(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ee(e){var t=Le[e];return void 0===t&&(t=Te(e),Xe===Ue&&(Xe=0,Le={}),Xe++,Le[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function Qe(e){var t;if(ze&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=Ae(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Re.set(e,t);else{if(void 0!==Ie&&!1===Ie(e))throw new Error("Non-extensible objects are not allowed as keys.");if(De)Object.defineProperty(e,Me,{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[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ae(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,ze="function"==typeof WeakMap;ze&&(Re=new WeakMap);var Ne=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var je=16,Ue=255,Xe=0,Le={};function qe(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?it():Fe(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Be])}t(We,_e),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,y)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,xn(e),t,n);return r===y?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},We.prototype.merge=function(){return pt(this,void 0,arguments)},We.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return pt(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return Lt(dn(this,e))},We.prototype.sortBy=function(e,t){return Lt(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=Fe;var Ve,Be="@@__IMMUTABLE_MAP__@@",Ze=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ze);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return Ve||(Ve=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=x(b),a=x(w);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;i=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===y?e:(_(s),_(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ke(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Ge(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,$e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(O),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new He(e,o+1,a)}function pt(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],l=r(s);a(s)||(l=l.map((function(e){return fe(e)}))),i.push(l)}return mt(e,t,i)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):Oe(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return Oe(t,i)?t:i}}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 r=t?function(n,r){e.update(r,y,(function(e){return e===y?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===y,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}be(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?y:e.get(l,y),u=gt(c,t,n,r);return u===c?e:u===y?e.remove(l):(i?it():e).set(l,u)}function Ot(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function vt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function yt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function bt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ze[Be]=!0,Ze[m]=Ze.remove,Ze.removeIn=Ze.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ye.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===y,l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ye(e,f)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[Ot(o&i-1)].get(e+g,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===y)return this;var d=Ot(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,r,i,o,a);if(h===f)return this;if(!u&&h&&p.length>=xt)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,O=u?h?c:c^l:c|l,b=u?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=O,this.nodes=b,this):new Ge(e,O,b)},He.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=i===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<_t)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new He(e,p,h)},Ke.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=i===y;if(n!==this.keyHash)return s?this:(_(a),_(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return Oe(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=Oe(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(_(a),s?void _(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(_(o),lt(this,e,t,$e(r),[r,i])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},Ge.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return X()};var wt=O/4,xt=O/2,_t=O/4;function kt(e){var t=At();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(qe(r),r>0&&r<O?Dt(0,r,g,null,new $t(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&v]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):At()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Ut(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:jt(this,T(e,n),Q(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new j((function(){var t=r();return t===Qt?X():U(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Qt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function $t(e,t){this.array=e,this.ownerID=t}Ct[Pt]=!0,Ct[m]=Ct.remove,Ct.setIn=Ze.setIn,Ct.deleteIn=Ct.removeIn=Ze.removeIn,Ct.update=Ze.update,Ct.updateIn=Ze.updateIn,Ct.mergeIn=Ze.mergeIn,Ct.mergeDeepIn=Ze.mergeDeepIn,Ct.withMutations=Ze.withMutations,Ct.asMutable=Ze.asMutable,Ct.asImmutable=Ze.asImmutable,Ct.wasAltered=Ze.wasAltered,$t.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&v;if(r>=this.array.length)return new $t([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Nt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},$t.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&v;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Nt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Et,Tt,Qt={};function It(e,t){var n=e._origin,r=e._capacity,i=Xt(r),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===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>O&&(c=O),function(){if(l===c)return Qt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>O&&(u=O),function(){for(;;){if(s){var e=s();if(e!==Qt)return e;s=null}if(c===u)return Qt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function At(){return Et||(Et=Dt(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=Xt(e._capacity)?r=zt(r,e.__ownerID,0,t,n,o):i=zt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Dt(e._origin,e._capacity,e._level,i,r):e}function zt(e,t,n,r,i,o){var a,s=r>>>n&v,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=zt(c,t,n-g,r,i,o);return u===c?e:((a=Nt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(_(o),a=Nt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Nt(e,t){return t&&e&&t===e.ownerID?e:new $t(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Xt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new $t(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Xt(o),p=Xt(s);p>=1<<l+g;)c=new $t(c&&c.array.length?[c]:[],r),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new $t([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=Nt(c,r),O=l;O>g;O-=g){var y=d>>>O&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>g&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(u=0;c;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(u+=(1<<l)*b),l-=g,c=c.array[b]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,c,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Xt(e){return e<O?0:e-1>>>g<<g}function Lt(e){return null==e?Ft():qt(e)?e:Ft().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Fe(e)&&u(e)}function Wt(e,t,n,r){var i=Object.create(Lt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ft(){return Tt||(Tt=Wt(it(),At()))}function Vt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=O&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),r=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Wt(r,i)}function Bt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Ht(e){var t=yn(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=bn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new j((function(){var e=r.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===A?D:A,n)},t}function Kt(e,t,n){var r=yn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,y);return o===y?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(R,i);return new j((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return U(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=bn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=yn(e);return r&&(i.has=function(r){var i=e.get(r,y);return i!==y&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,y);return o!==y&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(R,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return U(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Lt():We()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=vn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),E(t,n,i))return e;var o=T(t,i),a=Q(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new j((function(){for(;a++<o;)i.next();if(++l>s)return X();var e=i.next();return r||t===A?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(R,i),s=!0;return new j((function(){if(!s)return X();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===R?e:U(r,l,c,e):(s=!1,X())}))},r}function an(e,t,n,r){var i=yn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(R,o),l=!0,c=0;return new j((function(){var e,o,u;do{if((e=s.next()).done)return r||i===A?e:U(i,c++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===R?e:U(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:U(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return X()}))},r}function cn(e,t,n){var r=vn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(A,r),a=0;return new j((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?U(n,a++,t):U(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=wn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Z(o):l(e)?Y(o):G(o)}function pn(e,t,n){if(t||(t=wn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=yn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(A,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),W(i?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?X():U(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}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 On(e){return qe(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?Z:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):B.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=W(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(n(e))}return t}function _n(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);Cn(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=We(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Lt,We),Lt.of=function(){return this(arguments)},Lt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Lt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Lt.prototype.set=function(e,t){return Vt(this,e,t)},Lt.prototype.remove=function(e){return Vt(this,e,y)},Lt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Lt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Lt.isOrderedMap=qt,Lt.prototype[h]=!0,Lt.prototype[m]=Lt.prototype.remove,t(Bt,Z),Bt.prototype.get=function(e,t){return this._iter.get(e,t)},Bt.prototype.has=function(e){return this._iter.has(e)},Bt.prototype.valueSeq=function(){return this._iter.valueSeq()},Bt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Bt.prototype.map=function(e,t){var n=this,r=Kt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Bt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?On(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Bt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(A,t),r=t?On(this):0;return new j((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Bt.prototype[h]=!0,t(Zt,Y),Zt.prototype.includes=function(e){return this._iter.includes(e)},Zt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t),r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value,t)}))},t(Yt,G),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,Z),Gt.prototype.entrySeq=function(){return this._iter.toSeq()},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Zt.prototype.cacheResult=Bt.prototype.cacheResult=Yt.prototype.cacheResult=Gt.prototype.cacheResult=bn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.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},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},_n.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)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=_n.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Pn(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach($n.bind(void 0,e))}catch(e){}}function $n(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function En(e){return null==e?zn():Tn(e)&&!u(e)?e:zn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ze.removeIn,kn.merge=Ze.merge,kn.mergeWith=Ze.mergeWith,kn.mergeIn=Ze.mergeIn,kn.mergeDeep=Ze.mergeDeep,kn.mergeDeepWith=Ze.mergeDeepWith,kn.mergeDeepIn=Ze.mergeDeepIn,kn.setIn=Ze.setIn,kn.update=Ze.update,kn.updateIn=Ze.updateIn,kn.withMutations=Ze.withMutations,kn.asMutable=Ze.asMutable,kn.asImmutable=Ze.asImmutable,t(En,Se),En.of=function(){return this(arguments)},En.fromKeys=function(e){return this(r(e).keySeq())},En.prototype.toString=function(){return this.__toString("Set {","}")},En.prototype.has=function(e){return this._map.has(e)},En.prototype.add=function(e){return An(this,this._map.set(e,!0))},En.prototype.remove=function(e){return An(this,this._map.remove(e))},En.prototype.clear=function(){return An(this,this._map.clear())},En.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])},En.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)}))}))},En.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)}))}))},En.prototype.merge=function(){return this.union.apply(this,arguments)},En.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},En.prototype.sort=function(e){return Nn(dn(this,e))},En.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},En.prototype.wasAltered=function(){return this._map.wasAltered()},En.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},En.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},En.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)},En.isSet=Tn;var Qn,In="@@__IMMUTABLE_SET__@@",Dn=En.prototype;function An(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(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Qn||(Qn=Rn(it()))}function Nn(e){return null==e?Ln():Mn(e)?e:Ln().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Ze.withMutations,Dn.asMutable=Ze.asMutable,Dn.asImmutable=Ze.asImmutable,Dn.__empty=zn,Dn.__make=Rn,t(Nn,En),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(r(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Mn;var jn,Un=Nn.prototype;function Xn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return jn||(jn=Xn(Ft()))}function qn(e){return null==e?Yn():Wn(e)?e:Yn().unshiftAll(e)}function Wn(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Ln,Un.__make=Xn,t(qn,ke),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Zn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Zn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(E(e,t,this.size))return this;var n=T(e,this.size);if(Q(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Zn(r,i)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Zn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new j((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return X()}))},qn.isStack=Wn;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Bn=qn.prototype;function Zn(e,t,n,r){var i=Object.create(Bn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Zn(0))}function Gn(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}Bn[Vn]=!0,Bn.withMutations=Ze.withMutations,Bn.asMutable=Ze.asMutable,Bn.asImmutable=Ze.asImmutable,Bn.wasAltered=Ze.wasAltered,n.Iterator=j,Gn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Zt(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 Bt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Lt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return En(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return Oe(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(D)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var r,i;return qe(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,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(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ve(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find($)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return Oe(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=xn(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,y):y)===y)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?nr(e):or)},minBy:function(e,t){return pn(this,t?nr(t):or,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(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[M]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=rr,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Gn(r,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return Oe(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return Oe(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Kn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr($e(e),$e(t))|0}:function(e,t){r=r+lr($e(e),$e(t))|0}:t?function(e){r=31*r+$e(e)|0}:function(e){r=r+$e(e)|0});return sr(i,r)}function sr(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Bt(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 r=this.slice(0,e);return mn(this,1===n?r:r.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=C(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=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[f]=!0,i.prototype[h]=!0,Gn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Gn(Z,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(ke,i.prototype),Gn(Se,o.prototype),{Iterable:n,Seq:B,Collection:xe,Map:We,OrderedMap:Lt,List:kt,Stack:qn,Set:En,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:Oe,fromJS:fe}}()).OrderedMap,oat={createFromArray:function(e){return iat(e.map((function(e){return[e.getKey(),e]})))}},aat=oat;var sat=rat.exports,lat=sat.Map,cat=sat.OrderedSet,uat=sat.Record,dat=cat(),pat={style:dat,entity:null},fat=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return hat;var t=lat({style:dat,entity:null}).merge(e),n=mat.get(t);if(n)return n;var i=new r(t);return mat=mat.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?cat(t):t,entity:Array.isArray(n)?cat(n):n})},r}(uat(pat)),hat=new fat,mat=lat([[lat(pat),hat]]);fat.EMPTY=hat;var gat=fat;var Oat=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}};var vat=gat,yat=Oat,bat=rat.exports,wat=bat.List,xat=bat.Map,_at=bat.OrderedSet,kat=bat.Record,Sat=bat.Repeat,Pat=_at(),Cat=kat({key:"",type:"unstyled",text:"",characterList:wat(),depth:0,data:xat()}),$at=function(e){var t,n;function r(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=wat(Sat(vat.EMPTY,n.length))),e}(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Pat},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){yat(this.getCharacterList(),Eat,e,t)},i.findEntityRanges=function(e,t){yat(this.getCharacterList(),Tat,e,t)},r}(Cat);function Eat(e,t){return e.getStyle()===t.getStyle()}function Tat(e,t){return e.getEntity()===t.getEntity()}var Qat=$at;var Iat=gat,Dat=Oat,Aat=rat.exports,Rat=Aat.List,zat=Aat.Map,Nat=Aat.OrderedSet,Mat=Aat.Record,jat=Aat.Repeat,Uat=Nat(),Xat={parent:null,characterList:Rat(),data:zat(),depth:0,key:"",text:"",type:"unstyled",children:Rat(),prevSibling:null,nextSibling:null},Lat=function(e,t){return e.getStyle()===t.getStyle()},qat=function(e,t){return e.getEntity()===t.getEntity()},Wat=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Rat(jat(Iat.EMPTY,n.length))),e},Fat=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xat;return e.call(this,Wat(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Uat},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){Dat(this.getCharacterList(),Lat,e,t)},i.findEntityRanges=function(e,t){Dat(this.getCharacterList(),qat,e,t)},r}(Mat(Xat)),Vat=Fat,Bat=gat,Zat=rat.exports.Map;function Yat(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(Zat([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=l):(i=t===o?a:0,c=t===s?l:e.getLength());for(var u,d=e.getCharacterList();i<c;)u=d.get(i),d=d.set(i,r?Bat.applyStyle(u,n):Bat.removeStyle(u,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var Gat={add:function(e,t,n){return Yat(e,t,n,!0)},remove:function(e,t,n){return Yat(e,t,n,!1)}},Hat=gat;var Kat=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,Hat.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},Jat=Kat,est=rat.exports;var tst=function(e,t,n){var r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=r.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(est.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,l=t===a?s:e.getLength();return Jat(e,r,l,n)}));return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})},nst={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,l=null,c=null,u=0;u<o.length;u++){if(e<(a=s+o[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=r+n.length,p=l===r,f=c===d;return(!p&&f||p&&!f)&&("forward"===i?c!==d&&c++:l!==r&&l--),{start:l,end:c}}},rst="production"!==Ns.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var ist=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(rst(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(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},ost=ist;var ast=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?ost(!1,"Entity key not found in this range."):ost(!1)),n},sst=nst,lst=ast,cst=ist;function ust(e,t,n,r,i,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),c=e.__get(i).getMutability(),u=a?s:l;if("MUTABLE"===c)return n;var d=lst(t,i).filter((function(e){return u<=e.end&&u>=e.start}));1!=d.length&&("production"!==Ns.env.NODE_ENV?cst(!1,"There should only be one entity range within this removal range."):cst(!1));var p=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var f=sst.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,r);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var dst=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return r;var c=r;if(s&&s===l)c=ust(e,t,c,i,s,!0,!0);else if(s&&l){var u=ust(e,t,c,i,s,!1,!0),d=ust(e,n,c,i,l,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=ust(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var f=ust(e,n,c,i,l,!1,!1);c=c.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return c},pst={},fst=Math.pow(2,24);var hst=function(){for(var e;void 0===e||pst.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*fst).toString(32);return pst[e]=!0,e},mst=Vat,gst=hst,Ost=rat.exports.OrderedMap,vst=function(e){return e.first()instanceof mst?function(e){var t,n={};return Ost(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),l=r.getChildKeys(),c=r.getParentKey(),u=gst();if(n[o]=u,a&&(e.get(a)?e.setIn([a,"prevSibling"],u):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],u):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),u))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],u),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],u):e.setIn([o,"children"],r.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 Ost(e.toArray().map((function(e){var t=gst();return[t,e.set("key",t)]})))}(e)},yst=gat,bst=Oat,wst=ist;function xst(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,c=function(e,t,n){var r;return bst(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&("production"!==Ns.env.NODE_ENV?wst(!1,"Removal range must exist within character list."):wst(!1)),r}(r,s,n),u=c.start,d=c.end;u<d;)l=r.get(u),r=r.set(u,yst.applyEntity(l,null)),u++;return t.set("characterList",r)}return t}var _st=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=xst(r,s,a);l!==s&&(i[o]=l);var c=t.getEndKey(),u=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var p=xst(r,d,u);return p!==d&&(i[c]=p),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},kst=vst,Sst=_st,Pst=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=Sst(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),c=s.indexOf(i)+1;return kst(a.slice(l,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var Cst=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r},$st=aat,Est=Vat,Tst=Cst,Qst=ist,Ist=vst,Dst=rat.exports.List,Ast=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),l=s.getText(),c=s.getCharacterList(),u=i,d=o+r.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=r.getData()}var f=s.getType();l&&"unstyled"===f&&(f=r.getType());var h=s.merge({text:l.slice(0,o)+r.getText()+l.slice(o),characterList:Tst(c,r.getCharacterList(),o),type:f,data:p});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},Rst=function(e,t,n,r,i,o){var a=n.first()instanceof Est,s=[],l=r.size,c=n.get(i),u=r.first(),d=r.last(),p=d.getLength(),f=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.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,r)),r.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,r))):s.push(e)}));var m=$st.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=l[l.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var u=e.get(s).getChildKeys(),d=u.indexOf(i)+1,p=u.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],Dst(p))}}))}(m,0,c,u)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},zst=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ns.env.NODE_ENV?Qst(!1,"`insertFragment` should only be called with a collapsed selection state."):Qst(!1));var i=e.getBlockMap(),o=Ist(n),a=t.getStartKey(),s=t.getStartOffset(),l=i.get(a);return l instanceof Est&&(l.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?Qst(!1,"`insertFragment` should not be called when a container node is selected."):Qst(!1))),1===o.size?Ast(e,t,i,o.first(),a,s,r):Rst(e,t,i,o,a,s)},Nst=Cst,Mst=ist,jst=rat.exports.Repeat;var Ust=function(e,t,n,r){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?Mst(!1,"`insertText` should only be called with a collapsed range."):Mst(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),c=l.getText(),u=l.merge({text:c.slice(0,s)+n+c.slice(s,l.getLength()),characterList:Nst(l.getCharacterList(),jst(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,u),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},Xst=rat.exports.Map;var Lst=function(e,t,n){var r=t.getStartKey(),i=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===i})).concat(Xst([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},qst=Vat,Wst=function(e,t){if(!(e instanceof qst))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var i=t.get(r);i&&!i.getNextSiblingKey();){var o=i.getParentKey();i=o?t.get(o):null}return i?i.getNextSiblingKey():null},Fst=Vat,Vst=Wst,Bst=rat.exports;Bst.List;var Zst=Bst.Map,Yst=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},Gst=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},Hst=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},Kst=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},Jst=function(e,t,n,r){return e.withMutations((function(i){if(Yst(t.getKey(),i,(function(e){return e.merge({nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})})),Yst(n.getKey(),i,(function(e){return e.merge({nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})})),Gst(t.getKey(),r).forEach((function(e){return Yst(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})}))})),Yst(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),Yst(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:Hst(e,i,r)})})),Yst(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:Kst(e,i,r)})})),Yst(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),Gst(n.getKey(),r).forEach((function(e){Yst(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=Vst(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?Vst(i,t):null}return n}(n,r).forEach((function(e){return Yst(e,i,(function(e){return e.merge({nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();Yst(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),Yst(o,i,(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){Yst(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);Yst(s,i,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}Yst(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},elt=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 r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e},tlt=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=r.get(i),c=r.get(a),u=l instanceof Fst,d=[];if(u){var p=c.getChildKeys(),f=Gst(a,r);c.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(Gst(Vst(c,r),r))}n=l===c?elt(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=u&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?Zst([[i,null]]):r.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(Zst([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return u&&l!==c&&(g=Jst(g,l,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},nlt=Vat,rlt=hst,ilt=rat.exports,olt=ist,alt=Lst,slt=ilt.List,llt=ilt.Map,clt=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},ult=function(e,t){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?olt(!1,"Selection range must be collapsed."):olt(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),i=r.get(n),o=i.getText();if(!o){var a=i.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return alt(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=i.getCharacterList(),c=rlt(),u=i instanceof nlt,d=i.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:c,text:o.slice(s),characterList:l.slice(s),data:llt()}),f=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=f.concat([[n,d],[c,p]],h).toOrderedMap();return u&&(i.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?olt(!1,"ContentBlockNode must not have children"):olt(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();clt(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:slt(o)})})),clt(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),clt(r,e,(function(e){return e.merge({nextSibling:i})})),clt(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},dlt=gat,plt=Gat,flt=tst,hlt=dst,mlt=Pst,glt=zst,Olt=Ust,vlt=ist,ylt=Lst,blt=_st,wlt=tlt,xlt=ult,_lt=rat.exports.OrderedSet,klt={replaceText:function(e,t,n,r,i){var o=blt(e,t),a=wlt(o,t),s=dlt.create({style:r||_lt(),entity:i||null});return Olt(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Ns.env.NODE_ENV?vlt(!1,"Target range must be collapsed for `insertText`."):vlt(!1)),klt.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=mlt(e,t),i=klt.removeRange(e,t,"backward");return klt.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=blt(e,t),o=wlt(i,t);return glt(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(s),u=a.getEntityAt(l-1);if(r===i&&c&&c===u){var d=hlt(e.getEntityMap(),o,a,t,n);return wlt(e,d)}var p=blt(e,t);return wlt(p,t)},splitBlock:function(e,t){var n=blt(e,t),r=wlt(n,t);return xlt(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return plt.add(e,t,n)},removeInlineStyle:function(e,t,n){return plt.remove(e,t,n)},setBlockType:function(e,t,n){return ylt(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return ylt(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return ylt(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=blt(e,t);return flt(r,t,n)}},Slt=klt;var Plt=function(e){return Object.keys(e).map((function(t){return e[t]}))};function Clt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $lt=Oat,Elt=Plt,Tlt=rat.exports,Qlt=Tlt.List,Ilt=Tlt.Repeat,Dlt=Tlt.Record,Alt=function(){return!0},Rlt=Dlt({start:null,end:null}),zlt=Dlt({start:null,end:null,decoratorKey:null,leaves:null}),Nlt={generate:function(e,t,n){var r=t.getLength();if(!r)return Qlt.of(new zlt({start:0,end:0,decoratorKey:null,leaves:Qlt.of(new Rlt({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):Qlt(Ilt(null,r)),a=t.getCharacterList();return $lt(o,jlt,Alt,(function(e,t){i.push(new zlt({start:e,end:t,decoratorKey:o.get(e),leaves:Mlt(a.slice(e,t).toList(),e)}))})),Qlt(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new zlt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Clt(e,t,n[t])}))}return e}({},n,{leaves:null!=t?Qlt(Array.isArray(t)?t:Elt(t)).map((function(e){return Rlt(e)})):null}))}};function Mlt(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return $lt(r,jlt,Alt,(function(e,r){n.push(new Rlt({start:e+t,end:r+t}))})),Qlt(n)}function jlt(e,t){return e===t}var Ult=Nlt;var Xlt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,rat.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Llt=Xlt;var qlt=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 Wlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Flt=Llt,Vlt=ist,Blt=qlt,Zlt=(0,rat.exports.Map)(),Ylt=Blt();function Glt(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var Hlt={getLastCreatedEntityKey:function(){return Glt("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Hlt.__getLastCreatedEntityKey()},create:function(e,t,n){return Glt("DraftEntity.create","contentState.createEntity"),Hlt.__create(e,t,n)},add:function(e){return Glt("DraftEntity.add","contentState.addEntity"),Hlt.__add(e)},get:function(e){return Glt("DraftEntity.get","contentState.getEntity"),Hlt.__get(e)},__getAll:function(){return Zlt},__loadWithEntities:function(e){Zlt=e,Ylt=Blt()},mergeData:function(e,t){return Glt("DraftEntity.mergeData","contentState.mergeEntityData"),Hlt.__mergeData(e,t)},replaceData:function(e,t){return Glt("DraftEntity.replaceData","contentState.replaceEntityData"),Hlt.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return Ylt},__create:function(e,t,n){return Hlt.__add(new Flt({type:e,mutability:t,data:n||{}}))},__add:function(e){return Ylt=Blt(),Zlt=Zlt.set(Ylt,e),Ylt},__get:function(e){var t=Zlt.get(e);return t||("production"!==Ns.env.NODE_ENV?Vlt(!1,"Unknown DraftEntity key: %s.",e):Vlt(!1)),t},__mergeData:function(e,t){var n=Hlt.__get(e),r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Wlt(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return Zlt=Zlt.set(e,i),i},__replaceData:function(e,t){var n=Hlt.__get(e).set("data",t);return Zlt=Zlt.set(e,n),n}},Klt=Hlt;var Jlt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,rat.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),ect=Jlt,tct=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},nct=new RegExp("\r","g");var rct=function(e){return e.replace(nct,"")};function ict(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){oct(e,t,n[t])}))}return e}function oct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var act=aat,sct=gat,lct=Qat,cct=Vat,uct=Klt,dct=ect,pct=hst,fct=Plt,hct=tct,mct=rat.exports,gct=rct,Oct=mct.List,vct=mct.Record,yct=mct.Repeat,bct=mct.Map,wct=mct.OrderedMap,xct=vct({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),_ct=hct("draft_tree_data_support")?cct:lct,kct=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getEntityMap=function(){return uct},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return uct.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return uct.__create(e,t,n),this},i.mergeEntityData=function(e,t){return uct.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return uct.__replaceData(e,t),this},i.addEntity=function(e){return uct.__add(e),this},i.getEntity=function(e){return uct.__get(e)},i.getAllEntities=function(){return uct.__getAll()},i.loadWithEntities=function(e){return uct.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=act.createFromArray(n),o=i.isEmpty()?new dct:dct.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||uct,selectionBefore:o,selectionAfter:o})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),i=n.map((function(e){return e=gct(e),new _ct({key:pct(),text:e,type:"unstyled",characterList:Oct(yct(sct.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(ict({},e,{blockMap:wct(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new dct(e.selectionBefore),selectionAfter:new dct(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new _ct(ict({},e,{data:bct(e.data),characterList:null!=t?Oct((Array.isArray(t)?t:fct(t)).map((function(e){return sct.fromJS(e)}))):void 0}))},r}(xct),Sct=kct,Pct=ist,Cct=null;function $ct(e){return"LTR"===e||"RTL"===e}function Ect(e){return $ct(e)||("production"!==Ns.env.NODE_ENV?Pct(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Pct(!1)),"LTR"===e?"ltr":"rtl"}function Tct(e){Cct=e}var Qct={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:$ct,getHTMLDir:Ect,getHTMLDirIfDifferent:function(e,t){return $ct(e)||("production"!==Ns.env.NODE_ENV?Pct(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Pct(!1)),$ct(t)||("production"!==Ns.env.NODE_ENV?Pct(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):Pct(!1)),e===t?null:Ect(e)},setGlobalDir:Tct,initGlobalDir:function(){Tct("LTR")},getGlobalDir:function(){return Cct||this.initGlobalDir(),Cct||("production"!==Ns.env.NODE_ENV?Pct(!1,"Global direction not set."):Pct(!1)),Cct}},Ict=Qct,Dct=ist,Act="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",Rct="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",zct=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Act+Rct+"]"),Nct=new RegExp("["+Act+Rct+"]");function Mct(e){var t=zct.exec(e);return null==t?null:t[0]}function jct(e){var t=Mct(e);return null==t?Ict.NEUTRAL:Nct.exec(t)?Ict.RTL:Ict.LTR}function Uct(e,t){if(t=t||Ict.NEUTRAL,!e.length)return t;var n=jct(e);return n===Ict.NEUTRAL?t:n}function Xct(e,t){return t||(t=Ict.getGlobalDir()),Ict.isStrong(t)||("production"!==Ns.env.NODE_ENV?Dct(!1,"Fallback direction must be a strong direction"):Dct(!1)),Uct(e,t)}var Lct={firstStrongChar:Mct,firstStrongCharDir:jct,resolveBlockDir:Uct,getDirection:Xct,isDirectionLTR:function(e,t){return Xct(e,t)===Ict.LTR},isDirectionRTL:function(e,t){return Xct(e,t)===Ict.RTL}};function qct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wct,Fct=Lct,Vct=Qct,Bct=ist,Zct=function(){function e(e){qct(this,"_defaultDir",void 0),qct(this,"_lastDir",void 0),e?Vct.isStrong(e)||("production"!==Ns.env.NODE_ENV?Bct(!1,"Default direction must be a strong direction (LTR or RTL)"):Bct(!1)):e=Vct.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=Fct.getDirection(e,this._lastDir),this._lastDir},e}(),Yct=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Gct=Zct,Hct=rat.exports,Kct=Yct,Jct=Hct.OrderedMap,eut={getDirectionMap:function(e,t){Wct?Wct.reset():Wct=new Gct;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return Kct(Wct).getDirection(e.getText())})),i=Jct(n.keySeq().zip(r));return null!=t&&Hct.is(t,i)?t:i}};function tut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nut(e,t,n[t])}))}return e}function nut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rut=Ult,iut=Sct,out=eut,aut=ect,sut=rat.exports,lut=sut.OrderedSet,cut=sut.Record,uut=sut.Stack,dut=sut.OrderedMap,put=sut.List,fut=cut({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:uut(),selection:null,treeMap:null,undoStack:uut()}),hut=function(){t.createEmpty=function(e){return t.createWithContent(iut.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:uut(),redoStack:uut(),decorator:n||null,selection:aut.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=tut({},e,{treeMap:gut(n,e.decorator),directionMap:out.getDirectionMap(n)});return new t(new fut(r))},t.fromJS=function(e){return new t(new fut(tut({},e,{directionMap:null!=e.directionMap?dut(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?lut(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?iut.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?uut(e.redoStack.map((function(e){return iut.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new aut(e.selection):e.selection,treeMap:null!=e.treeMap?dut(e.treeMap).map((function(e){return put(e).map((function(e){return rut.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?uut(e.undoStack.map((function(e){return iut.fromJS(e)}))):e.undoStack,currentContent:iut.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var o=n.currentContent||e.getCurrentContent();if(i!==r){var a,s=t.get("treeMap");return a=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return rut.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):gut(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return rut.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){nut(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(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return vut(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return vut(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 mut(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),mut(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new aut({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=out.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||Out(e,r)?(l=l.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var u=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(u=null);var p={currentContent:c,directionMap:o,undoStack:l,redoStack:uut(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:u};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=out.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=out.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function mut(e,t,n){return hut.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function gut(e,t){return e.getBlockMap().map((function(n){return rut.generate(e,n,t)})).toOrderedMap()}function Out(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function vut(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):lut()}var yut=hut,but=Vat,wut=Wst,xut=rat.exports,_ut=ist,kut=xut.OrderedMap,Sut=xut.List,Put=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},Cut=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),c=t.getNextSiblingKey(),u=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){Put(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),Put(u,e,(function(e){return e.merge({nextSibling:c})})),Put(c,e,(function(e){return e.merge({prevSibling:u})})),Put(p,e,(function(e){return e.merge({prevSibling:a})})),Put(f,e,(function(e){return e.merge({nextSibling:a})})),Put(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:Sut(i)})})),Put(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},$ut=function(e,t,n,r){"replace"===r&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Replacing blocks is not supported."):_ut(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Block cannot be moved next to itself."):_ut(!1));var a=e.getBlockMap(),s=t instanceof but,l=[t],c=a.delete(o);s&&(l=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=wut(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var u=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),f=kut();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Block cannot be moved next to itself."):_ut(!1)),f=u.concat([].concat(p,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Block cannot be moved next to itself."):_ut(!1)),f=u.concat([[i,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:Cut(f,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function Eut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Tut(e,t,n[t])}))}return e}function Tut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qut=aat,Iut=gat,Dut=Qat,Aut=Vat,Rut=Slt,zut=yut,Nut=hst,Mut=rat.exports,jut=$ut,Uut=tct("draft_tree_data_support"),Xut=Uut?Aut:Dut,Lut=Mut.List,qut=Mut.Repeat,Wut={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=Rut.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=Rut.splitBlock(o,a),l=s.getSelectionAfter(),c=Rut.setBlockType(s,l,"atomic"),u=Iut.create({entity:t}),d={key:Nut(),type:"atomic",text:n,characterList:Lut(qut(u,n.length))},p={key:Nut(),type:"unstyled"};Uut&&(d=Eut({},d,{nextSibling:p.key}),p=Eut({},p,{prevSibling:d.key}));var f=[new Xut(d),new Xut(p)],h=Qut.createFromArray(f),m=Rut.replaceWithFragment(c,l,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return zut.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=jut(o,t,s,r)}else{var l=Rut.removeRange(o,n,"backward"),c=l.getSelectionAfter(),u=l.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=jut(l,t,u,"before");else if(c.getEndOffset()===u.getLength())i=jut(l,t,u,"after");else{var d=Rut.splitBlock(l,c),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());i=jut(d,t,f,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return zut.push(e,h,"move-block")}};var Fut=rat.exports.List,Vut=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(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),Fut(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 But=Vut;function Zut(e){return e.replace(/\//g,"-")}var Yut=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(Zut).join(" "):Array.prototype.map.call(arguments,Zut).join(" ")},Gut=o,Hut=Yut,Kut=(0,rat.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:Gut.createElement("ul",{className:Hut("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:Gut.createElement("ol",{className:Hut("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:Gut.createElement("pre",{className:Hut("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),Jut={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},edt={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",l="model",c="name",u="type",d="vendor",p="version",f="architecture",h="console",m="mobile",g="tablet",O="smarttv",v="wearable",y="embedded",b="Amazon",w="Apple",x="ASUS",_="BlackBerry",k="Firefox",S="Google",P="Huawei",C="LG",$="Microsoft",E="Motorola",T="Opera",Q="Samsung",I="Sony",D="Xiaomi",A="Zebra",R="Facebook",z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},N=function(e,t){return typeof e===s&&-1!==M(t).indexOf(M(e))},M=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},U=function(e,t){for(var n,o,s,l,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=o=0;n<p.length&&!c;)if(c=p[n++].exec(e))for(s=0;s<f.length;s++)u=c[++o],typeof(l=f[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):r:this[l[0]]=u?l[1].call(this,u,l[2]):r:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):r):this[l]=u||r;d+=2}},X=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(N(t[n][i],e))return"?"===n?r:n}else if(N(t[n],e))return"?"===n?r:n;return e},L={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,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],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,R],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,X,{"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],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,"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],[c,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,M]],[/((?: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/,"",M]],[/(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,M]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,Q],[u,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,Q],[u,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[u,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[u,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[u,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,D],[u,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,D],[u,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[u,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,E],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,E],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,C],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,C],[u,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[u,m]],[/(pixel c)\b/i],[l,[d,S],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[u,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,I],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,I],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,b],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,b],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,_],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,x],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,x],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[u,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,$],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,$],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,A],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,A],[u,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[l,[d,I],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,$],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,O]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,Q],[u,O]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,C],[u,O]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[u,O]],[/crkey/i],[[l,"Chromecast"],[d,S],[u,O]],[/droid.+aft(\w)( bui|\))/i],[l,[d,b],[u,O]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[u,O]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,j],[l,j],[u,O]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,O]],[/((pebble))app/i],[d,l,[u,v]],[/droid.+; (glass) \d/i],[l,[d,S],[u,v]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,A],[u,v]],[/(quest( 2)?)/i],[l,[d,R],[u,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"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],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[p,X,L]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[p,X,L]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,p]]},W=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof W))return new W(e,t).getResult();var i=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(q,t):q;return this.getBrowser=function(){var e={};return e.name=r,e.version=r,U.call(e,i,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e.version),e},this.getCPU=function(){var e={};return e.architecture=r,U.call(e,i,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,U.call(e,i,l.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,U.call(e,i,l.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,U.call(e,i,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 i},this.setUA=function(e){return i=typeof e===s&&e.length>255?j(e,255):e,this},this.setUA(i),this};W.VERSION="0.7.31",W.BROWSER=z([c,p,"major"]),W.CPU=z([f]),W.DEVICE=z([l,d,u,h,m,O,g,v,y]),W.ENGINE=W.OS=z([c,p]),e.exports&&(t=e.exports=W),t.UAParser=W;var F=typeof n!==o&&(n.jQuery||n.Zepto);if(F&&!F.ua){var V=new W;F.ua=V.getResult(),F.ua.get=function(){return V.getUA()},F.ua.set=function(e){V.setUA(e);var t=V.getResult();for(var n in t)F.ua[n]=t[n]}}}("object"==typeof window?window:Ze)}(edt,edt.exports);var tdt="Unknown",ndt={"Mac OS":"Mac OS X"};var rdt=(new(0,edt.exports)).getResult(),idt=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(rdt.browser.version),odt={browserArchitecture:rdt.cpu.architecture||tdt,browserFullVersion:rdt.browser.version||tdt,browserMinorVersion:idt.minor||tdt,browserName:rdt.browser.name||tdt,browserVersion:rdt.browser.major||tdt,deviceName:rdt.device.model||tdt,engineName:rdt.engine.name||tdt,engineVersion:rdt.engine.version||tdt,platformArchitecture:rdt.cpu.architecture||tdt,platformName:function(e){return ndt[e]||e}(rdt.os.name)||tdt,platformVersion:rdt.os.version||tdt,platformFullVersion:rdt.os.version||tdt},adt=odt,sdt=ist,ldt=/\./,cdt=/\|\|/,udt=/\s+\-\s+/,ddt=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,pdt=/^(\d*)(.*)/;function fdt(e,t){var n=e.split(cdt);return n.length>1?n.some((function(e){return kdt.contains(e,t)})):function(e,t){var n=e.split(udt);if(n.length>0&&n.length<=2||("production"!==Ns.env.NODE_ENV?sdt(!1,'the "-" operator expects exactly 2 operands'):sdt(!1)),1===n.length)return hdt(n[0],t);var r=n[0],i=n[1];return ydt(r)&&ydt(i)||("production"!==Ns.env.NODE_ENV?sdt(!1,'operands to the "-" operator must be simple (no modifiers)'):sdt(!1)),hdt(">="+r,t)&&hdt("<="+i,t)}(e=n[0].trim(),t)}function hdt(e,t){if(""===(e=e.trim()))return!0;var n=t.split(ldt),r=Odt(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return mdt(n,o);case"<=":return function(e,t){var n=_dt(e,t);return-1===n||0===n}(n,o);case">=":return gdt(n,o);case">":return function(e,t){return 1===_dt(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);vdt(o)&&(r[i]=o+1+"");return gdt(e,n)&&mdt(e,r)}(n,o);default:return function(e,t){return 0===_dt(e,t)}(n,o)}}function mdt(e,t){return-1===_dt(e,t)}function gdt(e,t){var n=_dt(e,t);return 1===n||0===n}function Odt(e){var t=e.split(ldt),n=t[0].match(ddt);return n||("production"!==Ns.env.NODE_ENV?sdt(!1,"expected regex to match but it did not"):sdt(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function vdt(e){return!isNaN(e)&&isFinite(e)}function ydt(e){return!Odt(e).modifier}function bdt(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function wdt(e,t){var n=e.match(pdt)[1],r=t.match(pdt)[1],i=parseInt(n,10),o=parseInt(r,10);return vdt(i)&&vdt(o)&&i!==o?xdt(i,o):xdt(e,t)}function xdt(e,t){return typeof e!=typeof t&&("production"!==Ns.env.NODE_ENV?sdt(!1,'"a" and "b" must be of the same type'):sdt(!1)),e>t?1:e<t?-1:0}function _dt(e,t){for(var n=function(e,t){bdt(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return bdt(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=wdt(r[o],i[o]);if(a)return a}return 0}var kdt={contains:function(e,t){return fdt(e.trim(),t.trim())}},Sdt=kdt,Pdt=Object.prototype.hasOwnProperty;var Cdt=function(e,t,n){if(!e)return null;var r={};for(var i in e)Pdt.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var $dt=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},Edt=adt,Tdt=Sdt;function Qdt(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,Tdt.contains(i,t))}function Idt(e){return"Windows"===Edt.platformName?e.replace(/^\s*NT/,""):e}var Ddt=Cdt({isBrowser:function(e){return Qdt(Edt.browserName,Edt.browserFullVersion,e)},isBrowserArchitecture:function(e){return Qdt(Edt.browserArchitecture,null,e)},isDevice:function(e){return Qdt(Edt.deviceName,null,e)},isEngine:function(e){return Qdt(Edt.engineName,Edt.engineVersion,e)},isPlatform:function(e){return Qdt(Edt.platformName,Edt.platformFullVersion,e,Idt)},isPlatformArchitecture:function(e){return Qdt(Edt.platformArchitecture,null,e)}},$dt);var Adt=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var Rdt=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},zdt=Rdt;var Ndt=function e(t){if(zdt(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<n.childNodes.length;i++){var o=e(n.childNodes[i]);if(o)return o}}return null},Mdt=Adt,jdt=Ndt;var Udt=function(e){for(var t=e;t&&t!==Mdt(e).documentElement;){var n=jdt(t);if(null!=n)return n;t=t.parentNode}return null};var Xdt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function Ldt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qdt=Ddt,Wdt=Udt,Fdt=Xdt,Vdt=ist,Bdt=Yct,Zdt=rat.exports.Map,Ydt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},Gdt=qdt.isBrowser("IE <= 11"),Hdt=function(){function e(e){var t=this;Ldt(this,"observer",void 0),Ldt(this,"container",void 0),Ldt(this,"mutations",void 0),Ldt(this,"onCharData",void 0),this.container=e,this.mutations=Zdt();var n=Fdt(e);n.MutationObserver&&!Gdt?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ns.env.NODE_ENV?Vdt(!1,"Expected target to be an instance of Node"):Vdt(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,Ydt):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=Zdt(),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,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return Gdt?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=Bdt(Wdt(e.target));this.mutations=this.mutations.set(n,t)}},e}(),Kdt={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},Jdt={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},ept={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var tpt=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},npt=ist,rpt=tpt;var ipt=function(e){var t=e.editorContainer;return t||("production"!==Ns.env.NODE_ENV?npt(!1,"Missing editorNode"):npt(!1)),rpt(t.firstChild)||("production"!==Ns.env.NODE_ENV?npt(!1,"editorNode.firstChild is not an HTMLElement"):npt(!1)),t.firstChild},opt=Kdt,apt=Yct;var spt=function(e,t,n,r,i){var o=apt(e.getSelection());if(!t||!r)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=opt.decode(t),s=a.blockKey,l=e.getBlockTree(s),c=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),u=opt.decode(r),d=u.blockKey,p=e.getBlockTree(d),f=p&&p.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!f)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=f.get("start"),g=c?h+n:null,O=f?m+i:null,v=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===O;if(v)return o;var y=!1;if(s===d){var b=c.get("end"),w=f.get("end");y=m===h&&w===b?i<n:m<h}else{var x=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();y=x===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:O,isBackward:y})},lpt=Udt,cpt=Ndt,upt=spt,dpt=ist,ppt=Rdt,fpt=Yct;function hpt(e,t,n){var r=t,i=lpt(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Ns.env.NODE_ENV?dpt(!1,"Unknown node in selection range."):dpt(!1)),e===r)&&(r=r.firstChild,ppt(r)||("production"!==Ns.env.NODE_ENV?dpt(!1,"Invalid DraftEditorContents node."):dpt(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Ns.env.NODE_ENV?dpt(!1,"Invalid DraftEditorContents structure."):dpt(!1)),n>0&&(n=r.childNodes.length));if(0===n){var o=null;if(null!=i)o=i;else{var a=function(e){for(;e.firstChild&&(ppt(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||cpt(e.firstChild));)e=e.firstChild;return e}(r);o=fpt(cpt(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],l=null,c=null;if(cpt(s)){var u=function(e){for(;e.lastChild&&(ppt(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||cpt(e.lastChild));)e=e.lastChild;return e}(s);l=fpt(cpt(u)),c=mpt(u)}else l=fpt(i),c=mpt(s);return{key:l,offset:c}}function mpt(e){var t=e.textContent;return"\n"===t?0:t.length}var gpt=function(e,t,n,r,i,o){var a=n.nodeType===Node.TEXT_NODE,s=i.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:upt(e,fpt(lpt(n)),r,fpt(lpt(i)),o),needsRecovery:!1};var l=null,c=null,u=!0;return a?(l={key:fpt(lpt(n)),offset:r},c=hpt(t,i,o)):s?(c={key:fpt(lpt(i)),offset:o},l=hpt(t,n,r)):(l=hpt(t,n,r),c=hpt(t,i,o),n===i&&r===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:upt(e,l.key,l.offset,c.key,c.offset),needsRecovery:u}},Opt=gpt;var vpt=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:Opt(e,t,r,i,o,a)},ypt=ept,bpt=yut,wpt=ipt,xpt=vpt;var _pt=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();ypt.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=xpt(n,wpt(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?bpt.forceSelection(n,i):bpt.acceptSelection(n,i),e.update(n))}};var kpt={notEmptyKey:function(e){return null!=e&&""!=e}},Spt=kpt.notEmptyKey;function Ppt(e,t){return Spt(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var Cpt=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:Ppt(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),Ppt(e.getEntityMap(),n)},$pt=Hdt,Ept=Slt,Tpt=Kdt,Qpt=yut,Ipt=Jdt,Dpt=ipt,Apt=vpt,Rpt=Cpt,zpt=Yct,Npt=!1,Mpt=!1,jpt=null;var Upt={onCompositionStart:function(e){Mpt=!0,function(e){jpt||(jpt=new $pt(Dpt(e))).start()}(e)},onCompositionEnd:function(e){Npt=!1,Mpt=!1,setTimeout((function(){Npt||Upt.resolveComposition(e)}),20)},onSelect:_pt,onKeyDown:function(e,t){if(!Mpt)return Upt.resolveComposition(e),void e._onKeyDown(t);t.which!==Ipt.RIGHT&&t.which!==Ipt.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===Ipt.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!Mpt){var t=zpt(jpt).stopAndFlushMutations();jpt=null,Npt=!0;var n=Qpt.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=Tpt.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),c=l.start,u=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),p=Rpt(r,d),f=r.getBlockForKey(o).getInlineStyleAt(c);r=Ept.replaceText(r,d,e,f,p),n=Qpt.set(n,{currentContent:r})}));var i=Apt(n,Dpt(e)).selectionState;e.restoreEditorDOM();var o=Qpt.acceptSelection(n,i);e.update(Qpt.push(o,r,"insert-characters"))}else e.update(n)}}},Xpt=Upt,Lpt=r0;function qpt(){return qpt=Lpt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qpt.apply(this,arguments)}var Wpt=Kdt,Fpt=o,Vpt=Lct,Bpt=Qct,Zpt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,c=t.getKey(),u=s.get("leaves"),d=i.getComponentForKey(o),p=i.getPropsForKey(o),f=Wpt.encode(c,parseInt(o,10),0),h=l.slice(u.first().get("start"),u.last().get("end")),m=Bpt.getHTMLDirIfDifferent(Vpt.getDirection(h),a);return Fpt.createElement(d,qpt({},p,{contentState:r,decoratedText:h,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},r}(Fpt.Component),Ypt=Zpt;function Gpt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hpt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kpt=o,Jpt=ist,eft=Rdt,tft=Ddt.isBrowser("IE <= 11");var nft=function(e){var t,n;function r(t){var n;return Hpt(Gpt(n=e.call(this,t)||this),"_forceFlag",void 0),Hpt(Gpt(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;eft(t)||("production"!==Ns.env.NODE_ENV?Jpt(!1,"node is not an Element"):Jpt(!1));var r=t;return n?!function(e){return tft?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},tft?Kpt.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):Kpt.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return tft?Kpt.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):Kpt.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):Kpt.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(Kpt.Component),rft=nft,ift=Rdt;var oft=function(e){return!(!e||!e.ownerDocument)&&(ift(e)&&"BR"===e.nodeName)};var aft=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 sft=function(e){return aft(e)&&3==e.nodeType};var lft=function e(t,n){return!(!t||!n)&&(t===n||!sft(t)&&(sft(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var cft=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}},uft=ept,dft=lft,pft=cft,fft=Adt,hft=ist,mft=Rdt,gft=Ddt.isBrowser("IE");function Oft(e,t){if(!e)return"[empty]";var n=vft(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(mft(n)||("production"!==Ns.env.NODE_ENV?hft(!1,"Node must be an Element if it is not a text node."):hft(!1)),n.outerHTML)}function vft(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return fft(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(vft(o[a],t));return i}function yft(e,t){for(var n=e,r=n;n;){if(mft(n)&&r.hasAttribute("contenteditable"))return Oft(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function bft(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function wft(e,t,n,r){var i=pft();if(e.extend&&null!=t&&dft(i,t)){n>bft(t)&&uft.logSelectionStateFailure({anonymizedDom:yft(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw uft.logSelectionStateFailure({anonymizedDom:yft(t,(function(t){var n=[];return t===i&&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:i?i.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(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function xft(e,t,n,r){var i=fft(t).createRange();if(n>bft(t)&&uft.logSelectionStateFailure({anonymizedDom:yft(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),gft)try{e.addRange(i)}catch(e){"production"!==Ns.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var _ft=function(e,t,n,r,i){var o=fft(t);if(dft(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),c=e.getFocusKey(),u=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,f=l;s=c,l=u,c=p,u=f,d=!1}var h=s===n&&r<=l&&i>=l,m=c===n&&r<=u&&i>=u;if(h&&m)return a.removeAllRanges(),xft(a,t,l-r,e),void wft(a,t,u-r,e);if(d){if(m&&(a.removeAllRanges(),xft(a,t,u-r,e)),h){var g=a.focusNode,O=a.focusOffset;a.removeAllRanges(),xft(a,t,l-r,e),wft(a,g,O,e)}}else h&&(a.removeAllRanges(),xft(a,t,l-r,e)),m&&wft(a,t,u-r,e)}},kft=r0;function Sft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cft=rft,$ft=o,Eft=ist,Tft=oft,Qft=_ft,Ift=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Pft(Sft(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing node"):Eft(!1));var l,c=s.firstChild;c||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing child"):Eft(!1)),c.nodeType===Node.TEXT_NODE?l=c:Tft(c)?l=s:(l=c.firstChild)||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing targetNode"):Eft(!1)),Qft(e,l,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing leafNode"):Eft(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,a=r.offsetKey,s=r.styleSet,l=s.reduce((function(e,t){var n={},r=i[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),kft(e,r,n)}),{});if(o){var c=o(s,t);l=kft(l,c)}return $ft.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},$ft.createElement(Cft,null,n))},r}($ft.Component),Dft=Ift;var Aft=Ypt,Rft=Dft,zft=Kdt,Nft=o,Mft=Yut;rat.exports.List;var jft=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,c=e.selection,u=e.tree,d=t.getKey(),p=t.getText(),f=u.size-1,h=this.props.children||u.map((function(e,u){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,O=m.map((function(e,n){var o=zft.encode(d,u,n),a=e.get("start"),m=e.get("end");return Nft.createElement(Rft,{key:o,offsetKey:o,block:t,start:a,selection:l?c:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===f&&n===g})})).toArray();return h&&o?Nft.createElement(Aft,{block:t,children:O,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:p,key:u}):O})).toArray();return Nft.createElement("div",{"data-offset-key":zft.encode(d,0,0),className:Mft({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(Nft.Component),Uft=jft;function Xft(e,t){return!!t&&(e===t.documentElement||e===t.body)}var Lft={getTop:function(e){var t=e.ownerDocument;return Xft(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;Xft(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return Xft(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;Xft(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},qft=Lft,Wft=/-(.)/g;var Fft=function(e){return e.replace(Wft,(function(e,t){return t.toUpperCase()}))},Vft=/([A-Z])/g;var Bft=function(e){return e.replace(Vft,"-$1").toLowerCase()},Zft=Fft,Yft=Bft;function Gft(e){return null==e?e:String(e)}var Hft=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return Gft(n.getPropertyValue(Yft(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return Gft(n.getPropertyValue(Yft(t)));if("display"===t)return"none"}return e.currentStyle?Gft("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[Zft(t)]):Gft(e.style&&e.style[Zft(t)])};function Kft(e,t){var n=Jft.get(e,t);return"auto"===n||"scroll"===n}var Jft={get:Hft,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(Kft(e,"overflow")||Kft(e,"overflowY")||Kft(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},eht=Jft,tht=lft;var nht=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!tht(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 rht=function(e){var t=nht(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},iht="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var oht=function(e){return(e=e||document).scrollingElement?e.scrollingElement:iht||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var aht=oht,sht=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 lht=function(e){var t=aht(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=sht(e),r=e===t?e.ownerDocument.documentElement:e,i=e.scrollWidth-r.clientWidth,o=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,i)),n.y=Math.max(0,Math.min(n.y,o)),n};function cht(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function uht(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function dht(){return{width:window.innerWidth||cht(),height:window.innerHeight||uht()}}dht.withoutScrollbars=function(){return{width:cht(),height:uht()}};var pht=dht,fht=r0;function hht(){return hht=fht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hht.apply(this,arguments)}function mht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ght(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Oht(e,t,n[t])}))}return e}function Oht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vht=Uft,yht=Kdt,bht=o,wht=qft,xht=eht,_ht=rht,kht=lht,Sht=pht,Pht=ist,Cht=tpt;rat.exports.List;var $ht=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Eht=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},Tht=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Qht=function(e,t,n,r,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=r(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=ght({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},Iht=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Oht(mht(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",bht.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||$ht(e.selection,e.block.getKey())&&e.forceSelection;return o||a},i.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 r,i=xht.getScrollParent(n),o=kht(i);if(i===window){var a=_ht(n);(r=a.y+a.height-Sht().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{Cht(n)||("production"!==Ns.env.NODE_ENV?Pht(!1,"blockNode is not an HTMLElement"):Pht(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&wht.setTop(i,wht.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,c=t.editorKey,u=t.editorState,d=t.customStyleFn,p=t.customStyleMap,f=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,O=null;n.children.size&&(O=n.children.reduce((function(t,n){var l=yht.encode(n,0,0),d=s.getBlockForKey(n),p=Tht(d,o),f=p.CustomComponent||r,h=Eht(d,i),m=h.Element,g=h.wrapperTemplate,O=Qht(d,c,l,a,p,null),v=ght({},e.props,{tree:u.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(bht.createElement(m,O,bht.createElement(f,v))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var u=r.reverse(),d=u[0].key;n.push(bht.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":yht.encode(d,0,0)},u))}(g,m,t),t}),[]));var v=n.getKey(),y=yht.encode(v,0,0),b=Tht(n,o),w=b.CustomComponent,x=null!=w?bht.createElement(w,hht({},this.props,{tree:u.getBlockTree(v),blockProps:b.customProps,offsetKey:y,block:n})):bht.createElement(vht,{block:n,children:O,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:f,forceSelection:h,hasSelection:$ht(m,v),selection:m,tree:g});if(n.getParentKey())return x;var _=Eht(n,i).Element,k=Qht(n,c,y,a,b,this.wrapperRef);return bht.createElement(_,k,x)},r}(bht.Component),Dht=r0;function Aht(){return Aht=Dht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Aht.apply(this,arguments)}var Rht=Iht,zht=Kdt,Nht=o,Mht=Yct,jht=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,c=a.getCurrentContent(),u=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),f=Mht(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),O={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:u,block:m,direction:l||f.get(g),tree:a.getBlockTree(g)},v=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:Nht.createElement(Rht,Aht({key:g},O)),wrapperTemplate:v,key:g,offsetKey:zht.encode(g,0,0)});var y=m.getNextSiblingKey();m=y?c.getBlockForKey(y):null}for(var b=[],w=0;w<h.length;){var x=h[w];if(x.wrapperTemplate){var _=[];do{_.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===x.wrapperTemplate);var k=Nht.cloneElement(x.wrapperTemplate,{key:x.key+"-wrap","data-offset-key":x.offsetKey},_);b.push(k)}else b.push(x.block),w++}return Nht.createElement("div",{"data-contents":"true"},b)},r}(Nht.Component),Uht=jht,Xht=r0;function Lht(){return Lht=Xht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lht.apply(this,arguments)}function qht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fht=Dft,Vht=Kdt,Bht=o,Zht=qft,Yht=eht,Ght=Lct,Hht=Qct,Kht=Yut,Jht=rht,emt=lht,tmt=pht,nmt=ist,rmt=tpt,imt=Yct,omt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},amt=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Wht(qht(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||omt(e.selection,e.block.getKey())&&e.forceSelection},i.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 r,i=Yht.getScrollParent(n),o=emt(i);if(i===window){var a=Jht(n);(r=a.y+a.height-tmt().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{rmt(n)||("production"!==Ns.env.NODE_ENV?nmt(!1,"blockNode is not an HTMLElement"):nmt(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&Zht.setTop(i,Zht.getTop(i)+r+10)}}}}},i._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,o=omt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var c=l.size-1,u=l.map((function(a,l){var u=Vht.encode(n,s,l),d=a.get("start"),p=a.get("end");return Bht.createElement(Fht,{key:u,offsetKey:u,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&l===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return u;if(!e.props.decorator)return u;var p=imt(e.props.decorator),f=p.getComponentForKey(d);if(!f)return u;var h=p.getPropsForKey(d),m=Vht.encode(n,s,0),g=l.first().get("start"),O=l.last().get("end"),v=r.slice(g,O),y=t.getEntityAt(a.get("start")),b=Hht.getHTMLDirIfDifferent(Ght.getDirection(v),e.props.direction),w={contentState:e.props.contentState,decoratedText:v,dir:b,start:g,end:O,blockKey:n,entityKey:y,offsetKey:m};return Bht.createElement(f,Lht({},h,w,{key:m}),u)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=Kht({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return Bht.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(Bht.Component),smt=amt;var lmt=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t},cmt=r0;function umt(){return umt=cmt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},umt.apply(this,arguments)}function dmt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){pmt(e,t,n[t])}))}return e}function pmt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fmt=smt,hmt=Kdt,mmt=o,gmt=Yut,Omt=lmt,vmt=Yct,ymt=function(e,t,n,r){return gmt({"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"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},bmt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,c=e.textDirectionality,u=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),f=a.getDecorator(),h=vmt(a.getDirectionMap()),m=u.getBlocksAsArray(),g=[],O=null,v=null,y=0;y<m.length;y++){var b=m[y],w=b.getKey(),x=b.getType(),_=n(b),k=void 0,S=void 0,P=void 0;_&&(k=_.component,S=_.props,P=_.editable);var C=c||h.get(w),$=hmt.encode(w,0,0),E={contentState:u,block:b,blockProps:S,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:f,direction:C,forceSelection:p,offsetKey:$,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(x)||t.get("unstyled"),Q=T.wrapper,I=T.element||t.get("unstyled").element,D=b.getDepth(),A="";if(r&&(A=r(b)),"li"===I)A=Omt(A,ymt(x,D,v!==Q||null===O||D>O,C));var R=k||fmt,z={className:A,"data-block":!0,"data-editor":s,"data-offset-key":$,key:w};void 0!==P&&(z=dmt({},z,{contentEditable:P,suppressContentEditableWarning:!0}));var N=mmt.createElement(I,z,mmt.createElement(R,umt({},E,{key:w})));g.push({block:N,wrapperTemplate:Q,key:w,offsetKey:$}),O=Q?b.getDepth():null,v=Q}for(var M=[],j=0;j<g.length;){var U=g[j];if(U.wrapperTemplate){var X=[];do{X.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===U.wrapperTemplate);var L=mmt.cloneElement(U.wrapperTemplate,{key:U.key+"-wrap","data-offset-key":U.offsetKey},X);M.push(L)}else M.push(U.block),j++}return mmt.createElement("div",{"data-contents":"true"},M)},r}(mmt.Component),wmt=bmt,xmt=tct("draft_tree_data_support")?Uht:wmt,_mt={isImage:function(e){return"image"===kmt(e)[0]},isJpeg:function(e){var t=kmt(e);return _mt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function kmt(e){return e.split("/")}var Smt=_mt,Pmt=ist;var Cmt=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?Pmt(!1,"toArray: Array-like object expected"):Pmt(!1)),"number"!=typeof t&&("production"!==Ns.env.NODE_ENV?Pmt(!1,"toArray: Object needs a length property"):Pmt(!1)),0===t||t-1 in e||("production"!==Ns.env.NODE_ENV?Pmt(!1,"toArray: Object should have keys for indices"):Pmt(!1)),"function"==typeof e.callee&&("production"!==Ns.env.NODE_ENV?Pmt(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):Pmt(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e):[e]};function $mt(e){return function(){return e}}var Emt=function(){};Emt.thatReturns=$mt,Emt.thatReturnsFalse=$mt(!1),Emt.thatReturnsTrue=$mt(!0),Emt.thatReturnsNull=$mt(null),Emt.thatReturnsThis=function(){return this},Emt.thatReturnsArgument=function(e){return e};var Tmt=Emt,Qmt=Smt,Imt=Cmt,Dmt=Tmt,Amt=new RegExp("\r\n","g"),Rmt={"text/rtf":1,"text/html":1};function zmt(e){if("file"==e.kind)return e.getAsFile()}var Nmt=function(){function e(e){this.data=e,this.types=e.types?Imt(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Rmt[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(Amt,"\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 r=t[n].type;if(!Qmt.isImage(r))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(zmt).filter(Dmt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),Mmt=Nmt,jmt=ist,Umt=/\.textClipping$/,Xmt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var Lmt=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!Ze.FileReader||e.type&&!(e.type in Xmt))return void t("");if(""===e.type){var n="";return Umt.test(e.name)&&(n=e.name.replace(Umt,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Ns.env.NODE_ENV?jmt(!1,'We should be calling "FileReader.readAsText" which returns a string'):jmt(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(i,(function(i){n++,i&&r.push(i.slice(0,5e3)),n==e.length&&t(r.join("\r"))}))}))};var qmt=function(e){return"handled"===e||!0===e},Wmt=Mmt,Fmt=Slt,Vmt=yut,Bmt=Udt,Zmt=Adt,Ymt=Lmt,Gmt=spt,Hmt=Xdt,Kmt=qmt,Jmt=Yct;var egt={onDragEnd:function(e){e.exitCurrentMode(),tgt(e)},onDrop:function(e,t){var n=new Wmt(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=Zmt(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=Jmt(n),r=Jmt(r);var a=Jmt(Bmt(n));return Gmt(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=i){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&Kmt(e.props.handleDroppedFiles(i,o)))return;Ymt(o,(function(t){t&&e.update(ngt(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&Kmt(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=Fmt.moveText(e.getCurrentContent(),e.getSelection(),t);return Vmt.push(e,n,"insert-fragment")}(r,i)):e.update(ngt(r,i,n.getText()))),tgt(e)}}}};function tgt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Hmt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function ngt(e,t,n){var r=Fmt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return Vmt.push(e,r,"insert-fragment")}var rgt=egt;var igt=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Ns.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),s=!1}}}}}("undefined"==typeof self?Ze:self);var ogt=Ze.setImmediate,agt=Slt,sgt=yut,lgt=Cpt,cgt=qmt,ugt=igt,dgt=Yct,pgt=ogt,fgt=Ddt.isBrowser("Firefox");function hgt(e,t,n,r,i){var o=agt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return sgt.push(e,o,"insert-characters",i)}var mgt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&cgt(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),o=i.getStartOffset(),a=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(hgt(n,r,n.getCurrentInlineStyle(),lgt(n.getCurrentContent(),n.getSelection()),!0));var s,l=hgt(n,r,n.getCurrentInlineStyle(),lgt(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=ugt(e._latestCommittedEditorState)),!c){var u=n.getBlockTree(a),d=l.getBlockTree(a);c=u.size!==d.size||u.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),l=s+(s>=o?r.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||l!==u||null!=d&&u-c!=s-i}))}if(c||(s=r,c=fgt&&("'"==s||"/"==s)),c||(c=dgt(l.getDirectionMap()).get(a)!==dgt(n.getDirectionMap()).get(a)),c)return t.preventDefault(),l=sgt.set(l,{forceSelection:!0}),void e.update(l);l=sgt.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,pgt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},ggt=yut,Ogt=lft,vgt=cft;var ygt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&vgt(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&Ogt(i,r.anchorNode)&&Ogt(i,r.focusNode)&&r.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(ggt.acceptSelection(o,s))}},bgt=yut;var wgt=function(e,t){e.setMode("composite"),e.update(bgt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},xgt=Pst;var _gt=function(e){var t=e.getSelection();return t.isCollapsed()?null:xgt(e.getCurrentContent(),t)},kgt=_gt;var Sgt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(kgt(e._latestEditorState))};var Pgt=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},Cgt=Slt,$gt=yut,Egt=eht,Tgt=_gt,Qgt=lht,Igt=Pgt;var Dgt=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(Igt(o)){var a=o;n=Qgt(Egt.getScrollParent(a))}var s=Tgt(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=Cgt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return $gt.push(e,t,"remove-range")}(r))}),0)}};var Agt=function(e,t){e.setMode("drag"),t.preventDefault()};var Rgt=function(e){e._internalDrag=!0,e.setMode("drag")},zgt=yut,Ngt=Ddt;var Mgt=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var i=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),Ngt.isBrowser("Chrome < 60.0.3081.0")?e.update(zgt.forceSelection(n,i)):e.update(zgt.acceptSelection(n,i))}},jgt=ist,Ugt=/[\uD800-\uDFFF]/;function Xgt(e){return 55296<=e&&e<=57343}function Lgt(e){return Ugt.test(e)}function qgt(e,t){return 1+Xgt(e.charCodeAt(t))}function Wgt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!Lgt(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=qgt(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=qgt(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=qgt(e,o);return e.substring(i,o)}var Fgt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=qgt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:qgt,hasSurrogateUnit:Lgt,isCodeUnitInSurrogateRange:Xgt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ns.env.NODE_ENV?jgt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):jgt(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=r&&r<=57343},strlen:function(e){if(!Lgt(e))return e.length;for(var t=0,n=0;n<e.length;n+=qgt(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 r=Math.abs(n-t);return Wgt(e,t=t<n?t:n,r)},substr:Wgt},Vgt=Fgt,Bgt=Tmt;function Zgt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var Ygt="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,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];Zgt.apply(void 0,[t].concat(r))}}:Bgt,Ggt=Ygt,Hgt=Ggt;var Kgt=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&Hgt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var l=r.getKeyBefore(i);if(null==l)a=i;else a=l,s=r.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},Jgt=Slt,eOt=tct("draft_tree_data_support");var tOt=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),l=i.getBlockForKey(a);if(eOt&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(eOt)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(l.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return Jgt.removeRange(i,o,n)},nOt=yut,rOt=Vgt,iOt=Kgt,oOt=tOt;var aOt=function(e){var t=oOt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return iOt(e,o?rOt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return nOt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},sOt=Slt,lOt=Kdt,cOt=yut,uOt=kpt.notEmptyKey,dOt=Udt,pOt=aOt,fOt=Yct,hOt=Ddt.isEngine("Gecko");var mOt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var l=r.textContent,c=e._latestEditorState,u=fOt(dOt(r)),d=lOt.decode(u),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(p).getIn([f,"leaves",h]),g=m.start,O=m.end,v=c.getCurrentContent(),y=v.getBlockForKey(p),b=y.getText().slice(g,O);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==b){var w,x,_,k,S=c.getSelection(),P=S.merge({anchorOffset:g,focusOffset:O,isBackward:!1}),C=y.getEntityAt(g),$=uOt(C)?v.getEntity(C):null,E="MUTABLE"===(null!=$?$.getMutability():null),T=E?"spellcheck-change":"apply-entity",Q=sOt.replaceText(v,P,l,y.getInlineStyleAt(g),E?y.getEntityAt(g):null);if(hOt)w=n.anchorOffset,x=n.focusOffset,k=(_=g+Math.min(w,x))+Math.abs(w-x),w=_,x=k;else{var I=l.length-b.length;_=S.getStartOffset(),k=S.getEndOffset(),w=i?k+I:_,x=k+I}var D=Q.merge({selectionBefore:v.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:w,focusOffset:x})});e.update(cOt.push(c,D,T))}else{var A=t.nativeEvent.inputType;if(A){var R=function(e,t){return"deleteContentBackward"===e?pOt(t):t}(A,c);if(R!==c)return e.restoreEditorDOM(),void e.update(R)}}}},gOt=Jdt;var OOt=function(e){return e.which===gOt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},vOt=OOt,yOt=Ddt.isPlatform("Mac OS X"),bOt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return yOt&&e.altKey},usesMacOSHeuristics:function(){return yOt},hasCommandModifier:function(e){return yOt?!!e.metaKey&&!e.altKey:bOt.isCtrlKeyCommand(e)},isSoftNewlineEvent:vOt},wOt=bOt,xOt=Slt,_Ot=yut,kOt=Pst,SOt=Yct,POt=null,COt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var i=n.getAnchorKey(),o=t.getBlockForKey(i).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(i);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",o)}else r=n;r=SOt(r),POt=kOt(t,r);var s=xOt.removeRange(t,r,"forward");return s===t?e:_Ot.push(e,s,"remove-range")},paste:function(e){if(!POt)return e;var t=xOt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),POt);return _Ot.push(e,t,"insert-fragment")}},$Ot=COt,EOt=ist;var TOt=Ddt.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),i)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(r)}"production"!==Ns.env.NODE_ENV?EOt(!1,"Found an unexpected detached subtree when getting range client rects."):EOt(!1)}:function(e){return Array.from(e.getClientRects())},QOt=Vgt,IOt=Adt,DOt=TOt,AOt=ist;function ROt(e,t){for(var n=1/0,r=1/0,i=-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),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function zOt(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 NOt=function(e){e.collapsed||("production"!==Ns.env.NODE_ENV?AOt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):AOt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=IOt(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||("production"!==Ns.env.NODE_ENV?AOt(!1,"Missing document.body"):AOt(!1)),i.appendChild(r);var o=r.getBoundingClientRect();return i.removeChild(r),o.height}(t),r=e.endContainer,i=e.endOffset;for(e.setStart(e.startContainer,0);ROt(DOt(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Ns.env.NODE_ENV?AOt(!1,"Found unexpected detached subtree when traversing."):AOt(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var o=r,a=i-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&QOt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!ROt(DOt(e),n))break;r=o,i=l}if(-1===l||0===o.childNodes.length)break;a=zOt(o=o.childNodes[l])}return e.setStart(r,i),e},MOt=yut,jOt=NOt,UOt=gpt,XOt=Kgt,LOt=tOt;var qOt=function(e,t){var n=LOt(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return XOt(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=jOt(r),UOt(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:MOt.push(e,n,"remove-range")},WOt="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),FOt=new RegExp("^(?:"+WOt+")*(?:['‘’]|(?!"+WOt+").)*(?:(?!"+WOt+").)"),VOt=new RegExp("(?:(?!"+WOt+").)(?:['‘’]|(?!"+WOt+").)*(?:"+WOt+")*$");function BOt(e,t){var n=t?VOt.exec(e):FOt.exec(e);return n?n[0]:e}var ZOt={getBackward:function(e){return BOt(e,!0)},getForward:function(e){return BOt(e,!1)}},YOt=ZOt,GOt=yut,HOt=Kgt,KOt=tOt;var JOt=function(e){var t=KOt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return HOt(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=YOt.getBackward(i);return HOt(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:GOt.push(e,t,"remove-range")},evt=Ggt;var tvt=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&evt(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})},nvt=ZOt,rvt=yut,ivt=tvt,ovt=tOt;var avt=function(e){var t=ovt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=nvt.getForward(i);return ivt(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:rvt.push(e,t,"remove-range")},svt=Slt,lvt=yut;var cvt=yut;var uvt=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return cvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},dvt=yut;var pvt=function(e){var t=e.getSelection(),n=t.getStartKey();return dvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},fvt=yut,hvt=Vgt,mvt=tvt,gvt=tOt;var Ovt=function(e){var t=gvt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return mvt(e,o?hvt.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return fvt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},vvt=Slt,yvt=yut,bvt=Pst;var wvt=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,i,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),i=t):i=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=bvt(a,r),c=vvt.removeRange(a,r,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,p=u.merge({anchorOffset:d,focusOffset:d}),f=vvt.replaceWithFragment(c,p,l),h=yvt.push(e,f,"insert-fragment");return yvt.acceptSelection(h,i)},xvt=yut;var _vt=function(e,t,n){var r=xvt.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(xvt.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(xvt.set(r,{nativelyRenderedContent:i}))}},kvt=Slt,Svt=yut,Pvt=Jdt,Cvt=$Ot,$vt=Ddt,Evt=qmt,Tvt=qOt,Qvt=JOt,Ivt=avt,Dvt=function(e){var t=svt.splitBlock(e.getCurrentContent(),e.getSelection());return lvt.push(e,t,"split-block")},Avt=uvt,Rvt=pvt,zvt=aOt,Nvt=Ovt,Mvt=wvt,jvt=_vt,Uvt=wOt.isOptionKeyCommand,Xvt=$vt.isBrowser("Chrome");var Lvt=function(e,t){var n=t.which,r=e._latestEditorState;function i(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case Pvt.RETURN:if(t.preventDefault(),e.props.handleReturn&&Evt(e.props.handleReturn(t,r)))return;break;case Pvt.ESC:if(t.preventDefault(),i("onEscape"))return;break;case Pvt.TAB:if(i("onTab"))return;break;case Pvt.UP:if(i("onUpArrow"))return;break;case Pvt.RIGHT:if(i("onRightArrow"))return;break;case Pvt.DOWN:if(i("onDownArrow"))return;break;case Pvt.LEFT:if(i("onLeftArrow"))return;break;case Pvt.SPACE:Xvt&&Uvt(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!Evt(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return Svt.redo(t);case"delete":return Nvt(t);case"delete-word":return Ivt(t);case"backspace":return zvt(t);case"backspace-word":return Qvt(t);case"backspace-to-start-of-line":return Tvt(t,n);case"split-block":return Dvt(t);case"transpose-characters":return Mvt(t);case"move-selection-to-start-of-block":return Rvt(t);case"move-selection-to-end-of-block":return Avt(t);case"secondary-cut":return Cvt.cut(t);case"secondary-paste":return Cvt.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else jvt(t,r,e.update);else if(n===Pvt.SPACE&&Xvt&&Uvt(t)){var s=kvt.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(Svt.push(r,s,"insert-characters"))}};var qvt=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}(),Wvt=qvt,Fvt=ist,Vvt=Ddt.isBrowser("IE <= 9");var Bvt=function(e){var t,n=null;return!Vvt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ns.env.NODE_ENV?Fvt(!1,"Missing doc.documentElement"):Fvt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},Zvt=Rdt;var Yvt=function(e){return!(!e||!e.ownerDocument)&&(Zvt(e)&&"A"===e.nodeName)},Gvt=Rdt;var Hvt,Kvt=function(e){return!(!e||!e.ownerDocument)&&(Gvt(e)&&"IMG"===e.nodeName)};function Jvt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){eyt(e,t,n[t])}))}return e}function eyt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tyt=gat,nyt=Qat,ryt=Vat,iyt=Kut,oyt=Klt,ayt=Wvt,syt=Yut,lyt=hst,cyt=Bvt,uyt=tct,dyt=rat.exports,pyt=dyt.List,fyt=dyt.Map,hyt=dyt.OrderedSet,myt=Yvt,gyt=oft,Oyt=tpt,vyt=Kvt,yyt=uyt("draft_tree_data_support"),byt=new RegExp("\r","g"),wyt=new RegExp("\n","g"),xyt=new RegExp("^\n","g"),_yt=new RegExp(" ","g"),kyt=new RegExp(" ?","g"),Syt=new RegExp("​?","g"),Pyt=["bold","bolder","500","600","700","800","900"],Cyt=["light","lighter","normal","100","200","300","400"],$yt=["className","href","rel","target","title"],Eyt=["alt","className","height","src","width"],Tyt=(eyt(Hvt={},syt("public/DraftStyleDefault/depth0"),0),eyt(Hvt,syt("public/DraftStyleDefault/depth1"),1),eyt(Hvt,syt("public/DraftStyleDefault/depth2"),2),eyt(Hvt,syt("public/DraftStyleDefault/depth3"),3),eyt(Hvt,syt("public/DraftStyleDefault/depth4"),4),Hvt),Qyt=fyt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Iyt=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),fyt(t)},Dyt=function(e){if(Oyt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Ayt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Tyt).some((function(n){e.classList.contains(n)&&(t=Tyt[n])})),t},Ryt=function(e){if(!myt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},zyt=function(e){if(!vyt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Nyt=function(e,t){if(!Oyt(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){Pyt.indexOf(r)>=0?e.add("BOLD"):Cyt.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},Myt=function(e){return"ul"===e||"ol"===e},jyt=function(){function e(e,t){eyt(this,"characterList",pyt()),eyt(this,"currentBlockType","unstyled"),eyt(this,"currentDepth",0),eyt(this,"currentEntity",null),eyt(this,"currentText",""),eyt(this,"wrapper",null),eyt(this,"blockConfigs",[]),eyt(this,"contentBlocks",[]),eyt(this,"entityMap",oyt),eyt(this,"blockTypeMap",void 0),eyt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=pyt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=oyt,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],hyt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(yyt?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||lyt(),n=Jvt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:pyt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=pyt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||Myt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;Myt(o)&&(this.wrapper=o,Myt(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.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(zyt(i))this._addImgNode(i,t);else if(Ryt(i))this._addAnchorNode(i,n,t);else{var c=t;Qyt.has(o)&&(c=c.add(Qyt.get(o))),c=Nyt(i,c);var u=Dyt(i);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!yyt&&Oyt(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=i;this.currentDepth=Ayt(f,this.currentDepth)}var h=lyt(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=tyt.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=pyt()):(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(xyt,"")).replace(wyt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){gyt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(vyt(e)){var n=e,r={};Eyt.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),uyt("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(myt(e)){var r=e,i={};$yt.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new ayt(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),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,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=pyt(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new ryt(Jvt({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return pyt(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),r=n.text,i=n.characterList;t.contentBlocks.push(new nyt(Jvt({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=pyt(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),Uyt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cyt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:iyt,r=t(e=e.trim().replace(byt,"").replace(_yt," ").replace(kyt,"").replace(Syt,""));if(!r)return null;var i=Iyt(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new jyt(i,o).addDOMNode(r).getContentBlocks()};function Xyt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lyt=Qat,qyt=Vat,Wyt=Uyt,Fyt=hst,Vyt=Bvt,Byt=tct,Zyt=rat.exports,Yyt=rct,Gyt=Zyt.List,Hyt=Zyt.Repeat,Kyt=Byt("draft_tree_data_support"),Jyt=Kyt?qyt:Lyt,ebt={processHTML:function(e,t){return Wyt(e,Vyt,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=Yyt(r);var o=Fyt(),a={key:o,type:n,text:r,characterList:Gyt(Hyt(t,r.length))};if(Kyt&&0!==i){var s=i-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Xyt(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new Jyt(a)),e}),[])}};var tbt=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).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,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},nbt=Slt,rbt=yut,ibt=tbt,obt=Yct,abt={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__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 abt.toggleInlineStyle(e,"BOLD");case"italic":return abt.toggleInlineStyle(e,"ITALIC");case"underline":return abt.toggleInlineStyle(e,"UNDERLINE");case"code":return abt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return abt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return abt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=nbt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=rbt.push(e,t,"insert-characters");return rbt.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var o=n.getBlockMap().delete(i.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return rbt.push(e,a,"remove-range")}var s=abt.tryToRemoveBlockStyle(e);return s?rbt.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockForKey(r).getLength();if(t.getStartOffset()<i)return null;var o=n.getBlockAfter(r);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=nbt.removeRange(n,a,"forward");return s!==n?rbt.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),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 c=ibt(o,r,e.shiftKey?-1:1,n);return rbt.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=obt(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var c=o.getBlockForKey(r).getType()===t?"unstyled":t;return rbt.push(e,nbt.setBlockType(o,a,c),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?abt.toggleBlockType(e,"code-block"):abt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return rbt.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?nbt.removeInlineStyle(o,n,t):nbt.applyInlineStyle(o,n,t),rbt.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=nbt.applyEntity(e.getCurrentContent(),t,n);return rbt.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getType(),a=i.getBlockBefore(r);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return nbt.setBlockType(i,t,"unstyled")}return null}},sbt=abt,lbt=/\r\n?|\n/g;var cbt=aat,ubt=gat,dbt=Mmt,pbt=Slt,fbt=ebt,hbt=yut,mbt=sbt,gbt=Cpt,Obt=Lmt,vbt=qmt,ybt=function(e){return e.split(lbt)};function bbt(e,t,n){var r=pbt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return hbt.push(e,r.set("entityMap",n),"insert-fragment")}var wbt=function(e,t){t.preventDefault();var n=new dbt(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&vbt(e.props.handlePastedFiles(r)))return;return void Obt(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=ybt(t),o=ubt.create({style:n.getCurrentInlineStyle(),entity:gbt(n.getCurrentContent(),n.getSelection())}),a=mbt.getCurrentBlockType(n),s=fbt.processText(r,o,a),l=cbt.createFromArray(s),c=pbt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(hbt.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!vbt(e.props.handlePastedText(a,s,l))){if(a&&(o=ybt(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(bbt(e._latestEditorState,c))}else if(c&&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,c))return void e.update(bbt(e._latestEditorState,c));if(s){var u=fbt.processHTML(s,e.props.blockRenderMap);if(u){var d=u.contentBlocks,p=u.entityMap;if(d){var f=cbt.createFromArray(d);return void e.update(bbt(e._latestEditorState,f,p))}}}e.setClipboard(null)}if(o.length){var h=ubt.create({style:l.getCurrentInlineStyle(),entity:gbt(l.getCurrentContent(),l.getSelection())}),m=mbt.getCurrentBlockType(l),g=fbt.processText(o,h,m),O=cbt.createFromArray(g);e.update(bbt(e._latestEditorState,O))}}},xbt=Ddt,_bt=mgt,kbt=ygt,Sbt=wgt,Pbt=Sgt,Cbt=Dgt,$bt=Agt,Ebt=Rgt,Tbt=Mgt,Qbt=mOt,Ibt=Lvt,Dbt=wbt,Abt=_pt,Rbt=xbt.isBrowser("Chrome"),zbt=xbt.isBrowser("Firefox"),Nbt=Rbt||zbt?Abt:function(e){},Mbt={onBeforeInput:_bt,onBlur:kbt,onCompositionStart:Sbt,onCopy:Pbt,onCut:Cbt,onDragOver:$bt,onDragStart:Ebt,onFocus:Tbt,onInput:Qbt,onKeyDown:Ibt,onPaste:Dbt,onSelect:Abt,onMouseUp:Nbt,onKeyUp:Nbt},jbt=Xe.unstable_flushControlled;var Ubt=o,Xbt=Yut,Lbt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=Xbt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return Ubt.createElement("div",{className:t},Ubt.createElement("div",{className:Xbt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(Ubt.Component),qbt=Lbt,Wbt=wOt,Fbt=Jdt,Vbt=Ddt,Bbt=Vbt.isPlatform("Mac OS X"),Zbt=Bbt&&Vbt.isBrowser("Firefox < 29"),Ybt=Wbt.hasCommandModifier,Gbt=Wbt.isCtrlKeyCommand;function Hbt(e){return Bbt&&e.altKey||Gbt(e)}var Kbt=function(e){switch(e.keyCode){case 66:return Ybt(e)?"bold":null;case 68:return Gbt(e)?"delete":null;case 72:return Gbt(e)?"backspace":null;case 73:return Ybt(e)?"italic":null;case 74:return Ybt(e)?"code":null;case 75:return Bbt&&Gbt(e)?"secondary-cut":null;case 77:case 79:return Gbt(e)?"split-block":null;case 84:return Bbt&&Gbt(e)?"transpose-characters":null;case 85:return Ybt(e)?"underline":null;case 87:return Bbt&&Gbt(e)?"backspace-word":null;case 89:return Gbt(e)?Bbt?"secondary-paste":"redo":null;case 90:return function(e){return Ybt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case Fbt.RETURN:return"split-block";case Fbt.DELETE:return function(e){return!Bbt&&e.shiftKey?null:Hbt(e)?"delete-word":"delete"}(e);case Fbt.BACKSPACE:return function(e){return Ybt(e)&&Bbt?"backspace-to-start-of-line":Hbt(e)?"backspace-word":"backspace"}(e);case Fbt.LEFT:return Zbt&&Ybt(e)?"move-selection-to-start-of-block":null;case Fbt.RIGHT:return Zbt&&Ybt(e)?"move-selection-to-end-of-block":null;default:return null}},Jbt=r0;function ewt(){return ewt=Jbt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ewt.apply(this,arguments)}function twt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rwt(e,t,n[t])}))}return e}function nwt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rwt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iwt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var owt=Kut,awt=Jut,swt=Xpt,lwt=xmt,cwt=rgt,uwt=Mbt,dwt=jbt,pwt=qbt,fwt=yut,hwt=o,mwt=qft,gwt=eht,Owt=Yut,vwt=hst,ywt=Kbt,bwt=lht,wwt=tct,xwt=ist,_wt=tpt,kwt=Yct,Swt=Ddt.isBrowser("IE"),Pwt=!Swt,Cwt={edit:uwt,composite:swt,drag:cwt,cut:null,render:null},$wt=!1,Ewt=function(e){function t(){return e.apply(this,arguments)||this}iwt(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}(hwt.Component),Twt=function(e){function t(t){var n;return rwt(nwt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),rwt(nwt(n),"_clipboard",void 0),rwt(nwt(n),"_handler",void 0),rwt(nwt(n),"_dragCount",void 0),rwt(nwt(n),"_internalDrag",void 0),rwt(nwt(n),"_editorKey",void 0),rwt(nwt(n),"_placeholderAccessibilityID",void 0),rwt(nwt(n),"_latestEditorState",void 0),rwt(nwt(n),"_latestCommittedEditorState",void 0),rwt(nwt(n),"_pendingStateFromBeforeInput",void 0),rwt(nwt(n),"_onBeforeInput",void 0),rwt(nwt(n),"_onBlur",void 0),rwt(nwt(n),"_onCharacterData",void 0),rwt(nwt(n),"_onCompositionEnd",void 0),rwt(nwt(n),"_onCompositionStart",void 0),rwt(nwt(n),"_onCopy",void 0),rwt(nwt(n),"_onCut",void 0),rwt(nwt(n),"_onDragEnd",void 0),rwt(nwt(n),"_onDragOver",void 0),rwt(nwt(n),"_onDragStart",void 0),rwt(nwt(n),"_onDrop",void 0),rwt(nwt(n),"_onInput",void 0),rwt(nwt(n),"_onFocus",void 0),rwt(nwt(n),"_onKeyDown",void 0),rwt(nwt(n),"_onKeyPress",void 0),rwt(nwt(n),"_onKeyUp",void 0),rwt(nwt(n),"_onMouseDown",void 0),rwt(nwt(n),"_onMouseUp",void 0),rwt(nwt(n),"_onPaste",void 0),rwt(nwt(n),"_onSelect",void 0),rwt(nwt(n),"editor",void 0),rwt(nwt(n),"editorContainer",void 0),rwt(nwt(n),"focus",void 0),rwt(nwt(n),"blur",void 0),rwt(nwt(n),"setMode",void 0),rwt(nwt(n),"exitCurrentMode",void 0),rwt(nwt(n),"restoreEditorDOM",void 0),rwt(nwt(n),"setClipboard",void 0),rwt(nwt(n),"getClipboard",void 0),rwt(nwt(n),"getEditorKey",void 0),rwt(nwt(n),"update",void 0),rwt(nwt(n),"onDragEnter",void 0),rwt(nwt(n),"onDragLeave",void 0),rwt(nwt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),rwt(nwt(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=gwt.getScrollParent(i),a=e||bwt(o),s=a.x,l=a.y;_wt(i)||("production"!==Ns.env.NODE_ENV?xwt(!1,"editorNode is not an HTMLElement"):xwt(!1)),i.focus(),o===window?window.scrollTo(s,l):mwt.setTop(o,l),r||n.update(fwt.forceSelection(t,t.getSelection()))}})),rwt(nwt(n),"blur",(function(){var e=n.editor;e&&(_wt(e)||("production"!==Ns.env.NODE_ENV?xwt(!1,"editorNode is not an HTMLElement"):xwt(!1)),e.blur())})),rwt(nwt(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=twt({},Cwt.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=twt({},Cwt,{edit:a});n._handler=s[e]})),rwt(nwt(n),"exitCurrentMode",(function(){n.setMode("edit")})),rwt(nwt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),rwt(nwt(n),"setClipboard",(function(e){n._clipboard=e})),rwt(nwt(n),"getClipboard",(function(){return n._clipboard})),rwt(nwt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),rwt(nwt(n),"onDragEnter",(function(){n._dragCount++})),rwt(nwt(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||vwt(),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}iwt(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(dwt?dwt((function(){return r(t,n)})):r(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:kwt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return hwt.createElement(pwt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,c=e.textAlignment,u=e.textDirectionality,d=Owt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),p=this.props.role||"textbox",f="combobox"===p?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:twt({},awt,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:u};return hwt.createElement("div",{className:d},this._renderPlaceholder(),hwt.createElement("div",{className:Owt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},hwt.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:Owt({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:p,spellCheck:Pwt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},hwt.createElement(Ewt,{editor:this,editorState:a}),hwt.createElement(lwt,ewt({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!$wt&&wwt("draft_ods_enabled")&&($wt=!0),this.setMode("edit"),Swt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Ze.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(hwt.Component);rwt(Twt,"defaultProps",{blockRenderMap:owt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:ywt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Qwt=Twt,Iwt=Ge(Object.freeze({__proto__:null})),Dwt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},Awt=Dwt,Rwt=Vgt.strlen;var zwt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,i){var o=e.getText(),a=e.getEntityAt(r);n.push({offset:Rwt(o.slice(0,r)),length:Rwt(o.slice(r,i)),key:Number(t[Awt.stringify(a)])})})),n},Nwt=Vgt,Mwt=Oat,jwt=function(e,t){return e===t},Uwt=function(e){return!!e},Xwt=[];var Lwt=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 r=[],i=t.map((function(e){return e.has(n)})).toList();return Mwt(i,jwt,Uwt,(function(t,i){var o=e.getText();r.push({offset:Nwt.strlen(o.slice(0,t)),length:Nwt.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(Xwt,n.toJS())};function qwt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wwt=Qat,Fwt=Vat,Vwt=Dwt,Bwt=zwt,Zwt=Lwt,Ywt=ist,Gwt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:Zwt(e),entityRanges:Bwt(e,t),data:e.getData().toObject()}},Hwt=function(e,t,n,r){if(e instanceof Wwt)n.push(Gwt(e,t));else{e instanceof Fwt||("production"!==Ns.env.NODE_ENV?Ywt(!1,"block is not a BlockNode"):Ywt(!1));var i=e.getParentKey(),o=r[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qwt(e,t,n[t])}))}return e}({},Gwt(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},Kwt=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=Vwt.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),Hwt(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(Vwt.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function Jwt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ext(e,t,n[t])}))}return e}function ext(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var txt=hst,nxt=ist,rxt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},ixt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ns.env.NODE_ENV?nxt(!1,"Invalid raw state"):nxt(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||("production"!==Ns.env.NODE_ENV?nxt(!1,"Invalid tree raw block"):nxt(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=Jwt({},e);rxt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?Jwt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,Jwt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=rxt(e),i=e.depth||0,o=Jwt({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===i)t.push(o);else if(null==a||a.depth<i-1){var s={key:txt(),text:"",depth:i-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===i?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===i-1)a.children.push(o);else{for(;null!=a&&a.depth>=i;)n.shift(),a=n[0];i>0?a.children.push(o):t.push(o)}}else t.push(o)})),Jwt({},e,{blocks:t})}},oxt=ixt,axt=Ggt,sxt={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Ns.env.NODE_ENV&&axt(!0,"Tree is missing parent -> child pointer on %s",n),!1;var i=e.getChildKeys().map((function(e){return t.get(e)}));if(!i.every((function(e){return e.getParentKey()===n})))return"production"!==Ns.env.NODE_ENV&&axt(!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&&axt(!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&&axt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Ns.env.NODE_ENV&&axt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ns.env.NODE_ENV&&axt(!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&&axt(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var l=a.map((function(t){return e.get(t)})),c=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return"production"!==Ns.env.NODE_ENV&&axt(!0,"%s has no first child",r),!1;r=c.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Ns.env.NODE_ENV&&axt(!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)}},lxt=sxt,cxt=gat,uxt=rat.exports.List;var dxt=function(e,t){var n=e.map((function(e,n){var r=t[n];return cxt.create({style:e,entity:r})}));return uxt(n)},pxt=Vgt.substr;var fxt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=pxt(e,0,t.offset).length,i=r+pxt(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},hxt=Vgt,mxt=rat.exports.OrderedSet,gxt=hxt.substr,Oxt=mxt();var vxt=function(e,t){var n=Array(e.length).fill(Oxt);return t&&t.forEach((function(t){for(var r=gxt(e,0,t.offset).length,i=r+gxt(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function yxt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bxt(e,t,n[t])}))}return e}function bxt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wxt=Qat,xxt=Vat,_xt=Sct,kxt=Klt,Sxt=oxt,Pxt=lxt,Cxt=ect,$xt=dxt,Ext=fxt,Txt=vxt,Qxt=hst,Ixt=rat.exports,Dxt=ist,Axt=tct("draft_tree_data_support"),Rxt=Ixt.List,zxt=Ixt.Map,Nxt=Ixt.OrderedMap,Mxt=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||Qxt(),data:zxt(i),characterList:jxt(e,t)}},jxt=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return $xt(Txt(n,i||[]),Ext(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return yxt({},e,{key:t[e.key]})}))))},Uxt=function(e){return yxt({},e,{key:e.key||Qxt()})},Xxt=function(e,t,n){var r=t.map((function(e){return yxt({},e,{parentRef:n})}));return e.concat(r.reverse())},Lxt=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=Axt&&!n?Sxt.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Axt)return function(e,t){return Nxt(e.map((function(e){var n=new wxt(Mxt(e,t));return[n.getKey(),n]})))}(n?Sxt.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(Uxt).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Ns.env.NODE_ENV?Dxt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Dxt(!1));var o=r.children.map(Uxt),a=new xxt(yxt({},Mxt(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:Rxt(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=Xxt([],o,a);s.length>0;){var l=s.pop(),c=l.parentRef,u=c.getChildKeys(),d=u.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==Ns.env.NODE_ENV?Dxt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Dxt(!1));break}var f=l.children.map(Uxt),h=new xxt(yxt({},Mxt(l,t),{parent:c.getKey(),children:Rxt(f.map((function(e){return e.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),s=Xxt(s,f,h)}return n}),Nxt())}(r,t);return"production"!==Ns.env.NODE_ENV&&(Pxt.isValidTree(i)||("production"!==Ns.env.NODE_ENV?Dxt(!1,"Should be a valid tree"):Dxt(!1))),i},qxt=function(e){Array.isArray(e.blocks)||("production"!==Ns.env.NODE_ENV?Dxt(!1,"invalid RawDraftContentState"):Dxt(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=kxt.__create(i,o,a||{})})),n}(e),n=Lxt(e,t),r=n.isEmpty()?new Cxt:Cxt.createEmpty(n.first().getKey());return new _xt({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},Wxt=TOt;var Fxt=function(e){var t=Wxt(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}},Vxt=Fxt;var Bxt=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=Vxt(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r},Zxt={Editor:Qwt,EditorBlock:smt,EditorState:yut,CompositeDecorator:But,Entity:Klt,EntityInstance:Llt,BlockMapBuilder:aat,CharacterMetadata:gat,ContentBlock:Qat,ContentState:Sct,RawDraftContentState:Iwt,SelectionState:ect,AtomicBlockUtils:Wut,KeyBindingUtil:wOt,Modifier:Slt,RichUtils:sbt,DefaultDraftBlockRenderMap:Kut,DefaultDraftInlineStyle:Jut,convertFromHTML:Uyt,convertFromRaw:qxt,convertToRaw:Kwt,genKey:hst,getDefaultKeyBinding:Kbt,getVisibleSelectionRect:Bxt};function Yxt(e,t,n,r,i,o){var a=r-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&&i>0?Object.assign({},e,{offset:e.offset+i}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&i>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+i,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+i,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+i+o,length:e.offset+e.length-(t+n)})]:e}var Gxt=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},Hxt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},Kxt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Jxt(e){if(-1!==Kxt.indexOf(e.type))return Ve.renderToStaticMarkup(e);var t=Ve.renderToStaticMarkup(o.cloneElement(e,{},"\r")).split("\r");return _Ee(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),_Ee(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function e_t(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}function t_t(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(e_t(e))return Ve.renderToStaticMarkup(e);var n=Jxt(e);if(null!==t&&"object"===Ql(n)){var r=n.start,i=n.end;return r+t+i}return n}if(_Ee(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 n_t=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.isValidElement(t)){var r=Jxt(t);if("string"==typeof r)return 0;var i=r[n].length,a=o.Children.toArray(t.props.children)[0];return i+(a&&o.isValidElement(a)?e(a,n):0)}return"object"===Ql(t)&&t[n]?t[n].length:0},r_t=function(){var e=arguments.length>1?arguments[1]:void 0;return e},i_t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r_t,r=nit(e.text),i=n;if(n.__isMiddleware&&(i=n(r_t)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(Gxt),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=r.slice(n.offset,n.offset+n.length).join(""),c=i(s,l),u=nit(t_t(c,l)||l),d=n_t(c,"start"),p=n_t(c,"end"),f=function(t){return t.reduce((function(t,r,i){var o=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?Yxt(t,n.offset,n.length,u.length,d,p):t}(r,i);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),r=[].concat(nit(r.slice(0,n.offset)),nit(u),nit(r.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:r.join(""),inlineStyleRanges:a,entityRanges:o})}return e},o_t=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},a_t=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function s_t(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 l_t=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},c_t=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return _Ee(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},u_t=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},d_t=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},p_t=function(e,t){return t.offset+t.length-(e.offset+e.length)},f_t=function(e,t){for(var n=0;n<e.length;){if(!t.every(d_t.bind(null,e[n])))return e.slice(n);n++}return[]},h_t=function(e,t,n){return t+t_t(e(n.style)).start},m_t=function(e,t,n){return t_t(e(n.style)).end+t},g_t=function(e){return function(t){return e(t)}};g_t.__isMiddleware=!0;var O_t=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function v_t(e){return _Ee(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:o.isValidElement(e)?function(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}(e)?Ve.renderToStaticMarkup(e):Jxt(e):Object.prototype.hasOwnProperty.call(e,"element")&&o.isValidElement(e.element)?Object.assign({},e,Jxt(e.element)):(_Ee(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}function y_t(e,t){if(_Ee(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=Jxt(e.nest(t)),r=n.start,i=n.end;return Object.assign({},e,{nestStart:r,nestEnd:i})}if(o.isValidElement(e.nest)){var a=Jxt(e.nest),s=a.start,l=a.end;return Object.assign({},e,{nestStart:s,nestEnd:l})}return _Ee(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 b_t=["1","a","i"],w_t={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=b_t[e%3];return o.createElement("ol",{type:t})}},media:o.createElement("figure",null),atomic:o.createElement("figure",null)},x_t=function(e,t){return t},__t=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,r=e.blockToHTML,i=void 0===r?{}:r,a=e.entityToHTML,s=void 0===a?x_t:a;return function(e){var t;_Ee(null!=e,"Expected contentState to be non-null"),t=!0===i.__isMiddleware?i(O_t(w_t)):a_t(O_t(i),O_t(w_t));var r=Zxt.convertToRaw(e),a=[],l=r.blocks.map((function(e){var i=e.type,l=e.depth,c="",u="",d=t(e);if(!d)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(d.nest)for(;l+1!==a.length||i!==a[l].type;)if(l+1===a.length){var p=a[l];c+=y_t(t(p),l).nestEnd,u+=y_t(t(e),l).nestStart,a[l]=e}else if(l+1<a.length){var f=a[a.length-1];c+=y_t(t(f),l).nestEnd,a=a.slice(0,-1)}else u+=y_t(t(e),l).nestStart,a.push(e);else c=a.reduceRight((function(e,n){return e+y_t(t(n),l).nestEnd}),""),a=[];var h,m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g_t;_Ee(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(s_t):a_t(o_t(n),o_t(s_t));for(var r="",i=[],o=e.inlineStyleRanges.sort(Gxt),a=nit(e.text),s=0;s<a.length;s++){var l=u_t(s,o),c=l_t(i,l),u=l_t(l,i),d=l_t(i,c),p=f_t(d,u),f=p.concat(u).sort(p_t),h=f.reduce(h_t.bind(null,t),"");r+=c.concat(p).reduce(m_t.bind(null,t),"")+h+a[s],i=(i=c_t(i,p.concat(c))).concat(f),_Ee(i.length===l.length,"Character ".concat(s,": ").concat(i.length-l.length," styles left on stack that should no longer be there"))}return i.reduceRight((function(e,n){return e+t_t(t(n.style)).end}),r)}(i_t(function(e){for(var t=nit(e.text),n=e.entityRanges.sort(Gxt),r=e.inlineStyleRanges.sort(Gxt),i="",o=function(e){var o=t[e];if(void 0!==Hxt[o]){var a=Hxt[o],s=nit(i).length;i+=a;var l=function(e){return Yxt(e,s,o.length,a.length,0,0)};n=n.map(l),r=r.map(l)}else i+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:i,inlineStyleRanges:r,entityRanges:n})}(e),r.entityMap,s),n),g=v_t(t(e));return h="string"==typeof g?g:g.start+m+g.end,0===m.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(h=o.isValidElement(g.empty)?Ve.renderToStaticMarkup(g.empty):g.empty),c+u+h})).join("");return l=a.reduce((function(e,n){return e+y_t(t(n),n.depth).nestEnd}),l)}},k_t={exports:{}};k_t.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:B(e)}function r(e){return s(e)?e:Z(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!c(e)?e:G(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,O=1<<g,v=O-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function P(e){return void 0===e.size&&(e.size=e.__iterate($)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function $(){return!0}function E(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function Q(e,t){return I(e,t,t)}function I(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,A=1,R=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",M=z||N;function j(e){this.next=e}function U(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function X(){return{value:void 0,done:!0}}function L(e){return!!F(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=F(e);return t&&t.call(e)}function F(e){var t=e&&(z&&e[z]||e[N]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function B(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Z(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function G(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=D,j.VALUES=A,j.ENTRIES=R,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[M]=function(){return this},t(B,n),B.of=function(){return B(arguments)},B.prototype.toSeq=function(){return this},B.prototype.toString=function(){return this.__toString("Seq {","}")},B.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},B.prototype.__iterate=function(e,t){return de(this,e,t,!0)},B.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(Z,B),Z.prototype.toKeyedSeq=function(){return this},t(Y,B),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(G,B),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},B.isSeq=oe,B.Keyed=Z,B.Set=G,B.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new ie(e).fromEntrySeq():L(e)?new re(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=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(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 ue(e){return V(e)?new te(e):q(e)?new ie(e):L(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new j((function(){var e=i[n?o-a:a];return a++>o?X():U(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Z(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?Z(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Oe(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 ve(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)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&Oe(i[1],e)&&(n||Oe(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,r){if(n?!e.has(t):i?!Oe(t,e.get(r,y)):!Oe(e.get(r,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(be(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 xe(){throw TypeError("Abstract")}function _e(){}function ke(){}function Se(){}B.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new j((function(){return i>r?X():U(e,i,n[t?r-i++:i++])}))},t(ne,Z),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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new j((function(){var a=r[t?i-o:o];return o++>i?X():U(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(q(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!q(n))return new j(X);var r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new j((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return U(e,i,r[i++])}))},t(ye,Y),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return Oe(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:new ye(this._value,Q(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return Oe(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return Oe(this._value,e)?this.size:-1},ye.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},ye.prototype.__iterator=function(e,t){var n=this,r=0;return new j((function(){return r<n.size?U(e,r++,n._value):X()}))},ye.prototype.equals=function(e){return e instanceof ye?Oe(this._value,e._value):ve(e)},t(we,Y),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return E(e,t,this.size)?this:(e=T(e,this.size),(t=Q(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new j((function(){var a=i;return i+=t?-r:r,o>n?X():U(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ve(this,e)},t(xe,n),t(_e,xe),t(ke,xe),t(Se,xe),xe.Keyed=_e,xe.Indexed=ke,xe.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function $e(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 Ce(n)}if("string"===t)return e.length>je?Ee(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Qe(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ee(e){var t=Le[e];return void 0===t&&(t=Te(e),Xe===Ue&&(Xe=0,Le={}),Xe++,Le[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function Qe(e){var t;if(ze&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=Ae(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Re.set(e,t);else{if(void 0!==Ie&&!1===Ie(e))throw new Error("Non-extensible objects are not allowed as keys.");if(De)Object.defineProperty(e,Me,{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[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ae(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,ze="function"==typeof WeakMap;ze&&(Re=new WeakMap);var Ne=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var je=16,Ue=255,Xe=0,Le={};function qe(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?it():Fe(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Be])}t(We,_e),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,y)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,xn(e),t,n);return r===y?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},We.prototype.merge=function(){return pt(this,void 0,arguments)},We.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return pt(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return Lt(dn(this,e))},We.prototype.sortBy=function(e,t){return Lt(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=Fe;var Ve,Be="@@__IMMUTABLE_MAP__@@",Ze=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ze);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return Ve||(Ve=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=x(b),a=x(w);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;i=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===y?e:(_(s),_(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ke(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Ge(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,$e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(O),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new He(e,o+1,a)}function pt(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],l=r(s);a(s)||(l=l.map((function(e){return fe(e)}))),i.push(l)}return mt(e,t,i)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):Oe(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return Oe(t,i)?t:i}}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 r=t?function(n,r){e.update(r,y,(function(e){return e===y?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===y,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}be(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?y:e.get(l,y),u=gt(c,t,n,r);return u===c?e:u===y?e.remove(l):(i?it():e).set(l,u)}function Ot(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function vt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function yt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function bt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ze[Be]=!0,Ze[m]=Ze.remove,Ze.removeIn=Ze.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ye.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===y,l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ye(e,f)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[Ot(o&i-1)].get(e+g,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===y)return this;var d=Ot(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,r,i,o,a);if(h===f)return this;if(!u&&h&&p.length>=xt)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,O=u?h?c:c^l:c|l,b=u?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=O,this.nodes=b,this):new Ge(e,O,b)},He.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=i===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<_t)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new He(e,p,h)},Ke.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=i===y;if(n!==this.keyHash)return s?this:(_(a),_(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return Oe(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=Oe(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(_(a),s?void _(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(_(o),lt(this,e,t,$e(r),[r,i])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},Ge.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return X()};var wt=O/4,xt=O/2,_t=O/4;function kt(e){var t=At();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(qe(r),r>0&&r<O?Dt(0,r,g,null,new $t(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&v]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):At()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Ut(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:jt(this,T(e,n),Q(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new j((function(){var t=r();return t===Qt?X():U(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Qt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function $t(e,t){this.array=e,this.ownerID=t}Ct[Pt]=!0,Ct[m]=Ct.remove,Ct.setIn=Ze.setIn,Ct.deleteIn=Ct.removeIn=Ze.removeIn,Ct.update=Ze.update,Ct.updateIn=Ze.updateIn,Ct.mergeIn=Ze.mergeIn,Ct.mergeDeepIn=Ze.mergeDeepIn,Ct.withMutations=Ze.withMutations,Ct.asMutable=Ze.asMutable,Ct.asImmutable=Ze.asImmutable,Ct.wasAltered=Ze.wasAltered,$t.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&v;if(r>=this.array.length)return new $t([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Nt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},$t.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&v;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Nt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Et,Tt,Qt={};function It(e,t){var n=e._origin,r=e._capacity,i=Xt(r),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===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>O&&(c=O),function(){if(l===c)return Qt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>O&&(u=O),function(){for(;;){if(s){var e=s();if(e!==Qt)return e;s=null}if(c===u)return Qt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function At(){return Et||(Et=Dt(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=Xt(e._capacity)?r=zt(r,e.__ownerID,0,t,n,o):i=zt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Dt(e._origin,e._capacity,e._level,i,r):e}function zt(e,t,n,r,i,o){var a,s=r>>>n&v,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=zt(c,t,n-g,r,i,o);return u===c?e:((a=Nt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(_(o),a=Nt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Nt(e,t){return t&&e&&t===e.ownerID?e:new $t(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Xt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new $t(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Xt(o),p=Xt(s);p>=1<<l+g;)c=new $t(c&&c.array.length?[c]:[],r),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new $t([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=Nt(c,r),O=l;O>g;O-=g){var y=d>>>O&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>g&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(u=0;c;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(u+=(1<<l)*b),l-=g,c=c.array[b]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,c,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Xt(e){return e<O?0:e-1>>>g<<g}function Lt(e){return null==e?Ft():qt(e)?e:Ft().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Fe(e)&&u(e)}function Wt(e,t,n,r){var i=Object.create(Lt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ft(){return Tt||(Tt=Wt(it(),At()))}function Vt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=O&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),r=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Wt(r,i)}function Bt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Ht(e){var t=yn(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=bn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new j((function(){var e=r.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===A?D:A,n)},t}function Kt(e,t,n){var r=yn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,y);return o===y?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(R,i);return new j((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return U(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=bn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=yn(e);return r&&(i.has=function(r){var i=e.get(r,y);return i!==y&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,y);return o!==y&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(R,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return U(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Lt():We()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=vn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),E(t,n,i))return e;var o=T(t,i),a=Q(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new j((function(){for(;a++<o;)i.next();if(++l>s)return X();var e=i.next();return r||t===A?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(R,i),s=!0;return new j((function(){if(!s)return X();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===R?e:U(r,l,c,e):(s=!1,X())}))},r}function an(e,t,n,r){var i=yn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(R,o),l=!0,c=0;return new j((function(){var e,o,u;do{if((e=s.next()).done)return r||i===A?e:U(i,c++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===R?e:U(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:U(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return X()}))},r}function cn(e,t,n){var r=vn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(A,r),a=0;return new j((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?U(n,a++,t):U(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=wn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Z(o):l(e)?Y(o):G(o)}function pn(e,t,n){if(t||(t=wn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=yn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(A,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),W(i?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?X():U(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}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 On(e){return qe(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?Z:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):B.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=W(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(n(e))}return t}function _n(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);Cn(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=We(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Lt,We),Lt.of=function(){return this(arguments)},Lt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Lt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Lt.prototype.set=function(e,t){return Vt(this,e,t)},Lt.prototype.remove=function(e){return Vt(this,e,y)},Lt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Lt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Lt.isOrderedMap=qt,Lt.prototype[h]=!0,Lt.prototype[m]=Lt.prototype.remove,t(Bt,Z),Bt.prototype.get=function(e,t){return this._iter.get(e,t)},Bt.prototype.has=function(e){return this._iter.has(e)},Bt.prototype.valueSeq=function(){return this._iter.valueSeq()},Bt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Bt.prototype.map=function(e,t){var n=this,r=Kt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Bt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?On(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Bt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(A,t),r=t?On(this):0;return new j((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Bt.prototype[h]=!0,t(Zt,Y),Zt.prototype.includes=function(e){return this._iter.includes(e)},Zt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t),r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value,t)}))},t(Yt,G),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,Z),Gt.prototype.entrySeq=function(){return this._iter.toSeq()},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Zt.prototype.cacheResult=Bt.prototype.cacheResult=Yt.prototype.cacheResult=Gt.prototype.cacheResult=bn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.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},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},_n.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)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=_n.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Pn(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach($n.bind(void 0,e))}catch(e){}}function $n(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function En(e){return null==e?zn():Tn(e)&&!u(e)?e:zn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ze.removeIn,kn.merge=Ze.merge,kn.mergeWith=Ze.mergeWith,kn.mergeIn=Ze.mergeIn,kn.mergeDeep=Ze.mergeDeep,kn.mergeDeepWith=Ze.mergeDeepWith,kn.mergeDeepIn=Ze.mergeDeepIn,kn.setIn=Ze.setIn,kn.update=Ze.update,kn.updateIn=Ze.updateIn,kn.withMutations=Ze.withMutations,kn.asMutable=Ze.asMutable,kn.asImmutable=Ze.asImmutable,t(En,Se),En.of=function(){return this(arguments)},En.fromKeys=function(e){return this(r(e).keySeq())},En.prototype.toString=function(){return this.__toString("Set {","}")},En.prototype.has=function(e){return this._map.has(e)},En.prototype.add=function(e){return An(this,this._map.set(e,!0))},En.prototype.remove=function(e){return An(this,this._map.remove(e))},En.prototype.clear=function(){return An(this,this._map.clear())},En.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])},En.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)}))}))},En.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)}))}))},En.prototype.merge=function(){return this.union.apply(this,arguments)},En.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},En.prototype.sort=function(e){return Nn(dn(this,e))},En.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},En.prototype.wasAltered=function(){return this._map.wasAltered()},En.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},En.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},En.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)},En.isSet=Tn;var Qn,In="@@__IMMUTABLE_SET__@@",Dn=En.prototype;function An(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(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Qn||(Qn=Rn(it()))}function Nn(e){return null==e?Ln():Mn(e)?e:Ln().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Ze.withMutations,Dn.asMutable=Ze.asMutable,Dn.asImmutable=Ze.asImmutable,Dn.__empty=zn,Dn.__make=Rn,t(Nn,En),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(r(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Mn;var jn,Un=Nn.prototype;function Xn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return jn||(jn=Xn(Ft()))}function qn(e){return null==e?Yn():Wn(e)?e:Yn().unshiftAll(e)}function Wn(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Ln,Un.__make=Xn,t(qn,ke),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Zn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Zn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(E(e,t,this.size))return this;var n=T(e,this.size);if(Q(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Zn(r,i)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Zn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new j((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return X()}))},qn.isStack=Wn;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Bn=qn.prototype;function Zn(e,t,n,r){var i=Object.create(Bn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Zn(0))}function Gn(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}Bn[Vn]=!0,Bn.withMutations=Ze.withMutations,Bn.asMutable=Ze.asMutable,Bn.asImmutable=Ze.asImmutable,Bn.wasAltered=Ze.wasAltered,n.Iterator=j,Gn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Zt(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 Bt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Lt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return En(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return Oe(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(D)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var r,i;return qe(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,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(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ve(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find($)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return Oe(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=xn(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,y):y)===y)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?nr(e):or)},minBy:function(e,t){return pn(this,t?nr(t):or,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(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[M]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=rr,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Gn(r,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return Oe(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return Oe(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Kn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr($e(e),$e(t))|0}:function(e,t){r=r+lr($e(e),$e(t))|0}:t?function(e){r=31*r+$e(e)|0}:function(e){r=r+$e(e)|0});return sr(i,r)}function sr(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Bt(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 r=this.slice(0,e);return mn(this,1===n?r:r.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=C(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=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[f]=!0,i.prototype[h]=!0,Gn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Gn(Z,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(ke,i.prototype),Gn(Se,o.prototype),{Iterable:n,Seq:B,Collection:xe,Map:We,OrderedMap:Lt,List:kt,Stack:qn,Set:En,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:Oe,fromJS:fe}}();var S_t=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function P_t(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=S_t(e)):t=S_t(e);return t.body}var C_t=new RegExp("\r","g"),$_t=new RegExp("\n","g"),E_t=new RegExp(" ","g"),T_t=new RegExp("\r","g"),Q_t=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],I_t={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},D_t=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},A_t=function(e,t,n){},R_t=function(e,t,n){return n},z_t=function(e,t){},N_t=function(e){return[]},M_t=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function j_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:k_t.exports.Map();return!0===n?{text:"\r",inlines:[k_t.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[k_t.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function U_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k_t.exports.Map();return{text:"\r",inlines:[k_t.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function X_t(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 L_t(e,t,n){return X_t(e,n)}function q_t(e,t,n){var r=I_t[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var i=t;n=n.withMutations((function(e){"bold"===i.style.fontWeight&&e.add("BOLD"),"italic"===i.style.fontStyle&&e.add("ITALIC"),"underline"===i.style.textDecoration&&e.add("UNDERLINE"),"line-through"===i.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function W_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k_t.exports.OrderedSet();return q_t(e,t,n)}function F_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),i=e.text.slice(-1),o="\r"===i&&"\r"===r,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;" "!==r&&"\n"!==r||(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 V_t(e,t,n,r,i,o,a,s,l,c,u,d,p,f,h,m){var g=e.nodeName.toLowerCase(),O=!1,v="unstyled";if("#text"===g){var y=e.textContent;if(""===y.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===y.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[k_t.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(y=y.replace($_t," "));var b=Array(y.length).fill(m),w=0;return l(y,u,d,p,f).sort(Gxt).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+w;null==i&&(i=y.substr(o,r));var a=y.split("");a.splice.bind(a,o,r).apply(a,i.split("")),y=a.join(""),b.splice.bind(b,o,r).apply(b,Array(i.length).fill(t)),w+=i.length-r})),{text:y,inlines:Array(y.length).fill(t),entities:b,blocks:[]}}if("br"===g){var x=r;return null===x?j_t("unstyled",o,!0):j_t(x||"unstyled",o,h.flat)}var _={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=q_t(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,S,P=c(g,e,n,r);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(k=P,S=k_t.exports.Map()):(k="string"==typeof P?P:P.type,S=P.data?k_t.exports.Map(P.data):k_t.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,O=!0,_=j_t(k,o,!0,S));else{var C=X_t(g,n);_=U_t(C,o),r=C,O=!0,v="ul"===n?"unordered-list-item":"ordered-list-item"}else _=U_t(k||X_t(g,n),o,S),r=k||X_t(g,n),O=!0;var $=e.firstChild;null!=$||!m||"atomic"!==k&&"atomic"!==r||($=document.createTextNode("a")),null!=$&&(g=$.nodeName.toLowerCase());for(var E=null;$;){E=s(g,$,u,d,p,f),_=F_t(_,V_t($,t,n,r,i,o,a,s,l,c,u,d,p,f,h,E||m),h.flat);var T=$.nextSibling;if(T&&i.indexOf(g)>=0&&r){var Q=c(g,$,n,r),I=void 0,D=void 0;!1!==Q&&("string"==typeof(Q=Q||{})?(I=Q,D=k_t.exports.Map()):(I=Q.type||X_t(g,n),D=Q.data?k_t.exports.Map(Q.data):k_t.exports.Map()),_=F_t(_,j_t(I,o,h.flat,D),h.flat))}T&&(g=T.nodeName.toLowerCase()),$=T}return O&&(_=F_t(_,U_t(v,o,k_t.exports.Map()),h.flat)),_}function B_t(e,t,n,r,i,o,a,s,l,c,u){var d=u(e=e.trim().replace(C_t,"").replace(E_t," "));if(!d)return null;var p=function(e){return Q_t.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Q_t.concat(["div"]):["div"],f=V_t(d,k_t.exports.OrderedSet(),"ul",null,p,-1,t,n,r,i,o,a,s,l,c);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:k_t.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:k_t.exports.Map(),depth:0}),f}function Z_t(e,t,n,r,i,o,a,s,l,c,u,d){var p=B_t(e,t,n,r,i,o,a,s,l,c,u);if(null==p)return[];var f=0;return p.text.split("\r").map((function(e,t){e=e.replace(T_t,"");var n=f+e.length,r=M_t(p).inlines.slice(f,n),i=M_t(p).entities.slice(f,n),o=k_t.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),Zxt.CharacterMetadata.create(n)})));return f=n+1,new Zxt.ContentBlock({key:d(),type:M_t(p).blocks[t].type,data:M_t(p).blocks[t].data,depth:M_t(p).blocks[t].depth,text:e,characterList:o})}))}var Y_t=function(e){var t=e.htmlToStyle,n=void 0===t?R_t:t,r=e.htmlToEntity,i=void 0===r?z_t:r,o=e.textToEntity,a=void 0===o?N_t:o,s=e.htmlToBlock,l=void 0===s?A_t:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P_t,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Zxt.genKey,s=Zxt.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():Zxt.Entity.create.apply(Zxt.Entity,arguments)},u=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):Zxt.Entity.get.apply(Zxt.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):Zxt.Entity.mergeData.apply(Zxt.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):Zxt.Entity.replaceData.apply(Zxt.Entity,arguments)},f=Z_t(e,D_t(n,W_t),D_t(i,z_t),D_t(a,N_t),D_t(l,L_t),c,u,d,p,t,r,o),h=Zxt.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:h,selectionBefore:Zxt.SelectionState.createEmpty(m),selectionAfter:Zxt.SelectionState.createEmpty(m)})}},G_t=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?Y_t({}).apply(void 0,arguments):Y_t.apply(void 0,arguments)};O1('/**\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 H_t={};function K_t(e){e&&(e.value=!0)}function J_t(){}function ekt(e){return void 0===e.size&&(e.size=e.__iterate(nkt)),e.size}function tkt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?ekt(e)+t:t}function nkt(){return!0}function rkt(e,t,n){return(0===e&&!skt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function ikt(e,t){return akt(e,t,0)}function okt(e,t){return akt(e,t,t)}function akt(e,t,n){return void 0===e?n:skt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function skt(e){return e<0||0===e&&1/e==-1/0}function lkt(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function ckt(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function ukt(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function dkt(e){return ckt(e)||ukt(e)}var pkt=function(e){return lkt(e)?e:Ikt(e)},fkt=function(e){function t(e){return ckt(e)?e:Dkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pkt),hkt=function(e){function t(e){return ukt(e)?e:Akt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pkt),mkt=function(e){function t(e){return lkt(e)&&!dkt(e)?e:Rkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pkt);pkt.Keyed=fkt,pkt.Indexed=hkt,pkt.Set=mkt;function gkt(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function Okt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function vkt(e){return lkt(e)||Okt(e)}var ykt="@@__IMMUTABLE_ORDERED__@@";function bkt(e){return Boolean(e&&e[ykt])}var wkt="function"==typeof Symbol&&Symbol.iterator,xkt=wkt||"@@iterator",_kt=function(e){this.next=e};function kkt(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function Skt(){return{value:void 0,done:!0}}function Pkt(e){return!!Ekt(e)}function Ckt(e){return e&&"function"==typeof e.next}function $kt(e){var t=Ekt(e);return t&&t.call(e)}function Ekt(e){var t=e&&(wkt&&e[wkt]||e["@@iterator"]);if("function"==typeof t)return t}_kt.prototype.toString=function(){return"[Iterator]"},_kt.KEYS=0,_kt.VALUES=1,_kt.ENTRIES=2,_kt.prototype.inspect=_kt.prototype.toSource=function(){return this.toString()},_kt.prototype[xkt]=function(){return this};var Tkt=Object.prototype.hasOwnProperty;function Qkt(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 Ikt=function(e){function t(e){return null==e?Ukt():vkt(e)?e.toSeq():function(e){var t=qkt(e);if(t)return t;if("object"==typeof e)return new Nkt(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 r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new _kt((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return kkt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(pkt),Dkt=function(e){function t(e){return null==e?Ukt().toKeyedSeq():lkt(e)?ckt(e)?e.toSeq():e.fromEntrySeq():Okt(e)?e.toSeq():Xkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(Ikt),Akt=function(e){function t(e){return null==e?Ukt():lkt(e)?ckt(e)?e.entrySeq():e.toIndexedSeq():Okt(e)?e.toSeq().entrySeq():Lkt(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}(Ikt),Rkt=function(e){function t(e){return(lkt(e)&&!dkt(e)?e:Akt(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}(Ikt);Ikt.isSeq=gkt,Ikt.Keyed=Dkt,Ikt.Set=Rkt,Ikt.Indexed=Akt,Ikt.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var zkt=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[tkt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new _kt((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return kkt(e,o,n[o])}))},t}(Akt),Nkt=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 Tkt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new _kt((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return kkt(e,a,n[a])}))},t}(Dkt);Nkt.prototype[ykt]=!0;var Mkt,jkt=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=$kt(this._collection),r=0;if(Ckt(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=$kt(this._collection);if(!Ckt(n))return new _kt(Skt);var r=0;return new _kt((function(){var t=n.next();return t.done?t:kkt(e,r++,t.value)}))},t}(Akt);function Ukt(){return Mkt||(Mkt=new zkt([]))}function Xkt(e){var t=Array.isArray(e)?new zkt(e):Pkt(e)?new jkt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new Nkt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function Lkt(e){var t=qkt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function qkt(e){return Qkt(e)?new zkt(e):Pkt(e)?new jkt(e):void 0}function Wkt(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function Fkt(e){return Wkt(e)&&bkt(e)}function Vkt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function Bkt(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!!(Vkt(e)&&Vkt(t)&&e.equals(t))}var Zkt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ykt(e){return e>>>1&1073741824|3221225471&e}var Gkt=Object.prototype.valueOf;function Hkt(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 Ykt(t)}(e);case"string":return e.length>oSt?function(e){var t=lSt[e];void 0===t&&(t=Kkt(e),sSt===aSt&&(sSt=0,lSt={}),sSt++,lSt[e]=t);return t}(e):Kkt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Ykt(e.hashCode(e)):(e.valueOf!==Gkt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(nSt&&void 0!==(t=tSt.get(e)))return t;if(void 0!==(t=e[iSt]))return t;if(!eSt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[iSt]))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=++rSt,1073741824&rSt&&(rSt=0);if(nSt)tSt.set(e,t);else{if(void 0!==Jkt&&!1===Jkt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(eSt)Object.defineProperty(e,iSt,{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[iSt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[iSt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Kkt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Kkt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ykt(t)}var Jkt=Object.isExtensible,eSt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var tSt,nSt="function"==typeof WeakMap;nSt&&(tSt=new WeakMap);var rSt=0,iSt="__immutablehash__";"function"==typeof Symbol&&(iSt=Symbol(iSt));var oSt=16,aSt=255,sSt=0,lSt={},cSt=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=mSt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=hSt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(Dkt);cSt.prototype[ykt]=!0;var uSt=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,r=0;return t&&ekt(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&ekt(this),new _kt((function(){var o=r.next();return o.done?o:kkt(e,t?n.size-++i:i++,o.value,o)}))},t}(Akt),dSt=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 _kt((function(){var t=n.next();return t.done?t:kkt(e,t.value,t.value,t)}))},t}(Rkt),pSt=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){PSt(t);var r=lkt(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _kt((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){PSt(r);var i=lkt(r);return kkt(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(Dkt);function fSt(e){var t=$St(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=ESt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new _kt((function(){var e=r.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 hSt(e,t,n){var r=$St(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,H_t);return o===H_t?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new _kt((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return kkt(r,s,t.call(n,a[1],s,e),i)}))},r}function mSt(e,t){var n=this,r=$St(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=fSt(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=ESt,r.__iterate=function(n,r){var i=this,o=0;return r&&ekt(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&ekt(e);var a=e.__iterator(2,!i);return new _kt((function(){var e=a.next();if(e.done)return e;var s=e.value;return kkt(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function gSt(e,t,n,r){var i=$St(e);return r&&(i.has=function(r){var i=e.get(r,H_t);return i!==H_t&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,H_t);return o!==H_t&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new _kt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return kkt(i,r?c:s++,u,o)}}))},i}function OSt(e,t,n,r){var i=e.size;if(rkt(t,n,i))return e;var o=ikt(t,i),a=okt(n,i);if(o!=o||a!=a)return OSt(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=$St(e);return c.size=0===s?s:e.size&&s||void 0,!r&&gkt(e)&&s>=0&&(c.get=function(t,n){return(t=tkt(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new _kt(Skt);var i=e.__iterator(t,n),a=0,l=0;return new _kt((function(){for(;a++<o;)i.next();if(++l>s)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:kkt(t,l-1,0===t?void 0:e.value[1],e)}))},c}function vSt(e,t,n,r){var i=$St(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),l=!0,c=0;return new _kt((function(){var e,o,u;do{if((e=s.next()).done)return r||1===i?e:kkt(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return 2===i?e:kkt(i,o,u,e)}))},i}function ySt(e,t){var n=ckt(e),r=[e].concat(t).map((function(e){return lkt(e)?n&&(e=fkt(e)):e=n?Xkt(e):Lkt(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&ckt(i)||ukt(e)&&ukt(i))return i}var o=new zkt(r);return n?o=o.toKeyedSeq():ukt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function bSt(e,t,n){var r=$St(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(l,c){l.__iterate((function(o,l){return(!t||c<t)&&lkt(o)?e(o,c+1):(a++,!1===i(o,n?l:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new _kt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===r&&(l=l[1]),t&&!(a.length<t)||!lkt(l))return n?e:kkt(r,s++,l,e);a.push(o),o=l.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function wSt(e,t,n){t||(t=TSt);var r=ckt(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Dkt(o):ukt(e)?Akt(o):Rkt(o)}function xSt(e,t,n){if(t||(t=TSt),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return _St(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return _St(t,e,n)?n:e}))}function _St(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function kSt(e,t,n,r){var i=$St(e),o=new zkt(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=pkt(e),$kt(i?e.reverse():e)})),a=0,s=!1;return new _kt((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:kkt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function SSt(e,t){return e===t?e:gkt(e)?t:e.constructor(t)}function PSt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function CSt(e){return ckt(e)?fkt:ukt(e)?hkt:mkt}function $St(e){return Object.create((ckt(e)?Dkt:ukt(e)?Akt:Rkt).prototype)}function ESt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Ikt.prototype.cacheResult.call(this)}function TSt(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 QSt(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function ISt(e,t){if(!e)throw new Error(t)}function DSt(e){ISt(e!==1/0,"Cannot perform this action with an infinite size.")}function ASt(e){if(Qkt(e)&&"string"!=typeof e)return e;if(bkt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function RSt(e){return"object"==typeof e&&(vkt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function zSt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function NSt(e,t,n){return vkt(e)?e.get(t,n):function(e,t){return vkt(e)?e.has(t):RSt(e)&&Tkt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function MSt(e){if(Array.isArray(e))return QSt(e);var t={};for(var n in e)Tkt.call(e,n)&&(t[n]=e[n]);return t}function jSt(e,t,n,r){r||(r=n,n=void 0);var i=USt(vkt(e),e,ASt(t),0,n,r);return i===H_t?n:i}function USt(e,t,n,r,i,o){var a=t===H_t;if(r===n.length){var s=a?i:t,l=o(s);return l===s?t:l}if(!a&&!RSt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(zSt)+"]: "+t);var c=n[r],u=a?H_t:NSt(t,c,H_t),d=USt(u===H_t?e:vkt(u),u,n,r+1,i,o);return d===u?t:d===H_t?function(e,t){if(!RSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(vkt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!Tkt.call(e,t))return e;var n=MSt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!RSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(vkt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(Tkt.call(e,t)&&n===e[t])return e;var r=MSt(e);return r[t]=n,r}(a?e?fPt():{}:t,c,d)}function XSt(e,t){return function(e,t,n){return jSt(e,t,H_t,(function(){return n}))}(this,e,t)}function LSt(e){return function(e,t){return jSt(e,t,(function(){return H_t}))}(this,e)}function qSt(e,t,n,r){return jSt(e,[t],n,r)}function WSt(e,t,n){return 1===arguments.length?e(this):qSt(this,e,t,n)}function FSt(e,t,n){return jSt(this,e,t,n)}function VSt(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=fkt(t[i]);0!==o.size&&r.push(o)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){qSt(e,r,H_t,(function(e){return e===H_t?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},i=0;i<r.length;i++)r[i].forEach(t)})):e.constructor(r[0])}function BSt(e,t,n){return ZSt(e,t,function(e){function t(n,r,i){return RSt(n)&&RSt(r)?ZSt(n,[r],t):e?e(n,r,i):r}return t}(n))}function ZSt(e,t,n){if(!RSt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(vkt(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 r=Array.isArray(e),i=e,o=r?hkt:fkt,a=r?function(t){i===e&&(i=MSt(i)),i.push(t)}:function(t,r){var o=Tkt.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=MSt(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function YSt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return jSt(this,e,fPt(),(function(e){return ZSt(e,t)}))}function GSt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return jSt(this,e,fPt(),(function(e){return BSt(e,t)}))}function HSt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function KSt(){return this.__ownerID?this:this.__ensureOwner(new J_t)}function JSt(){return this.__ensureOwner()}function ePt(){return this.__altered}uSt.prototype.cacheResult=cSt.prototype.cacheResult=dSt.prototype.cacheResult=pSt.prototype.cacheResult=ESt;var tPt=function(e){function t(t){return null==t?fPt():Wkt(t)&&!bkt(t)?t:fPt().withMutations((function(n){var r=e(t);DSt(r.size),r.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 fPt().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 hPt(this,e,t)},t.prototype.remove=function(e){return hPt(this,e,H_t)},t.prototype.deleteAll=function(e){var t=pkt(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):fPt()},t.prototype.sort=function(e){return MPt(wSt(this,e))},t.prototype.sortBy=function(e,t){return MPt(wSt(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new cPt(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?pPt(this.size,this._root,e,this.__hash):0===this.size?fPt():(this.__ownerID=e,this.__altered=!1,this)},t}(fkt);tPt.isMap=Wkt;var nPt=tPt.prototype;nPt["@@__IMMUTABLE_MAP__@@"]=!0,nPt.delete=nPt.remove,nPt.removeAll=nPt.deleteAll,nPt.setIn=XSt,nPt.removeIn=nPt.deleteIn=LSt,nPt.update=WSt,nPt.updateIn=FSt,nPt.merge=nPt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return VSt(this,e)},nPt.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 VSt(this,t,e)},nPt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return BSt(this,e)},nPt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return BSt(this,t,e)},nPt.mergeIn=YSt,nPt.mergeDeepIn=GSt,nPt.withMutations=HSt,nPt.wasAltered=ePt,nPt.asImmutable=JSt,nPt["@@transducer/init"]=nPt.asMutable=KSt,nPt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},nPt["@@transducer/result"]=function(e){return e.asImmutable()};var rPt=function(e,t){this.ownerID=e,this.entries=t};rPt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Bkt(n,i[o][0]))return i[o][1];return r},rPt.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===H_t,l=this.entries,c=0,u=l.length;c<u&&!Bkt(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(K_t(a),(s||!d)&&K_t(o),!s||1!==l.length){if(!d&&!s&&l.length>=bPt)return function(e,t,n,r){e||(e=new J_t);for(var i=new sPt(e,Hkt(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:QSt(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new rPt(e,f)}};var iPt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};iPt.prototype.get=function(e,t,n,r){void 0===t&&(t=Hkt(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[vPt(o&i-1)].get(e+5,t,n,r)},iPt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Hkt(r));var s=31&(0===t?n:n>>>t),l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===H_t)return this;var d=vPt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=mPt(f,e,t+5,n,r,i,o,a);if(h===f)return this;if(!u&&h&&p.length>=wPt)return function(e,t,n,r,i){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[r]=i,new oPt(e,o+1,a)}(e,p,c,s,h);if(u&&!h&&2===p.length&&gPt(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&gPt(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,O=u?h?yPt(p,d,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(p,d,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,h,m);return m?(this.bitmap=g,this.nodes=O,this):new iPt(e,g,O)};var oPt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};oPt.prototype.get=function(e,t,n,r){void 0===t&&(t=Hkt(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},oPt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Hkt(r));var s=31&(0===t?n:n>>>t),l=i===H_t,c=this.nodes,u=c[s];if(l&&!u)return this;var d=mPt(u,e,t+5,n,r,i,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<xPt)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new iPt(e,i,a)}(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=yPt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new oPt(e,p,h)};var aPt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};aPt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Bkt(n,i[o][0]))return i[o][1];return r},aPt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Hkt(r));var s=i===H_t;if(n!==this.keyHash)return s?this:(K_t(a),K_t(o),OPt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!Bkt(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(K_t(a),(s||!d)&&K_t(o),s&&2===u)return new sPt(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:QSt(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new aPt(e,this.keyHash,f)};var sPt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};sPt.prototype.get=function(e,t,n,r){return Bkt(n,this.entry[0])?this.entry[1]:r},sPt.prototype.update=function(e,t,n,r,i,o,a){var s=i===H_t,l=Bkt(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(K_t(a),s?void K_t(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new sPt(e,this.keyHash,[r,i]):(K_t(o),OPt(this,e,t,Hkt(r),[r,i])))},rPt.prototype.iterate=aPt.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},iPt.prototype.iterate=oPt.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},sPt.prototype.iterate=function(e,t){return e(this.entry)};var lPt,cPt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&dPt(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,r=t.index++,i=void 0;if(n.entry){if(0===r)return uPt(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return uPt(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return uPt(e,o.entry);t=this._stack=dPt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(_kt);function uPt(e,t){return kkt(e,t[0],t[1])}function dPt(e,t){return{node:e,index:0,__prev:t}}function pPt(e,t,n,r){var i=Object.create(nPt);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function fPt(){return lPt||(lPt=pPt(0))}function hPt(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=mPt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===H_t?-1:1:0)}else{if(n===H_t)return e;i=1,r=new rPt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?pPt(i,r):fPt()}function mPt(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===H_t?e:(K_t(s),K_t(a),new sPt(t,r,[i,o]))}function gPt(e){return e.constructor===sPt||e.constructor===aPt}function OPt(e,t,n,r,i){if(e.keyHash===r)return new aPt(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),l=a===s?[OPt(e,t,n+5,r,i)]:(o=new sPt(t,r,i),a<s?[e,o]:[o,e]);return new iPt(t,1<<a|1<<s,l)}function vPt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yPt(e,t,n,r){var i=r?e:QSt(e);return i[t]=n,i}var bPt=8,wPt=16,xPt=8;function _Pt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var kPt=function(e){function t(t){var n=QPt();if(null==t)return n;if(_Pt(t))return t;var r=e(t),i=r.size;return 0===i?n:(DSt(i),i>0&&i<32?TPt(0,i,5,null,new PPt(r.toArray())):n.withMutations((function(e){e.setSize(i),r.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=tkt(this,e))>=0&&e<this.size){var n=APt(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=tkt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?RPt(e,t).set(0,n):RPt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=zPt(e._capacity)?r=IPt(r,e.__ownerID,0,t,n,o):i=IPt(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return TPt(e._origin,e._capacity,e._level,i,r)}(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):QPt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){RPt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return RPt(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){RPt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return RPt(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!=typeof i&&Pkt(i)?i:[i]);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 RPt(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return rkt(e,t,n)?this:RPt(this,ikt(e,n),okt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=EPt(this,t);return new _kt((function(){var i=r();return i===$Pt?{value:void 0,done:!0}:kkt(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=EPt(this,t);(n=i())!==$Pt&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?TPt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?QPt():(this.__ownerID=e,this.__altered=!1,this)},t}(hkt);kPt.isList=_Pt;var SPt=kPt.prototype;SPt["@@__IMMUTABLE_LIST__@@"]=!0,SPt.delete=SPt.remove,SPt.merge=SPt.concat,SPt.setIn=XSt,SPt.deleteIn=SPt.removeIn=LSt,SPt.update=WSt,SPt.updateIn=FSt,SPt.mergeIn=YSt,SPt.mergeDeepIn=GSt,SPt.withMutations=HSt,SPt.wasAltered=ePt,SPt.asImmutable=JSt,SPt["@@transducer/init"]=SPt.asMutable=KSt,SPt["@@transducer/step"]=function(e,t){return e.push(t)},SPt["@@transducer/result"]=function(e){return e.asImmutable()};var PPt=function(e,t){this.array=e,this.ownerID=t};PPt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new PPt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=DPt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},PPt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=DPt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var CPt,$Pt={};function EPt(e,t){var n=e._origin,r=e._capacity,i=zPt(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(l===c)return $Pt;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);u>32&&(u=32);return function(){for(;;){if(s){var e=s();if(e!==$Pt)return e;s=null}if(c===u)return $Pt;var n=t?--u:c++;s=a(l&&l[n],i-5,o+(n<<i))}}}(e,s,l)}}function TPt(e,t,n,r,i,o,a){var s=Object.create(SPt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function QPt(){return CPt||(CPt=TPt(0,0,5))}function IPt(e,t,n,r,i,o){var a,s=r>>>n&31,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=IPt(c,t,n-5,r,i,o);return u===c?e:((a=DPt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(o&&K_t(o),a=DPt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function DPt(e,t){return t&&e&&t===e.ownerID?e:new PPt(e?e.array.slice():[],t)}function APt(e,t){if(t>=zPt(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function RPt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new J_t,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new PPt(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=zPt(o),p=zPt(s);p>=1<<l+5;)c=new PPt(c&&c.array.length?[c]:[],r),l+=5;var f=e._tail,h=p<d?APt(e,s-1):p>d?new PPt([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=DPt(c,r),g=l;g>5;g-=5){var O=d>>>g&31;m=m.array[O]=DPt(m.array[O],r)}m.array[d>>>5&31]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(u=0;c;){var v=a>>>l&31;if(v!==p>>>l&31)break;v&&(u+=(1<<l)*v),l-=5,c=c.array[v]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):TPt(a,s,l,c,h)}function zPt(e){return e<32?0:e-1>>>5<<5}var NPt,MPt=function(e){function t(e){return null==e?UPt():Fkt(e)?e:UPt().withMutations((function(t){var n=fkt(e);DSt(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):UPt()},t.prototype.set=function(e,t){return XPt(this,e,t)},t.prototype.remove=function(e){return XPt(this,e,H_t)},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?jPt(t,n,e,this.__hash):0===this.size?UPt():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(tPt);function jPt(e,t,n,r){var i=Object.create(MPt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function UPt(){return NPt||(NPt=jPt(fPt(),QPt()))}function XPt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===H_t){if(!l)return e;a.size>=32&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),r=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):jPt(r,i)}MPt.isOrderedMap=Fkt,MPt.prototype[ykt]=!0,MPt.prototype.delete=MPt.prototype.remove;function LPt(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var qPt=function(e){function t(e){return null==e?BPt():LPt(e)?e:BPt().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=tkt(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,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):VPt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&LPt(t))return t;DSt(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):VPt(n,r)},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):BPt()},t.prototype.slice=function(t,n){if(rkt(t,n,this.size))return this;var r=ikt(t,this.size);if(okt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):VPt(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?VPt(this.size,this._head,e,this.__hash):0===this.size?BPt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new zkt(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new zkt(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new _kt((function(){if(r){var t=r.value;return r=r.next,kkt(e,n++,t)}return{value:void 0,done:!0}}))},t}(hkt);qPt.isStack=LPt;var WPt,FPt=qPt.prototype;function VPt(e,t,n,r){var i=Object.create(FPt);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function BPt(){return WPt||(WPt=VPt(0))}FPt["@@__IMMUTABLE_STACK__@@"]=!0,FPt.shift=FPt.pop,FPt.unshift=FPt.push,FPt.unshiftAll=FPt.pushAll,FPt.withMutations=HSt,FPt.wasAltered=ePt,FPt.asImmutable=JSt,FPt["@@transducer/init"]=FPt.asMutable=KSt,FPt["@@transducer/step"]=function(e,t){return e.unshift(t)},FPt["@@transducer/result"]=function(e){return e.asImmutable()};function ZPt(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function YPt(e){return ZPt(e)&&bkt(e)}function GPt(e,t){if(e===t)return!0;if(!lkt(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||ckt(e)!==ckt(t)||ukt(e)!==ukt(t)||bkt(e)!==bkt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!dkt(e);if(bkt(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&Bkt(i[1],e)&&(n||Bkt(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,r){if(n?!e.has(t):i?!Bkt(t,e.get(r,H_t)):!Bkt(e.get(r,H_t),t))return a=!1,!1}));return a&&e.size===s}function HPt(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 KPt(e){if(!e||"object"!=typeof e)return e;if(!lkt(e)){if(!RSt(e))return e;e=Ikt(e)}if(ckt(e)){var t={};return e.__iterate((function(e,n){t[n]=KPt(e)})),t}var n=[];return e.__iterate((function(e){n.push(KPt(e))})),n}var JPt=function(e){function t(t){return null==t?iCt():ZPt(t)&&!bkt(t)?t:iCt().withMutations((function(n){var r=e(t);DSt(r.size),r.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(fkt(e).keySeq())},t.intersect=function(e){return(e=pkt(e).toArray()).length?tCt.intersect.apply(t(e.pop()),e):iCt()},t.union=function(e){return(e=pkt(e).toArray()).length?tCt.union.apply(t(e.pop()),e):iCt()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return nCt(this,this._map.set(e,e))},t.prototype.remove=function(e){return nCt(this,this._map.remove(e))},t.prototype.clear=function(){return nCt(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.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 r=0;r<t.length;r++)e(t[r]).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 r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.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 r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return bCt(wSt(this,e))},t.prototype.sortBy=function(e,t){return bCt(wSt(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}(mkt);JPt.isSet=ZPt;var eCt,tCt=JPt.prototype;function nCt(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 rCt(e,t){var n=Object.create(tCt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function iCt(){return eCt||(eCt=rCt(fPt()))}tCt["@@__IMMUTABLE_SET__@@"]=!0,tCt.delete=tCt.remove,tCt.merge=tCt.concat=tCt.union,tCt.withMutations=HSt,tCt.asImmutable=JSt,tCt["@@transducer/init"]=tCt.asMutable=KSt,tCt["@@transducer/step"]=function(e,t){return e.add(t)},tCt["@@transducer/result"]=function(e){return e.asImmutable()},tCt.__empty=iCt,tCt.__make=rCt;var oCt,aCt=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(ISt(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(oCt)return oCt;oCt=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+tkt(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 rkt(e,n,this.size)?this:(e=ikt(e,this.size),(n=okt(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,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new _kt((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,kkt(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:GPt(this,e)},t}(Akt);function sCt(e,t,n){for(var r=ASt(t),i=0;i!==r.length;)if((e=NSt(e,r[i++],H_t))===H_t)return n;return e}function lCt(){DSt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}pkt.isIterable=lkt,pkt.isKeyed=ckt,pkt.isIndexed=ukt,pkt.isAssociative=dkt,pkt.isOrdered=bkt,pkt.Iterator=_kt,HPt(pkt,{toArray:function(){DSt(this.size);var e=new Array(this.size||0),t=ckt(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new uSt(this)},toJS:function(){return KPt(this)},toKeyedSeq:function(){return new cSt(this,!0)},toMap:function(){return tPt(this.toKeyedSeq())},toObject:lCt,toOrderedMap:function(){return MPt(this.toKeyedSeq())},toOrderedSet:function(){return bCt(ckt(this)?this.valueSeq():this)},toSet:function(){return JPt(ckt(this)?this.valueSeq():this)},toSetSeq:function(){return new dSt(this)},toSeq:function(){return ukt(this)?this.toIndexedSeq():ckt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qPt(ckt(this)?this.valueSeq():this)},toList:function(){return kPt(ckt(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 SSt(this,ySt(this,e))},includes:function(e){return this.some((function(t){return Bkt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){DSt(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return SSt(this,gSt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return DSt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){DSt(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return SSt(this,hSt(this,e,t))},reduce:function(e,t,n){return pCt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return pCt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return SSt(this,mSt(this,!0))},slice:function(e,t){return SSt(this,OSt(this,e,t,!0))},some:function(e,t){return!this.every(mCt(e),t)},sort:function(e){return SSt(this,wSt(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 ekt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=tPt().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return GPt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new zkt(e._cache);var t=e.toSeq().map(hCt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(mCt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},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(nkt,null,e)},flatMap:function(e,t){return SSt(this,function(e,t,n){var r=CSt(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return SSt(this,bSt(this,e,!0))},fromEntrySeq:function(){return new pSt(this)},get:function(e,t){return this.find((function(t,n){return Bkt(n,e)}),void 0,t)},getIn:function(e,t){return sCt(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=ckt(e),i=(bkt(e)?MPt():tPt()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=CSt(e);return i.map((function(t){return SSt(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,H_t)!==H_t},hasIn:function(e){return function(e,t){return sCt(e,t,H_t)!==H_t}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:pkt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:pkt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return Bkt(t,e)}))},keySeq:function(){return this.toSeq().map(fCt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return xSt(this,e)},maxBy:function(e,t){return xSt(this,t,e)},min:function(e){return xSt(this,e?gCt(e):vCt)},minBy:function(e,t){return xSt(this,t?gCt(t):vCt,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 SSt(this,vSt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(mCt(e),t)},sortBy:function(e,t){return SSt(this,wSt(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 SSt(this,function(e,t,n){var r=$St(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new _kt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?2===r?e:kkt(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(mCt(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=bkt(e),n=ckt(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+yCt(Hkt(e),Hkt(t))|0}:function(e,t){r=r+yCt(Hkt(e),Hkt(t))|0}:t?function(e){r=31*r+Hkt(e)|0}:function(e){r=r+Hkt(e)|0});return function(e,t){return t=Zkt(t,3432918353),t=Zkt(t<<15|t>>>-15,461845907),t=Zkt(t<<13|t>>>-13,5),t=Zkt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ykt((t=Zkt(t^t>>>13,3266489909))^t>>>16)}(i,r)}(this))}});var cCt=pkt.prototype;cCt["@@__IMMUTABLE_ITERABLE__@@"]=!0,cCt[xkt]=cCt.values,cCt.toJSON=cCt.toArray,cCt.__toStringMapper=zSt,cCt.inspect=cCt.toSource=function(){return this.toString()},cCt.chain=cCt.flatMap,cCt.contains=cCt.includes,HPt(fkt,{flip:function(){return SSt(this,fSt(this))},mapEntries:function(e,t){var n=this,r=0;return SSt(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return SSt(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var uCt=fkt.prototype;uCt["@@__IMMUTABLE_KEYED__@@"]=!0,uCt[xkt]=cCt.entries,uCt.toJSON=lCt,uCt.__toStringMapper=function(e,t){return zSt(t)+": "+zSt(e)},HPt(hkt,{toKeyedSeq:function(){return new cSt(this,!1)},filter:function(e,t){return SSt(this,gSt(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 SSt(this,mSt(this,!1))},slice:function(e,t){return SSt(this,OSt(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=ikt(e,e<0?this.count():this.size);var r=this.slice(0,e);return SSt(this,1===n?r:r.concat(QSt(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 SSt(this,bSt(this,e,!1))},get:function(e,t){return(e=tkt(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=tkt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return SSt(this,function(e,t){var n=$St(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new _kt((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?kkt(n,a++,t):kkt(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(QSt(arguments)),t=kSt(this.toSeq(),Akt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),SSt(this,n)},keySeq:function(){return aCt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return SSt(this,vSt(this,e,t,!1))},zip:function(){var e=[this].concat(QSt(arguments));return SSt(this,kSt(this,OCt,e))},zipAll:function(){var e=[this].concat(QSt(arguments));return SSt(this,kSt(this,OCt,e,!0))},zipWith:function(e){var t=QSt(arguments);return t[0]=this,SSt(this,kSt(this,e,t))}});var dCt=hkt.prototype;function pCt(e,t,n,r,i,o){return DSt(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function fCt(e,t){return t}function hCt(e,t){return[t,e]}function mCt(e){return function(){return!e.apply(this,arguments)}}function gCt(e){return function(){return-e.apply(this,arguments)}}function OCt(){return QSt(arguments)}function vCt(e,t){return e<t?1:e>t?-1:0}function yCt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}dCt["@@__IMMUTABLE_INDEXED__@@"]=!0,dCt[ykt]=!0,HPt(mkt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),mkt.prototype.has=cCt.includes,mkt.prototype.contains=mkt.prototype.includes,HPt(Dkt,fkt.prototype),HPt(Akt,hkt.prototype),HPt(Rkt,mkt.prototype);var bCt=function(e){function t(e){return null==e?kCt():YPt(e)?e:kCt().withMutations((function(t){var n=mkt(e);DSt(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(fkt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(JPt);bCt.isOrderedSet=YPt;var wCt,xCt=bCt.prototype;function _Ct(e,t){var n=Object.create(xCt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function kCt(){return wCt||(wCt=_Ct(UPt()))}xCt[ykt]=!0,xCt.zip=dCt.zip,xCt.zipWith=dCt.zipWith,xCt.__empty=kCt,xCt.__make=_Ct;var SCt={exports:{}};
|
|
245
|
+
var LUe=function(){return LUe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},LUe.apply(this,arguments)};function qUe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function WUe(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function FUe(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function VUe(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||t)}function BUe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var ZUe,YUe=function(r){var i,o=r.children,a=qUe(r,["children"]),s=Qpe();return n(t,{children:[e(GUe,{},void 0),e(J,LUe({},a,{modalProps:LUe(LUe({},a.modalProps||{}),{className:jH(s,"lt-reach-dialog",{"lt-reach-dialog-mobile":Vp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},GUe=Qe(ZUe||(ZUe=BUe(['\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']))),HUe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},KUe=function(e){return e&&e.Math==Math&&e},JUe=KUe("object"==typeof globalThis&&globalThis)||KUe("object"==typeof window&&window)||KUe("object"==typeof self&&self)||KUe("object"==typeof HUe&&HUe)||Function("return this")(),eXe={},tXe=function(e){try{return!!e()}catch(e){return!0}},nXe=!tXe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),rXe={},iXe={}.propertyIsEnumerable,oXe=Object.getOwnPropertyDescriptor,aXe=oXe&&!iXe.call({1:2},1);rXe.f=aXe?function(e){var t=oXe(this,e);return!!t&&t.enumerable}:iXe;var sXe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},lXe={}.toString,cXe=function(e){return lXe.call(e).slice(8,-1)},uXe=cXe,dXe="".split,pXe=tXe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==uXe(e)?dXe.call(e,""):Object(e)}:Object,fXe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},hXe=pXe,mXe=fXe,gXe=function(e){return hXe(mXe(e))},OXe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},vXe=OXe,yXe=function(e,t){if(!vXe(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!vXe(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!vXe(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!vXe(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},bXe={}.hasOwnProperty,wXe=function(e,t){return bXe.call(e,t)},xXe=OXe,_Xe=JUe.document,kXe=xXe(_Xe)&&xXe(_Xe.createElement),SXe=function(e){return kXe?_Xe.createElement(e):{}},PXe=SXe,CXe=!nXe&&!tXe((function(){return 7!=Object.defineProperty(PXe("div"),"a",{get:function(){return 7}}).a})),$Xe=nXe,EXe=rXe,TXe=sXe,QXe=gXe,IXe=yXe,DXe=wXe,AXe=CXe,RXe=Object.getOwnPropertyDescriptor;eXe.f=$Xe?RXe:function(e,t){if(e=QXe(e),t=IXe(t,!0),AXe)try{return RXe(e,t)}catch(e){}if(DXe(e,t))return TXe(!EXe.f.call(e,t),e[t])};var zXe={},NXe=OXe,MXe=function(e){if(!NXe(e))throw TypeError(String(e)+" is not an object");return e},jXe=nXe,UXe=CXe,XXe=MXe,LXe=yXe,qXe=Object.defineProperty;zXe.f=jXe?qXe:function(e,t,n){if(XXe(e),t=LXe(t,!0),XXe(n),UXe)try{return qXe(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 WXe=zXe,FXe=sXe,VXe=nXe?function(e,t,n){return WXe.f(e,t,FXe(1,n))}:function(e,t,n){return e[t]=n,e},BXe={exports:{}},ZXe=JUe,YXe=VXe,GXe=function(e,t){try{YXe(ZXe,e,t)}catch(n){ZXe[e]=t}return t},HXe=GXe,KXe=JUe["__core-js_shared__"]||HXe("__core-js_shared__",{}),JXe=KXe,eLe=Function.toString;"function"!=typeof JXe.inspectSource&&(JXe.inspectSource=function(e){return eLe.call(e)});var tLe=JXe.inspectSource,nLe=tLe,rLe=JUe.WeakMap,iLe="function"==typeof rLe&&/native code/.test(nLe(rLe)),oLe={exports:{}},aLe=KXe;(oLe.exports=function(e,t){return aLe[e]||(aLe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var sLe,lLe,cLe,uLe=0,dLe=Math.random(),pLe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++uLe+dLe).toString(36)},fLe=oLe.exports,hLe=pLe,mLe=fLe("keys"),gLe=function(e){return mLe[e]||(mLe[e]=hLe(e))},OLe={},vLe=iLe,yLe=OXe,bLe=VXe,wLe=wXe,xLe=gLe,_Le=OLe,kLe=JUe.WeakMap;if(vLe){var SLe=new kLe,PLe=SLe.get,CLe=SLe.has,$Le=SLe.set;sLe=function(e,t){return $Le.call(SLe,e,t),t},lLe=function(e){return PLe.call(SLe,e)||{}},cLe=function(e){return CLe.call(SLe,e)}}else{var ELe=xLe("state");_Le[ELe]=!0,sLe=function(e,t){return bLe(e,ELe,t),t},lLe=function(e){return wLe(e,ELe)?e[ELe]:{}},cLe=function(e){return wLe(e,ELe)}}var TLe={set:sLe,get:lLe,has:cLe,enforce:function(e){return cLe(e)?lLe(e):sLe(e,{})},getterFor:function(e){return function(t){var n;if(!yLe(t)||(n=lLe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},QLe=JUe,ILe=VXe,DLe=wXe,ALe=GXe,RLe=tLe,zLe=TLe.get,NLe=TLe.enforce,MLe=String(String).split("String");(BXe.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||DLe(n,"name")||ILe(n,"name",t),NLe(n).source=MLe.join("string"==typeof t?t:"")),e!==QLe?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:ILe(e,t,n)):o?e[t]=n:ALe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&zLe(this).source||RLe(this)}));var jLe=JUe,ULe=JUe,XLe=function(e){return"function"==typeof e?e:void 0},LLe=function(e,t){return arguments.length<2?XLe(jLe[e])||XLe(ULe[e]):jLe[e]&&jLe[e][t]||ULe[e]&&ULe[e][t]},qLe={},WLe=Math.ceil,FLe=Math.floor,VLe=function(e){return isNaN(e=+e)?0:(e>0?FLe:WLe)(e)},BLe=VLe,ZLe=Math.min,YLe=function(e){return e>0?ZLe(BLe(e),9007199254740991):0},GLe=VLe,HLe=Math.max,KLe=Math.min,JLe=gXe,eqe=YLe,tqe=function(e,t){var n=GLe(e);return n<0?HLe(n+t,0):KLe(n,t)},nqe=function(e){return function(t,n,r){var i,o=JLe(t),a=eqe(o.length),s=tqe(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},rqe={includes:nqe(!0),indexOf:nqe(!1)},iqe=wXe,oqe=gXe,aqe=rqe.indexOf,sqe=OLe,lqe=function(e,t){var n,r=oqe(e),i=0,o=[];for(n in r)!iqe(sqe,n)&&iqe(r,n)&&o.push(n);for(;t.length>i;)iqe(r,n=t[i++])&&(~aqe(o,n)||o.push(n));return o},cqe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],uqe=lqe,dqe=cqe.concat("length","prototype");qLe.f=Object.getOwnPropertyNames||function(e){return uqe(e,dqe)};var pqe={};pqe.f=Object.getOwnPropertySymbols;var fqe=qLe,hqe=pqe,mqe=MXe,gqe=LLe("Reflect","ownKeys")||function(e){var t=fqe.f(mqe(e)),n=hqe.f;return n?t.concat(n(e)):t},Oqe=wXe,vqe=gqe,yqe=eXe,bqe=zXe,wqe=function(e,t){for(var n=vqe(t),r=bqe.f,i=yqe.f,o=0;o<n.length;o++){var a=n[o];Oqe(e,a)||r(e,a,i(t,a))}},xqe=tXe,_qe=/#|\.prototype\./,kqe=function(e,t){var n=Pqe[Sqe(e)];return n==$qe||n!=Cqe&&("function"==typeof t?xqe(t):!!t)},Sqe=kqe.normalize=function(e){return String(e).replace(_qe,".").toLowerCase()},Pqe=kqe.data={},Cqe=kqe.NATIVE="N",$qe=kqe.POLYFILL="P",Eqe=kqe,Tqe=JUe,Qqe=eXe.f,Iqe=VXe,Dqe=BXe.exports,Aqe=GXe,Rqe=wqe,zqe=Eqe,Nqe=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Tqe:c?Tqe[s]||Aqe(s,{}):(Tqe[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Qqe(n,r))&&a.value:n[r],!zqe(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Rqe(o,i)}(e.sham||i&&i.sham)&&Iqe(o,"sham",!0),Dqe(n,r,o,e)}},Mqe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},jqe=fXe,Uqe=function(e){return Object(jqe(e))},Xqe=Mqe,Lqe=Uqe,qqe=pXe,Wqe=YLe,Fqe=function(e){return function(t,n,r,i){Xqe(n);var o=Lqe(t),a=qqe(o),s=Wqe(o.length),l=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(l in a){i=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(i=n(i,a[l],l,o));return i}},Vqe={left:Fqe(!1),right:Fqe(!0)},Bqe=tXe,Zqe=function(e,t){var n=[][e];return!!n&&Bqe((function(){n.call(null,t||function(){throw 1},1)}))},Yqe=nXe,Gqe=tXe,Hqe=wXe,Kqe=Object.defineProperty,Jqe={},eWe=function(e){throw e},tWe=Nqe,nWe=Vqe.left,rWe=function(e,t){if(Hqe(Jqe,e))return Jqe[e];t||(t={});var n=[][e],r=!!Hqe(t,"ACCESSORS")&&t.ACCESSORS,i=Hqe(t,0)?t[0]:eWe,o=Hqe(t,1)?t[1]:void 0;return Jqe[e]=!!n&&!Gqe((function(){if(r&&!Yqe)return!0;var e={length:-1};r?Kqe(e,1,{enumerable:!0,get:eWe}):e[1]=1,n.call(e,i,o)}))},iWe=Zqe("reduce"),oWe=rWe("reduce",{1:0});tWe({target:"Array",proto:!0,forced:!iWe||!oWe},{reduce:function(e){return nWe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var aWe=lqe,sWe=cqe,lWe=Object.keys||function(e){return aWe(e,sWe)},cWe=nXe,uWe=tXe,dWe=lWe,pWe=pqe,fWe=rXe,hWe=Uqe,mWe=pXe,gWe=Object.assign,OWe=Object.defineProperty,vWe=!gWe||uWe((function(){if(cWe&&1!==gWe({b:1},gWe(OWe({},"a",{enumerable:!0,get:function(){OWe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=gWe({},e)[n]||dWe(gWe({},t)).join("")!=r}))?function(e,t){for(var n=hWe(e),r=arguments.length,i=1,o=pWe.f,a=fWe.f;r>i;)for(var s,l=mWe(arguments[i++]),c=o?dWe(l).concat(o(l)):dWe(l),u=c.length,d=0;u>d;)s=c[d++],cWe&&!a.call(l,s)||(n[s]=l[s]);return n}:gWe,yWe=vWe;Nqe({target:"Object",stat:!0,forced:Object.assign!==yWe},{assign:yWe});var bWe=tXe,wWe=!!Object.getOwnPropertySymbols&&!bWe((function(){return!String(Symbol())})),xWe=wWe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_We=JUe,kWe=oLe.exports,SWe=wXe,PWe=pLe,CWe=wWe,$We=xWe,EWe=kWe("wks"),TWe=_We.Symbol,QWe=$We?TWe:TWe&&TWe.withoutSetter||PWe,IWe=function(e){return SWe(EWe,e)||(CWe&&SWe(TWe,e)?EWe[e]=TWe[e]:EWe[e]=QWe("Symbol."+e)),EWe[e]},DWe=OXe,AWe=cXe,RWe=IWe("match"),zWe=function(e){var t;return DWe(e)&&(void 0!==(t=e[RWe])?!!t:"RegExp"==AWe(e))},NWe=zWe,MWe=function(e){if(NWe(e))throw TypeError("The method doesn't accept regular expressions");return e},jWe=IWe("match"),UWe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[jWe]=!1,"/./"[e](t)}catch(e){}}return!1},XWe=MWe,LWe=fXe;function qWe(e,t){var n=e||[],r=t||[],i=n.map((function(e){return e.id})),o=r.filter((function(e){return!i.includes(e.id)}));return n.concat(o)}Nqe({target:"String",proto:!0,forced:!UWe("includes")},{includes:function(e){return!!~String(LWe(this)).indexOf(XWe(e),arguments.length>1?arguments[1]:void 0)}});var WWe,FWe=zXe,VWe=MXe,BWe=lWe,ZWe=nXe?Object.defineProperties:function(e,t){VWe(e);for(var n,r=BWe(t),i=r.length,o=0;i>o;)FWe.f(e,n=r[o++],t[n]);return e},YWe=LLe("document","documentElement"),GWe=MXe,HWe=ZWe,KWe=cqe,JWe=OLe,eFe=YWe,tFe=SXe,nFe=gLe("IE_PROTO"),rFe=function(){},iFe=function(e){return"<script>"+e+"<\/script>"},oFe=function(){try{WWe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;oFe=WWe?function(e){e.write(iFe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(WWe):((t=tFe("iframe")).style.display="none",eFe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(iFe("document.F=Object")),e.close(),e.F);for(var n=KWe.length;n--;)delete oFe.prototype[KWe[n]];return oFe()};JWe[nFe]=!0;var aFe=Object.create||function(e,t){var n;return null!==e?(rFe.prototype=GWe(e),n=new rFe,rFe.prototype=null,n[nFe]=e):n=oFe(),void 0===t?n:HWe(n,t)},sFe=aFe,lFe=zXe,cFe=IWe("unscopables"),uFe=Array.prototype;null==uFe[cFe]&&lFe.f(uFe,cFe,{configurable:!0,value:sFe(null)});var dFe,pFe,fFe,hFe=function(e){uFe[cFe][e]=!0},mFe={},gFe=!tXe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),OFe=wXe,vFe=Uqe,yFe=gFe,bFe=gLe("IE_PROTO"),wFe=Object.prototype,xFe=yFe?Object.getPrototypeOf:function(e){return e=vFe(e),OFe(e,bFe)?e[bFe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?wFe:null},_Fe=xFe,kFe=VXe,SFe=wXe,PFe=IWe("iterator"),CFe=!1;[].keys&&("next"in(fFe=[].keys())?(pFe=_Fe(_Fe(fFe)))!==Object.prototype&&(dFe=pFe):CFe=!0),null==dFe&&(dFe={}),SFe(dFe,PFe)||kFe(dFe,PFe,(function(){return this}));var $Fe={IteratorPrototype:dFe,BUGGY_SAFARI_ITERATORS:CFe},EFe=zXe.f,TFe=wXe,QFe=IWe("toStringTag"),IFe=function(e,t,n){e&&!TFe(e=n?e:e.prototype,QFe)&&EFe(e,QFe,{configurable:!0,value:t})},DFe=$Fe.IteratorPrototype,AFe=aFe,RFe=sXe,zFe=IFe,NFe=mFe,MFe=function(){return this},jFe=OXe,UFe=MXe,XFe=function(e){if(!jFe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},LFe=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,r){return UFe(n),XFe(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),qFe=Nqe,WFe=function(e,t,n){var r=t+" Iterator";return e.prototype=AFe(DFe,{next:RFe(1,n)}),zFe(e,r,!1),NFe[r]=MFe,e},FFe=xFe,VFe=LFe,BFe=IFe,ZFe=VXe,YFe=BXe.exports,GFe=mFe,HFe=$Fe.IteratorPrototype,KFe=$Fe.BUGGY_SAFARI_ITERATORS,JFe=IWe("iterator"),eVe=function(){return this},tVe=gXe,nVe=hFe,rVe=mFe,iVe=TLe,oVe=function(e,t,n,r,i,o,a){WFe(n,t,r);var s,l,c,u=function(e){if(e===i&&m)return m;if(!KFe&&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)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[JFe]||f["@@iterator"]||i&&f[i],m=!KFe&&h||u(i),g="Array"==t&&f.entries||h;if(g&&(s=FFe(g.call(new e)),HFe!==Object.prototype&&s.next&&(FFe(s)!==HFe&&(VFe?VFe(s,HFe):"function"!=typeof s[JFe]&&ZFe(s,JFe,eVe)),BFe(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(p=!0,m=function(){return h.call(this)}),f[JFe]!==m&&ZFe(f,JFe,m),GFe[t]=m,i)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(KFe||p||!(c in f))&&YFe(f,c,l[c]);else qFe({target:t,proto:!0,forced:KFe||p},l);return l},aVe=iVe.set,sVe=iVe.getterFor("Array Iterator"),lVe=oVe(Array,"Array",(function(e,t){aVe(this,{type:"Array Iterator",target:tVe(e),index:0,kind:t})}),(function(){var e=sVe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");rVe.Arguments=rVe.Array,nVe("keys"),nVe("values"),nVe("entries");var cVe=JUe,uVe={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},dVe=lVe,pVe=VXe,fVe=IWe,hVe=fVe("iterator"),mVe=fVe("toStringTag"),gVe=dVe.values;for(var OVe in uVe){var vVe=cVe[OVe],yVe=vVe&&vVe.prototype;if(yVe){if(yVe[hVe]!==gVe)try{pVe(yVe,hVe,gVe)}catch(e){yVe[hVe]=gVe}if(yVe[mVe]||pVe(yVe,mVe,OVe),uVe[OVe])for(var bVe in dVe)if(yVe[bVe]!==dVe[bVe])try{pVe(yVe,bVe,dVe[bVe])}catch(e){yVe[bVe]=dVe[bVe]}}}var wVe,xVe,_Ve,kVe,SVe,PVe,CVe,$Ve,EVe,TVe,QVe,IVe,DVe,AVe,RVe,zVe,NVe,MVe,jVe,UVe=function(t){var n=FI().formatMessage,r=Qpe();return e(G,LUe({},t,{className:jH(r,"lt-reach-tooltip"),role:t.role,onClick:t.onClick,hostClassName:t.className,content:t.resourceKey||t.text?t.text||n({id:t.resourceKey},t.values||{}):null,calloutProps:LUe(LUe({},t.calloutProps),{calloutWidth:t.width,hidden:t.hidden}),dir:"auto"},{children:t.children}),void 0)},XVe=function(e){var t,n;return Ie(SVe||(SVe=BUe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?Ie(wVe||(wVe=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):Ie(xVe||(xVe=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),rde),(null==e?void 0:e.color)?Ie(_Ve||(_Ve=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):Ie(kVe||(kVe=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:10,20)},LVe=function(t){var n=t.tooltipResourceKey,r=t.className,i=qUe(t,["tooltipResourceKey","className"]);return e(UVe,LUe({resourceKey:n,className:r},{children:e(qVe,LUe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},qVe=Te.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(PVe||(PVe=BUe(["\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 flex: 1 1 auto;\n }\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 flex: 1 1 auto;\n }\n"])),XVe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"})),WVe=Te.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(CVe||(CVe=BUe(["\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})),FVe=function(t){var r=t.showDialog,i=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,c=t.saveButtonResourceId,u=t.children,d=t.className,p=FI().formatMessage;return n(YUe,LUe({hidden:!r,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:H.normal,title:p({id:s})},onDismiss:i},{children:[e(VVe,LUe({className:d},{children:u}),void 0),n(K,{children:[e(A,LUe({onClick:i,"data-button":"cancel"},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0),e(D,LUe({disabled:l,onClick:a,"data-button":"save"},{children:e(uD,{id:c||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},VVe=Te.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})($Ve||($Ve=BUe(["\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),BVe=Te(FVe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(EVe||(EVe=BUe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),ZVe=Te(E).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(TVe||(TVe=BUe(["\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})),YVe=function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,c=t.ariaLabelResourceKey,u=FI().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(GVe,LUe({className:o},{children:r?e(KVe,{},void 0):e(UVe,LUe({resourceKey:l},{children:e(HVe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?u({id:c}):null},void 0)}),void 0)}),void 0)},GVe=Te.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(QVe||(QVe=BUe(["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"],["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"]))),HVe=Te(ZVe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(IVe||(IVe=BUe(["\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),KVe=Te.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(DVe||(DVe=BUe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),JVe=Ie(AVe||(AVe=BUe(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),eBe=Te.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(RVe||(RVe=BUe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),JVe),tBe=Te(ke).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(zVe||(zVe=BUe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),JVe),nBe=Ie(NVe||(NVe=BUe(["\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),rBe=function(){var t=vde().hideNotification,n=a(Ode),r=n.isNotificationBarVisible,i=qUe(n,["isNotificationBarVisible"]),o=FI().formatMessage,s=i.messageId||i.text;return r?e(iBe,LUe({className:"notification-wrapper","data-notification-bar":!0},{children:e(oBe,LUe({messageBarType:i.messageBarType,className:i.className,actions:i.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&e(UVe,LUe({text:i.text,resourceKey:i.messageId,values:i.messageValues},{children:i.text||e(uD,{id:i.messageId,values:i.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},iBe=Te.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(MVe||(MVe=BUe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),oBe=Te(T).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(jVe||(jVe=BUe(["\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"])),nBe,16,18,18,16,18,14,30,20),aBe=function(t){var n,r=FI().formatMessage,i=lie(),o=sie(),a=Jie(),s=a.searchAccounts,l=a.getUserAvatarUrl,d=c(),p=RT();u((function(){t.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,t.autoFocus]);var f=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,h=!t.selectionMode||t.selectionMode===ee.multiple,m=t.selectedItems||[],g=f,O={defaultSelectedItems:(t.defaultSelectedItems||[]).map((function(e){return v(e)})),resolveDelay:500,onResolveSuggestions:function(e){return y(e,g)},onGetMoreResults:function(e){return y(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!==qre.Group?t.userPrincipalName:null,mail:Die(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));t.onChange&&t.onChange(n)}(e)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!t.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Pse?300:0,className:"lt-reach-picker-callout"},inputProps:{id:t.inputId,required:t.required,"aria-required":t.required,"aria-label":t.inputAriaLabelResourceKey?r({id:t.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:r({id:"AriaLabel.removeUserButton"})};return t.onEmptyInputFocus&&(O.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return b(e).map(v);return e.then((function(e){return b(e).map(v)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===m.length&&(O.inputProps.placeholder=r({id:t.placeholderStringResourceKey})),t.selectedItems&&(O.selectedItems=m.map((function(e){return v(e)}))),e(lBe,LUe({className:jH(t.className,"people-picker")},{children:e(te,LUe({},O,{componentRef:d,itemLimit:h?void 0:1}),void 0)}),void 0);function v(e){var t=Die(e.mail)?null:e.mail,n=Die(e.userPrincipalName)?null:e.userPrincipalName,r=zC(e.displayName||e.mail||e.userPrincipalName),o=e.type===qre.User?n:e.type===qre.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:r,initialsColor:NC(r),key:o,accountType:e.type,authenticationType:e.authenticationType};return i.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function y(e,n){return WUe(this,void 0,void 0,(function(){var r,i,o;return FUe(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];r=t.allowMailItems&&PC(e)&&{mail:e,userPrincipalName:e,displayName:e,type:qre.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 i=a.sent(),r&&i.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,r)}))&&i.push(r),t.additionalSearch&&(o=t.additionalSearch(e))&&(i=i.concat(o)),[2,b(i).map(v)];case 3:return a.sent(),[2,r&&[r].map(v)];case 4:return[2]}}))}))}function b(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 sBe,lBe=Te.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(sBe||(sBe=BUe(["\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"]))),cBe=Nqe,uBe=eXe.f,dBe=YLe,pBe=MWe,fBe=fXe,hBe=UWe,mBe="".startsWith,gBe=Math.min,OBe=hBe("startsWith"),vBe=!OBe&&!!function(){var e=uBe(String.prototype,"startsWith");return e&&!e.writable}();cBe({target:"String",proto:!0,forced:!vBe&&!OBe},{startsWith:function(e){var t=String(fBe(this));pBe(e);var n=dBe(gBe(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return mBe?mBe.call(t,r,n):t.slice(n,n+r.length)===r}});var yBe=MXe,bBe=function(){var e=yBe(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},wBe=BXe.exports,xBe=MXe,_Be=tXe,kBe=bBe,SBe=RegExp.prototype,PBe=SBe.toString,CBe=_Be((function(){return"/a/b"!=PBe.call({source:"a",flags:"b"})})),$Be="toString"!=PBe.name;(CBe||$Be)&&wBe(RegExp.prototype,"toString",(function(){var e=xBe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in SBe)?kBe.call(e):n)}),{unsafe:!0});var EBe,TBe=function(t){var n=t.fileName,r=t.url;return e(QBe,LUe({href:r,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n},void 0)}),void 0)},QBe=Te.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(EBe||(EBe=BUe(["\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),IBe=function(t){var r=t.fileName,i=t.url,o=t.onPlay;return i?n(NBe,LUe({className:"lt-reach-embedded-audio"},{children:[e(TBe,{fileName:r,url:i},void 0),n("audio",LUe({onPlay:function(){return null==o?void 0:o(i)},controls:!0,title:r,controlsList:"nodownload"},{children:[e("source",{src:i,type:"audio/mpeg"},void 0),e(uD,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function DBe(e){var t=JK.getType(e);return t&&t.toString().startsWith("audio/")}var ABe,RBe,zBe,NBe=Te.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(ABe||(ABe=BUe(["\n width: 100%;\n"],["\n width: 100%;\n"])));Te.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(RBe||(RBe=BUe(["\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"})(zBe||(zBe=BUe(["\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 MBe,jBe,UBe,XBe,LBe,qBe,WBe=function(t){var r=t.children,i=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(BBe,LUe({className:s},{children:[i&&e(VBe,{children:i},void 0),e(FBe,LUe({"data-attachment":o,backgroundColor:a},{children:r}),void 0)]}),void 0)},FBe=Te.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(MBe||(MBe=BUe(["\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+";"})),VBe=Te.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(jBe||(jBe=BUe(["\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),BBe=Te.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(UBe||(UBe=BUe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),ZBe=Te(Q).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(XBe||(XBe=BUe(["\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"})(LBe||(LBe=BUe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Te(ZBe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(qBe||(qBe=BUe(["\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 YBe,GBe,HBe,KBe,JBe=function(t){var n=t.children,r=qUe(t,["children"]),i=Qpe();return e(ne,LUe({},r,{className:jH(i,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:LUe({isClickableOutsideFocusTrap:!0},r.focusTrapProps)},{children:n}),void 0)},eZe=function(t){var r=FI().formatMessage,i=d(!1),o=i[0],s=i[1],l=a(lde).theme.palette.accent;return n(YUe,LUe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!t.hideCloseButton,type:t.hideCloseButton?H.normal:H.close,title:r({id:t.titleResourceKey},t.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:t.onCancel},{children:[e(tZe,{children:e(uD,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues},void 0)},void 0),e(nZe,{"data-verify-item-input":!0,onChange:function(e,n){var r=n===t.compareValue;r!==o&&s(r)},ariaLabel:r({id:t.inputAriaLabelResourceKey})},void 0),t.children,n(K,{children:[e(A,LUe({onClick:t.onCancel,disabled:t.disabled},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0),e(rZe,LUe({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(uD,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},tZe=Te.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(YBe||(YBe=BUe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),nZe=Te(I).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(GBe||(GBe=BUe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),rZe=Te(D).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(HBe||(HBe=BUe(["\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})),iZe=function(t){var r=t.showDialog,i=t.titleResourceKey,o=t.titleResourceValues,s=t.infoResourceKey,l=t.infoResourceValues,c=t.onConfirm,u=t.onClose,d=t.width,p=t.children,f=FI().formatMessage,h=a(lde).theme.palette.accent;return n(YUe,LUe({hidden:!r,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:H.normal,subText:s?f({id:s},l):"",title:f({id:i},o),titleProps:{style:{color:h}}},onDismiss:u},{children:[p,n(K,{children:[e(A,LUe({onClick:u,"data-cancel-button":!0},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0),e(D,LUe({"data-ok-button":!0,onClick:function(){null==c||c(),null==u||u()}},{children:e(uD,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},oZe=function(t){var r=t.onConfirm,i=t.onCancel,o=FI().formatMessage,s=a(lde).theme.palette.accent;return e(YUe,LUe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:H.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:i},{children:n(aZe,{children:[e(uD,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),n(K,{children:[e(D,LUe({onClick:r},{children:e(uD,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),e(A,LUe({onClick:i},{children:e(uD,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},aZe=Te.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(KBe||(KBe=BUe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),sZe=function(t){var n=t.value,r=a(_D).language,i=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var r=LUe(LUe({},lZe),n||{}),i=(+e-+t)/1e3;if(Math.abs(i)<r.second)return{value:Math.round(i),unit:"second"};var o=i/60;if(Math.abs(o)<r.minute)return{value:Math.round(o),unit:"minute"};var a=i/3600;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var s=i/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var l=i/604800;if(Math.round(Math.abs(l))>0&&Math.abs(l)<r.week)return{value:Math.round(l),unit:"week"};var c=new Date(e),u=new Date(t),d=c.getFullYear()-u.getFullYear(),p=12*d+c.getMonth()-u.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<r.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=i.value,s=i.unit;return e(eD,LUe({locale:r},{children:e(sD,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)};var lZe={second:45,minute:45,hour:22,day:6,week:4,month:12};var cZe,uZe,dZe,pZe,fZe,hZe,mZe,gZe,OZe,vZe=function(r){var i,o,a=(i=r.value,o=r.dateOnly,l((function(){var e=jC(i),t=Uu(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:o?void 0:"numeric",minute:o?void 0:"numeric"},{locale:Nre()}),n={dateTime:e.toISOString(),title:t};return{date:e,timeProps:n}}),[o,i])),s=a.date,c=a.timeProps,u=!r.showAsAbsolute&&(r.showAsRelative||UC(r.value))&&!r.dateOnly;return!r.showWeekDay&&u?e(bZe,LUe({className:jH(r.className)},c,{dir:"auto"},{children:e(sZe,{value:s},void 0)}),void 0):n(bZe,LUe({className:jH(r.className)},c,{dir:"auto"},{children:[e(dD,{weekday:r.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:s},void 0),!r.dateOnly&&n(t,{children:[" ",e(pD,{value:s},void 0)]},void 0)]}),void 0)},yZe=function(r){var i=r.startDate,o=r.endDate,a=r.dateOnly,s=r.className;if(!i)return null;if(!o)return e("div",LUe({className:s,dir:"auto"},{children:e(vZe,{value:i,showWeekDay:!0,dateOnly:a},void 0)}),void 0);var l=new Date(i),c=new Date(o);return ec(l,c)?n("div",LUe({className:s,dir:"auto"},{children:[e(vZe,{value:i,showWeekDay:!0,dateOnly:a},void 0),!a&&n(t,{children:[" - ",e(pD,{value:c},void 0)]},void 0)]}),void 0):n("div",LUe({className:s,dir:"auto"},{children:[e(vZe,{value:i,showWeekDay:!0,dateOnly:a},void 0)," - ",e(vZe,{value:o,showWeekDay:!0,dateOnly:a},void 0)]}),void 0)},bZe=Te.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(cZe||(cZe=BUe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),wZe=Te.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(uZe||(uZe=BUe(["\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}),rde),xZe=function(t){var n,r=t.children,i=qUe(t,["children"]);return e(q,LUe({},i,{calloutProps:LUe(LUe({},i.calloutProps||{}),{className:jH(m7,"lt-reach-dropdown",null===(n=i.calloutProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)},_Ze=function(t){var r=t.svg,i=t.icon,o=t.styleDefinition,a=t.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=t.additionalButton,c=t.className,u=(null==o?void 0:o.size)||"large";return e(kZe,LUe({className:c,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(SZe,LUe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===u},{children:[i&&e(R,{iconName:i},void 0),!i&&r,s.map((function(t,n){return e("p",{children:e(uD,{id:t},void 0)},n)})),l]}),void 0)}),void 0)},kZe=Te.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(fZe||(fZe=BUe(["\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?Ie(dZe||(dZe=BUe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):Ie(pZe||(pZe=BUe(["\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 "])))})),SZe=Te.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(gZe||(gZe=BUe(["\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&&Ie(hZe||(hZe=BUe(["\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&&Ie(mZe||(mZe=BUe(["\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,Sse.small)}),(function(e){return e.theme.palette.accent}),3,Cse,24,30,30),PZe=function(e,t){return null!=e&&(e&t)===t};Te.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(OZe||(OZe=BUe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var CZe=Nqe,$Ze=Mqe,EZe=Uqe,TZe=tXe,QZe=Zqe,IZe=[],DZe=IZe.sort,AZe=TZe((function(){IZe.sort(void 0)})),RZe=TZe((function(){IZe.sort(null)})),zZe=QZe("sort");CZe({target:"Array",proto:!0,forced:AZe||!RZe||!zZe},{sort:function(e){return void 0===e?DZe.call(EZe(this)):DZe.call(EZe(this),$Ze(e))}});var NZe=function(n){var r=n.languages,i=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=FI(),c=l.formatMessage;return e(t,{children:_oe.apply(void 0,VUe([l],r)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e(qZe,{children:e(WZe,{"data-translation-field":t.code,placeholder:null!=s?s:c({id:a},{lang:t.localizedName}),label:t.localizedName,value:i[t.code],onChange:function(e,n){var r;o(LUe(LUe({},i),((r={})[t.code]=n,r)))},dir:"auto"},void 0)},t.code)}))},void 0)};Te.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(MZe||(MZe=BUe(["\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 MZe,jZe,UZe,XZe,LZe,qZe=Te.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(jZe||(jZe=BUe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),WZe=Te(I).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(UZe||(UZe=BUe(["\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"})(XZe||(XZe=BUe(["\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"})(LZe||(LZe=BUe(["\n display: flex;\n"],["\n display: flex;\n"])));var FZe,VZe=function(t){var n=d(null==t.delay),r=n[0],i=n[1];return u((function(){if(null!=!t.delay){var e=setTimeout((function(){return i(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),r?e(BZe,LUe({className:t.className},{children:e(C,LUe({},t,{className:""}),void 0)}),void 0):null},BZe=Te.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(FZe||(FZe=BUe(["\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"]))),ZZe=JUe.Promise,YZe=BXe.exports,GZe=LLe,HZe=zXe,KZe=nXe,JZe=IWe("species"),eYe={exports:{}},tYe=mFe,nYe=IWe("iterator"),rYe=Array.prototype,iYe=Mqe,oYe=function(e,t,n){if(iYe(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,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},aYe={};aYe[IWe("toStringTag")]="z";var sYe="[object z]"===String(aYe),lYe=cXe,cYe=IWe("toStringTag"),uYe="Arguments"==lYe(function(){return arguments}()),dYe=sYe?lYe:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),cYe))?n:uYe?lYe(t):"Object"==(r=lYe(t))&&"function"==typeof t.callee?"Arguments":r},pYe=dYe,fYe=mFe,hYe=IWe("iterator"),mYe=MXe,gYe=MXe,OYe=function(e){return void 0!==e&&(tYe.Array===e||rYe[nYe]===e)},vYe=YLe,yYe=oYe,bYe=function(e){if(null!=e)return e[hYe]||e["@@iterator"]||fYe[pYe(e)]},wYe=function(e,t,n,r){try{return r?t(mYe(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&mYe(i.call(e)),t}},xYe=function(e,t){this.stopped=e,this.result=t},_Ye=eYe.exports=function(e,t,n,r,i){var o,a,s,l,c,u,d,p=yYe(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=bYe(e)))throw TypeError("Target is not iterable");if(OYe(a)){for(s=0,l=vYe(e.length);l>s;s++)if((c=r?p(gYe(d=e[s])[0],d[1]):p(e[s]))&&c instanceof xYe)return c;return new xYe(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=wYe(o,p,d.value,r))&&c&&c instanceof xYe)return c;return new xYe(!1)};_Ye.stop=function(e){return new xYe(!0,e)};var kYe=IWe("iterator"),SYe=!1;try{var PYe=0,CYe={next:function(){return{done:!!PYe++}},return:function(){SYe=!0}};CYe[kYe]=function(){return this},Array.from(CYe,(function(){throw 2}))}catch(e){}var $Ye,EYe,TYe,QYe=MXe,IYe=Mqe,DYe=IWe("species"),AYe=function(e,t){var n,r=QYe(e).constructor;return void 0===r||null==(n=QYe(r)[DYe])?t:IYe(n)},RYe=LLe("navigator","userAgent")||"",zYe=/(iphone|ipod|ipad).*applewebkit/i.test(RYe),NYe=JUe,MYe=tXe,jYe=cXe,UYe=oYe,XYe=YWe,LYe=SXe,qYe=zYe,WYe=NYe.location,FYe=NYe.setImmediate,VYe=NYe.clearImmediate,BYe=NYe.process,ZYe=NYe.MessageChannel,YYe=NYe.Dispatch,GYe=0,HYe={},KYe=function(e){if(HYe.hasOwnProperty(e)){var t=HYe[e];delete HYe[e],t()}},JYe=function(e){return function(){KYe(e)}},eGe=function(e){KYe(e.data)},tGe=function(e){NYe.postMessage(e+"",WYe.protocol+"//"+WYe.host)};FYe&&VYe||(FYe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return HYe[++GYe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},$Ye(GYe),GYe},VYe=function(e){delete HYe[e]},"process"==jYe(BYe)?$Ye=function(e){BYe.nextTick(JYe(e))}:YYe&&YYe.now?$Ye=function(e){YYe.now(JYe(e))}:ZYe&&!qYe?(TYe=(EYe=new ZYe).port2,EYe.port1.onmessage=eGe,$Ye=UYe(TYe.postMessage,TYe,1)):!NYe.addEventListener||"function"!=typeof postMessage||NYe.importScripts||MYe(tGe)||"file:"===WYe.protocol?$Ye="onreadystatechange"in LYe("script")?function(e){XYe.appendChild(LYe("script")).onreadystatechange=function(){XYe.removeChild(this),KYe(e)}}:function(e){setTimeout(JYe(e),0)}:($Ye=tGe,NYe.addEventListener("message",eGe,!1)));var nGe,rGe,iGe,oGe,aGe,sGe,lGe,cGe,uGe={set:FYe,clear:VYe},dGe=JUe,pGe=eXe.f,fGe=cXe,hGe=uGe.set,mGe=zYe,gGe=dGe.MutationObserver||dGe.WebKitMutationObserver,OGe=dGe.process,vGe=dGe.Promise,yGe="process"==fGe(OGe),bGe=pGe(dGe,"queueMicrotask"),wGe=bGe&&bGe.value;wGe||(nGe=function(){var e,t;for(yGe&&(e=OGe.domain)&&e.exit();rGe;){t=rGe.fn,rGe=rGe.next;try{t()}catch(e){throw rGe?oGe():iGe=void 0,e}}iGe=void 0,e&&e.enter()},yGe?oGe=function(){OGe.nextTick(nGe)}:gGe&&!mGe?(aGe=!0,sGe=document.createTextNode(""),new gGe(nGe).observe(sGe,{characterData:!0}),oGe=function(){sGe.data=aGe=!aGe}):vGe&&vGe.resolve?(lGe=vGe.resolve(void 0),cGe=lGe.then,oGe=function(){cGe.call(lGe,nGe)}):oGe=function(){hGe.call(dGe,nGe)});var xGe=wGe||function(e){var t={fn:e,next:void 0};iGe&&(iGe.next=t),rGe||(rGe=t,oGe()),iGe=t},_Ge={},kGe=Mqe,SGe=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=kGe(t),this.reject=kGe(n)};_Ge.f=function(e){return new SGe(e)};var PGe,CGe,$Ge=MXe,EGe=OXe,TGe=_Ge,QGe=JUe,IGe=RYe,DGe=JUe.process,AGe=DGe&&DGe.versions,RGe=AGe&&AGe.v8;RGe?CGe=(PGe=RGe.split("."))[0]+PGe[1]:IGe&&(!(PGe=IGe.match(/Edge\/(\d+)/))||PGe[1]>=74)&&(PGe=IGe.match(/Chrome\/(\d+)/))&&(CGe=PGe[1]);var zGe,NGe,MGe,jGe,UGe=CGe&&+CGe,XGe=Nqe,LGe=JUe,qGe=LLe,WGe=ZZe,FGe=BXe.exports,VGe=function(e,t,n){for(var r in t)YZe(e,r,t[r],n);return e},BGe=IFe,ZGe=function(e){var t=GZe(e),n=HZe.f;KZe&&t&&!t[JZe]&&n(t,JZe,{configurable:!0,get:function(){return this}})},YGe=OXe,GGe=Mqe,HGe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},KGe=cXe,JGe=tLe,eHe=eYe.exports,tHe=function(e,t){if(!t&&!SYe)return!1;var n=!1;try{var r={};r[kYe]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},nHe=AYe,rHe=uGe.set,iHe=xGe,oHe=function(e,t){if($Ge(e),EGe(t)&&t.constructor===e)return t;var n=TGe.f(e);return(0,n.resolve)(t),n.promise},aHe=function(e,t){var n=QGe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},sHe=_Ge,lHe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},cHe=TLe,uHe=Eqe,dHe=UGe,pHe=IWe("species"),fHe=cHe.get,hHe=cHe.set,mHe=cHe.getterFor("Promise"),gHe=WGe,OHe=LGe.TypeError,vHe=LGe.document,yHe=LGe.process,bHe=qGe("fetch"),wHe=sHe.f,xHe=wHe,_He="process"==KGe(yHe),kHe=!!(vHe&&vHe.createEvent&&LGe.dispatchEvent),SHe=uHe("Promise",(function(){if(!(JGe(gHe)!==String(gHe))){if(66===dHe)return!0;if(!_He&&"function"!=typeof PromiseRejectionEvent)return!0}if(dHe>=51&&/native code/.test(gHe))return!1;var e=gHe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[pHe]=t,!(e.then((function(){}))instanceof t)})),PHe=SHe||!tHe((function(e){gHe.all(e).catch((function(){}))})),CHe=function(e){var t;return!(!YGe(e)||"function"!=typeof(t=e.then))&&t},$He=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;iHe((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=o?u.ok:u.fail,p=u.resolve,f=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&IHe(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===u.promise?f(OHe("Promise-chain cycle")):(l=CHe(s))?l.call(s,p,f):p(s)):f(i)}catch(e){h&&!c&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&THe(e,t)}))}},EHe=function(e,t,n){var r,i;kHe?((r=vHe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),LGe.dispatchEvent(r)):r={promise:t,reason:n},(i=LGe["on"+e])?i(r):"unhandledrejection"===e&&aHe("Unhandled promise rejection",n)},THe=function(e,t){rHe.call(LGe,(function(){var n,r=t.value;if(QHe(t)&&(n=lHe((function(){_He?yHe.emit("unhandledRejection",r,e):EHe("unhandledrejection",e,r)})),t.rejection=_He||QHe(t)?2:1,n.error))throw n.value}))},QHe=function(e){return 1!==e.rejection&&!e.parent},IHe=function(e,t){rHe.call(LGe,(function(){_He?yHe.emit("rejectionHandled",e):EHe("rejectionhandled",e,t.value)}))},DHe=function(e,t,n,r){return function(i){e(t,n,i,r)}},AHe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,$He(e,t,!0))},RHe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw OHe("Promise can't be resolved itself");var i=CHe(n);i?iHe((function(){var r={done:!1};try{i.call(n,DHe(RHe,e,r,t),DHe(AHe,e,r,t))}catch(n){AHe(e,r,n,t)}})):(t.value=n,t.state=1,$He(e,t,!1))}catch(n){AHe(e,{done:!1},n,t)}}};SHe&&(gHe=function(e){HGe(this,gHe,"Promise"),GGe(e),zGe.call(this);var t=fHe(this);try{e(DHe(RHe,this,t),DHe(AHe,this,t))}catch(e){AHe(this,t,e)}},(zGe=function(e){hHe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=VGe(gHe.prototype,{then:function(e,t){var n=mHe(this),r=wHe(nHe(this,gHe));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=_He?yHe.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$He(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),NGe=function(){var e=new zGe,t=fHe(e);this.promise=e,this.resolve=DHe(RHe,e,t),this.reject=DHe(AHe,e,t)},sHe.f=wHe=function(e){return e===gHe||e===MGe?new NGe(e):xHe(e)},"function"==typeof WGe&&(jGe=WGe.prototype.then,FGe(WGe.prototype,"then",(function(e,t){var n=this;return new gHe((function(e,t){jGe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof bHe&&XGe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return oHe(gHe,bHe.apply(LGe,arguments))}}))),XGe({global:!0,wrap:!0,forced:SHe},{Promise:gHe}),BGe(gHe,"Promise",!1),ZGe("Promise"),MGe=qGe("Promise"),XGe({target:"Promise",stat:!0,forced:SHe},{reject:function(e){var t=wHe(this);return t.reject.call(void 0,e),t.promise}}),XGe({target:"Promise",stat:!0,forced:SHe},{resolve:function(e){return oHe(this,e)}}),XGe({target:"Promise",stat:!0,forced:PHe},{all:function(e){var t=this,n=wHe(t),r=n.resolve,i=n.reject,o=lHe((function(){var n=GGe(t.resolve),o=[],a=0,s=1;eHe(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=wHe(t),r=n.reject,i=lHe((function(){var i=GGe(t.resolve);eHe(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var zHe={},NHe=tXe;function MHe(e,t){return RegExp(e,t)}zHe.UNSUPPORTED_Y=NHe((function(){var e=MHe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),zHe.BROKEN_CARET=NHe((function(){var e=MHe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var jHe=bBe,UHe=zHe,XHe=RegExp.prototype.exec,LHe=String.prototype.replace,qHe=XHe,WHe=function(){var e=/a/,t=/b*/g;return XHe.call(e,"a"),XHe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),FHe=UHe.UNSUPPORTED_Y||UHe.BROKEN_CARET,VHe=void 0!==/()??/.exec("")[1];(WHe||VHe||FHe)&&(qHe=function(e){var t,n,r,i,o=this,a=FHe&&o.sticky,s=jHe.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),VHe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),WHe&&(t=o.lastIndex),r=XHe.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:WHe&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),VHe&&r&&r.length>1&&LHe.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var BHe=qHe;Nqe({target:"RegExp",proto:!0,forced:/./.exec!==BHe},{exec:BHe});var ZHe,YHe=BXe.exports,GHe=tXe,HHe=IWe,KHe=BHe,JHe=VXe,eKe=HHe("species"),tKe=!GHe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),nKe="$0"==="a".replace(/./,"$0"),rKe=HHe("replace"),iKe=!!/./[rKe]&&""===/./[rKe]("a","$0"),oKe=!GHe((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]})),aKe=function(e,t,n,r){var i=HHe(e),o=!GHe((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!GHe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[eKe]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!tKe||!nKe||iKe)||"split"===e&&!oKe){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===KHe?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:nKe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:iKe}),c=l[0],u=l[1];YHe(String.prototype,e,c),YHe(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&JHe(RegExp.prototype[i],"sham",!0)},sKe=VLe,lKe=fXe,cKe=function(e){return function(t,n){var r,i,o=String(lKe(t)),a=sKe(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},uKe={codeAt:cKe(!1),charAt:cKe(!0)}.charAt,dKe=function(e,t,n){return t+(n?uKe(e,t).length:1)},pKe=cXe,fKe=BHe,hKe=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==pKe(e))throw TypeError("RegExp#exec called on incompatible receiver");return fKe.call(e,t)},mKe=aKe,gKe=zWe,OKe=MXe,vKe=fXe,yKe=AYe,bKe=dKe,wKe=YLe,xKe=hKe,_Ke=BHe,kKe=tXe,SKe=[].push,PKe=Math.min,CKe=!kKe((function(){return!RegExp(4294967295,"y")}));mKe("split",2,(function(e,t,n){var r;return r="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 r=String(vKe(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!gKe(e))return t.call(r,e,i);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(o=_Ke.call(d,r))&&!((a=d.lastIndex)>u&&(l.push(r.slice(u,o.index)),o.length>1&&o.index<r.length&&SKe.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return u===r.length?!s&&d.test("")||l.push(""):l.push(r.slice(u)),l.length>i?l.slice(0,i):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 i=vKe(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=OKe(e),s=String(this),l=yKe(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(CKe?"y":"g"),d=new l(CKe?a:"^(?:"+a.source+")",u),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===s.length)return null===xKe(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=CKe?h:0;var g,O=xKe(d,CKe?s:s.slice(h));if(null===O||(g=PKe(wKe(d.lastIndex+(CKe?0:h)),s.length))===f)h=bKe(s,h,c);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var v=1;v<=O.length-1;v++)if(m.push(O[v]),m.length===p)return m;h=f=g}}return m.push(s.slice(f)),m}]}),!CKe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(ZHe||(ZHe={}));var $Ke=function(t){var r=t.fileName,i=t.url,o=t.onPlay;if(!i)return null;var a="safari"===xw?i+"#t=0.1":i;return n("div",LUe({className:"lt-reach-embedded-video"},{children:[e(TBe,{fileName:r,url:i},void 0),n("video",LUe({onPlay:function(){return null==o?void 0:o(i)},preload:"metadata",controls:!0,title:r,width:"auto",height:"auto"},{children:[e("source",{src:a,type:"video/mp4"},void 0),e(uD,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function EKe(e){var t,n="mac"===Vp.deviceInfo.operatingSystem,r=null===(t=JK.getType(e))||void 0===t?void 0:t.toString();return!!r&&(!!r.startsWith(ZHe.mp4)||(n?r.startsWith(ZHe.quicktime):r.startsWith(ZHe.webm)))}var TKe,QKe,IKe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},DKe=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 "},AKe=function(e,t,n){return Ie(QKe||(QKe=BUe(["\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 RKe(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 zKe(e){return WUe(this,void 0,void 0,(function(){return FUe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(RKe))];case 1:return[2,t.sent()]}}))}))}function NKe(e){return DBe(e)?"MusicInCollectionFill":EKe(e)?"Video":UKe(null==e?void 0:e.split(".").pop().toLowerCase())}function MKe(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 jKe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function UKe(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 XKe(){var e=YG(),t=ZG(),n=t.createApiUrl,r=t.fetchFromApi,i=a(vD).identifier,o=ow(),s=Jse().interaction,c=null==i?void 0:i.id;return l((function(){return{exchangeShortLivedToken:function(e){return WUe(this,void 0,void 0,(function(){var t,n;return FUe(this,(function(i){switch(i.label){case 0:return e?(t={method:"POST",headers:VG(e,c)},[4,r("/file_access_token/types/short_lived",t)]):[2,null];case 1:return[2,200!==(n=i.sent()).status?null:n.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,r){var i=this;return function(){return WUe(i,void 0,void 0,(function(){var i;return FUe(this,(function(a){switch(a.label){case 0:return[4,t()];case 1:return i=a.sent(),window.open(i,"ios"===o.deviceInfo.operatingSystem?"_self":e),s({event:Qse.downloadFile,action:Ise.click,value:Yse(i),item:{id:n,type:"content",parentId:r}}),[2]}}))}))}}}}),[c,r,n,e,module])}var LKe,qKe,WKe,FKe,VKe,BKe,ZKe,YKe,GKe,HKe,KKe,JKe,eJe,tJe,nJe,rJe,iJe,oJe,aJe=function(r){var i=r.files,o=r.onDeleteClick,a=r.getFileUrl,s=r.fileAccessToken,l=r.onPlayVideo,c=r.onPlayAudio,u=r.disabled,d=r.parentId,p=r.className;if(!i||0===i.length)return null;var f=i.filter((function(e){return a&&DBe(e.filename)})),h=i.filter((function(e){return a&&EKe(e.filename)})),m=i.filter((function(e){return!f.includes(e)&&!h.includes(e)}));return n(t,{children:[h.length>0&&e(lJe,LUe({className:p,"data-preload-video":"safari"===xw},{children:h.map((function(t){return e(cJe,{children:e($Ke,{fileName:t.filename,url:a(t.id),onPlay:function(e){return l(e,t.id)}},void 0)},t.id)}))}),void 0),f.length>0&&e(sJe,LUe({className:p},{children:f.map((function(t){return e(uJe,{children:e(IBe,{fileName:t.filename,url:a(t.id),onPlay:function(e){return c(e,t.id)}},void 0)},t.id)}))}),void 0),m.length>0&&e(sJe,LUe({className:p},{children:m.map((function(t){return e(uJe,{children:e(dJe,{attachment:t,disabled:u,getFileUrl:a,fileAccessToken:s,onDeleteClick:o,parentId:d},void 0)},t.id)}))}),void 0)]},void 0)},sJe=Te.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(LKe||(LKe=BUe(["\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"]))),lJe=Te.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(qKe||(qKe=BUe(["\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),cJe=Te.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(WKe||(WKe=BUe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),uJe=Te.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(FKe||(FKe=BUe(["\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,Sse.small,5),dJe=function(t){var r=t.attachment,i=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=t.parentId,c=FI().formatMessage,u=!s&&i,d=XKe(),p=d.exchangeShortLivedToken,f=d.createDownloadClickHandler;return n(pJe,{children:[r.isUploadInProgress&&e(yJe,{children:e(bJe,{size:re.medium},void 0)},void 0),e(hJe,LUe({takeFullWidth:!u},{children:function(){var t=this;if(r.hasError)return n(mJe,{children:[e(wJe,{iconName:"Warning"},void 0),e(vJe,LUe({title:r.filename},{children:r.filename}),void 0)]},void 0);var i=NKe(r.filename);if(o)return n(fJe,LUe({title:r.filename,onClick:f("_blank",(function(){return WUe(t,void 0,void 0,(function(){var e;return FUe(this,(function(t){switch(t.label){case 0:return[4,p(a)];case 1:return e=t.sent(),[2,o(r.id,e)]}}))}))}),r.id,l)},{children:[e(gJe,{iconName:i},void 0),e(vJe,{children:r.filename},void 0)]}),void 0);return n(mJe,{children:[e(gJe,{iconName:i},void 0),e(vJe,LUe({title:r.filename},{children:r.filename}),void 0)]},void 0)}()}),void 0),u&&e(OJe,{iconProps:{iconName:"Delete"},onClick:function(){return i(r)},disabled:r.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},pJe=Te.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(VKe||(VKe=BUe(["\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})),fJe=Te(A).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(BKe||(BKe=BUe(["\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})),hJe=Te.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(GKe||(GKe=BUe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?Ie(ZKe||(ZKe=BUe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):Ie(YKe||(YKe=BUe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),mJe=Te.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(HKe||(HKe=BUe(["\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),gJe=Te(R).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(KKe||(KKe=BUe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),OJe=Te(E).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(JKe||(JKe=BUe(["\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})),vJe=Te.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(eJe||(eJe=BUe(["\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"]))),yJe=Te.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(tJe||(tJe=BUe(["\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"]))),bJe=Te(VZe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(nJe||(nJe=BUe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),wJe=Te(R).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(rJe||(rJe=BUe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),xJe=function(r){var i,o=r.children,a=qUe(r,["children"]);return n(t,{children:[e(_Je,{},void 0),e(YUe,LUe({},a,{modalProps:LUe(LUe({},a.modalProps||{}),{className:jH({"lt-reach-dialog-mobile-full-height":Vp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},_Je=Qe(iJe||(iJe=BUe(['\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"}(oJe||(oJe={}));var kJe=function(t){var r=t.className,i=t.offsetTop,o=void 0===i?0:i,a=t.positionBottomOnMobile,s=t.domIdentifier,l=t.offsetRight,c=void 0===l?0:l,u=t.children;return n(CJe,LUe({offsetTop:o,offsetRight:c,className:r,positionBottomOnMobile:a,"data-fab":s},{children:[e(EJe,{},void 0),u]}),void 0)},SJe=function(t){var r=t.iconName,i=t.onClick,o=t.tooltipResourceKey,a=t.useSecondaryBgColor,s=t.domIdentifier,l=t.className,c=FI().formatMessage;return n(UVe,LUe({className:l,resourceKey:o},{children:[e(EJe,{},void 0),e(TJe,{"data-fab":s,iconProps:{iconName:r},onClick:i,ariaLabel:c({id:o}),useSecondaryBgColor:a},void 0)]}),void 0)},PJe=function(r){var i=r.iconName,o=r.tooltipResourceKey,a=r.titleResourceKey,s=r.showCloseButton,l=r.useSecondaryBgColor,u=r.children,p=r.domIdentifier,f=r.useMobileFullHeight,h=FI().formatMessage,m=d(!1),g=m[0],O=m[1],v=c(null),y=Vp.isAnyMobileApp;return n(t,{children:[e("div",LUe({ref:v},{children:e(SJe,{"data-fab":p,tooltipResourceKey:o,iconName:i,onClick:function(){return O(!g)},useSecondaryBgColor:l},void 0)}),void 0),g&&y&&f&&n(xJe,LUe({hidden:!g,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:H.close,title:h({id:a})},onDismiss:function(){return O(!1)}},{children:[e(VJe,{},void 0),u]}),void 0),g&&y&&!f&&n(YUe,LUe({hidden:!g},{children:[u,e(K,{children:e(A,{text:h({id:"Generic.close"}),onClick:function(){return O(!1)}},void 0)},void 0)]}),void 0),g&&!y&&e(JBe,LUe({target:v.current,directionalHint:Z.bottomRightEdge,onDismiss:function(){return O(!1)}},{children:n(WJe,{children:[u,s&&e(FJe,{text:h({id:"Generic.close"}),onClick:function(){return O(!1)}},void 0)]},void 0)}),void 0)]},void 0)},CJe=Te.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(DJe||(DJe=BUe(["\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?Ie(QJe||(QJe=BUe(["\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 "])),Sse.medium,e.offsetTop+20):Ie(IJe||(IJe=BUe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),$Je=function(e){return Ie(zJe||(zJe=BUe(["\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?Ie(AJe||(AJe=BUe(["\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})):Ie(RJe||(RJe=BUe(["\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})))},EJe=Qe(NJe||(NJe=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return p7("\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 ")})),TJe=Te(E).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(MJe||(MJe=BUe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return $Je(e.useSecondaryBgColor)}));Te(UVe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(jJe||(jJe=BUe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return $Je(e.useSecondaryBgColor)}));var QJe,IJe,DJe,AJe,RJe,zJe,NJe,MJe,jJe,UJe,XJe,LJe,qJe,WJe=Te.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(UJe||(UJe=BUe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),FJe=Te(A).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(XJe||(XJe=BUe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),VJe=Qe(LJe||(LJe=BUe(["\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"])),Pse),BJe=function(t){var n=t.tagName,r=void 0===n?"div":n,i=t.id,o=t.values,a=t.dir,s=t.className;return b(r,{className:s,dir:a},e(uD,{id:i,values:o},void 0))},ZJe=function(t){var r=t.icon,i=t.resourceKey,o=t.className,a=t.values,s="string"==typeof r?e(R,{iconName:r},void 0):r;return n(YJe,LUe({className:o},{children:[s,e(uD,{id:i,values:a,tagName:"span"},void 0)]}),void 0)},YJe=Te.div(qJe||(qJe=BUe(["\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),GJe={},HJe=new lK;var KJe=new lK;function JJe(e){var t=c(!0);u((function(){t.current||KJe.next(),t.current=!1}),e)}var e0e,t0e,n0e,r0e,i0e=function(t){var n=t.groupName,r=t.groupId,i=t.keywordName,o=t.language,s=t.underlined,l=t.onClick,c=t.tabIndex,u=sie(),d=Coe(a(Dde).selectedKeywordGroups,u,r,i,n,o);return l?e(a0e,LUe({onClick:l,tabIndex:c},{children:e(s0e,LUe({underlined:!0,dir:"auto"},{children:d}),void 0)}),void 0):e(s0e,LUe({underlined:s,dir:"auto"},{children:d}),void 0)},o0e=function(t){var n=t.groupId,r=t.keywordName,i=sie(),o=Coe(a(Dde).selectedKeywordGroups,i,n,r);return JJe([o]),e(s0e,LUe({underlined:!0},{children:o}),void 0)},a0e=Te(ZBe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(e0e||(e0e=BUe(["\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})),s0e=Te.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(n0e||(n0e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&Ie(t0e||(t0e=BUe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),l0e=function(t){var r=t.modified,i=FI();return r?n(c0e,LUe({className:"ms-fontColor-neutralTertiary"},{children:["(",e(UVe,LUe({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(r,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(r);return e+" "+t}()}},{children:e(uD,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},c0e=Te.div(r0e||(r0e=BUe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function u0e(){return u0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u0e.apply(this,arguments)}var d0e=function(e){return i.createElement("svg",u0e({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),i.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}}),i.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"}}),i.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.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}}),i.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"}}),i.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}}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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 p0e(){return p0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p0e.apply(this,arguments)}var f0e=function(e){return i.createElement("svg",p0e({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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 h0e(){return h0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h0e.apply(this,arguments)}var m0e=function(e){return i.createElement("svg",h0e({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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}}),i.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 g0e(){return g0e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g0e.apply(this,arguments)}var O0e,v0e,y0e,b0e,w0e,x0e,_0e,k0e,S0e,P0e,C0e,$0e=function(e){return i.createElement("svg",g0e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),i.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),i.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}}),i.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"}}),i.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}}),i.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.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"}}),i.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}}),i.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"}}),i.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"}}),i.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"}}),i.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}}),i.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}}))},E0e=function(t){var n=t.images,r=t.selectedIndex,i=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=AT((function(){return WUe(this,void 0,void 0,(function(){var e;return FUe(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}):RKe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],c=s[1],u=s[2];return c||u?null:e(se,{children:e(T0e,{images:n.map((function(e,t){return function(e,t){var n=Math.min(t.width,2500),r=Math.trunc(t.height/t.width*n);return{thumbnail:e.previewUrl,large:a(e.imageId,n,r),width:n,height:r,caption:e.imageTitle}}(e,l[t])})),selectedIndex:r,hidden:i,onClose:o},void 0)},void 0)},T0e=function(r){var i=r.images,o=r.hidden,a=r.selectedIndex,s=r.onClose,l=FI().formatMessage,d=c(null),p=c();return u((function(){var e;if(!o)return clearTimeout(p.current),p.current=setTimeout((function(){return e=function(){var e=new Ape(d.current,zpe,i.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(Q0e,{enforceArrowVisibility:!Vp.isNativeMobileApp},void 0),n("div",LUe({ref:d,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"},void 0),n("div",LUe({className:"pswp__scroll-wrap"},{children:[n("div",LUe({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",LUe({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",LUe({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",LUe({className:"pswp__preloader"},{children:e("div",LUe({className:"pswp__preloader__icn"},{children:e("div",LUe({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),e("div",LUe({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",LUe({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},Q0e=Qe(v0e||(v0e=BUe(["\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&&Ie(O0e||(O0e=BUe(["\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 "])))})),I0e=function(r){var i=r.images,o=r.imageUrlResolver,s=r.disableRoundedCorners,l=r.gridBackgroundColor,c=r.className,u=FI().formatMessage,p=d(null),f=p[0],h=p[1],m=a(lde).theme.palette;if(!i||0===i.length)return null;var g=i.length>4,O=i.length>1,v=i[0];return n(A0e,LUe({"data-multi-images":O,className:c,singleImageHeight:v.height,singleImageWidth:v.width},{children:[e("div",LUe({"data-gallery-wrapper":!0},{children:O?n(t,{children:[e(z0e,LUe({backgroundColor:null!=l?l:m.neutralLight,applyRoundedCorners:!s},{children:i.slice(0,4).map((function(t,n){return e(N0e,LUe({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),y(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(M0e,{src:t.previewUrl,imageFit:ae.centerCover,alt:t.imageTitle||""},void 0)}),n)}))}),void 0),g&&n(j0e,LUe({onClick:function(){return y(4)}},{children:["+",i.length-4]}),void 0)]},void 0):e(D0e,{image:v,onClick:function(){return y(0)},disableRoundedCorners:s},void 0)}),void 0),e(E0e,{images:i,selectedIndex:f,hidden:null==f,onClose:function(){h(null)},imageUrlResolver:o},void 0)]}),void 0);function y(e){h(e)}},D0e=function(t){var n=t.image,r=t.onClick,i=t.disableRoundedCorners,o=FI().formatMessage;return e(R0e,LUe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),r()},applyRoundedCorners:!i,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:e("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},A0e=Te.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(b0e||(b0e=BUe(["\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&&Ie(y0e||(y0e=BUe(["\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)})),R0e=Te.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(x0e||(x0e=BUe(["\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&&Ie(w0e||(w0e=BUe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),z0e=Te.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(k0e||(k0e=BUe(["\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&&Ie(_0e||(_0e=BUe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),N0e=Te.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(S0e||(S0e=BUe(["\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"]))),M0e=Te(z).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(P0e||(P0e=BUe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),j0e=Te(A).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(C0e||(C0e=BUe(["\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,Sse.small,28);var U0e,X0e,L0e,q0e,W0e,F0e,V0e=function(t){var n=t.icon,r=t.isActive,i=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,c=qUe(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),u=FI().formatMessage;if(!s&&!a)return null;var d=jH("header-button",l),p=s?e(Y0e,LUe({className:d,to:s},c,{children:e(R,{iconName:n},void 0)}),void 0):e(Z0e,LUe({className:d,disabled:i,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:u({id:o}),"data-button-type":"header-btn",isActive:r},c),void 0);return e(B0e,LUe({className:"tooltip-container"},{children:e(UVe,LUe({resourceKey:o},{children:p}),void 0)}),void 0)},B0e=Te.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(U0e||(U0e=BUe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),Z0e=Te(E).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(q0e||(q0e=BUe(['\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&&Ie(X0e||(X0e=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&Ie(L0e||(L0e=BUe(["\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)})),Y0e=Te(ke).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(F0e||(F0e=BUe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return Ie(W0e||(W0e=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),G0e=fXe,H0e="[\t\n\v\f\r \u2028\u2029\ufeff]",K0e=RegExp("^"+H0e+H0e+"*"),J0e=RegExp(H0e+H0e+"*$"),e1e=function(e){return function(t){var n=String(G0e(t));return 1&e&&(n=n.replace(K0e,"")),2&e&&(n=n.replace(J0e,"")),n}},t1e={start:e1e(1),end:e1e(2),trim:e1e(3)},n1e=tXe,r1e="\t\n\v\f\r \u2028\u2029\ufeff",i1e=t1e.trim,o1e=function(e){return n1e((function(){return!!r1e[e]()||"
"!="
"[e]()||r1e[e].name!==e}))};Nqe({target:"String",proto:!0,forced:o1e("trim")},{trim:function(){return i1e(this)}});var a1e,s1e,l1e,c1e,u1e,d1e,p1e,f1e,h1e,m1e,g1e,O1e,v1e,y1e,b1e,w1e,x1e,_1e=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.children,s=t.className,l=t.style,c=qUe(t,["url","target","ariaLabel","children","className","style"]);lie();var u=Kce(),d=a(mD);d.onOpenExternalLink;var p=d.tryGetInternalLink,f=!r&&p(n,u);return f?e(tBe,LUe({className:s,to:f,"data-link":kse.Internal,"aria-label":i,style:l,dir:"auto"},c,{children:o}),void 0):e(k1e,LUe({url:n,target:r,className:s,ariaLabel:i,style:l},c,{children:o}),void 0)},k1e=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,c=qUe(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(eBe,LUe({href:n,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===r?"_blank":r,rel:"noopener noreferrer","aria-label":i,"data-link":kse.External,style:l,dir:"auto"},c,{children:s}),void 0)},S1e=Ie(a1e||(a1e=BUe(["\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"]))),P1e=Te(_1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(s1e||(s1e=BUe(["\n ","\n"],["\n ","\n"])),S1e),C1e=Te(k1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(l1e||(l1e=BUe(["\n ","\n"],["\n ","\n"])),S1e),$1e=Te(E).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(u1e||(u1e=BUe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&Ie(c1e||(c1e=BUe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),E1e=Te((function(t){var r,i=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,c=t.target,u=t.tooltipText,d=t.tooltipResourceKey,p=t.disabled,f=t.className,h=qUe(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=FI().formatMessage,g=o||(null===(r=null==a?void 0:a.trim())||void 0===r?void 0:r.length)>0&&m({id:a});return n(UVe,LUe({resourceKey:d,text:u},{children:[l&&!s&&e(P1e,LUe({url:l,ariaLabel:g,target:c},h,{children:e(R,{iconName:i,className:f},void 0)}),void 0),s&&!l&&e($1e,LUe({disabled:p,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:g},h),void 0),s&&l&&e(C1e,LUe({url:l,target:c,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(R,{iconName:i,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(p1e||(p1e=BUe(["\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&&Ie(d1e||(d1e=BUe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),T1e=function(t){var r=t.shouldAutoFocus,i=void 0===r||r,o=FI(),s=d(null),l=s[0],p=s[1],f=we(),h=a(lde).theme.textColors,m=c();return u((function(){return ape(O),i&&setTimeout((function(){var e;return m&&(null===(e=m.current)||void 0===e?void 0:e.focus())})),function(){spe(O)}}),[]),u((function(){p("")}),[f.pathname]),n(D1e,LUe({className:jH("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(Q1e,{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(I1e,{className:"search-spinner"},void 0),e(A1e,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;p(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&h.onPrimary},void 0)]}),void 0);function g(e){var n;p(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function O(){return!(!l&&!t.searchText)&&(g(""),!0)}},Q1e=Te(I).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(m1e||(m1e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?Ie(f1e||(f1e=BUe(["\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}),DKe("color: "+e.theme.textColors.default)):Ie(h1e||(h1e=BUe(["\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}),DKe("color: "+e.theme.textColors.onPrimary))})),I1e=Te(C).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(g1e||(g1e=BUe(["\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})),D1e=Te.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(y1e||(y1e=BUe(["\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"])),DKe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?Ie(O1e||(O1e=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):Ie(v1e||(v1e=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),A1e=Te(ZVe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(b1e||(b1e=BUe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),R1e=function(r){var i=r.onSearchInputFieldVisibilityChanged,o=r.isToolbarMode,a=r.onExecuteSearch,s=r.onSearchTextChange,l=r.searchText,c=r.showSearchBoxInput,p=r.className,f=r.shouldAutoFocus,h=d(!!l),m=h[0],g=h[1],O=c||m||!!l;return u((function(){null==i||i(O)}),[O]),n(t,{children:[O&&e(T1e,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),v(!1)},shouldAutoFocus:f,className:p,useLightTheme:o},void 0),!O&&(o?e(E1e,{iconName:"Search",onClick:function(){return v(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):e(V0e,{icon:"Search",onClick:function(){return v(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function v(e){g(e),null==i||i(e)}},z1e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},N1e=MXe,M1e=fXe,j1e=z1e,U1e=hKe;aKe("search",1,(function(e,t,n){return[function(t){var n=M1e(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=N1e(e),o=String(this),a=i.lastIndex;j1e(a,0)||(i.lastIndex=0);var s=U1e(i,o);return j1e(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),Te.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(w1e||(w1e=BUe(["\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"}(x1e||(x1e={})),Te(R).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(X1e||(X1e=BUe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),Te.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(W1e||(W1e=BUe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?Ie(L1e||(L1e=BUe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):Ie(q1e||(q1e=BUe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),Te.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(F1e||(F1e=BUe(["\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"})(V1e||(V1e=BUe(["\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 X1e,L1e,q1e,W1e,F1e,V1e,B1e,Z1e,Y1e,G1e=Te.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(B1e||(B1e=BUe(["\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"})(Z1e||(Z1e=BUe(["\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"}),G1e,(function(e){return e.isLoading?"0.6":"1"})),Te(VZe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(Y1e||(Y1e=BUe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var H1e,K1e,J1e=function(t){return e(e2e,LUe({},t,{"data-toggle-button":!0}),void 0)},e2e=Te(N).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(H1e||(H1e=BUe(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-inline-start: 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-inline-start: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),t2e=function(e){return Ie(K1e||(K1e=BUe(["\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 n2e(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[xoe(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var r2e=aKe,i2e=MXe,o2e=Uqe,a2e=YLe,s2e=VLe,l2e=fXe,c2e=dKe,u2e=hKe,d2e=Math.max,p2e=Math.min,f2e=Math.floor,h2e=/\$([$&'`]|\d\d?|<[^>]*>)/g,m2e=/\$([$&'`]|\d\d?)/g,g2e=function(e){return void 0===e?e:String(e)};r2e("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=l2e(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var l=n(t,e,this,r);if(l.done)return l.value}var c=i2e(e),u=String(this),d="function"==typeof r;d||(r=String(r));var p=c.global;if(p){var f=c.unicode;c.lastIndex=0}for(var h=[];;){var m=u2e(c,u);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(c.lastIndex=c2e(u,a2e(c.lastIndex),f))}for(var g="",O=0,v=0;v<h.length;v++){m=h[v];for(var y=String(m[0]),b=d2e(p2e(s2e(m.index),u.length),0),w=[],x=1;x<m.length;x++)w.push(g2e(m[x]));var _=m.groups;if(d){var k=[y].concat(w,b,u);void 0!==_&&k.push(_);var S=String(r.apply(void 0,k))}else S=s(y,u,b,w,_,r);b>=O&&(g+=u.slice(O,b)+S,O=b+y.length)}return g+u.slice(O)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,c=m2e;return void 0!==o&&(o=o2e(o),c=h2e),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=f2e(u/10);return 0===d?t:d<=l?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var O2e,v2e=Sse.small-40,y2e=Sse.medium-40;function b2e(e){if(!e)return!1;var t=e.split("://");if(t.length<2)return!1;var n=t.shift();if("https"!==n&&"http"!==n)return!1;t[0].startsWith("www.")&&(t=t[0].split("^www.").slice(-1));var r=t[0].split(/^(?:\d{1,3}\.){3}\d{1,3}/);if(r.length<2){var i=t[0].split(/^(?:[a-z\d]([a-z\d-]*[a-z\d])*\.?)+[a-z]{2,}/i);if(i.length<2)return!1;t=i.slice(-1)}else t=r.slice(-1);if(!(t=t[0].split(/^:\d+/).slice(-1))[0].length)return!0;var o=t[0].split(/^(?:\/[a-z\d%_.~:#+-]+)*\/?/i);if(o.length<2)return!1;if(!(t=o.slice(-1))[0].length)return!0;if(t[0].startsWith("?")){var a=t[0].split(/^\?[;&a-z\d%_.~+=-]*/i);if(a.length<2)return!1;t=a.slice(-1)}if(t[0].startsWith("#")){var s=t[0].split(/^#[-a-z\d_]*/);if(s.length<2)return!1;t=s.slice(-1)}return!t[0].length||"/"===t[0]}function w2e(e){return e?"https://www.google.com/maps/search/?api=1&"+ol.stringify({query:e}):null}function x2e(e,t){var n;if(!e.useExternalContent)return null;var r=e.contents[t];return(null==r?void 0:r.active)&&(null==r?void 0:r.externalUrl)?r.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"})(O2e||(O2e=BUe(["\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,Pse,20,10,10,Sse.small,20,v2e,Sse.medium,y2e);var _2e,k2e,S2e,P2e,C2e,$2e=Te.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(k2e||(k2e=BUe(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,2.3333333333333335,(function(e){return e.showPlaceholder&&Ie(_2e||(_2e=BUe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),Sse.small,v2e,2.3333333333333335,Sse.medium,(function(e){return e.defaultWidth||250}));Te.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(P2e||(P2e=BUe(["\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&&Ie(S2e||(S2e=BUe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),Te(R).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(C2e||(C2e=BUe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var E2e,T2e,Q2e,I2e,D2e,A2e,R2e,z2e,N2e,M2e,j2e=function(r){var i=r.enterDuration,o=r.leaveDuration,a=r.children,s=r.style,l=r.className,c=!!i,u=!!o,d="common-opacity-animation_"+i+"_"+o;return n(t,{children:[e(U2e,{name:d,enterDuration:i,leaveDuration:o},void 0),e(vfe,LUe({style:s,className:l,transitionName:d,transitionAppear:c,transitionEnter:c,transitionLeave:u,transitionLeaveTimeout:o,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:a}),void 0)]},void 0)},U2e=Qe(E2e||(E2e=BUe(["\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})),X2e=function(r){var i=r.finalHeight,o=r.enterDuration,a=r.leaveDuration,s=r.children,l=r.style,c=r.className,u=!!o,d=!!a,p="common-ease-animation_"+o+"_"+a;return n(t,{children:[e(L2e,{name:p,enterDuration:o,leaveDuration:a,finalHeight:i},void 0),e(vfe,LUe({style:l,className:c,transitionName:p,transitionAppear:u,transitionEnter:u,transitionLeave:d,transitionLeaveTimeout:a,transitionAppearTimeout:o,transitionEnterTimeout:o},{children:s}),void 0)]},void 0)},L2e=Qe(T2e||(T2e=BUe(["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.enterDuration}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.leaveDuration})),q2e=function(t){var n=t.contentLanguageCode,r=t.originalContent,i=t.content,o=t.onTranslate,a=t.onContentChange,s=t.itemType,l=t.itemId,c=t.tooltipResourceKey,p=t.showLabel,f=FI().formatMessage,h=sie(),m=lie(),g=d(null),O=g[0],v=g[1],y=d(r===i),b=y[0],w=y[1],x=vde().showError,_=Jse().interaction,k=xoe(h);if(u((function(){return v(null)}),[r]),!m.automaticTranslation)return null;var S=f({id:"Generic.translate"});return n&&n!==k&&boe.includes(k)&&!yoe.includes(k)?e(UVe,LUe({resourceKey:b?"Generic.translateTo":c,values:{language:f({id:"Generic.languages."+k})}},{children:e(W2e,LUe({"aria-label":p?null:S,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return WUe(this,void 0,void 0,(function(){var e;return FUe(this,(function(t){switch(t.label){case 0:return b?O?(a(O),w(!1),[3,4]):[3,1]:(a(r),w(!0),_({event:Qse.translateContent,value:null,action:Ise.click,item:{id:l,type:s}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(k)];case 2:return e=t.sent(),a(e),v(e),w(!1),[3,4];case 3:return t.sent(),x("Generic.error"),[3,4];case 4:return _({event:Qse.translateContent,value:k,itemType:s,action:Ise.click,itemId:l,item:{id:l,type:s}}),[2]}}))}))}},{children:p&&S}),void 0)}),void 0):null},W2e=Te(ZBe)(Q2e||(Q2e=BUe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),F2e=Te(M).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(I2e||(I2e=BUe(["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),V2e=function(r){var i=r.comment,o=r.showEdit,a=r.showDelete,s=r.onDelete,l=r.isEditMode,u=r.toggleEditMode,p=r.originalContent,f=r.currentContent,h=r.setContent,m=r.handleTranslate,g=r.showAutoTranslate,O=r.onReply,v=r.disabled,y=FI().formatMessage,b=sie(),w=d(!1),x=w[0],_=w[1],k=c(null);return b.isPublicUser&&!g?null:b.isPublicUser&&g?e(q2e,{"data-auto-translate-button":i.id,originalContent:p,onContentChange:function(e){_(!1),h(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:Nie.Comments,itemId:i.id},void 0):n(t,{children:[e("div",LUe({ref:k},{children:e(Z2e,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return _(!x)},ariaLabel:y({id:"AriaLabel.contextMenuButton"}),disabled:v},void 0)}),void 0),x&&e(G2e,LUe({"data-context-menu":!0,target:k.current,onDismiss:function(){return _(!1)}},{children:n(B2e,{children:[e(UVe,LUe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:e(Y2e,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==O||O(i,i.sender),_(!1)},text:y({id:"Comment.replyButton"})},void 0)}),void 0),g&&e(q2e,{"data-auto-translate-button":i.id,originalContent:p,onContentChange:function(e){_(!1),h(e)},content:f,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:Nie.Comments,itemId:i.id},void 0),o&&e(UVe,LUe({resourceKey:"Comment.edit.tooltip"},{children:e(Y2e,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),_(!1)},text:y({id:"Generic.edit"}),disabled:!i.id||l},void 0)}),void 0),a&&e(UVe,LUe({resourceKey:"Comment.delete.tooltip"},{children:e(Y2e,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),_(!1)},text:y({id:"Generic.Delete"}),disabled:!i.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},B2e=Te.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(D2e||(D2e=BUe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Z2e=Te(ZVe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(A2e||(A2e=BUe(["\n && {\n width: auto;\n padding: 0 24px;\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 24px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),Y2e=Te(ZBe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(R2e||(R2e=BUe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),G2e=Te(JBe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(z2e||(z2e=BUe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);Te(A).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(N2e||(N2e=BUe(["\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(A).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(M2e||(M2e=BUe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var H2e,K2e,J2e,e5e,t5e,n5e=Te(E).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(H2e||(H2e=BUe(["\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})),r5e=function(t){var r=t.toggleAll,i=t.className,o=a(lde).theme.palette.accent;return n(i5e,LUe({className:i},{children:[e(o5e,LUe({onClick:function(){return r(!0)},"data-button-toggle":"selectAll",color:o},{children:e(uD,{id:"Generic.SelectAll"},void 0)}),void 0),e(o5e,LUe({onClick:function(){return r(!1)},"data-button-toggle":"clearAll",color:o},{children:e(uD,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},i5e=Te.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(K2e||(K2e=BUe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),o5e=Te(ZBe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(J2e||(J2e=BUe(["\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 r=t.iconName,i=t.textKey,o=qUe(t,["iconName","textKey"]);return n(Se,LUe({},o,{children:[r&&e(R,{iconName:r},void 0),e(uD,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(e5e||(e5e=BUe(["\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(ZVe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(t5e||(t5e=BUe([""],[""])));var a5e,s5e,l5e,c5e,u5e=function(t){var n=t.language,r=t.channel,i=t.role,o=t.className,s=sie(),l=a(Dde).channels,c=f5e(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,n);return e(d5e,LUe({title:c,className:o,role:i,dir:"auto"},{children:c}),void 0)},d5e=Te.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(a5e||(a5e=BUe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),p5e=function(r){var i=r.channels,o=r.language;return e(t,{children:i.map((function(t,r){return n("span",{children:[r>0&&", ",e(u5e,{channel:t,language:o},void 0)]},t.id)}))},void 0)};function f5e(e,t,n){if(null==e)return null;n||(n=xoe(t));var r=e.translations||{};return n&&r[n]||r[t.subscription.defaultLanguage]||e.name}Te(u5e).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(s5e||(s5e=BUe(["\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"})(l5e||(l5e=BUe(["\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,IKe(2,2),25),Te(ZVe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(c5e||(c5e=BUe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var h5e,m5e,g5e,O5e,v5e,y5e,b5e,w5e,x5e,_5e=function(t){var r=t.channels,i=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,c=t.className;if(!r||0===r.length)return null;var u=r.length>s;return n(P5e,LUe({className:c,"data-has-more-indicator":u},{children:[e(k5e,{channels:r.slice(0,s),language:i,channelStyleDefinition:o,onChannelClick:l},void 0),u&&e(S5e,{channels:r.slice(s),language:i,styleDefinition:o,onChannelClick:l},void 0)]}),void 0)},k5e=function(t){var n=t.channels,r=t.language,i=t.channelStyleDefinition,o=t.onChannelClick;return e(C5e,LUe({"data-channels":!0},{children:n.map((function(t){var a=e(u5e,{channel:t,language:r},void 0);return o?e($5e,LUe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color,onClick:function(){return o(t)},"data-rounded-outline":!0},{children:a}),t.id):e(E5e,LUe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color},{children:a}),t.id)}))}),void 0)},S5e=function(t){var r=t.channels,i=t.language,o=t.styleDefinition,a=t.onChannelClick,s=c(),l=d(!1),u=l[0],p=l[1];return n(Q5e,LUe({ref:s},{children:[e(I5e,LUe({onClick:function(){return p(!0)},backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color,"data-channels-indicator":!0},{children:"+"+r.length}),void 0),u&&e(D5e,LUe({target:s.current,onDismiss:function(){return p(!1)}},{children:e(A5e,{children:r.map((function(t){return e("li",{children:a?e(ZBe,LUe({onClick:function(){return a(t)}},{children:e(u5e,{channel:t,language:i},void 0)}),void 0):e(u5e,{channel:t,language:i},void 0)},t.id)}))},void 0)}),void 0)]}),void 0)},P5e=Te.div(h5e||(h5e=BUe(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),6),C5e=Te.div(m5e||(m5e=BUe(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),$5e=Te(ZBe)(g5e||(g5e=BUe(["\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 T5e(e.bubbleCount,e.backgroundColor,e.color)})),E5e=Te.span(O5e||(O5e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return T5e(e.bubbleCount,e.backgroundColor,e.color)})),T5e=function(e,t,n){return Ie(v5e||(v5e=BUe(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - "+6*(e-1)+"px) / "+e+"\n );",XVe({backgroundColor:t,color:n}))},Q5e=Te.div(y5e||(y5e=BUe([""],[""]))),I5e=Te(ZBe)(b5e||(b5e=BUe(["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"],["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"])),(function(e){return XVe({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),D5e=Te(JBe)(w5e||(w5e=BUe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),A5e=Te.ul(x5e||(x5e=BUe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),R5e=function(t){var r=t.channels,i=t.buildChannelFilterUrl,o=t.language,a=t.channelBackgroundColor,s=t.onClick,l=t.className;return(null==r?void 0:r.length)?e(J5e,LUe({className:l,"data-channels":r.map((function(e){return e.name})).join(",")},{children:r.map((function(t){var r=e(t4e,LUe({backgroundColor:a},{children:e(u5e,{channel:t,language:o},void 0)}),void 0);return n(e4e,{children:[i&&e(n4e,LUe({"data-channel":!0,to:i(z5e(t)?t.name:t),"data-rounded-outline":!0},{children:r}),void 0),s&&e(i4e,LUe({"data-rounded-outline":!0,onClick:function(){return z5e(t)?s(t.name,t):s(t)}},{children:r}),void 0),!s&&!i&&e(r4e,{children:r},void 0)]},t.id)}))}),void 0):null};function z5e(e){return null!=e.id}var N5e,M5e,j5e,U5e,X5e,L5e,q5e,W5e,F5e,V5e,B5e,Z5e,Y5e,G5e,H5e,K5e,J5e=Te.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(N5e||(N5e=BUe(["\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\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\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),14),e4e=Te.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(M5e||(M5e=BUe(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),t4e=Te.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(j5e||(j5e=BUe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?XVe({backgroundColor:e.backgroundColor}):XVe()})),n4e=Te(Se).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(U5e||(U5e=BUe(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),(function(e){return e.theme.textColors.default}),6),r4e=Te.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(X5e||(X5e=BUe(["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),6),i4e=Te(ZBe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(L5e||(L5e=BUe(["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"],["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"])),6),o4e=function(r){var i=r.searchText,o=r.onSearchTextChange,a=r.onExecuteSearch,s=r.onSearchIconClick,l=r.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(a4e,{children:e(R1e,{searchText:i,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0},void 0)},void 0),e(s4e,{children:e(E1e,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},a4e=Te.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(q5e||(q5e=BUe(["\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"])),Cse),s4e=Te.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(W5e||(W5e=BUe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Sse.medium),l4e=function(t){var r=t.leftSide,i=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,c=t.children,u=d(!1),p=u[0],f=u[1];return n(c4e,LUe({className:l,"data-content-toolbar":!0},{children:[n(p4e,{children:[r&&!i&&e(u4e,{children:r},void 0),(o||s)&&!a&&n(d4e,{children:[s&&e(o4e,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){p?h():f(!0)},onSearchInputFieldVisibilityChanged:function(e){return f(e)}},void 0),o]},void 0)]},void 0),c,s&&p&&e(f4e,{children:e(T1e,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),f(!1)}},c4e=Te.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(F5e||(F5e=BUe(["\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),u4e=Te.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(V5e||(V5e=BUe(["\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"]))),d4e=Te.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(B5e||(B5e=BUe(["\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"]))),p4e=Te.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(Z5e||(Z5e=BUe(["\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"]))),f4e=Te.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(Y5e||(Y5e=BUe(["\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"])),Sse.medium);Te(l4e).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(G5e||(G5e=BUe(["\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,Sse.medium,20,20),Te.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(H5e||(H5e=BUe(["\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"})(K5e||(K5e=BUe([""],[""])));var h4e,m4e,g4e,O4e,v4e,y4e,b4e,w4e,x4e,_4e,k4e,S4e=function(r){var i=r.onEmojiSelected,o=r.disabled,a=c(null),s=d(!1),l=s[0],u=s[1],p=FI().formatMessage;return n(t,{children:[e(P4e,LUe({ref:a},{children:e(ZVe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:o,ariaLabel:p({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&e(C4e,LUe({directionalHint:Z.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(E4e,{onSelect:function(e){u(!1),i(e.native)}},void 0)}),void 0)]},void 0)},P4e=Te.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(h4e||(h4e=BUe([""],[""]))),C4e=Te(JBe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(m4e||(m4e=BUe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),$4e=v((function(){return import("./EmojiPicker.esm.esm2.js")})),E4e=function(t){var n=t.onSelect,r=RT();return e(y,LUe({fallback:e(T4e,LUe({isSmaller:r.width<Sse.small},{children:e(VZe,{},void 0)}),void 0)},{children:e($4e,{onSelect:n},void 0)}),void 0)},T4e=Te.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(g4e||(g4e=BUe(["\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})),Q4e=function(){var t=iw();return e(I4e,{children:e("a",LUe({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)},I4e=Te.div(O4e||(O4e=BUe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),D4e=function(t){var r,i,o=t.onGifClick,a=t.className,s=gw(),l=FI().formatMessage,c=new Qge.GiphyFetch(s.giphy.apiKey),u=d(null),p=u[0],f=u[1],h=wEe(p,500)[0],m=RT(),g=AT((function(){if(!h)return c.trending({limit:21});return c.search(h,{limit:21})}),null,[h]),O=g[0],v=g[1],y=m.width<550?80:100;return n(A4e,LUe({className:a},{children:[e(ie,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0},void 0),n(R4e,LUe({columnWidth:y,"data-gif-grid":!0},{children:[v&&e(VZe,{delay:300},void 0),0===(null===(r=null==O?void 0:O.data)||void 0===r?void 0:r.length)&&e(uD,{id:"Generic.noResultsFound"},void 0),null===(i=null==O?void 0:O.data)||void 0===i?void 0:i.map((function(t){return e(z4e,{gif:t,width:y,height:y,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}),void 0)]}),void 0)},A4e=Te.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(v4e||(v4e=BUe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),R4e=Te.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(y4e||(y4e=BUe(["\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),z4e=Te(yfe.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(b4e||(b4e=BUe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),N4e=function(t){var r=t.target,i=t.onGifClick,o=t.onDismiss;return n(M4e,LUe({directionalHint:Z.topCenter,target:r,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(j4e,{onGifClick:i},void 0),e(Q4e,{},void 0)]}),void 0)},M4e=Te(JBe)(w4e||(w4e=BUe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),j4e=Te(D4e)(x4e||(x4e=BUe(["\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"])));Qe(_4e||(_4e=BUe(["\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"])),Pse),Te(D4e).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(k4e||(k4e=BUe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10);var U4e,X4e,L4e,q4e,W4e,F4e,V4e=function(r){var i=r.disabled,o=r.onGifClick,a=lie(),s=FI().formatMessage,l=c(),u=d(!1),p=u[0],f=u[1];return a.giphy?n("div",{children:[e("div",LUe({ref:l},{children:e(ZVe,{iconProps:{iconName:"Gif"},onClick:function(){return f(!0)},disabled:i,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})},void 0)}),void 0),p&&e(t,{children:e(N4e,{target:l.current,onGifClick:function(e){f(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:Aie.Giphy})},onDismiss:function(){return f(!1)}},void 0)},void 0)]},void 0):null},B4e=function(t){var n=t.gifInfo,r=t.className,i=gw(),o=d(),a=o[0],s=o[1];return u((function(){new Qge.GiphyFetch(i.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[i.giphy.apiKey,n.id]),a?e(Z4e,LUe({className:r},{children:e(Y4e,{gif:a,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},Z4e=Te.div(U4e||(U4e=BUe([""],[""]))),Y4e=Te(yfe.Gif)(X4e||(X4e=BUe(["\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"])),Pse),G4e=function(t){var n=t.attachments,r=t.onDeleteClick,i=t.className,o=FI().formatMessage,a=n.filter((function(e){return e.type===Aie.Giphy}));return 0===a.length?null:e(H4e,LUe({className:i,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(K4e,LUe({domIdentifier:"gif",deleteButton:e(n5e,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return r(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:e(B4e,{gifInfo:t},void 0)}),t.id)}))}),void 0)},H4e=Te.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(L4e||(L4e=BUe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),K4e=Te(WBe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(q4e||(q4e=BUe(["\n width: auto;\n"],["\n width: auto;\n"]))),J4e=function(t){var n=t.attachments,r=t.className,i=n.filter((function(e){return e.type===Aie.Giphy}));return 0===i.length?null:e(e3e,LUe({className:r,"data-gif-url-preview":i[0].id},{children:e(t3e,{children:e(B4e,{gifInfo:i[0]},void 0)},void 0)}),void 0)},e3e=Te.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(W4e||(W4e=BUe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),t3e=Te(WBe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(F4e||(F4e=BUe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var n3e,r3e,i3e,o3e=function(t){var r,i,o=c(null),a=d(!1),s=a[0],l=a[1];return n(a3e,LUe({className:t.className},((r={})[t.dataAttribute]=!0,r),{ref:o},{children:[e(s3e,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return WUe(this,void 0,void 0,(function(){var e,n;return FUe(this,(function(r){switch(r.label){case 0:return(e=t.disabled)?[3,3]:(n=t.onIconClick)?[4,t.onIconClick()]:[3,2];case 1:n=r.sent(),r.label=2;case 2:e=n,r.label=3;case 3:return e||l(!s),[2]}}))}))},ariaLabel:t.ariaLabel,disabled:t.disabled},void 0),s&&e(l3e,LUe({className:"icon-with-callout-content",target:o,directionalHint:null==t.directionalHint?Z.rightCenter:t.directionalHint,gapSpace:4,onDismiss:function(){var e;l(!1),null===(e=t.onCalloutDismissed)||void 0===e||e.call(t)},calloutWidth:null!==(i=t.calloutWidth)&&void 0!==i?i:0},{children:t.children}),void 0)]}),void 0)},a3e=Te.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(n3e||(n3e=BUe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),s3e=Te(ZVe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(r3e||(r3e=BUe(["\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"]))),l3e=Te(JBe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(i3e||(i3e=BUe(["\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"]))),c3e="video-view-container";function u3e(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 d3e,p3e,f3e,h3e,m3e,g3e,O3e,v3e,y3e,b3e=function(t){var r=t.onNextClick,i=t.onPrevClick,o=t.onFirstClick,s=t.hidePrevButton,l=t.hideNextButton,c=t.isLoadingNextPage,u=t.className,d=FI().formatMessage,p=a(lde).theme.palette;return l&&s?null:n(w3e,LUe({className:u},{children:[e(UVe,LUe({resourceKey:"Lib.paging.goToFirstPage"},{children:e(_3e,{ariaLabel:d({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:s,onClick:o,color:p.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),e(k3e,{iconProps:{iconName:"ChevronLeftSmall"},text:d({id:"Generic.previous.page.button.text"}),isHidden:s,onClick:i,color:p.accent,"data-horizontal-pager-back-button":!0},void 0),e(S3e,{iconProps:{iconName:"ChevronRightSmall"},text:d({id:"Generic.next.page.button.text"}),disabled:c,isHidden:l,onClick:r,color:p.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},w3e=Te.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(d3e||(d3e=BUe(["\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),x3e=Te(ZBe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(f3e||(f3e=BUe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&Ie(p3e||(p3e=BUe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),_3e=Te(x3e).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(h3e||(h3e=BUe([""],[""]))),k3e=Te(x3e).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(m3e||(m3e=BUe([""],[""]))),S3e=Te(x3e).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(g3e||(g3e=BUe(["\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"})(O3e||(O3e=BUe(["\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"})(v3e||(v3e=BUe(["\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"})(y3e||(y3e=BUe(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var P3e=cXe,C3e=Array.isArray||function(e){return"Array"==P3e(e)},$3e=C3e,E3e=YLe,T3e=oYe,Q3e=function(e,t,n,r,i,o,a,s){for(var l,c=i,u=0,d=!!a&&T3e(a,s,3);u<r;){if(u in n){if(l=d?d(n[u],u,t):n[u],o>0&&$3e(l))c=Q3e(e,t,l,E3e(l.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},I3e=Q3e,D3e=OXe,A3e=C3e,R3e=IWe("species"),z3e=I3e,N3e=Uqe,M3e=YLe,j3e=Mqe,U3e=function(e,t){var n;return A3e(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!A3e(n.prototype)?D3e(n)&&null===(n=n[R3e])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function X3e(e,t,n){var r=function(e){var t=d(0),n=t[0],r=t[1],i=d({pages:{},paginationToken:null,hasNextPage:!0}),o=i[0],a=i[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:VUe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,r){a((function(i){var o;return{pages:kEe(i.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:r}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){a((function(n){for(var r=LUe({},n.pages),i=Object.keys(r).length,o=0;o<i;){var a=Object.keys(r)[o++],s=r[a];if(s.find((function(t){return t.id===e}))){r[a]=s.map((function(n){return n.id===e?t:n}));break}}return LUe(LUe({},n),{pages:r})}))},insertToTheFront:function(t){for(var i,s,l=VUe([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[]),c=LUe(LUe({},o.pages),{0:l}),u=Object.keys(c).length,d=0;d<u;){var p=0===d,f=Object.keys(c)[d],h=c[f].length;if(p&&h>e&&h<=2*e){n<2*e&&r(n+e);break}if(h<=e)break;var m=c[f].pop(),g=null!==(s=Object.keys(c)[d+1])&&void 0!==s?s:p?2*e:+f+e,O=c[g];if(!O){o.hasNextPage||(c[g]=[m],r(n+e));break}O.unshift(m),d++}a(LUe(LUe({},o),{pages:c}))},deleteItem:function(t){for(var i=LUe({},o.pages),s=Object.keys(i).length,l=0;l<s;){var c=Object.keys(i)[l],u=i[c].find((function(e){return e.id===t}));if(u){i[c]=i[c].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<s;){if(!i[c=Object.keys(i)[l++]].length&&l===s){delete i[c],d=!0;break}var p=Object.keys(i)[l],f=p?i[p]:null;if(!f)break;var h=f.shift();i[c].push(h)}a(LUe(LUe({},o),{pages:i}));var m=(d||i[0].length===e)&&n>e;return m&&r(n-e),m}}}(e),i=r.state,o=r.setInitialPages,a=r.updatePageItems,s=r.lastFetchedPageIndex,l=r.updateLastFetchedPageIndex,c=r.updateItem,p=r.insertToTheFront,f=r.deleteItem,h=d(0),m=h[0],g=h[1],O=d(!0),v=O[0],y=O[1],b=d(!1),w=b[0],x=b[1],_=d(null),k=_[0],S=_[1];u((function(){C()}),VUe([e],n||[]));var P=Object.keys(i.pages).flatMap((function(e){return i.pages[e]})).slice(m-e,m);return{items:P,isInitialLoading:v,isLoadingNextPage:w,error:k,getFirstPage:function(){return g(e)},getPrevPage:function(){return g(m-e)},getNextPage:function(){return WUe(this,void 0,void 0,(function(){return FUe(this,(function(t){switch(t.label){case 0:return g(m+e),i.hasNextPage&&m===s-e?[4,$(i.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:m===e,isLastPage:m===s&&!i.hasNextPage,isEmpty:!v&&0===(null==P?void 0:P.length),insertToTheFront:p,updateItem:c,onBeforeDeleteItem:function(t){var n=f(t);!i.hasNextPage&&n&&m>=s&&m>0&&g(m-e);x(!0)},onAfterDeleteItem:function(){return WUe(this,void 0,void 0,(function(){return FUe(this,(function(t){switch(t.label){case 0:return i.hasNextPage?i.paginationToken!==2*e?[3,2]:[4,C()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,$(+i.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return x(!1),[2]}}))}))}};function C(){return WUe(this,void 0,void 0,(function(){var n,r;return FUe(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=i.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 r=i.sent(),vw.error(r),S(r),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function $(n){return WUe(this,void 0,void 0,(function(){var r,i;return FUe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),x(!0),[4,t(e,n)];case 1:return r=o.sent(),a(n,r.items,r.paginationToken,r.hasNextPage),[3,4];case 2:return i=o.sent(),vw.error(i),S(k),[3,4];case 3:return x(!1),[7];case 4:return[2]}}))}))}}Nqe({target:"Array",proto:!0},{flatMap:function(e){var t,n=N3e(this),r=M3e(n.length);return j3e(e),(t=U3e(n,0)).length=z3e(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),hFe("flatMap");var L3e,q3e,W3e,F3e,V3e,B3e,Z3e,Y3e=function(r){var i=r.onNextClick,o=r.onPrevClick,s=r.hidePagination,l=r.disablePrevButton,c=r.disableNextButton,u=r.children,d=r.className,p=a(lde).theme.palette,f=FI().formatMessage;return s?e(t,{children:u},void 0):n(G3e,LUe({className:d},{children:[e(K3e,{disabled:l,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:p.accent,ariaLabel:f({id:"Lib.paging.previous"})},void 0),e(e6e,{children:u},void 0),e(J3e,{disabled:c,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:p.accent,ariaLabel:f({id:"Lib.paging.next"})},void 0)]}),void 0)},G3e=Te.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(L3e||(L3e=BUe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),H3e=Te(ZVe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(q3e||(q3e=BUe(["\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 &::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 &::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"),K3e=Te(H3e).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(W3e||(W3e=BUe(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),J3e=Te(H3e).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(F3e||(F3e=BUe(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),e6e=Te.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(V3e||(V3e=BUe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),t6e=s(null);Te.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(B3e||(B3e=BUe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),Te.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(Z3e||(Z3e=BUe(["\n display: contents;\n"],["\n display: contents;\n"])));var n6e,r6e,i6e,o6e,a6e,s6e,l6e,c6e,u6e,d6e=Ie(n6e||(n6e=BUe(["\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"]))),p6e=Ie(r6e||(r6e=BUe(["\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"])),d6e,Sse.medium,20),f6e=Ie(i6e||(i6e=BUe(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n flex: 0 0 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 flex: 0 0 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})),h6e=Ie(o6e||(o6e=BUe(["\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"])),Cse),m6e=function(r){var i=r.getInitialSelectedKey,o=r.bookmarkOption,s=r.manageChannelsOption,l=r.allChannelsOption,c=r.channelsOptions,u=sie(),p=a(Dde).channels,f=FI().formatMessage,h=function(){var e=[];l&&e.push({key:"AllChannels",text:f({id:"Channels.All"}),data:{pathname:l.to,iconName:"Org",exact:!0,onSelected:l.onSelected,isChannel:!1}});if(c){var t=(c.availableChannels?(p||[]).filter((function(e){return c.availableChannels.some((function(t){return e.id===t||e.name===t}))})):u.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:e.name,data:{pathname:null===(t=c.to)||void 0===t?void 0:t.call(c,e),iconName:"Org",exact:!1,channel:e,isChannel:!0,onSelected:c.onSelected?function(){return c.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,isChannel:!1}});s&&e.push({key:"ManageChannels",text:f({id:"PageMenu.manageUserChannels"}),data:{pathname:s.to,iconName:"CollapseMenu",exact:!0,onSelected:s.onSelected,isChannel:!1}});return e}(),m=d((function(){return(null==i?void 0:i(h))||"AllChannels"})),g=m[0],O=m[1];return n(t,{children:[e(g6e,{},void 0),e(O6e,{options:h,onRenderOption:function(t){if(t.data.onSelected)return n(y6e,{children:[e(R,{iconName:t.data.iconName},void 0),t.data.isChannel?e(u5e,{channel:t.data.channel,language:u.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]},t.key);return n(v6e,LUe({to:t.data.pathname,exact:t.data.exact,isActive:t.key===g?function(){return!0}:void 0},{children:[e(R,{iconName:t.data.iconName},void 0),t.data.isChannel?e(u5e,{channel:t.data.channel,language:u.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]}),t.key)},selectedKey:g,onRenderTitle:function(t){var n=t[0];if(n.data.isChannel)return e(u5e,{channel:n.data.channel,language:u.preferredUiLanguage},void 0);return e("span",{children:n.text},void 0)},onChange:function(e,t){var n,r;O(t.key.toString()),null===(r=null===(n=t.data)||void 0===n?void 0:n.onSelected)||void 0===r||r.call(n)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:f({id:"AriaLabel.toolbarChannelSelector"})},void 0)]},void 0)},g6e=Qe(a6e||(a6e=BUe(["\n ","\n"],["\n ","\n"])),h6e),O6e=Te(xZe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(s6e||(s6e=BUe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),p6e),v6e=Te(Se).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(l6e||(l6e=BUe(["\n ","\n"],["\n ","\n"])),f6e),y6e=Te.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(c6e||(c6e=BUe(["\n ",";\n"],["\n ",";\n"])),f6e),b6e=function(t){var n=t.handler,r=t.disabled;return lie().unreadTracking?e(E1e,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:r,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},w6e=function(t){var n=t.onClick,r=lie(),i=d(!1),o=i[0],a=i[1];return r.unreadTracking?e(E1e,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:o?"Hide3":"View",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o},void 0):null},x6e=function(t){var n=t.onClick,r=t.to,i=t.disabled;return e(E1e,{tooltipResourceKey:"Generic.showManageView",disabled:i,iconName:"edit",to:null==r?void 0:r.url,target:null==r?void 0:r.target,onClick:n,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"},void 0)},_6e=function(t){var n=t.onClick,r=t.to;return e(E1e,{iconName:"Cancel",onClick:n,to:null==r?void 0:r.url,target:null==r?void 0:r.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"}(u6e||(u6e={}));var k6e,S6e,P6e,C6e,$6e=function(r){var i=r.value,o=r.onChange,a=r.viewOptions,s=FI().formatMessage,l=function(){var e=[];(null==a?void 0:a.hideUpcomingEventsView)||e.push({key:u6e.UpcomingEvents,text:s({id:"Events.upcoming"}),data:{iconName:"Event"}});(null==a?void 0:a.hideMyBookedEventsView)||e.push({key:u6e.MyBookedEvents,text:s({id:"Events.myEvents"}),data:{iconName:"PrimaryCalendar"}});(null==a?void 0:a.hidePastEventsView)||e.push({key:u6e.PastEvents,text:s({id:"Events.pastEvents"}),data:{iconName:"RemoveEvent"}});return e}();return n(t,{children:[e(E6e,{},void 0),e(T6e,{options:l,onRenderOption:function(t){return n(Q6e,{children:[e(R,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key)},selectedKey:l.length>0?i||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)},E6e=Qe(k6e||(k6e=BUe(["\n ","\n"],["\n ","\n"])),h6e),T6e=Te(xZe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(S6e||(S6e=BUe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),p6e),Q6e=Te.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(P6e||(P6e=BUe(["\n ",";\n"],["\n ",";\n"])),f6e);function I6e(){var e=ZG(),t=e.createApiUrl,n=e.fetchFromApi,r=a(UT).onRequestToken;return l((function(){return{uploadImage:function(e,t,i,o,a){return WUe(this,void 0,void 0,(function(){var s,l,c;return FUe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+JK.getExtension(a.type)),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:VG(l,t)},[2,n(e+"/attachments/"+o+"/images/"+i,c)]}}))}))},uploadFile:function(e,t,i,o,a){return WUe(this,void 0,void 0,(function(){var s,l,c;return FUe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:VG(l,t)},[2,n(e+"/attachments/"+o+"/files/"+i,c)]}}))}))},getFileUrl:function(e,n,r,i,o){if(null!=o||(o=r.fileAccessToken),!o)return null;return t(e+"/attachments/"+r.attachmentContainerId+"/files/"+i,{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)},getChatMessageImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)}};function e(e,n,r,i,o,a,s){return t(null==a?e+"/attachments/"+i+"/images/"+o:"default"===a?e+"/attachments/"+i+"/images/"+o+"/default":e+"/attachments/"+i+"/images/"+o+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:r})}}),[r,n,t])}function D6e(){var e=YG();return l((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return WUe(this,void 0,void 0,(function(){var t;return FUe(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return t=r.sent(),[2,_oe.apply(void 0,VUe([e],t))]}}))}))},resolveActiveLanguages:function(e){return WUe(this,void 0,void 0,(function(){return FUe(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 WUe(this,void 0,void 0,(function(){var t;return FUe(this,(function(r){switch(r.label){case 0:return t=e.subscription.languages,[4,n()];case 1:return[2,r.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 A6e(){var e=ZG(),t=e.createApiUrl,n=e.fetchFromApi;return l((function(){return{getVideoThumbnailUrl:function(e,n,r,i,o,a,s,l){void 0===s&&(s=0);return t("/videos/"+encodeURIComponent(i)+"/thumbnail/"+("number"==typeof s?s:0)+"/"+(l||""),{access_token:e,subscriptionId:n,videoSource:r,itemId:o,hasCustomThumbnail:a})},getBannerVideoThumbnailUrl:function(e,n,r,i,o,a){return t("/"+i+"/"+n+"/videos/banner/thumbnail/"+("number"==typeof o?o:0)+"/"+(a||""),{access_token:e,subscriptionId:r})},uploadCustomVideoThumbnail:function(e,t,r,i,o){return WUe(this,void 0,void 0,(function(){var a,s;return FUe(this,(function(l){switch(l.label){case 0:return(a=new FormData).append("file",o),s={method:"POST",body:a,headers:VG(e,r)},[4,n("/editor/"+t+"/videos/"+encodeURIComponent(i)+"/thumbnail",s)];case 1:return[2,l.sent()]}}))}))}}}),[t,n])}Qe(C6e||(C6e=BUe(["\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 R6e,z6e,N6e,M6e,j6e,U6e,X6e,L6e,q6e,W6e,F6e,V6e,B6e,Z6e,Y6e=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}(),G6e=function(t){var n=lie(),r=d(null),i=r[0],o=r[1],a=Jie().getUserAvatarUrl;if(Xde(Y6e.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),u((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=zC(t.text||t.displayName||t.upn);return e(H6e,LUe({},t,{"data-avatar":!0,text:t.text,imageUrl:i,imageShouldFadeIn:!1,imageInitials:s,initialsColor:NC(s),secondaryText:!t.forceShowSecondaryText&&Die(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)}))}},H6e=Te(j).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(R6e||(R6e=BUe(["\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"]))),K6e=function(t){var r=t.className,i=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(e7e,LUe({className:r},{children:[i&&e(UVe,LUe({resourceKey:o,text:a},{children:e(J6e,{iconName:i},"icon")}),void 0),e(t7e,LUe({dir:"auto"},{children:s}),void 0)]}),void 0):null},J6e=Te(R).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(z6e||(z6e=BUe(["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"]))),e7e=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(N6e||(N6e=BUe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),t7e=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(M6e||(M6e=BUe([""],[""]))),n7e=function(t){var n=t.email;return Die(n)?null:e(K6e,LUe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(u7e,LUe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},r7e=function(t){var n=t.value,r=FI().formatMessage;return null==n?null:e(K6e,LUe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(u7e,LUe({href:"tel:"+n},{children:r({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},i7e=function(n){var r=n.value,i=FI().formatMessage;return null==r?null:e(t,{children:(r="string"==typeof r?[r]:r).map((function(t,n){return e(K6e,LUe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(u7e,LUe({href:"tel:"+t},{children:i({id:"Generic.callOffice"},{number:t})}),void 0)}),t+n)}))},void 0)},o7e=function(n){var r=n.value,i=n.tooltipResourceKey,o=lie();return null==r?null:e(K6e,LUe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:o.userLocationLookup?e(u7e,LUe({target:"_blank",rel:"noopener noreferrer",href:w2e(r)},{children:r}),void 0):e(t,{children:r},void 0)}),void 0)},a7e=function(t){var n=t.value;return null==n?null:e(K6e,LUe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},s7e=function(t){var n=t.value;return null==n?null:e(K6e,LUe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},l7e=function(t){var n=t.value,r=Gce().buildPath,i=lie();if(!(null==n?void 0:n.userId)||!i.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(K6e,LUe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(d7e,LUe({to:r("chats/new")+"?"+ol.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:e(uD,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},c7e=Ie(j6e||(j6e=BUe(["\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})),u7e=Te.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(U6e||(U6e=BUe(["\n ","\n"],["\n ","\n"])),c7e),d7e=Te(ke).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(X6e||(X6e=BUe(["\n ","\n"],["\n ","\n"])),c7e),p7e={mobilePhone:r7e,department:a7e,address:o7e},f7e=function(t){var n=t.className,r=t.value,i=t.definition,o=function(){var e=sie(),t=FI().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(r){var i=_C(e.preferredUiLanguage),o=r.translations||{},a=Object.keys(n);return i&&o[i]||o[e.subscription.defaultLanguage]||r.label||a.some((function(e){return e===r.name}))&&t({id:"Generic."+r.name})||r.name},getPropertyIcon:function(e){var t,r;return null!==(r=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==r?r:"UserOptional"}}}(),a=o.getPropertyLabel,s=o.getPropertyIcon;if(null==r)return null;var l=a(i),c=s(i),u=p7e[i.name];return u?b(u,{value:r}):e(K6e,LUe({iconName:c,tooltipText:l,className:n},{children:r}),void 0)},h7e=function(r){var i,o,a,s,l,c=r.user,u=r.ignoredProperties,d=void 0===u?[]:u;return n(t,{children:[!d.includes("department")&&e(a7e,{value:null===(i=c.properties)||void 0===i?void 0:i.department},void 0),!d.includes("jobTitle")&&e(s7e,{value:null===(o=c.properties)||void 0===o?void 0:o.jobTitle},void 0),!d.includes("mobilePhone")&&e(r7e,{value:null===(a=c.properties)||void 0===a?void 0:a.mobilePhone},void 0),!d.includes("businessPhones")&&e(i7e,{value:null===(s=c.properties)||void 0===s?void 0:s.businessPhones},void 0),!d.includes("chatMessage")&&e(l7e,{value:c},void 0),!d.includes("officeLocation")&&e(o7e,{value:null===(l=c.properties)||void 0===l?void 0:l.officeLocation},void 0)]},void 0)},m7e=function(r){var i=r.user,o=r.ignoredProperties,a=void 0===o?[]:o,s=sie();return n(t,{children:[!a.includes("chatMessage")&&e(l7e,{value:i},void 0),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(f7e,{definition:t,value:null===(n=i.properties)||void 0===n?void 0:n[t.name]},t.name)}))]},void 0)},g7e=["displayName","department","jobTitle"],O7e=function(t){var r,i=t.upn,o=t.showAvatar,a=t.id,s=Jie(),l=s.getUserInfo,c=s.getUserInfoById,u=AT((function(){return i?l(i):c(a)}),null,[i,a]),d=u[0],p=u[1];if(u[2])return e(v7e,{children:e(uD,i?{id:"Profile.CannotLoadInfo",values:{upn:i}}:{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return e(w7e,{},void 0);var f=o?g7e:[];return n(y7e,LUe({"data-user-details":!0},{children:[o&&e(G6e,{upn:d.userPrincipalName,size:Y.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),n(b7e,{children:[e(n7e,{email:null!==(r=d.mail)&&void 0!==r?r:d.userPrincipalName},void 0),d.isDirectoryUser?e(h7e,{user:d,ignoredProperties:f},void 0):e(m7e,{user:d,ignoredProperties:f},void 0)]},void 0)]}),void 0)},v7e=Te.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(L6e||(L6e=BUe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),y7e=Te.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(q6e||(q6e=BUe(["\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),b7e=Te.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(W6e||(W6e=BUe(["\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),w7e=Te(VZe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(F6e||(F6e=BUe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),x7e=function(r){var i=r.upn,o=r.className,a=r.children,s=r.readOnly,l=r.domIdentifier,u=c(null),p=sie(),f=d(!1),h=f[0],m=f[1];return s?e(k7e,LUe({className:o},{children:a}),void 0):n(t,{children:[e(k7e,LUe({ref:u,className:o},{children:e(S7e,LUe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),m(!h)},ariaLabel:i,dir:"auto"},{children:a}),"children")}),void 0),h&&!p.isPublicUser&&e(JBe,LUe({className:"persona-card-callout",directionalHint:Z.bottomCenter,isBeakVisible:!0,onDismiss:function(){return m(!1)},target:u.current},{children:e(_7e,{children:e(O7e,{upn:i,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},_7e=Te.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(V6e||(V6e=BUe(["\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,Sse.medium),k7e=Te.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(B6e||(B6e=BUe(["\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"]))),S7e=Te(Q).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(Z6e||(Z6e=BUe(["\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 P7e(){return P7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P7e.apply(this,arguments)}var C7e=function(e){return i.createElement("svg",P7e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),i.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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 $7e(){return $7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$7e.apply(this,arguments)}var E7e=function(e){return i.createElement("svg",$7e({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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 T7e(){return T7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T7e.apply(this,arguments)}var Q7e,I7e,D7e,A7e,R7e,z7e,N7e=function(e){return i.createElement("svg",T7e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),i.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),i.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}}),i.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}}),i.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"}}),i.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}}),i.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"}}))},M7e=function(t){var n=t.info,r="number"==typeof n;return e(j7e,LUe({isNumber:r,"data-badge-info":n},{children:e(U7e,LUe({isNumber:r},{children:"number"==typeof n&&n}),void 0)}),void 0)},j7e=Te.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(D7e||(D7e=BUe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?Ie(Q7e||(Q7e=BUe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):Ie(I7e||(I7e=BUe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),U7e=Te.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(R7e||(R7e=BUe(["\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 Ie(A7e||(A7e=BUe(["\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 X7e(){return X7e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X7e.apply(this,arguments)}var L7e,q7e=function(e){return i.createElement("svg",X7e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),z7e||(z7e=i.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 W7e(t){return e(H7e,LUe({"data-page-alert":!0},{children:n(K7e,{children:[t.errorType&&e(J7e,LUe({onClick:t.onClick},{children:t.errorType===L7e.LoginError?e(E7e,{},void 0):t.errorType===L7e.GenericError?e(C7e,{},void 0):t.errorType===L7e.Error403?e(N7e,{},void 0):e($0e,{},void 0)}),void 0),e(e8e,{children:t.alertText},void 0),e(t8e,{children:t.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(L7e||(L7e={}));var F7e,V7e,B7e,Z7e,Y7e,G7e,H7e=Te.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(F7e||(F7e=BUe(["\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})),K7e=Te.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(V7e||(V7e=BUe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),J7e=Te.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(B7e||(B7e=BUe(["\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}),Cse),e8e=Te.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(Z7e||(Z7e=BUe(["\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})),t8e=Te.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(Y7e||(Y7e=BUe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),n8e=Te.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(G7e||(G7e=BUe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),r8e={exports:{}},i8e=Object.getOwnPropertySymbols,o8e=Object.prototype.hasOwnProperty,a8e=Object.prototype.propertyIsEnumerable;function s8e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var l8e=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=s8e(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))o8e.call(n,a)&&(i[a]=n[a]);if(i8e){r=i8e(n);for(var s=0;s<r.length;s++)a8e.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},c8e=Function.call.bind(Object.prototype.hasOwnProperty),u8e=function(){};if("production"!==process.env.NODE_ENV){var d8e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",p8e={},f8e=c8e;u8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function h8e(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(f8e(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"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,r,n,null,d8e)}catch(e){a=e}if(!a||a instanceof Error||u8e((r||"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 p8e)){p8e[a.message]=!0;var l=i?i():"";u8e("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}h8e.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(p8e={})};var m8e=Ee,g8e=l8e,O8e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",v8e=c8e,y8e=h8e,b8e=function(){};function w8e(){return null}"production"!==process.env.NODE_ENV&&(b8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function x8e(){}function _8e(){}_8e.resetWarningCache=x8e;if("production"!==process.env.NODE_ENV){var k8e=Ee;r8e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={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(w8e),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,o+"["+l+"]",O8e);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return m8e.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var l=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+l+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return u(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(v8e(s,c)){var u=e(s,c,r,i,o+"."+c,O8e);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&b8e(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."),w8e;function t(t,n,r,i,s){for(var l=t[n],c=0;c<e.length;c++)if(o(l,e[c]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(l)+"` supplied to `"+r+"`, expected one of "+u+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&b8e("Invalid argument supplied to oneOfType, expected an instance of array."),w8e;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return b8e("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),w8e}return s((function(t,n,r,i,o){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,r,i,o,O8e);if(null==c)return null;c.data&&v8e(c.data,"expectedType")&&s.push(c.data.expectedType)}return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var f=e[u];if("function"!=typeof f)return c(r,i,o,u,p(f));var h=f(s,u,r,i,o+"."+u,O8e);if(h)return h}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");var u=g8e({},t[n],e);for(var f in u){var h=e[f];if(v8e(e,f)&&"function"!=typeof h)return c(r,i,o,f,p(h));if(!h)return new a("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(s,f,r,i,o+"."+f,O8e);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={},i=0;function o(o,s,l,c,u,d,p){if(c=c||r,d=d||l,p!==O8e){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 h=c+":"+l;!n[h]&&i<3&&(b8e("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. 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[h]=!0,i++)}}return null==s[l]?o?null===s[l]?new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,u,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,r,i,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+i+" `"+o+"` of type `"+p(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function c(e,t,n,r,i){return new a((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function u(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(u);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!u(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,i.checkPropTypes=y8e,i.resetWarningCache=y8e.resetWarningCache,i.PropTypes=i,i}(k8e.isElement,!0)}else r8e.exports=function(){function e(e,t,n,r,i,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:_8e,resetWarningCache:x8e};return n.PropTypes=n,n}();var S8e=r8e.exports,P8e=Object.freeze({__proto__:null,useCurrentUser:sie,useAccountApi:Jie,useAuthenticationContext:XT,useEnvironmentConfig:ow,useNotificationContext:vde,usePromise:AT,LinkContext:mD,TextLink:_1e,logger:vw,createId:bw,ResourceContext:_D,usePluginSettings:function(){var e=a(eue).settings;return null!=e?e:{}},usePluginStorage:iue,usePluginDeviceStore:iue,usePluginSubscriptionStore:function(){return a(eue).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(eue).subscriptionStore,i=AT((function(){return r.get(e).catch(aue)}),void 0,o7(o7([],t||[]),[e])),o=i[0],s=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return r7(n,void 0,void 0,(function(){var n;return i7(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),aue(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return r7(n,void 0,void 0,(function(){var t;return i7(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),aue(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(eue).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(eue).userStore,i=AT((function(){return r.get(e).catch(aue)}),void 0,o7(o7([],t||[]),[e])),o=i[0],s=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return r7(n,void 0,void 0,(function(){var n;return i7(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),aue(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return r7(n,void 0,void 0,(function(){var t;return i7(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),aue(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:iw().apiEndpoint}},AccountType:qre,PeoplePicker:aBe,GutterToggle:YVe,EditorSettingsDialog:BVe,Spinner:C,SelectionMode:ee,EditorHighlight:LVe,useTheme:function(){return a(lde).theme},useSubscriptionHandlePathBuilder:Gce,useSubscriptionWebAppUrl:Hce});var C8e,$8e,E8e=[{name:"@reach/core",packageDefinition:LUe({default:{}},P8e)}],T8e=[{name:"react",packageDefinition:LUe(LUe({},o),{default:o})},{name:"react-dom",packageDefinition:LUe(LUe({},Ue),{default:Ue})},{name:"react-is",packageDefinition:LUe(LUe({},Ee),{default:Ee})},{name:"prop-types",packageDefinition:LUe({default:S8e},S8e)},{name:"react-router-dom",packageDefinition:LUe({default:be},be)},{name:"styled-components",packageDefinition:{default:Te,createGlobalStyle:Qe,css:Ie,useTheme:Ae,isStyledComponent:Re,keyframes:ze,withTheme:Ne,ThemeProvider:De,ThemeContext:Me,ThemeConsumer:je}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:U,Label:X,PrimaryButton:D,Icon:R,Link:L,TextField:I,ActionButton:Q,IconButton:E,DefaultButton:A,Spinner:C,Dropdown:q,ProgressIndicator:W,Shimmer:F,ShimmerElementsGroup:V,ShimmerElementType:B,DirectionalHint:Z,PersonaSize:Y,TooltipHost:G,DialogType:H,Dialog:YUe,DialogFooter:K,ChoiceGroup:M}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:uD,useIntl:FI,FormattedDate:dD,FormattedTime:pD,IntlProvider:eD}},{name:"@apollo/client",packageDefinition:{default:{},gql:eW,useQuery:function(e,t){return yW(e,t,!1)},ApolloClient:Vq,ApolloProvider:uW,from:xX,ApolloLink:wX,fromPromise:mX,split:_X,HttpLink:QX,InMemoryCache:Pq,useLazyQuery:function(e,t){return yW(e,t,!0)},useMutation:bW,ApolloError:$q,useApolloClient:dW,useSubscription:function(e,t){var n=f((function(e){return e+1}),0),r=n[1],i=a(lW()),o=t?Wa(Wa({},t),{subscription:e}):{subscription:e},s=d({loading:!o.skip,error:void 0,data:void 0}),l=s[0],p=s[1],h=c(),m=(h.current||(h.current=new mW({options:o,context:i,setResult:p})),h.current);return m.setOptions(o,!0),m.context=i,__DEV__&&vW(r),u((function(){return m.afterExecute()})),u((function(){return function(){m.cleanup(),h.current=void 0}}),[]),m.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:HN}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:xW}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:uU}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:wW}}],Q8e=function(t){var n=t.color,r=t.onColorChange,i=t.className,o=d(n),a=o[0],s=o[1];return u((function(){s(n)}),[n]),e(I8e,LUe({className:i},{children:e(le,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},I8e=Te.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(C8e||(C8e=BUe(["\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);!function(e){e.Row="row",e.Column="column"}($8e||($8e={}));var D8e,A8e,R8e,z8e=function(t){var r=t.defaultSVG,i=t.hoveredSVG,o=t.label,a=t.labelDirection,s=void 0===a?$8e.Row:a,l=t.labelGap,c=void 0===l?4:l,u=t.reverseIcon,d=t.size,p=t.className;return n(N8e,LUe({flexDirection:s,"data-icon-host":!0,className:p,gap:c},{children:[u&&o,e(M8e,LUe({size:d,"data-icon":!0,"data-icon-state":"default"},{children:r}),void 0),i&&e(M8e,LUe({size:d,"data-icon":!0,"data-icon-state":"hovered"},{children:i}),void 0),!u&&o]}),void 0)},N8e=Te.span.withConfig({displayName:"Icon__Host",componentId:"sc-179by8k-0"})(D8e||(D8e=BUe(["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","\n\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","\n\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"var(--icon-label-direction,"+e.flexDirection+")"}),(function(e){return e.gap+"px};"})),M8e=Te.span.withConfig({displayName:"Icon__Inner",componentId:"sc-179by8k-1"})(A8e||(A8e=BUe(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}));function j8e(){return j8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j8e.apply(this,arguments)}var U8e,X8e=function(e){return i.createElement("svg",j8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),R8e||(R8e=i.createElement("path",{d:"M7 2.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h7.5c3.29 0 6-2.71 6-6 0-1.922-.985-3.568-2.41-4.669C18.615 9.99 19 9.055 19 8c0-3.014-2.486-5.5-5.5-5.5H7Zm2 4h4.5c.852 0 1.5.648 1.5 1.5s-.648 1.5-1.5 1.5H9v-3Zm0 7h5.5c1.128 0 2 .872 2 2 0 1.128-.872 2-2 2H9v-4Z",fill:"#0F0E0E"})))};function L8e(){return L8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L8e.apply(this,arguments)}var q8e,W8e=function(e){return i.createElement("svg",L8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),U8e||(U8e=i.createElement("path",{d:"M3.25 6a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.75.75 0 1 0 0 1.5h14.5a.75.75 0 1 0 0-1.5H6.75ZM3.25 11a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75ZM3.25 16a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75Z",fill:"#0F0E0E"})))};function F8e(){return F8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F8e.apply(this,arguments)}var V8e,B8e=function(e){return i.createElement("svg",F8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),q8e||(q8e=i.createElement("path",{d:"M15.243 7.99a.75.75 0 0 0-.523.23L12 10.94 9.28 8.22a.75.75 0 1 0-1.06 1.06L10.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L12 13.06l2.72 2.72a.751.751 0 1 0 1.06-1.06L13.06 12l2.72-2.72a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function Z8e(){return Z8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z8e.apply(this,arguments)}var Y8e,G8e=function(e){return i.createElement("svg",Z8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),V8e||(V8e=i.createElement("path",{d:"M17.46 2.715a3.82 3.82 0 0 0-2.709 1.116l-2.548 2.548c-1.237 1.237-1.384 3.107-.563 4.566l-.695.695c-1.46-.821-3.33-.674-4.567.563L3.83 14.751a3.847 3.847 0 0 0 0 5.419 3.848 3.848 0 0 0 5.42 0l2.547-2.548c1.237-1.237 1.384-3.108.563-4.567l.695-.695c1.46.82 3.329.674 4.566-.563l2.548-2.548a3.846 3.846 0 0 0 0-5.418 3.82 3.82 0 0 0-2.709-1.116Zm0 1.988c.467 0 .933.18 1.295.542a1.817 1.817 0 0 1 0 2.59l-2.548 2.548c-.455.455-1.07.59-1.648.473l1.334-1.334a1.001 1.001 0 0 0-1.415-1.415l-1.334 1.334c-.117-.578.019-1.193.473-1.648l2.548-2.548a1.825 1.825 0 0 1 1.295-.542Zm-8.372 8.372c.12 0 .235.046.353.07l-1.333 1.332a1.002 1.002 0 0 0 1.415 1.416l1.333-1.333c.116.577-.019 1.193-.473 1.647l-2.549 2.549a1.816 1.816 0 0 1-2.59-.001 1.816 1.816 0 0 1 0-2.589l2.55-2.549a1.825 1.825 0 0 1 1.294-.542Z",fill:"#0F0E0E"})))};function H8e(){return H8e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H8e.apply(this,arguments)}var K8e,J8e=function(e){return i.createElement("svg",H8e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Y8e||(Y8e=i.createElement("path",{d:"M17.46 2.964a3.57 3.57 0 0 0-2.532 1.044L12.38 6.556c-1.205 1.204-1.303 3.043-.423 4.426l-.976.976c-1.383-.88-3.222-.783-4.426.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.383.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064 3.57 3.57 0 0 0-2.532-1.044Zm0 1.49c.531 0 1.062.205 1.472.614a2.07 2.07 0 0 1 0 2.944l-2.548 2.548c-.63.63-1.545.764-2.308.424l1.639-1.638a.748.748 0 0 0-.236-1.236.75.75 0 0 0-.825.175l-1.638 1.639a2.059 2.059 0 0 1 .424-2.308l2.548-2.548c.41-.409.94-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.638-1.637c.34.763.207 1.677-.424 2.307l-2.548 2.549a2.07 2.07 0 0 1-2.944-.001 2.07 2.07 0 0 1 0-2.943l2.55-2.549c.409-.409.94-.613 1.47-.613Z",fill:"#0F0E0E"})))};function e9e(){return e9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e9e.apply(this,arguments)}var t9e,n9e=function(e){return i.createElement("svg",e9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),K8e||(K8e=i.createElement("path",{d:"M13.985 6.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06l-3.47-3.47 3.47-3.47a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function r9e(){return r9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r9e.apply(this,arguments)}var i9e,o9e=function(e){return i.createElement("svg",r9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t9e||(t9e=i.createElement("path",{d:"M10.003 6.992a.75.75 0 0 0-.522 1.288l3.47 3.47-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function a9e(){return a9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a9e.apply(this,arguments)}var s9e,l9e=function(e){return i.createElement("svg",a9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i9e||(i9e=i.createElement("path",{d:"M19.743 3.49a.75.75 0 0 0-.523.23L12 10.94 4.78 3.72a.75.75 0 1 0-1.06 1.06L10.94 12l-7.22 7.22a.75.75 0 1 0 1.06 1.06L12 13.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L13.06 12l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function c9e(){return c9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c9e.apply(this,arguments)}var u9e,d9e=function(e){return i.createElement("svg",c9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s9e||(s9e=i.createElement("path",{d:"M12 1.999c-5.514 0-10 4.486-10 10 0 1.638.431 3.168 1.13 4.533l-1.083 3.881c-.253.902.639 1.793 1.54 1.541l3.885-1.084C8.835 21.568 10.364 22 12 22c5.514 0 10-4.486 10-10s-4.486-10-10-10Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5-1.5 0-2.905-.39-4.129-1.072a.75.75 0 0 0-.566-.068L3.61 20.39l1.032-3.69a.75.75 0 0 0-.068-.568A8.445 8.445 0 0 1 3.5 11.999c0-4.703 3.797-8.5 8.5-8.5ZM16.75 8l-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm0 3.249-9.5.001a.751.751 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm-5 3.251-4.5.001a.75.75 0 1 0 0 1.5l4.5-.001a.751.751 0 1 0 0-1.5Z",fill:"#0F0E0E"})))};function p9e(){return p9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p9e.apply(this,arguments)}var f9e,h9e=function(e){return i.createElement("svg",p9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),u9e||(u9e=i.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2ZM9 8.25a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm6 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm-7.175 5.752a.748.748 0 0 1 .644.284A4.466 4.466 0 0 0 12 16a4.467 4.467 0 0 0 3.531-1.714.749.749 0 1 1 1.179.928A5.959 5.959 0 0 1 12 17.5a5.957 5.957 0 0 1-4.71-2.286.75.75 0 0 1 .535-1.212Z",fill:"#0F0E0E"})))};function m9e(){return m9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m9e.apply(this,arguments)}var g9e,O9e=function(e){return i.createElement("svg",m9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),f9e||(f9e=i.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5A8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5ZM9 8.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm6 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7.113 5.742a.75.75 0 0 0-.596 1.222A5.985 5.985 0 0 0 12 17.5a5.985 5.985 0 0 0 4.709-2.286.75.75 0 1 0-1.179-.928A4.473 4.473 0 0 1 12 16a4.472 4.472 0 0 1-3.53-1.714.75.75 0 0 0-.583-.294Z",fill:"#0F0E0E"})))};function v9e(){return v9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v9e.apply(this,arguments)}var y9e,b9e=function(e){return i.createElement("svg",v9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g9e||(g9e=i.createElement("path",{d:"M7 2a1 1 0 0 0-.929.629l-4 10a1 1 0 0 0 1.858.743l.749-1.872h4.645l.748 1.871a.99.99 0 0 0 .479.51l.959-2.302-3.58-8.95A1.001 1.001 0 0 0 7 2Zm8.976 3a1 1 0 0 0-.899.615l-5 12a1 1 0 1 0 1.846.77L12.916 16h6.168l.993 2.385a1 1 0 1 0 1.846-.77l-5-12A1 1 0 0 0 15.976 5ZM7 5.692 8.523 9.5H5.478L7 5.692ZM16 8.6l2.25 5.4h-4.5L16 8.6ZM11 20a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H11Z",fill:"#0F0E0E"})))};function w9e(){return w9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w9e.apply(this,arguments)}var x9e,_9e=function(e){return i.createElement("svg",w9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),y9e||(y9e=i.createElement("path",{d:"M7 2a.75.75 0 0 0-.695.469l-4.25 10.5a.75.75 0 1 0 1.39.562l.823-2.031h5.464l.823 2.031a.74.74 0 0 0 .175.25l.786-1.873-3.82-9.44A.75.75 0 0 0 7 2Zm0 2.749L9.125 10h-4.25L7 4.749ZM15.98 5a.75.75 0 0 0-.671.46l-5.25 12.5a.75.75 0 1 0 1.382.58l1.079-2.566 6.972.026 1.067 2.54a.75.75 0 1 0 1.382-.58l-5.25-12.5A.75.75 0 0 0 15.98 5ZM16 7.687l2.86 6.811-5.712-.022L16 7.686ZM10.75 20.5a.751.751 0 1 0 0 1.5h10.5a.751.751 0 1 0 0-1.5h-10.5Z",fill:"#0F0E0E"})))};function k9e(){return k9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k9e.apply(this,arguments)}var S9e,P9e=function(e){return i.createElement("svg",k9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),x9e||(x9e=i.createElement("path",{d:"M14.72 3.491a.752.752 0 0 0-.085.009H9.25a.75.75 0 1 0 0 1.5h4.405L8.236 19H4.25a.751.751 0 1 0 0 1.5h4.376a.75.75 0 0 0 .24 0h5.884a.751.751 0 1 0 0-1.5H9.845l5.419-14h3.486a.75.75 0 1 0 0-1.5h-3.876a.75.75 0 0 0-.154-.009Z",fill:"#0F0E0E"})))};function C9e(){return C9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C9e.apply(this,arguments)}var $9e,E9e=function(e){return i.createElement("svg",C9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),S9e||(S9e=i.createElement("path",{d:"M10.735 4.493a.75.75 0 0 0-.515.227l-7 7a.75.75 0 0 0 0 1.06l7 7a.75.75 0 1 0 1.06-1.06L5.56 13h14.69a.75.75 0 1 0 0-1.5H5.56l5.72-5.72a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function T9e(){return T9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T9e.apply(this,arguments)}var Q9e,I9e=function(e){return i.createElement("svg",T9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$9e||($9e=i.createElement("path",{d:"M2 12c0 5.511 4.489 10 10 10a1 1 0 1 0 0-2c-4.43 0-8-3.57-8-8s3.57-8 8-8a1 1 0 1 0 0-2C6.489 2 2 6.489 2 12Zm12.445 8.315a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm2.918-1.952a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.007-12.72a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm1.944 9.804a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.005-6.886a1 1 0 1 0 2 0 1 1 0 0 0-2 0ZM20 12a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z",fill:"#0F0E0E"})))};function D9e(){return D9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D9e.apply(this,arguments)}var A9e,R9e=function(e){return i.createElement("svg",D9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Q9e||(Q9e=i.createElement("path",{d:"M12 2C6.489 2 2 6.489 2 12s4.489 10 10 10a9.99 9.99 0 0 0 3.514-.635.998.998 0 0 0 .395-1.63 1.002 1.002 0 0 0-1.099-.242A7.976 7.976 0 0 1 12 20c-4.43 0-8-3.57-8-8s3.57-8 8-8 8 3.57 8 8v1c0 1.117-.883 2-2 2s-2-.883-2-2V8a1 1 0 0 0-1.99-.148A4.145 4.145 0 0 0 11.5 7C8.95 7 7 9.32 7 12s1.95 5 4.5 5c1.328 0 2.49-.633 3.302-1.614A3.998 3.998 0 0 0 18 17c2.197 0 4-1.803 4-4v-1c0-5.511-4.489-10-10-10Zm-.5 7c1.31 0 2.5 1.27 2.5 3s-1.19 3-2.5 3S9 13.73 9 12s1.19-3 2.5-3Z",fill:"#0F0E0E"})))};function z9e(){return z9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z9e.apply(this,arguments)}var N9e,M9e=function(e){return i.createElement("svg",z9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),A9e||(A9e=i.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10c1.234 0 2.42-.224 3.514-.635a.748.748 0 0 0 .29-1.219.75.75 0 0 0-.818-.185A8.475 8.475 0 0 1 12 20.5 8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5 4.703 0 8.5 3.797 8.5 8.5v1.25c0 1.252-.998 2.25-2.25 2.25A2.239 2.239 0 0 1 16 13.25v-5.5a.751.751 0 1 0-1.5 0v.533C13.71 7.493 12.666 7 11.5 7 8.971 7 7 9.298 7 12s1.971 5 4.5 5c1.436 0 2.691-.742 3.509-1.877A3.756 3.756 0 0 0 18.25 17 3.761 3.761 0 0 0 22 13.25V12c0-5.514-4.486-10-10-10Zm-.5 6.5c1.607 0 3 1.515 3 3.5s-1.393 3.5-3 3.5-3-1.515-3-3.5 1.393-3.5 3-3.5Z",fill:"#0F0E0E"})))};function j9e(){return j9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j9e.apply(this,arguments)}var U9e,X9e=function(e){return i.createElement("svg",j9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),N9e||(N9e=i.createElement("path",{d:"M11.5 16.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function L9e(){return L9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L9e.apply(this,arguments)}var q9e,W9e=function(e){return i.createElement("svg",L9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),U9e||(U9e=i.createElement("path",{d:"M5.228 2.5a.75.75 0 0 0-.215.038l-1.5.5a.75.75 0 0 0 .474 1.424L4.5 4.29V7.25a.75.75 0 1 0 1.5 0v-4a.75.75 0 0 0-.772-.75ZM10.75 5a.75.75 0 1 0 0 1.5h9a.75.75 0 1 0 0-1.5h-9ZM5.052 9c-.75 0-1.315.413-1.61.781-.296.369-.41.752-.41.752a.75.75 0 1 0 1.436.434s.038-.117.143-.248c.106-.132.19-.219.44-.219.207 0 .244.046.321.15a.834.834 0 0 1 .128.39c0 .202-.04.263-.17.394-.132.13-.378.282-.678.438-.299.156-.644.313-.978.58-.334.265-.674.737-.674 1.298a.75.75 0 0 0 .75.75h3a.751.751 0 1 0 0-1.5H5.645c.248-.14.503-.264.745-.505.337-.337.61-.861.61-1.456 0-.417-.115-.863-.42-1.278A1.928 1.928 0 0 0 5.051 9Zm5.698 2.5a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9ZM5.052 16c-1.111 0-1.83.718-1.83.718a.75.75 0 1 0 1.056 1.064s.29-.282.774-.282c.199 0 .33.061.39.11.06.048.058.058.058.092 0 .261-.04.243-.057.255A.44.44 0 0 1 5.25 18a.75.75 0 0 0 0 1.5c-.008 0 .266.043.4.112.134.07.1.04.1.051 0 .13-.022.153-.099.213a.763.763 0 0 1-.445.124c-.516 0-.992-.339-.992-.339a.75.75 0 1 0-.928 1.178s.795.661 1.92.661c.49 0 .974-.133 1.37-.443a1.8 1.8 0 0 0 .674-1.394c0-.45-.23-.774-.496-1.032.145-.272.246-.58.246-.929 0-.502-.252-.968-.617-1.262-.365-.293-.834-.44-1.331-.44Zm5.698 2a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9Z",fill:"#0F0E0E"})))};function F9e(){return F9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F9e.apply(this,arguments)}var V9e,B9e=function(e){return i.createElement("svg",F9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),q9e||(q9e=i.createElement("path",{d:"M10.25 3C6.255 3 3 6.255 3 10.25s3.255 7.25 7.25 7.25c1.728 0 3.317-.61 4.565-1.625l4.905 4.905a.75.75 0 1 0 1.06-1.06l-4.905-4.905A7.213 7.213 0 0 0 17.5 10.25C17.5 6.255 14.245 3 10.25 3Zm0 1.5A5.739 5.739 0 0 1 16 10.25a5.727 5.727 0 0 1-1.604 3.985.746.746 0 0 0-.16.16A5.727 5.727 0 0 1 10.25 16a5.739 5.739 0 0 1-5.75-5.75 5.739 5.739 0 0 1 5.75-5.75Z",fill:"#0F0E0E"})))};function Z9e(){return Z9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z9e.apply(this,arguments)}var Y9e,G9e=function(e){return i.createElement("svg",Z9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),V9e||(V9e=i.createElement("path",{d:"M17.74 2.99a1 1 0 0 0-.697 1.717l.547.547C11.738 5.34 7 10.128 7 16a1 1 0 1 0 2 0 8.73 8.73 0 0 1 8.577-8.741l-.534.534a1 1 0 1 0 1.414 1.414l2.161-2.161a1 1 0 0 0-.004-1.596l-2.157-2.157a1 1 0 0 0-.718-.303ZM6.25 3A3.265 3.265 0 0 0 3 6.25v11.5A3.265 3.265 0 0 0 6.25 21h11.5A3.265 3.265 0 0 0 21 17.75V14a1 1 0 1 0-2 0v3.75c0 .702-.548 1.25-1.25 1.25H6.25C5.548 19 5 18.452 5 17.75V6.25C5 5.548 5.548 5 6.25 5H10a1 1 0 1 0 0-2H6.25Z",fill:"#0F0E0E"})))};function H9e(){return H9e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H9e.apply(this,arguments)}var K9e=function(e){return i.createElement("svg",H9e({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Y9e||(Y9e=i.createElement("path",{d:"M17.742 2.992a.75.75 0 0 0-.522 1.288l1.22 1.22h-.69C11.822 5.5 7 10.322 7 16.25a.75.75 0 1 0 1.5 0A9.238 9.238 0 0 1 17.75 7h.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.436-2.435a.75.75 0 0 0-.004-1.194L18.28 3.22a.75.75 0 0 0-.538-.228ZM6.25 3A3.262 3.262 0 0 0 3 6.25v11.5A3.262 3.262 0 0 0 6.25 21h11.5A3.261 3.261 0 0 0 21 17.75v-4a.751.751 0 1 0-1.5 0v4a1.74 1.74 0 0 1-1.75 1.75H6.25a1.74 1.74 0 0 1-1.75-1.75V6.25c0-.975.775-1.75 1.75-1.75h4a.75.75 0 1 0 0-1.5h-4Z",fill:"#0F0E0E"})))};function J9e(e,t,n){return void 0===t&&(t=20),void 0===n&&(n=.8),l((function(){var r=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var r=Math.floor(100*e/(window.innerHeight-t))/100;return r>=n?1:r}(e,t,n);return{initialBreakpoint:r,breakpoints:1!==r?[0,r,1]:[0,1]}}),[])}var eet,tet,net,ret,iet,oet=w((function(t,r){var i=t.size,o=void 0===i?"Default":i,a=t.icon,s=t.label,l=t.disabled,c=t.onClick,u=t.domIdentifier,d=t.className;return n(set,LUe({isSmall:"Small"===o,disabled:l,onClick:c,className:d,ref:r,"data-button":u},{children:[a&&e(cet,{children:a},void 0),s]}),void 0)})),aet=Ie(eet||(eet=BUe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n"]))),set=Te.button.withConfig({displayName:"BaseButton__StyledButton",componentId:"sc-10vs599-0"})(ret||(ret=BUe(["\n ","\n gap: 4px;\n\n ","\n"],["\n ","\n gap: 4px;\n\n ","\n"])),aet,(function(e){return e.isSmall?Ie(tet||(tet=BUe(["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "],["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "]))):Ie(net||(net=BUe(["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "],["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "])))})),cet=Te.div.withConfig({displayName:"BaseButton__IconHost",componentId:"sc-10vs599-1"})(iet||(iet=BUe(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"])));Te(oet).withConfig({displayName:"StandardButtons__OutlinedButton",componentId:"sc-1kkequa-0"})(det||(det=BUe(["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"])));var uet=Te(oet).withConfig({displayName:"StandardButtons__PrimaryButton",componentId:"sc-1kkequa-1"})(pet||(pet=BUe(["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"],["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"])));Te(oet).withConfig({displayName:"StandardButtons__SecondaryButton",componentId:"sc-1kkequa-2"})(fet||(fet=BUe(["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"],["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"])));var det,pet,fet,het,met,get,Oet,vet,yet,bet,wet=Te(oet).withConfig({displayName:"StandardButtons__TertiaryButton",componentId:"sc-1kkequa-3"})(het||(het=BUe(["\n background-color: white;\n\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"],["\n background-color: white;\n\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"]))),xet=Te(oet).withConfig({displayName:"StandardButtons__TextButton",componentId:"sc-1kkequa-4"})(met||(met=BUe(["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"]))),_et=w((function(t,r){var i=t.defaultSVG,o=t.hoveredSVG,a=t.secondarySVG,s=t.label,l=t.labelDirection,c=t.labelGap,u=t.iconSize,d=t.onClick,p=t.disabled,f=t.domIdentifier,h=t.reverseIcon,m=t.className,g=qUe(t,["defaultSVG","hoveredSVG","secondarySVG","label","labelDirection","labelGap","iconSize","onClick","disabled","domIdentifier","reverseIcon","className"]);return n(ket,LUe({onClick:d,ref:r,className:m,disabled:p,shouldAddMarginRight:!!a,"data-button":f},g,{children:[e(z8e,{defaultSVG:i,hoveredSVG:o,label:s,labelDirection:l,labelGap:c,size:u,reverseIcon:h},void 0),a]}),void 0)})),ket=Te.button.withConfig({displayName:"IconActionButton__StyledButton",componentId:"sc-1xa2jyn-0"})(get||(get=BUe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n"])),(function(e){return e.shouldAddMarginRight&&"margin-right: 8px"})),Pet=w((function(t,n){var r=t.defaultSVG,i=t.hoveredSVG,o=t.secondarySVG,a=t.isSelected,s=t.label,l=t.labelDirection,c=t.labelGap,u=t.iconSize,d=t.onClick,p=t.disabled,f=t.domIdentifier,h=t.className;return e(Cet,{onClick:d,ref:n,className:h,disabled:p,isSelected:a,defaultSVG:a?i:r,hoveredSVG:i,label:s,labelDirection:l,labelGap:c,iconSize:u,secondarySVG:o,domIdentifier:f},void 0)})),Cet=Te(_et).withConfig({displayName:"ContentActionButton__StyledIconActionButton",componentId:"sc-p9fvi8-0"})(yet||(yet=BUe(["\n border-radius: 8px;\n padding: 4px 8px;\n\n ","\n"],["\n border-radius: 8px;\n padding: 4px 8px;\n\n ","\n"])),(function(e){return e.isSelected?Ie(Oet||(Oet=BUe(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "]))):Ie(vet||(vet=BUe(["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "])))}));Te(Se).withConfig({displayName:"IconNavLink__StyledNavLink",componentId:"sc-vke3b0-0"})(bet||(bet=BUe(["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"row"===e.direction?"10px":"5px"}));var $et,Eet,Tet,Qet,Iet,Det,Aet,Ret,zet,Net,Met,jet,Uet,Xet,Let,qet=Te(_et).withConfig({displayName:"BackButton__StyledIconActionButton",componentId:"sc-18svzaj-0"})($et||($et=BUe(["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"],["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"]))),Wet=w((function(t,n){var r=t.buttonSize,i=void 0===r?"Default":r,o=t.defaultSVG,a=t.hoveredSVG,s=t.disabled,l=t.onClick,c=t.className;return e(Fet,{buttonSize:i,disabled:s,onClick:l,className:c,ref:n,defaultSVG:o,hoveredSVG:!s&&a,iconSize:"Small"===i?13:20},void 0)})),Fet=Te(_et).withConfig({displayName:"BaseIconicButton__StyledIconActionButton",componentId:"sc-1788zrp-0"})(Iet||(Iet=BUe(["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"],["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"])),(function(e){var t=e.buttonSize;return Ie("Large"===t?Eet||(Eet=BUe(["\n width: 40px;\n height: 40px;\n padding: 8px;\n "],["\n width: 40px;\n height: 40px;\n padding: 8px;\n "])):"Small"===t?Tet||(Tet=BUe(["\n width: 28px;\n height: 28px;\n padding: 4px;\n "],["\n width: 28px;\n height: 28px;\n padding: 4px;\n "])):Qet||(Qet=BUe(["\n width: 32px;\n height: 32px;\n padding: 4px;\n "],["\n width: 32px;\n height: 32px;\n padding: 4px;\n "])))})),Vet=function(t){return e(Bet,LUe({},t,{defaultSVG:t.isSelected&&t.hoveredSVG?t.hoveredSVG:t.defaultSVG}),void 0)},Bet=Te(Wet).withConfig({displayName:"IconicButtons__PrimaryIconicStyledBaseButton",componentId:"sc-1kri1yx-0"})(Ret||(Ret=BUe(["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"],["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"])),(function(e){return e.isSelected?Ie(Det||(Det=BUe(["\n background-color: var(--color-coral-200);\n "],["\n background-color: var(--color-coral-200);\n "]))):Ie(Aet||(Aet=BUe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "])))}));Te(Wet).withConfig({displayName:"IconicButtons__SecondaryIconicStyledBaseButton",componentId:"sc-1kri1yx-1"})(Met||(Met=BUe(["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"],["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"])),(function(e){return e.isSelected?Ie(zet||(zet=BUe(["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "],["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "]))):Ie(Net||(Net=BUe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "])))})),Te(_et).withConfig({displayName:"FloatingActionButton__StyledIconActionButton",componentId:"sc-k5ph7w-0"})(jet||(jet=BUe(["\n position: fixed;\n z-index: 2;\n right: ","px;\n bottom: ","px;\n width: 60px;\n height: 60px;\n border-radius: 100%;\n background-color: var(--color-coral-400);\n filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.2));\n\n @media screen and (min-width: ","px) {\n right: ","px;\n bottom: ","px;\n width: 80px;\n height: 80px;\n }\n\n &:hover {\n background-color: var(--color-coral-500);\n }\n\n &:active {\n background-color: var(--color-coral-600);\n }\n\n &:disabled {\n background-color: var(--color-coral-100);\n\n svg {\n fill: var(--color-coral-200);\n }\n }\n"],["\n position: fixed;\n z-index: 2;\n right: ","px;\n bottom: ","px;\n width: 60px;\n height: 60px;\n border-radius: 100%;\n background-color: var(--color-coral-400);\n filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.2));\n\n @media screen and (min-width: ","px) {\n right: ","px;\n bottom: ","px;\n width: 80px;\n height: 80px;\n }\n\n &:hover {\n background-color: var(--color-coral-500);\n }\n\n &:active {\n background-color: var(--color-coral-600);\n }\n\n &:disabled {\n background-color: var(--color-coral-100);\n\n svg {\n fill: var(--color-coral-200);\n }\n }\n"])),(function(e){return e.offsetRight||20}),(function(e){return e.offsetRight||20}),Sse.medium,(function(e){return e.offsetRight||40}),(function(e){return e.offsetRight||40})),Te.div.withConfig({displayName:"ProfileButton__Host",componentId:"sc-rvofml-0"})(Uet||(Uet=BUe(["\n display: flex;\n gap: 16px;\n"],["\n display: flex;\n gap: 16px;\n"]))),Te.div.withConfig({displayName:"ProfileButton__Label",componentId:"sc-rvofml-1"})(Xet||(Xet=BUe(["\n margin: auto 0;\n color: var(--color-neutral-950);\n letter-spacing: 0.015em;\n font-weight: 700;\n font-size: 12px;\n"],["\n margin: auto 0;\n color: var(--color-neutral-950);\n letter-spacing: 0.015em;\n font-weight: 700;\n font-size: 12px;\n"]))),function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(Let||(Let={}));var Zet,Yet,Get,Het,Ket,Jet,ett,ttt,ntt,rtt,itt,ott,att,stt,ltt,ctt,utt,dtt,ptt,ftt,htt=function(t){var r=t.isOpen,i=t.triggerButton,o=t.title,a=t.type,s=void 0===a?Let.close:a,l=t.isBlocking,c=t.onDismiss,u=t.className,d=t.children,p=Qpe(),f=FI().formatMessage;return n(aQe,LUe({open:r,onOpenChange:function(e){return e||null==c?void 0:c()}},{children:[null!=i&&e(sQe,LUe({asChild:!0},{children:i}),void 0),n(lQe,{children:[e(mtt,{},void 0),n(gtt,LUe({className:jH(p,u),onInteractOutside:l?function(e){return e.preventDefault()}:void 0},{children:[(o||s===Let.close)&&n(Ott,LUe({"data-dialog-header":!0},{children:[o&&e(ytt,LUe({"data-dialog-header-title":!0},{children:o}),void 0),s===Let.close&&e(pQe,LUe({asChild:!0},{children:e(btt,LUe({"aria-label":f({id:"Generic.close"})},{children:e(l9e,{},void 0)}),void 0)}),void 0)]}),void 0),e(vtt,LUe({"data-dialog-inner":!0},{children:d}),void 0)]}),void 0)]},void 0)]}),void 0)},mtt=Te(cQe).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1mpyir9-0"})(Zet||(Zet=BUe(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),gtt=Te(uQe).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1mpyir9-1"})(Yet||(Yet=BUe(["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"],["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"]))),Ott=Te.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1mpyir9-2"})(Get||(Get=BUe(["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"],["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"]))),vtt=Te.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1mpyir9-3"})(Het||(Het=BUe(["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"],["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"]))),ytt=Te(dQe).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1mpyir9-4"})(Ket||(Ket=BUe(["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"],["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"])),6),btt=Te.button.withConfig({displayName:"BaseDialog__CloseButton",componentId:"sc-1mpyir9-5"})(Jet||(Jet=BUe(["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"],["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"]))),wtt=function(t){var r=t.hideCancelButton,i=t.onSave,o=t.disableSave,a=t.saveButtonLabel,s=t.cancelButtonLabel,l=t.children,c=qUe(t,["hideCancelButton","onSave","disableSave","saveButtonLabel","cancelButtonLabel","children"]),u=FI().formatMessage;return n(xtt,LUe({},c,{children:[l,(i||!r)&&n(_tt,LUe({"data-dialog-footer":!0},{children:[!r&&e(pQe,LUe({asChild:!0},{children:e(wet,{label:s||u({id:"Generic.Cancel"})},void 0)}),void 0),i&&e(pQe,LUe({asChild:!0},{children:e(uet,{disabled:o,onClick:i,label:a||u({id:"Generic.Save"})},void 0)}),void 0)]}),void 0)]}),void 0)},xtt=Te(htt).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-1wziofc-0"})(itt||(itt=BUe(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"])),Epe,(function(e){return e.maxwidth?Ie(ett||(ett=BUe(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):Ie(ttt||(ttt=BUe(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?Ie(ntt||(ntt=BUe(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):Ie(rtt||(rtt=BUe(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),_tt=Te.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-1wziofc-1"})(ott||(ott=BUe(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n box-sizing: border-box;\n gap: 8px;\n margin-top: 40px;\n"],["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n box-sizing: border-box;\n gap: 8px;\n margin-top: 40px;\n"]))),ktt=function(t){var r=t.isOpen,i=t.onDismiss,o=t.title,a=t.triggerButton,s=t.hideHeader,l=t.customActionButton,c=t.className,u=t.children,d=qUe(t,["isOpen","onDismiss","title","triggerButton","hideHeader","customActionButton","className","children"]),p=Qpe();return n(Stt,{children:[a,n(RNe,LUe({"data-modal":!0,isOpen:r,onDidDismiss:function(){return i()},className:p},d,{children:[!s&&e($tt,{title:o,onDismiss:i,customActionButton:l,className:c},void 0),e(Ptt,LUe({forceOverscroll:!1},{children:e(Ctt,LUe({"data-inlinemodal-content":!0,className:c},{children:u}),void 0)}),void 0)]}),void 0)]},void 0)},Stt=Te.div.withConfig({displayName:"MobileInlineModal__Host",componentId:"sc-12osu96-0"})(att||(att=BUe(["\n display: flex;\n"],["\n display: flex;\n"]))),Ptt=Te(PNe).withConfig({displayName:"MobileInlineModal__StyledIonContent",componentId:"sc-12osu96-1"})(stt||(stt=BUe(["\n --padding-bottom: 0;\n"],["\n --padding-bottom: 0;\n"]))),Ctt=Te.div.withConfig({displayName:"MobileInlineModal__Content",componentId:"sc-12osu96-2"})(ltt||(ltt=BUe(["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"],["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"]))),$tt=function(t){var r=t.title,i=t.customActionButton,o=t.onDismiss,a=t.className;return e(Ett,LUe({class:"ion-no-border","data-inlinemodal-header":!0,className:a},{children:n(Ttt,{children:[i||e(Qtt,{onClick:o},void 0),e(Itt,{children:r},void 0)]},void 0)}),void 0)},Ett=Te(CNe).withConfig({displayName:"MobileInlineModal__StyledIonHeader",componentId:"sc-12osu96-3"})(ctt||(ctt=BUe(["\n background: var(--mobile-modal-background-color);\n"],["\n background: var(--mobile-modal-background-color);\n"]))),Ttt=Te.div.withConfig({displayName:"MobileInlineModal__Inner",componentId:"sc-12osu96-4"})(utt||(utt=BUe(["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"],["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"]))),Qtt=Te((function(t){var n=t.onClick,r=t.className;return e(qet,{defaultSVG:e(E9e,{},void 0),onClick:n,className:r},void 0)})).withConfig({displayName:"MobileInlineModal__StyledBackButton",componentId:"sc-12osu96-5"})(dtt||(dtt=BUe(["\n position: absolute;\n left: 0;\n top: 0;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n"]))),Itt=Te.h2.withConfig({displayName:"MobileInlineModal__Title",componentId:"sc-12osu96-6"})(ptt||(ptt=BUe(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"])));Te(htt).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-mvozll-0"})(ftt||(ftt=BUe(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),439,439,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),439,439);var Dtt,Att,Rtt=w((function(t,n){return!a(jtt)||t.neverStackChildren?e(Ntt,LUe({ref:n},t),void 0):e(ztt,LUe({},t),void 0)})),ztt=function(e){var t=e.isOpen,n=e.onDismiss,r=e.initialBreakpoint,i=e.children,o=a(jtt).addNewLayer;return u((function(){t&&o(i,n,r)}),[t]),null},Ntt=w((function(t,n){var r=t.isOpen,i=t.onDismiss,o=t.initialBreakpoint,a=t.breakpoints,s=t.className,l=t.children,c=Qpe();return e("div",{children:e(RNe,LUe({isOpen:r,ref:n,onDidDismiss:i,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:c,handleBehavior:"cycle"},{children:e(PNe,LUe({forceOverscroll:!1},{children:e(Mtt,LUe({className:s},{children:l((function(){return null}))}),void 0)}),void 0)}),void 0)},void 0)})),Mtt=Te.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-14p349p-0"})(Dtt||(Dtt=BUe(["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"],["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"])),Sse.small),jtt=s(null);Te.div.withConfig({displayName:"Modal__Host",componentId:"sc-wik3mt-0"})(Att||(Att=BUe(["\n display: flex;\n"],["\n display: flex;\n"])));var Utt=Nqe,Xtt=nXe,Ltt=JUe,qtt=wXe,Wtt=OXe,Ftt=zXe.f,Vtt=wqe,Btt=Ltt.Symbol;if(Xtt&&"function"==typeof Btt&&(!("description"in Btt.prototype)||void 0!==Btt().description)){var Ztt={},Ytt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Ytt?new Btt(e):void 0===e?Btt():Btt(e);return""===e&&(Ztt[t]=!0),t};Vtt(Ytt,Btt);var Gtt=Ytt.prototype=Btt.prototype;Gtt.constructor=Ytt;var Htt=Gtt.toString,Ktt="Symbol(test)"==String(Btt("test")),Jtt=/^Symbol\((.*)\)[^)]+$/;Ftt(Gtt,"description",{configurable:!0,get:function(){var e=Wtt(this)?this.valueOf():this,t=Htt.call(e);if(qtt(Ztt,e))return"";var n=Ktt?t.slice(7,-1):t.replace(Jtt,"$1");return""===n?void 0:n}}),Utt({global:!0,forced:!0},{Symbol:Ytt})}var ent,tnt,nnt,rnt,int=Ie(ent||(ent=BUe(["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"],["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"])));Te(INe).withConfig({displayName:"ConfirmationDialog__StyledIonActionSheet",componentId:"sc-m2uptd-0"})(tnt||(tnt=BUe(["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"],["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"])),int),Te(wtt).withConfig({displayName:"ConfirmationDialog__StyledDialog",componentId:"sc-m2uptd-1"})(nnt||(nnt=BUe(["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"],["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"]))),Te.div.withConfig({displayName:"ConfirmationDialog__Description",componentId:"sc-m2uptd-2"})(rnt||(rnt=BUe(["\n color: var(--color-neutral-800);\n ","\n"],["\n color: var(--color-neutral-800);\n ","\n"])),int);var ont,ant,snt,lnt,cnt,unt,dnt,pnt,fnt,hnt=function(t){var r=t.isOpen,i=t.onOpenChange,o=t.trigger,a=t.anchor,s=t.className,l=t.children,c=t.align,u=t.alignOffset,d=t.side,p=t.sideOffset,f=Qpe();return n(MUe,LUe({open:r,onOpenChange:i},{children:[null!=a&&e(jUe,LUe({asChild:!0},{children:a}),void 0),null!=o&&e(UUe,LUe({asChild:!0},{children:o}),void 0),e(mnt,LUe({className:jH(f,s)},{children:e(gnt,LUe({className:"PopoverContent",align:c,alignOffset:u,side:d,sideOffset:p},{children:l}),void 0)}),void 0)]}),void 0)},mnt=Te.div.withConfig({displayName:"BasePopover__PopoverOverrides",componentId:"sc-1vqo814-0"})(ont||(ont=BUe(["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"],["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"]))),gnt=Te(XUe).withConfig({displayName:"BasePopover__StyledContent",componentId:"sc-1vqo814-1"})(ant||(ant=BUe(["\n background: #ffffff;\n ","\n"],["\n background: #ffffff;\n ","\n"])),Epe),Ont=Te.div.withConfig({displayName:"Skeleton__Host",componentId:"sc-rex4m6-0"})(snt||(snt=BUe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"])));Te.div.withConfig({displayName:"Skeleton__SkeletonInlineGroup",componentId:"sc-rex4m6-1"})(lnt||(lnt=BUe(["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"],["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"])),(function(e){return(e.gap||16)+"px"})),Te.div.withConfig({displayName:"Skeleton__SkeletonBlockGroup",componentId:"sc-rex4m6-2"})(cnt||(cnt=BUe(["\n display: flex;\n flex-direction: column;\n gap: 5px;\n width: 100%;\n ","\n"],["\n display: flex;\n flex-direction: column;\n gap: 5px;\n width: 100%;\n ","\n"])),(function(e){return e.marginTop&&"margin-top: "+e.marginTop+"px;"})),Te.div.withConfig({displayName:"Skeleton__Avatar",componentId:"sc-rex4m6-3"})(unt||(unt=BUe(["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36}),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36})),Te.div.withConfig({displayName:"Skeleton__Line",componentId:"sc-rex4m6-4"})(dnt||(dnt=BUe(["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.width)&&void 0!==t?t:"auto"}),(function(e){return e.height?"height: "+e.height+"px":"height: 20px"})),Te.div.withConfig({displayName:"PageScrollIndicator__Host",componentId:"sc-2wrh76-0"})(pnt||(pnt=BUe(["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"],["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"]))),Te.div.attrs((function(e){return{style:{width:e.progress+"%"}}})).withConfig({displayName:"PageScrollIndicator__ProgressBar",componentId:"sc-2wrh76-1"})(fnt||(fnt=BUe(["\n height: 4px;\n background: var(--color-coral-500);\n"],["\n height: 4px;\n background: var(--color-coral-500);\n"])));var vnt=function(t){var n=t.size,r=t.className;return e(xnt,{defaultSVG:e(I9e,{},void 0),size:null!=n?n:24,className:r},void 0)};Te(vnt).withConfig({displayName:"SpinnerLoader__PageSpinnerLoader",componentId:"sc-1y3keaq-0"})(ynt||(ynt=BUe(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(e){var t;return"calc(50% - "+(null!==(t=e.size)&&void 0!==t?t:24)/2+"px)"}),(function(e){var t;return"calc(50% - "+(null!==(t=e.size)&&void 0!==t?t:24)/2+"px)"}));var ynt,bnt,wnt,xnt=Te(z8e).withConfig({displayName:"SpinnerLoader__SpinnerIcon",componentId:"sc-1y3keaq-1"})(bnt||(bnt=BUe(["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"],["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])));Te.time.withConfig({displayName:"DateTimeDisplay__Host",componentId:"sc-17lnikl-0"})(wnt||(wnt=BUe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));var _nt,knt,Snt,Pnt,Cnt,$nt,Ent,Tnt,Qnt,Int,Dnt,Ant,Rnt,znt,Nnt=Te.div.withConfig({displayName:"SearchBox__Host",componentId:"sc-kta4dl-0"})(_nt||(_nt=BUe(["\n position: relative;\n"],["\n position: relative;\n"]))),Mnt=Te.div.withConfig({displayName:"SearchBox__SearchIconHost",componentId:"sc-kta4dl-1"})(knt||(knt=BUe(["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n display: flex;\n align-items: center;\n margin-left: 10px;\n\n & > svg {\n width: 20px;\n height: 20px;\n }\n"],["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n display: flex;\n align-items: center;\n margin-left: 10px;\n\n & > svg {\n width: 20px;\n height: 20px;\n }\n"]))),jnt=Te(_et).withConfig({displayName:"SearchBox__CloseIconButton",componentId:"sc-kta4dl-2"})(Snt||(Snt=BUe(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n padding: 0 10px;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n padding: 0 10px;\n"]))),Unt=Te.input.withConfig({displayName:"SearchBox__SearchInput",componentId:"sc-kta4dl-3"})(Pnt||(Pnt=BUe(["\n box-sizing: border-box;\n height: 32px;\n width: 100%;\n border-radius: 4px;\n border: 1px solid var(--color-neutral-200);\n background: #fff;\n padding: 4px 32px 4px 36px;\n\n &:hover {\n border-color: var(--color-neutral-700);\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n ","\n border-radius: 4px;\n }\n\n font-family: Mulish, Arial, sans-serif !important;\n color: var(--color-neutral-950);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 100%;\n\n &::placeholder {\n font-size: 16px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-neutral-700);\n }\n"],["\n box-sizing: border-box;\n height: 32px;\n width: 100%;\n border-radius: 4px;\n border: 1px solid var(--color-neutral-200);\n background: #fff;\n padding: 4px 32px 4px 36px;\n\n &:hover {\n border-color: var(--color-neutral-700);\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n ","\n border-radius: 4px;\n }\n\n font-family: Mulish, Arial, sans-serif !important;\n color: var(--color-neutral-950);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 100%;\n\n &::placeholder {\n font-size: 16px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-neutral-700);\n }\n"])),Epe);Te.div.withConfig({displayName:"OTPInput__Host",componentId:"sc-x2sm3g-0"})(Cnt||(Cnt=BUe(["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"],["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"]))),Te.input.withConfig({displayName:"OTPInput__SingleInput",componentId:"sc-x2sm3g-1"})($nt||($nt=BUe(["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"],["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"]))),Te.div(Ent||(Ent=BUe(["\n display: flex;\n flex-direction: column;\n height: 91px;\n gap: 4px;\n"],["\n display: flex;\n flex-direction: column;\n height: 91px;\n gap: 4px;\n"]))),Te.div(Tnt||(Tnt=BUe(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"]))),Te.span(Int||(Int=BUe(["\n font-size: 16px;\n font-weight: 700;\n padding-left: 4px;\n line-height: 20px;\n\n ","\n"],["\n font-size: 16px;\n font-weight: 700;\n padding-left: 4px;\n line-height: 20px;\n\n ","\n"])),(function(e){return e.error&&Ie(Qnt||(Qnt=BUe(["\n color: #ff5050;\n "],["\n color: #ff5050;\n "])))})),Te.input(Ant||(Ant=BUe(["\n border: 1px solid #d7d2d1;\n border-radius: 4px;\n background: none;\n font-size: 16px;\n padding: 14px 16px;\n height: 16px;\n\n ","\n"],["\n border: 1px solid #d7d2d1;\n border-radius: 4px;\n background: none;\n font-size: 16px;\n padding: 14px 16px;\n height: 16px;\n\n ","\n"])),(function(e){return e.errorMessage&&Ie(Dnt||(Dnt=BUe(["\n border-color: #be2032;\n background-color: #ffeded;\n "],["\n border-color: #be2032;\n background-color: #ffeded;\n "])))})),Te.span(Rnt||(Rnt=BUe(["\n color: #ff5050;\n font-size: 12px;\n line-height: 14px;\n padding-left: 4px;\n"],["\n color: #ff5050;\n font-size: 12px;\n line-height: 14px;\n padding-left: 4px;\n"]))),Te.div(znt||(znt=BUe(["\n display: flex;\n flex-direction: column;\n padding: 64px 40px 40px;\n border: 1px solid var(--color-neutral-100);\n border-radius: 8px;\n box-shadow: 0px 16px 48px 0px rgba(15, 14, 14, 0.05);\n background: var(--color-neutral-50);\n box-sizing: border-box;\n gap: 40px;\n"],["\n display: flex;\n flex-direction: column;\n padding: 64px 40px 40px;\n border: 1px solid var(--color-neutral-100);\n border-radius: 8px;\n box-shadow: 0px 16px 48px 0px rgba(15, 14, 14, 0.05);\n background: var(--color-neutral-50);\n box-sizing: border-box;\n gap: 40px;\n"])));var Xnt=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=l((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(n){return vw.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(UT.Provider,Wa({value:c},{children:r}),void 0)},Lnt="0.5.0-preview.924",qnt="134233",Wnt="0eef6c1c1a8612fcfec01144d9e0c2af869731dc",Fnt=gt,Vnt=lt,Bnt=Zr("match"),Znt=function(e){var t;return Fnt(e)&&(void 0!==(t=e[Bnt])?!!t:"RegExp"==Vnt(e))},Ynt=Znt,Gnt=Zr("match"),Hnt=function(e){if(Ynt(e))throw TypeError("The method doesn't accept regular expressions");return e},Knt=pt,Jnt=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Gnt]=!1,"/./"[e](t)}catch(e){}}return!1};Dr({target:"String",proto:!0,forced:!Jnt("includes")},{includes:function(e){return!!~String(Knt(this)).indexOf(Hnt(e),arguments.length>1?arguments[1]:void 0)}});var ert,trt,nrt={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:{regions:{global:{dashboardHostName:"superset.test.analytics.livetiles.io",ingestionHostName:"api.test.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"00bc5e79-67a0-447f-b841-daab4017898e"}]}}}},rrt={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:{regions:{global:{dashboardHostName:"superset-euw.analytics.livetiles.io",ingestionHostName:"api-euw.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"00ecd407-3efd-4c67-8c8e-f8f79221acce"}]},australia:{dashboardHostName:"superset-aue.analytics.livetiles.io",ingestionHostName:"api-aue.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"e31a9225-a917-4638-9eff-6542449cbf73"}]},usa:{dashboardHostName:"superset-use.analytics.livetiles.io",ingestionHostName:"api-use.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"433c5c17-10d2-4260-a235-bfac9a917c71"}]}}}},irt=require("deepmerge"),ort=["//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"],art=function(t){var n=t.children,r=iw(),i=r.apiEndpoint,o=r.additionalVideoSources,a=l((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!ort.some((function(e){return i.toLowerCase().includes(e)}));if(!e)return vw.info("Will use non prod client config..."),Wa(Wa({},nrt),{additionalVideoSources:o});var t=irt(nrt,rrt,{arrayMerge:function(e,t){return t}});return Wa(Wa({},t),{additionalVideoSources:o})}())}),[i]);return e(mw.Provider,Wa({value:a},{children:n}),void 0)},srt=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 Ba(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 Ba(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}(),lrt=new srt,crt=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(urt,Wa({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},urt=function(n){var r=n.subscriptionId,i=n.children,o=a(UT).setToken,s=OD(),l=Ide().getSubscriptionBySubscriptionIdentifier,c=ZG().fetchFromApi,u=a(hD),d=u.handleFatalError,p=u.handleAccessDeniedError,f=AT((function(){return Va(this,void 0,void 0,(function(){var e,t,n;return Ba(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,s.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,l(r)];case 2:return i.sent().allowPublicAccess?[4,v(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,s.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),h=f[0],m=f[1],g=f[2];if(g)return vw.error(g),d({error:g}),null;if(m)return null;if(!h){var O={message:"Public access is not enabled for the subscription "+r+"!"};return vw.error(O.message),p({error:O}),null}return e(t,{children:i},void 0);function v(e){return c("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},drt=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],u=d(),p=u[0],f=u[1],h=l((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:f}}),[o,c,f]);return e(hD.Provider,Wa({value:h},{children:e(prt,Wa({fatalError:i,notFoundError:p,accessDeniedError:s},{children:n}),void 0)}),void 0)},prt=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(frt,{messageId:r.messageId,error:r.error},void 0):i?e(frt,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(frt,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},frt=function(t){var r=t.messageId,i=t.error,o=FI().formatMessage,a=d(!1),s=a[0],l=a[1];return e(W7e,Wa({errorType:L7e.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(hrt,{children:[e(uD,{id:"Generic.error.details"},void 0),e(mrt,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},hrt=Te.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(ert||(ert=ts(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),mrt=Te.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(trt||(trt=ts(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),grt=function(t){var n=t.children,r=Hce(),i=l((function(){return{onShare:function(){return Va(void 0,void 0,void 0,(function(){return Ba(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(mD.Provider,Wa({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},Ort=function(){return null},vrt=Object.freeze({__proto__:null,Page:Ort,NavLinkSidebarItem:Ort,PageMenuActionItem:Ort});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Lnt+" ("+qnt+") ["+Wnt+"]"),window.__did_initialize_reach_context)return;ce()}();var yrt=function(r){var i,o,s,c,d,p,f,h=null!=a(rw);u((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,h||window.__is_reach_app||(nue.apply(void 0,VUe(["ReachCorePackages"],VUe(VUe([],T8e),E8e))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Wa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Wa({default:{}},vrt)}],nue.apply(void 0,Ja(["ReachComponentLibraryPackages"],t))))}),[]);var m=l((function(){var e,t,n,i,o,a,s,l,c,u;return{env:{deviceInfo:{},version:Lnt,commitId:Wnt,buildId:qnt},appConfig:{apiEndpoint:null!==(t=null===(e=r.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(i=null===(n=r.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==i?i:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=r.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(l=null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==l?l:"wss://ws.reach.livetiles.io/api/v2",additionalVideoSources:null!==(u=null===(c=r.config)||void 0===c?void 0:c.additionalVideoSources)&&void 0!==u?u:[]}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(s=r.config)||void 0===s?void 0:s.api3Endpoint,null===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint,null===(d=r.config)||void 0===d?void 0:d.additionalVideoSources]);if(h)return vw.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Wa({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0);var g=function(e){return new zJ({defaultOptions:e,queryCache:wpe()})}({queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1,retry:!1,staleTime:5e3,cacheTime:5e3,refetchInterval:!1,refetchIntervalInBackground:!1}});return e("div",Wa({className:m7},{children:e(rw.Provider,Wa({value:m},{children:e(Pe,{children:e(gD.Provider,Wa({value:lrt},{children:e(art,{children:e(jre,Wa({language:r.language,locale:r.locale},{children:e(cde,Wa({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(drt,{children:e(Xnt,Wa({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(bD,Wa({subscriptionId:r.subscriptionId},{children:e(crt,Wa({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(grt,{children:e(XJ,Wa({client:g},{children:e(Yz.Provider,Wa({value:{hideChrome:!1}},{children:e(wrt,Wa({subscriptionId:r.subscriptionId,language:r.language,locale:r.locale},{children:e(zH,Wa({gqlClientConfig:{endPoint:m.appConfig.api3Endpoint,webSocketsEndpoint:m.appConfig.webSocketsEndpoint}},{children:e(Mce,{children:e(zde,{children:e(brt,Wa({disableAnalytics:null===(p=r.analyticsProps)||void 0===p?void 0:p.disableAnalytics,appName:null===(f=r.analyticsProps)||void 0===f?void 0:f.appName},{children:n(Sde,{children:[e(Ede,{},void 0),e(rBe,{},void 0),e(xrt,{},void 0),n(Ce,{children:[e($e,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e($e,{render:function(){return r.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)}),void 0)},brt=function(t){var n=t.disableAnalytics,r=t.appName,i=t.children;return n?e(ale,{children:i},void 0):e(ele,Wa({appName:r},{children:i}),void 0)},wrt=function(t){var n,r=t.subscriptionId,i=t.language,o=t.locale,s=t.children,c=a(lde).setTheme,u=a(_D).changeSettings,d=function(){var e=eoe().getCurrentUser,t=UJ();return{getCurrentUser:function(n){return r7(this,void 0,void 0,(function(){var r=this;return i7(this,(function(i){switch(i.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return r7(r,void 0,void 0,(function(){return i7(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,i.sent()]}}))}))}}}().getCurrentUser,p=AT((function(){var e,t;return Va(this,void 0,void 0,(function(){var n,a,s,l;return Ba(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,d(r)];case 1:return n=p.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&c(n.subscription.theme),a=_C(i,n.preferredUiLanguage,xC(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=Xre(n,o),u(a,s).then((function(){return null}),vw.error),i&&(n.preferredContentLanguage=i),[2,n];case 2:throw l=p.sent(),vw.error(l),l;case 3:return[2]}}))}))})),f=p[0],h=p[1],m=p[2],g=p[3],O=a(hD),v=O.handleFatalError,y=O.handleNotFoundError,b=O.handleAccessDeniedError,w=l((function(){return{user:f,refreshUser:function(e){return Promise.resolve(e&&g(e))}}}),[f]);return m?(403===(null===(n=null==m?void 0:m.response)||void 0===n?void 0:n.statusCode)?b({error:m}):v({error:m}),null):h?null:null==f?(y({}),null):e(oie.Provider,Wa({value:w},{children:s}),void 0)},xrt=function(){return u((function(){!function(){var e="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap";if(!document.querySelector('head link[href="'+e+'"]')){var t=document.createElement("link");t.href="https://fonts.gstatic.com/",t.rel="preconnect",t.crossOrigin="";var n=document.createElement("link");n.href=e,n.rel="stylesheet",document.head.prepend(n),document.head.prepend(t)}}()}),[]),n(t,{children:[e(d7,{},void 0),e(h7,{},void 0)]},void 0)};var _rt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,krt=/[\0-\x1F\x7F-\x9F]/,Srt=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Prt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 Crt(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 $rt(e){return Object.prototype.toString.call(e)}function Ert(e){return"[object Function]"===$rt(e)}function Trt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Qrt={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var Irt={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Drt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Art(e){var t=e.re=function(e){var t={};return t.src_Any=_rt.source,t.src_Cc=krt.source,t.src_Z=Srt.source,t.src_P=Prt.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 r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];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 r={validate:null,link:null};if(e.__compiled__[t]=r,function(e){return"[object Object]"===$rt(e)}(n))return!function(e){return"[object RegExp]"===$rt(e)}(n.validate)?Ert(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(Ert(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$rt(e)}(n)?o(t,n):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Trt).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 Rrt(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function zrt(e,t){var n=new Rrt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Nrt(e,t){if(!(this instanceof Nrt))return new Nrt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||Qrt.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=Crt({},Qrt,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Crt({},Irt,e),this.__compiled__={},this.__tlds__=Drt,this.__tlds_replaced__=!1,this.re={},Art(this)}Nrt.prototype.add=function(e,t){return this.__schemas__[e]=t,Art(this),this},Nrt.prototype.set=function(e){return this.__opts__=Crt(this.__opts__,e),this},Nrt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,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(i=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+i;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!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},Nrt.prototype.pretest=function(e){return this.re.pretest.test(e)},Nrt.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Nrt.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(zrt(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(zrt(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},Nrt.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(),Art(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Art(this),this)},Nrt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Nrt.prototype.onCompile=function(){};var Mrt=Nrt,jrt={exports:{}};!function(e,t){!function(t,n,r){e.exports=r(),e.exports.default=r()}(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,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(t,n){return t+(i[n]||e[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.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}))}(jrt);var Urt=jrt.exports;function Xrt(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 Lrt(){return Lrt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lrt.apply(this,arguments)}function qrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wrt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Frt(e,t,n){return t&&Wrt(e.prototype,t),n&&Wrt(e,n),e}function Vrt(e){return Vrt="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},Vrt(e)}function Brt(e){return Brt="function"==typeof Symbol&&"symbol"===Vrt(Symbol.iterator)?function(e){return Vrt(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Vrt(e)},Brt(e)}function Zrt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yrt(e,t){return!t||"object"!==Brt(t)&&"function"!=typeof t?Zrt(e):t}function Grt(e){return Grt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Grt(e)}function Hrt(e,t){return Hrt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hrt(e,t)}function Krt(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&&Hrt(e,t)}function Jrt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eit(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function tit(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nit(e){return function(e){if(Array.isArray(e))return Bu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Zu(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 rit=function(e){return e===Object(e)?Object.keys(e):[]},iit=function(e){return e===Object(e)?Object.values(e):[]};function oit(e,t){var n=Object.assign({},e);return lit(e)&&lit(t)&&rit(t).forEach((function(r){lit(t[r])&&r in e?n[r]=oit(e[r],t[r]):Object.assign(n,ad({},r,t[r]))})),n}var ait=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return oit(e,t)}),e)},sit=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},lit=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},cit=function(e){return(e||[]).filter(Boolean)},uit=function(e){return"&"===e[0]},dit=function(e){return!uit(e)},pit=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},fit=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=rit(e),r={},i=0,o=n.length;i<o;i+=1){var a=n[i],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(r[a]=e[a])}return r},hit=function(e,t){for(var n=t.map(pit),r=rit(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(pit(s))>=0)&&(i[s]=e[s])}return i},mit=function e(t,n){for(var r=ait.apply(void 0,[{},sit(t,n)].concat(nit(iit(hit(t,n))))),i=rit(r).filter(uit),o=0,a=i.length;o<a;o+=1){var s=i[o],l=e(r[s],n);n.indexOf(s)>=0?(delete r[s],r=ait({},r,l)):r[s]=l}return r};function git(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?git(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):git(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vit=["animationName"],yit=function(e){var t=e.style,n=e.className;return Oit(Oit({},t?{style:fit(t,vit)}:{}),n?{className:n}:{})},bit=s(yit);bit.Provider;var wit=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return rit(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},xit={},_it=function(e){return function(t,n){var r,i=n||xit;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=wit(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function kit(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kit(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pit=function(e){var t=e&&rit(e)[0];return t&&t.split("__")[0].split("--")[0]},Cit=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(nit(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),nit(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(nit(i)):i}};function $it(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yit,o=n||Pit(r)||(null==t?void 0:t.className),a="function"==typeof t?t:_it((function(e,n){var a=wit(e);_Ee(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),_Ee(!n||lit(n),"Optional second parameter must be a plain object.");var s=a.filter(uit),l=a.filter(dit),c=l.length>0?function(e){return iit(hit(e,l))}:function(e){return[e]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(mit(e,s))},d=Cit(o,l,s);return $it(Sit(Sit(Sit({},(t||n)&&{style:ait.apply(void 0,[{}].concat(nit(u(n)),nit(u(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=Sit({},"function"==typeof t?t:{style:t}),l=nit(new Set([].concat(nit(s.className?s.className.split(" "):[]),nit(o?o.split(" "):[])))),c=r?cit(l.map((function(e){return r[e]}))):l,u=i(Sit(Sit({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,u),a}function Eit(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eit(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qit=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 Tit(Tit(Tit({},e),"function"==typeof t?t:{}),{},{style:Tit(Tit({},e.style),"function"==typeof t?t.style:t)})}),{})},Iit=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(bit);return l((function(){return $it({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},Dit=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},Ait="__id__",Rit="__display__",zit=function(e,t){_Ee("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(Rit),r=e.indexOf(Ait);return n<0&&(n=null),r<0&&(r=null),_Ee(null!==n||null!==r,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===t&&r<=n||"display"===t&&n<=r?0:1:0},Nit=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=eit(t.exec(e.toString()),3),r=n[1],i=n[2];return _Ee(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},Mit=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},jit=function(){},Uit=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:jit,o=Nit(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=Mit(t)+1,n})),l=0,c=0;null!==(r=o.exec(e));){var u=s.find((function(e){return!!r[e]})),d=s.indexOf(u),p=t[d],f=p.markup,h=p.displayTransform,m=u+zit(f,"id"),g=u+zit(f,"display"),O=r[m],v=h(O,r[g]),y=e.substring(l,r.index);i(y,l,c),c+=y.length,n(r[0],r.index,c,O,v,d,l),c+=v.length,l=o.lastIndex}l<e.length&&i(e.substring(l),l,c)},Xit=function(e,t){var n="";return Uit(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},Lit=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,l,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return Uit(e,t,a,o),void 0===r?e.length:r},qit=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},Wit=function(e,t){var n=[];return Uit(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},Fit=function(e,t){return"".concat(e,"-").concat(t)},Vit=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},Bit=function(e){var t=Dit(e),n=e[e.indexOf(Rit)+Rit.length],r=e[e.indexOf(Ait)+Ait.length];return new RegExp(t.replace(Rit,"([^".concat(Dit(n||""),"]+?)")).replace(Ait,"([^".concat(Dit(r||""),"]+?)")))},Zit=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?Yit(r,n):Bit(n),displayTransform:i||function(e,t){return t||e}}}))},Yit=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=Mit(t);return _Ee(n===r,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(r,")")),e},Git=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],Hit=function(e){return function(e){var t=e;return Git.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},Kit=function(e,t,n){return n?Hit(e).indexOf(Hit(t)):e.toLowerCase().indexOf(t.toLowerCase())},Jit=function(e){return"number"==typeof e},eot=function(e){return e===Object(e)?Object.keys(e):[]},tot=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);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 not(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,l=tit(r,["style","className","classNames"]),c=t?t(l):void 0,u=Iit(e,{style:i,className:a,classNames:s},c);return o.createElement(n,Lrt({},l,{style:u}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var rot=function(e){function t(){var e;return qrt(this,t),Jrt(Zrt(e=Yrt(this,Grt(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return Krt(t,O),Frt(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 r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,l=n.children,c=n.containerRef,u=Zit(l);r===i&&(e=Lit(a,u,r,"START"));var d=[],p={},f=d,h=0;return Uit(a,u,(function(e,n,r,i,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(p,i);f.push(t.getMentionComponentForMatch(i,o,a,l))}),(function(n,r,i){if(Jit(e)&&e>=r&&e<=r+n.length){var o=e-r;f.push(t.renderSubstring(n.substring(0,o),h)),f=[t.renderSubstring(n.substring(o),h)]}else f.push(t.renderSubstring(n,h));h++})),f.push(" "),f!==d&&d.push(this.renderHighlighterCaret(f)),o.createElement("div",Lrt({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",Lrt({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",Lrt({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();Jrt(rot,"propTypes",{selectionStart:b0.number,selectionEnd:b0.number,value:b0.string.isRequired,onCaretPositionChange:b0.func.isRequired,containerRef:b0.oneOfType([b0.func,b0.shape({current:"undefined"==typeof Element?b0.any:b0.instanceOf(Element)})]),children:b0.oneOfType([b0.element,b0.arrayOf(b0.element)]).isRequired}),Jrt(rot,"defaultProps",{value:""});var iot=not({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}}))(rot),oot=function(e){function t(){return qrt(this,t),Yrt(this,Grt(t).apply(this,arguments))}return Krt(t,O),Frt(t,[{key:"render",value:function(){var e=tot(this.props,["style","classNames","className"],eot(t.propTypes));return o.createElement("li",Lrt({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,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,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,r=t.query,i=t.style,a=Kit(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();Jrt(oot,"propTypes",{id:b0.string.isRequired,query:b0.string.isRequired,index:b0.number.isRequired,ignoreAccents:b0.bool,suggestion:b0.oneOfType([b0.string,b0.shape({id:b0.oneOfType([b0.string,b0.number]).isRequired,display:b0.string})]).isRequired,renderSuggestion:b0.func,focused:b0.bool});var aot=not({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(oot);function sot(){var e=Iit(),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 lot=function(e){function t(){var e,n;qrt(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jrt(Zrt(n=Yrt(this,(e=Grt(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),Jrt(Zrt(n),"select",(function(e,t){n.props.onSelect(e,t)})),Jrt(Zrt(n),"setUlElement",(function(e){n.ulElement=e})),n}return Krt(t,O),Frt(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,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,l=e.position,c=e.left,u=e.top;return r?o.createElement("div",Lrt({},Qit({position:l||"absolute",left:c,top:u},i),{onMouseDown:a,ref:s}),o.createElement("ul",Lrt({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(Xrt(t),Xrt(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(aot,{style:this.props.style("item"),key:"".concat(a,"-").concat(cot(e)),id:Fit(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:l,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(sot,{style:this.props.style("loadingIndicator")})}}]),t}();Jrt(lot,"propTypes",{id:b0.string.isRequired,suggestions:b0.object.isRequired,a11ySuggestionsListLabel:b0.string,focusIndex:b0.number,position:b0.string,left:b0.number,top:b0.number,scrollFocusedIntoView:b0.bool,isLoading:b0.bool,isOpened:b0.bool.isRequired,onSelect:b0.func,ignoreAccents:b0.bool,containerRef:b0.oneOfType([b0.func,b0.shape({current:"undefined"==typeof Element?b0.any:b0.instanceOf(Element)})]),children:b0.oneOfType([b0.element,b0.arrayOf(b0.element)]).isRequired}),Jrt(lot,"defaultProps",{suggestions:{},onSelect:function(){return null}});var cot=function(e){return"string"==typeof e?e:e.id},uot=not({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(lot);function dot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dot(n,!0).forEach((function(t){Jrt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fot={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},hot=!1,mot={singleLine:b0.bool,allowSpaceInQuery:b0.bool,allowSuggestionsAboveCursor:b0.bool,forceSuggestionsAboveCursor:b0.bool,ignoreAccents:b0.bool,a11ySuggestionsListLabel:b0.string,value:b0.string,onKeyDown:b0.func,onSelect:b0.func,onBlur:b0.func,onChange:b0.func,suggestionsPortalHost:"undefined"==typeof Element?b0.any:b0.PropTypes.instanceOf(Element),inputRef:b0.oneOfType([b0.func,b0.shape({current:"undefined"==typeof Element?b0.any:b0.instanceOf(Element)})]),children:b0.oneOfType([b0.element,b0.arrayOf(b0.element)]).isRequired},got=function(e){function t(e){var n;return qrt(this,t),Jrt(Zrt(n=Yrt(this,Grt(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),Jrt(Zrt(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return pot({},tot(n.props,["style","classNames","className"],eot(mot)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{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":Fit(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),Jrt(Zrt(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),Jrt(Zrt(n),"renderInput",(function(e){return o.createElement("input",Lrt({type:"text",ref:n.setInputRef},e))})),Jrt(Zrt(n),"renderTextarea",(function(e){return o.createElement("textarea",Lrt({ref:n.setInputRef},e))})),Jrt(Zrt(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),Jrt(Zrt(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),Jrt(Zrt(n),"renderSuggestionsOverlay",(function(){if(!Jit(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(uot,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,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?Xe.createPortal(a,n.props.suggestionsPortalHost):a})),Jrt(Zrt(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,l=i.value,c=i.style;return o.createElement(iot,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:l,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),Jrt(Zrt(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),Jrt(Zrt(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),Jrt(Zrt(n),"getPlainText",(function(){return Xit(n.props.value||"",Zit(n.props.children))})),Jrt(Zrt(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),Jrt(Zrt(n),"handleChange",(function(e){if(hot=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=Zit(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=Xit(e,r),l=s.length-t.length;"undefined"===i&&(i=a+l),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),u=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+l));var p=Lit(e,r,u,"START"),f=Lit(e,r,d,"END"),h=Lit(e,r,u,"NULL"),m=Lit(e,r,d,"NULL"),g=null===h||null===m,O=qit(e,p,f,c);if(!g){var v=Xit(O,r);if(v!==t){for(u=0;t[u]===v[u];)u++;c=t.slice(u,a),d=s.lastIndexOf(t.substring(a)),p=Lit(e,r,u,"START"),f=Lit(e,r,d,"END"),O=qit(e,p,f,c)}}return O}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=Xit(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,c=function(e,t,n){var r=n,i=!1;if(Uit(e,t,(function(e,t,o,a,s,l,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var u=Wit(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,u)}})),Jrt(Zrt(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!hot){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)}})),Jrt(Zrt(n),"handleKeyDown",(function(e){if(0!==Vit(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(fot).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case fot.ESC:return void n.clearSuggestions();case fot.DOWN:return void n.shiftFocus(1);case fot.UP:return void n.shiftFocus(-1);case fot.RETURN:case fot.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),Jrt(Zrt(n),"shiftFocus",(function(e){var t=Vit(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),Jrt(Zrt(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(Xrt(e),Xrt(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),Jrt(Zrt(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)})),Jrt(Zrt(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),Jrt(Zrt(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),Jrt(Zrt(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),c=Oot(s,"font-size"),u={left:l.left+e.left,top:l.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var p={};if(r){p.position="fixed";var f=u.left,h=u.top;f-=Oot(a,"margin-left"),h-=Oot(a,"margin-top"),f-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=f,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?p.top=Math.max(0,h-a.offsetHeight-c):p.top=h}else{var g=e.left-s.scrollLeft,O=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,i&&u.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-c-s.scrollTop?p.top=O-a.offsetHeight-c:p.top=O}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),Jrt(Zrt(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),Jrt(Zrt(n),"handleCompositionStart",(function(){hot=!0})),Jrt(Zrt(n),"handleCompositionEnd",(function(){hot=!1})),Jrt(Zrt(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),Jrt(Zrt(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=Zit(i),s=Lit(r,a,t,"NULL");if(null!==s){var l=function(e,t){var n=Wit(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(l,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=Dit(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=l+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),Jrt(Zrt(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),Jrt(Zrt(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,l=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;Kit(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,l),u=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));u instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,u)})),Jrt(Zrt(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=pot({},n.suggestions,Jrt({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,c=Vit(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=c?Math.max(c-1,0):l})}})),Jrt(Zrt(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,l=t.plainTextValue,c=n.props.value||"",u=Zit(n.props.children),d=h.toArray(n.props.children)[o].props,p=d.markup,f=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,O=Lit(c,u,a,"START"),v=O+s-a,y=function(e,t,n){return e.replace(Ait,t).replace(Rit,n)}(p,r,i);m&&(y+=" ");var b=qit(c,O,v,y);n.inputElement.focus();var w=f(r,i);m&&(w+=" ");var x=a+w.length;n.setState({selectionStart:x,selectionEnd:x,setSelectionAfterMentionChange:!0});var _={target:{value:b}},k=Wit(b,u),S=qit(l,a,s,w);n.executeOnChange(_,b,S,k),g&&g(r,i,O,v),n.clearSuggestions()})),Jrt(Zrt(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),Jrt(Zrt(n),"isOpened",(function(){return Jit(n.state.selectionStart)&&(0!==Vit(n.state.suggestions)||n.isLoading())})),Jrt(Zrt(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(Zrt(n)),n.handleCut=n.handleCut.bind(Zrt(n)),n.handlePaste=n.handlePaste.bind(Zrt(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return Krt(t,o.Component),Frt(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",Lrt({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,r=t.selectionEnd,i=this.props,o=i.value,a=i.children,s=Zit(a),l=Lit(o,s,n,"START"),c=Lit(o,s,r,"END"),u=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=qit(o,l,c,u||d).replace(/\r/g,""),f=Xit(p,s),h={target:pot({},e.target,{value:p})};this.executeOnChange(h,p,f,Wit(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=Zit(o),l=Lit(a,s,n,"START"),c=Lit(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(l,c))}},{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,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=Zit(o),l=Lit(a,s,n,"START"),c=Lit(a,s,r,"END"),u=[a.slice(0,l),a.slice(c)].join(""),d=Xit(u,s),p={target:pot({},e.target,{value:d})};this.executeOnChange(p,u,d,Wit(a,s))}}}]),t}();Jrt(got,"propTypes",mot),Jrt(got,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Oot=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},vot=not({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:pot({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}}))(got),yot={fontWeight:"inherit"},bot=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=Iit(yot,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};bot.propTypes={onAdd:b0.func,onRemove:b0.func,renderSuggestion:b0.func,trigger:b0.oneOfType([b0.string,b0.instanceOf(RegExp)]),markup:b0.string,displayTransform:b0.func,allowSpaceInQuery:b0.bool,isLoading:b0.bool},bot.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 wot=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 xot(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=wot.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var _ot=[".DS_Store","Thumbs.db"];function kot(e){return Va(this,void 0,void 0,(function(){return Ba(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?Pot(e.dataTransfer,e.type):Sot(e))];var n}))}))}function Sot(e){return(null!==e.target&&e.target.files?$ot(e.target.files):[]).map((function(e){return xot(e)}))}function Pot(e,t){return Va(this,void 0,void 0,(function(){var n;return Ba(this,(function(r){switch(r.label){case 0:return e.items?(n=$ot(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(Eot))]):[3,2];case 1:return[2,Cot(Tot(r.sent()))];case 2:return[2,Cot($ot(e.files).map((function(e){return xot(e)})))]}}))}))}function Cot(e){return e.filter((function(e){return-1===_ot.indexOf(e.name)}))}function $ot(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function Eot(e){if("function"!=typeof e.webkitGetAsEntry)return Qot(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Dot(t):Qot(e)}function Tot(e){return e.reduce((function(e,t){return Ha(e,Array.isArray(t)?Tot(t):[t])}),[])}function Qot(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=xot(t);return Promise.resolve(n)}function Iot(e){return Va(this,void 0,void 0,(function(){return Ba(this,(function(t){return[2,e.isDirectory?Dot(e):Aot(e)]}))}))}function Dot(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return Va(o,void 0,void 0,(function(){var o,a,s;return Ba(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(r)];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(Iot)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Aot(e){return Va(this,void 0,void 0,(function(){return Ba(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=xot(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function Rot(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}function zot(e,t,n){if(Not(e.size)){if(Not(t)&&Not(n))return e.size>=t&&e.size<=n;if(Not(t))return e.size>=t;if(Not(n))return e.size<=n}return!0}function Not(e){return null!=e}function Mot(e,t,n,r){return e.every((function(e){return Rot(e,t)&&zot(e,n,r)}))}function jot(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Uot(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 Xot(e){e.preventDefault()}function Lot(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function qot(e){return-1!==e.indexOf("Edge/")}function Wot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Lot(e)||qot(e)}function Fot(){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,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!jot(e)&&t&&t.apply(void 0,[e].concat(r)),jot(e)}))}}function Vot(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 Bot(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=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Zot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zot(n,!0).forEach((function(t){Got(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Got(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hot(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Kot=w((function(e,t){var n=e.children,r=tat(Hot(e,["children"])),i=r.open,a=Hot(r,["open"]);return k(t,(function(){return{open:i}}),[i]),o.createElement(_,null,n(Yot({},a,{open:i})))}));Kot.displayName="Dropzone",Kot.propTypes={children:b0.func,accept:b0.oneOfType([b0.string,b0.arrayOf(b0.string)]),multiple:b0.bool,preventDropOnDocument:b0.bool,noClick:b0.bool,noKeyboard:b0.bool,noDrag:b0.bool,noDragEventsBubbling:b0.bool,minSize:b0.number,maxSize:b0.number,disabled:b0.bool,getFilesFromEvent:b0.func,onFileDialogCancel:b0.func,onDragEnter:b0.func,onDragLeave:b0.func,onDragOver:b0.func,onDrop:b0.func,onDropAccepted:b0.func,onDropRejected:b0.func};var Jot,eat={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function tat(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,i=e.getFilesFromEvent,o=void 0===i?kot:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,O=e.onDragEnter,v=e.onDragLeave,y=e.onDragOver,b=e.onDrop,w=e.onDropAccepted,x=e.onDropRejected,_=e.onFileDialogCancel,k=e.preventDropOnDocument,S=void 0===k||k,P=e.noClick,C=void 0!==P&&P,$=e.noKeyboard,E=void 0!==$&&$,T=e.noDrag,Q=void 0!==T&&T,I=e.noDragEventsBubbling,D=void 0!==I&&I,A=c(null),R=c(null),z=f(nat,eat),N=Bot(z,2),M=N[0],j=N[1],U=M.isFocused,X=M.isFileDialogActive,L=M.draggedFiles,q=p((function(){R.current&&(j({type:"openDialog"}),R.current.value=null,R.current.click())}),[j]),W=function(){X&&setTimeout((function(){R.current&&(R.current.files.length||(j({type:"closeDialog"}),"function"==typeof _&&_()))}),300)};u((function(){return window.addEventListener("focus",W,!1),function(){window.removeEventListener("focus",W,!1)}}),[R,X,_]);var F=p((function(e){A.current&&A.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),q()))}),[A,R]),V=p((function(){j({type:"focus"})}),[]),B=p((function(){j({type:"blur"})}),[]),Z=p((function(){C||(Wot()?setTimeout(q,0):q())}),[R,C]),Y=c([]),G=function(e){A.current&&A.current.contains(e.target)||(e.preventDefault(),Y.current=[])};u((function(){return S&&(document.addEventListener("dragover",Xot,!1),document.addEventListener("drop",G,!1)),function(){S&&(document.removeEventListener("dragover",Xot),document.removeEventListener("drop",G))}}),[A,S]);var H=p((function(e){e.preventDefault(),e.persist(),ie(e),-1===Y.current.indexOf(e.target)&&(Y.current=[].concat(Vot(Y.current),[e.target])),Uot(e)&&Promise.resolve(o(e)).then((function(t){jot(e)&&!D||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),O&&O(e))}))}),[o,O,D]),K=p((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Uot(e)&&y&&y(e),!1}),[y,D]),J=p((function(e){e.preventDefault(),e.persist(),ie(e);var t=Y.current.filter((function(t){return t!==e.target&&A.current&&A.current.contains(t)}));Y.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Uot(e)&&v&&v(e))}),[A,v,D]),ee=p((function(e){e.preventDefault(),e.persist(),ie(e),Y.current=[],j({type:"reset"}),Uot(e)&&Promise.resolve(o(e)).then((function(n){if(!jot(e)||D){var r=[],i=[];n.forEach((function(e){Rot(e,t)&&zot(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,Vot(r.splice(0))),j({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),b&&b(r,i,e),i.length>0&&x&&x(i,e),r.length>0&&w&&w(r,e)}}))}),[g,t,h,s,o,b,w,x,D]),te=function(e){return r?null:e},ne=function(e){return E?null:te(e)},re=function(e){return Q?null:te(e)},ie=function(e){D&&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,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,p=Hot(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Yot(Got({onKeyDown:ne(Fot(i,F)),onFocus:ne(Fot(o,V)),onBlur:ne(Fot(a,B)),onClick:te(Fot(s,Z)),onDragEnter:re(Fot(l,H)),onDragOver:re(Fot(c,K)),onDragLeave:re(Fot(u,J)),onDrop:re(Fot(d,ee))},n,A),r||E?{}:{tabIndex:0},{},p)}}),[A,F,V,B,Z,H,K,J,ee,E,Q,r]),ae=p((function(e){e.stopPropagation()}),[]),se=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=Hot(e,["refKey","onChange","onClick"]),s=Got({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(Fot(i,ee)),onClick:te(Fot(o,ae)),autoComplete:"off",tabIndex:-1},r,R);return Yot({},s,{},a)}}),[R,t,g,ee,r]),le=L.length,ce=g||le<=1,ue=le>0&&Mot(L,t,h,s),de=le>0&&(!ue||!ce);return Yot({},M,{isDragAccept:ue,isDragReject:de,isFocused:U&&!r,getRootProps:oe,getInputProps:se,rootRef:A,inputRef:R,open:te(q)})}function nat(e,t){switch(t.type){case"focus":return Yot({},e,{isFocused:!0});case"blur":return Yot({},e,{isFocused:!1});case"openDialog":return Yot({},e,{isFileDialogActive:!0});case"closeDialog":return Yot({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return Yot({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return Yot({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Yot({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(Jot||(Jot={}));var rat={exports:{}},iat=(rat.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:B(e)}function r(e){return s(e)?e:Z(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!c(e)?e:G(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,O=1<<g,v=O-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function P(e){return void 0===e.size&&(e.size=e.__iterate($)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function $(){return!0}function E(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function Q(e,t){return I(e,t,t)}function I(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,A=1,R=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",M=z||N;function j(e){this.next=e}function U(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function X(){return{value:void 0,done:!0}}function L(e){return!!F(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=F(e);return t&&t.call(e)}function F(e){var t=e&&(z&&e[z]||e[N]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function B(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Z(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function G(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=D,j.VALUES=A,j.ENTRIES=R,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[M]=function(){return this},t(B,n),B.of=function(){return B(arguments)},B.prototype.toSeq=function(){return this},B.prototype.toString=function(){return this.__toString("Seq {","}")},B.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},B.prototype.__iterate=function(e,t){return de(this,e,t,!0)},B.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(Z,B),Z.prototype.toKeyedSeq=function(){return this},t(Y,B),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(G,B),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},B.isSeq=oe,B.Keyed=Z,B.Set=G,B.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new ie(e).fromEntrySeq():L(e)?new re(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=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(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 ue(e){return V(e)?new te(e):q(e)?new ie(e):L(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new j((function(){var e=i[n?o-a:a];return a++>o?X():U(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Z(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?Z(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Oe(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 ve(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)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&Oe(i[1],e)&&(n||Oe(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,r){if(n?!e.has(t):i?!Oe(t,e.get(r,y)):!Oe(e.get(r,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(be(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 xe(){throw TypeError("Abstract")}function _e(){}function ke(){}function Se(){}B.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new j((function(){return i>r?X():U(e,i,n[t?r-i++:i++])}))},t(ne,Z),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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new j((function(){var a=r[t?i-o:o];return o++>i?X():U(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(q(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!q(n))return new j(X);var r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new j((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return U(e,i,r[i++])}))},t(ye,Y),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return Oe(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:new ye(this._value,Q(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return Oe(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return Oe(this._value,e)?this.size:-1},ye.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},ye.prototype.__iterator=function(e,t){var n=this,r=0;return new j((function(){return r<n.size?U(e,r++,n._value):X()}))},ye.prototype.equals=function(e){return e instanceof ye?Oe(this._value,e._value):ve(e)},t(we,Y),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return E(e,t,this.size)?this:(e=T(e,this.size),(t=Q(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new j((function(){var a=i;return i+=t?-r:r,o>n?X():U(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ve(this,e)},t(xe,n),t(_e,xe),t(ke,xe),t(Se,xe),xe.Keyed=_e,xe.Indexed=ke,xe.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function $e(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 Ce(n)}if("string"===t)return e.length>je?Ee(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Qe(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ee(e){var t=Le[e];return void 0===t&&(t=Te(e),Xe===Ue&&(Xe=0,Le={}),Xe++,Le[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function Qe(e){var t;if(ze&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=Ae(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Re.set(e,t);else{if(void 0!==Ie&&!1===Ie(e))throw new Error("Non-extensible objects are not allowed as keys.");if(De)Object.defineProperty(e,Me,{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[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ae(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,ze="function"==typeof WeakMap;ze&&(Re=new WeakMap);var Ne=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var je=16,Ue=255,Xe=0,Le={};function qe(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?it():Fe(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Be])}t(We,_e),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,y)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,xn(e),t,n);return r===y?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},We.prototype.merge=function(){return pt(this,void 0,arguments)},We.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return pt(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return Lt(dn(this,e))},We.prototype.sortBy=function(e,t){return Lt(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=Fe;var Ve,Be="@@__IMMUTABLE_MAP__@@",Ze=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ze);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return Ve||(Ve=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=x(b),a=x(w);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;i=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===y?e:(_(s),_(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ke(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Ge(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,$e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(O),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new He(e,o+1,a)}function pt(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],l=r(s);a(s)||(l=l.map((function(e){return fe(e)}))),i.push(l)}return mt(e,t,i)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):Oe(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return Oe(t,i)?t:i}}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 r=t?function(n,r){e.update(r,y,(function(e){return e===y?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===y,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}be(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?y:e.get(l,y),u=gt(c,t,n,r);return u===c?e:u===y?e.remove(l):(i?it():e).set(l,u)}function Ot(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function vt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function yt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function bt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ze[Be]=!0,Ze[m]=Ze.remove,Ze.removeIn=Ze.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ye.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===y,l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ye(e,f)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[Ot(o&i-1)].get(e+g,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===y)return this;var d=Ot(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,r,i,o,a);if(h===f)return this;if(!u&&h&&p.length>=xt)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,O=u?h?c:c^l:c|l,b=u?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=O,this.nodes=b,this):new Ge(e,O,b)},He.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=i===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<_t)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new He(e,p,h)},Ke.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=i===y;if(n!==this.keyHash)return s?this:(_(a),_(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return Oe(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=Oe(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(_(a),s?void _(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(_(o),lt(this,e,t,$e(r),[r,i])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},Ge.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return X()};var wt=O/4,xt=O/2,_t=O/4;function kt(e){var t=At();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(qe(r),r>0&&r<O?Dt(0,r,g,null,new $t(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&v]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):At()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Ut(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:jt(this,T(e,n),Q(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new j((function(){var t=r();return t===Qt?X():U(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Qt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function $t(e,t){this.array=e,this.ownerID=t}Ct[Pt]=!0,Ct[m]=Ct.remove,Ct.setIn=Ze.setIn,Ct.deleteIn=Ct.removeIn=Ze.removeIn,Ct.update=Ze.update,Ct.updateIn=Ze.updateIn,Ct.mergeIn=Ze.mergeIn,Ct.mergeDeepIn=Ze.mergeDeepIn,Ct.withMutations=Ze.withMutations,Ct.asMutable=Ze.asMutable,Ct.asImmutable=Ze.asImmutable,Ct.wasAltered=Ze.wasAltered,$t.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&v;if(r>=this.array.length)return new $t([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Nt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},$t.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&v;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Nt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Et,Tt,Qt={};function It(e,t){var n=e._origin,r=e._capacity,i=Xt(r),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===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>O&&(c=O),function(){if(l===c)return Qt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>O&&(u=O),function(){for(;;){if(s){var e=s();if(e!==Qt)return e;s=null}if(c===u)return Qt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function At(){return Et||(Et=Dt(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=Xt(e._capacity)?r=zt(r,e.__ownerID,0,t,n,o):i=zt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Dt(e._origin,e._capacity,e._level,i,r):e}function zt(e,t,n,r,i,o){var a,s=r>>>n&v,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=zt(c,t,n-g,r,i,o);return u===c?e:((a=Nt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(_(o),a=Nt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Nt(e,t){return t&&e&&t===e.ownerID?e:new $t(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Xt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new $t(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Xt(o),p=Xt(s);p>=1<<l+g;)c=new $t(c&&c.array.length?[c]:[],r),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new $t([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=Nt(c,r),O=l;O>g;O-=g){var y=d>>>O&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>g&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(u=0;c;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(u+=(1<<l)*b),l-=g,c=c.array[b]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,c,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Xt(e){return e<O?0:e-1>>>g<<g}function Lt(e){return null==e?Ft():qt(e)?e:Ft().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Fe(e)&&u(e)}function Wt(e,t,n,r){var i=Object.create(Lt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ft(){return Tt||(Tt=Wt(it(),At()))}function Vt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=O&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),r=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Wt(r,i)}function Bt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Ht(e){var t=yn(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=bn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new j((function(){var e=r.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===A?D:A,n)},t}function Kt(e,t,n){var r=yn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,y);return o===y?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(R,i);return new j((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return U(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=bn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=yn(e);return r&&(i.has=function(r){var i=e.get(r,y);return i!==y&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,y);return o!==y&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(R,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return U(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Lt():We()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=vn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),E(t,n,i))return e;var o=T(t,i),a=Q(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new j((function(){for(;a++<o;)i.next();if(++l>s)return X();var e=i.next();return r||t===A?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(R,i),s=!0;return new j((function(){if(!s)return X();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===R?e:U(r,l,c,e):(s=!1,X())}))},r}function an(e,t,n,r){var i=yn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(R,o),l=!0,c=0;return new j((function(){var e,o,u;do{if((e=s.next()).done)return r||i===A?e:U(i,c++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===R?e:U(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:U(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return X()}))},r}function cn(e,t,n){var r=vn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(A,r),a=0;return new j((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?U(n,a++,t):U(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=wn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Z(o):l(e)?Y(o):G(o)}function pn(e,t,n){if(t||(t=wn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=yn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(A,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),W(i?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?X():U(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}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 On(e){return qe(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?Z:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):B.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=W(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(n(e))}return t}function _n(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);Cn(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=We(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Lt,We),Lt.of=function(){return this(arguments)},Lt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Lt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Lt.prototype.set=function(e,t){return Vt(this,e,t)},Lt.prototype.remove=function(e){return Vt(this,e,y)},Lt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Lt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Lt.isOrderedMap=qt,Lt.prototype[h]=!0,Lt.prototype[m]=Lt.prototype.remove,t(Bt,Z),Bt.prototype.get=function(e,t){return this._iter.get(e,t)},Bt.prototype.has=function(e){return this._iter.has(e)},Bt.prototype.valueSeq=function(){return this._iter.valueSeq()},Bt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Bt.prototype.map=function(e,t){var n=this,r=Kt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Bt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?On(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Bt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(A,t),r=t?On(this):0;return new j((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Bt.prototype[h]=!0,t(Zt,Y),Zt.prototype.includes=function(e){return this._iter.includes(e)},Zt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t),r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value,t)}))},t(Yt,G),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,Z),Gt.prototype.entrySeq=function(){return this._iter.toSeq()},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Zt.prototype.cacheResult=Bt.prototype.cacheResult=Yt.prototype.cacheResult=Gt.prototype.cacheResult=bn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.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},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},_n.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)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=_n.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Pn(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach($n.bind(void 0,e))}catch(e){}}function $n(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function En(e){return null==e?zn():Tn(e)&&!u(e)?e:zn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ze.removeIn,kn.merge=Ze.merge,kn.mergeWith=Ze.mergeWith,kn.mergeIn=Ze.mergeIn,kn.mergeDeep=Ze.mergeDeep,kn.mergeDeepWith=Ze.mergeDeepWith,kn.mergeDeepIn=Ze.mergeDeepIn,kn.setIn=Ze.setIn,kn.update=Ze.update,kn.updateIn=Ze.updateIn,kn.withMutations=Ze.withMutations,kn.asMutable=Ze.asMutable,kn.asImmutable=Ze.asImmutable,t(En,Se),En.of=function(){return this(arguments)},En.fromKeys=function(e){return this(r(e).keySeq())},En.prototype.toString=function(){return this.__toString("Set {","}")},En.prototype.has=function(e){return this._map.has(e)},En.prototype.add=function(e){return An(this,this._map.set(e,!0))},En.prototype.remove=function(e){return An(this,this._map.remove(e))},En.prototype.clear=function(){return An(this,this._map.clear())},En.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])},En.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)}))}))},En.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)}))}))},En.prototype.merge=function(){return this.union.apply(this,arguments)},En.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},En.prototype.sort=function(e){return Nn(dn(this,e))},En.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},En.prototype.wasAltered=function(){return this._map.wasAltered()},En.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},En.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},En.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)},En.isSet=Tn;var Qn,In="@@__IMMUTABLE_SET__@@",Dn=En.prototype;function An(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(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Qn||(Qn=Rn(it()))}function Nn(e){return null==e?Ln():Mn(e)?e:Ln().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Ze.withMutations,Dn.asMutable=Ze.asMutable,Dn.asImmutable=Ze.asImmutable,Dn.__empty=zn,Dn.__make=Rn,t(Nn,En),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(r(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Mn;var jn,Un=Nn.prototype;function Xn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return jn||(jn=Xn(Ft()))}function qn(e){return null==e?Yn():Wn(e)?e:Yn().unshiftAll(e)}function Wn(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Ln,Un.__make=Xn,t(qn,ke),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Zn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Zn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(E(e,t,this.size))return this;var n=T(e,this.size);if(Q(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Zn(r,i)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Zn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new j((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return X()}))},qn.isStack=Wn;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Bn=qn.prototype;function Zn(e,t,n,r){var i=Object.create(Bn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Zn(0))}function Gn(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}Bn[Vn]=!0,Bn.withMutations=Ze.withMutations,Bn.asMutable=Ze.asMutable,Bn.asImmutable=Ze.asImmutable,Bn.wasAltered=Ze.wasAltered,n.Iterator=j,Gn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Zt(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 Bt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Lt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return En(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return Oe(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(D)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var r,i;return qe(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,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(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ve(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find($)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return Oe(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=xn(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,y):y)===y)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?nr(e):or)},minBy:function(e,t){return pn(this,t?nr(t):or,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(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[M]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=rr,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Gn(r,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return Oe(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return Oe(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Kn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr($e(e),$e(t))|0}:function(e,t){r=r+lr($e(e),$e(t))|0}:t?function(e){r=31*r+$e(e)|0}:function(e){r=r+$e(e)|0});return sr(i,r)}function sr(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Bt(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 r=this.slice(0,e);return mn(this,1===n?r:r.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=C(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=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[f]=!0,i.prototype[h]=!0,Gn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Gn(Z,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(ke,i.prototype),Gn(Se,o.prototype),{Iterable:n,Seq:B,Collection:xe,Map:We,OrderedMap:Lt,List:kt,Stack:qn,Set:En,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:Oe,fromJS:fe}}()).OrderedMap,oat={createFromArray:function(e){return iat(e.map((function(e){return[e.getKey(),e]})))}},aat=oat;var sat=rat.exports,lat=sat.Map,cat=sat.OrderedSet,uat=sat.Record,dat=cat(),pat={style:dat,entity:null},fat=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return hat;var t=lat({style:dat,entity:null}).merge(e),n=mat.get(t);if(n)return n;var i=new r(t);return mat=mat.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?cat(t):t,entity:Array.isArray(n)?cat(n):n})},r}(uat(pat)),hat=new fat,mat=lat([[lat(pat),hat]]);fat.EMPTY=hat;var gat=fat;var Oat=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}};var vat=gat,yat=Oat,bat=rat.exports,wat=bat.List,xat=bat.Map,_at=bat.OrderedSet,kat=bat.Record,Sat=bat.Repeat,Pat=_at(),Cat=kat({key:"",type:"unstyled",text:"",characterList:wat(),depth:0,data:xat()}),$at=function(e){var t,n;function r(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=wat(Sat(vat.EMPTY,n.length))),e}(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Pat},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){yat(this.getCharacterList(),Eat,e,t)},i.findEntityRanges=function(e,t){yat(this.getCharacterList(),Tat,e,t)},r}(Cat);function Eat(e,t){return e.getStyle()===t.getStyle()}function Tat(e,t){return e.getEntity()===t.getEntity()}var Qat=$at;var Iat=gat,Dat=Oat,Aat=rat.exports,Rat=Aat.List,zat=Aat.Map,Nat=Aat.OrderedSet,Mat=Aat.Record,jat=Aat.Repeat,Uat=Nat(),Xat={parent:null,characterList:Rat(),data:zat(),depth:0,key:"",text:"",type:"unstyled",children:Rat(),prevSibling:null,nextSibling:null},Lat=function(e,t){return e.getStyle()===t.getStyle()},qat=function(e,t){return e.getEntity()===t.getEntity()},Wat=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Rat(jat(Iat.EMPTY,n.length))),e},Fat=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xat;return e.call(this,Wat(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Uat},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){Dat(this.getCharacterList(),Lat,e,t)},i.findEntityRanges=function(e,t){Dat(this.getCharacterList(),qat,e,t)},r}(Mat(Xat)),Vat=Fat,Bat=gat,Zat=rat.exports.Map;function Yat(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(Zat([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=l):(i=t===o?a:0,c=t===s?l:e.getLength());for(var u,d=e.getCharacterList();i<c;)u=d.get(i),d=d.set(i,r?Bat.applyStyle(u,n):Bat.removeStyle(u,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var Gat={add:function(e,t,n){return Yat(e,t,n,!0)},remove:function(e,t,n){return Yat(e,t,n,!1)}},Hat=gat;var Kat=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,Hat.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},Jat=Kat,est=rat.exports;var tst=function(e,t,n){var r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=r.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(est.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,l=t===a?s:e.getLength();return Jat(e,r,l,n)}));return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})},nst={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,l=null,c=null,u=0;u<o.length;u++){if(e<(a=s+o[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=r+n.length,p=l===r,f=c===d;return(!p&&f||p&&!f)&&("forward"===i?c!==d&&c++:l!==r&&l--),{start:l,end:c}}},rst="production"!==Ns.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var ist=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(rst(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(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},ost=ist;var ast=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?ost(!1,"Entity key not found in this range."):ost(!1)),n},sst=nst,lst=ast,cst=ist;function ust(e,t,n,r,i,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),c=e.__get(i).getMutability(),u=a?s:l;if("MUTABLE"===c)return n;var d=lst(t,i).filter((function(e){return u<=e.end&&u>=e.start}));1!=d.length&&("production"!==Ns.env.NODE_ENV?cst(!1,"There should only be one entity range within this removal range."):cst(!1));var p=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var f=sst.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,r);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var dst=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return r;var c=r;if(s&&s===l)c=ust(e,t,c,i,s,!0,!0);else if(s&&l){var u=ust(e,t,c,i,s,!1,!0),d=ust(e,n,c,i,l,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=ust(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var f=ust(e,n,c,i,l,!1,!1);c=c.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return c},pst={},fst=Math.pow(2,24);var hst=function(){for(var e;void 0===e||pst.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*fst).toString(32);return pst[e]=!0,e},mst=Vat,gst=hst,Ost=rat.exports.OrderedMap,vst=function(e){return e.first()instanceof mst?function(e){var t,n={};return Ost(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),l=r.getChildKeys(),c=r.getParentKey(),u=gst();if(n[o]=u,a&&(e.get(a)?e.setIn([a,"prevSibling"],u):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],u):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),u))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],u),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],u):e.setIn([o,"children"],r.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 Ost(e.toArray().map((function(e){var t=gst();return[t,e.set("key",t)]})))}(e)},yst=gat,bst=Oat,wst=ist;function xst(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,c=function(e,t,n){var r;return bst(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&("production"!==Ns.env.NODE_ENV?wst(!1,"Removal range must exist within character list."):wst(!1)),r}(r,s,n),u=c.start,d=c.end;u<d;)l=r.get(u),r=r.set(u,yst.applyEntity(l,null)),u++;return t.set("characterList",r)}return t}var _st=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=xst(r,s,a);l!==s&&(i[o]=l);var c=t.getEndKey(),u=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var p=xst(r,d,u);return p!==d&&(i[c]=p),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},kst=vst,Sst=_st,Pst=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=Sst(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),c=s.indexOf(i)+1;return kst(a.slice(l,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var Cst=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r},$st=aat,Est=Vat,Tst=Cst,Qst=ist,Ist=vst,Dst=rat.exports.List,Ast=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),l=s.getText(),c=s.getCharacterList(),u=i,d=o+r.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=r.getData()}var f=s.getType();l&&"unstyled"===f&&(f=r.getType());var h=s.merge({text:l.slice(0,o)+r.getText()+l.slice(o),characterList:Tst(c,r.getCharacterList(),o),type:f,data:p});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},Rst=function(e,t,n,r,i,o){var a=n.first()instanceof Est,s=[],l=r.size,c=n.get(i),u=r.first(),d=r.last(),p=d.getLength(),f=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.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,r)),r.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,r))):s.push(e)}));var m=$st.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=l[l.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var u=e.get(s).getChildKeys(),d=u.indexOf(i)+1,p=u.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],Dst(p))}}))}(m,0,c,u)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},zst=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ns.env.NODE_ENV?Qst(!1,"`insertFragment` should only be called with a collapsed selection state."):Qst(!1));var i=e.getBlockMap(),o=Ist(n),a=t.getStartKey(),s=t.getStartOffset(),l=i.get(a);return l instanceof Est&&(l.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?Qst(!1,"`insertFragment` should not be called when a container node is selected."):Qst(!1))),1===o.size?Ast(e,t,i,o.first(),a,s,r):Rst(e,t,i,o,a,s)},Nst=Cst,Mst=ist,jst=rat.exports.Repeat;var Ust=function(e,t,n,r){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?Mst(!1,"`insertText` should only be called with a collapsed range."):Mst(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),c=l.getText(),u=l.merge({text:c.slice(0,s)+n+c.slice(s,l.getLength()),characterList:Nst(l.getCharacterList(),jst(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,u),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},Xst=rat.exports.Map;var Lst=function(e,t,n){var r=t.getStartKey(),i=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===i})).concat(Xst([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},qst=Vat,Wst=function(e,t){if(!(e instanceof qst))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var i=t.get(r);i&&!i.getNextSiblingKey();){var o=i.getParentKey();i=o?t.get(o):null}return i?i.getNextSiblingKey():null},Fst=Vat,Vst=Wst,Bst=rat.exports;Bst.List;var Zst=Bst.Map,Yst=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},Gst=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},Hst=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},Kst=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},Jst=function(e,t,n,r){return e.withMutations((function(i){if(Yst(t.getKey(),i,(function(e){return e.merge({nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})})),Yst(n.getKey(),i,(function(e){return e.merge({nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})})),Gst(t.getKey(),r).forEach((function(e){return Yst(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})}))})),Yst(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),Yst(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:Hst(e,i,r)})})),Yst(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:Kst(e,i,r)})})),Yst(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),Gst(n.getKey(),r).forEach((function(e){Yst(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=Vst(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?Vst(i,t):null}return n}(n,r).forEach((function(e){return Yst(e,i,(function(e){return e.merge({nextSibling:Hst(e,i,r),prevSibling:Kst(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();Yst(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),Yst(o,i,(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){Yst(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);Yst(s,i,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}Yst(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},elt=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 r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e},tlt=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=r.get(i),c=r.get(a),u=l instanceof Fst,d=[];if(u){var p=c.getChildKeys(),f=Gst(a,r);c.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(Gst(Vst(c,r),r))}n=l===c?elt(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=u&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?Zst([[i,null]]):r.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(Zst([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return u&&l!==c&&(g=Jst(g,l,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},nlt=Vat,rlt=hst,ilt=rat.exports,olt=ist,alt=Lst,slt=ilt.List,llt=ilt.Map,clt=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},ult=function(e,t){t.isCollapsed()||("production"!==Ns.env.NODE_ENV?olt(!1,"Selection range must be collapsed."):olt(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),i=r.get(n),o=i.getText();if(!o){var a=i.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return alt(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=i.getCharacterList(),c=rlt(),u=i instanceof nlt,d=i.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:c,text:o.slice(s),characterList:l.slice(s),data:llt()}),f=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=f.concat([[n,d],[c,p]],h).toOrderedMap();return u&&(i.getChildKeys().isEmpty()||("production"!==Ns.env.NODE_ENV?olt(!1,"ContentBlockNode must not have children"):olt(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();clt(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:slt(o)})})),clt(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),clt(r,e,(function(e){return e.merge({nextSibling:i})})),clt(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},dlt=gat,plt=Gat,flt=tst,hlt=dst,mlt=Pst,glt=zst,Olt=Ust,vlt=ist,ylt=Lst,blt=_st,wlt=tlt,xlt=ult,_lt=rat.exports.OrderedSet,klt={replaceText:function(e,t,n,r,i){var o=blt(e,t),a=wlt(o,t),s=dlt.create({style:r||_lt(),entity:i||null});return Olt(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Ns.env.NODE_ENV?vlt(!1,"Target range must be collapsed for `insertText`."):vlt(!1)),klt.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=mlt(e,t),i=klt.removeRange(e,t,"backward");return klt.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=blt(e,t),o=wlt(i,t);return glt(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(s),u=a.getEntityAt(l-1);if(r===i&&c&&c===u){var d=hlt(e.getEntityMap(),o,a,t,n);return wlt(e,d)}var p=blt(e,t);return wlt(p,t)},splitBlock:function(e,t){var n=blt(e,t),r=wlt(n,t);return xlt(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return plt.add(e,t,n)},removeInlineStyle:function(e,t,n){return plt.remove(e,t,n)},setBlockType:function(e,t,n){return ylt(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return ylt(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return ylt(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=blt(e,t);return flt(r,t,n)}},Slt=klt;var Plt=function(e){return Object.keys(e).map((function(t){return e[t]}))};function Clt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $lt=Oat,Elt=Plt,Tlt=rat.exports,Qlt=Tlt.List,Ilt=Tlt.Repeat,Dlt=Tlt.Record,Alt=function(){return!0},Rlt=Dlt({start:null,end:null}),zlt=Dlt({start:null,end:null,decoratorKey:null,leaves:null}),Nlt={generate:function(e,t,n){var r=t.getLength();if(!r)return Qlt.of(new zlt({start:0,end:0,decoratorKey:null,leaves:Qlt.of(new Rlt({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):Qlt(Ilt(null,r)),a=t.getCharacterList();return $lt(o,jlt,Alt,(function(e,t){i.push(new zlt({start:e,end:t,decoratorKey:o.get(e),leaves:Mlt(a.slice(e,t).toList(),e)}))})),Qlt(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new zlt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Clt(e,t,n[t])}))}return e}({},n,{leaves:null!=t?Qlt(Array.isArray(t)?t:Elt(t)).map((function(e){return Rlt(e)})):null}))}};function Mlt(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return $lt(r,jlt,Alt,(function(e,r){n.push(new Rlt({start:e+t,end:r+t}))})),Qlt(n)}function jlt(e,t){return e===t}var Ult=Nlt;var Xlt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,rat.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Llt=Xlt;var qlt=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 Wlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Flt=Llt,Vlt=ist,Blt=qlt,Zlt=(0,rat.exports.Map)(),Ylt=Blt();function Glt(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var Hlt={getLastCreatedEntityKey:function(){return Glt("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Hlt.__getLastCreatedEntityKey()},create:function(e,t,n){return Glt("DraftEntity.create","contentState.createEntity"),Hlt.__create(e,t,n)},add:function(e){return Glt("DraftEntity.add","contentState.addEntity"),Hlt.__add(e)},get:function(e){return Glt("DraftEntity.get","contentState.getEntity"),Hlt.__get(e)},__getAll:function(){return Zlt},__loadWithEntities:function(e){Zlt=e,Ylt=Blt()},mergeData:function(e,t){return Glt("DraftEntity.mergeData","contentState.mergeEntityData"),Hlt.__mergeData(e,t)},replaceData:function(e,t){return Glt("DraftEntity.replaceData","contentState.replaceEntityData"),Hlt.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return Ylt},__create:function(e,t,n){return Hlt.__add(new Flt({type:e,mutability:t,data:n||{}}))},__add:function(e){return Ylt=Blt(),Zlt=Zlt.set(Ylt,e),Ylt},__get:function(e){var t=Zlt.get(e);return t||("production"!==Ns.env.NODE_ENV?Vlt(!1,"Unknown DraftEntity key: %s.",e):Vlt(!1)),t},__mergeData:function(e,t){var n=Hlt.__get(e),r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Wlt(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return Zlt=Zlt.set(e,i),i},__replaceData:function(e,t){var n=Hlt.__get(e).set("data",t);return Zlt=Zlt.set(e,n),n}},Klt=Hlt;var Jlt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,rat.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),ect=Jlt,tct=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},nct=new RegExp("\r","g");var rct=function(e){return e.replace(nct,"")};function ict(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){oct(e,t,n[t])}))}return e}function oct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var act=aat,sct=gat,lct=Qat,cct=Vat,uct=Klt,dct=ect,pct=hst,fct=Plt,hct=tct,mct=rat.exports,gct=rct,Oct=mct.List,vct=mct.Record,yct=mct.Repeat,bct=mct.Map,wct=mct.OrderedMap,xct=vct({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),_ct=hct("draft_tree_data_support")?cct:lct,kct=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getEntityMap=function(){return uct},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return uct.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return uct.__create(e,t,n),this},i.mergeEntityData=function(e,t){return uct.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return uct.__replaceData(e,t),this},i.addEntity=function(e){return uct.__add(e),this},i.getEntity=function(e){return uct.__get(e)},i.getAllEntities=function(){return uct.__getAll()},i.loadWithEntities=function(e){return uct.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=act.createFromArray(n),o=i.isEmpty()?new dct:dct.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||uct,selectionBefore:o,selectionAfter:o})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),i=n.map((function(e){return e=gct(e),new _ct({key:pct(),text:e,type:"unstyled",characterList:Oct(yct(sct.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(ict({},e,{blockMap:wct(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new dct(e.selectionBefore),selectionAfter:new dct(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new _ct(ict({},e,{data:bct(e.data),characterList:null!=t?Oct((Array.isArray(t)?t:fct(t)).map((function(e){return sct.fromJS(e)}))):void 0}))},r}(xct),Sct=kct,Pct=ist,Cct=null;function $ct(e){return"LTR"===e||"RTL"===e}function Ect(e){return $ct(e)||("production"!==Ns.env.NODE_ENV?Pct(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Pct(!1)),"LTR"===e?"ltr":"rtl"}function Tct(e){Cct=e}var Qct={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:$ct,getHTMLDir:Ect,getHTMLDirIfDifferent:function(e,t){return $ct(e)||("production"!==Ns.env.NODE_ENV?Pct(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Pct(!1)),$ct(t)||("production"!==Ns.env.NODE_ENV?Pct(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):Pct(!1)),e===t?null:Ect(e)},setGlobalDir:Tct,initGlobalDir:function(){Tct("LTR")},getGlobalDir:function(){return Cct||this.initGlobalDir(),Cct||("production"!==Ns.env.NODE_ENV?Pct(!1,"Global direction not set."):Pct(!1)),Cct}},Ict=Qct,Dct=ist,Act="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",Rct="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",zct=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Act+Rct+"]"),Nct=new RegExp("["+Act+Rct+"]");function Mct(e){var t=zct.exec(e);return null==t?null:t[0]}function jct(e){var t=Mct(e);return null==t?Ict.NEUTRAL:Nct.exec(t)?Ict.RTL:Ict.LTR}function Uct(e,t){if(t=t||Ict.NEUTRAL,!e.length)return t;var n=jct(e);return n===Ict.NEUTRAL?t:n}function Xct(e,t){return t||(t=Ict.getGlobalDir()),Ict.isStrong(t)||("production"!==Ns.env.NODE_ENV?Dct(!1,"Fallback direction must be a strong direction"):Dct(!1)),Uct(e,t)}var Lct={firstStrongChar:Mct,firstStrongCharDir:jct,resolveBlockDir:Uct,getDirection:Xct,isDirectionLTR:function(e,t){return Xct(e,t)===Ict.LTR},isDirectionRTL:function(e,t){return Xct(e,t)===Ict.RTL}};function qct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wct,Fct=Lct,Vct=Qct,Bct=ist,Zct=function(){function e(e){qct(this,"_defaultDir",void 0),qct(this,"_lastDir",void 0),e?Vct.isStrong(e)||("production"!==Ns.env.NODE_ENV?Bct(!1,"Default direction must be a strong direction (LTR or RTL)"):Bct(!1)):e=Vct.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=Fct.getDirection(e,this._lastDir),this._lastDir},e}(),Yct=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Gct=Zct,Hct=rat.exports,Kct=Yct,Jct=Hct.OrderedMap,eut={getDirectionMap:function(e,t){Wct?Wct.reset():Wct=new Gct;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return Kct(Wct).getDirection(e.getText())})),i=Jct(n.keySeq().zip(r));return null!=t&&Hct.is(t,i)?t:i}};function tut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nut(e,t,n[t])}))}return e}function nut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rut=Ult,iut=Sct,out=eut,aut=ect,sut=rat.exports,lut=sut.OrderedSet,cut=sut.Record,uut=sut.Stack,dut=sut.OrderedMap,put=sut.List,fut=cut({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:uut(),selection:null,treeMap:null,undoStack:uut()}),hut=function(){t.createEmpty=function(e){return t.createWithContent(iut.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:uut(),redoStack:uut(),decorator:n||null,selection:aut.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=tut({},e,{treeMap:gut(n,e.decorator),directionMap:out.getDirectionMap(n)});return new t(new fut(r))},t.fromJS=function(e){return new t(new fut(tut({},e,{directionMap:null!=e.directionMap?dut(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?lut(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?iut.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?uut(e.redoStack.map((function(e){return iut.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new aut(e.selection):e.selection,treeMap:null!=e.treeMap?dut(e.treeMap).map((function(e){return put(e).map((function(e){return rut.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?uut(e.undoStack.map((function(e){return iut.fromJS(e)}))):e.undoStack,currentContent:iut.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var o=n.currentContent||e.getCurrentContent();if(i!==r){var a,s=t.get("treeMap");return a=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return rut.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):gut(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return rut.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){nut(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(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return vut(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return vut(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 mut(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),mut(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new aut({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=out.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||Out(e,r)?(l=l.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var u=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(u=null);var p={currentContent:c,directionMap:o,undoStack:l,redoStack:uut(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:u};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=out.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=out.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function mut(e,t,n){return hut.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function gut(e,t){return e.getBlockMap().map((function(n){return rut.generate(e,n,t)})).toOrderedMap()}function Out(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function vut(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):lut()}var yut=hut,but=Vat,wut=Wst,xut=rat.exports,_ut=ist,kut=xut.OrderedMap,Sut=xut.List,Put=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},Cut=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),c=t.getNextSiblingKey(),u=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){Put(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),Put(u,e,(function(e){return e.merge({nextSibling:c})})),Put(c,e,(function(e){return e.merge({prevSibling:u})})),Put(p,e,(function(e){return e.merge({prevSibling:a})})),Put(f,e,(function(e){return e.merge({nextSibling:a})})),Put(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:Sut(i)})})),Put(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},$ut=function(e,t,n,r){"replace"===r&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Replacing blocks is not supported."):_ut(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Block cannot be moved next to itself."):_ut(!1));var a=e.getBlockMap(),s=t instanceof but,l=[t],c=a.delete(o);s&&(l=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=wut(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var u=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),f=kut();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Block cannot be moved next to itself."):_ut(!1)),f=u.concat([].concat(p,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Ns.env.NODE_ENV?_ut(!1,"Block cannot be moved next to itself."):_ut(!1)),f=u.concat([[i,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:Cut(f,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function Eut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Tut(e,t,n[t])}))}return e}function Tut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qut=aat,Iut=gat,Dut=Qat,Aut=Vat,Rut=Slt,zut=yut,Nut=hst,Mut=rat.exports,jut=$ut,Uut=tct("draft_tree_data_support"),Xut=Uut?Aut:Dut,Lut=Mut.List,qut=Mut.Repeat,Wut={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=Rut.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=Rut.splitBlock(o,a),l=s.getSelectionAfter(),c=Rut.setBlockType(s,l,"atomic"),u=Iut.create({entity:t}),d={key:Nut(),type:"atomic",text:n,characterList:Lut(qut(u,n.length))},p={key:Nut(),type:"unstyled"};Uut&&(d=Eut({},d,{nextSibling:p.key}),p=Eut({},p,{prevSibling:d.key}));var f=[new Xut(d),new Xut(p)],h=Qut.createFromArray(f),m=Rut.replaceWithFragment(c,l,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return zut.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=jut(o,t,s,r)}else{var l=Rut.removeRange(o,n,"backward"),c=l.getSelectionAfter(),u=l.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=jut(l,t,u,"before");else if(c.getEndOffset()===u.getLength())i=jut(l,t,u,"after");else{var d=Rut.splitBlock(l,c),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());i=jut(d,t,f,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return zut.push(e,h,"move-block")}};var Fut=rat.exports.List,Vut=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(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),Fut(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 But=Vut;function Zut(e){return e.replace(/\//g,"-")}var Yut=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(Zut).join(" "):Array.prototype.map.call(arguments,Zut).join(" ")},Gut=o,Hut=Yut,Kut=(0,rat.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:Gut.createElement("ul",{className:Hut("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:Gut.createElement("ol",{className:Hut("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:Gut.createElement("pre",{className:Hut("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),Jut={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},edt={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",l="model",c="name",u="type",d="vendor",p="version",f="architecture",h="console",m="mobile",g="tablet",O="smarttv",v="wearable",y="embedded",b="Amazon",w="Apple",x="ASUS",_="BlackBerry",k="Firefox",S="Google",P="Huawei",C="LG",$="Microsoft",E="Motorola",T="Opera",Q="Samsung",I="Sony",D="Xiaomi",A="Zebra",R="Facebook",z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},N=function(e,t){return typeof e===s&&-1!==M(t).indexOf(M(e))},M=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},U=function(e,t){for(var n,o,s,l,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=o=0;n<p.length&&!c;)if(c=p[n++].exec(e))for(s=0;s<f.length;s++)u=c[++o],typeof(l=f[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):r:this[l[0]]=u?l[1].call(this,u,l[2]):r:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):r):this[l]=u||r;d+=2}},X=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(N(t[n][i],e))return"?"===n?r:n}else if(N(t[n],e))return"?"===n?r:n;return e},L={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,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],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,R],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,X,{"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],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,"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],[c,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,M]],[/((?: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/,"",M]],[/(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,M]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,Q],[u,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,Q],[u,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[u,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[u,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[u,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,D],[u,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,D],[u,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[u,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,E],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,E],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,C],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,C],[u,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[u,m]],[/(pixel c)\b/i],[l,[d,S],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[u,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,I],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,I],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,b],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,b],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,_],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,x],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,x],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[u,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,$],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,$],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,A],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,A],[u,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[l,[d,I],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,$],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,O]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,Q],[u,O]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,C],[u,O]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[u,O]],[/crkey/i],[[l,"Chromecast"],[d,S],[u,O]],[/droid.+aft(\w)( bui|\))/i],[l,[d,b],[u,O]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[u,O]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,j],[l,j],[u,O]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,O]],[/((pebble))app/i],[d,l,[u,v]],[/droid.+; (glass) \d/i],[l,[d,S],[u,v]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,A],[u,v]],[/(quest( 2)?)/i],[l,[d,R],[u,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"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],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[p,X,L]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[p,X,L]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,p]]},W=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof W))return new W(e,t).getResult();var i=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(q,t):q;return this.getBrowser=function(){var e={};return e.name=r,e.version=r,U.call(e,i,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e.version),e},this.getCPU=function(){var e={};return e.architecture=r,U.call(e,i,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,U.call(e,i,l.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,U.call(e,i,l.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,U.call(e,i,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 i},this.setUA=function(e){return i=typeof e===s&&e.length>255?j(e,255):e,this},this.setUA(i),this};W.VERSION="0.7.31",W.BROWSER=z([c,p,"major"]),W.CPU=z([f]),W.DEVICE=z([l,d,u,h,m,O,g,v,y]),W.ENGINE=W.OS=z([c,p]),e.exports&&(t=e.exports=W),t.UAParser=W;var F=typeof n!==o&&(n.jQuery||n.Zepto);if(F&&!F.ua){var V=new W;F.ua=V.getResult(),F.ua.get=function(){return V.getUA()},F.ua.set=function(e){V.setUA(e);var t=V.getResult();for(var n in t)F.ua[n]=t[n]}}}("object"==typeof window?window:Ze)}(edt,edt.exports);var tdt="Unknown",ndt={"Mac OS":"Mac OS X"};var rdt=(new(0,edt.exports)).getResult(),idt=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(rdt.browser.version),odt={browserArchitecture:rdt.cpu.architecture||tdt,browserFullVersion:rdt.browser.version||tdt,browserMinorVersion:idt.minor||tdt,browserName:rdt.browser.name||tdt,browserVersion:rdt.browser.major||tdt,deviceName:rdt.device.model||tdt,engineName:rdt.engine.name||tdt,engineVersion:rdt.engine.version||tdt,platformArchitecture:rdt.cpu.architecture||tdt,platformName:function(e){return ndt[e]||e}(rdt.os.name)||tdt,platformVersion:rdt.os.version||tdt,platformFullVersion:rdt.os.version||tdt},adt=odt,sdt=ist,ldt=/\./,cdt=/\|\|/,udt=/\s+\-\s+/,ddt=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,pdt=/^(\d*)(.*)/;function fdt(e,t){var n=e.split(cdt);return n.length>1?n.some((function(e){return kdt.contains(e,t)})):function(e,t){var n=e.split(udt);if(n.length>0&&n.length<=2||("production"!==Ns.env.NODE_ENV?sdt(!1,'the "-" operator expects exactly 2 operands'):sdt(!1)),1===n.length)return hdt(n[0],t);var r=n[0],i=n[1];return ydt(r)&&ydt(i)||("production"!==Ns.env.NODE_ENV?sdt(!1,'operands to the "-" operator must be simple (no modifiers)'):sdt(!1)),hdt(">="+r,t)&&hdt("<="+i,t)}(e=n[0].trim(),t)}function hdt(e,t){if(""===(e=e.trim()))return!0;var n=t.split(ldt),r=Odt(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return mdt(n,o);case"<=":return function(e,t){var n=_dt(e,t);return-1===n||0===n}(n,o);case">=":return gdt(n,o);case">":return function(e,t){return 1===_dt(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);vdt(o)&&(r[i]=o+1+"");return gdt(e,n)&&mdt(e,r)}(n,o);default:return function(e,t){return 0===_dt(e,t)}(n,o)}}function mdt(e,t){return-1===_dt(e,t)}function gdt(e,t){var n=_dt(e,t);return 1===n||0===n}function Odt(e){var t=e.split(ldt),n=t[0].match(ddt);return n||("production"!==Ns.env.NODE_ENV?sdt(!1,"expected regex to match but it did not"):sdt(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function vdt(e){return!isNaN(e)&&isFinite(e)}function ydt(e){return!Odt(e).modifier}function bdt(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function wdt(e,t){var n=e.match(pdt)[1],r=t.match(pdt)[1],i=parseInt(n,10),o=parseInt(r,10);return vdt(i)&&vdt(o)&&i!==o?xdt(i,o):xdt(e,t)}function xdt(e,t){return typeof e!=typeof t&&("production"!==Ns.env.NODE_ENV?sdt(!1,'"a" and "b" must be of the same type'):sdt(!1)),e>t?1:e<t?-1:0}function _dt(e,t){for(var n=function(e,t){bdt(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return bdt(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=wdt(r[o],i[o]);if(a)return a}return 0}var kdt={contains:function(e,t){return fdt(e.trim(),t.trim())}},Sdt=kdt,Pdt=Object.prototype.hasOwnProperty;var Cdt=function(e,t,n){if(!e)return null;var r={};for(var i in e)Pdt.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var $dt=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},Edt=adt,Tdt=Sdt;function Qdt(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,Tdt.contains(i,t))}function Idt(e){return"Windows"===Edt.platformName?e.replace(/^\s*NT/,""):e}var Ddt=Cdt({isBrowser:function(e){return Qdt(Edt.browserName,Edt.browserFullVersion,e)},isBrowserArchitecture:function(e){return Qdt(Edt.browserArchitecture,null,e)},isDevice:function(e){return Qdt(Edt.deviceName,null,e)},isEngine:function(e){return Qdt(Edt.engineName,Edt.engineVersion,e)},isPlatform:function(e){return Qdt(Edt.platformName,Edt.platformFullVersion,e,Idt)},isPlatformArchitecture:function(e){return Qdt(Edt.platformArchitecture,null,e)}},$dt);var Adt=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var Rdt=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},zdt=Rdt;var Ndt=function e(t){if(zdt(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<n.childNodes.length;i++){var o=e(n.childNodes[i]);if(o)return o}}return null},Mdt=Adt,jdt=Ndt;var Udt=function(e){for(var t=e;t&&t!==Mdt(e).documentElement;){var n=jdt(t);if(null!=n)return n;t=t.parentNode}return null};var Xdt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function Ldt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qdt=Ddt,Wdt=Udt,Fdt=Xdt,Vdt=ist,Bdt=Yct,Zdt=rat.exports.Map,Ydt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},Gdt=qdt.isBrowser("IE <= 11"),Hdt=function(){function e(e){var t=this;Ldt(this,"observer",void 0),Ldt(this,"container",void 0),Ldt(this,"mutations",void 0),Ldt(this,"onCharData",void 0),this.container=e,this.mutations=Zdt();var n=Fdt(e);n.MutationObserver&&!Gdt?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ns.env.NODE_ENV?Vdt(!1,"Expected target to be an instance of Node"):Vdt(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,Ydt):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=Zdt(),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,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return Gdt?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=Bdt(Wdt(e.target));this.mutations=this.mutations.set(n,t)}},e}(),Kdt={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},Jdt={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},ept={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var tpt=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},npt=ist,rpt=tpt;var ipt=function(e){var t=e.editorContainer;return t||("production"!==Ns.env.NODE_ENV?npt(!1,"Missing editorNode"):npt(!1)),rpt(t.firstChild)||("production"!==Ns.env.NODE_ENV?npt(!1,"editorNode.firstChild is not an HTMLElement"):npt(!1)),t.firstChild},opt=Kdt,apt=Yct;var spt=function(e,t,n,r,i){var o=apt(e.getSelection());if(!t||!r)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=opt.decode(t),s=a.blockKey,l=e.getBlockTree(s),c=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),u=opt.decode(r),d=u.blockKey,p=e.getBlockTree(d),f=p&&p.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!f)return"production"!==Ns.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=f.get("start"),g=c?h+n:null,O=f?m+i:null,v=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===O;if(v)return o;var y=!1;if(s===d){var b=c.get("end"),w=f.get("end");y=m===h&&w===b?i<n:m<h}else{var x=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();y=x===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:O,isBackward:y})},lpt=Udt,cpt=Ndt,upt=spt,dpt=ist,ppt=Rdt,fpt=Yct;function hpt(e,t,n){var r=t,i=lpt(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Ns.env.NODE_ENV?dpt(!1,"Unknown node in selection range."):dpt(!1)),e===r)&&(r=r.firstChild,ppt(r)||("production"!==Ns.env.NODE_ENV?dpt(!1,"Invalid DraftEditorContents node."):dpt(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Ns.env.NODE_ENV?dpt(!1,"Invalid DraftEditorContents structure."):dpt(!1)),n>0&&(n=r.childNodes.length));if(0===n){var o=null;if(null!=i)o=i;else{var a=function(e){for(;e.firstChild&&(ppt(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||cpt(e.firstChild));)e=e.firstChild;return e}(r);o=fpt(cpt(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],l=null,c=null;if(cpt(s)){var u=function(e){for(;e.lastChild&&(ppt(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||cpt(e.lastChild));)e=e.lastChild;return e}(s);l=fpt(cpt(u)),c=mpt(u)}else l=fpt(i),c=mpt(s);return{key:l,offset:c}}function mpt(e){var t=e.textContent;return"\n"===t?0:t.length}var gpt=function(e,t,n,r,i,o){var a=n.nodeType===Node.TEXT_NODE,s=i.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:upt(e,fpt(lpt(n)),r,fpt(lpt(i)),o),needsRecovery:!1};var l=null,c=null,u=!0;return a?(l={key:fpt(lpt(n)),offset:r},c=hpt(t,i,o)):s?(c={key:fpt(lpt(i)),offset:o},l=hpt(t,n,r)):(l=hpt(t,n,r),c=hpt(t,i,o),n===i&&r===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:upt(e,l.key,l.offset,c.key,c.offset),needsRecovery:u}},Opt=gpt;var vpt=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:Opt(e,t,r,i,o,a)},ypt=ept,bpt=yut,wpt=ipt,xpt=vpt;var _pt=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();ypt.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=xpt(n,wpt(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?bpt.forceSelection(n,i):bpt.acceptSelection(n,i),e.update(n))}};var kpt={notEmptyKey:function(e){return null!=e&&""!=e}},Spt=kpt.notEmptyKey;function Ppt(e,t){return Spt(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var Cpt=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:Ppt(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),Ppt(e.getEntityMap(),n)},$pt=Hdt,Ept=Slt,Tpt=Kdt,Qpt=yut,Ipt=Jdt,Dpt=ipt,Apt=vpt,Rpt=Cpt,zpt=Yct,Npt=!1,Mpt=!1,jpt=null;var Upt={onCompositionStart:function(e){Mpt=!0,function(e){jpt||(jpt=new $pt(Dpt(e))).start()}(e)},onCompositionEnd:function(e){Npt=!1,Mpt=!1,setTimeout((function(){Npt||Upt.resolveComposition(e)}),20)},onSelect:_pt,onKeyDown:function(e,t){if(!Mpt)return Upt.resolveComposition(e),void e._onKeyDown(t);t.which!==Ipt.RIGHT&&t.which!==Ipt.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===Ipt.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!Mpt){var t=zpt(jpt).stopAndFlushMutations();jpt=null,Npt=!0;var n=Qpt.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=Tpt.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),c=l.start,u=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),p=Rpt(r,d),f=r.getBlockForKey(o).getInlineStyleAt(c);r=Ept.replaceText(r,d,e,f,p),n=Qpt.set(n,{currentContent:r})}));var i=Apt(n,Dpt(e)).selectionState;e.restoreEditorDOM();var o=Qpt.acceptSelection(n,i);e.update(Qpt.push(o,r,"insert-characters"))}else e.update(n)}}},Xpt=Upt,Lpt=r0;function qpt(){return qpt=Lpt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qpt.apply(this,arguments)}var Wpt=Kdt,Fpt=o,Vpt=Lct,Bpt=Qct,Zpt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,c=t.getKey(),u=s.get("leaves"),d=i.getComponentForKey(o),p=i.getPropsForKey(o),f=Wpt.encode(c,parseInt(o,10),0),h=l.slice(u.first().get("start"),u.last().get("end")),m=Bpt.getHTMLDirIfDifferent(Vpt.getDirection(h),a);return Fpt.createElement(d,qpt({},p,{contentState:r,decoratedText:h,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},r}(Fpt.Component),Ypt=Zpt;function Gpt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hpt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kpt=o,Jpt=ist,eft=Rdt,tft=Ddt.isBrowser("IE <= 11");var nft=function(e){var t,n;function r(t){var n;return Hpt(Gpt(n=e.call(this,t)||this),"_forceFlag",void 0),Hpt(Gpt(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;eft(t)||("production"!==Ns.env.NODE_ENV?Jpt(!1,"node is not an Element"):Jpt(!1));var r=t;return n?!function(e){return tft?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},tft?Kpt.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):Kpt.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return tft?Kpt.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):Kpt.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):Kpt.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(Kpt.Component),rft=nft,ift=Rdt;var oft=function(e){return!(!e||!e.ownerDocument)&&(ift(e)&&"BR"===e.nodeName)};var aft=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 sft=function(e){return aft(e)&&3==e.nodeType};var lft=function e(t,n){return!(!t||!n)&&(t===n||!sft(t)&&(sft(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var cft=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}},uft=ept,dft=lft,pft=cft,fft=Adt,hft=ist,mft=Rdt,gft=Ddt.isBrowser("IE");function Oft(e,t){if(!e)return"[empty]";var n=vft(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(mft(n)||("production"!==Ns.env.NODE_ENV?hft(!1,"Node must be an Element if it is not a text node."):hft(!1)),n.outerHTML)}function vft(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return fft(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(vft(o[a],t));return i}function yft(e,t){for(var n=e,r=n;n;){if(mft(n)&&r.hasAttribute("contenteditable"))return Oft(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function bft(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function wft(e,t,n,r){var i=pft();if(e.extend&&null!=t&&dft(i,t)){n>bft(t)&&uft.logSelectionStateFailure({anonymizedDom:yft(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw uft.logSelectionStateFailure({anonymizedDom:yft(t,(function(t){var n=[];return t===i&&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:i?i.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(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function xft(e,t,n,r){var i=fft(t).createRange();if(n>bft(t)&&uft.logSelectionStateFailure({anonymizedDom:yft(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),gft)try{e.addRange(i)}catch(e){"production"!==Ns.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var _ft=function(e,t,n,r,i){var o=fft(t);if(dft(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),c=e.getFocusKey(),u=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,f=l;s=c,l=u,c=p,u=f,d=!1}var h=s===n&&r<=l&&i>=l,m=c===n&&r<=u&&i>=u;if(h&&m)return a.removeAllRanges(),xft(a,t,l-r,e),void wft(a,t,u-r,e);if(d){if(m&&(a.removeAllRanges(),xft(a,t,u-r,e)),h){var g=a.focusNode,O=a.focusOffset;a.removeAllRanges(),xft(a,t,l-r,e),wft(a,g,O,e)}}else h&&(a.removeAllRanges(),xft(a,t,l-r,e)),m&&wft(a,t,u-r,e)}},kft=r0;function Sft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cft=rft,$ft=o,Eft=ist,Tft=oft,Qft=_ft,Ift=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Pft(Sft(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing node"):Eft(!1));var l,c=s.firstChild;c||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing child"):Eft(!1)),c.nodeType===Node.TEXT_NODE?l=c:Tft(c)?l=s:(l=c.firstChild)||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing targetNode"):Eft(!1)),Qft(e,l,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ns.env.NODE_ENV?Eft(!1,"Missing leafNode"):Eft(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,a=r.offsetKey,s=r.styleSet,l=s.reduce((function(e,t){var n={},r=i[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),kft(e,r,n)}),{});if(o){var c=o(s,t);l=kft(l,c)}return $ft.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},$ft.createElement(Cft,null,n))},r}($ft.Component),Dft=Ift;var Aft=Ypt,Rft=Dft,zft=Kdt,Nft=o,Mft=Yut;rat.exports.List;var jft=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,c=e.selection,u=e.tree,d=t.getKey(),p=t.getText(),f=u.size-1,h=this.props.children||u.map((function(e,u){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,O=m.map((function(e,n){var o=zft.encode(d,u,n),a=e.get("start"),m=e.get("end");return Nft.createElement(Rft,{key:o,offsetKey:o,block:t,start:a,selection:l?c:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===f&&n===g})})).toArray();return h&&o?Nft.createElement(Aft,{block:t,children:O,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:p,key:u}):O})).toArray();return Nft.createElement("div",{"data-offset-key":zft.encode(d,0,0),className:Mft({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(Nft.Component),Uft=jft;function Xft(e,t){return!!t&&(e===t.documentElement||e===t.body)}var Lft={getTop:function(e){var t=e.ownerDocument;return Xft(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;Xft(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return Xft(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;Xft(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},qft=Lft,Wft=/-(.)/g;var Fft=function(e){return e.replace(Wft,(function(e,t){return t.toUpperCase()}))},Vft=/([A-Z])/g;var Bft=function(e){return e.replace(Vft,"-$1").toLowerCase()},Zft=Fft,Yft=Bft;function Gft(e){return null==e?e:String(e)}var Hft=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return Gft(n.getPropertyValue(Yft(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return Gft(n.getPropertyValue(Yft(t)));if("display"===t)return"none"}return e.currentStyle?Gft("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[Zft(t)]):Gft(e.style&&e.style[Zft(t)])};function Kft(e,t){var n=Jft.get(e,t);return"auto"===n||"scroll"===n}var Jft={get:Hft,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(Kft(e,"overflow")||Kft(e,"overflowY")||Kft(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},eht=Jft,tht=lft;var nht=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!tht(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 rht=function(e){var t=nht(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},iht="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var oht=function(e){return(e=e||document).scrollingElement?e.scrollingElement:iht||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var aht=oht,sht=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 lht=function(e){var t=aht(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=sht(e),r=e===t?e.ownerDocument.documentElement:e,i=e.scrollWidth-r.clientWidth,o=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,i)),n.y=Math.max(0,Math.min(n.y,o)),n};function cht(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function uht(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function dht(){return{width:window.innerWidth||cht(),height:window.innerHeight||uht()}}dht.withoutScrollbars=function(){return{width:cht(),height:uht()}};var pht=dht,fht=r0;function hht(){return hht=fht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hht.apply(this,arguments)}function mht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ght(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Oht(e,t,n[t])}))}return e}function Oht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vht=Uft,yht=Kdt,bht=o,wht=qft,xht=eht,_ht=rht,kht=lht,Sht=pht,Pht=ist,Cht=tpt;rat.exports.List;var $ht=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Eht=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},Tht=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Qht=function(e,t,n,r,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=r(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=ght({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},Iht=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Oht(mht(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",bht.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||$ht(e.selection,e.block.getKey())&&e.forceSelection;return o||a},i.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 r,i=xht.getScrollParent(n),o=kht(i);if(i===window){var a=_ht(n);(r=a.y+a.height-Sht().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{Cht(n)||("production"!==Ns.env.NODE_ENV?Pht(!1,"blockNode is not an HTMLElement"):Pht(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&wht.setTop(i,wht.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,c=t.editorKey,u=t.editorState,d=t.customStyleFn,p=t.customStyleMap,f=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,O=null;n.children.size&&(O=n.children.reduce((function(t,n){var l=yht.encode(n,0,0),d=s.getBlockForKey(n),p=Tht(d,o),f=p.CustomComponent||r,h=Eht(d,i),m=h.Element,g=h.wrapperTemplate,O=Qht(d,c,l,a,p,null),v=ght({},e.props,{tree:u.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(bht.createElement(m,O,bht.createElement(f,v))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var u=r.reverse(),d=u[0].key;n.push(bht.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":yht.encode(d,0,0)},u))}(g,m,t),t}),[]));var v=n.getKey(),y=yht.encode(v,0,0),b=Tht(n,o),w=b.CustomComponent,x=null!=w?bht.createElement(w,hht({},this.props,{tree:u.getBlockTree(v),blockProps:b.customProps,offsetKey:y,block:n})):bht.createElement(vht,{block:n,children:O,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:f,forceSelection:h,hasSelection:$ht(m,v),selection:m,tree:g});if(n.getParentKey())return x;var _=Eht(n,i).Element,k=Qht(n,c,y,a,b,this.wrapperRef);return bht.createElement(_,k,x)},r}(bht.Component),Dht=r0;function Aht(){return Aht=Dht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Aht.apply(this,arguments)}var Rht=Iht,zht=Kdt,Nht=o,Mht=Yct,jht=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,c=a.getCurrentContent(),u=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),f=Mht(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),O={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:u,block:m,direction:l||f.get(g),tree:a.getBlockTree(g)},v=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:Nht.createElement(Rht,Aht({key:g},O)),wrapperTemplate:v,key:g,offsetKey:zht.encode(g,0,0)});var y=m.getNextSiblingKey();m=y?c.getBlockForKey(y):null}for(var b=[],w=0;w<h.length;){var x=h[w];if(x.wrapperTemplate){var _=[];do{_.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===x.wrapperTemplate);var k=Nht.cloneElement(x.wrapperTemplate,{key:x.key+"-wrap","data-offset-key":x.offsetKey},_);b.push(k)}else b.push(x.block),w++}return Nht.createElement("div",{"data-contents":"true"},b)},r}(Nht.Component),Uht=jht,Xht=r0;function Lht(){return Lht=Xht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lht.apply(this,arguments)}function qht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fht=Dft,Vht=Kdt,Bht=o,Zht=qft,Yht=eht,Ght=Lct,Hht=Qct,Kht=Yut,Jht=rht,emt=lht,tmt=pht,nmt=ist,rmt=tpt,imt=Yct,omt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},amt=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Wht(qht(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||omt(e.selection,e.block.getKey())&&e.forceSelection},i.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 r,i=Yht.getScrollParent(n),o=emt(i);if(i===window){var a=Jht(n);(r=a.y+a.height-tmt().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{rmt(n)||("production"!==Ns.env.NODE_ENV?nmt(!1,"blockNode is not an HTMLElement"):nmt(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&Zht.setTop(i,Zht.getTop(i)+r+10)}}}}},i._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,o=omt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var c=l.size-1,u=l.map((function(a,l){var u=Vht.encode(n,s,l),d=a.get("start"),p=a.get("end");return Bht.createElement(Fht,{key:u,offsetKey:u,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&l===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return u;if(!e.props.decorator)return u;var p=imt(e.props.decorator),f=p.getComponentForKey(d);if(!f)return u;var h=p.getPropsForKey(d),m=Vht.encode(n,s,0),g=l.first().get("start"),O=l.last().get("end"),v=r.slice(g,O),y=t.getEntityAt(a.get("start")),b=Hht.getHTMLDirIfDifferent(Ght.getDirection(v),e.props.direction),w={contentState:e.props.contentState,decoratedText:v,dir:b,start:g,end:O,blockKey:n,entityKey:y,offsetKey:m};return Bht.createElement(f,Lht({},h,w,{key:m}),u)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=Kht({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return Bht.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(Bht.Component),smt=amt;var lmt=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t},cmt=r0;function umt(){return umt=cmt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},umt.apply(this,arguments)}function dmt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){pmt(e,t,n[t])}))}return e}function pmt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fmt=smt,hmt=Kdt,mmt=o,gmt=Yut,Omt=lmt,vmt=Yct,ymt=function(e,t,n,r){return gmt({"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"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},bmt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,c=e.textDirectionality,u=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),f=a.getDecorator(),h=vmt(a.getDirectionMap()),m=u.getBlocksAsArray(),g=[],O=null,v=null,y=0;y<m.length;y++){var b=m[y],w=b.getKey(),x=b.getType(),_=n(b),k=void 0,S=void 0,P=void 0;_&&(k=_.component,S=_.props,P=_.editable);var C=c||h.get(w),$=hmt.encode(w,0,0),E={contentState:u,block:b,blockProps:S,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:f,direction:C,forceSelection:p,offsetKey:$,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(x)||t.get("unstyled"),Q=T.wrapper,I=T.element||t.get("unstyled").element,D=b.getDepth(),A="";if(r&&(A=r(b)),"li"===I)A=Omt(A,ymt(x,D,v!==Q||null===O||D>O,C));var R=k||fmt,z={className:A,"data-block":!0,"data-editor":s,"data-offset-key":$,key:w};void 0!==P&&(z=dmt({},z,{contentEditable:P,suppressContentEditableWarning:!0}));var N=mmt.createElement(I,z,mmt.createElement(R,umt({},E,{key:w})));g.push({block:N,wrapperTemplate:Q,key:w,offsetKey:$}),O=Q?b.getDepth():null,v=Q}for(var M=[],j=0;j<g.length;){var U=g[j];if(U.wrapperTemplate){var X=[];do{X.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===U.wrapperTemplate);var L=mmt.cloneElement(U.wrapperTemplate,{key:U.key+"-wrap","data-offset-key":U.offsetKey},X);M.push(L)}else M.push(U.block),j++}return mmt.createElement("div",{"data-contents":"true"},M)},r}(mmt.Component),wmt=bmt,xmt=tct("draft_tree_data_support")?Uht:wmt,_mt={isImage:function(e){return"image"===kmt(e)[0]},isJpeg:function(e){var t=kmt(e);return _mt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function kmt(e){return e.split("/")}var Smt=_mt,Pmt=ist;var Cmt=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?Pmt(!1,"toArray: Array-like object expected"):Pmt(!1)),"number"!=typeof t&&("production"!==Ns.env.NODE_ENV?Pmt(!1,"toArray: Object needs a length property"):Pmt(!1)),0===t||t-1 in e||("production"!==Ns.env.NODE_ENV?Pmt(!1,"toArray: Object should have keys for indices"):Pmt(!1)),"function"==typeof e.callee&&("production"!==Ns.env.NODE_ENV?Pmt(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):Pmt(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e):[e]};function $mt(e){return function(){return e}}var Emt=function(){};Emt.thatReturns=$mt,Emt.thatReturnsFalse=$mt(!1),Emt.thatReturnsTrue=$mt(!0),Emt.thatReturnsNull=$mt(null),Emt.thatReturnsThis=function(){return this},Emt.thatReturnsArgument=function(e){return e};var Tmt=Emt,Qmt=Smt,Imt=Cmt,Dmt=Tmt,Amt=new RegExp("\r\n","g"),Rmt={"text/rtf":1,"text/html":1};function zmt(e){if("file"==e.kind)return e.getAsFile()}var Nmt=function(){function e(e){this.data=e,this.types=e.types?Imt(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Rmt[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(Amt,"\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 r=t[n].type;if(!Qmt.isImage(r))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(zmt).filter(Dmt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),Mmt=Nmt,jmt=ist,Umt=/\.textClipping$/,Xmt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var Lmt=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!Ze.FileReader||e.type&&!(e.type in Xmt))return void t("");if(""===e.type){var n="";return Umt.test(e.name)&&(n=e.name.replace(Umt,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Ns.env.NODE_ENV?jmt(!1,'We should be calling "FileReader.readAsText" which returns a string'):jmt(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(i,(function(i){n++,i&&r.push(i.slice(0,5e3)),n==e.length&&t(r.join("\r"))}))}))};var qmt=function(e){return"handled"===e||!0===e},Wmt=Mmt,Fmt=Slt,Vmt=yut,Bmt=Udt,Zmt=Adt,Ymt=Lmt,Gmt=spt,Hmt=Xdt,Kmt=qmt,Jmt=Yct;var egt={onDragEnd:function(e){e.exitCurrentMode(),tgt(e)},onDrop:function(e,t){var n=new Wmt(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=Zmt(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=Jmt(n),r=Jmt(r);var a=Jmt(Bmt(n));return Gmt(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=i){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&Kmt(e.props.handleDroppedFiles(i,o)))return;Ymt(o,(function(t){t&&e.update(ngt(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&Kmt(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=Fmt.moveText(e.getCurrentContent(),e.getSelection(),t);return Vmt.push(e,n,"insert-fragment")}(r,i)):e.update(ngt(r,i,n.getText()))),tgt(e)}}}};function tgt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Hmt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function ngt(e,t,n){var r=Fmt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return Vmt.push(e,r,"insert-fragment")}var rgt=egt;var igt=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Ns.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),s=!1}}}}}("undefined"==typeof self?Ze:self);var ogt=Ze.setImmediate,agt=Slt,sgt=yut,lgt=Cpt,cgt=qmt,ugt=igt,dgt=Yct,pgt=ogt,fgt=Ddt.isBrowser("Firefox");function hgt(e,t,n,r,i){var o=agt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return sgt.push(e,o,"insert-characters",i)}var mgt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&cgt(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),o=i.getStartOffset(),a=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(hgt(n,r,n.getCurrentInlineStyle(),lgt(n.getCurrentContent(),n.getSelection()),!0));var s,l=hgt(n,r,n.getCurrentInlineStyle(),lgt(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=ugt(e._latestCommittedEditorState)),!c){var u=n.getBlockTree(a),d=l.getBlockTree(a);c=u.size!==d.size||u.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),l=s+(s>=o?r.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||l!==u||null!=d&&u-c!=s-i}))}if(c||(s=r,c=fgt&&("'"==s||"/"==s)),c||(c=dgt(l.getDirectionMap()).get(a)!==dgt(n.getDirectionMap()).get(a)),c)return t.preventDefault(),l=sgt.set(l,{forceSelection:!0}),void e.update(l);l=sgt.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,pgt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},ggt=yut,Ogt=lft,vgt=cft;var ygt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&vgt(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&Ogt(i,r.anchorNode)&&Ogt(i,r.focusNode)&&r.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(ggt.acceptSelection(o,s))}},bgt=yut;var wgt=function(e,t){e.setMode("composite"),e.update(bgt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},xgt=Pst;var _gt=function(e){var t=e.getSelection();return t.isCollapsed()?null:xgt(e.getCurrentContent(),t)},kgt=_gt;var Sgt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(kgt(e._latestEditorState))};var Pgt=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},Cgt=Slt,$gt=yut,Egt=eht,Tgt=_gt,Qgt=lht,Igt=Pgt;var Dgt=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(Igt(o)){var a=o;n=Qgt(Egt.getScrollParent(a))}var s=Tgt(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=Cgt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return $gt.push(e,t,"remove-range")}(r))}),0)}};var Agt=function(e,t){e.setMode("drag"),t.preventDefault()};var Rgt=function(e){e._internalDrag=!0,e.setMode("drag")},zgt=yut,Ngt=Ddt;var Mgt=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var i=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),Ngt.isBrowser("Chrome < 60.0.3081.0")?e.update(zgt.forceSelection(n,i)):e.update(zgt.acceptSelection(n,i))}},jgt=ist,Ugt=/[\uD800-\uDFFF]/;function Xgt(e){return 55296<=e&&e<=57343}function Lgt(e){return Ugt.test(e)}function qgt(e,t){return 1+Xgt(e.charCodeAt(t))}function Wgt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!Lgt(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=qgt(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=qgt(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=qgt(e,o);return e.substring(i,o)}var Fgt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=qgt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:qgt,hasSurrogateUnit:Lgt,isCodeUnitInSurrogateRange:Xgt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ns.env.NODE_ENV?jgt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):jgt(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=r&&r<=57343},strlen:function(e){if(!Lgt(e))return e.length;for(var t=0,n=0;n<e.length;n+=qgt(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 r=Math.abs(n-t);return Wgt(e,t=t<n?t:n,r)},substr:Wgt},Vgt=Fgt,Bgt=Tmt;function Zgt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var Ygt="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,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];Zgt.apply(void 0,[t].concat(r))}}:Bgt,Ggt=Ygt,Hgt=Ggt;var Kgt=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&Hgt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var l=r.getKeyBefore(i);if(null==l)a=i;else a=l,s=r.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},Jgt=Slt,eOt=tct("draft_tree_data_support");var tOt=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),l=i.getBlockForKey(a);if(eOt&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(eOt)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(l.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return Jgt.removeRange(i,o,n)},nOt=yut,rOt=Vgt,iOt=Kgt,oOt=tOt;var aOt=function(e){var t=oOt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return iOt(e,o?rOt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return nOt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},sOt=Slt,lOt=Kdt,cOt=yut,uOt=kpt.notEmptyKey,dOt=Udt,pOt=aOt,fOt=Yct,hOt=Ddt.isEngine("Gecko");var mOt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var l=r.textContent,c=e._latestEditorState,u=fOt(dOt(r)),d=lOt.decode(u),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(p).getIn([f,"leaves",h]),g=m.start,O=m.end,v=c.getCurrentContent(),y=v.getBlockForKey(p),b=y.getText().slice(g,O);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==b){var w,x,_,k,S=c.getSelection(),P=S.merge({anchorOffset:g,focusOffset:O,isBackward:!1}),C=y.getEntityAt(g),$=uOt(C)?v.getEntity(C):null,E="MUTABLE"===(null!=$?$.getMutability():null),T=E?"spellcheck-change":"apply-entity",Q=sOt.replaceText(v,P,l,y.getInlineStyleAt(g),E?y.getEntityAt(g):null);if(hOt)w=n.anchorOffset,x=n.focusOffset,k=(_=g+Math.min(w,x))+Math.abs(w-x),w=_,x=k;else{var I=l.length-b.length;_=S.getStartOffset(),k=S.getEndOffset(),w=i?k+I:_,x=k+I}var D=Q.merge({selectionBefore:v.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:w,focusOffset:x})});e.update(cOt.push(c,D,T))}else{var A=t.nativeEvent.inputType;if(A){var R=function(e,t){return"deleteContentBackward"===e?pOt(t):t}(A,c);if(R!==c)return e.restoreEditorDOM(),void e.update(R)}}}},gOt=Jdt;var OOt=function(e){return e.which===gOt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},vOt=OOt,yOt=Ddt.isPlatform("Mac OS X"),bOt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return yOt&&e.altKey},usesMacOSHeuristics:function(){return yOt},hasCommandModifier:function(e){return yOt?!!e.metaKey&&!e.altKey:bOt.isCtrlKeyCommand(e)},isSoftNewlineEvent:vOt},wOt=bOt,xOt=Slt,_Ot=yut,kOt=Pst,SOt=Yct,POt=null,COt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var i=n.getAnchorKey(),o=t.getBlockForKey(i).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(i);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",o)}else r=n;r=SOt(r),POt=kOt(t,r);var s=xOt.removeRange(t,r,"forward");return s===t?e:_Ot.push(e,s,"remove-range")},paste:function(e){if(!POt)return e;var t=xOt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),POt);return _Ot.push(e,t,"insert-fragment")}},$Ot=COt,EOt=ist;var TOt=Ddt.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),i)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(r)}"production"!==Ns.env.NODE_ENV?EOt(!1,"Found an unexpected detached subtree when getting range client rects."):EOt(!1)}:function(e){return Array.from(e.getClientRects())},QOt=Vgt,IOt=Adt,DOt=TOt,AOt=ist;function ROt(e,t){for(var n=1/0,r=1/0,i=-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),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function zOt(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 NOt=function(e){e.collapsed||("production"!==Ns.env.NODE_ENV?AOt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):AOt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=IOt(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||("production"!==Ns.env.NODE_ENV?AOt(!1,"Missing document.body"):AOt(!1)),i.appendChild(r);var o=r.getBoundingClientRect();return i.removeChild(r),o.height}(t),r=e.endContainer,i=e.endOffset;for(e.setStart(e.startContainer,0);ROt(DOt(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Ns.env.NODE_ENV?AOt(!1,"Found unexpected detached subtree when traversing."):AOt(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var o=r,a=i-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&QOt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!ROt(DOt(e),n))break;r=o,i=l}if(-1===l||0===o.childNodes.length)break;a=zOt(o=o.childNodes[l])}return e.setStart(r,i),e},MOt=yut,jOt=NOt,UOt=gpt,XOt=Kgt,LOt=tOt;var qOt=function(e,t){var n=LOt(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return XOt(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=jOt(r),UOt(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:MOt.push(e,n,"remove-range")},WOt="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),FOt=new RegExp("^(?:"+WOt+")*(?:['‘’]|(?!"+WOt+").)*(?:(?!"+WOt+").)"),VOt=new RegExp("(?:(?!"+WOt+").)(?:['‘’]|(?!"+WOt+").)*(?:"+WOt+")*$");function BOt(e,t){var n=t?VOt.exec(e):FOt.exec(e);return n?n[0]:e}var ZOt={getBackward:function(e){return BOt(e,!0)},getForward:function(e){return BOt(e,!1)}},YOt=ZOt,GOt=yut,HOt=Kgt,KOt=tOt;var JOt=function(e){var t=KOt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return HOt(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=YOt.getBackward(i);return HOt(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:GOt.push(e,t,"remove-range")},evt=Ggt;var tvt=function(e,t){var n=e.getSelection();"production"!==Ns.env.NODE_ENV&&evt(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})},nvt=ZOt,rvt=yut,ivt=tvt,ovt=tOt;var avt=function(e){var t=ovt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=nvt.getForward(i);return ivt(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:rvt.push(e,t,"remove-range")},svt=Slt,lvt=yut;var cvt=yut;var uvt=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return cvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},dvt=yut;var pvt=function(e){var t=e.getSelection(),n=t.getStartKey();return dvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},fvt=yut,hvt=Vgt,mvt=tvt,gvt=tOt;var Ovt=function(e){var t=gvt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return mvt(e,o?hvt.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return fvt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},vvt=Slt,yvt=yut,bvt=Pst;var wvt=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,i,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),i=t):i=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=bvt(a,r),c=vvt.removeRange(a,r,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,p=u.merge({anchorOffset:d,focusOffset:d}),f=vvt.replaceWithFragment(c,p,l),h=yvt.push(e,f,"insert-fragment");return yvt.acceptSelection(h,i)},xvt=yut;var _vt=function(e,t,n){var r=xvt.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(xvt.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(xvt.set(r,{nativelyRenderedContent:i}))}},kvt=Slt,Svt=yut,Pvt=Jdt,Cvt=$Ot,$vt=Ddt,Evt=qmt,Tvt=qOt,Qvt=JOt,Ivt=avt,Dvt=function(e){var t=svt.splitBlock(e.getCurrentContent(),e.getSelection());return lvt.push(e,t,"split-block")},Avt=uvt,Rvt=pvt,zvt=aOt,Nvt=Ovt,Mvt=wvt,jvt=_vt,Uvt=wOt.isOptionKeyCommand,Xvt=$vt.isBrowser("Chrome");var Lvt=function(e,t){var n=t.which,r=e._latestEditorState;function i(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case Pvt.RETURN:if(t.preventDefault(),e.props.handleReturn&&Evt(e.props.handleReturn(t,r)))return;break;case Pvt.ESC:if(t.preventDefault(),i("onEscape"))return;break;case Pvt.TAB:if(i("onTab"))return;break;case Pvt.UP:if(i("onUpArrow"))return;break;case Pvt.RIGHT:if(i("onRightArrow"))return;break;case Pvt.DOWN:if(i("onDownArrow"))return;break;case Pvt.LEFT:if(i("onLeftArrow"))return;break;case Pvt.SPACE:Xvt&&Uvt(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!Evt(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return Svt.redo(t);case"delete":return Nvt(t);case"delete-word":return Ivt(t);case"backspace":return zvt(t);case"backspace-word":return Qvt(t);case"backspace-to-start-of-line":return Tvt(t,n);case"split-block":return Dvt(t);case"transpose-characters":return Mvt(t);case"move-selection-to-start-of-block":return Rvt(t);case"move-selection-to-end-of-block":return Avt(t);case"secondary-cut":return Cvt.cut(t);case"secondary-paste":return Cvt.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else jvt(t,r,e.update);else if(n===Pvt.SPACE&&Xvt&&Uvt(t)){var s=kvt.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(Svt.push(r,s,"insert-characters"))}};var qvt=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}(),Wvt=qvt,Fvt=ist,Vvt=Ddt.isBrowser("IE <= 9");var Bvt=function(e){var t,n=null;return!Vvt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ns.env.NODE_ENV?Fvt(!1,"Missing doc.documentElement"):Fvt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},Zvt=Rdt;var Yvt=function(e){return!(!e||!e.ownerDocument)&&(Zvt(e)&&"A"===e.nodeName)},Gvt=Rdt;var Hvt,Kvt=function(e){return!(!e||!e.ownerDocument)&&(Gvt(e)&&"IMG"===e.nodeName)};function Jvt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){eyt(e,t,n[t])}))}return e}function eyt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tyt=gat,nyt=Qat,ryt=Vat,iyt=Kut,oyt=Klt,ayt=Wvt,syt=Yut,lyt=hst,cyt=Bvt,uyt=tct,dyt=rat.exports,pyt=dyt.List,fyt=dyt.Map,hyt=dyt.OrderedSet,myt=Yvt,gyt=oft,Oyt=tpt,vyt=Kvt,yyt=uyt("draft_tree_data_support"),byt=new RegExp("\r","g"),wyt=new RegExp("\n","g"),xyt=new RegExp("^\n","g"),_yt=new RegExp(" ","g"),kyt=new RegExp(" ?","g"),Syt=new RegExp("​?","g"),Pyt=["bold","bolder","500","600","700","800","900"],Cyt=["light","lighter","normal","100","200","300","400"],$yt=["className","href","rel","target","title"],Eyt=["alt","className","height","src","width"],Tyt=(eyt(Hvt={},syt("public/DraftStyleDefault/depth0"),0),eyt(Hvt,syt("public/DraftStyleDefault/depth1"),1),eyt(Hvt,syt("public/DraftStyleDefault/depth2"),2),eyt(Hvt,syt("public/DraftStyleDefault/depth3"),3),eyt(Hvt,syt("public/DraftStyleDefault/depth4"),4),Hvt),Qyt=fyt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Iyt=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),fyt(t)},Dyt=function(e){if(Oyt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Ayt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Tyt).some((function(n){e.classList.contains(n)&&(t=Tyt[n])})),t},Ryt=function(e){if(!myt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},zyt=function(e){if(!vyt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Nyt=function(e,t){if(!Oyt(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){Pyt.indexOf(r)>=0?e.add("BOLD"):Cyt.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},Myt=function(e){return"ul"===e||"ol"===e},jyt=function(){function e(e,t){eyt(this,"characterList",pyt()),eyt(this,"currentBlockType","unstyled"),eyt(this,"currentDepth",0),eyt(this,"currentEntity",null),eyt(this,"currentText",""),eyt(this,"wrapper",null),eyt(this,"blockConfigs",[]),eyt(this,"contentBlocks",[]),eyt(this,"entityMap",oyt),eyt(this,"blockTypeMap",void 0),eyt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=pyt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=oyt,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],hyt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(yyt?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||lyt(),n=Jvt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:pyt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=pyt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||Myt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;Myt(o)&&(this.wrapper=o,Myt(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.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(zyt(i))this._addImgNode(i,t);else if(Ryt(i))this._addAnchorNode(i,n,t);else{var c=t;Qyt.has(o)&&(c=c.add(Qyt.get(o))),c=Nyt(i,c);var u=Dyt(i);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!yyt&&Oyt(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=i;this.currentDepth=Ayt(f,this.currentDepth)}var h=lyt(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=tyt.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=pyt()):(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(xyt,"")).replace(wyt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){gyt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(vyt(e)){var n=e,r={};Eyt.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),uyt("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(myt(e)){var r=e,i={};$yt.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new ayt(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),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,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=pyt(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new ryt(Jvt({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return pyt(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),r=n.text,i=n.characterList;t.contentBlocks.push(new nyt(Jvt({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=pyt(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),Uyt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cyt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:iyt,r=t(e=e.trim().replace(byt,"").replace(_yt," ").replace(kyt,"").replace(Syt,""));if(!r)return null;var i=Iyt(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new jyt(i,o).addDOMNode(r).getContentBlocks()};function Xyt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lyt=Qat,qyt=Vat,Wyt=Uyt,Fyt=hst,Vyt=Bvt,Byt=tct,Zyt=rat.exports,Yyt=rct,Gyt=Zyt.List,Hyt=Zyt.Repeat,Kyt=Byt("draft_tree_data_support"),Jyt=Kyt?qyt:Lyt,ebt={processHTML:function(e,t){return Wyt(e,Vyt,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=Yyt(r);var o=Fyt(),a={key:o,type:n,text:r,characterList:Gyt(Hyt(t,r.length))};if(Kyt&&0!==i){var s=i-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Xyt(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new Jyt(a)),e}),[])}};var tbt=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).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,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},nbt=Slt,rbt=yut,ibt=tbt,obt=Yct,abt={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__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 abt.toggleInlineStyle(e,"BOLD");case"italic":return abt.toggleInlineStyle(e,"ITALIC");case"underline":return abt.toggleInlineStyle(e,"UNDERLINE");case"code":return abt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return abt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return abt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=nbt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=rbt.push(e,t,"insert-characters");return rbt.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var o=n.getBlockMap().delete(i.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return rbt.push(e,a,"remove-range")}var s=abt.tryToRemoveBlockStyle(e);return s?rbt.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockForKey(r).getLength();if(t.getStartOffset()<i)return null;var o=n.getBlockAfter(r);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=nbt.removeRange(n,a,"forward");return s!==n?rbt.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),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 c=ibt(o,r,e.shiftKey?-1:1,n);return rbt.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=obt(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var c=o.getBlockForKey(r).getType()===t?"unstyled":t;return rbt.push(e,nbt.setBlockType(o,a,c),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?abt.toggleBlockType(e,"code-block"):abt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return rbt.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?nbt.removeInlineStyle(o,n,t):nbt.applyInlineStyle(o,n,t),rbt.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=nbt.applyEntity(e.getCurrentContent(),t,n);return rbt.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getType(),a=i.getBlockBefore(r);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return nbt.setBlockType(i,t,"unstyled")}return null}},sbt=abt,lbt=/\r\n?|\n/g;var cbt=aat,ubt=gat,dbt=Mmt,pbt=Slt,fbt=ebt,hbt=yut,mbt=sbt,gbt=Cpt,Obt=Lmt,vbt=qmt,ybt=function(e){return e.split(lbt)};function bbt(e,t,n){var r=pbt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return hbt.push(e,r.set("entityMap",n),"insert-fragment")}var wbt=function(e,t){t.preventDefault();var n=new dbt(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&vbt(e.props.handlePastedFiles(r)))return;return void Obt(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=ybt(t),o=ubt.create({style:n.getCurrentInlineStyle(),entity:gbt(n.getCurrentContent(),n.getSelection())}),a=mbt.getCurrentBlockType(n),s=fbt.processText(r,o,a),l=cbt.createFromArray(s),c=pbt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(hbt.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!vbt(e.props.handlePastedText(a,s,l))){if(a&&(o=ybt(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(bbt(e._latestEditorState,c))}else if(c&&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,c))return void e.update(bbt(e._latestEditorState,c));if(s){var u=fbt.processHTML(s,e.props.blockRenderMap);if(u){var d=u.contentBlocks,p=u.entityMap;if(d){var f=cbt.createFromArray(d);return void e.update(bbt(e._latestEditorState,f,p))}}}e.setClipboard(null)}if(o.length){var h=ubt.create({style:l.getCurrentInlineStyle(),entity:gbt(l.getCurrentContent(),l.getSelection())}),m=mbt.getCurrentBlockType(l),g=fbt.processText(o,h,m),O=cbt.createFromArray(g);e.update(bbt(e._latestEditorState,O))}}},xbt=Ddt,_bt=mgt,kbt=ygt,Sbt=wgt,Pbt=Sgt,Cbt=Dgt,$bt=Agt,Ebt=Rgt,Tbt=Mgt,Qbt=mOt,Ibt=Lvt,Dbt=wbt,Abt=_pt,Rbt=xbt.isBrowser("Chrome"),zbt=xbt.isBrowser("Firefox"),Nbt=Rbt||zbt?Abt:function(e){},Mbt={onBeforeInput:_bt,onBlur:kbt,onCompositionStart:Sbt,onCopy:Pbt,onCut:Cbt,onDragOver:$bt,onDragStart:Ebt,onFocus:Tbt,onInput:Qbt,onKeyDown:Ibt,onPaste:Dbt,onSelect:Abt,onMouseUp:Nbt,onKeyUp:Nbt},jbt=Xe.unstable_flushControlled;var Ubt=o,Xbt=Yut,Lbt=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=Xbt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return Ubt.createElement("div",{className:t},Ubt.createElement("div",{className:Xbt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(Ubt.Component),qbt=Lbt,Wbt=wOt,Fbt=Jdt,Vbt=Ddt,Bbt=Vbt.isPlatform("Mac OS X"),Zbt=Bbt&&Vbt.isBrowser("Firefox < 29"),Ybt=Wbt.hasCommandModifier,Gbt=Wbt.isCtrlKeyCommand;function Hbt(e){return Bbt&&e.altKey||Gbt(e)}var Kbt=function(e){switch(e.keyCode){case 66:return Ybt(e)?"bold":null;case 68:return Gbt(e)?"delete":null;case 72:return Gbt(e)?"backspace":null;case 73:return Ybt(e)?"italic":null;case 74:return Ybt(e)?"code":null;case 75:return Bbt&&Gbt(e)?"secondary-cut":null;case 77:case 79:return Gbt(e)?"split-block":null;case 84:return Bbt&&Gbt(e)?"transpose-characters":null;case 85:return Ybt(e)?"underline":null;case 87:return Bbt&&Gbt(e)?"backspace-word":null;case 89:return Gbt(e)?Bbt?"secondary-paste":"redo":null;case 90:return function(e){return Ybt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case Fbt.RETURN:return"split-block";case Fbt.DELETE:return function(e){return!Bbt&&e.shiftKey?null:Hbt(e)?"delete-word":"delete"}(e);case Fbt.BACKSPACE:return function(e){return Ybt(e)&&Bbt?"backspace-to-start-of-line":Hbt(e)?"backspace-word":"backspace"}(e);case Fbt.LEFT:return Zbt&&Ybt(e)?"move-selection-to-start-of-block":null;case Fbt.RIGHT:return Zbt&&Ybt(e)?"move-selection-to-end-of-block":null;default:return null}},Jbt=r0;function ewt(){return ewt=Jbt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ewt.apply(this,arguments)}function twt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rwt(e,t,n[t])}))}return e}function nwt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rwt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iwt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var owt=Kut,awt=Jut,swt=Xpt,lwt=xmt,cwt=rgt,uwt=Mbt,dwt=jbt,pwt=qbt,fwt=yut,hwt=o,mwt=qft,gwt=eht,Owt=Yut,vwt=hst,ywt=Kbt,bwt=lht,wwt=tct,xwt=ist,_wt=tpt,kwt=Yct,Swt=Ddt.isBrowser("IE"),Pwt=!Swt,Cwt={edit:uwt,composite:swt,drag:cwt,cut:null,render:null},$wt=!1,Ewt=function(e){function t(){return e.apply(this,arguments)||this}iwt(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}(hwt.Component),Twt=function(e){function t(t){var n;return rwt(nwt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),rwt(nwt(n),"_clipboard",void 0),rwt(nwt(n),"_handler",void 0),rwt(nwt(n),"_dragCount",void 0),rwt(nwt(n),"_internalDrag",void 0),rwt(nwt(n),"_editorKey",void 0),rwt(nwt(n),"_placeholderAccessibilityID",void 0),rwt(nwt(n),"_latestEditorState",void 0),rwt(nwt(n),"_latestCommittedEditorState",void 0),rwt(nwt(n),"_pendingStateFromBeforeInput",void 0),rwt(nwt(n),"_onBeforeInput",void 0),rwt(nwt(n),"_onBlur",void 0),rwt(nwt(n),"_onCharacterData",void 0),rwt(nwt(n),"_onCompositionEnd",void 0),rwt(nwt(n),"_onCompositionStart",void 0),rwt(nwt(n),"_onCopy",void 0),rwt(nwt(n),"_onCut",void 0),rwt(nwt(n),"_onDragEnd",void 0),rwt(nwt(n),"_onDragOver",void 0),rwt(nwt(n),"_onDragStart",void 0),rwt(nwt(n),"_onDrop",void 0),rwt(nwt(n),"_onInput",void 0),rwt(nwt(n),"_onFocus",void 0),rwt(nwt(n),"_onKeyDown",void 0),rwt(nwt(n),"_onKeyPress",void 0),rwt(nwt(n),"_onKeyUp",void 0),rwt(nwt(n),"_onMouseDown",void 0),rwt(nwt(n),"_onMouseUp",void 0),rwt(nwt(n),"_onPaste",void 0),rwt(nwt(n),"_onSelect",void 0),rwt(nwt(n),"editor",void 0),rwt(nwt(n),"editorContainer",void 0),rwt(nwt(n),"focus",void 0),rwt(nwt(n),"blur",void 0),rwt(nwt(n),"setMode",void 0),rwt(nwt(n),"exitCurrentMode",void 0),rwt(nwt(n),"restoreEditorDOM",void 0),rwt(nwt(n),"setClipboard",void 0),rwt(nwt(n),"getClipboard",void 0),rwt(nwt(n),"getEditorKey",void 0),rwt(nwt(n),"update",void 0),rwt(nwt(n),"onDragEnter",void 0),rwt(nwt(n),"onDragLeave",void 0),rwt(nwt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),rwt(nwt(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=gwt.getScrollParent(i),a=e||bwt(o),s=a.x,l=a.y;_wt(i)||("production"!==Ns.env.NODE_ENV?xwt(!1,"editorNode is not an HTMLElement"):xwt(!1)),i.focus(),o===window?window.scrollTo(s,l):mwt.setTop(o,l),r||n.update(fwt.forceSelection(t,t.getSelection()))}})),rwt(nwt(n),"blur",(function(){var e=n.editor;e&&(_wt(e)||("production"!==Ns.env.NODE_ENV?xwt(!1,"editorNode is not an HTMLElement"):xwt(!1)),e.blur())})),rwt(nwt(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=twt({},Cwt.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=twt({},Cwt,{edit:a});n._handler=s[e]})),rwt(nwt(n),"exitCurrentMode",(function(){n.setMode("edit")})),rwt(nwt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),rwt(nwt(n),"setClipboard",(function(e){n._clipboard=e})),rwt(nwt(n),"getClipboard",(function(){return n._clipboard})),rwt(nwt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),rwt(nwt(n),"onDragEnter",(function(){n._dragCount++})),rwt(nwt(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||vwt(),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}iwt(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(dwt?dwt((function(){return r(t,n)})):r(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:kwt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return hwt.createElement(pwt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,c=e.textAlignment,u=e.textDirectionality,d=Owt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),p=this.props.role||"textbox",f="combobox"===p?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:twt({},awt,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:u};return hwt.createElement("div",{className:d},this._renderPlaceholder(),hwt.createElement("div",{className:Owt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},hwt.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:Owt({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:p,spellCheck:Pwt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},hwt.createElement(Ewt,{editor:this,editorState:a}),hwt.createElement(lwt,ewt({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!$wt&&wwt("draft_ods_enabled")&&($wt=!0),this.setMode("edit"),Swt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Ze.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(hwt.Component);rwt(Twt,"defaultProps",{blockRenderMap:owt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:ywt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Qwt=Twt,Iwt=Ge(Object.freeze({__proto__:null})),Dwt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},Awt=Dwt,Rwt=Vgt.strlen;var zwt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,i){var o=e.getText(),a=e.getEntityAt(r);n.push({offset:Rwt(o.slice(0,r)),length:Rwt(o.slice(r,i)),key:Number(t[Awt.stringify(a)])})})),n},Nwt=Vgt,Mwt=Oat,jwt=function(e,t){return e===t},Uwt=function(e){return!!e},Xwt=[];var Lwt=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 r=[],i=t.map((function(e){return e.has(n)})).toList();return Mwt(i,jwt,Uwt,(function(t,i){var o=e.getText();r.push({offset:Nwt.strlen(o.slice(0,t)),length:Nwt.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(Xwt,n.toJS())};function qwt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wwt=Qat,Fwt=Vat,Vwt=Dwt,Bwt=zwt,Zwt=Lwt,Ywt=ist,Gwt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:Zwt(e),entityRanges:Bwt(e,t),data:e.getData().toObject()}},Hwt=function(e,t,n,r){if(e instanceof Wwt)n.push(Gwt(e,t));else{e instanceof Fwt||("production"!==Ns.env.NODE_ENV?Ywt(!1,"block is not a BlockNode"):Ywt(!1));var i=e.getParentKey(),o=r[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qwt(e,t,n[t])}))}return e}({},Gwt(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},Kwt=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=Vwt.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),Hwt(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(Vwt.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function Jwt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ext(e,t,n[t])}))}return e}function ext(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var txt=hst,nxt=ist,rxt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},ixt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ns.env.NODE_ENV?nxt(!1,"Invalid raw state"):nxt(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||("production"!==Ns.env.NODE_ENV?nxt(!1,"Invalid tree raw block"):nxt(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=Jwt({},e);rxt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?Jwt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,Jwt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=rxt(e),i=e.depth||0,o=Jwt({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===i)t.push(o);else if(null==a||a.depth<i-1){var s={key:txt(),text:"",depth:i-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===i?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===i-1)a.children.push(o);else{for(;null!=a&&a.depth>=i;)n.shift(),a=n[0];i>0?a.children.push(o):t.push(o)}}else t.push(o)})),Jwt({},e,{blocks:t})}},oxt=ixt,axt=Ggt,sxt={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Ns.env.NODE_ENV&&axt(!0,"Tree is missing parent -> child pointer on %s",n),!1;var i=e.getChildKeys().map((function(e){return t.get(e)}));if(!i.every((function(e){return e.getParentKey()===n})))return"production"!==Ns.env.NODE_ENV&&axt(!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&&axt(!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&&axt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Ns.env.NODE_ENV&&axt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ns.env.NODE_ENV&&axt(!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&&axt(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var l=a.map((function(t){return e.get(t)})),c=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return"production"!==Ns.env.NODE_ENV&&axt(!0,"%s has no first child",r),!1;r=c.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Ns.env.NODE_ENV&&axt(!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)}},lxt=sxt,cxt=gat,uxt=rat.exports.List;var dxt=function(e,t){var n=e.map((function(e,n){var r=t[n];return cxt.create({style:e,entity:r})}));return uxt(n)},pxt=Vgt.substr;var fxt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=pxt(e,0,t.offset).length,i=r+pxt(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},hxt=Vgt,mxt=rat.exports.OrderedSet,gxt=hxt.substr,Oxt=mxt();var vxt=function(e,t){var n=Array(e.length).fill(Oxt);return t&&t.forEach((function(t){for(var r=gxt(e,0,t.offset).length,i=r+gxt(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function yxt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bxt(e,t,n[t])}))}return e}function bxt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wxt=Qat,xxt=Vat,_xt=Sct,kxt=Klt,Sxt=oxt,Pxt=lxt,Cxt=ect,$xt=dxt,Ext=fxt,Txt=vxt,Qxt=hst,Ixt=rat.exports,Dxt=ist,Axt=tct("draft_tree_data_support"),Rxt=Ixt.List,zxt=Ixt.Map,Nxt=Ixt.OrderedMap,Mxt=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||Qxt(),data:zxt(i),characterList:jxt(e,t)}},jxt=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return $xt(Txt(n,i||[]),Ext(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return yxt({},e,{key:t[e.key]})}))))},Uxt=function(e){return yxt({},e,{key:e.key||Qxt()})},Xxt=function(e,t,n){var r=t.map((function(e){return yxt({},e,{parentRef:n})}));return e.concat(r.reverse())},Lxt=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=Axt&&!n?Sxt.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Axt)return function(e,t){return Nxt(e.map((function(e){var n=new wxt(Mxt(e,t));return[n.getKey(),n]})))}(n?Sxt.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(Uxt).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Ns.env.NODE_ENV?Dxt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Dxt(!1));var o=r.children.map(Uxt),a=new xxt(yxt({},Mxt(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:Rxt(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=Xxt([],o,a);s.length>0;){var l=s.pop(),c=l.parentRef,u=c.getChildKeys(),d=u.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==Ns.env.NODE_ENV?Dxt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Dxt(!1));break}var f=l.children.map(Uxt),h=new xxt(yxt({},Mxt(l,t),{parent:c.getKey(),children:Rxt(f.map((function(e){return e.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),s=Xxt(s,f,h)}return n}),Nxt())}(r,t);return"production"!==Ns.env.NODE_ENV&&(Pxt.isValidTree(i)||("production"!==Ns.env.NODE_ENV?Dxt(!1,"Should be a valid tree"):Dxt(!1))),i},qxt=function(e){Array.isArray(e.blocks)||("production"!==Ns.env.NODE_ENV?Dxt(!1,"invalid RawDraftContentState"):Dxt(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=kxt.__create(i,o,a||{})})),n}(e),n=Lxt(e,t),r=n.isEmpty()?new Cxt:Cxt.createEmpty(n.first().getKey());return new _xt({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},Wxt=TOt;var Fxt=function(e){var t=Wxt(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}},Vxt=Fxt;var Bxt=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=Vxt(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r},Zxt={Editor:Qwt,EditorBlock:smt,EditorState:yut,CompositeDecorator:But,Entity:Klt,EntityInstance:Llt,BlockMapBuilder:aat,CharacterMetadata:gat,ContentBlock:Qat,ContentState:Sct,RawDraftContentState:Iwt,SelectionState:ect,AtomicBlockUtils:Wut,KeyBindingUtil:wOt,Modifier:Slt,RichUtils:sbt,DefaultDraftBlockRenderMap:Kut,DefaultDraftInlineStyle:Jut,convertFromHTML:Uyt,convertFromRaw:qxt,convertToRaw:Kwt,genKey:hst,getDefaultKeyBinding:Kbt,getVisibleSelectionRect:Bxt};function Yxt(e,t,n,r,i,o){var a=r-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&&i>0?Object.assign({},e,{offset:e.offset+i}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&i>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+i,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+i,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+i+o,length:e.offset+e.length-(t+n)})]:e}var Gxt=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},Hxt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},Kxt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Jxt(e){if(-1!==Kxt.indexOf(e.type))return Ve.renderToStaticMarkup(e);var t=Ve.renderToStaticMarkup(o.cloneElement(e,{},"\r")).split("\r");return _Ee(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),_Ee(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function e_t(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}function t_t(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(e_t(e))return Ve.renderToStaticMarkup(e);var n=Jxt(e);if(null!==t&&"object"===Ql(n)){var r=n.start,i=n.end;return r+t+i}return n}if(_Ee(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 n_t=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.isValidElement(t)){var r=Jxt(t);if("string"==typeof r)return 0;var i=r[n].length,a=o.Children.toArray(t.props.children)[0];return i+(a&&o.isValidElement(a)?e(a,n):0)}return"object"===Ql(t)&&t[n]?t[n].length:0},r_t=function(){var e=arguments.length>1?arguments[1]:void 0;return e},i_t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r_t,r=nit(e.text),i=n;if(n.__isMiddleware&&(i=n(r_t)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(Gxt),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=r.slice(n.offset,n.offset+n.length).join(""),c=i(s,l),u=nit(t_t(c,l)||l),d=n_t(c,"start"),p=n_t(c,"end"),f=function(t){return t.reduce((function(t,r,i){var o=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?Yxt(t,n.offset,n.length,u.length,d,p):t}(r,i);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),r=[].concat(nit(r.slice(0,n.offset)),nit(u),nit(r.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:r.join(""),inlineStyleRanges:a,entityRanges:o})}return e},o_t=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},a_t=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function s_t(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 l_t=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},c_t=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return _Ee(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},u_t=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},d_t=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},p_t=function(e,t){return t.offset+t.length-(e.offset+e.length)},f_t=function(e,t){for(var n=0;n<e.length;){if(!t.every(d_t.bind(null,e[n])))return e.slice(n);n++}return[]},h_t=function(e,t,n){return t+t_t(e(n.style)).start},m_t=function(e,t,n){return t_t(e(n.style)).end+t},g_t=function(e){return function(t){return e(t)}};g_t.__isMiddleware=!0;var O_t=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function v_t(e){return _Ee(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:o.isValidElement(e)?function(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}(e)?Ve.renderToStaticMarkup(e):Jxt(e):Object.prototype.hasOwnProperty.call(e,"element")&&o.isValidElement(e.element)?Object.assign({},e,Jxt(e.element)):(_Ee(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}function y_t(e,t){if(_Ee(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=Jxt(e.nest(t)),r=n.start,i=n.end;return Object.assign({},e,{nestStart:r,nestEnd:i})}if(o.isValidElement(e.nest)){var a=Jxt(e.nest),s=a.start,l=a.end;return Object.assign({},e,{nestStart:s,nestEnd:l})}return _Ee(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 b_t=["1","a","i"],w_t={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=b_t[e%3];return o.createElement("ol",{type:t})}},media:o.createElement("figure",null),atomic:o.createElement("figure",null)},x_t=function(e,t){return t},__t=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,r=e.blockToHTML,i=void 0===r?{}:r,a=e.entityToHTML,s=void 0===a?x_t:a;return function(e){var t;_Ee(null!=e,"Expected contentState to be non-null"),t=!0===i.__isMiddleware?i(O_t(w_t)):a_t(O_t(i),O_t(w_t));var r=Zxt.convertToRaw(e),a=[],l=r.blocks.map((function(e){var i=e.type,l=e.depth,c="",u="",d=t(e);if(!d)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(d.nest)for(;l+1!==a.length||i!==a[l].type;)if(l+1===a.length){var p=a[l];c+=y_t(t(p),l).nestEnd,u+=y_t(t(e),l).nestStart,a[l]=e}else if(l+1<a.length){var f=a[a.length-1];c+=y_t(t(f),l).nestEnd,a=a.slice(0,-1)}else u+=y_t(t(e),l).nestStart,a.push(e);else c=a.reduceRight((function(e,n){return e+y_t(t(n),l).nestEnd}),""),a=[];var h,m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g_t;_Ee(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(s_t):a_t(o_t(n),o_t(s_t));for(var r="",i=[],o=e.inlineStyleRanges.sort(Gxt),a=nit(e.text),s=0;s<a.length;s++){var l=u_t(s,o),c=l_t(i,l),u=l_t(l,i),d=l_t(i,c),p=f_t(d,u),f=p.concat(u).sort(p_t),h=f.reduce(h_t.bind(null,t),"");r+=c.concat(p).reduce(m_t.bind(null,t),"")+h+a[s],i=(i=c_t(i,p.concat(c))).concat(f),_Ee(i.length===l.length,"Character ".concat(s,": ").concat(i.length-l.length," styles left on stack that should no longer be there"))}return i.reduceRight((function(e,n){return e+t_t(t(n.style)).end}),r)}(i_t(function(e){for(var t=nit(e.text),n=e.entityRanges.sort(Gxt),r=e.inlineStyleRanges.sort(Gxt),i="",o=function(e){var o=t[e];if(void 0!==Hxt[o]){var a=Hxt[o],s=nit(i).length;i+=a;var l=function(e){return Yxt(e,s,o.length,a.length,0,0)};n=n.map(l),r=r.map(l)}else i+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:i,inlineStyleRanges:r,entityRanges:n})}(e),r.entityMap,s),n),g=v_t(t(e));return h="string"==typeof g?g:g.start+m+g.end,0===m.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(h=o.isValidElement(g.empty)?Ve.renderToStaticMarkup(g.empty):g.empty),c+u+h})).join("");return l=a.reduce((function(e,n){return e+y_t(t(n),n.depth).nestEnd}),l)}},k_t={exports:{}};k_t.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:B(e)}function r(e){return s(e)?e:Z(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!c(e)?e:G(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,O=1<<g,v=O-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function P(e){return void 0===e.size&&(e.size=e.__iterate($)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function $(){return!0}function E(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function Q(e,t){return I(e,t,t)}function I(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,A=1,R=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",M=z||N;function j(e){this.next=e}function U(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function X(){return{value:void 0,done:!0}}function L(e){return!!F(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=F(e);return t&&t.call(e)}function F(e){var t=e&&(z&&e[z]||e[N]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function B(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Z(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function G(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=D,j.VALUES=A,j.ENTRIES=R,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[M]=function(){return this},t(B,n),B.of=function(){return B(arguments)},B.prototype.toSeq=function(){return this},B.prototype.toString=function(){return this.__toString("Seq {","}")},B.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},B.prototype.__iterate=function(e,t){return de(this,e,t,!0)},B.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(Z,B),Z.prototype.toKeyedSeq=function(){return this},t(Y,B),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(G,B),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},B.isSeq=oe,B.Keyed=Z,B.Set=G,B.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new ie(e).fromEntrySeq():L(e)?new re(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=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(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 ue(e){return V(e)?new te(e):q(e)?new ie(e):L(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new j((function(){var e=i[n?o-a:a];return a++>o?X():U(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Z(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?Z(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Oe(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 ve(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)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&Oe(i[1],e)&&(n||Oe(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,r){if(n?!e.has(t):i?!Oe(t,e.get(r,y)):!Oe(e.get(r,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(be(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 xe(){throw TypeError("Abstract")}function _e(){}function ke(){}function Se(){}B.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new j((function(){return i>r?X():U(e,i,n[t?r-i++:i++])}))},t(ne,Z),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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new j((function(){var a=r[t?i-o:o];return o++>i?X():U(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(q(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!q(n))return new j(X);var r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new j((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return U(e,i,r[i++])}))},t(ye,Y),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return Oe(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:new ye(this._value,Q(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return Oe(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return Oe(this._value,e)?this.size:-1},ye.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},ye.prototype.__iterator=function(e,t){var n=this,r=0;return new j((function(){return r<n.size?U(e,r++,n._value):X()}))},ye.prototype.equals=function(e){return e instanceof ye?Oe(this._value,e._value):ve(e)},t(we,Y),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return E(e,t,this.size)?this:(e=T(e,this.size),(t=Q(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.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},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new j((function(){var a=i;return i+=t?-r:r,o>n?X():U(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ve(this,e)},t(xe,n),t(_e,xe),t(ke,xe),t(Se,xe),xe.Keyed=_e,xe.Indexed=ke,xe.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function $e(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 Ce(n)}if("string"===t)return e.length>je?Ee(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Qe(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ee(e){var t=Le[e];return void 0===t&&(t=Te(e),Xe===Ue&&(Xe=0,Le={}),Xe++,Le[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function Qe(e){var t;if(ze&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=Ae(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Re.set(e,t);else{if(void 0!==Ie&&!1===Ie(e))throw new Error("Non-extensible objects are not allowed as keys.");if(De)Object.defineProperty(e,Me,{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[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ae(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,ze="function"==typeof WeakMap;ze&&(Re=new WeakMap);var Ne=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var je=16,Ue=255,Xe=0,Le={};function qe(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?it():Fe(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Be])}t(We,_e),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,y)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,xn(e),t,n);return r===y?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},We.prototype.merge=function(){return pt(this,void 0,arguments)},We.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return pt(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return Lt(dn(this,e))},We.prototype.sortBy=function(e,t){return Lt(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=Fe;var Ve,Be="@@__IMMUTABLE_MAP__@@",Ze=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ze);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return Ve||(Ve=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=x(b),a=x(w);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;i=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===y?e:(_(s),_(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ke(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Ge(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,$e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(O),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new He(e,o+1,a)}function pt(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],l=r(s);a(s)||(l=l.map((function(e){return fe(e)}))),i.push(l)}return mt(e,t,i)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):Oe(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return Oe(t,i)?t:i}}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 r=t?function(n,r){e.update(r,y,(function(e){return e===y?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===y,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}be(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?y:e.get(l,y),u=gt(c,t,n,r);return u===c?e:u===y?e.remove(l):(i?it():e).set(l,u)}function Ot(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function vt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function yt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function bt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ze[Be]=!0,Ze[m]=Ze.remove,Ze.removeIn=Ze.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ye.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===y,l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ye(e,f)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[Ot(o&i-1)].get(e+g,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===y)return this;var d=Ot(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,r,i,o,a);if(h===f)return this;if(!u&&h&&p.length>=xt)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,O=u?h?c:c^l:c|l,b=u?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=O,this.nodes=b,this):new Ge(e,O,b)},He.prototype.get=function(e,t,n,r){void 0===t&&(t=$e(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=(0===t?n:n>>>t)&v,l=i===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<_t)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new He(e,p,h)},Ke.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Oe(n,i[o][0]))return i[o][1];return r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=$e(r));var s=i===y;if(n!==this.keyHash)return s?this:(_(a),_(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!Oe(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return Oe(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=Oe(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(_(a),s?void _(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(_(o),lt(this,e,t,$e(r),[r,i])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},Ge.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return X()};var wt=O/4,xt=O/2,_t=O/4;function kt(e){var t=At();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(qe(r),r>0&&r<O?Dt(0,r,g,null,new $t(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&v]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):At()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Ut(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:jt(this,T(e,n),Q(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new j((function(){var t=r();return t===Qt?X():U(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Qt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function $t(e,t){this.array=e,this.ownerID=t}Ct[Pt]=!0,Ct[m]=Ct.remove,Ct.setIn=Ze.setIn,Ct.deleteIn=Ct.removeIn=Ze.removeIn,Ct.update=Ze.update,Ct.updateIn=Ze.updateIn,Ct.mergeIn=Ze.mergeIn,Ct.mergeDeepIn=Ze.mergeDeepIn,Ct.withMutations=Ze.withMutations,Ct.asMutable=Ze.asMutable,Ct.asImmutable=Ze.asImmutable,Ct.wasAltered=Ze.wasAltered,$t.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&v;if(r>=this.array.length)return new $t([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Nt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},$t.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&v;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Nt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Et,Tt,Qt={};function It(e,t){var n=e._origin,r=e._capacity,i=Xt(r),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===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>O&&(c=O),function(){if(l===c)return Qt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>O&&(u=O),function(){for(;;){if(s){var e=s();if(e!==Qt)return e;s=null}if(c===u)return Qt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function At(){return Et||(Et=Dt(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=Xt(e._capacity)?r=zt(r,e.__ownerID,0,t,n,o):i=zt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Dt(e._origin,e._capacity,e._level,i,r):e}function zt(e,t,n,r,i,o){var a,s=r>>>n&v,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=zt(c,t,n-g,r,i,o);return u===c?e:((a=Nt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(_(o),a=Nt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Nt(e,t){return t&&e&&t===e.ownerID?e:new $t(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Xt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new $t(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Xt(o),p=Xt(s);p>=1<<l+g;)c=new $t(c&&c.array.length?[c]:[],r),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new $t([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=Nt(c,r),O=l;O>g;O-=g){var y=d>>>O&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>g&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(u=0;c;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(u+=(1<<l)*b),l-=g,c=c.array[b]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,c,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Xt(e){return e<O?0:e-1>>>g<<g}function Lt(e){return null==e?Ft():qt(e)?e:Ft().withMutations((function(t){var n=r(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Fe(e)&&u(e)}function Wt(e,t,n,r){var i=Object.create(Lt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ft(){return Tt||(Tt=Wt(it(),At()))}function Vt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=O&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),r=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Wt(r,i)}function Bt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Ht(e){var t=yn(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=bn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new j((function(){var e=r.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===A?D:A,n)},t}function Kt(e,t,n){var r=yn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,y);return o===y?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(R,i);return new j((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return U(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=bn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=yn(e);return r&&(i.has=function(r){var i=e.get(r,y);return i!==y&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,y);return o!==y&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(R,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return U(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Lt():We()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=vn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),E(t,n,i))return e;var o=T(t,i),a=Q(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new j((function(){for(;a++<o;)i.next();if(++l>s)return X();var e=i.next();return r||t===A?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(R,i),s=!0;return new j((function(){if(!s)return X();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===R?e:U(r,l,c,e):(s=!1,X())}))},r}function an(e,t,n,r){var i=yn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(R,o),l=!0,c=0;return new j((function(){var e,o,u;do{if((e=s.next()).done)return r||i===A?e:U(i,c++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===R?e:U(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:U(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return X()}))},r}function cn(e,t,n){var r=vn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(A,r),a=0;return new j((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?U(n,a++,t):U(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=wn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Z(o):l(e)?Y(o):G(o)}function pn(e,t,n){if(t||(t=wn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=yn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(A,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),W(i?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?X():U(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}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 On(e){return qe(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?Z:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):B.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=W(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(n(e))}return t}function _n(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);Cn(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=We(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Lt,We),Lt.of=function(){return this(arguments)},Lt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Lt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Lt.prototype.set=function(e,t){return Vt(this,e,t)},Lt.prototype.remove=function(e){return Vt(this,e,y)},Lt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Lt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Lt.isOrderedMap=qt,Lt.prototype[h]=!0,Lt.prototype[m]=Lt.prototype.remove,t(Bt,Z),Bt.prototype.get=function(e,t){return this._iter.get(e,t)},Bt.prototype.has=function(e){return this._iter.has(e)},Bt.prototype.valueSeq=function(){return this._iter.valueSeq()},Bt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Bt.prototype.map=function(e,t){var n=this,r=Kt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Bt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?On(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Bt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(A,t),r=t?On(this):0;return new j((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Bt.prototype[h]=!0,t(Zt,Y),Zt.prototype.includes=function(e){return this._iter.includes(e)},Zt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t),r=0;return new j((function(){var t=n.next();return t.done?t:U(e,r++,t.value,t)}))},t(Yt,G),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,Z),Gt.prototype.entrySeq=function(){return this._iter.toSeq()},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Zt.prototype.cacheResult=Bt.prototype.cacheResult=Yt.prototype.cacheResult=Gt.prototype.cacheResult=bn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.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},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},_n.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)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=_n.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Pn(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach($n.bind(void 0,e))}catch(e){}}function $n(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function En(e){return null==e?zn():Tn(e)&&!u(e)?e:zn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ze.removeIn,kn.merge=Ze.merge,kn.mergeWith=Ze.mergeWith,kn.mergeIn=Ze.mergeIn,kn.mergeDeep=Ze.mergeDeep,kn.mergeDeepWith=Ze.mergeDeepWith,kn.mergeDeepIn=Ze.mergeDeepIn,kn.setIn=Ze.setIn,kn.update=Ze.update,kn.updateIn=Ze.updateIn,kn.withMutations=Ze.withMutations,kn.asMutable=Ze.asMutable,kn.asImmutable=Ze.asImmutable,t(En,Se),En.of=function(){return this(arguments)},En.fromKeys=function(e){return this(r(e).keySeq())},En.prototype.toString=function(){return this.__toString("Set {","}")},En.prototype.has=function(e){return this._map.has(e)},En.prototype.add=function(e){return An(this,this._map.set(e,!0))},En.prototype.remove=function(e){return An(this,this._map.remove(e))},En.prototype.clear=function(){return An(this,this._map.clear())},En.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])},En.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)}))}))},En.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)}))}))},En.prototype.merge=function(){return this.union.apply(this,arguments)},En.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},En.prototype.sort=function(e){return Nn(dn(this,e))},En.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},En.prototype.wasAltered=function(){return this._map.wasAltered()},En.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},En.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},En.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)},En.isSet=Tn;var Qn,In="@@__IMMUTABLE_SET__@@",Dn=En.prototype;function An(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(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Qn||(Qn=Rn(it()))}function Nn(e){return null==e?Ln():Mn(e)?e:Ln().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Ze.withMutations,Dn.asMutable=Ze.asMutable,Dn.asImmutable=Ze.asImmutable,Dn.__empty=zn,Dn.__make=Rn,t(Nn,En),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(r(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Mn;var jn,Un=Nn.prototype;function Xn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return jn||(jn=Xn(Ft()))}function qn(e){return null==e?Yn():Wn(e)?e:Yn().unshiftAll(e)}function Wn(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Ln,Un.__make=Xn,t(qn,ke),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Zn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Zn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(E(e,t,this.size))return this;var n=T(e,this.size);if(Q(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Zn(r,i)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Zn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new j((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return X()}))},qn.isStack=Wn;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Bn=qn.prototype;function Zn(e,t,n,r){var i=Object.create(Bn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Zn(0))}function Gn(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}Bn[Vn]=!0,Bn.withMutations=Ze.withMutations,Bn.asMutable=Ze.asMutable,Bn.asImmutable=Ze.asImmutable,Bn.wasAltered=Ze.wasAltered,n.Iterator=j,Gn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Zt(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 Bt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Lt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return En(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return Oe(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(D)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var r,i;return qe(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,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(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ve(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find($)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return Oe(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=xn(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,y):y)===y)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?nr(e):or)},minBy:function(e,t){return pn(this,t?nr(t):or,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(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[M]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=rr,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Gn(r,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return Oe(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return Oe(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Kn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr($e(e),$e(t))|0}:function(e,t){r=r+lr($e(e),$e(t))|0}:t?function(e){r=31*r+$e(e)|0}:function(e){r=r+$e(e)|0});return sr(i,r)}function sr(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Bt(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 r=this.slice(0,e);return mn(this,1===n?r:r.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=C(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=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[f]=!0,i.prototype[h]=!0,Gn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Gn(Z,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(ke,i.prototype),Gn(Se,o.prototype),{Iterable:n,Seq:B,Collection:xe,Map:We,OrderedMap:Lt,List:kt,Stack:qn,Set:En,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:Oe,fromJS:fe}}();var S_t=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function P_t(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=S_t(e)):t=S_t(e);return t.body}var C_t=new RegExp("\r","g"),$_t=new RegExp("\n","g"),E_t=new RegExp(" ","g"),T_t=new RegExp("\r","g"),Q_t=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],I_t={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},D_t=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},A_t=function(e,t,n){},R_t=function(e,t,n){return n},z_t=function(e,t){},N_t=function(e){return[]},M_t=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function j_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:k_t.exports.Map();return!0===n?{text:"\r",inlines:[k_t.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[k_t.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function U_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k_t.exports.Map();return{text:"\r",inlines:[k_t.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function X_t(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 L_t(e,t,n){return X_t(e,n)}function q_t(e,t,n){var r=I_t[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var i=t;n=n.withMutations((function(e){"bold"===i.style.fontWeight&&e.add("BOLD"),"italic"===i.style.fontStyle&&e.add("ITALIC"),"underline"===i.style.textDecoration&&e.add("UNDERLINE"),"line-through"===i.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function W_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k_t.exports.OrderedSet();return q_t(e,t,n)}function F_t(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),i=e.text.slice(-1),o="\r"===i&&"\r"===r,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;" "!==r&&"\n"!==r||(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 V_t(e,t,n,r,i,o,a,s,l,c,u,d,p,f,h,m){var g=e.nodeName.toLowerCase(),O=!1,v="unstyled";if("#text"===g){var y=e.textContent;if(""===y.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===y.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[k_t.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(y=y.replace($_t," "));var b=Array(y.length).fill(m),w=0;return l(y,u,d,p,f).sort(Gxt).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+w;null==i&&(i=y.substr(o,r));var a=y.split("");a.splice.bind(a,o,r).apply(a,i.split("")),y=a.join(""),b.splice.bind(b,o,r).apply(b,Array(i.length).fill(t)),w+=i.length-r})),{text:y,inlines:Array(y.length).fill(t),entities:b,blocks:[]}}if("br"===g){var x=r;return null===x?j_t("unstyled",o,!0):j_t(x||"unstyled",o,h.flat)}var _={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=q_t(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,S,P=c(g,e,n,r);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(k=P,S=k_t.exports.Map()):(k="string"==typeof P?P:P.type,S=P.data?k_t.exports.Map(P.data):k_t.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,O=!0,_=j_t(k,o,!0,S));else{var C=X_t(g,n);_=U_t(C,o),r=C,O=!0,v="ul"===n?"unordered-list-item":"ordered-list-item"}else _=U_t(k||X_t(g,n),o,S),r=k||X_t(g,n),O=!0;var $=e.firstChild;null!=$||!m||"atomic"!==k&&"atomic"!==r||($=document.createTextNode("a")),null!=$&&(g=$.nodeName.toLowerCase());for(var E=null;$;){E=s(g,$,u,d,p,f),_=F_t(_,V_t($,t,n,r,i,o,a,s,l,c,u,d,p,f,h,E||m),h.flat);var T=$.nextSibling;if(T&&i.indexOf(g)>=0&&r){var Q=c(g,$,n,r),I=void 0,D=void 0;!1!==Q&&("string"==typeof(Q=Q||{})?(I=Q,D=k_t.exports.Map()):(I=Q.type||X_t(g,n),D=Q.data?k_t.exports.Map(Q.data):k_t.exports.Map()),_=F_t(_,j_t(I,o,h.flat,D),h.flat))}T&&(g=T.nodeName.toLowerCase()),$=T}return O&&(_=F_t(_,U_t(v,o,k_t.exports.Map()),h.flat)),_}function B_t(e,t,n,r,i,o,a,s,l,c,u){var d=u(e=e.trim().replace(C_t,"").replace(E_t," "));if(!d)return null;var p=function(e){return Q_t.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Q_t.concat(["div"]):["div"],f=V_t(d,k_t.exports.OrderedSet(),"ul",null,p,-1,t,n,r,i,o,a,s,l,c);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:k_t.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:k_t.exports.Map(),depth:0}),f}function Z_t(e,t,n,r,i,o,a,s,l,c,u,d){var p=B_t(e,t,n,r,i,o,a,s,l,c,u);if(null==p)return[];var f=0;return p.text.split("\r").map((function(e,t){e=e.replace(T_t,"");var n=f+e.length,r=M_t(p).inlines.slice(f,n),i=M_t(p).entities.slice(f,n),o=k_t.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),Zxt.CharacterMetadata.create(n)})));return f=n+1,new Zxt.ContentBlock({key:d(),type:M_t(p).blocks[t].type,data:M_t(p).blocks[t].data,depth:M_t(p).blocks[t].depth,text:e,characterList:o})}))}var Y_t=function(e){var t=e.htmlToStyle,n=void 0===t?R_t:t,r=e.htmlToEntity,i=void 0===r?z_t:r,o=e.textToEntity,a=void 0===o?N_t:o,s=e.htmlToBlock,l=void 0===s?A_t:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P_t,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Zxt.genKey,s=Zxt.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():Zxt.Entity.create.apply(Zxt.Entity,arguments)},u=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):Zxt.Entity.get.apply(Zxt.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):Zxt.Entity.mergeData.apply(Zxt.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):Zxt.Entity.replaceData.apply(Zxt.Entity,arguments)},f=Z_t(e,D_t(n,W_t),D_t(i,z_t),D_t(a,N_t),D_t(l,L_t),c,u,d,p,t,r,o),h=Zxt.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:h,selectionBefore:Zxt.SelectionState.createEmpty(m),selectionAfter:Zxt.SelectionState.createEmpty(m)})}},G_t=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?Y_t({}).apply(void 0,arguments):Y_t.apply(void 0,arguments)};O1('/**\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 H_t={};function K_t(e){e&&(e.value=!0)}function J_t(){}function ekt(e){return void 0===e.size&&(e.size=e.__iterate(nkt)),e.size}function tkt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?ekt(e)+t:t}function nkt(){return!0}function rkt(e,t,n){return(0===e&&!skt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function ikt(e,t){return akt(e,t,0)}function okt(e,t){return akt(e,t,t)}function akt(e,t,n){return void 0===e?n:skt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function skt(e){return e<0||0===e&&1/e==-1/0}function lkt(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function ckt(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function ukt(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function dkt(e){return ckt(e)||ukt(e)}var pkt=function(e){return lkt(e)?e:Ikt(e)},fkt=function(e){function t(e){return ckt(e)?e:Dkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pkt),hkt=function(e){function t(e){return ukt(e)?e:Akt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pkt),mkt=function(e){function t(e){return lkt(e)&&!dkt(e)?e:Rkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pkt);pkt.Keyed=fkt,pkt.Indexed=hkt,pkt.Set=mkt;function gkt(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function Okt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function vkt(e){return lkt(e)||Okt(e)}var ykt="@@__IMMUTABLE_ORDERED__@@";function bkt(e){return Boolean(e&&e[ykt])}var wkt="function"==typeof Symbol&&Symbol.iterator,xkt=wkt||"@@iterator",_kt=function(e){this.next=e};function kkt(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function Skt(){return{value:void 0,done:!0}}function Pkt(e){return!!Ekt(e)}function Ckt(e){return e&&"function"==typeof e.next}function $kt(e){var t=Ekt(e);return t&&t.call(e)}function Ekt(e){var t=e&&(wkt&&e[wkt]||e["@@iterator"]);if("function"==typeof t)return t}_kt.prototype.toString=function(){return"[Iterator]"},_kt.KEYS=0,_kt.VALUES=1,_kt.ENTRIES=2,_kt.prototype.inspect=_kt.prototype.toSource=function(){return this.toString()},_kt.prototype[xkt]=function(){return this};var Tkt=Object.prototype.hasOwnProperty;function Qkt(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 Ikt=function(e){function t(e){return null==e?Ukt():vkt(e)?e.toSeq():function(e){var t=qkt(e);if(t)return t;if("object"==typeof e)return new Nkt(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 r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new _kt((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return kkt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(pkt),Dkt=function(e){function t(e){return null==e?Ukt().toKeyedSeq():lkt(e)?ckt(e)?e.toSeq():e.fromEntrySeq():Okt(e)?e.toSeq():Xkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(Ikt),Akt=function(e){function t(e){return null==e?Ukt():lkt(e)?ckt(e)?e.entrySeq():e.toIndexedSeq():Okt(e)?e.toSeq().entrySeq():Lkt(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}(Ikt),Rkt=function(e){function t(e){return(lkt(e)&&!dkt(e)?e:Akt(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}(Ikt);Ikt.isSeq=gkt,Ikt.Keyed=Dkt,Ikt.Set=Rkt,Ikt.Indexed=Akt,Ikt.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var zkt=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[tkt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new _kt((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return kkt(e,o,n[o])}))},t}(Akt),Nkt=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 Tkt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new _kt((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return kkt(e,a,n[a])}))},t}(Dkt);Nkt.prototype[ykt]=!0;var Mkt,jkt=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=$kt(this._collection),r=0;if(Ckt(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=$kt(this._collection);if(!Ckt(n))return new _kt(Skt);var r=0;return new _kt((function(){var t=n.next();return t.done?t:kkt(e,r++,t.value)}))},t}(Akt);function Ukt(){return Mkt||(Mkt=new zkt([]))}function Xkt(e){var t=Array.isArray(e)?new zkt(e):Pkt(e)?new jkt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new Nkt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function Lkt(e){var t=qkt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function qkt(e){return Qkt(e)?new zkt(e):Pkt(e)?new jkt(e):void 0}function Wkt(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function Fkt(e){return Wkt(e)&&bkt(e)}function Vkt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function Bkt(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!!(Vkt(e)&&Vkt(t)&&e.equals(t))}var Zkt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ykt(e){return e>>>1&1073741824|3221225471&e}var Gkt=Object.prototype.valueOf;function Hkt(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 Ykt(t)}(e);case"string":return e.length>oSt?function(e){var t=lSt[e];void 0===t&&(t=Kkt(e),sSt===aSt&&(sSt=0,lSt={}),sSt++,lSt[e]=t);return t}(e):Kkt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Ykt(e.hashCode(e)):(e.valueOf!==Gkt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(nSt&&void 0!==(t=tSt.get(e)))return t;if(void 0!==(t=e[iSt]))return t;if(!eSt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[iSt]))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=++rSt,1073741824&rSt&&(rSt=0);if(nSt)tSt.set(e,t);else{if(void 0!==Jkt&&!1===Jkt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(eSt)Object.defineProperty(e,iSt,{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[iSt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[iSt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Kkt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Kkt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ykt(t)}var Jkt=Object.isExtensible,eSt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var tSt,nSt="function"==typeof WeakMap;nSt&&(tSt=new WeakMap);var rSt=0,iSt="__immutablehash__";"function"==typeof Symbol&&(iSt=Symbol(iSt));var oSt=16,aSt=255,sSt=0,lSt={},cSt=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=mSt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=hSt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(Dkt);cSt.prototype[ykt]=!0;var uSt=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,r=0;return t&&ekt(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&ekt(this),new _kt((function(){var o=r.next();return o.done?o:kkt(e,t?n.size-++i:i++,o.value,o)}))},t}(Akt),dSt=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 _kt((function(){var t=n.next();return t.done?t:kkt(e,t.value,t.value,t)}))},t}(Rkt),pSt=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){PSt(t);var r=lkt(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _kt((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){PSt(r);var i=lkt(r);return kkt(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(Dkt);function fSt(e){var t=$St(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=ESt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new _kt((function(){var e=r.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 hSt(e,t,n){var r=$St(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,H_t);return o===H_t?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new _kt((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return kkt(r,s,t.call(n,a[1],s,e),i)}))},r}function mSt(e,t){var n=this,r=$St(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=fSt(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=ESt,r.__iterate=function(n,r){var i=this,o=0;return r&&ekt(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&ekt(e);var a=e.__iterator(2,!i);return new _kt((function(){var e=a.next();if(e.done)return e;var s=e.value;return kkt(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function gSt(e,t,n,r){var i=$St(e);return r&&(i.has=function(r){var i=e.get(r,H_t);return i!==H_t&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,H_t);return o!==H_t&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new _kt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return kkt(i,r?c:s++,u,o)}}))},i}function OSt(e,t,n,r){var i=e.size;if(rkt(t,n,i))return e;var o=ikt(t,i),a=okt(n,i);if(o!=o||a!=a)return OSt(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=$St(e);return c.size=0===s?s:e.size&&s||void 0,!r&&gkt(e)&&s>=0&&(c.get=function(t,n){return(t=tkt(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new _kt(Skt);var i=e.__iterator(t,n),a=0,l=0;return new _kt((function(){for(;a++<o;)i.next();if(++l>s)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:kkt(t,l-1,0===t?void 0:e.value[1],e)}))},c}function vSt(e,t,n,r){var i=$St(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),l=!0,c=0;return new _kt((function(){var e,o,u;do{if((e=s.next()).done)return r||1===i?e:kkt(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return 2===i?e:kkt(i,o,u,e)}))},i}function ySt(e,t){var n=ckt(e),r=[e].concat(t).map((function(e){return lkt(e)?n&&(e=fkt(e)):e=n?Xkt(e):Lkt(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&ckt(i)||ukt(e)&&ukt(i))return i}var o=new zkt(r);return n?o=o.toKeyedSeq():ukt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function bSt(e,t,n){var r=$St(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(l,c){l.__iterate((function(o,l){return(!t||c<t)&&lkt(o)?e(o,c+1):(a++,!1===i(o,n?l:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new _kt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===r&&(l=l[1]),t&&!(a.length<t)||!lkt(l))return n?e:kkt(r,s++,l,e);a.push(o),o=l.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function wSt(e,t,n){t||(t=TSt);var r=ckt(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Dkt(o):ukt(e)?Akt(o):Rkt(o)}function xSt(e,t,n){if(t||(t=TSt),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return _St(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return _St(t,e,n)?n:e}))}function _St(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function kSt(e,t,n,r){var i=$St(e),o=new zkt(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=pkt(e),$kt(i?e.reverse():e)})),a=0,s=!1;return new _kt((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:kkt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function SSt(e,t){return e===t?e:gkt(e)?t:e.constructor(t)}function PSt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function CSt(e){return ckt(e)?fkt:ukt(e)?hkt:mkt}function $St(e){return Object.create((ckt(e)?Dkt:ukt(e)?Akt:Rkt).prototype)}function ESt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Ikt.prototype.cacheResult.call(this)}function TSt(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 QSt(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function ISt(e,t){if(!e)throw new Error(t)}function DSt(e){ISt(e!==1/0,"Cannot perform this action with an infinite size.")}function ASt(e){if(Qkt(e)&&"string"!=typeof e)return e;if(bkt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function RSt(e){return"object"==typeof e&&(vkt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function zSt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function NSt(e,t,n){return vkt(e)?e.get(t,n):function(e,t){return vkt(e)?e.has(t):RSt(e)&&Tkt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function MSt(e){if(Array.isArray(e))return QSt(e);var t={};for(var n in e)Tkt.call(e,n)&&(t[n]=e[n]);return t}function jSt(e,t,n,r){r||(r=n,n=void 0);var i=USt(vkt(e),e,ASt(t),0,n,r);return i===H_t?n:i}function USt(e,t,n,r,i,o){var a=t===H_t;if(r===n.length){var s=a?i:t,l=o(s);return l===s?t:l}if(!a&&!RSt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(zSt)+"]: "+t);var c=n[r],u=a?H_t:NSt(t,c,H_t),d=USt(u===H_t?e:vkt(u),u,n,r+1,i,o);return d===u?t:d===H_t?function(e,t){if(!RSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(vkt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!Tkt.call(e,t))return e;var n=MSt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!RSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(vkt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(Tkt.call(e,t)&&n===e[t])return e;var r=MSt(e);return r[t]=n,r}(a?e?fPt():{}:t,c,d)}function XSt(e,t){return function(e,t,n){return jSt(e,t,H_t,(function(){return n}))}(this,e,t)}function LSt(e){return function(e,t){return jSt(e,t,(function(){return H_t}))}(this,e)}function qSt(e,t,n,r){return jSt(e,[t],n,r)}function WSt(e,t,n){return 1===arguments.length?e(this):qSt(this,e,t,n)}function FSt(e,t,n){return jSt(this,e,t,n)}function VSt(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=fkt(t[i]);0!==o.size&&r.push(o)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){qSt(e,r,H_t,(function(e){return e===H_t?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},i=0;i<r.length;i++)r[i].forEach(t)})):e.constructor(r[0])}function BSt(e,t,n){return ZSt(e,t,function(e){function t(n,r,i){return RSt(n)&&RSt(r)?ZSt(n,[r],t):e?e(n,r,i):r}return t}(n))}function ZSt(e,t,n){if(!RSt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(vkt(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 r=Array.isArray(e),i=e,o=r?hkt:fkt,a=r?function(t){i===e&&(i=MSt(i)),i.push(t)}:function(t,r){var o=Tkt.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=MSt(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function YSt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return jSt(this,e,fPt(),(function(e){return ZSt(e,t)}))}function GSt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return jSt(this,e,fPt(),(function(e){return BSt(e,t)}))}function HSt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function KSt(){return this.__ownerID?this:this.__ensureOwner(new J_t)}function JSt(){return this.__ensureOwner()}function ePt(){return this.__altered}uSt.prototype.cacheResult=cSt.prototype.cacheResult=dSt.prototype.cacheResult=pSt.prototype.cacheResult=ESt;var tPt=function(e){function t(t){return null==t?fPt():Wkt(t)&&!bkt(t)?t:fPt().withMutations((function(n){var r=e(t);DSt(r.size),r.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 fPt().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 hPt(this,e,t)},t.prototype.remove=function(e){return hPt(this,e,H_t)},t.prototype.deleteAll=function(e){var t=pkt(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):fPt()},t.prototype.sort=function(e){return MPt(wSt(this,e))},t.prototype.sortBy=function(e,t){return MPt(wSt(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new cPt(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?pPt(this.size,this._root,e,this.__hash):0===this.size?fPt():(this.__ownerID=e,this.__altered=!1,this)},t}(fkt);tPt.isMap=Wkt;var nPt=tPt.prototype;nPt["@@__IMMUTABLE_MAP__@@"]=!0,nPt.delete=nPt.remove,nPt.removeAll=nPt.deleteAll,nPt.setIn=XSt,nPt.removeIn=nPt.deleteIn=LSt,nPt.update=WSt,nPt.updateIn=FSt,nPt.merge=nPt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return VSt(this,e)},nPt.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 VSt(this,t,e)},nPt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return BSt(this,e)},nPt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return BSt(this,t,e)},nPt.mergeIn=YSt,nPt.mergeDeepIn=GSt,nPt.withMutations=HSt,nPt.wasAltered=ePt,nPt.asImmutable=JSt,nPt["@@transducer/init"]=nPt.asMutable=KSt,nPt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},nPt["@@transducer/result"]=function(e){return e.asImmutable()};var rPt=function(e,t){this.ownerID=e,this.entries=t};rPt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Bkt(n,i[o][0]))return i[o][1];return r},rPt.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===H_t,l=this.entries,c=0,u=l.length;c<u&&!Bkt(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(K_t(a),(s||!d)&&K_t(o),!s||1!==l.length){if(!d&&!s&&l.length>=bPt)return function(e,t,n,r){e||(e=new J_t);for(var i=new sPt(e,Hkt(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:QSt(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new rPt(e,f)}};var iPt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};iPt.prototype.get=function(e,t,n,r){void 0===t&&(t=Hkt(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[vPt(o&i-1)].get(e+5,t,n,r)},iPt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Hkt(r));var s=31&(0===t?n:n>>>t),l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===H_t)return this;var d=vPt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=mPt(f,e,t+5,n,r,i,o,a);if(h===f)return this;if(!u&&h&&p.length>=wPt)return function(e,t,n,r,i){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[r]=i,new oPt(e,o+1,a)}(e,p,c,s,h);if(u&&!h&&2===p.length&&gPt(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&gPt(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,O=u?h?yPt(p,d,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(p,d,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,h,m);return m?(this.bitmap=g,this.nodes=O,this):new iPt(e,g,O)};var oPt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};oPt.prototype.get=function(e,t,n,r){void 0===t&&(t=Hkt(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},oPt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Hkt(r));var s=31&(0===t?n:n>>>t),l=i===H_t,c=this.nodes,u=c[s];if(l&&!u)return this;var d=mPt(u,e,t+5,n,r,i,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<xPt)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new iPt(e,i,a)}(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=yPt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new oPt(e,p,h)};var aPt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};aPt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Bkt(n,i[o][0]))return i[o][1];return r},aPt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Hkt(r));var s=i===H_t;if(n!==this.keyHash)return s?this:(K_t(a),K_t(o),OPt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!Bkt(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(K_t(a),(s||!d)&&K_t(o),s&&2===u)return new sPt(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:QSt(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new aPt(e,this.keyHash,f)};var sPt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};sPt.prototype.get=function(e,t,n,r){return Bkt(n,this.entry[0])?this.entry[1]:r},sPt.prototype.update=function(e,t,n,r,i,o,a){var s=i===H_t,l=Bkt(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(K_t(a),s?void K_t(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new sPt(e,this.keyHash,[r,i]):(K_t(o),OPt(this,e,t,Hkt(r),[r,i])))},rPt.prototype.iterate=aPt.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},iPt.prototype.iterate=oPt.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},sPt.prototype.iterate=function(e,t){return e(this.entry)};var lPt,cPt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&dPt(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,r=t.index++,i=void 0;if(n.entry){if(0===r)return uPt(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return uPt(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return uPt(e,o.entry);t=this._stack=dPt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(_kt);function uPt(e,t){return kkt(e,t[0],t[1])}function dPt(e,t){return{node:e,index:0,__prev:t}}function pPt(e,t,n,r){var i=Object.create(nPt);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function fPt(){return lPt||(lPt=pPt(0))}function hPt(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=mPt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===H_t?-1:1:0)}else{if(n===H_t)return e;i=1,r=new rPt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?pPt(i,r):fPt()}function mPt(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===H_t?e:(K_t(s),K_t(a),new sPt(t,r,[i,o]))}function gPt(e){return e.constructor===sPt||e.constructor===aPt}function OPt(e,t,n,r,i){if(e.keyHash===r)return new aPt(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),l=a===s?[OPt(e,t,n+5,r,i)]:(o=new sPt(t,r,i),a<s?[e,o]:[o,e]);return new iPt(t,1<<a|1<<s,l)}function vPt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yPt(e,t,n,r){var i=r?e:QSt(e);return i[t]=n,i}var bPt=8,wPt=16,xPt=8;function _Pt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var kPt=function(e){function t(t){var n=QPt();if(null==t)return n;if(_Pt(t))return t;var r=e(t),i=r.size;return 0===i?n:(DSt(i),i>0&&i<32?TPt(0,i,5,null,new PPt(r.toArray())):n.withMutations((function(e){e.setSize(i),r.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=tkt(this,e))>=0&&e<this.size){var n=APt(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=tkt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?RPt(e,t).set(0,n):RPt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=zPt(e._capacity)?r=IPt(r,e.__ownerID,0,t,n,o):i=IPt(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return TPt(e._origin,e._capacity,e._level,i,r)}(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):QPt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){RPt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return RPt(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){RPt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return RPt(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!=typeof i&&Pkt(i)?i:[i]);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 RPt(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return rkt(e,t,n)?this:RPt(this,ikt(e,n),okt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=EPt(this,t);return new _kt((function(){var i=r();return i===$Pt?{value:void 0,done:!0}:kkt(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=EPt(this,t);(n=i())!==$Pt&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?TPt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?QPt():(this.__ownerID=e,this.__altered=!1,this)},t}(hkt);kPt.isList=_Pt;var SPt=kPt.prototype;SPt["@@__IMMUTABLE_LIST__@@"]=!0,SPt.delete=SPt.remove,SPt.merge=SPt.concat,SPt.setIn=XSt,SPt.deleteIn=SPt.removeIn=LSt,SPt.update=WSt,SPt.updateIn=FSt,SPt.mergeIn=YSt,SPt.mergeDeepIn=GSt,SPt.withMutations=HSt,SPt.wasAltered=ePt,SPt.asImmutable=JSt,SPt["@@transducer/init"]=SPt.asMutable=KSt,SPt["@@transducer/step"]=function(e,t){return e.push(t)},SPt["@@transducer/result"]=function(e){return e.asImmutable()};var PPt=function(e,t){this.array=e,this.ownerID=t};PPt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new PPt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=DPt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},PPt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=DPt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var CPt,$Pt={};function EPt(e,t){var n=e._origin,r=e._capacity,i=zPt(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(l===c)return $Pt;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);u>32&&(u=32);return function(){for(;;){if(s){var e=s();if(e!==$Pt)return e;s=null}if(c===u)return $Pt;var n=t?--u:c++;s=a(l&&l[n],i-5,o+(n<<i))}}}(e,s,l)}}function TPt(e,t,n,r,i,o,a){var s=Object.create(SPt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function QPt(){return CPt||(CPt=TPt(0,0,5))}function IPt(e,t,n,r,i,o){var a,s=r>>>n&31,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=IPt(c,t,n-5,r,i,o);return u===c?e:((a=DPt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(o&&K_t(o),a=DPt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function DPt(e,t){return t&&e&&t===e.ownerID?e:new PPt(e?e.array.slice():[],t)}function APt(e,t){if(t>=zPt(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function RPt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new J_t,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new PPt(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=zPt(o),p=zPt(s);p>=1<<l+5;)c=new PPt(c&&c.array.length?[c]:[],r),l+=5;var f=e._tail,h=p<d?APt(e,s-1):p>d?new PPt([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=DPt(c,r),g=l;g>5;g-=5){var O=d>>>g&31;m=m.array[O]=DPt(m.array[O],r)}m.array[d>>>5&31]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(u=0;c;){var v=a>>>l&31;if(v!==p>>>l&31)break;v&&(u+=(1<<l)*v),l-=5,c=c.array[v]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):TPt(a,s,l,c,h)}function zPt(e){return e<32?0:e-1>>>5<<5}var NPt,MPt=function(e){function t(e){return null==e?UPt():Fkt(e)?e:UPt().withMutations((function(t){var n=fkt(e);DSt(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):UPt()},t.prototype.set=function(e,t){return XPt(this,e,t)},t.prototype.remove=function(e){return XPt(this,e,H_t)},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?jPt(t,n,e,this.__hash):0===this.size?UPt():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(tPt);function jPt(e,t,n,r){var i=Object.create(MPt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function UPt(){return NPt||(NPt=jPt(fPt(),QPt()))}function XPt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===H_t){if(!l)return e;a.size>=32&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),r=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):jPt(r,i)}MPt.isOrderedMap=Fkt,MPt.prototype[ykt]=!0,MPt.prototype.delete=MPt.prototype.remove;function LPt(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var qPt=function(e){function t(e){return null==e?BPt():LPt(e)?e:BPt().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=tkt(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,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):VPt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&LPt(t))return t;DSt(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):VPt(n,r)},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):BPt()},t.prototype.slice=function(t,n){if(rkt(t,n,this.size))return this;var r=ikt(t,this.size);if(okt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):VPt(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?VPt(this.size,this._head,e,this.__hash):0===this.size?BPt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new zkt(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new zkt(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new _kt((function(){if(r){var t=r.value;return r=r.next,kkt(e,n++,t)}return{value:void 0,done:!0}}))},t}(hkt);qPt.isStack=LPt;var WPt,FPt=qPt.prototype;function VPt(e,t,n,r){var i=Object.create(FPt);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function BPt(){return WPt||(WPt=VPt(0))}FPt["@@__IMMUTABLE_STACK__@@"]=!0,FPt.shift=FPt.pop,FPt.unshift=FPt.push,FPt.unshiftAll=FPt.pushAll,FPt.withMutations=HSt,FPt.wasAltered=ePt,FPt.asImmutable=JSt,FPt["@@transducer/init"]=FPt.asMutable=KSt,FPt["@@transducer/step"]=function(e,t){return e.unshift(t)},FPt["@@transducer/result"]=function(e){return e.asImmutable()};function ZPt(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function YPt(e){return ZPt(e)&&bkt(e)}function GPt(e,t){if(e===t)return!0;if(!lkt(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||ckt(e)!==ckt(t)||ukt(e)!==ukt(t)||bkt(e)!==bkt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!dkt(e);if(bkt(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&Bkt(i[1],e)&&(n||Bkt(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,r){if(n?!e.has(t):i?!Bkt(t,e.get(r,H_t)):!Bkt(e.get(r,H_t),t))return a=!1,!1}));return a&&e.size===s}function HPt(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 KPt(e){if(!e||"object"!=typeof e)return e;if(!lkt(e)){if(!RSt(e))return e;e=Ikt(e)}if(ckt(e)){var t={};return e.__iterate((function(e,n){t[n]=KPt(e)})),t}var n=[];return e.__iterate((function(e){n.push(KPt(e))})),n}var JPt=function(e){function t(t){return null==t?iCt():ZPt(t)&&!bkt(t)?t:iCt().withMutations((function(n){var r=e(t);DSt(r.size),r.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(fkt(e).keySeq())},t.intersect=function(e){return(e=pkt(e).toArray()).length?tCt.intersect.apply(t(e.pop()),e):iCt()},t.union=function(e){return(e=pkt(e).toArray()).length?tCt.union.apply(t(e.pop()),e):iCt()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return nCt(this,this._map.set(e,e))},t.prototype.remove=function(e){return nCt(this,this._map.remove(e))},t.prototype.clear=function(){return nCt(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.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 r=0;r<t.length;r++)e(t[r]).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 r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.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 r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return bCt(wSt(this,e))},t.prototype.sortBy=function(e,t){return bCt(wSt(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}(mkt);JPt.isSet=ZPt;var eCt,tCt=JPt.prototype;function nCt(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 rCt(e,t){var n=Object.create(tCt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function iCt(){return eCt||(eCt=rCt(fPt()))}tCt["@@__IMMUTABLE_SET__@@"]=!0,tCt.delete=tCt.remove,tCt.merge=tCt.concat=tCt.union,tCt.withMutations=HSt,tCt.asImmutable=JSt,tCt["@@transducer/init"]=tCt.asMutable=KSt,tCt["@@transducer/step"]=function(e,t){return e.add(t)},tCt["@@transducer/result"]=function(e){return e.asImmutable()},tCt.__empty=iCt,tCt.__make=rCt;var oCt,aCt=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(ISt(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(oCt)return oCt;oCt=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+tkt(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 rkt(e,n,this.size)?this:(e=ikt(e,this.size),(n=okt(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,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new _kt((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,kkt(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:GPt(this,e)},t}(Akt);function sCt(e,t,n){for(var r=ASt(t),i=0;i!==r.length;)if((e=NSt(e,r[i++],H_t))===H_t)return n;return e}function lCt(){DSt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}pkt.isIterable=lkt,pkt.isKeyed=ckt,pkt.isIndexed=ukt,pkt.isAssociative=dkt,pkt.isOrdered=bkt,pkt.Iterator=_kt,HPt(pkt,{toArray:function(){DSt(this.size);var e=new Array(this.size||0),t=ckt(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new uSt(this)},toJS:function(){return KPt(this)},toKeyedSeq:function(){return new cSt(this,!0)},toMap:function(){return tPt(this.toKeyedSeq())},toObject:lCt,toOrderedMap:function(){return MPt(this.toKeyedSeq())},toOrderedSet:function(){return bCt(ckt(this)?this.valueSeq():this)},toSet:function(){return JPt(ckt(this)?this.valueSeq():this)},toSetSeq:function(){return new dSt(this)},toSeq:function(){return ukt(this)?this.toIndexedSeq():ckt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qPt(ckt(this)?this.valueSeq():this)},toList:function(){return kPt(ckt(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 SSt(this,ySt(this,e))},includes:function(e){return this.some((function(t){return Bkt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){DSt(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return SSt(this,gSt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return DSt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){DSt(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return SSt(this,hSt(this,e,t))},reduce:function(e,t,n){return pCt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return pCt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return SSt(this,mSt(this,!0))},slice:function(e,t){return SSt(this,OSt(this,e,t,!0))},some:function(e,t){return!this.every(mCt(e),t)},sort:function(e){return SSt(this,wSt(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 ekt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=tPt().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return GPt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new zkt(e._cache);var t=e.toSeq().map(hCt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(mCt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},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(nkt,null,e)},flatMap:function(e,t){return SSt(this,function(e,t,n){var r=CSt(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return SSt(this,bSt(this,e,!0))},fromEntrySeq:function(){return new pSt(this)},get:function(e,t){return this.find((function(t,n){return Bkt(n,e)}),void 0,t)},getIn:function(e,t){return sCt(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=ckt(e),i=(bkt(e)?MPt():tPt()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=CSt(e);return i.map((function(t){return SSt(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,H_t)!==H_t},hasIn:function(e){return function(e,t){return sCt(e,t,H_t)!==H_t}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:pkt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:pkt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return Bkt(t,e)}))},keySeq:function(){return this.toSeq().map(fCt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return xSt(this,e)},maxBy:function(e,t){return xSt(this,t,e)},min:function(e){return xSt(this,e?gCt(e):vCt)},minBy:function(e,t){return xSt(this,t?gCt(t):vCt,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 SSt(this,vSt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(mCt(e),t)},sortBy:function(e,t){return SSt(this,wSt(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 SSt(this,function(e,t,n){var r=$St(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new _kt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?2===r?e:kkt(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(mCt(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=bkt(e),n=ckt(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+yCt(Hkt(e),Hkt(t))|0}:function(e,t){r=r+yCt(Hkt(e),Hkt(t))|0}:t?function(e){r=31*r+Hkt(e)|0}:function(e){r=r+Hkt(e)|0});return function(e,t){return t=Zkt(t,3432918353),t=Zkt(t<<15|t>>>-15,461845907),t=Zkt(t<<13|t>>>-13,5),t=Zkt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ykt((t=Zkt(t^t>>>13,3266489909))^t>>>16)}(i,r)}(this))}});var cCt=pkt.prototype;cCt["@@__IMMUTABLE_ITERABLE__@@"]=!0,cCt[xkt]=cCt.values,cCt.toJSON=cCt.toArray,cCt.__toStringMapper=zSt,cCt.inspect=cCt.toSource=function(){return this.toString()},cCt.chain=cCt.flatMap,cCt.contains=cCt.includes,HPt(fkt,{flip:function(){return SSt(this,fSt(this))},mapEntries:function(e,t){var n=this,r=0;return SSt(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return SSt(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var uCt=fkt.prototype;uCt["@@__IMMUTABLE_KEYED__@@"]=!0,uCt[xkt]=cCt.entries,uCt.toJSON=lCt,uCt.__toStringMapper=function(e,t){return zSt(t)+": "+zSt(e)},HPt(hkt,{toKeyedSeq:function(){return new cSt(this,!1)},filter:function(e,t){return SSt(this,gSt(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 SSt(this,mSt(this,!1))},slice:function(e,t){return SSt(this,OSt(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=ikt(e,e<0?this.count():this.size);var r=this.slice(0,e);return SSt(this,1===n?r:r.concat(QSt(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 SSt(this,bSt(this,e,!1))},get:function(e,t){return(e=tkt(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=tkt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return SSt(this,function(e,t){var n=$St(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new _kt((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?kkt(n,a++,t):kkt(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(QSt(arguments)),t=kSt(this.toSeq(),Akt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),SSt(this,n)},keySeq:function(){return aCt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return SSt(this,vSt(this,e,t,!1))},zip:function(){var e=[this].concat(QSt(arguments));return SSt(this,kSt(this,OCt,e))},zipAll:function(){var e=[this].concat(QSt(arguments));return SSt(this,kSt(this,OCt,e,!0))},zipWith:function(e){var t=QSt(arguments);return t[0]=this,SSt(this,kSt(this,e,t))}});var dCt=hkt.prototype;function pCt(e,t,n,r,i,o){return DSt(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function fCt(e,t){return t}function hCt(e,t){return[t,e]}function mCt(e){return function(){return!e.apply(this,arguments)}}function gCt(e){return function(){return-e.apply(this,arguments)}}function OCt(){return QSt(arguments)}function vCt(e,t){return e<t?1:e>t?-1:0}function yCt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}dCt["@@__IMMUTABLE_INDEXED__@@"]=!0,dCt[ykt]=!0,HPt(mkt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),mkt.prototype.has=cCt.includes,mkt.prototype.contains=mkt.prototype.includes,HPt(Dkt,fkt.prototype),HPt(Akt,hkt.prototype),HPt(Rkt,mkt.prototype);var bCt=function(e){function t(e){return null==e?kCt():YPt(e)?e:kCt().withMutations((function(t){var n=mkt(e);DSt(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(fkt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(JPt);bCt.isOrderedSet=YPt;var wCt,xCt=bCt.prototype;function _Ct(e,t){var n=Object.create(xCt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function kCt(){return wCt||(wCt=_Ct(UPt()))}xCt[ykt]=!0,xCt.zip=dCt.zip,xCt.zipWith=dCt.zipWith,xCt.__empty=kCt,xCt.__make=_Ct;var SCt={exports:{}};
|
|
246
246
|
/*!
|
|
247
247
|
Copyright (c) 2015 Jed Watson.
|
|
248
248
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|