@livetiles/reach-components-react 0.4.159 → 0.4.161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm2.js CHANGED
@@ -154,7 +154,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
154
154
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
155
155
  PERFORMANCE OF THIS SOFTWARE.
156
156
  ***************************************************************************** */
157
- var xEe=function(){return xEe=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},xEe.apply(this,arguments)};function _Ee(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 SEe(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 kEe(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 PEe(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 $Ee(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var QEe,CEe=function(r){var i,o=r.children,a=_Ee(r,["children"]);return n(t,{children:[e(TEe,{},void 0),e(q,xEe({},a,{modalProps:xEe(xEe({},a.modalProps||{}),{className:os(jte,"lt-reach-dialog",{"lt-reach-dialog-mobile":dp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},TEe=i(QEe||(QEe=$Ee(['\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']))),EEe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},IEe=function(e){return e&&e.Math==Math&&e},DEe=IEe("object"==typeof globalThis&&globalThis)||IEe("object"==typeof window&&window)||IEe("object"==typeof self&&self)||IEe("object"==typeof EEe&&EEe)||Function("return this")(),REe={},AEe=function(e){try{return!!e()}catch(e){return!0}},zEe=!AEe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NEe={},jEe={}.propertyIsEnumerable,XEe=Object.getOwnPropertyDescriptor,UEe=XEe&&!jEe.call({1:2},1);NEe.f=UEe?function(e){var t=XEe(this,e);return!!t&&t.enumerable}:jEe;var qEe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},MEe={}.toString,WEe=function(e){return MEe.call(e).slice(8,-1)},LEe=WEe,FEe="".split,VEe=AEe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==LEe(e)?FEe.call(e,""):Object(e)}:Object,ZEe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},BEe=VEe,YEe=ZEe,GEe=function(e){return BEe(YEe(e))},KEe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},HEe=KEe,JEe=function(e,t){if(!HEe(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!HEe(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!HEe(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!HEe(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},eIe={}.hasOwnProperty,tIe=function(e,t){return eIe.call(e,t)},nIe=KEe,rIe=DEe.document,iIe=nIe(rIe)&&nIe(rIe.createElement),oIe=function(e){return iIe?rIe.createElement(e):{}},aIe=oIe,sIe=!zEe&&!AEe((function(){return 7!=Object.defineProperty(aIe("div"),"a",{get:function(){return 7}}).a})),lIe=zEe,uIe=NEe,cIe=qEe,dIe=GEe,pIe=JEe,fIe=tIe,hIe=sIe,mIe=Object.getOwnPropertyDescriptor;REe.f=lIe?mIe:function(e,t){if(e=dIe(e),t=pIe(t,!0),hIe)try{return mIe(e,t)}catch(e){}if(fIe(e,t))return cIe(!uIe.f.call(e,t),e[t])};var OIe={},gIe=KEe,vIe=function(e){if(!gIe(e))throw TypeError(String(e)+" is not an object");return e},yIe=zEe,bIe=sIe,wIe=vIe,xIe=JEe,_Ie=Object.defineProperty;OIe.f=yIe?_Ie:function(e,t,n){if(wIe(e),t=xIe(t,!0),wIe(n),bIe)try{return _Ie(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 SIe=OIe,kIe=qEe,PIe=zEe?function(e,t,n){return SIe.f(e,t,kIe(1,n))}:function(e,t,n){return e[t]=n,e},$Ie={exports:{}},QIe=DEe,CIe=PIe,TIe=function(e,t){try{CIe(QIe,e,t)}catch(n){QIe[e]=t}return t},EIe=TIe,IIe=DEe["__core-js_shared__"]||EIe("__core-js_shared__",{}),DIe=IIe,RIe=Function.toString;"function"!=typeof DIe.inspectSource&&(DIe.inspectSource=function(e){return RIe.call(e)});var AIe=DIe.inspectSource,zIe=AIe,NIe=DEe.WeakMap,jIe="function"==typeof NIe&&/native code/.test(zIe(NIe)),XIe={exports:{}},UIe=IIe;(XIe.exports=function(e,t){return UIe[e]||(UIe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var qIe,MIe,WIe,LIe=0,FIe=Math.random(),VIe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++LIe+FIe).toString(36)},ZIe=XIe.exports,BIe=VIe,YIe=ZIe("keys"),GIe=function(e){return YIe[e]||(YIe[e]=BIe(e))},KIe={},HIe=jIe,JIe=KEe,eDe=PIe,tDe=tIe,nDe=GIe,rDe=KIe,iDe=DEe.WeakMap;if(HIe){var oDe=new iDe,aDe=oDe.get,sDe=oDe.has,lDe=oDe.set;qIe=function(e,t){return lDe.call(oDe,e,t),t},MIe=function(e){return aDe.call(oDe,e)||{}},WIe=function(e){return sDe.call(oDe,e)}}else{var uDe=nDe("state");rDe[uDe]=!0,qIe=function(e,t){return eDe(e,uDe,t),t},MIe=function(e){return tDe(e,uDe)?e[uDe]:{}},WIe=function(e){return tDe(e,uDe)}}var cDe={set:qIe,get:MIe,has:WIe,enforce:function(e){return WIe(e)?MIe(e):qIe(e,{})},getterFor:function(e){return function(t){var n;if(!JIe(t)||(n=MIe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},dDe=DEe,pDe=PIe,fDe=tIe,hDe=TIe,mDe=AIe,ODe=cDe.get,gDe=cDe.enforce,vDe=String(String).split("String");($Ie.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||fDe(n,"name")||pDe(n,"name",t),gDe(n).source=vDe.join("string"==typeof t?t:"")),e!==dDe?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:pDe(e,t,n)):o?e[t]=n:hDe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&ODe(this).source||mDe(this)}));var yDe=DEe,bDe=DEe,wDe=function(e){return"function"==typeof e?e:void 0},xDe=function(e,t){return arguments.length<2?wDe(yDe[e])||wDe(bDe[e]):yDe[e]&&yDe[e][t]||bDe[e]&&bDe[e][t]},_De={},SDe=Math.ceil,kDe=Math.floor,PDe=function(e){return isNaN(e=+e)?0:(e>0?kDe:SDe)(e)},$De=PDe,QDe=Math.min,CDe=function(e){return e>0?QDe($De(e),9007199254740991):0},TDe=PDe,EDe=Math.max,IDe=Math.min,DDe=GEe,RDe=CDe,ADe=function(e,t){var n=TDe(e);return n<0?EDe(n+t,0):IDe(n,t)},zDe=function(e){return function(t,n,r){var i,o=DDe(t),a=RDe(o.length),s=ADe(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}},NDe={includes:zDe(!0),indexOf:zDe(!1)},jDe=tIe,XDe=GEe,UDe=NDe.indexOf,qDe=KIe,MDe=function(e,t){var n,r=XDe(e),i=0,o=[];for(n in r)!jDe(qDe,n)&&jDe(r,n)&&o.push(n);for(;t.length>i;)jDe(r,n=t[i++])&&(~UDe(o,n)||o.push(n));return o},WDe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],LDe=MDe,FDe=WDe.concat("length","prototype");_De.f=Object.getOwnPropertyNames||function(e){return LDe(e,FDe)};var VDe={};VDe.f=Object.getOwnPropertySymbols;var ZDe=_De,BDe=VDe,YDe=vIe,GDe=xDe("Reflect","ownKeys")||function(e){var t=ZDe.f(YDe(e)),n=BDe.f;return n?t.concat(n(e)):t},KDe=tIe,HDe=GDe,JDe=REe,eRe=OIe,tRe=AEe,nRe=/#|\.prototype\./,rRe=function(e,t){var n=oRe[iRe(e)];return n==sRe||n!=aRe&&("function"==typeof t?tRe(t):!!t)},iRe=rRe.normalize=function(e){return String(e).replace(nRe,".").toLowerCase()},oRe=rRe.data={},aRe=rRe.NATIVE="N",sRe=rRe.POLYFILL="P",lRe=rRe,uRe=DEe,cRe=REe.f,dRe=PIe,pRe=$Ie.exports,fRe=TIe,hRe=function(e,t){for(var n=HDe(t),r=eRe.f,i=JDe.f,o=0;o<n.length;o++){var a=n[o];KDe(e,a)||r(e,a,i(t,a))}},mRe=lRe,ORe=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?uRe:u?uRe[s]||fRe(s,{}):(uRe[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=cRe(n,r))&&a.value:n[r],!mRe(l?r:s+(u?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;hRe(o,i)}(e.sham||i&&i.sham)&&dRe(o,"sham",!0),pRe(n,r,o,e)}},gRe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},vRe=ZEe,yRe=function(e){return Object(vRe(e))},bRe=gRe,wRe=yRe,xRe=VEe,_Re=CDe,SRe=function(e){return function(t,n,r,i){bRe(n);var o=wRe(t),a=xRe(o),s=_Re(o.length),l=e?s-1:0,u=e?-1:1;if(r<2)for(;;){if(l in a){i=a[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in a&&(i=n(i,a[l],l,o));return i}},kRe={left:SRe(!1),right:SRe(!0)},PRe=AEe,$Re=function(e,t){var n=[][e];return!!n&&PRe((function(){n.call(null,t||function(){throw 1},1)}))},QRe=zEe,CRe=AEe,TRe=tIe,ERe=Object.defineProperty,IRe={},DRe=function(e){throw e},RRe=ORe,ARe=kRe.left,zRe=function(e,t){if(TRe(IRe,e))return IRe[e];t||(t={});var n=[][e],r=!!TRe(t,"ACCESSORS")&&t.ACCESSORS,i=TRe(t,0)?t[0]:DRe,o=TRe(t,1)?t[1]:void 0;return IRe[e]=!!n&&!CRe((function(){if(r&&!QRe)return!0;var e={length:-1};r?ERe(e,1,{enumerable:!0,get:DRe}):e[1]=1,n.call(e,i,o)}))},NRe=$Re("reduce"),jRe=zRe("reduce",{1:0});RRe({target:"Array",proto:!0,forced:!NRe||!jRe},{reduce:function(e){return ARe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var XRe=MDe,URe=WDe,qRe=Object.keys||function(e){return XRe(e,URe)},MRe=zEe,WRe=AEe,LRe=qRe,FRe=VDe,VRe=NEe,ZRe=yRe,BRe=VEe,YRe=Object.assign,GRe=Object.defineProperty,KRe=!YRe||WRe((function(){if(MRe&&1!==YRe({b:1},YRe(GRe({},"a",{enumerable:!0,get:function(){GRe(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!=YRe({},e)[n]||LRe(YRe({},t)).join("")!=r}))?function(e,t){for(var n=ZRe(e),r=arguments.length,i=1,o=FRe.f,a=VRe.f;r>i;)for(var s,l=BRe(arguments[i++]),u=o?LRe(l).concat(o(l)):LRe(l),c=u.length,d=0;c>d;)s=u[d++],MRe&&!a.call(l,s)||(n[s]=l[s]);return n}:YRe,HRe=KRe;ORe({target:"Object",stat:!0,forced:Object.assign!==HRe},{assign:HRe});var JRe=AEe,eAe=!!Object.getOwnPropertySymbols&&!JRe((function(){return!String(Symbol())})),tAe=eAe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,nAe=DEe,rAe=XIe.exports,iAe=tIe,oAe=VIe,aAe=eAe,sAe=tAe,lAe=rAe("wks"),uAe=nAe.Symbol,cAe=sAe?uAe:uAe&&uAe.withoutSetter||oAe,dAe=function(e){return iAe(lAe,e)||(aAe&&iAe(uAe,e)?lAe[e]=uAe[e]:lAe[e]=cAe("Symbol."+e)),lAe[e]},pAe=KEe,fAe=WEe,hAe=dAe("match"),mAe=function(e){var t;return pAe(e)&&(void 0!==(t=e[hAe])?!!t:"RegExp"==fAe(e))},OAe=mAe,gAe=function(e){if(OAe(e))throw TypeError("The method doesn't accept regular expressions");return e},vAe=dAe("match"),yAe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[vAe]=!1,"/./"[e](t)}catch(e){}}return!1},bAe=gAe,wAe=ZEe;function xAe(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)}ORe({target:"String",proto:!0,forced:!yAe("includes")},{includes:function(e){return!!~String(wAe(this)).indexOf(bAe(e),arguments.length>1?arguments[1]:void 0)}});var _Ae,SAe=OIe,kAe=vIe,PAe=qRe,$Ae=zEe?Object.defineProperties:function(e,t){kAe(e);for(var n,r=PAe(t),i=r.length,o=0;i>o;)SAe.f(e,n=r[o++],t[n]);return e},QAe=xDe("document","documentElement"),CAe=vIe,TAe=$Ae,EAe=WDe,IAe=KIe,DAe=QAe,RAe=oIe,AAe=GIe("IE_PROTO"),zAe=function(){},NAe=function(e){return"<script>"+e+"<\/script>"},jAe=function(){try{_Ae=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;jAe=_Ae?function(e){e.write(NAe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(_Ae):((t=RAe("iframe")).style.display="none",DAe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(NAe("document.F=Object")),e.close(),e.F);for(var n=EAe.length;n--;)delete jAe.prototype[EAe[n]];return jAe()};IAe[AAe]=!0;var XAe=Object.create||function(e,t){var n;return null!==e?(zAe.prototype=CAe(e),n=new zAe,zAe.prototype=null,n[AAe]=e):n=jAe(),void 0===t?n:TAe(n,t)},UAe=XAe,qAe=OIe,MAe=dAe("unscopables"),WAe=Array.prototype;null==WAe[MAe]&&qAe.f(WAe,MAe,{configurable:!0,value:UAe(null)});var LAe,FAe,VAe,ZAe=function(e){WAe[MAe][e]=!0},BAe={},YAe=!AEe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),GAe=tIe,KAe=yRe,HAe=YAe,JAe=GIe("IE_PROTO"),eze=Object.prototype,tze=HAe?Object.getPrototypeOf:function(e){return e=KAe(e),GAe(e,JAe)?e[JAe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?eze:null},nze=tze,rze=PIe,ize=tIe,oze=dAe("iterator"),aze=!1;[].keys&&("next"in(VAe=[].keys())?(FAe=nze(nze(VAe)))!==Object.prototype&&(LAe=FAe):aze=!0),null==LAe&&(LAe={}),ize(LAe,oze)||rze(LAe,oze,(function(){return this}));var sze={IteratorPrototype:LAe,BUGGY_SAFARI_ITERATORS:aze},lze=OIe.f,uze=tIe,cze=dAe("toStringTag"),dze=function(e,t,n){e&&!uze(e=n?e:e.prototype,cze)&&lze(e,cze,{configurable:!0,value:t})},pze=sze.IteratorPrototype,fze=XAe,hze=qEe,mze=dze,Oze=BAe,gze=function(){return this},vze=KEe,yze=vIe,bze=function(e){if(!vze(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},wze=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 yze(n),bze(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),xze=ORe,_ze=function(e,t,n){var r=t+" Iterator";return e.prototype=fze(pze,{next:hze(1,n)}),mze(e,r,!1),Oze[r]=gze,e},Sze=tze,kze=wze,Pze=dze,$ze=PIe,Qze=$Ie.exports,Cze=BAe,Tze=sze.IteratorPrototype,Eze=sze.BUGGY_SAFARI_ITERATORS,Ize=dAe("iterator"),Dze=function(){return this},Rze=GEe,Aze=ZAe,zze=BAe,Nze=cDe,jze=function(e,t,n,r,i,o,a){_ze(n,t,r);var s,l,u,c=function(e){if(e===i&&m)return m;if(!Eze&&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[Ize]||f["@@iterator"]||i&&f[i],m=!Eze&&h||c(i),O="Array"==t&&f.entries||h;if(O&&(s=Sze(O.call(new e)),Tze!==Object.prototype&&s.next&&(Sze(s)!==Tze&&(kze?kze(s,Tze):"function"!=typeof s[Ize]&&$ze(s,Ize,Dze)),Pze(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(p=!0,m=function(){return h.call(this)}),f[Ize]!==m&&$ze(f,Ize,m),Cze[t]=m,i)if(l={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(u in l)(Eze||p||!(u in f))&&Qze(f,u,l[u]);else xze({target:t,proto:!0,forced:Eze||p},l);return l},Xze=Nze.set,Uze=Nze.getterFor("Array Iterator"),qze=jze(Array,"Array",(function(e,t){Xze(this,{type:"Array Iterator",target:Rze(e),index:0,kind:t})}),(function(){var e=Uze(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");zze.Arguments=zze.Array,Aze("keys"),Aze("values"),Aze("entries");var Mze=DEe,Wze={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},Lze=qze,Fze=PIe,Vze=dAe,Zze=Vze("iterator"),Bze=Vze("toStringTag"),Yze=Lze.values;for(var Gze in Wze){var Kze=Mze[Gze],Hze=Kze&&Kze.prototype;if(Hze){if(Hze[Zze]!==Yze)try{Fze(Hze,Zze,Yze)}catch(e){Hze[Zze]=Yze}if(Hze[Bze]||Fze(Hze,Bze,Gze),Wze[Gze])for(var Jze in Lze)if(Hze[Jze]!==Lze[Jze])try{Fze(Hze,Jze,Lze[Jze])}catch(e){Hze[Jze]=Lze[Jze]}}}var eNe,tNe,nNe,rNe,iNe,oNe,aNe,sNe,lNe,uNe,cNe,dNe,pNe,fNe,hNe,mNe,ONe,gNe,vNe,yNe=function(t){var n=yC().formatMessage;return e(j,xEe({},t,{className:void 0,role:t.role,onClick:t.onClick,hostClassName:t.className,content:t.resourceKey||t.text?t.text||n({id:t.resourceKey},t.values||{}):null,calloutProps:{calloutWidth:t.width,hidden:t.hidden},dir:"auto"},{children:t.children}),void 0)},bNe=function(e){return o(iNe||(iNe=$Ee(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o(eNe||(eNe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o(tNe||(tNe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Pme),(null==e?void 0:e.color)?o(nNe||(nNe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o(rNe||(rNe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,10,20)},wNe=function(t){var n=t.tooltipResourceKey,r=t.className,i=_Ee(t,["tooltipResourceKey","className"]);return e(yNe,xEe({resourceKey:n,className:r},{children:e(xNe,xEe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},xNe=r.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(oNe||(oNe=$Ee(["\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"])),bNe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"})),_Ne=r.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(aNe||(aNe=$Ee(["\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})),SNe=function(t){var r=t.showDialog,i=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,u=t.saveButtonResourceId,c=t.children,d=t.className,p=yC().formatMessage;return n(CEe,xEe({hidden:!r,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:X.normal,title:p({id:s})},onDismiss:i},{children:[e(kNe,xEe({className:d},{children:c}),void 0),n(U,{children:[e(_,xEe({onClick:i,"data-button":"cancel"},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0),e(x,xEe({disabled:l,onClick:a,"data-button":"save"},{children:e(jC,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},kNe=r.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(sNe||(sNe=$Ee(["\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),PNe=r(SNe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(lNe||(lNe=$Ee(["\n width: 400px;\n"],["\n width: 400px;\n"]))),$Ne=r(g).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(uNe||(uNe=$Ee(["\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})),QNe=function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,u=t.ariaLabelResourceKey,c=yC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(CNe,xEe({className:o},{children:r?e(ENe,{},void 0):e(yNe,xEe({resourceKey:l},{children:e(TNe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},CNe=r.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(cNe||(cNe=$Ee(["\n margin-block: 0;\n margin-inline: 6px 0px;\n\n @media (min-width: ","px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"],["\n margin-block: 0;\n margin-inline: 6px 0px;\n\n @media (min-width: ","px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"])),Jde.medium),TNe=r($Ne).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(dNe||(dNe=$Ee(["\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: ","px) {\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: ","px) {\n font-size: ","px;\n }\n }\n"])),18,Jde.medium,20),ENe=r.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(pNe||(pNe=$Ee(["\n width: 22px;\n"],["\n width: 22px;\n"]))),INe=o(fNe||(fNe=$Ee(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),DNe=r(v).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(hNe||(hNe=$Ee(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),INe),RNe=r(Ae).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(mNe||(mNe=$Ee(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),INe),ANe=o(ONe||(ONe=$Ee(["\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),zNe=function(){var t=qme().hideNotification,n=pe(Ume),r=n.isNotificationBarVisible,i=_Ee(n,["isNotificationBarVisible"]),o=yC().formatMessage,a=i.messageId||i.text;return r?e(NNe,xEe({className:"notification-wrapper","data-notification-bar":!0},{children:e(jNe,xEe({messageBarType:i.messageBarType,className:i.className,actions:i.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:a&&e(yNe,xEe({text:i.text,resourceKey:i.messageId,values:i.messageValues},{children:i.text||e(jC,{id:i.messageId,values:i.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},NNe=r.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(gNe||(gNe=$Ee(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),jNe=r(y).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(vNe||(vNe=$Ee(["\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"])),ANe,16,18,18,16,18,14,30,20),XNe=function(t){var n,r=yC().formatMessage,i=mle(),o=hle(),a=Due(),s=a.searchAccounts,l=a.getUserAvatarUrl,u=Oe(),c=eB();ge((function(){t.autoFocus&&u&&u.current&&setTimeout((function(){u.current.focus()}))}),[u,t.autoFocus]);var d=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,p=!t.selectionMode||t.selectionMode===M.multiple,f=t.selectedItems||[],h=d,m={defaultSelectedItems:(t.defaultSelectedItems||[]).map((function(e){return O(e)})),resolveDelay:500,onResolveSuggestions:function(e){return g(e,h)},onGetMoreResults:function(e){return g(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!==lle.Group?t.userPrincipalName:null,mail:fue(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:h&&!t.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:c.width<epe?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&&(m.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return v(e).map(O);return e.then((function(e){return v(e).map(O)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===f.length&&(m.inputProps.placeholder=r({id:t.placeholderStringResourceKey})),t.selectedItems&&(m.selectedItems=f.map((function(e){return O(e)}))),e(qNe,xEe({className:os(t.className,"people-picker")},{children:e(W,xEe({},m,{componentRef:u,itemLimit:p?void 0:1}),void 0)}),void 0);function O(e){var t=fue(e.mail)?null:e.mail,n=fue(e.userPrincipalName)?null:e.userPrincipalName,r=l$(e.displayName||e.mail||e.userPrincipalName),o=e.type===lle.User?n:e.type===lle.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:u$(r),key:o,accountType:e.type,authenticationType:e.authenticationType};return i.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function g(e,n){return SEe(this,void 0,void 0,(function(){var r,i,o;return kEe(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];r=t.allowMailItems&&HP(e)&&{mail:e,userPrincipalName:e,displayName:e,type:lle.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,v(i).map(O)];case 3:return a.sent(),[2,r&&[r].map(O)];case 4:return[2]}}))}))}function v(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 UNe,qNe=r.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(UNe||(UNe=$Ee(["\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"]))),MNe=ORe,WNe=REe.f,LNe=CDe,FNe=gAe,VNe=ZEe,ZNe=yAe,BNe="".startsWith,YNe=Math.min,GNe=ZNe("startsWith"),KNe=!GNe&&!!function(){var e=WNe(String.prototype,"startsWith");return e&&!e.writable}();MNe({target:"String",proto:!0,forced:!KNe&&!GNe},{startsWith:function(e){var t=String(VNe(this));FNe(e);var n=LNe(YNe(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return BNe?BNe.call(t,r,n):t.slice(n,n+r.length)===r}});var HNe=vIe,JNe=function(){var e=HNe(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},eje=$Ie.exports,tje=vIe,nje=AEe,rje=JNe,ije=RegExp.prototype,oje=ije.toString,aje=nje((function(){return"/a/b"!=oje.call({source:"a",flags:"b"})})),sje="toString"!=oje.name;(aje||sje)&&eje(RegExp.prototype,"toString",(function(){var e=tje(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ije)?rje.call(e):n)}),{unsafe:!0});var lje,uje=function(t){var n=t.fileName,r=t.url;return e(cje,xEe({href:r,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n},void 0)}),void 0)},cje=r.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(lje||(lje=$Ee(["\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),dje=function(t){var r=t.fileName,i=t.url,o=t.onPlay;return i?n(Oje,xEe({className:"lt-reach-embedded-audio"},{children:[e(uje,{fileName:r,url:i},void 0),n("audio",xEe({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(jC,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function pje(e){var t=K5.getType(e);return t&&t.toString().startsWith("audio/")}var fje,hje,mje,Oje=r.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(fje||(fje=$Ee(["\n width: 100%;\n"],["\n width: 100%;\n"])));r.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(hje||(hje=$Ee(["\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),r.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(mje||(mje=$Ee(["\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 gje,vje,yje,bje,wje,xje,_je=function(t){var r=t.children,i=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(Pje,xEe({className:s},{children:[i&&e(kje,{children:i},void 0),e(Sje,xEe({"data-attachment":o,backgroundColor:a},{children:r}),void 0)]}),void 0)},Sje=r.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(gje||(gje=$Ee(["\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+";"})),kje=r.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(vje||(vje=$Ee(["\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),Pje=r.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(yje||(yje=$Ee(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),$je=r(b).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(bje||(bje=$Ee(["\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}));r.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(wje||(wje=$Ee(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),r($je).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(xje||(xje=$Ee(["\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 Qje,Cje,Tje,Eje,Ije=function(t){var n=t.children,r=_Ee(t,["children"]);return e(L,xEe({},r,{className:os(jte,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},Dje=function(t){var r=yC().formatMessage,i=me(!1),o=i[0],a=i[1],s=pe(Eme).theme.palette.accent;return n(CEe,xEe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!t.hideCloseButton,type:t.hideCloseButton?X.normal:X.close,title:r({id:t.titleResourceKey},t.titleResourceValues),titleProps:{style:{color:s}}},onDismiss:t.onCancel},{children:[e(Rje,{children:e(jC,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues},void 0)},void 0),e(Aje,{"data-verify-item-input":!0,onChange:function(e,n){var r=n===t.compareValue;r!==o&&a(r)},ariaLabel:r({id:t.inputAriaLabelResourceKey})},void 0),t.children,n(U,{children:[e(_,xEe({onClick:t.onCancel,disabled:t.disabled},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0),e(zje,xEe({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(jC,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},Rje=r.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(Qje||(Qje=$Ee(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),Aje=r(w).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(Cje||(Cje=$Ee(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),zje=r(x).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(Tje||(Tje=$Ee(["\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})),Nje=function(t){var r=t.showDialog,i=t.titleResourceKey,o=t.titleResourceValues,a=t.infoResourceKey,s=t.infoResourceValues,l=t.onConfirm,u=t.onClose,c=t.width,d=t.children,p=yC().formatMessage,f=pe(Eme).theme.palette.accent;return n(CEe,xEe({hidden:!r,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:c}}},dialogContentProps:{type:X.normal,subText:a?p({id:a},s):"",title:p({id:i},o),titleProps:{style:{color:f}}},onDismiss:u},{children:[d,n(U,{children:[e(_,xEe({onClick:u,"data-cancel-button":!0},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0),e(x,xEe({"data-ok-button":!0,onClick:function(){null==l||l(),null==u||u()}},{children:e(jC,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},jje=function(t){var r=t.onConfirm,i=t.onCancel,o=yC().formatMessage,a=pe(Eme).theme.palette.accent;return e(CEe,xEe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:X.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:a}}},onDismiss:i},{children:n(Xje,{children:[e(jC,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),n(U,{children:[e(x,xEe({onClick:r},{children:e(jC,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),e(_,xEe({onClick:i},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},Xje=r.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(Eje||(Eje=$Ee(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),Uje=function(t){var n=t.value,r=pe(yz).language,i=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var r=xEe(xEe({},qje),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 u=new Date(e),c=new Date(t),d=u.getFullYear()-c.getFullYear(),p=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<r.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=i.value,a=i.unit;return e(QC,xEe({locale:r},{children:e(AC,{value:o,numeric:"auto",unit:a,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===a}))?10:void 0},void 0)}),void 0)};var qje={second:45,minute:45,hour:22,day:6,week:4,month:12};var Mje,Wje,Lje=function(r){var i,o,a=(i=r.value,o=r.dateOnly,he((function(){var e=f$(i),t=oc(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:o?void 0:"numeric",minute:o?void 0:"numeric"},{locale:sle()}),n={dateTime:e.toISOString(),title:t};return{date:e,timeProps:n}}),[o,i])),s=a.date,l=a.timeProps,u=!r.showAsAbsolute&&(r.showAsRelative||h$(r.value))&&!r.dateOnly;return!r.showWeekDay&&u?e(Vje,xEe({className:os(r.className)},l,{dir:"auto"},{children:e(Uje,{value:s},void 0)}),void 0):n(Vje,xEe({className:os(r.className)},l,{dir:"auto"},{children:[e(XC,{weekday:r.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:s},void 0),!r.dateOnly&&n(t,{children:[" ",e(UC,{value:s},void 0)]},void 0)]}),void 0)},Fje=function(r){var i=r.startDate,o=r.endDate,a=r.dateOnly,s=r.className;if(!i)return null;if(!o)return e("div",xEe({className:s,dir:"auto"},{children:e(Lje,{value:i,showWeekDay:!0,dateOnly:a},void 0)}),void 0);var l=new Date(i),u=new Date(o);return yl(l,u)?n("div",xEe({className:s,dir:"auto"},{children:[e(Lje,{value:i,showWeekDay:!0,dateOnly:a},void 0),!a&&n(t,{children:[" - ",e(UC,{value:u},void 0)]},void 0)]}),void 0):n("div",xEe({className:s,dir:"auto"},{children:[e(Lje,{value:i,showWeekDay:!0,dateOnly:a},void 0)," - ",e(Lje,{value:o,showWeekDay:!0,dateOnly:a},void 0)]}),void 0)},Vje=r.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(Mje||(Mje=$Ee(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));r.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(Wje||(Wje=$Ee(["\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}),Pme);var Zje,Bje,Yje,Gje,Kje,Hje,Jje,eXe=function(t){var n,r=t.children,i=_Ee(t,["children"]);return e(E,xEe({},i,{calloutProps:xEe(xEe({},i.calloutProps||{}),{className:os(jte,"lt-reach-dropdown",null===(n=i.calloutProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)},tXe=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,u=t.className,c=(null==o?void 0:o.size)||"large";return e(nXe,xEe({className:u,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(rXe,xEe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&e(S,{iconName:i},void 0),!i&&r,s.map((function(t,n){return e("p",{children:e(jC,{id:t},void 0)},n)})),l]}),void 0)}),void 0)},nXe=r.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(Yje||(Yje=$Ee(["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"],["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"])),(function(e){return e.offset?o(Zje||(Zje=$Ee(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o(Bje||(Bje=$Ee(["\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 "])))})),rXe=r.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(Hje||(Hje=$Ee(["\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&&o(Gje||(Gje=$Ee(["\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&&o(Kje||(Kje=$Ee(["\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,Jde.small)}),(function(e){return e.theme.palette.accent}),3,tpe,24,30,30),iXe=function(e,t){return null!=e&&(e&t)===t};r.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(Jje||(Jje=$Ee(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var oXe=ORe,aXe=gRe,sXe=yRe,lXe=AEe,uXe=$Re,cXe=[],dXe=cXe.sort,pXe=lXe((function(){cXe.sort(void 0)})),fXe=lXe((function(){cXe.sort(null)})),hXe=uXe("sort");oXe({target:"Array",proto:!0,forced:pXe||!fXe||!hXe},{sort:function(e){return void 0===e?dXe.call(sXe(this)):dXe.call(sXe(this),aXe(e))}});var mXe=function(n){var r=n.languages,i=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=yC(),u=l.formatMessage;return e(t,{children:qle.apply(void 0,PEe([l],r)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e(wXe,{children:e(xXe,{"data-translation-field":t.code,placeholder:null!=s?s:u({id:a},{lang:t.localizedName}),label:t.localizedName,value:i[t.code],onChange:function(e,n){var r;o(xEe(xEe({},i),((r={})[t.code]=n,r)))},dir:"auto"},void 0)},t.code)}))},void 0)};r.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(OXe||(OXe=$Ee(["\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 OXe,gXe,vXe,yXe,bXe,wXe=r.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(gXe||(gXe=$Ee(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),xXe=r(w).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(vXe||(vXe=$Ee(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));r.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(yXe||(yXe=$Ee(["\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"]))),r.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(bXe||(bXe=$Ee(["\n display: flex;\n"],["\n display: flex;\n"])));var _Xe,SXe=function(t){var n=me(null==t.delay),r=n[0],i=n[1];return ge((function(){if(null!=!t.delay){var e=setTimeout((function(){return i(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),r?e(kXe,xEe({className:t.className},{children:e(m,xEe({},t,{className:""}),void 0)}),void 0):null},kXe=r.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(_Xe||(_Xe=$Ee(["\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"]))),PXe=DEe.Promise,$Xe=$Ie.exports,QXe=xDe,CXe=OIe,TXe=zEe,EXe=dAe("species"),IXe={exports:{}},DXe=BAe,RXe=dAe("iterator"),AXe=Array.prototype,zXe=gRe,NXe=function(e,t,n){if(zXe(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)}},jXe={};jXe[dAe("toStringTag")]="z";var XXe="[object z]"===String(jXe),UXe=WEe,qXe=dAe("toStringTag"),MXe="Arguments"==UXe(function(){return arguments}()),WXe=XXe?UXe: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),qXe))?n:MXe?UXe(t):"Object"==(r=UXe(t))&&"function"==typeof t.callee?"Arguments":r},LXe=WXe,FXe=BAe,VXe=dAe("iterator"),ZXe=vIe,BXe=vIe,YXe=function(e){return void 0!==e&&(DXe.Array===e||AXe[RXe]===e)},GXe=CDe,KXe=NXe,HXe=function(e){if(null!=e)return e[VXe]||e["@@iterator"]||FXe[LXe(e)]},JXe=function(e,t,n,r){try{return r?t(ZXe(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&ZXe(i.call(e)),t}},eUe=function(e,t){this.stopped=e,this.result=t},tUe=IXe.exports=function(e,t,n,r,i){var o,a,s,l,u,c,d,p=KXe(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=HXe(e)))throw TypeError("Target is not iterable");if(YXe(a)){for(s=0,l=GXe(e.length);l>s;s++)if((u=r?p(BXe(d=e[s])[0],d[1]):p(e[s]))&&u instanceof eUe)return u;return new eUe(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=JXe(o,p,d.value,r))&&u&&u instanceof eUe)return u;return new eUe(!1)};tUe.stop=function(e){return new eUe(!0,e)};var nUe=dAe("iterator"),rUe=!1;try{var iUe=0,oUe={next:function(){return{done:!!iUe++}},return:function(){rUe=!0}};oUe[nUe]=function(){return this},Array.from(oUe,(function(){throw 2}))}catch(e){}var aUe,sUe,lUe,uUe=vIe,cUe=gRe,dUe=dAe("species"),pUe=function(e,t){var n,r=uUe(e).constructor;return void 0===r||null==(n=uUe(r)[dUe])?t:cUe(n)},fUe=xDe("navigator","userAgent")||"",hUe=/(iphone|ipod|ipad).*applewebkit/i.test(fUe),mUe=DEe,OUe=AEe,gUe=WEe,vUe=NXe,yUe=QAe,bUe=oIe,wUe=hUe,xUe=mUe.location,_Ue=mUe.setImmediate,SUe=mUe.clearImmediate,kUe=mUe.process,PUe=mUe.MessageChannel,$Ue=mUe.Dispatch,QUe=0,CUe={},TUe=function(e){if(CUe.hasOwnProperty(e)){var t=CUe[e];delete CUe[e],t()}},EUe=function(e){return function(){TUe(e)}},IUe=function(e){TUe(e.data)},DUe=function(e){mUe.postMessage(e+"",xUe.protocol+"//"+xUe.host)};_Ue&&SUe||(_Ue=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return CUe[++QUe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},aUe(QUe),QUe},SUe=function(e){delete CUe[e]},"process"==gUe(kUe)?aUe=function(e){kUe.nextTick(EUe(e))}:$Ue&&$Ue.now?aUe=function(e){$Ue.now(EUe(e))}:PUe&&!wUe?(lUe=(sUe=new PUe).port2,sUe.port1.onmessage=IUe,aUe=vUe(lUe.postMessage,lUe,1)):!mUe.addEventListener||"function"!=typeof postMessage||mUe.importScripts||OUe(DUe)||"file:"===xUe.protocol?aUe="onreadystatechange"in bUe("script")?function(e){yUe.appendChild(bUe("script")).onreadystatechange=function(){yUe.removeChild(this),TUe(e)}}:function(e){setTimeout(EUe(e),0)}:(aUe=DUe,mUe.addEventListener("message",IUe,!1)));var RUe,AUe,zUe,NUe,jUe,XUe,UUe,qUe,MUe={set:_Ue,clear:SUe},WUe=DEe,LUe=REe.f,FUe=WEe,VUe=MUe.set,ZUe=hUe,BUe=WUe.MutationObserver||WUe.WebKitMutationObserver,YUe=WUe.process,GUe=WUe.Promise,KUe="process"==FUe(YUe),HUe=LUe(WUe,"queueMicrotask"),JUe=HUe&&HUe.value;JUe||(RUe=function(){var e,t;for(KUe&&(e=YUe.domain)&&e.exit();AUe;){t=AUe.fn,AUe=AUe.next;try{t()}catch(e){throw AUe?NUe():zUe=void 0,e}}zUe=void 0,e&&e.enter()},KUe?NUe=function(){YUe.nextTick(RUe)}:BUe&&!ZUe?(jUe=!0,XUe=document.createTextNode(""),new BUe(RUe).observe(XUe,{characterData:!0}),NUe=function(){XUe.data=jUe=!jUe}):GUe&&GUe.resolve?(UUe=GUe.resolve(void 0),qUe=UUe.then,NUe=function(){qUe.call(UUe,RUe)}):NUe=function(){VUe.call(WUe,RUe)});var eqe=JUe||function(e){var t={fn:e,next:void 0};zUe&&(zUe.next=t),AUe||(AUe=t,NUe()),zUe=t},tqe={},nqe=gRe,rqe=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=nqe(t),this.reject=nqe(n)};tqe.f=function(e){return new rqe(e)};var iqe,oqe,aqe=vIe,sqe=KEe,lqe=tqe,uqe=DEe,cqe=fUe,dqe=DEe.process,pqe=dqe&&dqe.versions,fqe=pqe&&pqe.v8;fqe?oqe=(iqe=fqe.split("."))[0]+iqe[1]:cqe&&(!(iqe=cqe.match(/Edge\/(\d+)/))||iqe[1]>=74)&&(iqe=cqe.match(/Chrome\/(\d+)/))&&(oqe=iqe[1]);var hqe,mqe,Oqe,gqe,vqe=oqe&&+oqe,yqe=ORe,bqe=DEe,wqe=xDe,xqe=PXe,_qe=$Ie.exports,Sqe=function(e,t,n){for(var r in t)$Xe(e,r,t[r],n);return e},kqe=dze,Pqe=function(e){var t=QXe(e),n=CXe.f;TXe&&t&&!t[EXe]&&n(t,EXe,{configurable:!0,get:function(){return this}})},$qe=KEe,Qqe=gRe,Cqe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Tqe=WEe,Eqe=AIe,Iqe=IXe.exports,Dqe=function(e,t){if(!t&&!rUe)return!1;var n=!1;try{var r={};r[nUe]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Rqe=pUe,Aqe=MUe.set,zqe=eqe,Nqe=function(e,t){if(aqe(e),sqe(t)&&t.constructor===e)return t;var n=lqe.f(e);return(0,n.resolve)(t),n.promise},jqe=function(e,t){var n=uqe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},Xqe=tqe,Uqe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},qqe=cDe,Mqe=lRe,Wqe=vqe,Lqe=dAe("species"),Fqe=qqe.get,Vqe=qqe.set,Zqe=qqe.getterFor("Promise"),Bqe=xqe,Yqe=bqe.TypeError,Gqe=bqe.document,Kqe=bqe.process,Hqe=wqe("fetch"),Jqe=Xqe.f,eMe=Jqe,tMe="process"==Tqe(Kqe),nMe=!!(Gqe&&Gqe.createEvent&&bqe.dispatchEvent),rMe=Mqe("Promise",(function(){if(!(Eqe(Bqe)!==String(Bqe))){if(66===Wqe)return!0;if(!tMe&&"function"!=typeof PromiseRejectionEvent)return!0}if(Wqe>=51&&/native code/.test(Bqe))return!1;var e=Bqe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[Lqe]=t,!(e.then((function(){}))instanceof t)})),iMe=rMe||!Dqe((function(e){Bqe.all(e).catch((function(){}))})),oMe=function(e){var t;return!(!$qe(e)||"function"!=typeof(t=e.then))&&t},aMe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;zqe((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,u,c=r[a++],d=o?c.ok:c.fail,p=c.resolve,f=c.reject,h=c.domain;try{d?(o||(2===t.rejection&&cMe(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),u=!0)),s===c.promise?f(Yqe("Promise-chain cycle")):(l=oMe(s))?l.call(s,p,f):p(s)):f(i)}catch(e){h&&!u&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&lMe(e,t)}))}},sMe=function(e,t,n){var r,i;nMe?((r=Gqe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),bqe.dispatchEvent(r)):r={promise:t,reason:n},(i=bqe["on"+e])?i(r):"unhandledrejection"===e&&jqe("Unhandled promise rejection",n)},lMe=function(e,t){Aqe.call(bqe,(function(){var n,r=t.value;if(uMe(t)&&(n=Uqe((function(){tMe?Kqe.emit("unhandledRejection",r,e):sMe("unhandledrejection",e,r)})),t.rejection=tMe||uMe(t)?2:1,n.error))throw n.value}))},uMe=function(e){return 1!==e.rejection&&!e.parent},cMe=function(e,t){Aqe.call(bqe,(function(){tMe?Kqe.emit("rejectionHandled",e):sMe("rejectionhandled",e,t.value)}))},dMe=function(e,t,n,r){return function(i){e(t,n,i,r)}},pMe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,aMe(e,t,!0))},fMe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw Yqe("Promise can't be resolved itself");var i=oMe(n);i?zqe((function(){var r={done:!1};try{i.call(n,dMe(fMe,e,r,t),dMe(pMe,e,r,t))}catch(n){pMe(e,r,n,t)}})):(t.value=n,t.state=1,aMe(e,t,!1))}catch(n){pMe(e,{done:!1},n,t)}}};rMe&&(Bqe=function(e){Cqe(this,Bqe,"Promise"),Qqe(e),hqe.call(this);var t=Fqe(this);try{e(dMe(fMe,this,t),dMe(pMe,this,t))}catch(e){pMe(this,t,e)}},(hqe=function(e){Vqe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Sqe(Bqe.prototype,{then:function(e,t){var n=Zqe(this),r=Jqe(Rqe(this,Bqe));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=tMe?Kqe.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&aMe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),mqe=function(){var e=new hqe,t=Fqe(e);this.promise=e,this.resolve=dMe(fMe,e,t),this.reject=dMe(pMe,e,t)},Xqe.f=Jqe=function(e){return e===Bqe||e===Oqe?new mqe(e):eMe(e)},"function"==typeof xqe&&(gqe=xqe.prototype.then,_qe(xqe.prototype,"then",(function(e,t){var n=this;return new Bqe((function(e,t){gqe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Hqe&&yqe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Nqe(Bqe,Hqe.apply(bqe,arguments))}}))),yqe({global:!0,wrap:!0,forced:rMe},{Promise:Bqe}),kqe(Bqe,"Promise",!1),Pqe("Promise"),Oqe=wqe("Promise"),yqe({target:"Promise",stat:!0,forced:rMe},{reject:function(e){var t=Jqe(this);return t.reject.call(void 0,e),t.promise}}),yqe({target:"Promise",stat:!0,forced:rMe},{resolve:function(e){return Nqe(this,e)}}),yqe({target:"Promise",stat:!0,forced:iMe},{all:function(e){var t=this,n=Jqe(t),r=n.resolve,i=n.reject,o=Uqe((function(){var n=Qqe(t.resolve),o=[],a=0,s=1;Iqe(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Jqe(t),r=n.reject,i=Uqe((function(){var i=Qqe(t.resolve);Iqe(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var hMe={},mMe=AEe;function OMe(e,t){return RegExp(e,t)}hMe.UNSUPPORTED_Y=mMe((function(){var e=OMe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),hMe.BROKEN_CARET=mMe((function(){var e=OMe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var gMe=JNe,vMe=hMe,yMe=RegExp.prototype.exec,bMe=String.prototype.replace,wMe=yMe,xMe=function(){var e=/a/,t=/b*/g;return yMe.call(e,"a"),yMe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),_Me=vMe.UNSUPPORTED_Y||vMe.BROKEN_CARET,SMe=void 0!==/()??/.exec("")[1];(xMe||SMe||_Me)&&(wMe=function(e){var t,n,r,i,o=this,a=_Me&&o.sticky,s=gMe.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),SMe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),xMe&&(t=o.lastIndex),r=yMe.call(a?n:o,c),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:xMe&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),SMe&&r&&r.length>1&&bMe.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var kMe=wMe;ORe({target:"RegExp",proto:!0,forced:/./.exec!==kMe},{exec:kMe});var PMe,$Me=$Ie.exports,QMe=AEe,CMe=dAe,TMe=kMe,EMe=PIe,IMe=CMe("species"),DMe=!QMe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),RMe="$0"==="a".replace(/./,"$0"),AMe=CMe("replace"),zMe=!!/./[AMe]&&""===/./[AMe]("a","$0"),NMe=!QMe((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]})),jMe=function(e,t,n,r){var i=CMe(e),o=!QMe((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!QMe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[IMe]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!DMe||!RMe||zMe)||"split"===e&&!NMe){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===TMe?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:RMe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:zMe}),u=l[0],c=l[1];$Me(String.prototype,e,u),$Me(RegExp.prototype,i,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}r&&EMe(RegExp.prototype[i],"sham",!0)},XMe=PDe,UMe=ZEe,qMe=function(e){return function(t,n){var r,i,o=String(UMe(t)),a=XMe(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}},MMe={codeAt:qMe(!1),charAt:qMe(!0)}.charAt,WMe=function(e,t,n){return t+(n?MMe(e,t).length:1)},LMe=WEe,FMe=kMe,VMe=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"!==LMe(e))throw TypeError("RegExp#exec called on incompatible receiver");return FMe.call(e,t)},ZMe=jMe,BMe=mAe,YMe=vIe,GMe=ZEe,KMe=pUe,HMe=WMe,JMe=CDe,eWe=VMe,tWe=kMe,nWe=AEe,rWe=[].push,iWe=Math.min,oWe=!nWe((function(){return!RegExp(4294967295,"y")}));ZMe("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(GMe(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!BMe(e))return t.call(r,e,i);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=tWe.call(d,r))&&!((a=d.lastIndex)>c&&(l.push(r.slice(c,o.index)),o.length>1&&o.index<r.length&&rWe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return c===r.length?!s&&d.test("")||l.push(""):l.push(r.slice(c)),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=GMe(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=YMe(e),s=String(this),l=KMe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(oWe?"y":"g"),d=new l(oWe?a:"^(?:"+a.source+")",c),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===s.length)return null===eWe(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=oWe?h:0;var O,g=eWe(d,oWe?s:s.slice(h));if(null===g||(O=iWe(JMe(d.lastIndex+(oWe?0:h)),s.length))===f)h=HMe(s,h,u);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var v=1;v<=g.length-1;v++)if(m.push(g[v]),m.length===p)return m;h=f=O}}return m.push(s.slice(f)),m}]}),!oWe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(PMe||(PMe={}));var aWe=function(t){var r=t.fileName,i=t.url,o=t.onPlay;if(!i)return null;var a="safari"===Gb?i+"#t=0.1":i;return n("div",xEe({className:"lt-reach-embedded-video"},{children:[e(uje,{fileName:r,url:i},void 0),n("video",xEe({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(jC,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function sWe(e){var t,n="mac"===dp.deviceInfo.operatingSystem,r=null===(t=K5.getType(e))||void 0===t?void 0:t.toString();return!!r&&(!!r.startsWith(PMe.mp4)||(n?r.startsWith(PMe.quicktime):r.startsWith(PMe.webm)))}var lWe,uWe,cWe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},dWe=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 "},pWe=function(e,t,n){return o(uWe||(uWe=$Ee(["\n display: block;\n display: -webkit-box;\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 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)};function fWe(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})},t.onerror=function(){e({width:1024,height:1024})}}));return t.src=e,n}function hWe(e){return SEe(this,void 0,void 0,(function(){return kEe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(fWe))];case 1:return[2,t.sent()]}}))}))}function mWe(e){return pje(e)?"MusicInCollectionFill":sWe(e)?"Video":vWe(null==e?void 0:e.split(".").pop().toLowerCase())}function OWe(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 gWe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function vWe(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 yWe(){var e=Y1(),t=B1(),n=t.createApiUrl,r=t.fetchFromApi,i=pe(xz).identifier,o=Sb(),a=Cpe().interaction,s=null==i?void 0:i.id;return he((function(){return{exchangeShortLivedToken:function(e){return SEe(this,void 0,void 0,(function(){var t,n;return kEe(this,(function(i){switch(i.label){case 0:return e?(t={method:"POST",headers:V1(e,s)},[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 SEe(i,void 0,void 0,(function(){var i;return kEe(this,(function(s){switch(s.label){case 0:return[4,t()];case 1:return i=s.sent(),window.open(i,"ios"===o.deviceInfo.operatingSystem?"_self":e),a({event:ope.downloadFile,action:ape.click,value:_pe(i),item:{id:n,type:"content",parentId:r}}),[2]}}))}))}}}}),[s,r,n,e,module])}var bWe,wWe,xWe,_We,SWe,kWe,PWe,$We,QWe,CWe,TWe,EWe,IWe,DWe,RWe,AWe,zWe,NWe,jWe=function(r){var i=r.files,o=r.onDeleteClick,a=r.getFileUrl,s=r.fileAccessToken,l=r.onPlayVideo,u=r.onPlayAudio,c=r.disabled,d=r.parentId,p=r.className;if(!i||0===i.length)return null;var f=i.filter((function(e){return a&&pje(e.filename)})),h=i.filter((function(e){return a&&sWe(e.filename)})),m=i.filter((function(e){return!f.includes(e)&&!h.includes(e)}));return n(t,{children:[h.length>0&&e(UWe,xEe({className:p,"data-preload-video":"safari"===Gb},{children:h.map((function(t){return e(qWe,{children:e(aWe,{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(XWe,xEe({className:p},{children:f.map((function(t){return e(MWe,{children:e(dje,{fileName:t.filename,url:a(t.id),onPlay:function(e){return u(e,t.id)}},void 0)},t.id)}))}),void 0),m.length>0&&e(XWe,xEe({className:p},{children:m.map((function(t){return e(MWe,{children:e(WWe,{attachment:t,disabled:c,getFileUrl:a,fileAccessToken:s,onDeleteClick:o,parentId:d},void 0)},t.id)}))}),void 0)]},void 0)},XWe=r.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(bWe||(bWe=$Ee(["\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"]))),UWe=r.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(wWe||(wWe=$Ee(["\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),qWe=r.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(xWe||(xWe=$Ee(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),MWe=r.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(_We||(_We=$Ee(["\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,Jde.small,5),WWe=function(t){var r=t.attachment,i=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=t.parentId,u=yC().formatMessage,c=!s&&i,d=yWe(),p=d.exchangeShortLivedToken,f=d.createDownloadClickHandler;return n(LWe,{children:[r.isUploadInProgress&&e(KWe,{children:e(HWe,{size:F.medium},void 0)},void 0),e(VWe,xEe({takeFullWidth:!c},{children:function(){var t=this;if(r.hasError)return n(ZWe,{children:[e(JWe,{iconName:"Warning"},void 0),e(GWe,xEe({title:r.filename},{children:r.filename}),void 0)]},void 0);var i=mWe(r.filename);if(o)return n(FWe,xEe({title:r.filename,onClick:f("_blank",(function(){return SEe(t,void 0,void 0,(function(){var e;return kEe(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(BWe,{iconName:i},void 0),e(GWe,{children:r.filename},void 0)]}),void 0);return n(ZWe,{children:[e(BWe,{iconName:i},void 0),e(GWe,xEe({title:r.filename},{children:r.filename}),void 0)]},void 0)}()}),void 0),c&&e(YWe,{iconProps:{iconName:"Delete"},onClick:function(){return i(r)},disabled:r.isUploadInProgress,ariaLabel:u({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},LWe=r.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(SWe||(SWe=$Ee(["\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})),FWe=r(_).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(kWe||(kWe=$Ee(["\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})),VWe=r.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(QWe||(QWe=$Ee(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o(PWe||(PWe=$Ee(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o($We||($We=$Ee(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),ZWe=r.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(CWe||(CWe=$Ee(["\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),BWe=r(S).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(TWe||(TWe=$Ee(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),YWe=r(g).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(EWe||(EWe=$Ee(["\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})),GWe=r.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(IWe||(IWe=$Ee(["\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"]))),KWe=r.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(DWe||(DWe=$Ee(["\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"]))),HWe=r(SXe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(RWe||(RWe=$Ee(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),JWe=r(S).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(AWe||(AWe=$Ee(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),eLe=function(r){var i,o=r.children,a=_Ee(r,["children"]);return n(t,{children:[e(tLe,{},void 0),e(CEe,xEe({},a,{modalProps:xEe(xEe({},a.modalProps||{}),{className:os({"lt-reach-dialog-mobile-full-height":dp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},tLe=i(zWe||(zWe=$Ee(['\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 .browser-name-chromium-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px - env(safe-area-max-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\n .browser-name-chromium-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px - env(safe-area-max-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(NWe||(NWe={}));var nLe=function(t){var r=t.iconName,i=t.onClick,o=t.tooltipResourceKey,a=t.tooltipValues,s=t.useSecondaryBgColor,l=t.domIdentifier,u=t.className,c=t.disabled,d=yC().formatMessage;return n(yNe,xEe({className:u,resourceKey:o,values:a},{children:[e(aLe,{},void 0),e(sLe,{"data-fab":l,iconProps:{iconName:r},onClick:i,ariaLabel:d({id:o},a),useSecondaryBgColor:s,disabled:c,allowDisabledFocus:c},void 0)]}),void 0)},rLe=function(r){var i=r.iconName,o=r.tooltipResourceKey,a=r.titleResourceKey,s=r.showCloseButton,l=r.useSecondaryBgColor,u=r.children,c=r.domIdentifier,d=r.useMobileFullHeight,p=yC().formatMessage,f=me(!1),h=f[0],m=f[1],O=Oe(null),g=dp.isAnyMobileApp;return n(t,{children:[e("div",xEe({ref:O},{children:e(nLe,{"data-fab":c,tooltipResourceKey:o,iconName:i,onClick:function(){return m(!h)},useSecondaryBgColor:l},void 0)}),void 0),h&&g&&d&&n(eLe,xEe({hidden:!h,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:X.close,title:p({id:a})},onDismiss:function(){return m(!1)}},{children:[e(_Le,{},void 0),u]}),void 0),h&&g&&!d&&n(CEe,xEe({hidden:!h},{children:[u,e(U,{children:e(_,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),h&&!g&&e(Ije,xEe({target:O.current,directionalHint:z.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:n(wLe,{children:[u,s&&e(xLe,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},iLe=r.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(cLe||(cLe=$Ee(["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"],["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"])),(function(e){return e.offsetRight+20}),(function(e){return e.positionBottomOnMobile?o(lLe||(lLe=$Ee(["\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 "])),Jde.medium,e.offsetTop+20):o(uLe||(uLe=$Ee(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),oLe=function(e){return o(fLe||(fLe=$Ee(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "],["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "])),e?o(dLe||(dLe=$Ee(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){return e.theme.palette.themeTertiary})):o(pLe||(pLe=$Ee(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.neutralTertiary}),(function(e){return e.theme.palette.neutralPrimary}),(function(e){return e.theme.palette.neutralTertiaryAlt})))},aLe=i(hLe||(hLe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return Ate("\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 ")})),sLe=r(g).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(mLe||(mLe=$Ee(["\n /* 4x specificity so the hover color isn't overridden by the global icon button hover reset */\n &&&& {\n ","\n\n &.is-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ",";\n }\n }\n"],["\n /* 4x specificity so the hover color isn't overridden by the global icon button hover reset */\n &&&& {\n ","\n\n &.is-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ",";\n }\n }\n"])),(function(e){return oLe(e.useSecondaryBgColor)}),(function(e){return e.useSecondaryBgColor?e.theme.palette.themeSecondary:e.theme.palette.neutralTertiary}));r(yNe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(OLe||(OLe=$Ee(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return oLe(e.useSecondaryBgColor)}));var lLe,uLe,cLe,dLe,pLe,fLe,hLe,mLe,OLe,gLe,vLe,yLe,bLe,wLe=r.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(gLe||(gLe=$Ee(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),xLe=r(_).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(vLe||(vLe=$Ee(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),_Le=i(yLe||(yLe=$Ee(["\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"])),epe),SLe=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 Pe(r,{className:s,dir:a},e(jC,{id:i,values:o},void 0))},kLe=function(t){var r=t.icon,i=t.resourceKey,o=t.className,a=t.values,s="string"==typeof r?e(S,{iconName:r},void 0):r;return n(PLe,xEe({className:o},{children:[s,e(jC,{id:i,values:a,tagName:"span"},void 0)]}),void 0)},PLe=r.div(bLe||(bLe=$Ee(["\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),$Le={},QLe=new a5;var CLe=new a5;function TLe(e){var t=Oe(!0);ge((function(){t.current||CLe.next(),t.current=!1}),e)}var ELe,ILe,DLe,RLe,ALe=function(t){var n=t.groupName,r=t.groupId,i=t.keywordName,o=t.language,a=t.underlined,s=t.onClick,l=t.tabIndex,u=hle(),c=tce(pe(nOe).selectedKeywordGroups,u,r,i,n,o);return s?e(NLe,xEe({onClick:s,tabIndex:l},{children:e(jLe,xEe({underlined:!0,dir:"auto"},{children:c}),void 0)}),void 0):e(jLe,xEe({underlined:a,dir:"auto"},{children:c}),void 0)},zLe=function(t){var n=t.groupId,r=t.keywordName,i=hle(),o=tce(pe(nOe).selectedKeywordGroups,i,n,r);return TLe([o]),e(jLe,xEe({underlined:!0},{children:o}),void 0)},NLe=r($je).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(ELe||(ELe=$Ee(["\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})),jLe=r.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(DLe||(DLe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o(ILe||(ILe=$Ee(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),XLe=function(t){var r=t.modified,i=yC();return r?n(ULe,xEe({className:"ms-fontColor-neutralTertiary"},{children:["(",e(yNe,xEe({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(jC,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},ULe=r.div(RLe||(RLe=$Ee(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function qLe(){return qLe=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},qLe.apply(this,arguments)}var MLe=function(e){return ce.createElement("svg",qLe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),ce.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}}),ce.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"}}),ce.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),ce.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}}),ce.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"}}),ce.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}}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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 WLe(){return WLe=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},WLe.apply(this,arguments)}var LLe=function(e){return ce.createElement("svg",WLe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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 FLe(){return FLe=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},FLe.apply(this,arguments)}var VLe=function(e){return ce.createElement("svg",FLe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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 ZLe(){return ZLe=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},ZLe.apply(this,arguments)}var BLe,YLe,GLe,KLe,HLe,JLe,eFe,tFe,nFe,rFe,iFe,oFe=function(e){return ce.createElement("svg",ZLe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),ce.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}}),ce.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"}}),ce.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}}),ce.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),ce.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"}}),ce.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}}),ce.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"}}),ce.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"}}),ce.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"}}),ce.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}}),ce.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}}))},aFe=function(t){var n=t.images,r=t.selectedIndex,i=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=JZ((function(){return SEe(this,void 0,void 0,(function(){var e;return kEe(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}):fWe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],u=s[1],c=s[2];return u||c?null:e(Y,{children:e(sFe,{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)},sFe=function(r){var i=r.images,o=r.hidden,a=r.selectedIndex,s=r.onClose,l=yC().formatMessage,u=Oe(null),c=Oe();return ge((function(){var e;if(!o)return clearTimeout(c.current),c.current=setTimeout((function(){return e=function(){var e=new FOe(u.current,ZOe,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(lFe,{enforceArrowVisibility:!dp.isNativeMobileApp},void 0),n("div",xEe({ref:u,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"},void 0),n("div",xEe({className:"pswp__scroll-wrap"},{children:[n("div",xEe({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",xEe({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",xEe({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",xEe({className:"pswp__preloader"},{children:e("div",xEe({className:"pswp__preloader__icn"},{children:e("div",xEe({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),e("div",xEe({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",xEe({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},lFe=i(YLe||(YLe=$Ee(["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"],["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"])),(function(e){return e.enforceArrowVisibility&&o(BLe||(BLe=$Ee(["\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 "])))})),uFe=function(r){var i=r.images,o=r.imageUrlResolver,a=r.disableRoundedCorners,s=r.gridBackgroundColor,l=r.className,u=yC().formatMessage,c=me(null),d=c[0],p=c[1],f=pe(Eme).theme.palette;if(!i||0===i.length)return null;var h=i.length>4,m=i.length>1,O=i[0];return n(dFe,xEe({"data-multi-images":m,className:l,singleImageHeight:O.height,singleImageWidth:O.width},{children:[e("div",xEe({"data-gallery-wrapper":!0},{children:m?n(t,{children:[e(fFe,xEe({backgroundColor:null!=s?s:f.neutralLight,applyRoundedCorners:!a},{children:i.slice(0,4).map((function(t,n){return e(hFe,xEe({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),g(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(mFe,{src:t.previewUrl,imageFit:B.centerCover,alt:t.imageTitle||""},void 0)}),n)}))}),void 0),h&&n(OFe,xEe({onClick:function(){return g(4)}},{children:["+",i.length-4]}),void 0)]},void 0):e(cFe,{image:O,onClick:function(){return g(0)},disableRoundedCorners:a},void 0)}),void 0),e(aFe,{images:i,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:o},void 0)]}),void 0);function g(e){p(e)}},cFe=function(t){var n=t.image,r=t.onClick,i=t.disableRoundedCorners,o=yC().formatMessage;return e(pFe,xEe({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)},dFe=r.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(KLe||(KLe=$Ee(["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"],["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"])),(function(e){return e.singleImageWidth&&e.singleImageHeight&&o(GLe||(GLe=$Ee(["\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)})),pFe=r.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(JLe||(JLe=$Ee(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"])),(function(e){return e.applyRoundedCorners&&o(HLe||(HLe=$Ee(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),fFe=r.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(tFe||(tFe=$Ee(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"],["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"])),(function(e){return e.backgroundColor}),(function(e){return e.applyRoundedCorners&&o(eFe||(eFe=$Ee(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),hFe=r.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(nFe||(nFe=$Ee(["\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"]))),mFe=r(k).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(rFe||(rFe=$Ee(["\n height: 100%;\n"],["\n height: 100%;\n"]))),OFe=r(_).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(iFe||(iFe=$Ee(["\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,Jde.small,28);var gFe,vFe,yFe,bFe,wFe,xFe,_Fe=function(t){var n=t.icon,r=t.isActive,i=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,u=_Ee(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),c=yC().formatMessage;if(!s&&!a)return null;var d=os("header-button",l),p=s?e(PFe,xEe({className:d,to:s},u,{children:e(S,{iconName:n},void 0)}),void 0):e(kFe,xEe({className:d,disabled:i,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:c({id:o}),"data-button-type":"header-btn",isActive:r},u),void 0);return e(SFe,xEe({className:"tooltip-container"},{children:e(yNe,xEe({resourceKey:o},{children:p}),void 0)}),void 0)},SFe=r.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(gFe||(gFe=$Ee(["\n height: 100%;\n"],["\n height: 100%;\n"]))),kFe=r(g).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(bFe||(bFe=$Ee(['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"],['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"])),(function(e){return!e.isActive&&o(vFe||(vFe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o(yFe||(yFe=$Ee(["\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)})),PFe=r(Ae).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(xFe||(xFe=$Ee(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o(wFe||(wFe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),$Fe=ZEe,QFe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",CFe=RegExp("^"+QFe+QFe+"*"),TFe=RegExp(QFe+QFe+"*$"),EFe=function(e){return function(t){var n=String($Fe(t));return 1&e&&(n=n.replace(CFe,"")),2&e&&(n=n.replace(TFe,"")),n}},IFe={start:EFe(1),end:EFe(2),trim:EFe(3)},DFe=AEe,RFe="\t\n\v\f\r                 \u2028\u2029\ufeff",AFe=IFe.trim,zFe=function(e){return DFe((function(){return!!RFe[e]()||"​…᠎"!="​…᠎"[e]()||RFe[e].name!==e}))};ORe({target:"String",proto:!0,forced:zFe("trim")},{trim:function(){return AFe(this)}});var NFe,jFe,XFe,UFe,qFe,MFe,WFe,LFe,FFe,VFe,ZFe,BFe,YFe,GFe,KFe,HFe,JFe,eVe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.children,a=t.className,s=t.style,l=_Ee(t,["url","target","ariaLabel","children","className","style"]);mle();var u=efe(),c=pe(wD);c.onOpenExternalLink;var d=c.tryGetInternalLink,p=!r&&d(n,u);return p?e(RNe,xEe({className:a,to:p,"data-link":Hde.Internal,"aria-label":i,style:s,dir:"auto"},l,{children:o}),void 0):e(tVe,xEe({url:n,target:r,className:a,ariaLabel:i,style:s},l,{children:o}),void 0)},tVe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,u=_Ee(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(DNe,xEe({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":Hde.External,style:l,dir:"auto"},u,{children:s}),void 0)},nVe=o(NFe||(NFe=$Ee(["\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"]))),rVe=r(eVe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(jFe||(jFe=$Ee(["\n ","\n"],["\n ","\n"])),nVe),iVe=r(tVe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(XFe||(XFe=$Ee(["\n ","\n"],["\n ","\n"])),nVe),oVe=r(g).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(qFe||(qFe=$Ee(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o(UFe||(UFe=$Ee(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),aVe=r((function(t){var r,i=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,u=t.target,c=t.tooltipText,d=t.tooltipResourceKey,p=t.disabled,f=t.className,h=_Ee(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=yC().formatMessage,O=o||(null===(r=null==a?void 0:a.trim())||void 0===r?void 0:r.length)>0&&m({id:a});return n(yNe,xEe({resourceKey:d,text:c},{children:[l&&!s&&e(rVe,xEe({url:l,ariaLabel:O,target:u},h,{children:e(S,{iconName:i,className:f},void 0)}),void 0),s&&!l&&e(oVe,xEe({disabled:p,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:O},h),void 0),s&&l&&e(iVe,xEe({url:l,target:u,ariaLabel:O,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(S,{iconName:i,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(WFe||(WFe=$Ee(["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"],["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.isActive&&o(MFe||(MFe=$Ee(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),sVe=function(t){var r=t.shouldAutoFocus,i=void 0===r||r,o=yC(),a=me(null),s=a[0],l=a[1],u=Ie(),c=pe(Eme).theme.textColors,d=Oe();return ge((function(){return COe(f),i&&setTimeout((function(){var e;return d&&(null===(e=d.current)||void 0===e?void 0:e.focus())})),function(){TOe(f)}}),[]),ge((function(){l("")}),[u.pathname]),n(cVe,xEe({className:os("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(lVe,{className:"search-input",useLightTheme:t.useLightTheme,default:!0,value:s||t.searchText||"",onChange:function(e,t){return p(t)},onKeyDown:function(e){"Enter"===e.key&&t.onExecuteSearch&&t.onExecuteSearch(s);"Escape"===e.key&&p("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:t.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return d.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),t.searching&&e(uVe,{className:"search-spinner"},void 0),e(dVe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;l(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&c.onPrimary},void 0)]}),void 0);function p(e){var n;l(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function f(){return!(!s&&!t.searchText)&&(p(""),!0)}},lVe=r(w).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(VFe||(VFe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o(LFe||(LFe=$Ee(["\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}),dWe("color: "+e.theme.textColors.default)):o(FFe||(FFe=$Ee(["\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}),dWe("color: "+e.theme.textColors.onPrimary))})),uVe=r(m).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(ZFe||(ZFe=$Ee(["\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})),cVe=r.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(GFe||(GFe=$Ee(["\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"])),dWe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o(BFe||(BFe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o(YFe||(YFe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),dVe=r($Ne).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(KFe||(KFe=$Ee(["\n align-self: center;\n"],["\n align-self: center;\n"]))),pVe=function(r){var i=r.onSearchInputFieldVisibilityChanged,o=r.isToolbarMode,a=r.onExecuteSearch,s=r.onSearchTextChange,l=r.searchText,u=r.showSearchBoxInput,c=r.className,d=r.shouldAutoFocus,p=me(!!l),f=p[0],h=p[1],m=u||f||!!l;return ge((function(){null==i||i(m)}),[m]),n(t,{children:[m&&e(sVe,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),O(!1)},shouldAutoFocus:d,className:c,useLightTheme:o},void 0),!m&&(o?e(aVe,{iconName:"Search",onClick:function(){return O(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):e(_Fe,{icon:"Search",onClick:function(){return O(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function O(e){h(e),null==i||i(e)}},fVe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},hVe=vIe,mVe=ZEe,OVe=fVe,gVe=VMe;jMe("search",1,(function(e,t,n){return[function(t){var n=mVe(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=hVe(e),o=String(this),a=i.lastIndex;OVe(a,0)||(i.lastIndex=0);var s=gVe(i,o);return OVe(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),r.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(HFe||(HFe=$Ee(["\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"}(JFe||(JFe={})),r(S).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(vVe||(vVe=$Ee(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),r.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(wVe||(wVe=$Ee(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?o(yVe||(yVe=$Ee(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o(bVe||(bVe=$Ee(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),r.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(xVe||(xVe=$Ee(["\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"})),r.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(_Ve||(_Ve=$Ee(["\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 vVe,yVe,bVe,wVe,xVe,_Ve,SVe,kVe,PVe,$Ve=r.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(SVe||(SVe=$Ee(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));r.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(kVe||(kVe=$Ee(["\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"}),$Ve,(function(e){return e.isLoading?"0.6":"1"})),r(SXe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(PVe||(PVe=$Ee(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var QVe,CVe,TVe=function(t){return e(EVe,xEe({},t,{"data-toggle-button":!0}),void 0)},EVe=r(P).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(QVe||(QVe=$Ee(["\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})),IVe=function(e){return o(CVe||(CVe=$Ee(["\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 DVe(e,t,n,r){return(r?e.translations[Ule(t)]||e.translations[t.subscription.defaultLanguage]:e.translations[t.preferredUiLanguage]||e.translations[Ule(t)])||e.name||n.formatMessage({id:"Groups.defaultName"})}var RVe=jMe,AVe=vIe,zVe=yRe,NVe=CDe,jVe=PDe,XVe=ZEe,UVe=WMe,qVe=VMe,MVe=Math.max,WVe=Math.min,LVe=Math.floor,FVe=/\$([$&'`]|\d\d?|<[^>]*>)/g,VVe=/\$([$&'`]|\d\d?)/g,ZVe=function(e){return void 0===e?e:String(e)};RVe("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=XVe(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 u=AVe(e),c=String(this),d="function"==typeof r;d||(r=String(r));var p=u.global;if(p){var f=u.unicode;u.lastIndex=0}for(var h=[];;){var m=qVe(u,c);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(u.lastIndex=UVe(c,NVe(u.lastIndex),f))}for(var O="",g=0,v=0;v<h.length;v++){m=h[v];for(var y=String(m[0]),b=MVe(WVe(jVe(m.index),c.length),0),w=[],x=1;x<m.length;x++)w.push(ZVe(m[x]));var _=m.groups;if(d){var S=[y].concat(w,b,c);void 0!==_&&S.push(_);var k=String(r.apply(void 0,S))}else k=s(y,c,b,w,_,r);b>=g&&(O+=c.slice(g,b)+k,g=b+y.length)}return O+c.slice(g)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,u=VVe;return void 0!==o&&(o=zVe(o),u=FVe),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=LVe(c/10);return 0===d?t:d<=l?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}u=i[c-1]}return void 0===u?"":u}))}}));var BVe,YVe=Jde.small-40,GVe=Jde.medium-40;function KVe(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 HVe(e){return e?"https://www.google.com/maps/search/?api=1&"+zb.stringify({query:e}):null}function JVe(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}r.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(BVe||(BVe=$Ee(["\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,epe,20,10,10,Jde.small,20,YVe,Jde.medium,GVe);var eZe,tZe,nZe,rZe,iZe,oZe=r.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(tZe||(tZe=$Ee(["\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&&o(eZe||(eZe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),Jde.small,YVe,2.3333333333333335,Jde.medium,(function(e){return e.defaultWidth||250}));r.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(rZe||(rZe=$Ee(["\n display: flex;\n align-items: center;\n\n ","\n"],["\n display: flex;\n align-items: center;\n\n ","\n"])),(function(e){return e.isInvalid&&o(nZe||(nZe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),r(S).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(iZe||(iZe=$Ee(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var aZe,sZe,lZe,uZe,cZe,dZe,pZe,fZe,hZe,mZe=function(r){var i=r.enterDuration,o=r.leaveDuration,a=r.children,s=r.style,l=r.className,u=!!i,c=!!o,d="common-opacity-animation_"+i+"_"+o;return n(t,{children:[e(OZe,{name:d,enterDuration:i,leaveDuration:o},void 0),e(Cge,xEe({style:s,className:l,transitionName:d,transitionAppear:u,transitionEnter:u,transitionLeave:c,transitionLeaveTimeout:o,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:a}),void 0)]},void 0)},OZe=i(aZe||(aZe=$Ee(["\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})),gZe=function(t){var n=t.contentLanguageCode,r=t.originalContent,i=t.content,o=t.onTranslate,a=t.onContentChange,s=t.itemType,l=t.itemId,u=t.tooltipResourceKey,c=t.showLabel,d=yC().formatMessage,p=hle(),f=mle(),h=me(null),m=h[0],O=h[1],g=me(r===i),v=g[0],y=g[1],b=qme().showError,w=Cpe().interaction,x=Ule(p);if(ge((function(){return O(null)}),[r]),!f.automaticTranslation)return null;var _=d({id:"Generic.translate"});return n&&n!==x&&jle.includes(x)&&!Nle.includes(x)?e(yNe,xEe({resourceKey:v?"Generic.translateTo":u,values:{language:d({id:"Generic.languages."+x})}},{children:e(vZe,xEe({"aria-label":c?null:_,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return SEe(this,void 0,void 0,(function(){var e;return kEe(this,(function(t){switch(t.label){case 0:return v?m?(a(m),y(!1),[3,4]):[3,1]:(a(r),y(!0),w({event:ope.translateContent,value:null,action:ape.click,item:{id:l,type:s}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(x)];case 2:return e=t.sent(),a(e),O(e),y(!1),[3,4];case 3:return t.sent(),b("Generic.error"),[3,4];case 4:return w({event:ope.translateContent,value:x,itemType:s,action:ape.click,itemId:l,item:{id:l,type:s}}),[2]}}))}))}},{children:c&&_}),void 0)}),void 0):null},vZe=r($je)(sZe||(sZe=$Ee(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),yZe=r($).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(lZe||(lZe=$Ee(["\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})),bZe=function(r){var i=r.comment,o=r.showEdit,a=r.showDelete,s=r.onDelete,l=r.isEditMode,u=r.toggleEditMode,c=r.originalContent,d=r.currentContent,p=r.setContent,f=r.handleTranslate,h=r.showAutoTranslate,m=r.onReply,O=r.disabled,g=yC().formatMessage,v=hle(),y=me(!1),b=y[0],w=y[1],x=Oe(null);return v.isPublicUser&&!h?null:v.isPublicUser&&h?e(gZe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:gue.Comments,itemId:i.id},void 0):n(t,{children:[e("div",xEe({ref:x},{children:e(xZe,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return w(!b)},ariaLabel:g({id:"AriaLabel.contextMenuButton"}),disabled:O},void 0)}),void 0),b&&e(SZe,xEe({"data-context-menu":!0,target:x.current,onDismiss:function(){return w(!1)}},{children:n(wZe,{children:[e(yNe,xEe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:e(_Ze,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(i,i.sender),w(!1)},text:g({id:"Comment.replyButton"})},void 0)}),void 0),h&&e(gZe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:gue.Comments,itemId:i.id},void 0),o&&e(yNe,xEe({resourceKey:"Comment.edit.tooltip"},{children:e(_Ze,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),w(!1)},text:g({id:"Generic.edit"}),disabled:!i.id||l},void 0)}),void 0),a&&e(yNe,xEe({resourceKey:"Comment.delete.tooltip"},{children:e(_Ze,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),w(!1)},text:g({id:"Generic.Delete"}),disabled:!i.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},wZe=r.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(uZe||(uZe=$Ee(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),xZe=r($Ne).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(cZe||(cZe=$Ee(["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),_Ze=r($je).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(dZe||(dZe=$Ee(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),SZe=r(Ije).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(pZe||(pZe=$Ee(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);r(_).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(fZe||(fZe=$Ee(["\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"]))),r(_).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(hZe||(hZe=$Ee(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var kZe,PZe,$Ze,QZe,CZe,TZe=r(g).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(kZe||(kZe=$Ee(["\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})),EZe=function(t){var r=t.toggleAll,i=t.className,o=pe(Eme).theme.palette.accent;return n(IZe,xEe({className:i},{children:[e(DZe,xEe({onClick:function(){return r(!0)},"data-button-toggle":"selectAll",color:o},{children:e(jC,{id:"Generic.SelectAll"},void 0)}),void 0),e(DZe,xEe({onClick:function(){return r(!1)},"data-button-toggle":"clearAll",color:o},{children:e(jC,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},IZe=r.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(PZe||(PZe=$Ee(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),DZe=r($je).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})($Ze||($Ze=$Ee(["\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"])));r((function(t){var r=t.iconName,i=t.textKey,o=_Ee(t,["iconName","textKey"]);return n(ze,xEe({},o,{children:[r&&e(S,{iconName:r},void 0),e(jC,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(QZe||(QZe=$Ee(["\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})),r($Ne).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(CZe||(CZe=$Ee([""],[""])));var RZe,AZe,zZe,NZe,jZe=function(t){var n=t.language,r=t.channel,i=t.role,o=t.className,a=hle(),s=pe(nOe).channels,l=qZe(function(){if(!s)return r;return s.find((function(e){return e.id===r.id||e.name===r.name}))}(),a,n);return e(XZe,xEe({title:l,className:o,role:i,dir:"auto"},{children:l}),void 0)},XZe=r.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(RZe||(RZe=$Ee(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),UZe=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(jZe,{channel:t,language:o},void 0)]},t.id)}))},void 0)};function qZe(e,t,n){if(null==e)return null;n||(n=Ule(t));var r=e.translations||{};return n&&r[n]||r[t.subscription.defaultLanguage]||e.name}r(jZe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(AZe||(AZe=$Ee(["\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),r.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(zZe||(zZe=$Ee(["\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,cWe(2,2),25),r($Ne).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(NZe||(NZe=$Ee(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var MZe,WZe,LZe,FZe,VZe,ZZe,BZe,YZe,GZe,KZe,HZe,JZe=function(t){var r=t.channels,i=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,u=t.className;if(!r||0===r.length)return null;var c=r.length>s;return n(nBe,xEe({className:u,"data-has-more-indicator":c},{children:[e(eBe,{channels:r.slice(0,s),language:i,channelStyleDefinition:o,onChannelClick:l},void 0),c&&e(tBe,{channels:r.slice(s),language:i,styleDefinition:o,onChannelClick:l},void 0)]}),void 0)},eBe=function(t){var n=t.channels,r=t.language,i=t.channelStyleDefinition,o=t.onChannelClick;return e(rBe,xEe({"data-channels":!0},{children:n.map((function(t){var a=e(jZe,{channel:t,language:r},void 0);return o?e(iBe,xEe({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(oBe,xEe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color},{children:a}),t.id)}))}),void 0)},tBe=function(t){var r=t.channels,i=t.language,o=t.styleDefinition,a=t.onChannelClick,s=Oe(),l=me(!1),u=l[0],c=l[1];return n(sBe,xEe({ref:s},{children:[e(lBe,xEe({onClick:function(){return c(!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(uBe,xEe({target:s.current,onDismiss:function(){return c(!1)}},{children:e(cBe,{children:r.map((function(t){return e("li",{children:a?e($je,xEe({onClick:function(){return a(t)}},{children:e(jZe,{channel:t,language:i},void 0)}),void 0):e(jZe,{channel:t,language:i},void 0)},t.id)}))},void 0)}),void 0)]}),void 0)},nBe=r.div(MZe||(MZe=$Ee(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),rBe=r.div(WZe||(WZe=$Ee(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),iBe=r($je)(LZe||(LZe=$Ee(["\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 aBe(e.bubbleCount,e.backgroundColor,e.color)})),oBe=r.span(FZe||(FZe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return aBe(e.bubbleCount,e.backgroundColor,e.color)})),aBe=function(e,t,n){return o(BZe||(BZe=$Ee(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&o(VZe||(VZe=$Ee(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&o(ZZe||(ZZe=$Ee(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),bNe({backgroundColor:t,color:n}))},sBe=r.div(YZe||(YZe=$Ee([""],[""]))),lBe=r($je)(GZe||(GZe=$Ee(["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"],["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"])),6,(function(e){return bNe({backgroundColor:e.backgroundColor,color:e.color})})),uBe=r(Ije)(KZe||(KZe=$Ee(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),cBe=r.ul(HZe||(HZe=$Ee(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),dBe=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(CBe,xEe({className:l,"data-channels":r.map((function(e){return e.name})).join(",")},{children:r.map((function(t){var r=e(EBe,xEe({backgroundColor:a},{children:e(jZe,{channel:t,language:o},void 0)}),void 0);return n(TBe,{children:[i&&e(IBe,xEe({"data-channel":!0,to:i(pBe(t)?t.name:t),"data-rounded-outline":!0},{children:r}),void 0),s&&e(RBe,xEe({"data-rounded-outline":!0,onClick:function(){return pBe(t)?s(t.name,t):s(t)}},{children:r}),void 0),!s&&!i&&e(DBe,{children:r},void 0)]},t.id)}))}),void 0):null};function pBe(e){return null!=e.id}var fBe,hBe,mBe,OBe,gBe,vBe,yBe,bBe,wBe,xBe,_Be,SBe,kBe,PBe,$Be,QBe,CBe=r.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(fBe||(fBe=$Ee(["\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),TBe=r.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(hBe||(hBe=$Ee(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),EBe=r.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(mBe||(mBe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?bNe({backgroundColor:e.backgroundColor}):bNe()})),IBe=r(ze).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(OBe||(OBe=$Ee(["\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),DBe=r.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(gBe||(gBe=$Ee(["\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),RBe=r($je).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(vBe||(vBe=$Ee(["\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),ABe=function(r){var i=r.searchText,o=r.onSearchTextChange,a=r.onExecuteSearch,s=r.onSearchIconClick,l=r.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(zBe,{children:e(pVe,{searchText:i,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0},void 0)},void 0),e(NBe,{children:e(aVe,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},zBe=r.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(yBe||(yBe=$Ee(["\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"])),tpe),NBe=r.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(bBe||(bBe=$Ee(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Jde.medium),jBe=function(t){var r=t.leftSide,i=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,u=t.children,c=me(!1),d=c[0],p=c[1];return n(XBe,xEe({className:l,"data-content-toolbar":!0},{children:[n(MBe,{children:[r&&!i&&e(UBe,{children:r},void 0),(o||s)&&!a&&n(qBe,{children:[s&&e(ABe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?f():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&e(WBe,{children:e(sVe,{onClear:f,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function f(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},XBe=r.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(wBe||(wBe=$Ee(["\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),UBe=r.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(xBe||(xBe=$Ee(["\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"]))),qBe=r.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(_Be||(_Be=$Ee(["\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"]))),MBe=r.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(SBe||(SBe=$Ee(["\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"]))),WBe=r.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(kBe||(kBe=$Ee(["\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"])),Jde.medium);r(jBe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(PBe||(PBe=$Ee(["\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,Jde.medium,20,20),r.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})($Be||($Be=$Ee(["\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"]))),r.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(QBe||(QBe=$Ee([""],[""])));var LBe,FBe,VBe,ZBe,BBe,YBe,GBe,KBe,HBe,JBe,eYe,tYe=function(r){var i=r.onEmojiSelected,o=r.disabled,a=Oe(null),s=me(!1),l=s[0],u=s[1],c=yC().formatMessage;return n(t,{children:[e(nYe,xEe({ref:a},{children:e($Ne,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:o,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&e(rYe,xEe({directionalHint:z.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(oYe,{onSelect:function(e){u(!1),i(e.native)}},void 0)}),void 0)]},void 0)},nYe=r.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(LBe||(LBe=$Ee([""],[""]))),rYe=r(Ije).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(FBe||(FBe=$Ee(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),iYe=Se((function(){return import("./EmojiPicker.esm.esm.js")})),oYe=function(t){var n=t.onSelect,r=eB();return e(ke,xEe({fallback:e(aYe,xEe({isSmaller:r.width<Jde.small},{children:e(SXe,{},void 0)}),void 0)},{children:e(iYe,{onSelect:n},void 0)}),void 0)},aYe=r.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(VBe||(VBe=$Ee(["\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})),sYe=function(){var t=_b();return e(lYe,{children:e("a",xEe({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)},lYe=r.div(ZBe||(ZBe=$Ee(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),uYe=function(t){var r,i,o=t.onGifClick,a=t.className,s=Ab(),l=yC().formatMessage,u=new Mbe.GiphyFetch(s.giphy.apiKey),c=me(null),d=c[0],p=c[1],f=vEe(d,500)[0],h=eB(),m=JZ((function(){if(!f)return u.trending({limit:21});return u.search(f,{limit:21})}),null,[f]),O=m[0],g=m[1],v=h.width<550?80:100;return n(cYe,xEe({className:a},{children:[e(V,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return p(t)},autoFocus:!0},void 0),n(dYe,xEe({columnWidth:v,"data-gif-grid":!0},{children:[g&&e(SXe,{delay:300},void 0),0===(null===(r=null==O?void 0:O.data)||void 0===r?void 0:r.length)&&e(jC,{id:"Generic.noResultsFound"},void 0),null===(i=null==O?void 0:O.data)||void 0===i?void 0:i.map((function(t){return e(pYe,{gif:t,width:v,height:v,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}),void 0)]}),void 0)},cYe=r.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(BBe||(BBe=$Ee(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),dYe=r.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(YBe||(YBe=$Ee(["\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),pYe=r(Tge.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(GBe||(GBe=$Ee(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),fYe=function(t){var r=t.target,i=t.onGifClick,o=t.onDismiss;return n(hYe,xEe({directionalHint:z.topCenter,target:r,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(mYe,{onGifClick:i},void 0),e(sYe,{},void 0)]}),void 0)},hYe=r(Ije)(KBe||(KBe=$Ee(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),mYe=r(uYe)(HBe||(HBe=$Ee(["\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"])));i(JBe||(JBe=$Ee(["\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"])),epe),r(uYe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(eYe||(eYe=$Ee(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10);var OYe,gYe,vYe,yYe,bYe,wYe,xYe=function(r){var i=r.disabled,o=r.onGifClick,a=mle(),s=yC().formatMessage,l=Oe(),u=me(!1),c=u[0],d=u[1];return a.giphy?n("div",{children:[e("div",xEe({ref:l},{children:e($Ne,{iconProps:{iconName:"Gif"},onClick:function(){return d(!0)},disabled:i,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})},void 0)}),void 0),c&&e(t,{children:e(fYe,{target:l.current,onGifClick:function(e){d(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:hue.Giphy})},onDismiss:function(){return d(!1)}},void 0)},void 0)]},void 0):null},_Ye=function(t){var n=t.gifInfo,r=t.className,i=Ab(),o=me(),a=o[0],s=o[1];return ge((function(){new Mbe.GiphyFetch(i.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[i.giphy.apiKey,n.id]),a?e(SYe,xEe({className:r},{children:e(kYe,{gif:a,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},SYe=r.div(OYe||(OYe=$Ee([""],[""]))),kYe=r(Tge.Gif)(gYe||(gYe=$Ee(["\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"])),epe),PYe=function(t){var n=t.attachments,r=t.onDeleteClick,i=t.className,o=yC().formatMessage,a=n.filter((function(e){return e.type===hue.Giphy}));return 0===a.length?null:e($Ye,xEe({className:i,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(QYe,xEe({domIdentifier:"gif",deleteButton:e(TZe,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return r(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:e(_Ye,{gifInfo:t},void 0)}),t.id)}))}),void 0)},$Ye=r.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(vYe||(vYe=$Ee(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),QYe=r(_je).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(yYe||(yYe=$Ee(["\n width: auto;\n"],["\n width: auto;\n"]))),CYe=function(t){var n=t.attachments,r=t.className,i=n.filter((function(e){return e.type===hue.Giphy}));return 0===i.length?null:e(TYe,xEe({className:r,"data-gif-url-preview":i[0].id},{children:e(EYe,{children:e(_Ye,{gifInfo:i[0]},void 0)},void 0)}),void 0)},TYe=r.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(bYe||(bYe=$Ee(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),EYe=r(_je).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(wYe||(wYe=$Ee(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var IYe,DYe,RYe,AYe=function(t){var r,i,o=Oe(null),a=me(!1),s=a[0],l=a[1];return n(zYe,xEe({className:t.className},((r={})[t.dataAttribute]=!0,r),{ref:o},{children:[e(NYe,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return SEe(this,void 0,void 0,(function(){var e,n;return kEe(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(jYe,xEe({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)},zYe=r.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(IYe||(IYe=$Ee(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),NYe=r($Ne).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(DYe||(DYe=$Ee(["\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"]))),jYe=r(Ije).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(RYe||(RYe=$Ee(["\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"]))),XYe="video-view-container";function UYe(e,t){return void 0===t&&(t=!1),null==e||0===e.trim().length||t&&function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.innerText.trim().length&&null===t.querySelector("div")}(e)}var qYe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr-latn","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function MYe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),qYe.find((function(t){return t===e}))):null}function WYe(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}function LYe(){return navigator.language}var FYe,VYe,ZYe,BYe,YYe,GYe,KYe,HYe,JYe,eGe=function(t){var r=t.onNextClick,i=t.onPrevClick,o=t.onFirstClick,a=t.hidePrevButton,s=t.hideNextButton,l=t.isLoadingNextPage,u=t.className,c=yC().formatMessage,d=pe(Eme).theme.palette;return s&&a?null:n(tGe,xEe({className:u},{children:[e(yNe,xEe({resourceKey:"Lib.paging.goToFirstPage"},{children:e(rGe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),e(iGe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:i,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),e(oGe,{iconProps:{iconName:"ChevronRightSmall"},text:c({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:r,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},tGe=r.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(FYe||(FYe=$Ee(["\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),nGe=r($je).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(ZYe||(ZYe=$Ee(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o(VYe||(VYe=$Ee(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),rGe=r(nGe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(BYe||(BYe=$Ee([""],[""]))),iGe=r(nGe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(YYe||(YYe=$Ee([""],[""]))),oGe=r(nGe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(GYe||(GYe=$Ee(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));r.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(KYe||(KYe=$Ee(["\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})),r.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(HYe||(HYe=$Ee(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),60),r.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(JYe||(JYe=$Ee(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var aGe=WEe,sGe=Array.isArray||function(e){return"Array"==aGe(e)},lGe=sGe,uGe=CDe,cGe=NXe,dGe=function(e,t,n,r,i,o,a,s){for(var l,u=i,c=0,d=!!a&&cGe(a,s,3);c<r;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&lGe(l))u=dGe(e,t,l,uGe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},pGe=dGe,fGe=KEe,hGe=sGe,mGe=dAe("species"),OGe=pGe,gGe=yRe,vGe=CDe,yGe=gRe,bGe=function(e,t){var n;return hGe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!hGe(n.prototype)?fGe(n)&&null===(n=n[mGe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function wGe(e,t,n){var r=function(e){var t=me(0),n=t[0],r=t[1],i=me({pages:{},paginationToken:null,hasNextPage:!0}),o=i[0],a=i[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:PEe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,r){a((function(i){var o;return{pages:wEe(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=xEe({},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 xEe(xEe({},n),{pages:r})}))},insertToTheFront:function(t){for(var i,s,l=PEe([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[]),u=xEe(xEe({},o.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var p=0===d,f=Object.keys(u)[d],h=u[f].length;if(p&&h>e&&h<=2*e){n<2*e&&r(n+e);break}if(h<=e)break;var m=u[f].pop(),O=null!==(s=Object.keys(u)[d+1])&&void 0!==s?s:p?2*e:+f+e,g=u[O];if(!g){o.hasNextPage||(u[O]=[m],r(n+e));break}g.unshift(m),d++}a(xEe(xEe({},o),{pages:u}))},deleteItem:function(t){for(var i=xEe({},o.pages),s=Object.keys(i).length,l=0;l<s;){var u=Object.keys(i)[l];if(i[u].find((function(e){return e.id===t}))){i[u]=i[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<s;){if(!i[u=Object.keys(i)[l++]].length&&l===s){delete i[u],c=!0;break}var d=Object.keys(i)[l],p=d?i[d]:null;if(!p)break;var f=p.shift();i[u].push(f)}a(xEe(xEe({},o),{pages:i}));var h=(c||i[0].length===e)&&n>e;return h&&r(n-e),h}}}(e),i=r.state,o=r.setInitialPages,a=r.updatePageItems,s=r.lastFetchedPageIndex,l=r.updateLastFetchedPageIndex,u=r.updateItem,c=r.insertToTheFront,d=r.deleteItem,p=me(0),f=p[0],h=p[1],m=me(!0),O=m[0],g=m[1],v=me(!1),y=v[0],b=v[1],w=me(null),x=w[0],_=w[1];ge((function(){k()}),PEe([e],n||[]));var S=Object.keys(i.pages).flatMap((function(e){return i.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:O,isLoadingNextPage:y,error:x,getFirstPage:function(){return h(e)},getPrevPage:function(){return h(f-e)},getNextPage:function(){return SEe(this,void 0,void 0,(function(){return kEe(this,(function(t){switch(t.label){case 0:return h(f+e),i.hasNextPage&&f===s-e?[4,P(i.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===s&&!i.hasNextPage,isEmpty:!O&&0===(null==S?void 0:S.length),insertToTheFront:c,updateItem:u,onBeforeDeleteItem:function(t){var n=d(t);!i.hasNextPage&&n&&f>=s&&f>0&&h(f-e);b(!0)},onAfterDeleteItem:function(){return SEe(this,void 0,void 0,(function(){return kEe(this,(function(t){switch(t.label){case 0:return i.hasNextPage?i.paginationToken!==2*e?[3,2]:[4,k()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,P(+i.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return b(!1),[2]}}))}))}};function k(){return SEe(this,void 0,void 0,(function(){var n,r;return kEe(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),h(e)):(l(2),h(e)),[3,4];case 2:return r=i.sent(),Vb.error(r),_(r),[3,4];case 3:return g(!1),[7];case 4:return[2]}}))}))}function P(n){return SEe(this,void 0,void 0,(function(){var r,i;return kEe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),b(!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(),Vb.error(i),_(x),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}}ORe({target:"Array",proto:!0},{flatMap:function(e){var t,n=gGe(this),r=vGe(n.length);return yGe(e),(t=bGe(n,0)).length=OGe(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),ZAe("flatMap");var xGe,_Ge,SGe,kGe,PGe,$Ge,QGe,CGe=function(r){var i=r.onNextClick,o=r.onPrevClick,a=r.hidePagination,s=r.disablePrevButton,l=r.disableNextButton,u=r.children,c=r.className,d=pe(Eme).theme.palette,p=yC().formatMessage;return a?e(t,{children:u},void 0):n(TGe,xEe({className:c},{children:[e(IGe,{disabled:s,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:d.accent,ariaLabel:p({id:"Lib.paging.previous"})},void 0),e(RGe,{children:u},void 0),e(DGe,{disabled:l,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:d.accent,ariaLabel:p({id:"Lib.paging.next"})},void 0)]}),void 0)},TGe=r.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(xGe||(xGe=$Ee(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),EGe=r($Ne).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(_Ge||(_Ge=$Ee(["\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"),IGe=r(EGe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(SGe||(SGe=$Ee(["\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})),DGe=r(EGe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(kGe||(kGe=$Ee(["\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})),RGe=r.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(PGe||(PGe=$Ee(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),AGe=fe(null);r.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})($Ge||($Ge=$Ee(["\n width: 100%;\n"],["\n width: 100%;\n"]))),r.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(QGe||(QGe=$Ee(["\n display: contents;\n"],["\n display: contents;\n"])));var zGe,NGe,jGe,XGe,UGe,qGe,MGe,WGe,LGe,FGe=o(zGe||(zGe=$Ee(["\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"]))),VGe=o(NGe||(NGe=$Ee(["\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"])),FGe,Jde.medium,20),ZGe=o(jGe||(jGe=$Ee(["\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})),BGe=o(XGe||(XGe=$Ee(["\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"])),tpe),YGe=function(r){var i=r.allChannelsOption,o=r.bookmarkOption,a=r.channelsOptions,s=r.getInitialSelectedKey,l=r.manageChannelsOption,u=fle(),c=u.isLibUser,d=u.user,p=pe(nOe).channels,f=yC().formatMessage,h=function(){var e=[];i&&e.push({key:"AllChannels",text:f({id:"Channels.All"}),data:{pathname:i.to,iconName:"Org",exact:!0,onSelected:i.onSelected,isChannel:!1}});if(a){var t=(a.availableChannels?(p||[]).filter((function(e){return a.availableChannels.some((function(t){return e.id===t||e.name===t}))})):d.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=a.to)||void 0===t?void 0:t.call(a,e),iconName:"Org",exact:!1,channel:e,isChannel:!0,onSelected:a.onSelected?function(){return a.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}});l&&e.push({key:"ManageChannels",text:f({id:"PageMenu.manageUserChannels"}),data:{pathname:l.to,iconName:"CollapseMenu",exact:!0,onSelected:l.onSelected,isChannel:!1}});return e}(),m=me((function(){return(null==s?void 0:s(h))||"AllChannels"})),O=m[0],g=m[1];return n(t,{children:[e(GGe,{},void 0),e(KGe,{options:h,onRenderOption:function(t){if(t.data.onSelected)return n(JGe,{children:[e(S,{iconName:t.data.iconName},void 0),t.data.isChannel?e(jZe,{channel:t.data.channel,language:c?d.preferredContentLanguage:d.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]},t.key);return n(HGe,xEe({to:t.data.pathname,exact:t.data.exact,isActive:t.key===O?function(){return!0}:void 0},{children:[e(S,{iconName:t.data.iconName},void 0),t.data.isChannel?e(jZe,{channel:t.data.channel,language:c?d.preferredContentLanguage:d.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]}),t.key)},selectedKey:O,onRenderTitle:function(t){var n=t[0];if(n.data.isChannel)return e(jZe,{channel:n.data.channel,language:c?d.preferredContentLanguage:d.preferredUiLanguage},void 0);return e("span",{children:n.text},void 0)},onChange:function(e,t){var n,r;g(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:Z.large,ariaLabel:f({id:"AriaLabel.toolbarChannelSelector"})},void 0)]},void 0)},GGe=i(UGe||(UGe=$Ee(["\n ","\n"],["\n ","\n"])),BGe),KGe=r(eXe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(qGe||(qGe=$Ee(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),VGe),HGe=r(ze).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(MGe||(MGe=$Ee(["\n ","\n"],["\n ","\n"])),ZGe),JGe=r.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(WGe||(WGe=$Ee(["\n ",";\n"],["\n ",";\n"])),ZGe),eKe=function(t){var n=t.handler,r=t.disabled;return mle().unreadTracking?e(aVe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:r,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},tKe=function(t){var n=t.onClick,r=mle(),i=me(!1),o=i[0],a=i[1];return r.unreadTracking?e(aVe,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:o?"Hide3":"View",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o},void 0):null},nKe=function(t){var n=t.onClick,r=t.to,i=t.disabled;return e(aVe,{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)},rKe=function(t){var n=t.onClick,r=t.to;return e(aVe,{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.UnregisteredEvents="unregistered",e.PastEvents="past"}(LGe||(LGe={}));var iKe,oKe,aKe,sKe,lKe=function(r){var i=r.extraViewOptions,o=r.onChange,a=r.value,s=r.viewOptions,l=yC().formatMessage,u=function(){var e=[];(null==s?void 0:s.hideUpcomingEventsView)||e.push({data:{iconName:"Event"},key:LGe.UpcomingEvents,text:l({id:"Events.upcoming"})});(null==s?void 0:s.hideMyBookedEventsView)||e.push({data:{iconName:"PrimaryCalendar"},key:LGe.MyBookedEvents,text:l({id:"Events.myEvents"})});(null==i?void 0:i.showUnregisteredEventsView)&&e.push({data:{iconName:"EventTentative"},key:LGe.UnregisteredEvents,text:l({id:"Events.unregistered"})});(null==s?void 0:s.hidePastEventsView)||e.push({data:{iconName:"RemoveEvent"},key:LGe.PastEvents,text:l({id:"Events.pastEvents"})});return e}();return n(t,{children:[e(uKe,{},void 0),e(cKe,{options:u,onRenderOption:function(t){return n(dKe,{children:[e(S,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key)},selectedKey:u.length>0?a||u[0].key:void 0,onChange:function(e,t){return o(t.key)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:Z.large,ariaLabel:l({id:"Events.chromelessDropdown"})},void 0)]},void 0)},uKe=i(iKe||(iKe=$Ee(["\n ","\n"],["\n ","\n"])),BGe),cKe=r(eXe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(oKe||(oKe=$Ee(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),VGe),dKe=r.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(aKe||(aKe=$Ee(["\n ",";\n"],["\n ",";\n"])),ZGe);function pKe(){var e=B1(),t=e.createApiUrl,n=e.fetchFromApi,r=pe(rB).onRequestToken;return he((function(){return{uploadImage:function(e,t,i,o,a){return SEe(this,void 0,void 0,(function(){var s,l,u;return kEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+K5.getExtension(a.type)),[4,r()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:V1(l,t)},[2,n(e+"/attachments/"+o+"/images/"+i,u)]}}))}))},uploadFile:function(e,t,i,o,a){return SEe(this,void 0,void 0,(function(){var s,l,u;return kEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:V1(l,t)},[2,n(e+"/attachments/"+o+"/files/"+i,u)]}}))}))},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,s){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a,s)},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,l){var u=l?"/preview":"";return t(null==a?e+"/attachments/"+i+"/images/"+o+u:"default"===a?e+"/attachments/"+i+"/images/"+o+u+"/default":e+"/attachments/"+i+"/images/"+o+u+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:r})}}),[r,n,t])}function fKe(){var e=Y1();return he((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return SEe(this,void 0,void 0,(function(){var t;return kEe(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return t=r.sent(),[2,qle.apply(void 0,PEe([e],t))]}}))}))},resolveActiveLanguages:function(e){return SEe(this,void 0,void 0,(function(){return kEe(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 SEe(this,void 0,void 0,(function(){var t;return kEe(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 hKe(){var e=B1(),t=e.createApiUrl,n=e.fetchFromApi,r=fle().isLibUser,i=mle();return he((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,o,a,s,l){return t("/"+a+"/"+n+"/videos/banner/thumbnail"+(r&&i.imageBackendCaching?"/cached":"")+"/"+("number"==typeof s?s:0)+"/"+(l||""),{access_token:e,subscriptionId:o})},uploadCustomVideoThumbnail:function(e,t,r,i,o){return SEe(this,void 0,void 0,(function(){var a,s;return kEe(this,(function(l){switch(l.label){case 0:return(a=new FormData).append("file",o),s={method:"POST",body:a,headers:V1(e,r)},[4,n("/editor/"+t+"/videos/"+encodeURIComponent(i)+"/thumbnail",s)];case 1:return[2,l.sent()]}}))}))}}}),[t,n])}i(sKe||(sKe=$Ee(["\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 mKe,OKe,gKe,vKe,yKe,bKe,wKe,xKe,_Ke,SKe,kKe,PKe,$Ke,QKe,CKe=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}(),TKe=function(t){var n=mle(),r=me(null),i=r[0],o=r[1],a=Due().getUserAvatarUrl;if(cOe(CKe.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),ge((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=l$(t.text||t.displayName||t.upn);return e(EKe,xEe({},t,{"data-avatar":!0,text:t.text,imageUrl:i,imageShouldFadeIn:!1,imageInitials:s,initialsColor:u$(s),secondaryText:!t.forceShowSecondaryText&&fue(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)}))}},EKe=r(Q).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(mKe||(mKe=$Ee(["\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"]))),IKe=function(t){var r=t.className,i=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(RKe,xEe({className:r},{children:[i&&e(yNe,xEe({resourceKey:o,text:a},{children:e(DKe,{iconName:i},"icon")}),void 0),e(AKe,xEe({dir:"auto"},{children:s}),void 0)]}),void 0):null},DKe=r(S).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(OKe||(OKe=$Ee(["\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"]))),RKe=r.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(gKe||(gKe=$Ee(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),AKe=r.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(vKe||(vKe=$Ee([""],[""]))),zKe=function(t){var n=t.email;return fue(n)?null:e(IKe,xEe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(LKe,xEe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},NKe=function(t){var n=t.value,r=yC().formatMessage;return null==n?null:e(IKe,xEe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(LKe,xEe({href:"tel:"+n},{children:r({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},jKe=function(n){var r=n.value,i=yC().formatMessage;return null==r?null:e(t,{children:(r="string"==typeof r?[r]:r).map((function(t,n){return e(IKe,xEe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(LKe,xEe({href:"tel:"+t},{children:i({id:"Generic.callOffice"},{number:t})}),void 0)}),t+n)}))},void 0)},XKe=function(n){var r=n.value,i=n.tooltipResourceKey,o=mle();return null==r?null:e(IKe,xEe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:o.userLocationLookup?e(LKe,xEe({target:"_blank",rel:"noopener noreferrer",href:HVe(r)},{children:r}),void 0):e(t,{children:r},void 0)}),void 0)},UKe=function(t){var n=t.value;return null==n?null:e(IKe,xEe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},qKe=function(t){var n=t.value;return null==n?null:e(IKe,xEe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},MKe=function(t){var n=t.value,r=Hpe().buildPath,i=mle();if(!(null==n?void 0:n.userId)||!i.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(IKe,xEe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(FKe,xEe({to:r("chats/new")+"?"+zb.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:e(jC,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},WKe=o(yKe||(yKe=$Ee(["\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})),LKe=r.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(bKe||(bKe=$Ee(["\n ","\n"],["\n ","\n"])),WKe),FKe=r(Ae).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(wKe||(wKe=$Ee(["\n ","\n"],["\n ","\n"])),WKe),VKe={mobilePhone:NKe,department:UKe,address:XKe},ZKe=function(t){var n=t.className,r=t.value,i=t.definition,o=function(){var e=hle(),t=yC().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(r){var i=YP(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),u=s(i),c=VKe[i.name];return c?Pe(c,{value:r}):e(IKe,xEe({iconName:u,tooltipText:l,className:n},{children:r}),void 0)},BKe=function(r){var i,o,a,s,l,u=r.user,c=r.ignoredProperties,d=void 0===c?[]:c;return n(t,{children:[!d.includes("department")&&e(UKe,{value:null===(i=u.properties)||void 0===i?void 0:i.department},void 0),!d.includes("jobTitle")&&e(qKe,{value:null===(o=u.properties)||void 0===o?void 0:o.jobTitle},void 0),!d.includes("mobilePhone")&&e(NKe,{value:null===(a=u.properties)||void 0===a?void 0:a.mobilePhone},void 0),!d.includes("businessPhones")&&e(jKe,{value:null===(s=u.properties)||void 0===s?void 0:s.businessPhones},void 0),!d.includes("chatMessage")&&e(MKe,{value:u},void 0),!d.includes("officeLocation")&&e(XKe,{value:null===(l=u.properties)||void 0===l?void 0:l.officeLocation},void 0)]},void 0)},YKe=function(r){var i=r.user,o=r.ignoredProperties,a=void 0===o?[]:o,s=hle();return n(t,{children:[!a.includes("chatMessage")&&e(MKe,{value:i},void 0),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(ZKe,{definition:t,value:null===(n=i.properties)||void 0===n?void 0:n[t.name]},t.name)}))]},void 0)},GKe=["displayName","department","jobTitle"],KKe=function(t){var r,i,o=t.upn,a=t.showAvatar,s=t.id,l=Due(),u=l.getUserInfo,c=l.getUserInfoById,d=JZ((function(){return o?u(o):c(s)}),null,[o,s]),p=d[0],f=d[1];if(d[2])return e(HKe,{children:e(jC,o?{id:"Profile.CannotLoadInfo",values:{upn:o}}:{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(f)return e(tHe,{},void 0);var h=hle(),m=(null===(r=null==h?void 0:h.subscription)||void 0===r?void 0:r.profileCardHiddenProperties)||[],O={name:"displayName",mobilePhone:"mobilePhone",jobTitle:"jobTitle",company:"companyName",address:"officeLocation"},g=m.map((function(e){return O[e]})).filter(Boolean),v=PEe(PEe([],a?GKe:[]),p.isDirectoryUser?g:m);return n(JKe,xEe({"data-user-details":!0},{children:[a&&e(TKe,{upn:p.userPrincipalName,size:N.large,text:p.displayName||p.userPrincipalName,secondaryText:p.properties&&p.properties.department,tertiaryText:p.properties&&p.properties.jobTitle},void 0),n(eHe,{children:[e(zKe,{email:null!==(i=p.mail)&&void 0!==i?i:p.userPrincipalName},void 0),p.isDirectoryUser?e(BKe,{user:p,ignoredProperties:v},void 0):e(YKe,{user:p,ignoredProperties:v},void 0)]},void 0)]}),void 0)},HKe=r.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(xKe||(xKe=$Ee(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),JKe=r.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(_Ke||(_Ke=$Ee(["\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),eHe=r.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(SKe||(SKe=$Ee(["\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),tHe=r(SXe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(kKe||(kKe=$Ee(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),nHe=function(r){var i=r.upn,o=r.className,a=r.children,s=r.readOnly,l=r.domIdentifier,u=Oe(null),c=hle(),d=me(!1),p=d[0],f=d[1];return s?e(iHe,xEe({className:o},{children:a}),void 0):n(t,{children:[e(iHe,xEe({ref:u,className:o},{children:e(oHe,xEe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),f(!p)},ariaLabel:i,dir:"auto"},{children:a}),"children")}),void 0),p&&!c.isPublicUser&&e(Ije,xEe({className:"persona-card-callout",directionalHint:z.bottomCenter,isBeakVisible:!0,onDismiss:function(){return f(!1)},target:u.current},{children:e(rHe,{children:e(KKe,{upn:i,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},rHe=r.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(PKe||(PKe=$Ee(["\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,Jde.medium),iHe=r.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})($Ke||($Ke=$Ee(["\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"]))),oHe=r(b).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(QKe||(QKe=$Ee(["\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 aHe(){return aHe=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},aHe.apply(this,arguments)}var sHe=function(e){return ce.createElement("svg",aHe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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 lHe(){return lHe=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},lHe.apply(this,arguments)}var uHe=function(e){return ce.createElement("svg",lHe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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 cHe(){return cHe=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},cHe.apply(this,arguments)}var dHe,pHe,fHe,hHe,mHe,OHe,gHe=function(e){return ce.createElement("svg",cHe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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"}}))},vHe=function(t){var n=t.info,r="number"==typeof n;return e(yHe,xEe({isNumber:r,"data-badge-info":n},{children:e(bHe,xEe({isNumber:r},{children:"number"==typeof n&&n}),void 0)}),void 0)},yHe=r.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(fHe||(fHe=$Ee(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?o(dHe||(dHe=$Ee(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o(pHe||(pHe=$Ee(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),bHe=r.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(mHe||(mHe=$Ee(["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"],["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){var t=e.isNumber?22:14;return o(hHe||(hHe=$Ee(["\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 wHe(){return wHe=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},wHe.apply(this,arguments)}var xHe,_He=function(e){return ce.createElement("svg",wHe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),OHe||(OHe=ce.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 SHe(t){return e(EHe,xEe({"data-page-alert":!0},{children:n(IHe,{children:[t.errorType&&e(DHe,xEe({onClick:t.onClick},{children:t.errorType===xHe.LoginError?e(uHe,{},void 0):t.errorType===xHe.GenericError?e(sHe,{},void 0):t.errorType===xHe.Error403?e(gHe,{},void 0):e(oFe,{},void 0)}),void 0),e(RHe,{children:t.alertText},void 0),e(AHe,{children:t.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(xHe||(xHe={}));var kHe,PHe,$He,QHe,CHe,THe,EHe=r.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(kHe||(kHe=$Ee(["\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})),IHe=r.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(PHe||(PHe=$Ee(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),DHe=r.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})($He||($He=$Ee(["\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}),tpe),RHe=r.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(QHe||(QHe=$Ee(["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"],["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"])),(function(e){return e.theme.palette.accent}),32),AHe=r.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(CHe||(CHe=$Ee(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),zHe=r.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(THe||(THe=$Ee(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),NHe={exports:{}},jHe=Object.getOwnPropertySymbols,XHe=Object.prototype.hasOwnProperty,UHe=Object.prototype.propertyIsEnumerable;function qHe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var MHe=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=qHe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))XHe.call(n,a)&&(i[a]=n[a]);if(jHe){r=jHe(n);for(var s=0;s<r.length;s++)UHe.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},WHe=Function.call.bind(Object.prototype.hasOwnProperty),LHe=function(){};if("production"!==process.env.NODE_ENV){var FHe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",VHe={},ZHe=WHe;LHe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function BHe(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(ZHe(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,FHe)}catch(e){a=e}if(!a||a instanceof Error||LHe((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 VHe)){VHe[a.message]=!0;var l=i?i():"";LHe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}BHe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(VHe={})};var YHe=Ue,GHe=MHe,KHe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",HHe=WHe,JHe=BHe,eJe=function(){};function tJe(){return null}"production"!==process.env.NODE_ENV&&(eJe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function nJe(){}function rJe(){}rJe.resetWarningCache=nJe;if("production"!==process.env.NODE_ENV){var iJe=Ue;NHe.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(tJe),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 u=e(s,l,r,i,o+"["+l+"]",KHe);if(u instanceof Error)return u}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 YHe.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 `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,r,i){return c(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 u in s)if(HHe(s,u)){var c=e(s,u,r,i,o+"."+u,KHe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&eJe(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."),tJe;function t(t,n,r,i,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(l)+"` supplied to `"+r+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&eJe("Invalid argument supplied to oneOfType, expected an instance of array."),tJe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return eJe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),tJe}return s((function(t,n,r,i,o){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,r,i,o,KHe);if(null==u)return null;u.data&&HHe(u.data,"expectedType")&&s.push(u.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 c in e){var f=e[c];if("function"!=typeof f)return u(r,i,o,c,p(f));var h=f(s,c,r,i,o+"."+c,KHe);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 c=GHe({},t[n],e);for(var f in c){var h=e[f];if(HHe(e,f)&&"function"!=typeof h)return u(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,KHe);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,u,c,d,p){if(u=u||r,d=d||l,p!==KHe){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=u+":"+l;!n[h]&&i<3&&(eJe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[l]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,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 u(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 c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var 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(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function 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=JHe,i.resetWarningCache=JHe.resetWarningCache,i.PropTypes=i,i}(iJe.isElement,!0)}else NHe.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:rJe,resetWarningCache:nJe};return n.PropTypes=n,n}();var oJe=NHe.exports,aJe=Object.freeze({__proto__:null,useCurrentUser:hle,useAccountApi:Due,useAuthenticationContext:iB,useEnvironmentConfig:Sb,useNotificationContext:qme,usePromise:JZ,LinkContext:wD,TextLink:eVe,logger:Vb,createId:Bb,ResourceContext:yz,usePluginSettings:function(){var e=pe(_he).settings;return null!=e?e:{}},usePluginStorage:$he,usePluginDeviceStore:$he,usePluginSubscriptionStore:function(){return pe(_he).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=pe(_he).subscriptionStore,i=JZ((function(){return r.get(e).catch(Che)}),void 0,Qte(Qte([],t||[]),[e])),o=i[0],a=i[1],s=i[2],l=i[3],u=i[4];return{data:o,set:function(t){return Pte(n,void 0,void 0,(function(){var n;return $te(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,l(t),[4,r.set(e,t).catch((function(e){return l(n),Che(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:s,refresh:u,remove:function(){return Pte(n,void 0,void 0,(function(){var t;return $te(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,l(void 0),[4,r.delete(e).catch((function(e){return l(t),Che(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return pe(_he).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=pe(_he).userStore,i=JZ((function(){return r.get(e).catch(Che)}),void 0,Qte(Qte([],t||[]),[e])),o=i[0],a=i[1],s=i[2],l=i[3],u=i[4];return{data:o,set:function(t){return Pte(n,void 0,void 0,(function(){var n;return $te(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,l(t),[4,r.set(e,t).catch((function(e){return l(n),Che(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:s,refresh:u,remove:function(){return Pte(n,void 0,void 0,(function(){var t;return $te(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,l(void 0),[4,r.delete(e).catch((function(e){return l(t),Che(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:_b().apiEndpoint}},AccountType:lle,PeoplePicker:XNe,GutterToggle:QNe,EditorSettingsDialog:PNe,Spinner:m,SelectionMode:M,EditorHighlight:wNe,useTheme:function(){return pe(Eme).theme},useSubscriptionHandlePathBuilder:Hpe,useSubscriptionWebAppUrl:Jpe});var sJe,lJe=[{name:"@reach/core",packageDefinition:xEe({default:{}},aJe)}],uJe=[{name:"react",packageDefinition:xEe(xEe({},de),{default:de})},{name:"react-dom",packageDefinition:xEe(xEe({},Me),{default:Me})},{name:"react-is",packageDefinition:xEe(xEe({},Ue),{default:Ue})},{name:"prop-types",packageDefinition:xEe({default:oJe},oJe)},{name:"react-router-dom",packageDefinition:xEe({default:Ee},Ee)},{name:"styled-components",packageDefinition:{default:r,createGlobalStyle:i,css:o,useTheme:s,isStyledComponent:l,keyframes:u,withTheme:c,ThemeProvider:a,ThemeContext:d,ThemeConsumer:p}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:C,Label:T,PrimaryButton:x,Icon:S,Link:v,TextField:w,ActionButton:b,IconButton:g,DefaultButton:_,Spinner:m,Dropdown:E,ProgressIndicator:I,Shimmer:D,ShimmerElementsGroup:R,ShimmerElementType:A,DirectionalHint:z,PersonaSize:N,TooltipHost:j,DialogType:X,Dialog:CEe,DialogFooter:U,ChoiceGroup:$}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:jC,useIntl:yC,FormattedDate:XC,FormattedTime:UC,IntlProvider:QC}},{name:"@apollo/client",packageDefinition:{default:{},gql:fM,useQuery:function(e,t){return IM(e,t,!1)},ApolloClient:oM,ApolloProvider:_M,from:AX,ApolloLink:RX,fromPromise:QX,split:zX,HttpLink:LX,InMemoryCache:Xq,useLazyQuery:function(e,t){return IM(e,t,!0)},useMutation:DM,ApolloError:qq,useApolloClient:SM,useSubscription:function(e,t){var n=ve((function(e){return e+1}),0),r=n[1],i=pe(wM()),o=t?La(La({},t),{subscription:e}):{subscription:e},a=me({loading:!o.skip,error:void 0,data:void 0}),s=a[0],l=a[1],u=Oe(),c=(u.current||(u.current=new QM({options:o,context:i,setResult:l})),u.current);return c.setOptions(o,!0),c.context=i,__DEV__&&EM(r),ge((function(){return c.afterExecute()})),ge((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:sY}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:xY}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:_j}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:wY}}],cJe=function(t){var n=t.color,r=t.onColorChange,i=t.className,o=me(n),a=o[0],s=o[1];return ge((function(){s(n)}),[n]),e(dJe,xEe({className:i},{children:e(G,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},dJe=r.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(sJe||(sJe=$Ee(["\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),pJe=function(t){var n=t.children,r={data:[],getUser:function(){},identify:function(e,t){return Promise.resolve(void 0)},interaction:function(e){return Promise.resolve(void 0)},load:function(e,t){},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},contextualProperties:null,setContextualProperties:function(e){}};return e(Qpe.Provider,La({value:r},{children:n}),void 0)},fJe=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=me(null),a=o[0],s=o[1],l=he((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(n){return Vb.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(rB.Provider,La({value:l},{children:r}),void 0)},hJe="0.4.159",mJe="164326",OJe="de7a0b2a2f28e886528e5b32c8383550ef88600c",gJe=Ot,vJe=lt,yJe=Br("match"),bJe=function(e){var t;return gJe(e)&&(void 0!==(t=e[yJe])?!!t:"RegExp"==vJe(e))},wJe=bJe,xJe=Br("match"),_Je=function(e){if(wJe(e))throw TypeError("The method doesn't accept regular expressions");return e},SJe=pt,kJe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[xJe]=!1,"/./"[e](t)}catch(e){}}return!1};Dr({target:"String",proto:!0,forced:!kJe("includes")},{includes:function(e){return!!~String(SJe(this)).indexOf(_Je(e),arguments.length>1?arguments[1]:void 0)}});var PJe,$Je,QJe={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://livetilesglobal.com/livetiles-reach/",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.dev.analytics.livetiles.io",ingestionHostName:"api.test.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"00bc5e79-67a0-447f-b841-daab4017898e"}],matomoConfig:{matomoUrl:"https://matomo.dev.analytics.livetiles.io/matomo.php",scriptUrl:"https://matomo.dev.analytics.livetiles.io/matomo.js"}}}}},CJe={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:"a44aca36-7e16-447d-b7ed-5e341572a682"}]},australia:{dashboardHostName:"superset-aue.analytics.livetiles.io",ingestionHostName:"api-aue.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"a44aca36-7e16-447d-b7ed-5e341572a682"}]},usa:{dashboardHostName:"superset-use.analytics.livetiles.io",ingestionHostName:"api-use.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"a44aca36-7e16-447d-b7ed-5e341572a682"}]}}}},TJe=require("deepmerge"),EJe=["//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"],IJe=function(t){var n=t.children,r=_b(),i=r.apiEndpoint,o=r.additionalVideoSources,a=he((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!EJe.some((function(e){return i.toLowerCase().includes(e)}));if(!e)return Vb.info("Will use non prod client config..."),La(La({},QJe),{additionalVideoSources:o});var t=TJe(QJe,CJe,{arrayMerge:function(e,t){return t}});return La(La({},t),{additionalVideoSources:o})}())}),[i]);return e(Rb.Provider,La({value:a},{children:n}),void 0)},DJe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(RJe,La({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},RJe=function(n){var r=n.subscriptionId,i=n.children,o=pe(rB).setToken,a=wz(),s=tOe().getSubscriptionBySubscriptionIdentifier,l=B1().fetchFromApi,u=pe(bD),c=u.handleFatalError,d=u.handleAccessDeniedError,p=JZ((function(){return Va(this,void 0,void 0,(function(){var e,t,n;return Za(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,a.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,s(r)];case 2:return i.sent().allowPublicAccess?[4,g(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,a.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),f=p[0],h=p[1],m=p[2];if(m)return Vb.error(m),c({error:m}),null;if(h)return null;if(!f){var O={message:"Public access is not enabled for the subscription "+r+"!"};return Vb.error(O.message),d({error:O}),null}return e(t,{children:i},void 0);function g(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},AJe=function(t){var n=t.children,r=me(),i=r[0],o=r[1],a=me(),s=a[0],l=a[1],u=me(),c=u[0],d=u[1],p=he((function(){return{handleFatalError:o,handleAccessDeniedError:l,handleNotFoundError:d}}),[o,l,d]);return e(bD.Provider,La({value:p},{children:e(zJe,La({fatalError:i,notFoundError:c,accessDeniedError:s},{children:n}),void 0)}),void 0)},zJe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(NJe,{messageId:r.messageId,error:r.error},void 0):i?e(NJe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(NJe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},NJe=function(t){var r=t.messageId,i=t.error,o=yC().formatMessage,a=me(!1),s=a[0],l=a[1];return e(SHe,La({errorType:xHe.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(jJe,{children:[e(jC,{id:"Generic.error.details"},void 0),e(XJe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},jJe=r.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(PJe||(PJe=ts(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),XJe=r.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})($Je||($Je=ts(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),UJe=function(t){var n=t.children,r=Jpe(),i=he((function(){return{onShare:function(){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(wD.Provider,La({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},qJe=function(){return null},MJe=Object.freeze({__proto__:null,Page:qJe,NavLinkSidebarItem:qJe,PageMenuActionItem:qJe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+hJe+" ("+mJe+") ["+OJe+"]"),window.__did_initialize_reach_context)return;K("https://res.cdn.office.net/files/fabric-cdn-prod_20240129.001/assets/icons/")}();var WJe=function(r){var i,o,a,s,l,u,c,d=null!=pe(xb);ge((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(khe.apply(void 0,PEe(["ReachCorePackages"],PEe(PEe([],uJe),lJe))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:La({default:{}},e)},{name:"@reach/chrome",packageDefinition:La({default:{}},MJe)}],khe.apply(void 0,Ja(["ReachComponentLibraryPackages"],t))))}),[]);var p=he((function(){var e,t,n,i,o,a,s,l,u,c;return{env:{deviceInfo:{},version:hJe,commitId:OJe,buildId:mJe},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!==(c=null===(u=r.config)||void 0===u?void 0:u.additionalVideoSources)&&void 0!==c?c:[]}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(a=r.config)||void 0===a?void 0:a.api3Endpoint,null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint,null===(l=r.config)||void 0===l?void 0:l.additionalVideoSources]);return d?(Vb.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(La({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",La({className:jte},{children:e(xb.Provider,La({value:p},{children:e(Ne,{children:e(bz.Provider,La({value:Oz},{children:e(IJe,{children:e(ile,La({language:r.language,locale:r.locale},{children:e(Ime,La({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(AJe,{children:e(fJe,La({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(_z,La({subscriptionId:r.subscriptionId},{children:e(DJe,La({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(UJe,{children:e(yW,La({client:MOe},{children:e(yD.Provider,La({value:{hideChrome:!1}},{children:e(FJe,La({language:r.language,languageFallback:r.languageFallback,locale:r.locale,subscriptionId:r.subscriptionId},{children:e(z2,La({gqlClientConfig:{endPoint:p.appConfig.api3Endpoint,webSocketsEndpoint:p.appConfig.webSocketsEndpoint}},{children:e(Ale,{children:e(oOe,{children:e(LJe,La({disableAnalytics:null===(u=r.analyticsProps)||void 0===u?void 0:u.disableAnalytics,appName:null===(c=r.analyticsProps)||void 0===c?void 0:c.appName},{children:n(Bme,{children:[e(Hme,{},void 0),e(zNe,{},void 0),e(VJe,{},void 0),n(je,{children:[e(Xe,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(Xe,{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)},LJe=function(t){var n=t.disableAnalytics,r=t.appName,i=t.children;return n?e(pJe,{children:i},void 0):e(Tpe,La({appName:r},{children:i}),void 0)},FJe=function(t){var n,r=t.children,i=t.language,o=t.languageFallback,a=void 0===o?"default":o,s=t.locale,l=t.subscriptionId,u=pe(Eme).setTheme,c=pe(yz).changeSettings,d=JZ((function(){var e,t,n;return Va(this,void 0,void 0,(function(){var r,o,d,p;return Za(this,(function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,g(l)];case 1:return r=f.sent(),(null===(e=null==r?void 0:r.subscription)||void 0===e?void 0:e.theme)&&u(r.subscription.theme),o=YP(i,"default"===a?r.preferredUiLanguage:null,BP(),null===(t=r.subscription)||void 0===t?void 0:t.defaultLanguage),d=function(e,t,n){return n?MYe(t)||MYe(WYe())||MYe(LYe())||MYe(null==e?void 0:e.preferredLocale)||MYe(null==e?void 0:e.preferredUiLanguage)||"en":MYe(t)||MYe(null==e?void 0:e.preferredLocale)||MYe(WYe())||MYe(null==e?void 0:e.preferredUiLanguage)||MYe(LYe())||"en"}(r,s,"browser"===a),c(o,d).then((function(){return null}),Vb.error),"browser"===a?(r.preferredContentLanguage=i||BP()||(null===(n=r.subscription)||void 0===n?void 0:n.defaultLanguage)||"en",r.preferredLocale=d,r.preferredUiLanguage=o):i&&(r.preferredContentLanguage=i),[2,r];case 2:throw p=f.sent(),Vb.error(p),p;case 3:return[2]}}))}))})),p=d[0],f=d[1],h=d[2],m=d[3],O=function(e){return Promise.resolve(e&&m(e))},g=Rue(O).getCurrentUser,v=pe(bD),y=v.handleFatalError,b=v.handleNotFoundError,w=v.handleAccessDeniedError,x=he((function(){return{isLibUser:!0,refreshUser:O,user:p}}),[p]);return h?(403===(null===(n=null==h?void 0:h.response)||void 0===n?void 0:n.statusCode)?w({error:h}):y({error:h}),null):f?null:null==p?(b({}),null):e(ple.Provider,La({value:x},{children:r}),void 0)},VJe=function(){return ge((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(Rte,{},void 0),e(Nte,{},void 0)]},void 0)};var ZJe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,BJe=/[\0-\x1F\x7F-\x9F]/,YJe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,GJe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 KJe(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 HJe(e){return Object.prototype.toString.call(e)}function JJe(e){return"[object Function]"===HJe(e)}function e0e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var t0e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var n0e={"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}}},r0e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function i0e(e){var t=e.re=function(e){var t={};return t.src_Any=ZJe.source,t.src_Cc=BJe.source,t.src_Z=YJe.source,t.src_P=GJe.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]"===HJe(e)}(n))return!function(e){return"[object RegExp]"===HJe(e)}(n.validate)?JJe(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(JJe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===HJe(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(e0e).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 o0e(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 a0e(e,t){var n=new o0e(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function s0e(e,t){if(!(this instanceof s0e))return new s0e(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||t0e.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=KJe({},t0e,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=KJe({},n0e,e),this.__compiled__={},this.__tlds__=r0e,this.__tlds_replaced__=!1,this.re={},i0e(this)}s0e.prototype.add=function(e,t){return this.__schemas__[e]=t,i0e(this),this},s0e.prototype.set=function(e){return this.__opts__=KJe(this.__opts__,e),this},s0e.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},s0e.prototype.pretest=function(e){return this.re.pretest.test(e)},s0e.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},s0e.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(a0e(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(a0e(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},s0e.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(),i0e(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,i0e(this),this)},s0e.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},s0e.prototype.onCompile=function(){};var l0e=s0e,u0e={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}))}(u0e);var c0e=u0e.exports;function d0e(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 p0e(){return p0e=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},p0e.apply(this,arguments)}function f0e(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 h0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m0e(e,t){return m0e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m0e(e,t)}function O0e(e){return O0e="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},O0e(e)}function g0e(e){return g0e="function"==typeof Symbol&&"symbol"===O0e(Symbol.iterator)?function(e){return O0e(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":O0e(e)},g0e(e)}function v0e(e,t){return!t||"object"!==g0e(t)&&"function"!=typeof t?h0e(e):t}function y0e(e){return y0e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y0e(e)}function b0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w0e(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 x0e(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 _0e(e){return function(e){if(Array.isArray(e))return pc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fc(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 S0e=function(e){return e===Object(e)?Object.keys(e):[]},k0e=function(e){return e===Object(e)?Object.values(e):[]};function P0e(e,t){var n=Object.assign({},e);return C0e(e)&&C0e(t)&&S0e(t).forEach((function(r){C0e(t[r])&&r in e?n[r]=P0e(e[r],t[r]):Object.assign(n,kc({},r,t[r]))})),n}var $0e=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 P0e(e,t)}),e)},Q0e=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},C0e=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},T0e=function(e){return(e||[]).filter(Boolean)},E0e=function(e){return"&"===e[0]},I0e=function(e){return!E0e(e)},D0e=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},R0e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=S0e(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},A0e=function(e,t){for(var n=t.map(D0e),r=S0e(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(D0e(s))>=0)&&(i[s]=e[s])}return i},z0e=function e(t,n){for(var r=$0e.apply(void 0,[{},Q0e(t,n)].concat(_0e(k0e(A0e(t,n))))),i=S0e(r).filter(E0e),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=$0e({},r,l)):r[s]=l}return r};function N0e(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 j0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N0e(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N0e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X0e=["animationName"],U0e=function(e){var t=e.style,n=e.className;return j0e(j0e({},t?{style:R0e(t,X0e)}:{}),n?{className:n}:{})},q0e=fe(U0e);q0e.Provider;var M0e=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return S0e(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},W0e={},L0e=function(e){return function(t,n){var r,i=n||W0e;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=M0e(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function F0e(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 V0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F0e(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F0e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z0e=function(e){var t=e&&S0e(e)[0];return t&&t.split("__")[0].split("--")[0]},B0e=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(_0e(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),_0e(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(_0e(i)):i}};function Y0e(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U0e,o=n||Z0e(r)||(null==t?void 0:t.className),a="function"==typeof t?t:L0e((function(e,n){var a=M0e(e);bEe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),bEe(!n||C0e(n),"Optional second parameter must be a plain object.");var s=a.filter(E0e),l=a.filter(I0e),u=l.length>0?function(e){return k0e(A0e(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(z0e(e,s))},d=B0e(o,l,s);return Y0e(V0e(V0e(V0e({},(t||n)&&{style:$0e.apply(void 0,[{}].concat(_0e(c(n)),_0e(c(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=V0e({},"function"==typeof t?t:{style:t}),l=_0e(new Set([].concat(_0e(s.className?s.className.split(" "):[]),_0e(o?o.split(" "):[])))),u=r?T0e(l.map((function(e){return r[e]}))):l,c=i(V0e(V0e({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function G0e(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 K0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G0e(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G0e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H0e=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 K0e(K0e(K0e({},e),"function"==typeof t?t:{}),{},{style:K0e(K0e({},e.style),"function"==typeof t?t.style:t)})}),{})},J0e=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,a=pe(q0e);return he((function(){return Y0e({style:r,className:i,classNames:o},a)}),[r,i,o,a])(n,e)},e1e=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},t1e="__id__",n1e="__display__",r1e=function(e,t){bEe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(n1e),r=e.indexOf(t1e);return n<0&&(n=null),r<0&&(r=null),bEe(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},i1e=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=w0e(t.exec(e.toString()),3),r=n[1],i=n[2];return bEe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},o1e=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},a1e=function(){},s1e=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a1e,o=i1e(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=o1e(t)+1,n})),l=0,u=0;null!==(r=o.exec(e));){var c=s.find((function(e){return!!r[e]})),d=s.indexOf(c),p=t[d],f=p.markup,h=p.displayTransform,m=c+r1e(f,"id"),O=c+r1e(f,"display"),g=r[m],v=h(g,r[O]),y=e.substring(l,r.index);i(y,l,u),u+=y.length,n(r[0],r.index,u,g,v,d,l),u+=v.length,l=o.lastIndex}l<e.length&&i(e.substring(l),l,u)},l1e=function(e,t){var n="";return s1e(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},u1e=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,u){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return s1e(e,t,a,o),void 0===r?e.length:r},c1e=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},d1e=function(e,t,n){var r=n,i=!1;if(s1e(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r},p1e=function(e,t){var n=[];return s1e(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},f1e=function(e,t){return"".concat(e,"-").concat(t)},h1e=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},m1e=function(e){var t=e1e(e),n=e[e.indexOf(n1e)+n1e.length],r=e[e.indexOf(t1e)+t1e.length];return new RegExp(t.replace(n1e,"([^".concat(e1e(n||""),"]+?)")).replace(t1e,"([^".concat(e1e(r||""),"]+?)")))},O1e=function(e){return be.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?g1e(r,n):m1e(n),displayTransform:i||function(e,t){return t||e}}}))},g1e=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=o1e(t);return bEe(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},v1e=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],y1e=function(e){return function(e){var t=e;return v1e.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},b1e=function(e,t,n){return n?y1e(e).indexOf(y1e(t)):e.toLowerCase().indexOf(t.toLowerCase())},w1e=function(e){return"number"==typeof e},x1e=["style","className","classNames"];function _1e(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 S1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_1e(Object(n),!0).forEach((function(t){b0e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k1e(e,t){return function(n){var r=function(r){var i=r.style,o=r.className,a=r.classNames,s=x0e(r,x1e),l=t?t(s):void 0,u=J0e(e,{style:i,className:o,classNames:a},l);return de.createElement(n,p0e({},s,{style:u}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),de.forwardRef((function(e,t){return r(S1e(S1e({},e),{},{ref:t}))}))}}function P1e(e){var t=e.selectionStart,n=e.selectionEnd,r=e.value,i=void 0===r?"":r,o=e.onCaretPositionChange,a=e.containerRef,s=e.children;e.singleLine;var l=e.style,u=w0e(me({left:void 0,top:void 0}),2),c=u[0],d=u[1],p=w0e(me(),2),f=p[0],h=p[1];ge((function(){O()}));var m,O=function(){if(f){var e=f.offsetLeft,t=f.offsetTop;if(c.left!==e||c.top!==t){var n={left:e,top:t};d(n),o(n)}}},g=O1e(s);n===t&&(m=u1e(i,g,t,"START"));var v=[],y={},b=v,w=0,x=function(e,t){return de.createElement("span",p0e({},l("substring"),{key:t}),e)},_=function(e,t,n,r){var i={id:e,display:t,key:r},o=be.toArray(s)[n];return de.cloneElement(o,i)};return s1e(i,g,(function(e,t,n,r,i,o,a){var s=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(y,r);b.push(_(r,i,o,s))}),(function(e,t,n){if(w1e(m)&&m>=t&&m<=t+e.length){var r=m-t;b.push(x(e.substring(0,r),w)),b=[x(e.substring(r),w)]}else b.push(x(e,w));w++})),b.push(" "),b!==v&&v.push(function(e){return de.createElement("span",p0e({},l("caret"),{ref:h,key:"caret"}),e)}(b)),de.createElement("div",p0e({},l,{ref:a}),v)}P1e.propTypes={selectionStart:T3.number,selectionEnd:T3.number,value:T3.string.isRequired,onCaretPositionChange:T3.func.isRequired,containerRef:T3.oneOfType([T3.func,T3.shape({current:"undefined"==typeof Element?T3.any:T3.instanceOf(Element)})]),children:T3.oneOfType([T3.element,T3.arrayOf(T3.element)]).isRequired};var $1e=k1e({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}}))(P1e);function Q1e(e){var t=e.id,n=e.focused,r=e.ignoreAccents,i=e.index,o=e.onClick,a=e.onMouseEnter,s=e.query,l=e.renderSuggestion,u=e.suggestion,c=e.style;e.className,e.classNames;var d,p,f={onClick:o,onMouseEnter:a},h=function(){if("string"==typeof u)return u;var e=u.id,t=u.display;return void 0!==e&&t?t:e},m=function(e){var t=b1e(e,s,r);return-1===t?de.createElement("span",c("display"),e):de.createElement("span",c("display"),e.substring(0,t),de.createElement("b",c("highlight"),e.substring(t,t+s.length)),e.substring(t+s.length))};return de.createElement("li",p0e({id:t,role:"option","aria-selected":n},f,c),(d=h(),p=m(d),l?l(u,s,p,i,n):p))}Q1e.propTypes={id:T3.string.isRequired,query:T3.string.isRequired,index:T3.number.isRequired,ignoreAccents:T3.bool,suggestion:T3.oneOfType([T3.string,T3.shape({id:T3.oneOfType([T3.string,T3.number]).isRequired,display:T3.string})]).isRequired,renderSuggestion:T3.func,focused:T3.bool};var C1e=k1e({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(Q1e);function T1e(e){var t=e.style,n=e.className,r=e.classNames,i=J0e(E1e,{style:t,className:n,classNames:r}),o=i("spinner");return de.createElement("div",i,de.createElement("div",o,de.createElement("div",o(["element","element1"])),de.createElement("div",o(["element","element2"])),de.createElement("div",o(["element","element3"])),de.createElement("div",o(["element","element4"])),de.createElement("div",o(["element","element5"]))))}var E1e={};function I1e(e){var t=e.id,n=e.suggestions,r=void 0===n?{}:n,i=e.a11ySuggestionsListLabel,o=e.focusIndex,a=e.position,s=e.left,l=e.right,u=e.top,c=e.scrollFocusedIntoView,d=e.isLoading,p=e.isOpened,f=e.onSelect,h=void 0===f?function(){return null}:f,m=e.ignoreAccents,O=e.containerRef,g=e.children,v=e.style,y=e.customSuggestionsContainer,b=e.onMouseDown,w=e.onMouseEnter,x=w0e(me(void 0),2),_=x[0],S=x[1];ge((function(){if(_&&!(_.offsetHeight>=_.scrollHeight)&&c){var e=_.scrollTop,t=_.children[o].getBoundingClientRect(),n=t.top,r=t.bottom,i=_.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?_.scrollTop=n:r>_.offsetHeight&&(_.scrollTop=r-_.offsetHeight)}}),[o,c,_]);var k,P=function(e,n,r){var i=r===o,a=n.childIndex,s=n.query,l=be.toArray(g)[a].props.renderSuggestion;return de.createElement(C1e,{style:v("item"),key:"".concat(a,"-").concat(C(e)),id:f1e(t,r),query:s,index:r,ignoreAccents:m,renderSuggestion:l,suggestion:e,focused:i,onClick:function(){return Q(e,n)},onMouseEnter:function(){return $(r)}})},$=function(e,t){w&&w(e)},Q=function(e,t){h(e,t)},C=function(e){return"string"==typeof e?e:e.id};return p?de.createElement("div",p0e({},H0e({position:a||"absolute",left:s,right:l,top:u},v),{onMouseDown:b,ref:O}),(k=de.createElement("ul",p0e({ref:S,id:t,role:"listbox","aria-label":i},v("list")),Object.values(r).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(d0e(e),d0e(n.map((function(t,n){return P(t,r,e.length+n)}))))}),[])),y?y(k):k),function(){if(d)return de.createElement(T1e,{style:v("loadingIndicator")})}()):null}I1e.propTypes={id:T3.string.isRequired,suggestions:T3.object.isRequired,a11ySuggestionsListLabel:T3.string,focusIndex:T3.number,position:T3.string,left:T3.number,right:T3.number,top:T3.number,scrollFocusedIntoView:T3.bool,isLoading:T3.bool,isOpened:T3.bool.isRequired,onSelect:T3.func,ignoreAccents:T3.bool,customSuggestionsContainer:T3.func,containerRef:T3.oneOfType([T3.func,T3.shape({current:"undefined"==typeof Element?T3.any:T3.instanceOf(Element)})])};var D1e=k1e({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(I1e);function R1e(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 A1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R1e(Object(n),!0).forEach((function(t){b0e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z1e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y0e(e);if(t){var i=y0e(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v0e(this,n)}}var N1e={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},j1e=!1,X1e={singleLine:T3.bool,allowSpaceInQuery:T3.bool,allowSuggestionsAboveCursor:T3.bool,forceSuggestionsAboveCursor:T3.bool,ignoreAccents:T3.bool,a11ySuggestionsListLabel:T3.string,value:T3.string,onKeyDown:T3.func,customSuggestionsContainer:T3.func,onSelect:T3.func,onBlur:T3.func,onChange:T3.func,suggestionsPortalHost:"undefined"==typeof Element?T3.any:T3.PropTypes.instanceOf(Element),inputRef:T3.oneOfType([T3.func,T3.shape({current:"undefined"==typeof Element?T3.any:T3.instanceOf(Element)})]),children:T3.oneOfType([T3.element,T3.arrayOf(T3.element)]).isRequired},U1e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0e(e,t)}(o,de.Component);var t,n,r,i=z1e(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),b0e(h0e(t=i.call(this,e)),"setContainerElement",(function(e){t.containerElement=e})),b0e(h0e(t),"getInputProps",(function(){var e=t.props,n=e.readOnly,r=e.disabled,i=e.style,o=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}),{})}(t.props,["style","classNames","className"],function(e){return e===Object(e)?Object.keys(e):[]}(X1e));return A1e(A1e(A1e(A1e({},o),i("input")),{},{value:t.getPlainText(),onScroll:t.updateHighlighterScroll},!n&&!r&&{onChange:t.handleChange,onSelect:t.handleSelect,onKeyDown:t.handleKeyDown,onBlur:t.handleBlur,onCompositionStart:t.handleCompositionStart,onCompositionEnd:t.handleCompositionEnd}),t.isOpened()&&{role:"combobox","aria-controls":t.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":f1e(t.uuidSuggestionsOverlay,t.state.focusIndex)})})),b0e(h0e(t),"renderControl",(function(){var e=t.props,n=e.singleLine,r=e.style,i=t.getInputProps();return de.createElement("div",r("control"),t.renderHighlighter(),n?t.renderInput(i):t.renderTextarea(i))})),b0e(h0e(t),"renderInput",(function(e){return de.createElement("input",p0e({type:"text",ref:t.setInputRef},e))})),b0e(h0e(t),"renderTextarea",(function(e){return de.createElement("textarea",p0e({ref:t.setInputRef},e))})),b0e(h0e(t),"setInputRef",(function(e){t.inputElement=e;var n=t.props.inputRef;"function"==typeof n?n(e):n&&(n.current=e)})),b0e(h0e(t),"setSuggestionsElement",(function(e){t.suggestionsElement=e})),b0e(h0e(t),"renderSuggestionsOverlay",(function(){if(!w1e(t.state.selectionStart))return null;var e=t.state.suggestionsPosition,n=e.position,r=e.left,i=e.top,o=e.right,a=de.createElement(D1e,{id:t.uuidSuggestionsOverlay,style:t.props.style("suggestions"),position:n,left:r,top:i,right:o,focusIndex:t.state.focusIndex,scrollFocusedIntoView:t.state.scrollFocusedIntoView,containerRef:t.setSuggestionsElement,suggestions:t.state.suggestions,customSuggestionsContainer:t.props.customSuggestionsContainer,onSelect:t.addMention,onMouseDown:t.handleSuggestionsMouseDown,onMouseEnter:t.handleSuggestionsMouseEnter,isLoading:t.isLoading(),isOpened:t.isOpened(),ignoreAccents:t.props.ignoreAccents,a11ySuggestionsListLabel:t.props.a11ySuggestionsListLabel},t.props.children);return t.props.suggestionsPortalHost?We.createPortal(a,t.props.suggestionsPortalHost):a})),b0e(h0e(t),"renderHighlighter",(function(){var e=t.state,n=e.selectionStart,r=e.selectionEnd,i=t.props,o=i.singleLine,a=i.children,s=i.value,l=i.style;return de.createElement($1e,{containerRef:t.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:n,selectionEnd:r,onCaretPositionChange:t.handleCaretPositionChange},a)})),b0e(h0e(t),"setHighlighterElement",(function(e){t.highlighterElement=e})),b0e(h0e(t),"handleCaretPositionChange",(function(e){t.setState({caretPosition:e})})),b0e(h0e(t),"getPlainText",(function(){return l1e(t.props.value||"",O1e(t.props.children))})),b0e(h0e(t),"executeOnChange",(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];var o,a;return t.props.onChange?(o=t.props).onChange.apply(o,[e].concat(r)):t.props.valueLink?(a=t.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),b0e(h0e(t),"handleChange",(function(e){if((j1e=!1,document.documentMode)&&(document.activeElement&&document.activeElement.contentDocument||document).activeElement!==e.target)return;var n=t.props.value||"",r=O1e(t.props.children),i=e.target.value,o=t.state.selectionStart;null==o&&(o=e.target.selectionStart);var a=t.state.selectionEnd;null==a&&(a=e.target.selectionEnd);var s=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=l1e(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 u=t.slice(i,a),c=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+l));var p=u1e(e,r,c,"START"),f=u1e(e,r,d,"END"),h=u1e(e,r,c,"NULL"),m=u1e(e,r,d,"NULL"),O=null===h||null===m,g=c1e(e,p,f,u);if(!O){var v=l1e(g,r);if(v!==t){for(c=0;t[c]===v[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),p=u1e(e,r,c,"START"),f=u1e(e,r,d,"END"),g=c1e(e,p,f,u)}}return g}(n,i,{selectionStartBefore:o,selectionEndBefore:a,selectionEndAfter:e.target.selectionEnd},r);i=l1e(s,r);var l=e.target.selectionStart,u=e.target.selectionEnd,c=!1,d=d1e(n,r,l);void 0!==d&&t.state.selectionEnd>d&&(u=l=d+(e.nativeEvent.data?e.nativeEvent.data.length:0),c=!0),t.setState({selectionStart:l,selectionEnd:u,setSelectionAfterMentionChange:c});var p=p1e(s,r);e.nativeEvent.isComposing&&l===u&&t.updateMentionsQueries(t.inputElement.value,l);var f={target:{value:s}};t.executeOnChange(f,s,i,p)})),b0e(h0e(t),"handleSelect",(function(e){if(t.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!j1e){var n=t.inputElement;e.target.selectionStart===e.target.selectionEnd?t.updateMentionsQueries(n.value,e.target.selectionStart):t.clearSuggestions(),t.updateHighlighterScroll(),t.props.onSelect(e)}})),b0e(h0e(t),"handleKeyDown",(function(e){if(0!==h1e(t.state.suggestions)&&t.suggestionsElement)switch(Object.values(N1e).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case N1e.ESC:return void t.clearSuggestions();case N1e.DOWN:return void t.shiftFocus(1);case N1e.UP:return void t.shiftFocus(-1);case N1e.RETURN:case N1e.TAB:return void t.selectFocused();default:return}else t.props.onKeyDown(e)})),b0e(h0e(t),"shiftFocus",(function(e){var n=h1e(t.state.suggestions);t.setState({focusIndex:(n+t.state.focusIndex+e)%n,scrollFocusedIntoView:!0})})),b0e(h0e(t),"selectFocused",(function(){var e=t.state,n=e.suggestions,r=e.focusIndex,i=Object.values(n).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(d0e(e),d0e(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;t.addMention(o,a),t.setState({focusIndex:0})})),b0e(h0e(t),"handleBlur",(function(e){var n=t._suggestionsMouseDown;t._suggestionsMouseDown=!1,n||t.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){t.updateHighlighterScroll()}),1),t.props.onBlur(e,n)})),b0e(h0e(t),"handleSuggestionsMouseDown",(function(e){t._suggestionsMouseDown=!0})),b0e(h0e(t),"handleSuggestionsMouseEnter",(function(e){t.setState({focusIndex:e,scrollFocusedIntoView:!1})})),b0e(h0e(t),"updateSuggestionsPosition",(function(){var e=t.state.caretPosition,n=t.props,r=n.suggestionsPortalHost,i=n.allowSuggestionsAboveCursor,o=n.forceSuggestionsAboveCursor;if(e&&t.suggestionsElement){var a=t.suggestionsElement,s=t.highlighterElement,l=s.getBoundingClientRect(),u=q1e(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var p={};if(r){p.position="fixed";var f=c.left,h=c.top;f-=q1e(a,"margin-left"),h-=q1e(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-u||o?p.top=Math.max(0,h-a.offsetHeight-u):p.top=h}else{var O=e.left-s.scrollLeft,g=e.top-s.scrollTop;O+a.offsetWidth>t.containerElement.offsetWidth?p.right=0:p.left=O,i&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop||o?p.top=g-a.offsetHeight-u:p.top=g}p.left===t.state.suggestionsPosition.left&&p.top===t.state.suggestionsPosition.top&&p.position===t.state.suggestionsPosition.position||t.setState({suggestionsPosition:p})}}})),b0e(h0e(t),"updateHighlighterScroll",(function(){var e=t.inputElement,n=t.highlighterElement;e&&n&&(n.scrollLeft=e.scrollLeft,n.scrollTop=e.scrollTop,n.height=e.height)})),b0e(h0e(t),"handleCompositionStart",(function(){j1e=!0})),b0e(h0e(t),"handleCompositionEnd",(function(){j1e=!1})),b0e(h0e(t),"setSelection",(function(e,n){if(null!==e&&null!==n){var r=t.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,n);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",e),i.select()}}})),b0e(h0e(t),"updateMentionsQueries",(function(e,n){t._queryId++,t.suggestions={},t.setState({suggestions:{}});var r=t.props.value||"",i=t.props.children,o=O1e(i),a=u1e(r,o,n,"NULL");if(null!==a){var s=function(e,t){var n=p1e(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,a),o),l=e.substring(s,n);de.Children.forEach(i,(function(n,r){if(n){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=e1e(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(n.props.trigger,t.props),o=l.match(i);if(o){var a=s+l.indexOf(o[1],o.index);t.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),b0e(h0e(t),"clearSuggestions",(function(){t._queryId++,t.suggestions={},t.setState({suggestions:{},focusIndex:0})})),b0e(h0e(t),"queryData",(function(e,n,r,i,o){var a=t.props,s=a.children,l=a.ignoreAccents,u=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;b1e(s,n,t)>=0&&i.push(e[o])}return i}:e}(be.toArray(s)[n].props.data,l),c=u(e,t.updateSuggestions.bind(null,t._queryId,n,e,r,i,o));c instanceof Array&&t.updateSuggestions(t._queryId,n,e,r,i,o,c)})),b0e(h0e(t),"updateSuggestions",(function(e,n,r,i,o,a,s){if(e===t._queryId){t.suggestions=A1e(A1e({},t.suggestions),{},b0e({},n,{queryInfo:{childIndex:n,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var l=t.state.focusIndex,u=h1e(t.suggestions);t.setState({suggestions:t.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),b0e(h0e(t),"addMention",(function(e,n){var r=e.id,i=e.display,o=n.childIndex,a=n.querySequenceStart,s=n.querySequenceEnd,l=n.plainTextValue,u=t.props.value||"",c=O1e(t.props.children),d=be.toArray(t.props.children)[o].props,p=d.markup,f=d.displayTransform,h=d.appendSpaceOnAdd,m=d.onAdd,O=u1e(u,c,a,"START"),g=O+s-a,v=function(e,t,n){return e.replace(t1e,t).replace(n1e,n)}(p,r,i);h&&(v+=" ");var y=c1e(u,O,g,v);t.inputElement.focus();var b=f(r,i);h&&(b+=" ");var w=a+b.length;t.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var x={target:{value:y}},_=p1e(y,c),S=c1e(l,a,s,b);t.executeOnChange(x,y,S,_),m&&m(r,i,O,g),t.clearSuggestions()})),b0e(h0e(t),"isLoading",(function(){var e=!1;return de.Children.forEach(t.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),b0e(h0e(t),"isOpened",(function(){return w1e(t.state.selectionStart)&&(0!==h1e(t.state.suggestions)||t.isLoading())})),b0e(h0e(t),"_queryId",0),t.suggestions={},t.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),t.handleCopy=t.handleCopy.bind(h0e(t)),t.handleCut=t.handleCut.bind(h0e(t)),t.handlePaste=t.handlePaste.bind(h0e(t)),t.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{},setSelectionAfterHandlePaste:!1},t}return t=o,n=[{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)),this.state.setSelectionAfterHandlePaste&&(this.setState({setSelectionAfterHandlePaste:!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 de.createElement("div",p0e({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=O1e(a),l=u1e(o,s,n,"START"),u=u1e(o,s,r,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=c1e(o,l,u,c||d).replace(/\r/g,""),f=l1e(p,s),h={target:A1e(A1e({},e.target),{},{value:p})};this.executeOnChange(h,p,f,p1e(p,s));var m=(d1e(o,s,n)||n)+l1e(c||d,s).length;this.setState({selectionStart:m,selectionEnd:m,setSelectionAfterHandlePaste:!0})}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.inputElement.selectionStart,n=this.inputElement.selectionEnd,r=this.props,i=r.children,o=r.value,a=O1e(i),s=u1e(o,a,t,"START"),l=u1e(o,a,n,"END");e.clipboardData.setData("text/plain",e.target.value.slice(t,n)),e.clipboardData.setData("text/react-mentions",o.slice(s,l))}},{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=O1e(o),l=u1e(a,s,n,"START"),u=u1e(a,s,r,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=l1e(c,s),p={target:A1e(A1e({},e.target),{},{value:d})};this.executeOnChange(p,c,d,p1e(a,s))}}}],n&&f0e(t.prototype,n),r&&f0e(t,r),o}();b0e(U1e,"propTypes",X1e),b0e(U1e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var q1e=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},M1e=k1e({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:A1e({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}}))(U1e),W1e={fontWeight:"inherit"},L1e=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,o=J0e(W1e,{style:n,className:r,classNames:i});return de.createElement("strong",o,t)};L1e.propTypes={onAdd:T3.func,onRemove:T3.func,renderSuggestion:T3.func,trigger:T3.oneOfType([T3.string,T3.instanceOf(RegExp)]),markup:T3.string,displayTransform:T3.func,allowSpaceInQuery:T3.bool,isLoading:T3.bool},L1e.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 F1e=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 V1e(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=F1e.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 Z1e=[".DS_Store","Thumbs.db"];function B1e(e){return Va(this,void 0,void 0,(function(){return Za(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?G1e(e.dataTransfer,e.type):Y1e(e))];var n}))}))}function Y1e(e){return(null!==e.target&&e.target.files?H1e(e.target.files):[]).map((function(e){return V1e(e)}))}function G1e(e,t){return Va(this,void 0,void 0,(function(){var n;return Za(this,(function(r){switch(r.label){case 0:return e.items?(n=H1e(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(J1e))]):[3,2];case 1:return[2,K1e(e2e(r.sent()))];case 2:return[2,K1e(H1e(e.files).map((function(e){return V1e(e)})))]}}))}))}function K1e(e){return e.filter((function(e){return-1===Z1e.indexOf(e.name)}))}function H1e(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function J1e(e){if("function"!=typeof e.webkitGetAsEntry)return t2e(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?r2e(t):t2e(e)}function e2e(e){return e.reduce((function(e,t){return Ka(e,Array.isArray(t)?e2e(t):[t])}),[])}function t2e(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=V1e(t);return Promise.resolve(n)}function n2e(e){return Va(this,void 0,void 0,(function(){return Za(this,(function(t){return[2,e.isDirectory?r2e(e):i2e(e)]}))}))}function r2e(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 Za(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(n2e)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function i2e(e){return Va(this,void 0,void 0,(function(){return Za(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=V1e(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function o2e(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 a2e(e,t,n){if(s2e(e.size)){if(s2e(t)&&s2e(n))return e.size>=t&&e.size<=n;if(s2e(t))return e.size>=t;if(s2e(n))return e.size<=n}return!0}function s2e(e){return null!=e}function l2e(e,t,n,r){return e.every((function(e){return o2e(e,t)&&a2e(e,n,r)}))}function u2e(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function c2e(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 d2e(e){e.preventDefault()}function p2e(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function f2e(e){return-1!==e.indexOf("Edge/")}function h2e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return p2e(e)||f2e(e)}function m2e(){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!u2e(e)&&t&&t.apply(void 0,[e].concat(r)),u2e(e)}))}}function O2e(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 g2e(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 v2e(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 y2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v2e(n,!0).forEach((function(t){b2e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v2e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w2e(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 x2e=$e((function(e,t){var n=e.children,r=k2e(w2e(e,["children"])),i=r.open,o=w2e(r,["open"]);return Ce(t,(function(){return{open:i}}),[i]),de.createElement(Te,null,n(y2e({},o,{open:i})))}));x2e.displayName="Dropzone",x2e.propTypes={children:T3.func,accept:T3.oneOfType([T3.string,T3.arrayOf(T3.string)]),multiple:T3.bool,preventDropOnDocument:T3.bool,noClick:T3.bool,noKeyboard:T3.bool,noDrag:T3.bool,noDragEventsBubbling:T3.bool,minSize:T3.number,maxSize:T3.number,disabled:T3.bool,getFilesFromEvent:T3.func,onFileDialogCancel:T3.func,onDragEnter:T3.func,onDragLeave:T3.func,onDragOver:T3.func,onDrop:T3.func,onDropAccepted:T3.func,onDropRejected:T3.func};var _2e,S2e={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function k2e(){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?B1e:i,a=e.maxSize,s=void 0===a?1/0:a,l=e.minSize,u=void 0===l?0:l,c=e.multiple,d=void 0===c||c,p=e.onDragEnter,f=e.onDragLeave,h=e.onDragOver,m=e.onDrop,O=e.onDropAccepted,g=e.onDropRejected,v=e.onFileDialogCancel,y=e.preventDropOnDocument,b=void 0===y||y,w=e.noClick,x=void 0!==w&&w,_=e.noKeyboard,S=void 0!==_&&_,k=e.noDrag,P=void 0!==k&&k,$=e.noDragEventsBubbling,Q=void 0!==$&&$,C=Oe(null),T=Oe(null),E=ve(P2e,S2e),I=g2e(E,2),D=I[0],R=I[1],A=D.isFocused,z=D.isFileDialogActive,N=D.draggedFiles,j=ye((function(){T.current&&(R({type:"openDialog"}),T.current.value=null,T.current.click())}),[R]),X=function(){z&&setTimeout((function(){T.current&&(T.current.files.length||(R({type:"closeDialog"}),"function"==typeof v&&v()))}),300)};ge((function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}}),[T,z,v]);var U=ye((function(e){C.current&&C.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[C,T]),q=ye((function(){R({type:"focus"})}),[]),M=ye((function(){R({type:"blur"})}),[]),W=ye((function(){x||(h2e()?setTimeout(j,0):j())}),[T,x]),L=Oe([]),F=function(e){C.current&&C.current.contains(e.target)||(e.preventDefault(),L.current=[])};ge((function(){return b&&(document.addEventListener("dragover",d2e,!1),document.addEventListener("drop",F,!1)),function(){b&&(document.removeEventListener("dragover",d2e),document.removeEventListener("drop",F))}}),[C,b]);var V=ye((function(e){e.preventDefault(),e.persist(),J(e),-1===L.current.indexOf(e.target)&&(L.current=[].concat(O2e(L.current),[e.target])),c2e(e)&&Promise.resolve(o(e)).then((function(t){u2e(e)&&!Q||(R({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,Q]),Z=ye((function(e){if(e.preventDefault(),e.persist(),J(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return c2e(e)&&h&&h(e),!1}),[h,Q]),B=ye((function(e){e.preventDefault(),e.persist(),J(e);var t=L.current.filter((function(t){return t!==e.target&&C.current&&C.current.contains(t)}));L.current=t,t.length>0||(R({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),c2e(e)&&f&&f(e))}),[C,f,Q]),Y=ye((function(e){e.preventDefault(),e.persist(),J(e),L.current=[],R({type:"reset"}),c2e(e)&&Promise.resolve(o(e)).then((function(n){if(!u2e(e)||Q){var r=[],i=[];n.forEach((function(e){o2e(e,t)&&a2e(e,u,s)?r.push(e):i.push(e)})),!d&&r.length>1&&i.push.apply(i,O2e(r.splice(0))),R({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),m&&m(r,i,e),i.length>0&&g&&g(i,e),r.length>0&&O&&O(r,e)}}))}),[d,t,u,s,o,m,O,g,Q]),G=function(e){return r?null:e},K=function(e){return S?null:G(e)},H=function(e){return P?null:G(e)},J=function(e){Q&&e.stopPropagation()},ee=he((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=w2e(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return y2e(b2e({onKeyDown:K(m2e(i,U)),onFocus:K(m2e(o,q)),onBlur:K(m2e(a,M)),onClick:G(m2e(s,W)),onDragEnter:H(m2e(l,V)),onDragOver:H(m2e(u,Z)),onDragLeave:H(m2e(c,B)),onDrop:H(m2e(d,Y))},n,C),r||S?{}:{tabIndex:0},{},p)}}),[C,U,q,M,W,V,Z,B,Y,S,P,r]),te=ye((function(e){e.stopPropagation()}),[]),ne=he((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=w2e(e,["refKey","onChange","onClick"]),s=b2e({accept:t,multiple:d,type:"file",style:{display:"none"},onChange:G(m2e(i,Y)),onClick:G(m2e(o,te)),autoComplete:"off",tabIndex:-1},r,T);return y2e({},s,{},a)}}),[T,t,d,Y,r]),re=N.length,ie=d||re<=1,oe=re>0&&l2e(N,t,u,s),ae=re>0&&(!oe||!ie);return y2e({},D,{isDragAccept:oe,isDragReject:ae,isFocused:A&&!r,getRootProps:ee,getInputProps:ne,rootRef:C,inputRef:T,open:G(j)})}function P2e(e,t){switch(t.type){case"focus":return y2e({},e,{isFocused:!0});case"blur":return y2e({},e,{isFocused:!1});case"openDialog":return y2e({},e,{isFileDialogActive:!0});case"closeDialog":return y2e({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return y2e({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return y2e({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return y2e({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(_2e||(_2e={}));var $2e={exports:{}},Q2e=Ye($2e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=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};function i(e){return e&&e.__esModule?e:{default:e}}t.default=u;var o=n(3),a=i(n(4)),s=n(14),l=i(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,f=e.className,h=e.findChunks,m=e.highlightClassName,O=void 0===m?"":m,g=e.highlightStyle,v=void 0===g?{}:g,y=e.highlightTag,b=void 0===y?"mark":y,w=e.sanitize,x=e.searchWords,_=e.textToHighlight,S=e.unhighlightClassName,k=void 0===S?"":S,P=e.unhighlightStyle,$=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),Q=(0,o.findAll)({autoEscape:c,caseSensitive:p,findChunks:h,sanitize:w,searchWords:x,textToHighlight:_}),C=b,T=-1,E="",I=void 0,D=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",r({className:f},$,{children:Q.map((function(e,t){var r=_.substr(e.start,e.end-e.start);if(e.highlight){T++;var i=void 0;i="object"==typeof O?p?O[r]:(O=D(O))[r.toLowerCase()]:O;var o=T===+a;E=i+" "+(o?n:""),I=!0===o&&null!=u?Object.assign({},v,u):v;var l={children:r,className:E,key:t,style:I};return"string"!=typeof C&&(l.highlightIndex=T),(0,s.createElement)(C,l)}return(0,s.createElement)("span",{children:r,className:k,key:t,style:P})}))}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,a=void 0!==o&&o,s=e.findChunks,l=void 0===s?r:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,i=void 0===r?o:r,a=e.searchWords,s=e.textToHighlight;return s=i(s),a.filter((function(e){return e})).reduce((function(e,r){r=i(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=r;var i=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],i=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)i(0,n,!1);else{var o=0;t.forEach((function(e){i(o,e.start,!1),i(e.start,e.end,!0),o=e.end})),i(o,n,!1)}return r};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){var r=n(7),i=n(8),o=n(9),a=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator,c="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(r.thatReturnsNull),arrayOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("Invalid "+i+" `"+o+"` of type `"+g(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,r,i,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new f("Invalid "+i+" `"+o+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||c;return new f("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return O(e[t])?null:new f("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],l=g(a);if("object"!==l)return new f("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,r,i,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new f("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var i=e[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",y(i),n),r.thatReturnsNull}return h((function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,s))return null;return new f("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],l=g(a);if("object"!==l)return new f("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,r,i,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var l=t[n],u=g(l);if("object"!==u)return new f("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var p=e[d];if(!p)return new f("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(l,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function l(l,u,d,p,h,m,O){if(p=p||c,m=m||d,O!==s)if(n)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+d;!r[g]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,p),r[g]=!0,a++)}return null==u[d]?l?null===u[d]?new f("The "+h+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new f("The "+h+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(u,d,p,h,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return g(s)!==e?new f("Invalid "+i+" `"+o+"` of type `"+v(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function O(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(O);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!O(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!O(o[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,r,i,o,a,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,i,o,a,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var r=n(7);if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=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){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var 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 a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))r.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)i.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var r=n(8),i=n(9),o=n(11),a={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{r("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,o)}catch(e){d=e}if(i(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var p=u?u():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){var r=n(7),i=n(8),o=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){e.exports=de},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,i=[],o=void 0,a=!1,s=function(e,n){return t(e,i[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&r===this&&n.length===i.length&&n.every(s)?o:(a=!0,r=this,i=n,o=e.apply(this,n))};return l}}])),C2e={exports:{}},T2e=(C2e.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:Z(e)}function r(e){return s(e)?e:B(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(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 u(e){return s(e)||l(e)}function c(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=u,n.isOrdered=c,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",O=5,g=1<<O,v=g-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function S(){}function k(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(Q)),e.size}function $(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 Q(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function E(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,R=1,A=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",j=z||N;function X(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 q(){return{value:void 0,done:!0}}function M(e){return!!F(e)}function W(e){return e&&"function"==typeof e.next}function L(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 Z(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function B(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()}X.prototype.toString=function(){return"[Iterator]"},X.KEYS=D,X.VALUES=R,X.ENTRIES=A,X.prototype.inspect=X.prototype.toSource=function(){return this.toString()},X.prototype[j]=function(){return this},t(Z,n),Z.of=function(){return Z(arguments)},Z.prototype.toSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq {","}")},Z.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Z.prototype.__iterate=function(e,t){return de(this,e,t,!0)},Z.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(B,Z),B.prototype.toKeyedSeq=function(){return this},t(Y,Z),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,Z),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Z.isSeq=oe,Z.Keyed=B,Z.Set=G,Z.Indexed=Y;var K,H,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 K||(K=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():M(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return V(e)?new te(e):W(e)?new ie(e):M(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 X((function(){var e=i[n?o-a:a];return a++>o?q():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)}))):Oe(t)?e.call(r,n,B(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():Oe(e)?B(e).map(me).toMap():e}function Oe(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ge(i[1],e)&&(n||ge(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?!ge(t,e.get(r,y)):!ge(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(H)return H;H=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 Se(){}function ke(){}Z.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[$(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 X((function(){return i>r?q():U(e,i,n[t?r-i++:i++])}))},t(ne,B),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 X((function(){var a=r[t?i-o:o];return o++>i?q():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=L(this._iterable),r=0;if(W(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=L(this._iterable);if(!W(n))return new X(q);var r=0;return new X((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 X((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 ge(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new ye(this._value,E(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ge(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 X((function(){return r<n.size?U(e,r++,n._value):q()}))},ye.prototype.equals=function(e){return e instanceof ye?ge(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+$(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 C(e,t,this.size)?this:(e=T(e,this.size),(t=E(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 X((function(){var a=i;return i+=t?-r:r,o>n?q():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(Se,xe),t(ke,xe),xe.Keyed=_e,xe.Indexed=Se,xe.Set=ke;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 $e(e){return e>>>1&1073741824|3221225471&e}function Qe(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 $e(n)}if("string"===t)return e.length>Xe?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ee(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Me[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,Me={}),qe++,Me[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return $e(t)}function Ee(e){var t;if(ze&&void 0!==(t=Ae.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Ae.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,je,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ae,ze="function"==typeof WeakMap;ze&&(Ae=new WeakMap);var Ne=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Xe=16,Ue=255,qe=0,Me={};function We(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Le(e){return null==e?it():Fe(e)&&!c(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Ze])}t(Le,_e),Le.prototype.toString=function(){return this.__toString("Map {","}")},Le.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Le.prototype.set=function(e,t){return ot(this,e,t)},Le.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},Le.prototype.remove=function(e){return ot(this,e,y)},Le.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},Le.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Le.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ot(this,xn(e),t,n);return r===y?void 0:r},Le.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()},Le.prototype.merge=function(){return pt(this,void 0,arguments)},Le.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},Le.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]}))},Le.prototype.mergeDeep=function(){return pt(this,ft,arguments)},Le.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},Le.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]}))},Le.prototype.sort=function(e){return Mt(dn(this,e))},Le.prototype.sortBy=function(e,t){return Mt(dn(this,t,e))},Le.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Le.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Le.prototype.asImmutable=function(){return this.__ensureOwner()},Le.prototype.wasAltered=function(){return this.__altered},Le.prototype.__iterator=function(e,t){return new et(this,e,t)},Le.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},Le.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)},Le.isMap=Fe;var Ve,Ze="@@__IMMUTABLE_MAP__@@",Be=Le.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 Ke(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function He(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(Be);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===He}function lt(e,t,n,r,i){if(e.keyHash===r)return new He(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+O,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ut(e,t,n,r){e||(e=new S);for(var i=new Je(e,Qe(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 ct(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=l,a[o++]=c)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Ke(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):ge(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 ge(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 Ot(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,u=i?y:e.get(l,y),c=Ot(u,t,n,r);return c===u?e:c===y?e.remove(l):(i?it():e).set(l,c)}function gt(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:k(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}Be[Ze]=!0,Be[m]=Be.remove,Be.removeIn=Be.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[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=Qe(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[gt(o&i-1)].get(e+O,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&i===y)return this;var d=gt(u&l-1),p=this.nodes,f=c?p[d]:void 0,h=at(f,e,t+O,n,r,i,o,a);if(h===f)return this;if(!c&&h&&p.length>=xt)return dt(e,p,u,s,h);if(c&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,b=c?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=g,this.nodes=b,this):new Ge(e,g,b)},Ke.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+O,t,n,r):r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=i===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+O,n,r,i,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<_t)return ct(e,u,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(u,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ke(e,p,h)},He.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(n,i[o][0]))return i[o][1];return r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new He(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return ge(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=ge(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,Qe(r),[r,i])))},Ye.prototype.iterate=He.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=Ke.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,X),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 q()};var wt=g/4,xt=g/2,_t=g/4;function St(e){var t=Rt();if(null==e)return t;if(kt(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<g?Dt(0,r,O,null,new Qt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function kt(e){return!(!e||!e[Pt])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if((e=$(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&v]}return t},St.prototype.set=function(e,t){return At(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=O,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},St.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Xt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},St.prototype.pop=function(){return Xt(this,0,-1)},St.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Xt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},St.prototype.shift=function(){return Xt(this,1)},St.prototype.merge=function(){return Ut(this,void 0,arguments)},St.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},St.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},St.prototype.setSize=function(e){return Xt(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:Xt(this,T(e,n),E(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new X((function(){var t=r();return t===Et?q():U(e,n++,t)}))},St.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Et&&!1!==e(n,r++,this););return r},St.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)},St.isList=kt;var Pt="@@__IMMUTABLE_LIST__@@",$t=St.prototype;function Qt(e,t){this.array=e,this.ownerID=t}$t[Pt]=!0,$t[m]=$t.remove,$t.setIn=Be.setIn,$t.deleteIn=$t.removeIn=Be.removeIn,$t.update=Be.update,$t.updateIn=Be.updateIn,$t.mergeIn=Be.mergeIn,$t.mergeDeepIn=Be.mergeDeepIn,$t.withMutations=Be.withMutations,$t.asMutable=Be.asMutable,$t.asImmutable=Be.asImmutable,$t.wasAltered=Be.wasAltered,Qt.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 Qt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-O,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},Qt.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-O,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 Ct,Tt,Et={};function It(e,t){var n=e._origin,r=e._capacity,i=qt(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,u=r-a;return u>g&&(u=g),function(){if(l===u)return Et;var e=t?--u:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,u=o>n?0:n-o>>i,c=1+(r-o>>i);return c>g&&(c=g),function(){for(;;){if(s){var e=s();if(e!==Et)return e;s=null}if(u===c)return Et;var n=t?--c:u++;s=a(l&&l[n],i-O,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create($t);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 Rt(){return Ct||(Ct=Dt(0,0,O))}function At(e,t,n){if((t=$(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Xt(e,t).set(0,n):Xt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=qt(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 u=e&&e.array[s],c=zt(u,t,n-O,r,i,o);return c===u?e:((a=Nt(e,t)).array[s]=c,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 Qt(e?e.array.slice():[],t)}function jt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<<e._level+O){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=O;return n}}function Xt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,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,u=e._root,c=0;a+c<0;)u=new Qt(u&&u.array.length?[void 0,u]:[],r),c+=1<<(l+=O);c&&(a+=c,i+=c,s+=c,o+=c);for(var d=qt(o),p=qt(s);p>=1<<l+O;)u=new Qt(u&&u.array.length?[u]:[],r),l+=O;var f=e._tail,h=p<d?jt(e,s-1):p>d?new Qt([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=u=Nt(u,r),g=l;g>O;g-=O){var y=d>>>g&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>O&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=O,u=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(c=0;u;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(c+=(1<<l)*b),l-=O,u=u.array[b]}u&&a>i&&(u=u.removeBefore(r,l,a-c)),u&&p<d&&(u=u.removeAfter(r,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,u,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],u=i(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return fe(e)}))),r.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function qt(e){return e<g?0:e-1>>>O<<O}function Mt(e){return null==e?Ft():Wt(e)?e:Ft().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return Fe(e)&&c(e)}function Lt(e,t,n,r){var i=Object.create(Mt.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=Lt(it(),Rt()))}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>=g&&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):Lt(r,i)}function Zt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Bt(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 Kt(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===A){var r=e.__iterator(t,n);return new X((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===R?D:R,n)},t}function Ht(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(A,i);return new X((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=Kt(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(A,o),s=0;return new X((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return U(i,r?u:s++,c,o)}}))},i}function tn(e,t,n){var r=Le().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=(c(e)?Mt():Le()).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),C(t,n,i))return e;var o=T(t,i),a=E(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 u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=$(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__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,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,r?n:u-1,i)&&u!==s})),u},u.__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 X((function(){for(;a++<o;)i.next();if(++l>s)return q();var e=i.next();return r||t===R?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},u}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(A,i),s=!0;return new X((function(){if(!s)return q();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(n,u,l,o)?r===A?e:U(r,l,u,e):(s=!1,q())}))},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,u){if(!s||!(s=t.call(n,e,o,u)))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(A,o),l=!0,u=0;return new X((function(){var e,o,c;do{if((e=s.next()).done)return r||i===R?e:U(i,u++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return i===A?e:U(i,o,c,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 u=new te(i);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,i){return(!t||u<t)&&a(e)?l(e,u+1):!1===r(e,n?i:o++,c)&&(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 X((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(r===A&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:U(r,l++,u,e);s.push(o),o=u.__iterator(r,i)}else o=s.pop()}return q()}))},r}function un(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 cn(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(R,r),a=0;return new X((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?B(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(R,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),L(i?e.reverse():e)})),a=0,s=!1;return new X((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():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 On(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return We(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?B:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Z.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=L(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=L(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);$n(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Le(o)},i=r.prototype=Object.create(Sn);return i.constructor=r,r}t(Mt,Le),Mt.of=function(){return this(arguments)},Mt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Mt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Mt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Mt.prototype.set=function(e,t){return Vt(this,e,t)},Mt.prototype.remove=function(e){return Vt(this,e,y)},Mt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Mt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Mt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Mt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Lt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Mt.isOrderedMap=Wt,Mt.prototype[h]=!0,Mt.prototype[m]=Mt.prototype.remove,t(Zt,B),Zt.prototype.get=function(e,t){return this._iter.get(e,t)},Zt.prototype.has=function(e){return this._iter.has(e)},Zt.prototype.valueSeq=function(){return this._iter.valueSeq()},Zt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Zt.prototype.map=function(e,t){var n=this,r=Ht(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Zt.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?gn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Zt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?gn(this):0;return new X((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Zt.prototype[h]=!0,t(Bt,Y),Bt.prototype.includes=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Bt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new X((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(R,t);return new X((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,B),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){On(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(R,t);return new X((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){On(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Bt.prototype.cacheResult=Zt.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=kn(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:kn(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:kn(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?kn(this,t,e):(this.__ownerID=e,this._map=t,this)};var Sn=_n.prototype;function kn(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 $n(e,t){try{t.forEach(Qn.bind(void 0,e))}catch(e){}}function Qn(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 Cn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}Sn[m]=Sn.remove,Sn.deleteIn=Sn.removeIn=Be.removeIn,Sn.merge=Be.merge,Sn.mergeWith=Be.mergeWith,Sn.mergeIn=Be.mergeIn,Sn.mergeDeep=Be.mergeDeep,Sn.mergeDeepWith=Be.mergeDeepWith,Sn.mergeDeepIn=Be.mergeDeepIn,Sn.setIn=Be.setIn,Sn.update=Be.update,Sn.updateIn=Be.updateIn,Sn.withMutations=Be.withMutations,Sn.asMutable=Be.asMutable,Sn.asImmutable=Be.asImmutable,t(Cn,ke),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(r(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Cn.prototype.clear=function(){return Rn(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return 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)}))}))},Cn.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)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Nn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var En,In="@@__IMMUTABLE_SET__@@",Dn=Cn.prototype;function Rn(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 An(e,t){var n=Object.create(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return En||(En=An(it()))}function Nn(e){return null==e?Mn():jn(e)?e:Mn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(e){return Tn(e)&&c(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Be.withMutations,Dn.asMutable=Be.asMutable,Dn.asImmutable=Be.asImmutable,Dn.__empty=zn,Dn.__make=An,t(Nn,Cn),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=jn;var Xn,Un=Nn.prototype;function qn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Xn||(Xn=qn(Ft()))}function Wn(e){return null==e?Yn():Ln(e)?e:Yn().unshiftAll(e)}function Ln(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Mn,Un.__make=qn,t(Wn,Se),Wn.of=function(){return this(arguments)},Wn.prototype.toString=function(){return this.__toString("Stack [","]")},Wn.prototype.get=function(e,t){var n=this._head;for(e=$(this,e);n&&e--;)n=n.next;return n?n.value:t},Wn.prototype.peek=function(){return this._head&&this._head.value},Wn.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):Bn(e,t)},Wn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;We(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):Bn(t,n)},Wn.prototype.pop=function(){return this.slice(1)},Wn.prototype.unshift=function(){return this.push.apply(this,arguments)},Wn.prototype.unshiftAll=function(e){return this.pushAll(e)},Wn.prototype.shift=function(){return this.pop.apply(this,arguments)},Wn.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()},Wn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(E(t,this.size)!==this.size)return Se.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):Bn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Bn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wn.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},Wn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new X((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Wn.isStack=Ln;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Zn=Wn.prototype;function Bn(e,t,n,r){var i=Object.create(Zn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Bn(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}Zn[Vn]=!0,Zn.withMutations=Be.withMutations,Zn.asMutable=Be.asMutable,Zn.asImmutable=Be.asImmutable,Zn.wasAltered=Be.wasAltered,n.Iterator=X,Gn(n,{toArray:function(){We(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Bt(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 Zt(this,!0)},toMap:function(){return Le(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Mt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return St(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 ge(t,e)}))},entries:function(){return this.__iterator(A)},every:function(e,t){We(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 We(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){We(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,Ht(this,e,t))},reduce:function(e,t,n){var r,i;return We(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(R)},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(Q)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(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 Kn=n.prototype;Kn[d]=!0,Kn[j]=Kn.values,Kn.__toJS=Kn.toArray,Kn.__toStringMapper=rr,Kn.inspect=Kn.toSource=function(){return this.toString()},Kn.chain=Kn.flatMap,Kn.contains=Kn.includes,function(){try{Object.defineProperty(Kn,"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,Kt(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 ge(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ge(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 Hn=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 k(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=c(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+lr(Qe(e),Qe(t))|0}:function(e,t){r=r+lr(Qe(e),Qe(t))|0}:t?function(e){r=31*r+Qe(e)|0}:function(e){r=r+Qe(e)|0}),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=$e((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Hn[p]=!0,Hn[j]=Kn.entries,Hn.__toJS=Kn.toObject,Hn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Zt(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(k(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=$(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=$(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(k(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(k(arguments))))},zipWith:function(e){var t=k(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=Kn.includes,Gn(B,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(Se,i.prototype),Gn(ke,o.prototype),{Iterable:n,Seq:Z,Collection:xe,Map:Le,OrderedMap:Mt,List:St,Stack:Wn,Set:Cn,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:ge,fromJS:fe}}()).OrderedMap,E2e={createFromArray:function(e){return T2e(e.map((function(e){return[e.getKey(),e]})))}},I2e=E2e;var D2e=C2e.exports,R2e=D2e.Map,A2e=D2e.OrderedSet,z2e=D2e.Record,N2e=A2e(),j2e={style:N2e,entity:null},X2e=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 U2e;var t=R2e({style:N2e,entity:null}).merge(e),n=q2e.get(t);if(n)return n;var i=new r(t);return q2e=q2e.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?A2e(t):t,entity:Array.isArray(n)?A2e(n):n})},r}(z2e(j2e)),U2e=new X2e,q2e=R2e([[R2e(j2e),U2e]]);X2e.EMPTY=U2e;var M2e=X2e;var W2e=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 L2e=M2e,F2e=W2e,V2e=C2e.exports,Z2e=V2e.List,B2e=V2e.Map,Y2e=V2e.OrderedSet,G2e=V2e.Record,K2e=V2e.Repeat,H2e=Y2e(),J2e=G2e({key:"",type:"unstyled",text:"",characterList:Z2e(),depth:0,data:B2e()}),e5e=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=Z2e(K2e(L2e.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():H2e},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){F2e(this.getCharacterList(),t5e,e,t)},i.findEntityRanges=function(e,t){F2e(this.getCharacterList(),n5e,e,t)},r}(J2e);function t5e(e,t){return e.getStyle()===t.getStyle()}function n5e(e,t){return e.getEntity()===t.getEntity()}var r5e=e5e;var i5e=M2e,o5e=W2e,a5e=C2e.exports,s5e=a5e.List,l5e=a5e.Map,u5e=a5e.OrderedSet,c5e=a5e.Record,d5e=a5e.Repeat,p5e=u5e(),f5e={parent:null,characterList:s5e(),data:l5e(),depth:0,key:"",text:"",type:"unstyled",children:s5e(),prevSibling:null,nextSibling:null},h5e=function(e,t){return e.getStyle()===t.getStyle()},m5e=function(e,t){return e.getEntity()===t.getEntity()},O5e=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=s5e(d5e(i5e.EMPTY,n.length))),e},g5e=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f5e;return e.call(this,O5e(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():p5e},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){o5e(this.getCharacterList(),h5e,e,t)},i.findEntityRanges=function(e,t){o5e(this.getCharacterList(),m5e,e,t)},r}(c5e(f5e)),v5e=g5e,y5e=M2e,b5e=C2e.exports.Map;function w5e(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(b5e([[s,i.get(s)]])).map((function(e,t){var i,u;o===s?(i=a,u=l):(i=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();i<u;)c=d.get(i),d=d.set(i,r?y5e.applyStyle(c,n):y5e.removeStyle(c,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(u),selectionBefore:t,selectionAfter:t})}var x5e={add:function(e,t,n){return w5e(e,t,n,!0)},remove:function(e,t,n){return w5e(e,t,n,!1)}},_5e=M2e;var S5e=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,_5e.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},k5e=S5e,P5e=C2e.exports;var $5e=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(P5e.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,l=t===a?s:e.getLength();return k5e(e,r,l,n)}));return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})},Q5e={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,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}var d=r+n.length,p=l===r,f=u===d;return(!p&&f||p&&!f)&&("forward"===i?u!==d&&u++:l!==r&&l--),{start:l,end:u}}},C5e="production"!==Ts.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var T5e=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(C5e(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}},E5e=T5e;var I5e=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"!==Ts.env.NODE_ENV?E5e(!1,"Entity key not found in this range."):E5e(!1)),n},D5e=Q5e,R5e=I5e,A5e=T5e;function z5e(e,t,n,r,i,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(i).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=R5e(t,i).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==Ts.env.NODE_ENV?A5e(!1,"There should only be one entity range within this removal range."):A5e(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var f=D5e.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 N5e=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 u=r;if(s&&s===l)u=z5e(e,t,u,i,s,!0,!0);else if(s&&l){var c=z5e(e,t,u,i,s,!1,!0),d=z5e(e,n,u,i,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=z5e(e,t,u,i,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var f=z5e(e,n,u,i,l,!1,!1);u=u.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return u},j5e={},X5e=Math.pow(2,24);var U5e=function(){for(var e;void 0===e||j5e.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*X5e).toString(32);return j5e[e]=!0,e},q5e=v5e,M5e=U5e,W5e=C2e.exports.OrderedMap,L5e=function(e){return e.first()instanceof q5e?function(e){var t,n={};return W5e(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),l=r.getChildKeys(),u=r.getParentKey(),c=M5e();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(r.getKey()),c))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"children"],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 W5e(e.toArray().map((function(e){var t=M5e();return[t,e.set("key",t)]})))}(e)},F5e=M2e,V5e=W2e,Z5e=T5e;function B5e(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,u=function(e,t,n){var r;return V5e(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"!==Ts.env.NODE_ENV?Z5e(!1,"Removal range must exist within character list."):Z5e(!1)),r}(r,s,n),c=u.start,d=u.end;c<d;)l=r.get(c),r=r.set(c,F5e.applyEntity(l,null)),c++;return t.set("characterList",r)}return t}var Y5e=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=B5e(r,s,a);l!==s&&(i[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var p=B5e(r,d,c);return p!==d&&(i[u]=p),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},G5e=L5e,K5e=Y5e,H5e=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=K5e(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(i)+1;return G5e(a.slice(l,u).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 J5e=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},e3e=I2e,t3e=v5e,n3e=J5e,r3e=T5e,i3e=L5e,o3e=C2e.exports.List,a3e=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(),u=s.getCharacterList(),c=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:n3e(u,r.getCharacterList(),o),type:f,data:p});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},s3e=function(e,t,n,r,i,o){var a=n.first()instanceof t3e,s=[],l=r.size,u=n.get(i),c=r.first(),d=r.last(),p=d.getLength(),f=d.getKey(),h=a&&(!u.getChildKeys().isEmpty()||!c.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=e3e.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),u=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([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(i)+1,p=c.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],o3e(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},l3e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ts.env.NODE_ENV?r3e(!1,"`insertFragment` should only be called with a collapsed selection state."):r3e(!1));var i=e.getBlockMap(),o=i3e(n),a=t.getStartKey(),s=t.getStartOffset(),l=i.get(a);return l instanceof t3e&&(l.getChildKeys().isEmpty()||("production"!==Ts.env.NODE_ENV?r3e(!1,"`insertFragment` should not be called when a container node is selected."):r3e(!1))),1===o.size?a3e(e,t,i,o.first(),a,s,r):s3e(e,t,i,o,a,s)},u3e=J5e,c3e=T5e,d3e=C2e.exports.Repeat;var p3e=function(e,t,n,r){t.isCollapsed()||("production"!==Ts.env.NODE_ENV?c3e(!1,"`insertText` should only be called with a collapsed range."):c3e(!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),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:u3e(l.getCharacterList(),d3e(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},f3e=C2e.exports.Map;var h3e=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(f3e([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},m3e=v5e,O3e=function(e,t){if(!(e instanceof m3e))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},g3e=v5e,v3e=O3e,y3e=C2e.exports;y3e.List;var b3e=y3e.Map,w3e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},x3e=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},_3e=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},S3e=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},k3e=function(e,t,n,r){return e.withMutations((function(i){if(w3e(t.getKey(),i,(function(e){return e.merge({nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})})),w3e(n.getKey(),i,(function(e){return e.merge({nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})})),x3e(t.getKey(),r).forEach((function(e){return w3e(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})}))})),w3e(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),w3e(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:_3e(e,i,r)})})),w3e(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:S3e(e,i,r)})})),w3e(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),x3e(n.getKey(),r).forEach((function(e){w3e(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=v3e(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?v3e(i,t):null}return n}(n,r).forEach((function(e){return w3e(e,i,(function(e){return e.merge({nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();w3e(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),w3e(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){w3e(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);w3e(s,i,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}w3e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},P3e=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},$3e=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),u=r.get(a),c=l instanceof g3e,d=[];if(c){var p=u.getChildKeys(),f=x3e(a,r);u.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(x3e(v3e(u,r),r))}n=l===u?P3e(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),m=c&&0===o&&0===s&&u.getParentKey()===i&&null==u.getPrevSiblingKey()?b3e([[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(b3e([[a,null]])).map((function(e,t){return t===i?h:null})),O=r.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(O=k3e(O,l,u,r)),e.merge({blockMap:O,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},Q3e=v5e,C3e=U5e,T3e=C2e.exports,E3e=T5e,I3e=h3e,D3e=T3e.List,R3e=T3e.Map,A3e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},z3e=function(e,t){t.isCollapsed()||("production"!==Ts.env.NODE_ENV?E3e(!1,"Selection range must be collapsed."):E3e(!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 I3e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=i.getCharacterList(),u=C3e(),c=i instanceof Q3e,d=i.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:R3e()}),f=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=f.concat([[n,d],[u,p]],h).toOrderedMap();return c&&(i.getChildKeys().isEmpty()||("production"!==Ts.env.NODE_ENV?E3e(!1,"ContentBlockNode must not have children"):E3e(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();A3e(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:D3e(o)})})),A3e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),A3e(r,e,(function(e){return e.merge({nextSibling:i})})),A3e(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},N3e=M2e,j3e=x5e,X3e=$5e,U3e=N5e,q3e=H5e,M3e=l3e,W3e=p3e,L3e=T5e,F3e=h3e,V3e=Y5e,Z3e=$3e,B3e=z3e,Y3e=C2e.exports.OrderedSet,G3e={replaceText:function(e,t,n,r,i){var o=V3e(e,t),a=Z3e(o,t),s=N3e.create({style:r||Y3e(),entity:i||null});return W3e(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Ts.env.NODE_ENV?L3e(!1,"Target range must be collapsed for `insertText`."):L3e(!1)),G3e.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=q3e(e,t),i=G3e.removeRange(e,t,"backward");return G3e.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=V3e(e,t),o=Z3e(i,t);return M3e(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(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(r===i&&u&&u===c){var d=U3e(e.getEntityMap(),o,a,t,n);return Z3e(e,d)}var p=V3e(e,t);return Z3e(p,t)},splitBlock:function(e,t){var n=V3e(e,t),r=Z3e(n,t);return B3e(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return j3e.add(e,t,n)},removeInlineStyle:function(e,t,n){return j3e.remove(e,t,n)},setBlockType:function(e,t,n){return F3e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return F3e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return F3e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=V3e(e,t);return X3e(r,t,n)}},K3e=G3e;var H3e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function J3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var e4e=W2e,t4e=H3e,n4e=C2e.exports,r4e=n4e.List,i4e=n4e.Repeat,o4e=n4e.Record,a4e=function(){return!0},s4e=o4e({start:null,end:null}),l4e=o4e({start:null,end:null,decoratorKey:null,leaves:null}),u4e={generate:function(e,t,n){var r=t.getLength();if(!r)return r4e.of(new l4e({start:0,end:0,decoratorKey:null,leaves:r4e.of(new s4e({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):r4e(i4e(null,r)),a=t.getCharacterList();return e4e(o,d4e,a4e,(function(e,t){i.push(new l4e({start:e,end:t,decoratorKey:o.get(e),leaves:c4e(a.slice(e,t).toList(),e)}))})),r4e(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 l4e(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){J3e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?r4e(Array.isArray(t)?t:t4e(t)).map((function(e){return s4e(e)})):null}))}};function c4e(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return e4e(r,d4e,a4e,(function(e,r){n.push(new s4e({start:e+t,end:r+t}))})),r4e(n)}function d4e(e,t){return e===t}var p4e=u4e;var f4e=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,C2e.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),h4e=f4e;var m4e=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 O4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g4e=h4e,v4e=T5e,y4e=m4e,b4e=(0,C2e.exports.Map)(),w4e=y4e();function x4e(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var _4e={getLastCreatedEntityKey:function(){return x4e("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),_4e.__getLastCreatedEntityKey()},create:function(e,t,n){return x4e("DraftEntity.create","contentState.createEntity"),_4e.__create(e,t,n)},add:function(e){return x4e("DraftEntity.add","contentState.addEntity"),_4e.__add(e)},get:function(e){return x4e("DraftEntity.get","contentState.getEntity"),_4e.__get(e)},__getAll:function(){return b4e},__loadWithEntities:function(e){b4e=e,w4e=y4e()},mergeData:function(e,t){return x4e("DraftEntity.mergeData","contentState.mergeEntityData"),_4e.__mergeData(e,t)},replaceData:function(e,t){return x4e("DraftEntity.replaceData","contentState.replaceEntityData"),_4e.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return w4e},__create:function(e,t,n){return _4e.__add(new g4e({type:e,mutability:t,data:n||{}}))},__add:function(e){return w4e=y4e(),b4e=b4e.set(w4e,e),w4e},__get:function(e){var t=b4e.get(e);return t||("production"!==Ts.env.NODE_ENV?v4e(!1,"Unknown DraftEntity key: %s.",e):v4e(!1)),t},__mergeData:function(e,t){var n=_4e.__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){O4e(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return b4e=b4e.set(e,i),i},__replaceData:function(e,t){var n=_4e.__get(e).set("data",t);return b4e=b4e.set(e,n),n}},S4e=_4e;var k4e=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,C2e.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),P4e=k4e,$4e=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Q4e=new RegExp("\r","g");var C4e=function(e){return e.replace(Q4e,"")};function T4e(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){E4e(e,t,n[t])}))}return e}function E4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I4e=I2e,D4e=M2e,R4e=r5e,A4e=v5e,z4e=S4e,N4e=P4e,j4e=U5e,X4e=H3e,U4e=$4e,q4e=C2e.exports,M4e=C4e,W4e=q4e.List,L4e=q4e.Record,F4e=q4e.Repeat,V4e=q4e.Map,Z4e=q4e.OrderedMap,B4e=L4e({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),Y4e=U4e("draft_tree_data_support")?A4e:R4e,G4e=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 z4e},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 z4e.__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 z4e.__create(e,t,n),this},i.mergeEntityData=function(e,t){return z4e.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return z4e.__replaceData(e,t),this},i.addEntity=function(e){return z4e.__add(e),this},i.getEntity=function(e){return z4e.__get(e)},i.getAllEntities=function(){return z4e.__getAll()},i.loadWithEntities=function(e){return z4e.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=I4e.createFromArray(n),o=i.isEmpty()?new N4e:N4e.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||z4e,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=M4e(e),new Y4e({key:j4e(),text:e,type:"unstyled",characterList:W4e(F4e(D4e.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(T4e({},e,{blockMap:Z4e(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new N4e(e.selectionBefore),selectionAfter:new N4e(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new Y4e(T4e({},e,{data:V4e(e.data),characterList:null!=t?W4e((Array.isArray(t)?t:X4e(t)).map((function(e){return D4e.fromJS(e)}))):void 0}))},r}(B4e),K4e=G4e,H4e=T5e,J4e=null;function e6e(e){return"LTR"===e||"RTL"===e}function t6e(e){return e6e(e)||("production"!==Ts.env.NODE_ENV?H4e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):H4e(!1)),"LTR"===e?"ltr":"rtl"}function n6e(e){J4e=e}var r6e={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:e6e,getHTMLDir:t6e,getHTMLDirIfDifferent:function(e,t){return e6e(e)||("production"!==Ts.env.NODE_ENV?H4e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):H4e(!1)),e6e(t)||("production"!==Ts.env.NODE_ENV?H4e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):H4e(!1)),e===t?null:t6e(e)},setGlobalDir:n6e,initGlobalDir:function(){n6e("LTR")},getGlobalDir:function(){return J4e||this.initGlobalDir(),J4e||("production"!==Ts.env.NODE_ENV?H4e(!1,"Global direction not set."):H4e(!1)),J4e}},i6e=r6e,o6e=T5e,a6e="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",s6e="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",l6e=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+a6e+s6e+"]"),u6e=new RegExp("["+a6e+s6e+"]");function c6e(e){var t=l6e.exec(e);return null==t?null:t[0]}function d6e(e){var t=c6e(e);return null==t?i6e.NEUTRAL:u6e.exec(t)?i6e.RTL:i6e.LTR}function p6e(e,t){if(t=t||i6e.NEUTRAL,!e.length)return t;var n=d6e(e);return n===i6e.NEUTRAL?t:n}function f6e(e,t){return t||(t=i6e.getGlobalDir()),i6e.isStrong(t)||("production"!==Ts.env.NODE_ENV?o6e(!1,"Fallback direction must be a strong direction"):o6e(!1)),p6e(e,t)}var h6e={firstStrongChar:c6e,firstStrongCharDir:d6e,resolveBlockDir:p6e,getDirection:f6e,isDirectionLTR:function(e,t){return f6e(e,t)===i6e.LTR},isDirectionRTL:function(e,t){return f6e(e,t)===i6e.RTL}};function m6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O6e,g6e=h6e,v6e=r6e,y6e=T5e,b6e=function(){function e(e){m6e(this,"_defaultDir",void 0),m6e(this,"_lastDir",void 0),e?v6e.isStrong(e)||("production"!==Ts.env.NODE_ENV?y6e(!1,"Default direction must be a strong direction (LTR or RTL)"):y6e(!1)):e=v6e.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=g6e.getDirection(e,this._lastDir),this._lastDir},e}(),w6e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},x6e=b6e,_6e=C2e.exports,S6e=w6e,k6e=_6e.OrderedMap,P6e={getDirectionMap:function(e,t){O6e?O6e.reset():O6e=new x6e;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return S6e(O6e).getDirection(e.getText())})),i=k6e(n.keySeq().zip(r));return null!=t&&_6e.is(t,i)?t:i}};function $6e(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){Q6e(e,t,n[t])}))}return e}function Q6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C6e=p4e,T6e=K4e,E6e=P6e,I6e=P4e,D6e=C2e.exports,R6e=D6e.OrderedSet,A6e=D6e.Record,z6e=D6e.Stack,N6e=D6e.OrderedMap,j6e=D6e.List,X6e=A6e({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:z6e(),selection:null,treeMap:null,undoStack:z6e()}),U6e=function(){t.createEmpty=function(e){return t.createWithContent(T6e.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:z6e(),redoStack:z6e(),decorator:n||null,selection:I6e.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=$6e({},e,{treeMap:M6e(n,e.decorator),directionMap:E6e.getDirectionMap(n)});return new t(new X6e(r))},t.fromJS=function(e){return new t(new X6e($6e({},e,{directionMap:null!=e.directionMap?N6e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?R6e(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?T6e.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?z6e(e.redoStack.map((function(e){return T6e.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new I6e(e.selection):e.selection,treeMap:null!=e.treeMap?N6e(e.treeMap).map((function(e){return j6e(e).map((function(e){return C6e.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?z6e(e.undoStack.map((function(e){return T6e.fromJS(e)}))):e.undoStack,currentContent:T6e.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 C6e.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):M6e(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 C6e.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){Q6e(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 L6e(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 L6e(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 q6e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),q6e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new I6e({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=E6e.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(),u=n;a!==s.getSelectionAfter()||W6e(e,r)?(l=l.push(s),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(c=null);var p={currentContent:u,directionMap:o,undoStack:l,redoStack:z6e(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:c};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=E6e.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=E6e.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 q6e(e,t,n){return U6e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function M6e(e,t){return e.getBlockMap().map((function(n){return C6e.generate(e,n,t)})).toOrderedMap()}function W6e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function L6e(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):R6e()}var F6e=U6e,V6e=v5e,Z6e=O3e,B6e=C2e.exports,Y6e=T5e,G6e=B6e.OrderedMap,K6e=B6e.List,H6e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},J6e=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){H6e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),H6e(c,e,(function(e){return e.merge({nextSibling:u})})),H6e(u,e,(function(e){return e.merge({prevSibling:c})})),H6e(p,e,(function(e){return e.merge({prevSibling:a})})),H6e(f,e,(function(e){return e.merge({nextSibling:a})})),H6e(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:K6e(i)})})),H6e(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},e7e=function(e,t,n,r){"replace"===r&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Replacing blocks is not supported."):Y6e(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Block cannot be moved next to itself."):Y6e(!1));var a=e.getBlockMap(),s=t instanceof V6e,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=Z6e(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 c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),f=G6e();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Block cannot be moved next to itself."):Y6e(!1)),f=c.concat([].concat(p,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Block cannot be moved next to itself."):Y6e(!1)),f=c.concat([[i,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:J6e(f,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function t7e(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){n7e(e,t,n[t])}))}return e}function n7e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r7e=I2e,i7e=M2e,o7e=r5e,a7e=v5e,s7e=K3e,l7e=F6e,u7e=U5e,c7e=C2e.exports,d7e=e7e,p7e=$4e("draft_tree_data_support"),f7e=p7e?a7e:o7e,h7e=c7e.List,m7e=c7e.Repeat,O7e={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=s7e.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=s7e.splitBlock(o,a),l=s.getSelectionAfter(),u=s7e.setBlockType(s,l,"atomic"),c=i7e.create({entity:t}),d={key:u7e(),type:"atomic",text:n,characterList:h7e(m7e(c,n.length))},p={key:u7e(),type:"unstyled"};p7e&&(d=t7e({},d,{nextSibling:p.key}),p=t7e({},p,{prevSibling:d.key}));var f=[new f7e(d),new f7e(p)],h=r7e.createFromArray(f),m=s7e.replaceWithFragment(u,l,h),O=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return l7e.push(e,O,"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=d7e(o,t,s,r)}else{var l=s7e.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())i=d7e(l,t,c,"before");else if(u.getEndOffset()===c.getLength())i=d7e(l,t,c,"after");else{var d=s7e.splitBlock(l,u),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());i=d7e(d,t,f,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return l7e.push(e,h,"move-block")}};var g7e=C2e.exports.List,v7e=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)})),g7e(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 y7e=v7e;function b7e(e){return e.replace(/\//g,"-")}var w7e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(b7e).join(" "):Array.prototype.map.call(arguments,b7e).join(" ")},x7e=de,_7e=w7e,S7e=(0,C2e.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:x7e.createElement("ul",{className:_7e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:x7e.createElement("ol",{className:_7e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:x7e.createElement("pre",{className:_7e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),k7e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},P7e={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",p="version",f="architecture",h="console",m="mobile",O="tablet",g="smarttv",v="wearable",y="embedded",b="Amazon",w="Apple",x="ASUS",_="BlackBerry",S="Firefox",k="Google",P="Huawei",$="LG",Q="Microsoft",C="Motorola",T="Opera",E="Samsung",I="Sony",D="Xiaomi",R="Zebra",A="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!==j(t).indexOf(j(e))},j=function(e){return e.toLowerCase()},X=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,u,c,d=0;d<t.length&&!u;){var p=t[d],f=t[d+1];for(n=o=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<f.length;s++)c=u[++o],typeof(l=f[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):r:this[l[0]]=c?l[1].call(this,c,l[2]):r:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):r):this[l]=c||r;d+=2}},q=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},M={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"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[u,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[u,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,A],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,j]],[/((?: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/,"",j]],[/(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,j]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,E],[c,O]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,E],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,O]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[c,O]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[c,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,D],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,D],[c,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,C],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,C],[c,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,$],[c,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,$],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[d,k],[c,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,k],[c,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,I],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,I],[c,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,b],[c,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,b],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,_],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,x],[c,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,x],[c,m]],[/(nexus 9)/i],[l,[d,"HTC"],[c,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,O]],[/(surface duo)/i],[l,[d,Q],[c,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[d,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,O]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,O]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,O]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,O]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,O]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,O]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,O]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,O]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,O]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,O]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,O]],[/(sprint) (\w+)/i],[d,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,Q],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,R],[c,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,R],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[l,[d,I],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,Q],[c,h]],[/smart-tv.+(samsung)/i],[d,[c,g]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,E],[c,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,$],[c,g]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,g]],[/crkey/i],[[l,"Chromecast"],[d,k],[c,g]],[/droid.+aft(\w)( bui|\))/i],[l,[d,b],[c,g]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,X],[l,X],[c,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,g]],[/((pebble))app/i],[d,l,[c,v]],[/droid.+; (glass) \d/i],[l,[d,k],[c,v]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,R],[c,v]],[/(quest( 2)?)/i],[l,[d,A],[c,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,O]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,q,M]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,q,M]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,p]]},L=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof L))return new L(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}(W,t):W;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?X(e,255):e,this},this.setUA(i),this};L.VERSION="0.7.31",L.BROWSER=z([u,p,"major"]),L.CPU=z([f]),L.DEVICE=z([l,d,c,h,m,g,O,v,y]),L.ENGINE=L.OS=z([u,p]),e.exports&&(t=e.exports=L),t.UAParser=L;var F=typeof n!==o&&(n.jQuery||n.Zepto);if(F&&!F.ua){var V=new L;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:Be)}(P7e,P7e.exports);var $7e="Unknown",Q7e={"Mac OS":"Mac OS X"};var C7e=(new(0,P7e.exports)).getResult(),T7e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(C7e.browser.version),E7e={browserArchitecture:C7e.cpu.architecture||$7e,browserFullVersion:C7e.browser.version||$7e,browserMinorVersion:T7e.minor||$7e,browserName:C7e.browser.name||$7e,browserVersion:C7e.browser.major||$7e,deviceName:C7e.device.model||$7e,engineName:C7e.engine.name||$7e,engineVersion:C7e.engine.version||$7e,platformArchitecture:C7e.cpu.architecture||$7e,platformName:function(e){return Q7e[e]||e}(C7e.os.name)||$7e,platformVersion:C7e.os.version||$7e,platformFullVersion:C7e.os.version||$7e},I7e=E7e,D7e=T5e,R7e=/\./,A7e=/\|\|/,z7e=/\s+\-\s+/,N7e=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,j7e=/^(\d*)(.*)/;function X7e(e,t){var n=e.split(A7e);return n.length>1?n.some((function(e){return G7e.contains(e,t)})):function(e,t){var n=e.split(z7e);if(n.length>0&&n.length<=2||("production"!==Ts.env.NODE_ENV?D7e(!1,'the "-" operator expects exactly 2 operands'):D7e(!1)),1===n.length)return U7e(n[0],t);var r=n[0],i=n[1];return F7e(r)&&F7e(i)||("production"!==Ts.env.NODE_ENV?D7e(!1,'operands to the "-" operator must be simple (no modifiers)'):D7e(!1)),U7e(">="+r,t)&&U7e("<="+i,t)}(e=n[0].trim(),t)}function U7e(e,t){if(""===(e=e.trim()))return!0;var n=t.split(R7e),r=W7e(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return q7e(n,o);case"<=":return function(e,t){var n=Y7e(e,t);return-1===n||0===n}(n,o);case">=":return M7e(n,o);case">":return function(e,t){return 1===Y7e(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);L7e(o)&&(r[i]=o+1+"");return M7e(e,n)&&q7e(e,r)}(n,o);default:return function(e,t){return 0===Y7e(e,t)}(n,o)}}function q7e(e,t){return-1===Y7e(e,t)}function M7e(e,t){var n=Y7e(e,t);return 1===n||0===n}function W7e(e){var t=e.split(R7e),n=t[0].match(N7e);return n||("production"!==Ts.env.NODE_ENV?D7e(!1,"expected regex to match but it did not"):D7e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function L7e(e){return!isNaN(e)&&isFinite(e)}function F7e(e){return!W7e(e).modifier}function V7e(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Z7e(e,t){var n=e.match(j7e)[1],r=t.match(j7e)[1],i=parseInt(n,10),o=parseInt(r,10);return L7e(i)&&L7e(o)&&i!==o?B7e(i,o):B7e(e,t)}function B7e(e,t){return typeof e!=typeof t&&("production"!==Ts.env.NODE_ENV?D7e(!1,'"a" and "b" must be of the same type'):D7e(!1)),e>t?1:e<t?-1:0}function Y7e(e,t){for(var n=function(e,t){V7e(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 V7e(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=Z7e(r[o],i[o]);if(a)return a}return 0}var G7e={contains:function(e,t){return X7e(e.trim(),t.trim())}},K7e=G7e,H7e=Object.prototype.hasOwnProperty;var J7e=function(e,t,n){if(!e)return null;var r={};for(var i in e)H7e.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var e8e=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},t8e=I7e,n8e=K7e;function r8e(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,n8e.contains(i,t))}function i8e(e){return"Windows"===t8e.platformName?e.replace(/^\s*NT/,""):e}var o8e=J7e({isBrowser:function(e){return r8e(t8e.browserName,t8e.browserFullVersion,e)},isBrowserArchitecture:function(e){return r8e(t8e.browserArchitecture,null,e)},isDevice:function(e){return r8e(t8e.deviceName,null,e)},isEngine:function(e){return r8e(t8e.engineName,t8e.engineVersion,e)},isPlatform:function(e){return r8e(t8e.platformName,t8e.platformFullVersion,e,i8e)},isPlatformArchitecture:function(e){return r8e(t8e.platformArchitecture,null,e)}},e8e);var a8e=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var s8e=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},l8e=s8e;var u8e=function e(t){if(l8e(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},c8e=a8e,d8e=u8e;var p8e=function(e){for(var t=e;t&&t!==c8e(e).documentElement;){var n=d8e(t);if(null!=n)return n;t=t.parentNode}return null};var f8e=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function h8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m8e=o8e,O8e=p8e,g8e=f8e,v8e=T5e,y8e=w6e,b8e=C2e.exports.Map,w8e={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},x8e=m8e.isBrowser("IE <= 11"),_8e=function(){function e(e){var t=this;h8e(this,"observer",void 0),h8e(this,"container",void 0),h8e(this,"mutations",void 0),h8e(this,"onCharData",void 0),this.container=e,this.mutations=b8e();var n=g8e(e);n.MutationObserver&&!x8e?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ts.env.NODE_ENV?v8e(!1,"Expected target to be an instance of Node"):v8e(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,w8e):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=b8e(),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 x8e?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=y8e(O8e(e.target));this.mutations=this.mutations.set(n,t)}},e}(),S8e={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)}}},k8e={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},P8e={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var $8e=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},Q8e=T5e,C8e=$8e;var T8e=function(e){var t=e.editorContainer;return t||("production"!==Ts.env.NODE_ENV?Q8e(!1,"Missing editorNode"):Q8e(!1)),C8e(t.firstChild)||("production"!==Ts.env.NODE_ENV?Q8e(!1,"editorNode.firstChild is not an HTMLElement"):Q8e(!1)),t.firstChild},E8e=S8e,I8e=w6e;var D8e=function(e,t,n,r,i){var o=I8e(e.getSelection());if(!t||!r)return"production"!==Ts.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=E8e.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=E8e.decode(r),d=c.blockKey,p=e.getBlockTree(d),f=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!f)return"production"!==Ts.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=u.get("start"),m=f.get("start"),O=u?h+n:null,g=f?m+i:null,v=o.getAnchorKey()===s&&o.getAnchorOffset()===O&&o.getFocusKey()===d&&o.getFocusOffset()===g;if(v)return o;var y=!1;if(s===d){var b=u.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:O,focusKey:d,focusOffset:g,isBackward:y})},R8e=p8e,A8e=u8e,z8e=D8e,N8e=T5e,j8e=s8e,X8e=w6e;function U8e(e,t,n){var r=t,i=R8e(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Ts.env.NODE_ENV?N8e(!1,"Unknown node in selection range."):N8e(!1)),e===r)&&(r=r.firstChild,j8e(r)||("production"!==Ts.env.NODE_ENV?N8e(!1,"Invalid DraftEditorContents node."):N8e(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Ts.env.NODE_ENV?N8e(!1,"Invalid DraftEditorContents structure."):N8e(!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&&(j8e(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||A8e(e.firstChild));)e=e.firstChild;return e}(r);o=X8e(A8e(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],l=null,u=null;if(A8e(s)){var c=function(e){for(;e.lastChild&&(j8e(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||A8e(e.lastChild));)e=e.lastChild;return e}(s);l=X8e(A8e(c)),u=q8e(c)}else l=X8e(i),u=q8e(s);return{key:l,offset:u}}function q8e(e){var t=e.textContent;return"\n"===t?0:t.length}var M8e=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:z8e(e,X8e(R8e(n)),r,X8e(R8e(i)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:X8e(R8e(n)),offset:r},u=U8e(t,i,o)):s?(u={key:X8e(R8e(i)),offset:o},l=U8e(t,n,r)):(l=U8e(t,n,r),u=U8e(t,i,o),n===i&&r===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:z8e(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},W8e=M8e;var L8e=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}:W8e(e,t,r,i,o,a)},F8e=P8e,V8e=F6e,Z8e=T8e,B8e=L8e;var Y8e=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();F8e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=B8e(n,Z8e(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?V8e.forceSelection(n,i):V8e.acceptSelection(n,i),e.update(n))}};var G8e={notEmptyKey:function(e){return null!=e&&""!=e}},K8e=G8e.notEmptyKey;function H8e(e,t){return K8e(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var J8e=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:H8e(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),H8e(e.getEntityMap(),n)},e9e=_8e,t9e=K3e,n9e=S8e,r9e=F6e,i9e=k8e,o9e=T8e,a9e=L8e,s9e=J8e,l9e=w6e,u9e=!1,c9e=!1,d9e=null;var p9e={onCompositionStart:function(e){c9e=!0,function(e){d9e||(d9e=new e9e(o9e(e))).start()}(e)},onCompositionEnd:function(e){u9e=!1,c9e=!1,setTimeout((function(){u9e||p9e.resolveComposition(e)}),20)},onSelect:Y8e,onKeyDown:function(e,t){if(!c9e)return p9e.resolveComposition(e),void e._onKeyDown(t);t.which!==i9e.RIGHT&&t.which!==i9e.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===i9e.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!c9e){var t=l9e(d9e).stopAndFlushMutations();d9e=null,u9e=!0;var n=r9e.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=n9e.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),p=s9e(r,d),f=r.getBlockForKey(o).getInlineStyleAt(u);r=t9e.replaceText(r,d,e,f,p),n=r9e.set(n,{currentContent:r})}));var i=a9e(n,o9e(e)).selectionState;e.restoreEditorDOM();var o=r9e.acceptSelection(n,i);e.update(r9e.push(o,r,"insert-characters"))}else e.update(n)}}},f9e=p9e,h9e=f3;function m9e(){return m9e=h9e||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 O9e=S8e,g9e=de,v9e=h6e,y9e=r6e,b9e=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,u=t.getKey(),c=s.get("leaves"),d=i.getComponentForKey(o),p=i.getPropsForKey(o),f=O9e.encode(u,parseInt(o,10),0),h=l.slice(c.first().get("start"),c.last().get("end")),m=y9e.getHTMLDirIfDifferent(v9e.getDirection(h),a);return g9e.createElement(d,m9e({},p,{contentState:r,decoratedText:h,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},r}(g9e.Component),w9e=b9e;function x9e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S9e=de,k9e=T5e,P9e=s8e,$9e=o8e.isBrowser("IE <= 11");var Q9e=function(e){var t,n;function r(t){var n;return _9e(x9e(n=e.call(this,t)||this),"_forceFlag",void 0),_9e(x9e(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;P9e(t)||("production"!==Ts.env.NODE_ENV?k9e(!1,"node is not an Element"):k9e(!1));var r=t;return n?!function(e){return $9e?"\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=this;return""===this.props.children?this._forceFlag?function(e){return $9e?S9e.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):S9e.createElement("br",{key:"A","data-text":"true",ref:e})}((function(t){return e._node=t})):function(e){return $9e?S9e.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):S9e.createElement("br",{key:"B","data-text":"true",ref:e})}((function(t){return e._node=t})):S9e.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},r}(S9e.Component),C9e=Q9e,T9e=s8e;var E9e=function(e){return!(!e||!e.ownerDocument)&&(T9e(e)&&"BR"===e.nodeName)};var I9e=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 D9e=function(e){return I9e(e)&&3==e.nodeType};var R9e=function e(t,n){return!(!t||!n)&&(t===n||!D9e(t)&&(D9e(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var A9e=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}},z9e=P8e,N9e=R9e,j9e=A9e,X9e=a8e,U9e=T5e,q9e=s8e,M9e=o8e.isBrowser("IE");function W9e(e,t){if(!e)return"[empty]";var n=L9e(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(q9e(n)||("production"!==Ts.env.NODE_ENV?U9e(!1,"Node must be an Element if it is not a text node."):U9e(!1)),n.outerHTML)}function L9e(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return X9e(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(L9e(o[a],t));return i}function F9e(e,t){for(var n=e,r=n;n;){if(q9e(n)&&r.hasAttribute("contenteditable"))return W9e(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function V9e(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function Z9e(e,t,n,r){var i=j9e();if(e.extend&&null!=t&&N9e(i,t)){n>V9e(t)&&z9e.logSelectionStateFailure({anonymizedDom:F9e(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 z9e.logSelectionStateFailure({anonymizedDom:F9e(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 B9e(e,t,n,r){var i=X9e(t).createRange();if(n>V9e(t)&&z9e.logSelectionStateFailure({anonymizedDom:F9e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),M9e)try{e.addRange(i)}catch(e){"production"!==Ts.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var Y9e=function(e,t,n,r,i){var o=X9e(t);if(N9e(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,f=l;s=u,l=c,u=p,c=f,d=!1}var h=s===n&&r<=l&&i>=l,m=u===n&&r<=c&&i>=c;if(h&&m)return a.removeAllRanges(),B9e(a,t,l-r,e),void Z9e(a,t,c-r,e);if(d){if(m&&(a.removeAllRanges(),B9e(a,t,c-r,e)),h){var O=a.focusNode,g=a.focusOffset;a.removeAllRanges(),B9e(a,t,l-r,e),Z9e(a,O,g,e)}}else h&&(a.removeAllRanges(),B9e(a,t,l-r,e)),m&&Z9e(a,t,c-r,e)}},G9e=f3;function K9e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J9e=C9e,eet=de,tet=T5e,net=E9e,ret=Y9e,iet=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 H9e(K9e(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"!==Ts.env.NODE_ENV?tet(!1,"Missing node"):tet(!1));var l,u=s.firstChild;u||("production"!==Ts.env.NODE_ENV?tet(!1,"Missing child"):tet(!1)),u.nodeType===Node.TEXT_NODE?l=u:net(u)?l=s:(l=u.firstChild)||("production"!==Ts.env.NODE_ENV?tet(!1,"Missing targetNode"):tet(!1)),ret(e,l,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ts.env.NODE_ENV?tet(!1,"Missing leafNode"):tet(!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()),G9e(e,r,n)}),{});if(o){var u=o(s,t);l=G9e(l,u)}return eet.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},eet.createElement(J9e,null,n))},r}(eet.Component),oet=iet;var aet=w9e,set=oet,uet=S8e,cet=de,det=w7e;C2e.exports.List;var pet=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,u=e.selection,c=e.tree,d=t.getKey(),p=t.getText(),f=c.size-1,h=this.props.children||c.map((function(e,c){var h=e.get("decoratorKey"),m=e.get("leaves"),O=m.size-1,g=m.map((function(e,n){var o=uet.encode(d,c,n),a=e.get("start"),m=e.get("end");return cet.createElement(set,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===f&&n===O})})).toArray();return h&&o?cet.createElement(aet,{block:t,children:g,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:p,key:c}):g})).toArray();return cet.createElement("div",{"data-offset-key":uet.encode(d,0,0),className:det({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(cet.Component),fet=pet;function het(e,t){return!!t&&(e===t.documentElement||e===t.body)}var met={getTop:function(e){var t=e.ownerDocument;return het(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;het(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return het(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;het(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},Oet=met,get=/-(.)/g;var vet=function(e){return e.replace(get,(function(e,t){return t.toUpperCase()}))},yet=/([A-Z])/g;var bet=function(e){return e.replace(yet,"-$1").toLowerCase()},wet=vet,xet=bet;function _et(e){return null==e?e:String(e)}var ket=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return _et(n.getPropertyValue(xet(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return _et(n.getPropertyValue(xet(t)));if("display"===t)return"none"}return e.currentStyle?_et("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[wet(t)]):_et(e.style&&e.style[wet(t)])};function Pet(e,t){var n=$et.get(e,t);return"auto"===n||"scroll"===n}var $et={get:ket,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(Pet(e,"overflow")||Pet(e,"overflowY")||Pet(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},Qet=$et,Cet=R9e;var Tet=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!Cet(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 Eet=function(e){var t=Tet(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},Iet="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var Det=function(e){return(e=e||document).scrollingElement?e.scrollingElement:Iet||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var Ret=Det,Aet=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 zet=function(e){var t=Ret(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=Aet(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 Net(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function jet(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function Xet(){return{width:window.innerWidth||Net(),height:window.innerHeight||jet()}}Xet.withoutScrollbars=function(){return{width:Net(),height:jet()}};var Uet=Xet,qet=f3;function Met(){return Met=qet||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},Met.apply(this,arguments)}function Wet(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Let(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){Fet(e,t,n[t])}))}return e}function Fet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vet=fet,Zet=S8e,Bet=de,Yet=Oet,Get=Qet,Ket=Eet,Het=zet,Jet=Uet,ett=T5e,ttt=$8e;C2e.exports.List;var ntt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},rtt=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}},itt=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},ott=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=Let({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},att=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 Fet(Wet(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",Bet.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||ntt(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=Get.getScrollParent(n),o=Het(i);if(i===window){var a=Ket(n);(r=a.y+a.height-Jet().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{ttt(n)||("production"!==Ts.env.NODE_ENV?ett(!1,"blockNode is not an HTMLElement"):ett(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&Yet.setTop(i,Yet.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,u=t.editorKey,c=t.editorState,d=t.customStyleFn,p=t.customStyleMap,f=t.direction,h=t.forceSelection,m=t.selection,O=t.tree,g=null;n.children.size&&(g=n.children.reduce((function(t,n){var l=Zet.encode(n,0,0),d=s.getBlockForKey(n),p=itt(d,o),f=p.CustomComponent||r,h=rtt(d,i),m=h.Element,O=h.wrapperTemplate,g=ott(d,u,l,a,p,null),v=Let({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(Bet.createElement(m,g,Bet.createElement(f,v))),!O||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 u=s.value;if(u.type!==t)break;r.push(u)}}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 c=r.reverse(),d=c[0].key;n.push(Bet.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":Zet.encode(d,0,0)},c))}(O,m,t),t}),[]));var v=n.getKey(),y=Zet.encode(v,0,0),b=itt(n,o),w=b.CustomComponent,x=null!=w?Bet.createElement(w,Met({},this.props,{tree:c.getBlockTree(v),blockProps:b.customProps,offsetKey:y,block:n})):Bet.createElement(Vet,{block:n,children:g,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:f,forceSelection:h,hasSelection:ntt(m,v),selection:m,tree:O});if(n.getParentKey())return x;var _=rtt(n,i).Element,S=ott(n,u,y,a,b,this.wrapperRef);return Bet.createElement(_,S,x)},r}(Bet.Component),stt=f3;function ltt(){return ltt=stt||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},ltt.apply(this,arguments)}var utt=att,ctt=S8e,dtt=de,ptt=w6e,ftt=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(),u=n.getDecorator();return i!==o||a!==s||l!==u||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,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),f=ptt(a.getDirectionMap()),h=[],m=u.getBlocksAsArray()[0];m;){var O=m.getKey(),g={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:u,customStyleFn:o,customStyleMap:i,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:c,block:m,direction:l||f.get(O),tree:a.getBlockTree(O)},v=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:dtt.createElement(utt,ltt({key:O},g)),wrapperTemplate:v,key:O,offsetKey:ctt.encode(O,0,0)});var y=m.getNextSiblingKey();m=y?u.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 S=dtt.cloneElement(x.wrapperTemplate,{key:x.key+"-wrap","data-offset-key":x.offsetKey},_);b.push(S)}else b.push(x.block),w++}return dtt.createElement("div",{"data-contents":"true"},b)},r}(dtt.Component),htt=ftt,mtt=f3;function Ott(){return Ott=mtt||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},Ott.apply(this,arguments)}function gtt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vtt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ytt=oet,btt=S8e,wtt=de,xtt=Oet,_tt=Qet,Stt=h6e,ktt=r6e,Ptt=w7e,$tt=Eet,Qtt=zet,Ctt=Uet,Ttt=T5e,Ett=$8e,Itt=w6e,Dtt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Rtt=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 vtt(gtt(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||Dtt(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=_tt.getScrollParent(n),o=Qtt(i);if(i===window){var a=$tt(n);(r=a.y+a.height-Ctt().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{Ett(n)||("production"!==Ts.env.NODE_ENV?Ttt(!1,"blockNode is not an HTMLElement"):Ttt(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&xtt.setTop(i,xtt.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=Dtt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=btt.encode(n,s,l),d=a.get("start"),p=a.get("end");return wtt.createElement(ytt,{key:c,offsetKey:c,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===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=Itt(e.props.decorator),f=p.getComponentForKey(d);if(!f)return c;var h=p.getPropsForKey(d),m=btt.encode(n,s,0),O=l.first().get("start"),g=l.last().get("end"),v=r.slice(O,g),y=t.getEntityAt(a.get("start")),b=ktt.getHTMLDirIfDifferent(Stt.getDirection(v),e.props.direction),w={contentState:e.props.contentState,decoratedText:v,dir:b,start:O,end:g,blockKey:n,entityKey:y,offsetKey:m};return wtt.createElement(f,Ott({},h,w,{key:m}),c)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=Ptt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return wtt.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(wtt.Component),Att=Rtt;var ztt=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},Ntt=f3;function jtt(){return jtt=Ntt||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},jtt.apply(this,arguments)}function Xtt(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){Utt(e,t,n[t])}))}return e}function Utt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qtt=Att,Mtt=S8e,Wtt=de,Ltt=w7e,Ftt=ztt,Vtt=w6e,Ztt=function(e,t,n,r){return Ltt({"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})},Btt=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(),u=n.getDecorator();return i!==o||a!==s||l!==u||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,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),f=a.getDecorator(),h=Vtt(a.getDirectionMap()),m=c.getBlocksAsArray(),O=[],g=null,v=null,y=0;y<m.length;y++){var b=m[y],w=b.getKey(),x=b.getType(),_=n(b),S=void 0,k=void 0,P=void 0;_&&(S=_.component,k=_.props,P=_.editable);var $=u||h.get(w),Q=Mtt.encode(w,0,0),C={contentState:c,block:b,blockProps:k,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:f,direction:$,forceSelection:p,offsetKey:Q,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(x)||t.get("unstyled"),E=T.wrapper,I=T.element||t.get("unstyled").element,D=b.getDepth(),R="";if(r&&(R=r(b)),"li"===I)R=Ftt(R,Ztt(x,D,v!==E||null===g||D>g,$));var A=S||qtt,z={className:R,"data-block":!0,"data-editor":s,"data-offset-key":Q,key:w};void 0!==P&&(z=Xtt({},z,{contentEditable:P,suppressContentEditableWarning:!0}));var N=Wtt.createElement(I,z,Wtt.createElement(A,jtt({},C,{key:w})));O.push({block:N,wrapperTemplate:E,key:w,offsetKey:Q}),g=E?b.getDepth():null,v=E}for(var j=[],X=0;X<O.length;){var U=O[X];if(U.wrapperTemplate){var q=[];do{q.push(O[X].block),X++}while(X<O.length&&O[X].wrapperTemplate===U.wrapperTemplate);var M=Wtt.cloneElement(U.wrapperTemplate,{key:U.key+"-wrap","data-offset-key":U.offsetKey},q);j.push(M)}else j.push(U.block),X++}return Wtt.createElement("div",{"data-contents":"true"},j)},r}(Wtt.Component),Ytt=Btt,Gtt=$4e("draft_tree_data_support")?htt:Ytt,Ktt={isImage:function(e){return"image"===Htt(e)[0]},isJpeg:function(e){var t=Htt(e);return Ktt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function Htt(e){return e.split("/")}var Jtt=Ktt,ent=T5e;var tnt=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"!==Ts.env.NODE_ENV?ent(!1,"toArray: Array-like object expected"):ent(!1)),"number"!=typeof t&&("production"!==Ts.env.NODE_ENV?ent(!1,"toArray: Object needs a length property"):ent(!1)),0===t||t-1 in e||("production"!==Ts.env.NODE_ENV?ent(!1,"toArray: Object should have keys for indices"):ent(!1)),"function"==typeof e.callee&&("production"!==Ts.env.NODE_ENV?ent(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):ent(!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 nnt(e){return function(){return e}}var rnt=function(){};rnt.thatReturns=nnt,rnt.thatReturnsFalse=nnt(!1),rnt.thatReturnsTrue=nnt(!0),rnt.thatReturnsNull=nnt(null),rnt.thatReturnsThis=function(){return this},rnt.thatReturnsArgument=function(e){return e};var int=rnt,ont=Jtt,ant=tnt,snt=int,lnt=new RegExp("\r\n","g"),unt={"text/rtf":1,"text/html":1};function cnt(e){if("file"==e.kind)return e.getAsFile()}var dnt=function(){function e(e){this.data=e,this.types=e.types?ant(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return unt[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(lnt,"\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(!ont.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(cnt).filter(snt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),pnt=dnt,fnt=T5e,hnt=/\.textClipping$/,mnt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var Ont=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!Be.FileReader||e.type&&!(e.type in mnt))return void t("");if(""===e.type){var n="";return hnt.test(e.name)&&(n=e.name.replace(hnt,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Ts.env.NODE_ENV?fnt(!1,'We should be calling "FileReader.readAsText" which returns a string'):fnt(!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 gnt=function(e){return"handled"===e||!0===e},vnt=pnt,ynt=K3e,bnt=F6e,wnt=p8e,xnt=a8e,_nt=Ont,Snt=D8e,knt=f8e,Pnt=gnt,$nt=w6e;var Qnt={onDragEnd:function(e){e.exitCurrentMode(),Cnt(e)},onDrop:function(e,t){var n=new vnt(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=xnt(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=$nt(n),r=$nt(r);var a=$nt(wnt(n));return Snt(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&&Pnt(e.props.handleDroppedFiles(i,o)))return;_nt(o,(function(t){t&&e.update(Tnt(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&Pnt(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=ynt.moveText(e.getCurrentContent(),e.getSelection(),t);return bnt.push(e,n,"insert-fragment")}(r,i)):e.update(Tnt(r,i,n.getText()))),Cnt(e)}}}};function Cnt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:knt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Tnt(e,t,n){var r=ynt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return bnt.push(e,r,"insert-fragment")}var Ent=Qnt;var Int=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,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Ts.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)},u.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++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?Be:self);var Dnt=Be.setImmediate,Rnt=K3e,Ant=F6e,znt=J8e,Nnt=gnt,jnt=Int,Xnt=w6e,Unt=Dnt,qnt=o8e.isBrowser("Firefox");function Mnt(e,t,n,r,i){var o=Rnt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return Ant.push(e,o,"insert-characters",i)}var Wnt=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&&Nnt(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(Mnt(n,r,n.getCurrentInlineStyle(),znt(n.getCurrentContent(),n.getSelection()),!0));var s,l=Mnt(n,r,n.getCurrentInlineStyle(),znt(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=jnt(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),l=s+(s>=o?r.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==u||l!==c||null!=d&&c-u!=s-i}))}if(u||(s=r,u=qnt&&("'"==s||"/"==s)),u||(u=Xnt(l.getDirectionMap()).get(a)!==Xnt(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=Ant.set(l,{forceSelection:!0}),void e.update(l);l=Ant.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,Unt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},Lnt=F6e,Fnt=R9e,Vnt=A9e;var Znt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&Vnt(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&Fnt(i,r.anchorNode)&&Fnt(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(Lnt.acceptSelection(o,s))}},Bnt=F6e;var Ynt=function(e,t){e.setMode("composite"),e.update(Bnt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},Gnt=H5e;var Knt=function(e){var t=e.getSelection();return t.isCollapsed()?null:Gnt(e.getCurrentContent(),t)},Hnt=Knt;var Jnt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(Hnt(e._latestEditorState))};var ert=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},trt=K3e,nrt=F6e,rrt=Qet,irt=Knt,ort=zet,art=ert;var srt=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(art(o)){var a=o;n=ort(rrt.getScrollParent(a))}var s=irt(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=trt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return nrt.push(e,t,"remove-range")}(r))}),0)}};var lrt=function(e,t){e.setMode("drag"),t.preventDefault()};var urt=function(e){e._internalDrag=!0,e.setMode("drag")},crt=F6e,drt=o8e;var prt=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),drt.isBrowser("Chrome < 60.0.3081.0")?e.update(crt.forceSelection(n,i)):e.update(crt.acceptSelection(n,i))}},frt=T5e,hrt=/[\uD800-\uDFFF]/;function mrt(e){return 55296<=e&&e<=57343}function Ort(e){return hrt.test(e)}function grt(e,t){return 1+mrt(e.charCodeAt(t))}function vrt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!Ort(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+=grt(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=grt(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=grt(e,o);return e.substring(i,o)}var yrt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=grt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:grt,hasSurrogateUnit:Ort,isCodeUnitInSurrogateRange:mrt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ts.env.NODE_ENV?frt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):frt(!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(!Ort(e))return e.length;for(var t=0,n=0;n<e.length;n+=grt(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 vrt(e,t=t<n?t:n,r)},substr:vrt},brt=yrt,wrt=int;function xrt(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 _rt="production"!==Ts.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];xrt.apply(void 0,[t].concat(r))}}:wrt,Srt=_rt,krt=Srt;var Prt=function(e,t){var n=e.getSelection();"production"!==Ts.env.NODE_ENV&&krt(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})},$rt=K3e,Qrt=$4e("draft_tree_data_support");var Crt=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),l=i.getBlockForKey(a);if(Qrt&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(Qrt)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var u=i.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return $rt.removeRange(i,o,n)},Trt=F6e,Ert=brt,Irt=Prt,Drt=Crt;var Rrt=function(e){var t=Drt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return Irt(e,o?Ert.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Trt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},Art=K3e,zrt=S8e,Nrt=F6e,jrt=G8e.notEmptyKey,Xrt=p8e,Urt=Rrt,qrt=w6e,Mrt=o8e.isEngine("Gecko");var Wrt=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,u=e._latestEditorState,c=qrt(Xrt(r)),d=zrt.decode(c),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,m=u.getBlockTree(p).getIn([f,"leaves",h]),O=m.start,g=m.end,v=u.getCurrentContent(),y=v.getBlockForKey(p),b=y.getText().slice(O,g);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==b){var w,x,_,S,k=u.getSelection(),P=k.merge({anchorOffset:O,focusOffset:g,isBackward:!1}),$=y.getEntityAt(O),Q=jrt($)?v.getEntity($):null,C="MUTABLE"===(null!=Q?Q.getMutability():null),T=C?"spellcheck-change":"apply-entity",E=Art.replaceText(v,P,l,y.getInlineStyleAt(O),C?y.getEntityAt(O):null);if(Mrt)w=n.anchorOffset,x=n.focusOffset,S=(_=O+Math.min(w,x))+Math.abs(w-x),w=_,x=S;else{var I=l.length-b.length;_=k.getStartOffset(),S=k.getEndOffset(),w=i?S+I:_,x=S+I}var D=E.merge({selectionBefore:v.getSelectionAfter(),selectionAfter:k.merge({anchorOffset:w,focusOffset:x})});e.update(Nrt.push(u,D,T))}else{var R=t.nativeEvent.inputType;if(R){var A=function(e,t){return"deleteContentBackward"===e?Urt(t):t}(R,u);if(A!==u)return e.restoreEditorDOM(),void e.update(A)}}}},Lrt=k8e;var Frt=function(e){return e.which===Lrt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},Vrt=Frt,Zrt=o8e.isPlatform("Mac OS X"),Brt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Zrt&&e.altKey},usesMacOSHeuristics:function(){return Zrt},hasCommandModifier:function(e){return Zrt?!!e.metaKey&&!e.altKey:Brt.isCtrlKeyCommand(e)},isSoftNewlineEvent:Vrt},Yrt=Brt,Grt=K3e,Krt=F6e,Hrt=H5e,Jrt=w6e,eit=null,tit={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=Jrt(r),eit=Hrt(t,r);var s=Grt.removeRange(t,r,"forward");return s===t?e:Krt.push(e,s,"remove-range")},paste:function(e){if(!eit)return e;var t=Grt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),eit);return Krt.push(e,t,"insert-fragment")}},nit=tit,rit=T5e;var iit=o8e.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"!==Ts.env.NODE_ENV?rit(!1,"Found an unexpected detached subtree when getting range client rects."):rit(!1)}:function(e){return Array.from(e.getClientRects())},oit=iit,ait=brt,sit=a8e,lit=oit,uit=T5e;function cit(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 dit(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 pit=function(e){e.collapsed||("production"!==Ts.env.NODE_ENV?uit(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):uit(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=sit(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"!==Ts.env.NODE_ENV?uit(!1,"Missing document.body"):uit(!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);cit(lit(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Ts.env.NODE_ENV?uit(!1,"Found unexpected detached subtree when traversing."):uit(!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&&ait.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!cit(lit(e),n))break;r=o,i=l}if(-1===l||0===o.childNodes.length)break;a=dit(o=o.childNodes[l])}return e.setStart(r,i),e},fit=F6e,hit=pit,mit=M8e,Oit=Prt,git=Crt;var vit=function(e,t){var n=git(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return Oit(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=hit(r),mit(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:fit.push(e,n,"remove-range")},yit="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),bit=new RegExp("^(?:"+yit+")*(?:['‘’]|(?!"+yit+").)*(?:(?!"+yit+").)"),wit=new RegExp("(?:(?!"+yit+").)(?:['‘’]|(?!"+yit+").)*(?:"+yit+")*$");function xit(e,t){var n=t?wit.exec(e):bit.exec(e);return n?n[0]:e}var _it={getBackward:function(e){return xit(e,!0)},getForward:function(e){return xit(e,!1)}},Sit=_it,kit=F6e,Pit=Prt,$it=Crt;var Qit=function(e){var t=$it(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return Pit(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=Sit.getBackward(i);return Pit(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:kit.push(e,t,"remove-range")},Cit=Srt;var Tit=function(e,t){var n=e.getSelection();"production"!==Ts.env.NODE_ENV&&Cit(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})},Eit=_it,Iit=F6e,Dit=Tit,Rit=Crt;var Ait=function(e){var t=Rit(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=Eit.getForward(i);return Dit(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:Iit.push(e,t,"remove-range")},zit=K3e,Nit=F6e;var jit=F6e;var Xit=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return jit.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},Uit=F6e;var qit=function(e){var t=e.getSelection(),n=t.getStartKey();return Uit.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Mit=F6e,Wit=brt,Lit=Tit,Fit=Crt;var Vit=function(e){var t=Fit(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return Lit(e,o?Wit.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Mit.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},Zit=K3e,Bit=F6e,Yit=H5e;var Git=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=Yit(a,r),u=Zit.removeRange(a,r,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),f=Zit.replaceWithFragment(u,p,l),h=Bit.push(e,f,"insert-fragment");return Bit.acceptSelection(h,i)},Kit=F6e;var Hit=function(e,t,n){var r=Kit.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(Kit.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(Kit.set(r,{nativelyRenderedContent:i}))}},Jit=K3e,eot=F6e,tot=k8e,not=nit,rot=o8e,iot=gnt,oot=vit,aot=Qit,sot=Ait,lot=function(e){var t=zit.splitBlock(e.getCurrentContent(),e.getSelection());return Nit.push(e,t,"split-block")},uot=Xit,cot=qit,dot=Rrt,pot=Vit,fot=Git,hot=Hit,mot=Yrt.isOptionKeyCommand,Oot=rot.isBrowser("Chrome");var got=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 tot.RETURN:if(t.preventDefault(),e.props.handleReturn&&iot(e.props.handleReturn(t,r)))return;break;case tot.ESC:if(t.preventDefault(),i("onEscape"))return;break;case tot.TAB:if(i("onTab"))return;break;case tot.UP:if(i("onUpArrow"))return;break;case tot.RIGHT:if(i("onRightArrow"))return;break;case tot.DOWN:if(i("onDownArrow"))return;break;case tot.LEFT:if(i("onLeftArrow"))return;break;case tot.SPACE:Oot&&mot(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!iot(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return eot.redo(t);case"delete":return pot(t);case"delete-word":return sot(t);case"backspace":return dot(t);case"backspace-word":return aot(t);case"backspace-to-start-of-line":return oot(t,n);case"split-block":return lot(t);case"transpose-characters":return fot(t);case"move-selection-to-start-of-block":return cot(t);case"move-selection-to-end-of-block":return uot(t);case"secondary-cut":return not.cut(t);case"secondary-paste":return not.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else hot(t,r,e.update);else if(n===tot.SPACE&&Oot&&mot(t)){var s=Jit.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(eot.push(r,s,"insert-characters"))}};var vot=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}(),yot=vot,bot=T5e,wot=o8e.isBrowser("IE <= 9");var xot=function(e){var t,n=null;return!wot&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ts.env.NODE_ENV?bot(!1,"Missing doc.documentElement"):bot(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},_ot=s8e;var Sot=function(e){return!(!e||!e.ownerDocument)&&(_ot(e)&&"A"===e.nodeName)},kot=s8e;var Pot,$ot=function(e){return!(!e||!e.ownerDocument)&&(kot(e)&&"IMG"===e.nodeName)};function Qot(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){Cot(e,t,n[t])}))}return e}function Cot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tot=M2e,Eot=r5e,Iot=v5e,Dot=S7e,Rot=S4e,Aot=yot,zot=w7e,Not=U5e,jot=xot,Xot=$4e,Uot=C2e.exports,qot=Uot.List,Mot=Uot.Map,Wot=Uot.OrderedSet,Lot=Sot,Fot=E9e,Vot=$8e,Zot=$ot,Bot=Xot("draft_tree_data_support"),Yot=new RegExp("\r","g"),Got=new RegExp("\n","g"),Kot=new RegExp("^\n","g"),Hot=new RegExp("&nbsp;","g"),Jot=new RegExp("&#13;?","g"),eat=new RegExp("&#8203;?","g"),tat=["bold","bolder","500","600","700","800","900"],nat=["light","lighter","normal","100","200","300","400"],rat=["className","href","rel","target","title"],iat=["alt","className","height","src","width"],oat=(Cot(Pot={},zot("public/DraftStyleDefault/depth0"),0),Cot(Pot,zot("public/DraftStyleDefault/depth1"),1),Cot(Pot,zot("public/DraftStyleDefault/depth2"),2),Cot(Pot,zot("public/DraftStyleDefault/depth3"),3),Cot(Pot,zot("public/DraftStyleDefault/depth4"),4),Pot),aat=Mot({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),sat=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)}))})),Mot(t)},lat=function(e){if(Vot(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},uat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(oat).some((function(n){e.classList.contains(n)&&(t=oat[n])})),t},cat=function(e){if(!Lot(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},dat=function(e){if(!Zot(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},pat=function(e,t){if(!Vot(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){tat.indexOf(r)>=0?e.add("BOLD"):nat.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"))}))},fat=function(e){return"ul"===e||"ol"===e},hat=function(){function e(e,t){Cot(this,"characterList",qot()),Cot(this,"currentBlockType","unstyled"),Cot(this,"currentDepth",0),Cot(this,"currentEntity",null),Cot(this,"currentText",""),Cot(this,"wrapper",null),Cot(this,"blockConfigs",[]),Cot(this,"contentBlocks",[]),Cot(this,"entityMap",Rot),Cot(this,"blockTypeMap",void 0),Cot(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=qot(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Rot,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],Wot())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Bot?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||Not(),n=Qot({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:qot(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=qot(),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||fat(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;fat(o)&&(this.wrapper=o,fat(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(dat(i))this._addImgNode(i,t);else if(cat(i))this._addAnchorNode(i,n,t);else{var u=t;aat.has(o)&&(u=u.add(aat.get(o))),u=pat(i,u);var c=lat(i);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),u))}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"),!Bot&&Vot(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=i;this.currentDepth=uat(f,this.currentDepth)}var h=Not(),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=Tot.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=qot()):(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(Kot,"")).replace(Got," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){Fot(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(Zot(e)){var n=e,r={};iat.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),Xot("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(Lot(e)){var r=e,i={};rat.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new Aot(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=qot(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new Iot(Qot({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return qot(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 Eot(Qot({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=qot(),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}(),mat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jot,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Dot,r=t(e=e.trim().replace(Yot,"").replace(Hot," ").replace(Jot,"").replace(eat,""));if(!r)return null;var i=sat(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new hat(i,o).addDOMNode(r).getContentBlocks()};function Oat(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gat=r5e,vat=v5e,yat=mat,bat=U5e,wat=xot,xat=$4e,_at=C2e.exports,Sat=C4e,kat=_at.List,Pat=_at.Repeat,$at=xat("draft_tree_data_support"),Qat=$at?vat:gat,Cat={processHTML:function(e,t){return yat(e,wat,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=Sat(r);var o=bat(),a={key:o,type:n,text:r,characterList:kat(Pat(t,r.length))};if($at&&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){Oat(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new Qat(a)),e}),[])}};var Tat=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})},Eat=K3e,Iat=F6e,Dat=Tat,Rat=w6e,Aat={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 Aat.toggleInlineStyle(e,"BOLD");case"italic":return Aat.toggleInlineStyle(e,"ITALIC");case"underline":return Aat.toggleInlineStyle(e,"UNDERLINE");case"code":return Aat.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Aat.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return Aat.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=Eat.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=Iat.push(e,t,"insert-characters");return Iat.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 Iat.push(e,a,"remove-range")}var s=Aat.tryToRemoveBlockStyle(e);return s?Iat.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=Eat.removeRange(n,a,"forward");return s!==n?Iat.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 u=Dat(o,r,e.shiftKey?-1:1,n);return Iat.push(t,u,"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=Rat(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()})))return e;var l=o.getBlockForKey(r).getType()===t?"unstyled":t;return Iat.push(e,Eat.setBlockType(o,a,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?Aat.toggleBlockType(e,"code-block"):Aat.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return Iat.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?Eat.removeInlineStyle(o,n,t):Eat.applyInlineStyle(o,n,t),Iat.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=Eat.applyEntity(e.getCurrentContent(),t,n);return Iat.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 Eat.setBlockType(i,t,"unstyled")}return null}},zat=Aat,Nat=/\r\n?|\n/g;var jat=I2e,Xat=M2e,Uat=pnt,qat=K3e,Mat=Cat,Wat=F6e,Lat=zat,Fat=J8e,Vat=Ont,Zat=gnt,Bat=function(e){return e.split(Nat)};function Yat(e,t,n){var r=qat.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return Wat.push(e,r.set("entityMap",n),"insert-fragment")}var Gat=function(e,t){t.preventDefault();var n=new Uat(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&Zat(e.props.handlePastedFiles(r)))return;return void Vat(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=Bat(t),o=Xat.create({style:n.getCurrentInlineStyle(),entity:Fat(n.getCurrentContent(),n.getSelection())}),a=Lat.getCurrentBlockType(n),s=Mat.processText(r,o,a),l=jat.createFromArray(s),u=qat.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(Wat.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Zat(e.props.handlePastedText(a,s,l))){if(a&&(o=Bat(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(Yat(e._latestEditorState,u))}else if(u&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,u))return void e.update(Yat(e._latestEditorState,u));if(s){var c=Mat.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var f=jat.createFromArray(d);return void e.update(Yat(e._latestEditorState,f,p))}}}e.setClipboard(null)}if(o.length){var h=Xat.create({style:l.getCurrentInlineStyle(),entity:Fat(l.getCurrentContent(),l.getSelection())}),m=Lat.getCurrentBlockType(l),O=Mat.processText(o,h,m),g=jat.createFromArray(O);e.update(Yat(e._latestEditorState,g))}}},Kat=o8e,Hat=Wnt,Jat=Znt,est=Ynt,tst=Jnt,nst=srt,rst=lrt,ist=urt,ost=prt,ast=Wrt,sst=got,lst=Gat,ust=Y8e,cst=Kat.isBrowser("Chrome"),dst=Kat.isBrowser("Firefox"),pst=cst||dst?ust:function(e){},fst={onBeforeInput:Hat,onBlur:Jat,onCompositionStart:est,onCopy:tst,onCut:nst,onDragOver:rst,onDragStart:ist,onFocus:ost,onInput:ast,onKeyDown:sst,onPaste:lst,onSelect:ust,onMouseUp:pst,onKeyUp:pst},hst=We.unstable_flushControlled;var mst=de,Ost=w7e,gst=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=Ost({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return mst.createElement("div",{className:t},mst.createElement("div",{className:Ost("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(mst.Component),vst=gst,yst=Yrt,bst=k8e,wst=o8e,xst=wst.isPlatform("Mac OS X"),_st=xst&&wst.isBrowser("Firefox < 29"),Sst=yst.hasCommandModifier,kst=yst.isCtrlKeyCommand;function Pst(e){return xst&&e.altKey||kst(e)}var $st=function(e){switch(e.keyCode){case 66:return Sst(e)?"bold":null;case 68:return kst(e)?"delete":null;case 72:return kst(e)?"backspace":null;case 73:return Sst(e)?"italic":null;case 74:return Sst(e)?"code":null;case 75:return xst&&kst(e)?"secondary-cut":null;case 77:case 79:return kst(e)?"split-block":null;case 84:return xst&&kst(e)?"transpose-characters":null;case 85:return Sst(e)?"underline":null;case 87:return xst&&kst(e)?"backspace-word":null;case 89:return kst(e)?xst?"secondary-paste":"redo":null;case 90:return function(e){return Sst(e)?e.shiftKey?"redo":"undo":null}(e)||null;case bst.RETURN:return"split-block";case bst.DELETE:return function(e){return!xst&&e.shiftKey?null:Pst(e)?"delete-word":"delete"}(e);case bst.BACKSPACE:return function(e){return Sst(e)&&xst?"backspace-to-start-of-line":Pst(e)?"backspace-word":"backspace"}(e);case bst.LEFT:return _st&&Sst(e)?"move-selection-to-start-of-block":null;case bst.RIGHT:return _st&&Sst(e)?"move-selection-to-end-of-block":null;default:return null}},Qst=f3;function Cst(){return Cst=Qst||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},Cst.apply(this,arguments)}function Tst(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){Ist(e,t,n[t])}))}return e}function Est(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ist(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dst(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Rst=S7e,Ast=k7e,zst=f9e,Nst=Gtt,jst=Ent,Xst=fst,Ust=hst,qst=vst,Mst=F6e,Wst=de,Lst=Oet,Fst=Qet,Vst=w7e,Zst=U5e,Bst=$st,Yst=zet,Gst=$4e,Kst=T5e,Hst=$8e,Jst=w6e,elt=o8e.isBrowser("IE"),tlt=!elt,nlt={edit:Xst,composite:zst,drag:jst,cut:null,render:null},rlt=!1,ilt=function(e){function t(){return e.apply(this,arguments)||this}Dst(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}(Wst.Component),olt=function(e){function t(t){var n;return Ist(Est(n=e.call(this,t)||this),"_blockSelectEvents",void 0),Ist(Est(n),"_clipboard",void 0),Ist(Est(n),"_handler",void 0),Ist(Est(n),"_dragCount",void 0),Ist(Est(n),"_internalDrag",void 0),Ist(Est(n),"_editorKey",void 0),Ist(Est(n),"_placeholderAccessibilityID",void 0),Ist(Est(n),"_latestEditorState",void 0),Ist(Est(n),"_latestCommittedEditorState",void 0),Ist(Est(n),"_pendingStateFromBeforeInput",void 0),Ist(Est(n),"_onBeforeInput",void 0),Ist(Est(n),"_onBlur",void 0),Ist(Est(n),"_onCharacterData",void 0),Ist(Est(n),"_onCompositionEnd",void 0),Ist(Est(n),"_onCompositionStart",void 0),Ist(Est(n),"_onCopy",void 0),Ist(Est(n),"_onCut",void 0),Ist(Est(n),"_onDragEnd",void 0),Ist(Est(n),"_onDragOver",void 0),Ist(Est(n),"_onDragStart",void 0),Ist(Est(n),"_onDrop",void 0),Ist(Est(n),"_onInput",void 0),Ist(Est(n),"_onFocus",void 0),Ist(Est(n),"_onKeyDown",void 0),Ist(Est(n),"_onKeyPress",void 0),Ist(Est(n),"_onKeyUp",void 0),Ist(Est(n),"_onMouseDown",void 0),Ist(Est(n),"_onMouseUp",void 0),Ist(Est(n),"_onPaste",void 0),Ist(Est(n),"_onSelect",void 0),Ist(Est(n),"editor",void 0),Ist(Est(n),"editorContainer",void 0),Ist(Est(n),"focus",void 0),Ist(Est(n),"blur",void 0),Ist(Est(n),"setMode",void 0),Ist(Est(n),"exitCurrentMode",void 0),Ist(Est(n),"restoreEditorDOM",void 0),Ist(Est(n),"setClipboard",void 0),Ist(Est(n),"getClipboard",void 0),Ist(Est(n),"getEditorKey",void 0),Ist(Est(n),"update",void 0),Ist(Est(n),"onDragEnter",void 0),Ist(Est(n),"onDragLeave",void 0),Ist(Est(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),Ist(Est(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=Fst.getScrollParent(i),a=e||Yst(o),s=a.x,l=a.y;Hst(i)||("production"!==Ts.env.NODE_ENV?Kst(!1,"editorNode is not an HTMLElement"):Kst(!1)),i.focus(),o===window?window.scrollTo(s,l):Lst.setTop(o,l),r||n.update(Mst.forceSelection(t,t.getSelection()))}})),Ist(Est(n),"blur",(function(){var e=n.editor;e&&(Hst(e)||("production"!==Ts.env.NODE_ENV?Kst(!1,"editorNode is not an HTMLElement"):Kst(!1)),e.blur())})),Ist(Est(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=Tst({},nlt.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=Tst({},nlt,{edit:a});n._handler=s[e]})),Ist(Est(n),"exitCurrentMode",(function(){n.setMode("edit")})),Ist(Est(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),Ist(Est(n),"setClipboard",(function(e){n._clipboard=e})),Ist(Est(n),"getClipboard",(function(){return n._clipboard})),Ist(Est(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),Ist(Est(n),"onDragEnter",(function(){n._dragCount++})),Ist(Est(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||Zst(),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"!==Ts.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}Dst(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&&(Ust?Ust((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:Jst(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Wst.createElement(qst,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,u=e.textAlignment,c=e.textDirectionality,d=Vst({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),p=this.props.role||"textbox",f="combobox"===p?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:Tst({},Ast,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return Wst.createElement("div",{className:d},this._renderPlaceholder(),Wst.createElement("div",{className:Vst("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Wst.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:Vst({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:tlt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Wst.createElement(ilt,{editor:this,editorState:a}),Wst.createElement(Nst,Cst({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!rlt&&Gst("draft_ods_enabled")&&(rlt=!0),this.setMode("edit"),elt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Be.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(Wst.Component);Ist(olt,"defaultProps",{blockRenderMap:Rst,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:Bst,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var alt=olt,slt=Ge(Object.freeze({__proto__:null})),llt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},ult=llt,clt=brt.strlen;var dlt=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:clt(o.slice(0,r)),length:clt(o.slice(r,i)),key:Number(t[ult.stringify(a)])})})),n},plt=brt,flt=W2e,hlt=function(e,t){return e===t},mlt=function(e){return!!e},Olt=[];var glt=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 flt(i,hlt,mlt,(function(t,i){var o=e.getText();r.push({offset:plt.strlen(o.slice(0,t)),length:plt.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(Olt,n.toJS())};function vlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ylt=r5e,blt=v5e,wlt=llt,xlt=dlt,_lt=glt,Slt=T5e,klt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:_lt(e),entityRanges:xlt(e,t),data:e.getData().toObject()}},Plt=function(e,t,n,r){if(e instanceof ylt)n.push(klt(e,t));else{e instanceof blt||("production"!==Ts.env.NODE_ENV?Slt(!1,"block is not a BlockNode"):Slt(!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){vlt(e,t,n[t])}))}return e}({},klt(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},$lt=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=wlt.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),Plt(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(wlt.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function Qlt(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}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 Tlt=U5e,Elt=T5e,Ilt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},Dlt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ts.env.NODE_ENV?Elt(!1,"Invalid raw state"):Elt(!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"!==Ts.env.NODE_ENV?Elt(!1,"Invalid tree raw block"):Elt(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=Qlt({},e);Ilt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?Qlt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,Qlt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=Ilt(e),i=e.depth||0,o=Qlt({},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:Tlt(),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)})),Qlt({},e,{blocks:t})}},Rlt=Dlt,Alt=Srt,zlt={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ts.env.NODE_ENV&&Alt(!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"!==Ts.env.NODE_ENV&&Alt(!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)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==Ts.env.NODE_ENV&&Alt(!0,"%s has no first child",r),!1;r=l.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Ts.env.NODE_ENV&&Alt(!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)}},Nlt=zlt,jlt=M2e,Xlt=C2e.exports.List;var Ult=function(e,t){var n=e.map((function(e,n){var r=t[n];return jlt.create({style:e,entity:r})}));return Xlt(n)},qlt=brt.substr;var Mlt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=qlt(e,0,t.offset).length,i=r+qlt(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},Wlt=brt,Llt=C2e.exports.OrderedSet,Flt=Wlt.substr,Vlt=Llt();var Zlt=function(e,t){var n=Array(e.length).fill(Vlt);return t&&t.forEach((function(t){for(var r=Flt(e,0,t.offset).length,i=r+Flt(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function Blt(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){Ylt(e,t,n[t])}))}return e}function Ylt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Glt=r5e,Klt=v5e,Hlt=K4e,Jlt=S4e,eut=Rlt,tut=Nlt,nut=P4e,rut=Ult,iut=Mlt,out=Zlt,aut=U5e,sut=C2e.exports,lut=T5e,uut=$4e("draft_tree_data_support"),cut=sut.List,dut=sut.Map,put=sut.OrderedMap,fut=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||aut(),data:dut(i),characterList:hut(e,t)}},hut=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return rut(out(n,i||[]),iut(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return Blt({},e,{key:t[e.key]})}))))},mut=function(e){return Blt({},e,{key:e.key||aut()})},Out=function(e,t,n){var r=t.map((function(e){return Blt({},e,{parentRef:n})}));return e.concat(r.reverse())},gut=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=uut&&!n?eut.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!uut)return function(e,t){return put(e.map((function(e){var n=new Glt(fut(e,t));return[n.getKey(),n]})))}(n?eut.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(mut).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Ts.env.NODE_ENV?lut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):lut(!1));var o=r.children.map(mut),a=new Klt(Blt({},fut(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:cut(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=Out([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==Ts.env.NODE_ENV?lut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):lut(!1));break}var f=l.children.map(mut),h=new Klt(Blt({},fut(l,t),{parent:u.getKey(),children:cut(f.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(h.getKey(),h),s=Out(s,f,h)}return n}),put())}(r,t);return"production"!==Ts.env.NODE_ENV&&(tut.isValidTree(i)||("production"!==Ts.env.NODE_ENV?lut(!1,"Should be a valid tree"):lut(!1))),i},vut=function(e){Array.isArray(e.blocks)||("production"!==Ts.env.NODE_ENV?lut(!1,"invalid RawDraftContentState"):lut(!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]=Jlt.__create(i,o,a||{})})),n}(e),n=gut(e,t),r=n.isEmpty()?new nut:nut.createEmpty(n.first().getKey());return new Hlt({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},yut=oit;var but=function(e){var t=yut(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 u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),r=Math.max(r,u.right),i=Math.max(i,u.bottom),o=Math.min(o,u.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}},wut=but;var xut=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=wut(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r},_ut={Editor:alt,EditorBlock:Att,EditorState:F6e,CompositeDecorator:y7e,Entity:S4e,EntityInstance:h4e,BlockMapBuilder:I2e,CharacterMetadata:M2e,ContentBlock:r5e,ContentState:K4e,RawDraftContentState:slt,SelectionState:P4e,AtomicBlockUtils:O7e,KeyBindingUtil:Yrt,Modifier:K3e,RichUtils:zat,DefaultDraftBlockRenderMap:S7e,DefaultDraftInlineStyle:k7e,convertFromHTML:mat,convertFromRaw:vut,convertToRaw:$lt,genKey:U5e,getDefaultKeyBinding:$st,getVisibleSelectionRect:xut};function Sut(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 kut=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},Put={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"},$ut=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Qut(e){if(-1!==$ut.indexOf(e.type))return Ve.renderToStaticMarkup(e);var t=Ve.renderToStaticMarkup(de.cloneElement(e,{},"\r")).split("\r");return bEe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),bEe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function Cut(e){return de.isValidElement(e)&&de.Children.count(e.props.children)>0}function Tut(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(de.isValidElement(e)){if(Cut(e))return Ve.renderToStaticMarkup(e);var n=Qut(e);if(null!==t&&"object"===Ys(n)){var r=n.start,i=n.end;return r+t+i}return n}if(bEe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var Eut=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(de.isValidElement(t)){var r=Qut(t);if("string"==typeof r)return 0;var i=r[n].length,o=de.Children.toArray(t.props.children)[0];return i+(o&&de.isValidElement(o)?e(o,n):0)}return"object"===Ys(t)&&t[n]?t[n].length:0},Iut=function(){var e=arguments.length>1?arguments[1]:void 0;return e},Dut=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Iut,r=_0e(e.text),i=n;if(n.__isMiddleware&&(i=n(Iut)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(kut),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=r.slice(n.offset,n.offset+n.length).join(""),u=i(s,l),c=Tut(u,l),d=void 0;d=c||""===c?_0e(c):l;var p=Eut(u,"start"),f=Eut(u,"end"),h=function(t){return t.reduce((function(t,r,i){var o=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?Sut(t,n.offset,n.length,d.length,p,f):t}(r,i);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=h(o),a=h(a),r=[].concat(_0e(r.slice(0,n.offset)),_0e(d),_0e(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},Rut=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},Aut=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function zut(e){switch(e){case"BOLD":return de.createElement("strong",null);case"ITALIC":return de.createElement("em",null);case"UNDERLINE":return de.createElement("u",null);case"CODE":return de.createElement("code",null);default:return{start:"",end:""}}}var Nut=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},jut=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return bEe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Xut=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Uut=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},qut=function(e,t){return t.offset+t.length-(e.offset+e.length)},Mut=function(e,t){for(var n=0;n<e.length;){if(!t.every(Uut.bind(null,e[n])))return e.slice(n);n++}return[]},Wut=function(e,t,n){return t+Tut(e(n.style)).start},Lut=function(e,t,n){return Tut(e(n.style)).end+t},Fut=function(e){return function(t){return e(t)}};Fut.__isMiddleware=!0;var Vut=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function Zut(e){return bEe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:de.isValidElement(e)?function(e){return de.isValidElement(e)&&de.Children.count(e.props.children)>0}(e)?Ve.renderToStaticMarkup(e):Qut(e):Object.prototype.hasOwnProperty.call(e,"element")&&de.isValidElement(e.element)?Object.assign({},e,Qut(e.element)):(bEe(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 But(e,t){if(bEe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=Qut(e.nest(t)),r=n.start,i=n.end;return Object.assign({},e,{nestStart:r,nestEnd:i})}if(de.isValidElement(e.nest)){var o=Qut(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return bEe(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 Yut=["1","a","i"],Gut={unstyled:de.createElement("p",null),paragraph:de.createElement("p",null),"header-one":de.createElement("h1",null),"header-two":de.createElement("h2",null),"header-three":de.createElement("h3",null),"header-four":de.createElement("h4",null),"header-five":de.createElement("h5",null),"header-six":de.createElement("h6",null),"code-block":de.createElement("pre",null),blockquote:de.createElement("blockquote",null),"unordered-list-item":{element:de.createElement("li",null),nest:de.createElement("ul",null)},"ordered-list-item":{element:de.createElement("li",null),nest:function(e){var t=Yut[e%3];return de.createElement("ol",{type:t})}},media:de.createElement("figure",null),atomic:de.createElement("figure",null)},Kut=function(e,t){return t},Hut=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,r=e.blockToHTML,i=void 0===r?{}:r,o=e.entityToHTML,a=void 0===o?Kut:o;return function(e){var t;bEe(null!=e,"Expected contentState to be non-null"),t=!0===i.__isMiddleware?i(Vut(Gut)):Aut(Vut(i),Vut(Gut));var r=_ut.convertToRaw(e),o=[],s=r.blocks.map((function(e){var i=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==o.length||i!==o[s].type;)if(s+1===o.length){var d=o[s];l+=But(t(d),s).nestEnd,u+=But(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=But(t(p),s).nestEnd,o=o.slice(0,-1)}else u+=But(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+But(t(n),s).nestEnd}),""),o=[];var f,h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fut;bEe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(zut):Aut(Rut(n),Rut(zut));for(var r="",i=[],o=e.inlineStyleRanges.sort(kut),a=_0e(e.text),s=0;s<a.length;s++){var l=Xut(s,o),u=Nut(i,l),c=Nut(l,i),d=Nut(i,u),p=Mut(d,c),f=p.concat(c).sort(qut),h=f.reduce(Wut.bind(null,t),"");r+=u.concat(p).reduce(Lut.bind(null,t),"")+h+a[s],i=(i=jut(i,p.concat(u))).concat(f),bEe(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+Tut(t(n.style)).end}),r)}(Dut(function(e){for(var t=_0e(e.text),n=e.entityRanges.sort(kut),r=e.inlineStyleRanges.sort(kut),i="",o=function(e){var o=t[e];if(void 0!==Put[o]){var a=Put[o],s=_0e(i).length;i+=a;var l=function(e){return Sut(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,a),n),m=Zut(t(e));return f="string"==typeof m?m:m.start+h+m.end,0===h.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(f=de.isValidElement(m.empty)?Ve.renderToStaticMarkup(m.empty):m.empty),l+u+f})).join("");return s=o.reduce((function(e,n){return e+But(t(n),n.depth).nestEnd}),s)}},Jut={exports:{}};Jut.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:Z(e)}function r(e){return s(e)?e:B(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(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 u(e){return s(e)||l(e)}function c(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=u,n.isOrdered=c,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",O=5,g=1<<O,v=g-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function S(){}function k(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(Q)),e.size}function $(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 Q(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function E(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,R=1,A=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",j=z||N;function X(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 q(){return{value:void 0,done:!0}}function M(e){return!!F(e)}function W(e){return e&&"function"==typeof e.next}function L(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 Z(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function B(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()}X.prototype.toString=function(){return"[Iterator]"},X.KEYS=D,X.VALUES=R,X.ENTRIES=A,X.prototype.inspect=X.prototype.toSource=function(){return this.toString()},X.prototype[j]=function(){return this},t(Z,n),Z.of=function(){return Z(arguments)},Z.prototype.toSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq {","}")},Z.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Z.prototype.__iterate=function(e,t){return de(this,e,t,!0)},Z.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(B,Z),B.prototype.toKeyedSeq=function(){return this},t(Y,Z),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,Z),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Z.isSeq=oe,Z.Keyed=B,Z.Set=G,Z.Indexed=Y;var K,H,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 K||(K=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():M(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return V(e)?new te(e):W(e)?new ie(e):M(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 X((function(){var e=i[n?o-a:a];return a++>o?q():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)}))):Oe(t)?e.call(r,n,B(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():Oe(e)?B(e).map(me).toMap():e}function Oe(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ge(i[1],e)&&(n||ge(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?!ge(t,e.get(r,y)):!ge(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(H)return H;H=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 Se(){}function ke(){}Z.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[$(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 X((function(){return i>r?q():U(e,i,n[t?r-i++:i++])}))},t(ne,B),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 X((function(){var a=r[t?i-o:o];return o++>i?q():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=L(this._iterable),r=0;if(W(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=L(this._iterable);if(!W(n))return new X(q);var r=0;return new X((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 X((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 ge(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new ye(this._value,E(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ge(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 X((function(){return r<n.size?U(e,r++,n._value):q()}))},ye.prototype.equals=function(e){return e instanceof ye?ge(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+$(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 C(e,t,this.size)?this:(e=T(e,this.size),(t=E(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 X((function(){var a=i;return i+=t?-r:r,o>n?q():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(Se,xe),t(ke,xe),xe.Keyed=_e,xe.Indexed=Se,xe.Set=ke;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 $e(e){return e>>>1&1073741824|3221225471&e}function Qe(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 $e(n)}if("string"===t)return e.length>Xe?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ee(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Me[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,Me={}),qe++,Me[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return $e(t)}function Ee(e){var t;if(ze&&void 0!==(t=Ae.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Ae.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,je,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ae,ze="function"==typeof WeakMap;ze&&(Ae=new WeakMap);var Ne=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Xe=16,Ue=255,qe=0,Me={};function We(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Le(e){return null==e?it():Fe(e)&&!c(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Ze])}t(Le,_e),Le.prototype.toString=function(){return this.__toString("Map {","}")},Le.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Le.prototype.set=function(e,t){return ot(this,e,t)},Le.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},Le.prototype.remove=function(e){return ot(this,e,y)},Le.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},Le.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Le.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ot(this,xn(e),t,n);return r===y?void 0:r},Le.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()},Le.prototype.merge=function(){return pt(this,void 0,arguments)},Le.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},Le.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]}))},Le.prototype.mergeDeep=function(){return pt(this,ft,arguments)},Le.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},Le.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]}))},Le.prototype.sort=function(e){return Mt(dn(this,e))},Le.prototype.sortBy=function(e,t){return Mt(dn(this,t,e))},Le.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Le.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Le.prototype.asImmutable=function(){return this.__ensureOwner()},Le.prototype.wasAltered=function(){return this.__altered},Le.prototype.__iterator=function(e,t){return new et(this,e,t)},Le.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},Le.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)},Le.isMap=Fe;var Ve,Ze="@@__IMMUTABLE_MAP__@@",Be=Le.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 Ke(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function He(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(Be);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===He}function lt(e,t,n,r,i){if(e.keyHash===r)return new He(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+O,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ut(e,t,n,r){e||(e=new S);for(var i=new Je(e,Qe(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 ct(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=l,a[o++]=c)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Ke(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):ge(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 ge(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 Ot(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,u=i?y:e.get(l,y),c=Ot(u,t,n,r);return c===u?e:c===y?e.remove(l):(i?it():e).set(l,c)}function gt(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:k(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}Be[Ze]=!0,Be[m]=Be.remove,Be.removeIn=Be.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[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=Qe(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[gt(o&i-1)].get(e+O,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&i===y)return this;var d=gt(u&l-1),p=this.nodes,f=c?p[d]:void 0,h=at(f,e,t+O,n,r,i,o,a);if(h===f)return this;if(!c&&h&&p.length>=xt)return dt(e,p,u,s,h);if(c&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,b=c?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=g,this.nodes=b,this):new Ge(e,g,b)},Ke.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+O,t,n,r):r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=i===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+O,n,r,i,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<_t)return ct(e,u,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(u,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ke(e,p,h)},He.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(n,i[o][0]))return i[o][1];return r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new He(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return ge(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=ge(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,Qe(r),[r,i])))},Ye.prototype.iterate=He.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=Ke.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,X),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 q()};var wt=g/4,xt=g/2,_t=g/4;function St(e){var t=Rt();if(null==e)return t;if(kt(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<g?Dt(0,r,O,null,new Qt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function kt(e){return!(!e||!e[Pt])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if((e=$(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&v]}return t},St.prototype.set=function(e,t){return At(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=O,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},St.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Xt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},St.prototype.pop=function(){return Xt(this,0,-1)},St.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Xt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},St.prototype.shift=function(){return Xt(this,1)},St.prototype.merge=function(){return Ut(this,void 0,arguments)},St.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},St.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},St.prototype.setSize=function(e){return Xt(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:Xt(this,T(e,n),E(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new X((function(){var t=r();return t===Et?q():U(e,n++,t)}))},St.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Et&&!1!==e(n,r++,this););return r},St.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)},St.isList=kt;var Pt="@@__IMMUTABLE_LIST__@@",$t=St.prototype;function Qt(e,t){this.array=e,this.ownerID=t}$t[Pt]=!0,$t[m]=$t.remove,$t.setIn=Be.setIn,$t.deleteIn=$t.removeIn=Be.removeIn,$t.update=Be.update,$t.updateIn=Be.updateIn,$t.mergeIn=Be.mergeIn,$t.mergeDeepIn=Be.mergeDeepIn,$t.withMutations=Be.withMutations,$t.asMutable=Be.asMutable,$t.asImmutable=Be.asImmutable,$t.wasAltered=Be.wasAltered,Qt.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 Qt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-O,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},Qt.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-O,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 Ct,Tt,Et={};function It(e,t){var n=e._origin,r=e._capacity,i=qt(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,u=r-a;return u>g&&(u=g),function(){if(l===u)return Et;var e=t?--u:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,u=o>n?0:n-o>>i,c=1+(r-o>>i);return c>g&&(c=g),function(){for(;;){if(s){var e=s();if(e!==Et)return e;s=null}if(u===c)return Et;var n=t?--c:u++;s=a(l&&l[n],i-O,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create($t);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 Rt(){return Ct||(Ct=Dt(0,0,O))}function At(e,t,n){if((t=$(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Xt(e,t).set(0,n):Xt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=qt(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 u=e&&e.array[s],c=zt(u,t,n-O,r,i,o);return c===u?e:((a=Nt(e,t)).array[s]=c,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 Qt(e?e.array.slice():[],t)}function jt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<<e._level+O){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=O;return n}}function Xt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,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,u=e._root,c=0;a+c<0;)u=new Qt(u&&u.array.length?[void 0,u]:[],r),c+=1<<(l+=O);c&&(a+=c,i+=c,s+=c,o+=c);for(var d=qt(o),p=qt(s);p>=1<<l+O;)u=new Qt(u&&u.array.length?[u]:[],r),l+=O;var f=e._tail,h=p<d?jt(e,s-1):p>d?new Qt([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=u=Nt(u,r),g=l;g>O;g-=O){var y=d>>>g&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>O&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=O,u=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(c=0;u;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(c+=(1<<l)*b),l-=O,u=u.array[b]}u&&a>i&&(u=u.removeBefore(r,l,a-c)),u&&p<d&&(u=u.removeAfter(r,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,u,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],u=i(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return fe(e)}))),r.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function qt(e){return e<g?0:e-1>>>O<<O}function Mt(e){return null==e?Ft():Wt(e)?e:Ft().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return Fe(e)&&c(e)}function Lt(e,t,n,r){var i=Object.create(Mt.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=Lt(it(),Rt()))}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>=g&&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):Lt(r,i)}function Zt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Bt(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 Kt(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===A){var r=e.__iterator(t,n);return new X((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===R?D:R,n)},t}function Ht(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(A,i);return new X((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=Kt(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(A,o),s=0;return new X((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return U(i,r?u:s++,c,o)}}))},i}function tn(e,t,n){var r=Le().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=(c(e)?Mt():Le()).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),C(t,n,i))return e;var o=T(t,i),a=E(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 u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=$(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__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,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,r?n:u-1,i)&&u!==s})),u},u.__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 X((function(){for(;a++<o;)i.next();if(++l>s)return q();var e=i.next();return r||t===R?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},u}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(A,i),s=!0;return new X((function(){if(!s)return q();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(n,u,l,o)?r===A?e:U(r,l,u,e):(s=!1,q())}))},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,u){if(!s||!(s=t.call(n,e,o,u)))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(A,o),l=!0,u=0;return new X((function(){var e,o,c;do{if((e=s.next()).done)return r||i===R?e:U(i,u++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return i===A?e:U(i,o,c,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 u=new te(i);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,i){return(!t||u<t)&&a(e)?l(e,u+1):!1===r(e,n?i:o++,c)&&(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 X((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(r===A&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:U(r,l++,u,e);s.push(o),o=u.__iterator(r,i)}else o=s.pop()}return q()}))},r}function un(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 cn(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(R,r),a=0;return new X((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?B(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(R,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),L(i?e.reverse():e)})),a=0,s=!1;return new X((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():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 On(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return We(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?B:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Z.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=L(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=L(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);$n(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Le(o)},i=r.prototype=Object.create(Sn);return i.constructor=r,r}t(Mt,Le),Mt.of=function(){return this(arguments)},Mt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Mt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Mt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Mt.prototype.set=function(e,t){return Vt(this,e,t)},Mt.prototype.remove=function(e){return Vt(this,e,y)},Mt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Mt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Mt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Mt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Lt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Mt.isOrderedMap=Wt,Mt.prototype[h]=!0,Mt.prototype[m]=Mt.prototype.remove,t(Zt,B),Zt.prototype.get=function(e,t){return this._iter.get(e,t)},Zt.prototype.has=function(e){return this._iter.has(e)},Zt.prototype.valueSeq=function(){return this._iter.valueSeq()},Zt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Zt.prototype.map=function(e,t){var n=this,r=Ht(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Zt.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?gn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Zt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?gn(this):0;return new X((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Zt.prototype[h]=!0,t(Bt,Y),Bt.prototype.includes=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Bt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new X((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(R,t);return new X((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,B),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){On(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(R,t);return new X((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){On(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Bt.prototype.cacheResult=Zt.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=kn(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:kn(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:kn(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?kn(this,t,e):(this.__ownerID=e,this._map=t,this)};var Sn=_n.prototype;function kn(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 $n(e,t){try{t.forEach(Qn.bind(void 0,e))}catch(e){}}function Qn(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 Cn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}Sn[m]=Sn.remove,Sn.deleteIn=Sn.removeIn=Be.removeIn,Sn.merge=Be.merge,Sn.mergeWith=Be.mergeWith,Sn.mergeIn=Be.mergeIn,Sn.mergeDeep=Be.mergeDeep,Sn.mergeDeepWith=Be.mergeDeepWith,Sn.mergeDeepIn=Be.mergeDeepIn,Sn.setIn=Be.setIn,Sn.update=Be.update,Sn.updateIn=Be.updateIn,Sn.withMutations=Be.withMutations,Sn.asMutable=Be.asMutable,Sn.asImmutable=Be.asImmutable,t(Cn,ke),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(r(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Cn.prototype.clear=function(){return Rn(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return 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)}))}))},Cn.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)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Nn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var En,In="@@__IMMUTABLE_SET__@@",Dn=Cn.prototype;function Rn(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 An(e,t){var n=Object.create(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return En||(En=An(it()))}function Nn(e){return null==e?Mn():jn(e)?e:Mn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(e){return Tn(e)&&c(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Be.withMutations,Dn.asMutable=Be.asMutable,Dn.asImmutable=Be.asImmutable,Dn.__empty=zn,Dn.__make=An,t(Nn,Cn),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=jn;var Xn,Un=Nn.prototype;function qn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Xn||(Xn=qn(Ft()))}function Wn(e){return null==e?Yn():Ln(e)?e:Yn().unshiftAll(e)}function Ln(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Mn,Un.__make=qn,t(Wn,Se),Wn.of=function(){return this(arguments)},Wn.prototype.toString=function(){return this.__toString("Stack [","]")},Wn.prototype.get=function(e,t){var n=this._head;for(e=$(this,e);n&&e--;)n=n.next;return n?n.value:t},Wn.prototype.peek=function(){return this._head&&this._head.value},Wn.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):Bn(e,t)},Wn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;We(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):Bn(t,n)},Wn.prototype.pop=function(){return this.slice(1)},Wn.prototype.unshift=function(){return this.push.apply(this,arguments)},Wn.prototype.unshiftAll=function(e){return this.pushAll(e)},Wn.prototype.shift=function(){return this.pop.apply(this,arguments)},Wn.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()},Wn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(E(t,this.size)!==this.size)return Se.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):Bn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Bn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wn.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},Wn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new X((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Wn.isStack=Ln;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Zn=Wn.prototype;function Bn(e,t,n,r){var i=Object.create(Zn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Bn(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}Zn[Vn]=!0,Zn.withMutations=Be.withMutations,Zn.asMutable=Be.asMutable,Zn.asImmutable=Be.asImmutable,Zn.wasAltered=Be.wasAltered,n.Iterator=X,Gn(n,{toArray:function(){We(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Bt(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 Zt(this,!0)},toMap:function(){return Le(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Mt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return St(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 ge(t,e)}))},entries:function(){return this.__iterator(A)},every:function(e,t){We(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 We(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){We(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,Ht(this,e,t))},reduce:function(e,t,n){var r,i;return We(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(R)},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(Q)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(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 Kn=n.prototype;Kn[d]=!0,Kn[j]=Kn.values,Kn.__toJS=Kn.toArray,Kn.__toStringMapper=rr,Kn.inspect=Kn.toSource=function(){return this.toString()},Kn.chain=Kn.flatMap,Kn.contains=Kn.includes,function(){try{Object.defineProperty(Kn,"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,Kt(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 ge(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ge(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 Hn=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 k(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=c(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+lr(Qe(e),Qe(t))|0}:function(e,t){r=r+lr(Qe(e),Qe(t))|0}:t?function(e){r=31*r+Qe(e)|0}:function(e){r=r+Qe(e)|0}),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=$e((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Hn[p]=!0,Hn[j]=Kn.entries,Hn.__toJS=Kn.toObject,Hn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Zt(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(k(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=$(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=$(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(k(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(k(arguments))))},zipWith:function(e){var t=k(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=Kn.includes,Gn(B,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(Se,i.prototype),Gn(ke,o.prototype),{Iterable:n,Seq:Z,Collection:xe,Map:Le,OrderedMap:Mt,List:St,Stack:Wn,Set:Cn,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:ge,fromJS:fe}}();var ect=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function tct(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=ect(e)):t=ect(e);return t.body}var nct=new RegExp("\r","g"),rct=new RegExp("\n","g"),ict=new RegExp("&nbsp;","g"),oct=new RegExp("\r","g"),act=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],sct={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},lct=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},uct=function(e,t,n){},cct=function(e,t,n){return n},dct=function(e,t){},pct=function(e){return[]},fct=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function hct(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Jut.exports.Map();return!0===n?{text:"\r",inlines:[Jut.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Jut.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function mct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jut.exports.Map();return{text:"\r",inlines:[Jut.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function Oct(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 gct(e,t,n){return Oct(e,n)}function vct(e,t,n){var r=sct[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 yct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jut.exports.OrderedSet();return vct(e,t,n)}function bct(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 wct(e,t,n,r,i,o,a,s,l,u,c,d,p,f,h,m){var O=e.nodeName.toLowerCase(),g=!1,v="unstyled";if("#text"===O){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:[Jut.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(y=y.replace(rct," "));var b=Array(y.length).fill(m),w=0;return l(y,c,d,p,f).sort(kut).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"===O){var x=r;return null===x?hct("unstyled",o,!0):hct(x||"unstyled",o,h.flat)}var _={text:"",inlines:[],entities:[],blocks:[]};t=a(O,e,t=vct(O,e,t)),"ul"!==O&&"ol"!==O||(n&&(o+=1),n=O,r=null);var S,k,P=u(O,e,n,r);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(S=P,k=Jut.exports.Map()):(S="string"==typeof P?P:P.type,k=P.data?Jut.exports.Map(P.data):Jut.exports.Map()),r||-1===i.indexOf(O)&&!S)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==O)r&&"atomic"!==r&&"atomic"===S&&(r=S,g=!0,_=hct(S,o,!0,k));else{var $=Oct(O,n);_=mct($,o),r=$,g=!0,v="ul"===n?"unordered-list-item":"ordered-list-item"}else _=mct(S||Oct(O,n),o,k),r=S||Oct(O,n),g=!0;var Q=e.firstChild;null!=Q||!m||"atomic"!==S&&"atomic"!==r||(Q=document.createTextNode("a")),null!=Q&&(O=Q.nodeName.toLowerCase());for(var C=null;Q;){C=s(O,Q,c,d,p,f),_=bct(_,wct(Q,t,n,r,i,o,a,s,l,u,c,d,p,f,h,C||m),h.flat);var T=Q.nextSibling;if(T&&i.indexOf(O)>=0&&r){var E=u(O,Q,n,r),I=void 0,D=void 0;!1!==E&&("string"==typeof(E=E||{})?(I=E,D=Jut.exports.Map()):(I=E.type||Oct(O,n),D=E.data?Jut.exports.Map(E.data):Jut.exports.Map()),_=bct(_,hct(I,o,h.flat,D),h.flat))}T&&(O=T.nodeName.toLowerCase()),Q=T}return g&&(_=bct(_,mct(v,o,Jut.exports.Map()),h.flat)),_}function xct(e,t,n,r,i,o,a,s,l,u,c){var d=c(e=e.trim().replace(nct,"").replace(ict," "));if(!d)return null;var p=function(e){return act.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?act.concat(["div"]):["div"],f=wct(d,Jut.exports.OrderedSet(),"ul",null,p,-1,t,n,r,i,o,a,s,l,u);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:Jut.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:Jut.exports.Map(),depth:0}),f}function _ct(e,t,n,r,i,o,a,s,l,u,c,d){var p=xct(e,t,n,r,i,o,a,s,l,u,c);if(null==p)return[];var f=0;return p.text.split("\r").map((function(e,t){e=e.replace(oct,"");var n=f+e.length,r=fct(p).inlines.slice(f,n),i=fct(p).entities.slice(f,n),o=Jut.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),_ut.CharacterMetadata.create(n)})));return f=n+1,new _ut.ContentBlock({key:d(),type:fct(p).blocks[t].type,data:fct(p).blocks[t].data,depth:fct(p).blocks[t].depth,text:e,characterList:o})}))}var Sct=function(e){var t=e.htmlToStyle,n=void 0===t?cct:t,r=e.htmlToEntity,i=void 0===r?dct:r,o=e.textToEntity,a=void 0===o?pct:o,s=e.htmlToBlock,l=void 0===s?uct: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]:tct,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_ut.genKey,s=_ut.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():_ut.Entity.create.apply(_ut.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):_ut.Entity.get.apply(_ut.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):_ut.Entity.mergeData.apply(_ut.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):_ut.Entity.replaceData.apply(_ut.Entity,arguments)},f=_ct(e,lct(n,yct),lct(i,dct),lct(a,pct),lct(l,gct),u,c,d,p,t,r,o),h=_ut.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:h,selectionBefore:_ut.SelectionState.createEmpty(m),selectionAfter:_ut.SelectionState.createEmpty(m)})}},kct=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?Sct({}).apply(void 0,arguments):Sct.apply(void 0,arguments)};$4('/**\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 Pct={};function $ct(e){e&&(e.value=!0)}function Qct(){}function Cct(e){return void 0===e.size&&(e.size=e.__iterate(Ect)),e.size}function Tct(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?Cct(e)+t:t}function Ect(){return!0}function Ict(e,t,n){return(0===e&&!zct(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Dct(e,t){return Act(e,t,0)}function Rct(e,t){return Act(e,t,t)}function Act(e,t,n){return void 0===e?n:zct(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function zct(e){return e<0||0===e&&1/e==-1/0}function Nct(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function jct(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function Xct(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function Uct(e){return jct(e)||Xct(e)}var qct=function(e){return Nct(e)?e:sdt(e)},Mct=function(e){function t(e){return jct(e)?e:ldt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(qct),Wct=function(e){function t(e){return Xct(e)?e:udt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(qct),Lct=function(e){function t(e){return Nct(e)&&!Uct(e)?e:cdt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(qct);qct.Keyed=Mct,qct.Indexed=Wct,qct.Set=Lct;function Fct(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function Vct(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Zct(e){return Nct(e)||Vct(e)}var Bct="@@__IMMUTABLE_ORDERED__@@";function Yct(e){return Boolean(e&&e[Bct])}var Gct="function"==typeof Symbol&&Symbol.iterator,Kct=Gct||"@@iterator",Hct=function(e){this.next=e};function Jct(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 edt(){return{value:void 0,done:!0}}function tdt(e){return!!idt(e)}function ndt(e){return e&&"function"==typeof e.next}function rdt(e){var t=idt(e);return t&&t.call(e)}function idt(e){var t=e&&(Gct&&e[Gct]||e["@@iterator"]);if("function"==typeof t)return t}Hct.prototype.toString=function(){return"[Iterator]"},Hct.KEYS=0,Hct.VALUES=1,Hct.ENTRIES=2,Hct.prototype.inspect=Hct.prototype.toSource=function(){return this.toString()},Hct.prototype[Kct]=function(){return this};var odt=Object.prototype.hasOwnProperty;function adt(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 sdt=function(e){function t(e){return null==e?mdt():Zct(e)?e.toSeq():function(e){var t=vdt(e);if(t)return t;if("object"==typeof e)return new pdt(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 Hct((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return Jct(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(qct),ldt=function(e){function t(e){return null==e?mdt().toKeyedSeq():Nct(e)?jct(e)?e.toSeq():e.fromEntrySeq():Vct(e)?e.toSeq():Odt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(sdt),udt=function(e){function t(e){return null==e?mdt():Nct(e)?jct(e)?e.entrySeq():e.toIndexedSeq():Vct(e)?e.toSeq().entrySeq():gdt(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}(sdt),cdt=function(e){function t(e){return(Nct(e)&&!Uct(e)?e:udt(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}(sdt);sdt.isSeq=Fct,sdt.Keyed=ldt,sdt.Set=cdt,sdt.Indexed=udt,sdt.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var ddt=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[Tct(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 Hct((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return Jct(e,o,n[o])}))},t}(udt),pdt=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 odt.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 Hct((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return Jct(e,a,n[a])}))},t}(ldt);pdt.prototype[Bct]=!0;var fdt,hdt=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=rdt(this._collection),r=0;if(ndt(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=rdt(this._collection);if(!ndt(n))return new Hct(edt);var r=0;return new Hct((function(){var t=n.next();return t.done?t:Jct(e,r++,t.value)}))},t}(udt);function mdt(){return fdt||(fdt=new ddt([]))}function Odt(e){var t=Array.isArray(e)?new ddt(e):tdt(e)?new hdt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new pdt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function gdt(e){var t=vdt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function vdt(e){return adt(e)?new ddt(e):tdt(e)?new hdt(e):void 0}function ydt(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function bdt(e){return ydt(e)&&Yct(e)}function wdt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function xdt(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!!(wdt(e)&&wdt(t)&&e.equals(t))}var _dt="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 Sdt(e){return e>>>1&1073741824|3221225471&e}var kdt=Object.prototype.valueOf;function Pdt(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 Sdt(t)}(e);case"string":return e.length>Rdt?function(e){var t=Ndt[e];void 0===t&&(t=$dt(e),zdt===Adt&&(zdt=0,Ndt={}),zdt++,Ndt[e]=t);return t}(e):$dt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Sdt(e.hashCode(e)):(e.valueOf!==kdt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Edt&&void 0!==(t=Tdt.get(e)))return t;if(void 0!==(t=e[Ddt]))return t;if(!Cdt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ddt]))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=++Idt,1073741824&Idt&&(Idt=0);if(Edt)Tdt.set(e,t);else{if(void 0!==Qdt&&!1===Qdt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Cdt)Object.defineProperty(e,Ddt,{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[Ddt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ddt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return $dt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function $dt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Sdt(t)}var Qdt=Object.isExtensible,Cdt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Tdt,Edt="function"==typeof WeakMap;Edt&&(Tdt=new WeakMap);var Idt=0,Ddt="__immutablehash__";"function"==typeof Symbol&&(Ddt=Symbol(Ddt));var Rdt=16,Adt=255,zdt=0,Ndt={},jdt=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=Ldt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=Wdt(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}(ldt);jdt.prototype[Bct]=!0;var Xdt=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&&Cct(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&&Cct(this),new Hct((function(){var o=r.next();return o.done?o:Jct(e,t?n.size-++i:i++,o.value,o)}))},t}(udt),Udt=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 Hct((function(){var t=n.next();return t.done?t:Jct(e,t.value,t.value,t)}))},t}(cdt),qdt=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){tpt(t);var r=Nct(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 Hct((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){tpt(r);var i=Nct(r);return Jct(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(ldt);function Mdt(e){var t=rpt(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=ipt,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 Hct((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 Wdt(e,t,n){var r=rpt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,Pct);return o===Pct?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 Hct((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return Jct(r,s,t.call(n,a[1],s,e),i)}))},r}function Ldt(e,t){var n=this,r=rpt(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=Mdt(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=ipt,r.__iterate=function(n,r){var i=this,o=0;return r&&Cct(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&&Cct(e);var a=e.__iterator(2,!i);return new Hct((function(){var e=a.next();if(e.done)return e;var s=e.value;return Jct(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function Fdt(e,t,n,r){var i=rpt(e);return r&&(i.has=function(r){var i=e.get(r,Pct);return i!==Pct&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,Pct);return o!==Pct&&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 Hct((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Jct(i,r?u:s++,c,o)}}))},i}function Vdt(e,t,n,r){var i=e.size;if(Ict(t,n,i))return e;var o=Dct(t,i),a=Rct(n,i);if(o!=o||a!=a)return Vdt(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var u=rpt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&Fct(e)&&s>=0&&(u.get=function(t,n){return(t=Tct(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__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,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,r?n:u-1,i)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new Hct(edt);var i=e.__iterator(t,n),a=0,l=0;return new Hct((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:Jct(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Zdt(e,t,n,r){var i=rpt(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,u){if(!s||!(s=t.call(n,e,o,u)))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,u=0;return new Hct((function(){var e,o,c;do{if((e=s.next()).done)return r||1===i?e:Jct(i,u++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===i?e:Jct(i,o,c,e)}))},i}function Bdt(e,t){var n=jct(e),r=[e].concat(t).map((function(e){return Nct(e)?n&&(e=Mct(e)):e=n?Odt(e):gdt(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&&jct(i)||Xct(e)&&Xct(i))return i}var o=new ddt(r);return n?o=o.toKeyedSeq():Xct(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 Ydt(e,t,n){var r=rpt(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&Nct(o)?e(o,u+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 Hct((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)||!Nct(l))return n?e:Jct(r,s++,l,e);a.push(o),o=l.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function Gdt(e,t,n){t||(t=opt);var r=jct(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?ldt(o):Xct(e)?udt(o):cdt(o)}function Kdt(e,t,n){if(t||(t=opt),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Hdt(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Hdt(t,e,n)?n:e}))}function Hdt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function Jdt(e,t,n,r){var i=rpt(e),o=new ddt(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=qct(e),rdt(i?e.reverse():e)})),a=0,s=!1;return new Hct((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}:Jct(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function ept(e,t){return e===t?e:Fct(e)?t:e.constructor(t)}function tpt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function npt(e){return jct(e)?Mct:Xct(e)?Wct:Lct}function rpt(e){return Object.create((jct(e)?ldt:Xct(e)?udt:cdt).prototype)}function ipt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):sdt.prototype.cacheResult.call(this)}function opt(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 apt(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 spt(e,t){if(!e)throw new Error(t)}function lpt(e){spt(e!==1/0,"Cannot perform this action with an infinite size.")}function upt(e){if(adt(e)&&"string"!=typeof e)return e;if(Yct(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function cpt(e){return"object"==typeof e&&(Zct(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function dpt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function ppt(e,t,n){return Zct(e)?e.get(t,n):function(e,t){return Zct(e)?e.has(t):cpt(e)&&odt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function fpt(e){if(Array.isArray(e))return apt(e);var t={};for(var n in e)odt.call(e,n)&&(t[n]=e[n]);return t}function hpt(e,t,n,r){r||(r=n,n=void 0);var i=mpt(Zct(e),e,upt(t),0,n,r);return i===Pct?n:i}function mpt(e,t,n,r,i,o){var a=t===Pct;if(r===n.length){var s=a?i:t,l=o(s);return l===s?t:l}if(!a&&!cpt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(dpt)+"]: "+t);var u=n[r],c=a?Pct:ppt(t,u,Pct),d=mpt(c===Pct?e:Zct(c),c,n,r+1,i,o);return d===c?t:d===Pct?function(e,t){if(!cpt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Zct(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!odt.call(e,t))return e;var n=fpt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!cpt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Zct(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(odt.call(e,t)&&n===e[t])return e;var r=fpt(e);return r[t]=n,r}(a?e?Mpt():{}:t,u,d)}function Opt(e,t){return function(e,t,n){return hpt(e,t,Pct,(function(){return n}))}(this,e,t)}function gpt(e){return function(e,t){return hpt(e,t,(function(){return Pct}))}(this,e)}function vpt(e,t,n,r){return hpt(e,[t],n,r)}function ypt(e,t,n){return 1===arguments.length?e(this):vpt(this,e,t,n)}function bpt(e,t,n){return hpt(this,e,t,n)}function wpt(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=Mct(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){vpt(e,r,Pct,(function(e){return e===Pct?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 xpt(e,t,n){return _pt(e,t,function(e){function t(n,r,i){return cpt(n)&&cpt(r)?_pt(n,[r],t):e?e(n,r,i):r}return t}(n))}function _pt(e,t,n){if(!cpt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Zct(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?Wct:Mct,a=r?function(t){i===e&&(i=fpt(i)),i.push(t)}:function(t,r){var o=odt.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=fpt(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function Spt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return hpt(this,e,Mpt(),(function(e){return _pt(e,t)}))}function kpt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return hpt(this,e,Mpt(),(function(e){return xpt(e,t)}))}function Ppt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function $pt(){return this.__ownerID?this:this.__ensureOwner(new Qct)}function Qpt(){return this.__ensureOwner()}function Cpt(){return this.__altered}Xdt.prototype.cacheResult=jdt.prototype.cacheResult=Udt.prototype.cacheResult=qdt.prototype.cacheResult=ipt;var Tpt=function(e){function t(t){return null==t?Mpt():ydt(t)&&!Yct(t)?t:Mpt().withMutations((function(n){var r=e(t);lpt(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 Mpt().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 Wpt(this,e,t)},t.prototype.remove=function(e){return Wpt(this,e,Pct)},t.prototype.deleteAll=function(e){var t=qct(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):Mpt()},t.prototype.sort=function(e){return fft(Gdt(this,e))},t.prototype.sortBy=function(e,t){return fft(Gdt(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 jpt(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?qpt(this.size,this._root,e,this.__hash):0===this.size?Mpt():(this.__ownerID=e,this.__altered=!1,this)},t}(Mct);Tpt.isMap=ydt;var Ept=Tpt.prototype;Ept["@@__IMMUTABLE_MAP__@@"]=!0,Ept.delete=Ept.remove,Ept.removeAll=Ept.deleteAll,Ept.setIn=Opt,Ept.removeIn=Ept.deleteIn=gpt,Ept.update=ypt,Ept.updateIn=bpt,Ept.merge=Ept.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return wpt(this,e)},Ept.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 wpt(this,t,e)},Ept.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return xpt(this,e)},Ept.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return xpt(this,t,e)},Ept.mergeIn=Spt,Ept.mergeDeepIn=kpt,Ept.withMutations=Ppt,Ept.wasAltered=Cpt,Ept.asImmutable=Qpt,Ept["@@transducer/init"]=Ept.asMutable=$pt,Ept["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ept["@@transducer/result"]=function(e){return e.asImmutable()};var Ipt=function(e,t){this.ownerID=e,this.entries=t};Ipt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(xdt(n,i[o][0]))return i[o][1];return r},Ipt.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===Pct,l=this.entries,u=0,c=l.length;u<c&&!xdt(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if($ct(a),(s||!d)&&$ct(o),!s||1!==l.length){if(!d&&!s&&l.length>=Ypt)return function(e,t,n,r){e||(e=new Qct);for(var i=new zpt(e,Pdt(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:apt(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ipt(e,f)}};var Dpt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Dpt.prototype.get=function(e,t,n,r){void 0===t&&(t=Pdt(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[Zpt(o&i-1)].get(e+5,t,n,r)},Dpt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Pdt(r));var s=31&(0===t?n:n>>>t),l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&i===Pct)return this;var d=Zpt(u&l-1),p=this.nodes,f=c?p[d]:void 0,h=Lpt(f,e,t+5,n,r,i,o,a);if(h===f)return this;if(!c&&h&&p.length>=Gpt)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 Rpt(e,o+1,a)}(e,p,u,s,h);if(c&&!h&&2===p.length&&Fpt(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&Fpt(h))return h;var m=e&&e===this.ownerID,O=c?h?u:u^l:u|l,g=c?h?Bpt(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=O,this.nodes=g,this):new Dpt(e,O,g)};var Rpt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Rpt.prototype.get=function(e,t,n,r){void 0===t&&(t=Pdt(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},Rpt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Pdt(r));var s=31&(0===t?n:n>>>t),l=i===Pct,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Lpt(c,e,t+5,n,r,i,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Kpt)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=l,a[o++]=c)}return new Dpt(e,i,a)}(e,u,p,s)}else p++;var f=e&&e===this.ownerID,h=Bpt(u,s,d,f);return f?(this.count=p,this.nodes=h,this):new Rpt(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(xdt(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=Pdt(r));var s=i===Pct;if(n!==this.keyHash)return s?this:($ct(a),$ct(o),Vpt(this,e,t,n,[r,i]));for(var l=this.entries,u=0,c=l.length;u<c&&!xdt(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if($ct(a),(s||!d)&&$ct(o),s&&2===c)return new zpt(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,f=p?l:apt(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Apt(e,this.keyHash,f)};var zpt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};zpt.prototype.get=function(e,t,n,r){return xdt(n,this.entry[0])?this.entry[1]:r},zpt.prototype.update=function(e,t,n,r,i,o,a){var s=i===Pct,l=xdt(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:($ct(a),s?void $ct(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new zpt(e,this.keyHash,[r,i]):($ct(o),Vpt(this,e,t,Pdt(r),[r,i])))},Ipt.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},Dpt.prototype.iterate=Rpt.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}},zpt.prototype.iterate=function(e,t){return e(this.entry)};var Npt,jpt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Upt(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 Xpt(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return Xpt(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 Xpt(e,o.entry);t=this._stack=Upt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Hct);function Xpt(e,t){return Jct(e,t[0],t[1])}function Upt(e,t){return{node:e,index:0,__prev:t}}function qpt(e,t,n,r){var i=Object.create(Ept);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Mpt(){return Npt||(Npt=qpt(0))}function Wpt(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=Lpt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===Pct?-1:1:0)}else{if(n===Pct)return e;i=1,r=new Ipt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?qpt(i,r):Mpt()}function Lpt(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===Pct?e:($ct(s),$ct(a),new zpt(t,r,[i,o]))}function Fpt(e){return e.constructor===zpt||e.constructor===Apt}function Vpt(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?[Vpt(e,t,n+5,r,i)]:(o=new zpt(t,r,i),a<s?[e,o]:[o,e]);return new Dpt(t,1<<a|1<<s,l)}function Zpt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Bpt(e,t,n,r){var i=r?e:apt(e);return i[t]=n,i}var Ypt=8,Gpt=16,Kpt=8;function Hpt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var Jpt=function(e){function t(t){var n=aft();if(null==t)return n;if(Hpt(t))return t;var r=e(t),i=r.size;return 0===i?n:(lpt(i),i>0&&i<32?oft(0,i,5,null,new tft(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=Tct(this,e))>=0&&e<this.size){var n=uft(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=Tct(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?cft(e,t).set(0,n):cft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=dft(e._capacity)?r=sft(r,e.__ownerID,0,t,n,o):i=sft(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 oft(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):aft()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){cft(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return cft(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){cft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return cft(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&&tdt(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 cft(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 Ict(e,t,n)?this:cft(this,Dct(e,n),Rct(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=ift(this,t);return new Hct((function(){var i=r();return i===rft?{value:void 0,done:!0}:Jct(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=ift(this,t);(n=i())!==rft&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?oft(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?aft():(this.__ownerID=e,this.__altered=!1,this)},t}(Wct);Jpt.isList=Hpt;var eft=Jpt.prototype;eft["@@__IMMUTABLE_LIST__@@"]=!0,eft.delete=eft.remove,eft.merge=eft.concat,eft.setIn=Opt,eft.deleteIn=eft.removeIn=gpt,eft.update=ypt,eft.updateIn=bpt,eft.mergeIn=Spt,eft.mergeDeepIn=kpt,eft.withMutations=Ppt,eft.wasAltered=Cpt,eft.asImmutable=Qpt,eft["@@transducer/init"]=eft.asMutable=$pt,eft["@@transducer/step"]=function(e,t){return e.push(t)},eft["@@transducer/result"]=function(e){return e.asImmutable()};var tft=function(e,t){this.array=e,this.ownerID=t};tft.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 tft([],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=lft(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},tft.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=lft(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var nft,rft={};function ift(e,t){var n=e._origin,r=e._capacity,i=dft(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,u=r-a;u>32&&(u=32);return function(){if(l===u)return rft;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,u=o>n?0:n-o>>i,c=1+(r-o>>i);c>32&&(c=32);return function(){for(;;){if(s){var e=s();if(e!==rft)return e;s=null}if(u===c)return rft;var n=t?--c:u++;s=a(l&&l[n],i-5,o+(n<<i))}}}(e,s,l)}}function oft(e,t,n,r,i,o,a){var s=Object.create(eft);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 aft(){return nft||(nft=oft(0,0,5))}function sft(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 u=e&&e.array[s],c=sft(u,t,n-5,r,i,o);return c===u?e:((a=lft(e,t)).array[s]=c,a)}return l&&e.array[s]===i?e:(o&&$ct(o),a=lft(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function lft(e,t){return t&&e&&t===e.ownerID?e:new tft(e?e.array.slice():[],t)}function uft(e,t){if(t>=dft(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 cft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new Qct,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,u=e._root,c=0;a+c<0;)u=new tft(u&&u.array.length?[void 0,u]:[],r),c+=1<<(l+=5);c&&(a+=c,i+=c,s+=c,o+=c);for(var d=dft(o),p=dft(s);p>=1<<l+5;)u=new tft(u&&u.array.length?[u]:[],r),l+=5;var f=e._tail,h=p<d?uft(e,s-1):p>d?new tft([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=u=lft(u,r),O=l;O>5;O-=5){var g=d>>>O&31;m=m.array[g]=lft(m.array[g],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,u=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(c=0;u;){var v=a>>>l&31;if(v!==p>>>l&31)break;v&&(c+=(1<<l)*v),l-=5,u=u.array[v]}u&&a>i&&(u=u.removeBefore(r,l,a-c)),u&&p<d&&(u=u.removeAfter(r,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):oft(a,s,l,u,h)}function dft(e){return e<32?0:e-1>>>5<<5}var pft,fft=function(e){function t(e){return null==e?mft():bdt(e)?e:mft().withMutations((function(t){var n=Mct(e);lpt(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):mft()},t.prototype.set=function(e,t){return Oft(this,e,t)},t.prototype.remove=function(e){return Oft(this,e,Pct)},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?hft(t,n,e,this.__hash):0===this.size?mft():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Tpt);function hft(e,t,n,r){var i=Object.create(fft.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function mft(){return pft||(pft=hft(Mpt(),aft()))}function Oft(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===Pct){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):hft(r,i)}fft.isOrderedMap=bdt,fft.prototype[Bct]=!0,fft.prototype.delete=fft.prototype.remove;function gft(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var vft=function(e){function t(e){return null==e?xft():gft(e)?e:xft().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=Tct(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):wft(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&gft(t))return t;lpt(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):wft(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):xft()},t.prototype.slice=function(t,n){if(Ict(t,n,this.size))return this;var r=Dct(t,this.size);if(Rct(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):wft(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?wft(this.size,this._head,e,this.__hash):0===this.size?xft():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new ddt(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 ddt(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new Hct((function(){if(r){var t=r.value;return r=r.next,Jct(e,n++,t)}return{value:void 0,done:!0}}))},t}(Wct);vft.isStack=gft;var yft,bft=vft.prototype;function wft(e,t,n,r){var i=Object.create(bft);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function xft(){return yft||(yft=wft(0))}bft["@@__IMMUTABLE_STACK__@@"]=!0,bft.shift=bft.pop,bft.unshift=bft.push,bft.unshiftAll=bft.pushAll,bft.withMutations=Ppt,bft.wasAltered=Cpt,bft.asImmutable=Qpt,bft["@@transducer/init"]=bft.asMutable=$pt,bft["@@transducer/step"]=function(e,t){return e.unshift(t)},bft["@@transducer/result"]=function(e){return e.asImmutable()};function _ft(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function Sft(e){return _ft(e)&&Yct(e)}function kft(e,t){if(e===t)return!0;if(!Nct(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||jct(e)!==jct(t)||Xct(e)!==Xct(t)||Yct(e)!==Yct(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!Uct(e);if(Yct(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&xdt(i[1],e)&&(n||xdt(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?!xdt(t,e.get(r,Pct)):!xdt(e.get(r,Pct),t))return a=!1,!1}));return a&&e.size===s}function Pft(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 $ft(e){if(!e||"object"!=typeof e)return e;if(!Nct(e)){if(!cpt(e))return e;e=sdt(e)}if(jct(e)){var t={};return e.__iterate((function(e,n){t[n]=$ft(e)})),t}var n=[];return e.__iterate((function(e){n.push($ft(e))})),n}var Qft=function(e){function t(t){return null==t?Dft():_ft(t)&&!Yct(t)?t:Dft().withMutations((function(n){var r=e(t);lpt(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(Mct(e).keySeq())},t.intersect=function(e){return(e=qct(e).toArray()).length?Tft.intersect.apply(t(e.pop()),e):Dft()},t.union=function(e){return(e=qct(e).toArray()).length?Tft.union.apply(t(e.pop()),e):Dft()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Eft(this,this._map.set(e,e))},t.prototype.remove=function(e){return Eft(this,this._map.remove(e))},t.prototype.clear=function(){return Eft(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 Yft(Gdt(this,e))},t.prototype.sortBy=function(e,t){return Yft(Gdt(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}(Lct);Qft.isSet=_ft;var Cft,Tft=Qft.prototype;function Eft(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 Ift(e,t){var n=Object.create(Tft);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Dft(){return Cft||(Cft=Ift(Mpt()))}Tft["@@__IMMUTABLE_SET__@@"]=!0,Tft.delete=Tft.remove,Tft.merge=Tft.concat=Tft.union,Tft.withMutations=Ppt,Tft.asImmutable=Qpt,Tft["@@transducer/init"]=Tft.asMutable=$pt,Tft["@@transducer/step"]=function(e,t){return e.add(t)},Tft["@@transducer/result"]=function(e){return e.asImmutable()},Tft.__empty=Dft,Tft.__make=Ift;var Rft,Aft=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(spt(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(Rft)return Rft;Rft=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+Tct(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 Ict(e,n,this.size)?this:(e=Dct(e,this.size),(n=Rct(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 Hct((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,Jct(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:kft(this,e)},t}(udt);function zft(e,t,n){for(var r=upt(t),i=0;i!==r.length;)if((e=ppt(e,r[i++],Pct))===Pct)return n;return e}function Nft(){lpt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}qct.isIterable=Nct,qct.isKeyed=jct,qct.isIndexed=Xct,qct.isAssociative=Uct,qct.isOrdered=Yct,qct.Iterator=Hct,Pft(qct,{toArray:function(){lpt(this.size);var e=new Array(this.size||0),t=jct(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new Xdt(this)},toJS:function(){return $ft(this)},toKeyedSeq:function(){return new jdt(this,!0)},toMap:function(){return Tpt(this.toKeyedSeq())},toObject:Nft,toOrderedMap:function(){return fft(this.toKeyedSeq())},toOrderedSet:function(){return Yft(jct(this)?this.valueSeq():this)},toSet:function(){return Qft(jct(this)?this.valueSeq():this)},toSetSeq:function(){return new Udt(this)},toSeq:function(){return Xct(this)?this.toIndexedSeq():jct(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return vft(jct(this)?this.valueSeq():this)},toList:function(){return Jpt(jct(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 ept(this,Bdt(this,e))},includes:function(e){return this.some((function(t){return xdt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){lpt(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 ept(this,Fdt(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 lpt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){lpt(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 ept(this,Wdt(this,e,t))},reduce:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!0)},reverse:function(){return ept(this,Ldt(this,!0))},slice:function(e,t){return ept(this,Vdt(this,e,t,!0))},some:function(e,t){return!this.every(Lft(e),t)},sort:function(e){return ept(this,Gdt(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 Cct(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 kft(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ddt(e._cache);var t=e.toSeq().map(Wft).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Lft(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(Ect,null,e)},flatMap:function(e,t){return ept(this,function(e,t,n){var r=npt(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 ept(this,Ydt(this,e,!0))},fromEntrySeq:function(){return new qdt(this)},get:function(e,t){return this.find((function(t,n){return xdt(n,e)}),void 0,t)},getIn:function(e,t){return zft(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=jct(e),i=(Yct(e)?fft():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=npt(e);return i.map((function(t){return ept(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,Pct)!==Pct},hasIn:function(e){return function(e,t){return zft(e,t,Pct)!==Pct}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:qct(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:qct(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return xdt(t,e)}))},keySeq:function(){return this.toSeq().map(Mft).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Kdt(this,e)},maxBy:function(e,t){return Kdt(this,t,e)},min:function(e){return Kdt(this,e?Fft(e):Zft)},minBy:function(e,t){return Kdt(this,t?Fft(t):Zft,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return ept(this,Zdt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Lft(e),t)},sortBy:function(e,t){return ept(this,Gdt(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 ept(this,function(e,t,n){var r=rpt(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 Hct((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],u=i[1];return t.call(n,u,l,o)?2===r?e:Jct(r,l,u,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Lft(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=Yct(e),n=jct(e),r=t?1:0;return function(e,t){return t=_dt(t,3432918353),t=_dt(t<<15|t>>>-15,461845907),t=_dt(t<<13|t>>>-13,5),t=_dt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Sdt((t=_dt(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Bft(Pdt(e),Pdt(t))|0}:function(e,t){r=r+Bft(Pdt(e),Pdt(t))|0}:t?function(e){r=31*r+Pdt(e)|0}:function(e){r=r+Pdt(e)|0}),r)}(this))}});var jft=qct.prototype;jft["@@__IMMUTABLE_ITERABLE__@@"]=!0,jft[Kct]=jft.values,jft.toJSON=jft.toArray,jft.__toStringMapper=dpt,jft.inspect=jft.toSource=function(){return this.toString()},jft.chain=jft.flatMap,jft.contains=jft.includes,Pft(Mct,{flip:function(){return ept(this,Mdt(this))},mapEntries:function(e,t){var n=this,r=0;return ept(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return ept(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Xft=Mct.prototype;Xft["@@__IMMUTABLE_KEYED__@@"]=!0,Xft[Kct]=jft.entries,Xft.toJSON=Nft,Xft.__toStringMapper=function(e,t){return dpt(t)+": "+dpt(e)},Pft(Wct,{toKeyedSeq:function(){return new jdt(this,!1)},filter:function(e,t){return ept(this,Fdt(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 ept(this,Ldt(this,!1))},slice:function(e,t){return ept(this,Vdt(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=Dct(e,e<0?this.count():this.size);var r=this.slice(0,e);return ept(this,1===n?r:r.concat(apt(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 ept(this,Ydt(this,e,!1))},get:function(e,t){return(e=Tct(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=Tct(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return ept(this,function(e,t){var n=rpt(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 Hct((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?Jct(n,a++,t):Jct(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(apt(arguments)),t=Jdt(this.toSeq(),udt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),ept(this,n)},keySeq:function(){return Aft(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return ept(this,Zdt(this,e,t,!1))},zip:function(){var e=[this].concat(apt(arguments));return ept(this,Jdt(this,Vft,e))},zipAll:function(){var e=[this].concat(apt(arguments));return ept(this,Jdt(this,Vft,e,!0))},zipWith:function(e){var t=apt(arguments);return t[0]=this,ept(this,Jdt(this,e,t))}});var Uft=Wct.prototype;function qft(e,t,n,r,i,o){return lpt(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function Mft(e,t){return t}function Wft(e,t){return[t,e]}function Lft(e){return function(){return!e.apply(this,arguments)}}function Fft(e){return function(){return-e.apply(this,arguments)}}function Vft(){return apt(arguments)}function Zft(e,t){return e<t?1:e>t?-1:0}function Bft(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Uft["@@__IMMUTABLE_INDEXED__@@"]=!0,Uft[Bct]=!0,Pft(Lct,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Lct.prototype.has=jft.includes,Lct.prototype.contains=Lct.prototype.includes,Pft(ldt,Mct.prototype),Pft(udt,Wct.prototype),Pft(cdt,Lct.prototype);var Yft=function(e){function t(e){return null==e?Jft():Sft(e)?e:Jft().withMutations((function(t){var n=Lct(e);lpt(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(Mct(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Qft);Yft.isOrderedSet=Sft;var Gft,Kft=Yft.prototype;function Hft(e,t){var n=Object.create(Kft);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Jft(){return Gft||(Gft=Hft(mft()))}Kft[Bct]=!0,Kft.zip=Uft.zip,Kft.zipWith=Uft.zipWith,Kft.__empty=Jft,Kft.__make=Hft;var eht={exports:{}};
157
+ var xEe=function(){return xEe=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},xEe.apply(this,arguments)};function _Ee(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 SEe(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 kEe(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 PEe(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 $Ee(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var QEe,CEe=function(r){var i,o=r.children,a=_Ee(r,["children"]);return n(t,{children:[e(TEe,{},void 0),e(q,xEe({},a,{modalProps:xEe(xEe({},a.modalProps||{}),{className:os(jte,"lt-reach-dialog",{"lt-reach-dialog-mobile":dp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},TEe=i(QEe||(QEe=$Ee(['\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']))),EEe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},IEe=function(e){return e&&e.Math==Math&&e},DEe=IEe("object"==typeof globalThis&&globalThis)||IEe("object"==typeof window&&window)||IEe("object"==typeof self&&self)||IEe("object"==typeof EEe&&EEe)||Function("return this")(),REe={},AEe=function(e){try{return!!e()}catch(e){return!0}},zEe=!AEe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NEe={},jEe={}.propertyIsEnumerable,XEe=Object.getOwnPropertyDescriptor,UEe=XEe&&!jEe.call({1:2},1);NEe.f=UEe?function(e){var t=XEe(this,e);return!!t&&t.enumerable}:jEe;var qEe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},MEe={}.toString,WEe=function(e){return MEe.call(e).slice(8,-1)},LEe=WEe,FEe="".split,VEe=AEe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==LEe(e)?FEe.call(e,""):Object(e)}:Object,ZEe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},BEe=VEe,YEe=ZEe,GEe=function(e){return BEe(YEe(e))},KEe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},HEe=KEe,JEe=function(e,t){if(!HEe(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!HEe(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!HEe(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!HEe(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},eIe={}.hasOwnProperty,tIe=function(e,t){return eIe.call(e,t)},nIe=KEe,rIe=DEe.document,iIe=nIe(rIe)&&nIe(rIe.createElement),oIe=function(e){return iIe?rIe.createElement(e):{}},aIe=oIe,sIe=!zEe&&!AEe((function(){return 7!=Object.defineProperty(aIe("div"),"a",{get:function(){return 7}}).a})),lIe=zEe,uIe=NEe,cIe=qEe,dIe=GEe,pIe=JEe,fIe=tIe,hIe=sIe,mIe=Object.getOwnPropertyDescriptor;REe.f=lIe?mIe:function(e,t){if(e=dIe(e),t=pIe(t,!0),hIe)try{return mIe(e,t)}catch(e){}if(fIe(e,t))return cIe(!uIe.f.call(e,t),e[t])};var OIe={},gIe=KEe,vIe=function(e){if(!gIe(e))throw TypeError(String(e)+" is not an object");return e},yIe=zEe,bIe=sIe,wIe=vIe,xIe=JEe,_Ie=Object.defineProperty;OIe.f=yIe?_Ie:function(e,t,n){if(wIe(e),t=xIe(t,!0),wIe(n),bIe)try{return _Ie(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 SIe=OIe,kIe=qEe,PIe=zEe?function(e,t,n){return SIe.f(e,t,kIe(1,n))}:function(e,t,n){return e[t]=n,e},$Ie={exports:{}},QIe=DEe,CIe=PIe,TIe=function(e,t){try{CIe(QIe,e,t)}catch(n){QIe[e]=t}return t},EIe=TIe,IIe=DEe["__core-js_shared__"]||EIe("__core-js_shared__",{}),DIe=IIe,RIe=Function.toString;"function"!=typeof DIe.inspectSource&&(DIe.inspectSource=function(e){return RIe.call(e)});var AIe=DIe.inspectSource,zIe=AIe,NIe=DEe.WeakMap,jIe="function"==typeof NIe&&/native code/.test(zIe(NIe)),XIe={exports:{}},UIe=IIe;(XIe.exports=function(e,t){return UIe[e]||(UIe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var qIe,MIe,WIe,LIe=0,FIe=Math.random(),VIe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++LIe+FIe).toString(36)},ZIe=XIe.exports,BIe=VIe,YIe=ZIe("keys"),GIe=function(e){return YIe[e]||(YIe[e]=BIe(e))},KIe={},HIe=jIe,JIe=KEe,eDe=PIe,tDe=tIe,nDe=GIe,rDe=KIe,iDe=DEe.WeakMap;if(HIe){var oDe=new iDe,aDe=oDe.get,sDe=oDe.has,lDe=oDe.set;qIe=function(e,t){return lDe.call(oDe,e,t),t},MIe=function(e){return aDe.call(oDe,e)||{}},WIe=function(e){return sDe.call(oDe,e)}}else{var uDe=nDe("state");rDe[uDe]=!0,qIe=function(e,t){return eDe(e,uDe,t),t},MIe=function(e){return tDe(e,uDe)?e[uDe]:{}},WIe=function(e){return tDe(e,uDe)}}var cDe={set:qIe,get:MIe,has:WIe,enforce:function(e){return WIe(e)?MIe(e):qIe(e,{})},getterFor:function(e){return function(t){var n;if(!JIe(t)||(n=MIe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},dDe=DEe,pDe=PIe,fDe=tIe,hDe=TIe,mDe=AIe,ODe=cDe.get,gDe=cDe.enforce,vDe=String(String).split("String");($Ie.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||fDe(n,"name")||pDe(n,"name",t),gDe(n).source=vDe.join("string"==typeof t?t:"")),e!==dDe?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:pDe(e,t,n)):o?e[t]=n:hDe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&ODe(this).source||mDe(this)}));var yDe=DEe,bDe=DEe,wDe=function(e){return"function"==typeof e?e:void 0},xDe=function(e,t){return arguments.length<2?wDe(yDe[e])||wDe(bDe[e]):yDe[e]&&yDe[e][t]||bDe[e]&&bDe[e][t]},_De={},SDe=Math.ceil,kDe=Math.floor,PDe=function(e){return isNaN(e=+e)?0:(e>0?kDe:SDe)(e)},$De=PDe,QDe=Math.min,CDe=function(e){return e>0?QDe($De(e),9007199254740991):0},TDe=PDe,EDe=Math.max,IDe=Math.min,DDe=GEe,RDe=CDe,ADe=function(e,t){var n=TDe(e);return n<0?EDe(n+t,0):IDe(n,t)},zDe=function(e){return function(t,n,r){var i,o=DDe(t),a=RDe(o.length),s=ADe(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}},NDe={includes:zDe(!0),indexOf:zDe(!1)},jDe=tIe,XDe=GEe,UDe=NDe.indexOf,qDe=KIe,MDe=function(e,t){var n,r=XDe(e),i=0,o=[];for(n in r)!jDe(qDe,n)&&jDe(r,n)&&o.push(n);for(;t.length>i;)jDe(r,n=t[i++])&&(~UDe(o,n)||o.push(n));return o},WDe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],LDe=MDe,FDe=WDe.concat("length","prototype");_De.f=Object.getOwnPropertyNames||function(e){return LDe(e,FDe)};var VDe={};VDe.f=Object.getOwnPropertySymbols;var ZDe=_De,BDe=VDe,YDe=vIe,GDe=xDe("Reflect","ownKeys")||function(e){var t=ZDe.f(YDe(e)),n=BDe.f;return n?t.concat(n(e)):t},KDe=tIe,HDe=GDe,JDe=REe,eRe=OIe,tRe=AEe,nRe=/#|\.prototype\./,rRe=function(e,t){var n=oRe[iRe(e)];return n==sRe||n!=aRe&&("function"==typeof t?tRe(t):!!t)},iRe=rRe.normalize=function(e){return String(e).replace(nRe,".").toLowerCase()},oRe=rRe.data={},aRe=rRe.NATIVE="N",sRe=rRe.POLYFILL="P",lRe=rRe,uRe=DEe,cRe=REe.f,dRe=PIe,pRe=$Ie.exports,fRe=TIe,hRe=function(e,t){for(var n=HDe(t),r=eRe.f,i=JDe.f,o=0;o<n.length;o++){var a=n[o];KDe(e,a)||r(e,a,i(t,a))}},mRe=lRe,ORe=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?uRe:u?uRe[s]||fRe(s,{}):(uRe[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=cRe(n,r))&&a.value:n[r],!mRe(l?r:s+(u?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;hRe(o,i)}(e.sham||i&&i.sham)&&dRe(o,"sham",!0),pRe(n,r,o,e)}},gRe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},vRe=ZEe,yRe=function(e){return Object(vRe(e))},bRe=gRe,wRe=yRe,xRe=VEe,_Re=CDe,SRe=function(e){return function(t,n,r,i){bRe(n);var o=wRe(t),a=xRe(o),s=_Re(o.length),l=e?s-1:0,u=e?-1:1;if(r<2)for(;;){if(l in a){i=a[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in a&&(i=n(i,a[l],l,o));return i}},kRe={left:SRe(!1),right:SRe(!0)},PRe=AEe,$Re=function(e,t){var n=[][e];return!!n&&PRe((function(){n.call(null,t||function(){throw 1},1)}))},QRe=zEe,CRe=AEe,TRe=tIe,ERe=Object.defineProperty,IRe={},DRe=function(e){throw e},RRe=ORe,ARe=kRe.left,zRe=function(e,t){if(TRe(IRe,e))return IRe[e];t||(t={});var n=[][e],r=!!TRe(t,"ACCESSORS")&&t.ACCESSORS,i=TRe(t,0)?t[0]:DRe,o=TRe(t,1)?t[1]:void 0;return IRe[e]=!!n&&!CRe((function(){if(r&&!QRe)return!0;var e={length:-1};r?ERe(e,1,{enumerable:!0,get:DRe}):e[1]=1,n.call(e,i,o)}))},NRe=$Re("reduce"),jRe=zRe("reduce",{1:0});RRe({target:"Array",proto:!0,forced:!NRe||!jRe},{reduce:function(e){return ARe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var XRe=MDe,URe=WDe,qRe=Object.keys||function(e){return XRe(e,URe)},MRe=zEe,WRe=AEe,LRe=qRe,FRe=VDe,VRe=NEe,ZRe=yRe,BRe=VEe,YRe=Object.assign,GRe=Object.defineProperty,KRe=!YRe||WRe((function(){if(MRe&&1!==YRe({b:1},YRe(GRe({},"a",{enumerable:!0,get:function(){GRe(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!=YRe({},e)[n]||LRe(YRe({},t)).join("")!=r}))?function(e,t){for(var n=ZRe(e),r=arguments.length,i=1,o=FRe.f,a=VRe.f;r>i;)for(var s,l=BRe(arguments[i++]),u=o?LRe(l).concat(o(l)):LRe(l),c=u.length,d=0;c>d;)s=u[d++],MRe&&!a.call(l,s)||(n[s]=l[s]);return n}:YRe,HRe=KRe;ORe({target:"Object",stat:!0,forced:Object.assign!==HRe},{assign:HRe});var JRe=AEe,eAe=!!Object.getOwnPropertySymbols&&!JRe((function(){return!String(Symbol())})),tAe=eAe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,nAe=DEe,rAe=XIe.exports,iAe=tIe,oAe=VIe,aAe=eAe,sAe=tAe,lAe=rAe("wks"),uAe=nAe.Symbol,cAe=sAe?uAe:uAe&&uAe.withoutSetter||oAe,dAe=function(e){return iAe(lAe,e)||(aAe&&iAe(uAe,e)?lAe[e]=uAe[e]:lAe[e]=cAe("Symbol."+e)),lAe[e]},pAe=KEe,fAe=WEe,hAe=dAe("match"),mAe=function(e){var t;return pAe(e)&&(void 0!==(t=e[hAe])?!!t:"RegExp"==fAe(e))},OAe=mAe,gAe=function(e){if(OAe(e))throw TypeError("The method doesn't accept regular expressions");return e},vAe=dAe("match"),yAe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[vAe]=!1,"/./"[e](t)}catch(e){}}return!1},bAe=gAe,wAe=ZEe;function xAe(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)}ORe({target:"String",proto:!0,forced:!yAe("includes")},{includes:function(e){return!!~String(wAe(this)).indexOf(bAe(e),arguments.length>1?arguments[1]:void 0)}});var _Ae,SAe=OIe,kAe=vIe,PAe=qRe,$Ae=zEe?Object.defineProperties:function(e,t){kAe(e);for(var n,r=PAe(t),i=r.length,o=0;i>o;)SAe.f(e,n=r[o++],t[n]);return e},QAe=xDe("document","documentElement"),CAe=vIe,TAe=$Ae,EAe=WDe,IAe=KIe,DAe=QAe,RAe=oIe,AAe=GIe("IE_PROTO"),zAe=function(){},NAe=function(e){return"<script>"+e+"<\/script>"},jAe=function(){try{_Ae=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;jAe=_Ae?function(e){e.write(NAe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(_Ae):((t=RAe("iframe")).style.display="none",DAe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(NAe("document.F=Object")),e.close(),e.F);for(var n=EAe.length;n--;)delete jAe.prototype[EAe[n]];return jAe()};IAe[AAe]=!0;var XAe=Object.create||function(e,t){var n;return null!==e?(zAe.prototype=CAe(e),n=new zAe,zAe.prototype=null,n[AAe]=e):n=jAe(),void 0===t?n:TAe(n,t)},UAe=XAe,qAe=OIe,MAe=dAe("unscopables"),WAe=Array.prototype;null==WAe[MAe]&&qAe.f(WAe,MAe,{configurable:!0,value:UAe(null)});var LAe,FAe,VAe,ZAe=function(e){WAe[MAe][e]=!0},BAe={},YAe=!AEe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),GAe=tIe,KAe=yRe,HAe=YAe,JAe=GIe("IE_PROTO"),eze=Object.prototype,tze=HAe?Object.getPrototypeOf:function(e){return e=KAe(e),GAe(e,JAe)?e[JAe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?eze:null},nze=tze,rze=PIe,ize=tIe,oze=dAe("iterator"),aze=!1;[].keys&&("next"in(VAe=[].keys())?(FAe=nze(nze(VAe)))!==Object.prototype&&(LAe=FAe):aze=!0),null==LAe&&(LAe={}),ize(LAe,oze)||rze(LAe,oze,(function(){return this}));var sze={IteratorPrototype:LAe,BUGGY_SAFARI_ITERATORS:aze},lze=OIe.f,uze=tIe,cze=dAe("toStringTag"),dze=function(e,t,n){e&&!uze(e=n?e:e.prototype,cze)&&lze(e,cze,{configurable:!0,value:t})},pze=sze.IteratorPrototype,fze=XAe,hze=qEe,mze=dze,Oze=BAe,gze=function(){return this},vze=KEe,yze=vIe,bze=function(e){if(!vze(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},wze=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 yze(n),bze(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),xze=ORe,_ze=function(e,t,n){var r=t+" Iterator";return e.prototype=fze(pze,{next:hze(1,n)}),mze(e,r,!1),Oze[r]=gze,e},Sze=tze,kze=wze,Pze=dze,$ze=PIe,Qze=$Ie.exports,Cze=BAe,Tze=sze.IteratorPrototype,Eze=sze.BUGGY_SAFARI_ITERATORS,Ize=dAe("iterator"),Dze=function(){return this},Rze=GEe,Aze=ZAe,zze=BAe,Nze=cDe,jze=function(e,t,n,r,i,o,a){_ze(n,t,r);var s,l,u,c=function(e){if(e===i&&m)return m;if(!Eze&&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[Ize]||f["@@iterator"]||i&&f[i],m=!Eze&&h||c(i),O="Array"==t&&f.entries||h;if(O&&(s=Sze(O.call(new e)),Tze!==Object.prototype&&s.next&&(Sze(s)!==Tze&&(kze?kze(s,Tze):"function"!=typeof s[Ize]&&$ze(s,Ize,Dze)),Pze(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(p=!0,m=function(){return h.call(this)}),f[Ize]!==m&&$ze(f,Ize,m),Cze[t]=m,i)if(l={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(u in l)(Eze||p||!(u in f))&&Qze(f,u,l[u]);else xze({target:t,proto:!0,forced:Eze||p},l);return l},Xze=Nze.set,Uze=Nze.getterFor("Array Iterator"),qze=jze(Array,"Array",(function(e,t){Xze(this,{type:"Array Iterator",target:Rze(e),index:0,kind:t})}),(function(){var e=Uze(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");zze.Arguments=zze.Array,Aze("keys"),Aze("values"),Aze("entries");var Mze=DEe,Wze={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},Lze=qze,Fze=PIe,Vze=dAe,Zze=Vze("iterator"),Bze=Vze("toStringTag"),Yze=Lze.values;for(var Gze in Wze){var Kze=Mze[Gze],Hze=Kze&&Kze.prototype;if(Hze){if(Hze[Zze]!==Yze)try{Fze(Hze,Zze,Yze)}catch(e){Hze[Zze]=Yze}if(Hze[Bze]||Fze(Hze,Bze,Gze),Wze[Gze])for(var Jze in Lze)if(Hze[Jze]!==Lze[Jze])try{Fze(Hze,Jze,Lze[Jze])}catch(e){Hze[Jze]=Lze[Jze]}}}var eNe,tNe,nNe,rNe,iNe,oNe,aNe,sNe,lNe,uNe,cNe,dNe,pNe,fNe,hNe,mNe,ONe,gNe,vNe,yNe=function(t){var n=yC().formatMessage;return e(j,xEe({},t,{className:void 0,role:t.role,onClick:t.onClick,hostClassName:t.className,content:t.resourceKey||t.text?t.text||n({id:t.resourceKey},t.values||{}):null,calloutProps:{calloutWidth:t.width,hidden:t.hidden},dir:"auto"},{children:t.children}),void 0)},bNe=function(e){return o(iNe||(iNe=$Ee(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o(eNe||(eNe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o(tNe||(tNe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Pme),(null==e?void 0:e.color)?o(nNe||(nNe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o(rNe||(rNe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,10,20)},wNe=function(t){var n=t.tooltipResourceKey,r=t.className,i=_Ee(t,["tooltipResourceKey","className"]);return e(yNe,xEe({resourceKey:n,className:r},{children:e(xNe,xEe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},xNe=r.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(oNe||(oNe=$Ee(["\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"])),bNe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"})),_Ne=r.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(aNe||(aNe=$Ee(["\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})),SNe=function(t){var r=t.showDialog,i=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,u=t.saveButtonResourceId,c=t.children,d=t.className,p=yC().formatMessage;return n(CEe,xEe({hidden:!r,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:X.normal,title:p({id:s})},onDismiss:i},{children:[e(kNe,xEe({className:d},{children:c}),void 0),n(U,{children:[e(_,xEe({onClick:i,"data-button":"cancel"},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0),e(x,xEe({disabled:l,onClick:a,"data-button":"save"},{children:e(jC,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},kNe=r.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(sNe||(sNe=$Ee(["\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),PNe=r(SNe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(lNe||(lNe=$Ee(["\n width: 400px;\n"],["\n width: 400px;\n"]))),$Ne=r(g).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(uNe||(uNe=$Ee(["\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})),QNe=function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,u=t.ariaLabelResourceKey,c=yC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(CNe,xEe({className:o},{children:r?e(ENe,{},void 0):e(yNe,xEe({resourceKey:l},{children:e(TNe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},CNe=r.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(cNe||(cNe=$Ee(["\n margin-block: 0;\n margin-inline: 6px 0px;\n\n @media (min-width: ","px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"],["\n margin-block: 0;\n margin-inline: 6px 0px;\n\n @media (min-width: ","px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"])),Jde.medium),TNe=r($Ne).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(dNe||(dNe=$Ee(["\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: ","px) {\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: ","px) {\n font-size: ","px;\n }\n }\n"])),18,Jde.medium,20),ENe=r.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(pNe||(pNe=$Ee(["\n width: 22px;\n"],["\n width: 22px;\n"]))),INe=o(fNe||(fNe=$Ee(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),DNe=r(v).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(hNe||(hNe=$Ee(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),INe),RNe=r(Ae).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(mNe||(mNe=$Ee(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),INe),ANe=o(ONe||(ONe=$Ee(["\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),zNe=function(){var t=qme().hideNotification,n=pe(Ume),r=n.isNotificationBarVisible,i=_Ee(n,["isNotificationBarVisible"]),o=yC().formatMessage,a=i.messageId||i.text;return r?e(NNe,xEe({className:"notification-wrapper","data-notification-bar":!0},{children:e(jNe,xEe({messageBarType:i.messageBarType,className:i.className,actions:i.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:a&&e(yNe,xEe({text:i.text,resourceKey:i.messageId,values:i.messageValues},{children:i.text||e(jC,{id:i.messageId,values:i.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},NNe=r.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(gNe||(gNe=$Ee(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),jNe=r(y).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(vNe||(vNe=$Ee(["\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"])),ANe,16,18,18,16,18,14,30,20),XNe=function(t){var n,r=yC().formatMessage,i=mle(),o=hle(),a=Due(),s=a.searchAccounts,l=a.getUserAvatarUrl,u=Oe(),c=eB();ge((function(){t.autoFocus&&u&&u.current&&setTimeout((function(){u.current.focus()}))}),[u,t.autoFocus]);var d=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,p=!t.selectionMode||t.selectionMode===M.multiple,f=t.selectedItems||[],h=d,m={defaultSelectedItems:(t.defaultSelectedItems||[]).map((function(e){return O(e)})),resolveDelay:500,onResolveSuggestions:function(e){return g(e,h)},onGetMoreResults:function(e){return g(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!==lle.Group?t.userPrincipalName:null,mail:fue(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:h&&!t.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:c.width<epe?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&&(m.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return v(e).map(O);return e.then((function(e){return v(e).map(O)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===f.length&&(m.inputProps.placeholder=r({id:t.placeholderStringResourceKey})),t.selectedItems&&(m.selectedItems=f.map((function(e){return O(e)}))),e(qNe,xEe({className:os(t.className,"people-picker")},{children:e(W,xEe({},m,{componentRef:u,itemLimit:p?void 0:1}),void 0)}),void 0);function O(e){var t=fue(e.mail)?null:e.mail,n=fue(e.userPrincipalName)?null:e.userPrincipalName,r=l$(e.displayName||e.mail||e.userPrincipalName),o=e.type===lle.User?n:e.type===lle.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:u$(r),key:o,accountType:e.type,authenticationType:e.authenticationType};return i.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function g(e,n){return SEe(this,void 0,void 0,(function(){var r,i,o;return kEe(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];r=t.allowMailItems&&HP(e)&&{mail:e,userPrincipalName:e,displayName:e,type:lle.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,v(i).map(O)];case 3:return a.sent(),[2,r&&[r].map(O)];case 4:return[2]}}))}))}function v(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 UNe,qNe=r.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(UNe||(UNe=$Ee(["\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"]))),MNe=ORe,WNe=REe.f,LNe=CDe,FNe=gAe,VNe=ZEe,ZNe=yAe,BNe="".startsWith,YNe=Math.min,GNe=ZNe("startsWith"),KNe=!GNe&&!!function(){var e=WNe(String.prototype,"startsWith");return e&&!e.writable}();MNe({target:"String",proto:!0,forced:!KNe&&!GNe},{startsWith:function(e){var t=String(VNe(this));FNe(e);var n=LNe(YNe(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return BNe?BNe.call(t,r,n):t.slice(n,n+r.length)===r}});var HNe=vIe,JNe=function(){var e=HNe(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},eje=$Ie.exports,tje=vIe,nje=AEe,rje=JNe,ije=RegExp.prototype,oje=ije.toString,aje=nje((function(){return"/a/b"!=oje.call({source:"a",flags:"b"})})),sje="toString"!=oje.name;(aje||sje)&&eje(RegExp.prototype,"toString",(function(){var e=tje(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ije)?rje.call(e):n)}),{unsafe:!0});var lje,uje=function(t){var n=t.fileName,r=t.url;return e(cje,xEe({href:r,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n},void 0)}),void 0)},cje=r.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(lje||(lje=$Ee(["\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),dje=function(t){var r=t.fileName,i=t.url,o=t.onPlay;return i?n(Oje,xEe({className:"lt-reach-embedded-audio"},{children:[e(uje,{fileName:r,url:i},void 0),n("audio",xEe({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(jC,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function pje(e){var t=K5.getType(e);return t&&t.toString().startsWith("audio/")}var fje,hje,mje,Oje=r.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(fje||(fje=$Ee(["\n width: 100%;\n"],["\n width: 100%;\n"])));r.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(hje||(hje=$Ee(["\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),r.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(mje||(mje=$Ee(["\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 gje,vje,yje,bje,wje,xje,_je=function(t){var r=t.children,i=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(Pje,xEe({className:s},{children:[i&&e(kje,{children:i},void 0),e(Sje,xEe({"data-attachment":o,backgroundColor:a},{children:r}),void 0)]}),void 0)},Sje=r.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(gje||(gje=$Ee(["\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+";"})),kje=r.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(vje||(vje=$Ee(["\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),Pje=r.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(yje||(yje=$Ee(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),$je=r(b).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(bje||(bje=$Ee(["\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}));r.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(wje||(wje=$Ee(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),r($je).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(xje||(xje=$Ee(["\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 Qje,Cje,Tje,Eje,Ije=function(t){var n=t.children,r=_Ee(t,["children"]);return e(L,xEe({},r,{className:os(jte,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},Dje=function(t){var r=yC().formatMessage,i=me(!1),o=i[0],a=i[1],s=pe(Eme).theme.palette.accent;return n(CEe,xEe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!t.hideCloseButton,type:t.hideCloseButton?X.normal:X.close,title:r({id:t.titleResourceKey},t.titleResourceValues),titleProps:{style:{color:s}}},onDismiss:t.onCancel},{children:[e(Rje,{children:e(jC,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues},void 0)},void 0),e(Aje,{"data-verify-item-input":!0,onChange:function(e,n){var r=n===t.compareValue;r!==o&&a(r)},ariaLabel:r({id:t.inputAriaLabelResourceKey})},void 0),t.children,n(U,{children:[e(_,xEe({onClick:t.onCancel,disabled:t.disabled},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0),e(zje,xEe({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(jC,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},Rje=r.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(Qje||(Qje=$Ee(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),Aje=r(w).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(Cje||(Cje=$Ee(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),zje=r(x).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(Tje||(Tje=$Ee(["\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})),Nje=function(t){var r=t.showDialog,i=t.titleResourceKey,o=t.titleResourceValues,a=t.infoResourceKey,s=t.infoResourceValues,l=t.onConfirm,u=t.onClose,c=t.width,d=t.children,p=yC().formatMessage,f=pe(Eme).theme.palette.accent;return n(CEe,xEe({hidden:!r,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:c}}},dialogContentProps:{type:X.normal,subText:a?p({id:a},s):"",title:p({id:i},o),titleProps:{style:{color:f}}},onDismiss:u},{children:[d,n(U,{children:[e(_,xEe({onClick:u,"data-cancel-button":!0},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0),e(x,xEe({"data-ok-button":!0,onClick:function(){null==l||l(),null==u||u()}},{children:e(jC,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},jje=function(t){var r=t.onConfirm,i=t.onCancel,o=yC().formatMessage,a=pe(Eme).theme.palette.accent;return e(CEe,xEe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:X.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:a}}},onDismiss:i},{children:n(Xje,{children:[e(jC,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),n(U,{children:[e(x,xEe({onClick:r},{children:e(jC,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),e(_,xEe({onClick:i},{children:e(jC,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},Xje=r.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(Eje||(Eje=$Ee(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),Uje=function(t){var n=t.value,r=pe(yz).language,i=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var r=xEe(xEe({},qje),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 u=new Date(e),c=new Date(t),d=u.getFullYear()-c.getFullYear(),p=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<r.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=i.value,a=i.unit;return e(QC,xEe({locale:r},{children:e(AC,{value:o,numeric:"auto",unit:a,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===a}))?10:void 0},void 0)}),void 0)};var qje={second:45,minute:45,hour:22,day:6,week:4,month:12};var Mje,Wje,Lje=function(r){var i,o,a=(i=r.value,o=r.dateOnly,he((function(){var e=f$(i),t=oc(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:o?void 0:"numeric",minute:o?void 0:"numeric"},{locale:sle()}),n={dateTime:e.toISOString(),title:t};return{date:e,timeProps:n}}),[o,i])),s=a.date,l=a.timeProps,u=!r.showAsAbsolute&&(r.showAsRelative||h$(r.value))&&!r.dateOnly;return!r.showWeekDay&&u?e(Vje,xEe({className:os(r.className)},l,{dir:"auto"},{children:e(Uje,{value:s},void 0)}),void 0):n(Vje,xEe({className:os(r.className)},l,{dir:"auto"},{children:[e(XC,{weekday:r.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:s},void 0),!r.dateOnly&&n(t,{children:[" ",e(UC,{value:s},void 0)]},void 0)]}),void 0)},Fje=function(r){var i=r.startDate,o=r.endDate,a=r.dateOnly,s=r.className;if(!i)return null;if(!o)return e("div",xEe({className:s,dir:"auto"},{children:e(Lje,{value:i,showWeekDay:!0,dateOnly:a},void 0)}),void 0);var l=new Date(i),u=new Date(o);return yl(l,u)?n("div",xEe({className:s,dir:"auto"},{children:[e(Lje,{value:i,showWeekDay:!0,dateOnly:a},void 0),!a&&n(t,{children:[" - ",e(UC,{value:u},void 0)]},void 0)]}),void 0):n("div",xEe({className:s,dir:"auto"},{children:[e(Lje,{value:i,showWeekDay:!0,dateOnly:a},void 0)," - ",e(Lje,{value:o,showWeekDay:!0,dateOnly:a},void 0)]}),void 0)},Vje=r.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(Mje||(Mje=$Ee(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));r.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(Wje||(Wje=$Ee(["\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}),Pme);var Zje,Bje,Yje,Gje,Kje,Hje,Jje,eXe=function(t){var n,r=t.children,i=_Ee(t,["children"]);return e(E,xEe({},i,{calloutProps:xEe(xEe({},i.calloutProps||{}),{className:os(jte,"lt-reach-dropdown",null===(n=i.calloutProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)},tXe=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,u=t.className,c=(null==o?void 0:o.size)||"large";return e(nXe,xEe({className:u,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(rXe,xEe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&e(S,{iconName:i},void 0),!i&&r,s.map((function(t,n){return e("p",{children:e(jC,{id:t},void 0)},n)})),l]}),void 0)}),void 0)},nXe=r.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(Yje||(Yje=$Ee(["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"],["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"])),(function(e){return e.offset?o(Zje||(Zje=$Ee(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o(Bje||(Bje=$Ee(["\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 "])))})),rXe=r.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(Hje||(Hje=$Ee(["\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&&o(Gje||(Gje=$Ee(["\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&&o(Kje||(Kje=$Ee(["\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,Jde.small)}),(function(e){return e.theme.palette.accent}),3,tpe,24,30,30),iXe=function(e,t){return null!=e&&(e&t)===t};r.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(Jje||(Jje=$Ee(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var oXe=ORe,aXe=gRe,sXe=yRe,lXe=AEe,uXe=$Re,cXe=[],dXe=cXe.sort,pXe=lXe((function(){cXe.sort(void 0)})),fXe=lXe((function(){cXe.sort(null)})),hXe=uXe("sort");oXe({target:"Array",proto:!0,forced:pXe||!fXe||!hXe},{sort:function(e){return void 0===e?dXe.call(sXe(this)):dXe.call(sXe(this),aXe(e))}});var mXe=function(n){var r=n.languages,i=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=yC(),u=l.formatMessage;return e(t,{children:qle.apply(void 0,PEe([l],r)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e(wXe,{children:e(xXe,{"data-translation-field":t.code,placeholder:null!=s?s:u({id:a},{lang:t.localizedName}),label:t.localizedName,value:i[t.code],onChange:function(e,n){var r;o(xEe(xEe({},i),((r={})[t.code]=n,r)))},dir:"auto"},void 0)},t.code)}))},void 0)};r.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(OXe||(OXe=$Ee(["\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 OXe,gXe,vXe,yXe,bXe,wXe=r.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(gXe||(gXe=$Ee(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),xXe=r(w).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(vXe||(vXe=$Ee(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));r.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(yXe||(yXe=$Ee(["\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"]))),r.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(bXe||(bXe=$Ee(["\n display: flex;\n"],["\n display: flex;\n"])));var _Xe,SXe=function(t){var n=me(null==t.delay),r=n[0],i=n[1];return ge((function(){if(null!=!t.delay){var e=setTimeout((function(){return i(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),r?e(kXe,xEe({className:t.className},{children:e(m,xEe({},t,{className:""}),void 0)}),void 0):null},kXe=r.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(_Xe||(_Xe=$Ee(["\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"]))),PXe=DEe.Promise,$Xe=$Ie.exports,QXe=xDe,CXe=OIe,TXe=zEe,EXe=dAe("species"),IXe={exports:{}},DXe=BAe,RXe=dAe("iterator"),AXe=Array.prototype,zXe=gRe,NXe=function(e,t,n){if(zXe(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)}},jXe={};jXe[dAe("toStringTag")]="z";var XXe="[object z]"===String(jXe),UXe=WEe,qXe=dAe("toStringTag"),MXe="Arguments"==UXe(function(){return arguments}()),WXe=XXe?UXe: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),qXe))?n:MXe?UXe(t):"Object"==(r=UXe(t))&&"function"==typeof t.callee?"Arguments":r},LXe=WXe,FXe=BAe,VXe=dAe("iterator"),ZXe=vIe,BXe=vIe,YXe=function(e){return void 0!==e&&(DXe.Array===e||AXe[RXe]===e)},GXe=CDe,KXe=NXe,HXe=function(e){if(null!=e)return e[VXe]||e["@@iterator"]||FXe[LXe(e)]},JXe=function(e,t,n,r){try{return r?t(ZXe(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&ZXe(i.call(e)),t}},eUe=function(e,t){this.stopped=e,this.result=t},tUe=IXe.exports=function(e,t,n,r,i){var o,a,s,l,u,c,d,p=KXe(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=HXe(e)))throw TypeError("Target is not iterable");if(YXe(a)){for(s=0,l=GXe(e.length);l>s;s++)if((u=r?p(BXe(d=e[s])[0],d[1]):p(e[s]))&&u instanceof eUe)return u;return new eUe(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=JXe(o,p,d.value,r))&&u&&u instanceof eUe)return u;return new eUe(!1)};tUe.stop=function(e){return new eUe(!0,e)};var nUe=dAe("iterator"),rUe=!1;try{var iUe=0,oUe={next:function(){return{done:!!iUe++}},return:function(){rUe=!0}};oUe[nUe]=function(){return this},Array.from(oUe,(function(){throw 2}))}catch(e){}var aUe,sUe,lUe,uUe=vIe,cUe=gRe,dUe=dAe("species"),pUe=function(e,t){var n,r=uUe(e).constructor;return void 0===r||null==(n=uUe(r)[dUe])?t:cUe(n)},fUe=xDe("navigator","userAgent")||"",hUe=/(iphone|ipod|ipad).*applewebkit/i.test(fUe),mUe=DEe,OUe=AEe,gUe=WEe,vUe=NXe,yUe=QAe,bUe=oIe,wUe=hUe,xUe=mUe.location,_Ue=mUe.setImmediate,SUe=mUe.clearImmediate,kUe=mUe.process,PUe=mUe.MessageChannel,$Ue=mUe.Dispatch,QUe=0,CUe={},TUe=function(e){if(CUe.hasOwnProperty(e)){var t=CUe[e];delete CUe[e],t()}},EUe=function(e){return function(){TUe(e)}},IUe=function(e){TUe(e.data)},DUe=function(e){mUe.postMessage(e+"",xUe.protocol+"//"+xUe.host)};_Ue&&SUe||(_Ue=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return CUe[++QUe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},aUe(QUe),QUe},SUe=function(e){delete CUe[e]},"process"==gUe(kUe)?aUe=function(e){kUe.nextTick(EUe(e))}:$Ue&&$Ue.now?aUe=function(e){$Ue.now(EUe(e))}:PUe&&!wUe?(lUe=(sUe=new PUe).port2,sUe.port1.onmessage=IUe,aUe=vUe(lUe.postMessage,lUe,1)):!mUe.addEventListener||"function"!=typeof postMessage||mUe.importScripts||OUe(DUe)||"file:"===xUe.protocol?aUe="onreadystatechange"in bUe("script")?function(e){yUe.appendChild(bUe("script")).onreadystatechange=function(){yUe.removeChild(this),TUe(e)}}:function(e){setTimeout(EUe(e),0)}:(aUe=DUe,mUe.addEventListener("message",IUe,!1)));var RUe,AUe,zUe,NUe,jUe,XUe,UUe,qUe,MUe={set:_Ue,clear:SUe},WUe=DEe,LUe=REe.f,FUe=WEe,VUe=MUe.set,ZUe=hUe,BUe=WUe.MutationObserver||WUe.WebKitMutationObserver,YUe=WUe.process,GUe=WUe.Promise,KUe="process"==FUe(YUe),HUe=LUe(WUe,"queueMicrotask"),JUe=HUe&&HUe.value;JUe||(RUe=function(){var e,t;for(KUe&&(e=YUe.domain)&&e.exit();AUe;){t=AUe.fn,AUe=AUe.next;try{t()}catch(e){throw AUe?NUe():zUe=void 0,e}}zUe=void 0,e&&e.enter()},KUe?NUe=function(){YUe.nextTick(RUe)}:BUe&&!ZUe?(jUe=!0,XUe=document.createTextNode(""),new BUe(RUe).observe(XUe,{characterData:!0}),NUe=function(){XUe.data=jUe=!jUe}):GUe&&GUe.resolve?(UUe=GUe.resolve(void 0),qUe=UUe.then,NUe=function(){qUe.call(UUe,RUe)}):NUe=function(){VUe.call(WUe,RUe)});var eqe=JUe||function(e){var t={fn:e,next:void 0};zUe&&(zUe.next=t),AUe||(AUe=t,NUe()),zUe=t},tqe={},nqe=gRe,rqe=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=nqe(t),this.reject=nqe(n)};tqe.f=function(e){return new rqe(e)};var iqe,oqe,aqe=vIe,sqe=KEe,lqe=tqe,uqe=DEe,cqe=fUe,dqe=DEe.process,pqe=dqe&&dqe.versions,fqe=pqe&&pqe.v8;fqe?oqe=(iqe=fqe.split("."))[0]+iqe[1]:cqe&&(!(iqe=cqe.match(/Edge\/(\d+)/))||iqe[1]>=74)&&(iqe=cqe.match(/Chrome\/(\d+)/))&&(oqe=iqe[1]);var hqe,mqe,Oqe,gqe,vqe=oqe&&+oqe,yqe=ORe,bqe=DEe,wqe=xDe,xqe=PXe,_qe=$Ie.exports,Sqe=function(e,t,n){for(var r in t)$Xe(e,r,t[r],n);return e},kqe=dze,Pqe=function(e){var t=QXe(e),n=CXe.f;TXe&&t&&!t[EXe]&&n(t,EXe,{configurable:!0,get:function(){return this}})},$qe=KEe,Qqe=gRe,Cqe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Tqe=WEe,Eqe=AIe,Iqe=IXe.exports,Dqe=function(e,t){if(!t&&!rUe)return!1;var n=!1;try{var r={};r[nUe]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Rqe=pUe,Aqe=MUe.set,zqe=eqe,Nqe=function(e,t){if(aqe(e),sqe(t)&&t.constructor===e)return t;var n=lqe.f(e);return(0,n.resolve)(t),n.promise},jqe=function(e,t){var n=uqe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},Xqe=tqe,Uqe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},qqe=cDe,Mqe=lRe,Wqe=vqe,Lqe=dAe("species"),Fqe=qqe.get,Vqe=qqe.set,Zqe=qqe.getterFor("Promise"),Bqe=xqe,Yqe=bqe.TypeError,Gqe=bqe.document,Kqe=bqe.process,Hqe=wqe("fetch"),Jqe=Xqe.f,eMe=Jqe,tMe="process"==Tqe(Kqe),nMe=!!(Gqe&&Gqe.createEvent&&bqe.dispatchEvent),rMe=Mqe("Promise",(function(){if(!(Eqe(Bqe)!==String(Bqe))){if(66===Wqe)return!0;if(!tMe&&"function"!=typeof PromiseRejectionEvent)return!0}if(Wqe>=51&&/native code/.test(Bqe))return!1;var e=Bqe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[Lqe]=t,!(e.then((function(){}))instanceof t)})),iMe=rMe||!Dqe((function(e){Bqe.all(e).catch((function(){}))})),oMe=function(e){var t;return!(!$qe(e)||"function"!=typeof(t=e.then))&&t},aMe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;zqe((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,u,c=r[a++],d=o?c.ok:c.fail,p=c.resolve,f=c.reject,h=c.domain;try{d?(o||(2===t.rejection&&cMe(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),u=!0)),s===c.promise?f(Yqe("Promise-chain cycle")):(l=oMe(s))?l.call(s,p,f):p(s)):f(i)}catch(e){h&&!u&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&lMe(e,t)}))}},sMe=function(e,t,n){var r,i;nMe?((r=Gqe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),bqe.dispatchEvent(r)):r={promise:t,reason:n},(i=bqe["on"+e])?i(r):"unhandledrejection"===e&&jqe("Unhandled promise rejection",n)},lMe=function(e,t){Aqe.call(bqe,(function(){var n,r=t.value;if(uMe(t)&&(n=Uqe((function(){tMe?Kqe.emit("unhandledRejection",r,e):sMe("unhandledrejection",e,r)})),t.rejection=tMe||uMe(t)?2:1,n.error))throw n.value}))},uMe=function(e){return 1!==e.rejection&&!e.parent},cMe=function(e,t){Aqe.call(bqe,(function(){tMe?Kqe.emit("rejectionHandled",e):sMe("rejectionhandled",e,t.value)}))},dMe=function(e,t,n,r){return function(i){e(t,n,i,r)}},pMe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,aMe(e,t,!0))},fMe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw Yqe("Promise can't be resolved itself");var i=oMe(n);i?zqe((function(){var r={done:!1};try{i.call(n,dMe(fMe,e,r,t),dMe(pMe,e,r,t))}catch(n){pMe(e,r,n,t)}})):(t.value=n,t.state=1,aMe(e,t,!1))}catch(n){pMe(e,{done:!1},n,t)}}};rMe&&(Bqe=function(e){Cqe(this,Bqe,"Promise"),Qqe(e),hqe.call(this);var t=Fqe(this);try{e(dMe(fMe,this,t),dMe(pMe,this,t))}catch(e){pMe(this,t,e)}},(hqe=function(e){Vqe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Sqe(Bqe.prototype,{then:function(e,t){var n=Zqe(this),r=Jqe(Rqe(this,Bqe));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=tMe?Kqe.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&aMe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),mqe=function(){var e=new hqe,t=Fqe(e);this.promise=e,this.resolve=dMe(fMe,e,t),this.reject=dMe(pMe,e,t)},Xqe.f=Jqe=function(e){return e===Bqe||e===Oqe?new mqe(e):eMe(e)},"function"==typeof xqe&&(gqe=xqe.prototype.then,_qe(xqe.prototype,"then",(function(e,t){var n=this;return new Bqe((function(e,t){gqe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Hqe&&yqe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Nqe(Bqe,Hqe.apply(bqe,arguments))}}))),yqe({global:!0,wrap:!0,forced:rMe},{Promise:Bqe}),kqe(Bqe,"Promise",!1),Pqe("Promise"),Oqe=wqe("Promise"),yqe({target:"Promise",stat:!0,forced:rMe},{reject:function(e){var t=Jqe(this);return t.reject.call(void 0,e),t.promise}}),yqe({target:"Promise",stat:!0,forced:rMe},{resolve:function(e){return Nqe(this,e)}}),yqe({target:"Promise",stat:!0,forced:iMe},{all:function(e){var t=this,n=Jqe(t),r=n.resolve,i=n.reject,o=Uqe((function(){var n=Qqe(t.resolve),o=[],a=0,s=1;Iqe(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Jqe(t),r=n.reject,i=Uqe((function(){var i=Qqe(t.resolve);Iqe(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var hMe={},mMe=AEe;function OMe(e,t){return RegExp(e,t)}hMe.UNSUPPORTED_Y=mMe((function(){var e=OMe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),hMe.BROKEN_CARET=mMe((function(){var e=OMe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var gMe=JNe,vMe=hMe,yMe=RegExp.prototype.exec,bMe=String.prototype.replace,wMe=yMe,xMe=function(){var e=/a/,t=/b*/g;return yMe.call(e,"a"),yMe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),_Me=vMe.UNSUPPORTED_Y||vMe.BROKEN_CARET,SMe=void 0!==/()??/.exec("")[1];(xMe||SMe||_Me)&&(wMe=function(e){var t,n,r,i,o=this,a=_Me&&o.sticky,s=gMe.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),SMe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),xMe&&(t=o.lastIndex),r=yMe.call(a?n:o,c),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:xMe&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),SMe&&r&&r.length>1&&bMe.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var kMe=wMe;ORe({target:"RegExp",proto:!0,forced:/./.exec!==kMe},{exec:kMe});var PMe,$Me=$Ie.exports,QMe=AEe,CMe=dAe,TMe=kMe,EMe=PIe,IMe=CMe("species"),DMe=!QMe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),RMe="$0"==="a".replace(/./,"$0"),AMe=CMe("replace"),zMe=!!/./[AMe]&&""===/./[AMe]("a","$0"),NMe=!QMe((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]})),jMe=function(e,t,n,r){var i=CMe(e),o=!QMe((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!QMe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[IMe]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!DMe||!RMe||zMe)||"split"===e&&!NMe){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===TMe?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:RMe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:zMe}),u=l[0],c=l[1];$Me(String.prototype,e,u),$Me(RegExp.prototype,i,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}r&&EMe(RegExp.prototype[i],"sham",!0)},XMe=PDe,UMe=ZEe,qMe=function(e){return function(t,n){var r,i,o=String(UMe(t)),a=XMe(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}},MMe={codeAt:qMe(!1),charAt:qMe(!0)}.charAt,WMe=function(e,t,n){return t+(n?MMe(e,t).length:1)},LMe=WEe,FMe=kMe,VMe=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"!==LMe(e))throw TypeError("RegExp#exec called on incompatible receiver");return FMe.call(e,t)},ZMe=jMe,BMe=mAe,YMe=vIe,GMe=ZEe,KMe=pUe,HMe=WMe,JMe=CDe,eWe=VMe,tWe=kMe,nWe=AEe,rWe=[].push,iWe=Math.min,oWe=!nWe((function(){return!RegExp(4294967295,"y")}));ZMe("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(GMe(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!BMe(e))return t.call(r,e,i);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=tWe.call(d,r))&&!((a=d.lastIndex)>c&&(l.push(r.slice(c,o.index)),o.length>1&&o.index<r.length&&rWe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return c===r.length?!s&&d.test("")||l.push(""):l.push(r.slice(c)),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=GMe(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=YMe(e),s=String(this),l=KMe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(oWe?"y":"g"),d=new l(oWe?a:"^(?:"+a.source+")",c),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===s.length)return null===eWe(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=oWe?h:0;var O,g=eWe(d,oWe?s:s.slice(h));if(null===g||(O=iWe(JMe(d.lastIndex+(oWe?0:h)),s.length))===f)h=HMe(s,h,u);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var v=1;v<=g.length-1;v++)if(m.push(g[v]),m.length===p)return m;h=f=O}}return m.push(s.slice(f)),m}]}),!oWe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(PMe||(PMe={}));var aWe=function(t){var r=t.fileName,i=t.url,o=t.onPlay;if(!i)return null;var a="safari"===Gb?i+"#t=0.1":i;return n("div",xEe({className:"lt-reach-embedded-video"},{children:[e(uje,{fileName:r,url:i},void 0),n("video",xEe({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(jC,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function sWe(e){var t,n="mac"===dp.deviceInfo.operatingSystem,r=null===(t=K5.getType(e))||void 0===t?void 0:t.toString();return!!r&&(!!r.startsWith(PMe.mp4)||(n?r.startsWith(PMe.quicktime):r.startsWith(PMe.webm)))}var lWe,uWe,cWe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},dWe=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 "},pWe=function(e,t,n){return o(uWe||(uWe=$Ee(["\n display: block;\n display: -webkit-box;\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 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)};function fWe(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})},t.onerror=function(){e({width:1024,height:1024})}}));return t.src=e,n}function hWe(e){return SEe(this,void 0,void 0,(function(){return kEe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(fWe))];case 1:return[2,t.sent()]}}))}))}function mWe(e){return pje(e)?"MusicInCollectionFill":sWe(e)?"Video":vWe(null==e?void 0:e.split(".").pop().toLowerCase())}function OWe(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 gWe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function vWe(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 yWe(){var e=Y1(),t=B1(),n=t.createApiUrl,r=t.fetchFromApi,i=pe(xz).identifier,o=Sb(),a=Cpe().interaction,s=null==i?void 0:i.id;return he((function(){return{exchangeShortLivedToken:function(e){return SEe(this,void 0,void 0,(function(){var t,n;return kEe(this,(function(i){switch(i.label){case 0:return e?(t={method:"POST",headers:V1(e,s)},[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 SEe(i,void 0,void 0,(function(){var i;return kEe(this,(function(s){switch(s.label){case 0:return[4,t()];case 1:return i=s.sent(),window.open(i,"ios"===o.deviceInfo.operatingSystem?"_self":e),a({event:ope.downloadFile,action:ape.click,value:_pe(i),item:{id:n,type:"content",parentId:r}}),[2]}}))}))}}}}),[s,r,n,e,module])}var bWe,wWe,xWe,_We,SWe,kWe,PWe,$We,QWe,CWe,TWe,EWe,IWe,DWe,RWe,AWe,zWe,NWe,jWe=function(r){var i=r.files,o=r.onDeleteClick,a=r.getFileUrl,s=r.fileAccessToken,l=r.onPlayVideo,u=r.onPlayAudio,c=r.disabled,d=r.parentId,p=r.className;if(!i||0===i.length)return null;var f=i.filter((function(e){return a&&pje(e.filename)})),h=i.filter((function(e){return a&&sWe(e.filename)})),m=i.filter((function(e){return!f.includes(e)&&!h.includes(e)}));return n(t,{children:[h.length>0&&e(UWe,xEe({className:p,"data-preload-video":"safari"===Gb},{children:h.map((function(t){return e(qWe,{children:e(aWe,{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(XWe,xEe({className:p},{children:f.map((function(t){return e(MWe,{children:e(dje,{fileName:t.filename,url:a(t.id),onPlay:function(e){return u(e,t.id)}},void 0)},t.id)}))}),void 0),m.length>0&&e(XWe,xEe({className:p},{children:m.map((function(t){return e(MWe,{children:e(WWe,{attachment:t,disabled:c,getFileUrl:a,fileAccessToken:s,onDeleteClick:o,parentId:d},void 0)},t.id)}))}),void 0)]},void 0)},XWe=r.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(bWe||(bWe=$Ee(["\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"]))),UWe=r.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(wWe||(wWe=$Ee(["\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),qWe=r.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(xWe||(xWe=$Ee(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),MWe=r.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(_We||(_We=$Ee(["\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,Jde.small,5),WWe=function(t){var r=t.attachment,i=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=t.parentId,u=yC().formatMessage,c=!s&&i,d=yWe(),p=d.exchangeShortLivedToken,f=d.createDownloadClickHandler;return n(LWe,{children:[r.isUploadInProgress&&e(KWe,{children:e(HWe,{size:F.medium},void 0)},void 0),e(VWe,xEe({takeFullWidth:!c},{children:function(){var t=this;if(r.hasError)return n(ZWe,{children:[e(JWe,{iconName:"Warning"},void 0),e(GWe,xEe({title:r.filename},{children:r.filename}),void 0)]},void 0);var i=mWe(r.filename);if(o)return n(FWe,xEe({title:r.filename,onClick:f("_blank",(function(){return SEe(t,void 0,void 0,(function(){var e;return kEe(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(BWe,{iconName:i},void 0),e(GWe,{children:r.filename},void 0)]}),void 0);return n(ZWe,{children:[e(BWe,{iconName:i},void 0),e(GWe,xEe({title:r.filename},{children:r.filename}),void 0)]},void 0)}()}),void 0),c&&e(YWe,{iconProps:{iconName:"Delete"},onClick:function(){return i(r)},disabled:r.isUploadInProgress,ariaLabel:u({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},LWe=r.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(SWe||(SWe=$Ee(["\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})),FWe=r(_).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(kWe||(kWe=$Ee(["\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})),VWe=r.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(QWe||(QWe=$Ee(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o(PWe||(PWe=$Ee(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o($We||($We=$Ee(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),ZWe=r.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(CWe||(CWe=$Ee(["\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),BWe=r(S).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(TWe||(TWe=$Ee(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),YWe=r(g).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(EWe||(EWe=$Ee(["\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})),GWe=r.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(IWe||(IWe=$Ee(["\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"]))),KWe=r.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(DWe||(DWe=$Ee(["\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"]))),HWe=r(SXe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(RWe||(RWe=$Ee(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),JWe=r(S).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(AWe||(AWe=$Ee(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),eLe=function(r){var i,o=r.children,a=_Ee(r,["children"]);return n(t,{children:[e(tLe,{},void 0),e(CEe,xEe({},a,{modalProps:xEe(xEe({},a.modalProps||{}),{className:os({"lt-reach-dialog-mobile-full-height":dp.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}),void 0)]},void 0)},tLe=i(zWe||(zWe=$Ee(['\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 .browser-name-chromium-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px - env(safe-area-max-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\n .browser-name-chromium-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px - env(safe-area-max-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(NWe||(NWe={}));var nLe=function(t){var r=t.iconName,i=t.onClick,o=t.tooltipResourceKey,a=t.tooltipValues,s=t.useSecondaryBgColor,l=t.domIdentifier,u=t.className,c=t.disabled,d=yC().formatMessage;return n(yNe,xEe({className:u,resourceKey:o,values:a},{children:[e(aLe,{},void 0),e(sLe,{"data-fab":l,iconProps:{iconName:r},onClick:i,ariaLabel:d({id:o},a),useSecondaryBgColor:s,disabled:c,allowDisabledFocus:c},void 0)]}),void 0)},rLe=function(r){var i=r.iconName,o=r.tooltipResourceKey,a=r.titleResourceKey,s=r.showCloseButton,l=r.useSecondaryBgColor,u=r.children,c=r.domIdentifier,d=r.useMobileFullHeight,p=yC().formatMessage,f=me(!1),h=f[0],m=f[1],O=Oe(null),g=dp.isAnyMobileApp;return n(t,{children:[e("div",xEe({ref:O},{children:e(nLe,{"data-fab":c,tooltipResourceKey:o,iconName:i,onClick:function(){return m(!h)},useSecondaryBgColor:l},void 0)}),void 0),h&&g&&d&&n(eLe,xEe({hidden:!h,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:X.close,title:p({id:a})},onDismiss:function(){return m(!1)}},{children:[e(_Le,{},void 0),u]}),void 0),h&&g&&!d&&n(CEe,xEe({hidden:!h},{children:[u,e(U,{children:e(_,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),h&&!g&&e(Ije,xEe({target:O.current,directionalHint:z.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:n(wLe,{children:[u,s&&e(xLe,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},iLe=r.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(cLe||(cLe=$Ee(["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"],["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"])),(function(e){return e.offsetRight+20}),(function(e){return e.positionBottomOnMobile?o(lLe||(lLe=$Ee(["\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 "])),Jde.medium,e.offsetTop+20):o(uLe||(uLe=$Ee(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),oLe=function(e){return o(fLe||(fLe=$Ee(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "],["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "])),e?o(dLe||(dLe=$Ee(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){return e.theme.palette.themeTertiary})):o(pLe||(pLe=$Ee(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.neutralTertiary}),(function(e){return e.theme.palette.neutralPrimary}),(function(e){return e.theme.palette.neutralTertiaryAlt})))},aLe=i(hLe||(hLe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return Ate("\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 ")})),sLe=r(g).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(mLe||(mLe=$Ee(["\n /* 4x specificity so the hover color isn't overridden by the global icon button hover reset */\n &&&& {\n ","\n\n &.is-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ",";\n }\n }\n"],["\n /* 4x specificity so the hover color isn't overridden by the global icon button hover reset */\n &&&& {\n ","\n\n &.is-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ",";\n }\n }\n"])),(function(e){return oLe(e.useSecondaryBgColor)}),(function(e){return e.useSecondaryBgColor?e.theme.palette.themeSecondary:e.theme.palette.neutralTertiary}));r(yNe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(OLe||(OLe=$Ee(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return oLe(e.useSecondaryBgColor)}));var lLe,uLe,cLe,dLe,pLe,fLe,hLe,mLe,OLe,gLe,vLe,yLe,bLe,wLe=r.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(gLe||(gLe=$Ee(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),xLe=r(_).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(vLe||(vLe=$Ee(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),_Le=i(yLe||(yLe=$Ee(["\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"])),epe),SLe=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 Pe(r,{className:s,dir:a},e(jC,{id:i,values:o},void 0))},kLe=function(t){var r=t.icon,i=t.resourceKey,o=t.className,a=t.values,s="string"==typeof r?e(S,{iconName:r},void 0):r;return n(PLe,xEe({className:o},{children:[s,e(jC,{id:i,values:a,tagName:"span"},void 0)]}),void 0)},PLe=r.div(bLe||(bLe=$Ee(["\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),$Le={},QLe=new a5;var CLe=new a5;function TLe(e){var t=Oe(!0);ge((function(){t.current||CLe.next(),t.current=!1}),e)}var ELe,ILe,DLe,RLe,ALe=function(t){var n=t.groupName,r=t.groupId,i=t.keywordName,o=t.language,a=t.underlined,s=t.onClick,l=t.tabIndex,u=hle(),c=tce(pe(nOe).selectedKeywordGroups,u,r,i,n,o);return s?e(NLe,xEe({onClick:s,tabIndex:l},{children:e(jLe,xEe({underlined:!0,dir:"auto"},{children:c}),void 0)}),void 0):e(jLe,xEe({underlined:a,dir:"auto"},{children:c}),void 0)},zLe=function(t){var n=t.groupId,r=t.keywordName,i=hle(),o=tce(pe(nOe).selectedKeywordGroups,i,n,r);return TLe([o]),e(jLe,xEe({underlined:!0},{children:o}),void 0)},NLe=r($je).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(ELe||(ELe=$Ee(["\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})),jLe=r.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(DLe||(DLe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o(ILe||(ILe=$Ee(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),XLe=function(t){var r=t.modified,i=yC();return r?n(ULe,xEe({className:"ms-fontColor-neutralTertiary"},{children:["(",e(yNe,xEe({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(jC,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},ULe=r.div(RLe||(RLe=$Ee(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function qLe(){return qLe=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},qLe.apply(this,arguments)}var MLe=function(e){return ce.createElement("svg",qLe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),ce.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}}),ce.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"}}),ce.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),ce.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}}),ce.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"}}),ce.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}}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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 WLe(){return WLe=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},WLe.apply(this,arguments)}var LLe=function(e){return ce.createElement("svg",WLe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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 FLe(){return FLe=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},FLe.apply(this,arguments)}var VLe=function(e){return ce.createElement("svg",FLe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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}}),ce.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 ZLe(){return ZLe=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},ZLe.apply(this,arguments)}var BLe,YLe,GLe,KLe,HLe,JLe,eFe,tFe,nFe,rFe,iFe,oFe=function(e){return ce.createElement("svg",ZLe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),ce.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}}),ce.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"}}),ce.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}}),ce.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),ce.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"}}),ce.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}}),ce.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"}}),ce.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"}}),ce.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"}}),ce.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}}),ce.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}}))},aFe=function(t){var n=t.images,r=t.selectedIndex,i=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=JZ((function(){return SEe(this,void 0,void 0,(function(){var e;return kEe(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}):fWe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],u=s[1],c=s[2];return u||c?null:e(Y,{children:e(sFe,{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)},sFe=function(r){var i=r.images,o=r.hidden,a=r.selectedIndex,s=r.onClose,l=yC().formatMessage,u=Oe(null),c=Oe();return ge((function(){var e;if(!o)return clearTimeout(c.current),c.current=setTimeout((function(){return e=function(){var e=new FOe(u.current,ZOe,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(lFe,{enforceArrowVisibility:!dp.isNativeMobileApp},void 0),n("div",xEe({ref:u,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"},void 0),n("div",xEe({className:"pswp__scroll-wrap"},{children:[n("div",xEe({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",xEe({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",xEe({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",xEe({className:"pswp__preloader"},{children:e("div",xEe({className:"pswp__preloader__icn"},{children:e("div",xEe({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),e("div",xEe({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",xEe({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},lFe=i(YLe||(YLe=$Ee(["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"],["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"])),(function(e){return e.enforceArrowVisibility&&o(BLe||(BLe=$Ee(["\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 "])))})),uFe=function(r){var i=r.images,o=r.imageUrlResolver,a=r.disableRoundedCorners,s=r.gridBackgroundColor,l=r.className,u=yC().formatMessage,c=me(null),d=c[0],p=c[1],f=pe(Eme).theme.palette;if(!i||0===i.length)return null;var h=i.length>4,m=i.length>1,O=i[0];return n(dFe,xEe({"data-multi-images":m,className:l,singleImageHeight:O.height,singleImageWidth:O.width},{children:[e("div",xEe({"data-gallery-wrapper":!0},{children:m?n(t,{children:[e(fFe,xEe({backgroundColor:null!=s?s:f.neutralLight,applyRoundedCorners:!a},{children:i.slice(0,4).map((function(t,n){return e(hFe,xEe({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),g(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(mFe,{src:t.previewUrl,imageFit:B.centerCover,alt:t.imageTitle||""},void 0)}),n)}))}),void 0),h&&n(OFe,xEe({onClick:function(){return g(4)}},{children:["+",i.length-4]}),void 0)]},void 0):e(cFe,{image:O,onClick:function(){return g(0)},disableRoundedCorners:a},void 0)}),void 0),e(aFe,{images:i,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:o},void 0)]}),void 0);function g(e){p(e)}},cFe=function(t){var n=t.image,r=t.onClick,i=t.disableRoundedCorners,o=yC().formatMessage;return e(pFe,xEe({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)},dFe=r.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(KLe||(KLe=$Ee(["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"],["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"])),(function(e){return e.singleImageWidth&&e.singleImageHeight&&o(GLe||(GLe=$Ee(["\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)})),pFe=r.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(JLe||(JLe=$Ee(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"])),(function(e){return e.applyRoundedCorners&&o(HLe||(HLe=$Ee(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),fFe=r.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(tFe||(tFe=$Ee(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"],["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"])),(function(e){return e.backgroundColor}),(function(e){return e.applyRoundedCorners&&o(eFe||(eFe=$Ee(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),hFe=r.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(nFe||(nFe=$Ee(["\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"]))),mFe=r(k).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(rFe||(rFe=$Ee(["\n height: 100%;\n"],["\n height: 100%;\n"]))),OFe=r(_).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(iFe||(iFe=$Ee(["\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,Jde.small,28);var gFe,vFe,yFe,bFe,wFe,xFe,_Fe=function(t){var n=t.icon,r=t.isActive,i=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,u=_Ee(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),c=yC().formatMessage;if(!s&&!a)return null;var d=os("header-button",l),p=s?e(PFe,xEe({className:d,to:s},u,{children:e(S,{iconName:n},void 0)}),void 0):e(kFe,xEe({className:d,disabled:i,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:c({id:o}),"data-button-type":"header-btn",isActive:r},u),void 0);return e(SFe,xEe({className:"tooltip-container"},{children:e(yNe,xEe({resourceKey:o},{children:p}),void 0)}),void 0)},SFe=r.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(gFe||(gFe=$Ee(["\n height: 100%;\n"],["\n height: 100%;\n"]))),kFe=r(g).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(bFe||(bFe=$Ee(['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"],['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"])),(function(e){return!e.isActive&&o(vFe||(vFe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o(yFe||(yFe=$Ee(["\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)})),PFe=r(Ae).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(xFe||(xFe=$Ee(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o(wFe||(wFe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),$Fe=ZEe,QFe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",CFe=RegExp("^"+QFe+QFe+"*"),TFe=RegExp(QFe+QFe+"*$"),EFe=function(e){return function(t){var n=String($Fe(t));return 1&e&&(n=n.replace(CFe,"")),2&e&&(n=n.replace(TFe,"")),n}},IFe={start:EFe(1),end:EFe(2),trim:EFe(3)},DFe=AEe,RFe="\t\n\v\f\r                 \u2028\u2029\ufeff",AFe=IFe.trim,zFe=function(e){return DFe((function(){return!!RFe[e]()||"​…᠎"!="​…᠎"[e]()||RFe[e].name!==e}))};ORe({target:"String",proto:!0,forced:zFe("trim")},{trim:function(){return AFe(this)}});var NFe,jFe,XFe,UFe,qFe,MFe,WFe,LFe,FFe,VFe,ZFe,BFe,YFe,GFe,KFe,HFe,JFe,eVe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.children,a=t.className,s=t.style,l=_Ee(t,["url","target","ariaLabel","children","className","style"]);mle();var u=efe(),c=pe(wD);c.onOpenExternalLink;var d=c.tryGetInternalLink,p=!r&&d(n,u);return p?e(RNe,xEe({className:a,to:p,"data-link":Hde.Internal,"aria-label":i,style:s,dir:"auto"},l,{children:o}),void 0):e(tVe,xEe({url:n,target:r,className:a,ariaLabel:i,style:s},l,{children:o}),void 0)},tVe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,u=_Ee(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(DNe,xEe({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":Hde.External,style:l,dir:"auto"},u,{children:s}),void 0)},nVe=o(NFe||(NFe=$Ee(["\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"]))),rVe=r(eVe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(jFe||(jFe=$Ee(["\n ","\n"],["\n ","\n"])),nVe),iVe=r(tVe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(XFe||(XFe=$Ee(["\n ","\n"],["\n ","\n"])),nVe),oVe=r(g).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(qFe||(qFe=$Ee(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o(UFe||(UFe=$Ee(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),aVe=r((function(t){var r,i=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,u=t.target,c=t.tooltipText,d=t.tooltipResourceKey,p=t.disabled,f=t.className,h=_Ee(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=yC().formatMessage,O=o||(null===(r=null==a?void 0:a.trim())||void 0===r?void 0:r.length)>0&&m({id:a});return n(yNe,xEe({resourceKey:d,text:c},{children:[l&&!s&&e(rVe,xEe({url:l,ariaLabel:O,target:u},h,{children:e(S,{iconName:i,className:f},void 0)}),void 0),s&&!l&&e(oVe,xEe({disabled:p,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:O},h),void 0),s&&l&&e(iVe,xEe({url:l,target:u,ariaLabel:O,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(S,{iconName:i,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(WFe||(WFe=$Ee(["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"],["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.isActive&&o(MFe||(MFe=$Ee(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),sVe=function(t){var r=t.shouldAutoFocus,i=void 0===r||r,o=yC(),a=me(null),s=a[0],l=a[1],u=Ie(),c=pe(Eme).theme.textColors,d=Oe();return ge((function(){return COe(f),i&&setTimeout((function(){var e;return d&&(null===(e=d.current)||void 0===e?void 0:e.focus())})),function(){TOe(f)}}),[]),ge((function(){l("")}),[u.pathname]),n(cVe,xEe({className:os("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(lVe,{className:"search-input",useLightTheme:t.useLightTheme,default:!0,value:s||t.searchText||"",onChange:function(e,t){return p(t)},onKeyDown:function(e){"Enter"===e.key&&t.onExecuteSearch&&t.onExecuteSearch(s);"Escape"===e.key&&p("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:t.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return d.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),t.searching&&e(uVe,{className:"search-spinner"},void 0),e(dVe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;l(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&c.onPrimary},void 0)]}),void 0);function p(e){var n;l(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function f(){return!(!s&&!t.searchText)&&(p(""),!0)}},lVe=r(w).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(VFe||(VFe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o(LFe||(LFe=$Ee(["\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}),dWe("color: "+e.theme.textColors.default)):o(FFe||(FFe=$Ee(["\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}),dWe("color: "+e.theme.textColors.onPrimary))})),uVe=r(m).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(ZFe||(ZFe=$Ee(["\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})),cVe=r.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(GFe||(GFe=$Ee(["\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"])),dWe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o(BFe||(BFe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o(YFe||(YFe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),dVe=r($Ne).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(KFe||(KFe=$Ee(["\n align-self: center;\n"],["\n align-self: center;\n"]))),pVe=function(r){var i=r.onSearchInputFieldVisibilityChanged,o=r.isToolbarMode,a=r.onExecuteSearch,s=r.onSearchTextChange,l=r.searchText,u=r.showSearchBoxInput,c=r.className,d=r.shouldAutoFocus,p=me(!!l),f=p[0],h=p[1],m=u||f||!!l;return ge((function(){null==i||i(m)}),[m]),n(t,{children:[m&&e(sVe,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),O(!1)},shouldAutoFocus:d,className:c,useLightTheme:o},void 0),!m&&(o?e(aVe,{iconName:"Search",onClick:function(){return O(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):e(_Fe,{icon:"Search",onClick:function(){return O(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function O(e){h(e),null==i||i(e)}},fVe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},hVe=vIe,mVe=ZEe,OVe=fVe,gVe=VMe;jMe("search",1,(function(e,t,n){return[function(t){var n=mVe(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=hVe(e),o=String(this),a=i.lastIndex;OVe(a,0)||(i.lastIndex=0);var s=gVe(i,o);return OVe(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),r.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(HFe||(HFe=$Ee(["\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"}(JFe||(JFe={})),r(S).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(vVe||(vVe=$Ee(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),r.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(wVe||(wVe=$Ee(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?o(yVe||(yVe=$Ee(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o(bVe||(bVe=$Ee(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),r.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(xVe||(xVe=$Ee(["\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"})),r.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(_Ve||(_Ve=$Ee(["\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 vVe,yVe,bVe,wVe,xVe,_Ve,SVe,kVe,PVe,$Ve=r.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(SVe||(SVe=$Ee(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));r.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(kVe||(kVe=$Ee(["\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"}),$Ve,(function(e){return e.isLoading?"0.6":"1"})),r(SXe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(PVe||(PVe=$Ee(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var QVe,CVe,TVe=function(t){return e(EVe,xEe({},t,{"data-toggle-button":!0}),void 0)},EVe=r(P).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(QVe||(QVe=$Ee(["\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})),IVe=function(e){return o(CVe||(CVe=$Ee(["\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 DVe(e,t,n,r){return(r?e.translations[Ule(t)]||e.translations[t.subscription.defaultLanguage]:e.translations[t.preferredUiLanguage]||e.translations[Ule(t)])||e.name||n.formatMessage({id:"Groups.defaultName"})}var RVe=jMe,AVe=vIe,zVe=yRe,NVe=CDe,jVe=PDe,XVe=ZEe,UVe=WMe,qVe=VMe,MVe=Math.max,WVe=Math.min,LVe=Math.floor,FVe=/\$([$&'`]|\d\d?|<[^>]*>)/g,VVe=/\$([$&'`]|\d\d?)/g,ZVe=function(e){return void 0===e?e:String(e)};RVe("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=XVe(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 u=AVe(e),c=String(this),d="function"==typeof r;d||(r=String(r));var p=u.global;if(p){var f=u.unicode;u.lastIndex=0}for(var h=[];;){var m=qVe(u,c);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(u.lastIndex=UVe(c,NVe(u.lastIndex),f))}for(var O="",g=0,v=0;v<h.length;v++){m=h[v];for(var y=String(m[0]),b=MVe(WVe(jVe(m.index),c.length),0),w=[],x=1;x<m.length;x++)w.push(ZVe(m[x]));var _=m.groups;if(d){var S=[y].concat(w,b,c);void 0!==_&&S.push(_);var k=String(r.apply(void 0,S))}else k=s(y,c,b,w,_,r);b>=g&&(O+=c.slice(g,b)+k,g=b+y.length)}return O+c.slice(g)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,u=VVe;return void 0!==o&&(o=zVe(o),u=FVe),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=LVe(c/10);return 0===d?t:d<=l?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}u=i[c-1]}return void 0===u?"":u}))}}));var BVe,YVe=Jde.small-40,GVe=Jde.medium-40;function KVe(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 HVe(e){return e?"https://www.google.com/maps/search/?api=1&"+zb.stringify({query:e}):null}function JVe(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}r.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(BVe||(BVe=$Ee(["\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,epe,20,10,10,Jde.small,20,YVe,Jde.medium,GVe);var eZe,tZe,nZe,rZe,iZe,oZe=r.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(tZe||(tZe=$Ee(["\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&&o(eZe||(eZe=$Ee(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),Jde.small,YVe,2.3333333333333335,Jde.medium,(function(e){return e.defaultWidth||250}));r.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(rZe||(rZe=$Ee(["\n display: flex;\n align-items: center;\n\n ","\n"],["\n display: flex;\n align-items: center;\n\n ","\n"])),(function(e){return e.isInvalid&&o(nZe||(nZe=$Ee(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),r(S).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(iZe||(iZe=$Ee(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var aZe,sZe,lZe,uZe,cZe,dZe,pZe,fZe,hZe,mZe=function(r){var i=r.enterDuration,o=r.leaveDuration,a=r.children,s=r.style,l=r.className,u=!!i,c=!!o,d="common-opacity-animation_"+i+"_"+o;return n(t,{children:[e(OZe,{name:d,enterDuration:i,leaveDuration:o},void 0),e(Cge,xEe({style:s,className:l,transitionName:d,transitionAppear:u,transitionEnter:u,transitionLeave:c,transitionLeaveTimeout:o,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:a}),void 0)]},void 0)},OZe=i(aZe||(aZe=$Ee(["\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})),gZe=function(t){var n=t.contentLanguageCode,r=t.originalContent,i=t.content,o=t.onTranslate,a=t.onContentChange,s=t.itemType,l=t.itemId,u=t.tooltipResourceKey,c=t.showLabel,d=yC().formatMessage,p=hle(),f=mle(),h=me(null),m=h[0],O=h[1],g=me(r===i),v=g[0],y=g[1],b=qme().showError,w=Cpe().interaction,x=Ule(p);if(ge((function(){return O(null)}),[r]),!f.automaticTranslation)return null;var _=d({id:"Generic.translate"});return n&&n!==x&&jle.includes(x)&&!Nle.includes(x)?e(yNe,xEe({resourceKey:v?"Generic.translateTo":u,values:{language:d({id:"Generic.languages."+x})}},{children:e(vZe,xEe({"aria-label":c?null:_,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return SEe(this,void 0,void 0,(function(){var e;return kEe(this,(function(t){switch(t.label){case 0:return v?m?(a(m),y(!1),[3,4]):[3,1]:(a(r),y(!0),w({event:ope.translateContent,value:null,action:ape.click,item:{id:l,type:s}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(x)];case 2:return e=t.sent(),a(e),O(e),y(!1),[3,4];case 3:return t.sent(),b("Generic.error"),[3,4];case 4:return w({event:ope.translateContent,value:x,itemType:s,action:ape.click,itemId:l,item:{id:l,type:s}}),[2]}}))}))}},{children:c&&_}),void 0)}),void 0):null},vZe=r($je)(sZe||(sZe=$Ee(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),yZe=r($).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(lZe||(lZe=$Ee(["\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})),bZe=function(r){var i=r.comment,o=r.showEdit,a=r.showDelete,s=r.onDelete,l=r.isEditMode,u=r.toggleEditMode,c=r.originalContent,d=r.currentContent,p=r.setContent,f=r.handleTranslate,h=r.showAutoTranslate,m=r.onReply,O=r.disabled,g=yC().formatMessage,v=hle(),y=me(!1),b=y[0],w=y[1],x=Oe(null);return v.isPublicUser&&!h?null:v.isPublicUser&&h?e(gZe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:gue.Comments,itemId:i.id},void 0):n(t,{children:[e("div",xEe({ref:x},{children:e(xZe,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return w(!b)},ariaLabel:g({id:"AriaLabel.contextMenuButton"}),disabled:O},void 0)}),void 0),b&&e(SZe,xEe({"data-context-menu":!0,target:x.current,onDismiss:function(){return w(!1)}},{children:n(wZe,{children:[e(yNe,xEe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:e(_Ze,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(i,i.sender),w(!1)},text:g({id:"Comment.replyButton"})},void 0)}),void 0),h&&e(gZe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:gue.Comments,itemId:i.id},void 0),o&&e(yNe,xEe({resourceKey:"Comment.edit.tooltip"},{children:e(_Ze,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),w(!1)},text:g({id:"Generic.edit"}),disabled:!i.id||l},void 0)}),void 0),a&&e(yNe,xEe({resourceKey:"Comment.delete.tooltip"},{children:e(_Ze,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),w(!1)},text:g({id:"Generic.Delete"}),disabled:!i.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},wZe=r.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(uZe||(uZe=$Ee(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),xZe=r($Ne).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(cZe||(cZe=$Ee(["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),_Ze=r($je).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(dZe||(dZe=$Ee(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),SZe=r(Ije).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(pZe||(pZe=$Ee(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);r(_).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(fZe||(fZe=$Ee(["\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"]))),r(_).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(hZe||(hZe=$Ee(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var kZe,PZe,$Ze,QZe,CZe,TZe=r(g).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(kZe||(kZe=$Ee(["\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})),EZe=function(t){var r=t.toggleAll,i=t.className,o=pe(Eme).theme.palette.accent;return n(IZe,xEe({className:i},{children:[e(DZe,xEe({onClick:function(){return r(!0)},"data-button-toggle":"selectAll",color:o},{children:e(jC,{id:"Generic.SelectAll"},void 0)}),void 0),e(DZe,xEe({onClick:function(){return r(!1)},"data-button-toggle":"clearAll",color:o},{children:e(jC,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},IZe=r.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(PZe||(PZe=$Ee(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),DZe=r($je).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})($Ze||($Ze=$Ee(["\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"])));r((function(t){var r=t.iconName,i=t.textKey,o=_Ee(t,["iconName","textKey"]);return n(ze,xEe({},o,{children:[r&&e(S,{iconName:r},void 0),e(jC,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(QZe||(QZe=$Ee(["\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})),r($Ne).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(CZe||(CZe=$Ee([""],[""])));var RZe,AZe,zZe,NZe,jZe=function(t){var n=t.language,r=t.channel,i=t.role,o=t.className,a=hle(),s=pe(nOe).channels,l=qZe(function(){if(!s)return r;return s.find((function(e){return e.id===r.id||e.name===r.name}))}(),a,n);return e(XZe,xEe({title:l,className:o,role:i,dir:"auto"},{children:l}),void 0)},XZe=r.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(RZe||(RZe=$Ee(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),UZe=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(jZe,{channel:t,language:o},void 0)]},t.id)}))},void 0)};function qZe(e,t,n){if(null==e)return null;n||(n=Ule(t));var r=e.translations||{};return n&&r[n]||r[t.subscription.defaultLanguage]||e.name}r(jZe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(AZe||(AZe=$Ee(["\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),r.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(zZe||(zZe=$Ee(["\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,cWe(2,2),25),r($Ne).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(NZe||(NZe=$Ee(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var MZe,WZe,LZe,FZe,VZe,ZZe,BZe,YZe,GZe,KZe,HZe,JZe=function(t){var r=t.channels,i=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,u=t.className;if(!r||0===r.length)return null;var c=r.length>s;return n(nBe,xEe({className:u,"data-has-more-indicator":c},{children:[e(eBe,{channels:r.slice(0,s),language:i,channelStyleDefinition:o,onChannelClick:l},void 0),c&&e(tBe,{channels:r.slice(s),language:i,styleDefinition:o,onChannelClick:l},void 0)]}),void 0)},eBe=function(t){var n=t.channels,r=t.language,i=t.channelStyleDefinition,o=t.onChannelClick;return e(rBe,xEe({"data-channels":!0},{children:n.map((function(t){var a=e(jZe,{channel:t,language:r},void 0);return o?e(iBe,xEe({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(oBe,xEe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color},{children:a}),t.id)}))}),void 0)},tBe=function(t){var r=t.channels,i=t.language,o=t.styleDefinition,a=t.onChannelClick,s=Oe(),l=me(!1),u=l[0],c=l[1];return n(sBe,xEe({ref:s},{children:[e(lBe,xEe({onClick:function(){return c(!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(uBe,xEe({target:s.current,onDismiss:function(){return c(!1)}},{children:e(cBe,{children:r.map((function(t){return e("li",{children:a?e($je,xEe({onClick:function(){return a(t)}},{children:e(jZe,{channel:t,language:i},void 0)}),void 0):e(jZe,{channel:t,language:i},void 0)},t.id)}))},void 0)}),void 0)]}),void 0)},nBe=r.div(MZe||(MZe=$Ee(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),rBe=r.div(WZe||(WZe=$Ee(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),iBe=r($je)(LZe||(LZe=$Ee(["\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 aBe(e.bubbleCount,e.backgroundColor,e.color)})),oBe=r.span(FZe||(FZe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return aBe(e.bubbleCount,e.backgroundColor,e.color)})),aBe=function(e,t,n){return o(BZe||(BZe=$Ee(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&o(VZe||(VZe=$Ee(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&o(ZZe||(ZZe=$Ee(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),bNe({backgroundColor:t,color:n}))},sBe=r.div(YZe||(YZe=$Ee([""],[""]))),lBe=r($je)(GZe||(GZe=$Ee(["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"],["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"])),6,(function(e){return bNe({backgroundColor:e.backgroundColor,color:e.color})})),uBe=r(Ije)(KZe||(KZe=$Ee(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),cBe=r.ul(HZe||(HZe=$Ee(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),dBe=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(CBe,xEe({className:l,"data-channels":r.map((function(e){return e.name})).join(",")},{children:r.map((function(t){var r=e(EBe,xEe({backgroundColor:a},{children:e(jZe,{channel:t,language:o},void 0)}),void 0);return n(TBe,{children:[i&&e(IBe,xEe({"data-channel":!0,to:i(pBe(t)?t.name:t),"data-rounded-outline":!0},{children:r}),void 0),s&&e(RBe,xEe({"data-rounded-outline":!0,onClick:function(){return pBe(t)?s(t.name,t):s(t)}},{children:r}),void 0),!s&&!i&&e(DBe,{children:r},void 0)]},t.id)}))}),void 0):null};function pBe(e){return null!=e.id}var fBe,hBe,mBe,OBe,gBe,vBe,yBe,bBe,wBe,xBe,_Be,SBe,kBe,PBe,$Be,QBe,CBe=r.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(fBe||(fBe=$Ee(["\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),TBe=r.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(hBe||(hBe=$Ee(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),EBe=r.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(mBe||(mBe=$Ee(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?bNe({backgroundColor:e.backgroundColor}):bNe()})),IBe=r(ze).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(OBe||(OBe=$Ee(["\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),DBe=r.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(gBe||(gBe=$Ee(["\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),RBe=r($je).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(vBe||(vBe=$Ee(["\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),ABe=function(r){var i=r.searchText,o=r.onSearchTextChange,a=r.onExecuteSearch,s=r.onSearchIconClick,l=r.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(zBe,{children:e(pVe,{searchText:i,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0},void 0)},void 0),e(NBe,{children:e(aVe,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},zBe=r.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(yBe||(yBe=$Ee(["\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"])),tpe),NBe=r.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(bBe||(bBe=$Ee(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Jde.medium),jBe=function(t){var r=t.leftSide,i=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,u=t.children,c=me(!1),d=c[0],p=c[1];return n(XBe,xEe({className:l,"data-content-toolbar":!0},{children:[n(MBe,{children:[r&&!i&&e(UBe,{children:r},void 0),(o||s)&&!a&&n(qBe,{children:[s&&e(ABe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?f():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&e(WBe,{children:e(sVe,{onClear:f,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function f(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},XBe=r.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(wBe||(wBe=$Ee(["\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),UBe=r.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(xBe||(xBe=$Ee(["\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"]))),qBe=r.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(_Be||(_Be=$Ee(["\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"]))),MBe=r.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(SBe||(SBe=$Ee(["\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"]))),WBe=r.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(kBe||(kBe=$Ee(["\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"])),Jde.medium);r(jBe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(PBe||(PBe=$Ee(["\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,Jde.medium,20,20),r.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})($Be||($Be=$Ee(["\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"]))),r.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(QBe||(QBe=$Ee([""],[""])));var LBe,FBe,VBe,ZBe,BBe,YBe,GBe,KBe,HBe,JBe,eYe,tYe=function(r){var i=r.onEmojiSelected,o=r.disabled,a=Oe(null),s=me(!1),l=s[0],u=s[1],c=yC().formatMessage;return n(t,{children:[e(nYe,xEe({ref:a},{children:e($Ne,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:o,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&e(rYe,xEe({directionalHint:z.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(oYe,{onSelect:function(e){u(!1),i(e.native)}},void 0)}),void 0)]},void 0)},nYe=r.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(LBe||(LBe=$Ee([""],[""]))),rYe=r(Ije).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(FBe||(FBe=$Ee(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),iYe=Se((function(){return import("./EmojiPicker.esm.esm.js")})),oYe=function(t){var n=t.onSelect,r=eB();return e(ke,xEe({fallback:e(aYe,xEe({isSmaller:r.width<Jde.small},{children:e(SXe,{},void 0)}),void 0)},{children:e(iYe,{onSelect:n},void 0)}),void 0)},aYe=r.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(VBe||(VBe=$Ee(["\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})),sYe=function(){var t=_b();return e(lYe,{children:e("a",xEe({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)},lYe=r.div(ZBe||(ZBe=$Ee(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),uYe=function(t){var r,i,o=t.onGifClick,a=t.className,s=Ab(),l=yC().formatMessage,u=new Mbe.GiphyFetch(s.giphy.apiKey),c=me(null),d=c[0],p=c[1],f=vEe(d,500)[0],h=eB(),m=JZ((function(){if(!f)return u.trending({limit:21});return u.search(f,{limit:21})}),null,[f]),O=m[0],g=m[1],v=h.width<550?80:100;return n(cYe,xEe({className:a},{children:[e(V,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return p(t)},autoFocus:!0},void 0),n(dYe,xEe({columnWidth:v,"data-gif-grid":!0},{children:[g&&e(SXe,{delay:300},void 0),0===(null===(r=null==O?void 0:O.data)||void 0===r?void 0:r.length)&&e(jC,{id:"Generic.noResultsFound"},void 0),null===(i=null==O?void 0:O.data)||void 0===i?void 0:i.map((function(t){return e(pYe,{gif:t,width:v,height:v,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}),void 0)]}),void 0)},cYe=r.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(BBe||(BBe=$Ee(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),dYe=r.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(YBe||(YBe=$Ee(["\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),pYe=r(Tge.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(GBe||(GBe=$Ee(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),fYe=function(t){var r=t.target,i=t.onGifClick,o=t.onDismiss;return n(hYe,xEe({directionalHint:z.topCenter,target:r,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(mYe,{onGifClick:i},void 0),e(sYe,{},void 0)]}),void 0)},hYe=r(Ije)(KBe||(KBe=$Ee(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),mYe=r(uYe)(HBe||(HBe=$Ee(["\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"])));i(JBe||(JBe=$Ee(["\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"])),epe),r(uYe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(eYe||(eYe=$Ee(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10);var OYe,gYe,vYe,yYe,bYe,wYe,xYe=function(r){var i=r.disabled,o=r.onGifClick,a=mle(),s=yC().formatMessage,l=Oe(),u=me(!1),c=u[0],d=u[1];return a.giphy?n("div",{children:[e("div",xEe({ref:l},{children:e($Ne,{iconProps:{iconName:"Gif"},onClick:function(){return d(!0)},disabled:i,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})},void 0)}),void 0),c&&e(t,{children:e(fYe,{target:l.current,onGifClick:function(e){d(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:hue.Giphy})},onDismiss:function(){return d(!1)}},void 0)},void 0)]},void 0):null},_Ye=function(t){var n=t.gifInfo,r=t.className,i=Ab(),o=me(),a=o[0],s=o[1];return ge((function(){new Mbe.GiphyFetch(i.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[i.giphy.apiKey,n.id]),a?e(SYe,xEe({className:r},{children:e(kYe,{gif:a,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},SYe=r.div(OYe||(OYe=$Ee([""],[""]))),kYe=r(Tge.Gif)(gYe||(gYe=$Ee(["\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"])),epe),PYe=function(t){var n=t.attachments,r=t.onDeleteClick,i=t.className,o=yC().formatMessage,a=n.filter((function(e){return e.type===hue.Giphy}));return 0===a.length?null:e($Ye,xEe({className:i,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(QYe,xEe({domIdentifier:"gif",deleteButton:e(TZe,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return r(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:e(_Ye,{gifInfo:t},void 0)}),t.id)}))}),void 0)},$Ye=r.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(vYe||(vYe=$Ee(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),QYe=r(_je).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(yYe||(yYe=$Ee(["\n width: auto;\n"],["\n width: auto;\n"]))),CYe=function(t){var n=t.attachments,r=t.className,i=n.filter((function(e){return e.type===hue.Giphy}));return 0===i.length?null:e(TYe,xEe({className:r,"data-gif-url-preview":i[0].id},{children:e(EYe,{children:e(_Ye,{gifInfo:i[0]},void 0)},void 0)}),void 0)},TYe=r.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(bYe||(bYe=$Ee(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),EYe=r(_je).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(wYe||(wYe=$Ee(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var IYe,DYe,RYe,AYe=function(t){var r,i,o=Oe(null),a=me(!1),s=a[0],l=a[1];return n(zYe,xEe({className:t.className},((r={})[t.dataAttribute]=!0,r),{ref:o},{children:[e(NYe,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return SEe(this,void 0,void 0,(function(){var e,n;return kEe(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(jYe,xEe({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)},zYe=r.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(IYe||(IYe=$Ee(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),NYe=r($Ne).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(DYe||(DYe=$Ee(["\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"]))),jYe=r(Ije).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(RYe||(RYe=$Ee(["\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"]))),XYe="video-view-container";function UYe(e,t){return void 0===t&&(t=!1),null==e||0===e.trim().length||t&&function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.innerText.trim().length&&null===t.querySelector("div")}(e)}var qYe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr-latn","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function MYe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),qYe.find((function(t){return t===e}))):null}function WYe(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}function LYe(){return navigator.language}var FYe,VYe,ZYe,BYe,YYe,GYe,KYe,HYe,JYe,eGe=function(t){var r=t.onNextClick,i=t.onPrevClick,o=t.onFirstClick,a=t.hidePrevButton,s=t.hideNextButton,l=t.isLoadingNextPage,u=t.className,c=yC().formatMessage,d=pe(Eme).theme.palette;return s&&a?null:n(tGe,xEe({className:u},{children:[e(yNe,xEe({resourceKey:"Lib.paging.goToFirstPage"},{children:e(rGe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),e(iGe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:i,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),e(oGe,{iconProps:{iconName:"ChevronRightSmall"},text:c({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:r,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},tGe=r.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(FYe||(FYe=$Ee(["\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),nGe=r($je).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(ZYe||(ZYe=$Ee(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o(VYe||(VYe=$Ee(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),rGe=r(nGe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(BYe||(BYe=$Ee([""],[""]))),iGe=r(nGe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(YYe||(YYe=$Ee([""],[""]))),oGe=r(nGe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(GYe||(GYe=$Ee(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));r.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(KYe||(KYe=$Ee(["\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})),r.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(HYe||(HYe=$Ee(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),60),r.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(JYe||(JYe=$Ee(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var aGe=WEe,sGe=Array.isArray||function(e){return"Array"==aGe(e)},lGe=sGe,uGe=CDe,cGe=NXe,dGe=function(e,t,n,r,i,o,a,s){for(var l,u=i,c=0,d=!!a&&cGe(a,s,3);c<r;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&lGe(l))u=dGe(e,t,l,uGe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},pGe=dGe,fGe=KEe,hGe=sGe,mGe=dAe("species"),OGe=pGe,gGe=yRe,vGe=CDe,yGe=gRe,bGe=function(e,t){var n;return hGe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!hGe(n.prototype)?fGe(n)&&null===(n=n[mGe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function wGe(e,t,n){var r=function(e){var t=me(0),n=t[0],r=t[1],i=me({pages:{},paginationToken:null,hasNextPage:!0}),o=i[0],a=i[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:PEe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,r){a((function(i){var o;return{pages:wEe(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=xEe({},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 xEe(xEe({},n),{pages:r})}))},insertToTheFront:function(t){for(var i,s,l=PEe([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[]),u=xEe(xEe({},o.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var p=0===d,f=Object.keys(u)[d],h=u[f].length;if(p&&h>e&&h<=2*e){n<2*e&&r(n+e);break}if(h<=e)break;var m=u[f].pop(),O=null!==(s=Object.keys(u)[d+1])&&void 0!==s?s:p?2*e:+f+e,g=u[O];if(!g){o.hasNextPage||(u[O]=[m],r(n+e));break}g.unshift(m),d++}a(xEe(xEe({},o),{pages:u}))},deleteItem:function(t){for(var i=xEe({},o.pages),s=Object.keys(i).length,l=0;l<s;){var u=Object.keys(i)[l];if(i[u].find((function(e){return e.id===t}))){i[u]=i[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<s;){if(!i[u=Object.keys(i)[l++]].length&&l===s){delete i[u],c=!0;break}var d=Object.keys(i)[l],p=d?i[d]:null;if(!p)break;var f=p.shift();i[u].push(f)}a(xEe(xEe({},o),{pages:i}));var h=(c||i[0].length===e)&&n>e;return h&&r(n-e),h}}}(e),i=r.state,o=r.setInitialPages,a=r.updatePageItems,s=r.lastFetchedPageIndex,l=r.updateLastFetchedPageIndex,u=r.updateItem,c=r.insertToTheFront,d=r.deleteItem,p=me(0),f=p[0],h=p[1],m=me(!0),O=m[0],g=m[1],v=me(!1),y=v[0],b=v[1],w=me(null),x=w[0],_=w[1];ge((function(){k()}),PEe([e],n||[]));var S=Object.keys(i.pages).flatMap((function(e){return i.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:O,isLoadingNextPage:y,error:x,getFirstPage:function(){return h(e)},getPrevPage:function(){return h(f-e)},getNextPage:function(){return SEe(this,void 0,void 0,(function(){return kEe(this,(function(t){switch(t.label){case 0:return h(f+e),i.hasNextPage&&f===s-e?[4,P(i.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===s&&!i.hasNextPage,isEmpty:!O&&0===(null==S?void 0:S.length),insertToTheFront:c,updateItem:u,onBeforeDeleteItem:function(t){var n=d(t);!i.hasNextPage&&n&&f>=s&&f>0&&h(f-e);b(!0)},onAfterDeleteItem:function(){return SEe(this,void 0,void 0,(function(){return kEe(this,(function(t){switch(t.label){case 0:return i.hasNextPage?i.paginationToken!==2*e?[3,2]:[4,k()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,P(+i.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return b(!1),[2]}}))}))}};function k(){return SEe(this,void 0,void 0,(function(){var n,r;return kEe(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),h(e)):(l(2),h(e)),[3,4];case 2:return r=i.sent(),Vb.error(r),_(r),[3,4];case 3:return g(!1),[7];case 4:return[2]}}))}))}function P(n){return SEe(this,void 0,void 0,(function(){var r,i;return kEe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),b(!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(),Vb.error(i),_(x),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}}ORe({target:"Array",proto:!0},{flatMap:function(e){var t,n=gGe(this),r=vGe(n.length);return yGe(e),(t=bGe(n,0)).length=OGe(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),ZAe("flatMap");var xGe,_Ge,SGe,kGe,PGe,$Ge,QGe,CGe=function(r){var i=r.onNextClick,o=r.onPrevClick,a=r.hidePagination,s=r.disablePrevButton,l=r.disableNextButton,u=r.children,c=r.className,d=pe(Eme).theme.palette,p=yC().formatMessage;return a?e(t,{children:u},void 0):n(TGe,xEe({className:c},{children:[e(IGe,{disabled:s,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:d.accent,ariaLabel:p({id:"Lib.paging.previous"})},void 0),e(RGe,{children:u},void 0),e(DGe,{disabled:l,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:d.accent,ariaLabel:p({id:"Lib.paging.next"})},void 0)]}),void 0)},TGe=r.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(xGe||(xGe=$Ee(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),EGe=r($Ne).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(_Ge||(_Ge=$Ee(["\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"),IGe=r(EGe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(SGe||(SGe=$Ee(["\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})),DGe=r(EGe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(kGe||(kGe=$Ee(["\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})),RGe=r.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(PGe||(PGe=$Ee(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),AGe=fe(null);r.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})($Ge||($Ge=$Ee(["\n width: 100%;\n"],["\n width: 100%;\n"]))),r.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(QGe||(QGe=$Ee(["\n display: contents;\n"],["\n display: contents;\n"])));var zGe,NGe,jGe,XGe,UGe,qGe,MGe,WGe,LGe,FGe=o(zGe||(zGe=$Ee(["\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"]))),VGe=o(NGe||(NGe=$Ee(["\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"])),FGe,Jde.medium,20),ZGe=o(jGe||(jGe=$Ee(["\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})),BGe=o(XGe||(XGe=$Ee(["\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"])),tpe),YGe=function(r){var i=r.allChannelsOption,o=r.bookmarkOption,a=r.channelsOptions,s=r.getInitialSelectedKey,l=r.manageChannelsOption,u=fle(),c=u.isLibUser,d=u.user,p=pe(nOe).channels,f=yC().formatMessage,h=function(){var e=[];i&&e.push({key:"AllChannels",text:f({id:"Channels.All"}),data:{pathname:i.to,iconName:"Org",exact:!0,onSelected:i.onSelected,isChannel:!1}});if(a){var t=(a.availableChannels?(p||[]).filter((function(e){return a.availableChannels.some((function(t){return e.id===t||e.name===t}))})):d.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=a.to)||void 0===t?void 0:t.call(a,e),iconName:"Org",exact:!1,channel:e,isChannel:!0,onSelected:a.onSelected?function(){return a.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}});l&&e.push({key:"ManageChannels",text:f({id:"PageMenu.manageUserChannels"}),data:{pathname:l.to,iconName:"CollapseMenu",exact:!0,onSelected:l.onSelected,isChannel:!1}});return e}(),m=me((function(){return(null==s?void 0:s(h))||"AllChannels"})),O=m[0],g=m[1];return n(t,{children:[e(GGe,{},void 0),e(KGe,{options:h,onRenderOption:function(t){if(t.data.onSelected)return n(JGe,{children:[e(S,{iconName:t.data.iconName},void 0),t.data.isChannel?e(jZe,{channel:t.data.channel,language:c?d.preferredContentLanguage:d.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]},t.key);return n(HGe,xEe({to:t.data.pathname,exact:t.data.exact,isActive:t.key===O?function(){return!0}:void 0},{children:[e(S,{iconName:t.data.iconName},void 0),t.data.isChannel?e(jZe,{channel:t.data.channel,language:c?d.preferredContentLanguage:d.preferredUiLanguage},void 0):e("span",{children:t.text},void 0)]}),t.key)},selectedKey:O,onRenderTitle:function(t){var n=t[0];if(n.data.isChannel)return e(jZe,{channel:n.data.channel,language:c?d.preferredContentLanguage:d.preferredUiLanguage},void 0);return e("span",{children:n.text},void 0)},onChange:function(e,t){var n,r;g(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:Z.large,ariaLabel:f({id:"AriaLabel.toolbarChannelSelector"})},void 0)]},void 0)},GGe=i(UGe||(UGe=$Ee(["\n ","\n"],["\n ","\n"])),BGe),KGe=r(eXe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(qGe||(qGe=$Ee(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),VGe),HGe=r(ze).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(MGe||(MGe=$Ee(["\n ","\n"],["\n ","\n"])),ZGe),JGe=r.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(WGe||(WGe=$Ee(["\n ",";\n"],["\n ",";\n"])),ZGe),eKe=function(t){var n=t.handler,r=t.disabled;return mle().unreadTracking?e(aVe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:r,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},tKe=function(t){var n=t.onClick,r=mle(),i=me(!1),o=i[0],a=i[1];return r.unreadTracking?e(aVe,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:o?"Hide3":"View",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o},void 0):null},nKe=function(t){var n=t.onClick,r=t.to,i=t.disabled;return e(aVe,{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)},rKe=function(t){var n=t.onClick,r=t.to;return e(aVe,{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.UnregisteredEvents="unregistered",e.PastEvents="past"}(LGe||(LGe={}));var iKe,oKe,aKe,sKe,lKe=function(r){var i=r.extraViewOptions,o=r.onChange,a=r.value,s=r.viewOptions,l=yC().formatMessage,u=function(){var e=[];(null==s?void 0:s.hideUpcomingEventsView)||e.push({data:{iconName:"Event"},key:LGe.UpcomingEvents,text:l({id:"Events.upcoming"})});(null==s?void 0:s.hideMyBookedEventsView)||e.push({data:{iconName:"PrimaryCalendar"},key:LGe.MyBookedEvents,text:l({id:"Events.myEvents"})});(null==i?void 0:i.showUnregisteredEventsView)&&e.push({data:{iconName:"EventTentative"},key:LGe.UnregisteredEvents,text:l({id:"Events.unregistered"})});(null==s?void 0:s.hidePastEventsView)||e.push({data:{iconName:"RemoveEvent"},key:LGe.PastEvents,text:l({id:"Events.pastEvents"})});return e}();return n(t,{children:[e(uKe,{},void 0),e(cKe,{options:u,onRenderOption:function(t){return n(dKe,{children:[e(S,{iconName:t.data.iconName},void 0),e("span",{children:t.text},void 0)]},t.key)},selectedKey:u.length>0?a||u[0].key:void 0,onChange:function(e,t){return o(t.key)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:Z.large,ariaLabel:l({id:"Events.chromelessDropdown"})},void 0)]},void 0)},uKe=i(iKe||(iKe=$Ee(["\n ","\n"],["\n ","\n"])),BGe),cKe=r(eXe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(oKe||(oKe=$Ee(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),VGe),dKe=r.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(aKe||(aKe=$Ee(["\n ",";\n"],["\n ",";\n"])),ZGe);function pKe(){var e=B1(),t=e.createApiUrl,n=e.fetchFromApi,r=pe(rB).onRequestToken;return he((function(){return{uploadImage:function(e,t,i,o,a){return SEe(this,void 0,void 0,(function(){var s,l,u;return kEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+K5.getExtension(a.type)),[4,r()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:V1(l,t)},[2,n(e+"/attachments/"+o+"/images/"+i,u)]}}))}))},uploadFile:function(e,t,i,o,a){return SEe(this,void 0,void 0,(function(){var s,l,u;return kEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:V1(l,t)},[2,n(e+"/attachments/"+o+"/files/"+i,u)]}}))}))},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,s){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a,s)},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,l){var u=l?"/preview":"";return t(null==a?e+"/attachments/"+i+"/images/"+o+u:"default"===a?e+"/attachments/"+i+"/images/"+o+u+"/default":e+"/attachments/"+i+"/images/"+o+u+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:r})}}),[r,n,t])}function fKe(){var e=Y1();return he((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return SEe(this,void 0,void 0,(function(){var t;return kEe(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return t=r.sent(),[2,qle.apply(void 0,PEe([e],t))]}}))}))},resolveActiveLanguages:function(e){return SEe(this,void 0,void 0,(function(){return kEe(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 SEe(this,void 0,void 0,(function(){var t;return kEe(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 hKe(){var e=B1(),t=e.createApiUrl,n=e.fetchFromApi,r=fle().isLibUser,i=mle();return he((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,o,a,s,l){return t("/"+a+"/"+n+"/videos/banner/thumbnail"+(r&&i.imageBackendCaching?"/cached":"")+"/"+("number"==typeof s?s:0)+"/"+(l||""),{access_token:e,subscriptionId:o})},uploadCustomVideoThumbnail:function(e,t,r,i,o){return SEe(this,void 0,void 0,(function(){var a,s;return kEe(this,(function(l){switch(l.label){case 0:return(a=new FormData).append("file",o),s={method:"POST",body:a,headers:V1(e,r)},[4,n("/editor/"+t+"/videos/"+encodeURIComponent(i)+"/thumbnail",s)];case 1:return[2,l.sent()]}}))}))}}}),[t,n])}i(sKe||(sKe=$Ee(["\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 mKe,OKe,gKe,vKe,yKe,bKe,wKe,xKe,_Ke,SKe,kKe,PKe,$Ke,QKe,CKe=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}(),TKe=function(t){var n=mle(),r=me(null),i=r[0],o=r[1],a=Due().getUserAvatarUrl;if(cOe(CKe.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),ge((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=l$(t.text||t.displayName||t.upn);return e(EKe,xEe({},t,{"data-avatar":!0,text:t.text,imageUrl:i,imageShouldFadeIn:!1,imageInitials:s,initialsColor:u$(s),secondaryText:!t.forceShowSecondaryText&&fue(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)}))}},EKe=r(Q).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(mKe||(mKe=$Ee(["\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"]))),IKe=function(t){var r=t.className,i=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(RKe,xEe({className:r},{children:[i&&e(yNe,xEe({resourceKey:o,text:a},{children:e(DKe,{iconName:i},"icon")}),void 0),e(AKe,xEe({dir:"auto"},{children:s}),void 0)]}),void 0):null},DKe=r(S).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(OKe||(OKe=$Ee(["\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"]))),RKe=r.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(gKe||(gKe=$Ee(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),AKe=r.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(vKe||(vKe=$Ee([""],[""]))),zKe=function(t){var n=t.email;return fue(n)?null:e(IKe,xEe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(LKe,xEe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},NKe=function(t){var n=t.value,r=yC().formatMessage;return null==n?null:e(IKe,xEe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(LKe,xEe({href:"tel:"+n},{children:r({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},jKe=function(n){var r=n.value,i=yC().formatMessage;return null==r?null:e(t,{children:(r="string"==typeof r?[r]:r).map((function(t,n){return e(IKe,xEe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(LKe,xEe({href:"tel:"+t},{children:i({id:"Generic.callOffice"},{number:t})}),void 0)}),t+n)}))},void 0)},XKe=function(n){var r=n.value,i=n.tooltipResourceKey,o=mle();return null==r?null:e(IKe,xEe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:o.userLocationLookup?e(LKe,xEe({target:"_blank",rel:"noopener noreferrer",href:HVe(r)},{children:r}),void 0):e(t,{children:r},void 0)}),void 0)},UKe=function(t){var n=t.value;return null==n?null:e(IKe,xEe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},qKe=function(t){var n=t.value;return null==n?null:e(IKe,xEe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},MKe=function(t){var n=t.value,r=Hpe().buildPath,i=mle();if(!(null==n?void 0:n.userId)||!i.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(IKe,xEe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(FKe,xEe({to:r("chats/new")+"?"+zb.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:e(jC,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},WKe=o(yKe||(yKe=$Ee(["\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})),LKe=r.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(bKe||(bKe=$Ee(["\n ","\n"],["\n ","\n"])),WKe),FKe=r(Ae).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(wKe||(wKe=$Ee(["\n ","\n"],["\n ","\n"])),WKe),VKe={mobilePhone:NKe,department:UKe,address:XKe},ZKe=function(t){var n=t.className,r=t.value,i=t.definition,o=function(){var e=hle(),t=yC().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(r){var i=YP(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),u=s(i),c=VKe[i.name];return c?Pe(c,{value:r}):e(IKe,xEe({iconName:u,tooltipText:l,className:n},{children:r}),void 0)},BKe=function(r){var i,o,a,s,l,u=r.user,c=r.ignoredProperties,d=void 0===c?[]:c;return n(t,{children:[!d.includes("department")&&e(UKe,{value:null===(i=u.properties)||void 0===i?void 0:i.department},void 0),!d.includes("jobTitle")&&e(qKe,{value:null===(o=u.properties)||void 0===o?void 0:o.jobTitle},void 0),!d.includes("mobilePhone")&&e(NKe,{value:null===(a=u.properties)||void 0===a?void 0:a.mobilePhone},void 0),!d.includes("businessPhones")&&e(jKe,{value:null===(s=u.properties)||void 0===s?void 0:s.businessPhones},void 0),!d.includes("chatMessage")&&e(MKe,{value:u},void 0),!d.includes("officeLocation")&&e(XKe,{value:null===(l=u.properties)||void 0===l?void 0:l.officeLocation},void 0)]},void 0)},YKe=function(r){var i=r.user,o=r.ignoredProperties,a=void 0===o?[]:o,s=hle();return n(t,{children:[!a.includes("chatMessage")&&e(MKe,{value:i},void 0),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(ZKe,{definition:t,value:null===(n=i.properties)||void 0===n?void 0:n[t.name]},t.name)}))]},void 0)},GKe=["displayName","department","jobTitle"],KKe=function(t){var r,i,o=t.upn,a=t.showAvatar,s=t.id,l=Due(),u=l.getUserInfo,c=l.getUserInfoById,d=JZ((function(){return o?u(o):c(s)}),null,[o,s]),p=d[0],f=d[1];if(d[2])return e(HKe,{children:e(jC,o?{id:"Profile.CannotLoadInfo",values:{upn:o}}:{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(f)return e(tHe,{},void 0);var h=hle(),m=(null===(r=null==h?void 0:h.subscription)||void 0===r?void 0:r.profileCardHiddenProperties)||[],O={name:"displayName",mobilePhone:"mobilePhone",jobTitle:"jobTitle",company:"companyName",address:"officeLocation"},g=m.map((function(e){return O[e]})).filter(Boolean),v=PEe(PEe([],a?GKe:[]),p.isDirectoryUser?g:m);return n(JKe,xEe({"data-user-details":!0},{children:[a&&e(TKe,{upn:p.userPrincipalName,size:N.large,text:p.displayName||p.userPrincipalName,secondaryText:p.properties&&p.properties.department,tertiaryText:p.properties&&p.properties.jobTitle},void 0),n(eHe,{children:[e(zKe,{email:null!==(i=p.mail)&&void 0!==i?i:p.userPrincipalName},void 0),p.isDirectoryUser?e(BKe,{user:p,ignoredProperties:v},void 0):e(YKe,{user:p,ignoredProperties:v},void 0)]},void 0)]}),void 0)},HKe=r.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(xKe||(xKe=$Ee(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),JKe=r.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(_Ke||(_Ke=$Ee(["\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),eHe=r.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(SKe||(SKe=$Ee(["\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),tHe=r(SXe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(kKe||(kKe=$Ee(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),nHe=function(r){var i=r.upn,o=r.className,a=r.children,s=r.readOnly,l=r.domIdentifier,u=Oe(null),c=hle(),d=me(!1),p=d[0],f=d[1];return s?e(iHe,xEe({className:o},{children:a}),void 0):n(t,{children:[e(iHe,xEe({ref:u,className:o},{children:e(oHe,xEe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),f(!p)},ariaLabel:i,dir:"auto"},{children:a}),"children")}),void 0),p&&!c.isPublicUser&&e(Ije,xEe({className:"persona-card-callout",directionalHint:z.bottomCenter,isBeakVisible:!0,onDismiss:function(){return f(!1)},target:u.current},{children:e(rHe,{children:e(KKe,{upn:i,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},rHe=r.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(PKe||(PKe=$Ee(["\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,Jde.medium),iHe=r.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})($Ke||($Ke=$Ee(["\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"]))),oHe=r(b).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(QKe||(QKe=$Ee(["\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 aHe(){return aHe=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},aHe.apply(this,arguments)}var sHe=function(e){return ce.createElement("svg",aHe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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 lHe(){return lHe=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},lHe.apply(this,arguments)}var uHe=function(e){return ce.createElement("svg",lHe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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 cHe(){return cHe=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},cHe.apply(this,arguments)}var dHe,pHe,fHe,hHe,mHe,OHe,gHe=function(e){return ce.createElement("svg",cHe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),ce.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),ce.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}}),ce.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}}),ce.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"}}),ce.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}}),ce.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"}}))},vHe=function(t){var n=t.info,r="number"==typeof n;return e(yHe,xEe({isNumber:r,"data-badge-info":n},{children:e(bHe,xEe({isNumber:r},{children:"number"==typeof n&&n}),void 0)}),void 0)},yHe=r.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(fHe||(fHe=$Ee(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?o(dHe||(dHe=$Ee(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o(pHe||(pHe=$Ee(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),bHe=r.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(mHe||(mHe=$Ee(["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"],["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){var t=e.isNumber?22:14;return o(hHe||(hHe=$Ee(["\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 wHe(){return wHe=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},wHe.apply(this,arguments)}var xHe,_He=function(e){return ce.createElement("svg",wHe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),OHe||(OHe=ce.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 SHe(t){return e(EHe,xEe({"data-page-alert":!0},{children:n(IHe,{children:[t.errorType&&e(DHe,xEe({onClick:t.onClick},{children:t.errorType===xHe.LoginError?e(uHe,{},void 0):t.errorType===xHe.GenericError?e(sHe,{},void 0):t.errorType===xHe.Error403?e(gHe,{},void 0):e(oFe,{},void 0)}),void 0),e(RHe,{children:t.alertText},void 0),e(AHe,{children:t.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(xHe||(xHe={}));var kHe,PHe,$He,QHe,CHe,THe,EHe=r.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(kHe||(kHe=$Ee(["\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})),IHe=r.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(PHe||(PHe=$Ee(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),DHe=r.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})($He||($He=$Ee(["\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}),tpe),RHe=r.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(QHe||(QHe=$Ee(["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"],["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"])),(function(e){return e.theme.palette.accent}),32),AHe=r.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(CHe||(CHe=$Ee(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),zHe=r.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(THe||(THe=$Ee(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),NHe={exports:{}},jHe=Object.getOwnPropertySymbols,XHe=Object.prototype.hasOwnProperty,UHe=Object.prototype.propertyIsEnumerable;function qHe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var MHe=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=qHe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))XHe.call(n,a)&&(i[a]=n[a]);if(jHe){r=jHe(n);for(var s=0;s<r.length;s++)UHe.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},WHe=Function.call.bind(Object.prototype.hasOwnProperty),LHe=function(){};if("production"!==process.env.NODE_ENV){var FHe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",VHe={},ZHe=WHe;LHe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function BHe(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(ZHe(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,FHe)}catch(e){a=e}if(!a||a instanceof Error||LHe((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 VHe)){VHe[a.message]=!0;var l=i?i():"";LHe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}BHe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(VHe={})};var YHe=Ue,GHe=MHe,KHe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",HHe=WHe,JHe=BHe,eJe=function(){};function tJe(){return null}"production"!==process.env.NODE_ENV&&(eJe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function nJe(){}function rJe(){}rJe.resetWarningCache=nJe;if("production"!==process.env.NODE_ENV){var iJe=Ue;NHe.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(tJe),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 u=e(s,l,r,i,o+"["+l+"]",KHe);if(u instanceof Error)return u}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 YHe.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 `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,r,i){return c(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 u in s)if(HHe(s,u)){var c=e(s,u,r,i,o+"."+u,KHe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&eJe(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."),tJe;function t(t,n,r,i,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(l)+"` supplied to `"+r+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&eJe("Invalid argument supplied to oneOfType, expected an instance of array."),tJe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return eJe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),tJe}return s((function(t,n,r,i,o){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,r,i,o,KHe);if(null==u)return null;u.data&&HHe(u.data,"expectedType")&&s.push(u.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 c in e){var f=e[c];if("function"!=typeof f)return u(r,i,o,c,p(f));var h=f(s,c,r,i,o+"."+c,KHe);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 c=GHe({},t[n],e);for(var f in c){var h=e[f];if(HHe(e,f)&&"function"!=typeof h)return u(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,KHe);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,u,c,d,p){if(u=u||r,d=d||l,p!==KHe){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=u+":"+l;!n[h]&&i<3&&(eJe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[l]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,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 u(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 c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var 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(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function 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=JHe,i.resetWarningCache=JHe.resetWarningCache,i.PropTypes=i,i}(iJe.isElement,!0)}else NHe.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:rJe,resetWarningCache:nJe};return n.PropTypes=n,n}();var oJe=NHe.exports,aJe=Object.freeze({__proto__:null,useCurrentUser:hle,useAccountApi:Due,useAuthenticationContext:iB,useEnvironmentConfig:Sb,useNotificationContext:qme,usePromise:JZ,LinkContext:wD,TextLink:eVe,logger:Vb,createId:Bb,ResourceContext:yz,usePluginSettings:function(){var e=pe(_he).settings;return null!=e?e:{}},usePluginStorage:$he,usePluginDeviceStore:$he,usePluginSubscriptionStore:function(){return pe(_he).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=pe(_he).subscriptionStore,i=JZ((function(){return r.get(e).catch(Che)}),void 0,Qte(Qte([],t||[]),[e])),o=i[0],a=i[1],s=i[2],l=i[3],u=i[4];return{data:o,set:function(t){return Pte(n,void 0,void 0,(function(){var n;return $te(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,l(t),[4,r.set(e,t).catch((function(e){return l(n),Che(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:s,refresh:u,remove:function(){return Pte(n,void 0,void 0,(function(){var t;return $te(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,l(void 0),[4,r.delete(e).catch((function(e){return l(t),Che(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return pe(_he).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=pe(_he).userStore,i=JZ((function(){return r.get(e).catch(Che)}),void 0,Qte(Qte([],t||[]),[e])),o=i[0],a=i[1],s=i[2],l=i[3],u=i[4];return{data:o,set:function(t){return Pte(n,void 0,void 0,(function(){var n;return $te(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,l(t),[4,r.set(e,t).catch((function(e){return l(n),Che(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:s,refresh:u,remove:function(){return Pte(n,void 0,void 0,(function(){var t;return $te(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,l(void 0),[4,r.delete(e).catch((function(e){return l(t),Che(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:_b().apiEndpoint}},AccountType:lle,PeoplePicker:XNe,GutterToggle:QNe,EditorSettingsDialog:PNe,Spinner:m,SelectionMode:M,EditorHighlight:wNe,useTheme:function(){return pe(Eme).theme},useSubscriptionHandlePathBuilder:Hpe,useSubscriptionWebAppUrl:Jpe});var sJe,lJe=[{name:"@reach/core",packageDefinition:xEe({default:{}},aJe)}],uJe=[{name:"react",packageDefinition:xEe(xEe({},de),{default:de})},{name:"react-dom",packageDefinition:xEe(xEe({},Me),{default:Me})},{name:"react-is",packageDefinition:xEe(xEe({},Ue),{default:Ue})},{name:"prop-types",packageDefinition:xEe({default:oJe},oJe)},{name:"react-router-dom",packageDefinition:xEe({default:Ee},Ee)},{name:"styled-components",packageDefinition:{default:r,createGlobalStyle:i,css:o,useTheme:s,isStyledComponent:l,keyframes:u,withTheme:c,ThemeProvider:a,ThemeContext:d,ThemeConsumer:p}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:C,Label:T,PrimaryButton:x,Icon:S,Link:v,TextField:w,ActionButton:b,IconButton:g,DefaultButton:_,Spinner:m,Dropdown:E,ProgressIndicator:I,Shimmer:D,ShimmerElementsGroup:R,ShimmerElementType:A,DirectionalHint:z,PersonaSize:N,TooltipHost:j,DialogType:X,Dialog:CEe,DialogFooter:U,ChoiceGroup:$}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:jC,useIntl:yC,FormattedDate:XC,FormattedTime:UC,IntlProvider:QC}},{name:"@apollo/client",packageDefinition:{default:{},gql:fM,useQuery:function(e,t){return IM(e,t,!1)},ApolloClient:oM,ApolloProvider:_M,from:AX,ApolloLink:RX,fromPromise:QX,split:zX,HttpLink:LX,InMemoryCache:Xq,useLazyQuery:function(e,t){return IM(e,t,!0)},useMutation:DM,ApolloError:qq,useApolloClient:SM,useSubscription:function(e,t){var n=ve((function(e){return e+1}),0),r=n[1],i=pe(wM()),o=t?La(La({},t),{subscription:e}):{subscription:e},a=me({loading:!o.skip,error:void 0,data:void 0}),s=a[0],l=a[1],u=Oe(),c=(u.current||(u.current=new QM({options:o,context:i,setResult:l})),u.current);return c.setOptions(o,!0),c.context=i,__DEV__&&EM(r),ge((function(){return c.afterExecute()})),ge((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:sY}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:xY}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:_j}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:wY}}],cJe=function(t){var n=t.color,r=t.onColorChange,i=t.className,o=me(n),a=o[0],s=o[1];return ge((function(){s(n)}),[n]),e(dJe,xEe({className:i},{children:e(G,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},dJe=r.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(sJe||(sJe=$Ee(["\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),pJe=function(t){var n=t.children,r={data:[],getUser:function(){},identify:function(e,t){return Promise.resolve(void 0)},interaction:function(e){return Promise.resolve(void 0)},load:function(e,t){},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},contextualProperties:null,setContextualProperties:function(e){}};return e(Qpe.Provider,La({value:r},{children:n}),void 0)},fJe=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=me(null),a=o[0],s=o[1],l=he((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(n){return Vb.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(rB.Provider,La({value:l},{children:r}),void 0)},hJe="0.4.161",mJe="164424",OJe="05a686c0e7ba1814959e3aea118b5aa91571bed2",gJe=Ot,vJe=lt,yJe=Br("match"),bJe=function(e){var t;return gJe(e)&&(void 0!==(t=e[yJe])?!!t:"RegExp"==vJe(e))},wJe=bJe,xJe=Br("match"),_Je=function(e){if(wJe(e))throw TypeError("The method doesn't accept regular expressions");return e},SJe=pt,kJe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[xJe]=!1,"/./"[e](t)}catch(e){}}return!1};Dr({target:"String",proto:!0,forced:!kJe("includes")},{includes:function(e){return!!~String(SJe(this)).indexOf(_Je(e),arguments.length>1?arguments[1]:void 0)}});var PJe,$Je,QJe={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://livetilesglobal.com/livetiles-reach/",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.dev.analytics.livetiles.io",ingestionHostName:"api.test.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"00bc5e79-67a0-447f-b841-daab4017898e"}],matomoConfig:{matomoUrl:"https://matomo.dev.analytics.livetiles.io/matomo.php",scriptUrl:"https://matomo.dev.analytics.livetiles.io/matomo.js"}}}}},CJe={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:"a44aca36-7e16-447d-b7ed-5e341572a682"}]},australia:{dashboardHostName:"superset-aue.analytics.livetiles.io",ingestionHostName:"api-aue.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"a44aca36-7e16-447d-b7ed-5e341572a682"}]},usa:{dashboardHostName:"superset-use.analytics.livetiles.io",ingestionHostName:"api-use.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"a44aca36-7e16-447d-b7ed-5e341572a682"}]}}}},TJe=require("deepmerge"),EJe=["//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"],IJe=function(t){var n=t.children,r=_b(),i=r.apiEndpoint,o=r.additionalVideoSources,a=he((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!EJe.some((function(e){return i.toLowerCase().includes(e)}));if(!e)return Vb.info("Will use non prod client config..."),La(La({},QJe),{additionalVideoSources:o});var t=TJe(QJe,CJe,{arrayMerge:function(e,t){return t}});return La(La({},t),{additionalVideoSources:o})}())}),[i]);return e(Rb.Provider,La({value:a},{children:n}),void 0)},DJe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(RJe,La({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},RJe=function(n){var r=n.subscriptionId,i=n.children,o=pe(rB).setToken,a=wz(),s=tOe().getSubscriptionBySubscriptionIdentifier,l=B1().fetchFromApi,u=pe(bD),c=u.handleFatalError,d=u.handleAccessDeniedError,p=JZ((function(){return Va(this,void 0,void 0,(function(){var e,t,n;return Za(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,a.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,s(r)];case 2:return i.sent().allowPublicAccess?[4,g(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,a.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),f=p[0],h=p[1],m=p[2];if(m)return Vb.error(m),c({error:m}),null;if(h)return null;if(!f){var O={message:"Public access is not enabled for the subscription "+r+"!"};return Vb.error(O.message),d({error:O}),null}return e(t,{children:i},void 0);function g(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},AJe=function(t){var n=t.children,r=me(),i=r[0],o=r[1],a=me(),s=a[0],l=a[1],u=me(),c=u[0],d=u[1],p=he((function(){return{handleFatalError:o,handleAccessDeniedError:l,handleNotFoundError:d}}),[o,l,d]);return e(bD.Provider,La({value:p},{children:e(zJe,La({fatalError:i,notFoundError:c,accessDeniedError:s},{children:n}),void 0)}),void 0)},zJe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(NJe,{messageId:r.messageId,error:r.error},void 0):i?e(NJe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(NJe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},NJe=function(t){var r=t.messageId,i=t.error,o=yC().formatMessage,a=me(!1),s=a[0],l=a[1];return e(SHe,La({errorType:xHe.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(jJe,{children:[e(jC,{id:"Generic.error.details"},void 0),e(XJe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},jJe=r.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(PJe||(PJe=ts(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),XJe=r.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})($Je||($Je=ts(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),UJe=function(t){var n=t.children,r=Jpe(),i=he((function(){return{onShare:function(){return Va(void 0,void 0,void 0,(function(){return Za(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(wD.Provider,La({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},qJe=function(){return null},MJe=Object.freeze({__proto__:null,Page:qJe,NavLinkSidebarItem:qJe,PageMenuActionItem:qJe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+hJe+" ("+mJe+") ["+OJe+"]"),window.__did_initialize_reach_context)return;K("https://res.cdn.office.net/files/fabric-cdn-prod_20240129.001/assets/icons/")}();var WJe=function(r){var i,o,a,s,l,u,c,d=null!=pe(xb);ge((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(khe.apply(void 0,PEe(["ReachCorePackages"],PEe(PEe([],uJe),lJe))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:La({default:{}},e)},{name:"@reach/chrome",packageDefinition:La({default:{}},MJe)}],khe.apply(void 0,Ja(["ReachComponentLibraryPackages"],t))))}),[]);var p=he((function(){var e,t,n,i,o,a,s,l,u,c;return{env:{deviceInfo:{},version:hJe,commitId:OJe,buildId:mJe},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!==(c=null===(u=r.config)||void 0===u?void 0:u.additionalVideoSources)&&void 0!==c?c:[]}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(a=r.config)||void 0===a?void 0:a.api3Endpoint,null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint,null===(l=r.config)||void 0===l?void 0:l.additionalVideoSources]);return d?(Vb.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(La({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",La({className:jte},{children:e(xb.Provider,La({value:p},{children:e(Ne,{children:e(bz.Provider,La({value:Oz},{children:e(IJe,{children:e(ile,La({language:r.language,locale:r.locale},{children:e(Ime,La({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(AJe,{children:e(fJe,La({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(_z,La({subscriptionId:r.subscriptionId},{children:e(DJe,La({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(UJe,{children:e(yW,La({client:MOe},{children:e(yD.Provider,La({value:{hideChrome:!1}},{children:e(FJe,La({language:r.language,languageFallback:r.languageFallback,locale:r.locale,subscriptionId:r.subscriptionId},{children:e(z2,La({gqlClientConfig:{endPoint:p.appConfig.api3Endpoint,webSocketsEndpoint:p.appConfig.webSocketsEndpoint}},{children:e(Ale,{children:e(oOe,{children:e(LJe,La({disableAnalytics:null===(u=r.analyticsProps)||void 0===u?void 0:u.disableAnalytics,appName:null===(c=r.analyticsProps)||void 0===c?void 0:c.appName},{children:n(Bme,{children:[e(Hme,{},void 0),e(zNe,{},void 0),e(VJe,{},void 0),n(je,{children:[e(Xe,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(Xe,{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)},LJe=function(t){var n=t.disableAnalytics,r=t.appName,i=t.children;return n?e(pJe,{children:i},void 0):e(Tpe,La({appName:r},{children:i}),void 0)},FJe=function(t){var n,r=t.children,i=t.language,o=t.languageFallback,a=void 0===o?"default":o,s=t.locale,l=t.subscriptionId,u=pe(Eme).setTheme,c=pe(yz).changeSettings,d=JZ((function(){var e,t,n;return Va(this,void 0,void 0,(function(){var r,o,d,p;return Za(this,(function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,g(l)];case 1:return r=f.sent(),(null===(e=null==r?void 0:r.subscription)||void 0===e?void 0:e.theme)&&u(r.subscription.theme),o=YP(i,"default"===a?r.preferredUiLanguage:null,BP(),null===(t=r.subscription)||void 0===t?void 0:t.defaultLanguage),d=function(e,t,n){return n?MYe(t)||MYe(WYe())||MYe(LYe())||MYe(null==e?void 0:e.preferredLocale)||MYe(null==e?void 0:e.preferredUiLanguage)||"en":MYe(t)||MYe(null==e?void 0:e.preferredLocale)||MYe(WYe())||MYe(null==e?void 0:e.preferredUiLanguage)||MYe(LYe())||"en"}(r,s,"browser"===a),c(o,d).then((function(){return null}),Vb.error),"browser"===a?(r.preferredContentLanguage=i||BP()||(null===(n=r.subscription)||void 0===n?void 0:n.defaultLanguage)||"en",r.preferredLocale=d,r.preferredUiLanguage=o):i&&(r.preferredContentLanguage=i),[2,r];case 2:throw p=f.sent(),Vb.error(p),p;case 3:return[2]}}))}))})),p=d[0],f=d[1],h=d[2],m=d[3],O=function(e){return Promise.resolve(e&&m(e))},g=Rue(O).getCurrentUser,v=pe(bD),y=v.handleFatalError,b=v.handleNotFoundError,w=v.handleAccessDeniedError,x=he((function(){return{isLibUser:!0,refreshUser:O,user:p}}),[p]);return h?(403===(null===(n=null==h?void 0:h.response)||void 0===n?void 0:n.statusCode)?w({error:h}):y({error:h}),null):f?null:null==p?(b({}),null):e(ple.Provider,La({value:x},{children:r}),void 0)},VJe=function(){return ge((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(Rte,{},void 0),e(Nte,{},void 0)]},void 0)};var ZJe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,BJe=/[\0-\x1F\x7F-\x9F]/,YJe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,GJe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 KJe(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 HJe(e){return Object.prototype.toString.call(e)}function JJe(e){return"[object Function]"===HJe(e)}function e0e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var t0e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var n0e={"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}}},r0e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function i0e(e){var t=e.re=function(e){var t={};return t.src_Any=ZJe.source,t.src_Cc=BJe.source,t.src_Z=YJe.source,t.src_P=GJe.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]"===HJe(e)}(n))return!function(e){return"[object RegExp]"===HJe(e)}(n.validate)?JJe(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(JJe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===HJe(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(e0e).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 o0e(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 a0e(e,t){var n=new o0e(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function s0e(e,t){if(!(this instanceof s0e))return new s0e(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||t0e.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=KJe({},t0e,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=KJe({},n0e,e),this.__compiled__={},this.__tlds__=r0e,this.__tlds_replaced__=!1,this.re={},i0e(this)}s0e.prototype.add=function(e,t){return this.__schemas__[e]=t,i0e(this),this},s0e.prototype.set=function(e){return this.__opts__=KJe(this.__opts__,e),this},s0e.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},s0e.prototype.pretest=function(e){return this.re.pretest.test(e)},s0e.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},s0e.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(a0e(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(a0e(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},s0e.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(),i0e(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,i0e(this),this)},s0e.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},s0e.prototype.onCompile=function(){};var l0e=s0e,u0e={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}))}(u0e);var c0e=u0e.exports;function d0e(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 p0e(){return p0e=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},p0e.apply(this,arguments)}function f0e(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 h0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m0e(e,t){return m0e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m0e(e,t)}function O0e(e){return O0e="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},O0e(e)}function g0e(e){return g0e="function"==typeof Symbol&&"symbol"===O0e(Symbol.iterator)?function(e){return O0e(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":O0e(e)},g0e(e)}function v0e(e,t){return!t||"object"!==g0e(t)&&"function"!=typeof t?h0e(e):t}function y0e(e){return y0e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y0e(e)}function b0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w0e(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 x0e(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 _0e(e){return function(e){if(Array.isArray(e))return pc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fc(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 S0e=function(e){return e===Object(e)?Object.keys(e):[]},k0e=function(e){return e===Object(e)?Object.values(e):[]};function P0e(e,t){var n=Object.assign({},e);return C0e(e)&&C0e(t)&&S0e(t).forEach((function(r){C0e(t[r])&&r in e?n[r]=P0e(e[r],t[r]):Object.assign(n,kc({},r,t[r]))})),n}var $0e=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 P0e(e,t)}),e)},Q0e=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},C0e=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},T0e=function(e){return(e||[]).filter(Boolean)},E0e=function(e){return"&"===e[0]},I0e=function(e){return!E0e(e)},D0e=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},R0e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=S0e(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},A0e=function(e,t){for(var n=t.map(D0e),r=S0e(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(D0e(s))>=0)&&(i[s]=e[s])}return i},z0e=function e(t,n){for(var r=$0e.apply(void 0,[{},Q0e(t,n)].concat(_0e(k0e(A0e(t,n))))),i=S0e(r).filter(E0e),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=$0e({},r,l)):r[s]=l}return r};function N0e(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 j0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N0e(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N0e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X0e=["animationName"],U0e=function(e){var t=e.style,n=e.className;return j0e(j0e({},t?{style:R0e(t,X0e)}:{}),n?{className:n}:{})},q0e=fe(U0e);q0e.Provider;var M0e=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return S0e(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},W0e={},L0e=function(e){return function(t,n){var r,i=n||W0e;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=M0e(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function F0e(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 V0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F0e(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F0e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z0e=function(e){var t=e&&S0e(e)[0];return t&&t.split("__")[0].split("--")[0]},B0e=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(_0e(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),_0e(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(_0e(i)):i}};function Y0e(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U0e,o=n||Z0e(r)||(null==t?void 0:t.className),a="function"==typeof t?t:L0e((function(e,n){var a=M0e(e);bEe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),bEe(!n||C0e(n),"Optional second parameter must be a plain object.");var s=a.filter(E0e),l=a.filter(I0e),u=l.length>0?function(e){return k0e(A0e(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(z0e(e,s))},d=B0e(o,l,s);return Y0e(V0e(V0e(V0e({},(t||n)&&{style:$0e.apply(void 0,[{}].concat(_0e(c(n)),_0e(c(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=V0e({},"function"==typeof t?t:{style:t}),l=_0e(new Set([].concat(_0e(s.className?s.className.split(" "):[]),_0e(o?o.split(" "):[])))),u=r?T0e(l.map((function(e){return r[e]}))):l,c=i(V0e(V0e({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function G0e(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 K0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G0e(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G0e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H0e=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 K0e(K0e(K0e({},e),"function"==typeof t?t:{}),{},{style:K0e(K0e({},e.style),"function"==typeof t?t.style:t)})}),{})},J0e=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,a=pe(q0e);return he((function(){return Y0e({style:r,className:i,classNames:o},a)}),[r,i,o,a])(n,e)},e1e=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},t1e="__id__",n1e="__display__",r1e=function(e,t){bEe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(n1e),r=e.indexOf(t1e);return n<0&&(n=null),r<0&&(r=null),bEe(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},i1e=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=w0e(t.exec(e.toString()),3),r=n[1],i=n[2];return bEe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},o1e=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},a1e=function(){},s1e=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a1e,o=i1e(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=o1e(t)+1,n})),l=0,u=0;null!==(r=o.exec(e));){var c=s.find((function(e){return!!r[e]})),d=s.indexOf(c),p=t[d],f=p.markup,h=p.displayTransform,m=c+r1e(f,"id"),O=c+r1e(f,"display"),g=r[m],v=h(g,r[O]),y=e.substring(l,r.index);i(y,l,u),u+=y.length,n(r[0],r.index,u,g,v,d,l),u+=v.length,l=o.lastIndex}l<e.length&&i(e.substring(l),l,u)},l1e=function(e,t){var n="";return s1e(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},u1e=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,u){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return s1e(e,t,a,o),void 0===r?e.length:r},c1e=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},d1e=function(e,t,n){var r=n,i=!1;if(s1e(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r},p1e=function(e,t){var n=[];return s1e(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},f1e=function(e,t){return"".concat(e,"-").concat(t)},h1e=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},m1e=function(e){var t=e1e(e),n=e[e.indexOf(n1e)+n1e.length],r=e[e.indexOf(t1e)+t1e.length];return new RegExp(t.replace(n1e,"([^".concat(e1e(n||""),"]+?)")).replace(t1e,"([^".concat(e1e(r||""),"]+?)")))},O1e=function(e){return be.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?g1e(r,n):m1e(n),displayTransform:i||function(e,t){return t||e}}}))},g1e=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=o1e(t);return bEe(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},v1e=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],y1e=function(e){return function(e){var t=e;return v1e.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},b1e=function(e,t,n){return n?y1e(e).indexOf(y1e(t)):e.toLowerCase().indexOf(t.toLowerCase())},w1e=function(e){return"number"==typeof e},x1e=["style","className","classNames"];function _1e(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 S1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_1e(Object(n),!0).forEach((function(t){b0e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k1e(e,t){return function(n){var r=function(r){var i=r.style,o=r.className,a=r.classNames,s=x0e(r,x1e),l=t?t(s):void 0,u=J0e(e,{style:i,className:o,classNames:a},l);return de.createElement(n,p0e({},s,{style:u}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),de.forwardRef((function(e,t){return r(S1e(S1e({},e),{},{ref:t}))}))}}function P1e(e){var t=e.selectionStart,n=e.selectionEnd,r=e.value,i=void 0===r?"":r,o=e.onCaretPositionChange,a=e.containerRef,s=e.children;e.singleLine;var l=e.style,u=w0e(me({left:void 0,top:void 0}),2),c=u[0],d=u[1],p=w0e(me(),2),f=p[0],h=p[1];ge((function(){O()}));var m,O=function(){if(f){var e=f.offsetLeft,t=f.offsetTop;if(c.left!==e||c.top!==t){var n={left:e,top:t};d(n),o(n)}}},g=O1e(s);n===t&&(m=u1e(i,g,t,"START"));var v=[],y={},b=v,w=0,x=function(e,t){return de.createElement("span",p0e({},l("substring"),{key:t}),e)},_=function(e,t,n,r){var i={id:e,display:t,key:r},o=be.toArray(s)[n];return de.cloneElement(o,i)};return s1e(i,g,(function(e,t,n,r,i,o,a){var s=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(y,r);b.push(_(r,i,o,s))}),(function(e,t,n){if(w1e(m)&&m>=t&&m<=t+e.length){var r=m-t;b.push(x(e.substring(0,r),w)),b=[x(e.substring(r),w)]}else b.push(x(e,w));w++})),b.push(" "),b!==v&&v.push(function(e){return de.createElement("span",p0e({},l("caret"),{ref:h,key:"caret"}),e)}(b)),de.createElement("div",p0e({},l,{ref:a}),v)}P1e.propTypes={selectionStart:T3.number,selectionEnd:T3.number,value:T3.string.isRequired,onCaretPositionChange:T3.func.isRequired,containerRef:T3.oneOfType([T3.func,T3.shape({current:"undefined"==typeof Element?T3.any:T3.instanceOf(Element)})]),children:T3.oneOfType([T3.element,T3.arrayOf(T3.element)]).isRequired};var $1e=k1e({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}}))(P1e);function Q1e(e){var t=e.id,n=e.focused,r=e.ignoreAccents,i=e.index,o=e.onClick,a=e.onMouseEnter,s=e.query,l=e.renderSuggestion,u=e.suggestion,c=e.style;e.className,e.classNames;var d,p,f={onClick:o,onMouseEnter:a},h=function(){if("string"==typeof u)return u;var e=u.id,t=u.display;return void 0!==e&&t?t:e},m=function(e){var t=b1e(e,s,r);return-1===t?de.createElement("span",c("display"),e):de.createElement("span",c("display"),e.substring(0,t),de.createElement("b",c("highlight"),e.substring(t,t+s.length)),e.substring(t+s.length))};return de.createElement("li",p0e({id:t,role:"option","aria-selected":n},f,c),(d=h(),p=m(d),l?l(u,s,p,i,n):p))}Q1e.propTypes={id:T3.string.isRequired,query:T3.string.isRequired,index:T3.number.isRequired,ignoreAccents:T3.bool,suggestion:T3.oneOfType([T3.string,T3.shape({id:T3.oneOfType([T3.string,T3.number]).isRequired,display:T3.string})]).isRequired,renderSuggestion:T3.func,focused:T3.bool};var C1e=k1e({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(Q1e);function T1e(e){var t=e.style,n=e.className,r=e.classNames,i=J0e(E1e,{style:t,className:n,classNames:r}),o=i("spinner");return de.createElement("div",i,de.createElement("div",o,de.createElement("div",o(["element","element1"])),de.createElement("div",o(["element","element2"])),de.createElement("div",o(["element","element3"])),de.createElement("div",o(["element","element4"])),de.createElement("div",o(["element","element5"]))))}var E1e={};function I1e(e){var t=e.id,n=e.suggestions,r=void 0===n?{}:n,i=e.a11ySuggestionsListLabel,o=e.focusIndex,a=e.position,s=e.left,l=e.right,u=e.top,c=e.scrollFocusedIntoView,d=e.isLoading,p=e.isOpened,f=e.onSelect,h=void 0===f?function(){return null}:f,m=e.ignoreAccents,O=e.containerRef,g=e.children,v=e.style,y=e.customSuggestionsContainer,b=e.onMouseDown,w=e.onMouseEnter,x=w0e(me(void 0),2),_=x[0],S=x[1];ge((function(){if(_&&!(_.offsetHeight>=_.scrollHeight)&&c){var e=_.scrollTop,t=_.children[o].getBoundingClientRect(),n=t.top,r=t.bottom,i=_.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?_.scrollTop=n:r>_.offsetHeight&&(_.scrollTop=r-_.offsetHeight)}}),[o,c,_]);var k,P=function(e,n,r){var i=r===o,a=n.childIndex,s=n.query,l=be.toArray(g)[a].props.renderSuggestion;return de.createElement(C1e,{style:v("item"),key:"".concat(a,"-").concat(C(e)),id:f1e(t,r),query:s,index:r,ignoreAccents:m,renderSuggestion:l,suggestion:e,focused:i,onClick:function(){return Q(e,n)},onMouseEnter:function(){return $(r)}})},$=function(e,t){w&&w(e)},Q=function(e,t){h(e,t)},C=function(e){return"string"==typeof e?e:e.id};return p?de.createElement("div",p0e({},H0e({position:a||"absolute",left:s,right:l,top:u},v),{onMouseDown:b,ref:O}),(k=de.createElement("ul",p0e({ref:S,id:t,role:"listbox","aria-label":i},v("list")),Object.values(r).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(d0e(e),d0e(n.map((function(t,n){return P(t,r,e.length+n)}))))}),[])),y?y(k):k),function(){if(d)return de.createElement(T1e,{style:v("loadingIndicator")})}()):null}I1e.propTypes={id:T3.string.isRequired,suggestions:T3.object.isRequired,a11ySuggestionsListLabel:T3.string,focusIndex:T3.number,position:T3.string,left:T3.number,right:T3.number,top:T3.number,scrollFocusedIntoView:T3.bool,isLoading:T3.bool,isOpened:T3.bool.isRequired,onSelect:T3.func,ignoreAccents:T3.bool,customSuggestionsContainer:T3.func,containerRef:T3.oneOfType([T3.func,T3.shape({current:"undefined"==typeof Element?T3.any:T3.instanceOf(Element)})])};var D1e=k1e({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(I1e);function R1e(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 A1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R1e(Object(n),!0).forEach((function(t){b0e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z1e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y0e(e);if(t){var i=y0e(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v0e(this,n)}}var N1e={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},j1e=!1,X1e={singleLine:T3.bool,allowSpaceInQuery:T3.bool,allowSuggestionsAboveCursor:T3.bool,forceSuggestionsAboveCursor:T3.bool,ignoreAccents:T3.bool,a11ySuggestionsListLabel:T3.string,value:T3.string,onKeyDown:T3.func,customSuggestionsContainer:T3.func,onSelect:T3.func,onBlur:T3.func,onChange:T3.func,suggestionsPortalHost:"undefined"==typeof Element?T3.any:T3.PropTypes.instanceOf(Element),inputRef:T3.oneOfType([T3.func,T3.shape({current:"undefined"==typeof Element?T3.any:T3.instanceOf(Element)})]),children:T3.oneOfType([T3.element,T3.arrayOf(T3.element)]).isRequired},U1e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0e(e,t)}(o,de.Component);var t,n,r,i=z1e(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),b0e(h0e(t=i.call(this,e)),"setContainerElement",(function(e){t.containerElement=e})),b0e(h0e(t),"getInputProps",(function(){var e=t.props,n=e.readOnly,r=e.disabled,i=e.style,o=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}),{})}(t.props,["style","classNames","className"],function(e){return e===Object(e)?Object.keys(e):[]}(X1e));return A1e(A1e(A1e(A1e({},o),i("input")),{},{value:t.getPlainText(),onScroll:t.updateHighlighterScroll},!n&&!r&&{onChange:t.handleChange,onSelect:t.handleSelect,onKeyDown:t.handleKeyDown,onBlur:t.handleBlur,onCompositionStart:t.handleCompositionStart,onCompositionEnd:t.handleCompositionEnd}),t.isOpened()&&{role:"combobox","aria-controls":t.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":f1e(t.uuidSuggestionsOverlay,t.state.focusIndex)})})),b0e(h0e(t),"renderControl",(function(){var e=t.props,n=e.singleLine,r=e.style,i=t.getInputProps();return de.createElement("div",r("control"),t.renderHighlighter(),n?t.renderInput(i):t.renderTextarea(i))})),b0e(h0e(t),"renderInput",(function(e){return de.createElement("input",p0e({type:"text",ref:t.setInputRef},e))})),b0e(h0e(t),"renderTextarea",(function(e){return de.createElement("textarea",p0e({ref:t.setInputRef},e))})),b0e(h0e(t),"setInputRef",(function(e){t.inputElement=e;var n=t.props.inputRef;"function"==typeof n?n(e):n&&(n.current=e)})),b0e(h0e(t),"setSuggestionsElement",(function(e){t.suggestionsElement=e})),b0e(h0e(t),"renderSuggestionsOverlay",(function(){if(!w1e(t.state.selectionStart))return null;var e=t.state.suggestionsPosition,n=e.position,r=e.left,i=e.top,o=e.right,a=de.createElement(D1e,{id:t.uuidSuggestionsOverlay,style:t.props.style("suggestions"),position:n,left:r,top:i,right:o,focusIndex:t.state.focusIndex,scrollFocusedIntoView:t.state.scrollFocusedIntoView,containerRef:t.setSuggestionsElement,suggestions:t.state.suggestions,customSuggestionsContainer:t.props.customSuggestionsContainer,onSelect:t.addMention,onMouseDown:t.handleSuggestionsMouseDown,onMouseEnter:t.handleSuggestionsMouseEnter,isLoading:t.isLoading(),isOpened:t.isOpened(),ignoreAccents:t.props.ignoreAccents,a11ySuggestionsListLabel:t.props.a11ySuggestionsListLabel},t.props.children);return t.props.suggestionsPortalHost?We.createPortal(a,t.props.suggestionsPortalHost):a})),b0e(h0e(t),"renderHighlighter",(function(){var e=t.state,n=e.selectionStart,r=e.selectionEnd,i=t.props,o=i.singleLine,a=i.children,s=i.value,l=i.style;return de.createElement($1e,{containerRef:t.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:n,selectionEnd:r,onCaretPositionChange:t.handleCaretPositionChange},a)})),b0e(h0e(t),"setHighlighterElement",(function(e){t.highlighterElement=e})),b0e(h0e(t),"handleCaretPositionChange",(function(e){t.setState({caretPosition:e})})),b0e(h0e(t),"getPlainText",(function(){return l1e(t.props.value||"",O1e(t.props.children))})),b0e(h0e(t),"executeOnChange",(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];var o,a;return t.props.onChange?(o=t.props).onChange.apply(o,[e].concat(r)):t.props.valueLink?(a=t.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),b0e(h0e(t),"handleChange",(function(e){if((j1e=!1,document.documentMode)&&(document.activeElement&&document.activeElement.contentDocument||document).activeElement!==e.target)return;var n=t.props.value||"",r=O1e(t.props.children),i=e.target.value,o=t.state.selectionStart;null==o&&(o=e.target.selectionStart);var a=t.state.selectionEnd;null==a&&(a=e.target.selectionEnd);var s=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=l1e(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 u=t.slice(i,a),c=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+l));var p=u1e(e,r,c,"START"),f=u1e(e,r,d,"END"),h=u1e(e,r,c,"NULL"),m=u1e(e,r,d,"NULL"),O=null===h||null===m,g=c1e(e,p,f,u);if(!O){var v=l1e(g,r);if(v!==t){for(c=0;t[c]===v[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),p=u1e(e,r,c,"START"),f=u1e(e,r,d,"END"),g=c1e(e,p,f,u)}}return g}(n,i,{selectionStartBefore:o,selectionEndBefore:a,selectionEndAfter:e.target.selectionEnd},r);i=l1e(s,r);var l=e.target.selectionStart,u=e.target.selectionEnd,c=!1,d=d1e(n,r,l);void 0!==d&&t.state.selectionEnd>d&&(u=l=d+(e.nativeEvent.data?e.nativeEvent.data.length:0),c=!0),t.setState({selectionStart:l,selectionEnd:u,setSelectionAfterMentionChange:c});var p=p1e(s,r);e.nativeEvent.isComposing&&l===u&&t.updateMentionsQueries(t.inputElement.value,l);var f={target:{value:s}};t.executeOnChange(f,s,i,p)})),b0e(h0e(t),"handleSelect",(function(e){if(t.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!j1e){var n=t.inputElement;e.target.selectionStart===e.target.selectionEnd?t.updateMentionsQueries(n.value,e.target.selectionStart):t.clearSuggestions(),t.updateHighlighterScroll(),t.props.onSelect(e)}})),b0e(h0e(t),"handleKeyDown",(function(e){if(0!==h1e(t.state.suggestions)&&t.suggestionsElement)switch(Object.values(N1e).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case N1e.ESC:return void t.clearSuggestions();case N1e.DOWN:return void t.shiftFocus(1);case N1e.UP:return void t.shiftFocus(-1);case N1e.RETURN:case N1e.TAB:return void t.selectFocused();default:return}else t.props.onKeyDown(e)})),b0e(h0e(t),"shiftFocus",(function(e){var n=h1e(t.state.suggestions);t.setState({focusIndex:(n+t.state.focusIndex+e)%n,scrollFocusedIntoView:!0})})),b0e(h0e(t),"selectFocused",(function(){var e=t.state,n=e.suggestions,r=e.focusIndex,i=Object.values(n).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(d0e(e),d0e(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;t.addMention(o,a),t.setState({focusIndex:0})})),b0e(h0e(t),"handleBlur",(function(e){var n=t._suggestionsMouseDown;t._suggestionsMouseDown=!1,n||t.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){t.updateHighlighterScroll()}),1),t.props.onBlur(e,n)})),b0e(h0e(t),"handleSuggestionsMouseDown",(function(e){t._suggestionsMouseDown=!0})),b0e(h0e(t),"handleSuggestionsMouseEnter",(function(e){t.setState({focusIndex:e,scrollFocusedIntoView:!1})})),b0e(h0e(t),"updateSuggestionsPosition",(function(){var e=t.state.caretPosition,n=t.props,r=n.suggestionsPortalHost,i=n.allowSuggestionsAboveCursor,o=n.forceSuggestionsAboveCursor;if(e&&t.suggestionsElement){var a=t.suggestionsElement,s=t.highlighterElement,l=s.getBoundingClientRect(),u=q1e(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var p={};if(r){p.position="fixed";var f=c.left,h=c.top;f-=q1e(a,"margin-left"),h-=q1e(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-u||o?p.top=Math.max(0,h-a.offsetHeight-u):p.top=h}else{var O=e.left-s.scrollLeft,g=e.top-s.scrollTop;O+a.offsetWidth>t.containerElement.offsetWidth?p.right=0:p.left=O,i&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop||o?p.top=g-a.offsetHeight-u:p.top=g}p.left===t.state.suggestionsPosition.left&&p.top===t.state.suggestionsPosition.top&&p.position===t.state.suggestionsPosition.position||t.setState({suggestionsPosition:p})}}})),b0e(h0e(t),"updateHighlighterScroll",(function(){var e=t.inputElement,n=t.highlighterElement;e&&n&&(n.scrollLeft=e.scrollLeft,n.scrollTop=e.scrollTop,n.height=e.height)})),b0e(h0e(t),"handleCompositionStart",(function(){j1e=!0})),b0e(h0e(t),"handleCompositionEnd",(function(){j1e=!1})),b0e(h0e(t),"setSelection",(function(e,n){if(null!==e&&null!==n){var r=t.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,n);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",e),i.select()}}})),b0e(h0e(t),"updateMentionsQueries",(function(e,n){t._queryId++,t.suggestions={},t.setState({suggestions:{}});var r=t.props.value||"",i=t.props.children,o=O1e(i),a=u1e(r,o,n,"NULL");if(null!==a){var s=function(e,t){var n=p1e(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,a),o),l=e.substring(s,n);de.Children.forEach(i,(function(n,r){if(n){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=e1e(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(n.props.trigger,t.props),o=l.match(i);if(o){var a=s+l.indexOf(o[1],o.index);t.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),b0e(h0e(t),"clearSuggestions",(function(){t._queryId++,t.suggestions={},t.setState({suggestions:{},focusIndex:0})})),b0e(h0e(t),"queryData",(function(e,n,r,i,o){var a=t.props,s=a.children,l=a.ignoreAccents,u=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;b1e(s,n,t)>=0&&i.push(e[o])}return i}:e}(be.toArray(s)[n].props.data,l),c=u(e,t.updateSuggestions.bind(null,t._queryId,n,e,r,i,o));c instanceof Array&&t.updateSuggestions(t._queryId,n,e,r,i,o,c)})),b0e(h0e(t),"updateSuggestions",(function(e,n,r,i,o,a,s){if(e===t._queryId){t.suggestions=A1e(A1e({},t.suggestions),{},b0e({},n,{queryInfo:{childIndex:n,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var l=t.state.focusIndex,u=h1e(t.suggestions);t.setState({suggestions:t.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),b0e(h0e(t),"addMention",(function(e,n){var r=e.id,i=e.display,o=n.childIndex,a=n.querySequenceStart,s=n.querySequenceEnd,l=n.plainTextValue,u=t.props.value||"",c=O1e(t.props.children),d=be.toArray(t.props.children)[o].props,p=d.markup,f=d.displayTransform,h=d.appendSpaceOnAdd,m=d.onAdd,O=u1e(u,c,a,"START"),g=O+s-a,v=function(e,t,n){return e.replace(t1e,t).replace(n1e,n)}(p,r,i);h&&(v+=" ");var y=c1e(u,O,g,v);t.inputElement.focus();var b=f(r,i);h&&(b+=" ");var w=a+b.length;t.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var x={target:{value:y}},_=p1e(y,c),S=c1e(l,a,s,b);t.executeOnChange(x,y,S,_),m&&m(r,i,O,g),t.clearSuggestions()})),b0e(h0e(t),"isLoading",(function(){var e=!1;return de.Children.forEach(t.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),b0e(h0e(t),"isOpened",(function(){return w1e(t.state.selectionStart)&&(0!==h1e(t.state.suggestions)||t.isLoading())})),b0e(h0e(t),"_queryId",0),t.suggestions={},t.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),t.handleCopy=t.handleCopy.bind(h0e(t)),t.handleCut=t.handleCut.bind(h0e(t)),t.handlePaste=t.handlePaste.bind(h0e(t)),t.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{},setSelectionAfterHandlePaste:!1},t}return t=o,n=[{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)),this.state.setSelectionAfterHandlePaste&&(this.setState({setSelectionAfterHandlePaste:!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 de.createElement("div",p0e({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=O1e(a),l=u1e(o,s,n,"START"),u=u1e(o,s,r,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=c1e(o,l,u,c||d).replace(/\r/g,""),f=l1e(p,s),h={target:A1e(A1e({},e.target),{},{value:p})};this.executeOnChange(h,p,f,p1e(p,s));var m=(d1e(o,s,n)||n)+l1e(c||d,s).length;this.setState({selectionStart:m,selectionEnd:m,setSelectionAfterHandlePaste:!0})}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.inputElement.selectionStart,n=this.inputElement.selectionEnd,r=this.props,i=r.children,o=r.value,a=O1e(i),s=u1e(o,a,t,"START"),l=u1e(o,a,n,"END");e.clipboardData.setData("text/plain",e.target.value.slice(t,n)),e.clipboardData.setData("text/react-mentions",o.slice(s,l))}},{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=O1e(o),l=u1e(a,s,n,"START"),u=u1e(a,s,r,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=l1e(c,s),p={target:A1e(A1e({},e.target),{},{value:d})};this.executeOnChange(p,c,d,p1e(a,s))}}}],n&&f0e(t.prototype,n),r&&f0e(t,r),o}();b0e(U1e,"propTypes",X1e),b0e(U1e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var q1e=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},M1e=k1e({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:A1e({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}}))(U1e),W1e={fontWeight:"inherit"},L1e=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,o=J0e(W1e,{style:n,className:r,classNames:i});return de.createElement("strong",o,t)};L1e.propTypes={onAdd:T3.func,onRemove:T3.func,renderSuggestion:T3.func,trigger:T3.oneOfType([T3.string,T3.instanceOf(RegExp)]),markup:T3.string,displayTransform:T3.func,allowSpaceInQuery:T3.bool,isLoading:T3.bool},L1e.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 F1e=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 V1e(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=F1e.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 Z1e=[".DS_Store","Thumbs.db"];function B1e(e){return Va(this,void 0,void 0,(function(){return Za(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?G1e(e.dataTransfer,e.type):Y1e(e))];var n}))}))}function Y1e(e){return(null!==e.target&&e.target.files?H1e(e.target.files):[]).map((function(e){return V1e(e)}))}function G1e(e,t){return Va(this,void 0,void 0,(function(){var n;return Za(this,(function(r){switch(r.label){case 0:return e.items?(n=H1e(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(J1e))]):[3,2];case 1:return[2,K1e(e2e(r.sent()))];case 2:return[2,K1e(H1e(e.files).map((function(e){return V1e(e)})))]}}))}))}function K1e(e){return e.filter((function(e){return-1===Z1e.indexOf(e.name)}))}function H1e(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function J1e(e){if("function"!=typeof e.webkitGetAsEntry)return t2e(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?r2e(t):t2e(e)}function e2e(e){return e.reduce((function(e,t){return Ka(e,Array.isArray(t)?e2e(t):[t])}),[])}function t2e(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=V1e(t);return Promise.resolve(n)}function n2e(e){return Va(this,void 0,void 0,(function(){return Za(this,(function(t){return[2,e.isDirectory?r2e(e):i2e(e)]}))}))}function r2e(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 Za(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(n2e)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function i2e(e){return Va(this,void 0,void 0,(function(){return Za(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=V1e(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function o2e(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 a2e(e,t,n){if(s2e(e.size)){if(s2e(t)&&s2e(n))return e.size>=t&&e.size<=n;if(s2e(t))return e.size>=t;if(s2e(n))return e.size<=n}return!0}function s2e(e){return null!=e}function l2e(e,t,n,r){return e.every((function(e){return o2e(e,t)&&a2e(e,n,r)}))}function u2e(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function c2e(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 d2e(e){e.preventDefault()}function p2e(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function f2e(e){return-1!==e.indexOf("Edge/")}function h2e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return p2e(e)||f2e(e)}function m2e(){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!u2e(e)&&t&&t.apply(void 0,[e].concat(r)),u2e(e)}))}}function O2e(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 g2e(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 v2e(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 y2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v2e(n,!0).forEach((function(t){b2e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v2e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w2e(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 x2e=$e((function(e,t){var n=e.children,r=k2e(w2e(e,["children"])),i=r.open,o=w2e(r,["open"]);return Ce(t,(function(){return{open:i}}),[i]),de.createElement(Te,null,n(y2e({},o,{open:i})))}));x2e.displayName="Dropzone",x2e.propTypes={children:T3.func,accept:T3.oneOfType([T3.string,T3.arrayOf(T3.string)]),multiple:T3.bool,preventDropOnDocument:T3.bool,noClick:T3.bool,noKeyboard:T3.bool,noDrag:T3.bool,noDragEventsBubbling:T3.bool,minSize:T3.number,maxSize:T3.number,disabled:T3.bool,getFilesFromEvent:T3.func,onFileDialogCancel:T3.func,onDragEnter:T3.func,onDragLeave:T3.func,onDragOver:T3.func,onDrop:T3.func,onDropAccepted:T3.func,onDropRejected:T3.func};var _2e,S2e={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function k2e(){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?B1e:i,a=e.maxSize,s=void 0===a?1/0:a,l=e.minSize,u=void 0===l?0:l,c=e.multiple,d=void 0===c||c,p=e.onDragEnter,f=e.onDragLeave,h=e.onDragOver,m=e.onDrop,O=e.onDropAccepted,g=e.onDropRejected,v=e.onFileDialogCancel,y=e.preventDropOnDocument,b=void 0===y||y,w=e.noClick,x=void 0!==w&&w,_=e.noKeyboard,S=void 0!==_&&_,k=e.noDrag,P=void 0!==k&&k,$=e.noDragEventsBubbling,Q=void 0!==$&&$,C=Oe(null),T=Oe(null),E=ve(P2e,S2e),I=g2e(E,2),D=I[0],R=I[1],A=D.isFocused,z=D.isFileDialogActive,N=D.draggedFiles,j=ye((function(){T.current&&(R({type:"openDialog"}),T.current.value=null,T.current.click())}),[R]),X=function(){z&&setTimeout((function(){T.current&&(T.current.files.length||(R({type:"closeDialog"}),"function"==typeof v&&v()))}),300)};ge((function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}}),[T,z,v]);var U=ye((function(e){C.current&&C.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[C,T]),q=ye((function(){R({type:"focus"})}),[]),M=ye((function(){R({type:"blur"})}),[]),W=ye((function(){x||(h2e()?setTimeout(j,0):j())}),[T,x]),L=Oe([]),F=function(e){C.current&&C.current.contains(e.target)||(e.preventDefault(),L.current=[])};ge((function(){return b&&(document.addEventListener("dragover",d2e,!1),document.addEventListener("drop",F,!1)),function(){b&&(document.removeEventListener("dragover",d2e),document.removeEventListener("drop",F))}}),[C,b]);var V=ye((function(e){e.preventDefault(),e.persist(),J(e),-1===L.current.indexOf(e.target)&&(L.current=[].concat(O2e(L.current),[e.target])),c2e(e)&&Promise.resolve(o(e)).then((function(t){u2e(e)&&!Q||(R({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,Q]),Z=ye((function(e){if(e.preventDefault(),e.persist(),J(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return c2e(e)&&h&&h(e),!1}),[h,Q]),B=ye((function(e){e.preventDefault(),e.persist(),J(e);var t=L.current.filter((function(t){return t!==e.target&&C.current&&C.current.contains(t)}));L.current=t,t.length>0||(R({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),c2e(e)&&f&&f(e))}),[C,f,Q]),Y=ye((function(e){e.preventDefault(),e.persist(),J(e),L.current=[],R({type:"reset"}),c2e(e)&&Promise.resolve(o(e)).then((function(n){if(!u2e(e)||Q){var r=[],i=[];n.forEach((function(e){o2e(e,t)&&a2e(e,u,s)?r.push(e):i.push(e)})),!d&&r.length>1&&i.push.apply(i,O2e(r.splice(0))),R({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),m&&m(r,i,e),i.length>0&&g&&g(i,e),r.length>0&&O&&O(r,e)}}))}),[d,t,u,s,o,m,O,g,Q]),G=function(e){return r?null:e},K=function(e){return S?null:G(e)},H=function(e){return P?null:G(e)},J=function(e){Q&&e.stopPropagation()},ee=he((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=w2e(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return y2e(b2e({onKeyDown:K(m2e(i,U)),onFocus:K(m2e(o,q)),onBlur:K(m2e(a,M)),onClick:G(m2e(s,W)),onDragEnter:H(m2e(l,V)),onDragOver:H(m2e(u,Z)),onDragLeave:H(m2e(c,B)),onDrop:H(m2e(d,Y))},n,C),r||S?{}:{tabIndex:0},{},p)}}),[C,U,q,M,W,V,Z,B,Y,S,P,r]),te=ye((function(e){e.stopPropagation()}),[]),ne=he((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=w2e(e,["refKey","onChange","onClick"]),s=b2e({accept:t,multiple:d,type:"file",style:{display:"none"},onChange:G(m2e(i,Y)),onClick:G(m2e(o,te)),autoComplete:"off",tabIndex:-1},r,T);return y2e({},s,{},a)}}),[T,t,d,Y,r]),re=N.length,ie=d||re<=1,oe=re>0&&l2e(N,t,u,s),ae=re>0&&(!oe||!ie);return y2e({},D,{isDragAccept:oe,isDragReject:ae,isFocused:A&&!r,getRootProps:ee,getInputProps:ne,rootRef:C,inputRef:T,open:G(j)})}function P2e(e,t){switch(t.type){case"focus":return y2e({},e,{isFocused:!0});case"blur":return y2e({},e,{isFocused:!1});case"openDialog":return y2e({},e,{isFileDialogActive:!0});case"closeDialog":return y2e({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return y2e({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return y2e({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return y2e({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(_2e||(_2e={}));var $2e={exports:{}},Q2e=Ye($2e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=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};function i(e){return e&&e.__esModule?e:{default:e}}t.default=u;var o=n(3),a=i(n(4)),s=n(14),l=i(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,f=e.className,h=e.findChunks,m=e.highlightClassName,O=void 0===m?"":m,g=e.highlightStyle,v=void 0===g?{}:g,y=e.highlightTag,b=void 0===y?"mark":y,w=e.sanitize,x=e.searchWords,_=e.textToHighlight,S=e.unhighlightClassName,k=void 0===S?"":S,P=e.unhighlightStyle,$=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),Q=(0,o.findAll)({autoEscape:c,caseSensitive:p,findChunks:h,sanitize:w,searchWords:x,textToHighlight:_}),C=b,T=-1,E="",I=void 0,D=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",r({className:f},$,{children:Q.map((function(e,t){var r=_.substr(e.start,e.end-e.start);if(e.highlight){T++;var i=void 0;i="object"==typeof O?p?O[r]:(O=D(O))[r.toLowerCase()]:O;var o=T===+a;E=i+" "+(o?n:""),I=!0===o&&null!=u?Object.assign({},v,u):v;var l={children:r,className:E,key:t,style:I};return"string"!=typeof C&&(l.highlightIndex=T),(0,s.createElement)(C,l)}return(0,s.createElement)("span",{children:r,className:k,key:t,style:P})}))}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,a=void 0!==o&&o,s=e.findChunks,l=void 0===s?r:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,i=void 0===r?o:r,a=e.searchWords,s=e.textToHighlight;return s=i(s),a.filter((function(e){return e})).reduce((function(e,r){r=i(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=r;var i=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],i=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)i(0,n,!1);else{var o=0;t.forEach((function(e){i(o,e.start,!1),i(e.start,e.end,!0),o=e.end})),i(o,n,!1)}return r};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){var r=n(7),i=n(8),o=n(9),a=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator,c="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(r.thatReturnsNull),arrayOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("Invalid "+i+" `"+o+"` of type `"+g(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,r,i,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new f("Invalid "+i+" `"+o+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||c;return new f("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return O(e[t])?null:new f("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],l=g(a);if("object"!==l)return new f("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,r,i,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new f("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var i=e[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",y(i),n),r.thatReturnsNull}return h((function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,s))return null;return new f("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],l=g(a);if("object"!==l)return new f("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,r,i,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var l=t[n],u=g(l);if("object"!==u)return new f("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var p=e[d];if(!p)return new f("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(l,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function l(l,u,d,p,h,m,O){if(p=p||c,m=m||d,O!==s)if(n)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+d;!r[g]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,p),r[g]=!0,a++)}return null==u[d]?l?null===u[d]?new f("The "+h+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new f("The "+h+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(u,d,p,h,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return g(s)!==e?new f("Invalid "+i+" `"+o+"` of type `"+v(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function O(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(O);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!O(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!O(o[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,r,i,o,a,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,i,o,a,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var r=n(7);if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=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){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var 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 a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))r.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)i.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var r=n(8),i=n(9),o=n(11),a={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{r("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,o)}catch(e){d=e}if(i(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var p=u?u():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){var r=n(7),i=n(8),o=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){e.exports=de},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,i=[],o=void 0,a=!1,s=function(e,n){return t(e,i[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&r===this&&n.length===i.length&&n.every(s)?o:(a=!0,r=this,i=n,o=e.apply(this,n))};return l}}])),C2e={exports:{}},T2e=(C2e.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:Z(e)}function r(e){return s(e)?e:B(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(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 u(e){return s(e)||l(e)}function c(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=u,n.isOrdered=c,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",O=5,g=1<<O,v=g-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function S(){}function k(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(Q)),e.size}function $(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 Q(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function E(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,R=1,A=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",j=z||N;function X(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 q(){return{value:void 0,done:!0}}function M(e){return!!F(e)}function W(e){return e&&"function"==typeof e.next}function L(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 Z(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function B(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()}X.prototype.toString=function(){return"[Iterator]"},X.KEYS=D,X.VALUES=R,X.ENTRIES=A,X.prototype.inspect=X.prototype.toSource=function(){return this.toString()},X.prototype[j]=function(){return this},t(Z,n),Z.of=function(){return Z(arguments)},Z.prototype.toSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq {","}")},Z.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Z.prototype.__iterate=function(e,t){return de(this,e,t,!0)},Z.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(B,Z),B.prototype.toKeyedSeq=function(){return this},t(Y,Z),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,Z),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Z.isSeq=oe,Z.Keyed=B,Z.Set=G,Z.Indexed=Y;var K,H,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 K||(K=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():M(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return V(e)?new te(e):W(e)?new ie(e):M(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 X((function(){var e=i[n?o-a:a];return a++>o?q():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)}))):Oe(t)?e.call(r,n,B(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():Oe(e)?B(e).map(me).toMap():e}function Oe(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ge(i[1],e)&&(n||ge(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?!ge(t,e.get(r,y)):!ge(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(H)return H;H=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 Se(){}function ke(){}Z.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[$(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 X((function(){return i>r?q():U(e,i,n[t?r-i++:i++])}))},t(ne,B),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 X((function(){var a=r[t?i-o:o];return o++>i?q():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=L(this._iterable),r=0;if(W(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=L(this._iterable);if(!W(n))return new X(q);var r=0;return new X((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 X((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 ge(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new ye(this._value,E(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ge(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 X((function(){return r<n.size?U(e,r++,n._value):q()}))},ye.prototype.equals=function(e){return e instanceof ye?ge(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+$(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 C(e,t,this.size)?this:(e=T(e,this.size),(t=E(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 X((function(){var a=i;return i+=t?-r:r,o>n?q():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(Se,xe),t(ke,xe),xe.Keyed=_e,xe.Indexed=Se,xe.Set=ke;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 $e(e){return e>>>1&1073741824|3221225471&e}function Qe(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 $e(n)}if("string"===t)return e.length>Xe?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ee(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Me[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,Me={}),qe++,Me[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return $e(t)}function Ee(e){var t;if(ze&&void 0!==(t=Ae.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Ae.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,je,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ae,ze="function"==typeof WeakMap;ze&&(Ae=new WeakMap);var Ne=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Xe=16,Ue=255,qe=0,Me={};function We(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Le(e){return null==e?it():Fe(e)&&!c(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Ze])}t(Le,_e),Le.prototype.toString=function(){return this.__toString("Map {","}")},Le.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Le.prototype.set=function(e,t){return ot(this,e,t)},Le.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},Le.prototype.remove=function(e){return ot(this,e,y)},Le.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},Le.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Le.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ot(this,xn(e),t,n);return r===y?void 0:r},Le.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()},Le.prototype.merge=function(){return pt(this,void 0,arguments)},Le.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},Le.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]}))},Le.prototype.mergeDeep=function(){return pt(this,ft,arguments)},Le.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},Le.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]}))},Le.prototype.sort=function(e){return Mt(dn(this,e))},Le.prototype.sortBy=function(e,t){return Mt(dn(this,t,e))},Le.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Le.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Le.prototype.asImmutable=function(){return this.__ensureOwner()},Le.prototype.wasAltered=function(){return this.__altered},Le.prototype.__iterator=function(e,t){return new et(this,e,t)},Le.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},Le.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)},Le.isMap=Fe;var Ve,Ze="@@__IMMUTABLE_MAP__@@",Be=Le.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 Ke(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function He(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(Be);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===He}function lt(e,t,n,r,i){if(e.keyHash===r)return new He(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+O,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ut(e,t,n,r){e||(e=new S);for(var i=new Je(e,Qe(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 ct(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=l,a[o++]=c)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Ke(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):ge(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 ge(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 Ot(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,u=i?y:e.get(l,y),c=Ot(u,t,n,r);return c===u?e:c===y?e.remove(l):(i?it():e).set(l,c)}function gt(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:k(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}Be[Ze]=!0,Be[m]=Be.remove,Be.removeIn=Be.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[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=Qe(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[gt(o&i-1)].get(e+O,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&i===y)return this;var d=gt(u&l-1),p=this.nodes,f=c?p[d]:void 0,h=at(f,e,t+O,n,r,i,o,a);if(h===f)return this;if(!c&&h&&p.length>=xt)return dt(e,p,u,s,h);if(c&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,b=c?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=g,this.nodes=b,this):new Ge(e,g,b)},Ke.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+O,t,n,r):r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=i===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+O,n,r,i,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<_t)return ct(e,u,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(u,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ke(e,p,h)},He.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(n,i[o][0]))return i[o][1];return r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new He(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return ge(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=ge(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,Qe(r),[r,i])))},Ye.prototype.iterate=He.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=Ke.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,X),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 q()};var wt=g/4,xt=g/2,_t=g/4;function St(e){var t=Rt();if(null==e)return t;if(kt(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<g?Dt(0,r,O,null,new Qt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function kt(e){return!(!e||!e[Pt])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if((e=$(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&v]}return t},St.prototype.set=function(e,t){return At(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=O,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},St.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Xt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},St.prototype.pop=function(){return Xt(this,0,-1)},St.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Xt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},St.prototype.shift=function(){return Xt(this,1)},St.prototype.merge=function(){return Ut(this,void 0,arguments)},St.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},St.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},St.prototype.setSize=function(e){return Xt(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:Xt(this,T(e,n),E(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new X((function(){var t=r();return t===Et?q():U(e,n++,t)}))},St.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Et&&!1!==e(n,r++,this););return r},St.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)},St.isList=kt;var Pt="@@__IMMUTABLE_LIST__@@",$t=St.prototype;function Qt(e,t){this.array=e,this.ownerID=t}$t[Pt]=!0,$t[m]=$t.remove,$t.setIn=Be.setIn,$t.deleteIn=$t.removeIn=Be.removeIn,$t.update=Be.update,$t.updateIn=Be.updateIn,$t.mergeIn=Be.mergeIn,$t.mergeDeepIn=Be.mergeDeepIn,$t.withMutations=Be.withMutations,$t.asMutable=Be.asMutable,$t.asImmutable=Be.asImmutable,$t.wasAltered=Be.wasAltered,Qt.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 Qt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-O,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},Qt.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-O,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 Ct,Tt,Et={};function It(e,t){var n=e._origin,r=e._capacity,i=qt(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,u=r-a;return u>g&&(u=g),function(){if(l===u)return Et;var e=t?--u:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,u=o>n?0:n-o>>i,c=1+(r-o>>i);return c>g&&(c=g),function(){for(;;){if(s){var e=s();if(e!==Et)return e;s=null}if(u===c)return Et;var n=t?--c:u++;s=a(l&&l[n],i-O,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create($t);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 Rt(){return Ct||(Ct=Dt(0,0,O))}function At(e,t,n){if((t=$(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Xt(e,t).set(0,n):Xt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=qt(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 u=e&&e.array[s],c=zt(u,t,n-O,r,i,o);return c===u?e:((a=Nt(e,t)).array[s]=c,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 Qt(e?e.array.slice():[],t)}function jt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<<e._level+O){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=O;return n}}function Xt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,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,u=e._root,c=0;a+c<0;)u=new Qt(u&&u.array.length?[void 0,u]:[],r),c+=1<<(l+=O);c&&(a+=c,i+=c,s+=c,o+=c);for(var d=qt(o),p=qt(s);p>=1<<l+O;)u=new Qt(u&&u.array.length?[u]:[],r),l+=O;var f=e._tail,h=p<d?jt(e,s-1):p>d?new Qt([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=u=Nt(u,r),g=l;g>O;g-=O){var y=d>>>g&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>O&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=O,u=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(c=0;u;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(c+=(1<<l)*b),l-=O,u=u.array[b]}u&&a>i&&(u=u.removeBefore(r,l,a-c)),u&&p<d&&(u=u.removeAfter(r,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,u,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],u=i(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return fe(e)}))),r.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function qt(e){return e<g?0:e-1>>>O<<O}function Mt(e){return null==e?Ft():Wt(e)?e:Ft().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return Fe(e)&&c(e)}function Lt(e,t,n,r){var i=Object.create(Mt.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=Lt(it(),Rt()))}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>=g&&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):Lt(r,i)}function Zt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Bt(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 Kt(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===A){var r=e.__iterator(t,n);return new X((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===R?D:R,n)},t}function Ht(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(A,i);return new X((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=Kt(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(A,o),s=0;return new X((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return U(i,r?u:s++,c,o)}}))},i}function tn(e,t,n){var r=Le().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=(c(e)?Mt():Le()).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),C(t,n,i))return e;var o=T(t,i),a=E(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 u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=$(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__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,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,r?n:u-1,i)&&u!==s})),u},u.__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 X((function(){for(;a++<o;)i.next();if(++l>s)return q();var e=i.next();return r||t===R?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},u}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(A,i),s=!0;return new X((function(){if(!s)return q();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(n,u,l,o)?r===A?e:U(r,l,u,e):(s=!1,q())}))},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,u){if(!s||!(s=t.call(n,e,o,u)))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(A,o),l=!0,u=0;return new X((function(){var e,o,c;do{if((e=s.next()).done)return r||i===R?e:U(i,u++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return i===A?e:U(i,o,c,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 u=new te(i);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,i){return(!t||u<t)&&a(e)?l(e,u+1):!1===r(e,n?i:o++,c)&&(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 X((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(r===A&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:U(r,l++,u,e);s.push(o),o=u.__iterator(r,i)}else o=s.pop()}return q()}))},r}function un(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 cn(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(R,r),a=0;return new X((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?B(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(R,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),L(i?e.reverse():e)})),a=0,s=!1;return new X((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():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 On(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return We(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?B:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Z.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=L(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=L(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);$n(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Le(o)},i=r.prototype=Object.create(Sn);return i.constructor=r,r}t(Mt,Le),Mt.of=function(){return this(arguments)},Mt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Mt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Mt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Mt.prototype.set=function(e,t){return Vt(this,e,t)},Mt.prototype.remove=function(e){return Vt(this,e,y)},Mt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Mt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Mt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Mt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Lt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Mt.isOrderedMap=Wt,Mt.prototype[h]=!0,Mt.prototype[m]=Mt.prototype.remove,t(Zt,B),Zt.prototype.get=function(e,t){return this._iter.get(e,t)},Zt.prototype.has=function(e){return this._iter.has(e)},Zt.prototype.valueSeq=function(){return this._iter.valueSeq()},Zt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Zt.prototype.map=function(e,t){var n=this,r=Ht(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Zt.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?gn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Zt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?gn(this):0;return new X((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Zt.prototype[h]=!0,t(Bt,Y),Bt.prototype.includes=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Bt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new X((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(R,t);return new X((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,B),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){On(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(R,t);return new X((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){On(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Bt.prototype.cacheResult=Zt.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=kn(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:kn(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:kn(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?kn(this,t,e):(this.__ownerID=e,this._map=t,this)};var Sn=_n.prototype;function kn(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 $n(e,t){try{t.forEach(Qn.bind(void 0,e))}catch(e){}}function Qn(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 Cn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}Sn[m]=Sn.remove,Sn.deleteIn=Sn.removeIn=Be.removeIn,Sn.merge=Be.merge,Sn.mergeWith=Be.mergeWith,Sn.mergeIn=Be.mergeIn,Sn.mergeDeep=Be.mergeDeep,Sn.mergeDeepWith=Be.mergeDeepWith,Sn.mergeDeepIn=Be.mergeDeepIn,Sn.setIn=Be.setIn,Sn.update=Be.update,Sn.updateIn=Be.updateIn,Sn.withMutations=Be.withMutations,Sn.asMutable=Be.asMutable,Sn.asImmutable=Be.asImmutable,t(Cn,ke),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(r(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Cn.prototype.clear=function(){return Rn(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return 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)}))}))},Cn.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)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Nn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var En,In="@@__IMMUTABLE_SET__@@",Dn=Cn.prototype;function Rn(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 An(e,t){var n=Object.create(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return En||(En=An(it()))}function Nn(e){return null==e?Mn():jn(e)?e:Mn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(e){return Tn(e)&&c(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Be.withMutations,Dn.asMutable=Be.asMutable,Dn.asImmutable=Be.asImmutable,Dn.__empty=zn,Dn.__make=An,t(Nn,Cn),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=jn;var Xn,Un=Nn.prototype;function qn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Xn||(Xn=qn(Ft()))}function Wn(e){return null==e?Yn():Ln(e)?e:Yn().unshiftAll(e)}function Ln(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Mn,Un.__make=qn,t(Wn,Se),Wn.of=function(){return this(arguments)},Wn.prototype.toString=function(){return this.__toString("Stack [","]")},Wn.prototype.get=function(e,t){var n=this._head;for(e=$(this,e);n&&e--;)n=n.next;return n?n.value:t},Wn.prototype.peek=function(){return this._head&&this._head.value},Wn.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):Bn(e,t)},Wn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;We(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):Bn(t,n)},Wn.prototype.pop=function(){return this.slice(1)},Wn.prototype.unshift=function(){return this.push.apply(this,arguments)},Wn.prototype.unshiftAll=function(e){return this.pushAll(e)},Wn.prototype.shift=function(){return this.pop.apply(this,arguments)},Wn.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()},Wn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(E(t,this.size)!==this.size)return Se.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):Bn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Bn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wn.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},Wn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new X((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Wn.isStack=Ln;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Zn=Wn.prototype;function Bn(e,t,n,r){var i=Object.create(Zn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Bn(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}Zn[Vn]=!0,Zn.withMutations=Be.withMutations,Zn.asMutable=Be.asMutable,Zn.asImmutable=Be.asImmutable,Zn.wasAltered=Be.wasAltered,n.Iterator=X,Gn(n,{toArray:function(){We(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Bt(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 Zt(this,!0)},toMap:function(){return Le(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Mt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return St(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 ge(t,e)}))},entries:function(){return this.__iterator(A)},every:function(e,t){We(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 We(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){We(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,Ht(this,e,t))},reduce:function(e,t,n){var r,i;return We(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(R)},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(Q)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(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 Kn=n.prototype;Kn[d]=!0,Kn[j]=Kn.values,Kn.__toJS=Kn.toArray,Kn.__toStringMapper=rr,Kn.inspect=Kn.toSource=function(){return this.toString()},Kn.chain=Kn.flatMap,Kn.contains=Kn.includes,function(){try{Object.defineProperty(Kn,"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,Kt(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 ge(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ge(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 Hn=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 k(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=c(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+lr(Qe(e),Qe(t))|0}:function(e,t){r=r+lr(Qe(e),Qe(t))|0}:t?function(e){r=31*r+Qe(e)|0}:function(e){r=r+Qe(e)|0}),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=$e((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Hn[p]=!0,Hn[j]=Kn.entries,Hn.__toJS=Kn.toObject,Hn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Zt(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(k(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=$(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=$(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(k(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(k(arguments))))},zipWith:function(e){var t=k(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=Kn.includes,Gn(B,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(Se,i.prototype),Gn(ke,o.prototype),{Iterable:n,Seq:Z,Collection:xe,Map:Le,OrderedMap:Mt,List:St,Stack:Wn,Set:Cn,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:ge,fromJS:fe}}()).OrderedMap,E2e={createFromArray:function(e){return T2e(e.map((function(e){return[e.getKey(),e]})))}},I2e=E2e;var D2e=C2e.exports,R2e=D2e.Map,A2e=D2e.OrderedSet,z2e=D2e.Record,N2e=A2e(),j2e={style:N2e,entity:null},X2e=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 U2e;var t=R2e({style:N2e,entity:null}).merge(e),n=q2e.get(t);if(n)return n;var i=new r(t);return q2e=q2e.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?A2e(t):t,entity:Array.isArray(n)?A2e(n):n})},r}(z2e(j2e)),U2e=new X2e,q2e=R2e([[R2e(j2e),U2e]]);X2e.EMPTY=U2e;var M2e=X2e;var W2e=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 L2e=M2e,F2e=W2e,V2e=C2e.exports,Z2e=V2e.List,B2e=V2e.Map,Y2e=V2e.OrderedSet,G2e=V2e.Record,K2e=V2e.Repeat,H2e=Y2e(),J2e=G2e({key:"",type:"unstyled",text:"",characterList:Z2e(),depth:0,data:B2e()}),e5e=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=Z2e(K2e(L2e.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():H2e},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){F2e(this.getCharacterList(),t5e,e,t)},i.findEntityRanges=function(e,t){F2e(this.getCharacterList(),n5e,e,t)},r}(J2e);function t5e(e,t){return e.getStyle()===t.getStyle()}function n5e(e,t){return e.getEntity()===t.getEntity()}var r5e=e5e;var i5e=M2e,o5e=W2e,a5e=C2e.exports,s5e=a5e.List,l5e=a5e.Map,u5e=a5e.OrderedSet,c5e=a5e.Record,d5e=a5e.Repeat,p5e=u5e(),f5e={parent:null,characterList:s5e(),data:l5e(),depth:0,key:"",text:"",type:"unstyled",children:s5e(),prevSibling:null,nextSibling:null},h5e=function(e,t){return e.getStyle()===t.getStyle()},m5e=function(e,t){return e.getEntity()===t.getEntity()},O5e=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=s5e(d5e(i5e.EMPTY,n.length))),e},g5e=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f5e;return e.call(this,O5e(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():p5e},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){o5e(this.getCharacterList(),h5e,e,t)},i.findEntityRanges=function(e,t){o5e(this.getCharacterList(),m5e,e,t)},r}(c5e(f5e)),v5e=g5e,y5e=M2e,b5e=C2e.exports.Map;function w5e(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(b5e([[s,i.get(s)]])).map((function(e,t){var i,u;o===s?(i=a,u=l):(i=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();i<u;)c=d.get(i),d=d.set(i,r?y5e.applyStyle(c,n):y5e.removeStyle(c,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(u),selectionBefore:t,selectionAfter:t})}var x5e={add:function(e,t,n){return w5e(e,t,n,!0)},remove:function(e,t,n){return w5e(e,t,n,!1)}},_5e=M2e;var S5e=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,_5e.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},k5e=S5e,P5e=C2e.exports;var $5e=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(P5e.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,l=t===a?s:e.getLength();return k5e(e,r,l,n)}));return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})},Q5e={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,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}var d=r+n.length,p=l===r,f=u===d;return(!p&&f||p&&!f)&&("forward"===i?u!==d&&u++:l!==r&&l--),{start:l,end:u}}},C5e="production"!==Ts.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var T5e=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(C5e(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}},E5e=T5e;var I5e=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"!==Ts.env.NODE_ENV?E5e(!1,"Entity key not found in this range."):E5e(!1)),n},D5e=Q5e,R5e=I5e,A5e=T5e;function z5e(e,t,n,r,i,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(i).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=R5e(t,i).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==Ts.env.NODE_ENV?A5e(!1,"There should only be one entity range within this removal range."):A5e(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var f=D5e.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 N5e=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 u=r;if(s&&s===l)u=z5e(e,t,u,i,s,!0,!0);else if(s&&l){var c=z5e(e,t,u,i,s,!1,!0),d=z5e(e,n,u,i,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=z5e(e,t,u,i,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var f=z5e(e,n,u,i,l,!1,!1);u=u.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return u},j5e={},X5e=Math.pow(2,24);var U5e=function(){for(var e;void 0===e||j5e.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*X5e).toString(32);return j5e[e]=!0,e},q5e=v5e,M5e=U5e,W5e=C2e.exports.OrderedMap,L5e=function(e){return e.first()instanceof q5e?function(e){var t,n={};return W5e(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),l=r.getChildKeys(),u=r.getParentKey(),c=M5e();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(r.getKey()),c))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"children"],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 W5e(e.toArray().map((function(e){var t=M5e();return[t,e.set("key",t)]})))}(e)},F5e=M2e,V5e=W2e,Z5e=T5e;function B5e(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,u=function(e,t,n){var r;return V5e(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"!==Ts.env.NODE_ENV?Z5e(!1,"Removal range must exist within character list."):Z5e(!1)),r}(r,s,n),c=u.start,d=u.end;c<d;)l=r.get(c),r=r.set(c,F5e.applyEntity(l,null)),c++;return t.set("characterList",r)}return t}var Y5e=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=B5e(r,s,a);l!==s&&(i[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var p=B5e(r,d,c);return p!==d&&(i[u]=p),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},G5e=L5e,K5e=Y5e,H5e=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=K5e(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(i)+1;return G5e(a.slice(l,u).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 J5e=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},e3e=I2e,t3e=v5e,n3e=J5e,r3e=T5e,i3e=L5e,o3e=C2e.exports.List,a3e=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(),u=s.getCharacterList(),c=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:n3e(u,r.getCharacterList(),o),type:f,data:p});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},s3e=function(e,t,n,r,i,o){var a=n.first()instanceof t3e,s=[],l=r.size,u=n.get(i),c=r.first(),d=r.last(),p=d.getLength(),f=d.getKey(),h=a&&(!u.getChildKeys().isEmpty()||!c.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=e3e.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),u=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([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(i)+1,p=c.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],o3e(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},l3e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ts.env.NODE_ENV?r3e(!1,"`insertFragment` should only be called with a collapsed selection state."):r3e(!1));var i=e.getBlockMap(),o=i3e(n),a=t.getStartKey(),s=t.getStartOffset(),l=i.get(a);return l instanceof t3e&&(l.getChildKeys().isEmpty()||("production"!==Ts.env.NODE_ENV?r3e(!1,"`insertFragment` should not be called when a container node is selected."):r3e(!1))),1===o.size?a3e(e,t,i,o.first(),a,s,r):s3e(e,t,i,o,a,s)},u3e=J5e,c3e=T5e,d3e=C2e.exports.Repeat;var p3e=function(e,t,n,r){t.isCollapsed()||("production"!==Ts.env.NODE_ENV?c3e(!1,"`insertText` should only be called with a collapsed range."):c3e(!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),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:u3e(l.getCharacterList(),d3e(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},f3e=C2e.exports.Map;var h3e=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(f3e([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},m3e=v5e,O3e=function(e,t){if(!(e instanceof m3e))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},g3e=v5e,v3e=O3e,y3e=C2e.exports;y3e.List;var b3e=y3e.Map,w3e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},x3e=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},_3e=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},S3e=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},k3e=function(e,t,n,r){return e.withMutations((function(i){if(w3e(t.getKey(),i,(function(e){return e.merge({nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})})),w3e(n.getKey(),i,(function(e){return e.merge({nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})})),x3e(t.getKey(),r).forEach((function(e){return w3e(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})}))})),w3e(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),w3e(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:_3e(e,i,r)})})),w3e(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:S3e(e,i,r)})})),w3e(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),x3e(n.getKey(),r).forEach((function(e){w3e(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=v3e(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?v3e(i,t):null}return n}(n,r).forEach((function(e){return w3e(e,i,(function(e){return e.merge({nextSibling:_3e(e,i,r),prevSibling:S3e(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();w3e(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),w3e(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){w3e(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);w3e(s,i,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}w3e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},P3e=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},$3e=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),u=r.get(a),c=l instanceof g3e,d=[];if(c){var p=u.getChildKeys(),f=x3e(a,r);u.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(x3e(v3e(u,r),r))}n=l===u?P3e(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),m=c&&0===o&&0===s&&u.getParentKey()===i&&null==u.getPrevSiblingKey()?b3e([[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(b3e([[a,null]])).map((function(e,t){return t===i?h:null})),O=r.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(O=k3e(O,l,u,r)),e.merge({blockMap:O,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},Q3e=v5e,C3e=U5e,T3e=C2e.exports,E3e=T5e,I3e=h3e,D3e=T3e.List,R3e=T3e.Map,A3e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},z3e=function(e,t){t.isCollapsed()||("production"!==Ts.env.NODE_ENV?E3e(!1,"Selection range must be collapsed."):E3e(!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 I3e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=i.getCharacterList(),u=C3e(),c=i instanceof Q3e,d=i.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:R3e()}),f=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=f.concat([[n,d],[u,p]],h).toOrderedMap();return c&&(i.getChildKeys().isEmpty()||("production"!==Ts.env.NODE_ENV?E3e(!1,"ContentBlockNode must not have children"):E3e(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();A3e(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:D3e(o)})})),A3e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),A3e(r,e,(function(e){return e.merge({nextSibling:i})})),A3e(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},N3e=M2e,j3e=x5e,X3e=$5e,U3e=N5e,q3e=H5e,M3e=l3e,W3e=p3e,L3e=T5e,F3e=h3e,V3e=Y5e,Z3e=$3e,B3e=z3e,Y3e=C2e.exports.OrderedSet,G3e={replaceText:function(e,t,n,r,i){var o=V3e(e,t),a=Z3e(o,t),s=N3e.create({style:r||Y3e(),entity:i||null});return W3e(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Ts.env.NODE_ENV?L3e(!1,"Target range must be collapsed for `insertText`."):L3e(!1)),G3e.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=q3e(e,t),i=G3e.removeRange(e,t,"backward");return G3e.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=V3e(e,t),o=Z3e(i,t);return M3e(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(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(r===i&&u&&u===c){var d=U3e(e.getEntityMap(),o,a,t,n);return Z3e(e,d)}var p=V3e(e,t);return Z3e(p,t)},splitBlock:function(e,t){var n=V3e(e,t),r=Z3e(n,t);return B3e(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return j3e.add(e,t,n)},removeInlineStyle:function(e,t,n){return j3e.remove(e,t,n)},setBlockType:function(e,t,n){return F3e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return F3e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return F3e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=V3e(e,t);return X3e(r,t,n)}},K3e=G3e;var H3e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function J3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var e4e=W2e,t4e=H3e,n4e=C2e.exports,r4e=n4e.List,i4e=n4e.Repeat,o4e=n4e.Record,a4e=function(){return!0},s4e=o4e({start:null,end:null}),l4e=o4e({start:null,end:null,decoratorKey:null,leaves:null}),u4e={generate:function(e,t,n){var r=t.getLength();if(!r)return r4e.of(new l4e({start:0,end:0,decoratorKey:null,leaves:r4e.of(new s4e({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):r4e(i4e(null,r)),a=t.getCharacterList();return e4e(o,d4e,a4e,(function(e,t){i.push(new l4e({start:e,end:t,decoratorKey:o.get(e),leaves:c4e(a.slice(e,t).toList(),e)}))})),r4e(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 l4e(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){J3e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?r4e(Array.isArray(t)?t:t4e(t)).map((function(e){return s4e(e)})):null}))}};function c4e(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return e4e(r,d4e,a4e,(function(e,r){n.push(new s4e({start:e+t,end:r+t}))})),r4e(n)}function d4e(e,t){return e===t}var p4e=u4e;var f4e=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,C2e.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),h4e=f4e;var m4e=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 O4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g4e=h4e,v4e=T5e,y4e=m4e,b4e=(0,C2e.exports.Map)(),w4e=y4e();function x4e(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var _4e={getLastCreatedEntityKey:function(){return x4e("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),_4e.__getLastCreatedEntityKey()},create:function(e,t,n){return x4e("DraftEntity.create","contentState.createEntity"),_4e.__create(e,t,n)},add:function(e){return x4e("DraftEntity.add","contentState.addEntity"),_4e.__add(e)},get:function(e){return x4e("DraftEntity.get","contentState.getEntity"),_4e.__get(e)},__getAll:function(){return b4e},__loadWithEntities:function(e){b4e=e,w4e=y4e()},mergeData:function(e,t){return x4e("DraftEntity.mergeData","contentState.mergeEntityData"),_4e.__mergeData(e,t)},replaceData:function(e,t){return x4e("DraftEntity.replaceData","contentState.replaceEntityData"),_4e.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return w4e},__create:function(e,t,n){return _4e.__add(new g4e({type:e,mutability:t,data:n||{}}))},__add:function(e){return w4e=y4e(),b4e=b4e.set(w4e,e),w4e},__get:function(e){var t=b4e.get(e);return t||("production"!==Ts.env.NODE_ENV?v4e(!1,"Unknown DraftEntity key: %s.",e):v4e(!1)),t},__mergeData:function(e,t){var n=_4e.__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){O4e(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return b4e=b4e.set(e,i),i},__replaceData:function(e,t){var n=_4e.__get(e).set("data",t);return b4e=b4e.set(e,n),n}},S4e=_4e;var k4e=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,C2e.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),P4e=k4e,$4e=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Q4e=new RegExp("\r","g");var C4e=function(e){return e.replace(Q4e,"")};function T4e(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){E4e(e,t,n[t])}))}return e}function E4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I4e=I2e,D4e=M2e,R4e=r5e,A4e=v5e,z4e=S4e,N4e=P4e,j4e=U5e,X4e=H3e,U4e=$4e,q4e=C2e.exports,M4e=C4e,W4e=q4e.List,L4e=q4e.Record,F4e=q4e.Repeat,V4e=q4e.Map,Z4e=q4e.OrderedMap,B4e=L4e({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),Y4e=U4e("draft_tree_data_support")?A4e:R4e,G4e=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 z4e},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 z4e.__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 z4e.__create(e,t,n),this},i.mergeEntityData=function(e,t){return z4e.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return z4e.__replaceData(e,t),this},i.addEntity=function(e){return z4e.__add(e),this},i.getEntity=function(e){return z4e.__get(e)},i.getAllEntities=function(){return z4e.__getAll()},i.loadWithEntities=function(e){return z4e.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=I4e.createFromArray(n),o=i.isEmpty()?new N4e:N4e.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||z4e,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=M4e(e),new Y4e({key:j4e(),text:e,type:"unstyled",characterList:W4e(F4e(D4e.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(T4e({},e,{blockMap:Z4e(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new N4e(e.selectionBefore),selectionAfter:new N4e(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new Y4e(T4e({},e,{data:V4e(e.data),characterList:null!=t?W4e((Array.isArray(t)?t:X4e(t)).map((function(e){return D4e.fromJS(e)}))):void 0}))},r}(B4e),K4e=G4e,H4e=T5e,J4e=null;function e6e(e){return"LTR"===e||"RTL"===e}function t6e(e){return e6e(e)||("production"!==Ts.env.NODE_ENV?H4e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):H4e(!1)),"LTR"===e?"ltr":"rtl"}function n6e(e){J4e=e}var r6e={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:e6e,getHTMLDir:t6e,getHTMLDirIfDifferent:function(e,t){return e6e(e)||("production"!==Ts.env.NODE_ENV?H4e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):H4e(!1)),e6e(t)||("production"!==Ts.env.NODE_ENV?H4e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):H4e(!1)),e===t?null:t6e(e)},setGlobalDir:n6e,initGlobalDir:function(){n6e("LTR")},getGlobalDir:function(){return J4e||this.initGlobalDir(),J4e||("production"!==Ts.env.NODE_ENV?H4e(!1,"Global direction not set."):H4e(!1)),J4e}},i6e=r6e,o6e=T5e,a6e="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",s6e="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",l6e=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+a6e+s6e+"]"),u6e=new RegExp("["+a6e+s6e+"]");function c6e(e){var t=l6e.exec(e);return null==t?null:t[0]}function d6e(e){var t=c6e(e);return null==t?i6e.NEUTRAL:u6e.exec(t)?i6e.RTL:i6e.LTR}function p6e(e,t){if(t=t||i6e.NEUTRAL,!e.length)return t;var n=d6e(e);return n===i6e.NEUTRAL?t:n}function f6e(e,t){return t||(t=i6e.getGlobalDir()),i6e.isStrong(t)||("production"!==Ts.env.NODE_ENV?o6e(!1,"Fallback direction must be a strong direction"):o6e(!1)),p6e(e,t)}var h6e={firstStrongChar:c6e,firstStrongCharDir:d6e,resolveBlockDir:p6e,getDirection:f6e,isDirectionLTR:function(e,t){return f6e(e,t)===i6e.LTR},isDirectionRTL:function(e,t){return f6e(e,t)===i6e.RTL}};function m6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O6e,g6e=h6e,v6e=r6e,y6e=T5e,b6e=function(){function e(e){m6e(this,"_defaultDir",void 0),m6e(this,"_lastDir",void 0),e?v6e.isStrong(e)||("production"!==Ts.env.NODE_ENV?y6e(!1,"Default direction must be a strong direction (LTR or RTL)"):y6e(!1)):e=v6e.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=g6e.getDirection(e,this._lastDir),this._lastDir},e}(),w6e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},x6e=b6e,_6e=C2e.exports,S6e=w6e,k6e=_6e.OrderedMap,P6e={getDirectionMap:function(e,t){O6e?O6e.reset():O6e=new x6e;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return S6e(O6e).getDirection(e.getText())})),i=k6e(n.keySeq().zip(r));return null!=t&&_6e.is(t,i)?t:i}};function $6e(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){Q6e(e,t,n[t])}))}return e}function Q6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C6e=p4e,T6e=K4e,E6e=P6e,I6e=P4e,D6e=C2e.exports,R6e=D6e.OrderedSet,A6e=D6e.Record,z6e=D6e.Stack,N6e=D6e.OrderedMap,j6e=D6e.List,X6e=A6e({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:z6e(),selection:null,treeMap:null,undoStack:z6e()}),U6e=function(){t.createEmpty=function(e){return t.createWithContent(T6e.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:z6e(),redoStack:z6e(),decorator:n||null,selection:I6e.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=$6e({},e,{treeMap:M6e(n,e.decorator),directionMap:E6e.getDirectionMap(n)});return new t(new X6e(r))},t.fromJS=function(e){return new t(new X6e($6e({},e,{directionMap:null!=e.directionMap?N6e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?R6e(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?T6e.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?z6e(e.redoStack.map((function(e){return T6e.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new I6e(e.selection):e.selection,treeMap:null!=e.treeMap?N6e(e.treeMap).map((function(e){return j6e(e).map((function(e){return C6e.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?z6e(e.undoStack.map((function(e){return T6e.fromJS(e)}))):e.undoStack,currentContent:T6e.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 C6e.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):M6e(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 C6e.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){Q6e(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 L6e(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 L6e(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 q6e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),q6e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new I6e({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=E6e.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(),u=n;a!==s.getSelectionAfter()||W6e(e,r)?(l=l.push(s),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(c=null);var p={currentContent:u,directionMap:o,undoStack:l,redoStack:z6e(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:c};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=E6e.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=E6e.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 q6e(e,t,n){return U6e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function M6e(e,t){return e.getBlockMap().map((function(n){return C6e.generate(e,n,t)})).toOrderedMap()}function W6e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function L6e(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):R6e()}var F6e=U6e,V6e=v5e,Z6e=O3e,B6e=C2e.exports,Y6e=T5e,G6e=B6e.OrderedMap,K6e=B6e.List,H6e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},J6e=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){H6e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),H6e(c,e,(function(e){return e.merge({nextSibling:u})})),H6e(u,e,(function(e){return e.merge({prevSibling:c})})),H6e(p,e,(function(e){return e.merge({prevSibling:a})})),H6e(f,e,(function(e){return e.merge({nextSibling:a})})),H6e(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:K6e(i)})})),H6e(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},e7e=function(e,t,n,r){"replace"===r&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Replacing blocks is not supported."):Y6e(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Block cannot be moved next to itself."):Y6e(!1));var a=e.getBlockMap(),s=t instanceof V6e,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=Z6e(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 c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),f=G6e();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Block cannot be moved next to itself."):Y6e(!1)),f=c.concat([].concat(p,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Ts.env.NODE_ENV?Y6e(!1,"Block cannot be moved next to itself."):Y6e(!1)),f=c.concat([[i,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:J6e(f,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function t7e(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){n7e(e,t,n[t])}))}return e}function n7e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r7e=I2e,i7e=M2e,o7e=r5e,a7e=v5e,s7e=K3e,l7e=F6e,u7e=U5e,c7e=C2e.exports,d7e=e7e,p7e=$4e("draft_tree_data_support"),f7e=p7e?a7e:o7e,h7e=c7e.List,m7e=c7e.Repeat,O7e={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=s7e.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=s7e.splitBlock(o,a),l=s.getSelectionAfter(),u=s7e.setBlockType(s,l,"atomic"),c=i7e.create({entity:t}),d={key:u7e(),type:"atomic",text:n,characterList:h7e(m7e(c,n.length))},p={key:u7e(),type:"unstyled"};p7e&&(d=t7e({},d,{nextSibling:p.key}),p=t7e({},p,{prevSibling:d.key}));var f=[new f7e(d),new f7e(p)],h=r7e.createFromArray(f),m=s7e.replaceWithFragment(u,l,h),O=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return l7e.push(e,O,"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=d7e(o,t,s,r)}else{var l=s7e.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())i=d7e(l,t,c,"before");else if(u.getEndOffset()===c.getLength())i=d7e(l,t,c,"after");else{var d=s7e.splitBlock(l,u),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());i=d7e(d,t,f,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return l7e.push(e,h,"move-block")}};var g7e=C2e.exports.List,v7e=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)})),g7e(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 y7e=v7e;function b7e(e){return e.replace(/\//g,"-")}var w7e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(b7e).join(" "):Array.prototype.map.call(arguments,b7e).join(" ")},x7e=de,_7e=w7e,S7e=(0,C2e.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:x7e.createElement("ul",{className:_7e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:x7e.createElement("ol",{className:_7e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:x7e.createElement("pre",{className:_7e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),k7e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},P7e={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",p="version",f="architecture",h="console",m="mobile",O="tablet",g="smarttv",v="wearable",y="embedded",b="Amazon",w="Apple",x="ASUS",_="BlackBerry",S="Firefox",k="Google",P="Huawei",$="LG",Q="Microsoft",C="Motorola",T="Opera",E="Samsung",I="Sony",D="Xiaomi",R="Zebra",A="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!==j(t).indexOf(j(e))},j=function(e){return e.toLowerCase()},X=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,u,c,d=0;d<t.length&&!u;){var p=t[d],f=t[d+1];for(n=o=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<f.length;s++)c=u[++o],typeof(l=f[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):r:this[l[0]]=c?l[1].call(this,c,l[2]):r:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):r):this[l]=c||r;d+=2}},q=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},M={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"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[u,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[u,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,A],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,j]],[/((?: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/,"",j]],[/(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,j]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,E],[c,O]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,E],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,O]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[c,O]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[c,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,D],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,D],[c,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,C],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,C],[c,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,$],[c,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,$],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[d,k],[c,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,k],[c,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,I],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,I],[c,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,b],[c,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,b],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,_],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,x],[c,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,x],[c,m]],[/(nexus 9)/i],[l,[d,"HTC"],[c,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,O]],[/(surface duo)/i],[l,[d,Q],[c,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[d,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,O]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,O]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,O]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,O]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,O]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,O]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,O]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,O]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,O]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,O]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,O]],[/(sprint) (\w+)/i],[d,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,Q],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,R],[c,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,R],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[l,[d,I],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,Q],[c,h]],[/smart-tv.+(samsung)/i],[d,[c,g]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,E],[c,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,$],[c,g]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,g]],[/crkey/i],[[l,"Chromecast"],[d,k],[c,g]],[/droid.+aft(\w)( bui|\))/i],[l,[d,b],[c,g]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,X],[l,X],[c,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,g]],[/((pebble))app/i],[d,l,[c,v]],[/droid.+; (glass) \d/i],[l,[d,k],[c,v]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,R],[c,v]],[/(quest( 2)?)/i],[l,[d,A],[c,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,O]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,q,M]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,q,M]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,p]]},L=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof L))return new L(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}(W,t):W;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?X(e,255):e,this},this.setUA(i),this};L.VERSION="0.7.31",L.BROWSER=z([u,p,"major"]),L.CPU=z([f]),L.DEVICE=z([l,d,c,h,m,g,O,v,y]),L.ENGINE=L.OS=z([u,p]),e.exports&&(t=e.exports=L),t.UAParser=L;var F=typeof n!==o&&(n.jQuery||n.Zepto);if(F&&!F.ua){var V=new L;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:Be)}(P7e,P7e.exports);var $7e="Unknown",Q7e={"Mac OS":"Mac OS X"};var C7e=(new(0,P7e.exports)).getResult(),T7e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(C7e.browser.version),E7e={browserArchitecture:C7e.cpu.architecture||$7e,browserFullVersion:C7e.browser.version||$7e,browserMinorVersion:T7e.minor||$7e,browserName:C7e.browser.name||$7e,browserVersion:C7e.browser.major||$7e,deviceName:C7e.device.model||$7e,engineName:C7e.engine.name||$7e,engineVersion:C7e.engine.version||$7e,platformArchitecture:C7e.cpu.architecture||$7e,platformName:function(e){return Q7e[e]||e}(C7e.os.name)||$7e,platformVersion:C7e.os.version||$7e,platformFullVersion:C7e.os.version||$7e},I7e=E7e,D7e=T5e,R7e=/\./,A7e=/\|\|/,z7e=/\s+\-\s+/,N7e=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,j7e=/^(\d*)(.*)/;function X7e(e,t){var n=e.split(A7e);return n.length>1?n.some((function(e){return G7e.contains(e,t)})):function(e,t){var n=e.split(z7e);if(n.length>0&&n.length<=2||("production"!==Ts.env.NODE_ENV?D7e(!1,'the "-" operator expects exactly 2 operands'):D7e(!1)),1===n.length)return U7e(n[0],t);var r=n[0],i=n[1];return F7e(r)&&F7e(i)||("production"!==Ts.env.NODE_ENV?D7e(!1,'operands to the "-" operator must be simple (no modifiers)'):D7e(!1)),U7e(">="+r,t)&&U7e("<="+i,t)}(e=n[0].trim(),t)}function U7e(e,t){if(""===(e=e.trim()))return!0;var n=t.split(R7e),r=W7e(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return q7e(n,o);case"<=":return function(e,t){var n=Y7e(e,t);return-1===n||0===n}(n,o);case">=":return M7e(n,o);case">":return function(e,t){return 1===Y7e(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);L7e(o)&&(r[i]=o+1+"");return M7e(e,n)&&q7e(e,r)}(n,o);default:return function(e,t){return 0===Y7e(e,t)}(n,o)}}function q7e(e,t){return-1===Y7e(e,t)}function M7e(e,t){var n=Y7e(e,t);return 1===n||0===n}function W7e(e){var t=e.split(R7e),n=t[0].match(N7e);return n||("production"!==Ts.env.NODE_ENV?D7e(!1,"expected regex to match but it did not"):D7e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function L7e(e){return!isNaN(e)&&isFinite(e)}function F7e(e){return!W7e(e).modifier}function V7e(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Z7e(e,t){var n=e.match(j7e)[1],r=t.match(j7e)[1],i=parseInt(n,10),o=parseInt(r,10);return L7e(i)&&L7e(o)&&i!==o?B7e(i,o):B7e(e,t)}function B7e(e,t){return typeof e!=typeof t&&("production"!==Ts.env.NODE_ENV?D7e(!1,'"a" and "b" must be of the same type'):D7e(!1)),e>t?1:e<t?-1:0}function Y7e(e,t){for(var n=function(e,t){V7e(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 V7e(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=Z7e(r[o],i[o]);if(a)return a}return 0}var G7e={contains:function(e,t){return X7e(e.trim(),t.trim())}},K7e=G7e,H7e=Object.prototype.hasOwnProperty;var J7e=function(e,t,n){if(!e)return null;var r={};for(var i in e)H7e.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var e8e=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},t8e=I7e,n8e=K7e;function r8e(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,n8e.contains(i,t))}function i8e(e){return"Windows"===t8e.platformName?e.replace(/^\s*NT/,""):e}var o8e=J7e({isBrowser:function(e){return r8e(t8e.browserName,t8e.browserFullVersion,e)},isBrowserArchitecture:function(e){return r8e(t8e.browserArchitecture,null,e)},isDevice:function(e){return r8e(t8e.deviceName,null,e)},isEngine:function(e){return r8e(t8e.engineName,t8e.engineVersion,e)},isPlatform:function(e){return r8e(t8e.platformName,t8e.platformFullVersion,e,i8e)},isPlatformArchitecture:function(e){return r8e(t8e.platformArchitecture,null,e)}},e8e);var a8e=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var s8e=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},l8e=s8e;var u8e=function e(t){if(l8e(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},c8e=a8e,d8e=u8e;var p8e=function(e){for(var t=e;t&&t!==c8e(e).documentElement;){var n=d8e(t);if(null!=n)return n;t=t.parentNode}return null};var f8e=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function h8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m8e=o8e,O8e=p8e,g8e=f8e,v8e=T5e,y8e=w6e,b8e=C2e.exports.Map,w8e={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},x8e=m8e.isBrowser("IE <= 11"),_8e=function(){function e(e){var t=this;h8e(this,"observer",void 0),h8e(this,"container",void 0),h8e(this,"mutations",void 0),h8e(this,"onCharData",void 0),this.container=e,this.mutations=b8e();var n=g8e(e);n.MutationObserver&&!x8e?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ts.env.NODE_ENV?v8e(!1,"Expected target to be an instance of Node"):v8e(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,w8e):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=b8e(),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 x8e?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=y8e(O8e(e.target));this.mutations=this.mutations.set(n,t)}},e}(),S8e={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)}}},k8e={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},P8e={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var $8e=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},Q8e=T5e,C8e=$8e;var T8e=function(e){var t=e.editorContainer;return t||("production"!==Ts.env.NODE_ENV?Q8e(!1,"Missing editorNode"):Q8e(!1)),C8e(t.firstChild)||("production"!==Ts.env.NODE_ENV?Q8e(!1,"editorNode.firstChild is not an HTMLElement"):Q8e(!1)),t.firstChild},E8e=S8e,I8e=w6e;var D8e=function(e,t,n,r,i){var o=I8e(e.getSelection());if(!t||!r)return"production"!==Ts.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=E8e.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=E8e.decode(r),d=c.blockKey,p=e.getBlockTree(d),f=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!f)return"production"!==Ts.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=u.get("start"),m=f.get("start"),O=u?h+n:null,g=f?m+i:null,v=o.getAnchorKey()===s&&o.getAnchorOffset()===O&&o.getFocusKey()===d&&o.getFocusOffset()===g;if(v)return o;var y=!1;if(s===d){var b=u.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:O,focusKey:d,focusOffset:g,isBackward:y})},R8e=p8e,A8e=u8e,z8e=D8e,N8e=T5e,j8e=s8e,X8e=w6e;function U8e(e,t,n){var r=t,i=R8e(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Ts.env.NODE_ENV?N8e(!1,"Unknown node in selection range."):N8e(!1)),e===r)&&(r=r.firstChild,j8e(r)||("production"!==Ts.env.NODE_ENV?N8e(!1,"Invalid DraftEditorContents node."):N8e(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Ts.env.NODE_ENV?N8e(!1,"Invalid DraftEditorContents structure."):N8e(!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&&(j8e(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||A8e(e.firstChild));)e=e.firstChild;return e}(r);o=X8e(A8e(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],l=null,u=null;if(A8e(s)){var c=function(e){for(;e.lastChild&&(j8e(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||A8e(e.lastChild));)e=e.lastChild;return e}(s);l=X8e(A8e(c)),u=q8e(c)}else l=X8e(i),u=q8e(s);return{key:l,offset:u}}function q8e(e){var t=e.textContent;return"\n"===t?0:t.length}var M8e=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:z8e(e,X8e(R8e(n)),r,X8e(R8e(i)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:X8e(R8e(n)),offset:r},u=U8e(t,i,o)):s?(u={key:X8e(R8e(i)),offset:o},l=U8e(t,n,r)):(l=U8e(t,n,r),u=U8e(t,i,o),n===i&&r===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:z8e(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},W8e=M8e;var L8e=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}:W8e(e,t,r,i,o,a)},F8e=P8e,V8e=F6e,Z8e=T8e,B8e=L8e;var Y8e=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();F8e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=B8e(n,Z8e(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?V8e.forceSelection(n,i):V8e.acceptSelection(n,i),e.update(n))}};var G8e={notEmptyKey:function(e){return null!=e&&""!=e}},K8e=G8e.notEmptyKey;function H8e(e,t){return K8e(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var J8e=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:H8e(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),H8e(e.getEntityMap(),n)},e9e=_8e,t9e=K3e,n9e=S8e,r9e=F6e,i9e=k8e,o9e=T8e,a9e=L8e,s9e=J8e,l9e=w6e,u9e=!1,c9e=!1,d9e=null;var p9e={onCompositionStart:function(e){c9e=!0,function(e){d9e||(d9e=new e9e(o9e(e))).start()}(e)},onCompositionEnd:function(e){u9e=!1,c9e=!1,setTimeout((function(){u9e||p9e.resolveComposition(e)}),20)},onSelect:Y8e,onKeyDown:function(e,t){if(!c9e)return p9e.resolveComposition(e),void e._onKeyDown(t);t.which!==i9e.RIGHT&&t.which!==i9e.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===i9e.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!c9e){var t=l9e(d9e).stopAndFlushMutations();d9e=null,u9e=!0;var n=r9e.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=n9e.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),p=s9e(r,d),f=r.getBlockForKey(o).getInlineStyleAt(u);r=t9e.replaceText(r,d,e,f,p),n=r9e.set(n,{currentContent:r})}));var i=a9e(n,o9e(e)).selectionState;e.restoreEditorDOM();var o=r9e.acceptSelection(n,i);e.update(r9e.push(o,r,"insert-characters"))}else e.update(n)}}},f9e=p9e,h9e=f3;function m9e(){return m9e=h9e||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 O9e=S8e,g9e=de,v9e=h6e,y9e=r6e,b9e=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,u=t.getKey(),c=s.get("leaves"),d=i.getComponentForKey(o),p=i.getPropsForKey(o),f=O9e.encode(u,parseInt(o,10),0),h=l.slice(c.first().get("start"),c.last().get("end")),m=y9e.getHTMLDirIfDifferent(v9e.getDirection(h),a);return g9e.createElement(d,m9e({},p,{contentState:r,decoratedText:h,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},r}(g9e.Component),w9e=b9e;function x9e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S9e=de,k9e=T5e,P9e=s8e,$9e=o8e.isBrowser("IE <= 11");var Q9e=function(e){var t,n;function r(t){var n;return _9e(x9e(n=e.call(this,t)||this),"_forceFlag",void 0),_9e(x9e(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;P9e(t)||("production"!==Ts.env.NODE_ENV?k9e(!1,"node is not an Element"):k9e(!1));var r=t;return n?!function(e){return $9e?"\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=this;return""===this.props.children?this._forceFlag?function(e){return $9e?S9e.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):S9e.createElement("br",{key:"A","data-text":"true",ref:e})}((function(t){return e._node=t})):function(e){return $9e?S9e.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):S9e.createElement("br",{key:"B","data-text":"true",ref:e})}((function(t){return e._node=t})):S9e.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},r}(S9e.Component),C9e=Q9e,T9e=s8e;var E9e=function(e){return!(!e||!e.ownerDocument)&&(T9e(e)&&"BR"===e.nodeName)};var I9e=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 D9e=function(e){return I9e(e)&&3==e.nodeType};var R9e=function e(t,n){return!(!t||!n)&&(t===n||!D9e(t)&&(D9e(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var A9e=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}},z9e=P8e,N9e=R9e,j9e=A9e,X9e=a8e,U9e=T5e,q9e=s8e,M9e=o8e.isBrowser("IE");function W9e(e,t){if(!e)return"[empty]";var n=L9e(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(q9e(n)||("production"!==Ts.env.NODE_ENV?U9e(!1,"Node must be an Element if it is not a text node."):U9e(!1)),n.outerHTML)}function L9e(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return X9e(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(L9e(o[a],t));return i}function F9e(e,t){for(var n=e,r=n;n;){if(q9e(n)&&r.hasAttribute("contenteditable"))return W9e(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function V9e(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function Z9e(e,t,n,r){var i=j9e();if(e.extend&&null!=t&&N9e(i,t)){n>V9e(t)&&z9e.logSelectionStateFailure({anonymizedDom:F9e(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 z9e.logSelectionStateFailure({anonymizedDom:F9e(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 B9e(e,t,n,r){var i=X9e(t).createRange();if(n>V9e(t)&&z9e.logSelectionStateFailure({anonymizedDom:F9e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),M9e)try{e.addRange(i)}catch(e){"production"!==Ts.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var Y9e=function(e,t,n,r,i){var o=X9e(t);if(N9e(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,f=l;s=u,l=c,u=p,c=f,d=!1}var h=s===n&&r<=l&&i>=l,m=u===n&&r<=c&&i>=c;if(h&&m)return a.removeAllRanges(),B9e(a,t,l-r,e),void Z9e(a,t,c-r,e);if(d){if(m&&(a.removeAllRanges(),B9e(a,t,c-r,e)),h){var O=a.focusNode,g=a.focusOffset;a.removeAllRanges(),B9e(a,t,l-r,e),Z9e(a,O,g,e)}}else h&&(a.removeAllRanges(),B9e(a,t,l-r,e)),m&&Z9e(a,t,c-r,e)}},G9e=f3;function K9e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J9e=C9e,eet=de,tet=T5e,net=E9e,ret=Y9e,iet=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 H9e(K9e(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"!==Ts.env.NODE_ENV?tet(!1,"Missing node"):tet(!1));var l,u=s.firstChild;u||("production"!==Ts.env.NODE_ENV?tet(!1,"Missing child"):tet(!1)),u.nodeType===Node.TEXT_NODE?l=u:net(u)?l=s:(l=u.firstChild)||("production"!==Ts.env.NODE_ENV?tet(!1,"Missing targetNode"):tet(!1)),ret(e,l,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ts.env.NODE_ENV?tet(!1,"Missing leafNode"):tet(!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()),G9e(e,r,n)}),{});if(o){var u=o(s,t);l=G9e(l,u)}return eet.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},eet.createElement(J9e,null,n))},r}(eet.Component),oet=iet;var aet=w9e,set=oet,uet=S8e,cet=de,det=w7e;C2e.exports.List;var pet=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,u=e.selection,c=e.tree,d=t.getKey(),p=t.getText(),f=c.size-1,h=this.props.children||c.map((function(e,c){var h=e.get("decoratorKey"),m=e.get("leaves"),O=m.size-1,g=m.map((function(e,n){var o=uet.encode(d,c,n),a=e.get("start"),m=e.get("end");return cet.createElement(set,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===f&&n===O})})).toArray();return h&&o?cet.createElement(aet,{block:t,children:g,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:p,key:c}):g})).toArray();return cet.createElement("div",{"data-offset-key":uet.encode(d,0,0),className:det({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(cet.Component),fet=pet;function het(e,t){return!!t&&(e===t.documentElement||e===t.body)}var met={getTop:function(e){var t=e.ownerDocument;return het(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;het(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return het(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;het(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},Oet=met,get=/-(.)/g;var vet=function(e){return e.replace(get,(function(e,t){return t.toUpperCase()}))},yet=/([A-Z])/g;var bet=function(e){return e.replace(yet,"-$1").toLowerCase()},wet=vet,xet=bet;function _et(e){return null==e?e:String(e)}var ket=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return _et(n.getPropertyValue(xet(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return _et(n.getPropertyValue(xet(t)));if("display"===t)return"none"}return e.currentStyle?_et("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[wet(t)]):_et(e.style&&e.style[wet(t)])};function Pet(e,t){var n=$et.get(e,t);return"auto"===n||"scroll"===n}var $et={get:ket,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(Pet(e,"overflow")||Pet(e,"overflowY")||Pet(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},Qet=$et,Cet=R9e;var Tet=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!Cet(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 Eet=function(e){var t=Tet(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},Iet="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var Det=function(e){return(e=e||document).scrollingElement?e.scrollingElement:Iet||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var Ret=Det,Aet=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 zet=function(e){var t=Ret(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=Aet(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 Net(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function jet(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function Xet(){return{width:window.innerWidth||Net(),height:window.innerHeight||jet()}}Xet.withoutScrollbars=function(){return{width:Net(),height:jet()}};var Uet=Xet,qet=f3;function Met(){return Met=qet||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},Met.apply(this,arguments)}function Wet(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Let(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){Fet(e,t,n[t])}))}return e}function Fet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vet=fet,Zet=S8e,Bet=de,Yet=Oet,Get=Qet,Ket=Eet,Het=zet,Jet=Uet,ett=T5e,ttt=$8e;C2e.exports.List;var ntt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},rtt=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}},itt=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},ott=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=Let({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},att=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 Fet(Wet(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",Bet.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||ntt(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=Get.getScrollParent(n),o=Het(i);if(i===window){var a=Ket(n);(r=a.y+a.height-Jet().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{ttt(n)||("production"!==Ts.env.NODE_ENV?ett(!1,"blockNode is not an HTMLElement"):ett(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&Yet.setTop(i,Yet.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,u=t.editorKey,c=t.editorState,d=t.customStyleFn,p=t.customStyleMap,f=t.direction,h=t.forceSelection,m=t.selection,O=t.tree,g=null;n.children.size&&(g=n.children.reduce((function(t,n){var l=Zet.encode(n,0,0),d=s.getBlockForKey(n),p=itt(d,o),f=p.CustomComponent||r,h=rtt(d,i),m=h.Element,O=h.wrapperTemplate,g=ott(d,u,l,a,p,null),v=Let({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(Bet.createElement(m,g,Bet.createElement(f,v))),!O||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 u=s.value;if(u.type!==t)break;r.push(u)}}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 c=r.reverse(),d=c[0].key;n.push(Bet.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":Zet.encode(d,0,0)},c))}(O,m,t),t}),[]));var v=n.getKey(),y=Zet.encode(v,0,0),b=itt(n,o),w=b.CustomComponent,x=null!=w?Bet.createElement(w,Met({},this.props,{tree:c.getBlockTree(v),blockProps:b.customProps,offsetKey:y,block:n})):Bet.createElement(Vet,{block:n,children:g,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:f,forceSelection:h,hasSelection:ntt(m,v),selection:m,tree:O});if(n.getParentKey())return x;var _=rtt(n,i).Element,S=ott(n,u,y,a,b,this.wrapperRef);return Bet.createElement(_,S,x)},r}(Bet.Component),stt=f3;function ltt(){return ltt=stt||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},ltt.apply(this,arguments)}var utt=att,ctt=S8e,dtt=de,ptt=w6e,ftt=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(),u=n.getDecorator();return i!==o||a!==s||l!==u||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,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),f=ptt(a.getDirectionMap()),h=[],m=u.getBlocksAsArray()[0];m;){var O=m.getKey(),g={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:u,customStyleFn:o,customStyleMap:i,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:c,block:m,direction:l||f.get(O),tree:a.getBlockTree(O)},v=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:dtt.createElement(utt,ltt({key:O},g)),wrapperTemplate:v,key:O,offsetKey:ctt.encode(O,0,0)});var y=m.getNextSiblingKey();m=y?u.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 S=dtt.cloneElement(x.wrapperTemplate,{key:x.key+"-wrap","data-offset-key":x.offsetKey},_);b.push(S)}else b.push(x.block),w++}return dtt.createElement("div",{"data-contents":"true"},b)},r}(dtt.Component),htt=ftt,mtt=f3;function Ott(){return Ott=mtt||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},Ott.apply(this,arguments)}function gtt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vtt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ytt=oet,btt=S8e,wtt=de,xtt=Oet,_tt=Qet,Stt=h6e,ktt=r6e,Ptt=w7e,$tt=Eet,Qtt=zet,Ctt=Uet,Ttt=T5e,Ett=$8e,Itt=w6e,Dtt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Rtt=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 vtt(gtt(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||Dtt(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=_tt.getScrollParent(n),o=Qtt(i);if(i===window){var a=$tt(n);(r=a.y+a.height-Ctt().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{Ett(n)||("production"!==Ts.env.NODE_ENV?Ttt(!1,"blockNode is not an HTMLElement"):Ttt(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&xtt.setTop(i,xtt.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=Dtt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=btt.encode(n,s,l),d=a.get("start"),p=a.get("end");return wtt.createElement(ytt,{key:c,offsetKey:c,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===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=Itt(e.props.decorator),f=p.getComponentForKey(d);if(!f)return c;var h=p.getPropsForKey(d),m=btt.encode(n,s,0),O=l.first().get("start"),g=l.last().get("end"),v=r.slice(O,g),y=t.getEntityAt(a.get("start")),b=ktt.getHTMLDirIfDifferent(Stt.getDirection(v),e.props.direction),w={contentState:e.props.contentState,decoratedText:v,dir:b,start:O,end:g,blockKey:n,entityKey:y,offsetKey:m};return wtt.createElement(f,Ott({},h,w,{key:m}),c)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=Ptt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return wtt.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(wtt.Component),Att=Rtt;var ztt=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},Ntt=f3;function jtt(){return jtt=Ntt||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},jtt.apply(this,arguments)}function Xtt(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){Utt(e,t,n[t])}))}return e}function Utt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qtt=Att,Mtt=S8e,Wtt=de,Ltt=w7e,Ftt=ztt,Vtt=w6e,Ztt=function(e,t,n,r){return Ltt({"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})},Btt=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(),u=n.getDecorator();return i!==o||a!==s||l!==u||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,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),f=a.getDecorator(),h=Vtt(a.getDirectionMap()),m=c.getBlocksAsArray(),O=[],g=null,v=null,y=0;y<m.length;y++){var b=m[y],w=b.getKey(),x=b.getType(),_=n(b),S=void 0,k=void 0,P=void 0;_&&(S=_.component,k=_.props,P=_.editable);var $=u||h.get(w),Q=Mtt.encode(w,0,0),C={contentState:c,block:b,blockProps:k,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:f,direction:$,forceSelection:p,offsetKey:Q,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(x)||t.get("unstyled"),E=T.wrapper,I=T.element||t.get("unstyled").element,D=b.getDepth(),R="";if(r&&(R=r(b)),"li"===I)R=Ftt(R,Ztt(x,D,v!==E||null===g||D>g,$));var A=S||qtt,z={className:R,"data-block":!0,"data-editor":s,"data-offset-key":Q,key:w};void 0!==P&&(z=Xtt({},z,{contentEditable:P,suppressContentEditableWarning:!0}));var N=Wtt.createElement(I,z,Wtt.createElement(A,jtt({},C,{key:w})));O.push({block:N,wrapperTemplate:E,key:w,offsetKey:Q}),g=E?b.getDepth():null,v=E}for(var j=[],X=0;X<O.length;){var U=O[X];if(U.wrapperTemplate){var q=[];do{q.push(O[X].block),X++}while(X<O.length&&O[X].wrapperTemplate===U.wrapperTemplate);var M=Wtt.cloneElement(U.wrapperTemplate,{key:U.key+"-wrap","data-offset-key":U.offsetKey},q);j.push(M)}else j.push(U.block),X++}return Wtt.createElement("div",{"data-contents":"true"},j)},r}(Wtt.Component),Ytt=Btt,Gtt=$4e("draft_tree_data_support")?htt:Ytt,Ktt={isImage:function(e){return"image"===Htt(e)[0]},isJpeg:function(e){var t=Htt(e);return Ktt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function Htt(e){return e.split("/")}var Jtt=Ktt,ent=T5e;var tnt=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"!==Ts.env.NODE_ENV?ent(!1,"toArray: Array-like object expected"):ent(!1)),"number"!=typeof t&&("production"!==Ts.env.NODE_ENV?ent(!1,"toArray: Object needs a length property"):ent(!1)),0===t||t-1 in e||("production"!==Ts.env.NODE_ENV?ent(!1,"toArray: Object should have keys for indices"):ent(!1)),"function"==typeof e.callee&&("production"!==Ts.env.NODE_ENV?ent(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):ent(!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 nnt(e){return function(){return e}}var rnt=function(){};rnt.thatReturns=nnt,rnt.thatReturnsFalse=nnt(!1),rnt.thatReturnsTrue=nnt(!0),rnt.thatReturnsNull=nnt(null),rnt.thatReturnsThis=function(){return this},rnt.thatReturnsArgument=function(e){return e};var int=rnt,ont=Jtt,ant=tnt,snt=int,lnt=new RegExp("\r\n","g"),unt={"text/rtf":1,"text/html":1};function cnt(e){if("file"==e.kind)return e.getAsFile()}var dnt=function(){function e(e){this.data=e,this.types=e.types?ant(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return unt[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(lnt,"\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(!ont.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(cnt).filter(snt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),pnt=dnt,fnt=T5e,hnt=/\.textClipping$/,mnt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var Ont=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!Be.FileReader||e.type&&!(e.type in mnt))return void t("");if(""===e.type){var n="";return hnt.test(e.name)&&(n=e.name.replace(hnt,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Ts.env.NODE_ENV?fnt(!1,'We should be calling "FileReader.readAsText" which returns a string'):fnt(!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 gnt=function(e){return"handled"===e||!0===e},vnt=pnt,ynt=K3e,bnt=F6e,wnt=p8e,xnt=a8e,_nt=Ont,Snt=D8e,knt=f8e,Pnt=gnt,$nt=w6e;var Qnt={onDragEnd:function(e){e.exitCurrentMode(),Cnt(e)},onDrop:function(e,t){var n=new vnt(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=xnt(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=$nt(n),r=$nt(r);var a=$nt(wnt(n));return Snt(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&&Pnt(e.props.handleDroppedFiles(i,o)))return;_nt(o,(function(t){t&&e.update(Tnt(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&Pnt(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=ynt.moveText(e.getCurrentContent(),e.getSelection(),t);return bnt.push(e,n,"insert-fragment")}(r,i)):e.update(Tnt(r,i,n.getText()))),Cnt(e)}}}};function Cnt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:knt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Tnt(e,t,n){var r=ynt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return bnt.push(e,r,"insert-fragment")}var Ent=Qnt;var Int=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,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Ts.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)},u.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++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?Be:self);var Dnt=Be.setImmediate,Rnt=K3e,Ant=F6e,znt=J8e,Nnt=gnt,jnt=Int,Xnt=w6e,Unt=Dnt,qnt=o8e.isBrowser("Firefox");function Mnt(e,t,n,r,i){var o=Rnt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return Ant.push(e,o,"insert-characters",i)}var Wnt=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&&Nnt(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(Mnt(n,r,n.getCurrentInlineStyle(),znt(n.getCurrentContent(),n.getSelection()),!0));var s,l=Mnt(n,r,n.getCurrentInlineStyle(),znt(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=jnt(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),l=s+(s>=o?r.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==u||l!==c||null!=d&&c-u!=s-i}))}if(u||(s=r,u=qnt&&("'"==s||"/"==s)),u||(u=Xnt(l.getDirectionMap()).get(a)!==Xnt(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=Ant.set(l,{forceSelection:!0}),void e.update(l);l=Ant.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,Unt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},Lnt=F6e,Fnt=R9e,Vnt=A9e;var Znt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&Vnt(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&Fnt(i,r.anchorNode)&&Fnt(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(Lnt.acceptSelection(o,s))}},Bnt=F6e;var Ynt=function(e,t){e.setMode("composite"),e.update(Bnt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},Gnt=H5e;var Knt=function(e){var t=e.getSelection();return t.isCollapsed()?null:Gnt(e.getCurrentContent(),t)},Hnt=Knt;var Jnt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(Hnt(e._latestEditorState))};var ert=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},trt=K3e,nrt=F6e,rrt=Qet,irt=Knt,ort=zet,art=ert;var srt=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(art(o)){var a=o;n=ort(rrt.getScrollParent(a))}var s=irt(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=trt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return nrt.push(e,t,"remove-range")}(r))}),0)}};var lrt=function(e,t){e.setMode("drag"),t.preventDefault()};var urt=function(e){e._internalDrag=!0,e.setMode("drag")},crt=F6e,drt=o8e;var prt=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),drt.isBrowser("Chrome < 60.0.3081.0")?e.update(crt.forceSelection(n,i)):e.update(crt.acceptSelection(n,i))}},frt=T5e,hrt=/[\uD800-\uDFFF]/;function mrt(e){return 55296<=e&&e<=57343}function Ort(e){return hrt.test(e)}function grt(e,t){return 1+mrt(e.charCodeAt(t))}function vrt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!Ort(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+=grt(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=grt(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=grt(e,o);return e.substring(i,o)}var yrt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=grt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:grt,hasSurrogateUnit:Ort,isCodeUnitInSurrogateRange:mrt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ts.env.NODE_ENV?frt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):frt(!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(!Ort(e))return e.length;for(var t=0,n=0;n<e.length;n+=grt(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 vrt(e,t=t<n?t:n,r)},substr:vrt},brt=yrt,wrt=int;function xrt(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 _rt="production"!==Ts.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];xrt.apply(void 0,[t].concat(r))}}:wrt,Srt=_rt,krt=Srt;var Prt=function(e,t){var n=e.getSelection();"production"!==Ts.env.NODE_ENV&&krt(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})},$rt=K3e,Qrt=$4e("draft_tree_data_support");var Crt=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),l=i.getBlockForKey(a);if(Qrt&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(Qrt)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var u=i.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return $rt.removeRange(i,o,n)},Trt=F6e,Ert=brt,Irt=Prt,Drt=Crt;var Rrt=function(e){var t=Drt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return Irt(e,o?Ert.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Trt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},Art=K3e,zrt=S8e,Nrt=F6e,jrt=G8e.notEmptyKey,Xrt=p8e,Urt=Rrt,qrt=w6e,Mrt=o8e.isEngine("Gecko");var Wrt=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,u=e._latestEditorState,c=qrt(Xrt(r)),d=zrt.decode(c),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,m=u.getBlockTree(p).getIn([f,"leaves",h]),O=m.start,g=m.end,v=u.getCurrentContent(),y=v.getBlockForKey(p),b=y.getText().slice(O,g);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==b){var w,x,_,S,k=u.getSelection(),P=k.merge({anchorOffset:O,focusOffset:g,isBackward:!1}),$=y.getEntityAt(O),Q=jrt($)?v.getEntity($):null,C="MUTABLE"===(null!=Q?Q.getMutability():null),T=C?"spellcheck-change":"apply-entity",E=Art.replaceText(v,P,l,y.getInlineStyleAt(O),C?y.getEntityAt(O):null);if(Mrt)w=n.anchorOffset,x=n.focusOffset,S=(_=O+Math.min(w,x))+Math.abs(w-x),w=_,x=S;else{var I=l.length-b.length;_=k.getStartOffset(),S=k.getEndOffset(),w=i?S+I:_,x=S+I}var D=E.merge({selectionBefore:v.getSelectionAfter(),selectionAfter:k.merge({anchorOffset:w,focusOffset:x})});e.update(Nrt.push(u,D,T))}else{var R=t.nativeEvent.inputType;if(R){var A=function(e,t){return"deleteContentBackward"===e?Urt(t):t}(R,u);if(A!==u)return e.restoreEditorDOM(),void e.update(A)}}}},Lrt=k8e;var Frt=function(e){return e.which===Lrt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},Vrt=Frt,Zrt=o8e.isPlatform("Mac OS X"),Brt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Zrt&&e.altKey},usesMacOSHeuristics:function(){return Zrt},hasCommandModifier:function(e){return Zrt?!!e.metaKey&&!e.altKey:Brt.isCtrlKeyCommand(e)},isSoftNewlineEvent:Vrt},Yrt=Brt,Grt=K3e,Krt=F6e,Hrt=H5e,Jrt=w6e,eit=null,tit={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=Jrt(r),eit=Hrt(t,r);var s=Grt.removeRange(t,r,"forward");return s===t?e:Krt.push(e,s,"remove-range")},paste:function(e){if(!eit)return e;var t=Grt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),eit);return Krt.push(e,t,"insert-fragment")}},nit=tit,rit=T5e;var iit=o8e.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"!==Ts.env.NODE_ENV?rit(!1,"Found an unexpected detached subtree when getting range client rects."):rit(!1)}:function(e){return Array.from(e.getClientRects())},oit=iit,ait=brt,sit=a8e,lit=oit,uit=T5e;function cit(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 dit(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 pit=function(e){e.collapsed||("production"!==Ts.env.NODE_ENV?uit(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):uit(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=sit(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"!==Ts.env.NODE_ENV?uit(!1,"Missing document.body"):uit(!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);cit(lit(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Ts.env.NODE_ENV?uit(!1,"Found unexpected detached subtree when traversing."):uit(!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&&ait.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!cit(lit(e),n))break;r=o,i=l}if(-1===l||0===o.childNodes.length)break;a=dit(o=o.childNodes[l])}return e.setStart(r,i),e},fit=F6e,hit=pit,mit=M8e,Oit=Prt,git=Crt;var vit=function(e,t){var n=git(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return Oit(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=hit(r),mit(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:fit.push(e,n,"remove-range")},yit="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),bit=new RegExp("^(?:"+yit+")*(?:['‘’]|(?!"+yit+").)*(?:(?!"+yit+").)"),wit=new RegExp("(?:(?!"+yit+").)(?:['‘’]|(?!"+yit+").)*(?:"+yit+")*$");function xit(e,t){var n=t?wit.exec(e):bit.exec(e);return n?n[0]:e}var _it={getBackward:function(e){return xit(e,!0)},getForward:function(e){return xit(e,!1)}},Sit=_it,kit=F6e,Pit=Prt,$it=Crt;var Qit=function(e){var t=$it(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return Pit(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=Sit.getBackward(i);return Pit(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:kit.push(e,t,"remove-range")},Cit=Srt;var Tit=function(e,t){var n=e.getSelection();"production"!==Ts.env.NODE_ENV&&Cit(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})},Eit=_it,Iit=F6e,Dit=Tit,Rit=Crt;var Ait=function(e){var t=Rit(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=Eit.getForward(i);return Dit(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:Iit.push(e,t,"remove-range")},zit=K3e,Nit=F6e;var jit=F6e;var Xit=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return jit.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},Uit=F6e;var qit=function(e){var t=e.getSelection(),n=t.getStartKey();return Uit.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Mit=F6e,Wit=brt,Lit=Tit,Fit=Crt;var Vit=function(e){var t=Fit(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return Lit(e,o?Wit.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Mit.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},Zit=K3e,Bit=F6e,Yit=H5e;var Git=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=Yit(a,r),u=Zit.removeRange(a,r,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),f=Zit.replaceWithFragment(u,p,l),h=Bit.push(e,f,"insert-fragment");return Bit.acceptSelection(h,i)},Kit=F6e;var Hit=function(e,t,n){var r=Kit.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(Kit.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(Kit.set(r,{nativelyRenderedContent:i}))}},Jit=K3e,eot=F6e,tot=k8e,not=nit,rot=o8e,iot=gnt,oot=vit,aot=Qit,sot=Ait,lot=function(e){var t=zit.splitBlock(e.getCurrentContent(),e.getSelection());return Nit.push(e,t,"split-block")},uot=Xit,cot=qit,dot=Rrt,pot=Vit,fot=Git,hot=Hit,mot=Yrt.isOptionKeyCommand,Oot=rot.isBrowser("Chrome");var got=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 tot.RETURN:if(t.preventDefault(),e.props.handleReturn&&iot(e.props.handleReturn(t,r)))return;break;case tot.ESC:if(t.preventDefault(),i("onEscape"))return;break;case tot.TAB:if(i("onTab"))return;break;case tot.UP:if(i("onUpArrow"))return;break;case tot.RIGHT:if(i("onRightArrow"))return;break;case tot.DOWN:if(i("onDownArrow"))return;break;case tot.LEFT:if(i("onLeftArrow"))return;break;case tot.SPACE:Oot&&mot(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!iot(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return eot.redo(t);case"delete":return pot(t);case"delete-word":return sot(t);case"backspace":return dot(t);case"backspace-word":return aot(t);case"backspace-to-start-of-line":return oot(t,n);case"split-block":return lot(t);case"transpose-characters":return fot(t);case"move-selection-to-start-of-block":return cot(t);case"move-selection-to-end-of-block":return uot(t);case"secondary-cut":return not.cut(t);case"secondary-paste":return not.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else hot(t,r,e.update);else if(n===tot.SPACE&&Oot&&mot(t)){var s=Jit.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(eot.push(r,s,"insert-characters"))}};var vot=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}(),yot=vot,bot=T5e,wot=o8e.isBrowser("IE <= 9");var xot=function(e){var t,n=null;return!wot&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ts.env.NODE_ENV?bot(!1,"Missing doc.documentElement"):bot(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},_ot=s8e;var Sot=function(e){return!(!e||!e.ownerDocument)&&(_ot(e)&&"A"===e.nodeName)},kot=s8e;var Pot,$ot=function(e){return!(!e||!e.ownerDocument)&&(kot(e)&&"IMG"===e.nodeName)};function Qot(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){Cot(e,t,n[t])}))}return e}function Cot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tot=M2e,Eot=r5e,Iot=v5e,Dot=S7e,Rot=S4e,Aot=yot,zot=w7e,Not=U5e,jot=xot,Xot=$4e,Uot=C2e.exports,qot=Uot.List,Mot=Uot.Map,Wot=Uot.OrderedSet,Lot=Sot,Fot=E9e,Vot=$8e,Zot=$ot,Bot=Xot("draft_tree_data_support"),Yot=new RegExp("\r","g"),Got=new RegExp("\n","g"),Kot=new RegExp("^\n","g"),Hot=new RegExp("&nbsp;","g"),Jot=new RegExp("&#13;?","g"),eat=new RegExp("&#8203;?","g"),tat=["bold","bolder","500","600","700","800","900"],nat=["light","lighter","normal","100","200","300","400"],rat=["className","href","rel","target","title"],iat=["alt","className","height","src","width"],oat=(Cot(Pot={},zot("public/DraftStyleDefault/depth0"),0),Cot(Pot,zot("public/DraftStyleDefault/depth1"),1),Cot(Pot,zot("public/DraftStyleDefault/depth2"),2),Cot(Pot,zot("public/DraftStyleDefault/depth3"),3),Cot(Pot,zot("public/DraftStyleDefault/depth4"),4),Pot),aat=Mot({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),sat=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)}))})),Mot(t)},lat=function(e){if(Vot(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},uat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(oat).some((function(n){e.classList.contains(n)&&(t=oat[n])})),t},cat=function(e){if(!Lot(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},dat=function(e){if(!Zot(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},pat=function(e,t){if(!Vot(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){tat.indexOf(r)>=0?e.add("BOLD"):nat.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"))}))},fat=function(e){return"ul"===e||"ol"===e},hat=function(){function e(e,t){Cot(this,"characterList",qot()),Cot(this,"currentBlockType","unstyled"),Cot(this,"currentDepth",0),Cot(this,"currentEntity",null),Cot(this,"currentText",""),Cot(this,"wrapper",null),Cot(this,"blockConfigs",[]),Cot(this,"contentBlocks",[]),Cot(this,"entityMap",Rot),Cot(this,"blockTypeMap",void 0),Cot(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=qot(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Rot,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],Wot())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Bot?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||Not(),n=Qot({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:qot(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=qot(),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||fat(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;fat(o)&&(this.wrapper=o,fat(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(dat(i))this._addImgNode(i,t);else if(cat(i))this._addAnchorNode(i,n,t);else{var u=t;aat.has(o)&&(u=u.add(aat.get(o))),u=pat(i,u);var c=lat(i);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),u))}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"),!Bot&&Vot(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=i;this.currentDepth=uat(f,this.currentDepth)}var h=Not(),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=Tot.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=qot()):(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(Kot,"")).replace(Got," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){Fot(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(Zot(e)){var n=e,r={};iat.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),Xot("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(Lot(e)){var r=e,i={};rat.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new Aot(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=qot(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new Iot(Qot({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return qot(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 Eot(Qot({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=qot(),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}(),mat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jot,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Dot,r=t(e=e.trim().replace(Yot,"").replace(Hot," ").replace(Jot,"").replace(eat,""));if(!r)return null;var i=sat(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new hat(i,o).addDOMNode(r).getContentBlocks()};function Oat(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gat=r5e,vat=v5e,yat=mat,bat=U5e,wat=xot,xat=$4e,_at=C2e.exports,Sat=C4e,kat=_at.List,Pat=_at.Repeat,$at=xat("draft_tree_data_support"),Qat=$at?vat:gat,Cat={processHTML:function(e,t){return yat(e,wat,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=Sat(r);var o=bat(),a={key:o,type:n,text:r,characterList:kat(Pat(t,r.length))};if($at&&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){Oat(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new Qat(a)),e}),[])}};var Tat=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})},Eat=K3e,Iat=F6e,Dat=Tat,Rat=w6e,Aat={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 Aat.toggleInlineStyle(e,"BOLD");case"italic":return Aat.toggleInlineStyle(e,"ITALIC");case"underline":return Aat.toggleInlineStyle(e,"UNDERLINE");case"code":return Aat.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Aat.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return Aat.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=Eat.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=Iat.push(e,t,"insert-characters");return Iat.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 Iat.push(e,a,"remove-range")}var s=Aat.tryToRemoveBlockStyle(e);return s?Iat.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=Eat.removeRange(n,a,"forward");return s!==n?Iat.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 u=Dat(o,r,e.shiftKey?-1:1,n);return Iat.push(t,u,"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=Rat(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()})))return e;var l=o.getBlockForKey(r).getType()===t?"unstyled":t;return Iat.push(e,Eat.setBlockType(o,a,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?Aat.toggleBlockType(e,"code-block"):Aat.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return Iat.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?Eat.removeInlineStyle(o,n,t):Eat.applyInlineStyle(o,n,t),Iat.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=Eat.applyEntity(e.getCurrentContent(),t,n);return Iat.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 Eat.setBlockType(i,t,"unstyled")}return null}},zat=Aat,Nat=/\r\n?|\n/g;var jat=I2e,Xat=M2e,Uat=pnt,qat=K3e,Mat=Cat,Wat=F6e,Lat=zat,Fat=J8e,Vat=Ont,Zat=gnt,Bat=function(e){return e.split(Nat)};function Yat(e,t,n){var r=qat.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return Wat.push(e,r.set("entityMap",n),"insert-fragment")}var Gat=function(e,t){t.preventDefault();var n=new Uat(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&Zat(e.props.handlePastedFiles(r)))return;return void Vat(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=Bat(t),o=Xat.create({style:n.getCurrentInlineStyle(),entity:Fat(n.getCurrentContent(),n.getSelection())}),a=Lat.getCurrentBlockType(n),s=Mat.processText(r,o,a),l=jat.createFromArray(s),u=qat.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(Wat.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Zat(e.props.handlePastedText(a,s,l))){if(a&&(o=Bat(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(Yat(e._latestEditorState,u))}else if(u&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,u))return void e.update(Yat(e._latestEditorState,u));if(s){var c=Mat.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var f=jat.createFromArray(d);return void e.update(Yat(e._latestEditorState,f,p))}}}e.setClipboard(null)}if(o.length){var h=Xat.create({style:l.getCurrentInlineStyle(),entity:Fat(l.getCurrentContent(),l.getSelection())}),m=Lat.getCurrentBlockType(l),O=Mat.processText(o,h,m),g=jat.createFromArray(O);e.update(Yat(e._latestEditorState,g))}}},Kat=o8e,Hat=Wnt,Jat=Znt,est=Ynt,tst=Jnt,nst=srt,rst=lrt,ist=urt,ost=prt,ast=Wrt,sst=got,lst=Gat,ust=Y8e,cst=Kat.isBrowser("Chrome"),dst=Kat.isBrowser("Firefox"),pst=cst||dst?ust:function(e){},fst={onBeforeInput:Hat,onBlur:Jat,onCompositionStart:est,onCopy:tst,onCut:nst,onDragOver:rst,onDragStart:ist,onFocus:ost,onInput:ast,onKeyDown:sst,onPaste:lst,onSelect:ust,onMouseUp:pst,onKeyUp:pst},hst=We.unstable_flushControlled;var mst=de,Ost=w7e,gst=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=Ost({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return mst.createElement("div",{className:t},mst.createElement("div",{className:Ost("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(mst.Component),vst=gst,yst=Yrt,bst=k8e,wst=o8e,xst=wst.isPlatform("Mac OS X"),_st=xst&&wst.isBrowser("Firefox < 29"),Sst=yst.hasCommandModifier,kst=yst.isCtrlKeyCommand;function Pst(e){return xst&&e.altKey||kst(e)}var $st=function(e){switch(e.keyCode){case 66:return Sst(e)?"bold":null;case 68:return kst(e)?"delete":null;case 72:return kst(e)?"backspace":null;case 73:return Sst(e)?"italic":null;case 74:return Sst(e)?"code":null;case 75:return xst&&kst(e)?"secondary-cut":null;case 77:case 79:return kst(e)?"split-block":null;case 84:return xst&&kst(e)?"transpose-characters":null;case 85:return Sst(e)?"underline":null;case 87:return xst&&kst(e)?"backspace-word":null;case 89:return kst(e)?xst?"secondary-paste":"redo":null;case 90:return function(e){return Sst(e)?e.shiftKey?"redo":"undo":null}(e)||null;case bst.RETURN:return"split-block";case bst.DELETE:return function(e){return!xst&&e.shiftKey?null:Pst(e)?"delete-word":"delete"}(e);case bst.BACKSPACE:return function(e){return Sst(e)&&xst?"backspace-to-start-of-line":Pst(e)?"backspace-word":"backspace"}(e);case bst.LEFT:return _st&&Sst(e)?"move-selection-to-start-of-block":null;case bst.RIGHT:return _st&&Sst(e)?"move-selection-to-end-of-block":null;default:return null}},Qst=f3;function Cst(){return Cst=Qst||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},Cst.apply(this,arguments)}function Tst(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){Ist(e,t,n[t])}))}return e}function Est(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ist(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dst(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Rst=S7e,Ast=k7e,zst=f9e,Nst=Gtt,jst=Ent,Xst=fst,Ust=hst,qst=vst,Mst=F6e,Wst=de,Lst=Oet,Fst=Qet,Vst=w7e,Zst=U5e,Bst=$st,Yst=zet,Gst=$4e,Kst=T5e,Hst=$8e,Jst=w6e,elt=o8e.isBrowser("IE"),tlt=!elt,nlt={edit:Xst,composite:zst,drag:jst,cut:null,render:null},rlt=!1,ilt=function(e){function t(){return e.apply(this,arguments)||this}Dst(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}(Wst.Component),olt=function(e){function t(t){var n;return Ist(Est(n=e.call(this,t)||this),"_blockSelectEvents",void 0),Ist(Est(n),"_clipboard",void 0),Ist(Est(n),"_handler",void 0),Ist(Est(n),"_dragCount",void 0),Ist(Est(n),"_internalDrag",void 0),Ist(Est(n),"_editorKey",void 0),Ist(Est(n),"_placeholderAccessibilityID",void 0),Ist(Est(n),"_latestEditorState",void 0),Ist(Est(n),"_latestCommittedEditorState",void 0),Ist(Est(n),"_pendingStateFromBeforeInput",void 0),Ist(Est(n),"_onBeforeInput",void 0),Ist(Est(n),"_onBlur",void 0),Ist(Est(n),"_onCharacterData",void 0),Ist(Est(n),"_onCompositionEnd",void 0),Ist(Est(n),"_onCompositionStart",void 0),Ist(Est(n),"_onCopy",void 0),Ist(Est(n),"_onCut",void 0),Ist(Est(n),"_onDragEnd",void 0),Ist(Est(n),"_onDragOver",void 0),Ist(Est(n),"_onDragStart",void 0),Ist(Est(n),"_onDrop",void 0),Ist(Est(n),"_onInput",void 0),Ist(Est(n),"_onFocus",void 0),Ist(Est(n),"_onKeyDown",void 0),Ist(Est(n),"_onKeyPress",void 0),Ist(Est(n),"_onKeyUp",void 0),Ist(Est(n),"_onMouseDown",void 0),Ist(Est(n),"_onMouseUp",void 0),Ist(Est(n),"_onPaste",void 0),Ist(Est(n),"_onSelect",void 0),Ist(Est(n),"editor",void 0),Ist(Est(n),"editorContainer",void 0),Ist(Est(n),"focus",void 0),Ist(Est(n),"blur",void 0),Ist(Est(n),"setMode",void 0),Ist(Est(n),"exitCurrentMode",void 0),Ist(Est(n),"restoreEditorDOM",void 0),Ist(Est(n),"setClipboard",void 0),Ist(Est(n),"getClipboard",void 0),Ist(Est(n),"getEditorKey",void 0),Ist(Est(n),"update",void 0),Ist(Est(n),"onDragEnter",void 0),Ist(Est(n),"onDragLeave",void 0),Ist(Est(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),Ist(Est(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=Fst.getScrollParent(i),a=e||Yst(o),s=a.x,l=a.y;Hst(i)||("production"!==Ts.env.NODE_ENV?Kst(!1,"editorNode is not an HTMLElement"):Kst(!1)),i.focus(),o===window?window.scrollTo(s,l):Lst.setTop(o,l),r||n.update(Mst.forceSelection(t,t.getSelection()))}})),Ist(Est(n),"blur",(function(){var e=n.editor;e&&(Hst(e)||("production"!==Ts.env.NODE_ENV?Kst(!1,"editorNode is not an HTMLElement"):Kst(!1)),e.blur())})),Ist(Est(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=Tst({},nlt.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=Tst({},nlt,{edit:a});n._handler=s[e]})),Ist(Est(n),"exitCurrentMode",(function(){n.setMode("edit")})),Ist(Est(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),Ist(Est(n),"setClipboard",(function(e){n._clipboard=e})),Ist(Est(n),"getClipboard",(function(){return n._clipboard})),Ist(Est(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),Ist(Est(n),"onDragEnter",(function(){n._dragCount++})),Ist(Est(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||Zst(),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"!==Ts.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}Dst(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&&(Ust?Ust((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:Jst(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Wst.createElement(qst,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,u=e.textAlignment,c=e.textDirectionality,d=Vst({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),p=this.props.role||"textbox",f="combobox"===p?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:Tst({},Ast,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return Wst.createElement("div",{className:d},this._renderPlaceholder(),Wst.createElement("div",{className:Vst("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Wst.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:Vst({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:tlt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Wst.createElement(ilt,{editor:this,editorState:a}),Wst.createElement(Nst,Cst({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!rlt&&Gst("draft_ods_enabled")&&(rlt=!0),this.setMode("edit"),elt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Be.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(Wst.Component);Ist(olt,"defaultProps",{blockRenderMap:Rst,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:Bst,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var alt=olt,slt=Ge(Object.freeze({__proto__:null})),llt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},ult=llt,clt=brt.strlen;var dlt=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:clt(o.slice(0,r)),length:clt(o.slice(r,i)),key:Number(t[ult.stringify(a)])})})),n},plt=brt,flt=W2e,hlt=function(e,t){return e===t},mlt=function(e){return!!e},Olt=[];var glt=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 flt(i,hlt,mlt,(function(t,i){var o=e.getText();r.push({offset:plt.strlen(o.slice(0,t)),length:plt.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(Olt,n.toJS())};function vlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ylt=r5e,blt=v5e,wlt=llt,xlt=dlt,_lt=glt,Slt=T5e,klt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:_lt(e),entityRanges:xlt(e,t),data:e.getData().toObject()}},Plt=function(e,t,n,r){if(e instanceof ylt)n.push(klt(e,t));else{e instanceof blt||("production"!==Ts.env.NODE_ENV?Slt(!1,"block is not a BlockNode"):Slt(!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){vlt(e,t,n[t])}))}return e}({},klt(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},$lt=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=wlt.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),Plt(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(wlt.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function Qlt(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}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 Tlt=U5e,Elt=T5e,Ilt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},Dlt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ts.env.NODE_ENV?Elt(!1,"Invalid raw state"):Elt(!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"!==Ts.env.NODE_ENV?Elt(!1,"Invalid tree raw block"):Elt(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=Qlt({},e);Ilt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?Qlt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,Qlt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=Ilt(e),i=e.depth||0,o=Qlt({},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:Tlt(),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)})),Qlt({},e,{blocks:t})}},Rlt=Dlt,Alt=Srt,zlt={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Ts.env.NODE_ENV&&Alt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ts.env.NODE_ENV&&Alt(!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"!==Ts.env.NODE_ENV&&Alt(!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)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==Ts.env.NODE_ENV&&Alt(!0,"%s has no first child",r),!1;r=l.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Ts.env.NODE_ENV&&Alt(!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)}},Nlt=zlt,jlt=M2e,Xlt=C2e.exports.List;var Ult=function(e,t){var n=e.map((function(e,n){var r=t[n];return jlt.create({style:e,entity:r})}));return Xlt(n)},qlt=brt.substr;var Mlt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=qlt(e,0,t.offset).length,i=r+qlt(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},Wlt=brt,Llt=C2e.exports.OrderedSet,Flt=Wlt.substr,Vlt=Llt();var Zlt=function(e,t){var n=Array(e.length).fill(Vlt);return t&&t.forEach((function(t){for(var r=Flt(e,0,t.offset).length,i=r+Flt(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function Blt(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){Ylt(e,t,n[t])}))}return e}function Ylt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Glt=r5e,Klt=v5e,Hlt=K4e,Jlt=S4e,eut=Rlt,tut=Nlt,nut=P4e,rut=Ult,iut=Mlt,out=Zlt,aut=U5e,sut=C2e.exports,lut=T5e,uut=$4e("draft_tree_data_support"),cut=sut.List,dut=sut.Map,put=sut.OrderedMap,fut=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||aut(),data:dut(i),characterList:hut(e,t)}},hut=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return rut(out(n,i||[]),iut(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return Blt({},e,{key:t[e.key]})}))))},mut=function(e){return Blt({},e,{key:e.key||aut()})},Out=function(e,t,n){var r=t.map((function(e){return Blt({},e,{parentRef:n})}));return e.concat(r.reverse())},gut=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=uut&&!n?eut.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!uut)return function(e,t){return put(e.map((function(e){var n=new Glt(fut(e,t));return[n.getKey(),n]})))}(n?eut.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(mut).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Ts.env.NODE_ENV?lut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):lut(!1));var o=r.children.map(mut),a=new Klt(Blt({},fut(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:cut(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=Out([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==Ts.env.NODE_ENV?lut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):lut(!1));break}var f=l.children.map(mut),h=new Klt(Blt({},fut(l,t),{parent:u.getKey(),children:cut(f.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(h.getKey(),h),s=Out(s,f,h)}return n}),put())}(r,t);return"production"!==Ts.env.NODE_ENV&&(tut.isValidTree(i)||("production"!==Ts.env.NODE_ENV?lut(!1,"Should be a valid tree"):lut(!1))),i},vut=function(e){Array.isArray(e.blocks)||("production"!==Ts.env.NODE_ENV?lut(!1,"invalid RawDraftContentState"):lut(!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]=Jlt.__create(i,o,a||{})})),n}(e),n=gut(e,t),r=n.isEmpty()?new nut:nut.createEmpty(n.first().getKey());return new Hlt({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},yut=oit;var but=function(e){var t=yut(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 u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),r=Math.max(r,u.right),i=Math.max(i,u.bottom),o=Math.min(o,u.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}},wut=but;var xut=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=wut(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r},_ut={Editor:alt,EditorBlock:Att,EditorState:F6e,CompositeDecorator:y7e,Entity:S4e,EntityInstance:h4e,BlockMapBuilder:I2e,CharacterMetadata:M2e,ContentBlock:r5e,ContentState:K4e,RawDraftContentState:slt,SelectionState:P4e,AtomicBlockUtils:O7e,KeyBindingUtil:Yrt,Modifier:K3e,RichUtils:zat,DefaultDraftBlockRenderMap:S7e,DefaultDraftInlineStyle:k7e,convertFromHTML:mat,convertFromRaw:vut,convertToRaw:$lt,genKey:U5e,getDefaultKeyBinding:$st,getVisibleSelectionRect:xut};function Sut(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 kut=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},Put={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"},$ut=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Qut(e){if(-1!==$ut.indexOf(e.type))return Ve.renderToStaticMarkup(e);var t=Ve.renderToStaticMarkup(de.cloneElement(e,{},"\r")).split("\r");return bEe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),bEe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function Cut(e){return de.isValidElement(e)&&de.Children.count(e.props.children)>0}function Tut(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(de.isValidElement(e)){if(Cut(e))return Ve.renderToStaticMarkup(e);var n=Qut(e);if(null!==t&&"object"===Ys(n)){var r=n.start,i=n.end;return r+t+i}return n}if(bEe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var Eut=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(de.isValidElement(t)){var r=Qut(t);if("string"==typeof r)return 0;var i=r[n].length,o=de.Children.toArray(t.props.children)[0];return i+(o&&de.isValidElement(o)?e(o,n):0)}return"object"===Ys(t)&&t[n]?t[n].length:0},Iut=function(){var e=arguments.length>1?arguments[1]:void 0;return e},Dut=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Iut,r=_0e(e.text),i=n;if(n.__isMiddleware&&(i=n(Iut)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(kut),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=r.slice(n.offset,n.offset+n.length).join(""),u=i(s,l),c=Tut(u,l),d=void 0;d=c||""===c?_0e(c):l;var p=Eut(u,"start"),f=Eut(u,"end"),h=function(t){return t.reduce((function(t,r,i){var o=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?Sut(t,n.offset,n.length,d.length,p,f):t}(r,i);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=h(o),a=h(a),r=[].concat(_0e(r.slice(0,n.offset)),_0e(d),_0e(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},Rut=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},Aut=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function zut(e){switch(e){case"BOLD":return de.createElement("strong",null);case"ITALIC":return de.createElement("em",null);case"UNDERLINE":return de.createElement("u",null);case"CODE":return de.createElement("code",null);default:return{start:"",end:""}}}var Nut=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},jut=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return bEe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Xut=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Uut=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},qut=function(e,t){return t.offset+t.length-(e.offset+e.length)},Mut=function(e,t){for(var n=0;n<e.length;){if(!t.every(Uut.bind(null,e[n])))return e.slice(n);n++}return[]},Wut=function(e,t,n){return t+Tut(e(n.style)).start},Lut=function(e,t,n){return Tut(e(n.style)).end+t},Fut=function(e){return function(t){return e(t)}};Fut.__isMiddleware=!0;var Vut=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function Zut(e){return bEe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:de.isValidElement(e)?function(e){return de.isValidElement(e)&&de.Children.count(e.props.children)>0}(e)?Ve.renderToStaticMarkup(e):Qut(e):Object.prototype.hasOwnProperty.call(e,"element")&&de.isValidElement(e.element)?Object.assign({},e,Qut(e.element)):(bEe(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 But(e,t){if(bEe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=Qut(e.nest(t)),r=n.start,i=n.end;return Object.assign({},e,{nestStart:r,nestEnd:i})}if(de.isValidElement(e.nest)){var o=Qut(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return bEe(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 Yut=["1","a","i"],Gut={unstyled:de.createElement("p",null),paragraph:de.createElement("p",null),"header-one":de.createElement("h1",null),"header-two":de.createElement("h2",null),"header-three":de.createElement("h3",null),"header-four":de.createElement("h4",null),"header-five":de.createElement("h5",null),"header-six":de.createElement("h6",null),"code-block":de.createElement("pre",null),blockquote:de.createElement("blockquote",null),"unordered-list-item":{element:de.createElement("li",null),nest:de.createElement("ul",null)},"ordered-list-item":{element:de.createElement("li",null),nest:function(e){var t=Yut[e%3];return de.createElement("ol",{type:t})}},media:de.createElement("figure",null),atomic:de.createElement("figure",null)},Kut=function(e,t){return t},Hut=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,r=e.blockToHTML,i=void 0===r?{}:r,o=e.entityToHTML,a=void 0===o?Kut:o;return function(e){var t;bEe(null!=e,"Expected contentState to be non-null"),t=!0===i.__isMiddleware?i(Vut(Gut)):Aut(Vut(i),Vut(Gut));var r=_ut.convertToRaw(e),o=[],s=r.blocks.map((function(e){var i=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==o.length||i!==o[s].type;)if(s+1===o.length){var d=o[s];l+=But(t(d),s).nestEnd,u+=But(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=But(t(p),s).nestEnd,o=o.slice(0,-1)}else u+=But(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+But(t(n),s).nestEnd}),""),o=[];var f,h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fut;bEe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(zut):Aut(Rut(n),Rut(zut));for(var r="",i=[],o=e.inlineStyleRanges.sort(kut),a=_0e(e.text),s=0;s<a.length;s++){var l=Xut(s,o),u=Nut(i,l),c=Nut(l,i),d=Nut(i,u),p=Mut(d,c),f=p.concat(c).sort(qut),h=f.reduce(Wut.bind(null,t),"");r+=u.concat(p).reduce(Lut.bind(null,t),"")+h+a[s],i=(i=jut(i,p.concat(u))).concat(f),bEe(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+Tut(t(n.style)).end}),r)}(Dut(function(e){for(var t=_0e(e.text),n=e.entityRanges.sort(kut),r=e.inlineStyleRanges.sort(kut),i="",o=function(e){var o=t[e];if(void 0!==Put[o]){var a=Put[o],s=_0e(i).length;i+=a;var l=function(e){return Sut(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,a),n),m=Zut(t(e));return f="string"==typeof m?m:m.start+h+m.end,0===h.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(f=de.isValidElement(m.empty)?Ve.renderToStaticMarkup(m.empty):m.empty),l+u+f})).join("");return s=o.reduce((function(e,n){return e+But(t(n),n.depth).nestEnd}),s)}},Jut={exports:{}};Jut.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:Z(e)}function r(e){return s(e)?e:B(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(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 u(e){return s(e)||l(e)}function c(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=u,n.isOrdered=c,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",O=5,g=1<<O,v=g-1,y={},b={value:!1},w={value:!1};function x(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function S(){}function k(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(Q)),e.size}function $(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 Q(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return I(e,t,0)}function E(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,R=1,A=2,z="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",j=z||N;function X(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 q(){return{value:void 0,done:!0}}function M(e){return!!F(e)}function W(e){return e&&"function"==typeof e.next}function L(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 Z(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function B(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()}X.prototype.toString=function(){return"[Iterator]"},X.KEYS=D,X.VALUES=R,X.ENTRIES=A,X.prototype.inspect=X.prototype.toSource=function(){return this.toString()},X.prototype[j]=function(){return this},t(Z,n),Z.of=function(){return Z(arguments)},Z.prototype.toSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq {","}")},Z.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Z.prototype.__iterate=function(e,t){return de(this,e,t,!0)},Z.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(B,Z),B.prototype.toKeyedSeq=function(){return this},t(Y,Z),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,Z),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Z.isSeq=oe,Z.Keyed=B,Z.Set=G,Z.Indexed=Y;var K,H,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 K||(K=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():M(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return V(e)?new te(e):W(e)?new ie(e):M(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 X((function(){var e=i[n?o-a:a];return a++>o?q():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)}))):Oe(t)?e.call(r,n,B(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():Oe(e)?B(e).map(me).toMap():e}function Oe(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ge(i[1],e)&&(n||ge(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?!ge(t,e.get(r,y)):!ge(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(H)return H;H=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 Se(){}function ke(){}Z.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[$(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 X((function(){return i>r?q():U(e,i,n[t?r-i++:i++])}))},t(ne,B),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 X((function(){var a=r[t?i-o:o];return o++>i?q():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=L(this._iterable),r=0;if(W(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=L(this._iterable);if(!W(n))return new X(q);var r=0;return new X((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 X((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 ge(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new ye(this._value,E(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ge(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 X((function(){return r<n.size?U(e,r++,n._value):q()}))},ye.prototype.equals=function(e){return e instanceof ye?ge(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+$(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 C(e,t,this.size)?this:(e=T(e,this.size),(t=E(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 X((function(){var a=i;return i+=t?-r:r,o>n?q():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(Se,xe),t(ke,xe),xe.Keyed=_e,xe.Indexed=Se,xe.Set=ke;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 $e(e){return e>>>1&1073741824|3221225471&e}function Qe(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 $e(n)}if("string"===t)return e.length>Xe?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ee(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Me[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,Me={}),qe++,Me[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return $e(t)}function Ee(e){var t;if(ze&&void 0!==(t=Ae.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),ze)Ae.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,je,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=t}}return t}var Ie=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ae,ze="function"==typeof WeakMap;ze&&(Ae=new WeakMap);var Ne=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Xe=16,Ue=255,qe=0,Me={};function We(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Le(e){return null==e?it():Fe(e)&&!c(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Fe(e){return!(!e||!e[Ze])}t(Le,_e),Le.prototype.toString=function(){return this.__toString("Map {","}")},Le.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Le.prototype.set=function(e,t){return ot(this,e,t)},Le.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},Le.prototype.remove=function(e){return ot(this,e,y)},Le.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},Le.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Le.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ot(this,xn(e),t,n);return r===y?void 0:r},Le.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()},Le.prototype.merge=function(){return pt(this,void 0,arguments)},Le.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},Le.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]}))},Le.prototype.mergeDeep=function(){return pt(this,ft,arguments)},Le.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},Le.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]}))},Le.prototype.sort=function(e){return Mt(dn(this,e))},Le.prototype.sortBy=function(e,t){return Mt(dn(this,t,e))},Le.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Le.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Le.prototype.asImmutable=function(){return this.__ensureOwner()},Le.prototype.wasAltered=function(){return this.__altered},Le.prototype.__iterator=function(e,t){return new et(this,e,t)},Le.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},Le.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)},Le.isMap=Fe;var Ve,Ze="@@__IMMUTABLE_MAP__@@",Be=Le.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 Ke(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function He(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(Be);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===He}function lt(e,t,n,r,i){if(e.keyHash===r)return new He(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+O,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ut(e,t,n,r){e||(e=new S);for(var i=new Je(e,Qe(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 ct(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=l,a[o++]=c)}return new Ge(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Ke(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):ge(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 ge(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 Ot(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,u=i?y:e.get(l,y),c=Ot(u,t,n,r);return c===u?e:c===y?e.remove(l):(i?it():e).set(l,c)}function gt(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:k(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}Be[Ze]=!0,Be[m]=Be.remove,Be.removeIn=Be.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,r,i);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[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=Qe(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[gt(o&i-1)].get(e+O,t,n,r)},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&i===y)return this;var d=gt(u&l-1),p=this.nodes,f=c?p[d]:void 0,h=at(f,e,t+O,n,r,i,o,a);if(h===f)return this;if(!c&&h&&p.length>=xt)return dt(e,p,u,s,h);if(c&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,b=c?h?vt(p,d,h,m):bt(p,d,m):yt(p,d,h,m);return m?(this.bitmap=g,this.nodes=b,this):new Ge(e,g,b)},Ke.prototype.get=function(e,t,n,r){void 0===t&&(t=Qe(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+O,t,n,r):r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(r));var s=(0===t?n:n>>>t)&v,l=i===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+O,n,r,i,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<_t)return ct(e,u,p,s)}else p++;var f=e&&e===this.ownerID,h=vt(u,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ke(e,p,h)},He.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(n,i[o][0]))return i[o][1];return r},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Qe(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,u=0,c=l.length;u<c&&!ge(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if(_(a),(s||!d)&&_(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,f=p?l:k(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new He(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return ge(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===y,l=ge(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,Qe(r),[r,i])))},Ye.prototype.iterate=He.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=Ke.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,X),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 q()};var wt=g/4,xt=g/2,_t=g/4;function St(e){var t=Rt();if(null==e)return t;if(kt(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<g?Dt(0,r,O,null,new Qt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function kt(e){return!(!e||!e[Pt])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if((e=$(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&v]}return t},St.prototype.set=function(e,t){return At(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=O,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},St.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Xt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},St.prototype.pop=function(){return Xt(this,0,-1)},St.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Xt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},St.prototype.shift=function(){return Xt(this,1)},St.prototype.merge=function(){return Ut(this,void 0,arguments)},St.prototype.mergeWith=function(t){return Ut(this,t,e.call(arguments,1))},St.prototype.mergeDeep=function(){return Ut(this,ft,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ut(this,ht(t),n)},St.prototype.setSize=function(e){return Xt(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:Xt(this,T(e,n),E(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=It(this,t);return new X((function(){var t=r();return t===Et?q():U(e,n++,t)}))},St.prototype.__iterate=function(e,t){for(var n,r=0,i=It(this,t);(n=i())!==Et&&!1!==e(n,r++,this););return r},St.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)},St.isList=kt;var Pt="@@__IMMUTABLE_LIST__@@",$t=St.prototype;function Qt(e,t){this.array=e,this.ownerID=t}$t[Pt]=!0,$t[m]=$t.remove,$t.setIn=Be.setIn,$t.deleteIn=$t.removeIn=Be.removeIn,$t.update=Be.update,$t.updateIn=Be.updateIn,$t.mergeIn=Be.mergeIn,$t.mergeDeepIn=Be.mergeDeepIn,$t.withMutations=Be.withMutations,$t.asMutable=Be.asMutable,$t.asImmutable=Be.asImmutable,$t.wasAltered=Be.wasAltered,Qt.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 Qt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-O,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},Qt.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-O,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 Ct,Tt,Et={};function It(e,t){var n=e._origin,r=e._capacity,i=qt(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,u=r-a;return u>g&&(u=g),function(){if(l===u)return Et;var e=t?--u:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,u=o>n?0:n-o>>i,c=1+(r-o>>i);return c>g&&(c=g),function(){for(;;){if(s){var e=s();if(e!==Et)return e;s=null}if(u===c)return Et;var n=t?--c:u++;s=a(l&&l[n],i-O,o+(n<<i))}}}}function Dt(e,t,n,r,i,o,a){var s=Object.create($t);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 Rt(){return Ct||(Ct=Dt(0,0,O))}function At(e,t,n){if((t=$(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Xt(e,t).set(0,n):Xt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=x(w);return t>=qt(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 u=e&&e.array[s],c=zt(u,t,n-O,r,i,o);return c===u?e:((a=Nt(e,t)).array[s]=c,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 Qt(e?e.array.slice():[],t)}function jt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<<e._level+O){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=O;return n}}function Xt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,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,u=e._root,c=0;a+c<0;)u=new Qt(u&&u.array.length?[void 0,u]:[],r),c+=1<<(l+=O);c&&(a+=c,i+=c,s+=c,o+=c);for(var d=qt(o),p=qt(s);p>=1<<l+O;)u=new Qt(u&&u.array.length?[u]:[],r),l+=O;var f=e._tail,h=p<d?jt(e,s-1):p>d?new Qt([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=u=Nt(u,r),g=l;g>O;g-=O){var y=d>>>g&v;m=m.array[y]=Nt(m.array[y],r)}m.array[d>>>O&v]=f}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=O,u=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(c=0;u;){var b=a>>>l&v;if(b!==p>>>l&v)break;b&&(c+=(1<<l)*b),l-=O,u=u.array[b]}u&&a>i&&(u=u.removeBefore(r,l,a-c)),u&&p<d&&(u=u.removeAfter(r,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,l,u,h)}function Ut(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],u=i(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return fe(e)}))),r.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function qt(e){return e<g?0:e-1>>>O<<O}function Mt(e){return null==e?Ft():Wt(e)?e:Ft().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return Fe(e)&&c(e)}function Lt(e,t,n,r){var i=Object.create(Mt.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=Lt(it(),Rt()))}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>=g&&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):Lt(r,i)}function Zt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Bt(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 Kt(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===A){var r=e.__iterator(t,n);return new X((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===R?D:R,n)},t}function Ht(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(A,i);return new X((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=Kt(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(A,o),s=0;return new X((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return U(i,r?u:s++,c,o)}}))},i}function tn(e,t,n){var r=Le().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=(c(e)?Mt():Le()).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),C(t,n,i))return e;var o=T(t,i),a=E(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 u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=$(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__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,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,r?n:u-1,i)&&u!==s})),u},u.__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 X((function(){for(;a++<o;)i.next();if(++l>s)return q();var e=i.next();return r||t===R?e:U(t,l-1,t===D?void 0:e.value[1],e)}))},u}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(A,i),s=!0;return new X((function(){if(!s)return q();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(n,u,l,o)?r===A?e:U(r,l,u,e):(s=!1,q())}))},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,u){if(!s||!(s=t.call(n,e,o,u)))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(A,o),l=!0,u=0;return new X((function(){var e,o,c;do{if((e=s.next()).done)return r||i===R?e:U(i,u++,i===D?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return i===A?e:U(i,o,c,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 u=new te(i);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var r=yn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,i){return(!t||u<t)&&a(e)?l(e,u+1):!1===r(e,n?i:o++,c)&&(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 X((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(r===A&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:U(r,l++,u,e);s.push(o),o=u.__iterator(r,i)}else o=s.pop()}return q()}))},r}function un(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 cn(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(R,r),a=0;return new X((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?B(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(R,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),L(i?e.reverse():e)})),a=0,s=!1;return new X((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():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 On(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return We(e.size),P(e)}function vn(e){return s(e)?r:l(e)?i:o}function yn(e){return Object.create((s(e)?B:l(e)?Y:G).prototype)}function bn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Z.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function xn(e){var t=L(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=L(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);$n(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Le(o)},i=r.prototype=Object.create(Sn);return i.constructor=r,r}t(Mt,Le),Mt.of=function(){return this(arguments)},Mt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Mt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Mt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ft()},Mt.prototype.set=function(e,t){return Vt(this,e,t)},Mt.prototype.remove=function(e){return Vt(this,e,y)},Mt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Mt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Mt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Mt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Lt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Mt.isOrderedMap=Wt,Mt.prototype[h]=!0,Mt.prototype[m]=Mt.prototype.remove,t(Zt,B),Zt.prototype.get=function(e,t){return this._iter.get(e,t)},Zt.prototype.has=function(e){return this._iter.has(e)},Zt.prototype.valueSeq=function(){return this._iter.valueSeq()},Zt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Zt.prototype.map=function(e,t){var n=this,r=Ht(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Zt.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?gn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Zt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?gn(this):0;return new X((function(){var i=n.next();return i.done?i:U(e,t?--r:r++,i.value,i)}))},Zt.prototype[h]=!0,t(Bt,Y),Bt.prototype.includes=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Bt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new X((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(R,t);return new X((function(){var t=n.next();return t.done?t:U(e,t.value,t.value,t)}))},t(Gt,B),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){On(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(R,t);return new X((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){On(r);var i=a(r);return U(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Bt.prototype.cacheResult=Zt.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=kn(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:kn(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:kn(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?kn(this,t,e):(this.__ownerID=e,this._map=t,this)};var Sn=_n.prototype;function kn(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 $n(e,t){try{t.forEach(Qn.bind(void 0,e))}catch(e){}}function Qn(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 Cn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[In])}Sn[m]=Sn.remove,Sn.deleteIn=Sn.removeIn=Be.removeIn,Sn.merge=Be.merge,Sn.mergeWith=Be.mergeWith,Sn.mergeIn=Be.mergeIn,Sn.mergeDeep=Be.mergeDeep,Sn.mergeDeepWith=Be.mergeDeepWith,Sn.mergeDeepIn=Be.mergeDeepIn,Sn.setIn=Be.setIn,Sn.update=Be.update,Sn.updateIn=Be.updateIn,Sn.withMutations=Be.withMutations,Sn.asMutable=Be.asMutable,Sn.asImmutable=Be.asImmutable,t(Cn,ke),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(r(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Cn.prototype.clear=function(){return Rn(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return 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)}))}))},Cn.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)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Nn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Nn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var En,In="@@__IMMUTABLE_SET__@@",Dn=Cn.prototype;function Rn(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 An(e,t){var n=Object.create(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return En||(En=An(it()))}function Nn(e){return null==e?Mn():jn(e)?e:Mn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(e){return Tn(e)&&c(e)}Dn[In]=!0,Dn[m]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Be.withMutations,Dn.asMutable=Be.asMutable,Dn.asImmutable=Be.asImmutable,Dn.__empty=zn,Dn.__make=An,t(Nn,Cn),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=jn;var Xn,Un=Nn.prototype;function qn(e,t){var n=Object.create(Un);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Xn||(Xn=qn(Ft()))}function Wn(e){return null==e?Yn():Ln(e)?e:Yn().unshiftAll(e)}function Ln(e){return!(!e||!e[Vn])}Un[h]=!0,Un.__empty=Mn,Un.__make=qn,t(Wn,Se),Wn.of=function(){return this(arguments)},Wn.prototype.toString=function(){return this.__toString("Stack [","]")},Wn.prototype.get=function(e,t){var n=this._head;for(e=$(this,e);n&&e--;)n=n.next;return n?n.value:t},Wn.prototype.peek=function(){return this._head&&this._head.value},Wn.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):Bn(e,t)},Wn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;We(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):Bn(t,n)},Wn.prototype.pop=function(){return this.slice(1)},Wn.prototype.unshift=function(){return this.push.apply(this,arguments)},Wn.prototype.unshiftAll=function(e){return this.pushAll(e)},Wn.prototype.shift=function(){return this.pop.apply(this,arguments)},Wn.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()},Wn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(E(t,this.size)!==this.size)return Se.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):Bn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Bn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wn.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},Wn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new X((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Wn.isStack=Ln;var Fn,Vn="@@__IMMUTABLE_STACK__@@",Zn=Wn.prototype;function Bn(e,t,n,r){var i=Object.create(Zn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Yn(){return Fn||(Fn=Bn(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}Zn[Vn]=!0,Zn.withMutations=Be.withMutations,Zn.asMutable=Be.asMutable,Zn.asImmutable=Be.asImmutable,Zn.wasAltered=Be.wasAltered,n.Iterator=X,Gn(n,{toArray:function(){We(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Bt(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 Zt(this,!0)},toMap:function(){return Le(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Mt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return St(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 ge(t,e)}))},entries:function(){return this.__iterator(A)},every:function(e,t){We(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 We(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){We(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,Ht(this,e,t))},reduce:function(e,t,n){var r,i;return We(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(R)},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(Q)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(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 Kn=n.prototype;Kn[d]=!0,Kn[j]=Kn.values,Kn.__toJS=Kn.toArray,Kn.__toStringMapper=rr,Kn.inspect=Kn.toSource=function(){return this.toString()},Kn.chain=Kn.flatMap,Kn.contains=Kn.includes,function(){try{Object.defineProperty(Kn,"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,Kt(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 ge(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ge(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 Hn=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 k(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=c(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+lr(Qe(e),Qe(t))|0}:function(e,t){r=r+lr(Qe(e),Qe(t))|0}:t?function(e){r=31*r+Qe(e)|0}:function(e){r=r+Qe(e)|0}),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=$e((t=Pe(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Hn[p]=!0,Hn[j]=Kn.entries,Hn.__toJS=Kn.toObject,Hn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(i,{toKeyedSeq:function(){return new Zt(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(k(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=$(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=$(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(k(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(k(arguments))))},zipWith:function(e){var t=k(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=Kn.includes,Gn(B,r.prototype),Gn(Y,i.prototype),Gn(G,o.prototype),Gn(_e,r.prototype),Gn(Se,i.prototype),Gn(ke,o.prototype),{Iterable:n,Seq:Z,Collection:xe,Map:Le,OrderedMap:Mt,List:St,Stack:Wn,Set:Cn,OrderedSet:Nn,Record:_n,Range:we,Repeat:ye,is:ge,fromJS:fe}}();var ect=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function tct(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=ect(e)):t=ect(e);return t.body}var nct=new RegExp("\r","g"),rct=new RegExp("\n","g"),ict=new RegExp("&nbsp;","g"),oct=new RegExp("\r","g"),act=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],sct={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},lct=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},uct=function(e,t,n){},cct=function(e,t,n){return n},dct=function(e,t){},pct=function(e){return[]},fct=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function hct(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Jut.exports.Map();return!0===n?{text:"\r",inlines:[Jut.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Jut.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function mct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jut.exports.Map();return{text:"\r",inlines:[Jut.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function Oct(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 gct(e,t,n){return Oct(e,n)}function vct(e,t,n){var r=sct[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 yct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jut.exports.OrderedSet();return vct(e,t,n)}function bct(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 wct(e,t,n,r,i,o,a,s,l,u,c,d,p,f,h,m){var O=e.nodeName.toLowerCase(),g=!1,v="unstyled";if("#text"===O){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:[Jut.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(y=y.replace(rct," "));var b=Array(y.length).fill(m),w=0;return l(y,c,d,p,f).sort(kut).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"===O){var x=r;return null===x?hct("unstyled",o,!0):hct(x||"unstyled",o,h.flat)}var _={text:"",inlines:[],entities:[],blocks:[]};t=a(O,e,t=vct(O,e,t)),"ul"!==O&&"ol"!==O||(n&&(o+=1),n=O,r=null);var S,k,P=u(O,e,n,r);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(S=P,k=Jut.exports.Map()):(S="string"==typeof P?P:P.type,k=P.data?Jut.exports.Map(P.data):Jut.exports.Map()),r||-1===i.indexOf(O)&&!S)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==O)r&&"atomic"!==r&&"atomic"===S&&(r=S,g=!0,_=hct(S,o,!0,k));else{var $=Oct(O,n);_=mct($,o),r=$,g=!0,v="ul"===n?"unordered-list-item":"ordered-list-item"}else _=mct(S||Oct(O,n),o,k),r=S||Oct(O,n),g=!0;var Q=e.firstChild;null!=Q||!m||"atomic"!==S&&"atomic"!==r||(Q=document.createTextNode("a")),null!=Q&&(O=Q.nodeName.toLowerCase());for(var C=null;Q;){C=s(O,Q,c,d,p,f),_=bct(_,wct(Q,t,n,r,i,o,a,s,l,u,c,d,p,f,h,C||m),h.flat);var T=Q.nextSibling;if(T&&i.indexOf(O)>=0&&r){var E=u(O,Q,n,r),I=void 0,D=void 0;!1!==E&&("string"==typeof(E=E||{})?(I=E,D=Jut.exports.Map()):(I=E.type||Oct(O,n),D=E.data?Jut.exports.Map(E.data):Jut.exports.Map()),_=bct(_,hct(I,o,h.flat,D),h.flat))}T&&(O=T.nodeName.toLowerCase()),Q=T}return g&&(_=bct(_,mct(v,o,Jut.exports.Map()),h.flat)),_}function xct(e,t,n,r,i,o,a,s,l,u,c){var d=c(e=e.trim().replace(nct,"").replace(ict," "));if(!d)return null;var p=function(e){return act.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?act.concat(["div"]):["div"],f=wct(d,Jut.exports.OrderedSet(),"ul",null,p,-1,t,n,r,i,o,a,s,l,u);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:Jut.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:Jut.exports.Map(),depth:0}),f}function _ct(e,t,n,r,i,o,a,s,l,u,c,d){var p=xct(e,t,n,r,i,o,a,s,l,u,c);if(null==p)return[];var f=0;return p.text.split("\r").map((function(e,t){e=e.replace(oct,"");var n=f+e.length,r=fct(p).inlines.slice(f,n),i=fct(p).entities.slice(f,n),o=Jut.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),_ut.CharacterMetadata.create(n)})));return f=n+1,new _ut.ContentBlock({key:d(),type:fct(p).blocks[t].type,data:fct(p).blocks[t].data,depth:fct(p).blocks[t].depth,text:e,characterList:o})}))}var Sct=function(e){var t=e.htmlToStyle,n=void 0===t?cct:t,r=e.htmlToEntity,i=void 0===r?dct:r,o=e.textToEntity,a=void 0===o?pct:o,s=e.htmlToBlock,l=void 0===s?uct: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]:tct,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_ut.genKey,s=_ut.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():_ut.Entity.create.apply(_ut.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):_ut.Entity.get.apply(_ut.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):_ut.Entity.mergeData.apply(_ut.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):_ut.Entity.replaceData.apply(_ut.Entity,arguments)},f=_ct(e,lct(n,yct),lct(i,dct),lct(a,pct),lct(l,gct),u,c,d,p,t,r,o),h=_ut.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:h,selectionBefore:_ut.SelectionState.createEmpty(m),selectionAfter:_ut.SelectionState.createEmpty(m)})}},kct=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?Sct({}).apply(void 0,arguments):Sct.apply(void 0,arguments)};$4('/**\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 Pct={};function $ct(e){e&&(e.value=!0)}function Qct(){}function Cct(e){return void 0===e.size&&(e.size=e.__iterate(Ect)),e.size}function Tct(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?Cct(e)+t:t}function Ect(){return!0}function Ict(e,t,n){return(0===e&&!zct(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Dct(e,t){return Act(e,t,0)}function Rct(e,t){return Act(e,t,t)}function Act(e,t,n){return void 0===e?n:zct(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function zct(e){return e<0||0===e&&1/e==-1/0}function Nct(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function jct(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function Xct(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function Uct(e){return jct(e)||Xct(e)}var qct=function(e){return Nct(e)?e:sdt(e)},Mct=function(e){function t(e){return jct(e)?e:ldt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(qct),Wct=function(e){function t(e){return Xct(e)?e:udt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(qct),Lct=function(e){function t(e){return Nct(e)&&!Uct(e)?e:cdt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(qct);qct.Keyed=Mct,qct.Indexed=Wct,qct.Set=Lct;function Fct(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function Vct(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Zct(e){return Nct(e)||Vct(e)}var Bct="@@__IMMUTABLE_ORDERED__@@";function Yct(e){return Boolean(e&&e[Bct])}var Gct="function"==typeof Symbol&&Symbol.iterator,Kct=Gct||"@@iterator",Hct=function(e){this.next=e};function Jct(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 edt(){return{value:void 0,done:!0}}function tdt(e){return!!idt(e)}function ndt(e){return e&&"function"==typeof e.next}function rdt(e){var t=idt(e);return t&&t.call(e)}function idt(e){var t=e&&(Gct&&e[Gct]||e["@@iterator"]);if("function"==typeof t)return t}Hct.prototype.toString=function(){return"[Iterator]"},Hct.KEYS=0,Hct.VALUES=1,Hct.ENTRIES=2,Hct.prototype.inspect=Hct.prototype.toSource=function(){return this.toString()},Hct.prototype[Kct]=function(){return this};var odt=Object.prototype.hasOwnProperty;function adt(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 sdt=function(e){function t(e){return null==e?mdt():Zct(e)?e.toSeq():function(e){var t=vdt(e);if(t)return t;if("object"==typeof e)return new pdt(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 Hct((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return Jct(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(qct),ldt=function(e){function t(e){return null==e?mdt().toKeyedSeq():Nct(e)?jct(e)?e.toSeq():e.fromEntrySeq():Vct(e)?e.toSeq():Odt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(sdt),udt=function(e){function t(e){return null==e?mdt():Nct(e)?jct(e)?e.entrySeq():e.toIndexedSeq():Vct(e)?e.toSeq().entrySeq():gdt(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}(sdt),cdt=function(e){function t(e){return(Nct(e)&&!Uct(e)?e:udt(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}(sdt);sdt.isSeq=Fct,sdt.Keyed=ldt,sdt.Set=cdt,sdt.Indexed=udt,sdt.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var ddt=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[Tct(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 Hct((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return Jct(e,o,n[o])}))},t}(udt),pdt=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 odt.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 Hct((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return Jct(e,a,n[a])}))},t}(ldt);pdt.prototype[Bct]=!0;var fdt,hdt=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=rdt(this._collection),r=0;if(ndt(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=rdt(this._collection);if(!ndt(n))return new Hct(edt);var r=0;return new Hct((function(){var t=n.next();return t.done?t:Jct(e,r++,t.value)}))},t}(udt);function mdt(){return fdt||(fdt=new ddt([]))}function Odt(e){var t=Array.isArray(e)?new ddt(e):tdt(e)?new hdt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new pdt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function gdt(e){var t=vdt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function vdt(e){return adt(e)?new ddt(e):tdt(e)?new hdt(e):void 0}function ydt(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function bdt(e){return ydt(e)&&Yct(e)}function wdt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function xdt(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!!(wdt(e)&&wdt(t)&&e.equals(t))}var _dt="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 Sdt(e){return e>>>1&1073741824|3221225471&e}var kdt=Object.prototype.valueOf;function Pdt(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 Sdt(t)}(e);case"string":return e.length>Rdt?function(e){var t=Ndt[e];void 0===t&&(t=$dt(e),zdt===Adt&&(zdt=0,Ndt={}),zdt++,Ndt[e]=t);return t}(e):$dt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Sdt(e.hashCode(e)):(e.valueOf!==kdt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Edt&&void 0!==(t=Tdt.get(e)))return t;if(void 0!==(t=e[Ddt]))return t;if(!Cdt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ddt]))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=++Idt,1073741824&Idt&&(Idt=0);if(Edt)Tdt.set(e,t);else{if(void 0!==Qdt&&!1===Qdt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Cdt)Object.defineProperty(e,Ddt,{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[Ddt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ddt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return $dt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function $dt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Sdt(t)}var Qdt=Object.isExtensible,Cdt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Tdt,Edt="function"==typeof WeakMap;Edt&&(Tdt=new WeakMap);var Idt=0,Ddt="__immutablehash__";"function"==typeof Symbol&&(Ddt=Symbol(Ddt));var Rdt=16,Adt=255,zdt=0,Ndt={},jdt=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=Ldt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=Wdt(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}(ldt);jdt.prototype[Bct]=!0;var Xdt=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&&Cct(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&&Cct(this),new Hct((function(){var o=r.next();return o.done?o:Jct(e,t?n.size-++i:i++,o.value,o)}))},t}(udt),Udt=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 Hct((function(){var t=n.next();return t.done?t:Jct(e,t.value,t.value,t)}))},t}(cdt),qdt=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){tpt(t);var r=Nct(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 Hct((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){tpt(r);var i=Nct(r);return Jct(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(ldt);function Mdt(e){var t=rpt(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=ipt,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 Hct((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 Wdt(e,t,n){var r=rpt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,Pct);return o===Pct?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 Hct((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return Jct(r,s,t.call(n,a[1],s,e),i)}))},r}function Ldt(e,t){var n=this,r=rpt(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=Mdt(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=ipt,r.__iterate=function(n,r){var i=this,o=0;return r&&Cct(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&&Cct(e);var a=e.__iterator(2,!i);return new Hct((function(){var e=a.next();if(e.done)return e;var s=e.value;return Jct(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function Fdt(e,t,n,r){var i=rpt(e);return r&&(i.has=function(r){var i=e.get(r,Pct);return i!==Pct&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,Pct);return o!==Pct&&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 Hct((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Jct(i,r?u:s++,c,o)}}))},i}function Vdt(e,t,n,r){var i=e.size;if(Ict(t,n,i))return e;var o=Dct(t,i),a=Rct(n,i);if(o!=o||a!=a)return Vdt(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var u=rpt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&Fct(e)&&s>=0&&(u.get=function(t,n){return(t=Tct(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__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,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,r?n:u-1,i)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new Hct(edt);var i=e.__iterator(t,n),a=0,l=0;return new Hct((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:Jct(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Zdt(e,t,n,r){var i=rpt(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,u){if(!s||!(s=t.call(n,e,o,u)))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,u=0;return new Hct((function(){var e,o,c;do{if((e=s.next()).done)return r||1===i?e:Jct(i,u++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===i?e:Jct(i,o,c,e)}))},i}function Bdt(e,t){var n=jct(e),r=[e].concat(t).map((function(e){return Nct(e)?n&&(e=Mct(e)):e=n?Odt(e):gdt(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&&jct(i)||Xct(e)&&Xct(i))return i}var o=new ddt(r);return n?o=o.toKeyedSeq():Xct(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 Ydt(e,t,n){var r=rpt(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&Nct(o)?e(o,u+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 Hct((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)||!Nct(l))return n?e:Jct(r,s++,l,e);a.push(o),o=l.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function Gdt(e,t,n){t||(t=opt);var r=jct(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?ldt(o):Xct(e)?udt(o):cdt(o)}function Kdt(e,t,n){if(t||(t=opt),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Hdt(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Hdt(t,e,n)?n:e}))}function Hdt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function Jdt(e,t,n,r){var i=rpt(e),o=new ddt(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=qct(e),rdt(i?e.reverse():e)})),a=0,s=!1;return new Hct((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}:Jct(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function ept(e,t){return e===t?e:Fct(e)?t:e.constructor(t)}function tpt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function npt(e){return jct(e)?Mct:Xct(e)?Wct:Lct}function rpt(e){return Object.create((jct(e)?ldt:Xct(e)?udt:cdt).prototype)}function ipt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):sdt.prototype.cacheResult.call(this)}function opt(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 apt(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 spt(e,t){if(!e)throw new Error(t)}function lpt(e){spt(e!==1/0,"Cannot perform this action with an infinite size.")}function upt(e){if(adt(e)&&"string"!=typeof e)return e;if(Yct(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function cpt(e){return"object"==typeof e&&(Zct(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function dpt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function ppt(e,t,n){return Zct(e)?e.get(t,n):function(e,t){return Zct(e)?e.has(t):cpt(e)&&odt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function fpt(e){if(Array.isArray(e))return apt(e);var t={};for(var n in e)odt.call(e,n)&&(t[n]=e[n]);return t}function hpt(e,t,n,r){r||(r=n,n=void 0);var i=mpt(Zct(e),e,upt(t),0,n,r);return i===Pct?n:i}function mpt(e,t,n,r,i,o){var a=t===Pct;if(r===n.length){var s=a?i:t,l=o(s);return l===s?t:l}if(!a&&!cpt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(dpt)+"]: "+t);var u=n[r],c=a?Pct:ppt(t,u,Pct),d=mpt(c===Pct?e:Zct(c),c,n,r+1,i,o);return d===c?t:d===Pct?function(e,t){if(!cpt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Zct(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!odt.call(e,t))return e;var n=fpt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!cpt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Zct(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(odt.call(e,t)&&n===e[t])return e;var r=fpt(e);return r[t]=n,r}(a?e?Mpt():{}:t,u,d)}function Opt(e,t){return function(e,t,n){return hpt(e,t,Pct,(function(){return n}))}(this,e,t)}function gpt(e){return function(e,t){return hpt(e,t,(function(){return Pct}))}(this,e)}function vpt(e,t,n,r){return hpt(e,[t],n,r)}function ypt(e,t,n){return 1===arguments.length?e(this):vpt(this,e,t,n)}function bpt(e,t,n){return hpt(this,e,t,n)}function wpt(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=Mct(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){vpt(e,r,Pct,(function(e){return e===Pct?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 xpt(e,t,n){return _pt(e,t,function(e){function t(n,r,i){return cpt(n)&&cpt(r)?_pt(n,[r],t):e?e(n,r,i):r}return t}(n))}function _pt(e,t,n){if(!cpt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Zct(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?Wct:Mct,a=r?function(t){i===e&&(i=fpt(i)),i.push(t)}:function(t,r){var o=odt.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=fpt(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function Spt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return hpt(this,e,Mpt(),(function(e){return _pt(e,t)}))}function kpt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return hpt(this,e,Mpt(),(function(e){return xpt(e,t)}))}function Ppt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function $pt(){return this.__ownerID?this:this.__ensureOwner(new Qct)}function Qpt(){return this.__ensureOwner()}function Cpt(){return this.__altered}Xdt.prototype.cacheResult=jdt.prototype.cacheResult=Udt.prototype.cacheResult=qdt.prototype.cacheResult=ipt;var Tpt=function(e){function t(t){return null==t?Mpt():ydt(t)&&!Yct(t)?t:Mpt().withMutations((function(n){var r=e(t);lpt(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 Mpt().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 Wpt(this,e,t)},t.prototype.remove=function(e){return Wpt(this,e,Pct)},t.prototype.deleteAll=function(e){var t=qct(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):Mpt()},t.prototype.sort=function(e){return fft(Gdt(this,e))},t.prototype.sortBy=function(e,t){return fft(Gdt(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 jpt(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?qpt(this.size,this._root,e,this.__hash):0===this.size?Mpt():(this.__ownerID=e,this.__altered=!1,this)},t}(Mct);Tpt.isMap=ydt;var Ept=Tpt.prototype;Ept["@@__IMMUTABLE_MAP__@@"]=!0,Ept.delete=Ept.remove,Ept.removeAll=Ept.deleteAll,Ept.setIn=Opt,Ept.removeIn=Ept.deleteIn=gpt,Ept.update=ypt,Ept.updateIn=bpt,Ept.merge=Ept.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return wpt(this,e)},Ept.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 wpt(this,t,e)},Ept.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return xpt(this,e)},Ept.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return xpt(this,t,e)},Ept.mergeIn=Spt,Ept.mergeDeepIn=kpt,Ept.withMutations=Ppt,Ept.wasAltered=Cpt,Ept.asImmutable=Qpt,Ept["@@transducer/init"]=Ept.asMutable=$pt,Ept["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ept["@@transducer/result"]=function(e){return e.asImmutable()};var Ipt=function(e,t){this.ownerID=e,this.entries=t};Ipt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(xdt(n,i[o][0]))return i[o][1];return r},Ipt.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===Pct,l=this.entries,u=0,c=l.length;u<c&&!xdt(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if($ct(a),(s||!d)&&$ct(o),!s||1!==l.length){if(!d&&!s&&l.length>=Ypt)return function(e,t,n,r){e||(e=new Qct);for(var i=new zpt(e,Pdt(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:apt(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Ipt(e,f)}};var Dpt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Dpt.prototype.get=function(e,t,n,r){void 0===t&&(t=Pdt(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[Zpt(o&i-1)].get(e+5,t,n,r)},Dpt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Pdt(r));var s=31&(0===t?n:n>>>t),l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&i===Pct)return this;var d=Zpt(u&l-1),p=this.nodes,f=c?p[d]:void 0,h=Lpt(f,e,t+5,n,r,i,o,a);if(h===f)return this;if(!c&&h&&p.length>=Gpt)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 Rpt(e,o+1,a)}(e,p,u,s,h);if(c&&!h&&2===p.length&&Fpt(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&Fpt(h))return h;var m=e&&e===this.ownerID,O=c?h?u:u^l:u|l,g=c?h?Bpt(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=O,this.nodes=g,this):new Dpt(e,O,g)};var Rpt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Rpt.prototype.get=function(e,t,n,r){void 0===t&&(t=Pdt(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},Rpt.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Pdt(r));var s=31&(0===t?n:n>>>t),l=i===Pct,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Lpt(c,e,t+5,n,r,i,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Kpt)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=l,a[o++]=c)}return new Dpt(e,i,a)}(e,u,p,s)}else p++;var f=e&&e===this.ownerID,h=Bpt(u,s,d,f);return f?(this.count=p,this.nodes=h,this):new Rpt(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(xdt(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=Pdt(r));var s=i===Pct;if(n!==this.keyHash)return s?this:($ct(a),$ct(o),Vpt(this,e,t,n,[r,i]));for(var l=this.entries,u=0,c=l.length;u<c&&!xdt(r,l[u][0]);u++);var d=u<c;if(d?l[u][1]===i:s)return this;if($ct(a),(s||!d)&&$ct(o),s&&2===c)return new zpt(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,f=p?l:apt(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[r,i]:f.push([r,i]),p?(this.entries=f,this):new Apt(e,this.keyHash,f)};var zpt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};zpt.prototype.get=function(e,t,n,r){return xdt(n,this.entry[0])?this.entry[1]:r},zpt.prototype.update=function(e,t,n,r,i,o,a){var s=i===Pct,l=xdt(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:($ct(a),s?void $ct(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new zpt(e,this.keyHash,[r,i]):($ct(o),Vpt(this,e,t,Pdt(r),[r,i])))},Ipt.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},Dpt.prototype.iterate=Rpt.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}},zpt.prototype.iterate=function(e,t){return e(this.entry)};var Npt,jpt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Upt(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 Xpt(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return Xpt(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 Xpt(e,o.entry);t=this._stack=Upt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Hct);function Xpt(e,t){return Jct(e,t[0],t[1])}function Upt(e,t){return{node:e,index:0,__prev:t}}function qpt(e,t,n,r){var i=Object.create(Ept);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Mpt(){return Npt||(Npt=qpt(0))}function Wpt(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=Lpt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===Pct?-1:1:0)}else{if(n===Pct)return e;i=1,r=new Ipt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?qpt(i,r):Mpt()}function Lpt(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===Pct?e:($ct(s),$ct(a),new zpt(t,r,[i,o]))}function Fpt(e){return e.constructor===zpt||e.constructor===Apt}function Vpt(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?[Vpt(e,t,n+5,r,i)]:(o=new zpt(t,r,i),a<s?[e,o]:[o,e]);return new Dpt(t,1<<a|1<<s,l)}function Zpt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Bpt(e,t,n,r){var i=r?e:apt(e);return i[t]=n,i}var Ypt=8,Gpt=16,Kpt=8;function Hpt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var Jpt=function(e){function t(t){var n=aft();if(null==t)return n;if(Hpt(t))return t;var r=e(t),i=r.size;return 0===i?n:(lpt(i),i>0&&i<32?oft(0,i,5,null,new tft(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=Tct(this,e))>=0&&e<this.size){var n=uft(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=Tct(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?cft(e,t).set(0,n):cft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=dft(e._capacity)?r=sft(r,e.__ownerID,0,t,n,o):i=sft(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 oft(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):aft()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){cft(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return cft(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){cft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return cft(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&&tdt(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 cft(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 Ict(e,t,n)?this:cft(this,Dct(e,n),Rct(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=ift(this,t);return new Hct((function(){var i=r();return i===rft?{value:void 0,done:!0}:Jct(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=ift(this,t);(n=i())!==rft&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?oft(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?aft():(this.__ownerID=e,this.__altered=!1,this)},t}(Wct);Jpt.isList=Hpt;var eft=Jpt.prototype;eft["@@__IMMUTABLE_LIST__@@"]=!0,eft.delete=eft.remove,eft.merge=eft.concat,eft.setIn=Opt,eft.deleteIn=eft.removeIn=gpt,eft.update=ypt,eft.updateIn=bpt,eft.mergeIn=Spt,eft.mergeDeepIn=kpt,eft.withMutations=Ppt,eft.wasAltered=Cpt,eft.asImmutable=Qpt,eft["@@transducer/init"]=eft.asMutable=$pt,eft["@@transducer/step"]=function(e,t){return e.push(t)},eft["@@transducer/result"]=function(e){return e.asImmutable()};var tft=function(e,t){this.array=e,this.ownerID=t};tft.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 tft([],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=lft(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},tft.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=lft(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var nft,rft={};function ift(e,t){var n=e._origin,r=e._capacity,i=dft(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,u=r-a;u>32&&(u=32);return function(){if(l===u)return rft;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,u=o>n?0:n-o>>i,c=1+(r-o>>i);c>32&&(c=32);return function(){for(;;){if(s){var e=s();if(e!==rft)return e;s=null}if(u===c)return rft;var n=t?--c:u++;s=a(l&&l[n],i-5,o+(n<<i))}}}(e,s,l)}}function oft(e,t,n,r,i,o,a){var s=Object.create(eft);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 aft(){return nft||(nft=oft(0,0,5))}function sft(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 u=e&&e.array[s],c=sft(u,t,n-5,r,i,o);return c===u?e:((a=lft(e,t)).array[s]=c,a)}return l&&e.array[s]===i?e:(o&&$ct(o),a=lft(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function lft(e,t){return t&&e&&t===e.ownerID?e:new tft(e?e.array.slice():[],t)}function uft(e,t){if(t>=dft(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 cft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new Qct,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,u=e._root,c=0;a+c<0;)u=new tft(u&&u.array.length?[void 0,u]:[],r),c+=1<<(l+=5);c&&(a+=c,i+=c,s+=c,o+=c);for(var d=dft(o),p=dft(s);p>=1<<l+5;)u=new tft(u&&u.array.length?[u]:[],r),l+=5;var f=e._tail,h=p<d?uft(e,s-1):p>d?new tft([],r):f;if(f&&p>d&&a<o&&f.array.length){for(var m=u=lft(u,r),O=l;O>5;O-=5){var g=d>>>O&31;m=m.array[g]=lft(m.array[g],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,u=null,h=h&&h.removeBefore(r,0,a);else if(a>i||p<d){for(c=0;u;){var v=a>>>l&31;if(v!==p>>>l&31)break;v&&(c+=(1<<l)*v),l-=5,u=u.array[v]}u&&a>i&&(u=u.removeBefore(r,l,a-c)),u&&p<d&&(u=u.removeAfter(r,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):oft(a,s,l,u,h)}function dft(e){return e<32?0:e-1>>>5<<5}var pft,fft=function(e){function t(e){return null==e?mft():bdt(e)?e:mft().withMutations((function(t){var n=Mct(e);lpt(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):mft()},t.prototype.set=function(e,t){return Oft(this,e,t)},t.prototype.remove=function(e){return Oft(this,e,Pct)},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?hft(t,n,e,this.__hash):0===this.size?mft():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Tpt);function hft(e,t,n,r){var i=Object.create(fft.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function mft(){return pft||(pft=hft(Mpt(),aft()))}function Oft(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===Pct){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):hft(r,i)}fft.isOrderedMap=bdt,fft.prototype[Bct]=!0,fft.prototype.delete=fft.prototype.remove;function gft(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var vft=function(e){function t(e){return null==e?xft():gft(e)?e:xft().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=Tct(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):wft(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&gft(t))return t;lpt(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):wft(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):xft()},t.prototype.slice=function(t,n){if(Ict(t,n,this.size))return this;var r=Dct(t,this.size);if(Rct(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):wft(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?wft(this.size,this._head,e,this.__hash):0===this.size?xft():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new ddt(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 ddt(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new Hct((function(){if(r){var t=r.value;return r=r.next,Jct(e,n++,t)}return{value:void 0,done:!0}}))},t}(Wct);vft.isStack=gft;var yft,bft=vft.prototype;function wft(e,t,n,r){var i=Object.create(bft);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function xft(){return yft||(yft=wft(0))}bft["@@__IMMUTABLE_STACK__@@"]=!0,bft.shift=bft.pop,bft.unshift=bft.push,bft.unshiftAll=bft.pushAll,bft.withMutations=Ppt,bft.wasAltered=Cpt,bft.asImmutable=Qpt,bft["@@transducer/init"]=bft.asMutable=$pt,bft["@@transducer/step"]=function(e,t){return e.unshift(t)},bft["@@transducer/result"]=function(e){return e.asImmutable()};function _ft(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function Sft(e){return _ft(e)&&Yct(e)}function kft(e,t){if(e===t)return!0;if(!Nct(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||jct(e)!==jct(t)||Xct(e)!==Xct(t)||Yct(e)!==Yct(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!Uct(e);if(Yct(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&xdt(i[1],e)&&(n||xdt(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?!xdt(t,e.get(r,Pct)):!xdt(e.get(r,Pct),t))return a=!1,!1}));return a&&e.size===s}function Pft(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 $ft(e){if(!e||"object"!=typeof e)return e;if(!Nct(e)){if(!cpt(e))return e;e=sdt(e)}if(jct(e)){var t={};return e.__iterate((function(e,n){t[n]=$ft(e)})),t}var n=[];return e.__iterate((function(e){n.push($ft(e))})),n}var Qft=function(e){function t(t){return null==t?Dft():_ft(t)&&!Yct(t)?t:Dft().withMutations((function(n){var r=e(t);lpt(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(Mct(e).keySeq())},t.intersect=function(e){return(e=qct(e).toArray()).length?Tft.intersect.apply(t(e.pop()),e):Dft()},t.union=function(e){return(e=qct(e).toArray()).length?Tft.union.apply(t(e.pop()),e):Dft()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Eft(this,this._map.set(e,e))},t.prototype.remove=function(e){return Eft(this,this._map.remove(e))},t.prototype.clear=function(){return Eft(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 Yft(Gdt(this,e))},t.prototype.sortBy=function(e,t){return Yft(Gdt(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}(Lct);Qft.isSet=_ft;var Cft,Tft=Qft.prototype;function Eft(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 Ift(e,t){var n=Object.create(Tft);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Dft(){return Cft||(Cft=Ift(Mpt()))}Tft["@@__IMMUTABLE_SET__@@"]=!0,Tft.delete=Tft.remove,Tft.merge=Tft.concat=Tft.union,Tft.withMutations=Ppt,Tft.asImmutable=Qpt,Tft["@@transducer/init"]=Tft.asMutable=$pt,Tft["@@transducer/step"]=function(e,t){return e.add(t)},Tft["@@transducer/result"]=function(e){return e.asImmutable()},Tft.__empty=Dft,Tft.__make=Ift;var Rft,Aft=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(spt(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(Rft)return Rft;Rft=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+Tct(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 Ict(e,n,this.size)?this:(e=Dct(e,this.size),(n=Rct(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 Hct((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,Jct(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:kft(this,e)},t}(udt);function zft(e,t,n){for(var r=upt(t),i=0;i!==r.length;)if((e=ppt(e,r[i++],Pct))===Pct)return n;return e}function Nft(){lpt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}qct.isIterable=Nct,qct.isKeyed=jct,qct.isIndexed=Xct,qct.isAssociative=Uct,qct.isOrdered=Yct,qct.Iterator=Hct,Pft(qct,{toArray:function(){lpt(this.size);var e=new Array(this.size||0),t=jct(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new Xdt(this)},toJS:function(){return $ft(this)},toKeyedSeq:function(){return new jdt(this,!0)},toMap:function(){return Tpt(this.toKeyedSeq())},toObject:Nft,toOrderedMap:function(){return fft(this.toKeyedSeq())},toOrderedSet:function(){return Yft(jct(this)?this.valueSeq():this)},toSet:function(){return Qft(jct(this)?this.valueSeq():this)},toSetSeq:function(){return new Udt(this)},toSeq:function(){return Xct(this)?this.toIndexedSeq():jct(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return vft(jct(this)?this.valueSeq():this)},toList:function(){return Jpt(jct(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 ept(this,Bdt(this,e))},includes:function(e){return this.some((function(t){return xdt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){lpt(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 ept(this,Fdt(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 lpt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){lpt(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 ept(this,Wdt(this,e,t))},reduce:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!0)},reverse:function(){return ept(this,Ldt(this,!0))},slice:function(e,t){return ept(this,Vdt(this,e,t,!0))},some:function(e,t){return!this.every(Lft(e),t)},sort:function(e){return ept(this,Gdt(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 Cct(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 kft(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ddt(e._cache);var t=e.toSeq().map(Wft).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Lft(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(Ect,null,e)},flatMap:function(e,t){return ept(this,function(e,t,n){var r=npt(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 ept(this,Ydt(this,e,!0))},fromEntrySeq:function(){return new qdt(this)},get:function(e,t){return this.find((function(t,n){return xdt(n,e)}),void 0,t)},getIn:function(e,t){return zft(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=jct(e),i=(Yct(e)?fft():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=npt(e);return i.map((function(t){return ept(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,Pct)!==Pct},hasIn:function(e){return function(e,t){return zft(e,t,Pct)!==Pct}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:qct(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:qct(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return xdt(t,e)}))},keySeq:function(){return this.toSeq().map(Mft).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Kdt(this,e)},maxBy:function(e,t){return Kdt(this,t,e)},min:function(e){return Kdt(this,e?Fft(e):Zft)},minBy:function(e,t){return Kdt(this,t?Fft(t):Zft,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return ept(this,Zdt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Lft(e),t)},sortBy:function(e,t){return ept(this,Gdt(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 ept(this,function(e,t,n){var r=rpt(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 Hct((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],u=i[1];return t.call(n,u,l,o)?2===r?e:Jct(r,l,u,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Lft(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=Yct(e),n=jct(e),r=t?1:0;return function(e,t){return t=_dt(t,3432918353),t=_dt(t<<15|t>>>-15,461845907),t=_dt(t<<13|t>>>-13,5),t=_dt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Sdt((t=_dt(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Bft(Pdt(e),Pdt(t))|0}:function(e,t){r=r+Bft(Pdt(e),Pdt(t))|0}:t?function(e){r=31*r+Pdt(e)|0}:function(e){r=r+Pdt(e)|0}),r)}(this))}});var jft=qct.prototype;jft["@@__IMMUTABLE_ITERABLE__@@"]=!0,jft[Kct]=jft.values,jft.toJSON=jft.toArray,jft.__toStringMapper=dpt,jft.inspect=jft.toSource=function(){return this.toString()},jft.chain=jft.flatMap,jft.contains=jft.includes,Pft(Mct,{flip:function(){return ept(this,Mdt(this))},mapEntries:function(e,t){var n=this,r=0;return ept(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return ept(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Xft=Mct.prototype;Xft["@@__IMMUTABLE_KEYED__@@"]=!0,Xft[Kct]=jft.entries,Xft.toJSON=Nft,Xft.__toStringMapper=function(e,t){return dpt(t)+": "+dpt(e)},Pft(Wct,{toKeyedSeq:function(){return new jdt(this,!1)},filter:function(e,t){return ept(this,Fdt(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 ept(this,Ldt(this,!1))},slice:function(e,t){return ept(this,Vdt(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=Dct(e,e<0?this.count():this.size);var r=this.slice(0,e);return ept(this,1===n?r:r.concat(apt(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 ept(this,Ydt(this,e,!1))},get:function(e,t){return(e=Tct(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=Tct(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return ept(this,function(e,t){var n=rpt(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 Hct((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?Jct(n,a++,t):Jct(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(apt(arguments)),t=Jdt(this.toSeq(),udt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),ept(this,n)},keySeq:function(){return Aft(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return ept(this,Zdt(this,e,t,!1))},zip:function(){var e=[this].concat(apt(arguments));return ept(this,Jdt(this,Vft,e))},zipAll:function(){var e=[this].concat(apt(arguments));return ept(this,Jdt(this,Vft,e,!0))},zipWith:function(e){var t=apt(arguments);return t[0]=this,ept(this,Jdt(this,e,t))}});var Uft=Wct.prototype;function qft(e,t,n,r,i,o){return lpt(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function Mft(e,t){return t}function Wft(e,t){return[t,e]}function Lft(e){return function(){return!e.apply(this,arguments)}}function Fft(e){return function(){return-e.apply(this,arguments)}}function Vft(){return apt(arguments)}function Zft(e,t){return e<t?1:e>t?-1:0}function Bft(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Uft["@@__IMMUTABLE_INDEXED__@@"]=!0,Uft[Bct]=!0,Pft(Lct,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Lct.prototype.has=jft.includes,Lct.prototype.contains=Lct.prototype.includes,Pft(ldt,Mct.prototype),Pft(udt,Wct.prototype),Pft(cdt,Lct.prototype);var Yft=function(e){function t(e){return null==e?Jft():Sft(e)?e:Jft().withMutations((function(t){var n=Lct(e);lpt(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(Mct(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Qft);Yft.isOrderedSet=Sft;var Gft,Kft=Yft.prototype;function Hft(e,t){var n=Object.create(Kft);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Jft(){return Gft||(Gft=Hft(mft()))}Kft[Bct]=!0,Kft.zip=Uft.zip,Kft.zipWith=Uft.zipWith,Kft.__empty=Jft,Kft.__make=Hft;var eht={exports:{}};
158
158
  /*!
159
159
  Copyright (c) 2015 Jed Watson.
160
160
  Based on code that is Copyright 2013-2015, Facebook, Inc.