@livetiles/reach-components-react 0.5.0-preview.162 → 0.5.0-preview.163

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.
Files changed (2) hide show
  1. package/index2.js +1 -1
  2. package/package.json +1 -1
package/index2.js CHANGED
@@ -137,7 +137,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
137
137
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
138
138
  PERFORMANCE OF THIS SOFTWARE.
139
139
  ***************************************************************************** */
140
- var Zhe=function(){return Zhe=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},Zhe.apply(this,arguments)};function Jhe(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 eme(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 tme(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 nme(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 rme(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var ime,ome=function(r){var i,o=r.children,a=Jhe(r,["children"]);return n(t,{children:[e(ame,{}),e(Z,Zhe({},a,{modalProps:Zhe(Zhe({},a.modalProps||{}),{className:Eq(JK,"lt-reach-dialog",{"lt-reach-dialog-mobile":Ol.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}))]})},ame=Pe(ime||(ime=rme(['\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']))),sme="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},lme=function(e){return e&&e.Math==Math&&e},cme=lme("object"==typeof globalThis&&globalThis)||lme("object"==typeof window&&window)||lme("object"==typeof self&&self)||lme("object"==typeof sme&&sme)||Function("return this")(),ume={},dme=function(e){try{return!!e()}catch(e){return!0}},fme=!dme((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),pme={},hme={}.propertyIsEnumerable,mme=Object.getOwnPropertyDescriptor,gme=mme&&!hme.call({1:2},1);pme.f=gme?function(e){var t=mme(this,e);return!!t&&t.enumerable}:hme;var vme=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},yme={}.toString,bme=function(e){return yme.call(e).slice(8,-1)},wme=bme,xme="".split,_me=dme((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==wme(e)?xme.call(e,""):Object(e)}:Object,Ome=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},kme=_me,Sme=Ome,Cme=function(e){return kme(Sme(e))},Eme=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Ime=Eme,Tme=function(e,t){if(!Ime(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!Ime(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Ime(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!Ime(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},Pme={}.hasOwnProperty,Dme=function(e,t){return Pme.call(e,t)},Nme=Eme,Ame=cme.document,Rme=Nme(Ame)&&Nme(Ame.createElement),Mme=function(e){return Rme?Ame.createElement(e):{}},jme=Mme,Lme=!fme&&!dme((function(){return 7!=Object.defineProperty(jme("div"),"a",{get:function(){return 7}}).a})),zme=fme,Fme=pme,Qme=vme,Bme=Cme,Ume=Tme,Wme=Dme,qme=Lme,$me=Object.getOwnPropertyDescriptor;ume.f=zme?$me:function(e,t){if(e=Bme(e),t=Ume(t,!0),qme)try{return $me(e,t)}catch(e){}if(Wme(e,t))return Qme(!Fme.f.call(e,t),e[t])};var Vme={},Kme=Eme,Hme=function(e){if(!Kme(e))throw TypeError(String(e)+" is not an object");return e},Gme=fme,Yme=Lme,Xme=Hme,Zme=Tme,Jme=Object.defineProperty;Vme.f=Gme?Jme:function(e,t,n){if(Xme(e),t=Zme(t,!0),Xme(n),Yme)try{return Jme(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 ege=Vme,tge=vme,nge=fme?function(e,t,n){return ege.f(e,t,tge(1,n))}:function(e,t,n){return e[t]=n,e},rge={exports:{}},ige=cme,oge=nge,age=function(e,t){try{oge(ige,e,t)}catch(n){ige[e]=t}return t},sge=age,lge=cme["__core-js_shared__"]||sge("__core-js_shared__",{}),cge=lge,uge=Function.toString;"function"!=typeof cge.inspectSource&&(cge.inspectSource=function(e){return uge.call(e)});var dge=cge.inspectSource,fge=dge,pge=cme.WeakMap,hge="function"==typeof pge&&/native code/.test(fge(pge)),mge={exports:{}},gge=lge;(mge.exports=function(e,t){return gge[e]||(gge[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var vge,yge,bge,wge=0,xge=Math.random(),_ge=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++wge+xge).toString(36)},Oge=mge.exports,kge=_ge,Sge=Oge("keys"),Cge=function(e){return Sge[e]||(Sge[e]=kge(e))},Ege={},Ige=hge,Tge=Eme,Pge=nge,Dge=Dme,Nge=Cge,Age=Ege,Rge=cme.WeakMap;if(Ige){var Mge=new Rge,jge=Mge.get,Lge=Mge.has,zge=Mge.set;vge=function(e,t){return zge.call(Mge,e,t),t},yge=function(e){return jge.call(Mge,e)||{}},bge=function(e){return Lge.call(Mge,e)}}else{var Fge=Nge("state");Age[Fge]=!0,vge=function(e,t){return Pge(e,Fge,t),t},yge=function(e){return Dge(e,Fge)?e[Fge]:{}},bge=function(e){return Dge(e,Fge)}}var Qge={set:vge,get:yge,has:bge,enforce:function(e){return bge(e)?yge(e):vge(e,{})},getterFor:function(e){return function(t){var n;if(!Tge(t)||(n=yge(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Bge=cme,Uge=nge,Wge=Dme,qge=age,$ge=dge,Vge=Qge.get,Kge=Qge.enforce,Hge=String(String).split("String");(rge.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||Wge(n,"name")||Uge(n,"name",t),Kge(n).source=Hge.join("string"==typeof t?t:"")),e!==Bge?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Uge(e,t,n)):o?e[t]=n:qge(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Vge(this).source||$ge(this)}));var Gge=cme,Yge=cme,Xge=function(e){return"function"==typeof e?e:void 0},Zge=function(e,t){return arguments.length<2?Xge(Gge[e])||Xge(Yge[e]):Gge[e]&&Gge[e][t]||Yge[e]&&Yge[e][t]},Jge={},eve=Math.ceil,tve=Math.floor,nve=function(e){return isNaN(e=+e)?0:(e>0?tve:eve)(e)},rve=nve,ive=Math.min,ove=function(e){return e>0?ive(rve(e),9007199254740991):0},ave=nve,sve=Math.max,lve=Math.min,cve=Cme,uve=ove,dve=function(e,t){var n=ave(e);return n<0?sve(n+t,0):lve(n,t)},fve=function(e){return function(t,n,r){var i,o=cve(t),a=uve(o.length),s=dve(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}},pve={includes:fve(!0),indexOf:fve(!1)},hve=Dme,mve=Cme,gve=pve.indexOf,vve=Ege,yve=function(e,t){var n,r=mve(e),i=0,o=[];for(n in r)!hve(vve,n)&&hve(r,n)&&o.push(n);for(;t.length>i;)hve(r,n=t[i++])&&(~gve(o,n)||o.push(n));return o},bve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wve=yve,xve=bve.concat("length","prototype");Jge.f=Object.getOwnPropertyNames||function(e){return wve(e,xve)};var _ve={};_ve.f=Object.getOwnPropertySymbols;var Ove=Jge,kve=_ve,Sve=Hme,Cve=Zge("Reflect","ownKeys")||function(e){var t=Ove.f(Sve(e)),n=kve.f;return n?t.concat(n(e)):t},Eve=Dme,Ive=Cve,Tve=ume,Pve=Vme,Dve=dme,Nve=/#|\.prototype\./,Ave=function(e,t){var n=Mve[Rve(e)];return n==Lve||n!=jve&&("function"==typeof t?Dve(t):!!t)},Rve=Ave.normalize=function(e){return String(e).replace(Nve,".").toLowerCase()},Mve=Ave.data={},jve=Ave.NATIVE="N",Lve=Ave.POLYFILL="P",zve=Ave,Fve=cme,Qve=ume.f,Bve=nge,Uve=rge.exports,Wve=age,qve=function(e,t){for(var n=Ive(t),r=Pve.f,i=Tve.f,o=0;o<n.length;o++){var a=n[o];Eve(e,a)||r(e,a,i(t,a))}},$ve=zve,Vve=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Fve:c?Fve[s]||Wve(s,{}):(Fve[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Qve(n,r))&&a.value:n[r],!$ve(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;qve(o,i)}(e.sham||i&&i.sham)&&Bve(o,"sham",!0),Uve(n,r,o,e)}},Kve=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Hve=Ome,Gve=function(e){return Object(Hve(e))},Yve=Kve,Xve=Gve,Zve=_me,Jve=ove,eye=function(e){return function(t,n,r,i){Yve(n);var o=Xve(t),a=Zve(o),s=Jve(o.length),l=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(l in a){i=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(i=n(i,a[l],l,o));return i}},tye={left:eye(!1),right:eye(!0)},nye=dme,rye=function(e,t){var n=[][e];return!!n&&nye((function(){n.call(null,t||function(){throw 1},1)}))},iye=fme,oye=dme,aye=Dme,sye=Object.defineProperty,lye={},cye=function(e){throw e},uye=function(e,t){if(aye(lye,e))return lye[e];t||(t={});var n=[][e],r=!!aye(t,"ACCESSORS")&&t.ACCESSORS,i=aye(t,0)?t[0]:cye,o=aye(t,1)?t[1]:void 0;return lye[e]=!!n&&!oye((function(){if(r&&!iye)return!0;var e={length:-1};r?sye(e,1,{enumerable:!0,get:cye}):e[1]=1,n.call(e,i,o)}))},dye=Vve,fye=tye.left,pye=uye,hye=rye("reduce"),mye=pye("reduce",{1:0});dye({target:"Array",proto:!0,forced:!hye||!mye},{reduce:function(e){return fye(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var gye=yve,vye=bve,yye=Object.keys||function(e){return gye(e,vye)},bye=fme,wye=dme,xye=yye,_ye=_ve,Oye=pme,kye=Gve,Sye=_me,Cye=Object.assign,Eye=Object.defineProperty,Iye=!Cye||wye((function(){if(bye&&1!==Cye({b:1},Cye(Eye({},"a",{enumerable:!0,get:function(){Eye(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!=Cye({},e)[n]||xye(Cye({},t)).join("")!=r}))?function(e,t){for(var n=kye(e),r=arguments.length,i=1,o=_ye.f,a=Oye.f;r>i;)for(var s,l=Sye(arguments[i++]),c=o?xye(l).concat(o(l)):xye(l),u=c.length,d=0;u>d;)s=c[d++],bye&&!a.call(l,s)||(n[s]=l[s]);return n}:Cye,Tye=Iye;Vve({target:"Object",stat:!0,forced:Object.assign!==Tye},{assign:Tye});var Pye,Dye=dme,Nye=!!Object.getOwnPropertySymbols&&!Dye((function(){return!String(Symbol())})),Aye=Nye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Rye=cme,Mye=mge.exports,jye=Dme,Lye=_ge,zye=Nye,Fye=Aye,Qye=Mye("wks"),Bye=Rye.Symbol,Uye=Fye?Bye:Bye&&Bye.withoutSetter||Lye,Wye=function(e){return jye(Qye,e)||(zye&&jye(Bye,e)?Qye[e]=Bye[e]:Qye[e]=Uye("Symbol."+e)),Qye[e]},qye=Vme,$ye=Hme,Vye=yye,Kye=fme?Object.defineProperties:function(e,t){$ye(e);for(var n,r=Vye(t),i=r.length,o=0;i>o;)qye.f(e,n=r[o++],t[n]);return e},Hye=Zge("document","documentElement"),Gye=Hme,Yye=Kye,Xye=bve,Zye=Ege,Jye=Hye,ebe=Mme,tbe=Cge("IE_PROTO"),nbe=function(){},rbe=function(e){return"<script>"+e+"<\/script>"},ibe=function(){try{Pye=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;ibe=Pye?function(e){e.write(rbe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Pye):((t=ebe("iframe")).style.display="none",Jye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(rbe("document.F=Object")),e.close(),e.F);for(var n=Xye.length;n--;)delete ibe.prototype[Xye[n]];return ibe()};Zye[tbe]=!0;var obe=Object.create||function(e,t){var n;return null!==e?(nbe.prototype=Gye(e),n=new nbe,nbe.prototype=null,n[tbe]=e):n=ibe(),void 0===t?n:Yye(n,t)},abe=obe,sbe=Vme,lbe=Wye("unscopables"),cbe=Array.prototype;null==cbe[lbe]&&sbe.f(cbe,lbe,{configurable:!0,value:abe(null)});var ube=function(e){cbe[lbe][e]=!0},dbe=pve.includes,fbe=ube;Vve({target:"Array",proto:!0,forced:!uye("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return dbe(this,e,arguments.length>1?arguments[1]:void 0)}}),fbe("includes");var pbe=Eme,hbe=bme,mbe=Wye("match"),gbe=function(e){var t;return pbe(e)&&(void 0!==(t=e[mbe])?!!t:"RegExp"==hbe(e))},vbe=gbe,ybe=function(e){if(vbe(e))throw TypeError("The method doesn't accept regular expressions");return e},bbe=Wye("match"),wbe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[bbe]=!1,"/./"[e](t)}catch(e){}}return!1},xbe=ybe,_be=Ome;function Obe(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)}Vve({target:"String",proto:!0,forced:!wbe("includes")},{includes:function(e){return!!~String(_be(this)).indexOf(xbe(e),arguments.length>1?arguments[1]:void 0)}});var kbe,Sbe,Cbe,Ebe={},Ibe=!dme((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Tbe=Dme,Pbe=Gve,Dbe=Ibe,Nbe=Cge("IE_PROTO"),Abe=Object.prototype,Rbe=Dbe?Object.getPrototypeOf:function(e){return e=Pbe(e),Tbe(e,Nbe)?e[Nbe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Abe:null},Mbe=Rbe,jbe=nge,Lbe=Dme,zbe=Wye("iterator"),Fbe=!1;[].keys&&("next"in(Cbe=[].keys())?(Sbe=Mbe(Mbe(Cbe)))!==Object.prototype&&(kbe=Sbe):Fbe=!0),null==kbe&&(kbe={}),Lbe(kbe,zbe)||jbe(kbe,zbe,(function(){return this}));var Qbe={IteratorPrototype:kbe,BUGGY_SAFARI_ITERATORS:Fbe},Bbe=Vme.f,Ube=Dme,Wbe=Wye("toStringTag"),qbe=function(e,t,n){e&&!Ube(e=n?e:e.prototype,Wbe)&&Bbe(e,Wbe,{configurable:!0,value:t})},$be=Qbe.IteratorPrototype,Vbe=obe,Kbe=vme,Hbe=qbe,Gbe=Ebe,Ybe=function(){return this},Xbe=Eme,Zbe=Hme,Jbe=function(e){if(!Xbe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},ewe=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 Zbe(n),Jbe(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),twe=Vve,nwe=function(e,t,n){var r=t+" Iterator";return e.prototype=Vbe($be,{next:Kbe(1,n)}),Hbe(e,r,!1),Gbe[r]=Ybe,e},rwe=Rbe,iwe=ewe,owe=qbe,awe=nge,swe=rge.exports,lwe=Ebe,cwe=Qbe.IteratorPrototype,uwe=Qbe.BUGGY_SAFARI_ITERATORS,dwe=Wye("iterator"),fwe=function(){return this},pwe=Cme,hwe=ube,mwe=Ebe,gwe=Qge,vwe=function(e,t,n,r,i,o,a){nwe(n,t,r);var s,l,c,u=function(e){if(e===i&&m)return m;if(!uwe&&e in p)return p[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",f=!1,p=e.prototype,h=p[dwe]||p["@@iterator"]||i&&p[i],m=!uwe&&h||u(i),g="Array"==t&&p.entries||h;if(g&&(s=rwe(g.call(new e)),cwe!==Object.prototype&&s.next&&(rwe(s)!==cwe&&(iwe?iwe(s,cwe):"function"!=typeof s[dwe]&&awe(s,dwe,fwe)),owe(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(f=!0,m=function(){return h.call(this)}),p[dwe]!==m&&awe(p,dwe,m),lwe[t]=m,i)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(uwe||f||!(c in p))&&swe(p,c,l[c]);else twe({target:t,proto:!0,forced:uwe||f},l);return l},ywe=gwe.set,bwe=gwe.getterFor("Array Iterator"),wwe=vwe(Array,"Array",(function(e,t){ywe(this,{type:"Array Iterator",target:pwe(e),index:0,kind:t})}),(function(){var e=bwe(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");mwe.Arguments=mwe.Array,hwe("keys"),hwe("values"),hwe("entries");var xwe=cme,_we={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},Owe=wwe,kwe=nge,Swe=Wye,Cwe=Swe("iterator"),Ewe=Swe("toStringTag"),Iwe=Owe.values;for(var Twe in _we){var Pwe=xwe[Twe],Dwe=Pwe&&Pwe.prototype;if(Dwe){if(Dwe[Cwe]!==Iwe)try{kwe(Dwe,Cwe,Iwe)}catch(e){Dwe[Cwe]=Iwe}if(Dwe[Ewe]||kwe(Dwe,Ewe,Twe),_we[Twe])for(var Nwe in Owe)if(Dwe[Nwe]!==Owe[Nwe])try{kwe(Dwe,Nwe,Owe[Nwe])}catch(e){Dwe[Nwe]=Owe[Nwe]}}}var Awe,Rwe,Mwe,jwe,Lwe,zwe,Fwe,Qwe,Bwe,Uwe,Wwe,qwe,$we,Vwe,Kwe,Hwe,Gwe,Ywe,Xwe=function(t){var n=LS().formatMessage;return e(Y,Zhe({},t,{className:void 0,role:t.role,onClick:t.onClick,hostClassName:t.className,content:Ol.isTouchDevice||!t.resourceKey&&!t.text?null:t.text||n({id:t.resourceKey},t.values||{}),calloutProps:Zhe(Zhe({},t.calloutProps),{calloutWidth:t.width,hidden:t.hidden})},{children:t.children}))},Zwe=function(e){return De(Lwe||(Lwe=rme(["\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)?De(Awe||(Awe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):De(Rwe||(Rwe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),b6),(null==e?void 0:e.color)?De(Mwe||(Mwe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):De(jwe||(jwe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,10,20)},Jwe=function(t){var n=t.tooltipResourceKey,r=t.className,i=Jhe(t,["tooltipResourceKey","className"]);return e(Xwe,Zhe({resourceKey:n,className:r},{children:e(exe,Zhe({},i,{"data-highlight-bubble":!0}))}))},exe=Te.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(zwe||(zwe=rme(["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),Zwe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),txe=Te.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(Fwe||(Fwe=rme(["\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})),nxe=function(t){var r=t.showDialog,i=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,c=t.saveButtonResourceId,u=t.children,d=t.className,f=LS().formatMessage;return n(ome,Zhe({hidden:!r,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:X.normal,title:f({id:s})},onDismiss:i},{children:[e(rxe,Zhe({className:d},{children:u})),n(J,{children:[e(M,Zhe({onClick:i,"data-button":"cancel"},{children:e(nC,{id:"Generic.Cancel"})})),e(R,Zhe({disabled:l,onClick:a,"data-button":"save"},{children:e(nC,{id:c||"Generic.Save"})}))]})]}))},rxe=Te.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(Qwe||(Qwe=rme(["\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),ixe=Te(nxe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(Bwe||(Bwe=rme(["\n width: 360px;\n"],["\n width: 360px;\n"]))),oxe=Te(T).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(Uwe||(Uwe=rme(["\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})),axe=function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,c=t.ariaLabelResourceKey,u=LS().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(sxe,Zhe({className:o},{children:r?e(cxe,{}):e(Xwe,Zhe({resourceKey:l},{children:e(lxe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?u({id:c}):null})}))}))},sxe=Te.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(Wwe||(Wwe=rme(["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"],["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"]))),lxe=Te(oxe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(qwe||(qwe=rme(["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"])),18,20),cxe=Te.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})($we||($we=rme(["\n width: 22px;\n"],["\n width: 22px;\n"]))),uxe=De(Vwe||(Vwe=rme(["\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})),dxe=Te(P).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(Kwe||(Kwe=rme(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),uxe),fxe=Te(Oe).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(Hwe||(Hwe=rme(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),uxe),pxe=function(){var t=F6().hideNotification,n=s(z6),r=n.isNotificationBarVisible,i=Jhe(n,["isNotificationBarVisible"]),o=LS().formatMessage,a=i.messageId||i.text;return r?e(hxe,Zhe({className:"notification-wrapper","data-notification-bar":!0},{children:e(mxe,Zhe({messageBarType:i.messageBarType,className:i.className,actions:i.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:a&&e(Xwe,Zhe({text:i.text,resourceKey:i.messageId,values:i.messageValues},{children:i.text||e(nC,{id:i.messageId,values:i.messageValues||{}})}))}))})):null},hxe=Te.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(Gwe||(Gwe=rme(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),mxe=Te(D).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(Ywe||(Ywe=rme(["\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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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 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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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"])),20,16,18,18,16,18,14,30,20),gxe=function(t){var n,r=LS().formatMessage,i=B0(),o=Q0(),a=n2(),s=a.searchAccounts,l=a.getUserAvatarUrl,d=c(),f=CO();u((function(){t.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,t.autoFocus]);var p=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,h=!t.selectionMode||t.selectionMode===ee.multiple,m=t.selectedItems||[],g=p,v={defaultSelectedItems:(t.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,g)},onGetMoreResults:function(e){return b(e,!1)},getTextFromItem:function(e){return e.text},onChange:function(e){return function(e){var n=e.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==x0.Group?t.userPrincipalName:null,mail:L1(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));t.onChange&&t.onChange(n)}(e)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!t.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:f.width<T6?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&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return w(e).map(y);return e.then((function(e){return w(e).map(y)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=r({id:t.placeholderStringResourceKey})),t.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),e(yxe,Zhe({className:Eq(t.className,"people-picker")},{children:e(te,Zhe({},v,{componentRef:d,itemLimit:h?void 0:1}))}));function y(e){var t=L1(e.mail)?null:e.mail,n=L1(e.userPrincipalName)?null:e.userPrincipalName,r=gO(e.displayName||e.mail||e.userPrincipalName),o=e.type===x0.User?n:e.type===x0.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?" (".concat(t,")"):""),tertiaryText:t,imageInitials:r,initialsColor:vO(r),key:o,accountType:e.type,authenticationType:e.authenticationType};return i.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(e,n){return eme(this,void 0,void 0,(function(){var r,i,o;return tme(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];r=t.allowMailItems&&B_(e)&&{mail:e,userPrincipalName:e,displayName:e,type:x0.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,w(i).map(y)];case 3:return a.sent(),[2,r&&[r].map(y)];case 4:return[2]}}))}))}function w(e){if(!t.selectedItems&&!t.defaultSelectedItems&&!t.excludedItems)return e;var n=(t.excludedItems||[]).concat(t.selectedItems||t.defaultSelectedItems||[]);return e.filter((function(e){return n.every((function(t){return!function(e,t){if(e.id&&t.id)return e.id===t.id;if(e.tokenUniqueId&&t.tokenUniqueId)return e.tokenUniqueId===t.tokenUniqueId;return e.userPrincipalName===t.userPrincipalName}(t,e)}))}))}};var vxe,yxe=Te.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(vxe||(vxe=rme(["\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"]))),bxe=Vve,wxe=ume.f,xxe=ove,_xe=ybe,Oxe=Ome,kxe=wbe,Sxe="".startsWith,Cxe=Math.min,Exe=kxe("startsWith"),Ixe=!Exe&&!!function(){var e=wxe(String.prototype,"startsWith");return e&&!e.writable}();bxe({target:"String",proto:!0,forced:!Ixe&&!Exe},{startsWith:function(e){var t=String(Oxe(this));_xe(e);var n=xxe(Cxe(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Sxe?Sxe.call(t,r,n):t.slice(n,n+r.length)===r}});var Txe=Hme,Pxe=function(){var e=Txe(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},Dxe=rge.exports,Nxe=Hme,Axe=dme,Rxe=Pxe,Mxe=RegExp.prototype,jxe=Mxe.toString,Lxe=Axe((function(){return"/a/b"!=jxe.call({source:"a",flags:"b"})})),zxe="toString"!=jxe.name;(Lxe||zxe)&&Dxe(RegExp.prototype,"toString",(function(){var e=Nxe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Mxe)?Rxe.call(e):n)}),{unsafe:!0});var Fxe,Qxe=function(t){var n=t.fileName,r=t.url;return e(Bxe,Zhe({href:r,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n})}))},Bxe=Te.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(Fxe||(Fxe=rme(["\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),Uxe=function(t){var r=t.fileName,i=t.url;return i?n(Kxe,{children:[e(Qxe,{fileName:r,url:i}),n("audio",Zhe({controls:!0,title:r,controlsList:"nodownload"},{children:[e("source",{src:i,type:"audio/mpeg"}),e(nC,{id:"Generic.audioReplayError",tagName:"p"})]}))]}):null};function Wxe(e){var t=U$.getType(e);return t&&t.toString().startsWith("audio/")}var qxe,$xe,Vxe,Kxe=Te.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(qxe||(qxe=rme(["\n width: 100%;\n"],["\n width: 100%;\n"])));Te.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})($xe||($xe=rme(["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"],["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"])),30,10),Te.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(Vxe||(Vxe=rme(["\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 Hxe,Gxe,Yxe,Xxe,Zxe=function(t){var r=t.children,i=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(t_e,Zhe({className:s},{children:[i&&e(e_e,{children:i}),e(Jxe,Zhe({"data-attachment":o,backgroundColor:a},{children:r}))]}))},Jxe=Te.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(Hxe||(Hxe=rme(["\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: ".concat(e.backgroundColor,";"):"background-color: ".concat(e.theme.palette.white,";")})),e_e=Te.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(Gxe||(Gxe=rme(["\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),t_e=Te.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(Yxe||(Yxe=rme(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),n_e=Te(N).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(Xxe||(Xxe=rme(["\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_e={},i_e=dme;function o_e(e,t){return RegExp(e,t)}r_e.UNSUPPORTED_Y=i_e((function(){var e=o_e("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),r_e.BROKEN_CARET=i_e((function(){var e=o_e("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var a_e=Pxe,s_e=r_e,l_e=RegExp.prototype.exec,c_e=String.prototype.replace,u_e=l_e,d_e=function(){var e=/a/,t=/b*/g;return l_e.call(e,"a"),l_e.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),f_e=s_e.UNSUPPORTED_Y||s_e.BROKEN_CARET,p_e=void 0!==/()??/.exec("")[1];(d_e||p_e||f_e)&&(u_e=function(e){var t,n,r,i,o=this,a=f_e&&o.sticky,s=a_e.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),p_e&&(n=new RegExp("^"+l+"$(?!\\s)",s)),d_e&&(t=o.lastIndex),r=l_e.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:d_e&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),p_e&&r&&r.length>1&&c_e.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var h_e=u_e;Vve({target:"RegExp",proto:!0,forced:/./.exec!==h_e},{exec:h_e});var m_e=rge.exports,g_e=dme,v_e=Wye,y_e=h_e,b_e=nge,w_e=v_e("species"),x_e=!g_e((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),__e="$0"==="a".replace(/./,"$0"),O_e=v_e("replace"),k_e=!!/./[O_e]&&""===/./[O_e]("a","$0"),S_e=!g_e((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]})),C_e=function(e,t,n,r){var i=v_e(e),o=!g_e((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!g_e((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[w_e]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!x_e||!__e||k_e)||"split"===e&&!S_e){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===y_e?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:__e,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:k_e}),c=l[0],u=l[1];m_e(String.prototype,e,c),m_e(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&b_e(RegExp.prototype[i],"sham",!0)},E_e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},I_e=bme,T_e=h_e,P_e=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"!==I_e(e))throw TypeError("RegExp#exec called on incompatible receiver");return T_e.call(e,t)},D_e=Hme,N_e=Ome,A_e=E_e,R_e=P_e;C_e("search",1,(function(e,t,n){return[function(t){var n=N_e(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=D_e(e),o=String(this),a=i.lastIndex;A_e(a,0)||(i.lastIndex=0);var s=R_e(i,o);return A_e(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]}));var M_e=nve,j_e=Ome,L_e=function(e){return function(t,n){var r,i,o=String(j_e(t)),a=M_e(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}},z_e={codeAt:L_e(!1),charAt:L_e(!0)}.charAt,F_e=C_e,Q_e=Hme,B_e=Gve,U_e=ove,W_e=nve,q_e=Ome,$_e=function(e,t,n){return t+(n?z_e(e,t).length:1)},V_e=P_e,K_e=Math.max,H_e=Math.min,G_e=Math.floor,Y_e=/\$([$&'`]|\d\d?|<[^>]*>)/g,X_e=/\$([$&'`]|\d\d?)/g;F_e("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=q_e(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var l=n(t,e,this,r);if(l.done)return l.value}var c=Q_e(e),u=String(this),d="function"==typeof r;d||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=V_e(c,u);if(null===m)break;if(h.push(m),!f)break;""===String(m[0])&&(c.lastIndex=$_e(u,U_e(c.lastIndex),p))}for(var g,v="",y=0,b=0;b<h.length;b++){m=h[b];for(var w=String(m[0]),x=K_e(H_e(W_e(m.index),u.length),0),_=[],O=1;O<m.length;O++)_.push(void 0===(g=m[O])?g:String(g));var k=m.groups;if(d){var S=[w].concat(_,x,u);void 0!==k&&S.push(k);var C=String(r.apply(void 0,S))}else C=s(w,u,x,_,k,r);x>=y&&(v+=u.slice(y,x)+C,y=x+w.length)}return v+u.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,c=X_e;return void 0!==o&&(o=B_e(o),c=Y_e),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=G_e(u/10);return 0===d?t:d<=l?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var Z_e=Eme,J_e=ewe,eOe=Zge,tOe=Vme,nOe=fme,rOe=Wye("species"),iOe=function(e){var t=eOe(e),n=tOe.f;nOe&&t&&!t[rOe]&&n(t,rOe,{configurable:!0,get:function(){return this}})},oOe=fme,aOe=cme,sOe=zve,lOe=function(e,t,n){var r,i;return J_e&&"function"==typeof(r=t.constructor)&&r!==n&&Z_e(i=r.prototype)&&i!==n.prototype&&J_e(e,i),e},cOe=Vme.f,uOe=Jge.f,dOe=gbe,fOe=Pxe,pOe=r_e,hOe=rge.exports,mOe=dme,gOe=Qge.set,vOe=iOe,yOe=Wye("match"),bOe=aOe.RegExp,wOe=bOe.prototype,xOe=/a/g,_Oe=/a/g,OOe=new bOe(xOe)!==xOe,kOe=pOe.UNSUPPORTED_Y;if(oOe&&sOe("RegExp",!OOe||kOe||mOe((function(){return _Oe[yOe]=!1,bOe(xOe)!=xOe||bOe(_Oe)==_Oe||"/a/i"!=bOe(xOe,"i")})))){for(var SOe=function(e,t){var n,r=this instanceof SOe,i=dOe(e),o=void 0===t;if(!r&&i&&e.constructor===SOe&&o)return e;OOe?i&&!o&&(e=e.source):e instanceof SOe&&(o&&(t=fOe.call(e)),e=e.source),kOe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=lOe(OOe?new bOe(e,t):bOe(e,t),r?this:wOe,SOe);return kOe&&n&&gOe(a,{sticky:n}),a},COe=function(e){e in SOe||cOe(SOe,e,{configurable:!0,get:function(){return bOe[e]},set:function(t){bOe[e]=t}})},EOe=uOe(bOe),IOe=0;EOe.length>IOe;)COe(EOe[IOe++]);wOe.constructor=SOe,SOe.prototype=wOe,hOe(aOe,"RegExp",SOe)}vOe("RegExp");var TOe=cme.Promise,POe=rge.exports,DOe={exports:{}},NOe=Ebe,AOe=Wye("iterator"),ROe=Array.prototype,MOe=Kve,jOe=function(e,t,n){if(MOe(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)}},LOe={};LOe[Wye("toStringTag")]="z";var zOe="[object z]"===String(LOe),FOe=bme,QOe=Wye("toStringTag"),BOe="Arguments"==FOe(function(){return arguments}()),UOe=zOe?FOe: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),QOe))?n:BOe?FOe(t):"Object"==(r=FOe(t))&&"function"==typeof t.callee?"Arguments":r},WOe=UOe,qOe=Ebe,$Oe=Wye("iterator"),VOe=Hme,KOe=Hme,HOe=function(e){return void 0!==e&&(NOe.Array===e||ROe[AOe]===e)},GOe=ove,YOe=jOe,XOe=function(e){if(null!=e)return e[$Oe]||e["@@iterator"]||qOe[WOe(e)]},ZOe=function(e,t,n,r){try{return r?t(VOe(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&VOe(i.call(e)),t}},JOe=function(e,t){this.stopped=e,this.result=t},eke=DOe.exports=function(e,t,n,r,i){var o,a,s,l,c,u,d,f=YOe(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=XOe(e)))throw TypeError("Target is not iterable");if(HOe(a)){for(s=0,l=GOe(e.length);l>s;s++)if((c=r?f(KOe(d=e[s])[0],d[1]):f(e[s]))&&c instanceof JOe)return c;return new JOe(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=ZOe(o,f,d.value,r))&&c&&c instanceof JOe)return c;return new JOe(!1)};eke.stop=function(e){return new JOe(!0,e)};var tke=Wye("iterator"),nke=!1;try{var rke=0,ike={next:function(){return{done:!!rke++}},return:function(){nke=!0}};ike[tke]=function(){return this},Array.from(ike,(function(){throw 2}))}catch(e){}var oke,ake,ske,lke=Hme,cke=Kve,uke=Wye("species"),dke=Zge("navigator","userAgent")||"",fke=/(iphone|ipod|ipad).*applewebkit/i.test(dke),pke=cme,hke=dme,mke=bme,gke=jOe,vke=Hye,yke=Mme,bke=fke,wke=pke.location,xke=pke.setImmediate,_ke=pke.clearImmediate,Oke=pke.process,kke=pke.MessageChannel,Ske=pke.Dispatch,Cke=0,Eke={},Ike=function(e){if(Eke.hasOwnProperty(e)){var t=Eke[e];delete Eke[e],t()}},Tke=function(e){return function(){Ike(e)}},Pke=function(e){Ike(e.data)},Dke=function(e){pke.postMessage(e+"",wke.protocol+"//"+wke.host)};xke&&_ke||(xke=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Eke[++Cke]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},oke(Cke),Cke},_ke=function(e){delete Eke[e]},"process"==mke(Oke)?oke=function(e){Oke.nextTick(Tke(e))}:Ske&&Ske.now?oke=function(e){Ske.now(Tke(e))}:kke&&!bke?(ske=(ake=new kke).port2,ake.port1.onmessage=Pke,oke=gke(ske.postMessage,ske,1)):!pke.addEventListener||"function"!=typeof postMessage||pke.importScripts||hke(Dke)||"file:"===wke.protocol?oke="onreadystatechange"in yke("script")?function(e){vke.appendChild(yke("script")).onreadystatechange=function(){vke.removeChild(this),Ike(e)}}:function(e){setTimeout(Tke(e),0)}:(oke=Dke,pke.addEventListener("message",Pke,!1)));var Nke,Ake,Rke,Mke,jke,Lke,zke,Fke,Qke={set:xke,clear:_ke},Bke=cme,Uke=ume.f,Wke=bme,qke=Qke.set,$ke=fke,Vke=Bke.MutationObserver||Bke.WebKitMutationObserver,Kke=Bke.process,Hke=Bke.Promise,Gke="process"==Wke(Kke),Yke=Uke(Bke,"queueMicrotask"),Xke=Yke&&Yke.value;Xke||(Nke=function(){var e,t;for(Gke&&(e=Kke.domain)&&e.exit();Ake;){t=Ake.fn,Ake=Ake.next;try{t()}catch(e){throw Ake?Mke():Rke=void 0,e}}Rke=void 0,e&&e.enter()},Gke?Mke=function(){Kke.nextTick(Nke)}:Vke&&!$ke?(jke=!0,Lke=document.createTextNode(""),new Vke(Nke).observe(Lke,{characterData:!0}),Mke=function(){Lke.data=jke=!jke}):Hke&&Hke.resolve?(zke=Hke.resolve(void 0),Fke=zke.then,Mke=function(){Fke.call(zke,Nke)}):Mke=function(){qke.call(Bke,Nke)});var Zke=Xke||function(e){var t={fn:e,next:void 0};Rke&&(Rke.next=t),Ake||(Ake=t,Mke()),Rke=t},Jke={},eSe=Kve,tSe=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=eSe(t),this.reject=eSe(n)};Jke.f=function(e){return new tSe(e)};var nSe,rSe,iSe=Hme,oSe=Eme,aSe=Jke,sSe=cme,lSe=dke,cSe=cme.process,uSe=cSe&&cSe.versions,dSe=uSe&&uSe.v8;dSe?rSe=(nSe=dSe.split("."))[0]+nSe[1]:lSe&&(!(nSe=lSe.match(/Edge\/(\d+)/))||nSe[1]>=74)&&(nSe=lSe.match(/Chrome\/(\d+)/))&&(rSe=nSe[1]);var fSe,pSe,hSe,mSe,gSe=rSe&&+rSe,vSe=Vve,ySe=cme,bSe=Zge,wSe=TOe,xSe=rge.exports,_Se=function(e,t,n){for(var r in t)POe(e,r,t[r],n);return e},OSe=qbe,kSe=iOe,SSe=Eme,CSe=Kve,ESe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},ISe=bme,TSe=dge,PSe=DOe.exports,DSe=function(e,t){if(!t&&!nke)return!1;var n=!1;try{var r={};r[tke]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},NSe=function(e,t){var n,r=lke(e).constructor;return void 0===r||null==(n=lke(r)[uke])?t:cke(n)},ASe=Qke.set,RSe=Zke,MSe=function(e,t){if(iSe(e),oSe(t)&&t.constructor===e)return t;var n=aSe.f(e);return(0,n.resolve)(t),n.promise},jSe=function(e,t){var n=sSe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},LSe=Jke,zSe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},FSe=Qge,QSe=zve,BSe=gSe,USe=Wye("species"),WSe=FSe.get,qSe=FSe.set,$Se=FSe.getterFor("Promise"),VSe=wSe,KSe=ySe.TypeError,HSe=ySe.document,GSe=ySe.process,YSe=bSe("fetch"),XSe=LSe.f,ZSe=XSe,JSe="process"==ISe(GSe),eCe=!!(HSe&&HSe.createEvent&&ySe.dispatchEvent),tCe=QSe("Promise",(function(){if(!(TSe(VSe)!==String(VSe))){if(66===BSe)return!0;if(!JSe&&"function"!=typeof PromiseRejectionEvent)return!0}if(BSe>=51&&/native code/.test(VSe))return!1;var e=VSe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[USe]=t,!(e.then((function(){}))instanceof t)})),nCe=tCe||!DSe((function(e){VSe.all(e).catch((function(){}))})),rCe=function(e){var t;return!(!SSe(e)||"function"!=typeof(t=e.then))&&t},iCe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;RSe((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=o?u.ok:u.fail,f=u.resolve,p=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&lCe(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===u.promise?p(KSe("Promise-chain cycle")):(l=rCe(s))?l.call(s,f,p):f(s)):p(i)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&aCe(e,t)}))}},oCe=function(e,t,n){var r,i;eCe?((r=HSe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ySe.dispatchEvent(r)):r={promise:t,reason:n},(i=ySe["on"+e])?i(r):"unhandledrejection"===e&&jSe("Unhandled promise rejection",n)},aCe=function(e,t){ASe.call(ySe,(function(){var n,r=t.value;if(sCe(t)&&(n=zSe((function(){JSe?GSe.emit("unhandledRejection",r,e):oCe("unhandledrejection",e,r)})),t.rejection=JSe||sCe(t)?2:1,n.error))throw n.value}))},sCe=function(e){return 1!==e.rejection&&!e.parent},lCe=function(e,t){ASe.call(ySe,(function(){JSe?GSe.emit("rejectionHandled",e):oCe("rejectionhandled",e,t.value)}))},cCe=function(e,t,n,r){return function(i){e(t,n,i,r)}},uCe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,iCe(e,t,!0))},dCe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw KSe("Promise can't be resolved itself");var i=rCe(n);i?RSe((function(){var r={done:!1};try{i.call(n,cCe(dCe,e,r,t),cCe(uCe,e,r,t))}catch(n){uCe(e,r,n,t)}})):(t.value=n,t.state=1,iCe(e,t,!1))}catch(n){uCe(e,{done:!1},n,t)}}};tCe&&(VSe=function(e){ESe(this,VSe,"Promise"),CSe(e),fSe.call(this);var t=WSe(this);try{e(cCe(dCe,this,t),cCe(uCe,this,t))}catch(e){uCe(this,t,e)}},(fSe=function(e){qSe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=_Se(VSe.prototype,{then:function(e,t){var n=$Se(this),r=XSe(NSe(this,VSe));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=JSe?GSe.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&iCe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),pSe=function(){var e=new fSe,t=WSe(e);this.promise=e,this.resolve=cCe(dCe,e,t),this.reject=cCe(uCe,e,t)},LSe.f=XSe=function(e){return e===VSe||e===hSe?new pSe(e):ZSe(e)},"function"==typeof wSe&&(mSe=wSe.prototype.then,xSe(wSe.prototype,"then",(function(e,t){var n=this;return new VSe((function(e,t){mSe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof YSe&&vSe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return MSe(VSe,YSe.apply(ySe,arguments))}}))),vSe({global:!0,wrap:!0,forced:tCe},{Promise:VSe}),OSe(VSe,"Promise",!1),kSe("Promise"),hSe=bSe("Promise"),vSe({target:"Promise",stat:!0,forced:tCe},{reject:function(e){var t=XSe(this);return t.reject.call(void 0,e),t.promise}}),vSe({target:"Promise",stat:!0,forced:tCe},{resolve:function(e){return MSe(this,e)}}),vSe({target:"Promise",stat:!0,forced:nCe},{all:function(e){var t=this,n=XSe(t),r=n.resolve,i=n.reject,o=zSe((function(){var n=CSe(t.resolve),o=[],a=0,s=1;PSe(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=XSe(t),r=n.reject,i=zSe((function(){var i=CSe(t.resolve);PSe(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var fCe,pCe=I6.small-40,hCe=I6.medium-40;function mCe(e){return!!e&&yCe.test(e)}function gCe(e){return e?"https://www.google.com/maps/search/?api=1&".concat(Hg.stringify({query:e})):null}function vCe(e,t){var n;if(!e.useExternalContent)return null;var r=e.contents[t];return(null==r?void 0:r.active)&&(null==r?void 0:r.externalUrl)?r.externalUrl:null===(n=Object.values(e.contents).find((function(e){return e.active&&e.externalUrl})))||void 0===n?void 0:n.externalUrl}Te.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(fCe||(fCe=rme(["\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,T6,20,10,10,I6.small,20,pCe,I6.medium,hCe);var yCe=new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~#+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i");var bCe,wCe,xCe,_Ce,OCe=Te.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(wCe||(wCe=rme(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,2.3333333333333335,(function(e){return e.showPlaceholder&&De(bCe||(bCe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),I6.small,pCe,2.3333333333333335,I6.medium,(function(e){return e.defaultWidth?e.defaultWidth:250}));Te.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(xCe||(xCe=rme(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Te(n_e).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(_Ce||(_Ce=rme(["\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 kCe,SCe,CCe,ECe,ICe=function(t){var n=t.children,r=Jhe(t,["children"]);return e(ne,Zhe({},r,{className:Eq(JK,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}))},TCe=function(t){var r=LS().formatMessage,i=d(!1),o=i[0],a=i[1],l=s(k6).theme.palette.accent;return n(ome,Zhe({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:l}}},onDismiss:t.onCancel},{children:[e(PCe,{children:e(nC,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues})}),e(DCe,{"data-verify-item-input":!0,onChange:function(e,n){var r=n===t.compareValue;r!==o&&a(r)},ariaLabel:r({id:t.inputAriaLabelResourceKey})}),t.children,n(J,{children:[e(M,Zhe({onClick:t.onCancel,disabled:t.disabled},{children:e(nC,{id:"Generic.Cancel"})})),e(NCe,Zhe({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(nC,{id:"Generic.Delete"})}))]})]}))},PCe=Te.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(kCe||(kCe=rme(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),DCe=Te(A).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(SCe||(SCe=rme(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),NCe=Te(R).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(CCe||(CCe=rme(["\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})),ACe=function(t){var r=t.showDialog,i=t.titleResourceKey,o=t.titleResourceValues,a=t.infoResourceKey,l=t.infoResourceValues,c=t.onConfirm,u=t.onClose,d=t.children,f=LS().formatMessage,p=s(k6).theme.palette.accent;return n(ome,Zhe({hidden:!r,modalProps:{isBlocking:!0},dialogContentProps:{type:X.normal,subText:a?f({id:a},l):"",title:f({id:i},o),titleProps:{style:{color:p}}},onDismiss:u},{children:[d,n(J,{children:[e(M,Zhe({onClick:u,"data-cancel-button":!0},{children:e(nC,{id:"Generic.Cancel"})})),e(R,Zhe({"data-ok-button":!0,onClick:function(){null==c||c(),null==u||u()}},{children:e(nC,{id:"Generic.Ok"})}))]})]}))},RCe=function(t){var r=t.onConfirm,i=t.onCancel,o=LS().formatMessage,a=s(k6).theme.palette.accent;return e(ome,Zhe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:X.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:a}}},onDismiss:i},{children:n(MCe,{children:[e(nC,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"}),n(J,{children:[e(R,Zhe({onClick:r},{children:e(nC,{id:"Events.editor.recurrence.reset"})})),e(M,Zhe({onClick:i},{children:e(nC,{id:"Generic.Cancel"})}))]})]})}))},MCe=Te.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(ECe||(ECe=rme(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),jCe=function(t){var n=t.value,r=s(mC).language,i=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var r=Zhe(Zhe({},FCe),n||{}),i=(+e-+t)/1e3;if(Math.abs(i)<r.second)return{value:Math.round(i),unit:"second"};var o=i/60;if(Math.abs(o)<r.minute)return{value:Math.round(o),unit:"minute"};var a=i/3600;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var s=i/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var l=i/604800;if(Math.round(Math.abs(l))>0&&Math.abs(l)<r.week)return{value:Math.round(l),unit:"week"};var c=new Date(e),u=new Date(t),d=c.getFullYear()-u.getFullYear(),f=12*d+c.getMonth()-u.getMonth();if(Math.round(Math.abs(f))>0&&Math.abs(f)<r.month)return{value:Math.round(f),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=i.value,a=i.unit;return e(VS,Zhe({locale:r},{children:e(JS,{value:o,numeric:"auto",unit:a,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===a}))?10:void 0})}))};var LCe,zCe,FCe={second:45,minute:45,hour:22,day:6,week:4,month:12},QCe=function(e){return _l(e).isSame(new Date,"day")},BCe=function(t){var r=_l(t.value),i=r.toDate(),o=!t.showAsAbsolute&&(t.showAsRelative||QCe(t.value)),a={dateTime:i.toISOString(),title:r.format("LLLL")};return!t.showWeekDay&&o?e(WCe,Zhe({className:Eq(t.className)},a,{children:e(jCe,{value:i})})):n(WCe,Zhe({className:Eq(t.className)},a,{children:[e(rC,{weekday:t.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:i})," ",e(iC,{value:i})]}))},UCe=function(t){var r=t.startDate,i=t.endDate,o=t.className;if(!i)return e("div",Zhe({className:o},{children:e(BCe,{value:r,showWeekDay:!0})}));var a=_l(r),s=_l(i);return a.isSame(s,"d")?n("div",Zhe({className:o},{children:[e(BCe,{value:r,showWeekDay:!0})," - ",e(iC,{value:s.toDate()})]})):n("div",Zhe({className:o},{children:[e(BCe,{value:r,showWeekDay:!0})," - ",e(BCe,{value:i,showWeekDay:!0})]}))},WCe=Te.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(LCe||(LCe=rme(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));Te.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(zCe||(zCe=rme(["\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}),b6);var qCe,$Ce,VCe,KCe,HCe,GCe,YCe,XCe=function(t){var n,r=t.children,i=Jhe(t,["children"]);return e(W,Zhe({},i,{calloutProps:Zhe(Zhe({},i.calloutProps||{}),{className:Eq(JK,"lt-reach-dropdown",null===(n=i.calloutProps)||void 0===n?void 0:n.className)})},{children:r}))},ZCe=function(t){var r=t.svg,i=t.icon,o=t.styleDefinition,a=t.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=t.additionalButton,c=t.className,u=(null==o?void 0:o.size)||"large";return e(JCe,Zhe({className:c,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(eEe,Zhe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===u},{children:[i&&e(j,{iconName:i}),!i&&r,s.map((function(t,n){return e("p",{children:e(nC,{id:t})},n)})),l]}))}))},JCe=Te.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(VCe||(VCe=rme(["\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?De(qCe||(qCe=rme(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):De($Ce||($Ce=rme(["\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 "])))})),eEe=Te.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(GCe||(GCe=rme(["\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&&De(KCe||(KCe=rme(["\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&&De(HCe||(HCe=rme(["\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,I6.small)}),(function(e){return e.theme.palette.accent}),3,P6,24,30,30),tEe=function(e,t){return null!=e&&(e&t)===t};Te.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(YCe||(YCe=rme(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var nEe=Vve,rEe=Kve,iEe=Gve,oEe=dme,aEe=rye,sEe=[],lEe=sEe.sort,cEe=oEe((function(){sEe.sort(void 0)})),uEe=oEe((function(){sEe.sort(null)})),dEe=aEe("sort");nEe({target:"Array",proto:!0,forced:cEe||!uEe||!dEe},{sort:function(e){return void 0===e?lEe.call(iEe(this)):lEe.call(iEe(this),rEe(e))}});var fEe=function(n){var r=n.languages,i=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=LS(),c=l.formatMessage;return e(t,{children:_2.apply(void 0,nme([l],r,!1)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e(yEe,{children:e(bEe,{"data-translation-field":t.code,placeholder:null!=s?s:c({id:a},{lang:t.localizedName}),label:t.localizedName,value:i[t.code],onChange:function(e,n){var r;o(Zhe(Zhe({},i),((r={})[t.code]=n,r)))}})},t.code)}))})};Te.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(pEe||(pEe=rme(["\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 pEe,hEe,mEe,gEe,vEe,yEe=Te.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(hEe||(hEe=rme(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),bEe=Te(A).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(mEe||(mEe=rme(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));Te.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(gEe||(gEe=rme(["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"],["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"]))),Te.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(vEe||(vEe=rme(["\n display: flex;\n"],["\n display: flex;\n"])));var wEe,xEe,_Ee=function(t){var n=d(null==t.delay),r=n[0],i=n[1];return u((function(){if(null!=!t.delay){var e=setTimeout((function(){return i(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),r?e(OEe,Zhe({className:t.className},{children:e(E,Zhe({},t,{className:""}))})):null},OEe=Te.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(wEe||(wEe=rme(["\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"])));!function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(xEe||(xEe={}));var kEe=function(t){var r=t.fileName,i=t.url;if(!i)return null;var o=Ol.isAnyMobileApp||"safari"===sv.name?"".concat(i,"#t=0.1"):i;return n("div",{children:[e(Qxe,{fileName:r,url:i}),n("video",Zhe({preload:"metadata",controls:!0,title:r,width:"auto",height:"auto"},{children:[e("source",{src:o,type:"video/mp4"}),e(nC,{id:"Generic.videoReplayError",tagName:"p"})]}))]})};function SEe(e){var t,n=Ol.deviceInfo.operatingSystem,r="ios"===n||"mac"===n,i=null===(t=U$.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(xEe.mp4)||(r?i.startsWith(xEe.quicktime):i.startsWith(xEe.webm)))}var CEe,EEe,IEe=function(e,t){var n=e/2,r=t/2,i=Math.abs(e)+Math.abs(t);return"\n box-shadow: ".concat(n,"px ").concat(r,"px ").concat(i,"px grey;\n ")},TEe=function(e){return"\n &:-moz-placeholder {\n ".concat(e,";\n }\n &::-moz-placeholder {\n ").concat(e,";\n }\n &:-ms-input-placeholder {\n ").concat(e,";\n }\n &::-webkit-input-placeholder {\n ").concat(e,";\n }\n ")},PEe=function(e,t,n){return De(EEe||(EEe=rme(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function DEe(e){var t=new Image,n=new Promise((function(e){t.onload=function(t){var n=t.currentTarget;e({width:n.width,height:n.height})}}));return t.src=e,n}function NEe(e){return eme(this,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(DEe))];case 1:return[2,t.sent()]}}))}))}function AEe(e){return Wxe(e)?"MusicInCollectionFill":SEe(e)?"Video":jEe(null==e?void 0:e.split(".").pop().toLowerCase())}function REe(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 MEe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function jEe(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 LEe(){var e=LW(),t=jW(),n=t.createApiUrl,r=t.fetchFromApi,i=s(uC).identifier,o=jg(),a=null==i?void 0:i.id;return l((function(){return{exchangeShortLivedToken:function(e){return eme(this,void 0,void 0,(function(){var t;return tme(this,(function(n){switch(n.label){case 0:return e?[4,r("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":a}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom("".concat(t,"/").concat(n,"/file_access_token/types/short_lived")).get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t){var n=this;return function(){return eme(n,void 0,void 0,(function(){var n;return tme(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return n=r.sent(),window.open(n,"ios"===o.deviceInfo.operatingSystem?"_self":e),[2]}}))}))}}}}),[a,r,n,e])}var zEe,FEe,QEe,BEe,UEe,WEe,qEe,$Ee,VEe,KEe,HEe,GEe,YEe,XEe,ZEe,JEe,eIe,tIe,nIe=function(r){var i=r.files,o=r.onDeleteClick,a=r.getFileUrl,s=r.fileAccessToken,l=r.disabled,c=r.className;if(!i||0===i.length)return null;var u=i.filter((function(e){return a&&Wxe(e.filename)})),d=i.filter((function(e){return a&&SEe(e.filename)})),f=i.filter((function(e){return!u.includes(e)&&!d.includes(e)}));return n(t,{children:[d.length>0&&e(iIe,Zhe({className:c,"data-preload-video":Ol.isAnyMobileApp||"safari"===sv.name},{children:d.map((function(t){return e(oIe,{children:e(kEe,{fileName:t.filename,url:a(t.id)})},t.id)}))})),u.length>0&&e(rIe,Zhe({className:c},{children:u.map((function(t){return e(aIe,{children:e(Uxe,{fileName:t.filename,url:a(t.id)})},t.id)}))})),f.length>0&&e(rIe,Zhe({className:c},{children:f.map((function(t){return e(aIe,{children:e(sIe,{attachment:t,disabled:l,getFileUrl:a,fileAccessToken:s,onDeleteClick:o})},t.id)}))}))]})},rIe=Te.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(zEe||(zEe=rme(["\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"]))),iIe=Te.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(FEe||(FEe=rme(["\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),oIe=Te.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(QEe||(QEe=rme(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),aIe=Te.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(BEe||(BEe=rme(["\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,I6.small,5),sIe=function(t){var r=t.attachment,i=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=LS().formatMessage,c=!s&&i,u=LEe(),d=u.exchangeShortLivedToken,f=u.createDownloadClickHandler;return n(lIe,{children:[r.isUploadInProgress&&e(mIe,{children:e(gIe,{size:re.medium})}),e(uIe,Zhe({takeFullWidth:!c},{children:function(){var t=this;if(r.hasError)return n(dIe,{children:[e(vIe,{iconName:"Warning"}),e(hIe,Zhe({title:r.filename},{children:r.filename}))]});var i=AEe(r.filename);if(o)return n(cIe,Zhe({title:r.filename,onClick:f("_blank",(function(){return eme(t,void 0,void 0,(function(){var e;return tme(this,(function(t){switch(t.label){case 0:return[4,d(a)];case 1:return e=t.sent(),[2,o(r.id,e)]}}))}))}))},{children:[e(fIe,{iconName:i}),e(hIe,{children:r.filename})]}));return n(dIe,{children:[e(fIe,{iconName:i}),e(hIe,Zhe({title:r.filename},{children:r.filename}))]})}()})),c&&e(pIe,{iconProps:{iconName:"Delete"},onClick:function(){return i(r)},disabled:r.isUploadInProgress,ariaLabel:l({id:"AriaLabel.removeAttachmentButton"})})]})},lIe=Te.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(UEe||(UEe=rme(["\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})),cIe=Te(M).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(WEe||(WEe=rme(["\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})),uIe=Te.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(VEe||(VEe=rme(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?De(qEe||(qEe=rme(["\n width: 100%;\n "],["\n width: 100%;\n "]))):De($Ee||($Ee=rme(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),dIe=Te.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(KEe||(KEe=rme(["\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),fIe=Te(j).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(HEe||(HEe=rme(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),pIe=Te(T).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(GEe||(GEe=rme(["\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})),hIe=Te.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(YEe||(YEe=rme(["\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"]))),mIe=Te.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(XEe||(XEe=rme(["\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"]))),gIe=Te(_Ee).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(ZEe||(ZEe=rme(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),vIe=Te(j).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(JEe||(JEe=rme(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),yIe=function(r){var i,o=r.children,a=Jhe(r,["children"]);return n(t,{children:[e(bIe,{}),e(ome,Zhe({},a,{modalProps:Zhe(Zhe({},a.modalProps||{}),{className:Eq({"lt-reach-dialog-mobile-full-height":Ol.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}))]})},bIe=Pe(eIe||(eIe=rme(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(tIe||(tIe={})),Te.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(_Ie||(_Ie=rme(["\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?De(wIe||(wIe=rme(["\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 "])),I6.medium,e.offsetTop+20):De(xIe||(xIe=rme(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)}));var wIe,xIe,_Ie,OIe,kIe,SIe,CIe,EIe,IIe,TIe,PIe,DIe,NIe=function(e){return De(SIe||(SIe=rme(["\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?De(OIe||(OIe=rme(["\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})):De(kIe||(kIe=rme(["\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})))};Pe(CIe||(CIe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return YK("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: ".concat(e.theme.palette.themePrimary,";\n outline-offset: 5px;\n border-radius: 50%;\n }\n "))})),Te(T).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(EIe||(EIe=rme(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return NIe(e.useSecondaryBgColor)})),Te(Xwe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(IIe||(IIe=rme(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return NIe(e.useSecondaryBgColor)})),Te.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(TIe||(TIe=rme(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),Te(M).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(PIe||(PIe=rme(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),Pe(DIe||(DIe=rme(["\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"])),T6);var AIe,RIe=function(t){var n=t.tagName,r=void 0===n?"div":n,i=t.id,o=t.values,a=t.className;return w(r,{className:a},e(nC,{id:i,values:o}))},MIe=function(t){var r=t.icon,i=t.resourceKey,o=t.className,a=t.values,s="string"==typeof r?e(j,{iconName:r}):r;return n(jIe,Zhe({className:o},{children:[s,e(nC,{id:i,values:a,tagName:"span"})]}))},jIe=Te.div(AIe||(AIe=rme(["\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),LIe={},zIe=new Yq;var FIe=new Yq;function QIe(e){var t=c(!0);u((function(){t.current||FIe.next(),t.current=!1}),e)}var BIe,UIe,WIe,qIe,$Ie=function(t){var n=t.groupName,r=t.groupId,i=t.keywordName,o=t.keywordId,a=t.language,l=t.underlined,c=t.onClick,u=t.tabIndex,d=Q0(),f=S2(s(t7).selectedKeywordGroups,d,r,i,n,a);return c?e(KIe,Zhe({onClick:function(){return c(o)},tabIndex:u},{children:e(HIe,Zhe({underlined:!0},{children:f}))})):e(HIe,Zhe({underlined:l},{children:f}))},VIe=function(t){var n=t.groupId,r=t.keywordName,i=Q0(),o=S2(s(t7).selectedKeywordGroups,i,n,r);return QIe([o]),e(HIe,Zhe({underlined:!0},{children:o}))},KIe=Te(n_e).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(BIe||(BIe=rme(["\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})),HIe=Te.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(WIe||(WIe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&De(UIe||(UIe=rme(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),GIe=function(t){var r=t.modified,i=LS();return r?n(YIe,Zhe({className:"ms-fontColor-neutralTertiary"},{children:["(",e(Xwe,Zhe({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(r,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(r);return"".concat(e," ").concat(t)}()}},{children:e(nC,{id:"Generic.wasModified"})})),")"]})):null},YIe=Te.div(qIe||(qIe=rme(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function XIe(){return XIe=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},XIe.apply(this,arguments)}var ZIe=function(e){return i.createElement("svg",XIe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),i.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),i.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),i.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function JIe(){return JIe=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},JIe.apply(this,arguments)}var eTe=function(e){return i.createElement("svg",JIe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),i.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),i.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),i.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function tTe(){return tTe=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},tTe.apply(this,arguments)}var nTe=function(e){return i.createElement("svg",tTe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),i.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),i.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function rTe(){return rTe=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},rTe.apply(this,arguments)}var iTe,oTe,aTe,sTe,lTe,cTe,uTe,dTe,fTe,pTe,hTe,mTe=function(e){return i.createElement("svg",rTe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),i.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),i.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),i.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),i.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),i.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),i.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},gTe=function(t){var n=t.images,r=t.selectedIndex,i=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=SO((function(){return eme(this,void 0,void 0,(function(){var e;return tme(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}):DEe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],c=s[1],u=s[2];return c||u?null:e(se,{children:e(vTe,{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})})},vTe=function(r){var i=r.images,o=r.hidden,a=r.selectedIndex,s=r.onClose,l=LS().formatMessage,d=c(null),f=c();return u((function(){var e;if(!o)return clearTimeout(f.current),f.current=setTimeout((function(){return e=function(){var e=new q7(d.current,V7,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}()}),Ol.isNativeMobileApp?500:200),function(){return null==e?void 0:e.close()}}),[o,a]),n(t,{children:[e(yTe,{enforceArrowVisibility:!Ol.isNativeMobileApp}),n("div",Zhe({ref:d,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"}),n("div",Zhe({className:"pswp__scroll-wrap"},{children:[n("div",Zhe({className:"pswp__container"},{children:[e("div",{className:"pswp__item"}),e("div",{className:"pswp__item"}),e("div",{className:"pswp__item"})]})),n("div",Zhe({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",Zhe({className:"pswp__top-bar"},{children:[e("div",{className:"pswp__counter"}),e("button",{className:"pswp__button pswp__button--close",title:l({id:"ImageViewer.closeCaption"})}),e("button",{className:"pswp__button pswp__button--fs",title:l({id:"ImageViewer.toggleFullscreenCaption"})}),e("div",Zhe({className:"pswp__preloader"},{children:e("div",Zhe({className:"pswp__preloader__icn"},{children:e("div",Zhe({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"})}))}))}))]})),e("div",Zhe({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:e("div",{className:"pswp__share-tooltip"})})),e("button",{className:"pswp__button pswp__button--arrow--left",title:l({id:"ImageView.previousCaption"})}),e("button",{className:"pswp__button pswp__button--arrow--right",title:l({id:"ImageView.nextCaption"})}),e("div",Zhe({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"})}))]}))]}))]}))]})},yTe=Pe(oTe||(oTe=rme(["\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&&De(iTe||(iTe=rme(["\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 "])))})),bTe=function(r){var i=r.images,o=r.imageUrlResolver,a=r.disableRoundedCorners,l=r.gridBackgroundColor,c=r.className,u=LS().formatMessage,f=d(null),p=f[0],h=f[1],m=s(k6).theme.palette;if(!i||0===i.length)return null;var g=i.length>4,v=i.length>1,y=i[0];return n(xTe,Zhe({"data-multi-images":v,className:c,singleImageHeight:y.height,singleImageWidth:y.width},{children:[e("div",Zhe({"data-gallery-wrapper":!0},{children:v?n(t,{children:[e(OTe,Zhe({backgroundColor:null!=l?l:m.neutralLight,applyRoundedCorners:!a},{children:i.slice(0,4).map((function(t,n){return e(kTe,Zhe({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),b(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(STe,{src:t.previewUrl,imageFit:ae.centerCover,alt:t.imageTitle||""})}),n)}))})),g&&n(CTe,Zhe({onClick:function(){return b(4)}},{children:["+",i.length-4]}))]}):e(wTe,{image:y,onClick:function(){return b(0)},disableRoundedCorners:a})})),e(gTe,{images:i,selectedIndex:p,hidden:null==p,onClose:function(){h(null)},imageUrlResolver:o})]}));function b(e){h(e)}},wTe=function(t){var n=t.image,r=t.onClick,i=t.disableRoundedCorners,o=LS().formatMessage;return e(_Te,Zhe({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:""})}))},xTe=Te.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(sTe||(sTe=rme(["\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&&De(aTe||(aTe=rme(["\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)})),_Te=Te.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(cTe||(cTe=rme(["\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&&De(lTe||(lTe=rme(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),OTe=Te.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(dTe||(dTe=rme(["\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&&De(uTe||(uTe=rme(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),kTe=Te.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(fTe||(fTe=rme(["\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"]))),STe=Te(L).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(pTe||(pTe=rme(["\n height: 100%;\n"],["\n height: 100%;\n"]))),CTe=Te(M).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(hTe||(hTe=rme(["\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,I6.small,28);function ETe(e,t){if(Ol.isNativeMobileApp){var n=[e,t||"",!0,!0,!1,""];window.cordova.exec((function(){}),(function(){}),"PhotoViewer","show",n)}}var ITe,TTe,PTe,DTe,NTe,ATe,RTe=function(t){var n=t.icon,r=t.isActive,i=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,c=Jhe(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),u=LS().formatMessage;if(!s&&!a)return null;var d=Eq("header-button",l),f=s?e(LTe,Zhe({className:d,to:s},c,{children:e(j,{iconName:n})})):e(jTe,Zhe({className:d,disabled:i,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:u({id:o}),"data-button-type":"header-btn",isActive:r},c));return e(MTe,Zhe({className:"tooltip-container"},{children:e(Xwe,Zhe({resourceKey:o},{children:f}))}))},MTe=Te.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(ITe||(ITe=rme(["\n height: 100%;\n"],["\n height: 100%;\n"]))),jTe=Te(T).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(DTe||(DTe=rme(['\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&&De(TTe||(TTe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&De(PTe||(PTe=rme(["\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)})),LTe=Te(Oe).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(ATe||(ATe=rme(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return De(NTe||(NTe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),zTe=Ome,FTe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",QTe=RegExp("^"+FTe+FTe+"*"),BTe=RegExp(FTe+FTe+"*$"),UTe=function(e){return function(t){var n=String(zTe(t));return 1&e&&(n=n.replace(QTe,"")),2&e&&(n=n.replace(BTe,"")),n}},WTe={start:UTe(1),end:UTe(2),trim:UTe(3)},qTe=dme,$Te="\t\n\v\f\r                 \u2028\u2029\ufeff",VTe=WTe.trim,KTe=function(e){return qTe((function(){return!!$Te[e]()||"​…᠎"!="​…᠎"[e]()||$Te[e].name!==e}))};Vve({target:"String",proto:!0,forced:KTe("trim")},{trim:function(){return VTe(this)}});var HTe,GTe,YTe,XTe,ZTe,JTe,ePe,tPe,nPe,rPe,iPe,oPe,aPe,sPe,lPe,cPe,uPe,dPe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.children,a=t.className,l=t.style,c=Jhe(t,["url","target","ariaLabel","children","className","style"]),u=B0(),d=G5(),f=s(sC),p=f.onOpenExternalLink,h=f.tryGetInternalLink,m=!r&&h(n,d);return m?e(fxe,Zhe({className:a,to:m,"aria-label":i,style:l},c,{children:o})):Ol.isNativeMobileApp&&u.inAppBrowser?e(fPe,Zhe({url:n,target:r,onClick:function(e){return eme(void 0,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return e.stopPropagation(),e.preventDefault(),[4,p(n)];case 1:return t.sent(),[2]}}))}))},className:a,ariaLabel:i,style:l},c,{children:o})):e(fPe,Zhe({url:n,target:r,className:a,ariaLabel:i,style:l},c,{children:o}))},fPe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,c=Jhe(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(dxe,Zhe({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,style:l},c,{children:s}))},pPe=De(HTe||(HTe=rme(["\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"]))),hPe=Te(dPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(GTe||(GTe=rme(["\n ","\n"],["\n ","\n"])),pPe),mPe=Te(fPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(YTe||(YTe=rme(["\n ","\n"],["\n ","\n"])),pPe),gPe=Te(T).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(ZTe||(ZTe=rme(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&De(XTe||(XTe=rme(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),vPe=Te((function(t){var r,i=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,c=t.target,u=t.tooltipText,d=t.tooltipResourceKey,f=t.disabled,p=t.className,h=Jhe(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=LS().formatMessage,g=o||(null===(r=null==a?void 0:a.trim())||void 0===r?void 0:r.length)>0&&m({id:a});return n(Xwe,Zhe({resourceKey:d,text:u},{children:[l&&!s&&e(hPe,Zhe({url:l,ariaLabel:g,target:c},h,{children:e(j,{iconName:i,className:p})})),s&&!l&&e(gPe,Zhe({disabled:f,iconProps:{iconName:i},onClick:s,className:p,ariaLabel:g},h)),s&&l&&e(mPe,Zhe({url:l,target:c,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(j,{iconName:i,className:p})}))]}))})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(ePe||(ePe=rme(["\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&&De(JTe||(JTe=rme(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),yPe=function(t){var r=t.shouldAutoFocus,i=void 0===r||r,o=LS(),a=d(null),l=a[0],f=a[1],p=xe(),h=s(k6).theme.textColors,m=c();return u((function(){return E7(v),i&&setTimeout((function(){var e;return m&&(null===(e=m.current)||void 0===e?void 0:e.focus())})),function(){I7(v)}}),[]),u((function(){f("")}),[p.pathname]),n(xPe,Zhe({className:Eq("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(bPe,{className:"search-input",useLightTheme:t.useLightTheme,default:!0,value:l||t.searchText||"",onChange:function(e,t){return g(t)},onKeyDown:function(e){"Enter"===e.key&&t.onExecuteSearch&&t.onExecuteSearch(l);"Escape"===e.key&&g("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:t.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return m.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0}),t.searching&&e(wPe,{className:"search-spinner"}),e(_Pe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;f(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&h.onPrimary})]}));function g(e){var n;f(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function v(){return!(!l&&!t.searchText)&&(g(""),!0)}},bPe=Te(A).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(rPe||(rPe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?De(tPe||(tPe=rme(["\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}),TEe("color: ".concat(e.theme.textColors.default))):De(nPe||(nPe=rme(["\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}),TEe("color: ".concat(e.theme.textColors.onPrimary)))})),wPe=Te(E).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(iPe||(iPe=rme(["\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})),xPe=Te.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(sPe||(sPe=rme(["\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"])),TEe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?De(oPe||(oPe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):De(aPe||(aPe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),_Pe=Te(oxe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(lPe||(lPe=rme(["\n align-self: center;\n"],["\n align-self: center;\n"]))),OPe=function(r){var i=r.onSearchInputFieldVisibilityChanged,o=r.isToolbarMode,a=r.onExecuteSearch,s=r.onSearchTextChange,l=r.searchText,c=r.showSearchBoxInput,f=r.className,p=r.shouldAutoFocus,h=d(!!l),m=h[0],g=h[1],v=c||m||!!l;return u((function(){null==i||i(v)}),[v]),n(t,{children:[v&&e(yPe,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),y(!1)},shouldAutoFocus:p,className:f,useLightTheme:o}),!v&&(o?e(vPe,{iconName:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"}):e(RTe,{icon:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search"}))]});function y(e){g(e),null==i||i(e)}};Te.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(cPe||(cPe=rme(["\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"}(uPe||(uPe={})),Te(j).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(kPe||(kPe=rme(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),Te.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(EPe||(EPe=rme(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?De(SPe||(SPe=rme(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):De(CPe||(CPe=rme(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),Te.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(IPe||(IPe=rme(["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"],["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"])),(function(e){var t=e.isLoading,n=e.disableSort;return t?"wait":n?"default":"pointer"})),Te.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(TPe||(TPe=rme(["\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 kPe,SPe,CPe,EPe,IPe,TPe,PPe,DPe,NPe,APe=Te.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(PPe||(PPe=rme(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));Te.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(DPe||(DPe=rme(["\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"}),APe,(function(e){return e.isLoading?"0.6":"1"})),Te(_Ee).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(NPe||(NPe=rme(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var RPe,MPe,jPe,LPe,zPe,FPe=function(t){return e(QPe,Zhe({},t,{"data-toggle-button":!0}))},QPe=Te(z).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(RPe||(RPe=rme(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),BPe=function(e){return De(MPe||(MPe=rme(["\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 UPe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[x2(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}Te.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(LPe||(LPe=rme(["\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&&De(jPe||(jPe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),Te(j).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(zPe||(zPe=rme(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var WPe,qPe,$Pe,VPe,KPe,HPe,GPe,YPe,XPe,ZPe=function(r){var i=r.enterDuration,o=r.leaveDuration,a=r.children,s=r.style,l=r.className,c=!!i,u=!!o,d="common-opacity-animation_".concat(i,"_").concat(o);return n(t,{children:[e(JPe,{name:d,enterDuration:i,leaveDuration:o}),e(I9,Zhe({style:s,className:l,transitionName:d,transitionAppear:c,transitionEnter:c,transitionLeave:u,transitionLeaveTimeout:o,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:a}))]})},JPe=Pe(WPe||(WPe=rme(["\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})),eDe=function(t){var n=t.contentLanguageCode,r=t.originalContent,i=t.content,o=t.onTranslate,a=t.onContentChange,s=t.tooltipResourceKey,l=t.showLabel,c=LS().formatMessage,f=Q0(),p=B0(),h=d(null),m=h[0],g=h[1],v=d(r===i),y=v[0],b=v[1],w=F6().showError,x=x2(f);if(u((function(){return g(null)}),[r]),!p.automaticTranslation)return null;var _=c({id:"Generic.translate"});return n&&n!==x&&w2.includes(x)&&!b2.includes(x)?e(Xwe,Zhe({resourceKey:y?"Generic.translateTo":s,values:{language:c({id:"Generic.languages.".concat(x)})}},{children:e(tDe,Zhe({"aria-label":l?null:_,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return eme(this,void 0,void 0,(function(){var e;return tme(this,(function(t){switch(t.label){case 0:return y?m?(a(m),b(!1),[3,4]):[3,1]:(a(r),b(!0),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(x)];case 2:return e=t.sent(),a(e),g(e),b(!1),[3,4];case 3:return t.sent(),w("Generic.error"),[3,4];case 4:return[2]}}))}))}},{children:l&&_}))})):null},tDe=Te(n_e)(qPe||(qPe=rme(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),nDe=Te(F).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})($Pe||($Pe=rme(["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),rDe=function(r){var i=r.comment,o=r.showEdit,a=r.showDelete,s=r.onDelete,l=r.isEditMode,u=r.toggleEditMode,f=r.originalContent,p=r.currentContent,h=r.setContent,m=r.handleTranslate,g=r.showAutoTranslate,v=r.onReply,y=r.disabled,b=LS().formatMessage,w=Q0(),x=d(!1),_=x[0],O=x[1],k=c(null);return w.isPublicUser&&!g?null:w.isPublicUser&&g?e(eDe,{"data-auto-translate-button":i.id,originalContent:f,onContentChange:function(e){O(!1),h(e)},content:p,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0}):n(t,{children:[e("div",Zhe({ref:k},{children:e(oDe,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return O(!_)},ariaLabel:b({id:"AriaLabel.contextMenuButton"}),disabled:y})})),_&&e(sDe,Zhe({"data-context-menu":!0,target:k.current,onDismiss:function(){return O(!1)}},{children:n(iDe,{children:[e(Xwe,Zhe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:e(aDe,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==v||v(i,i.sender),O(!1)},text:b({id:"Comment.replyButton"})})})),g&&e(eDe,{"data-auto-translate-button":i.id,originalContent:f,onContentChange:function(e){O(!1),h(e)},content:p,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0}),o&&e(Xwe,Zhe({resourceKey:"Comment.edit.tooltip"},{children:e(aDe,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),O(!1)},text:b({id:"Generic.edit"}),disabled:!i.id||l})})),a&&e(Xwe,Zhe({resourceKey:"Comment.delete.tooltip"},{children:e(aDe,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),O(!1)},text:b({id:"Generic.Delete"}),disabled:!i.id||l})}))]})}))]})},iDe=Te.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(VPe||(VPe=rme(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),oDe=Te(oxe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(KPe||(KPe=rme(["\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),aDe=Te(n_e).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(HPe||(HPe=rme(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),sDe=Te(ICe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(GPe||(GPe=rme(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);Te(M).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(YPe||(YPe=rme(["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"],["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"]))),Te(M).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(XPe||(XPe=rme(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var lDe,cDe,uDe,dDe,fDe,pDe=Te(T).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(lDe||(lDe=rme(["\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})),hDe=function(t){var r=t.toggleAll,i=t.className,o=s(k6).theme.palette.accent;return n(mDe,Zhe({className:i},{children:[e(gDe,Zhe({onClick:function(){return r(!0)},"data-button-toggle":"selectAll",color:o},{children:e(nC,{id:"Generic.SelectAll"})})),e(gDe,Zhe({onClick:function(){return r(!1)},"data-button-toggle":"clearAll",color:o},{children:e(nC,{id:"Generic.ClearAll"})}))]}))},mDe=Te.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(cDe||(cDe=rme(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),gDe=Te(n_e).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(uDe||(uDe=rme(["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"],["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"])));Te((function(t){var r=t.iconName,i=t.textKey,o=Jhe(t,["iconName","textKey"]);return n(ke,Zhe({},o,{children:[r&&e(j,{iconName:r}),e(nC,{id:i})]}))})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(dDe||(dDe=rme(["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"],["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"])),10,(function(e){return e.theme.palette.accent})),Te(oxe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(fDe||(fDe=rme([""],[""])));var vDe,yDe,bDe,wDe,xDe=function(t){var n=t.language,r=t.channel,i=t.role,o=t.className,a=Q0(),l=SDe(s(t7).channels,r,a,n);return e(_De,Zhe({title:l,className:o,role:i},{children:l}))},_De=Te.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(vDe||(vDe=rme(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),ODe=function(r){var i=r.channels,o=r.language;return e(t,{children:i.map((function(t,r){var i=kDe(t)?t.id:t;return n("span",{children:[r>0&&", ",e(xDe,{channel:t,language:o})]},i)}))})};function kDe(e){return null!=e.id}function SDe(e,t,n,r){if(null==e&&!kDe(t))return t;var i=kDe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==i)return null;r||(r=x2(n));var o=i.translations||null!=e&&e.filter((function(e){return e.id===i.id})).map((function(e){return e.translations}))[0]||{};return r&&o[r]||o[n.subscription.defaultLanguage]||i.name}Te(xDe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(yDe||(yDe=rme(["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"],["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"])),(function(e){return e.applyMargin?"37":"0"}),25),Te.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(bDe||(bDe=rme(["\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,IEe(2,2),25),Te(oxe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(wDe||(wDe=rme(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var CDe,EDe,IDe,TDe,PDe,DDe,NDe,ADe,RDe,MDe,jDe,LDe=function(t){var r=t.channels,i=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,c=t.className;if(!r||0===r.length)return null;var u=r.length>s;return n(QDe,Zhe({className:c,"data-has-more-indicator":u},{children:[e(zDe,{channels:r.slice(0,s),language:i,channelStyleDefinition:o,onChannelClick:l}),u&&e(FDe,{channels:r.slice(s),language:i,styleDefinition:o,onChannelClick:l})]}))},zDe=function(t){var n=t.channels,r=t.language,i=t.channelStyleDefinition,o=t.onChannelClick;return e(BDe,Zhe({"data-channels":!0},{children:n.map((function(t){var a=e(xDe,{channel:t,language:r});return o?e(UDe,Zhe({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):e(WDe,Zhe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color},{children:a}),t)}))}))},FDe=function(r){var i=r.channels,o=r.language,a=r.styleDefinition,s=r.onChannelClick,l=c(),u=d(!1),f=u[0],p=u[1];return n(t,{children:[e($De,Zhe({ref:l,backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color},{children:e(VDe,Zhe({onClick:function(){return p(!0)}},{children:"+".concat(i.length)}))})),f&&e(KDe,Zhe({target:l.current,onDismiss:function(){return p(!1)}},{children:e(HDe,{children:i.map((function(t){return e("li",{children:s?e(n_e,Zhe({onClick:function(){return s(t)}},{children:e(xDe,{channel:t,language:o})})):e(xDe,{channel:t,language:o})},t)}))})}))]})},QDe=Te.div(CDe||(CDe=rme(["\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),BDe=Te.div(EDe||(EDe=rme(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),UDe=Te(n_e)(IDe||(IDe=rme(["\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 qDe(e.bubbleCount,e.backgroundColor,e.color)})),WDe=Te.span(TDe||(TDe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return qDe(e.bubbleCount,e.backgroundColor,e.color)})),qDe=function(e,t,n){return De(NDe||(NDe=rme(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&De(PDe||(PDe=rme(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&De(DDe||(DDe=rme(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),Zwe({backgroundColor:t,color:n}))},$De=Te.div(ADe||(ADe=rme(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return Zwe({backgroundColor:e.backgroundColor,color:e.color})})),VDe=Te(n_e)(RDe||(RDe=rme(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),KDe=Te(ICe)(MDe||(MDe=rme(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),HDe=Te.ul(jDe||(jDe=rme(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),GDe=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(fNe,Zhe({className:l,"data-channels":r.join(",")},{children:r.map((function(t){var r=YDe(t)?t.id:t,l=e(pNe,Zhe({backgroundColor:a},{children:e(xDe,{channel:t,language:o})}));return n("li",{children:[i&&e(hNe,Zhe({"data-channel":!0,to:i(YDe(t)?t.name:t),"data-rounded-outline":!0},{children:l})),s&&e(gNe,Zhe({"data-rounded-outline":!0,onClick:function(){return s(YDe(t)?t.name:t)}},{children:l})),!s&&!i&&e(mNe,{children:l})]},r)}))})):null};function YDe(e){return null!=e.id}var XDe,ZDe,JDe,eNe,tNe,nNe,rNe,iNe,oNe,aNe,sNe,lNe,cNe,uNe,dNe,fNe=Te.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(XDe||(XDe=rme(["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),14),pNe=Te.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(ZDe||(ZDe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?Zwe({backgroundColor:e.backgroundColor}):Zwe()})),hNe=Te(ke).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(JDe||(JDe=rme(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"])),(function(e){return e.theme.textColors.default}),6),mNe=Te.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(eNe||(eNe=rme(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),gNe=Te(n_e).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(tNe||(tNe=rme(["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"],["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"])),6),vNe=function(r){var i=r.searchText,o=r.onSearchTextChange,a=r.onExecuteSearch,s=r.onSearchIconClick,l=r.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(yNe,{children:e(OPe,{searchText:i,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0})}),e(bNe,{children:e(vPe,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"})})]})},yNe=Te.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(nNe||(nNe=rme(["\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"])),P6),bNe=Te.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(rNe||(rNe=rme(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),I6.medium),wNe=function(t){var r=t.leftSide,i=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,c=t.children,u=d(!1),f=u[0],p=u[1];return n(xNe,Zhe({className:l,"data-content-toolbar":!0},{children:[n(kNe,{children:[r&&!i&&e(_Ne,{children:r}),(o||s)&&!a&&n(ONe,{children:[s&&e(vNe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){f?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}}),o]})]}),c,s&&f&&e(SNe,{children:e(yPe,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0})})]}));function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},xNe=Te.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(iNe||(iNe=rme(["\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),_Ne=Te.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(oNe||(oNe=rme(["\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"]))),ONe=Te.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(aNe||(aNe=rme(["\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"]))),kNe=Te.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(sNe||(sNe=rme(["\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"]))),SNe=Te.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(lNe||(lNe=rme(["\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"])),I6.medium);Te(wNe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(cNe||(cNe=rme(["\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,I6.medium,20,20),Te.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(uNe||(uNe=rme(["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"]))),Te.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(dNe||(dNe=rme([""],[""])));var CNe,ENe,INe,TNe,PNe,DNe,NNe,ANe,RNe,MNe,jNe,LNe,zNe,FNe,QNe,BNe,UNe,WNe=function(r){var i=r.onEmojiSelected,o=r.disabled,a=c(null),s=d(!1),l=s[0],u=s[1],f=LS().formatMessage;return n(t,{children:[e(qNe,Zhe({ref:a},{children:e(oxe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:o,ariaLabel:f({id:"AriaLabel.emojiButton"})})})),l&&e($Ne,Zhe({directionalHint:H.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(KNe,{onSelect:function(e){u(!1),i(e.native)}})}))]})},qNe=Te.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(CNe||(CNe=rme([""],[""]))),$Ne=Te(ICe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(ENe||(ENe=rme(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),VNe=y((function(){return import("./EmojiPicker.js")})),KNe=function(t){var n=t.onSelect,r=CO();return e(b,Zhe({fallback:e(HNe,Zhe({isSmaller:r.width<I6.small},{children:e(_Ee,{})}))},{children:e(VNe,{onSelect:n})}))},HNe=Te.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(INe||(INe=rme(["\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})),GNe=function(){var t=Mg();return e(YNe,{children:e("a",Zhe({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:e("img",{src:"".concat(t.webAppUrl,"/assets/giphy/PoweredBy_200px-White_HorizText.png"),alt:"Giphy Attribution"})}))})},YNe=Te.div(TNe||(TNe=rme(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),XNe=function(t){var r,i,o=t.onGifClick,a=t.className,s=Kg(),l=LS().formatMessage,c=new Ute.GiphyFetch(s.giphy.apiKey),u=d(null),f=u[0],p=u[1],h=Hhe(f,500)[0],m=CO(),g=SO((function(){if(!h)return c.trending({limit:21});return c.search(h,{limit:21})}),null,[h]),v=g[0],y=g[1],b=m.width<550?80:100;return n(ZNe,Zhe({className:a},{children:[e(ie,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return p(t)},autoFocus:!0}),n(JNe,Zhe({columnWidth:b,"data-gif-grid":!0},{children:[y&&e(_Ee,{delay:300}),0===(null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.length)&&e(nC,{id:"Generic.noResultsFound"}),null===(i=null==v?void 0:v.data)||void 0===i?void 0:i.map((function(t){return e(eAe,{gif:t,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}))]}))},ZNe=Te.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(PNe||(PNe=rme(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),JNe=Te.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(DNe||(DNe=rme(["\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),eAe=Te(T9.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(NNe||(NNe=rme(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),tAe=function(t){var r=t.target,i=t.onGifClick,o=t.onDismiss;return n(nAe,Zhe({directionalHint:H.topCenter,target:r,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(rAe,{onGifClick:i}),e(GNe,{})]}))},nAe=Te(ICe)(ANe||(ANe=rme(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),rAe=Te(XNe)(RNe||(RNe=rme(["\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"]))),iAe=function(t){var r=t.onGifClick,i=t.onDismiss;return n(yIe,Zhe({hidden:!1,modalProps:{isBlocking:!0,className:"dialog-gif-selector"},dialogContentProps:{type:X.close},onDismiss:i},{children:[e(oAe,{}),e(aAe,{onGifClick:r}),e(GNe,{})]}))},oAe=Pe(MNe||(MNe=rme(["\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"])),T6),aAe=Te(XNe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(jNe||(jNe=rme(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10),sAe=function(r){var i=r.disabled,o=r.onGifClick,a=B0(),s=LS().formatMessage,l=c(),u=d(!1),f=u[0],p=u[1],h=Ol.isAnyMobileApp;return a.giphy?n("div",{children:[e("div",Zhe({ref:l},{children:e(oxe,{iconProps:{iconName:"Gif"},onClick:function(){return p(!0)},disabled:i,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})})})),f&&e(t,{children:h?e(iAe,{onGifClick:m,onDismiss:function(){return p(!1)}}):e(tAe,{target:l.current,onGifClick:m,onDismiss:function(){return p(!1)}})})]}):null;function m(e){p(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:z1.Giphy})}},lAe=function(t){var n=t.gifInfo,r=t.className,i=Kg(),o=d(),a=o[0],s=o[1];return u((function(){new Ute.GiphyFetch(i.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[i.giphy.apiKey,n.id]),a?e(cAe,Zhe({className:r},{children:e(uAe,{gif:a,width:300,noLink:!0,hideAttribution:!0})})):null},cAe=Te.div(LNe||(LNe=rme([""],[""]))),uAe=Te(T9.Gif)(zNe||(zNe=rme(["\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"])),T6),dAe=function(t){var n=t.attachments,r=t.onDeleteClick,i=t.className,o=LS().formatMessage,a=n.filter((function(e){return e.type===z1.Giphy}));return 0===a.length?null:e(fAe,Zhe({className:i,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(pAe,Zhe({domIdentifier:"gif",deleteButton:e(pDe,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return r(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})})},{children:e(lAe,{gifInfo:t})}),t.id)}))}))},fAe=Te.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(FNe||(FNe=rme(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),pAe=Te(Zxe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(QNe||(QNe=rme(["\n width: auto;\n"],["\n width: auto;\n"]))),hAe=function(t){var n=t.attachments,r=t.className,i=n.filter((function(e){return e.type===z1.Giphy}));return 0===i.length?null:e(mAe,Zhe({className:r,"data-gif-url-preview":i[0].id},{children:e(gAe,{children:e(lAe,{gifInfo:i[0]})})}))},mAe=Te.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(BNe||(BNe=rme(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),gAe=Te(Zxe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(UNe||(UNe=rme(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var vAe,yAe,bAe,wAe=function(t){var r,i,o=c(null),a=d(!1),s=a[0],l=a[1];return n(xAe,Zhe({className:t.className},((r={})[t.dataAttribute]=!0,r),{ref:o},{children:[e(_Ae,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return eme(this,void 0,void 0,(function(){var e,n;return tme(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}),s&&e(OAe,Zhe({className:"icon-with-callout-content",target:o,directionalHint:null==t.directionalHint?H.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}))]}))},xAe=Te.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(vAe||(vAe=rme(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),_Ae=Te(oxe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(yAe||(yAe=rme(["\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"]))),OAe=Te(ICe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(bAe||(bAe=rme(["\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"]))),kAe="video-view-container";function SAe(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 CAe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function EAe(e){return IAe(null==e?void 0:e.preferredLocale)||IAe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||IAe(null==e?void 0:e.preferredUiLanguage)||IAe(navigator.language)||"en"}function IAe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),CAe.find((function(t){return t===e}))):null}var TAe,PAe,DAe,NAe,AAe,RAe,MAe,jAe,LAe,zAe=function(t){var r=t.onNextClick,i=t.onPrevClick,o=t.onFirstClick,a=t.hidePrevButton,l=t.hideNextButton,c=t.isLoadingNextPage,u=t.className,d=LS().formatMessage,f=s(k6).theme.palette;return l&&a?null:n(FAe,Zhe({className:u},{children:[e(Xwe,Zhe({resourceKey:"Lib.paging.goToFirstPage"},{children:e(BAe,{ariaLabel:d({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:f.accent,"data-horizontal-pager-first-page-button":!0})})),e(UAe,{iconProps:{iconName:"ChevronLeftSmall"},text:d({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:i,color:f.accent,"data-horizontal-pager-back-button":!0}),e(WAe,{iconProps:{iconName:"ChevronRightSmall"},text:d({id:"Generic.next.page.button.text"}),disabled:c,isHidden:l,onClick:r,color:f.accent,"data-horizontal-pager-more-button":!0})]}))},FAe=Te.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(TAe||(TAe=rme(["\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),QAe=Te(n_e).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(DAe||(DAe=rme(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&De(PAe||(PAe=rme(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),BAe=Te(QAe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(NAe||(NAe=rme([""],[""]))),UAe=Te(QAe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(AAe||(AAe=rme([""],[""]))),WAe=Te(QAe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(RAe||(RAe=rme(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));Te.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(MAe||(MAe=rme(["\n margin: 0;\n text-align: center;\n color: ",";\n"],["\n margin: 0;\n text-align: center;\n color: ",";\n"])),(function(e){return e.theme.palette.neutralSecondary})),Te.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(jAe||(jAe=rme(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),60),Te.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(LAe||(LAe=rme(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var qAe=bme,$Ae=Array.isArray||function(e){return"Array"==qAe(e)},VAe=$Ae,KAe=ove,HAe=jOe,GAe=function(e,t,n,r,i,o,a,s){for(var l,c=i,u=0,d=!!a&&HAe(a,s,3);u<r;){if(u in n){if(l=d?d(n[u],u,t):n[u],o>0&&VAe(l))c=GAe(e,t,l,KAe(l.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},YAe=GAe,XAe=Eme,ZAe=$Ae,JAe=Wye("species"),eRe=YAe,tRe=Gve,nRe=ove,rRe=Kve,iRe=function(e,t){var n;return ZAe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!ZAe(n.prototype)?XAe(n)&&null===(n=n[JAe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function oRe(e,t,n){var r=function(e){var t=d(0),n=t[0],r=t[1],i=d({pages:{},paginationToken:null,hasNextPage:!0}),o=i[0],a=i[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:nme([],e||[],!0)},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,r){a((function(i){var o;return{pages:Xhe(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=Zhe({},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 Zhe(Zhe({},n),{pages:r})}))},insertToTheFront:function(t){for(var i,s,l=nme([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[],!0),c=Zhe(Zhe({},o.pages),{0:l}),u=Object.keys(c).length,d=0;d<u;){var f=0===d,p=Object.keys(c)[d],h=c[p].length;if(f&&h>e&&h<=2*e){n<2*e&&r(n+e);break}if(h<=e)break;var m=c[p].pop(),g=null!==(s=Object.keys(c)[d+1])&&void 0!==s?s:f?2*e:+p+e,v=c[g];if(!v){o.hasNextPage||(c[g]=[m],r(n+e));break}v.unshift(m),d++}a(Zhe(Zhe({},o),{pages:c}))},deleteItem:function(t){for(var i=Zhe({},o.pages),s=Object.keys(i).length,l=0;l<s;){var c=Object.keys(i)[l],u=i[c].find((function(e){return e.id===t}));if(u){i[c]=i[c].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<s;){if(!i[c=Object.keys(i)[l++]].length&&l===s){delete i[c],d=!0;break}var f=Object.keys(i)[l],p=f?i[f]:null;if(!p)break;var h=p.shift();i[c].push(h)}a(Zhe(Zhe({},o),{pages:i}));var m=(d||i[0].length===e)&&n>e;return m&&r(n-e),m}}}(e),i=r.state,o=r.setInitialPages,a=r.updatePageItems,s=r.lastFetchedPageIndex,l=r.updateLastFetchedPageIndex,c=r.updateItem,f=r.insertToTheFront,p=r.deleteItem,h=d(0),m=h[0],g=h[1],v=d(!0),y=v[0],b=v[1],w=d(!1),x=w[0],_=w[1],O=d(null),k=O[0],S=O[1];u((function(){E()}),nme([e],n||[],!0));var C=Object.keys(i.pages).flatMap((function(e){return i.pages[e]})).slice(m-e,m);return{items:C,isInitialLoading:y,isLoadingNextPage:x,error:k,getFirstPage:function(){return g(e)},getPrevPage:function(){return g(m-e)},getNextPage:function(){return eme(this,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return g(m+e),i.hasNextPage&&m===s-e?[4,I(i.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:m===e,isLastPage:m===s&&!i.hasNextPage,isEmpty:!y&&0===(null==C?void 0:C.length),insertToTheFront:f,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!i.hasNextPage&&n&&m>=s&&m>0&&g(m-e);_(!0)},onAfterDeleteItem:function(){return eme(this,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return i.hasNextPage?i.paginationToken!==2*e?[3,2]:[4,E()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,I(+i.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return _(!1),[2]}}))}))}};function E(){return eme(this,void 0,void 0,(function(){var n,r;return tme(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=i.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(l(1),g(e)):(l(2),g(e)),[3,4];case 2:return r=i.sent(),rv.error(r),S(r),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function I(n){return eme(this,void 0,void 0,(function(){var r,i;return tme(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),_(!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(),rv.error(i),S(k),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}Vve({target:"Array",proto:!0},{flatMap:function(e){var t,n=tRe(this),r=nRe(n.length);return rRe(e),(t=iRe(n,0)).length=eRe(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),ube("flatMap");var aRe,sRe,lRe,cRe,uRe,dRe,fRe,pRe=function(r){var i=r.onNextClick,o=r.onPrevClick,a=r.hidePagination,l=r.disablePrevButton,c=r.disableNextButton,u=r.children,d=r.className,f=s(k6).theme.palette;return a?e(t,{children:u}):n(hRe,Zhe({className:d},{children:[e(gRe,{disabled:l,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:f.accent}),e(yRe,{children:u}),e(vRe,{disabled:c,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:f.accent})]}))},hRe=Te.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(aRe||(aRe=rme(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),mRe=Te(oxe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(sRe||(sRe=rme(["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"],["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"])),"#333333"),gRe=Te(mRe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(lRe||(lRe=rme(["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),vRe=Te(mRe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(cRe||(cRe=rme(["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),yRe=Te.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(uRe||(uRe=rme(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),bRe=a(null);Te.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(dRe||(dRe=rme(["\n width: 100%;\n"],["\n width: 100%;\n"]))),Te.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(fRe||(fRe=rme(["\n display: contents;\n"],["\n display: contents;\n"])));var wRe,xRe,_Re,ORe,kRe,SRe,CRe,ERe,IRe,TRe=De(wRe||(wRe=rme(["\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"]))),PRe=De(xRe||(xRe=rme(["\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"])),TRe,I6.medium,20),DRe=De(_Re||(_Re=rme(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"],["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),NRe=De(ORe||(ORe=rme(["\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"])),P6),ARe=function(r){var i=r.getInitialSelectedKey,o=r.bookmarkOption,a=r.manageChannelsOption,l=r.allChannelsOption,c=r.channelsOptions,u=Q0(),f=s(t7).channels,p=LS().formatMessage,h=function(){var e=[];l&&e.push({key:"AllChannels",text:p({id:"Channels.All"}),data:{pathname:l.to,iconName:"Org",exact:!0,onSelected:l.onSelected}});if(c){var t=(c.availableChannels?(f||[]).filter((function(e){return c.availableChannels.some((function(t){return e.id===t||e.name===t}))})):u.channels.filter((function(e){return e.isPinnedToNavigation}))).map((function(e){return e}));e=e.concat.apply(e,t.map((function(e){return function(e){var t;return{key:e.id,text:SDe(f,e,u),data:{pathname:null===(t=c.to)||void 0===t?void 0:t.call(c,e),iconName:"Org",exact:!1,channelName:e.name,onSelected:c.onSelected?function(){return c.onSelected(e)}:null}}}(e)})))}o&&e.push({key:"Bookmarks",text:p({id:"Generic.bookmarks"}),data:{pathname:o.to,iconName:"DoubleBookmark",exact:!0,onSelected:o.onSelected}});a&&e.push({key:"ManageChannels",text:p({id:"PageMenu.manageUserChannels"}),data:{pathname:a.to,iconName:"CollapseMenu",exact:!0,onSelected:a.onSelected}});return e}(),m=d((function(){return(null==i?void 0:i(h))||"AllChannels"})),g=m[0],v=m[1];return n(t,{children:[e(RRe,{}),e(MRe,{options:h,onRenderOption:function(t){if(t.data.onSelected)return n(LRe,{children:[e(j,{iconName:t.data.iconName}),e("span",{children:t.text})]},t.key);return n(jRe,Zhe({to:t.data.pathname,exact:t.data.exact,isActive:t.key===g?function(){return!0}:void 0},{children:[e(j,{iconName:t.data.iconName}),e("span",{children:t.text})]}),t.key)},selectedKey:g,onChange:function(e,t){var n,r;v(t.key.toString()),null===(r=null===(n=t.data)||void 0===n?void 0:n.onSelected)||void 0===r||r.call(n)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:p({id:"AriaLabel.toolbarChannelSelector"})})]})},RRe=Pe(kRe||(kRe=rme(["\n ","\n"],["\n ","\n"])),NRe),MRe=Te(XCe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(SRe||(SRe=rme(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),PRe),jRe=Te(ke).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(CRe||(CRe=rme(["\n ","\n"],["\n ","\n"])),DRe),LRe=Te.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(ERe||(ERe=rme(["\n ",";\n"],["\n ",";\n"])),DRe),zRe=function(t){var n=t.handler,r=t.disabled;return B0().unreadTracking?e(vPe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:r,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0}):null},FRe=function(t){var n=t.onClick,r=B0(),i=d(!1),o=i[0],a=i[1];return r.unreadTracking?e(vPe,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:"view",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o}):null},QRe=function(t){var n=t.onClick,r=t.to,i=t.disabled;return e(vPe,{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"})},BRe=function(t){var n=t.onClick,r=t.to;return e(vPe,{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})};!function(e){e.UpcomingEvents="upcoming",e.MyBookedEvents="booked",e.PastEvents="past"}(IRe||(IRe={}));var URe,WRe,qRe,$Re=function(r){var i=r.value,o=r.onChange,a=r.viewOptions,s=LS().formatMessage,l=function(){var e=[];(null==a?void 0:a.hideUpcomingEventsView)||e.push({key:IRe.UpcomingEvents,text:s({id:"Events.upcoming"}),data:{iconName:"Event"}});(null==a?void 0:a.hideMyBookedEventsView)||e.push({key:IRe.MyBookedEvents,text:s({id:"Events.myEvents"}),data:{iconName:"PrimaryCalendar"}});(null==a?void 0:a.hidePastEventsView)||e.push({key:IRe.PastEvents,text:s({id:"Events.pastEvents"}),data:{iconName:"RemoveEvent"}});return e}();return n(t,{children:[e(VRe,{}),e(KRe,{options:l,onRenderOption:function(t){return n(HRe,{children:[e(j,{iconName:t.data.iconName}),e("span",{children:t.text})]},t.key)},selectedKey:l.length>0?i||l[0].key:void 0,onChange:function(e,t){return o(t.key)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:s({id:"Events.chromelessDropdown"})})]})},VRe=Pe(URe||(URe=rme(["\n ","\n"],["\n ","\n"])),NRe),KRe=Te(XCe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(WRe||(WRe=rme(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),PRe),HRe=Te.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(qRe||(qRe=rme(["\n ",";\n"],["\n ",";\n"])),DRe);function GRe(){var e=jW(),t=e.createApiUrl,n=e.fetchFromApi,r=s(DO).onRequestToken;return l((function(){return{uploadImage:function(e,t,i,o,a){return eme(this,void 0,void 0,(function(){var s,l,c;return tme(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image.".concat(U$.getExtension(a.type))),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}},[2,n("".concat(e,"/attachments/").concat(o,"/images/").concat(i),c)]}}))}))},uploadFile:function(e,t,i,o,a){return eme(this,void 0,void 0,(function(){var s,l,c;return tme(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}},[2,n("".concat(e,"/attachments/").concat(o,"/files/").concat(i),c)]}}))}))},getFileUrl:function(e,n,r,i,o){if(null!=o||(o=r.fileAccessToken),!o)return null;return t("".concat(e,"/attachments/").concat(r.attachmentContainerId,"/files/").concat(i),{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)},getChatMessageImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)}};function e(e,n,r,i,o,a,s){var l;return l=null==a?"".concat(e,"/attachments/").concat(i,"/images/").concat(o):"default"===a?"".concat(e,"/attachments/").concat(i,"/images/").concat(o,"/default"):"".concat(e,"/attachments/").concat(i,"/images/").concat(o,"/").concat(a,"/").concat(s||""),t(l,{subscriptionId:n,access_token:r})}}),[r,n,t])}function YRe(){var e=LW();return l((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return eme(this,void 0,void 0,(function(){var t;return tme(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return t=r.sent(),[2,_2.apply(void 0,nme([e],t,!1))]}}))}))},resolveActiveLanguages:function(e){return eme(this,void 0,void 0,(function(){return tme(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 eme(this,void 0,void 0,(function(){var t;return tme(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])}var XRe,ZRe=Pe(XRe||(XRe=rme(["\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"])));function JRe(){var e=jW().createApiUrl;return l((function(){return{getVideoThumbnailUrl:function(t,n,r,i){return e("/videos/".concat(i,"/thumbnail"),{access_token:t,subscriptionId:n,videoSource:r})},getBannerVideoThumbnailUrl:function(t,n,r,i){return e("/".concat(i,"/").concat(n,"/videos/banner/thumbnail"),{access_token:t,subscriptionId:r})}}}),[e])}var eMe,tMe,nMe,rMe,iMe,oMe,aMe,sMe,lMe,cMe,uMe,dMe,fMe,pMe=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}(),hMe=function(t){var n=B0(),r=d(null),i=r[0],o=r[1],a=n2().getUserAvatarUrl;if(l7(pMe.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),u((function(){var e=l(t.upn,t.tenantId);return function(){return null==e?void 0:e.unsubscribe()}}),[t.upn]),!n.avatars)return null;var s=gO(t.text||t.displayName||t.upn);return e(mMe,Zhe({},t,{"data-avatar":!0,text:t.text,imageUrl:i,imageShouldFadeIn:!1,imageInitials:s,initialsColor:vO(s),secondaryText:L1(t.secondaryText)?null:t.secondaryText}));function l(e,t){return null==e?(o(null),null):a(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},mMe=Te(Q).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(eMe||(eMe=rme(["\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"]))),gMe=function(t){var r=t.className,i=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(yMe,Zhe({className:r},{children:[i&&e(Xwe,Zhe({resourceKey:o,text:a},{children:e(vMe,{iconName:i},"icon")})),s]})):null},vMe=Te(j).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(tMe||(tMe=rme(["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"]))),yMe=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(nMe||(nMe=rme(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),bMe=function(t){var n=t.email;return L1(n)?null:e(gMe,Zhe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(EMe,Zhe({href:"mailto:".concat(n)},{children:n}))}))},wMe=function(t){var n=t.value,r=LS().formatMessage;return null==n?null:e(gMe,Zhe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(EMe,Zhe({href:"tel:".concat(n)},{children:r({id:"Generic.callMobile"},{number:n})}))}))},xMe=function(n){var r=n.value,i=LS().formatMessage;return null==r?null:e(t,{children:(r="string"==typeof r?[r]:r).map((function(t,n){return e(gMe,Zhe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(EMe,Zhe({href:"tel:".concat(t)},{children:i({id:"Generic.callOffice"},{number:t})}))}),t+n)}))})},_Me=function(n){var r=n.value,i=n.tooltipResourceKey,o=B0();return null==r?null:e(gMe,Zhe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:o.userLocationLookup?e(EMe,Zhe({target:"_blank",rel:"noopener noreferrer",href:gCe(r)},{children:r})):e(t,{children:r})}))},OMe=function(t){var n=t.value;return null==n?null:e(gMe,Zhe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}))},kMe=function(t){var n=t.value;return null==n?null:e(gMe,Zhe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}))},SMe=function(t){var n=t.value,r=K5().buildPath,i=B0();if(!(null==n?void 0:n.userId)||!i.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(gMe,Zhe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(IMe,Zhe({to:"".concat(r("chats/new"),"?").concat(Hg.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName}))},{children:e(nC,{id:"Generic.sendChatMessage"})}))}))},CMe=De(rMe||(rMe=rme(["\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})),EMe=Te.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(iMe||(iMe=rme(["\n ","\n"],["\n ","\n"])),CMe),IMe=Te(Oe).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(oMe||(oMe=rme(["\n ","\n"],["\n ","\n"])),CMe),TMe={mobilePhone:wMe,department:OMe,address:_Me},PMe=function(t){var n=t.className,r=t.value,i=t.definition,o=function(){var e=Q0(),t=LS().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(r){var i=z_(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.".concat(r.name)})||r.name},getPropertyIcon:function(e){var t,r;return null!==(r=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==r?r:"UserOptional"}}}(),a=o.getPropertyLabel,s=o.getPropertyIcon;if(null==r)return null;var l=a(i),c=s(i),u=TMe[i.name];return u?w(u,{value:r}):e(gMe,Zhe({iconName:c,tooltipText:l,className:n},{children:r}))},DMe=function(r){var i,o,a,s,l,c=r.user,u=r.ignoredProperties,d=void 0===u?[]:u;return n(t,{children:[!d.includes("department")&&e(OMe,{value:null===(i=c.properties)||void 0===i?void 0:i.department}),!d.includes("jobTitle")&&e(kMe,{value:null===(o=c.properties)||void 0===o?void 0:o.jobTitle}),!d.includes("mobilePhone")&&e(wMe,{value:null===(a=c.properties)||void 0===a?void 0:a.mobilePhone}),!d.includes("businessPhones")&&e(xMe,{value:null===(s=c.properties)||void 0===s?void 0:s.businessPhones}),!d.includes("chatMessage")&&e(SMe,{value:c}),!d.includes("officeLocation")&&e(_Me,{value:null===(l=c.properties)||void 0===l?void 0:l.officeLocation})]})},NMe=function(r){var i=r.user,o=r.ignoredProperties,a=void 0===o?[]:o,s=Q0();return n(t,{children:[!a.includes("chatMessage")&&e(SMe,{value:i}),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(PMe,{definition:t,value:null===(n=i.properties)||void 0===n?void 0:n[t.name]},t.name)}))]})},AMe=["displayName","department","jobTitle"],RMe=function(t){var r,i=t.upn,o=t.showAvatar,a=t.id,s=n2(),l=s.getUserInfo,c=s.getUserInfoById,u=SO((function(){return i?l(i):c(a)}),null,[i,a]),d=u[0],f=u[1];if(u[2])return e(MMe,{children:e(nC,i?{id:"Profile.CannotLoadInfo",values:{upn:i}}:{id:"Profile.CannotLoadInfoByUserId"})});if(f)return e(zMe,{});var p=o?AMe:[];return n(jMe,Zhe({"data-user-details":!0},{children:[o&&e(hMe,{upn:d.userPrincipalName,size:G.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle}),n(LMe,{children:[e(bMe,{email:null!==(r=d.mail)&&void 0!==r?r:d.userPrincipalName}),d.isDirectoryUser?e(DMe,{user:d,ignoredProperties:p}):e(NMe,{user:d,ignoredProperties:p})]})]}))},MMe=Te.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(aMe||(aMe=rme(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),jMe=Te.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(sMe||(sMe=rme(["\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),LMe=Te.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(lMe||(lMe=rme(["\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),zMe=Te(_Ee).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(cMe||(cMe=rme(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),FMe=function(r){var i=r.upn,o=r.className,a=r.children,s=r.readOnly,l=r.domIdentifier,u=c(null),f=Q0(),p=d(!1),h=p[0],m=p[1];return s?e(BMe,Zhe({className:o},{children:a})):n(t,{children:[e(BMe,Zhe({ref:u,className:o},{children:e(UMe,Zhe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),m(!h)},ariaLabel:i},{children:a}),"children")})),h&&!f.isPublicUser&&e(ICe,Zhe({className:"persona-card-callout",directionalHint:H.bottomCenter,isBeakVisible:!0,onDismiss:function(){return m(!1)},target:u.current},{children:e(QMe,{children:e(RMe,{upn:i,showAvatar:!0})})}),"callout")]})},QMe=Te.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(uMe||(uMe=rme(["\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,I6.medium),BMe=Te.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(dMe||(dMe=rme(["\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"]))),UMe=Te(N).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(fMe||(fMe=rme(["\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 WMe(){return WMe=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},WMe.apply(this,arguments)}var qMe=function(e){return i.createElement("svg",WMe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),i.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),i.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),i.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function $Me(){return $Me=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},$Me.apply(this,arguments)}var VMe=function(e){return i.createElement("svg",$Me({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),i.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function KMe(){return KMe=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},KMe.apply(this,arguments)}var HMe,GMe,YMe,XMe,ZMe,JMe,eje=function(e){return i.createElement("svg",KMe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),i.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),i.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},tje=function(t){var n=t.info,r="number"==typeof n;return e(nje,Zhe({isNumber:r,"data-badge-info":n},{children:e(rje,Zhe({isNumber:r},{children:"number"==typeof n&&n}))}))},nje=Te.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(YMe||(YMe=rme(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?De(HMe||(HMe=rme(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):De(GMe||(GMe=rme(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),rje=Te.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(ZMe||(ZMe=rme(["\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 De(XMe||(XMe=rme(["\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 ije(){return ije=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},ije.apply(this,arguments)}var oje,aje=function(e){return i.createElement("svg",ije({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),JMe||(JMe=i.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function sje(t){return e(hje,Zhe({"data-page-alert":!0},{children:n(mje,{children:[t.errorType&&e(gje,Zhe({onClick:t.onClick},{children:t.errorType===oje.LoginError?e(VMe,{}):t.errorType===oje.GenericError?e(qMe,{}):t.errorType===oje.Error403?e(eje,{}):e(mTe,{})})),e(vje,{children:t.alertText}),e(yje,{children:t.children})]})}))}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(oje||(oje={}));var lje,cje,uje,dje,fje,pje,hje=Te.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(lje||(lje=rme(["\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})),mje=Te.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(cje||(cje=rme(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),gje=Te.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(uje||(uje=rme(["\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}),P6),vje=Te.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(dje||(dje=rme(["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"],["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"])),32,(function(e){return e.theme.palette.accent})),yje=Te.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(fje||(fje=rme(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),bje=Te.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(pje||(pje=rme(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),wje={exports:{}},xje=Object.getOwnPropertySymbols,_je=Object.prototype.hasOwnProperty,Oje=Object.prototype.propertyIsEnumerable;function kje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Sje=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=kje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))_je.call(n,a)&&(i[a]=n[a]);if(xje){r=xje(n);for(var s=0;s<r.length;s++)Oje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},Cje=Function.call.bind(Object.prototype.hasOwnProperty),Eje=function(){};if("production"!==process.env.NODE_ENV){var Ije="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Tje={},Pje=Cje;Eje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Dje(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(Pje(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,Ije)}catch(e){a=e}if(!a||a instanceof Error||Eje((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 Tje)){Tje[a.message]=!0;var l=i?i():"";Eje("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}Dje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Tje={})};var Nje=Ie,Aje=Sje,Rje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Mje=Cje,jje=Dje,Lje=function(){};function zje(){return null}"production"!==process.env.NODE_ENV&&(Lje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function Fje(){}function Qje(){}Qje.resetWarningCache=Fje;if("production"!==process.env.NODE_ENV){var Bje=Ie;wje.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(zje),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,o+"["+l+"]",Rje);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return Nje.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var l=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+l+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return u(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(Mje(s,c)){var u=e(s,c,r,i,o+"."+c,Rje);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Lje(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."),zje;function t(t,n,r,i,s){for(var l=t[n],c=0;c<e.length;c++)if(o(l,e[c]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===f(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(l)+"` supplied to `"+r+"`, expected one of "+u+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Lje("Invalid argument supplied to oneOfType, expected an instance of array."),zje;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return Lje("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+t+"."),zje}return s((function(t,n,r,i,o){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,r,i,o,Rje);if(null==c)return null;c.data&&Mje(c.data,"expectedType")&&s.push(c.data.expectedType)}return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var p=e[u];if("function"!=typeof p)return c(r,i,o,u,f(p));var h=p(s,u,r,i,o+"."+u,Rje);if(h)return h}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");var u=Aje({},t[n],e);for(var p in u){var h=e[p];if(Mje(e,p)&&"function"!=typeof h)return c(r,i,o,p,f(h));if(!h)return new a("Invalid "+i+" `"+o+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(s,p,r,i,o+"."+p,Rje);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},i=0;function o(o,s,l,c,u,d,f){if(c=c||r,d=d||l,f!==Rje){if(t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!n[h]&&i<3&&(Lje("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[l]?o?null===s[l]?new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,u,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,r,i,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+i+" `"+o+"` of type `"+f(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function c(e,t,n,r,i){return new a((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!u(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function f(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function p(e){var t=f(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=jje,i.resetWarningCache=jje.resetWarningCache,i.PropTypes=i,i}(Bje.isElement,!0)}else wje.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:Qje,resetWarningCache:Fje};return n.PropTypes=n,n}();var Uje=wje.exports,Wje=Object.freeze({__proto__:null,useCurrentUser:Q0,useAccountApi:n2,useAuthenticationContext:NO,useEnvironmentConfig:jg,useNotificationContext:F6,usePromise:SO,LinkContext:sC,TextLink:dPe,logger:rv,createId:ov,ResourceContext:mC,usePluginSettings:function(){var e=s(Z5).settings;return null!=e?e:{}},usePluginStorage:n4,usePluginDeviceStore:n4,usePluginSubscriptionStore:function(){return s(Z5).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=s(Z5).subscriptionStore,i=SO((function(){return r.get(e).catch(i4)}),void 0,WK(WK([],t||[],!0),[e],!1)),o=i[0],a=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return BK(n,void 0,void 0,(function(){var n;return UK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),i4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:l,refresh:u,remove:function(){return BK(n,void 0,void 0,(function(){var t;return UK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),i4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return s(Z5).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=s(Z5).userStore,i=SO((function(){return r.get(e).catch(i4)}),void 0,WK(WK([],t||[],!0),[e],!1)),o=i[0],a=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return BK(n,void 0,void 0,(function(){var n;return UK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),i4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:l,refresh:u,remove:function(){return BK(n,void 0,void 0,(function(){var t;return UK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),i4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Mg().apiEndpoint}},AccountType:x0,PeoplePicker:gxe,GutterToggle:axe,EditorSettingsDialog:ixe,Spinner:E,SelectionMode:ee,EditorHighlight:Jwe,useTheme:function(){return s(k6).theme},useSubscriptionHandlePathBuilder:K5,useSubscriptionWebAppUrl:H5});var qje,$je,Vje=[{name:"@reach/core",packageDefinition:Zhe({default:{}},Wje)}],Kje=[{name:"react",packageDefinition:Zhe(Zhe({},o),{default:o})},{name:"react-dom",packageDefinition:Zhe(Zhe({},Fe),{default:Fe})},{name:"react-is",packageDefinition:Zhe(Zhe({},Ie),{default:Ie})},{name:"prop-types",packageDefinition:Zhe({default:Uje},Uje)},{name:"react-router-dom",packageDefinition:Zhe({},be)},{name:"styled-components",packageDefinition:{default:Te,createGlobalStyle:Pe,css:De,useTheme:Ae,isStyledComponent:Re,keyframes:Me,withTheme:je,ThemeProvider:Ne,ThemeContext:Le,ThemeConsumer:ze}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:B,Label:U,PrimaryButton:R,Icon:j,Link:P,TextField:A,ActionButton:N,IconButton:T,DefaultButton:M,Spinner:E,Dropdown:W,ProgressIndicator:q,Shimmer:$,ShimmerElementsGroup:V,ShimmerElementType:K,DirectionalHint:H,PersonaSize:G,TooltipHost:Y,DialogType:X,Dialog:ome}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:nC,useIntl:LS,FormattedDate:rC,FormattedTime:iC,IntlProvider:VS}},{name:"@apollo/client",packageDefinition:{default:{},gql:TM,useQuery:function(e,t){return HM(e,t,!1)},ApolloClient:xM,ApolloProvider:FM,from:XN,ApolloLink:YN,fromPromise:qN,split:ZN,HttpLink:aA,InMemoryCache:tM,useLazyQuery:function(e,t){return HM(e,t,!0)},useMutation:GM,ApolloError:rM,useApolloClient:QM,useSubscription:function(e,t){var n=p((function(e){return e+1}),0),r=n[1],i=s(LM()),o=t?Wa(Wa({},t),{subscription:e}):{subscription:e},a=d({loading:!o.skip,error:void 0,data:void 0}),l=a[0],f=a[1],h=c(),m=(h.current||(h.current=new qM({options:o,context:i,setResult:f})),h.current);return m.setOptions(o,!0),m.context=i,__DEV__&&KM(r),u((function(){return m.afterExecute()})),u((function(){return function(){m.cleanup(),h.current=void 0}}),[]),m.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:Zj}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:fL}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:FD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:YM}}],Hje=function(t){var n=t.color,r=t.onColorChange,i=t.className,o=d(n),a=o[0],s=o[1];return u((function(){s(n)}),[n]),e(Gje,Zhe({className:i},{children:e(le,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==r||r(e)}(t.str)}})}))},Gje=Te.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(qje||(qje=rme(["\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),Yje=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=l((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(n){return rv.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(DO.Provider,Wa({value:c},{children:r}))},Xje="0.5.0-preview.162",Zje="114367",Jje="64bf0609f9e2f4f0716d6bed8cbdfb2beb1c070f",eLe=or,tLe=ar,nLe=Object.keys||function(e){return eLe(e,tLe)},rLe=Nt,iLe=Rt,oLe=nLe,aLe=Je?Object.defineProperties:function(e,t){iLe(e);for(var n,r=oLe(t),i=r.length,o=0;i>o;)rLe.f(e,n=r[o++],t[n]);return e},sLe=Rt,lLe=aLe,cLe=ar,uLe=hn,dLe=zi,fLe=xt,pLe=pn("IE_PROTO"),hLe=function(){},mLe=function(e){return"<script>"+e+"<\/script>"},gLe=function(){try{$je=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;gLe=$je?function(e){e.write(mLe("")),e.close();var t=e.parentWindow.Object;return e=null,t}($je):((t=fLe("iframe")).style.display="none",dLe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(mLe("document.F=Object")),e.close(),e.F);for(var n=cLe.length;n--;)delete gLe.prototype[cLe[n]];return gLe()};uLe[pLe]=!0;var vLe=Object.create||function(e,t){var n;return null!==e?(hLe.prototype=sLe(e),n=new hLe,hLe.prototype=null,n[pLe]=e):n=gLe(),void 0===t?n:lLe(n,t)},yLe=vLe,bLe=Nt,wLe=Hr("unscopables"),xLe=Array.prototype;null==xLe[wLe]&&bLe.f(xLe,wLe,{configurable:!0,value:yLe(null)});var _Le=Je,OLe=Ze,kLe=vt,SLe=Object.defineProperty,CLe={},ELe=function(e){throw e},ILe=er.includes,TLe=function(e){xLe[wLe][e]=!0},PLe=function(e,t){if(kLe(CLe,e))return CLe[e];t||(t={});var n=[][e],r=!!kLe(t,"ACCESSORS")&&t.ACCESSORS,i=kLe(t,0)?t[0]:ELe,o=kLe(t,1)?t[1]:void 0;return CLe[e]=!!n&&!OLe((function(){if(r&&!_Le)return!0;var e={length:-1};r?SLe(e,1,{enumerable:!0,get:ELe}):e[1]=1,n.call(e,i,o)}))};Ar({target:"Array",proto:!0,forced:!PLe("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return ILe(this,e,arguments.length>1?arguments[1]:void 0)}}),TLe("includes");var DLe=pt,NLe=at,ALe=Hr("match"),RLe=function(e){var t;return DLe(e)&&(void 0!==(t=e[ALe])?!!t:"RegExp"==NLe(e))},MLe=Hr("match"),jLe=function(e){if(RLe(e))throw TypeError("The method doesn't accept regular expressions");return e},LLe=ct,zLe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[MLe]=!1,"/./"[e](t)}catch(e){}}return!1};Ar({target:"String",proto:!0,forced:!zLe("includes")},{includes:function(e){return!!~String(LLe(this)).indexOf(jLe(e),arguments.length>1?arguments[1]:void 0)}});var FLe,QLe,BLe={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},ULe={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"}},WLe=["//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"],qLe=function(t){var n=t.children,r=Mg().apiEndpoint,i=l((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!WLe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return rv.info("Will use non prod client config..."),Wa({},BLe);return Wa(Wa({},BLe),ULe)}())}),[r]);return e(Vg.Provider,Wa({value:i},{children:n}))},$Le=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return $a(this,void 0,void 0,(function(){return Va(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),VLe=new $Le,KLe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(HLe,Wa({subscriptionId:r},{children:i})):e(t,{children:i})},HLe=function(n){var r=n.subscriptionId,i=n.children,o=s(DO).setToken,a=cC(),c=function(){var e=jW().fetchFromApi,t=LW();return l((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/".concat(t)).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,u=jW().fetchFromApi,d=s(aC),f=d.handleFatalError,p=d.handleAccessDeniedError,h=SO((function(){return $a(this,void 0,void 0,(function(){var e,t,n;return Va(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,c(r)];case 2:return i.sent().allowPublicAccess?[4,b(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]),m=h[0],g=h[1],v=h[2];if(v)return rv.error(v),f({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription ".concat(r,"!")};return rv.error(y.message),p({error:y}),null}return e(t,{children:i});function b(e){return u("/subscriptions/".concat(e,"/public_access_token")).then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},GLe=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],u=d(),f=u[0],p=u[1],h=l((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:p}}),[o,c,p]);return e(aC.Provider,Wa({value:h},{children:e(YLe,Wa({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}))}))},YLe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(XLe,{messageId:r.messageId,error:r.error}):i?e(XLe,{messageId:"AccessDenied.genericMessage",error:i.error}):o?e(XLe,{messageId:"NotFound.message"}):e(t,{children:a})},XLe=function(t){var r=t.messageId,i=t.error,o=LS().formatMessage,a=d(!1),s=a[0],l=a[1];return e(sje,Wa({errorType:oje.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(ZLe,{children:[e(nC,{id:"Generic.error.details"}),e(JLe,{children:JSON.stringify(i)||"Not provided"})]})}))},ZLe=Te.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(FLe||(FLe=es(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),JLe=Te.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(QLe||(QLe=es(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),eze=function(t){var n=t.children,r=H5(),i=l((function(){return{onShare:function(){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(sC.Provider,Wa({value:i},{children:n}));function o(e){window.open(e,"_blank")}function a(e){window.open("".concat(r).concat(e))}},tze=function(){return null},nze=Object.freeze({__proto__:null,Page:tze,NavLinkSidebarItem:tze,PageMenuActionItem:tze});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: ".concat(Xje," (").concat(Zje,") [").concat(Jje,"]")),window.__did_initialize_reach_context)return;ce()}();var rze=function(r){var i,o,a,c,d=null!=s(Rg);u((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(e4.apply(void 0,nme(["ReachCorePackages"],nme(nme([],Kje,!0),Vje,!0),!1)),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Wa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Wa({default:{}},nze)}],e4.apply(void 0,Za(["ReachComponentLibraryPackages"],t,!1))))}),[]);var f=l((function(){var e,t,n,i,o,a,s,l;return{env:{deviceInfo:{},version:Xje,commitId:Jje,buildId:Zje},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"}}}),[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===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint]);return d?(rv.warn("A ReachContext already exists. Ignoring the given context: ".concat(JSON.stringify(Wa({subscriptionId:r.subscriptionId},r.config),null,2))),e(t,{children:r.children})):e("div",Wa({className:JK},{children:e(Rg.Provider,Wa({value:f},{children:e(Se,{children:e(lC.Provider,Wa({value:VLe},{children:e(qLe,{children:e(y0,Wa({language:r.language},{children:e(S6,Wa({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(GLe,{children:e(Yje,Wa({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(fC,Wa({subscriptionId:r.subscriptionId},{children:e(KLe,Wa({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(eze,{children:e(FT.Provider,Wa({value:{hideChrome:!1}},{children:e(ize,{children:e(kq,Wa({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(M5,{children:e(i7,{children:n(V6,{children:[e(Y6,{}),e(pxe,{}),e(oze,{}),n(Ce,{children:[e(Ee,{path:"/:subscriptionHandleOrId",render:function(){return r.children}}),e(Ee,{render:function(){return r.children}})]})]})})})}))})}))})}))}))}))})}))}))})}))})}))}))},ize=function(t){var n,r=t.children,i=s(k6).setTheme,o=s(mC).changeSettings,a=r2().getCurrentUser,c=SO((function(){var e,t;return $a(this,void 0,void 0,(function(){var n,r,s,l;return Va(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,a()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&i(n.subscription.theme),r=z_(n.preferredUiLanguage,L_(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=EAe(n),o(r,s).then((function(){return null}),rv.error),[2,n];case 2:throw l=c.sent(),rv.error(l),l;case 3:return[2]}}))}))})),u=c[0],d=c[1],f=c[2],p=c[3],h=s(aC),m=h.handleFatalError,g=h.handleNotFoundError,v=h.handleAccessDeniedError,y=l((function(){return{user:u,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[u]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?v({error:f}):m({error:f}),null):d?null:null==u?(g({}),null):e(z0.Provider,Wa({value:y},{children:r}))},oze=function(){return u((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(GK,{}),e(ZK,{})]})};var aze=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,sze=/[\0-\x1F\x7F-\x9F]/,lze=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,cze=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 uze(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 dze(e){return Object.prototype.toString.call(e)}function fze(e){return"[object Function]"===dze(e)}function pze(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var hze={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var mze={"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}}},gze="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function vze(e){var t=e.re=function(e){var t={};return t.src_Any=aze.source,t.src_Cc=sze.source,t.src_Z=lze.source,t.src_P=cze.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]"===dze(e)}(n))return!function(e){return"[object RegExp]"===dze(e)}(n.validate)?fze(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(fze(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===dze(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(pze).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 yze(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 bze(e,t){var n=new yze(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function wze(e,t){if(!(this instanceof wze))return new wze(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||hze.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=uze({},hze,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=uze({},mze,e),this.__compiled__={},this.__tlds__=gze,this.__tlds_replaced__=!1,this.re={},vze(this)}wze.prototype.add=function(e,t){return this.__schemas__[e]=t,vze(this),this},wze.prototype.set=function(e){return this.__opts__=uze(this.__opts__,e),this},wze.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},wze.prototype.pretest=function(e){return this.re.pretest.test(e)},wze.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},wze.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(bze(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(bze(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},wze.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(),vze(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,vze(this),this)},wze.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},wze.prototype.onCompile=function(){};var xze=wze;function _ze(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 Oze(){return Oze=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},Oze.apply(this,arguments)}function kze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sze(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 Cze(e,t,n){return t&&Sze(e.prototype,t),n&&Sze(e,n),e}function Eze(e){return Eze="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},Eze(e)}function Ize(e){return Ize="function"==typeof Symbol&&"symbol"===Eze(Symbol.iterator)?function(e){return Eze(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Eze(e)},Ize(e)}function Tze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pze(e,t){return!t||"object"!==Ize(t)&&"function"!=typeof t?Tze(e):t}function Dze(e){return Dze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Dze(e)}function Nze(e,t){return Nze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Nze(e,t)}function Aze(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&&Nze(e,t)}function Rze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mze(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 jze(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 Lze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zze(e){return function(e){if(Array.isArray(e))return Lze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Lze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lze(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fze=function(e){return e===Object(e)?Object.keys(e):[]},Qze=function(e){return e===Object(e)?Object.values(e):[]};function Bze(e,t){var n=Object.assign({},e);return qze(e)&&qze(t)&&Fze(t).forEach((function(r){qze(t[r])&&r in e?n[r]=Bze(e[r],t[r]):Object.assign(n,w8({},r,t[r]))})),n}var Uze=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 Bze(e,t)}),e)},Wze=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},qze=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},$ze=function(e){return(e||[]).filter(Boolean)},Vze=function(e){return"&"===e[0]},Kze=function(e){return!Vze(e)},Hze=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},Gze=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Fze(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},Yze=function(e,t){for(var n=t.map(Hze),r=Fze(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(Hze(s))>=0)&&(i[s]=e[s])}return i},Xze=function e(t,n){for(var r=Uze.apply(void 0,[{},Wze(t,n)].concat(zze(Qze(Yze(t,n))))),i=Fze(r).filter(Vze),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=Uze({},r,l)):r[s]=l}return r};function Zze(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 Jze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zze(Object(n),!0).forEach((function(t){w8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var eFe=["animationName"],tFe=function(e){var t=e.style,n=e.className;return Jze(Jze({},t?{style:Gze(t,eFe)}:{}),n?{className:n}:{})},nFe=a(tFe);nFe.Provider;var rFe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return Fze(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},iFe={},oFe=function(e){return function(t,n){var r,i=n||iFe;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=rFe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function aFe(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 sFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aFe(Object(n),!0).forEach((function(t){w8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aFe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lFe=function(e){var t=e&&Fze(e)[0];return t&&t.split("__")[0].split("--")[0]},cFe=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(zze(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),zze(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(zze(i)):i}};function uFe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tFe,o=n||lFe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:oFe((function(e,n){var a=rFe(e);Yhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),Yhe(!n||qze(n),"Optional second parameter must be a plain object.");var s=a.filter(Vze),l=a.filter(Kze),c=l.length>0?function(e){return Qze(Yze(e,l))}:function(e){return[e]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(Xze(e,s))},d=cFe(o,l,s);return uFe(sFe(sFe(sFe({},(t||n)&&{style:Uze.apply(void 0,[{}].concat(zze(u(n)),zze(u(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=sFe({},"function"==typeof t?t:{style:t}),l=zze(new Set([].concat(zze(s.className?s.className.split(" "):[]),zze(o?o.split(" "):[])))),c=r?$ze(l.map((function(e){return r[e]}))):l,u=i(sFe(sFe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,u),a}function dFe(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 fFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dFe(Object(n),!0).forEach((function(t){w8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dFe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pFe=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 fFe(fFe(fFe({},e),"function"==typeof t?t:{}),{},{style:fFe(fFe({},e.style),"function"==typeof t?t.style:t)})}),{})},hFe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,a=s(nFe);return l((function(){return uFe({style:r,className:i,classNames:o},a)}),[r,i,o,a])(n,e)},mFe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},gFe="__id__",vFe="__display__",yFe=function(e,t){Yhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(vFe),r=e.indexOf(gFe);return n<0&&(n=null),r<0&&(r=null),Yhe(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},bFe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=Mze(t.exec(e.toString()),3),r=n[1],i=n[2];return Yhe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},wFe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},xFe=function(){},_Fe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xFe,o=bFe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=wFe(t)+1,n})),l=0,c=0;null!==(r=o.exec(e));){var u=s.find((function(e){return!!r[e]})),d=s.indexOf(u),f=t[d],p=f.markup,h=f.displayTransform,m=u+yFe(p,"id"),g=u+yFe(p,"display"),v=r[m],y=h(v,r[g]),b=e.substring(l,r.index);i(b,l,c),c+=b.length,n(r[0],r.index,c,v,y,d,l),c+=y.length,l=o.lastIndex}l<e.length&&i(e.substring(l),l,c)},OFe=function(e,t){var n="";return _Fe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},kFe=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,l,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return _Fe(e,t,a,o),void 0===r?e.length:r},SFe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},CFe=function(e,t){var n=[];return _Fe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},EFe=function(e,t){return"".concat(e,"-").concat(t)},IFe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},TFe=function(e){var t=mFe(e),n=e[e.indexOf(vFe)+vFe.length],r=e[e.indexOf(gFe)+gFe.length];return new RegExp(t.replace(vFe,"([^".concat(mFe(n||""),"]+?)")).replace(gFe,"([^".concat(mFe(r||""),"]+?)")))},PFe=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?DFe(r,n):TFe(n),displayTransform:i||function(e,t){return t||e}}}))},DFe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=wFe(t);return Yhe(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},NFe=[{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}],AFe=function(e){return function(e){var t=e;return NFe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},RFe=function(e,t,n){return n?AFe(e).indexOf(AFe(t)):e.toLowerCase().indexOf(t.toLowerCase())},MFe=function(e){return"number"==typeof e},jFe=function(e){return e===Object(e)?Object.keys(e):[]},LFe=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function zFe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,l=jze(r,["style","className","classNames"]),c=t?t(l):void 0,u=hFe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,Oze({},l,{style:u}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var FFe=function(e){function t(){var e;return kze(this,t),Rze(Tze(e=Pze(this,Dze(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return Aze(t,v),Cze(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,l=n.children,c=n.containerRef,u=PFe(l);r===i&&(e=kFe(a,u,r,"START"));var d=[],f={},p=d,h=0;return _Fe(a,u,(function(e,n,r,i,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,i);p.push(t.getMentionComponentForMatch(i,o,a,l))}),(function(n,r,i){if(MFe(e)&&e>=r&&e<=r+n.length){var o=e-r;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),o.createElement("div",Oze({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",Oze({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",Oze({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();Rze(FFe,"propTypes",{selectionStart:_V.number,selectionEnd:_V.number,value:_V.string.isRequired,onCaretPositionChange:_V.func.isRequired,containerRef:_V.oneOfType([_V.func,_V.shape({current:"undefined"==typeof Element?_V.any:_V.instanceOf(Element)})]),children:_V.oneOfType([_V.element,_V.arrayOf(_V.element)]).isRequired}),Rze(FFe,"defaultProps",{value:""});var QFe=zFe({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}}))(FFe),BFe=function(e){function t(){return kze(this,t),Pze(this,Dze(t).apply(this,arguments))}return Aze(t,v),Cze(t,[{key:"render",value:function(){var e=LFe(this.props,["style","classNames","className"],jFe(t.propTypes));return o.createElement("li",Oze({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,r=t.query,i=t.style,a=RFe(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();Rze(BFe,"propTypes",{id:_V.string.isRequired,query:_V.string.isRequired,index:_V.number.isRequired,ignoreAccents:_V.bool,suggestion:_V.oneOfType([_V.string,_V.shape({id:_V.oneOfType([_V.string,_V.number]).isRequired,display:_V.string})]).isRequired,renderSuggestion:_V.func,focused:_V.bool});var UFe=zFe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(BFe);function WFe(){var e=hFe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var qFe=function(e){function t(){var e,n;kze(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Rze(Tze(n=Pze(this,(e=Dze(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),Rze(Tze(n),"select",(function(e,t){n.props.onSelect(e,t)})),Rze(Tze(n),"setUlElement",(function(e){n.ulElement=e})),n}return Aze(t,v),Cze(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,l=e.position,c=e.left,u=e.top;return r?o.createElement("div",Oze({},pFe({position:l||"absolute",left:c,top:u},i),{onMouseDown:a,ref:s}),o.createElement("ul",Oze({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(_ze(t),_ze(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(UFe,{style:this.props.style("item"),key:"".concat(a,"-").concat($Fe(e)),id:EFe(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:l,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(WFe,{style:this.props.style("loadingIndicator")})}}]),t}();Rze(qFe,"propTypes",{id:_V.string.isRequired,suggestions:_V.object.isRequired,a11ySuggestionsListLabel:_V.string,focusIndex:_V.number,position:_V.string,left:_V.number,top:_V.number,scrollFocusedIntoView:_V.bool,isLoading:_V.bool,isOpened:_V.bool.isRequired,onSelect:_V.func,ignoreAccents:_V.bool,containerRef:_V.oneOfType([_V.func,_V.shape({current:"undefined"==typeof Element?_V.any:_V.instanceOf(Element)})]),children:_V.oneOfType([_V.element,_V.arrayOf(_V.element)]).isRequired}),Rze(qFe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var $Fe=function(e){return"string"==typeof e?e:e.id},VFe=zFe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(qFe);function KFe(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 HFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KFe(n,!0).forEach((function(t){Rze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var GFe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},YFe=!1,XFe={singleLine:_V.bool,allowSpaceInQuery:_V.bool,allowSuggestionsAboveCursor:_V.bool,forceSuggestionsAboveCursor:_V.bool,ignoreAccents:_V.bool,a11ySuggestionsListLabel:_V.string,value:_V.string,onKeyDown:_V.func,onSelect:_V.func,onBlur:_V.func,onChange:_V.func,suggestionsPortalHost:"undefined"==typeof Element?_V.any:_V.PropTypes.instanceOf(Element),inputRef:_V.oneOfType([_V.func,_V.shape({current:"undefined"==typeof Element?_V.any:_V.instanceOf(Element)})]),children:_V.oneOfType([_V.element,_V.arrayOf(_V.element)]).isRequired},ZFe=function(e){function t(e){var n;return kze(this,t),Rze(Tze(n=Pze(this,Dze(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),Rze(Tze(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return HFe({},LFe(n.props,["style","classNames","className"],jFe(XFe)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":EFe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),Rze(Tze(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),Rze(Tze(n),"renderInput",(function(e){return o.createElement("input",Oze({type:"text",ref:n.setInputRef},e))})),Rze(Tze(n),"renderTextarea",(function(e){return o.createElement("textarea",Oze({ref:n.setInputRef},e))})),Rze(Tze(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),Rze(Tze(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),Rze(Tze(n),"renderSuggestionsOverlay",(function(){if(!MFe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(VFe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?Qe.createPortal(a,n.props.suggestionsPortalHost):a})),Rze(Tze(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,l=i.value,c=i.style;return o.createElement(QFe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:l,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),Rze(Tze(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),Rze(Tze(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),Rze(Tze(n),"getPlainText",(function(){return OFe(n.props.value||"",PFe(n.props.children))})),Rze(Tze(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),Rze(Tze(n),"handleChange",(function(e){if(YFe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=PFe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=OFe(e,r),l=s.length-t.length;"undefined"===i&&(i=a+l),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),u=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+l));var f=kFe(e,r,u,"START"),p=kFe(e,r,d,"END"),h=kFe(e,r,u,"NULL"),m=kFe(e,r,d,"NULL"),g=null===h||null===m,v=SFe(e,f,p,c);if(!g){var y=OFe(v,r);if(y!==t){for(u=0;t[u]===y[u];)u++;c=t.slice(u,a),d=s.lastIndexOf(t.substring(a)),f=kFe(e,r,u,"START"),p=kFe(e,r,d,"END"),v=SFe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=OFe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,c=function(e,t,n){var r=n,i=!1;if(_Fe(e,t,(function(e,t,o,a,s,l,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var u=CFe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,u)}})),Rze(Tze(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!YFe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),Rze(Tze(n),"handleKeyDown",(function(e){if(0!==IFe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(GFe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case GFe.ESC:return void n.clearSuggestions();case GFe.DOWN:return void n.shiftFocus(1);case GFe.UP:return void n.shiftFocus(-1);case GFe.RETURN:case GFe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),Rze(Tze(n),"shiftFocus",(function(e){var t=IFe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),Rze(Tze(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(_ze(e),_ze(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),Rze(Tze(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),Rze(Tze(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),Rze(Tze(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),Rze(Tze(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),c=JFe(s,"font-size"),u={left:l.left+e.left,top:l.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var p=u.left,h=u.top;p-=JFe(a,"margin-left"),h-=JFe(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>m?f.left=Math.max(0,m-a.offsetWidth):f.left=p,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?f.top=Math.max(0,h-a.offsetHeight-c):f.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=g,i&&u.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-c-s.scrollTop?f.top=v-a.offsetHeight-c:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),Rze(Tze(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),Rze(Tze(n),"handleCompositionStart",(function(){YFe=!0})),Rze(Tze(n),"handleCompositionEnd",(function(){YFe=!1})),Rze(Tze(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),Rze(Tze(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=PFe(i),s=kFe(r,a,t,"NULL");if(null!==s){var l=function(e,t){var n=CFe(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(l,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=mFe(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=l+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),Rze(Tze(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),Rze(Tze(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,l=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;RFe(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,l),u=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));u instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,u)})),Rze(Tze(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=HFe({},n.suggestions,Rze({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,c=IFe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=c?Math.max(c-1,0):l})}})),Rze(Tze(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,l=t.plainTextValue,c=n.props.value||"",u=PFe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=kFe(c,u,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(gFe,t).replace(vFe,n)}(f,r,i);m&&(b+=" ");var w=SFe(c,v,y,b);n.inputElement.focus();var x=p(r,i);m&&(x+=" ");var _=a+x.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var O={target:{value:w}},k=CFe(w,u),S=SFe(l,a,s,x);n.executeOnChange(O,w,S,k),g&&g(r,i,v,y),n.clearSuggestions()})),Rze(Tze(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),Rze(Tze(n),"isOpened",(function(){return MFe(n.state.selectionStart)&&(0!==IFe(n.state.suggestions)||n.isLoading())})),Rze(Tze(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(Tze(n)),n.handleCut=n.handleCut.bind(Tze(n)),n.handlePaste=n.handlePaste.bind(Tze(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return Aze(t,o.Component),Cze(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return o.createElement("div",Oze({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=PFe(a),l=kFe(o,s,n,"START"),c=kFe(o,s,r,"END"),u=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=SFe(o,l,c,u||d).replace(/\r/g,""),p=OFe(f,s),h={target:HFe({},e.target,{value:f})};this.executeOnChange(h,f,p,CFe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=PFe(o),l=kFe(a,s,n,"START"),c=kFe(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(l,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=PFe(o),l=kFe(a,s,n,"START"),c=kFe(a,s,r,"END"),u=[a.slice(0,l),a.slice(c)].join(""),d=OFe(u,s),f={target:HFe({},e.target,{value:d})};this.executeOnChange(f,u,d,CFe(a,s))}}}]),t}();Rze(ZFe,"propTypes",XFe),Rze(ZFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var JFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},eQe=zFe({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:HFe({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}}))(ZFe),tQe={fontWeight:"inherit"},nQe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=hFe(tQe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};nQe.propTypes={onAdd:_V.func,onRemove:_V.func,renderSuggestion:_V.func,trigger:_V.oneOfType([_V.string,_V.instanceOf(RegExp)]),markup:_V.string,displayTransform:_V.func,allowSpaceInQuery:_V.bool,isLoading:_V.bool},nQe.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 rQe=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 iQe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=rQe.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 oQe=[".DS_Store","Thumbs.db"];function aQe(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?lQe(e.dataTransfer,e.type):sQe(e))];var n}))}))}function sQe(e){return(null!==e.target&&e.target.files?uQe(e.target.files):[]).map((function(e){return iQe(e)}))}function lQe(e,t){return $a(this,void 0,void 0,(function(){var n;return Va(this,(function(r){switch(r.label){case 0:return e.items?(n=uQe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(dQe))]):[3,2];case 1:return[2,cQe(fQe(r.sent()))];case 2:return[2,cQe(uQe(e.files).map((function(e){return iQe(e)})))]}}))}))}function cQe(e){return e.filter((function(e){return-1===oQe.indexOf(e.name)}))}function uQe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function dQe(e){if("function"!=typeof e.webkitGetAsEntry)return pQe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?mQe(t):pQe(e)}function fQe(e){return e.reduce((function(e,t){return Ya(e,Array.isArray(t)?fQe(t):[t])}),[])}function pQe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=iQe(t);return Promise.resolve(n)}function hQe(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){return[2,e.isDirectory?mQe(e):gQe(e)]}))}))}function mQe(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return $a(o,void 0,void 0,(function(){var o,a,s;return Va(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(hQe)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function gQe(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=iQe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function vQe(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 yQe(e,t,n){if(bQe(e.size)){if(bQe(t)&&bQe(n))return e.size>=t&&e.size<=n;if(bQe(t))return e.size>=t;if(bQe(n))return e.size<=n}return!0}function bQe(e){return null!=e}function wQe(e,t,n,r){return e.every((function(e){return vQe(e,t)&&yQe(e,n,r)}))}function xQe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function _Qe(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 OQe(e){e.preventDefault()}function kQe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function SQe(e){return-1!==e.indexOf("Edge/")}function CQe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return kQe(e)||SQe(e)}function EQe(){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!xQe(e)&&t&&t.apply(void 0,[e].concat(r)),xQe(e)}))}}function IQe(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 TQe(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 PQe(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 DQe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PQe(n,!0).forEach((function(t){NQe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PQe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NQe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AQe(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 RQe=x((function(e,t){var n=e.children,r=jQe(AQe(e,["children"])),i=r.open,a=AQe(r,["open"]);return O(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(DQe({},a,{open:i})))}));RQe.displayName="Dropzone",RQe.propTypes={children:_V.func,accept:_V.oneOfType([_V.string,_V.arrayOf(_V.string)]),multiple:_V.bool,preventDropOnDocument:_V.bool,noClick:_V.bool,noKeyboard:_V.bool,noDrag:_V.bool,noDragEventsBubbling:_V.bool,minSize:_V.number,maxSize:_V.number,disabled:_V.bool,getFilesFromEvent:_V.func,onFileDialogCancel:_V.func,onDragEnter:_V.func,onDragLeave:_V.func,onDragOver:_V.func,onDrop:_V.func,onDropAccepted:_V.func,onDropRejected:_V.func};var MQe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function jQe(){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?aQe:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,_=e.onDropRejected,O=e.onFileDialogCancel,k=e.preventDropOnDocument,S=void 0===k||k,C=e.noClick,E=void 0!==C&&C,I=e.noKeyboard,T=void 0!==I&&I,P=e.noDrag,D=void 0!==P&&P,N=e.noDragEventsBubbling,A=void 0!==N&&N,R=c(null),M=c(null),j=p(LQe,MQe),L=TQe(j,2),z=L[0],F=L[1],Q=z.isFocused,B=z.isFileDialogActive,U=z.draggedFiles,W=f((function(){M.current&&(F({type:"openDialog"}),M.current.value=null,M.current.click())}),[F]),q=function(){B&&setTimeout((function(){M.current&&(M.current.files.length||(F({type:"closeDialog"}),"function"==typeof O&&O()))}),300)};u((function(){return window.addEventListener("focus",q,!1),function(){window.removeEventListener("focus",q,!1)}}),[M,B,O]);var $=f((function(e){R.current&&R.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),W()))}),[R,M]),V=f((function(){F({type:"focus"})}),[]),K=f((function(){F({type:"blur"})}),[]),H=f((function(){E||(CQe()?setTimeout(W,0):W())}),[M,E]),G=c([]),Y=function(e){R.current&&R.current.contains(e.target)||(e.preventDefault(),G.current=[])};u((function(){return S&&(document.addEventListener("dragover",OQe,!1),document.addEventListener("drop",Y,!1)),function(){S&&(document.removeEventListener("dragover",OQe),document.removeEventListener("drop",Y))}}),[R,S]);var X=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(IQe(G.current),[e.target])),_Qe(e)&&Promise.resolve(o(e)).then((function(t){xQe(e)&&!A||(F({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,A]),Z=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return _Qe(e)&&b&&b(e),!1}),[b,A]),J=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=G.current.filter((function(t){return t!==e.target&&R.current&&R.current.contains(t)}));G.current=t,t.length>0||(F({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),_Qe(e)&&y&&y(e))}),[R,y,A]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),G.current=[],F({type:"reset"}),_Qe(e)&&Promise.resolve(o(e)).then((function(n){if(!xQe(e)||A){var r=[],i=[];n.forEach((function(e){vQe(e,t)&&yQe(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,IQe(r.splice(0))),F({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),w&&w(r,i,e),i.length>0&&_&&_(i,e),r.length>0&&x&&x(r,e)}}))}),[g,t,h,s,o,w,x,_,A]),te=function(e){return r?null:e},ne=function(e){return T?null:te(e)},re=function(e){return D?null:te(e)},ie=function(e){A&&e.stopPropagation()},oe=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,f=AQe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return DQe(NQe({onKeyDown:ne(EQe(i,$)),onFocus:ne(EQe(o,V)),onBlur:ne(EQe(a,K)),onClick:te(EQe(s,H)),onDragEnter:re(EQe(l,X)),onDragOver:re(EQe(c,Z)),onDragLeave:re(EQe(u,J)),onDrop:re(EQe(d,ee))},n,R),r||T?{}:{tabIndex:0},{},f)}}),[R,$,V,K,H,X,Z,J,ee,T,D,r]),ae=f((function(e){e.stopPropagation()}),[]),se=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=AQe(e,["refKey","onChange","onClick"]),s=NQe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(EQe(i,ee)),onClick:te(EQe(o,ae)),autoComplete:"off",tabIndex:-1},r,M);return DQe({},s,{},a)}}),[M,t,g,ee,r]),le=U.length,ce=g||le<=1,ue=le>0&&wQe(U,t,h,s),de=le>0&&(!ue||!ce);return DQe({},z,{isDragAccept:ue,isDragReject:de,isFocused:Q&&!r,getRootProps:oe,getInputProps:se,rootRef:R,inputRef:M,open:te(W)})}function LQe(e,t){switch(t.type){case"focus":return DQe({},e,{isFocused:!0});case"blur":return DQe({},e,{isFocused:!1});case"openDialog":return DQe({},e,{isFileDialogActive:!0});case"closeDialog":return DQe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return DQe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return DQe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return DQe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var zQe={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}))}(zQe);var FQe,QQe=zQe.exports;function BQe(){return(BQe=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}).apply(this,arguments)}function UQe(e){var t=e.nativeEvent;return window.TouchEvent?t instanceof TouchEvent:"touches"in t}function WQe(e){return e.nativeEvent instanceof MouseEvent}function qQe(e){return UQe(e)?{x:e.touches[0].pageX,y:e.touches[0].pageY}:WQe(e)?{x:e.pageX,y:e.pageY}:null}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(FQe||(FQe={}));var $Qe={exports:{}},VQe=Ve($Qe.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=c;var o=n(3),a=i(n(4)),s=n(14),l=i(n(15));function c(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,c=e.activeStyle,u=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,_=e.searchWords,O=e.textToHighlight,k=e.unhighlightClassName,S=void 0===k?"":k,C=e.unhighlightStyle,E=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"]),I=(0,o.findAll)({autoEscape:u,caseSensitive:f,findChunks:h,sanitize:x,searchWords:_,textToHighlight:O}),T=w,P=-1,D="",N=void 0,A=(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:p},E,{children:I.map((function(e,t){var r=O.substr(e.start,e.end-e.start);if(e.highlight){P++;var i=void 0;i="object"==typeof g?f?g[r]:(g=A(g))[r.toLowerCase()]:g;var o=P===+a;D=i+" "+(o?n:""),N=!0===o&&null!=c?Object.assign({},y,c):y;var l={children:r,className:D,key:t,style:N};return"string"!=typeof T&&(l.highlightIndex=P),(0,s.createElement)(T,l)}return(0,s.createElement)("span",{children:r,className:S,key:t,style:C})}))}))}c.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,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:u,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,c=o.lastIndex;c>l&&e.push({start:l,end:c}),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,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!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];c.push(new h(e,t)),1!==c.length||u||s(p)},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 c="function"==typeof Symbol&&Symbol.iterator,u="<<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 p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,i,o+"["+l+"]",s);if(c instanceof Error)return c}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new p("Invalid "+i+" `"+o+"` of type `"+v(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||u;return new p("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return g(e[t])?null:new p("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 p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var u=e(a,c,r,i,o+"."+c,s);if(u instanceof Error)return u}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(f(a,e[s]))return null;return new p("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.",b(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 p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if(u){var d=u(a,c,r,i,o+"."+c,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var l=t[n],c=v(l);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var u=a({},t[n],e);for(var d in u){var f=e[d];if(!f)return new p("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=f(l,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function l(l,c,d,f,h,m,g){if(f=f||u,m=m||d,g!==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 v=f+":"+d;!r[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,f),r[v]=!0,a++)}return null==c[d]?l?null===c[d]?new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,d,f,h,m)}var c=l.bind(null,!1);return c.isRequired=l.bind(null,!0),c}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(c&&e[c]||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(!g(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var 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 c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,i,o,a,s,l],d=0;(c=new Error(t.replace(/%s/g,(function(){return u[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).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),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))r.call(a,u)&&(l[u]=a[u]);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,c){if("production"!==t.env.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var d;try{r("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,u,typeof e[u]),d=e[u](n,u,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,u,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).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=o},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,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}}])),KQe={exports:{}},HQe=(KQe.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:K(e)}function r(e){return s(e)?e:H(e)}function i(e){return l(e)?e:G(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function O(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function C(e){return void 0===e.size&&(e.size=e.__iterate(I)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function I(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return N(e,t,0)}function D(e,t){return N(e,t,t)}function N(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=0,R=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",z=j||L;function F(e){this.next=e}function Q(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 B(){return{value:void 0,done:!0}}function U(e){return!!$(e)}function W(e){return e&&"function"==typeof e.next}function q(e){var t=$(e);return t&&t.call(e)}function $(e){var t=e&&(j&&e[j]||e[L]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function K(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function H(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=A,F.VALUES=R,F.ENTRIES=M,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[z]=function(){return this},t(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return de(this,e,t,!0)},K.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(H,K),H.prototype.toKeyedSeq=function(){return this},t(G,K),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return de(this,e,t,!1)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=oe,K.Keyed=H,K.Set=Y,K.Indexed=G;var X,Z,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function 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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return V(e)?new te(e):W(e)?new ie(e):U(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 fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new F((function(){var e=i[n?o-a:a];return a++>o?B():Q(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,G(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,H(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?H(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(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,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function Oe(){}function ke(){}function Se(){}K.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,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 F((function(){return i>r?B():Q(e,i,n[t?r-i++:i++])}))},t(ne,H),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 F((function(){var a=r[t?i-o:o];return o++>i?B():Q(e,a,n[a])}))},ne.prototype[h]=!0,t(re,G),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(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=q(this._iterable);if(!W(n))return new F(B);var r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value)}))},t(ie,G),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 F((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return Q(e,i,r[i++])}))},t(be,G),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-P(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new F((function(){return r<n.size?Q(e,r++,n._value):B()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=P(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,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},xe.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 F((function(){var a=i;return i+=t?-r:r,o>n?B():Q(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Oe,_e),t(ke,_e),t(Se,_e),_e.Keyed=Oe,_e.Indexed=ke,_e.Set=Se;var Ce="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ie(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>Fe?Te(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Be===Qe&&(Be=0,Ue={}),Be++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),je)Me.set(e,t);else{if(void 0!==Ne&&!1===Ne(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(e,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ne=Object.isExtensible,Ae=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 Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Le=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var Fe=16,Qe=255,Be=0,Ue={};function We(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?it():$e(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[Ke])}t(qe,Oe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},qe.prototype.merge=function(){return ft(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return ft(this,pt,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},qe.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)},qe.isMap=$e;var Ve,Ke="@@__IMMUTABLE_MAP__@@",He=qe.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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(He);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=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Ge(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===b?e:(O(s),O(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,Ie(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ye(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Xe(e,o+1,a)}function ft(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 pe(e)}))),i.push(l)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(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 ve(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,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?b:e.get(l,b),u=gt(c,t,n,r);return u===c?e:u===b?e.remove(l):(i?it():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function bt(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 wt(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}He[Ke]=!0,He[m]=He.remove,He.removeIn=He.deleteIn,Ge.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ge.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),!s||1!==l.length){if(!d&&!s&&l.length>=xt)return ct(e,l,r,i);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ge(e,p)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},Ye.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===b)return this;var d=vt(c&l-1),f=this.nodes,p=u?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!u&&h&&f.length>=_t)return dt(e,f,c,s,h);if(u&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(u&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,w=u?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Xe.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=i===b,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var f=this.count;if(u){if(!d&&--f<Ot)return ut(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Xe(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=i===b;if(n!==this.keyHash)return s?this:(O(a),O(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,l=ve(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(O(a),s?void O(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(O(o),lt(this,e,t,Ie(r),[r,i])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,F),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 B()};var xt=v/4,_t=v/2,Ot=v/4;function kt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<v?At(0,r,g,null,new It(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Ct])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return Mt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Ft(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return Ft(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Ft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Ft(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ht(t),n)},kt.prototype.setSize=function(e){return Ft(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:Ft(this,P(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=Nt(this,t);return new F((function(){var t=r();return t===Dt?B():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=Nt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function It(e,t){this.array=e,this.ownerID=t}Et[Ct]=!0,Et[m]=Et.remove,Et.setIn=He.setIn,Et.deleteIn=Et.removeIn=He.removeIn,Et.update=He.update,Et.updateIn=He.updateIn,Et.mergeIn=He.mergeIn,Et.mergeDeepIn=He.mergeDeepIn,Et.withMutations=He.withMutations,Et.asMutable=He.asMutable,Et.asImmutable=He.asImmutable,Et.wasAltered=He.wasAltered,It.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new It([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},It.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Pt,Dt={};function Nt(e,t){var n=e._origin,r=e._capacity,i=Bt(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function At(e,t,n,r,i,o,a){var s=Object.create(Et);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 Tt||(Tt=At(0,0,g))}function Mt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Bt(e._capacity)?r=jt(r,e.__ownerID,0,t,n,o):i=jt(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):At(e._origin,e._capacity,e._level,i,r):e}function jt(e,t,n,r,i,o){var a,s=r>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,r,i,o);return u===c?e:((a=Lt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(O(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new It(e?e.array.slice():[],t)}function zt(e,t){if(t>=Bt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new It(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Bt(o),f=Bt(s);f>=1<<l+g;)c=new It(c&&c.array.length?[c]:[],r),l+=g;var p=e._tail,h=f<d?zt(e,s-1):f>d?new It([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(u=0;c;){var w=a>>>l&y;if(w!==f>>>l&y)break;w&&(u+=(1<<l)*w),l-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&f<d&&(c=c.removeAfter(r,l,f-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):At(a,s,l,c,h)}function Qt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Bt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?$t():Wt(e)?e:$t().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return $e(e)&&u(e)}function qt(e,t,n,r){var i=Object.create(Ut.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function $t(){return Pt||(Pt=qt(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===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):qt(r,i)}function Kt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===M){var r=e.__iterator(t,n);return new F((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?A:R,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?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(M,i);return new F((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return Q(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Xt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,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=wn,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=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&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(M,o),s=0;return new F((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return Q(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=qe().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Ut():qe()).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=yn(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),T(t,n,i))return e;var o=P(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new F((function(){for(;a++<o;)i.next();if(++l>s)return B();var e=i.next();return r||t===R?e:Q(t,l-1,t===A?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(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(M,i),s=!0;return new F((function(){if(!s)return B();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===M?e:Q(r,l,c,e):(s=!1,B())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(M,o),l=!0,c=0;return new F((function(){var e,o,u;do{if((e=s.next()).done)return r||i===R?e:Q(i,c++,i===A?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===M?e:Q(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new F((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===M&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:Q(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return B()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=bn(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 F((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?Q(n,a++,t):Q(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);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?H(o):l(e)?G(o):Y(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(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=bn(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),q(i?e.reverse():e)})),a=0,s=!1;return new F((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?B():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return We(e.size),C(e)}function yn(e){return s(e)?r:l(e)?i:o}function bn(e){return Object.create((s(e)?H:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function On(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);En(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=qe(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Ut.prototype.set=function(e,t){return Vt(this,e,t)},Ut.prototype.remove=function(e){return Vt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Wt,Ut.prototype[h]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Kt,H),Kt.prototype.get=function(e,t){return this._iter.get(e,t)},Kt.prototype.has=function(e){return this._iter.has(e)},Kt.prototype.valueSeq=function(){return this._iter.valueSeq()},Kt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Kt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Kt.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?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Kt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?vn(this):0;return new F((function(){var i=n.next();return i.done?i:Q(e,t?--r:r++,i.value,i)}))},Kt.prototype[h]=!0,t(Ht,G),Ht.prototype.includes=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Yt,H),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return Q(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Ht.prototype.cacheResult=Kt.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(On,Oe),On.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},On.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},On.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},On.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},On.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},On.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},On.prototype.wasAltered=function(){return this._map.wasAltered()},On.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},On.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},On.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=On.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Cn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(In.bind(void 0,e))}catch(e){}}function In(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?jn():Pn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[Nn])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=He.removeIn,kn.merge=He.merge,kn.mergeWith=He.mergeWith,kn.mergeIn=He.mergeIn,kn.mergeDeep=He.mergeDeep,kn.mergeDeepWith=He.mergeDeepWith,kn.mergeDeepIn=He.mergeDeepIn,kn.setIn=He.setIn,kn.update=He.update,kn.updateIn=He.updateIn,kn.withMutations=He.withMutations,kn.asMutable=He.asMutable,kn.asImmutable=He.asImmutable,t(Tn,Se),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Rn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Pn;var Dn,Nn="@@__IMMUTABLE_SET__@@",An=Tn.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 Mn(e,t){var n=Object.create(An);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Mn(it()))}function Ln(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Pn(e)&&u(e)}An[Nn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=He.withMutations,An.asMutable=He.asMutable,An.asImmutable=He.asImmutable,An.__empty=jn,An.__make=Mn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=zn;var Fn,Qn=Ln.prototype;function Bn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Fn||(Fn=Bn($t()))}function Wn(e){return null==e?Gn():qn(e)?e:Gn().unshiftAll(e)}function qn(e){return!(!e||!e[Vn])}Qn[h]=!0,Qn.__empty=Un,Qn.__make=Bn,t(Wn,ke),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=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):Hn(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):Hn(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):Gn()},Wn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=P(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Hn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Hn(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 F((function(){if(r){var t=r.value;return r=r.next,Q(e,n++,t)}return B()}))},Wn.isStack=qn;var $n,Vn="@@__IMMUTABLE_STACK__@@",Kn=Wn.prototype;function Hn(e,t,n,r){var i=Object.create(Kn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Gn(){return $n||($n=Hn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Kn[Vn]=!0,Kn.withMutations=He.withMutations,Kn.asMutable=He.asMutable,Kn.asImmutable=He.asImmutable,Kn.wasAltered=He.wasAltered,n.Iterator=F,Yn(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 Ht(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 Kt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},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(A)},map:function(e,t){return mn(this,Zt(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(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(I)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(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 Xn=n.prototype;Xn[d]=!0,Xn[z]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=rr,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(r,{flip:function(){return mn(this,Xt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,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 Zn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr(Ie(e),Ie(t))|0}:function(e,t){r=r+lr(Ie(e),Ie(t))|0}:t?function(e){r=31*r+Ie(e)|0}:function(e){r=r+Ie(e)|0});return sr(i,r)}function sr(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Ce(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[z]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(i,{toKeyedSeq:function(){return new Kt(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=P(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),G.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Xn.includes,Yn(H,r.prototype),Yn(G,i.prototype),Yn(Y,o.prototype),Yn(Oe,r.prototype),Yn(ke,i.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:K,Collection:_e,Map:qe,OrderedMap:Ut,List:kt,Stack:Wn,Set:Tn,OrderedSet:Ln,Record:On,Range:xe,Repeat:be,is:ve,fromJS:pe}}()).OrderedMap,GQe={createFromArray:function(e){return HQe(e.map((function(e){return[e.getKey(),e]})))}},YQe=GQe;var XQe=KQe.exports,ZQe=XQe.Map,JQe=XQe.OrderedSet,eBe=XQe.Record,tBe=JQe(),nBe={style:tBe,entity:null},rBe=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 iBe;var t=ZQe({style:tBe,entity:null}).merge(e),n=oBe.get(t);if(n)return n;var i=new r(t);return oBe=oBe.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?JQe(t):t,entity:Array.isArray(n)?JQe(n):n})},r}(eBe(nBe)),iBe=new rBe,oBe=ZQe([[ZQe(nBe),iBe]]);rBe.EMPTY=iBe;var aBe=rBe;var sBe=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 lBe=aBe,cBe=sBe,uBe=KQe.exports,dBe=uBe.List,fBe=uBe.Map,pBe=uBe.OrderedSet,hBe=uBe.Record,mBe=uBe.Repeat,gBe=pBe(),vBe=hBe({key:"",type:"unstyled",text:"",characterList:dBe(),depth:0,data:fBe()}),yBe=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=dBe(mBe(lBe.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():gBe},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){cBe(this.getCharacterList(),bBe,e,t)},i.findEntityRanges=function(e,t){cBe(this.getCharacterList(),wBe,e,t)},r}(vBe);function bBe(e,t){return e.getStyle()===t.getStyle()}function wBe(e,t){return e.getEntity()===t.getEntity()}var xBe=yBe;var _Be=aBe,OBe=sBe,kBe=KQe.exports,SBe=kBe.List,CBe=kBe.Map,EBe=kBe.OrderedSet,IBe=kBe.Record,TBe=kBe.Repeat,PBe=EBe(),DBe={parent:null,characterList:SBe(),data:CBe(),depth:0,key:"",text:"",type:"unstyled",children:SBe(),prevSibling:null,nextSibling:null},NBe=function(e,t){return e.getStyle()===t.getStyle()},ABe=function(e,t){return e.getEntity()===t.getEntity()},RBe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=SBe(TBe(_Be.EMPTY,n.length))),e},MBe=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DBe;return e.call(this,RBe(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():PBe},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){OBe(this.getCharacterList(),NBe,e,t)},i.findEntityRanges=function(e,t){OBe(this.getCharacterList(),ABe,e,t)},r}(IBe(DBe)),jBe=MBe,LBe=aBe,zBe=KQe.exports.Map;function FBe(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(zBe([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=l):(i=t===o?a:0,c=t===s?l:e.getLength());for(var u,d=e.getCharacterList();i<c;)u=d.get(i),d=d.set(i,r?LBe.applyStyle(u,n):LBe.removeStyle(u,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var QBe={add:function(e,t,n){return FBe(e,t,n,!0)},remove:function(e,t,n){return FBe(e,t,n,!1)}},BBe=aBe;var UBe=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,BBe.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},WBe=KQe.exports;var qBe=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(WBe.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,l=t===a?s:e.getLength();return UBe(e,r,l,n)}));return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})},$Be={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,l=null,c=null,u=0;u<o.length;u++){if(e<(a=s+o[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=r+n.length,f=l===r,p=c===d;return(!f&&p||f&&!p)&&("forward"===i?c!==d&&c++:l!==r&&l--),{start:l,end:c}}},VBe="production"!==Ms.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var KBe=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(VBe(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}},HBe=KBe;var GBe=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"!==Ms.env.NODE_ENV?HBe(!1,"Entity key not found in this range."):HBe(!1)),n},YBe=$Be,XBe=GBe,ZBe=KBe;function JBe(e,t,n,r,i,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),c=e.__get(i).getMutability(),u=a?s:l;if("MUTABLE"===c)return n;var d=XBe(t,i).filter((function(e){return u<=e.end&&u>=e.start}));1!=d.length&&("production"!==Ms.env.NODE_ENV?ZBe(!1,"There should only be one entity range within this removal range."):ZBe(!1));var f=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?l=f.end:s=f.start);var p=YBe.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var eUe=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return r;var c=r;if(s&&s===l)c=JBe(e,t,c,i,s,!0,!0);else if(s&&l){var u=JBe(e,t,c,i,s,!1,!0),d=JBe(e,n,c,i,l,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=JBe(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var p=JBe(e,n,c,i,l,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},tUe={},nUe=Math.pow(2,24);var rUe=function(){for(var e;void 0===e||tUe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*nUe).toString(32);return tUe[e]=!0,e},iUe=jBe,oUe=rUe,aUe=KQe.exports.OrderedMap,sUe=function(e){return e.first()instanceof iUe?function(e){var t,n={};return aUe(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),l=r.getChildKeys(),c=r.getParentKey(),u=oUe();if(n[o]=u,a&&(e.get(a)?e.setIn([a,"prevSibling"],u):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],u):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),u))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],u),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],u):e.setIn([o,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return aUe(e.toArray().map((function(e){var t=oUe();return[t,e.set("key",t)]})))}(e)},lUe=aBe,cUe=sBe,uUe=KBe;function dUe(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,c=function(e,t,n){var r;return cUe(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"!==Ms.env.NODE_ENV?uUe(!1,"Removal range must exist within character list."):uUe(!1)),r}(r,s,n),u=c.start,d=c.end;u<d;)l=r.get(u),r=r.set(u,lUe.applyEntity(l,null)),u++;return t.set("characterList",r)}return t}var fUe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=dUe(r,s,a);l!==s&&(i[o]=l);var c=t.getEndKey(),u=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var f=dUe(r,d,u);return f!==d&&(i[c]=f),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},pUe=sUe,hUe=fUe,mUe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=hUe(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),c=s.indexOf(i)+1;return pUe(a.slice(l,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var gUe=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},vUe=YQe,yUe=jBe,bUe=gUe,wUe=KBe,xUe=sUe,_Ue=KQe.exports.List,OUe=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),l=s.getText(),c=s.getCharacterList(),u=i,d=o+r.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var p=s.getType();l&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:l.slice(0,o)+r.getText()+l.slice(o),characterList:bUe(c,r.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},kUe=function(e,t,n,r,i,o){var a=n.first()instanceof yUe,s=[],l=r.size,c=n.get(i),u=r.first(),d=r.last(),f=d.getLength(),p=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,r)),r.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,r))):s.push(e)}));var m=vUe.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=l[l.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var u=e.get(s).getChildKeys(),d=u.indexOf(i)+1,f=u.toArray();f.splice.apply(f,[d,0].concat(l)),t.setIn([s,"children"],_Ue(f))}}))}(m,0,c,u)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},SUe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ms.env.NODE_ENV?wUe(!1,"`insertFragment` should only be called with a collapsed selection state."):wUe(!1));var i=e.getBlockMap(),o=xUe(n),a=t.getStartKey(),s=t.getStartOffset(),l=i.get(a);return l instanceof yUe&&(l.getChildKeys().isEmpty()||("production"!==Ms.env.NODE_ENV?wUe(!1,"`insertFragment` should not be called when a container node is selected."):wUe(!1))),1===o.size?OUe(e,t,i,o.first(),a,s,r):kUe(e,t,i,o,a,s)},CUe=gUe,EUe=KBe,IUe=KQe.exports.Repeat;var TUe=function(e,t,n,r){t.isCollapsed()||("production"!==Ms.env.NODE_ENV?EUe(!1,"`insertText` should only be called with a collapsed range."):EUe(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),c=l.getText(),u=l.merge({text:c.slice(0,s)+n+c.slice(s,l.getLength()),characterList:CUe(l.getCharacterList(),IUe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,u),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},PUe=KQe.exports.Map;var DUe=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(PUe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},NUe=jBe,AUe=function(e,t){if(!(e instanceof NUe))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},RUe=jBe,MUe=AUe,jUe=KQe.exports;jUe.List;var LUe=jUe.Map,zUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},FUe=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},QUe=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},BUe=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},UUe=function(e,t,n,r){return e.withMutations((function(i){if(zUe(t.getKey(),i,(function(e){return e.merge({nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})})),zUe(n.getKey(),i,(function(e){return e.merge({nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})})),FUe(t.getKey(),r).forEach((function(e){return zUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})}))})),zUe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),zUe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:QUe(e,i,r)})})),zUe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:BUe(e,i,r)})})),zUe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),FUe(n.getKey(),r).forEach((function(e){zUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=MUe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?MUe(i,t):null}return n}(n,r).forEach((function(e){return zUe(e,i,(function(e){return e.merge({nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();zUe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),zUe(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){zUe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);zUe(s,i,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}zUe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},WUe=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},qUe=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=r.get(i),c=r.get(a),u=l instanceof RUe,d=[];if(u){var f=c.getChildKeys(),p=FUe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(FUe(MUe(c,r),r))}n=l===c?WUe(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=u&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?LUe([[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(LUe([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return u&&l!==c&&(g=UUe(g,l,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},$Ue=jBe,VUe=rUe,KUe=KQe.exports,HUe=KBe,GUe=DUe,YUe=KUe.List,XUe=KUe.Map,ZUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},JUe=function(e,t){t.isCollapsed()||("production"!==Ms.env.NODE_ENV?HUe(!1,"Selection range must be collapsed."):HUe(!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 GUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=i.getCharacterList(),c=VUe(),u=i instanceof $Ue,d=i.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),f=d.merge({key:c,text:o.slice(s),characterList:l.slice(s),data:XUe()}),p=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=p.concat([[n,d],[c,f]],h).toOrderedMap();return u&&(i.getChildKeys().isEmpty()||("production"!==Ms.env.NODE_ENV?HUe(!1,"ContentBlockNode must not have children"):HUe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();ZUe(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:YUe(o)})})),ZUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),ZUe(r,e,(function(e){return e.merge({nextSibling:i})})),ZUe(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,f)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},eWe=aBe,tWe=QBe,nWe=qBe,rWe=eUe,iWe=mUe,oWe=SUe,aWe=TUe,sWe=KBe,lWe=DUe,cWe=fUe,uWe=qUe,dWe=JUe,fWe=KQe.exports.OrderedSet,pWe={replaceText:function(e,t,n,r,i){var o=cWe(e,t),a=uWe(o,t),s=eWe.create({style:r||fWe(),entity:i||null});return aWe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Ms.env.NODE_ENV?sWe(!1,"Target range must be collapsed for `insertText`."):sWe(!1)),pWe.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=iWe(e,t),i=pWe.removeRange(e,t,"backward");return pWe.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=cWe(e,t),o=uWe(i,t);return oWe(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(s),u=a.getEntityAt(l-1);if(r===i&&c&&c===u){var d=rWe(e.getEntityMap(),o,a,t,n);return uWe(e,d)}var f=cWe(e,t);return uWe(f,t)},splitBlock:function(e,t){var n=cWe(e,t),r=uWe(n,t);return dWe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return tWe.add(e,t,n)},removeInlineStyle:function(e,t,n){return tWe.remove(e,t,n)},setBlockType:function(e,t,n){return lWe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return lWe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return lWe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=cWe(e,t);return nWe(r,t,n)}},hWe=pWe;var mWe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function gWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vWe=sBe,yWe=mWe,bWe=KQe.exports,wWe=bWe.List,xWe=bWe.Repeat,_We=bWe.Record,OWe=function(){return!0},kWe=_We({start:null,end:null}),SWe=_We({start:null,end:null,decoratorKey:null,leaves:null}),CWe={generate:function(e,t,n){var r=t.getLength();if(!r)return wWe.of(new SWe({start:0,end:0,decoratorKey:null,leaves:wWe.of(new kWe({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):wWe(xWe(null,r)),a=t.getCharacterList();return vWe(o,IWe,OWe,(function(e,t){i.push(new SWe({start:e,end:t,decoratorKey:o.get(e),leaves:EWe(a.slice(e,t).toList(),e)}))})),wWe(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 SWe(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){gWe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?wWe(Array.isArray(t)?t:yWe(t)).map((function(e){return kWe(e)})):null}))}};function EWe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return vWe(r,IWe,OWe,(function(e,r){n.push(new kWe({start:e+t,end:r+t}))})),wWe(n)}function IWe(e,t){return e===t}var TWe=CWe;var PWe=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,KQe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),DWe=PWe;var NWe=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 AWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RWe=DWe,MWe=KBe,jWe=NWe,LWe=(0,KQe.exports.Map)(),zWe=jWe();function FWe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var QWe={getLastCreatedEntityKey:function(){return FWe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),QWe.__getLastCreatedEntityKey()},create:function(e,t,n){return FWe("DraftEntity.create","contentState.createEntity"),QWe.__create(e,t,n)},add:function(e){return FWe("DraftEntity.add","contentState.addEntity"),QWe.__add(e)},get:function(e){return FWe("DraftEntity.get","contentState.getEntity"),QWe.__get(e)},__getAll:function(){return LWe},__loadWithEntities:function(e){LWe=e,zWe=jWe()},mergeData:function(e,t){return FWe("DraftEntity.mergeData","contentState.mergeEntityData"),QWe.__mergeData(e,t)},replaceData:function(e,t){return FWe("DraftEntity.replaceData","contentState.replaceEntityData"),QWe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return zWe},__create:function(e,t,n){return QWe.__add(new RWe({type:e,mutability:t,data:n||{}}))},__add:function(e){return zWe=jWe(),LWe=LWe.set(zWe,e),zWe},__get:function(e){var t=LWe.get(e);return t||("production"!==Ms.env.NODE_ENV?MWe(!1,"Unknown DraftEntity key: %s.",e):MWe(!1)),t},__mergeData:function(e,t){var n=QWe.__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){AWe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return LWe=LWe.set(e,i),i},__replaceData:function(e,t){var n=QWe.__get(e).set("data",t);return LWe=LWe.set(e,n),n}},BWe=QWe;var UWe=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,KQe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),WWe=UWe,qWe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},$We=new RegExp("\r","g");var VWe=function(e){return e.replace($We,"")};function KWe(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){HWe(e,t,n[t])}))}return e}function HWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GWe=YQe,YWe=aBe,XWe=xBe,ZWe=jBe,JWe=BWe,eqe=WWe,tqe=rUe,nqe=mWe,rqe=qWe,iqe=KQe.exports,oqe=VWe,aqe=iqe.List,sqe=iqe.Record,lqe=iqe.Repeat,cqe=iqe.Map,uqe=iqe.OrderedMap,dqe=sqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),fqe=rqe("draft_tree_data_support")?ZWe:XWe,pqe=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 JWe},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 JWe.__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 JWe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return JWe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return JWe.__replaceData(e,t),this},i.addEntity=function(e){return JWe.__add(e),this},i.getEntity=function(e){return JWe.__get(e)},i.getAllEntities=function(){return JWe.__getAll()},i.loadWithEntities=function(e){return JWe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=GWe.createFromArray(n),o=i.isEmpty()?new eqe:eqe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||JWe,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=oqe(e),new fqe({key:tqe(),text:e,type:"unstyled",characterList:aqe(lqe(YWe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(KWe({},e,{blockMap:uqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new eqe(e.selectionBefore),selectionAfter:new eqe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new fqe(KWe({},e,{data:cqe(e.data),characterList:null!=t?aqe((Array.isArray(t)?t:nqe(t)).map((function(e){return YWe.fromJS(e)}))):void 0}))},r}(dqe),hqe=pqe,mqe=KBe,gqe=null;function vqe(e){return"LTR"===e||"RTL"===e}function yqe(e){return vqe(e)||("production"!==Ms.env.NODE_ENV?mqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):mqe(!1)),"LTR"===e?"ltr":"rtl"}function bqe(e){gqe=e}var wqe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:vqe,getHTMLDir:yqe,getHTMLDirIfDifferent:function(e,t){return vqe(e)||("production"!==Ms.env.NODE_ENV?mqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):mqe(!1)),vqe(t)||("production"!==Ms.env.NODE_ENV?mqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):mqe(!1)),e===t?null:yqe(e)},setGlobalDir:bqe,initGlobalDir:function(){bqe("LTR")},getGlobalDir:function(){return gqe||this.initGlobalDir(),gqe||("production"!==Ms.env.NODE_ENV?mqe(!1,"Global direction not set."):mqe(!1)),gqe}},xqe=wqe,_qe=KBe,Oqe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",kqe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Sqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Oqe+kqe+"]"),Cqe=new RegExp("["+Oqe+kqe+"]");function Eqe(e){var t=Sqe.exec(e);return null==t?null:t[0]}function Iqe(e){var t=Eqe(e);return null==t?xqe.NEUTRAL:Cqe.exec(t)?xqe.RTL:xqe.LTR}function Tqe(e,t){if(t=t||xqe.NEUTRAL,!e.length)return t;var n=Iqe(e);return n===xqe.NEUTRAL?t:n}function Pqe(e,t){return t||(t=xqe.getGlobalDir()),xqe.isStrong(t)||("production"!==Ms.env.NODE_ENV?_qe(!1,"Fallback direction must be a strong direction"):_qe(!1)),Tqe(e,t)}var Dqe={firstStrongChar:Eqe,firstStrongCharDir:Iqe,resolveBlockDir:Tqe,getDirection:Pqe,isDirectionLTR:function(e,t){return Pqe(e,t)===xqe.LTR},isDirectionRTL:function(e,t){return Pqe(e,t)===xqe.RTL}};function Nqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Aqe,Rqe=Dqe,Mqe=wqe,jqe=KBe,Lqe=function(){function e(e){Nqe(this,"_defaultDir",void 0),Nqe(this,"_lastDir",void 0),e?Mqe.isStrong(e)||("production"!==Ms.env.NODE_ENV?jqe(!1,"Default direction must be a strong direction (LTR or RTL)"):jqe(!1)):e=Mqe.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=Rqe.getDirection(e,this._lastDir),this._lastDir},e}(),zqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Fqe=Lqe,Qqe=KQe.exports,Bqe=zqe,Uqe=Qqe.OrderedMap,Wqe={getDirectionMap:function(e,t){Aqe?Aqe.reset():Aqe=new Fqe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return Bqe(Aqe).getDirection(e.getText())})),i=Uqe(n.keySeq().zip(r));return null!=t&&Qqe.is(t,i)?t:i}};function qqe(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){$qe(e,t,n[t])}))}return e}function $qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vqe=TWe,Kqe=hqe,Hqe=Wqe,Gqe=WWe,Yqe=KQe.exports,Xqe=Yqe.OrderedSet,Zqe=Yqe.Record,Jqe=Yqe.Stack,e$e=Yqe.OrderedMap,t$e=Yqe.List,n$e=Zqe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Jqe(),selection:null,treeMap:null,undoStack:Jqe()}),r$e=function(){t.createEmpty=function(e){return t.createWithContent(Kqe.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:Jqe(),redoStack:Jqe(),decorator:n||null,selection:Gqe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=qqe({},e,{treeMap:o$e(n,e.decorator),directionMap:Hqe.getDirectionMap(n)});return new t(new n$e(r))},t.fromJS=function(e){return new t(new n$e(qqe({},e,{directionMap:null!=e.directionMap?e$e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?Xqe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?Kqe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?Jqe(e.redoStack.map((function(e){return Kqe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new Gqe(e.selection):e.selection,treeMap:null!=e.treeMap?e$e(e.treeMap).map((function(e){return t$e(e).map((function(e){return Vqe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?Jqe(e.undoStack.map((function(e){return Kqe.fromJS(e)}))):e.undoStack,currentContent:Kqe.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 Vqe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):o$e(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 Vqe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){$qe(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 s$e(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 s$e(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 i$e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),i$e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new Gqe({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=Hqe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||a$e(e,r)?(l=l.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var u=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(u=null);var f={currentContent:c,directionMap:o,undoStack:l,redoStack:Jqe(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:u};return t.set(e,f)},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=Hqe.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=Hqe.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 i$e(e,t,n){return r$e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function o$e(e,t){return e.getBlockMap().map((function(n){return Vqe.generate(e,n,t)})).toOrderedMap()}function a$e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function s$e(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):Xqe()}var l$e=r$e,c$e=jBe,u$e=AUe,d$e=KQe.exports,f$e=KBe,p$e=d$e.OrderedMap,h$e=d$e.List,m$e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},g$e=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),c=t.getNextSiblingKey(),u=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){m$e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),m$e(u,e,(function(e){return e.merge({nextSibling:c})})),m$e(c,e,(function(e){return e.merge({prevSibling:u})})),m$e(f,e,(function(e){return e.merge({prevSibling:a})})),m$e(p,e,(function(e){return e.merge({nextSibling:a})})),m$e(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:h$e(i)})})),m$e(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},v$e=function(e,t,n,r){"replace"===r&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Replacing blocks is not supported."):f$e(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Block cannot be moved next to itself."):f$e(!1));var a=e.getBlockMap(),s=t instanceof c$e,l=[t],c=a.delete(o);s&&(l=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=u$e(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var u=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),f=l.map((function(e){return[e.getKey(),e]})),p=p$e();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Block cannot be moved next to itself."):f$e(!1)),p=u.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Block cannot be moved next to itself."):f$e(!1)),p=u.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:g$e(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function y$e(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){b$e(e,t,n[t])}))}return e}function b$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w$e=YQe,x$e=aBe,_$e=xBe,O$e=jBe,k$e=hWe,S$e=l$e,C$e=rUe,E$e=KQe.exports,I$e=v$e,T$e=qWe("draft_tree_data_support"),P$e=T$e?O$e:_$e,D$e=E$e.List,N$e=E$e.Repeat,A$e={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=k$e.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=k$e.splitBlock(o,a),l=s.getSelectionAfter(),c=k$e.setBlockType(s,l,"atomic"),u=x$e.create({entity:t}),d={key:C$e(),type:"atomic",text:n,characterList:D$e(N$e(u,n.length))},f={key:C$e(),type:"unstyled"};T$e&&(d=y$e({},d,{nextSibling:f.key}),f=y$e({},f,{prevSibling:d.key}));var p=[new P$e(d),new P$e(f)],h=w$e.createFromArray(p),m=k$e.replaceWithFragment(c,l,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return S$e.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=I$e(o,t,s,r)}else{var l=k$e.removeRange(o,n,"backward"),c=l.getSelectionAfter(),u=l.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=I$e(l,t,u,"before");else if(c.getEndOffset()===u.getLength())i=I$e(l,t,u,"after");else{var d=k$e.splitBlock(l,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=I$e(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return S$e.push(e,h,"move-block")}};var R$e=KQe.exports.List,M$e=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)})),R$e(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 j$e=M$e;function L$e(e){return e.replace(/\//g,"-")}var z$e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(L$e).join(" "):Array.prototype.map.call(arguments,L$e).join(" ")},F$e=o,Q$e=z$e,B$e=(0,KQe.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:F$e.createElement("ul",{className:Q$e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:F$e.createElement("ol",{className:Q$e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:F$e.createElement("pre",{className:Q$e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),U$e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},W$e={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",l="model",c="name",u="type",d="vendor",f="version",p="architecture",h="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",_="ASUS",O="BlackBerry",k="Firefox",S="Google",C="Huawei",E="LG",I="Microsoft",T="Motorola",P="Opera",D="Samsung",N="Sony",A="Xiaomi",R="Zebra",M="Facebook",j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},L=function(e,t){return typeof e===s&&-1!==z(t).indexOf(z(e))},z=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},Q=function(e,t){for(var n,o,s,l,c,u,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(s=0;s<p.length;s++)u=c[++o],typeof(l=p[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):r:this[l[0]]=u?l[1].call(this,u,l[2]):r:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):r):this[l]=u||r;d+=2}},B=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(L(t[n][i],e))return"?"===n?r:n}else if(L(t[n],e))return"?"===n?r:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,f],[/opios[\/ ]+([\w\.]+)/i],[f,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[c,P]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,M],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[f,B,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,z]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",z]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,z]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[u,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[u,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,x],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,x],[u,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[u,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[u,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,A],[u,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,A],[u,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[u,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,T],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,T],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,E],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,E],[u,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[u,m]],[/(pixel c)\b/i],[l,[d,S],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[u,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,N],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,N],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,w],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,w],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,O],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,_],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,_],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[u,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,I],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,I],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,R],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,R],[u,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[l,[d,N],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,I],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[u,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,E],[u,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[u,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[u,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,w],[u,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[u,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[l,F],[u,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,v]],[/((pebble))app/i],[d,l,[u,y]],[/droid.+; (glass) \d/i],[l,[d,S],[u,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,R],[u,y]],[/(quest( 2)?)/i],[l,[d,M],[u,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[f,B,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[f,B,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,f],[/\(bb(10);/i],[f,[c,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,f],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,f]]},q=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof q))return new q(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,Q.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,Q.call(e,i,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,Q.call(e,i,l.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,Q.call(e,i,l.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,Q.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?F(e,255):e,this},this.setUA(i),this};q.VERSION="0.7.31",q.BROWSER=j([c,f,"major"]),q.CPU=j([p]),q.DEVICE=j([l,d,u,h,m,v,g,y,b]),q.ENGINE=q.OS=j([c,f]),e.exports&&(t=e.exports=q),t.UAParser=q;var $=typeof n!==o&&(n.jQuery||n.Zepto);if($&&!$.ua){var V=new q;$.ua=V.getResult(),$.ua.get=function(){return V.getUA()},$.ua.set=function(e){V.setUA(e);var t=V.getResult();for(var n in t)$.ua[n]=t[n]}}}("object"==typeof window?window:$e)}(W$e,W$e.exports);var q$e="Unknown",$$e={"Mac OS":"Mac OS X"};var V$e=(new(0,W$e.exports)).getResult(),K$e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(V$e.browser.version),H$e={browserArchitecture:V$e.cpu.architecture||q$e,browserFullVersion:V$e.browser.version||q$e,browserMinorVersion:K$e.minor||q$e,browserName:V$e.browser.name||q$e,browserVersion:V$e.browser.major||q$e,deviceName:V$e.device.model||q$e,engineName:V$e.engine.name||q$e,engineVersion:V$e.engine.version||q$e,platformArchitecture:V$e.cpu.architecture||q$e,platformName:function(e){return $$e[e]||e}(V$e.os.name)||q$e,platformVersion:V$e.os.version||q$e,platformFullVersion:V$e.os.version||q$e},G$e=H$e,Y$e=KBe,X$e=/\./,Z$e=/\|\|/,J$e=/\s+\-\s+/,eVe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,tVe=/^(\d*)(.*)/;function nVe(e,t){var n=e.split(Z$e);return n.length>1?n.some((function(e){return pVe.contains(e,t)})):function(e,t){var n=e.split(J$e);if(n.length>0&&n.length<=2||("production"!==Ms.env.NODE_ENV?Y$e(!1,'the "-" operator expects exactly 2 operands'):Y$e(!1)),1===n.length)return rVe(n[0],t);var r=n[0],i=n[1];return lVe(r)&&lVe(i)||("production"!==Ms.env.NODE_ENV?Y$e(!1,'operands to the "-" operator must be simple (no modifiers)'):Y$e(!1)),rVe(">="+r,t)&&rVe("<="+i,t)}(e=n[0].trim(),t)}function rVe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(X$e),r=aVe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return iVe(n,o);case"<=":return function(e,t){var n=fVe(e,t);return-1===n||0===n}(n,o);case">=":return oVe(n,o);case">":return function(e,t){return 1===fVe(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);sVe(o)&&(r[i]=o+1+"");return oVe(e,n)&&iVe(e,r)}(n,o);default:return function(e,t){return 0===fVe(e,t)}(n,o)}}function iVe(e,t){return-1===fVe(e,t)}function oVe(e,t){var n=fVe(e,t);return 1===n||0===n}function aVe(e){var t=e.split(X$e),n=t[0].match(eVe);return n||("production"!==Ms.env.NODE_ENV?Y$e(!1,"expected regex to match but it did not"):Y$e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function sVe(e){return!isNaN(e)&&isFinite(e)}function lVe(e){return!aVe(e).modifier}function cVe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function uVe(e,t){var n=e.match(tVe)[1],r=t.match(tVe)[1],i=parseInt(n,10),o=parseInt(r,10);return sVe(i)&&sVe(o)&&i!==o?dVe(i,o):dVe(e,t)}function dVe(e,t){return typeof e!=typeof t&&("production"!==Ms.env.NODE_ENV?Y$e(!1,'"a" and "b" must be of the same type'):Y$e(!1)),e>t?1:e<t?-1:0}function fVe(e,t){for(var n=function(e,t){cVe(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 cVe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=uVe(r[o],i[o]);if(a)return a}return 0}var pVe={contains:function(e,t){return nVe(e.trim(),t.trim())}},hVe=pVe,mVe=Object.prototype.hasOwnProperty;var gVe=function(e,t,n){if(!e)return null;var r={};for(var i in e)mVe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var vVe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},yVe=G$e,bVe=hVe;function wVe(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,bVe.contains(i,t))}function xVe(e){return"Windows"===yVe.platformName?e.replace(/^\s*NT/,""):e}var _Ve=gVe({isBrowser:function(e){return wVe(yVe.browserName,yVe.browserFullVersion,e)},isBrowserArchitecture:function(e){return wVe(yVe.browserArchitecture,null,e)},isDevice:function(e){return wVe(yVe.deviceName,null,e)},isEngine:function(e){return wVe(yVe.engineName,yVe.engineVersion,e)},isPlatform:function(e){return wVe(yVe.platformName,yVe.platformFullVersion,e,xVe)},isPlatformArchitecture:function(e){return wVe(yVe.platformArchitecture,null,e)}},vVe);var OVe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var kVe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},SVe=kVe;var CVe=function e(t){if(SVe(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},EVe=OVe,IVe=CVe;var TVe=function(e){for(var t=e;t&&t!==EVe(e).documentElement;){var n=IVe(t);if(null!=n)return n;t=t.parentNode}return null};var PVe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function DVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NVe=_Ve,AVe=TVe,RVe=PVe,MVe=KBe,jVe=zqe,LVe=KQe.exports.Map,zVe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},FVe=NVe.isBrowser("IE <= 11"),QVe=function(){function e(e){var t=this;DVe(this,"observer",void 0),DVe(this,"container",void 0),DVe(this,"mutations",void 0),DVe(this,"onCharData",void 0),this.container=e,this.mutations=LVe();var n=RVe(e);n.MutationObserver&&!FVe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ms.env.NODE_ENV?MVe(!1,"Expected target to be an instance of Node"):MVe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,zVe):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=LVe(),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 FVe?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=jVe(AVe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),BVe={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)}}},UVe={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},WVe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var qVe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},$Ve=KBe,VVe=qVe;var KVe=function(e){var t=e.editorContainer;return t||("production"!==Ms.env.NODE_ENV?$Ve(!1,"Missing editorNode"):$Ve(!1)),VVe(t.firstChild)||("production"!==Ms.env.NODE_ENV?$Ve(!1,"editorNode.firstChild is not an HTMLElement"):$Ve(!1)),t.firstChild},HVe=BVe,GVe=zqe;var YVe=function(e,t,n,r,i){var o=GVe(e.getSelection());if(!t||!r)return"production"!==Ms.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=HVe.decode(t),s=a.blockKey,l=e.getBlockTree(s),c=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),u=HVe.decode(r),d=u.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!p)return"production"!==Ms.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=p.get("start"),g=c?h+n:null,v=p?m+i:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var w=c.get("end"),x=p.get("end");b=m===h&&x===w?i<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},XVe=TVe,ZVe=CVe,JVe=YVe,eKe=KBe,tKe=kVe,nKe=zqe;function rKe(e,t,n){var r=t,i=XVe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Ms.env.NODE_ENV?eKe(!1,"Unknown node in selection range."):eKe(!1)),e===r)&&(r=r.firstChild,tKe(r)||("production"!==Ms.env.NODE_ENV?eKe(!1,"Invalid DraftEditorContents node."):eKe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Ms.env.NODE_ENV?eKe(!1,"Invalid DraftEditorContents structure."):eKe(!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&&(tKe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||ZVe(e.firstChild));)e=e.firstChild;return e}(r);o=nKe(ZVe(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],l=null,c=null;if(ZVe(s)){var u=function(e){for(;e.lastChild&&(tKe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||ZVe(e.lastChild));)e=e.lastChild;return e}(s);l=nKe(ZVe(u)),c=iKe(u)}else l=nKe(i),c=iKe(s);return{key:l,offset:c}}function iKe(e){var t=e.textContent;return"\n"===t?0:t.length}var oKe=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:JVe(e,nKe(XVe(n)),r,nKe(XVe(i)),o),needsRecovery:!1};var l=null,c=null,u=!0;return a?(l={key:nKe(XVe(n)),offset:r},c=rKe(t,i,o)):s?(c={key:nKe(XVe(i)),offset:o},l=rKe(t,n,r)):(l=rKe(t,n,r),c=rKe(t,i,o),n===i&&r===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:JVe(e,l.key,l.offset,c.key,c.offset),needsRecovery:u}},aKe=oKe;var sKe=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}:aKe(e,t,r,i,o,a)},lKe=WVe,cKe=l$e,uKe=KVe,dKe=sKe;var fKe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();lKe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=dKe(n,uKe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?cKe.forceSelection(n,i):cKe.acceptSelection(n,i),e.update(n))}};var pKe={notEmptyKey:function(e){return null!=e&&""!=e}},hKe=pKe.notEmptyKey;function mKe(e,t){return hKe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var gKe=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:mKe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),mKe(e.getEntityMap(),n)},vKe=QVe,yKe=hWe,bKe=BVe,wKe=l$e,xKe=UVe,_Ke=KVe,OKe=sKe,kKe=gKe,SKe=zqe,CKe=!1,EKe=!1,IKe=null;var TKe={onCompositionStart:function(e){EKe=!0,function(e){IKe||(IKe=new vKe(_Ke(e))).start()}(e)},onCompositionEnd:function(e){CKe=!1,EKe=!1,setTimeout((function(){CKe||TKe.resolveComposition(e)}),20)},onSelect:fKe,onKeyDown:function(e,t){if(!EKe)return TKe.resolveComposition(e),void e._onKeyDown(t);t.which!==xKe.RIGHT&&t.which!==xKe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===xKe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!EKe){var t=SKe(IKe).stopAndFlushMutations();IKe=null,CKe=!0;var n=wKe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=bKe.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),c=l.start,u=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),f=kKe(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=yKe.replaceText(r,d,e,p,f),n=wKe.set(n,{currentContent:r})}));var i=OKe(n,_Ke(e)).selectionState;e.restoreEditorDOM();var o=wKe.acceptSelection(n,i);e.update(wKe.push(o,r,"insert-characters"))}else e.update(n)}}},PKe=TKe,DKe=oV;function NKe(){return NKe=DKe||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},NKe.apply(this,arguments)}var AKe=BVe,RKe=o,MKe=Dqe,jKe=wqe,LKe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,c=t.getKey(),u=s.get("leaves"),d=i.getComponentForKey(o),f=i.getPropsForKey(o),p=AKe.encode(c,parseInt(o,10),0),h=l.slice(u.first().get("start"),u.last().get("end")),m=jKe.getHTMLDirIfDifferent(MKe.getDirection(h),a);return RKe.createElement(d,NKe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(RKe.Component),zKe=LKe;function FKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BKe=o,UKe=KBe,WKe=kVe,qKe=_Ve.isBrowser("IE <= 11");var $Ke=function(e){var t,n;function r(t){var n;return QKe(FKe(n=e.call(this,t)||this),"_forceFlag",void 0),QKe(FKe(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;WKe(t)||("production"!==Ms.env.NODE_ENV?UKe(!1,"node is not an Element"):UKe(!1));var r=t;return n?!function(e){return qKe?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},qKe?BKe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):BKe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return qKe?BKe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):BKe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):BKe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(BKe.Component),VKe=$Ke,KKe=kVe;var HKe=function(e){return!(!e||!e.ownerDocument)&&(KKe(e)&&"BR"===e.nodeName)};var GKe=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 YKe=function(e){return GKe(e)&&3==e.nodeType};var XKe=function e(t,n){return!(!t||!n)&&(t===n||!YKe(t)&&(YKe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var ZKe=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}},JKe=WVe,eHe=XKe,tHe=ZKe,nHe=OVe,rHe=KBe,iHe=kVe,oHe=_Ve.isBrowser("IE");function aHe(e,t){if(!e)return"[empty]";var n=sHe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(iHe(n)||("production"!==Ms.env.NODE_ENV?rHe(!1,"Node must be an Element if it is not a text node."):rHe(!1)),n.outerHTML)}function sHe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return nHe(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(sHe(o[a],t));return i}function lHe(e,t){for(var n=e,r=n;n;){if(iHe(n)&&r.hasAttribute("contenteditable"))return aHe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function cHe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function uHe(e,t,n,r){var i=tHe();if(e.extend&&null!=t&&eHe(i,t)){n>cHe(t)&&JKe.logSelectionStateFailure({anonymizedDom:lHe(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 JKe.logSelectionStateFailure({anonymizedDom:lHe(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 dHe(e,t,n,r){var i=nHe(t).createRange();if(n>cHe(t)&&JKe.logSelectionStateFailure({anonymizedDom:lHe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),oHe)try{e.addRange(i)}catch(e){"production"!==Ms.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var fHe=function(e,t,n,r,i){var o=nHe(t);if(eHe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),c=e.getFocusKey(),u=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=l;s=c,l=u,c=f,u=p,d=!1}var h=s===n&&r<=l&&i>=l,m=c===n&&r<=u&&i>=u;if(h&&m)return a.removeAllRanges(),dHe(a,t,l-r,e),void uHe(a,t,u-r,e);if(d){if(m&&(a.removeAllRanges(),dHe(a,t,u-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),dHe(a,t,l-r,e),uHe(a,g,v,e)}}else h&&(a.removeAllRanges(),dHe(a,t,l-r,e)),m&&uHe(a,t,u-r,e)}},pHe=oV;function hHe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gHe=VKe,vHe=o,yHe=KBe,bHe=HKe,wHe=fHe,xHe=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 mHe(hHe(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"!==Ms.env.NODE_ENV?yHe(!1,"Missing node"):yHe(!1));var l,c=s.firstChild;c||("production"!==Ms.env.NODE_ENV?yHe(!1,"Missing child"):yHe(!1)),c.nodeType===Node.TEXT_NODE?l=c:bHe(c)?l=s:(l=c.firstChild)||("production"!==Ms.env.NODE_ENV?yHe(!1,"Missing targetNode"):yHe(!1)),wHe(e,l,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ms.env.NODE_ENV?yHe(!1,"Missing leafNode"):yHe(!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()),pHe(e,r,n)}),{});if(o){var c=o(s,t);l=pHe(l,c)}return vHe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},vHe.createElement(gHe,null,n))},r}(vHe.Component),_He=xHe;var OHe=zKe,kHe=_He,SHe=BVe,CHe=o,EHe=z$e;KQe.exports.List;var IHe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,c=e.selection,u=e.tree,d=t.getKey(),f=t.getText(),p=u.size-1,h=this.props.children||u.map((function(e,u){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=SHe.encode(d,u,n),a=e.get("start"),m=e.get("end");return CHe.createElement(kHe,{key:o,offsetKey:o,block:t,start:a,selection:l?c:null,forceSelection:s,text:f.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===p&&n===g})})).toArray();return h&&o?CHe.createElement(OHe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:u}):v})).toArray();return CHe.createElement("div",{"data-offset-key":SHe.encode(d,0,0),className:EHe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(CHe.Component),THe=IHe;function PHe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var DHe={getTop:function(e){var t=e.ownerDocument;return PHe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;PHe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return PHe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;PHe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},NHe=DHe,AHe=/-(.)/g;var RHe=function(e){return e.replace(AHe,(function(e,t){return t.toUpperCase()}))},MHe=/([A-Z])/g;var jHe=function(e){return e.replace(MHe,"-$1").toLowerCase()},LHe=RHe,zHe=jHe;function FHe(e){return null==e?e:String(e)}var QHe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return FHe(n.getPropertyValue(zHe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return FHe(n.getPropertyValue(zHe(t)));if("display"===t)return"none"}return e.currentStyle?FHe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[LHe(t)]):FHe(e.style&&e.style[LHe(t)])};function BHe(e,t){var n=UHe.get(e,t);return"auto"===n||"scroll"===n}var UHe={get:QHe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(BHe(e,"overflow")||BHe(e,"overflowY")||BHe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},WHe=UHe,qHe=XKe;var $He=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!qHe(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 VHe=function(e){var t=$He(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},KHe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var HHe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:KHe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var GHe=HHe,YHe=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 XHe=function(e){var t=GHe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=YHe(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 ZHe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function JHe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function eGe(){return{width:window.innerWidth||ZHe(),height:window.innerHeight||JHe()}}eGe.withoutScrollbars=function(){return{width:ZHe(),height:JHe()}};var tGe=eGe,nGe=oV;function rGe(){return rGe=nGe||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},rGe.apply(this,arguments)}function iGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oGe(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){aGe(e,t,n[t])}))}return e}function aGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sGe=THe,lGe=BVe,cGe=o,uGe=NHe,dGe=WHe,fGe=VHe,pGe=XHe,hGe=tGe,mGe=KBe,gGe=qVe;KQe.exports.List;var vGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},yGe=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}},bGe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},wGe=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=oGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},xGe=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 aGe(iGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",cGe.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||vGe(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=dGe.getScrollParent(n),o=pGe(i);if(i===window){var a=fGe(n);(r=a.y+a.height-hGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{gGe(n)||("production"!==Ms.env.NODE_ENV?mGe(!1,"blockNode is not an HTMLElement"):mGe(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&uGe.setTop(i,uGe.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,c=t.editorKey,u=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=lGe.encode(n,0,0),d=s.getBlockForKey(n),f=bGe(d,o),p=f.CustomComponent||r,h=yGe(d,i),m=h.Element,g=h.wrapperTemplate,v=wGe(d,c,l,a,f,null),y=oGe({},e.props,{tree:u.getBlockTree(n),blockProps:f.customProps,offsetKey:l,block:d});return t.push(cGe.createElement(m,v,cGe.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var u=r.reverse(),d=u[0].key;n.push(cGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":lGe.encode(d,0,0)},u))}(g,m,t),t}),[]));var y=n.getKey(),b=lGe.encode(y,0,0),w=bGe(n,o),x=w.CustomComponent,_=null!=x?cGe.createElement(x,rGe({},this.props,{tree:u.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):cGe.createElement(sGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:l,direction:p,forceSelection:h,hasSelection:vGe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var O=yGe(n,i).Element,k=wGe(n,c,b,a,w,this.wrapperRef);return cGe.createElement(O,k,_)},r}(cGe.Component),_Ge=oV;function OGe(){return OGe=_Ge||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},OGe.apply(this,arguments)}var kGe=xGe,SGe=BVe,CGe=o,EGe=zqe,IGe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,c=a.getCurrentContent(),u=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=EGe(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:u,block:m,direction:l||p.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:CGe.createElement(kGe,OGe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:SGe.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?c.getBlockForKey(b):null}for(var w=[],x=0;x<h.length;){var _=h[x];if(_.wrapperTemplate){var O=[];do{O.push(h[x].block),x++}while(x<h.length&&h[x].wrapperTemplate===_.wrapperTemplate);var k=CGe.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},O);w.push(k)}else w.push(_.block),x++}return CGe.createElement("div",{"data-contents":"true"},w)},r}(CGe.Component),TGe=IGe,PGe=oV;function DGe(){return DGe=PGe||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},DGe.apply(this,arguments)}function NGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RGe=_He,MGe=BVe,jGe=o,LGe=NHe,zGe=WHe,FGe=Dqe,QGe=wqe,BGe=z$e,UGe=VHe,WGe=XHe,qGe=tGe,$Ge=KBe,VGe=qVe,KGe=zqe,HGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},GGe=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 AGe(NGe(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||HGe(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=zGe.getScrollParent(n),o=WGe(i);if(i===window){var a=UGe(n);(r=a.y+a.height-qGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{VGe(n)||("production"!==Ms.env.NODE_ENV?$Ge(!1,"blockNode is not an HTMLElement"):$Ge(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&LGe.setTop(i,LGe.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=HGe(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var c=l.size-1,u=l.map((function(a,l){var u=MGe.encode(n,s,l),d=a.get("start"),f=a.get("end");return jGe.createElement(RGe,{key:u,offsetKey:u,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&l===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return u;if(!e.props.decorator)return u;var f=KGe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return u;var h=f.getPropsForKey(d),m=MGe.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=r.slice(g,v),b=t.getEntityAt(a.get("start")),w=QGe.getHTMLDirIfDifferent(FGe.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return jGe.createElement(p,DGe({},h,x,{key:m}),u)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=BGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return jGe.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(jGe.Component),YGe=GGe;var XGe=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},ZGe=oV;function JGe(){return JGe=ZGe||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},JGe.apply(this,arguments)}function eYe(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){tYe(e,t,n[t])}))}return e}function tYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nYe=YGe,rYe=BVe,iYe=o,oYe=z$e,aYe=XGe,sYe=zqe,lYe=function(e,t,n,r){return oYe({"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})},cYe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,c=e.textDirectionality,u=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=sYe(a.getDirectionMap()),m=u.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),_=w.getType(),O=n(w),k=void 0,S=void 0,C=void 0;O&&(k=O.component,S=O.props,C=O.editable);var E=c||h.get(x),I=rYe.encode(x,0,0),T={contentState:u,block:w,blockProps:S,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:p,direction:E,forceSelection:f,offsetKey:I,preventScroll:l,selection:d,tree:a.getBlockTree(x)},P=t.get(_)||t.get("unstyled"),D=P.wrapper,N=P.element||t.get("unstyled").element,A=w.getDepth(),R="";if(r&&(R=r(w)),"li"===N)R=aYe(R,lYe(_,A,y!==D||null===v||A>v,E));var M=k||nYe,j={className:R,"data-block":!0,"data-editor":s,"data-offset-key":I,key:x};void 0!==C&&(j=eYe({},j,{contentEditable:C,suppressContentEditableWarning:!0}));var L=iYe.createElement(N,j,iYe.createElement(M,JGe({},T,{key:x})));g.push({block:L,wrapperTemplate:D,key:x,offsetKey:I}),v=D?w.getDepth():null,y=D}for(var z=[],F=0;F<g.length;){var Q=g[F];if(Q.wrapperTemplate){var B=[];do{B.push(g[F].block),F++}while(F<g.length&&g[F].wrapperTemplate===Q.wrapperTemplate);var U=iYe.cloneElement(Q.wrapperTemplate,{key:Q.key+"-wrap","data-offset-key":Q.offsetKey},B);z.push(U)}else z.push(Q.block),F++}return iYe.createElement("div",{"data-contents":"true"},z)},r}(iYe.Component),uYe=cYe,dYe=qWe("draft_tree_data_support")?TGe:uYe,fYe={isImage:function(e){return"image"===pYe(e)[0]},isJpeg:function(e){var t=pYe(e);return fYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function pYe(e){return e.split("/")}var hYe=fYe,mYe=KBe;var gYe=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"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Array-like object expected"):mYe(!1)),"number"!=typeof t&&("production"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Object needs a length property"):mYe(!1)),0===t||t-1 in e||("production"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Object should have keys for indices"):mYe(!1)),"function"==typeof e.callee&&("production"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):mYe(!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 vYe(e){return function(){return e}}var yYe=function(){};yYe.thatReturns=vYe,yYe.thatReturnsFalse=vYe(!1),yYe.thatReturnsTrue=vYe(!0),yYe.thatReturnsNull=vYe(null),yYe.thatReturnsThis=function(){return this},yYe.thatReturnsArgument=function(e){return e};var bYe=yYe,wYe=hYe,xYe=gYe,_Ye=bYe,OYe=new RegExp("\r\n","g"),kYe={"text/rtf":1,"text/html":1};function SYe(e){if("file"==e.kind)return e.getAsFile()}var CYe=function(){function e(e){this.data=e,this.types=e.types?xYe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return kYe[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(OYe,"\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(!wYe.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(SYe).filter(_Ye.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),EYe=CYe,IYe=KBe,TYe=/\.textClipping$/,PYe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var DYe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!$e.FileReader||e.type&&!(e.type in PYe))return void t("");if(""===e.type){var n="";return TYe.test(e.name)&&(n=e.name.replace(TYe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Ms.env.NODE_ENV?IYe(!1,'We should be calling "FileReader.readAsText" which returns a string'):IYe(!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 NYe=function(e){return"handled"===e||!0===e},AYe=EYe,RYe=hWe,MYe=l$e,jYe=TVe,LYe=OVe,zYe=DYe,FYe=YVe,QYe=PVe,BYe=NYe,UYe=zqe;var WYe={onDragEnd:function(e){e.exitCurrentMode(),qYe(e)},onDrop:function(e,t){var n=new AYe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=LYe(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=UYe(n),r=UYe(r);var a=UYe(jYe(n));return FYe(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&&BYe(e.props.handleDroppedFiles(i,o)))return;zYe(o,(function(t){t&&e.update($Ye(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&BYe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=RYe.moveText(e.getCurrentContent(),e.getSelection(),t);return MYe.push(e,n,"insert-fragment")}(r,i)):e.update($Ye(r,i,n.getText()))),qYe(e)}}}};function qYe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:QYe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function $Ye(e,t,n){var r=RYe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return MYe.push(e,r,"insert-fragment")}var VYe=WYe;var KYe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Ms.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),s=!1}}}}}("undefined"==typeof self?$e:self);var HYe=$e.setImmediate,GYe=hWe,YYe=l$e,XYe=gKe,ZYe=NYe,JYe=KYe,eXe=zqe,tXe=HYe,nXe=_Ve.isBrowser("Firefox");function rXe(e,t,n,r,i){var o=GYe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return YYe.push(e,o,"insert-characters",i)}var iXe=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&&ZYe(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(rXe(n,r,n.getCurrentInlineStyle(),XYe(n.getCurrentContent(),n.getSelection()),!0));var s,l=rXe(n,r,n.getCurrentInlineStyle(),XYe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=JYe(e._latestCommittedEditorState)),!c){var u=n.getBlockTree(a),d=l.getBlockTree(a);c=u.size!==d.size||u.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),l=s+(s>=o?r.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||l!==u||null!=d&&u-c!=s-i}))}if(c||(s=r,c=nXe&&("'"==s||"/"==s)),c||(c=eXe(l.getDirectionMap()).get(a)!==eXe(n.getDirectionMap()).get(a)),c)return t.preventDefault(),l=YYe.set(l,{forceSelection:!0}),void e.update(l);l=YYe.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,tXe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},oXe=l$e,aXe=XKe,sXe=ZKe;var lXe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&sXe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&aXe(i,r.anchorNode)&&aXe(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(oXe.acceptSelection(o,s))}},cXe=l$e;var uXe=function(e,t){e.setMode("composite"),e.update(cXe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},dXe=mUe;var fXe=function(e){var t=e.getSelection();return t.isCollapsed()?null:dXe(e.getCurrentContent(),t)},pXe=fXe;var hXe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(pXe(e._latestEditorState))};var mXe=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},gXe=hWe,vXe=l$e,yXe=WHe,bXe=fXe,wXe=XHe,xXe=mXe;var _Xe=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(xXe(o)){var a=o;n=wXe(yXe.getScrollParent(a))}var s=bXe(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=gXe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return vXe.push(e,t,"remove-range")}(r))}),0)}};var OXe=function(e,t){e.setMode("drag"),t.preventDefault()};var kXe=function(e){e._internalDrag=!0,e.setMode("drag")},SXe=l$e,CXe=_Ve;var EXe=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),CXe.isBrowser("Chrome < 60.0.3081.0")?e.update(SXe.forceSelection(n,i)):e.update(SXe.acceptSelection(n,i))}},IXe=KBe,TXe=/[\uD800-\uDFFF]/;function PXe(e){return 55296<=e&&e<=57343}function DXe(e){return TXe.test(e)}function NXe(e,t){return 1+PXe(e.charCodeAt(t))}function AXe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!DXe(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+=NXe(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=NXe(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=NXe(e,o);return e.substring(i,o)}var RXe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=NXe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:NXe,hasSurrogateUnit:DXe,isCodeUnitInSurrogateRange:PXe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ms.env.NODE_ENV?IXe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):IXe(!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(!DXe(e))return e.length;for(var t=0,n=0;n<e.length;n+=NXe(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 AXe(e,t=t<n?t:n,r)},substr:AXe},MXe=RXe,jXe=bYe;function LXe(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 zXe="production"!==Ms.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];LXe.apply(void 0,[t].concat(r))}}:jXe,FXe=zXe,QXe=FXe;var BXe=function(e,t){var n=e.getSelection();"production"!==Ms.env.NODE_ENV&&QXe(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})},UXe=hWe,WXe=qWe("draft_tree_data_support");var qXe=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),l=i.getBlockForKey(a);if(WXe&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(WXe)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(l.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return UXe.removeRange(i,o,n)},$Xe=l$e,VXe=MXe,KXe=BXe,HXe=qXe;var GXe=function(e){var t=HXe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return KXe(e,o?VXe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return $Xe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},YXe=hWe,XXe=BVe,ZXe=l$e,JXe=pKe.notEmptyKey,eZe=TVe,tZe=GXe,nZe=zqe,rZe=_Ve.isEngine("Gecko");var iZe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var l=r.textContent,c=e._latestEditorState,u=nZe(eZe(r)),d=XXe.decode(u),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(f).getIn([p,"leaves",h]),g=m.start,v=m.end,y=c.getCurrentContent(),b=y.getBlockForKey(f),w=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==w){var x,_,O,k,S=c.getSelection(),C=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),I=JXe(E)?y.getEntity(E):null,T="MUTABLE"===(null!=I?I.getMutability():null),P=T?"spellcheck-change":"apply-entity",D=YXe.replaceText(y,C,l,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(rZe)x=n.anchorOffset,_=n.focusOffset,k=(O=g+Math.min(x,_))+Math.abs(x-_),x=O,_=k;else{var N=l.length-w.length;O=S.getStartOffset(),k=S.getEndOffset(),x=i?k+N:O,_=k+N}var A=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:x,focusOffset:_})});e.update(ZXe.push(c,A,P))}else{var R=t.nativeEvent.inputType;if(R){var M=function(e,t){return"deleteContentBackward"===e?tZe(t):t}(R,c);if(M!==c)return e.restoreEditorDOM(),void e.update(M)}}}},oZe=UVe;var aZe=function(e){return e.which===oZe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},sZe=aZe,lZe=_Ve.isPlatform("Mac OS X"),cZe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return lZe&&e.altKey},usesMacOSHeuristics:function(){return lZe},hasCommandModifier:function(e){return lZe?!!e.metaKey&&!e.altKey:cZe.isCtrlKeyCommand(e)},isSoftNewlineEvent:sZe},uZe=cZe,dZe=hWe,fZe=l$e,pZe=mUe,hZe=zqe,mZe=null,gZe={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=hZe(r),mZe=pZe(t,r);var s=dZe.removeRange(t,r,"forward");return s===t?e:fZe.push(e,s,"remove-range")},paste:function(e){if(!mZe)return e;var t=dZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),mZe);return fZe.push(e,t,"insert-fragment")}},vZe=gZe,yZe=KBe;var bZe=_Ve.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"!==Ms.env.NODE_ENV?yZe(!1,"Found an unexpected detached subtree when getting range client rects."):yZe(!1)}:function(e){return Array.from(e.getClientRects())},wZe=MXe,xZe=OVe,_Ze=bZe,OZe=KBe;function kZe(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 SZe(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 CZe=l$e,EZe=function(e){e.collapsed||("production"!==Ms.env.NODE_ENV?OZe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):OZe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=xZe(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"!==Ms.env.NODE_ENV?OZe(!1,"Missing document.body"):OZe(!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);kZe(_Ze(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Ms.env.NODE_ENV?OZe(!1,"Found unexpected detached subtree when traversing."):OZe(!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&&wZe.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!kZe(_Ze(e),n))break;r=o,i=l}if(-1===l||0===o.childNodes.length)break;a=SZe(o=o.childNodes[l])}return e.setStart(r,i),e},IZe=oKe,TZe=BXe,PZe=qXe;var DZe=function(e,t){var n=PZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return TZe(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=EZe(r),IZe(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:CZe.push(e,n,"remove-range")},NZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),AZe=new RegExp("^(?:"+NZe+")*(?:['‘’]|(?!"+NZe+").)*(?:(?!"+NZe+").)"),RZe=new RegExp("(?:(?!"+NZe+").)(?:['‘’]|(?!"+NZe+").)*(?:"+NZe+")*$");function MZe(e,t){var n=t?RZe.exec(e):AZe.exec(e);return n?n[0]:e}var jZe={getBackward:function(e){return MZe(e,!0)},getForward:function(e){return MZe(e,!1)}},LZe=jZe,zZe=l$e,FZe=BXe,QZe=qXe;var BZe=function(e){var t=QZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return FZe(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=LZe.getBackward(i);return FZe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:zZe.push(e,t,"remove-range")},UZe=FXe;var WZe=function(e,t){var n=e.getSelection();"production"!==Ms.env.NODE_ENV&&UZe(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})},qZe=jZe,$Ze=l$e,VZe=WZe,KZe=qXe;var HZe=function(e){var t=KZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=qZe.getForward(i);return VZe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:$Ze.push(e,t,"remove-range")},GZe=hWe,YZe=l$e;var XZe=l$e;var ZZe=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return XZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},JZe=l$e;var eJe=function(e){var t=e.getSelection(),n=t.getStartKey();return JZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},tJe=l$e,nJe=MXe,rJe=WZe,iJe=qXe;var oJe=function(e){var t=iJe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return rJe(e,o?nJe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return tJe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},aJe=hWe,sJe=l$e,lJe=mUe;var cJe=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=lJe(a,r),c=aJe.removeRange(a,r,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,f=u.merge({anchorOffset:d,focusOffset:d}),p=aJe.replaceWithFragment(c,f,l),h=sJe.push(e,p,"insert-fragment");return sJe.acceptSelection(h,i)},uJe=l$e;var dJe=function(e,t,n){var r=uJe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(uJe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(uJe.set(r,{nativelyRenderedContent:i}))}},fJe=hWe,pJe=l$e,hJe=UVe,mJe=vZe,gJe=_Ve,vJe=NYe,yJe=DZe,bJe=BZe,wJe=HZe,xJe=function(e){var t=GZe.splitBlock(e.getCurrentContent(),e.getSelection());return YZe.push(e,t,"split-block")},_Je=ZZe,OJe=eJe,kJe=GXe,SJe=oJe,CJe=cJe,EJe=dJe,IJe=uZe.isOptionKeyCommand,TJe=gJe.isBrowser("Chrome");var PJe=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 hJe.RETURN:if(t.preventDefault(),e.props.handleReturn&&vJe(e.props.handleReturn(t,r)))return;break;case hJe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case hJe.TAB:if(i("onTab"))return;break;case hJe.UP:if(i("onUpArrow"))return;break;case hJe.RIGHT:if(i("onRightArrow"))return;break;case hJe.DOWN:if(i("onDownArrow"))return;break;case hJe.LEFT:if(i("onLeftArrow"))return;break;case hJe.SPACE:TJe&&IJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!vJe(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return pJe.redo(t);case"delete":return SJe(t);case"delete-word":return wJe(t);case"backspace":return kJe(t);case"backspace-word":return bJe(t);case"backspace-to-start-of-line":return yJe(t,n);case"split-block":return xJe(t);case"transpose-characters":return CJe(t);case"move-selection-to-start-of-block":return OJe(t);case"move-selection-to-end-of-block":return _Je(t);case"secondary-cut":return mJe.cut(t);case"secondary-paste":return mJe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else EJe(t,r,e.update);else if(n===hJe.SPACE&&TJe&&IJe(t)){var s=fJe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(pJe.push(r,s,"insert-characters"))}};var DJe=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}(),NJe=DJe,AJe=KBe,RJe=_Ve.isBrowser("IE <= 9");var MJe=function(e){var t,n=null;return!RJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ms.env.NODE_ENV?AJe(!1,"Missing doc.documentElement"):AJe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},jJe=kVe;var LJe=function(e){return!(!e||!e.ownerDocument)&&(jJe(e)&&"A"===e.nodeName)},zJe=kVe;var FJe,QJe=function(e){return!(!e||!e.ownerDocument)&&(zJe(e)&&"IMG"===e.nodeName)};function BJe(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){UJe(e,t,n[t])}))}return e}function UJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WJe=aBe,qJe=xBe,$Je=jBe,VJe=B$e,KJe=BWe,HJe=NJe,GJe=z$e,YJe=rUe,XJe=MJe,ZJe=qWe,JJe=KQe.exports,e0e=JJe.List,t0e=JJe.Map,n0e=JJe.OrderedSet,r0e=LJe,i0e=HKe,o0e=qVe,a0e=QJe,s0e=ZJe("draft_tree_data_support"),l0e=new RegExp("\r","g"),c0e=new RegExp("\n","g"),u0e=new RegExp("^\n","g"),d0e=new RegExp("&nbsp;","g"),f0e=new RegExp("&#13;?","g"),p0e=new RegExp("&#8203;?","g"),h0e=["bold","bolder","500","600","700","800","900"],m0e=["light","lighter","normal","100","200","300","400"],g0e=["className","href","rel","target","title"],v0e=["alt","className","height","src","width"],y0e=(UJe(FJe={},GJe("public/DraftStyleDefault/depth0"),0),UJe(FJe,GJe("public/DraftStyleDefault/depth1"),1),UJe(FJe,GJe("public/DraftStyleDefault/depth2"),2),UJe(FJe,GJe("public/DraftStyleDefault/depth3"),3),UJe(FJe,GJe("public/DraftStyleDefault/depth4"),4),FJe),b0e=t0e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),w0e=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)}))})),t0e(t)},x0e=function(e){if(o0e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},_0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(y0e).some((function(n){e.classList.contains(n)&&(t=y0e[n])})),t},O0e=function(e){if(!r0e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},k0e=function(e){if(!a0e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},S0e=function(e,t){if(!o0e(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){h0e.indexOf(r)>=0?e.add("BOLD"):m0e.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"))}))},C0e=function(e){return"ul"===e||"ol"===e},E0e=function(){function e(e,t){UJe(this,"characterList",e0e()),UJe(this,"currentBlockType","unstyled"),UJe(this,"currentDepth",0),UJe(this,"currentEntity",null),UJe(this,"currentText",""),UJe(this,"wrapper",null),UJe(this,"blockConfigs",[]),UJe(this,"contentBlocks",[]),UJe(this,"entityMap",KJe),UJe(this,"blockTypeMap",void 0),UJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=e0e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=KJe,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],n0e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(s0e?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||YJe(),n=BJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:e0e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=e0e(),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||C0e(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;C0e(o)&&(this.wrapper=o,C0e(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(k0e(i))this._addImgNode(i,t);else if(O0e(i))this._addAnchorNode(i,n,t);else{var c=t;b0e.has(o)&&(c=c.add(b0e.get(o))),c=S0e(i,c);var u=x0e(i);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!s0e&&o0e(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=i;this.currentDepth=_0e(p,this.currentDepth)}var h=YJe(),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=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=WJe.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=e0e()):(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(u0e,"")).replace(c0e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){i0e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(a0e(e)){var n=e,r={};v0e.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),ZJe("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(r0e(e)){var r=e,i={};g0e.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new HJe(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=e0e(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new $Je(BJe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return e0e(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 qJe(BJe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=e0e(),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}(),I0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:XJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:VJe,r=t(e=e.trim().replace(l0e,"").replace(d0e," ").replace(f0e,"").replace(p0e,""));if(!r)return null;var i=w0e(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new E0e(i,o).addDOMNode(r).getContentBlocks()};function T0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P0e=xBe,D0e=jBe,N0e=I0e,A0e=rUe,R0e=MJe,M0e=qWe,j0e=KQe.exports,L0e=VWe,z0e=j0e.List,F0e=j0e.Repeat,Q0e=M0e("draft_tree_data_support"),B0e=Q0e?D0e:P0e,U0e={processHTML:function(e,t){return N0e(e,R0e,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=L0e(r);var o=A0e(),a={key:o,type:n,text:r,characterList:z0e(F0e(t,r.length))};if(Q0e&&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){T0e(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new B0e(a)),e}),[])}};var W0e=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})},q0e=hWe,$0e=l$e,V0e=W0e,K0e=zqe,H0e={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 H0e.toggleInlineStyle(e,"BOLD");case"italic":return H0e.toggleInlineStyle(e,"ITALIC");case"underline":return H0e.toggleInlineStyle(e,"UNDERLINE");case"code":return H0e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return H0e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return H0e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=q0e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=$0e.push(e,t,"insert-characters");return $0e.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 $0e.push(e,a,"remove-range")}var s=H0e.tryToRemoveBlockStyle(e);return s?$0e.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=q0e.removeRange(n,a,"forward");return s!==n?$0e.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var c=V0e(o,r,e.shiftKey?-1:1,n);return $0e.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=K0e(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var c=o.getBlockForKey(r).getType()===t?"unstyled":t;return $0e.push(e,q0e.setBlockType(o,a,c),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?H0e.toggleBlockType(e,"code-block"):H0e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return $0e.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?q0e.removeInlineStyle(o,n,t):q0e.applyInlineStyle(o,n,t),$0e.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=q0e.applyEntity(e.getCurrentContent(),t,n);return $0e.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 q0e.setBlockType(i,t,"unstyled")}return null}},G0e=H0e,Y0e=/\r\n?|\n/g;var X0e=YQe,Z0e=aBe,J0e=EYe,e1e=hWe,t1e=U0e,n1e=l$e,r1e=G0e,i1e=gKe,o1e=DYe,a1e=NYe,s1e=function(e){return e.split(Y0e)};function l1e(e,t,n){var r=e1e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return n1e.push(e,r.set("entityMap",n),"insert-fragment")}var c1e=function(e,t){t.preventDefault();var n=new J0e(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&a1e(e.props.handlePastedFiles(r)))return;return void o1e(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=s1e(t),o=Z0e.create({style:n.getCurrentInlineStyle(),entity:i1e(n.getCurrentContent(),n.getSelection())}),a=r1e.getCurrentBlockType(n),s=t1e.processText(r,o,a),l=X0e.createFromArray(s),c=e1e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(n1e.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!a1e(e.props.handlePastedText(a,s,l))){if(a&&(o=s1e(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(l1e(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(l1e(e._latestEditorState,c));if(s){var u=t1e.processHTML(s,e.props.blockRenderMap);if(u){var d=u.contentBlocks,f=u.entityMap;if(d){var p=X0e.createFromArray(d);return void e.update(l1e(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=Z0e.create({style:l.getCurrentInlineStyle(),entity:i1e(l.getCurrentContent(),l.getSelection())}),m=r1e.getCurrentBlockType(l),g=t1e.processText(o,h,m),v=X0e.createFromArray(g);e.update(l1e(e._latestEditorState,v))}}},u1e=_Ve,d1e=iXe,f1e=lXe,p1e=uXe,h1e=hXe,m1e=_Xe,g1e=OXe,v1e=kXe,y1e=EXe,b1e=iZe,w1e=PJe,x1e=c1e,_1e=fKe,O1e=u1e.isBrowser("Chrome"),k1e=u1e.isBrowser("Firefox"),S1e=O1e||k1e?_1e:function(e){},C1e={onBeforeInput:d1e,onBlur:f1e,onCompositionStart:p1e,onCopy:h1e,onCut:m1e,onDragOver:g1e,onDragStart:v1e,onFocus:y1e,onInput:b1e,onKeyDown:w1e,onPaste:x1e,onSelect:_1e,onMouseUp:S1e,onKeyUp:S1e},E1e=Qe.unstable_flushControlled;var I1e=o,T1e=z$e,P1e=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=T1e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return I1e.createElement("div",{className:t},I1e.createElement("div",{className:T1e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(I1e.Component),D1e=P1e,N1e=uZe,A1e=UVe,R1e=_Ve,M1e=R1e.isPlatform("Mac OS X"),j1e=M1e&&R1e.isBrowser("Firefox < 29"),L1e=N1e.hasCommandModifier,z1e=N1e.isCtrlKeyCommand;function F1e(e){return M1e&&e.altKey||z1e(e)}var Q1e=function(e){switch(e.keyCode){case 66:return L1e(e)?"bold":null;case 68:return z1e(e)?"delete":null;case 72:return z1e(e)?"backspace":null;case 73:return L1e(e)?"italic":null;case 74:return L1e(e)?"code":null;case 75:return M1e&&z1e(e)?"secondary-cut":null;case 77:case 79:return z1e(e)?"split-block":null;case 84:return M1e&&z1e(e)?"transpose-characters":null;case 85:return L1e(e)?"underline":null;case 87:return M1e&&z1e(e)?"backspace-word":null;case 89:return z1e(e)?M1e?"secondary-paste":"redo":null;case 90:return function(e){return L1e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case A1e.RETURN:return"split-block";case A1e.DELETE:return function(e){return!M1e&&e.shiftKey?null:F1e(e)?"delete-word":"delete"}(e);case A1e.BACKSPACE:return function(e){return L1e(e)&&M1e?"backspace-to-start-of-line":F1e(e)?"backspace-word":"backspace"}(e);case A1e.LEFT:return j1e&&L1e(e)?"move-selection-to-start-of-block":null;case A1e.RIGHT:return j1e&&L1e(e)?"move-selection-to-end-of-block":null;default:return null}},B1e=oV;function U1e(){return U1e=B1e||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},U1e.apply(this,arguments)}function W1e(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){$1e(e,t,n[t])}))}return e}function q1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V1e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var K1e=B$e,H1e=U$e,G1e=PKe,Y1e=dYe,X1e=VYe,Z1e=C1e,J1e=E1e,e2e=D1e,t2e=l$e,n2e=o,r2e=NHe,i2e=WHe,o2e=z$e,a2e=rUe,s2e=Q1e,l2e=XHe,c2e=qWe,u2e=KBe,d2e=qVe,f2e=zqe,p2e=_Ve.isBrowser("IE"),h2e=!p2e,m2e={edit:Z1e,composite:G1e,drag:X1e,cut:null,render:null},g2e=!1,v2e=function(e){function t(){return e.apply(this,arguments)||this}V1e(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}(n2e.Component),y2e=function(e){function t(t){var n;return $1e(q1e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),$1e(q1e(n),"_clipboard",void 0),$1e(q1e(n),"_handler",void 0),$1e(q1e(n),"_dragCount",void 0),$1e(q1e(n),"_internalDrag",void 0),$1e(q1e(n),"_editorKey",void 0),$1e(q1e(n),"_placeholderAccessibilityID",void 0),$1e(q1e(n),"_latestEditorState",void 0),$1e(q1e(n),"_latestCommittedEditorState",void 0),$1e(q1e(n),"_pendingStateFromBeforeInput",void 0),$1e(q1e(n),"_onBeforeInput",void 0),$1e(q1e(n),"_onBlur",void 0),$1e(q1e(n),"_onCharacterData",void 0),$1e(q1e(n),"_onCompositionEnd",void 0),$1e(q1e(n),"_onCompositionStart",void 0),$1e(q1e(n),"_onCopy",void 0),$1e(q1e(n),"_onCut",void 0),$1e(q1e(n),"_onDragEnd",void 0),$1e(q1e(n),"_onDragOver",void 0),$1e(q1e(n),"_onDragStart",void 0),$1e(q1e(n),"_onDrop",void 0),$1e(q1e(n),"_onInput",void 0),$1e(q1e(n),"_onFocus",void 0),$1e(q1e(n),"_onKeyDown",void 0),$1e(q1e(n),"_onKeyPress",void 0),$1e(q1e(n),"_onKeyUp",void 0),$1e(q1e(n),"_onMouseDown",void 0),$1e(q1e(n),"_onMouseUp",void 0),$1e(q1e(n),"_onPaste",void 0),$1e(q1e(n),"_onSelect",void 0),$1e(q1e(n),"editor",void 0),$1e(q1e(n),"editorContainer",void 0),$1e(q1e(n),"focus",void 0),$1e(q1e(n),"blur",void 0),$1e(q1e(n),"setMode",void 0),$1e(q1e(n),"exitCurrentMode",void 0),$1e(q1e(n),"restoreEditorDOM",void 0),$1e(q1e(n),"setClipboard",void 0),$1e(q1e(n),"getClipboard",void 0),$1e(q1e(n),"getEditorKey",void 0),$1e(q1e(n),"update",void 0),$1e(q1e(n),"onDragEnter",void 0),$1e(q1e(n),"onDragLeave",void 0),$1e(q1e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),$1e(q1e(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=i2e.getScrollParent(i),a=e||l2e(o),s=a.x,l=a.y;d2e(i)||("production"!==Ms.env.NODE_ENV?u2e(!1,"editorNode is not an HTMLElement"):u2e(!1)),i.focus(),o===window?window.scrollTo(s,l):r2e.setTop(o,l),r||n.update(t2e.forceSelection(t,t.getSelection()))}})),$1e(q1e(n),"blur",(function(){var e=n.editor;e&&(d2e(e)||("production"!==Ms.env.NODE_ENV?u2e(!1,"editorNode is not an HTMLElement"):u2e(!1)),e.blur())})),$1e(q1e(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=W1e({},m2e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=W1e({},m2e,{edit:a});n._handler=s[e]})),$1e(q1e(n),"exitCurrentMode",(function(){n.setMode("edit")})),$1e(q1e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),$1e(q1e(n),"setClipboard",(function(e){n._clipboard=e})),$1e(q1e(n),"getClipboard",(function(){return n._clipboard})),$1e(q1e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),$1e(q1e(n),"onDragEnter",(function(){n._dragCount++})),$1e(q1e(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||a2e(),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"!==Ms.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}V1e(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&&(J1e?J1e((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:f2e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return n2e.createElement(e2e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,c=e.textAlignment,u=e.textDirectionality,d=o2e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:W1e({},H1e,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:u};return n2e.createElement("div",{className:d},this._renderPlaceholder(),n2e.createElement("div",{className:o2e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},n2e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:o2e({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:f,spellCheck:h2e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},n2e.createElement(v2e,{editor:this,editorState:a}),n2e.createElement(Y1e,U1e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!g2e&&c2e("draft_ods_enabled")&&(g2e=!0),this.setMode("edit"),p2e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):$e.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(n2e.Component);$1e(y2e,"defaultProps",{blockRenderMap:K1e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:s2e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var b2e=y2e,w2e=Ke(Object.freeze({__proto__:null})),x2e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},_2e=x2e,O2e=MXe.strlen;var k2e=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:O2e(o.slice(0,r)),length:O2e(o.slice(r,i)),key:Number(t[_2e.stringify(a)])})})),n},S2e=MXe,C2e=sBe,E2e=function(e,t){return e===t},I2e=function(e){return!!e},T2e=[];var P2e=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 C2e(i,E2e,I2e,(function(t,i){var o=e.getText();r.push({offset:S2e.strlen(o.slice(0,t)),length:S2e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(T2e,n.toJS())};function D2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N2e=xBe,A2e=jBe,R2e=x2e,M2e=k2e,j2e=P2e,L2e=KBe,z2e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:j2e(e),entityRanges:M2e(e,t),data:e.getData().toObject()}},F2e=function(e,t,n,r){if(e instanceof N2e)n.push(z2e(e,t));else{e instanceof A2e||("production"!==Ms.env.NODE_ENV?L2e(!1,"block is not a BlockNode"):L2e(!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){D2e(e,t,n[t])}))}return e}({},z2e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},Q2e=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=R2e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),F2e(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(R2e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function B2e(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){U2e(e,t,n[t])}))}return e}function U2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W2e=rUe,q2e=KBe,$2e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},V2e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ms.env.NODE_ENV?q2e(!1,"Invalid raw state"):q2e(!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"!==Ms.env.NODE_ENV?q2e(!1,"Invalid tree raw block"):q2e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=B2e({},e);$2e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?B2e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,B2e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=$2e(e),i=e.depth||0,o=B2e({},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:W2e(),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)})),B2e({},e,{blocks:t})}},K2e=V2e,H2e=FXe,G2e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing parent -> child pointer on %s",n),!1;var i=e.getChildKeys().map((function(e){return t.get(e)}));if(!i.every((function(e){return e.getParentKey()===n})))return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ms.env.NODE_ENV&&H2e(!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"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var l=a.map((function(t){return e.get(t)})),c=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return"production"!==Ms.env.NODE_ENV&&H2e(!0,"%s has no first child",r),!1;r=c.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Ms.env.NODE_ENV&&H2e(!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)}},Y2e=G2e,X2e=aBe,Z2e=KQe.exports.List;var J2e=function(e,t){var n=e.map((function(e,n){var r=t[n];return X2e.create({style:e,entity:r})}));return Z2e(n)},e3e=MXe.substr;var t3e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=e3e(e,0,t.offset).length,i=r+e3e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},n3e=MXe,r3e=KQe.exports.OrderedSet,i3e=n3e.substr,o3e=r3e();var a3e=function(e,t){var n=Array(e.length).fill(o3e);return t&&t.forEach((function(t){for(var r=i3e(e,0,t.offset).length,i=r+i3e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function s3e(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){l3e(e,t,n[t])}))}return e}function l3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c3e=xBe,u3e=jBe,d3e=hqe,f3e=BWe,p3e=K2e,h3e=Y2e,m3e=WWe,g3e=J2e,v3e=t3e,y3e=a3e,b3e=rUe,w3e=KQe.exports,x3e=KBe,_3e=qWe("draft_tree_data_support"),O3e=w3e.List,k3e=w3e.Map,S3e=w3e.OrderedMap,C3e=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||b3e(),data:k3e(i),characterList:E3e(e,t)}},E3e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return g3e(y3e(n,i||[]),v3e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return s3e({},e,{key:t[e.key]})}))))},I3e=function(e){return s3e({},e,{key:e.key||b3e()})},T3e=function(e,t,n){var r=t.map((function(e){return s3e({},e,{parentRef:n})}));return e.concat(r.reverse())},P3e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=_3e&&!n?p3e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!_3e)return function(e,t){return S3e(e.map((function(e){var n=new c3e(C3e(e,t));return[n.getKey(),n]})))}(n?p3e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(I3e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Ms.env.NODE_ENV?x3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x3e(!1));var o=r.children.map(I3e),a=new u3e(s3e({},C3e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:O3e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=T3e([],o,a);s.length>0;){var l=s.pop(),c=l.parentRef,u=c.getChildKeys(),d=u.indexOf(l.key),f=Array.isArray(l.children);if(!f){f||("production"!==Ms.env.NODE_ENV?x3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x3e(!1));break}var p=l.children.map(I3e),h=new u3e(s3e({},C3e(l,t),{parent:c.getKey(),children:O3e(p.map((function(e){return e.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),s=T3e(s,p,h)}return n}),S3e())}(r,t);return"production"!==Ms.env.NODE_ENV&&(h3e.isValidTree(i)||("production"!==Ms.env.NODE_ENV?x3e(!1,"Should be a valid tree"):x3e(!1))),i},D3e=function(e){Array.isArray(e.blocks)||("production"!==Ms.env.NODE_ENV?x3e(!1,"invalid RawDraftContentState"):x3e(!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]=f3e.__create(i,o,a||{})})),n}(e),n=P3e(e,t),r=n.isEmpty()?new m3e:m3e.createEmpty(n.first().getKey());return new d3e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},N3e=bZe;var A3e=function(e){var t=N3e(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}},R3e=A3e;var M3e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=R3e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r},j3e={Editor:b2e,EditorBlock:YGe,EditorState:l$e,CompositeDecorator:j$e,Entity:BWe,EntityInstance:DWe,BlockMapBuilder:YQe,CharacterMetadata:aBe,ContentBlock:xBe,ContentState:hqe,RawDraftContentState:w2e,SelectionState:WWe,AtomicBlockUtils:A$e,KeyBindingUtil:uZe,Modifier:hWe,RichUtils:G0e,DefaultDraftBlockRenderMap:B$e,DefaultDraftInlineStyle:U$e,convertFromHTML:I0e,convertFromRaw:D3e,convertToRaw:Q2e,genKey:rUe,getDefaultKeyBinding:Q1e,getVisibleSelectionRect:M3e};function L3e(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 z3e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},F3e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};function Q3e(e){return Q3e="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},Q3e(e)}var B3e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function U3e(e){if(-1!==B3e.indexOf(e.type))return We.renderToStaticMarkup(e);var t=We.renderToStaticMarkup(o.cloneElement(e,{},"\r")).split("\r");return Yhe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),Yhe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function W3e(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}function q3e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(o.isValidElement(e)){if(W3e(e))return We.renderToStaticMarkup(e);var n=U3e(e);if(null!==t&&"object"===Q3e(n)){var r=n.start,i=n.end;return r+t+i}return n}if(Yhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var a=e.start,s=e.end;return a+t+s}return e}var $3e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.isValidElement(t)){var r=U3e(t);if("string"==typeof r)return 0;var i=r[n].length,a=o.Children.toArray(t.props.children)[0];return i+(a&&o.isValidElement(a)?e(a,n):0)}return"object"===Q3e(t)&&t[n]?t[n].length:0},V3e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},K3e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V3e,r=zze(e.text),i=n;if(n.__isMiddleware&&(i=n(V3e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(z3e),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=r.slice(n.offset,n.offset+n.length).join(""),c=i(s,l),u=zze(q3e(c,l)||l),d=$3e(c,"start"),f=$3e(c,"end"),p=function(t){return t.reduce((function(t,r,i){var o=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?L3e(t,n.offset,n.length,u.length,d,f):t}(r,i);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=p(o),a=p(a),r=[].concat(zze(r.slice(0,n.offset)),zze(u),zze(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},H3e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},G3e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Y3e(e){switch(e){case"BOLD":return o.createElement("strong",null);case"ITALIC":return o.createElement("em",null);case"UNDERLINE":return o.createElement("u",null);case"CODE":return o.createElement("code",null);default:return{start:"",end:""}}}var X3e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Z3e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return Yhe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},J3e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},e5e=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},t5e=function(e,t){return t.offset+t.length-(e.offset+e.length)},n5e=function(e,t){for(var n=0;n<e.length;){if(!t.every(e5e.bind(null,e[n])))return e.slice(n);n++}return[]},r5e=function(e,t,n){return t+q3e(e(n.style)).start},i5e=function(e,t,n){return q3e(e(n.style)).end+t},o5e=function(e){return function(t){return e(t)}};o5e.__isMiddleware=!0;var a5e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function s5e(e){return Yhe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:o.isValidElement(e)?(t=e,o.isValidElement(t)&&o.Children.count(t.props.children)>0?We.renderToStaticMarkup(e):U3e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&o.isValidElement(e.element)?Object.assign({},e,U3e(e.element)):(Yhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e);var t}function l5e(e,t){if(Yhe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=U3e(e.nest(t)),r=n.start,i=n.end;return Object.assign({},e,{nestStart:r,nestEnd:i})}if(o.isValidElement(e.nest)){var a=U3e(e.nest),s=a.start,l=a.end;return Object.assign({},e,{nestStart:s,nestEnd:l})}return Yhe(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 c5e=["1","a","i"],u5e={unstyled:o.createElement("p",null),paragraph:o.createElement("p",null),"header-one":o.createElement("h1",null),"header-two":o.createElement("h2",null),"header-three":o.createElement("h3",null),"header-four":o.createElement("h4",null),"header-five":o.createElement("h5",null),"header-six":o.createElement("h6",null),blockquote:o.createElement("blockquote",null),"unordered-list-item":{element:o.createElement("li",null),nest:o.createElement("ul",null)},"ordered-list-item":{element:o.createElement("li",null),nest:function(e){var t=c5e[e%3];return o.createElement("ol",{type:t})}},media:o.createElement("figure",null),atomic:o.createElement("figure",null)},d5e=function(e,t){return t},f5e=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,r=e.blockToHTML,i=void 0===r?{}:r,a=e.entityToHTML,s=void 0===a?d5e:a;return function(e){var t;Yhe(null!=e,"Expected contentState to be non-null"),t=!0===i.__isMiddleware?i(a5e(u5e)):G3e(a5e(i),a5e(u5e));var r=j3e.convertToRaw(e),a=[],l=r.blocks.map((function(e){var i=e.type,l=e.depth,c="",u="",d=t(e);if(!d)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(d.nest)for(;l+1!==a.length||i!==a[l].type;)if(l+1===a.length){var f=a[l];c+=l5e(t(f),l).nestEnd,u+=l5e(t(e),l).nestStart,a[l]=e}else if(l+1<a.length){var p=a[a.length-1];c+=l5e(t(p),l).nestEnd,a=a.slice(0,-1)}else u+=l5e(t(e),l).nestStart,a.push(e);else c=a.reduceRight((function(e,n){return e+l5e(t(n),l).nestEnd}),""),a=[];var h,m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o5e;Yhe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Y3e):G3e(H3e(n),H3e(Y3e));for(var r="",i=[],o=e.inlineStyleRanges.sort(z3e),a=zze(e.text),s=0;s<a.length;s++){var l=J3e(s,o),c=X3e(i,l),u=X3e(l,i),d=X3e(i,c),f=n5e(d,u),p=f.concat(u).sort(t5e),h=p.reduce(r5e.bind(null,t),"");r+=c.concat(f).reduce(i5e.bind(null,t),"")+h+a[s],i=(i=Z3e(i,f.concat(c))).concat(p),Yhe(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+q3e(t(n.style)).end}),r)}(K3e(function(e){for(var t=zze(e.text),n=e.entityRanges.sort(z3e),r=e.inlineStyleRanges.sort(z3e),i="",o=function(e){var o=t[e];if(void 0!==F3e[o]){var a=F3e[o],s=zze(i).length;i+=a;var l=function(e){return L3e(e,s,o.length,a.length,0,0)};n=n.map(l),r=r.map(l)}else i+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:i,inlineStyleRanges:r,entityRanges:n})}(e),r.entityMap,s),n),g=s5e(t(e));return h="string"==typeof g?g:g.start+m+g.end,0===m.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(h=o.isValidElement(g.empty)?We.renderToStaticMarkup(g.empty):g.empty),c+u+h})).join("");return l=a.reduce((function(e,n){return e+l5e(t(n),n.depth).nestEnd}),l)}},p5e={exports:{}};p5e.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:K(e)}function r(e){return s(e)?e:H(e)}function i(e){return l(e)?e:G(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function O(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function C(e){return void 0===e.size&&(e.size=e.__iterate(I)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function I(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return N(e,t,0)}function D(e,t){return N(e,t,t)}function N(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=0,R=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",z=j||L;function F(e){this.next=e}function Q(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 B(){return{value:void 0,done:!0}}function U(e){return!!$(e)}function W(e){return e&&"function"==typeof e.next}function q(e){var t=$(e);return t&&t.call(e)}function $(e){var t=e&&(j&&e[j]||e[L]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function K(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function H(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=A,F.VALUES=R,F.ENTRIES=M,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[z]=function(){return this},t(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return de(this,e,t,!0)},K.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(H,K),H.prototype.toKeyedSeq=function(){return this},t(G,K),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return de(this,e,t,!1)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=oe,K.Keyed=H,K.Set=Y,K.Indexed=G;var X,Z,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function 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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return V(e)?new te(e):W(e)?new ie(e):U(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 fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new F((function(){var e=i[n?o-a:a];return a++>o?B():Q(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,G(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,H(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?H(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(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,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function Oe(){}function ke(){}function Se(){}K.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,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 F((function(){return i>r?B():Q(e,i,n[t?r-i++:i++])}))},t(ne,H),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 F((function(){var a=r[t?i-o:o];return o++>i?B():Q(e,a,n[a])}))},ne.prototype[h]=!0,t(re,G),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(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=q(this._iterable);if(!W(n))return new F(B);var r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value)}))},t(ie,G),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 F((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return Q(e,i,r[i++])}))},t(be,G),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-P(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new F((function(){return r<n.size?Q(e,r++,n._value):B()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=P(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,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},xe.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 F((function(){var a=i;return i+=t?-r:r,o>n?B():Q(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Oe,_e),t(ke,_e),t(Se,_e),_e.Keyed=Oe,_e.Indexed=ke,_e.Set=Se;var Ce="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ie(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>Fe?Te(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Be===Qe&&(Be=0,Ue={}),Be++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),je)Me.set(e,t);else{if(void 0!==Ne&&!1===Ne(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(e,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ne=Object.isExtensible,Ae=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 Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Le=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var Fe=16,Qe=255,Be=0,Ue={};function We(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?it():$e(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[Ke])}t(qe,Oe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},qe.prototype.merge=function(){return ft(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return ft(this,pt,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},qe.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)},qe.isMap=$e;var Ve,Ke="@@__IMMUTABLE_MAP__@@",He=qe.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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(He);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=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Ge(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===b?e:(O(s),O(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,Ie(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ye(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Xe(e,o+1,a)}function ft(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 pe(e)}))),i.push(l)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(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 ve(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,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?b:e.get(l,b),u=gt(c,t,n,r);return u===c?e:u===b?e.remove(l):(i?it():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function bt(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 wt(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}He[Ke]=!0,He[m]=He.remove,He.removeIn=He.deleteIn,Ge.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ge.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),!s||1!==l.length){if(!d&&!s&&l.length>=xt)return ct(e,l,r,i);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ge(e,p)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},Ye.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===b)return this;var d=vt(c&l-1),f=this.nodes,p=u?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!u&&h&&f.length>=_t)return dt(e,f,c,s,h);if(u&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(u&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,w=u?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Xe.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=i===b,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var f=this.count;if(u){if(!d&&--f<Ot)return ut(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Xe(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=i===b;if(n!==this.keyHash)return s?this:(O(a),O(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,l=ve(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(O(a),s?void O(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(O(o),lt(this,e,t,Ie(r),[r,i])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,F),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 B()};var xt=v/4,_t=v/2,Ot=v/4;function kt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<v?At(0,r,g,null,new It(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Ct])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return Mt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Ft(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return Ft(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Ft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Ft(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ht(t),n)},kt.prototype.setSize=function(e){return Ft(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:Ft(this,P(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=Nt(this,t);return new F((function(){var t=r();return t===Dt?B():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=Nt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function It(e,t){this.array=e,this.ownerID=t}Et[Ct]=!0,Et[m]=Et.remove,Et.setIn=He.setIn,Et.deleteIn=Et.removeIn=He.removeIn,Et.update=He.update,Et.updateIn=He.updateIn,Et.mergeIn=He.mergeIn,Et.mergeDeepIn=He.mergeDeepIn,Et.withMutations=He.withMutations,Et.asMutable=He.asMutable,Et.asImmutable=He.asImmutable,Et.wasAltered=He.wasAltered,It.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new It([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},It.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Pt,Dt={};function Nt(e,t){var n=e._origin,r=e._capacity,i=Bt(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function At(e,t,n,r,i,o,a){var s=Object.create(Et);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 Tt||(Tt=At(0,0,g))}function Mt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Bt(e._capacity)?r=jt(r,e.__ownerID,0,t,n,o):i=jt(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):At(e._origin,e._capacity,e._level,i,r):e}function jt(e,t,n,r,i,o){var a,s=r>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,r,i,o);return u===c?e:((a=Lt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(O(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new It(e?e.array.slice():[],t)}function zt(e,t){if(t>=Bt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new It(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Bt(o),f=Bt(s);f>=1<<l+g;)c=new It(c&&c.array.length?[c]:[],r),l+=g;var p=e._tail,h=f<d?zt(e,s-1):f>d?new It([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(u=0;c;){var w=a>>>l&y;if(w!==f>>>l&y)break;w&&(u+=(1<<l)*w),l-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&f<d&&(c=c.removeAfter(r,l,f-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):At(a,s,l,c,h)}function Qt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Bt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?$t():Wt(e)?e:$t().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return $e(e)&&u(e)}function qt(e,t,n,r){var i=Object.create(Ut.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function $t(){return Pt||(Pt=qt(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===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):qt(r,i)}function Kt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===M){var r=e.__iterator(t,n);return new F((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?A:R,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?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(M,i);return new F((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return Q(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Xt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,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=wn,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=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&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(M,o),s=0;return new F((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return Q(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=qe().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Ut():qe()).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=yn(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),T(t,n,i))return e;var o=P(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new F((function(){for(;a++<o;)i.next();if(++l>s)return B();var e=i.next();return r||t===R?e:Q(t,l-1,t===A?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(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(M,i),s=!0;return new F((function(){if(!s)return B();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===M?e:Q(r,l,c,e):(s=!1,B())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(M,o),l=!0,c=0;return new F((function(){var e,o,u;do{if((e=s.next()).done)return r||i===R?e:Q(i,c++,i===A?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===M?e:Q(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new F((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===M&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:Q(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return B()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=bn(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 F((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?Q(n,a++,t):Q(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);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?H(o):l(e)?G(o):Y(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(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=bn(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),q(i?e.reverse():e)})),a=0,s=!1;return new F((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?B():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return We(e.size),C(e)}function yn(e){return s(e)?r:l(e)?i:o}function bn(e){return Object.create((s(e)?H:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function On(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);En(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=qe(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Ut.prototype.set=function(e,t){return Vt(this,e,t)},Ut.prototype.remove=function(e){return Vt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Wt,Ut.prototype[h]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Kt,H),Kt.prototype.get=function(e,t){return this._iter.get(e,t)},Kt.prototype.has=function(e){return this._iter.has(e)},Kt.prototype.valueSeq=function(){return this._iter.valueSeq()},Kt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Kt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Kt.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?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Kt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?vn(this):0;return new F((function(){var i=n.next();return i.done?i:Q(e,t?--r:r++,i.value,i)}))},Kt.prototype[h]=!0,t(Ht,G),Ht.prototype.includes=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Yt,H),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return Q(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Ht.prototype.cacheResult=Kt.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(On,Oe),On.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},On.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},On.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},On.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},On.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},On.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},On.prototype.wasAltered=function(){return this._map.wasAltered()},On.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},On.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},On.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=On.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Cn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(In.bind(void 0,e))}catch(e){}}function In(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?jn():Pn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[Nn])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=He.removeIn,kn.merge=He.merge,kn.mergeWith=He.mergeWith,kn.mergeIn=He.mergeIn,kn.mergeDeep=He.mergeDeep,kn.mergeDeepWith=He.mergeDeepWith,kn.mergeDeepIn=He.mergeDeepIn,kn.setIn=He.setIn,kn.update=He.update,kn.updateIn=He.updateIn,kn.withMutations=He.withMutations,kn.asMutable=He.asMutable,kn.asImmutable=He.asImmutable,t(Tn,Se),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Rn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Pn;var Dn,Nn="@@__IMMUTABLE_SET__@@",An=Tn.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 Mn(e,t){var n=Object.create(An);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Mn(it()))}function Ln(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Pn(e)&&u(e)}An[Nn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=He.withMutations,An.asMutable=He.asMutable,An.asImmutable=He.asImmutable,An.__empty=jn,An.__make=Mn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=zn;var Fn,Qn=Ln.prototype;function Bn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Fn||(Fn=Bn($t()))}function Wn(e){return null==e?Gn():qn(e)?e:Gn().unshiftAll(e)}function qn(e){return!(!e||!e[Vn])}Qn[h]=!0,Qn.__empty=Un,Qn.__make=Bn,t(Wn,ke),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=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):Hn(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):Hn(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):Gn()},Wn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=P(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Hn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Hn(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 F((function(){if(r){var t=r.value;return r=r.next,Q(e,n++,t)}return B()}))},Wn.isStack=qn;var $n,Vn="@@__IMMUTABLE_STACK__@@",Kn=Wn.prototype;function Hn(e,t,n,r){var i=Object.create(Kn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Gn(){return $n||($n=Hn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Kn[Vn]=!0,Kn.withMutations=He.withMutations,Kn.asMutable=He.asMutable,Kn.asImmutable=He.asImmutable,Kn.wasAltered=He.wasAltered,n.Iterator=F,Yn(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 Ht(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 Kt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},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(A)},map:function(e,t){return mn(this,Zt(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(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(I)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(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 Xn=n.prototype;Xn[d]=!0,Xn[z]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=rr,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(r,{flip:function(){return mn(this,Xt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,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 Zn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr(Ie(e),Ie(t))|0}:function(e,t){r=r+lr(Ie(e),Ie(t))|0}:t?function(e){r=31*r+Ie(e)|0}:function(e){r=r+Ie(e)|0});return sr(i,r)}function sr(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Ce(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[z]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(i,{toKeyedSeq:function(){return new Kt(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=P(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),G.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Xn.includes,Yn(H,r.prototype),Yn(G,i.prototype),Yn(Y,o.prototype),Yn(Oe,r.prototype),Yn(ke,i.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:K,Collection:_e,Map:qe,OrderedMap:Ut,List:kt,Stack:Wn,Set:Tn,OrderedSet:Ln,Record:On,Range:xe,Repeat:be,is:ve,fromJS:pe}}();var h5e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function m5e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=h5e(e)):t=h5e(e);return t.body}var g5e=new RegExp("\r","g"),v5e=new RegExp("\n","g"),y5e=new RegExp("&nbsp;","g"),b5e=new RegExp("\r","g"),w5e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],x5e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},_5e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},O5e=function(e,t,n){},k5e=function(e,t,n){return n},S5e=function(e,t){},C5e=function(e){return[]},E5e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function I5e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p5e.exports.Map();return!0===n?{text:"\r",inlines:[p5e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[p5e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function T5e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p5e.exports.Map();return{text:"\r",inlines:[p5e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function P5e(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 D5e(e,t,n){return P5e(e,n)}function N5e(e,t,n){var r=x5e[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 A5e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p5e.exports.OrderedSet();return N5e(e,t,n)}function R5e(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 M5e(e,t,n,r,i,o,a,s,l,c,u,d,f,p,h,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[p5e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(v5e," "));var w=Array(b.length).fill(m),x=0;return l(b,u,d,f,p).sort(z3e).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+x;null==i&&(i=b.substr(o,r));var a=b.split("");a.splice.bind(a,o,r).apply(a,i.split("")),b=a.join(""),w.splice.bind(w,o,r).apply(w,Array(i.length).fill(t)),x+=i.length-r})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var _=r;return null===_?I5e("unstyled",o,!0):I5e(_||"unstyled",o,h.flat)}var O={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=N5e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,S,C=c(g,e,n,r);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(k=C,S=p5e.exports.Map()):(k="string"==typeof C?C:C.type,S=C.data?p5e.exports.Map(C.data):p5e.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,O=I5e(k,o,!0,S));else{var E=P5e(g,n);O=T5e(E,o),r=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else O=T5e(k||P5e(g,n),o,S),r=k||P5e(g,n),v=!0;var I=e.firstChild;null!=I||!m||"atomic"!==k&&"atomic"!==r||(I=document.createTextNode("a")),null!=I&&(g=I.nodeName.toLowerCase());for(var T=null;I;){T=s(g,I,u,d,f,p),O=R5e(O,M5e(I,t,n,r,i,o,a,s,l,c,u,d,f,p,h,T||m),h.flat);var P=I.nextSibling;if(P&&i.indexOf(g)>=0&&r){var D=c(g,I,n,r),N=void 0,A=void 0;!1!==D&&("string"==typeof(D=D||{})?(N=D,A=p5e.exports.Map()):(N=D.type||P5e(g,n),A=D.data?p5e.exports.Map(D.data):p5e.exports.Map()),O=R5e(O,I5e(N,o,h.flat,A),h.flat))}P&&(g=P.nodeName.toLowerCase()),I=P}return v&&(O=R5e(O,T5e(y,o,p5e.exports.Map()),h.flat)),O}function j5e(e,t,n,r,i,o,a,s,l,c,u){var d=u(e=e.trim().replace(g5e,"").replace(y5e," "));if(!d)return null;var f=function(e){return w5e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?w5e.concat(["div"]):["div"],p=M5e(d,p5e.exports.OrderedSet(),"ul",null,f,-1,t,n,r,i,o,a,s,l,c);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:p5e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:p5e.exports.Map(),depth:0}),p}function L5e(e,t,n,r,i,o,a,s,l,c,u,d){var f=j5e(e,t,n,r,i,o,a,s,l,c,u);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(b5e,"");var n=p+e.length,r=E5e(f).inlines.slice(p,n),i=E5e(f).entities.slice(p,n),o=p5e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),j3e.CharacterMetadata.create(n)})));return p=n+1,new j3e.ContentBlock({key:d(),type:E5e(f).blocks[t].type,data:E5e(f).blocks[t].data,depth:E5e(f).blocks[t].depth,text:e,characterList:o})}))}var z5e=function(e){var t=e.htmlToStyle,n=void 0===t?k5e:t,r=e.htmlToEntity,i=void 0===r?S5e:r,o=e.textToEntity,a=void 0===o?C5e:o,s=e.htmlToBlock,l=void 0===s?O5e: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]:m5e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j3e.genKey,s=j3e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():j3e.Entity.create.apply(j3e.Entity,arguments)},u=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):j3e.Entity.get.apply(j3e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):j3e.Entity.mergeData.apply(j3e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):j3e.Entity.replaceData.apply(j3e.Entity,arguments)},p=L5e(e,_5e(n,A5e),_5e(i,S5e),_5e(a,C5e),_5e(l,D5e),c,u,d,f,t,r,o),h=j3e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:j3e.SelectionState.createEmpty(m),selectionAfter:j3e.SelectionState.createEmpty(m)})}},F5e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?z5e({}).apply(void 0,arguments):z5e.apply(void 0,arguments)};xK('/**\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 Q5e={};function B5e(e){e&&(e.value=!0)}function U5e(){}function W5e(e){return void 0===e.size&&(e.size=e.__iterate($5e)),e.size}function q5e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?W5e(e)+t:t}function $5e(){return!0}function V5e(e,t,n){return(0===e&&!Y5e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function K5e(e,t){return G5e(e,t,0)}function H5e(e,t){return G5e(e,t,t)}function G5e(e,t,n){return void 0===e?n:Y5e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Y5e(e){return e<0||0===e&&1/e==-1/0}function X5e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function Z5e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function J5e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function e4e(e){return Z5e(e)||J5e(e)}var t4e=function(e){return X5e(e)?e:x4e(e)},n4e=function(e){function t(e){return Z5e(e)?e:_4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t4e),r4e=function(e){function t(e){return J5e(e)?e:O4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t4e),i4e=function(e){function t(e){return X5e(e)&&!e4e(e)?e:k4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t4e);t4e.Keyed=n4e,t4e.Indexed=r4e,t4e.Set=i4e;function o4e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function a4e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function s4e(e){return X5e(e)||a4e(e)}var l4e="@@__IMMUTABLE_ORDERED__@@";function c4e(e){return Boolean(e&&e[l4e])}var u4e="function"==typeof Symbol&&Symbol.iterator,d4e=u4e||"@@iterator",f4e=function(e){this.next=e};function p4e(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 h4e(){return{value:void 0,done:!0}}function m4e(e){return!!y4e(e)}function g4e(e){return e&&"function"==typeof e.next}function v4e(e){var t=y4e(e);return t&&t.call(e)}function y4e(e){var t=e&&(u4e&&e[u4e]||e["@@iterator"]);if("function"==typeof t)return t}f4e.prototype.toString=function(){return"[Iterator]"},f4e.KEYS=0,f4e.VALUES=1,f4e.ENTRIES=2,f4e.prototype.inspect=f4e.prototype.toSource=function(){return this.toString()},f4e.prototype[d4e]=function(){return this};var b4e=Object.prototype.hasOwnProperty;function w4e(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 x4e=function(e){function t(e){return null==e?T4e():s4e(e)?e.toSeq():function(e){var t=N4e(e);if(t)return t;if("object"==typeof e)return new C4e(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 f4e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return p4e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(t4e),_4e=function(e){function t(e){return null==e?T4e().toKeyedSeq():X5e(e)?Z5e(e)?e.toSeq():e.fromEntrySeq():a4e(e)?e.toSeq():P4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(x4e),O4e=function(e){function t(e){return null==e?T4e():X5e(e)?Z5e(e)?e.entrySeq():e.toIndexedSeq():a4e(e)?e.toSeq().entrySeq():D4e(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}(x4e),k4e=function(e){function t(e){return(X5e(e)&&!e4e(e)?e:O4e(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}(x4e);x4e.isSeq=o4e,x4e.Keyed=_4e,x4e.Set=k4e,x4e.Indexed=O4e,x4e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var S4e=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[q5e(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 f4e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return p4e(e,o,n[o])}))},t}(O4e),C4e=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 b4e.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 f4e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return p4e(e,a,n[a])}))},t}(_4e);C4e.prototype[l4e]=!0;var E4e,I4e=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=v4e(this._collection),r=0;if(g4e(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=v4e(this._collection);if(!g4e(n))return new f4e(h4e);var r=0;return new f4e((function(){var t=n.next();return t.done?t:p4e(e,r++,t.value)}))},t}(O4e);function T4e(){return E4e||(E4e=new S4e([]))}function P4e(e){var t=Array.isArray(e)?new S4e(e):m4e(e)?new I4e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new C4e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function D4e(e){var t=N4e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function N4e(e){return w4e(e)?new S4e(e):m4e(e)?new I4e(e):void 0}function A4e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function R4e(e){return A4e(e)&&c4e(e)}function M4e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function j4e(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!!(M4e(e)&&M4e(t)&&e.equals(t))}var L4e="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 z4e(e){return e>>>1&1073741824|3221225471&e}var F4e=Object.prototype.valueOf;function Q4e(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 z4e(t)}(e);case"string":return e.length>H4e?function(e){var t=X4e[e];void 0===t&&(t=B4e(e),Y4e===G4e&&(Y4e=0,X4e={}),Y4e++,X4e[e]=t);return t}(e):B4e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?z4e(e.hashCode(e)):(e.valueOf!==F4e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if($4e&&void 0!==(t=q4e.get(e)))return t;if(void 0!==(t=e[K4e]))return t;if(!W4e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[K4e]))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=++V4e,1073741824&V4e&&(V4e=0);if($4e)q4e.set(e,t);else{if(void 0!==U4e&&!1===U4e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(W4e)Object.defineProperty(e,K4e,{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[K4e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[K4e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return B4e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function B4e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return z4e(t)}var U4e=Object.isExtensible,W4e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var q4e,$4e="function"==typeof WeakMap;$4e&&(q4e=new WeakMap);var V4e=0,K4e="__immutablehash__";"function"==typeof Symbol&&(K4e=Symbol(K4e));var H4e=16,G4e=255,Y4e=0,X4e={},Z4e=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=i6e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=r6e(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}(_4e);Z4e.prototype[l4e]=!0;var J4e=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&&W5e(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&&W5e(this),new f4e((function(){var o=r.next();return o.done?o:p4e(e,t?n.size-++i:i++,o.value,o)}))},t}(O4e),e6e=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 f4e((function(){var t=n.next();return t.done?t:p4e(e,t.value,t.value,t)}))},t}(k4e),t6e=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){m6e(t);var r=X5e(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 f4e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){m6e(r);var i=X5e(r);return p4e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(_4e);function n6e(e){var t=v6e(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=y6e,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 f4e((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 r6e(e,t,n){var r=v6e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,Q5e);return o===Q5e?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 f4e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return p4e(r,s,t.call(n,a[1],s,e),i)}))},r}function i6e(e,t){var n=this,r=v6e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=n6e(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=y6e,r.__iterate=function(n,r){var i=this,o=0;return r&&W5e(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&&W5e(e);var a=e.__iterator(2,!i);return new f4e((function(){var e=a.next();if(e.done)return e;var s=e.value;return p4e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function o6e(e,t,n,r){var i=v6e(e);return r&&(i.has=function(r){var i=e.get(r,Q5e);return i!==Q5e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,Q5e);return o!==Q5e&&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 f4e((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return p4e(i,r?c:s++,u,o)}}))},i}function a6e(e,t,n,r){var i=e.size;if(V5e(t,n,i))return e;var o=K5e(t,i),a=H5e(n,i);if(o!=o||a!=a)return a6e(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=v6e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&o4e(e)&&s>=0&&(c.get=function(t,n){return(t=q5e(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new f4e(h4e);var i=e.__iterator(t,n),a=0,l=0;return new f4e((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:p4e(t,l-1,0===t?void 0:e.value[1],e)}))},c}function s6e(e,t,n,r){var i=v6e(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),l=!0,c=0;return new f4e((function(){var e,o,u;do{if((e=s.next()).done)return r||1===i?e:p4e(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return 2===i?e:p4e(i,o,u,e)}))},i}function l6e(e,t){var n=Z5e(e),r=[e].concat(t).map((function(e){return X5e(e)?n&&(e=n4e(e)):e=n?P4e(e):D4e(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&&Z5e(i)||J5e(e)&&J5e(i))return i}var o=new S4e(r);return n?o=o.toKeyedSeq():J5e(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 c6e(e,t,n){var r=v6e(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(l,c){l.__iterate((function(o,l){return(!t||c<t)&&X5e(o)?e(o,c+1):(a++,!1===i(o,n?l:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new f4e((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)||!X5e(l))return n?e:p4e(r,s++,l,e);a.push(o),o=l.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function u6e(e,t,n){t||(t=b6e);var r=Z5e(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?_4e(o):J5e(e)?O4e(o):k4e(o)}function d6e(e,t,n){if(t||(t=b6e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return f6e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return f6e(t,e,n)?n:e}))}function f6e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function p6e(e,t,n,r){var i=v6e(e),o=new S4e(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=t4e(e),v4e(i?e.reverse():e)})),a=0,s=!1;return new f4e((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}:p4e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function h6e(e,t){return e===t?e:o4e(e)?t:e.constructor(t)}function m6e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function g6e(e){return Z5e(e)?n4e:J5e(e)?r4e:i4e}function v6e(e){return Object.create((Z5e(e)?_4e:J5e(e)?O4e:k4e).prototype)}function y6e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):x4e.prototype.cacheResult.call(this)}function b6e(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 w6e(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 x6e(e,t){if(!e)throw new Error(t)}function _6e(e){x6e(e!==1/0,"Cannot perform this action with an infinite size.")}function O6e(e){if(w4e(e)&&"string"!=typeof e)return e;if(c4e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function k6e(e){return"object"==typeof e&&(s4e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function S6e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function C6e(e,t,n){return s4e(e)?e.get(t,n):function(e,t){return s4e(e)?e.has(t):k6e(e)&&b4e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function E6e(e){if(Array.isArray(e))return w6e(e);var t={};for(var n in e)b4e.call(e,n)&&(t[n]=e[n]);return t}function I6e(e,t,n,r){r||(r=n,n=void 0);var i=T6e(s4e(e),e,O6e(t),0,n,r);return i===Q5e?n:i}function T6e(e,t,n,r,i,o){var a=t===Q5e;if(r===n.length){var s=a?i:t,l=o(s);return l===s?t:l}if(!a&&!k6e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(S6e)+"]: "+t);var c=n[r],u=a?Q5e:C6e(t,c,Q5e),d=T6e(u===Q5e?e:s4e(u),u,n,r+1,i,o);return d===u?t:d===Q5e?function(e,t){if(!k6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s4e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!b4e.call(e,t))return e;var n=E6e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!k6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s4e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(b4e.call(e,t)&&n===e[t])return e;var r=E6e(e);return r[t]=n,r}(a?e?a7e():{}:t,c,d)}function P6e(e,t){return function(e,t,n){return I6e(e,t,Q5e,(function(){return n}))}(this,e,t)}function D6e(e){return function(e,t){return I6e(e,t,(function(){return Q5e}))}(this,e)}function N6e(e,t,n,r){return I6e(e,[t],n,r)}function A6e(e,t,n){return 1===arguments.length?e(this):N6e(this,e,t,n)}function R6e(e,t,n){return I6e(this,e,t,n)}function M6e(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return L6e(this,e)}function j6e(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 L6e(this,t,e)}function L6e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=n4e(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){N6e(e,r,Q5e,(function(e){return e===Q5e?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 z6e(e,t,n){return F6e(e,t,function(e){function t(n,r,i){return k6e(n)&&k6e(r)?F6e(n,[r],t):e?e(n,r,i):r}return t}(n))}function F6e(e,t,n){if(!k6e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(s4e(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?r4e:n4e,a=r?function(t){i===e&&(i=E6e(i)),i.push(t)}:function(t,r){var o=b4e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=E6e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function Q6e(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return z6e(this,e)}function B6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return z6e(this,t,e)}function U6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return I6e(this,e,a7e(),(function(e){return F6e(e,t)}))}function W6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return I6e(this,e,a7e(),(function(e){return z6e(e,t)}))}function q6e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function $6e(){return this.__ownerID?this:this.__ensureOwner(new U5e)}function V6e(){return this.__ensureOwner()}function K6e(){return this.__altered}J4e.prototype.cacheResult=Z4e.prototype.cacheResult=e6e.prototype.cacheResult=t6e.prototype.cacheResult=y6e;var H6e=function(e){function t(t){return null==t?a7e():A4e(t)&&!c4e(t)?t:a7e().withMutations((function(n){var r=e(t);_6e(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 a7e().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 s7e(this,e,t)},t.prototype.remove=function(e){return s7e(this,e,Q5e)},t.prototype.deleteAll=function(e){var t=t4e(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):a7e()},t.prototype.sort=function(e){return D7e(u6e(this,e))},t.prototype.sortBy=function(e,t){return D7e(u6e(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 n7e(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?o7e(this.size,this._root,e,this.__hash):0===this.size?a7e():(this.__ownerID=e,this.__altered=!1,this)},t}(n4e);H6e.isMap=A4e;var G6e=H6e.prototype;G6e["@@__IMMUTABLE_MAP__@@"]=!0,G6e.delete=G6e.remove,G6e.removeAll=G6e.deleteAll,G6e.setIn=P6e,G6e.removeIn=G6e.deleteIn=D6e,G6e.update=A6e,G6e.updateIn=R6e,G6e.merge=G6e.concat=M6e,G6e.mergeWith=j6e,G6e.mergeDeep=Q6e,G6e.mergeDeepWith=B6e,G6e.mergeIn=U6e,G6e.mergeDeepIn=W6e,G6e.withMutations=q6e,G6e.wasAltered=K6e,G6e.asImmutable=V6e,G6e["@@transducer/init"]=G6e.asMutable=$6e,G6e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},G6e["@@transducer/result"]=function(e){return e.asImmutable()};var Y6e=function(e,t){this.ownerID=e,this.entries=t};Y6e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(j4e(n,i[o][0]))return i[o][1];return r},Y6e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===Q5e,l=this.entries,c=0,u=l.length;c<u&&!j4e(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(B5e(a),(s||!d)&&B5e(o),!s||1!==l.length){if(!d&&!s&&l.length>=p7e)return function(e,t,n,r){e||(e=new U5e);for(var i=new e7e(e,Q4e(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 f=e&&e===this.ownerID,p=f?l:w6e(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Y6e(e,p)}};var X6e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};X6e.prototype.get=function(e,t,n,r){void 0===t&&(t=Q4e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[d7e(o&i-1)].get(e+5,t,n,r)},X6e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Q4e(r));var s=31&(0===t?n:n>>>t),l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===Q5e)return this;var d=d7e(c&l-1),f=this.nodes,p=u?f[d]:void 0,h=l7e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!u&&h&&f.length>=h7e)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 Z6e(e,o+1,a)}(e,f,c,s,h);if(u&&!h&&2===f.length&&c7e(f[1^d]))return f[1^d];if(u&&h&&1===f.length&&c7e(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,v=u?h?f7e(f,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}(f,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}(f,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new X6e(e,g,v)};var Z6e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Z6e.prototype.get=function(e,t,n,r){void 0===t&&(t=Q4e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},Z6e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Q4e(r));var s=31&(0===t?n:n>>>t),l=i===Q5e,c=this.nodes,u=c[s];if(l&&!u)return this;var d=l7e(u,e,t+5,n,r,i,o,a);if(d===u)return this;var f=this.count;if(u){if(!d&&--f<m7e)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new X6e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=f7e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Z6e(e,f,h)};var J6e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};J6e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(j4e(n,i[o][0]))return i[o][1];return r},J6e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Q4e(r));var s=i===Q5e;if(n!==this.keyHash)return s?this:(B5e(a),B5e(o),u7e(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!j4e(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(B5e(a),(s||!d)&&B5e(o),s&&2===u)return new e7e(e,this.keyHash,l[1^c]);var f=e&&e===this.ownerID,p=f?l:w6e(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new J6e(e,this.keyHash,p)};var e7e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};e7e.prototype.get=function(e,t,n,r){return j4e(n,this.entry[0])?this.entry[1]:r},e7e.prototype.update=function(e,t,n,r,i,o,a){var s=i===Q5e,l=j4e(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(B5e(a),s?void B5e(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new e7e(e,this.keyHash,[r,i]):(B5e(o),u7e(this,e,t,Q4e(r),[r,i])))},Y6e.prototype.iterate=J6e.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},X6e.prototype.iterate=Z6e.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}},e7e.prototype.iterate=function(e,t){return e(this.entry)};var t7e,n7e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&i7e(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 r7e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return r7e(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 r7e(e,o.entry);t=this._stack=i7e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(f4e);function r7e(e,t){return p4e(e,t[0],t[1])}function i7e(e,t){return{node:e,index:0,__prev:t}}function o7e(e,t,n,r){var i=Object.create(G6e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function a7e(){return t7e||(t7e=o7e(0))}function s7e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=l7e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===Q5e?-1:1:0)}else{if(n===Q5e)return e;i=1,r=new Y6e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?o7e(i,r):a7e()}function l7e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===Q5e?e:(B5e(s),B5e(a),new e7e(t,r,[i,o]))}function c7e(e){return e.constructor===e7e||e.constructor===J6e}function u7e(e,t,n,r,i){if(e.keyHash===r)return new J6e(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?[u7e(e,t,n+5,r,i)]:(o=new e7e(t,r,i),a<s?[e,o]:[o,e]);return new X6e(t,1<<a|1<<s,l)}function d7e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function f7e(e,t,n,r){var i=r?e:w6e(e);return i[t]=n,i}var p7e=8,h7e=16,m7e=8;function g7e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var v7e=function(e){function t(t){var n=k7e();if(null==t)return n;if(g7e(t))return t;var r=e(t),i=r.size;return 0===i?n:(_6e(i),i>0&&i<32?O7e(0,i,5,null,new b7e(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=q5e(this,e))>=0&&e<this.size){var n=E7e(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=q5e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?I7e(e,t).set(0,n):I7e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=T7e(e._capacity)?r=S7e(r,e.__ownerID,0,t,n,o):i=S7e(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 O7e(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):k7e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){I7e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return I7e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){I7e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return I7e(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&&m4e(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 I7e(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 V5e(e,t,n)?this:I7e(this,K5e(e,n),H5e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=_7e(this,t);return new f4e((function(){var i=r();return i===x7e?{value:void 0,done:!0}:p4e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=_7e(this,t);(n=i())!==x7e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?O7e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?k7e():(this.__ownerID=e,this.__altered=!1,this)},t}(r4e);v7e.isList=g7e;var y7e=v7e.prototype;y7e["@@__IMMUTABLE_LIST__@@"]=!0,y7e.delete=y7e.remove,y7e.merge=y7e.concat,y7e.setIn=P6e,y7e.deleteIn=y7e.removeIn=D6e,y7e.update=A6e,y7e.updateIn=R6e,y7e.mergeIn=U6e,y7e.mergeDeepIn=W6e,y7e.withMutations=q6e,y7e.wasAltered=K6e,y7e.asImmutable=V6e,y7e["@@transducer/init"]=y7e.asMutable=$6e,y7e["@@transducer/step"]=function(e,t){return e.push(t)},y7e["@@transducer/result"]=function(e){return e.asImmutable()};var b7e=function(e,t){this.array=e,this.ownerID=t};b7e.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 b7e([],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=C7e(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},b7e.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=C7e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var w7e,x7e={};function _7e(e,t){var n=e._origin,r=e._capacity,i=T7e(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(l===c)return x7e;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);u>32&&(u=32);return function(){for(;;){if(s){var e=s();if(e!==x7e)return e;s=null}if(c===u)return x7e;var n=t?--u:c++;s=a(l&&l[n],i-5,o+(n<<i))}}}(e,s,l)}}function O7e(e,t,n,r,i,o,a){var s=Object.create(y7e);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 k7e(){return w7e||(w7e=O7e(0,0,5))}function S7e(e,t,n,r,i,o){var a,s=r>>>n&31,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=S7e(c,t,n-5,r,i,o);return u===c?e:((a=C7e(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(o&&B5e(o),a=C7e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function C7e(e,t){return t&&e&&t===e.ownerID?e:new b7e(e?e.array.slice():[],t)}function E7e(e,t){if(t>=T7e(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 I7e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new U5e,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new b7e(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=T7e(o),f=T7e(s);f>=1<<l+5;)c=new b7e(c&&c.array.length?[c]:[],r),l+=5;var p=e._tail,h=f<d?E7e(e,s-1):f>d?new b7e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=C7e(c,r),g=l;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=C7e(m.array[v],r)}m.array[d>>>5&31]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(u=0;c;){var y=a>>>l&31;if(y!==f>>>l&31)break;y&&(u+=(1<<l)*y),l-=5,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&f<d&&(c=c.removeAfter(r,l,f-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):O7e(a,s,l,c,h)}function T7e(e){return e<32?0:e-1>>>5<<5}var P7e,D7e=function(e){function t(e){return null==e?A7e():R4e(e)?e:A7e().withMutations((function(t){var n=n4e(e);_6e(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):A7e()},t.prototype.set=function(e,t){return R7e(this,e,t)},t.prototype.remove=function(e){return R7e(this,e,Q5e)},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?N7e(t,n,e,this.__hash):0===this.size?A7e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(H6e);function N7e(e,t,n,r){var i=Object.create(D7e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function A7e(){return P7e||(P7e=N7e(a7e(),k7e()))}function R7e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===Q5e){if(!l)return e;a.size>=32&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):N7e(r,i)}D7e.isOrderedMap=R4e,D7e.prototype[l4e]=!0,D7e.prototype.delete=D7e.prototype.remove;function M7e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var j7e=function(e){function t(e){return null==e?Q7e():M7e(e)?e:Q7e().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=q5e(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):F7e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&M7e(t))return t;_6e(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):F7e(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):Q7e()},t.prototype.slice=function(t,n){if(V5e(t,n,this.size))return this;var r=K5e(t,this.size);if(H5e(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):F7e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?F7e(this.size,this._head,e,this.__hash):0===this.size?Q7e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new S4e(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 S4e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new f4e((function(){if(r){var t=r.value;return r=r.next,p4e(e,n++,t)}return{value:void 0,done:!0}}))},t}(r4e);j7e.isStack=M7e;var L7e,z7e=j7e.prototype;function F7e(e,t,n,r){var i=Object.create(z7e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Q7e(){return L7e||(L7e=F7e(0))}z7e["@@__IMMUTABLE_STACK__@@"]=!0,z7e.shift=z7e.pop,z7e.unshift=z7e.push,z7e.unshiftAll=z7e.pushAll,z7e.withMutations=q6e,z7e.wasAltered=K6e,z7e.asImmutable=V6e,z7e["@@transducer/init"]=z7e.asMutable=$6e,z7e["@@transducer/step"]=function(e,t){return e.unshift(t)},z7e["@@transducer/result"]=function(e){return e.asImmutable()};function B7e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function U7e(e){return B7e(e)&&c4e(e)}function W7e(e,t){if(e===t)return!0;if(!X5e(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||Z5e(e)!==Z5e(t)||J5e(e)!==J5e(t)||c4e(e)!==c4e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!e4e(e);if(c4e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&j4e(i[1],e)&&(n||j4e(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?!j4e(t,e.get(r,Q5e)):!j4e(e.get(r,Q5e),t))return a=!1,!1}));return a&&e.size===s}function q7e(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 $7e(e){if(!e||"object"!=typeof e)return e;if(!X5e(e)){if(!k6e(e))return e;e=x4e(e)}if(Z5e(e)){var t={};return e.__iterate((function(e,n){t[n]=$7e(e)})),t}var n=[];return e.__iterate((function(e){n.push($7e(e))})),n}var V7e=function(e){function t(t){return null==t?X7e():B7e(t)&&!c4e(t)?t:X7e().withMutations((function(n){var r=e(t);_6e(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(n4e(e).keySeq())},t.intersect=function(e){return(e=t4e(e).toArray()).length?H7e.intersect.apply(t(e.pop()),e):X7e()},t.union=function(e){return(e=t4e(e).toArray()).length?H7e.union.apply(t(e.pop()),e):X7e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return G7e(this,this._map.set(e,e))},t.prototype.remove=function(e){return G7e(this,this._map.remove(e))},t.prototype.clear=function(){return G7e(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 h9e(u6e(this,e))},t.prototype.sortBy=function(e,t){return h9e(u6e(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}(i4e);V7e.isSet=B7e;var K7e,H7e=V7e.prototype;function G7e(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 Y7e(e,t){var n=Object.create(H7e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function X7e(){return K7e||(K7e=Y7e(a7e()))}H7e["@@__IMMUTABLE_SET__@@"]=!0,H7e.delete=H7e.remove,H7e.merge=H7e.concat=H7e.union,H7e.withMutations=q6e,H7e.asImmutable=V6e,H7e["@@transducer/init"]=H7e.asMutable=$6e,H7e["@@transducer/step"]=function(e,t){return e.add(t)},H7e["@@transducer/result"]=function(e){return e.asImmutable()},H7e.__empty=X7e,H7e.__make=Y7e;var Z7e,J7e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(x6e(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(Z7e)return Z7e;Z7e=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+q5e(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 V5e(e,n,this.size)?this:(e=K5e(e,this.size),(n=H5e(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 f4e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,p4e(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:W7e(this,e)},t}(O4e);function e9e(e,t,n){for(var r=O6e(t),i=0;i!==r.length;)if((e=C6e(e,r[i++],Q5e))===Q5e)return n;return e}function t9e(e,t){return e9e(this,e,t)}function n9e(){_6e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}t4e.isIterable=X5e,t4e.isKeyed=Z5e,t4e.isIndexed=J5e,t4e.isAssociative=e4e,t4e.isOrdered=c4e,t4e.Iterator=f4e,q7e(t4e,{toArray:function(){_6e(this.size);var e=new Array(this.size||0),t=Z5e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new J4e(this)},toJS:function(){return $7e(this)},toKeyedSeq:function(){return new Z4e(this,!0)},toMap:function(){return H6e(this.toKeyedSeq())},toObject:n9e,toOrderedMap:function(){return D7e(this.toKeyedSeq())},toOrderedSet:function(){return h9e(Z5e(this)?this.valueSeq():this)},toSet:function(){return V7e(Z5e(this)?this.valueSeq():this)},toSetSeq:function(){return new e6e(this)},toSeq:function(){return J5e(this)?this.toIndexedSeq():Z5e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return j7e(Z5e(this)?this.valueSeq():this)},toList:function(){return v7e(Z5e(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 h6e(this,l6e(this,e))},includes:function(e){return this.some((function(t){return j4e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){_6e(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 h6e(this,o6e(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 _6e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){_6e(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 h6e(this,r6e(this,e,t))},reduce:function(e,t,n){return a9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return a9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return h6e(this,i6e(this,!0))},slice:function(e,t){return h6e(this,a6e(this,e,t,!0))},some:function(e,t){return!this.every(c9e(e),t)},sort:function(e){return h6e(this,u6e(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 W5e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=H6e().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 W7e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new S4e(e._cache);var t=e.toSeq().map(l9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(c9e(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($5e,null,e)},flatMap:function(e,t){return h6e(this,function(e,t,n){var r=g6e(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 h6e(this,c6e(this,e,!0))},fromEntrySeq:function(){return new t6e(this)},get:function(e,t){return this.find((function(t,n){return j4e(n,e)}),void 0,t)},getIn:t9e,groupBy:function(e,t){return function(e,t,n){var r=Z5e(e),i=(c4e(e)?D7e():H6e()).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=g6e(e);return i.map((function(t){return h6e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,Q5e)!==Q5e},hasIn:function(e){return function(e,t){return e9e(e,t,Q5e)!==Q5e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:t4e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:t4e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return j4e(t,e)}))},keySeq:function(){return this.toSeq().map(s9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return d6e(this,e)},maxBy:function(e,t){return d6e(this,t,e)},min:function(e){return d6e(this,e?u9e(e):f9e)},minBy:function(e,t){return d6e(this,t?u9e(t):f9e,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 h6e(this,s6e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(c9e(e),t)},sortBy:function(e,t){return h6e(this,u6e(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 h6e(this,function(e,t,n){var r=v6e(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 f4e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?2===r?e:p4e(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(c9e(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=c4e(e),n=Z5e(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+p9e(Q4e(e),Q4e(t))|0}:function(e,t){r=r+p9e(Q4e(e),Q4e(t))|0}:t?function(e){r=31*r+Q4e(e)|0}:function(e){r=r+Q4e(e)|0});return function(e,t){return t=L4e(t,3432918353),t=L4e(t<<15|t>>>-15,461845907),t=L4e(t<<13|t>>>-13,5),t=L4e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=z4e((t=L4e(t^t>>>13,3266489909))^t>>>16)}(i,r)}(this))}});var r9e=t4e.prototype;r9e["@@__IMMUTABLE_ITERABLE__@@"]=!0,r9e[d4e]=r9e.values,r9e.toJSON=r9e.toArray,r9e.__toStringMapper=S6e,r9e.inspect=r9e.toSource=function(){return this.toString()},r9e.chain=r9e.flatMap,r9e.contains=r9e.includes,q7e(n4e,{flip:function(){return h6e(this,n6e(this))},mapEntries:function(e,t){var n=this,r=0;return h6e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return h6e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var i9e=n4e.prototype;i9e["@@__IMMUTABLE_KEYED__@@"]=!0,i9e[d4e]=r9e.entries,i9e.toJSON=n9e,i9e.__toStringMapper=function(e,t){return S6e(t)+": "+S6e(e)},q7e(r4e,{toKeyedSeq:function(){return new Z4e(this,!1)},filter:function(e,t){return h6e(this,o6e(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 h6e(this,i6e(this,!1))},slice:function(e,t){return h6e(this,a6e(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=K5e(e,e<0?this.count():this.size);var r=this.slice(0,e);return h6e(this,1===n?r:r.concat(w6e(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 h6e(this,c6e(this,e,!1))},get:function(e,t){return(e=q5e(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=q5e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return h6e(this,function(e,t){var n=v6e(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 f4e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?p4e(n,a++,t):p4e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(w6e(arguments)),t=p6e(this.toSeq(),O4e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),h6e(this,n)},keySeq:function(){return J7e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return h6e(this,s6e(this,e,t,!1))},zip:function(){var e=[this].concat(w6e(arguments));return h6e(this,p6e(this,d9e,e))},zipAll:function(){var e=[this].concat(w6e(arguments));return h6e(this,p6e(this,d9e,e,!0))},zipWith:function(e){var t=w6e(arguments);return t[0]=this,h6e(this,p6e(this,e,t))}});var o9e=r4e.prototype;function a9e(e,t,n,r,i,o){return _6e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function s9e(e,t){return t}function l9e(e,t){return[t,e]}function c9e(e){return function(){return!e.apply(this,arguments)}}function u9e(e){return function(){return-e.apply(this,arguments)}}function d9e(){return w6e(arguments)}function f9e(e,t){return e<t?1:e>t?-1:0}function p9e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}o9e["@@__IMMUTABLE_INDEXED__@@"]=!0,o9e[l4e]=!0,q7e(i4e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i4e.prototype.has=r9e.includes,i4e.prototype.contains=i4e.prototype.includes,q7e(_4e,n4e.prototype),q7e(O4e,r4e.prototype),q7e(k4e,i4e.prototype);var h9e=function(e){function t(e){return null==e?y9e():U7e(e)?e:y9e().withMutations((function(t){var n=i4e(e);_6e(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(n4e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(V7e);h9e.isOrderedSet=U7e;var m9e,g9e=h9e.prototype;function v9e(e,t){var n=Object.create(g9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function y9e(){return m9e||(m9e=v9e(A7e()))}g9e[l4e]=!0,g9e.zip=o9e.zip,g9e.zipWith=o9e.zipWith,g9e.__empty=y9e,g9e.__make=v9e;var b9e=function(e,t){var n,r=function(o){var a=this;if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(e),l=i._indices={};i._name=t,i._keys=s,i._defaultValues=e;for(var c=0;c<s.length;c++){var u=s[c];l[u]=c,i[u]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+_9e(this)+' with property "'+u+'" since that property name is part of the Record API.'):k9e(i,u)}}this.__ownerID=void 0,this._values=v7e().withMutations((function(e){e.setSize(a._keys.length),n4e(o).forEach((function(t,n){e.set(a._indices[n],t===a._defaultValues[n]?void 0:t)}))}))},i=r.prototype=Object.create(w9e);return i.constructor=r,t&&(r.displayName=t),r};b9e.prototype.toString=function(){for(var e,t=_9e(this)+" { ",n=this._keys,r=0,i=n.length;r!==i;r++)t+=(r?", ":"")+(e=n[r])+": "+S6e(this.get(e));return t+" }"},b9e.prototype.equals=function(e){return this===e||e&&this._keys===e._keys&&O9e(this).equals(O9e(e))},b9e.prototype.hashCode=function(){return O9e(this).hashCode()},b9e.prototype.has=function(e){return this._indices.hasOwnProperty(e)},b9e.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._indices[e],r=this._values.get(n);return void 0===r?this._defaultValues[e]:r},b9e.prototype.set=function(e,t){if(this.has(e)){var n=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(n!==this._values&&!this.__ownerID)return x9e(this,n)}return this},b9e.prototype.remove=function(e){return this.set(e)},b9e.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:x9e(this,e)},b9e.prototype.wasAltered=function(){return this._values.wasAltered()},b9e.prototype.toSeq=function(){return O9e(this)},b9e.prototype.toJS=function(){return $7e(this)},b9e.prototype.entries=function(){return this.__iterator(2)},b9e.prototype.__iterator=function(e,t){return O9e(this).__iterator(e,t)},b9e.prototype.__iterate=function(e,t){return O9e(this).__iterate(e,t)},b9e.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?x9e(this,t,e):(this.__ownerID=e,this._values=t,this)},b9e.isRecord=a4e,b9e.getDescriptiveName=_9e;var w9e=b9e.prototype;function x9e(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function _9e(e){return e.constructor.displayName||e.constructor.name||"Record"}function O9e(e){return P4e(e._keys.map((function(t){return[t,e.get(t)]})))}function k9e(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){x6e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}w9e["@@__IMMUTABLE_RECORD__@@"]=!0,w9e.delete=w9e.remove,w9e.deleteIn=w9e.removeIn=D6e,w9e.getIn=t9e,w9e.hasIn=r9e.hasIn,w9e.merge=M6e,w9e.mergeWith=j6e,w9e.mergeIn=U6e,w9e.mergeDeep=Q6e,w9e.mergeDeepWith=B6e,w9e.mergeDeepIn=W6e,w9e.setIn=P6e,w9e.update=A6e,w9e.updateIn=R6e,w9e.withMutations=q6e,w9e.asMutable=$6e,w9e.asImmutable=V6e,w9e[d4e]=w9e.entries,w9e.toJSON=w9e.toObject=r9e.toObject,w9e.inspect=w9e.toSource=function(){return this.toString()};var S9e={exports:{}};
140
+ var Zhe=function(){return Zhe=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},Zhe.apply(this,arguments)};function Jhe(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 eme(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 tme(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 nme(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 rme(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var ime,ome=function(r){var i,o=r.children,a=Jhe(r,["children"]);return n(t,{children:[e(ame,{}),e(Z,Zhe({},a,{modalProps:Zhe(Zhe({},a.modalProps||{}),{className:Eq(JK,"lt-reach-dialog",{"lt-reach-dialog-mobile":Ol.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}))]})},ame=Pe(ime||(ime=rme(['\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']))),sme="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},lme=function(e){return e&&e.Math==Math&&e},cme=lme("object"==typeof globalThis&&globalThis)||lme("object"==typeof window&&window)||lme("object"==typeof self&&self)||lme("object"==typeof sme&&sme)||Function("return this")(),ume={},dme=function(e){try{return!!e()}catch(e){return!0}},fme=!dme((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),pme={},hme={}.propertyIsEnumerable,mme=Object.getOwnPropertyDescriptor,gme=mme&&!hme.call({1:2},1);pme.f=gme?function(e){var t=mme(this,e);return!!t&&t.enumerable}:hme;var vme=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},yme={}.toString,bme=function(e){return yme.call(e).slice(8,-1)},wme=bme,xme="".split,_me=dme((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==wme(e)?xme.call(e,""):Object(e)}:Object,Ome=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},kme=_me,Sme=Ome,Cme=function(e){return kme(Sme(e))},Eme=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Ime=Eme,Tme=function(e,t){if(!Ime(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!Ime(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Ime(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!Ime(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},Pme={}.hasOwnProperty,Dme=function(e,t){return Pme.call(e,t)},Nme=Eme,Ame=cme.document,Rme=Nme(Ame)&&Nme(Ame.createElement),Mme=function(e){return Rme?Ame.createElement(e):{}},jme=Mme,Lme=!fme&&!dme((function(){return 7!=Object.defineProperty(jme("div"),"a",{get:function(){return 7}}).a})),zme=fme,Fme=pme,Qme=vme,Bme=Cme,Ume=Tme,Wme=Dme,qme=Lme,$me=Object.getOwnPropertyDescriptor;ume.f=zme?$me:function(e,t){if(e=Bme(e),t=Ume(t,!0),qme)try{return $me(e,t)}catch(e){}if(Wme(e,t))return Qme(!Fme.f.call(e,t),e[t])};var Vme={},Kme=Eme,Hme=function(e){if(!Kme(e))throw TypeError(String(e)+" is not an object");return e},Gme=fme,Yme=Lme,Xme=Hme,Zme=Tme,Jme=Object.defineProperty;Vme.f=Gme?Jme:function(e,t,n){if(Xme(e),t=Zme(t,!0),Xme(n),Yme)try{return Jme(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 ege=Vme,tge=vme,nge=fme?function(e,t,n){return ege.f(e,t,tge(1,n))}:function(e,t,n){return e[t]=n,e},rge={exports:{}},ige=cme,oge=nge,age=function(e,t){try{oge(ige,e,t)}catch(n){ige[e]=t}return t},sge=age,lge=cme["__core-js_shared__"]||sge("__core-js_shared__",{}),cge=lge,uge=Function.toString;"function"!=typeof cge.inspectSource&&(cge.inspectSource=function(e){return uge.call(e)});var dge=cge.inspectSource,fge=dge,pge=cme.WeakMap,hge="function"==typeof pge&&/native code/.test(fge(pge)),mge={exports:{}},gge=lge;(mge.exports=function(e,t){return gge[e]||(gge[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var vge,yge,bge,wge=0,xge=Math.random(),_ge=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++wge+xge).toString(36)},Oge=mge.exports,kge=_ge,Sge=Oge("keys"),Cge=function(e){return Sge[e]||(Sge[e]=kge(e))},Ege={},Ige=hge,Tge=Eme,Pge=nge,Dge=Dme,Nge=Cge,Age=Ege,Rge=cme.WeakMap;if(Ige){var Mge=new Rge,jge=Mge.get,Lge=Mge.has,zge=Mge.set;vge=function(e,t){return zge.call(Mge,e,t),t},yge=function(e){return jge.call(Mge,e)||{}},bge=function(e){return Lge.call(Mge,e)}}else{var Fge=Nge("state");Age[Fge]=!0,vge=function(e,t){return Pge(e,Fge,t),t},yge=function(e){return Dge(e,Fge)?e[Fge]:{}},bge=function(e){return Dge(e,Fge)}}var Qge={set:vge,get:yge,has:bge,enforce:function(e){return bge(e)?yge(e):vge(e,{})},getterFor:function(e){return function(t){var n;if(!Tge(t)||(n=yge(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Bge=cme,Uge=nge,Wge=Dme,qge=age,$ge=dge,Vge=Qge.get,Kge=Qge.enforce,Hge=String(String).split("String");(rge.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||Wge(n,"name")||Uge(n,"name",t),Kge(n).source=Hge.join("string"==typeof t?t:"")),e!==Bge?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Uge(e,t,n)):o?e[t]=n:qge(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Vge(this).source||$ge(this)}));var Gge=cme,Yge=cme,Xge=function(e){return"function"==typeof e?e:void 0},Zge=function(e,t){return arguments.length<2?Xge(Gge[e])||Xge(Yge[e]):Gge[e]&&Gge[e][t]||Yge[e]&&Yge[e][t]},Jge={},eve=Math.ceil,tve=Math.floor,nve=function(e){return isNaN(e=+e)?0:(e>0?tve:eve)(e)},rve=nve,ive=Math.min,ove=function(e){return e>0?ive(rve(e),9007199254740991):0},ave=nve,sve=Math.max,lve=Math.min,cve=Cme,uve=ove,dve=function(e,t){var n=ave(e);return n<0?sve(n+t,0):lve(n,t)},fve=function(e){return function(t,n,r){var i,o=cve(t),a=uve(o.length),s=dve(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}},pve={includes:fve(!0),indexOf:fve(!1)},hve=Dme,mve=Cme,gve=pve.indexOf,vve=Ege,yve=function(e,t){var n,r=mve(e),i=0,o=[];for(n in r)!hve(vve,n)&&hve(r,n)&&o.push(n);for(;t.length>i;)hve(r,n=t[i++])&&(~gve(o,n)||o.push(n));return o},bve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wve=yve,xve=bve.concat("length","prototype");Jge.f=Object.getOwnPropertyNames||function(e){return wve(e,xve)};var _ve={};_ve.f=Object.getOwnPropertySymbols;var Ove=Jge,kve=_ve,Sve=Hme,Cve=Zge("Reflect","ownKeys")||function(e){var t=Ove.f(Sve(e)),n=kve.f;return n?t.concat(n(e)):t},Eve=Dme,Ive=Cve,Tve=ume,Pve=Vme,Dve=dme,Nve=/#|\.prototype\./,Ave=function(e,t){var n=Mve[Rve(e)];return n==Lve||n!=jve&&("function"==typeof t?Dve(t):!!t)},Rve=Ave.normalize=function(e){return String(e).replace(Nve,".").toLowerCase()},Mve=Ave.data={},jve=Ave.NATIVE="N",Lve=Ave.POLYFILL="P",zve=Ave,Fve=cme,Qve=ume.f,Bve=nge,Uve=rge.exports,Wve=age,qve=function(e,t){for(var n=Ive(t),r=Pve.f,i=Tve.f,o=0;o<n.length;o++){var a=n[o];Eve(e,a)||r(e,a,i(t,a))}},$ve=zve,Vve=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Fve:c?Fve[s]||Wve(s,{}):(Fve[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Qve(n,r))&&a.value:n[r],!$ve(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;qve(o,i)}(e.sham||i&&i.sham)&&Bve(o,"sham",!0),Uve(n,r,o,e)}},Kve=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Hve=Ome,Gve=function(e){return Object(Hve(e))},Yve=Kve,Xve=Gve,Zve=_me,Jve=ove,eye=function(e){return function(t,n,r,i){Yve(n);var o=Xve(t),a=Zve(o),s=Jve(o.length),l=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(l in a){i=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(i=n(i,a[l],l,o));return i}},tye={left:eye(!1),right:eye(!0)},nye=dme,rye=function(e,t){var n=[][e];return!!n&&nye((function(){n.call(null,t||function(){throw 1},1)}))},iye=fme,oye=dme,aye=Dme,sye=Object.defineProperty,lye={},cye=function(e){throw e},uye=function(e,t){if(aye(lye,e))return lye[e];t||(t={});var n=[][e],r=!!aye(t,"ACCESSORS")&&t.ACCESSORS,i=aye(t,0)?t[0]:cye,o=aye(t,1)?t[1]:void 0;return lye[e]=!!n&&!oye((function(){if(r&&!iye)return!0;var e={length:-1};r?sye(e,1,{enumerable:!0,get:cye}):e[1]=1,n.call(e,i,o)}))},dye=Vve,fye=tye.left,pye=uye,hye=rye("reduce"),mye=pye("reduce",{1:0});dye({target:"Array",proto:!0,forced:!hye||!mye},{reduce:function(e){return fye(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var gye=yve,vye=bve,yye=Object.keys||function(e){return gye(e,vye)},bye=fme,wye=dme,xye=yye,_ye=_ve,Oye=pme,kye=Gve,Sye=_me,Cye=Object.assign,Eye=Object.defineProperty,Iye=!Cye||wye((function(){if(bye&&1!==Cye({b:1},Cye(Eye({},"a",{enumerable:!0,get:function(){Eye(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!=Cye({},e)[n]||xye(Cye({},t)).join("")!=r}))?function(e,t){for(var n=kye(e),r=arguments.length,i=1,o=_ye.f,a=Oye.f;r>i;)for(var s,l=Sye(arguments[i++]),c=o?xye(l).concat(o(l)):xye(l),u=c.length,d=0;u>d;)s=c[d++],bye&&!a.call(l,s)||(n[s]=l[s]);return n}:Cye,Tye=Iye;Vve({target:"Object",stat:!0,forced:Object.assign!==Tye},{assign:Tye});var Pye,Dye=dme,Nye=!!Object.getOwnPropertySymbols&&!Dye((function(){return!String(Symbol())})),Aye=Nye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Rye=cme,Mye=mge.exports,jye=Dme,Lye=_ge,zye=Nye,Fye=Aye,Qye=Mye("wks"),Bye=Rye.Symbol,Uye=Fye?Bye:Bye&&Bye.withoutSetter||Lye,Wye=function(e){return jye(Qye,e)||(zye&&jye(Bye,e)?Qye[e]=Bye[e]:Qye[e]=Uye("Symbol."+e)),Qye[e]},qye=Vme,$ye=Hme,Vye=yye,Kye=fme?Object.defineProperties:function(e,t){$ye(e);for(var n,r=Vye(t),i=r.length,o=0;i>o;)qye.f(e,n=r[o++],t[n]);return e},Hye=Zge("document","documentElement"),Gye=Hme,Yye=Kye,Xye=bve,Zye=Ege,Jye=Hye,ebe=Mme,tbe=Cge("IE_PROTO"),nbe=function(){},rbe=function(e){return"<script>"+e+"<\/script>"},ibe=function(){try{Pye=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;ibe=Pye?function(e){e.write(rbe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Pye):((t=ebe("iframe")).style.display="none",Jye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(rbe("document.F=Object")),e.close(),e.F);for(var n=Xye.length;n--;)delete ibe.prototype[Xye[n]];return ibe()};Zye[tbe]=!0;var obe=Object.create||function(e,t){var n;return null!==e?(nbe.prototype=Gye(e),n=new nbe,nbe.prototype=null,n[tbe]=e):n=ibe(),void 0===t?n:Yye(n,t)},abe=obe,sbe=Vme,lbe=Wye("unscopables"),cbe=Array.prototype;null==cbe[lbe]&&sbe.f(cbe,lbe,{configurable:!0,value:abe(null)});var ube=function(e){cbe[lbe][e]=!0},dbe=pve.includes,fbe=ube;Vve({target:"Array",proto:!0,forced:!uye("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return dbe(this,e,arguments.length>1?arguments[1]:void 0)}}),fbe("includes");var pbe=Eme,hbe=bme,mbe=Wye("match"),gbe=function(e){var t;return pbe(e)&&(void 0!==(t=e[mbe])?!!t:"RegExp"==hbe(e))},vbe=gbe,ybe=function(e){if(vbe(e))throw TypeError("The method doesn't accept regular expressions");return e},bbe=Wye("match"),wbe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[bbe]=!1,"/./"[e](t)}catch(e){}}return!1},xbe=ybe,_be=Ome;function Obe(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)}Vve({target:"String",proto:!0,forced:!wbe("includes")},{includes:function(e){return!!~String(_be(this)).indexOf(xbe(e),arguments.length>1?arguments[1]:void 0)}});var kbe,Sbe,Cbe,Ebe={},Ibe=!dme((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Tbe=Dme,Pbe=Gve,Dbe=Ibe,Nbe=Cge("IE_PROTO"),Abe=Object.prototype,Rbe=Dbe?Object.getPrototypeOf:function(e){return e=Pbe(e),Tbe(e,Nbe)?e[Nbe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Abe:null},Mbe=Rbe,jbe=nge,Lbe=Dme,zbe=Wye("iterator"),Fbe=!1;[].keys&&("next"in(Cbe=[].keys())?(Sbe=Mbe(Mbe(Cbe)))!==Object.prototype&&(kbe=Sbe):Fbe=!0),null==kbe&&(kbe={}),Lbe(kbe,zbe)||jbe(kbe,zbe,(function(){return this}));var Qbe={IteratorPrototype:kbe,BUGGY_SAFARI_ITERATORS:Fbe},Bbe=Vme.f,Ube=Dme,Wbe=Wye("toStringTag"),qbe=function(e,t,n){e&&!Ube(e=n?e:e.prototype,Wbe)&&Bbe(e,Wbe,{configurable:!0,value:t})},$be=Qbe.IteratorPrototype,Vbe=obe,Kbe=vme,Hbe=qbe,Gbe=Ebe,Ybe=function(){return this},Xbe=Eme,Zbe=Hme,Jbe=function(e){if(!Xbe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},ewe=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 Zbe(n),Jbe(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),twe=Vve,nwe=function(e,t,n){var r=t+" Iterator";return e.prototype=Vbe($be,{next:Kbe(1,n)}),Hbe(e,r,!1),Gbe[r]=Ybe,e},rwe=Rbe,iwe=ewe,owe=qbe,awe=nge,swe=rge.exports,lwe=Ebe,cwe=Qbe.IteratorPrototype,uwe=Qbe.BUGGY_SAFARI_ITERATORS,dwe=Wye("iterator"),fwe=function(){return this},pwe=Cme,hwe=ube,mwe=Ebe,gwe=Qge,vwe=function(e,t,n,r,i,o,a){nwe(n,t,r);var s,l,c,u=function(e){if(e===i&&m)return m;if(!uwe&&e in p)return p[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",f=!1,p=e.prototype,h=p[dwe]||p["@@iterator"]||i&&p[i],m=!uwe&&h||u(i),g="Array"==t&&p.entries||h;if(g&&(s=rwe(g.call(new e)),cwe!==Object.prototype&&s.next&&(rwe(s)!==cwe&&(iwe?iwe(s,cwe):"function"!=typeof s[dwe]&&awe(s,dwe,fwe)),owe(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(f=!0,m=function(){return h.call(this)}),p[dwe]!==m&&awe(p,dwe,m),lwe[t]=m,i)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(uwe||f||!(c in p))&&swe(p,c,l[c]);else twe({target:t,proto:!0,forced:uwe||f},l);return l},ywe=gwe.set,bwe=gwe.getterFor("Array Iterator"),wwe=vwe(Array,"Array",(function(e,t){ywe(this,{type:"Array Iterator",target:pwe(e),index:0,kind:t})}),(function(){var e=bwe(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");mwe.Arguments=mwe.Array,hwe("keys"),hwe("values"),hwe("entries");var xwe=cme,_we={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},Owe=wwe,kwe=nge,Swe=Wye,Cwe=Swe("iterator"),Ewe=Swe("toStringTag"),Iwe=Owe.values;for(var Twe in _we){var Pwe=xwe[Twe],Dwe=Pwe&&Pwe.prototype;if(Dwe){if(Dwe[Cwe]!==Iwe)try{kwe(Dwe,Cwe,Iwe)}catch(e){Dwe[Cwe]=Iwe}if(Dwe[Ewe]||kwe(Dwe,Ewe,Twe),_we[Twe])for(var Nwe in Owe)if(Dwe[Nwe]!==Owe[Nwe])try{kwe(Dwe,Nwe,Owe[Nwe])}catch(e){Dwe[Nwe]=Owe[Nwe]}}}var Awe,Rwe,Mwe,jwe,Lwe,zwe,Fwe,Qwe,Bwe,Uwe,Wwe,qwe,$we,Vwe,Kwe,Hwe,Gwe,Ywe,Xwe=function(t){var n=LS().formatMessage;return e(Y,Zhe({},t,{className:void 0,role:t.role,onClick:t.onClick,hostClassName:t.className,content:Ol.isTouchDevice||!t.resourceKey&&!t.text?null:t.text||n({id:t.resourceKey},t.values||{}),calloutProps:Zhe(Zhe({},t.calloutProps),{calloutWidth:t.width,hidden:t.hidden})},{children:t.children}))},Zwe=function(e){return De(Lwe||(Lwe=rme(["\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)?De(Awe||(Awe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):De(Rwe||(Rwe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),b6),(null==e?void 0:e.color)?De(Mwe||(Mwe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):De(jwe||(jwe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,10,20)},Jwe=function(t){var n=t.tooltipResourceKey,r=t.className,i=Jhe(t,["tooltipResourceKey","className"]);return e(Xwe,Zhe({resourceKey:n,className:r},{children:e(exe,Zhe({},i,{"data-highlight-bubble":!0}))}))},exe=Te.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(zwe||(zwe=rme(["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),Zwe(),6,15,14,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),txe=Te.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(Fwe||(Fwe=rme(["\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})),nxe=function(t){var r=t.showDialog,i=t.onClose,o=t.onClosed,a=t.handleSave,s=t.titleResource,l=t.disableSave,c=t.saveButtonResourceId,u=t.children,d=t.className,f=LS().formatMessage;return n(ome,Zhe({hidden:!r,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:X.normal,title:f({id:s})},onDismiss:i},{children:[e(rxe,Zhe({className:d},{children:u})),n(J,{children:[e(M,Zhe({onClick:i,"data-button":"cancel"},{children:e(nC,{id:"Generic.Cancel"})})),e(R,Zhe({disabled:l,onClick:a,"data-button":"save"},{children:e(nC,{id:c||"Generic.Save"})}))]})]}))},rxe=Te.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(Qwe||(Qwe=rme(["\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),ixe=Te(nxe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(Bwe||(Bwe=rme(["\n width: 360px;\n"],["\n width: 360px;\n"]))),oxe=Te(T).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(Uwe||(Uwe=rme(["\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})),axe=function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,l=t.tooltipResourceKey,c=t.ariaLabelResourceKey,u=LS().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(sxe,Zhe({className:o},{children:r?e(cxe,{}):e(Xwe,Zhe({resourceKey:l},{children:e(lxe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?u({id:c}):null})}))}))},sxe=Te.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(Wwe||(Wwe=rme(["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"],["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"]))),lxe=Te(oxe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(qwe||(qwe=rme(["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"])),18,20),cxe=Te.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})($we||($we=rme(["\n width: 22px;\n"],["\n width: 22px;\n"]))),uxe=De(Vwe||(Vwe=rme(["\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})),dxe=Te(P).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(Kwe||(Kwe=rme(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),uxe),fxe=Te(Oe).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(Hwe||(Hwe=rme(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),uxe),pxe=function(){var t=F6().hideNotification,n=s(z6),r=n.isNotificationBarVisible,i=Jhe(n,["isNotificationBarVisible"]),o=LS().formatMessage,a=i.messageId||i.text;return r?e(hxe,Zhe({className:"notification-wrapper","data-notification-bar":!0},{children:e(mxe,Zhe({messageBarType:i.messageBarType,className:i.className,actions:i.actions,onDismiss:function(){return t()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:a&&e(Xwe,Zhe({text:i.text,resourceKey:i.messageId,values:i.messageValues},{children:i.text||e(nC,{id:i.messageId,values:i.messageValues||{}})}))}))})):null},hxe=Te.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(Gwe||(Gwe=rme(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),mxe=Te(D).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(Ywe||(Ywe=rme(["\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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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 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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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"])),20,16,18,18,16,18,14,30,20),gxe=function(t){var n,r=LS().formatMessage,i=B0(),o=Q0(),a=n2(),s=a.searchAccounts,l=a.getUserAvatarUrl,d=c(),f=CO();u((function(){t.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,t.autoFocus]);var p=(null===(n=o.subscription.directories)||void 0===n?void 0:n.length)>1,h=!t.selectionMode||t.selectionMode===ee.multiple,m=t.selectedItems||[],g=p,v={defaultSelectedItems:(t.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,g)},onGetMoreResults:function(e){return b(e,!1)},getTextFromItem:function(e){return e.text},onChange:function(e){return function(e){var n=e.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==x0.Group?t.userPrincipalName:null,mail:L1(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));t.onChange&&t.onChange(n)}(e)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!t.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:t.disabled,pickerCalloutProps:{calloutMaxWidth:f.width<T6?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&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return w(e).map(y);return e.then((function(e){return w(e).map(y)}))}(t.onEmptyInputFocus())}),t.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=r({id:t.placeholderStringResourceKey})),t.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),e(yxe,Zhe({className:Eq(t.className,"people-picker")},{children:e(te,Zhe({},v,{componentRef:d,itemLimit:h?void 0:1}))}));function y(e){var t=L1(e.mail)?null:e.mail,n=L1(e.userPrincipalName)?null:e.userPrincipalName,r=gO(e.displayName||e.mail||e.userPrincipalName),o=e.type===x0.User?n:e.type===x0.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?" (".concat(t,")"):""),tertiaryText:t,imageInitials:r,initialsColor:vO(r),key:o,accountType:e.type,authenticationType:e.authenticationType};return i.avatars&&l(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(e,n){return eme(this,void 0,void 0,(function(){var r,i,o;return tme(this,(function(a){switch(a.label){case 0:if(!e&&0===e.length)return[2,[]];r=t.allowMailItems&&B_(e)&&{mail:e,userPrincipalName:e,displayName:e,type:x0.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,w(i).map(y)];case 3:return a.sent(),[2,r&&[r].map(y)];case 4:return[2]}}))}))}function w(e){if(!t.selectedItems&&!t.defaultSelectedItems&&!t.excludedItems)return e;var n=(t.excludedItems||[]).concat(t.selectedItems||t.defaultSelectedItems||[]);return e.filter((function(e){return n.every((function(t){return!function(e,t){if(e.id&&t.id)return e.id===t.id;if(e.tokenUniqueId&&t.tokenUniqueId)return e.tokenUniqueId===t.tokenUniqueId;return e.userPrincipalName===t.userPrincipalName}(t,e)}))}))}};var vxe,yxe=Te.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(vxe||(vxe=rme(["\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"]))),bxe=Vve,wxe=ume.f,xxe=ove,_xe=ybe,Oxe=Ome,kxe=wbe,Sxe="".startsWith,Cxe=Math.min,Exe=kxe("startsWith"),Ixe=!Exe&&!!function(){var e=wxe(String.prototype,"startsWith");return e&&!e.writable}();bxe({target:"String",proto:!0,forced:!Ixe&&!Exe},{startsWith:function(e){var t=String(Oxe(this));_xe(e);var n=xxe(Cxe(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Sxe?Sxe.call(t,r,n):t.slice(n,n+r.length)===r}});var Txe=Hme,Pxe=function(){var e=Txe(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},Dxe=rge.exports,Nxe=Hme,Axe=dme,Rxe=Pxe,Mxe=RegExp.prototype,jxe=Mxe.toString,Lxe=Axe((function(){return"/a/b"!=jxe.call({source:"a",flags:"b"})})),zxe="toString"!=jxe.name;(Lxe||zxe)&&Dxe(RegExp.prototype,"toString",(function(){var e=Nxe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Mxe)?Rxe.call(e):n)}),{unsafe:!0});var Fxe,Qxe=function(t){var n=t.fileName,r=t.url;return e(Bxe,Zhe({href:r,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:e("span",{children:n})}))},Bxe=Te.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(Fxe||(Fxe=rme(["\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),Uxe=function(t){var r=t.fileName,i=t.url;return i?n(Kxe,{children:[e(Qxe,{fileName:r,url:i}),n("audio",Zhe({controls:!0,title:r,controlsList:"nodownload"},{children:[e("source",{src:i,type:"audio/mpeg"}),e(nC,{id:"Generic.audioReplayError",tagName:"p"})]}))]}):null};function Wxe(e){var t=U$.getType(e);return t&&t.toString().startsWith("audio/")}var qxe,$xe,Vxe,Kxe=Te.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(qxe||(qxe=rme(["\n width: 100%;\n"],["\n width: 100%;\n"])));Te.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})($xe||($xe=rme(["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"],["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"])),30,10),Te.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(Vxe||(Vxe=rme(["\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 Hxe,Gxe,Yxe,Xxe,Zxe=function(t){var r=t.children,i=t.deleteButton,o=t.domIdentifier,a=t.backgroundColor,s=t.className;return n(t_e,Zhe({className:s},{children:[i&&e(e_e,{children:i}),e(Jxe,Zhe({"data-attachment":o,backgroundColor:a},{children:r}))]}))},Jxe=Te.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(Hxe||(Hxe=rme(["\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: ".concat(e.backgroundColor,";"):"background-color: ".concat(e.theme.palette.white,";")})),e_e=Te.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(Gxe||(Gxe=rme(["\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),t_e=Te.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(Yxe||(Yxe=rme(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),20),n_e=Te(N).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(Xxe||(Xxe=rme(["\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_e={},i_e=dme;function o_e(e,t){return RegExp(e,t)}r_e.UNSUPPORTED_Y=i_e((function(){var e=o_e("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),r_e.BROKEN_CARET=i_e((function(){var e=o_e("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var a_e=Pxe,s_e=r_e,l_e=RegExp.prototype.exec,c_e=String.prototype.replace,u_e=l_e,d_e=function(){var e=/a/,t=/b*/g;return l_e.call(e,"a"),l_e.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),f_e=s_e.UNSUPPORTED_Y||s_e.BROKEN_CARET,p_e=void 0!==/()??/.exec("")[1];(d_e||p_e||f_e)&&(u_e=function(e){var t,n,r,i,o=this,a=f_e&&o.sticky,s=a_e.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),p_e&&(n=new RegExp("^"+l+"$(?!\\s)",s)),d_e&&(t=o.lastIndex),r=l_e.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:d_e&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),p_e&&r&&r.length>1&&c_e.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var h_e=u_e;Vve({target:"RegExp",proto:!0,forced:/./.exec!==h_e},{exec:h_e});var m_e=rge.exports,g_e=dme,v_e=Wye,y_e=h_e,b_e=nge,w_e=v_e("species"),x_e=!g_e((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),__e="$0"==="a".replace(/./,"$0"),O_e=v_e("replace"),k_e=!!/./[O_e]&&""===/./[O_e]("a","$0"),S_e=!g_e((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]})),C_e=function(e,t,n,r){var i=v_e(e),o=!g_e((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!g_e((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[w_e]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!x_e||!__e||k_e)||"split"===e&&!S_e){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===y_e?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:__e,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:k_e}),c=l[0],u=l[1];m_e(String.prototype,e,c),m_e(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&b_e(RegExp.prototype[i],"sham",!0)},E_e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},I_e=bme,T_e=h_e,P_e=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"!==I_e(e))throw TypeError("RegExp#exec called on incompatible receiver");return T_e.call(e,t)},D_e=Hme,N_e=Ome,A_e=E_e,R_e=P_e;C_e("search",1,(function(e,t,n){return[function(t){var n=N_e(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=D_e(e),o=String(this),a=i.lastIndex;A_e(a,0)||(i.lastIndex=0);var s=R_e(i,o);return A_e(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]}));var M_e=nve,j_e=Ome,L_e=function(e){return function(t,n){var r,i,o=String(j_e(t)),a=M_e(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}},z_e={codeAt:L_e(!1),charAt:L_e(!0)}.charAt,F_e=C_e,Q_e=Hme,B_e=Gve,U_e=ove,W_e=nve,q_e=Ome,$_e=function(e,t,n){return t+(n?z_e(e,t).length:1)},V_e=P_e,K_e=Math.max,H_e=Math.min,G_e=Math.floor,Y_e=/\$([$&'`]|\d\d?|<[^>]*>)/g,X_e=/\$([$&'`]|\d\d?)/g;F_e("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=q_e(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var l=n(t,e,this,r);if(l.done)return l.value}var c=Q_e(e),u=String(this),d="function"==typeof r;d||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=V_e(c,u);if(null===m)break;if(h.push(m),!f)break;""===String(m[0])&&(c.lastIndex=$_e(u,U_e(c.lastIndex),p))}for(var g,v="",y=0,b=0;b<h.length;b++){m=h[b];for(var w=String(m[0]),x=K_e(H_e(W_e(m.index),u.length),0),_=[],O=1;O<m.length;O++)_.push(void 0===(g=m[O])?g:String(g));var k=m.groups;if(d){var S=[w].concat(_,x,u);void 0!==k&&S.push(k);var C=String(r.apply(void 0,S))}else C=s(w,u,x,_,k,r);x>=y&&(v+=u.slice(y,x)+C,y=x+w.length)}return v+u.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,c=X_e;return void 0!==o&&(o=B_e(o),c=Y_e),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=G_e(u/10);return 0===d?t:d<=l?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var Z_e=Eme,J_e=ewe,eOe=Zge,tOe=Vme,nOe=fme,rOe=Wye("species"),iOe=function(e){var t=eOe(e),n=tOe.f;nOe&&t&&!t[rOe]&&n(t,rOe,{configurable:!0,get:function(){return this}})},oOe=fme,aOe=cme,sOe=zve,lOe=function(e,t,n){var r,i;return J_e&&"function"==typeof(r=t.constructor)&&r!==n&&Z_e(i=r.prototype)&&i!==n.prototype&&J_e(e,i),e},cOe=Vme.f,uOe=Jge.f,dOe=gbe,fOe=Pxe,pOe=r_e,hOe=rge.exports,mOe=dme,gOe=Qge.set,vOe=iOe,yOe=Wye("match"),bOe=aOe.RegExp,wOe=bOe.prototype,xOe=/a/g,_Oe=/a/g,OOe=new bOe(xOe)!==xOe,kOe=pOe.UNSUPPORTED_Y;if(oOe&&sOe("RegExp",!OOe||kOe||mOe((function(){return _Oe[yOe]=!1,bOe(xOe)!=xOe||bOe(_Oe)==_Oe||"/a/i"!=bOe(xOe,"i")})))){for(var SOe=function(e,t){var n,r=this instanceof SOe,i=dOe(e),o=void 0===t;if(!r&&i&&e.constructor===SOe&&o)return e;OOe?i&&!o&&(e=e.source):e instanceof SOe&&(o&&(t=fOe.call(e)),e=e.source),kOe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=lOe(OOe?new bOe(e,t):bOe(e,t),r?this:wOe,SOe);return kOe&&n&&gOe(a,{sticky:n}),a},COe=function(e){e in SOe||cOe(SOe,e,{configurable:!0,get:function(){return bOe[e]},set:function(t){bOe[e]=t}})},EOe=uOe(bOe),IOe=0;EOe.length>IOe;)COe(EOe[IOe++]);wOe.constructor=SOe,SOe.prototype=wOe,hOe(aOe,"RegExp",SOe)}vOe("RegExp");var TOe=cme.Promise,POe=rge.exports,DOe={exports:{}},NOe=Ebe,AOe=Wye("iterator"),ROe=Array.prototype,MOe=Kve,jOe=function(e,t,n){if(MOe(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)}},LOe={};LOe[Wye("toStringTag")]="z";var zOe="[object z]"===String(LOe),FOe=bme,QOe=Wye("toStringTag"),BOe="Arguments"==FOe(function(){return arguments}()),UOe=zOe?FOe: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),QOe))?n:BOe?FOe(t):"Object"==(r=FOe(t))&&"function"==typeof t.callee?"Arguments":r},WOe=UOe,qOe=Ebe,$Oe=Wye("iterator"),VOe=Hme,KOe=Hme,HOe=function(e){return void 0!==e&&(NOe.Array===e||ROe[AOe]===e)},GOe=ove,YOe=jOe,XOe=function(e){if(null!=e)return e[$Oe]||e["@@iterator"]||qOe[WOe(e)]},ZOe=function(e,t,n,r){try{return r?t(VOe(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&VOe(i.call(e)),t}},JOe=function(e,t){this.stopped=e,this.result=t},eke=DOe.exports=function(e,t,n,r,i){var o,a,s,l,c,u,d,f=YOe(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=XOe(e)))throw TypeError("Target is not iterable");if(HOe(a)){for(s=0,l=GOe(e.length);l>s;s++)if((c=r?f(KOe(d=e[s])[0],d[1]):f(e[s]))&&c instanceof JOe)return c;return new JOe(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=ZOe(o,f,d.value,r))&&c&&c instanceof JOe)return c;return new JOe(!1)};eke.stop=function(e){return new JOe(!0,e)};var tke=Wye("iterator"),nke=!1;try{var rke=0,ike={next:function(){return{done:!!rke++}},return:function(){nke=!0}};ike[tke]=function(){return this},Array.from(ike,(function(){throw 2}))}catch(e){}var oke,ake,ske,lke=Hme,cke=Kve,uke=Wye("species"),dke=Zge("navigator","userAgent")||"",fke=/(iphone|ipod|ipad).*applewebkit/i.test(dke),pke=cme,hke=dme,mke=bme,gke=jOe,vke=Hye,yke=Mme,bke=fke,wke=pke.location,xke=pke.setImmediate,_ke=pke.clearImmediate,Oke=pke.process,kke=pke.MessageChannel,Ske=pke.Dispatch,Cke=0,Eke={},Ike=function(e){if(Eke.hasOwnProperty(e)){var t=Eke[e];delete Eke[e],t()}},Tke=function(e){return function(){Ike(e)}},Pke=function(e){Ike(e.data)},Dke=function(e){pke.postMessage(e+"",wke.protocol+"//"+wke.host)};xke&&_ke||(xke=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Eke[++Cke]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},oke(Cke),Cke},_ke=function(e){delete Eke[e]},"process"==mke(Oke)?oke=function(e){Oke.nextTick(Tke(e))}:Ske&&Ske.now?oke=function(e){Ske.now(Tke(e))}:kke&&!bke?(ske=(ake=new kke).port2,ake.port1.onmessage=Pke,oke=gke(ske.postMessage,ske,1)):!pke.addEventListener||"function"!=typeof postMessage||pke.importScripts||hke(Dke)||"file:"===wke.protocol?oke="onreadystatechange"in yke("script")?function(e){vke.appendChild(yke("script")).onreadystatechange=function(){vke.removeChild(this),Ike(e)}}:function(e){setTimeout(Tke(e),0)}:(oke=Dke,pke.addEventListener("message",Pke,!1)));var Nke,Ake,Rke,Mke,jke,Lke,zke,Fke,Qke={set:xke,clear:_ke},Bke=cme,Uke=ume.f,Wke=bme,qke=Qke.set,$ke=fke,Vke=Bke.MutationObserver||Bke.WebKitMutationObserver,Kke=Bke.process,Hke=Bke.Promise,Gke="process"==Wke(Kke),Yke=Uke(Bke,"queueMicrotask"),Xke=Yke&&Yke.value;Xke||(Nke=function(){var e,t;for(Gke&&(e=Kke.domain)&&e.exit();Ake;){t=Ake.fn,Ake=Ake.next;try{t()}catch(e){throw Ake?Mke():Rke=void 0,e}}Rke=void 0,e&&e.enter()},Gke?Mke=function(){Kke.nextTick(Nke)}:Vke&&!$ke?(jke=!0,Lke=document.createTextNode(""),new Vke(Nke).observe(Lke,{characterData:!0}),Mke=function(){Lke.data=jke=!jke}):Hke&&Hke.resolve?(zke=Hke.resolve(void 0),Fke=zke.then,Mke=function(){Fke.call(zke,Nke)}):Mke=function(){qke.call(Bke,Nke)});var Zke=Xke||function(e){var t={fn:e,next:void 0};Rke&&(Rke.next=t),Ake||(Ake=t,Mke()),Rke=t},Jke={},eSe=Kve,tSe=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=eSe(t),this.reject=eSe(n)};Jke.f=function(e){return new tSe(e)};var nSe,rSe,iSe=Hme,oSe=Eme,aSe=Jke,sSe=cme,lSe=dke,cSe=cme.process,uSe=cSe&&cSe.versions,dSe=uSe&&uSe.v8;dSe?rSe=(nSe=dSe.split("."))[0]+nSe[1]:lSe&&(!(nSe=lSe.match(/Edge\/(\d+)/))||nSe[1]>=74)&&(nSe=lSe.match(/Chrome\/(\d+)/))&&(rSe=nSe[1]);var fSe,pSe,hSe,mSe,gSe=rSe&&+rSe,vSe=Vve,ySe=cme,bSe=Zge,wSe=TOe,xSe=rge.exports,_Se=function(e,t,n){for(var r in t)POe(e,r,t[r],n);return e},OSe=qbe,kSe=iOe,SSe=Eme,CSe=Kve,ESe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},ISe=bme,TSe=dge,PSe=DOe.exports,DSe=function(e,t){if(!t&&!nke)return!1;var n=!1;try{var r={};r[tke]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},NSe=function(e,t){var n,r=lke(e).constructor;return void 0===r||null==(n=lke(r)[uke])?t:cke(n)},ASe=Qke.set,RSe=Zke,MSe=function(e,t){if(iSe(e),oSe(t)&&t.constructor===e)return t;var n=aSe.f(e);return(0,n.resolve)(t),n.promise},jSe=function(e,t){var n=sSe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},LSe=Jke,zSe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},FSe=Qge,QSe=zve,BSe=gSe,USe=Wye("species"),WSe=FSe.get,qSe=FSe.set,$Se=FSe.getterFor("Promise"),VSe=wSe,KSe=ySe.TypeError,HSe=ySe.document,GSe=ySe.process,YSe=bSe("fetch"),XSe=LSe.f,ZSe=XSe,JSe="process"==ISe(GSe),eCe=!!(HSe&&HSe.createEvent&&ySe.dispatchEvent),tCe=QSe("Promise",(function(){if(!(TSe(VSe)!==String(VSe))){if(66===BSe)return!0;if(!JSe&&"function"!=typeof PromiseRejectionEvent)return!0}if(BSe>=51&&/native code/.test(VSe))return!1;var e=VSe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[USe]=t,!(e.then((function(){}))instanceof t)})),nCe=tCe||!DSe((function(e){VSe.all(e).catch((function(){}))})),rCe=function(e){var t;return!(!SSe(e)||"function"!=typeof(t=e.then))&&t},iCe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;RSe((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=o?u.ok:u.fail,f=u.resolve,p=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&lCe(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===u.promise?p(KSe("Promise-chain cycle")):(l=rCe(s))?l.call(s,f,p):f(s)):p(i)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&aCe(e,t)}))}},oCe=function(e,t,n){var r,i;eCe?((r=HSe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ySe.dispatchEvent(r)):r={promise:t,reason:n},(i=ySe["on"+e])?i(r):"unhandledrejection"===e&&jSe("Unhandled promise rejection",n)},aCe=function(e,t){ASe.call(ySe,(function(){var n,r=t.value;if(sCe(t)&&(n=zSe((function(){JSe?GSe.emit("unhandledRejection",r,e):oCe("unhandledrejection",e,r)})),t.rejection=JSe||sCe(t)?2:1,n.error))throw n.value}))},sCe=function(e){return 1!==e.rejection&&!e.parent},lCe=function(e,t){ASe.call(ySe,(function(){JSe?GSe.emit("rejectionHandled",e):oCe("rejectionhandled",e,t.value)}))},cCe=function(e,t,n,r){return function(i){e(t,n,i,r)}},uCe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,iCe(e,t,!0))},dCe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw KSe("Promise can't be resolved itself");var i=rCe(n);i?RSe((function(){var r={done:!1};try{i.call(n,cCe(dCe,e,r,t),cCe(uCe,e,r,t))}catch(n){uCe(e,r,n,t)}})):(t.value=n,t.state=1,iCe(e,t,!1))}catch(n){uCe(e,{done:!1},n,t)}}};tCe&&(VSe=function(e){ESe(this,VSe,"Promise"),CSe(e),fSe.call(this);var t=WSe(this);try{e(cCe(dCe,this,t),cCe(uCe,this,t))}catch(e){uCe(this,t,e)}},(fSe=function(e){qSe(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=_Se(VSe.prototype,{then:function(e,t){var n=$Se(this),r=XSe(NSe(this,VSe));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=JSe?GSe.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&iCe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),pSe=function(){var e=new fSe,t=WSe(e);this.promise=e,this.resolve=cCe(dCe,e,t),this.reject=cCe(uCe,e,t)},LSe.f=XSe=function(e){return e===VSe||e===hSe?new pSe(e):ZSe(e)},"function"==typeof wSe&&(mSe=wSe.prototype.then,xSe(wSe.prototype,"then",(function(e,t){var n=this;return new VSe((function(e,t){mSe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof YSe&&vSe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return MSe(VSe,YSe.apply(ySe,arguments))}}))),vSe({global:!0,wrap:!0,forced:tCe},{Promise:VSe}),OSe(VSe,"Promise",!1),kSe("Promise"),hSe=bSe("Promise"),vSe({target:"Promise",stat:!0,forced:tCe},{reject:function(e){var t=XSe(this);return t.reject.call(void 0,e),t.promise}}),vSe({target:"Promise",stat:!0,forced:tCe},{resolve:function(e){return MSe(this,e)}}),vSe({target:"Promise",stat:!0,forced:nCe},{all:function(e){var t=this,n=XSe(t),r=n.resolve,i=n.reject,o=zSe((function(){var n=CSe(t.resolve),o=[],a=0,s=1;PSe(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=XSe(t),r=n.reject,i=zSe((function(){var i=CSe(t.resolve);PSe(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var fCe,pCe=I6.small-40,hCe=I6.medium-40;function mCe(e){return!!e&&yCe.test(e)}function gCe(e){return e?"https://www.google.com/maps/search/?api=1&".concat(Hg.stringify({query:e})):null}function vCe(e,t){var n;if(!e.useExternalContent)return null;var r=e.contents[t];return(null==r?void 0:r.active)&&(null==r?void 0:r.externalUrl)?r.externalUrl:null===(n=Object.values(e.contents).find((function(e){return e.active&&e.externalUrl})))||void 0===n?void 0:n.externalUrl}Te.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(fCe||(fCe=rme(["\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,T6,20,10,10,I6.small,20,pCe,I6.medium,hCe);var yCe=new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~#+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i");var bCe,wCe,xCe,_Ce,OCe=Te.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(wCe||(wCe=rme(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,2.3333333333333335,(function(e){return e.showPlaceholder&&De(bCe||(bCe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),I6.small,pCe,2.3333333333333335,I6.medium,(function(e){return e.defaultWidth?e.defaultWidth:250}));Te.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(xCe||(xCe=rme(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Te(n_e).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(_Ce||(_Ce=rme(["\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 kCe,SCe,CCe,ECe,ICe=function(t){var n=t.children,r=Jhe(t,["children"]);return e(ne,Zhe({},r,{className:Eq(JK,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}))},TCe=function(t){var r=LS().formatMessage,i=d(!1),o=i[0],a=i[1],l=s(k6).theme.palette.accent;return n(ome,Zhe({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:l}}},onDismiss:t.onCancel},{children:[e(PCe,{children:e(nC,{id:t.infoResourceKey,tagName:"span",values:t.infoResourceValues})}),e(DCe,{"data-verify-item-input":!0,onChange:function(e,n){var r=n===t.compareValue;r!==o&&a(r)},ariaLabel:r({id:t.inputAriaLabelResourceKey})}),t.children,n(J,{children:[e(M,Zhe({onClick:t.onCancel,disabled:t.disabled},{children:e(nC,{id:"Generic.Cancel"})})),e(NCe,Zhe({onClick:t.onConfirm,"data-delete-button":!0,disabled:!o||t.disabled},{children:e(nC,{id:"Generic.Delete"})}))]})]}))},PCe=Te.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(kCe||(kCe=rme(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),DCe=Te(A).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(SCe||(SCe=rme(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),NCe=Te(R).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(CCe||(CCe=rme(["\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})),ACe=function(t){var r=t.showDialog,i=t.titleResourceKey,o=t.titleResourceValues,a=t.infoResourceKey,l=t.infoResourceValues,c=t.onConfirm,u=t.onClose,d=t.children,f=LS().formatMessage,p=s(k6).theme.palette.accent;return n(ome,Zhe({hidden:!r,modalProps:{isBlocking:!0},dialogContentProps:{type:X.normal,subText:a?f({id:a},l):"",title:f({id:i},o),titleProps:{style:{color:p}}},onDismiss:u},{children:[d,n(J,{children:[e(M,Zhe({onClick:u,"data-cancel-button":!0},{children:e(nC,{id:"Generic.Cancel"})})),e(R,Zhe({"data-ok-button":!0,onClick:function(){null==c||c(),null==u||u()}},{children:e(nC,{id:"Generic.Ok"})}))]})]}))},RCe=function(t){var r=t.onConfirm,i=t.onCancel,o=LS().formatMessage,a=s(k6).theme.palette.accent;return e(ome,Zhe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:X.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:a}}},onDismiss:i},{children:n(MCe,{children:[e(nC,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"}),n(J,{children:[e(R,Zhe({onClick:r},{children:e(nC,{id:"Events.editor.recurrence.reset"})})),e(M,Zhe({onClick:i},{children:e(nC,{id:"Generic.Cancel"})}))]})]})}))},MCe=Te.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(ECe||(ECe=rme(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),jCe=function(t){var n=t.value,r=s(mC).language,i=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var r=Zhe(Zhe({},FCe),n||{}),i=(+e-+t)/1e3;if(Math.abs(i)<r.second)return{value:Math.round(i),unit:"second"};var o=i/60;if(Math.abs(o)<r.minute)return{value:Math.round(o),unit:"minute"};var a=i/3600;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var s=i/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var l=i/604800;if(Math.round(Math.abs(l))>0&&Math.abs(l)<r.week)return{value:Math.round(l),unit:"week"};var c=new Date(e),u=new Date(t),d=c.getFullYear()-u.getFullYear(),f=12*d+c.getMonth()-u.getMonth();if(Math.round(Math.abs(f))>0&&Math.abs(f)<r.month)return{value:Math.round(f),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=i.value,a=i.unit;return e(VS,Zhe({locale:r},{children:e(JS,{value:o,numeric:"auto",unit:a,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===a}))?10:void 0})}))};var LCe,zCe,FCe={second:45,minute:45,hour:22,day:6,week:4,month:12},QCe=function(e){return _l(e).isSame(new Date,"day")},BCe=function(t){var r=_l(t.value),i=r.toDate(),o=!t.showAsAbsolute&&(t.showAsRelative||QCe(t.value)),a={dateTime:i.toISOString(),title:r.format("LLLL")};return!t.showWeekDay&&o?e(WCe,Zhe({className:Eq(t.className)},a,{children:e(jCe,{value:i})})):n(WCe,Zhe({className:Eq(t.className)},a,{children:[e(rC,{weekday:t.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:i})," ",e(iC,{value:i})]}))},UCe=function(t){var r=t.startDate,i=t.endDate,o=t.className;if(!i)return e("div",Zhe({className:o},{children:e(BCe,{value:r,showWeekDay:!0})}));var a=_l(r),s=_l(i);return a.isSame(s,"d")?n("div",Zhe({className:o},{children:[e(BCe,{value:r,showWeekDay:!0})," - ",e(iC,{value:s.toDate()})]})):n("div",Zhe({className:o},{children:[e(BCe,{value:r,showWeekDay:!0})," - ",e(BCe,{value:i,showWeekDay:!0})]}))},WCe=Te.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(LCe||(LCe=rme(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));Te.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(zCe||(zCe=rme(["\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}),b6);var qCe,$Ce,VCe,KCe,HCe,GCe,YCe,XCe=function(t){var n,r=t.children,i=Jhe(t,["children"]);return e(W,Zhe({},i,{calloutProps:Zhe(Zhe({},i.calloutProps||{}),{className:Eq(JK,"lt-reach-dropdown",null===(n=i.calloutProps)||void 0===n?void 0:n.className)})},{children:r}))},ZCe=function(t){var r=t.svg,i=t.icon,o=t.styleDefinition,a=t.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=t.additionalButton,c=t.className,u=(null==o?void 0:o.size)||"large";return e(JCe,Zhe({className:c,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n(eEe,Zhe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===u},{children:[i&&e(j,{iconName:i}),!i&&r,s.map((function(t,n){return e("p",{children:e(nC,{id:t})},n)})),l]}))}))},JCe=Te.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(VCe||(VCe=rme(["\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?De(qCe||(qCe=rme(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):De($Ce||($Ce=rme(["\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 "])))})),eEe=Te.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(GCe||(GCe=rme(["\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&&De(KCe||(KCe=rme(["\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&&De(HCe||(HCe=rme(["\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,I6.small)}),(function(e){return e.theme.palette.accent}),3,P6,24,30,30),tEe=function(e,t){return null!=e&&(e&t)===t};Te.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(YCe||(YCe=rme(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var nEe=Vve,rEe=Kve,iEe=Gve,oEe=dme,aEe=rye,sEe=[],lEe=sEe.sort,cEe=oEe((function(){sEe.sort(void 0)})),uEe=oEe((function(){sEe.sort(null)})),dEe=aEe("sort");nEe({target:"Array",proto:!0,forced:cEe||!uEe||!dEe},{sort:function(e){return void 0===e?lEe.call(iEe(this)):lEe.call(iEe(this),rEe(e))}});var fEe=function(n){var r=n.languages,i=n.translations,o=n.onChange,a=n.placeholderStringResource,s=n.customPlaceholder,l=LS(),c=l.formatMessage;return e(t,{children:_2.apply(void 0,nme([l],r,!1)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(t){return e(yEe,{children:e(bEe,{"data-translation-field":t.code,placeholder:null!=s?s:c({id:a},{lang:t.localizedName}),label:t.localizedName,value:i[t.code],onChange:function(e,n){var r;o(Zhe(Zhe({},i),((r={})[t.code]=n,r)))}})},t.code)}))})};Te.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(pEe||(pEe=rme(["\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 pEe,hEe,mEe,gEe,vEe,yEe=Te.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(hEe||(hEe=rme(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),bEe=Te(A).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(mEe||(mEe=rme(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));Te.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(gEe||(gEe=rme(["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"],["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"]))),Te.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(vEe||(vEe=rme(["\n display: flex;\n"],["\n display: flex;\n"])));var wEe,xEe,_Ee=function(t){var n=d(null==t.delay),r=n[0],i=n[1];return u((function(){if(null!=!t.delay){var e=setTimeout((function(){return i(!0)}),t.delay);return function(){return clearTimeout(e)}}}),[t.delay]),r?e(OEe,Zhe({className:t.className},{children:e(E,Zhe({},t,{className:""}))})):null},OEe=Te.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(wEe||(wEe=rme(["\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"])));!function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(xEe||(xEe={}));var kEe=function(t){var r=t.fileName,i=t.url;if(!i)return null;var o=Ol.isAnyMobileApp||"safari"===sv.name?"".concat(i,"#t=0.1"):i;return n("div",{children:[e(Qxe,{fileName:r,url:i}),n("video",Zhe({preload:"metadata",controls:!0,title:r,width:"auto",height:"auto"},{children:[e("source",{src:o,type:"video/mp4"}),e(nC,{id:"Generic.videoReplayError",tagName:"p"})]}))]})};function SEe(e){var t,n=Ol.deviceInfo.operatingSystem,r="ios"===n||"mac"===n,i=null===(t=U$.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(xEe.mp4)||(r?i.startsWith(xEe.quicktime):i.startsWith(xEe.webm)))}var CEe,EEe,IEe=function(e,t){var n=e/2,r=t/2,i=Math.abs(e)+Math.abs(t);return"\n box-shadow: ".concat(n,"px ").concat(r,"px ").concat(i,"px grey;\n ")},TEe=function(e){return"\n &:-moz-placeholder {\n ".concat(e,";\n }\n &::-moz-placeholder {\n ").concat(e,";\n }\n &:-ms-input-placeholder {\n ").concat(e,";\n }\n &::-webkit-input-placeholder {\n ").concat(e,";\n }\n ")},PEe=function(e,t,n){return De(EEe||(EEe=rme(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function DEe(e){var t=new Image,n=new Promise((function(e){t.onload=function(t){var n=t.currentTarget;e({width:n.width,height:n.height})}}));return t.src=e,n}function NEe(e){return eme(this,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(DEe))];case 1:return[2,t.sent()]}}))}))}function AEe(e){return Wxe(e)?"MusicInCollectionFill":SEe(e)?"Video":jEe(null==e?void 0:e.split(".").pop().toLowerCase())}function REe(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 MEe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function jEe(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 LEe(){var e=LW(),t=jW(),n=t.createApiUrl,r=t.fetchFromApi,i=s(uC).identifier,o=jg(),a=null==i?void 0:i.id;return l((function(){return{exchangeShortLivedToken:function(e){return eme(this,void 0,void 0,(function(){var t;return tme(this,(function(n){switch(n.label){case 0:return e?[4,r("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":a}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom("".concat(t,"/").concat(n,"/file_access_token/types/short_lived")).get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t){var n=this;return function(){return eme(n,void 0,void 0,(function(){var n;return tme(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return n=r.sent(),window.open(n,"ios"===o.deviceInfo.operatingSystem?"_self":e),[2]}}))}))}}}}),[a,r,n,e])}var zEe,FEe,QEe,BEe,UEe,WEe,qEe,$Ee,VEe,KEe,HEe,GEe,YEe,XEe,ZEe,JEe,eIe,tIe,nIe=function(r){var i=r.files,o=r.onDeleteClick,a=r.getFileUrl,s=r.fileAccessToken,l=r.disabled,c=r.className;if(!i||0===i.length)return null;var u=i.filter((function(e){return a&&Wxe(e.filename)})),d=i.filter((function(e){return a&&SEe(e.filename)})),f=i.filter((function(e){return!u.includes(e)&&!d.includes(e)}));return n(t,{children:[d.length>0&&e(iIe,Zhe({className:c,"data-preload-video":Ol.isAnyMobileApp||"safari"===sv.name},{children:d.map((function(t){return e(oIe,{children:e(kEe,{fileName:t.filename,url:a(t.id)})},t.id)}))})),u.length>0&&e(rIe,Zhe({className:c},{children:u.map((function(t){return e(aIe,{children:e(Uxe,{fileName:t.filename,url:a(t.id)})},t.id)}))})),f.length>0&&e(rIe,Zhe({className:c},{children:f.map((function(t){return e(aIe,{children:e(sIe,{attachment:t,disabled:l,getFileUrl:a,fileAccessToken:s,onDeleteClick:o})},t.id)}))}))]})},rIe=Te.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(zEe||(zEe=rme(["\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"]))),iIe=Te.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(FEe||(FEe=rme(["\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),oIe=Te.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(QEe||(QEe=rme(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),10),aIe=Te.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(BEe||(BEe=rme(["\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,I6.small,5),sIe=function(t){var r=t.attachment,i=t.onDeleteClick,o=t.getFileUrl,a=t.fileAccessToken,s=t.disabled,l=LS().formatMessage,c=!s&&i,u=LEe(),d=u.exchangeShortLivedToken,f=u.createDownloadClickHandler;return n(lIe,{children:[r.isUploadInProgress&&e(mIe,{children:e(gIe,{size:re.medium})}),e(uIe,Zhe({takeFullWidth:!c},{children:function(){var t=this;if(r.hasError)return n(dIe,{children:[e(vIe,{iconName:"Warning"}),e(hIe,Zhe({title:r.filename},{children:r.filename}))]});var i=AEe(r.filename);if(o)return n(cIe,Zhe({title:r.filename,onClick:f("_blank",(function(){return eme(t,void 0,void 0,(function(){var e;return tme(this,(function(t){switch(t.label){case 0:return[4,d(a)];case 1:return e=t.sent(),[2,o(r.id,e)]}}))}))}))},{children:[e(fIe,{iconName:i}),e(hIe,{children:r.filename})]}));return n(dIe,{children:[e(fIe,{iconName:i}),e(hIe,Zhe({title:r.filename},{children:r.filename}))]})}()})),c&&e(pIe,{iconProps:{iconName:"Delete"},onClick:function(){return i(r)},disabled:r.isUploadInProgress,ariaLabel:l({id:"AriaLabel.removeAttachmentButton"})})]})},lIe=Te.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(UEe||(UEe=rme(["\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})),cIe=Te(M).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(WEe||(WEe=rme(["\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})),uIe=Te.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(VEe||(VEe=rme(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?De(qEe||(qEe=rme(["\n width: 100%;\n "],["\n width: 100%;\n "]))):De($Ee||($Ee=rme(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),dIe=Te.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(KEe||(KEe=rme(["\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),fIe=Te(j).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(HEe||(HEe=rme(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),10),pIe=Te(T).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(GEe||(GEe=rme(["\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})),hIe=Te.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(YEe||(YEe=rme(["\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"]))),mIe=Te.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(XEe||(XEe=rme(["\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"]))),gIe=Te(_Ee).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(ZEe||(ZEe=rme(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),vIe=Te(j).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(JEe||(JEe=rme(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),yIe=function(r){var i,o=r.children,a=Jhe(r,["children"]);return n(t,{children:[e(bIe,{}),e(ome,Zhe({},a,{modalProps:Zhe(Zhe({},a.modalProps||{}),{className:Eq({"lt-reach-dialog-mobile-full-height":Ol.isAnyMobileApp},null===(i=a.modalProps)||void 0===i?void 0:i.className)})},{children:o}))]})},bIe=Pe(eIe||(eIe=rme(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(tIe||(tIe={})),Te.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(_Ie||(_Ie=rme(["\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?De(wIe||(wIe=rme(["\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 "])),I6.medium,e.offsetTop+20):De(xIe||(xIe=rme(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)}));var wIe,xIe,_Ie,OIe,kIe,SIe,CIe,EIe,IIe,TIe,PIe,DIe,NIe=function(e){return De(SIe||(SIe=rme(["\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?De(OIe||(OIe=rme(["\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})):De(kIe||(kIe=rme(["\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})))};Pe(CIe||(CIe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return YK("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: ".concat(e.theme.palette.themePrimary,";\n outline-offset: 5px;\n border-radius: 50%;\n }\n "))})),Te(T).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(EIe||(EIe=rme(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return NIe(e.useSecondaryBgColor)})),Te(Xwe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(IIe||(IIe=rme(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return NIe(e.useSecondaryBgColor)})),Te.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(TIe||(TIe=rme(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),20),Te(M).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(PIe||(PIe=rme(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),Pe(DIe||(DIe=rme(["\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"])),T6);var AIe,RIe=function(t){var n=t.tagName,r=void 0===n?"div":n,i=t.id,o=t.values,a=t.className;return w(r,{className:a},e(nC,{id:i,values:o}))},MIe=function(t){var r=t.icon,i=t.resourceKey,o=t.className,a=t.values,s="string"==typeof r?e(j,{iconName:r}):r;return n(jIe,Zhe({className:o},{children:[s,e(nC,{id:i,values:a,tagName:"span"})]}))},jIe=Te.div(AIe||(AIe=rme(["\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),LIe={},zIe=new Yq;var FIe=new Yq;function QIe(e){var t=c(!0);u((function(){t.current||FIe.next(),t.current=!1}),e)}var BIe,UIe,WIe,qIe,$Ie=function(t){var n=t.groupName,r=t.groupId,i=t.keywordName,o=t.keywordId,a=t.language,l=t.underlined,c=t.onClick,u=t.tabIndex,d=Q0(),f=S2(s(t7).selectedKeywordGroups,d,r,i,n,a);return c?e(KIe,Zhe({onClick:function(){return c(o)},tabIndex:u},{children:e(HIe,Zhe({underlined:!0},{children:f}))})):e(HIe,Zhe({underlined:l},{children:f}))},VIe=function(t){var n=t.groupId,r=t.keywordName,i=Q0(),o=S2(s(t7).selectedKeywordGroups,i,n,r);return QIe([o]),e(HIe,Zhe({underlined:!0},{children:o}))},KIe=Te(n_e).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(BIe||(BIe=rme(["\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})),HIe=Te.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(WIe||(WIe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&De(UIe||(UIe=rme(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),GIe=function(t){var r=t.modified,i=LS();return r?n(YIe,Zhe({className:"ms-fontColor-neutralTertiary"},{children:["(",e(Xwe,Zhe({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(r,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(r);return"".concat(e," ").concat(t)}()}},{children:e(nC,{id:"Generic.wasModified"})})),")"]})):null},YIe=Te.div(qIe||(qIe=rme(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),12);function XIe(){return XIe=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},XIe.apply(this,arguments)}var ZIe=function(e){return i.createElement("svg",XIe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),i.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),i.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),i.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function JIe(){return JIe=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},JIe.apply(this,arguments)}var eTe=function(e){return i.createElement("svg",JIe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),i.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),i.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),i.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function tTe(){return tTe=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},tTe.apply(this,arguments)}var nTe=function(e){return i.createElement("svg",tTe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),i.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),i.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function rTe(){return rTe=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},rTe.apply(this,arguments)}var iTe,oTe,aTe,sTe,lTe,cTe,uTe,dTe,fTe,pTe,hTe,mTe=function(e){return i.createElement("svg",rTe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),i.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),i.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),i.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),i.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),i.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),i.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},gTe=function(t){var n=t.images,r=t.selectedIndex,i=t.hidden,o=t.onClose,a=t.imageUrlResolver,s=SO((function(){return eme(this,void 0,void 0,(function(){var e;return tme(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}):DEe(a(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),l=s[0],c=s[1],u=s[2];return c||u?null:e(se,{children:e(vTe,{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})})},vTe=function(r){var i=r.images,o=r.hidden,a=r.selectedIndex,s=r.onClose,l=LS().formatMessage,d=c(null),f=c();return u((function(){var e;if(!o)return clearTimeout(f.current),f.current=setTimeout((function(){return e=function(){var e=new q7(d.current,V7,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}()}),Ol.isNativeMobileApp?500:200),function(){return null==e?void 0:e.close()}}),[o,a]),n(t,{children:[e(yTe,{enforceArrowVisibility:!Ol.isNativeMobileApp}),n("div",Zhe({ref:d,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[e("div",{className:"pswp__bg"}),n("div",Zhe({className:"pswp__scroll-wrap"},{children:[n("div",Zhe({className:"pswp__container"},{children:[e("div",{className:"pswp__item"}),e("div",{className:"pswp__item"}),e("div",{className:"pswp__item"})]})),n("div",Zhe({className:"pswp__ui pswp__ui--hidden"},{children:[n("div",Zhe({className:"pswp__top-bar"},{children:[e("div",{className:"pswp__counter"}),e("button",{className:"pswp__button pswp__button--close",title:l({id:"ImageViewer.closeCaption"})}),e("button",{className:"pswp__button pswp__button--fs",title:l({id:"ImageViewer.toggleFullscreenCaption"})}),e("div",Zhe({className:"pswp__preloader"},{children:e("div",Zhe({className:"pswp__preloader__icn"},{children:e("div",Zhe({className:"pswp__preloader__cut"},{children:e("div",{className:"pswp__preloader__donut"})}))}))}))]})),e("div",Zhe({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:e("div",{className:"pswp__share-tooltip"})})),e("button",{className:"pswp__button pswp__button--arrow--left",title:l({id:"ImageView.previousCaption"})}),e("button",{className:"pswp__button pswp__button--arrow--right",title:l({id:"ImageView.nextCaption"})}),e("div",Zhe({className:"pswp__caption"},{children:e("div",{className:"pswp__caption__center"})}))]}))]}))]}))]})},yTe=Pe(oTe||(oTe=rme(["\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&&De(iTe||(iTe=rme(["\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 "])))})),bTe=function(r){var i=r.images,o=r.imageUrlResolver,a=r.disableRoundedCorners,l=r.gridBackgroundColor,c=r.className,u=LS().formatMessage,f=d(null),p=f[0],h=f[1],m=s(k6).theme.palette;if(!i||0===i.length)return null;var g=i.length>4,v=i.length>1,y=i[0];return n(xTe,Zhe({"data-multi-images":v,className:c,singleImageHeight:y.height,singleImageWidth:y.width},{children:[e("div",Zhe({"data-gallery-wrapper":!0},{children:v?n(t,{children:[e(OTe,Zhe({backgroundColor:null!=l?l:m.neutralLight,applyRoundedCorners:!a},{children:i.slice(0,4).map((function(t,n){return e(kTe,Zhe({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),b(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:e(STe,{src:t.previewUrl,imageFit:ae.centerCover,alt:t.imageTitle||""})}),n)}))})),g&&n(CTe,Zhe({onClick:function(){return b(4)}},{children:["+",i.length-4]}))]}):e(wTe,{image:y,onClick:function(){return b(0)},disableRoundedCorners:a})})),e(gTe,{images:i,selectedIndex:p,hidden:null==p,onClose:function(){h(null)},imageUrlResolver:o})]}));function b(e){h(e)}},wTe=function(t){var n=t.image,r=t.onClick,i=t.disableRoundedCorners,o=LS().formatMessage;return e(_Te,Zhe({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:""})}))},xTe=Te.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(sTe||(sTe=rme(["\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&&De(aTe||(aTe=rme(["\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)})),_Te=Te.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(cTe||(cTe=rme(["\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&&De(lTe||(lTe=rme(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),OTe=Te.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(dTe||(dTe=rme(["\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&&De(uTe||(uTe=rme(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),kTe=Te.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(fTe||(fTe=rme(["\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"]))),STe=Te(L).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(pTe||(pTe=rme(["\n height: 100%;\n"],["\n height: 100%;\n"]))),CTe=Te(M).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(hTe||(hTe=rme(["\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,I6.small,28);function ETe(e,t){if(Ol.isNativeMobileApp){var n=[e,t||"",!0,!0,!1,""];window.cordova.exec((function(){}),(function(){}),"PhotoViewer","show",n)}}var ITe,TTe,PTe,DTe,NTe,ATe,RTe=function(t){var n=t.icon,r=t.isActive,i=t.disabled,o=t.tooltipResourceKey,a=t.onClick,s=t.link,l=t.className,c=Jhe(t,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),u=LS().formatMessage;if(!s&&!a)return null;var d=Eq("header-button",l),f=s?e(LTe,Zhe({className:d,to:s},c,{children:e(j,{iconName:n})})):e(jTe,Zhe({className:d,disabled:i,onClick:function(e){return a(e.currentTarget)},iconProps:{iconName:n},ariaLabel:u({id:o}),"data-button-type":"header-btn",isActive:r},c));return e(MTe,Zhe({className:"tooltip-container"},{children:e(Xwe,Zhe({resourceKey:o},{children:f}))}))},MTe=Te.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(ITe||(ITe=rme(["\n height: 100%;\n"],["\n height: 100%;\n"]))),jTe=Te(T).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(DTe||(DTe=rme(['\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&&De(TTe||(TTe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&De(PTe||(PTe=rme(["\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)})),LTe=Te(Oe).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(ATe||(ATe=rme(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return De(NTe||(NTe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),zTe=Ome,FTe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",QTe=RegExp("^"+FTe+FTe+"*"),BTe=RegExp(FTe+FTe+"*$"),UTe=function(e){return function(t){var n=String(zTe(t));return 1&e&&(n=n.replace(QTe,"")),2&e&&(n=n.replace(BTe,"")),n}},WTe={start:UTe(1),end:UTe(2),trim:UTe(3)},qTe=dme,$Te="\t\n\v\f\r                 \u2028\u2029\ufeff",VTe=WTe.trim,KTe=function(e){return qTe((function(){return!!$Te[e]()||"​…᠎"!="​…᠎"[e]()||$Te[e].name!==e}))};Vve({target:"String",proto:!0,forced:KTe("trim")},{trim:function(){return VTe(this)}});var HTe,GTe,YTe,XTe,ZTe,JTe,ePe,tPe,nPe,rPe,iPe,oPe,aPe,sPe,lPe,cPe,uPe,dPe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.children,a=t.className,l=t.style,c=Jhe(t,["url","target","ariaLabel","children","className","style"]),u=B0(),d=G5(),f=s(sC),p=f.onOpenExternalLink,h=f.tryGetInternalLink,m=!r&&h(n,d);return m?e(fxe,Zhe({className:a,to:m,"aria-label":i,style:l},c,{children:o})):Ol.isNativeMobileApp&&u.inAppBrowser?e(fPe,Zhe({url:n,target:r,onClick:function(e){return eme(void 0,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return e.stopPropagation(),e.preventDefault(),[4,p(n)];case 1:return t.sent(),[2]}}))}))},className:a,ariaLabel:i,style:l},c,{children:o})):e(fPe,Zhe({url:n,target:r,className:a,ariaLabel:i,style:l},c,{children:o}))},fPe=function(t){var n=t.url,r=t.target,i=t.ariaLabel,o=t.onClick,a=t.className,s=t.children,l=t.style,c=Jhe(t,["url","target","ariaLabel","onClick","className","children","style"]);return e(dxe,Zhe({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,style:l},c,{children:s}))},pPe=De(HTe||(HTe=rme(["\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"]))),hPe=Te(dPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(GTe||(GTe=rme(["\n ","\n"],["\n ","\n"])),pPe),mPe=Te(fPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(YTe||(YTe=rme(["\n ","\n"],["\n ","\n"])),pPe),gPe=Te(T).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(ZTe||(ZTe=rme(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&De(XTe||(XTe=rme(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),vPe=Te((function(t){var r,i=t.iconName,o=t.ariaLabel,a=t.ariaLabelResourceKey,s=t.onClick,l=t.to,c=t.target,u=t.tooltipText,d=t.tooltipResourceKey,f=t.disabled,p=t.className,h=Jhe(t,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=LS().formatMessage,g=o||(null===(r=null==a?void 0:a.trim())||void 0===r?void 0:r.length)>0&&m({id:a});return n(Xwe,Zhe({resourceKey:d,text:u},{children:[l&&!s&&e(hPe,Zhe({url:l,ariaLabel:g,target:c},h,{children:e(j,{iconName:i,className:p})})),s&&!l&&e(gPe,Zhe({disabled:f,iconProps:{iconName:i},onClick:s,className:p,ariaLabel:g},h)),s&&l&&e(mPe,Zhe({url:l,target:c,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:e(j,{iconName:i,className:p})}))]}))})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(ePe||(ePe=rme(["\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&&De(JTe||(JTe=rme(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),yPe=function(t){var r=t.shouldAutoFocus,i=void 0===r||r,o=LS(),a=d(null),l=a[0],f=a[1],p=xe(),h=s(k6).theme.textColors,m=c();return u((function(){return E7(v),i&&setTimeout((function(){var e;return m&&(null===(e=m.current)||void 0===e?void 0:e.focus())})),function(){I7(v)}}),[]),u((function(){f("")}),[p.pathname]),n(xPe,Zhe({className:Eq("search-field",t.className),useLightTheme:t.useLightTheme},{children:[e(bPe,{className:"search-input",useLightTheme:t.useLightTheme,default:!0,value:l||t.searchText||"",onChange:function(e,t){return g(t)},onKeyDown:function(e){"Enter"===e.key&&t.onExecuteSearch&&t.onExecuteSearch(l);"Escape"===e.key&&g("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:t.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return m.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0}),t.searching&&e(wPe,{className:"search-spinner"}),e(_Pe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var e;f(null),null===(e=t.onClear)||void 0===e||e.call(t)},color:!t.useLightTheme&&h.onPrimary})]}));function g(e){var n;f(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}function v(){return!(!l&&!t.searchText)&&(g(""),!0)}},bPe=Te(A).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(rPe||(rPe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?De(tPe||(tPe=rme(["\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}),TEe("color: ".concat(e.theme.textColors.default))):De(nPe||(nPe=rme(["\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}),TEe("color: ".concat(e.theme.textColors.onPrimary)))})),wPe=Te(E).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(iPe||(iPe=rme(["\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})),xPe=Te.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(sPe||(sPe=rme(["\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"])),TEe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?De(oPe||(oPe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):De(aPe||(aPe=rme(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),_Pe=Te(oxe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(lPe||(lPe=rme(["\n align-self: center;\n"],["\n align-self: center;\n"]))),OPe=function(r){var i=r.onSearchInputFieldVisibilityChanged,o=r.isToolbarMode,a=r.onExecuteSearch,s=r.onSearchTextChange,l=r.searchText,c=r.showSearchBoxInput,f=r.className,p=r.shouldAutoFocus,h=d(!!l),m=h[0],g=h[1],v=c||m||!!l;return u((function(){null==i||i(v)}),[v]),n(t,{children:[v&&e(yPe,{onChange:s,onExecuteSearch:a,searchText:l,onClear:function(){null==s||s(""),y(!1)},shouldAutoFocus:p,className:f,useLightTheme:o}),!v&&(o?e(vPe,{iconName:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"}):e(RTe,{icon:"Search",onClick:function(){return y(!0)},tooltipResourceKey:"TopBar.search"}))]});function y(e){g(e),null==i||i(e)}};Te.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(cPe||(cPe=rme(["\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"}(uPe||(uPe={})),Te(j).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(kPe||(kPe=rme(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),Te.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(EPe||(EPe=rme(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?De(SPe||(SPe=rme(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):De(CPe||(CPe=rme(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),Te.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(IPe||(IPe=rme(["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"],["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"])),(function(e){var t=e.isLoading,n=e.disableSort;return t?"wait":n?"default":"pointer"})),Te.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(TPe||(TPe=rme(["\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 kPe,SPe,CPe,EPe,IPe,TPe,PPe,DPe,NPe,APe=Te.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(PPe||(PPe=rme(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));Te.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(DPe||(DPe=rme(["\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"}),APe,(function(e){return e.isLoading?"0.6":"1"})),Te(_Ee).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(NPe||(NPe=rme(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var RPe,MPe,jPe,LPe,zPe,FPe=function(t){return e(QPe,Zhe({},t,{"data-toggle-button":!0}))},QPe=Te(z).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(RPe||(RPe=rme(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),BPe=function(e){return De(MPe||(MPe=rme(["\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 UPe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[x2(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}Te.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(LPe||(LPe=rme(["\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&&De(jPe||(jPe=rme(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),Te(j).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(zPe||(zPe=rme(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),10);var WPe,qPe,$Pe,VPe,KPe,HPe,GPe,YPe,XPe,ZPe=function(r){var i=r.enterDuration,o=r.leaveDuration,a=r.children,s=r.style,l=r.className,c=!!i,u=!!o,d="common-opacity-animation_".concat(i,"_").concat(o);return n(t,{children:[e(JPe,{name:d,enterDuration:i,leaveDuration:o}),e(I9,Zhe({style:s,className:l,transitionName:d,transitionAppear:c,transitionEnter:c,transitionLeave:u,transitionLeaveTimeout:o,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:a}))]})},JPe=Pe(WPe||(WPe=rme(["\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})),eDe=function(t){var n=t.contentLanguageCode,r=t.originalContent,i=t.content,o=t.onTranslate,a=t.onContentChange,s=t.tooltipResourceKey,l=t.showLabel,c=LS().formatMessage,f=Q0(),p=B0(),h=d(null),m=h[0],g=h[1],v=d(r===i),y=v[0],b=v[1],w=F6().showError,x=x2(f);if(u((function(){return g(null)}),[r]),!p.automaticTranslation)return null;var _=c({id:"Generic.translate"});return n&&n!==x&&w2.includes(x)&&!b2.includes(x)?e(Xwe,Zhe({resourceKey:y?"Generic.translateTo":s,values:{language:c({id:"Generic.languages.".concat(x)})}},{children:e(tDe,Zhe({"aria-label":l?null:_,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return eme(this,void 0,void 0,(function(){var e;return tme(this,(function(t){switch(t.label){case 0:return y?m?(a(m),b(!1),[3,4]):[3,1]:(a(r),b(!0),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(x)];case 2:return e=t.sent(),a(e),g(e),b(!1),[3,4];case 3:return t.sent(),w("Generic.error"),[3,4];case 4:return[2]}}))}))}},{children:l&&_}))})):null},tDe=Te(n_e)(qPe||(qPe=rme(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),nDe=Te(F).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})($Pe||($Pe=rme(["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),rDe=function(r){var i=r.comment,o=r.showEdit,a=r.showDelete,s=r.onDelete,l=r.isEditMode,u=r.toggleEditMode,f=r.originalContent,p=r.currentContent,h=r.setContent,m=r.handleTranslate,g=r.showAutoTranslate,v=r.onReply,y=r.disabled,b=LS().formatMessage,w=Q0(),x=d(!1),_=x[0],O=x[1],k=c(null);return w.isPublicUser&&!g?null:w.isPublicUser&&g?e(eDe,{"data-auto-translate-button":i.id,originalContent:f,onContentChange:function(e){O(!1),h(e)},content:p,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0}):n(t,{children:[e("div",Zhe({ref:k},{children:e(oDe,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return O(!_)},ariaLabel:b({id:"AriaLabel.contextMenuButton"}),disabled:y})})),_&&e(sDe,Zhe({"data-context-menu":!0,target:k.current,onDismiss:function(){return O(!1)}},{children:n(iDe,{children:[e(Xwe,Zhe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:e(aDe,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==v||v(i,i.sender),O(!1)},text:b({id:"Comment.replyButton"})})})),g&&e(eDe,{"data-auto-translate-button":i.id,originalContent:f,onContentChange:function(e){O(!1),h(e)},content:p,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:m,contentLanguageCode:i.contentLanguageCode,showLabel:!0}),o&&e(Xwe,Zhe({resourceKey:"Comment.edit.tooltip"},{children:e(aDe,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),O(!1)},text:b({id:"Generic.edit"}),disabled:!i.id||l})})),a&&e(Xwe,Zhe({resourceKey:"Comment.delete.tooltip"},{children:e(aDe,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),O(!1)},text:b({id:"Generic.Delete"}),disabled:!i.id||l})}))]})}))]})},iDe=Te.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(VPe||(VPe=rme(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),oDe=Te(oxe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(KPe||(KPe=rme(["\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),aDe=Te(n_e).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(HPe||(HPe=rme(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),sDe=Te(ICe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(GPe||(GPe=rme(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),10);Te(M).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(YPe||(YPe=rme(["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"],["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"]))),Te(M).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(XPe||(XPe=rme(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var lDe,cDe,uDe,dDe,fDe,pDe=Te(T).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(lDe||(lDe=rme(["\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})),hDe=function(t){var r=t.toggleAll,i=t.className,o=s(k6).theme.palette.accent;return n(mDe,Zhe({className:i},{children:[e(gDe,Zhe({onClick:function(){return r(!0)},"data-button-toggle":"selectAll",color:o},{children:e(nC,{id:"Generic.SelectAll"})})),e(gDe,Zhe({onClick:function(){return r(!1)},"data-button-toggle":"clearAll",color:o},{children:e(nC,{id:"Generic.ClearAll"})}))]}))},mDe=Te.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(cDe||(cDe=rme(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),10),gDe=Te(n_e).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(uDe||(uDe=rme(["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"],["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"])));Te((function(t){var r=t.iconName,i=t.textKey,o=Jhe(t,["iconName","textKey"]);return n(ke,Zhe({},o,{children:[r&&e(j,{iconName:r}),e(nC,{id:i})]}))})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(dDe||(dDe=rme(["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"],["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"])),10,(function(e){return e.theme.palette.accent})),Te(oxe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(fDe||(fDe=rme([""],[""])));var vDe,yDe,bDe,wDe,xDe=function(t){var n=t.language,r=t.channel,i=t.role,o=t.className,a=Q0(),l=SDe(s(t7).channels,r,a,n);return e(_De,Zhe({title:l,className:o,role:i},{children:l}))},_De=Te.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(vDe||(vDe=rme(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),ODe=function(r){var i=r.channels,o=r.language;return e(t,{children:i.map((function(t,r){var i=kDe(t)?t.id:t;return n("span",{children:[r>0&&", ",e(xDe,{channel:t,language:o})]},i)}))})};function kDe(e){return null!=e.id}function SDe(e,t,n,r){if(null==e&&!kDe(t))return t;var i=kDe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==i)return null;r||(r=x2(n));var o=i.translations||null!=e&&e.filter((function(e){return e.id===i.id})).map((function(e){return e.translations}))[0]||{};return r&&o[r]||o[n.subscription.defaultLanguage]||i.name}Te(xDe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(yDe||(yDe=rme(["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"],["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"])),(function(e){return e.applyMargin?"37":"0"}),25),Te.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(bDe||(bDe=rme(["\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,IEe(2,2),25),Te(oxe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(wDe||(wDe=rme(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),25);var CDe,EDe,IDe,TDe,PDe,DDe,NDe,ADe,RDe,MDe,jDe,LDe=function(t){var r=t.channels,i=t.language,o=t.channelStyleDefinition,a=t.visibleChannelsCount,s=void 0===a?3:a,l=t.onChannelClick,c=t.className;if(!r||0===r.length)return null;var u=r.length>s;return n(QDe,Zhe({className:c,"data-has-more-indicator":u},{children:[e(zDe,{channels:r.slice(0,s),language:i,channelStyleDefinition:o,onChannelClick:l}),u&&e(FDe,{channels:r.slice(s),language:i,styleDefinition:o,onChannelClick:l})]}))},zDe=function(t){var n=t.channels,r=t.language,i=t.channelStyleDefinition,o=t.onChannelClick;return e(BDe,Zhe({"data-channels":!0},{children:n.map((function(t){var a=e(xDe,{channel:t,language:r});return o?e(UDe,Zhe({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):e(WDe,Zhe({bubbleCount:n.length,backgroundColor:null==i?void 0:i.backgroundColor,color:null==i?void 0:i.color},{children:a}),t)}))}))},FDe=function(r){var i=r.channels,o=r.language,a=r.styleDefinition,s=r.onChannelClick,l=c(),u=d(!1),f=u[0],p=u[1];return n(t,{children:[e($De,Zhe({ref:l,backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color},{children:e(VDe,Zhe({onClick:function(){return p(!0)}},{children:"+".concat(i.length)}))})),f&&e(KDe,Zhe({target:l.current,onDismiss:function(){return p(!1)}},{children:e(HDe,{children:i.map((function(t){return e("li",{children:s?e(n_e,Zhe({onClick:function(){return s(t)}},{children:e(xDe,{channel:t,language:o})})):e(xDe,{channel:t,language:o})},t)}))})}))]})},QDe=Te.div(CDe||(CDe=rme(["\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),BDe=Te.div(EDe||(EDe=rme(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),UDe=Te(n_e)(IDe||(IDe=rme(["\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 qDe(e.bubbleCount,e.backgroundColor,e.color)})),WDe=Te.span(TDe||(TDe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return qDe(e.bubbleCount,e.backgroundColor,e.color)})),qDe=function(e,t,n){return De(NDe||(NDe=rme(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&De(PDe||(PDe=rme(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&De(DDe||(DDe=rme(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),Zwe({backgroundColor:t,color:n}))},$De=Te.div(ADe||(ADe=rme(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return Zwe({backgroundColor:e.backgroundColor,color:e.color})})),VDe=Te(n_e)(RDe||(RDe=rme(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),KDe=Te(ICe)(MDe||(MDe=rme(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),HDe=Te.ul(jDe||(jDe=rme(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),GDe=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(fNe,Zhe({className:l,"data-channels":r.join(",")},{children:r.map((function(t){var r=YDe(t)?t.id:t,l=e(pNe,Zhe({backgroundColor:a},{children:e(xDe,{channel:t,language:o})}));return n("li",{children:[i&&e(hNe,Zhe({"data-channel":!0,to:i(YDe(t)?t.name:t),"data-rounded-outline":!0},{children:l})),s&&e(gNe,Zhe({"data-rounded-outline":!0,onClick:function(){return s(YDe(t)?t.name:t)}},{children:l})),!s&&!i&&e(mNe,{children:l})]},r)}))})):null};function YDe(e){return null!=e.id}var XDe,ZDe,JDe,eNe,tNe,nNe,rNe,iNe,oNe,aNe,sNe,lNe,cNe,uNe,dNe,fNe=Te.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(XDe||(XDe=rme(["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),14),pNe=Te.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(ZDe||(ZDe=rme(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?Zwe({backgroundColor:e.backgroundColor}):Zwe()})),hNe=Te(ke).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(JDe||(JDe=rme(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"])),(function(e){return e.theme.textColors.default}),6),mNe=Te.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(eNe||(eNe=rme(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),gNe=Te(n_e).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(tNe||(tNe=rme(["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"],["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"])),6),vNe=function(r){var i=r.searchText,o=r.onSearchTextChange,a=r.onExecuteSearch,s=r.onSearchIconClick,l=r.onSearchInputFieldVisibilityChanged;return n(t,{children:[e(yNe,{children:e(OPe,{searchText:i,onSearchTextChange:o,onExecuteSearch:a,onSearchInputFieldVisibilityChanged:l,isToolbarMode:!0})}),e(bNe,{children:e(vPe,{iconName:"Search",onClick:s,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"})})]})},yNe=Te.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(nNe||(nNe=rme(["\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"])),P6),bNe=Te.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(rNe||(rNe=rme(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),I6.medium),wNe=function(t){var r=t.leftSide,i=t.hideLeftSide,o=t.rightSide,a=t.hideRightSide,s=t.search,l=t.className,c=t.children,u=d(!1),f=u[0],p=u[1];return n(xNe,Zhe({className:l,"data-content-toolbar":!0},{children:[n(kNe,{children:[r&&!i&&e(_Ne,{children:r}),(o||s)&&!a&&n(ONe,{children:[s&&e(vNe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){f?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}}),o]})]}),c,s&&f&&e(SNe,{children:e(yPe,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0})})]}));function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},xNe=Te.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(iNe||(iNe=rme(["\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),_Ne=Te.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(oNe||(oNe=rme(["\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"]))),ONe=Te.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(aNe||(aNe=rme(["\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"]))),kNe=Te.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(sNe||(sNe=rme(["\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"]))),SNe=Te.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(lNe||(lNe=rme(["\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"])),I6.medium);Te(wNe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(cNe||(cNe=rme(["\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,I6.medium,20,20),Te.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(uNe||(uNe=rme(["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"]))),Te.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(dNe||(dNe=rme([""],[""])));var CNe,ENe,INe,TNe,PNe,DNe,NNe,ANe,RNe,MNe,jNe,LNe,zNe,FNe,QNe,BNe,UNe,WNe=function(r){var i=r.onEmojiSelected,o=r.disabled,a=c(null),s=d(!1),l=s[0],u=s[1],f=LS().formatMessage;return n(t,{children:[e(qNe,Zhe({ref:a},{children:e(oxe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:o,ariaLabel:f({id:"AriaLabel.emojiButton"})})})),l&&e($Ne,Zhe({directionalHint:H.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:e(KNe,{onSelect:function(e){u(!1),i(e.native)}})}))]})},qNe=Te.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(CNe||(CNe=rme([""],[""]))),$Ne=Te(ICe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(ENe||(ENe=rme(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),VNe=y((function(){return import("./EmojiPicker.js")})),KNe=function(t){var n=t.onSelect,r=CO();return e(b,Zhe({fallback:e(HNe,Zhe({isSmaller:r.width<I6.small},{children:e(_Ee,{})}))},{children:e(VNe,{onSelect:n})}))},HNe=Te.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(INe||(INe=rme(["\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})),GNe=function(){var t=Mg();return e(YNe,{children:e("a",Zhe({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:e("img",{src:"".concat(t.webAppUrl,"/assets/giphy/PoweredBy_200px-White_HorizText.png"),alt:"Giphy Attribution"})}))})},YNe=Te.div(TNe||(TNe=rme(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),XNe=function(t){var r,i,o=t.onGifClick,a=t.className,s=Kg(),l=LS().formatMessage,c=new Ute.GiphyFetch(s.giphy.apiKey),u=d(null),f=u[0],p=u[1],h=Hhe(f,500)[0],m=CO(),g=SO((function(){if(!h)return c.trending({limit:21});return c.search(h,{limit:21})}),null,[h]),v=g[0],y=g[1],b=m.width<550?80:100;return n(ZNe,Zhe({className:a},{children:[e(ie,{placeholder:l({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return p(t)},autoFocus:!0}),n(JNe,Zhe({columnWidth:b,"data-gif-grid":!0},{children:[y&&e(_Ee,{delay:300}),0===(null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.length)&&e(nC,{id:"Generic.noResultsFound"}),null===(i=null==v?void 0:v.data)||void 0===i?void 0:i.map((function(t){return e(eAe,{gif:t,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},t.id)}))]}))]}))},ZNe=Te.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(PNe||(PNe=rme(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),JNe=Te.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(DNe||(DNe=rme(["\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),eAe=Te(T9.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(NNe||(NNe=rme(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),tAe=function(t){var r=t.target,i=t.onGifClick,o=t.onDismiss;return n(nAe,Zhe({directionalHint:H.topCenter,target:r,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[e(rAe,{onGifClick:i}),e(GNe,{})]}))},nAe=Te(ICe)(ANe||(ANe=rme(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),rAe=Te(XNe)(RNe||(RNe=rme(["\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"]))),iAe=function(t){var r=t.onGifClick,i=t.onDismiss;return n(yIe,Zhe({hidden:!1,modalProps:{isBlocking:!0,className:"dialog-gif-selector"},dialogContentProps:{type:X.close},onDismiss:i},{children:[e(oAe,{}),e(aAe,{onGifClick:r}),e(GNe,{})]}))},oAe=Pe(MNe||(MNe=rme(["\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"])),T6),aAe=Te(XNe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(jNe||(jNe=rme(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),10),sAe=function(r){var i=r.disabled,o=r.onGifClick,a=B0(),s=LS().formatMessage,l=c(),u=d(!1),f=u[0],p=u[1],h=Ol.isAnyMobileApp;return a.giphy?n("div",{children:[e("div",Zhe({ref:l},{children:e(oxe,{iconProps:{iconName:"Gif"},onClick:function(){return p(!0)},disabled:i,"data-button-type":"gif",ariaLabel:s({id:"AriaLabel.gifButton"})})})),f&&e(t,{children:h?e(iAe,{onGifClick:m,onDismiss:function(){return p(!1)}}):e(tAe,{target:l.current,onGifClick:m,onDismiss:function(){return p(!1)}})})]}):null;function m(e){p(!1),o({id:e.id.toString(),filename:e.title,url:e.embed_url,type:z1.Giphy})}},lAe=function(t){var n=t.gifInfo,r=t.className,i=Kg(),o=d(),a=o[0],s=o[1];return u((function(){new Ute.GiphyFetch(i.giphy.apiKey).gif(n.id).then((function(e){return s(e.data)}))}),[i.giphy.apiKey,n.id]),a?e(cAe,Zhe({className:r},{children:e(uAe,{gif:a,width:300,noLink:!0,hideAttribution:!0})})):null},cAe=Te.div(LNe||(LNe=rme([""],[""]))),uAe=Te(T9.Gif)(zNe||(zNe=rme(["\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"])),T6),dAe=function(t){var n=t.attachments,r=t.onDeleteClick,i=t.className,o=LS().formatMessage,a=n.filter((function(e){return e.type===z1.Giphy}));return 0===a.length?null:e(fAe,Zhe({className:i,"data-gif-attachment-list":!0},{children:a.map((function(t){return e(pAe,Zhe({domIdentifier:"gif",deleteButton:e(pDe,{"data-remove-attachment-button":t.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return r(t)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})})},{children:e(lAe,{gifInfo:t})}),t.id)}))}))},fAe=Te.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(FNe||(FNe=rme(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),pAe=Te(Zxe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(QNe||(QNe=rme(["\n width: auto;\n"],["\n width: auto;\n"]))),hAe=function(t){var n=t.attachments,r=t.className,i=n.filter((function(e){return e.type===z1.Giphy}));return 0===i.length?null:e(mAe,Zhe({className:r,"data-gif-url-preview":i[0].id},{children:e(gAe,{children:e(lAe,{gifInfo:i[0]})})}))},mAe=Te.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(BNe||(BNe=rme(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),gAe=Te(Zxe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(UNe||(UNe=rme(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),10);var vAe,yAe,bAe,wAe=function(t){var r,i,o=c(null),a=d(!1),s=a[0],l=a[1];return n(xAe,Zhe({className:t.className},((r={})[t.dataAttribute]=!0,r),{ref:o},{children:[e(_Ae,{"data-icon-with-callout":!0,iconProps:{iconName:t.icon},onClick:function(){return eme(this,void 0,void 0,(function(){var e,n;return tme(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}),s&&e(OAe,Zhe({className:"icon-with-callout-content",target:o,directionalHint:null==t.directionalHint?H.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}))]}))},xAe=Te.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(vAe||(vAe=rme(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),_Ae=Te(oxe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(yAe||(yAe=rme(["\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"]))),OAe=Te(ICe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(bAe||(bAe=rme(["\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"]))),kAe="video-view-container";function SAe(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 CAe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function EAe(e){return IAe(null==e?void 0:e.preferredLocale)||IAe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||IAe(null==e?void 0:e.preferredUiLanguage)||IAe(navigator.language)||"en"}function IAe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),CAe.find((function(t){return t===e}))):null}var TAe,PAe,DAe,NAe,AAe,RAe,MAe,jAe,LAe,zAe=function(t){var r=t.onNextClick,i=t.onPrevClick,o=t.onFirstClick,a=t.hidePrevButton,l=t.hideNextButton,c=t.isLoadingNextPage,u=t.className,d=LS().formatMessage,f=s(k6).theme.palette;return l&&a?null:n(FAe,Zhe({className:u},{children:[e(Xwe,Zhe({resourceKey:"Lib.paging.goToFirstPage"},{children:e(BAe,{ariaLabel:d({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:f.accent,"data-horizontal-pager-first-page-button":!0})})),e(UAe,{iconProps:{iconName:"ChevronLeftSmall"},text:d({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:i,color:f.accent,"data-horizontal-pager-back-button":!0}),e(WAe,{iconProps:{iconName:"ChevronRightSmall"},text:d({id:"Generic.next.page.button.text"}),disabled:c,isHidden:l,onClick:r,color:f.accent,"data-horizontal-pager-more-button":!0})]}))},FAe=Te.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(TAe||(TAe=rme(["\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),QAe=Te(n_e).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(DAe||(DAe=rme(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&De(PAe||(PAe=rme(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),BAe=Te(QAe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(NAe||(NAe=rme([""],[""]))),UAe=Te(QAe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(AAe||(AAe=rme([""],[""]))),WAe=Te(QAe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(RAe||(RAe=rme(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));Te.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(MAe||(MAe=rme(["\n margin: 0;\n text-align: center;\n color: ",";\n"],["\n margin: 0;\n text-align: center;\n color: ",";\n"])),(function(e){return e.theme.palette.neutralSecondary})),Te.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(jAe||(jAe=rme(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),60),Te.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(LAe||(LAe=rme(["\n height: ","px;\n"],["\n height: ","px;\n"])),20);var qAe=bme,$Ae=Array.isArray||function(e){return"Array"==qAe(e)},VAe=$Ae,KAe=ove,HAe=jOe,GAe=function(e,t,n,r,i,o,a,s){for(var l,c=i,u=0,d=!!a&&HAe(a,s,3);u<r;){if(u in n){if(l=d?d(n[u],u,t):n[u],o>0&&VAe(l))c=GAe(e,t,l,KAe(l.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},YAe=GAe,XAe=Eme,ZAe=$Ae,JAe=Wye("species"),eRe=YAe,tRe=Gve,nRe=ove,rRe=Kve,iRe=function(e,t){var n;return ZAe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!ZAe(n.prototype)?XAe(n)&&null===(n=n[JAe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function oRe(e,t,n){var r=function(e){var t=d(0),n=t[0],r=t[1],i=d({pages:{},paginationToken:null,hasNextPage:!0}),o=i[0],a=i[1];return{state:o,setInitialPages:function(e,t,n){a({pages:{0:nme([],e||[],!0)},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,r){a((function(i){var o;return{pages:Xhe(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=Zhe({},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 Zhe(Zhe({},n),{pages:r})}))},insertToTheFront:function(t){for(var i,s,l=nme([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[],!0),c=Zhe(Zhe({},o.pages),{0:l}),u=Object.keys(c).length,d=0;d<u;){var f=0===d,p=Object.keys(c)[d],h=c[p].length;if(f&&h>e&&h<=2*e){n<2*e&&r(n+e);break}if(h<=e)break;var m=c[p].pop(),g=null!==(s=Object.keys(c)[d+1])&&void 0!==s?s:f?2*e:+p+e,v=c[g];if(!v){o.hasNextPage||(c[g]=[m],r(n+e));break}v.unshift(m),d++}a(Zhe(Zhe({},o),{pages:c}))},deleteItem:function(t){for(var i=Zhe({},o.pages),s=Object.keys(i).length,l=0;l<s;){var c=Object.keys(i)[l],u=i[c].find((function(e){return e.id===t}));if(u){i[c]=i[c].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<s;){if(!i[c=Object.keys(i)[l++]].length&&l===s){delete i[c],d=!0;break}var f=Object.keys(i)[l],p=f?i[f]:null;if(!p)break;var h=p.shift();i[c].push(h)}a(Zhe(Zhe({},o),{pages:i}));var m=(d||i[0].length===e)&&n>e;return m&&r(n-e),m}}}(e),i=r.state,o=r.setInitialPages,a=r.updatePageItems,s=r.lastFetchedPageIndex,l=r.updateLastFetchedPageIndex,c=r.updateItem,f=r.insertToTheFront,p=r.deleteItem,h=d(0),m=h[0],g=h[1],v=d(!0),y=v[0],b=v[1],w=d(!1),x=w[0],_=w[1],O=d(null),k=O[0],S=O[1];u((function(){E()}),nme([e],n||[],!0));var C=Object.keys(i.pages).flatMap((function(e){return i.pages[e]})).slice(m-e,m);return{items:C,isInitialLoading:y,isLoadingNextPage:x,error:k,getFirstPage:function(){return g(e)},getPrevPage:function(){return g(m-e)},getNextPage:function(){return eme(this,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return g(m+e),i.hasNextPage&&m===s-e?[4,I(i.paginationToken)]:[3,2];case 1:t.sent(),l(),t.label=2;case 2:return[2]}}))}))},isFirstPage:m===e,isLastPage:m===s&&!i.hasNextPage,isEmpty:!y&&0===(null==C?void 0:C.length),insertToTheFront:f,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!i.hasNextPage&&n&&m>=s&&m>0&&g(m-e);_(!0)},onAfterDeleteItem:function(){return eme(this,void 0,void 0,(function(){return tme(this,(function(t){switch(t.label){case 0:return i.hasNextPage?i.paginationToken!==2*e?[3,2]:[4,E()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,I(+i.paginationToken-e)];case 3:t.sent(),l(),t.label=4;case 4:return _(!1),[2]}}))}))}};function E(){return eme(this,void 0,void 0,(function(){var n,r;return tme(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=i.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(l(1),g(e)):(l(2),g(e)),[3,4];case 2:return r=i.sent(),rv.error(r),S(r),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function I(n){return eme(this,void 0,void 0,(function(){var r,i;return tme(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),_(!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(),rv.error(i),S(k),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}Vve({target:"Array",proto:!0},{flatMap:function(e){var t,n=tRe(this),r=nRe(n.length);return rRe(e),(t=iRe(n,0)).length=eRe(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),ube("flatMap");var aRe,sRe,lRe,cRe,uRe,dRe,fRe,pRe=function(r){var i=r.onNextClick,o=r.onPrevClick,a=r.hidePagination,l=r.disablePrevButton,c=r.disableNextButton,u=r.children,d=r.className,f=s(k6).theme.palette;return a?e(t,{children:u}):n(hRe,Zhe({className:d},{children:[e(gRe,{disabled:l,onClick:o,iconProps:{iconName:"ChevronUpSmall"},color:f.accent}),e(yRe,{children:u}),e(vRe,{disabled:c,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:f.accent})]}))},hRe=Te.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(aRe||(aRe=rme(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),mRe=Te(oxe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(sRe||(sRe=rme(["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"],["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"])),"#333333"),gRe=Te(mRe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(lRe||(lRe=rme(["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),vRe=Te(mRe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(cRe||(cRe=rme(["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),yRe=Te.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(uRe||(uRe=rme(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),20,15),bRe=a(null);Te.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(dRe||(dRe=rme(["\n width: 100%;\n"],["\n width: 100%;\n"]))),Te.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(fRe||(fRe=rme(["\n display: contents;\n"],["\n display: contents;\n"])));var wRe,xRe,_Re,ORe,kRe,SRe,CRe,ERe,IRe,TRe=De(wRe||(wRe=rme(["\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"]))),PRe=De(xRe||(xRe=rme(["\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"])),TRe,I6.medium,20),DRe=De(_Re||(_Re=rme(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"],["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),NRe=De(ORe||(ORe=rme(["\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"])),P6),ARe=function(r){var i=r.getInitialSelectedKey,o=r.bookmarkOption,a=r.manageChannelsOption,l=r.allChannelsOption,c=r.channelsOptions,u=Q0(),f=s(t7).channels,p=LS().formatMessage,h=function(){var e=[];l&&e.push({key:"AllChannels",text:p({id:"Channels.All"}),data:{pathname:l.to,iconName:"Org",exact:!0,onSelected:l.onSelected}});if(c){var t=(c.availableChannels?(f||[]).filter((function(e){return c.availableChannels.some((function(t){return e.id===t||e.name===t}))})):u.channels.filter((function(e){return e.isPinnedToNavigation}))).map((function(e){return e}));e=e.concat.apply(e,t.map((function(e){return function(e){var t;return{key:e.id,text:SDe(f,e,u),data:{pathname:null===(t=c.to)||void 0===t?void 0:t.call(c,e),iconName:"Org",exact:!1,channelName:e.name,onSelected:c.onSelected?function(){return c.onSelected(e)}:null}}}(e)})))}o&&e.push({key:"Bookmarks",text:p({id:"Generic.bookmarks"}),data:{pathname:o.to,iconName:"DoubleBookmark",exact:!0,onSelected:o.onSelected}});a&&e.push({key:"ManageChannels",text:p({id:"PageMenu.manageUserChannels"}),data:{pathname:a.to,iconName:"CollapseMenu",exact:!0,onSelected:a.onSelected}});return e}(),m=d((function(){return(null==i?void 0:i(h))||"AllChannels"})),g=m[0],v=m[1];return n(t,{children:[e(RRe,{}),e(MRe,{options:h,onRenderOption:function(t){if(t.data.onSelected)return n(LRe,{children:[e(j,{iconName:t.data.iconName}),e("span",{children:t.text})]},t.key);return n(jRe,Zhe({to:t.data.pathname,exact:t.data.exact,isActive:t.key===g?function(){return!0}:void 0},{children:[e(j,{iconName:t.data.iconName}),e("span",{children:t.text})]}),t.key)},selectedKey:g,onChange:function(e,t){var n,r;v(t.key.toString()),null===(r=null===(n=t.data)||void 0===n?void 0:n.onSelected)||void 0===r||r.call(n)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:p({id:"AriaLabel.toolbarChannelSelector"})})]})},RRe=Pe(kRe||(kRe=rme(["\n ","\n"],["\n ","\n"])),NRe),MRe=Te(XCe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(SRe||(SRe=rme(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),PRe),jRe=Te(ke).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(CRe||(CRe=rme(["\n ","\n"],["\n ","\n"])),DRe),LRe=Te.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(ERe||(ERe=rme(["\n ",";\n"],["\n ",";\n"])),DRe),zRe=function(t){var n=t.handler,r=t.disabled;return B0().unreadTracking?e(vPe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:r,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0}):null},FRe=function(t){var n=t.onClick,r=B0(),i=d(!1),o=i[0],a=i[1];return r.unreadTracking?e(vPe,{tooltipResourceKey:"Generic.toggleUnreadTooltip",iconName:"view",onClick:function(){a(!o),n()},ariaLabelResourceKey:"Generic.toggleUnreadTooltip","data-unread-toggler":!0,isActive:o}):null},QRe=function(t){var n=t.onClick,r=t.to,i=t.disabled;return e(vPe,{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"})},BRe=function(t){var n=t.onClick,r=t.to;return e(vPe,{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})};!function(e){e.UpcomingEvents="upcoming",e.MyBookedEvents="booked",e.PastEvents="past"}(IRe||(IRe={}));var URe,WRe,qRe,$Re=function(r){var i=r.value,o=r.onChange,a=r.viewOptions,s=LS().formatMessage,l=function(){var e=[];(null==a?void 0:a.hideUpcomingEventsView)||e.push({key:IRe.UpcomingEvents,text:s({id:"Events.upcoming"}),data:{iconName:"Event"}});(null==a?void 0:a.hideMyBookedEventsView)||e.push({key:IRe.MyBookedEvents,text:s({id:"Events.myEvents"}),data:{iconName:"PrimaryCalendar"}});(null==a?void 0:a.hidePastEventsView)||e.push({key:IRe.PastEvents,text:s({id:"Events.pastEvents"}),data:{iconName:"RemoveEvent"}});return e}();return n(t,{children:[e(VRe,{}),e(KRe,{options:l,onRenderOption:function(t){return n(HRe,{children:[e(j,{iconName:t.data.iconName}),e("span",{children:t.text})]},t.key)},selectedKey:l.length>0?i||l[0].key:void 0,onChange:function(e,t){return o(t.key)},calloutProps:{className:"content-toolbar-dropdown"},responsiveMode:oe.large,ariaLabel:s({id:"Events.chromelessDropdown"})})]})},VRe=Pe(URe||(URe=rme(["\n ","\n"],["\n ","\n"])),NRe),KRe=Te(XCe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(WRe||(WRe=rme(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),PRe),HRe=Te.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(qRe||(qRe=rme(["\n ",";\n"],["\n ",";\n"])),DRe);function GRe(){var e=jW(),t=e.createApiUrl,n=e.fetchFromApi,r=s(DO).onRequestToken;return l((function(){return{uploadImage:function(e,t,i,o,a){return eme(this,void 0,void 0,(function(){var s,l,c;return tme(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image.".concat(U$.getExtension(a.type))),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}},[2,n("".concat(e,"/attachments/").concat(o,"/images/").concat(i),c)]}}))}))},uploadFile:function(e,t,i,o,a){return eme(this,void 0,void 0,(function(){var s,l,c;return tme(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}},[2,n("".concat(e,"/attachments/").concat(o,"/files/").concat(i),c)]}}))}))},getFileUrl:function(e,n,r,i,o){if(null!=o||(o=r.fileAccessToken),!o)return null;return t("".concat(e,"/attachments/").concat(r.attachmentContainerId,"/files/").concat(i),{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)},getChatMessageImageUrl:function(t,n,r,i,o,a){return e(t,n,r.fileAccessToken,r.attachmentContainerId,i,o,a)}};function e(e,n,r,i,o,a,s){var l;return l=null==a?"".concat(e,"/attachments/").concat(i,"/images/").concat(o):"default"===a?"".concat(e,"/attachments/").concat(i,"/images/").concat(o,"/default"):"".concat(e,"/attachments/").concat(i,"/images/").concat(o,"/").concat(a,"/").concat(s||""),t(l,{subscriptionId:n,access_token:r})}}),[r,n,t])}function YRe(){var e=LW();return l((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return eme(this,void 0,void 0,(function(){var t;return tme(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return t=r.sent(),[2,_2.apply(void 0,nme([e],t,!1))]}}))}))},resolveActiveLanguages:function(e){return eme(this,void 0,void 0,(function(){return tme(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 eme(this,void 0,void 0,(function(){var t;return tme(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])}var XRe,ZRe=Pe(XRe||(XRe=rme(["\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"])));function JRe(){var e=jW().createApiUrl;return l((function(){return{getVideoThumbnailUrl:function(t,n,r,i){return e("/videos/".concat(i,"/thumbnail"),{access_token:t,subscriptionId:n,videoSource:r})},getBannerVideoThumbnailUrl:function(t,n,r,i){return e("/".concat(i,"/").concat(n,"/videos/banner/thumbnail"),{access_token:t,subscriptionId:r})}}}),[e])}var eMe,tMe,nMe,rMe,iMe,oMe,aMe,sMe,lMe,cMe,uMe,dMe,fMe,pMe=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}(),hMe=function(t){var n=B0(),r=d(null),i=r[0],o=r[1],a=n2().getUserAvatarUrl;if(l7(pMe.type,(function(e){return e.upn===t.upn&&l(t.upn,t.tenantId),!1}),[t.upn]),u((function(){var e=l(t.upn,t.tenantId);return function(){return null==e?void 0:e.unsubscribe()}}),[t.upn]),!n.avatars)return null;var s=gO(t.text||t.displayName||t.upn);return e(mMe,Zhe({},t,{"data-avatar":!0,text:t.text,imageUrl:i,imageShouldFadeIn:!1,imageInitials:s,initialsColor:vO(s),secondaryText:L1(t.secondaryText)?null:t.secondaryText}));function l(e,t){return null==e?(o(null),null):a(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},mMe=Te(Q).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(eMe||(eMe=rme(["\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"]))),gMe=function(t){var r=t.className,i=t.iconName,o=t.tooltipResourceKey,a=t.tooltipText,s=t.children;return s?n(yMe,Zhe({className:r},{children:[i&&e(Xwe,Zhe({resourceKey:o,text:a},{children:e(vMe,{iconName:i},"icon")})),s]})):null},vMe=Te(j).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(tMe||(tMe=rme(["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"]))),yMe=Te.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(nMe||(nMe=rme(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),bMe=function(t){var n=t.email;return L1(n)?null:e(gMe,Zhe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:e(EMe,Zhe({href:"mailto:".concat(n)},{children:n}))}))},wMe=function(t){var n=t.value,r=LS().formatMessage;return null==n?null:e(gMe,Zhe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:e(EMe,Zhe({href:"tel:".concat(n)},{children:r({id:"Generic.callMobile"},{number:n})}))}))},xMe=function(n){var r=n.value,i=LS().formatMessage;return null==r?null:e(t,{children:(r="string"==typeof r?[r]:r).map((function(t,n){return e(gMe,Zhe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:e(EMe,Zhe({href:"tel:".concat(t)},{children:i({id:"Generic.callOffice"},{number:t})}))}),t+n)}))})},_Me=function(n){var r=n.value,i=n.tooltipResourceKey,o=B0();return null==r?null:e(gMe,Zhe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:o.userLocationLookup?e(EMe,Zhe({target:"_blank",rel:"noopener noreferrer",href:gCe(r)},{children:r})):e(t,{children:r})}))},OMe=function(t){var n=t.value;return null==n?null:e(gMe,Zhe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}))},kMe=function(t){var n=t.value;return null==n?null:e(gMe,Zhe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}))},SMe=function(t){var n=t.value,r=K5().buildPath,i=B0();if(!(null==n?void 0:n.userId)||!i.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return e(gMe,Zhe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:e(IMe,Zhe({to:"".concat(r("chats/new"),"?").concat(Hg.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName}))},{children:e(nC,{id:"Generic.sendChatMessage"})}))}))},CMe=De(rMe||(rMe=rme(["\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})),EMe=Te.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(iMe||(iMe=rme(["\n ","\n"],["\n ","\n"])),CMe),IMe=Te(Oe).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(oMe||(oMe=rme(["\n ","\n"],["\n ","\n"])),CMe),TMe={mobilePhone:wMe,department:OMe,address:_Me},PMe=function(t){var n=t.className,r=t.value,i=t.definition,o=function(){var e=Q0(),t=LS().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(r){var i=z_(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.".concat(r.name)})||r.name},getPropertyIcon:function(e){var t,r;return null!==(r=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==r?r:"UserOptional"}}}(),a=o.getPropertyLabel,s=o.getPropertyIcon;if(null==r)return null;var l=a(i),c=s(i),u=TMe[i.name];return u?w(u,{value:r}):e(gMe,Zhe({iconName:c,tooltipText:l,className:n},{children:r}))},DMe=function(r){var i,o,a,s,l,c=r.user,u=r.ignoredProperties,d=void 0===u?[]:u;return n(t,{children:[!d.includes("department")&&e(OMe,{value:null===(i=c.properties)||void 0===i?void 0:i.department}),!d.includes("jobTitle")&&e(kMe,{value:null===(o=c.properties)||void 0===o?void 0:o.jobTitle}),!d.includes("mobilePhone")&&e(wMe,{value:null===(a=c.properties)||void 0===a?void 0:a.mobilePhone}),!d.includes("businessPhones")&&e(xMe,{value:null===(s=c.properties)||void 0===s?void 0:s.businessPhones}),!d.includes("chatMessage")&&e(SMe,{value:c}),!d.includes("officeLocation")&&e(_Me,{value:null===(l=c.properties)||void 0===l?void 0:l.officeLocation})]})},NMe=function(r){var i=r.user,o=r.ignoredProperties,a=void 0===o?[]:o,s=Q0();return n(t,{children:[!a.includes("chatMessage")&&e(SMe,{value:i}),s.subscription.userPropertyDefinitions.filter((function(e){return!a.includes(e.name)})).map((function(t){var n;return e(PMe,{definition:t,value:null===(n=i.properties)||void 0===n?void 0:n[t.name]},t.name)}))]})},AMe=["displayName","department","jobTitle"],RMe=function(t){var r,i=t.upn,o=t.showAvatar,a=t.id,s=n2(),l=s.getUserInfo,c=s.getUserInfoById,u=SO((function(){return i?l(i):c(a)}),null,[i,a]),d=u[0],f=u[1];if(u[2])return e(MMe,{children:e(nC,i?{id:"Profile.CannotLoadInfo",values:{upn:i}}:{id:"Profile.CannotLoadInfoByUserId"})});if(f)return e(zMe,{});var p=o?AMe:[];return n(jMe,Zhe({"data-user-details":!0},{children:[o&&e(hMe,{upn:d.userPrincipalName,size:G.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle}),n(LMe,{children:[e(bMe,{email:null!==(r=d.mail)&&void 0!==r?r:d.userPrincipalName}),d.isDirectoryUser?e(DMe,{user:d,ignoredProperties:p}):e(NMe,{user:d,ignoredProperties:p})]})]}))},MMe=Te.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(aMe||(aMe=rme(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),jMe=Te.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(sMe||(sMe=rme(["\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),LMe=Te.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(lMe||(lMe=rme(["\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),zMe=Te(_Ee).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(cMe||(cMe=rme(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),FMe=function(r){var i=r.upn,o=r.className,a=r.children,s=r.readOnly,l=r.domIdentifier,u=c(null),f=Q0(),p=d(!1),h=p[0],m=p[1];return s?e(BMe,Zhe({className:o},{children:a})):n(t,{children:[e(BMe,Zhe({ref:u,className:o},{children:e(UMe,Zhe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),m(!h)},ariaLabel:i},{children:a}),"children")})),h&&!f.isPublicUser&&e(ICe,Zhe({className:"persona-card-callout",directionalHint:H.bottomCenter,isBeakVisible:!0,onDismiss:function(){return m(!1)},target:u.current},{children:e(QMe,{children:e(RMe,{upn:i,showAvatar:!0})})}),"callout")]})},QMe=Te.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(uMe||(uMe=rme(["\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,I6.medium),BMe=Te.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(dMe||(dMe=rme(["\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"]))),UMe=Te(N).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(fMe||(fMe=rme(["\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 WMe(){return WMe=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},WMe.apply(this,arguments)}var qMe=function(e){return i.createElement("svg",WMe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),i.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),i.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),i.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function $Me(){return $Me=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},$Me.apply(this,arguments)}var VMe=function(e){return i.createElement("svg",$Me({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),i.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),i.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function KMe(){return KMe=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},KMe.apply(this,arguments)}var HMe,GMe,YMe,XMe,ZMe,JMe,eje=function(e){return i.createElement("svg",KMe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),i.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),i.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),i.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),i.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),i.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},tje=function(t){var n=t.info,r="number"==typeof n;return e(nje,Zhe({isNumber:r,"data-badge-info":n},{children:e(rje,Zhe({isNumber:r},{children:"number"==typeof n&&n}))}))},nje=Te.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(YMe||(YMe=rme(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?De(HMe||(HMe=rme(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):De(GMe||(GMe=rme(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),rje=Te.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(ZMe||(ZMe=rme(["\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 De(XMe||(XMe=rme(["\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 ije(){return ije=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},ije.apply(this,arguments)}var oje,aje=function(e){return i.createElement("svg",ije({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),JMe||(JMe=i.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function sje(t){return e(hje,Zhe({"data-page-alert":!0},{children:n(mje,{children:[t.errorType&&e(gje,Zhe({onClick:t.onClick},{children:t.errorType===oje.LoginError?e(VMe,{}):t.errorType===oje.GenericError?e(qMe,{}):t.errorType===oje.Error403?e(eje,{}):e(mTe,{})})),e(vje,{children:t.alertText}),e(yje,{children:t.children})]})}))}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(oje||(oje={}));var lje,cje,uje,dje,fje,pje,hje=Te.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(lje||(lje=rme(["\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})),mje=Te.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(cje||(cje=rme(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),gje=Te.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(uje||(uje=rme(["\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}),P6),vje=Te.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(dje||(dje=rme(["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"],["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"])),32,(function(e){return e.theme.palette.accent})),yje=Te.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(fje||(fje=rme(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),bje=Te.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(pje||(pje=rme(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),wje={exports:{}},xje=Object.getOwnPropertySymbols,_je=Object.prototype.hasOwnProperty,Oje=Object.prototype.propertyIsEnumerable;function kje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Sje=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=kje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))_je.call(n,a)&&(i[a]=n[a]);if(xje){r=xje(n);for(var s=0;s<r.length;s++)Oje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},Cje=Function.call.bind(Object.prototype.hasOwnProperty),Eje=function(){};if("production"!==process.env.NODE_ENV){var Ije="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Tje={},Pje=Cje;Eje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Dje(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(Pje(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,Ije)}catch(e){a=e}if(!a||a instanceof Error||Eje((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 Tje)){Tje[a.message]=!0;var l=i?i():"";Eje("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}Dje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Tje={})};var Nje=Ie,Aje=Sje,Rje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Mje=Cje,jje=Dje,Lje=function(){};function zje(){return null}"production"!==process.env.NODE_ENV&&(Lje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function Fje(){}function Qje(){}Qje.resetWarningCache=Fje;if("production"!==process.env.NODE_ENV){var Bje=Ie;wje.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(zje),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,o+"["+l+"]",Rje);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+d(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return Nje.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var l=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+l+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return u(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(Mje(s,c)){var u=e(s,c,r,i,o+"."+c,Rje);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Lje(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."),zje;function t(t,n,r,i,s){for(var l=t[n],c=0;c<e.length;c++)if(o(l,e[c]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===f(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(l)+"` supplied to `"+r+"`, expected one of "+u+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Lje("Invalid argument supplied to oneOfType, expected an instance of array."),zje;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return Lje("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+t+"."),zje}return s((function(t,n,r,i,o){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,r,i,o,Rje);if(null==c)return null;c.data&&Mje(c.data,"expectedType")&&s.push(c.data.expectedType)}return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var p=e[u];if("function"!=typeof p)return c(r,i,o,u,f(p));var h=p(s,u,r,i,o+"."+u,Rje);if(h)return h}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");var u=Aje({},t[n],e);for(var p in u){var h=e[p];if(Mje(e,p)&&"function"!=typeof h)return c(r,i,o,p,f(h));if(!h)return new a("Invalid "+i+" `"+o+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(s,p,r,i,o+"."+p,Rje);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},i=0;function o(o,s,l,c,u,d,f){if(c=c||r,d=d||l,f!==Rje){if(t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!n[h]&&i<3&&(Lje("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[l]?o?null===s[l]?new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,u,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,r,i,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+i+" `"+o+"` of type `"+f(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function c(e,t,n,r,i){return new a((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!u(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function f(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function p(e){var t=f(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=jje,i.resetWarningCache=jje.resetWarningCache,i.PropTypes=i,i}(Bje.isElement,!0)}else wje.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:Qje,resetWarningCache:Fje};return n.PropTypes=n,n}();var Uje=wje.exports,Wje=Object.freeze({__proto__:null,useCurrentUser:Q0,useAccountApi:n2,useAuthenticationContext:NO,useEnvironmentConfig:jg,useNotificationContext:F6,usePromise:SO,LinkContext:sC,TextLink:dPe,logger:rv,createId:ov,ResourceContext:mC,usePluginSettings:function(){var e=s(Z5).settings;return null!=e?e:{}},usePluginStorage:n4,usePluginDeviceStore:n4,usePluginSubscriptionStore:function(){return s(Z5).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=s(Z5).subscriptionStore,i=SO((function(){return r.get(e).catch(i4)}),void 0,WK(WK([],t||[],!0),[e],!1)),o=i[0],a=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return BK(n,void 0,void 0,(function(){var n;return UK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),i4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:l,refresh:u,remove:function(){return BK(n,void 0,void 0,(function(){var t;return UK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),i4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return s(Z5).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=s(Z5).userStore,i=SO((function(){return r.get(e).catch(i4)}),void 0,WK(WK([],t||[],!0),[e],!1)),o=i[0],a=i[1],l=i[2],c=i[3],u=i[4];return{data:o,set:function(t){return BK(n,void 0,void 0,(function(){var n;return UK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),i4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:a,error:l,refresh:u,remove:function(){return BK(n,void 0,void 0,(function(){var t;return UK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),i4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Mg().apiEndpoint}},AccountType:x0,PeoplePicker:gxe,GutterToggle:axe,EditorSettingsDialog:ixe,Spinner:E,SelectionMode:ee,EditorHighlight:Jwe,useTheme:function(){return s(k6).theme},useSubscriptionHandlePathBuilder:K5,useSubscriptionWebAppUrl:H5});var qje,$je,Vje=[{name:"@reach/core",packageDefinition:Zhe({default:{}},Wje)}],Kje=[{name:"react",packageDefinition:Zhe(Zhe({},o),{default:o})},{name:"react-dom",packageDefinition:Zhe(Zhe({},Fe),{default:Fe})},{name:"react-is",packageDefinition:Zhe(Zhe({},Ie),{default:Ie})},{name:"prop-types",packageDefinition:Zhe({default:Uje},Uje)},{name:"react-router-dom",packageDefinition:Zhe({},be)},{name:"styled-components",packageDefinition:{default:Te,createGlobalStyle:Pe,css:De,useTheme:Ae,isStyledComponent:Re,keyframes:Me,withTheme:je,ThemeProvider:Ne,ThemeContext:Le,ThemeConsumer:ze}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:B,Label:U,PrimaryButton:R,Icon:j,Link:P,TextField:A,ActionButton:N,IconButton:T,DefaultButton:M,Spinner:E,Dropdown:W,ProgressIndicator:q,Shimmer:$,ShimmerElementsGroup:V,ShimmerElementType:K,DirectionalHint:H,PersonaSize:G,TooltipHost:Y,DialogType:X,Dialog:ome}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:nC,useIntl:LS,FormattedDate:rC,FormattedTime:iC,IntlProvider:VS}},{name:"@apollo/client",packageDefinition:{default:{},gql:TM,useQuery:function(e,t){return HM(e,t,!1)},ApolloClient:xM,ApolloProvider:FM,from:XN,ApolloLink:YN,fromPromise:qN,split:ZN,HttpLink:aA,InMemoryCache:tM,useLazyQuery:function(e,t){return HM(e,t,!0)},useMutation:GM,ApolloError:rM,useApolloClient:QM,useSubscription:function(e,t){var n=p((function(e){return e+1}),0),r=n[1],i=s(LM()),o=t?Wa(Wa({},t),{subscription:e}):{subscription:e},a=d({loading:!o.skip,error:void 0,data:void 0}),l=a[0],f=a[1],h=c(),m=(h.current||(h.current=new qM({options:o,context:i,setResult:f})),h.current);return m.setOptions(o,!0),m.context=i,__DEV__&&KM(r),u((function(){return m.afterExecute()})),u((function(){return function(){m.cleanup(),h.current=void 0}}),[]),m.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:Zj}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:fL}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:FD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:YM}}],Hje=function(t){var n=t.color,r=t.onColorChange,i=t.className,o=d(n),a=o[0],s=o[1];return u((function(){s(n)}),[n]),e(Gje,Zhe({className:i},{children:e(le,{alphaType:"none",color:a,onChange:function(e,t){return function(e){s(e),null==r||r(e)}(t.str)}})}))},Gje=Te.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(qje||(qje=rme(["\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),Yje=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=l((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(n){return rv.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(DO.Provider,Wa({value:c},{children:r}))},Xje="0.5.0-preview.163",Zje="114391",Jje="167ac56a77cb2d94c78642c8070942d7f9679ec5",eLe=or,tLe=ar,nLe=Object.keys||function(e){return eLe(e,tLe)},rLe=Nt,iLe=Rt,oLe=nLe,aLe=Je?Object.defineProperties:function(e,t){iLe(e);for(var n,r=oLe(t),i=r.length,o=0;i>o;)rLe.f(e,n=r[o++],t[n]);return e},sLe=Rt,lLe=aLe,cLe=ar,uLe=hn,dLe=zi,fLe=xt,pLe=pn("IE_PROTO"),hLe=function(){},mLe=function(e){return"<script>"+e+"<\/script>"},gLe=function(){try{$je=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;gLe=$je?function(e){e.write(mLe("")),e.close();var t=e.parentWindow.Object;return e=null,t}($je):((t=fLe("iframe")).style.display="none",dLe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(mLe("document.F=Object")),e.close(),e.F);for(var n=cLe.length;n--;)delete gLe.prototype[cLe[n]];return gLe()};uLe[pLe]=!0;var vLe=Object.create||function(e,t){var n;return null!==e?(hLe.prototype=sLe(e),n=new hLe,hLe.prototype=null,n[pLe]=e):n=gLe(),void 0===t?n:lLe(n,t)},yLe=vLe,bLe=Nt,wLe=Hr("unscopables"),xLe=Array.prototype;null==xLe[wLe]&&bLe.f(xLe,wLe,{configurable:!0,value:yLe(null)});var _Le=Je,OLe=Ze,kLe=vt,SLe=Object.defineProperty,CLe={},ELe=function(e){throw e},ILe=er.includes,TLe=function(e){xLe[wLe][e]=!0},PLe=function(e,t){if(kLe(CLe,e))return CLe[e];t||(t={});var n=[][e],r=!!kLe(t,"ACCESSORS")&&t.ACCESSORS,i=kLe(t,0)?t[0]:ELe,o=kLe(t,1)?t[1]:void 0;return CLe[e]=!!n&&!OLe((function(){if(r&&!_Le)return!0;var e={length:-1};r?SLe(e,1,{enumerable:!0,get:ELe}):e[1]=1,n.call(e,i,o)}))};Ar({target:"Array",proto:!0,forced:!PLe("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return ILe(this,e,arguments.length>1?arguments[1]:void 0)}}),TLe("includes");var DLe=pt,NLe=at,ALe=Hr("match"),RLe=function(e){var t;return DLe(e)&&(void 0!==(t=e[ALe])?!!t:"RegExp"==NLe(e))},MLe=Hr("match"),jLe=function(e){if(RLe(e))throw TypeError("The method doesn't accept regular expressions");return e},LLe=ct,zLe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[MLe]=!1,"/./"[e](t)}catch(e){}}return!1};Ar({target:"String",proto:!0,forced:!zLe("includes")},{includes:function(e){return!!~String(LLe(this)).indexOf(jLe(e),arguments.length>1?arguments[1]:void 0)}});var FLe,QLe,BLe={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},ULe={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"}},WLe=["//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"],qLe=function(t){var n=t.children,r=Mg().apiEndpoint,i=l((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!WLe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return rv.info("Will use non prod client config..."),Wa({},BLe);return Wa(Wa({},BLe),ULe)}())}),[r]);return e(Vg.Provider,Wa({value:i},{children:n}))},$Le=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return $a(this,void 0,void 0,(function(){return Va(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),VLe=new $Le,KLe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(HLe,Wa({subscriptionId:r},{children:i})):e(t,{children:i})},HLe=function(n){var r=n.subscriptionId,i=n.children,o=s(DO).setToken,a=cC(),c=function(){var e=jW().fetchFromApi,t=LW();return l((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/".concat(t)).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,u=jW().fetchFromApi,d=s(aC),f=d.handleFatalError,p=d.handleAccessDeniedError,h=SO((function(){return $a(this,void 0,void 0,(function(){var e,t,n;return Va(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,c(r)];case 2:return i.sent().allowPublicAccess?[4,b(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]),m=h[0],g=h[1],v=h[2];if(v)return rv.error(v),f({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription ".concat(r,"!")};return rv.error(y.message),p({error:y}),null}return e(t,{children:i});function b(e){return u("/subscriptions/".concat(e,"/public_access_token")).then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},GLe=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],u=d(),f=u[0],p=u[1],h=l((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:p}}),[o,c,p]);return e(aC.Provider,Wa({value:h},{children:e(YLe,Wa({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}))}))},YLe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(XLe,{messageId:r.messageId,error:r.error}):i?e(XLe,{messageId:"AccessDenied.genericMessage",error:i.error}):o?e(XLe,{messageId:"NotFound.message"}):e(t,{children:a})},XLe=function(t){var r=t.messageId,i=t.error,o=LS().formatMessage,a=d(!1),s=a[0],l=a[1];return e(sje,Wa({errorType:oje.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&n(ZLe,{children:[e(nC,{id:"Generic.error.details"}),e(JLe,{children:JSON.stringify(i)||"Not provided"})]})}))},ZLe=Te.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(FLe||(FLe=es(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),JLe=Te.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(QLe||(QLe=es(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),eze=function(t){var n=t.children,r=H5(),i=l((function(){return{onShare:function(){return $a(void 0,void 0,void 0,(function(){return Va(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(sC.Provider,Wa({value:i},{children:n}));function o(e){window.open(e,"_blank")}function a(e){window.open("".concat(r).concat(e))}},tze=function(){return null},nze=Object.freeze({__proto__:null,Page:tze,NavLinkSidebarItem:tze,PageMenuActionItem:tze});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: ".concat(Xje," (").concat(Zje,") [").concat(Jje,"]")),window.__did_initialize_reach_context)return;ce()}();var rze=function(r){var i,o,a,c,d=null!=s(Rg);u((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(e4.apply(void 0,nme(["ReachCorePackages"],nme(nme([],Kje,!0),Vje,!0),!1)),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Wa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Wa({default:{}},nze)}],e4.apply(void 0,Za(["ReachComponentLibraryPackages"],t,!1))))}),[]);var f=l((function(){var e,t,n,i,o,a,s,l;return{env:{deviceInfo:{},version:Xje,commitId:Jje,buildId:Zje},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"}}}),[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===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint]);return d?(rv.warn("A ReachContext already exists. Ignoring the given context: ".concat(JSON.stringify(Wa({subscriptionId:r.subscriptionId},r.config),null,2))),e(t,{children:r.children})):e("div",Wa({className:JK},{children:e(Rg.Provider,Wa({value:f},{children:e(Se,{children:e(lC.Provider,Wa({value:VLe},{children:e(qLe,{children:e(y0,Wa({language:r.language},{children:e(S6,Wa({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(GLe,{children:e(Yje,Wa({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(fC,Wa({subscriptionId:r.subscriptionId},{children:e(KLe,Wa({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(eze,{children:e(FT.Provider,Wa({value:{hideChrome:!1}},{children:e(ize,{children:e(kq,Wa({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(M5,{children:e(i7,{children:n(V6,{children:[e(Y6,{}),e(pxe,{}),e(oze,{}),n(Ce,{children:[e(Ee,{path:"/:subscriptionHandleOrId",render:function(){return r.children}}),e(Ee,{render:function(){return r.children}})]})]})})})}))})}))})}))}))}))})}))}))})}))})}))}))},ize=function(t){var n,r=t.children,i=s(k6).setTheme,o=s(mC).changeSettings,a=r2().getCurrentUser,c=SO((function(){var e,t;return $a(this,void 0,void 0,(function(){var n,r,s,l;return Va(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,a()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&i(n.subscription.theme),r=z_(n.preferredUiLanguage,L_(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=EAe(n),o(r,s).then((function(){return null}),rv.error),[2,n];case 2:throw l=c.sent(),rv.error(l),l;case 3:return[2]}}))}))})),u=c[0],d=c[1],f=c[2],p=c[3],h=s(aC),m=h.handleFatalError,g=h.handleNotFoundError,v=h.handleAccessDeniedError,y=l((function(){return{user:u,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[u]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?v({error:f}):m({error:f}),null):d?null:null==u?(g({}),null):e(z0.Provider,Wa({value:y},{children:r}))},oze=function(){return u((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(GK,{}),e(ZK,{})]})};var aze=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,sze=/[\0-\x1F\x7F-\x9F]/,lze=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,cze=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 uze(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 dze(e){return Object.prototype.toString.call(e)}function fze(e){return"[object Function]"===dze(e)}function pze(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var hze={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var mze={"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}}},gze="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function vze(e){var t=e.re=function(e){var t={};return t.src_Any=aze.source,t.src_Cc=sze.source,t.src_Z=lze.source,t.src_P=cze.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]"===dze(e)}(n))return!function(e){return"[object RegExp]"===dze(e)}(n.validate)?fze(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(fze(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===dze(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(pze).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 yze(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 bze(e,t){var n=new yze(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function wze(e,t){if(!(this instanceof wze))return new wze(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||hze.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=uze({},hze,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=uze({},mze,e),this.__compiled__={},this.__tlds__=gze,this.__tlds_replaced__=!1,this.re={},vze(this)}wze.prototype.add=function(e,t){return this.__schemas__[e]=t,vze(this),this},wze.prototype.set=function(e){return this.__opts__=uze(this.__opts__,e),this},wze.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},wze.prototype.pretest=function(e){return this.re.pretest.test(e)},wze.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},wze.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(bze(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(bze(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},wze.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(),vze(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,vze(this),this)},wze.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},wze.prototype.onCompile=function(){};var xze=wze;function _ze(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 Oze(){return Oze=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},Oze.apply(this,arguments)}function kze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sze(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 Cze(e,t,n){return t&&Sze(e.prototype,t),n&&Sze(e,n),e}function Eze(e){return Eze="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},Eze(e)}function Ize(e){return Ize="function"==typeof Symbol&&"symbol"===Eze(Symbol.iterator)?function(e){return Eze(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Eze(e)},Ize(e)}function Tze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pze(e,t){return!t||"object"!==Ize(t)&&"function"!=typeof t?Tze(e):t}function Dze(e){return Dze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Dze(e)}function Nze(e,t){return Nze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Nze(e,t)}function Aze(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&&Nze(e,t)}function Rze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mze(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 jze(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 Lze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zze(e){return function(e){if(Array.isArray(e))return Lze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Lze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lze(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fze=function(e){return e===Object(e)?Object.keys(e):[]},Qze=function(e){return e===Object(e)?Object.values(e):[]};function Bze(e,t){var n=Object.assign({},e);return qze(e)&&qze(t)&&Fze(t).forEach((function(r){qze(t[r])&&r in e?n[r]=Bze(e[r],t[r]):Object.assign(n,w8({},r,t[r]))})),n}var Uze=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 Bze(e,t)}),e)},Wze=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},qze=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},$ze=function(e){return(e||[]).filter(Boolean)},Vze=function(e){return"&"===e[0]},Kze=function(e){return!Vze(e)},Hze=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},Gze=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Fze(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},Yze=function(e,t){for(var n=t.map(Hze),r=Fze(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(Hze(s))>=0)&&(i[s]=e[s])}return i},Xze=function e(t,n){for(var r=Uze.apply(void 0,[{},Wze(t,n)].concat(zze(Qze(Yze(t,n))))),i=Fze(r).filter(Vze),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=Uze({},r,l)):r[s]=l}return r};function Zze(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 Jze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zze(Object(n),!0).forEach((function(t){w8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var eFe=["animationName"],tFe=function(e){var t=e.style,n=e.className;return Jze(Jze({},t?{style:Gze(t,eFe)}:{}),n?{className:n}:{})},nFe=a(tFe);nFe.Provider;var rFe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return Fze(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},iFe={},oFe=function(e){return function(t,n){var r,i=n||iFe;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=rFe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function aFe(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 sFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aFe(Object(n),!0).forEach((function(t){w8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aFe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lFe=function(e){var t=e&&Fze(e)[0];return t&&t.split("__")[0].split("--")[0]},cFe=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(zze(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),zze(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(zze(i)):i}};function uFe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tFe,o=n||lFe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:oFe((function(e,n){var a=rFe(e);Yhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),Yhe(!n||qze(n),"Optional second parameter must be a plain object.");var s=a.filter(Vze),l=a.filter(Kze),c=l.length>0?function(e){return Qze(Yze(e,l))}:function(e){return[e]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(Xze(e,s))},d=cFe(o,l,s);return uFe(sFe(sFe(sFe({},(t||n)&&{style:Uze.apply(void 0,[{}].concat(zze(u(n)),zze(u(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=sFe({},"function"==typeof t?t:{style:t}),l=zze(new Set([].concat(zze(s.className?s.className.split(" "):[]),zze(o?o.split(" "):[])))),c=r?$ze(l.map((function(e){return r[e]}))):l,u=i(sFe(sFe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,u),a}function dFe(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 fFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dFe(Object(n),!0).forEach((function(t){w8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dFe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pFe=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 fFe(fFe(fFe({},e),"function"==typeof t?t:{}),{},{style:fFe(fFe({},e.style),"function"==typeof t?t.style:t)})}),{})},hFe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,a=s(nFe);return l((function(){return uFe({style:r,className:i,classNames:o},a)}),[r,i,o,a])(n,e)},mFe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},gFe="__id__",vFe="__display__",yFe=function(e,t){Yhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(vFe),r=e.indexOf(gFe);return n<0&&(n=null),r<0&&(r=null),Yhe(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},bFe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=Mze(t.exec(e.toString()),3),r=n[1],i=n[2];return Yhe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},wFe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},xFe=function(){},_Fe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xFe,o=bFe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=wFe(t)+1,n})),l=0,c=0;null!==(r=o.exec(e));){var u=s.find((function(e){return!!r[e]})),d=s.indexOf(u),f=t[d],p=f.markup,h=f.displayTransform,m=u+yFe(p,"id"),g=u+yFe(p,"display"),v=r[m],y=h(v,r[g]),b=e.substring(l,r.index);i(b,l,c),c+=b.length,n(r[0],r.index,c,v,y,d,l),c+=y.length,l=o.lastIndex}l<e.length&&i(e.substring(l),l,c)},OFe=function(e,t){var n="";return _Fe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},kFe=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,l,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return _Fe(e,t,a,o),void 0===r?e.length:r},SFe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},CFe=function(e,t){var n=[];return _Fe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},EFe=function(e,t){return"".concat(e,"-").concat(t)},IFe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},TFe=function(e){var t=mFe(e),n=e[e.indexOf(vFe)+vFe.length],r=e[e.indexOf(gFe)+gFe.length];return new RegExp(t.replace(vFe,"([^".concat(mFe(n||""),"]+?)")).replace(gFe,"([^".concat(mFe(r||""),"]+?)")))},PFe=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?DFe(r,n):TFe(n),displayTransform:i||function(e,t){return t||e}}}))},DFe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=wFe(t);return Yhe(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},NFe=[{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}],AFe=function(e){return function(e){var t=e;return NFe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},RFe=function(e,t,n){return n?AFe(e).indexOf(AFe(t)):e.toLowerCase().indexOf(t.toLowerCase())},MFe=function(e){return"number"==typeof e},jFe=function(e){return e===Object(e)?Object.keys(e):[]},LFe=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function zFe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,l=jze(r,["style","className","classNames"]),c=t?t(l):void 0,u=hFe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,Oze({},l,{style:u}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var FFe=function(e){function t(){var e;return kze(this,t),Rze(Tze(e=Pze(this,Dze(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return Aze(t,v),Cze(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,l=n.children,c=n.containerRef,u=PFe(l);r===i&&(e=kFe(a,u,r,"START"));var d=[],f={},p=d,h=0;return _Fe(a,u,(function(e,n,r,i,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,i);p.push(t.getMentionComponentForMatch(i,o,a,l))}),(function(n,r,i){if(MFe(e)&&e>=r&&e<=r+n.length){var o=e-r;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),o.createElement("div",Oze({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",Oze({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",Oze({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();Rze(FFe,"propTypes",{selectionStart:_V.number,selectionEnd:_V.number,value:_V.string.isRequired,onCaretPositionChange:_V.func.isRequired,containerRef:_V.oneOfType([_V.func,_V.shape({current:"undefined"==typeof Element?_V.any:_V.instanceOf(Element)})]),children:_V.oneOfType([_V.element,_V.arrayOf(_V.element)]).isRequired}),Rze(FFe,"defaultProps",{value:""});var QFe=zFe({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}}))(FFe),BFe=function(e){function t(){return kze(this,t),Pze(this,Dze(t).apply(this,arguments))}return Aze(t,v),Cze(t,[{key:"render",value:function(){var e=LFe(this.props,["style","classNames","className"],jFe(t.propTypes));return o.createElement("li",Oze({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,r=t.query,i=t.style,a=RFe(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();Rze(BFe,"propTypes",{id:_V.string.isRequired,query:_V.string.isRequired,index:_V.number.isRequired,ignoreAccents:_V.bool,suggestion:_V.oneOfType([_V.string,_V.shape({id:_V.oneOfType([_V.string,_V.number]).isRequired,display:_V.string})]).isRequired,renderSuggestion:_V.func,focused:_V.bool});var UFe=zFe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(BFe);function WFe(){var e=hFe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var qFe=function(e){function t(){var e,n;kze(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Rze(Tze(n=Pze(this,(e=Dze(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),Rze(Tze(n),"select",(function(e,t){n.props.onSelect(e,t)})),Rze(Tze(n),"setUlElement",(function(e){n.ulElement=e})),n}return Aze(t,v),Cze(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,l=e.position,c=e.left,u=e.top;return r?o.createElement("div",Oze({},pFe({position:l||"absolute",left:c,top:u},i),{onMouseDown:a,ref:s}),o.createElement("ul",Oze({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(_ze(t),_ze(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(UFe,{style:this.props.style("item"),key:"".concat(a,"-").concat($Fe(e)),id:EFe(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:l,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(WFe,{style:this.props.style("loadingIndicator")})}}]),t}();Rze(qFe,"propTypes",{id:_V.string.isRequired,suggestions:_V.object.isRequired,a11ySuggestionsListLabel:_V.string,focusIndex:_V.number,position:_V.string,left:_V.number,top:_V.number,scrollFocusedIntoView:_V.bool,isLoading:_V.bool,isOpened:_V.bool.isRequired,onSelect:_V.func,ignoreAccents:_V.bool,containerRef:_V.oneOfType([_V.func,_V.shape({current:"undefined"==typeof Element?_V.any:_V.instanceOf(Element)})]),children:_V.oneOfType([_V.element,_V.arrayOf(_V.element)]).isRequired}),Rze(qFe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var $Fe=function(e){return"string"==typeof e?e:e.id},VFe=zFe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(qFe);function KFe(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 HFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KFe(n,!0).forEach((function(t){Rze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var GFe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},YFe=!1,XFe={singleLine:_V.bool,allowSpaceInQuery:_V.bool,allowSuggestionsAboveCursor:_V.bool,forceSuggestionsAboveCursor:_V.bool,ignoreAccents:_V.bool,a11ySuggestionsListLabel:_V.string,value:_V.string,onKeyDown:_V.func,onSelect:_V.func,onBlur:_V.func,onChange:_V.func,suggestionsPortalHost:"undefined"==typeof Element?_V.any:_V.PropTypes.instanceOf(Element),inputRef:_V.oneOfType([_V.func,_V.shape({current:"undefined"==typeof Element?_V.any:_V.instanceOf(Element)})]),children:_V.oneOfType([_V.element,_V.arrayOf(_V.element)]).isRequired},ZFe=function(e){function t(e){var n;return kze(this,t),Rze(Tze(n=Pze(this,Dze(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),Rze(Tze(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return HFe({},LFe(n.props,["style","classNames","className"],jFe(XFe)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":EFe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),Rze(Tze(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),Rze(Tze(n),"renderInput",(function(e){return o.createElement("input",Oze({type:"text",ref:n.setInputRef},e))})),Rze(Tze(n),"renderTextarea",(function(e){return o.createElement("textarea",Oze({ref:n.setInputRef},e))})),Rze(Tze(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),Rze(Tze(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),Rze(Tze(n),"renderSuggestionsOverlay",(function(){if(!MFe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(VFe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?Qe.createPortal(a,n.props.suggestionsPortalHost):a})),Rze(Tze(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,l=i.value,c=i.style;return o.createElement(QFe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:l,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),Rze(Tze(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),Rze(Tze(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),Rze(Tze(n),"getPlainText",(function(){return OFe(n.props.value||"",PFe(n.props.children))})),Rze(Tze(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),Rze(Tze(n),"handleChange",(function(e){if(YFe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=PFe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=OFe(e,r),l=s.length-t.length;"undefined"===i&&(i=a+l),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),u=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+l));var f=kFe(e,r,u,"START"),p=kFe(e,r,d,"END"),h=kFe(e,r,u,"NULL"),m=kFe(e,r,d,"NULL"),g=null===h||null===m,v=SFe(e,f,p,c);if(!g){var y=OFe(v,r);if(y!==t){for(u=0;t[u]===y[u];)u++;c=t.slice(u,a),d=s.lastIndexOf(t.substring(a)),f=kFe(e,r,u,"START"),p=kFe(e,r,d,"END"),v=SFe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=OFe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,c=function(e,t,n){var r=n,i=!1;if(_Fe(e,t,(function(e,t,o,a,s,l,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var u=CFe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,u)}})),Rze(Tze(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!YFe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),Rze(Tze(n),"handleKeyDown",(function(e){if(0!==IFe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(GFe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case GFe.ESC:return void n.clearSuggestions();case GFe.DOWN:return void n.shiftFocus(1);case GFe.UP:return void n.shiftFocus(-1);case GFe.RETURN:case GFe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),Rze(Tze(n),"shiftFocus",(function(e){var t=IFe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),Rze(Tze(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(_ze(e),_ze(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),Rze(Tze(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),Rze(Tze(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),Rze(Tze(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),Rze(Tze(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),c=JFe(s,"font-size"),u={left:l.left+e.left,top:l.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var p=u.left,h=u.top;p-=JFe(a,"margin-left"),h-=JFe(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>m?f.left=Math.max(0,m-a.offsetWidth):f.left=p,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?f.top=Math.max(0,h-a.offsetHeight-c):f.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=g,i&&u.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-c-s.scrollTop?f.top=v-a.offsetHeight-c:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),Rze(Tze(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),Rze(Tze(n),"handleCompositionStart",(function(){YFe=!0})),Rze(Tze(n),"handleCompositionEnd",(function(){YFe=!1})),Rze(Tze(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),Rze(Tze(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=PFe(i),s=kFe(r,a,t,"NULL");if(null!==s){var l=function(e,t){var n=CFe(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(l,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=mFe(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=l+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),Rze(Tze(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),Rze(Tze(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,l=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;RFe(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,l),u=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));u instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,u)})),Rze(Tze(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=HFe({},n.suggestions,Rze({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,c=IFe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=c?Math.max(c-1,0):l})}})),Rze(Tze(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,l=t.plainTextValue,c=n.props.value||"",u=PFe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=kFe(c,u,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(gFe,t).replace(vFe,n)}(f,r,i);m&&(b+=" ");var w=SFe(c,v,y,b);n.inputElement.focus();var x=p(r,i);m&&(x+=" ");var _=a+x.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var O={target:{value:w}},k=CFe(w,u),S=SFe(l,a,s,x);n.executeOnChange(O,w,S,k),g&&g(r,i,v,y),n.clearSuggestions()})),Rze(Tze(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),Rze(Tze(n),"isOpened",(function(){return MFe(n.state.selectionStart)&&(0!==IFe(n.state.suggestions)||n.isLoading())})),Rze(Tze(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(Tze(n)),n.handleCut=n.handleCut.bind(Tze(n)),n.handlePaste=n.handlePaste.bind(Tze(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return Aze(t,o.Component),Cze(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return o.createElement("div",Oze({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=PFe(a),l=kFe(o,s,n,"START"),c=kFe(o,s,r,"END"),u=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=SFe(o,l,c,u||d).replace(/\r/g,""),p=OFe(f,s),h={target:HFe({},e.target,{value:f})};this.executeOnChange(h,f,p,CFe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=PFe(o),l=kFe(a,s,n,"START"),c=kFe(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(l,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=PFe(o),l=kFe(a,s,n,"START"),c=kFe(a,s,r,"END"),u=[a.slice(0,l),a.slice(c)].join(""),d=OFe(u,s),f={target:HFe({},e.target,{value:d})};this.executeOnChange(f,u,d,CFe(a,s))}}}]),t}();Rze(ZFe,"propTypes",XFe),Rze(ZFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var JFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},eQe=zFe({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:HFe({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}}))(ZFe),tQe={fontWeight:"inherit"},nQe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=hFe(tQe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};nQe.propTypes={onAdd:_V.func,onRemove:_V.func,renderSuggestion:_V.func,trigger:_V.oneOfType([_V.string,_V.instanceOf(RegExp)]),markup:_V.string,displayTransform:_V.func,allowSpaceInQuery:_V.bool,isLoading:_V.bool},nQe.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 rQe=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 iQe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=rQe.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 oQe=[".DS_Store","Thumbs.db"];function aQe(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?lQe(e.dataTransfer,e.type):sQe(e))];var n}))}))}function sQe(e){return(null!==e.target&&e.target.files?uQe(e.target.files):[]).map((function(e){return iQe(e)}))}function lQe(e,t){return $a(this,void 0,void 0,(function(){var n;return Va(this,(function(r){switch(r.label){case 0:return e.items?(n=uQe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(dQe))]):[3,2];case 1:return[2,cQe(fQe(r.sent()))];case 2:return[2,cQe(uQe(e.files).map((function(e){return iQe(e)})))]}}))}))}function cQe(e){return e.filter((function(e){return-1===oQe.indexOf(e.name)}))}function uQe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function dQe(e){if("function"!=typeof e.webkitGetAsEntry)return pQe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?mQe(t):pQe(e)}function fQe(e){return e.reduce((function(e,t){return Ya(e,Array.isArray(t)?fQe(t):[t])}),[])}function pQe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=iQe(t);return Promise.resolve(n)}function hQe(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){return[2,e.isDirectory?mQe(e):gQe(e)]}))}))}function mQe(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return $a(o,void 0,void 0,(function(){var o,a,s;return Va(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(hQe)),r.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function gQe(e){return $a(this,void 0,void 0,(function(){return Va(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=iQe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function vQe(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 yQe(e,t,n){if(bQe(e.size)){if(bQe(t)&&bQe(n))return e.size>=t&&e.size<=n;if(bQe(t))return e.size>=t;if(bQe(n))return e.size<=n}return!0}function bQe(e){return null!=e}function wQe(e,t,n,r){return e.every((function(e){return vQe(e,t)&&yQe(e,n,r)}))}function xQe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function _Qe(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 OQe(e){e.preventDefault()}function kQe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function SQe(e){return-1!==e.indexOf("Edge/")}function CQe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return kQe(e)||SQe(e)}function EQe(){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!xQe(e)&&t&&t.apply(void 0,[e].concat(r)),xQe(e)}))}}function IQe(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 TQe(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 PQe(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 DQe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PQe(n,!0).forEach((function(t){NQe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PQe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NQe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AQe(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 RQe=x((function(e,t){var n=e.children,r=jQe(AQe(e,["children"])),i=r.open,a=AQe(r,["open"]);return O(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(DQe({},a,{open:i})))}));RQe.displayName="Dropzone",RQe.propTypes={children:_V.func,accept:_V.oneOfType([_V.string,_V.arrayOf(_V.string)]),multiple:_V.bool,preventDropOnDocument:_V.bool,noClick:_V.bool,noKeyboard:_V.bool,noDrag:_V.bool,noDragEventsBubbling:_V.bool,minSize:_V.number,maxSize:_V.number,disabled:_V.bool,getFilesFromEvent:_V.func,onFileDialogCancel:_V.func,onDragEnter:_V.func,onDragLeave:_V.func,onDragOver:_V.func,onDrop:_V.func,onDropAccepted:_V.func,onDropRejected:_V.func};var MQe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function jQe(){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?aQe:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,_=e.onDropRejected,O=e.onFileDialogCancel,k=e.preventDropOnDocument,S=void 0===k||k,C=e.noClick,E=void 0!==C&&C,I=e.noKeyboard,T=void 0!==I&&I,P=e.noDrag,D=void 0!==P&&P,N=e.noDragEventsBubbling,A=void 0!==N&&N,R=c(null),M=c(null),j=p(LQe,MQe),L=TQe(j,2),z=L[0],F=L[1],Q=z.isFocused,B=z.isFileDialogActive,U=z.draggedFiles,W=f((function(){M.current&&(F({type:"openDialog"}),M.current.value=null,M.current.click())}),[F]),q=function(){B&&setTimeout((function(){M.current&&(M.current.files.length||(F({type:"closeDialog"}),"function"==typeof O&&O()))}),300)};u((function(){return window.addEventListener("focus",q,!1),function(){window.removeEventListener("focus",q,!1)}}),[M,B,O]);var $=f((function(e){R.current&&R.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),W()))}),[R,M]),V=f((function(){F({type:"focus"})}),[]),K=f((function(){F({type:"blur"})}),[]),H=f((function(){E||(CQe()?setTimeout(W,0):W())}),[M,E]),G=c([]),Y=function(e){R.current&&R.current.contains(e.target)||(e.preventDefault(),G.current=[])};u((function(){return S&&(document.addEventListener("dragover",OQe,!1),document.addEventListener("drop",Y,!1)),function(){S&&(document.removeEventListener("dragover",OQe),document.removeEventListener("drop",Y))}}),[R,S]);var X=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(IQe(G.current),[e.target])),_Qe(e)&&Promise.resolve(o(e)).then((function(t){xQe(e)&&!A||(F({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,A]),Z=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return _Qe(e)&&b&&b(e),!1}),[b,A]),J=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=G.current.filter((function(t){return t!==e.target&&R.current&&R.current.contains(t)}));G.current=t,t.length>0||(F({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),_Qe(e)&&y&&y(e))}),[R,y,A]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),G.current=[],F({type:"reset"}),_Qe(e)&&Promise.resolve(o(e)).then((function(n){if(!xQe(e)||A){var r=[],i=[];n.forEach((function(e){vQe(e,t)&&yQe(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,IQe(r.splice(0))),F({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),w&&w(r,i,e),i.length>0&&_&&_(i,e),r.length>0&&x&&x(r,e)}}))}),[g,t,h,s,o,w,x,_,A]),te=function(e){return r?null:e},ne=function(e){return T?null:te(e)},re=function(e){return D?null:te(e)},ie=function(e){A&&e.stopPropagation()},oe=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,f=AQe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return DQe(NQe({onKeyDown:ne(EQe(i,$)),onFocus:ne(EQe(o,V)),onBlur:ne(EQe(a,K)),onClick:te(EQe(s,H)),onDragEnter:re(EQe(l,X)),onDragOver:re(EQe(c,Z)),onDragLeave:re(EQe(u,J)),onDrop:re(EQe(d,ee))},n,R),r||T?{}:{tabIndex:0},{},f)}}),[R,$,V,K,H,X,Z,J,ee,T,D,r]),ae=f((function(e){e.stopPropagation()}),[]),se=l((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=AQe(e,["refKey","onChange","onClick"]),s=NQe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(EQe(i,ee)),onClick:te(EQe(o,ae)),autoComplete:"off",tabIndex:-1},r,M);return DQe({},s,{},a)}}),[M,t,g,ee,r]),le=U.length,ce=g||le<=1,ue=le>0&&wQe(U,t,h,s),de=le>0&&(!ue||!ce);return DQe({},z,{isDragAccept:ue,isDragReject:de,isFocused:Q&&!r,getRootProps:oe,getInputProps:se,rootRef:R,inputRef:M,open:te(W)})}function LQe(e,t){switch(t.type){case"focus":return DQe({},e,{isFocused:!0});case"blur":return DQe({},e,{isFocused:!1});case"openDialog":return DQe({},e,{isFileDialogActive:!0});case"closeDialog":return DQe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return DQe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return DQe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return DQe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var zQe={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}))}(zQe);var FQe,QQe=zQe.exports;function BQe(){return(BQe=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}).apply(this,arguments)}function UQe(e){var t=e.nativeEvent;return window.TouchEvent?t instanceof TouchEvent:"touches"in t}function WQe(e){return e.nativeEvent instanceof MouseEvent}function qQe(e){return UQe(e)?{x:e.touches[0].pageX,y:e.touches[0].pageY}:WQe(e)?{x:e.pageX,y:e.pageY}:null}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(FQe||(FQe={}));var $Qe={exports:{}},VQe=Ve($Qe.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=c;var o=n(3),a=i(n(4)),s=n(14),l=i(n(15));function c(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,c=e.activeStyle,u=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,_=e.searchWords,O=e.textToHighlight,k=e.unhighlightClassName,S=void 0===k?"":k,C=e.unhighlightStyle,E=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"]),I=(0,o.findAll)({autoEscape:u,caseSensitive:f,findChunks:h,sanitize:x,searchWords:_,textToHighlight:O}),T=w,P=-1,D="",N=void 0,A=(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:p},E,{children:I.map((function(e,t){var r=O.substr(e.start,e.end-e.start);if(e.highlight){P++;var i=void 0;i="object"==typeof g?f?g[r]:(g=A(g))[r.toLowerCase()]:g;var o=P===+a;D=i+" "+(o?n:""),N=!0===o&&null!=c?Object.assign({},y,c):y;var l={children:r,className:D,key:t,style:N};return"string"!=typeof T&&(l.highlightIndex=P),(0,s.createElement)(T,l)}return(0,s.createElement)("span",{children:r,className:S,key:t,style:C})}))}))}c.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,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:u,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,c=o.lastIndex;c>l&&e.push({start:l,end:c}),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,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!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];c.push(new h(e,t)),1!==c.length||u||s(p)},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 c="function"==typeof Symbol&&Symbol.iterator,u="<<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 p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,i,o+"["+l+"]",s);if(c instanceof Error)return c}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new p("Invalid "+i+" `"+o+"` of type `"+v(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||u;return new p("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return g(e[t])?null:new p("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 p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var u=e(a,c,r,i,o+"."+c,s);if(u instanceof Error)return u}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(f(a,e[s]))return null;return new p("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.",b(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 p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+i+" `"+o+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if(u){var d=u(a,c,r,i,o+"."+c,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var l=t[n],c=v(l);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var u=a({},t[n],e);for(var d in u){var f=e[d];if(!f)return new p("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=f(l,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function l(l,c,d,f,h,m,g){if(f=f||u,m=m||d,g!==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 v=f+":"+d;!r[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,f),r[v]=!0,a++)}return null==c[d]?l?null===c[d]?new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,d,f,h,m)}var c=l.bind(null,!1);return c.isRequired=l.bind(null,!0),c}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(c&&e[c]||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(!g(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var 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 c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,i,o,a,s,l],d=0;(c=new Error(t.replace(/%s/g,(function(){return u[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).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),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))r.call(a,u)&&(l[u]=a[u]);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,c){if("production"!==t.env.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var d;try{r("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,u,typeof e[u]),d=e[u](n,u,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,u,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).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=o},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,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}}])),KQe={exports:{}},HQe=(KQe.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:K(e)}function r(e){return s(e)?e:H(e)}function i(e){return l(e)?e:G(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function O(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function C(e){return void 0===e.size&&(e.size=e.__iterate(I)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function I(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return N(e,t,0)}function D(e,t){return N(e,t,t)}function N(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=0,R=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",z=j||L;function F(e){this.next=e}function Q(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 B(){return{value:void 0,done:!0}}function U(e){return!!$(e)}function W(e){return e&&"function"==typeof e.next}function q(e){var t=$(e);return t&&t.call(e)}function $(e){var t=e&&(j&&e[j]||e[L]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function K(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function H(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=A,F.VALUES=R,F.ENTRIES=M,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[z]=function(){return this},t(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return de(this,e,t,!0)},K.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(H,K),H.prototype.toKeyedSeq=function(){return this},t(G,K),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return de(this,e,t,!1)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=oe,K.Keyed=H,K.Set=Y,K.Indexed=G;var X,Z,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function 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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return V(e)?new te(e):W(e)?new ie(e):U(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 fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new F((function(){var e=i[n?o-a:a];return a++>o?B():Q(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,G(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,H(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?H(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(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,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function Oe(){}function ke(){}function Se(){}K.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,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 F((function(){return i>r?B():Q(e,i,n[t?r-i++:i++])}))},t(ne,H),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 F((function(){var a=r[t?i-o:o];return o++>i?B():Q(e,a,n[a])}))},ne.prototype[h]=!0,t(re,G),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(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=q(this._iterable);if(!W(n))return new F(B);var r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value)}))},t(ie,G),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 F((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return Q(e,i,r[i++])}))},t(be,G),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-P(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new F((function(){return r<n.size?Q(e,r++,n._value):B()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=P(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,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},xe.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 F((function(){var a=i;return i+=t?-r:r,o>n?B():Q(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Oe,_e),t(ke,_e),t(Se,_e),_e.Keyed=Oe,_e.Indexed=ke,_e.Set=Se;var Ce="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ie(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>Fe?Te(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Be===Qe&&(Be=0,Ue={}),Be++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),je)Me.set(e,t);else{if(void 0!==Ne&&!1===Ne(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(e,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ne=Object.isExtensible,Ae=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 Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Le=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var Fe=16,Qe=255,Be=0,Ue={};function We(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?it():$e(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[Ke])}t(qe,Oe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},qe.prototype.merge=function(){return ft(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return ft(this,pt,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},qe.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)},qe.isMap=$e;var Ve,Ke="@@__IMMUTABLE_MAP__@@",He=qe.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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(He);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=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Ge(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===b?e:(O(s),O(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,Ie(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ye(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Xe(e,o+1,a)}function ft(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 pe(e)}))),i.push(l)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(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 ve(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,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?b:e.get(l,b),u=gt(c,t,n,r);return u===c?e:u===b?e.remove(l):(i?it():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function bt(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 wt(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}He[Ke]=!0,He[m]=He.remove,He.removeIn=He.deleteIn,Ge.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ge.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),!s||1!==l.length){if(!d&&!s&&l.length>=xt)return ct(e,l,r,i);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ge(e,p)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},Ye.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===b)return this;var d=vt(c&l-1),f=this.nodes,p=u?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!u&&h&&f.length>=_t)return dt(e,f,c,s,h);if(u&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(u&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,w=u?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Xe.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=i===b,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var f=this.count;if(u){if(!d&&--f<Ot)return ut(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Xe(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=i===b;if(n!==this.keyHash)return s?this:(O(a),O(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,l=ve(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(O(a),s?void O(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(O(o),lt(this,e,t,Ie(r),[r,i])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,F),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 B()};var xt=v/4,_t=v/2,Ot=v/4;function kt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<v?At(0,r,g,null,new It(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Ct])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return Mt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Ft(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return Ft(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Ft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Ft(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ht(t),n)},kt.prototype.setSize=function(e){return Ft(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:Ft(this,P(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=Nt(this,t);return new F((function(){var t=r();return t===Dt?B():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=Nt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function It(e,t){this.array=e,this.ownerID=t}Et[Ct]=!0,Et[m]=Et.remove,Et.setIn=He.setIn,Et.deleteIn=Et.removeIn=He.removeIn,Et.update=He.update,Et.updateIn=He.updateIn,Et.mergeIn=He.mergeIn,Et.mergeDeepIn=He.mergeDeepIn,Et.withMutations=He.withMutations,Et.asMutable=He.asMutable,Et.asImmutable=He.asImmutable,Et.wasAltered=He.wasAltered,It.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new It([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},It.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Pt,Dt={};function Nt(e,t){var n=e._origin,r=e._capacity,i=Bt(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function At(e,t,n,r,i,o,a){var s=Object.create(Et);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 Tt||(Tt=At(0,0,g))}function Mt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Bt(e._capacity)?r=jt(r,e.__ownerID,0,t,n,o):i=jt(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):At(e._origin,e._capacity,e._level,i,r):e}function jt(e,t,n,r,i,o){var a,s=r>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,r,i,o);return u===c?e:((a=Lt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(O(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new It(e?e.array.slice():[],t)}function zt(e,t){if(t>=Bt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new It(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Bt(o),f=Bt(s);f>=1<<l+g;)c=new It(c&&c.array.length?[c]:[],r),l+=g;var p=e._tail,h=f<d?zt(e,s-1):f>d?new It([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(u=0;c;){var w=a>>>l&y;if(w!==f>>>l&y)break;w&&(u+=(1<<l)*w),l-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&f<d&&(c=c.removeAfter(r,l,f-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):At(a,s,l,c,h)}function Qt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Bt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?$t():Wt(e)?e:$t().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return $e(e)&&u(e)}function qt(e,t,n,r){var i=Object.create(Ut.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function $t(){return Pt||(Pt=qt(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===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):qt(r,i)}function Kt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===M){var r=e.__iterator(t,n);return new F((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?A:R,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?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(M,i);return new F((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return Q(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Xt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,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=wn,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=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&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(M,o),s=0;return new F((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return Q(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=qe().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Ut():qe()).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=yn(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),T(t,n,i))return e;var o=P(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new F((function(){for(;a++<o;)i.next();if(++l>s)return B();var e=i.next();return r||t===R?e:Q(t,l-1,t===A?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(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(M,i),s=!0;return new F((function(){if(!s)return B();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===M?e:Q(r,l,c,e):(s=!1,B())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(M,o),l=!0,c=0;return new F((function(){var e,o,u;do{if((e=s.next()).done)return r||i===R?e:Q(i,c++,i===A?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===M?e:Q(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new F((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===M&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:Q(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return B()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=bn(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 F((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?Q(n,a++,t):Q(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);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?H(o):l(e)?G(o):Y(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(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=bn(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),q(i?e.reverse():e)})),a=0,s=!1;return new F((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?B():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return We(e.size),C(e)}function yn(e){return s(e)?r:l(e)?i:o}function bn(e){return Object.create((s(e)?H:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function On(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);En(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=qe(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Ut.prototype.set=function(e,t){return Vt(this,e,t)},Ut.prototype.remove=function(e){return Vt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Wt,Ut.prototype[h]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Kt,H),Kt.prototype.get=function(e,t){return this._iter.get(e,t)},Kt.prototype.has=function(e){return this._iter.has(e)},Kt.prototype.valueSeq=function(){return this._iter.valueSeq()},Kt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Kt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Kt.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?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Kt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?vn(this):0;return new F((function(){var i=n.next();return i.done?i:Q(e,t?--r:r++,i.value,i)}))},Kt.prototype[h]=!0,t(Ht,G),Ht.prototype.includes=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Yt,H),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return Q(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Ht.prototype.cacheResult=Kt.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(On,Oe),On.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},On.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},On.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},On.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},On.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},On.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},On.prototype.wasAltered=function(){return this._map.wasAltered()},On.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},On.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},On.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=On.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Cn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(In.bind(void 0,e))}catch(e){}}function In(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?jn():Pn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[Nn])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=He.removeIn,kn.merge=He.merge,kn.mergeWith=He.mergeWith,kn.mergeIn=He.mergeIn,kn.mergeDeep=He.mergeDeep,kn.mergeDeepWith=He.mergeDeepWith,kn.mergeDeepIn=He.mergeDeepIn,kn.setIn=He.setIn,kn.update=He.update,kn.updateIn=He.updateIn,kn.withMutations=He.withMutations,kn.asMutable=He.asMutable,kn.asImmutable=He.asImmutable,t(Tn,Se),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Rn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Pn;var Dn,Nn="@@__IMMUTABLE_SET__@@",An=Tn.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 Mn(e,t){var n=Object.create(An);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Mn(it()))}function Ln(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Pn(e)&&u(e)}An[Nn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=He.withMutations,An.asMutable=He.asMutable,An.asImmutable=He.asImmutable,An.__empty=jn,An.__make=Mn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=zn;var Fn,Qn=Ln.prototype;function Bn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Fn||(Fn=Bn($t()))}function Wn(e){return null==e?Gn():qn(e)?e:Gn().unshiftAll(e)}function qn(e){return!(!e||!e[Vn])}Qn[h]=!0,Qn.__empty=Un,Qn.__make=Bn,t(Wn,ke),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=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):Hn(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):Hn(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):Gn()},Wn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=P(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Hn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Hn(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 F((function(){if(r){var t=r.value;return r=r.next,Q(e,n++,t)}return B()}))},Wn.isStack=qn;var $n,Vn="@@__IMMUTABLE_STACK__@@",Kn=Wn.prototype;function Hn(e,t,n,r){var i=Object.create(Kn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Gn(){return $n||($n=Hn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Kn[Vn]=!0,Kn.withMutations=He.withMutations,Kn.asMutable=He.asMutable,Kn.asImmutable=He.asImmutable,Kn.wasAltered=He.wasAltered,n.Iterator=F,Yn(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 Ht(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 Kt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},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(A)},map:function(e,t){return mn(this,Zt(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(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(I)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(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 Xn=n.prototype;Xn[d]=!0,Xn[z]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=rr,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(r,{flip:function(){return mn(this,Xt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,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 Zn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr(Ie(e),Ie(t))|0}:function(e,t){r=r+lr(Ie(e),Ie(t))|0}:t?function(e){r=31*r+Ie(e)|0}:function(e){r=r+Ie(e)|0});return sr(i,r)}function sr(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Ce(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[z]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(i,{toKeyedSeq:function(){return new Kt(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=P(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),G.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Xn.includes,Yn(H,r.prototype),Yn(G,i.prototype),Yn(Y,o.prototype),Yn(Oe,r.prototype),Yn(ke,i.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:K,Collection:_e,Map:qe,OrderedMap:Ut,List:kt,Stack:Wn,Set:Tn,OrderedSet:Ln,Record:On,Range:xe,Repeat:be,is:ve,fromJS:pe}}()).OrderedMap,GQe={createFromArray:function(e){return HQe(e.map((function(e){return[e.getKey(),e]})))}},YQe=GQe;var XQe=KQe.exports,ZQe=XQe.Map,JQe=XQe.OrderedSet,eBe=XQe.Record,tBe=JQe(),nBe={style:tBe,entity:null},rBe=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 iBe;var t=ZQe({style:tBe,entity:null}).merge(e),n=oBe.get(t);if(n)return n;var i=new r(t);return oBe=oBe.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?JQe(t):t,entity:Array.isArray(n)?JQe(n):n})},r}(eBe(nBe)),iBe=new rBe,oBe=ZQe([[ZQe(nBe),iBe]]);rBe.EMPTY=iBe;var aBe=rBe;var sBe=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 lBe=aBe,cBe=sBe,uBe=KQe.exports,dBe=uBe.List,fBe=uBe.Map,pBe=uBe.OrderedSet,hBe=uBe.Record,mBe=uBe.Repeat,gBe=pBe(),vBe=hBe({key:"",type:"unstyled",text:"",characterList:dBe(),depth:0,data:fBe()}),yBe=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=dBe(mBe(lBe.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():gBe},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){cBe(this.getCharacterList(),bBe,e,t)},i.findEntityRanges=function(e,t){cBe(this.getCharacterList(),wBe,e,t)},r}(vBe);function bBe(e,t){return e.getStyle()===t.getStyle()}function wBe(e,t){return e.getEntity()===t.getEntity()}var xBe=yBe;var _Be=aBe,OBe=sBe,kBe=KQe.exports,SBe=kBe.List,CBe=kBe.Map,EBe=kBe.OrderedSet,IBe=kBe.Record,TBe=kBe.Repeat,PBe=EBe(),DBe={parent:null,characterList:SBe(),data:CBe(),depth:0,key:"",text:"",type:"unstyled",children:SBe(),prevSibling:null,nextSibling:null},NBe=function(e,t){return e.getStyle()===t.getStyle()},ABe=function(e,t){return e.getEntity()===t.getEntity()},RBe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=SBe(TBe(_Be.EMPTY,n.length))),e},MBe=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DBe;return e.call(this,RBe(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():PBe},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){OBe(this.getCharacterList(),NBe,e,t)},i.findEntityRanges=function(e,t){OBe(this.getCharacterList(),ABe,e,t)},r}(IBe(DBe)),jBe=MBe,LBe=aBe,zBe=KQe.exports.Map;function FBe(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(zBe([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=l):(i=t===o?a:0,c=t===s?l:e.getLength());for(var u,d=e.getCharacterList();i<c;)u=d.get(i),d=d.set(i,r?LBe.applyStyle(u,n):LBe.removeStyle(u,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var QBe={add:function(e,t,n){return FBe(e,t,n,!0)},remove:function(e,t,n){return FBe(e,t,n,!1)}},BBe=aBe;var UBe=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,BBe.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},WBe=KQe.exports;var qBe=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(WBe.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,l=t===a?s:e.getLength();return UBe(e,r,l,n)}));return e.merge({blockMap:r.merge(l),selectionBefore:t,selectionAfter:t})},$Be={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,l=null,c=null,u=0;u<o.length;u++){if(e<(a=s+o[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=r+n.length,f=l===r,p=c===d;return(!f&&p||f&&!p)&&("forward"===i?c!==d&&c++:l!==r&&l--),{start:l,end:c}}},VBe="production"!==Ms.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var KBe=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(VBe(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}},HBe=KBe;var GBe=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"!==Ms.env.NODE_ENV?HBe(!1,"Entity key not found in this range."):HBe(!1)),n},YBe=$Be,XBe=GBe,ZBe=KBe;function JBe(e,t,n,r,i,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),c=e.__get(i).getMutability(),u=a?s:l;if("MUTABLE"===c)return n;var d=XBe(t,i).filter((function(e){return u<=e.end&&u>=e.start}));1!=d.length&&("production"!==Ms.env.NODE_ENV?ZBe(!1,"There should only be one entity range within this removal range."):ZBe(!1));var f=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?l=f.end:s=f.start);var p=YBe.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var eUe=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return r;var c=r;if(s&&s===l)c=JBe(e,t,c,i,s,!0,!0);else if(s&&l){var u=JBe(e,t,c,i,s,!1,!0),d=JBe(e,n,c,i,l,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=JBe(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var p=JBe(e,n,c,i,l,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},tUe={},nUe=Math.pow(2,24);var rUe=function(){for(var e;void 0===e||tUe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*nUe).toString(32);return tUe[e]=!0,e},iUe=jBe,oUe=rUe,aUe=KQe.exports.OrderedMap,sUe=function(e){return e.first()instanceof iUe?function(e){var t,n={};return aUe(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),l=r.getChildKeys(),c=r.getParentKey(),u=oUe();if(n[o]=u,a&&(e.get(a)?e.setIn([a,"prevSibling"],u):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],u):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),u))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],u),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],u):e.setIn([o,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return aUe(e.toArray().map((function(e){var t=oUe();return[t,e.set("key",t)]})))}(e)},lUe=aBe,cUe=sBe,uUe=KBe;function dUe(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,c=function(e,t,n){var r;return cUe(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"!==Ms.env.NODE_ENV?uUe(!1,"Removal range must exist within character list."):uUe(!1)),r}(r,s,n),u=c.start,d=c.end;u<d;)l=r.get(u),r=r.set(u,lUe.applyEntity(l,null)),u++;return t.set("characterList",r)}return t}var fUe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=dUe(r,s,a);l!==s&&(i[o]=l);var c=t.getEndKey(),u=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var f=dUe(r,d,u);return f!==d&&(i[c]=f),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},pUe=sUe,hUe=fUe,mUe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=hUe(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),c=s.indexOf(i)+1;return pUe(a.slice(l,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var gUe=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},vUe=YQe,yUe=jBe,bUe=gUe,wUe=KBe,xUe=sUe,_Ue=KQe.exports.List,OUe=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),l=s.getText(),c=s.getCharacterList(),u=i,d=o+r.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var p=s.getType();l&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:l.slice(0,o)+r.getText()+l.slice(o),characterList:bUe(c,r.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},kUe=function(e,t,n,r,i,o){var a=n.first()instanceof yUe,s=[],l=r.size,c=n.get(i),u=r.first(),d=r.last(),f=d.getLength(),p=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,r)),r.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,r))):s.push(e)}));var m=vUe.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=l[l.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var u=e.get(s).getChildKeys(),d=u.indexOf(i)+1,f=u.toArray();f.splice.apply(f,[d,0].concat(l)),t.setIn([s,"children"],_Ue(f))}}))}(m,0,c,u)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},SUe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Ms.env.NODE_ENV?wUe(!1,"`insertFragment` should only be called with a collapsed selection state."):wUe(!1));var i=e.getBlockMap(),o=xUe(n),a=t.getStartKey(),s=t.getStartOffset(),l=i.get(a);return l instanceof yUe&&(l.getChildKeys().isEmpty()||("production"!==Ms.env.NODE_ENV?wUe(!1,"`insertFragment` should not be called when a container node is selected."):wUe(!1))),1===o.size?OUe(e,t,i,o.first(),a,s,r):kUe(e,t,i,o,a,s)},CUe=gUe,EUe=KBe,IUe=KQe.exports.Repeat;var TUe=function(e,t,n,r){t.isCollapsed()||("production"!==Ms.env.NODE_ENV?EUe(!1,"`insertText` should only be called with a collapsed range."):EUe(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),c=l.getText(),u=l.merge({text:c.slice(0,s)+n+c.slice(s,l.getLength()),characterList:CUe(l.getCharacterList(),IUe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,u),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},PUe=KQe.exports.Map;var DUe=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(PUe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},NUe=jBe,AUe=function(e,t){if(!(e instanceof NUe))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},RUe=jBe,MUe=AUe,jUe=KQe.exports;jUe.List;var LUe=jUe.Map,zUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},FUe=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},QUe=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},BUe=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},UUe=function(e,t,n,r){return e.withMutations((function(i){if(zUe(t.getKey(),i,(function(e){return e.merge({nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})})),zUe(n.getKey(),i,(function(e){return e.merge({nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})})),FUe(t.getKey(),r).forEach((function(e){return zUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})}))})),zUe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),zUe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:QUe(e,i,r)})})),zUe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:BUe(e,i,r)})})),zUe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),FUe(n.getKey(),r).forEach((function(e){zUe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=MUe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?MUe(i,t):null}return n}(n,r).forEach((function(e){return zUe(e,i,(function(e){return e.merge({nextSibling:QUe(e,i,r),prevSibling:BUe(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();zUe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),zUe(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){zUe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);zUe(s,i,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}zUe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},WUe=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},qUe=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=r.get(i),c=r.get(a),u=l instanceof RUe,d=[];if(u){var f=c.getChildKeys(),p=FUe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(FUe(MUe(c,r),r))}n=l===c?WUe(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=u&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?LUe([[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(LUe([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return u&&l!==c&&(g=UUe(g,l,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},$Ue=jBe,VUe=rUe,KUe=KQe.exports,HUe=KBe,GUe=DUe,YUe=KUe.List,XUe=KUe.Map,ZUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},JUe=function(e,t){t.isCollapsed()||("production"!==Ms.env.NODE_ENV?HUe(!1,"Selection range must be collapsed."):HUe(!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 GUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=i.getCharacterList(),c=VUe(),u=i instanceof $Ue,d=i.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),f=d.merge({key:c,text:o.slice(s),characterList:l.slice(s),data:XUe()}),p=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=p.concat([[n,d],[c,f]],h).toOrderedMap();return u&&(i.getChildKeys().isEmpty()||("production"!==Ms.env.NODE_ENV?HUe(!1,"ContentBlockNode must not have children"):HUe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();ZUe(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:YUe(o)})})),ZUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),ZUe(r,e,(function(e){return e.merge({nextSibling:i})})),ZUe(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,f)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},eWe=aBe,tWe=QBe,nWe=qBe,rWe=eUe,iWe=mUe,oWe=SUe,aWe=TUe,sWe=KBe,lWe=DUe,cWe=fUe,uWe=qUe,dWe=JUe,fWe=KQe.exports.OrderedSet,pWe={replaceText:function(e,t,n,r,i){var o=cWe(e,t),a=uWe(o,t),s=eWe.create({style:r||fWe(),entity:i||null});return aWe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Ms.env.NODE_ENV?sWe(!1,"Target range must be collapsed for `insertText`."):sWe(!1)),pWe.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=iWe(e,t),i=pWe.removeRange(e,t,"backward");return pWe.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=cWe(e,t),o=uWe(i,t);return oWe(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(s),u=a.getEntityAt(l-1);if(r===i&&c&&c===u){var d=rWe(e.getEntityMap(),o,a,t,n);return uWe(e,d)}var f=cWe(e,t);return uWe(f,t)},splitBlock:function(e,t){var n=cWe(e,t),r=uWe(n,t);return dWe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return tWe.add(e,t,n)},removeInlineStyle:function(e,t,n){return tWe.remove(e,t,n)},setBlockType:function(e,t,n){return lWe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return lWe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return lWe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=cWe(e,t);return nWe(r,t,n)}},hWe=pWe;var mWe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function gWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vWe=sBe,yWe=mWe,bWe=KQe.exports,wWe=bWe.List,xWe=bWe.Repeat,_We=bWe.Record,OWe=function(){return!0},kWe=_We({start:null,end:null}),SWe=_We({start:null,end:null,decoratorKey:null,leaves:null}),CWe={generate:function(e,t,n){var r=t.getLength();if(!r)return wWe.of(new SWe({start:0,end:0,decoratorKey:null,leaves:wWe.of(new kWe({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):wWe(xWe(null,r)),a=t.getCharacterList();return vWe(o,IWe,OWe,(function(e,t){i.push(new SWe({start:e,end:t,decoratorKey:o.get(e),leaves:EWe(a.slice(e,t).toList(),e)}))})),wWe(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 SWe(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){gWe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?wWe(Array.isArray(t)?t:yWe(t)).map((function(e){return kWe(e)})):null}))}};function EWe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return vWe(r,IWe,OWe,(function(e,r){n.push(new kWe({start:e+t,end:r+t}))})),wWe(n)}function IWe(e,t){return e===t}var TWe=CWe;var PWe=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,KQe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),DWe=PWe;var NWe=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 AWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RWe=DWe,MWe=KBe,jWe=NWe,LWe=(0,KQe.exports.Map)(),zWe=jWe();function FWe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var QWe={getLastCreatedEntityKey:function(){return FWe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),QWe.__getLastCreatedEntityKey()},create:function(e,t,n){return FWe("DraftEntity.create","contentState.createEntity"),QWe.__create(e,t,n)},add:function(e){return FWe("DraftEntity.add","contentState.addEntity"),QWe.__add(e)},get:function(e){return FWe("DraftEntity.get","contentState.getEntity"),QWe.__get(e)},__getAll:function(){return LWe},__loadWithEntities:function(e){LWe=e,zWe=jWe()},mergeData:function(e,t){return FWe("DraftEntity.mergeData","contentState.mergeEntityData"),QWe.__mergeData(e,t)},replaceData:function(e,t){return FWe("DraftEntity.replaceData","contentState.replaceEntityData"),QWe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return zWe},__create:function(e,t,n){return QWe.__add(new RWe({type:e,mutability:t,data:n||{}}))},__add:function(e){return zWe=jWe(),LWe=LWe.set(zWe,e),zWe},__get:function(e){var t=LWe.get(e);return t||("production"!==Ms.env.NODE_ENV?MWe(!1,"Unknown DraftEntity key: %s.",e):MWe(!1)),t},__mergeData:function(e,t){var n=QWe.__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){AWe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return LWe=LWe.set(e,i),i},__replaceData:function(e,t){var n=QWe.__get(e).set("data",t);return LWe=LWe.set(e,n),n}},BWe=QWe;var UWe=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,KQe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),WWe=UWe,qWe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},$We=new RegExp("\r","g");var VWe=function(e){return e.replace($We,"")};function KWe(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){HWe(e,t,n[t])}))}return e}function HWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GWe=YQe,YWe=aBe,XWe=xBe,ZWe=jBe,JWe=BWe,eqe=WWe,tqe=rUe,nqe=mWe,rqe=qWe,iqe=KQe.exports,oqe=VWe,aqe=iqe.List,sqe=iqe.Record,lqe=iqe.Repeat,cqe=iqe.Map,uqe=iqe.OrderedMap,dqe=sqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),fqe=rqe("draft_tree_data_support")?ZWe:XWe,pqe=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 JWe},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 JWe.__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 JWe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return JWe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return JWe.__replaceData(e,t),this},i.addEntity=function(e){return JWe.__add(e),this},i.getEntity=function(e){return JWe.__get(e)},i.getAllEntities=function(){return JWe.__getAll()},i.loadWithEntities=function(e){return JWe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=GWe.createFromArray(n),o=i.isEmpty()?new eqe:eqe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||JWe,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=oqe(e),new fqe({key:tqe(),text:e,type:"unstyled",characterList:aqe(lqe(YWe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(KWe({},e,{blockMap:uqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new eqe(e.selectionBefore),selectionAfter:new eqe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new fqe(KWe({},e,{data:cqe(e.data),characterList:null!=t?aqe((Array.isArray(t)?t:nqe(t)).map((function(e){return YWe.fromJS(e)}))):void 0}))},r}(dqe),hqe=pqe,mqe=KBe,gqe=null;function vqe(e){return"LTR"===e||"RTL"===e}function yqe(e){return vqe(e)||("production"!==Ms.env.NODE_ENV?mqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):mqe(!1)),"LTR"===e?"ltr":"rtl"}function bqe(e){gqe=e}var wqe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:vqe,getHTMLDir:yqe,getHTMLDirIfDifferent:function(e,t){return vqe(e)||("production"!==Ms.env.NODE_ENV?mqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):mqe(!1)),vqe(t)||("production"!==Ms.env.NODE_ENV?mqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):mqe(!1)),e===t?null:yqe(e)},setGlobalDir:bqe,initGlobalDir:function(){bqe("LTR")},getGlobalDir:function(){return gqe||this.initGlobalDir(),gqe||("production"!==Ms.env.NODE_ENV?mqe(!1,"Global direction not set."):mqe(!1)),gqe}},xqe=wqe,_qe=KBe,Oqe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",kqe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Sqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Oqe+kqe+"]"),Cqe=new RegExp("["+Oqe+kqe+"]");function Eqe(e){var t=Sqe.exec(e);return null==t?null:t[0]}function Iqe(e){var t=Eqe(e);return null==t?xqe.NEUTRAL:Cqe.exec(t)?xqe.RTL:xqe.LTR}function Tqe(e,t){if(t=t||xqe.NEUTRAL,!e.length)return t;var n=Iqe(e);return n===xqe.NEUTRAL?t:n}function Pqe(e,t){return t||(t=xqe.getGlobalDir()),xqe.isStrong(t)||("production"!==Ms.env.NODE_ENV?_qe(!1,"Fallback direction must be a strong direction"):_qe(!1)),Tqe(e,t)}var Dqe={firstStrongChar:Eqe,firstStrongCharDir:Iqe,resolveBlockDir:Tqe,getDirection:Pqe,isDirectionLTR:function(e,t){return Pqe(e,t)===xqe.LTR},isDirectionRTL:function(e,t){return Pqe(e,t)===xqe.RTL}};function Nqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Aqe,Rqe=Dqe,Mqe=wqe,jqe=KBe,Lqe=function(){function e(e){Nqe(this,"_defaultDir",void 0),Nqe(this,"_lastDir",void 0),e?Mqe.isStrong(e)||("production"!==Ms.env.NODE_ENV?jqe(!1,"Default direction must be a strong direction (LTR or RTL)"):jqe(!1)):e=Mqe.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=Rqe.getDirection(e,this._lastDir),this._lastDir},e}(),zqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Fqe=Lqe,Qqe=KQe.exports,Bqe=zqe,Uqe=Qqe.OrderedMap,Wqe={getDirectionMap:function(e,t){Aqe?Aqe.reset():Aqe=new Fqe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return Bqe(Aqe).getDirection(e.getText())})),i=Uqe(n.keySeq().zip(r));return null!=t&&Qqe.is(t,i)?t:i}};function qqe(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){$qe(e,t,n[t])}))}return e}function $qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vqe=TWe,Kqe=hqe,Hqe=Wqe,Gqe=WWe,Yqe=KQe.exports,Xqe=Yqe.OrderedSet,Zqe=Yqe.Record,Jqe=Yqe.Stack,e$e=Yqe.OrderedMap,t$e=Yqe.List,n$e=Zqe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Jqe(),selection:null,treeMap:null,undoStack:Jqe()}),r$e=function(){t.createEmpty=function(e){return t.createWithContent(Kqe.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:Jqe(),redoStack:Jqe(),decorator:n||null,selection:Gqe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=qqe({},e,{treeMap:o$e(n,e.decorator),directionMap:Hqe.getDirectionMap(n)});return new t(new n$e(r))},t.fromJS=function(e){return new t(new n$e(qqe({},e,{directionMap:null!=e.directionMap?e$e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?Xqe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?Kqe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?Jqe(e.redoStack.map((function(e){return Kqe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new Gqe(e.selection):e.selection,treeMap:null!=e.treeMap?e$e(e.treeMap).map((function(e){return t$e(e).map((function(e){return Vqe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?Jqe(e.undoStack.map((function(e){return Kqe.fromJS(e)}))):e.undoStack,currentContent:Kqe.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 Vqe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):o$e(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 Vqe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){$qe(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 s$e(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 s$e(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 i$e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),i$e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new Gqe({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=Hqe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||a$e(e,r)?(l=l.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var u=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(u=null);var f={currentContent:c,directionMap:o,undoStack:l,redoStack:Jqe(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:u};return t.set(e,f)},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=Hqe.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=Hqe.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 i$e(e,t,n){return r$e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function o$e(e,t){return e.getBlockMap().map((function(n){return Vqe.generate(e,n,t)})).toOrderedMap()}function a$e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function s$e(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):Xqe()}var l$e=r$e,c$e=jBe,u$e=AUe,d$e=KQe.exports,f$e=KBe,p$e=d$e.OrderedMap,h$e=d$e.List,m$e=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},g$e=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),c=t.getNextSiblingKey(),u=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){m$e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),m$e(u,e,(function(e){return e.merge({nextSibling:c})})),m$e(c,e,(function(e){return e.merge({prevSibling:u})})),m$e(f,e,(function(e){return e.merge({prevSibling:a})})),m$e(p,e,(function(e){return e.merge({nextSibling:a})})),m$e(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:h$e(i)})})),m$e(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},v$e=function(e,t,n,r){"replace"===r&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Replacing blocks is not supported."):f$e(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Block cannot be moved next to itself."):f$e(!1));var a=e.getBlockMap(),s=t instanceof c$e,l=[t],c=a.delete(o);s&&(l=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=u$e(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var u=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),f=l.map((function(e){return[e.getKey(),e]})),p=p$e();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Block cannot be moved next to itself."):f$e(!1)),p=u.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Ms.env.NODE_ENV?f$e(!1,"Block cannot be moved next to itself."):f$e(!1)),p=u.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:g$e(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function y$e(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){b$e(e,t,n[t])}))}return e}function b$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w$e=YQe,x$e=aBe,_$e=xBe,O$e=jBe,k$e=hWe,S$e=l$e,C$e=rUe,E$e=KQe.exports,I$e=v$e,T$e=qWe("draft_tree_data_support"),P$e=T$e?O$e:_$e,D$e=E$e.List,N$e=E$e.Repeat,A$e={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=k$e.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=k$e.splitBlock(o,a),l=s.getSelectionAfter(),c=k$e.setBlockType(s,l,"atomic"),u=x$e.create({entity:t}),d={key:C$e(),type:"atomic",text:n,characterList:D$e(N$e(u,n.length))},f={key:C$e(),type:"unstyled"};T$e&&(d=y$e({},d,{nextSibling:f.key}),f=y$e({},f,{prevSibling:d.key}));var p=[new P$e(d),new P$e(f)],h=w$e.createFromArray(p),m=k$e.replaceWithFragment(c,l,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return S$e.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=I$e(o,t,s,r)}else{var l=k$e.removeRange(o,n,"backward"),c=l.getSelectionAfter(),u=l.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=I$e(l,t,u,"before");else if(c.getEndOffset()===u.getLength())i=I$e(l,t,u,"after");else{var d=k$e.splitBlock(l,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=I$e(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return S$e.push(e,h,"move-block")}};var R$e=KQe.exports.List,M$e=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)})),R$e(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 j$e=M$e;function L$e(e){return e.replace(/\//g,"-")}var z$e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(L$e).join(" "):Array.prototype.map.call(arguments,L$e).join(" ")},F$e=o,Q$e=z$e,B$e=(0,KQe.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:F$e.createElement("ul",{className:Q$e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:F$e.createElement("ol",{className:Q$e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:F$e.createElement("pre",{className:Q$e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),U$e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},W$e={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",l="model",c="name",u="type",d="vendor",f="version",p="architecture",h="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",_="ASUS",O="BlackBerry",k="Firefox",S="Google",C="Huawei",E="LG",I="Microsoft",T="Motorola",P="Opera",D="Samsung",N="Sony",A="Xiaomi",R="Zebra",M="Facebook",j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},L=function(e,t){return typeof e===s&&-1!==z(t).indexOf(z(e))},z=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},Q=function(e,t){for(var n,o,s,l,c,u,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(s=0;s<p.length;s++)u=c[++o],typeof(l=p[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):r:this[l[0]]=u?l[1].call(this,u,l[2]):r:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):r):this[l]=u||r;d+=2}},B=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(L(t[n][i],e))return"?"===n?r:n}else if(L(t[n],e))return"?"===n?r:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,f],[/opios[\/ ]+([\w\.]+)/i],[f,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[c,P]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,M],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[f,B,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,z]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",z]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,z]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[u,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[u,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,x],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,x],[u,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[u,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[u,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,A],[u,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,A],[u,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[u,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,T],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,T],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,E],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,E],[u,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[u,m]],[/(pixel c)\b/i],[l,[d,S],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[u,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,N],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,N],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,w],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,w],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,O],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,_],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,_],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[u,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,I],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,I],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,R],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,R],[u,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[l,[d,N],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,I],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[u,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,E],[u,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[u,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[u,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,w],[u,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[u,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[l,F],[u,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,v]],[/((pebble))app/i],[d,l,[u,y]],[/droid.+; (glass) \d/i],[l,[d,S],[u,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,R],[u,y]],[/(quest( 2)?)/i],[l,[d,M],[u,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[f,B,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[f,B,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,f],[/\(bb(10);/i],[f,[c,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,f],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,f]]},q=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof q))return new q(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,Q.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,Q.call(e,i,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,Q.call(e,i,l.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,Q.call(e,i,l.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,Q.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?F(e,255):e,this},this.setUA(i),this};q.VERSION="0.7.31",q.BROWSER=j([c,f,"major"]),q.CPU=j([p]),q.DEVICE=j([l,d,u,h,m,v,g,y,b]),q.ENGINE=q.OS=j([c,f]),e.exports&&(t=e.exports=q),t.UAParser=q;var $=typeof n!==o&&(n.jQuery||n.Zepto);if($&&!$.ua){var V=new q;$.ua=V.getResult(),$.ua.get=function(){return V.getUA()},$.ua.set=function(e){V.setUA(e);var t=V.getResult();for(var n in t)$.ua[n]=t[n]}}}("object"==typeof window?window:$e)}(W$e,W$e.exports);var q$e="Unknown",$$e={"Mac OS":"Mac OS X"};var V$e=(new(0,W$e.exports)).getResult(),K$e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(V$e.browser.version),H$e={browserArchitecture:V$e.cpu.architecture||q$e,browserFullVersion:V$e.browser.version||q$e,browserMinorVersion:K$e.minor||q$e,browserName:V$e.browser.name||q$e,browserVersion:V$e.browser.major||q$e,deviceName:V$e.device.model||q$e,engineName:V$e.engine.name||q$e,engineVersion:V$e.engine.version||q$e,platformArchitecture:V$e.cpu.architecture||q$e,platformName:function(e){return $$e[e]||e}(V$e.os.name)||q$e,platformVersion:V$e.os.version||q$e,platformFullVersion:V$e.os.version||q$e},G$e=H$e,Y$e=KBe,X$e=/\./,Z$e=/\|\|/,J$e=/\s+\-\s+/,eVe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,tVe=/^(\d*)(.*)/;function nVe(e,t){var n=e.split(Z$e);return n.length>1?n.some((function(e){return pVe.contains(e,t)})):function(e,t){var n=e.split(J$e);if(n.length>0&&n.length<=2||("production"!==Ms.env.NODE_ENV?Y$e(!1,'the "-" operator expects exactly 2 operands'):Y$e(!1)),1===n.length)return rVe(n[0],t);var r=n[0],i=n[1];return lVe(r)&&lVe(i)||("production"!==Ms.env.NODE_ENV?Y$e(!1,'operands to the "-" operator must be simple (no modifiers)'):Y$e(!1)),rVe(">="+r,t)&&rVe("<="+i,t)}(e=n[0].trim(),t)}function rVe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(X$e),r=aVe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return iVe(n,o);case"<=":return function(e,t){var n=fVe(e,t);return-1===n||0===n}(n,o);case">=":return oVe(n,o);case">":return function(e,t){return 1===fVe(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);sVe(o)&&(r[i]=o+1+"");return oVe(e,n)&&iVe(e,r)}(n,o);default:return function(e,t){return 0===fVe(e,t)}(n,o)}}function iVe(e,t){return-1===fVe(e,t)}function oVe(e,t){var n=fVe(e,t);return 1===n||0===n}function aVe(e){var t=e.split(X$e),n=t[0].match(eVe);return n||("production"!==Ms.env.NODE_ENV?Y$e(!1,"expected regex to match but it did not"):Y$e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function sVe(e){return!isNaN(e)&&isFinite(e)}function lVe(e){return!aVe(e).modifier}function cVe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function uVe(e,t){var n=e.match(tVe)[1],r=t.match(tVe)[1],i=parseInt(n,10),o=parseInt(r,10);return sVe(i)&&sVe(o)&&i!==o?dVe(i,o):dVe(e,t)}function dVe(e,t){return typeof e!=typeof t&&("production"!==Ms.env.NODE_ENV?Y$e(!1,'"a" and "b" must be of the same type'):Y$e(!1)),e>t?1:e<t?-1:0}function fVe(e,t){for(var n=function(e,t){cVe(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 cVe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=uVe(r[o],i[o]);if(a)return a}return 0}var pVe={contains:function(e,t){return nVe(e.trim(),t.trim())}},hVe=pVe,mVe=Object.prototype.hasOwnProperty;var gVe=function(e,t,n){if(!e)return null;var r={};for(var i in e)mVe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var vVe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},yVe=G$e,bVe=hVe;function wVe(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,bVe.contains(i,t))}function xVe(e){return"Windows"===yVe.platformName?e.replace(/^\s*NT/,""):e}var _Ve=gVe({isBrowser:function(e){return wVe(yVe.browserName,yVe.browserFullVersion,e)},isBrowserArchitecture:function(e){return wVe(yVe.browserArchitecture,null,e)},isDevice:function(e){return wVe(yVe.deviceName,null,e)},isEngine:function(e){return wVe(yVe.engineName,yVe.engineVersion,e)},isPlatform:function(e){return wVe(yVe.platformName,yVe.platformFullVersion,e,xVe)},isPlatformArchitecture:function(e){return wVe(yVe.platformArchitecture,null,e)}},vVe);var OVe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var kVe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},SVe=kVe;var CVe=function e(t){if(SVe(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},EVe=OVe,IVe=CVe;var TVe=function(e){for(var t=e;t&&t!==EVe(e).documentElement;){var n=IVe(t);if(null!=n)return n;t=t.parentNode}return null};var PVe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function DVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NVe=_Ve,AVe=TVe,RVe=PVe,MVe=KBe,jVe=zqe,LVe=KQe.exports.Map,zVe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},FVe=NVe.isBrowser("IE <= 11"),QVe=function(){function e(e){var t=this;DVe(this,"observer",void 0),DVe(this,"container",void 0),DVe(this,"mutations",void 0),DVe(this,"onCharData",void 0),this.container=e,this.mutations=LVe();var n=RVe(e);n.MutationObserver&&!FVe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Ms.env.NODE_ENV?MVe(!1,"Expected target to be an instance of Node"):MVe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,zVe):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=LVe(),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 FVe?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=jVe(AVe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),BVe={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)}}},UVe={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},WVe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var qVe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},$Ve=KBe,VVe=qVe;var KVe=function(e){var t=e.editorContainer;return t||("production"!==Ms.env.NODE_ENV?$Ve(!1,"Missing editorNode"):$Ve(!1)),VVe(t.firstChild)||("production"!==Ms.env.NODE_ENV?$Ve(!1,"editorNode.firstChild is not an HTMLElement"):$Ve(!1)),t.firstChild},HVe=BVe,GVe=zqe;var YVe=function(e,t,n,r,i){var o=GVe(e.getSelection());if(!t||!r)return"production"!==Ms.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=HVe.decode(t),s=a.blockKey,l=e.getBlockTree(s),c=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),u=HVe.decode(r),d=u.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!p)return"production"!==Ms.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=p.get("start"),g=c?h+n:null,v=p?m+i:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var w=c.get("end"),x=p.get("end");b=m===h&&x===w?i<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},XVe=TVe,ZVe=CVe,JVe=YVe,eKe=KBe,tKe=kVe,nKe=zqe;function rKe(e,t,n){var r=t,i=XVe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Ms.env.NODE_ENV?eKe(!1,"Unknown node in selection range."):eKe(!1)),e===r)&&(r=r.firstChild,tKe(r)||("production"!==Ms.env.NODE_ENV?eKe(!1,"Invalid DraftEditorContents node."):eKe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Ms.env.NODE_ENV?eKe(!1,"Invalid DraftEditorContents structure."):eKe(!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&&(tKe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||ZVe(e.firstChild));)e=e.firstChild;return e}(r);o=nKe(ZVe(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],l=null,c=null;if(ZVe(s)){var u=function(e){for(;e.lastChild&&(tKe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||ZVe(e.lastChild));)e=e.lastChild;return e}(s);l=nKe(ZVe(u)),c=iKe(u)}else l=nKe(i),c=iKe(s);return{key:l,offset:c}}function iKe(e){var t=e.textContent;return"\n"===t?0:t.length}var oKe=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:JVe(e,nKe(XVe(n)),r,nKe(XVe(i)),o),needsRecovery:!1};var l=null,c=null,u=!0;return a?(l={key:nKe(XVe(n)),offset:r},c=rKe(t,i,o)):s?(c={key:nKe(XVe(i)),offset:o},l=rKe(t,n,r)):(l=rKe(t,n,r),c=rKe(t,i,o),n===i&&r===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:JVe(e,l.key,l.offset,c.key,c.offset),needsRecovery:u}},aKe=oKe;var sKe=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}:aKe(e,t,r,i,o,a)},lKe=WVe,cKe=l$e,uKe=KVe,dKe=sKe;var fKe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();lKe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=dKe(n,uKe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?cKe.forceSelection(n,i):cKe.acceptSelection(n,i),e.update(n))}};var pKe={notEmptyKey:function(e){return null!=e&&""!=e}},hKe=pKe.notEmptyKey;function mKe(e,t){return hKe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var gKe=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:mKe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),mKe(e.getEntityMap(),n)},vKe=QVe,yKe=hWe,bKe=BVe,wKe=l$e,xKe=UVe,_Ke=KVe,OKe=sKe,kKe=gKe,SKe=zqe,CKe=!1,EKe=!1,IKe=null;var TKe={onCompositionStart:function(e){EKe=!0,function(e){IKe||(IKe=new vKe(_Ke(e))).start()}(e)},onCompositionEnd:function(e){CKe=!1,EKe=!1,setTimeout((function(){CKe||TKe.resolveComposition(e)}),20)},onSelect:fKe,onKeyDown:function(e,t){if(!EKe)return TKe.resolveComposition(e),void e._onKeyDown(t);t.which!==xKe.RIGHT&&t.which!==xKe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===xKe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!EKe){var t=SKe(IKe).stopAndFlushMutations();IKe=null,CKe=!0;var n=wKe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=bKe.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),c=l.start,u=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),f=kKe(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=yKe.replaceText(r,d,e,p,f),n=wKe.set(n,{currentContent:r})}));var i=OKe(n,_Ke(e)).selectionState;e.restoreEditorDOM();var o=wKe.acceptSelection(n,i);e.update(wKe.push(o,r,"insert-characters"))}else e.update(n)}}},PKe=TKe,DKe=oV;function NKe(){return NKe=DKe||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},NKe.apply(this,arguments)}var AKe=BVe,RKe=o,MKe=Dqe,jKe=wqe,LKe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,c=t.getKey(),u=s.get("leaves"),d=i.getComponentForKey(o),f=i.getPropsForKey(o),p=AKe.encode(c,parseInt(o,10),0),h=l.slice(u.first().get("start"),u.last().get("end")),m=jKe.getHTMLDirIfDifferent(MKe.getDirection(h),a);return RKe.createElement(d,NKe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(RKe.Component),zKe=LKe;function FKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BKe=o,UKe=KBe,WKe=kVe,qKe=_Ve.isBrowser("IE <= 11");var $Ke=function(e){var t,n;function r(t){var n;return QKe(FKe(n=e.call(this,t)||this),"_forceFlag",void 0),QKe(FKe(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;WKe(t)||("production"!==Ms.env.NODE_ENV?UKe(!1,"node is not an Element"):UKe(!1));var r=t;return n?!function(e){return qKe?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},qKe?BKe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):BKe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return qKe?BKe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):BKe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):BKe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(BKe.Component),VKe=$Ke,KKe=kVe;var HKe=function(e){return!(!e||!e.ownerDocument)&&(KKe(e)&&"BR"===e.nodeName)};var GKe=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 YKe=function(e){return GKe(e)&&3==e.nodeType};var XKe=function e(t,n){return!(!t||!n)&&(t===n||!YKe(t)&&(YKe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var ZKe=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}},JKe=WVe,eHe=XKe,tHe=ZKe,nHe=OVe,rHe=KBe,iHe=kVe,oHe=_Ve.isBrowser("IE");function aHe(e,t){if(!e)return"[empty]";var n=sHe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(iHe(n)||("production"!==Ms.env.NODE_ENV?rHe(!1,"Node must be an Element if it is not a text node."):rHe(!1)),n.outerHTML)}function sHe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return nHe(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(sHe(o[a],t));return i}function lHe(e,t){for(var n=e,r=n;n;){if(iHe(n)&&r.hasAttribute("contenteditable"))return aHe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function cHe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function uHe(e,t,n,r){var i=tHe();if(e.extend&&null!=t&&eHe(i,t)){n>cHe(t)&&JKe.logSelectionStateFailure({anonymizedDom:lHe(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 JKe.logSelectionStateFailure({anonymizedDom:lHe(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 dHe(e,t,n,r){var i=nHe(t).createRange();if(n>cHe(t)&&JKe.logSelectionStateFailure({anonymizedDom:lHe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),oHe)try{e.addRange(i)}catch(e){"production"!==Ms.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var fHe=function(e,t,n,r,i){var o=nHe(t);if(eHe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),c=e.getFocusKey(),u=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=l;s=c,l=u,c=f,u=p,d=!1}var h=s===n&&r<=l&&i>=l,m=c===n&&r<=u&&i>=u;if(h&&m)return a.removeAllRanges(),dHe(a,t,l-r,e),void uHe(a,t,u-r,e);if(d){if(m&&(a.removeAllRanges(),dHe(a,t,u-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),dHe(a,t,l-r,e),uHe(a,g,v,e)}}else h&&(a.removeAllRanges(),dHe(a,t,l-r,e)),m&&uHe(a,t,u-r,e)}},pHe=oV;function hHe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gHe=VKe,vHe=o,yHe=KBe,bHe=HKe,wHe=fHe,xHe=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 mHe(hHe(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"!==Ms.env.NODE_ENV?yHe(!1,"Missing node"):yHe(!1));var l,c=s.firstChild;c||("production"!==Ms.env.NODE_ENV?yHe(!1,"Missing child"):yHe(!1)),c.nodeType===Node.TEXT_NODE?l=c:bHe(c)?l=s:(l=c.firstChild)||("production"!==Ms.env.NODE_ENV?yHe(!1,"Missing targetNode"):yHe(!1)),wHe(e,l,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Ms.env.NODE_ENV?yHe(!1,"Missing leafNode"):yHe(!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()),pHe(e,r,n)}),{});if(o){var c=o(s,t);l=pHe(l,c)}return vHe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},vHe.createElement(gHe,null,n))},r}(vHe.Component),_He=xHe;var OHe=zKe,kHe=_He,SHe=BVe,CHe=o,EHe=z$e;KQe.exports.List;var IHe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,c=e.selection,u=e.tree,d=t.getKey(),f=t.getText(),p=u.size-1,h=this.props.children||u.map((function(e,u){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=SHe.encode(d,u,n),a=e.get("start"),m=e.get("end");return CHe.createElement(kHe,{key:o,offsetKey:o,block:t,start:a,selection:l?c:null,forceSelection:s,text:f.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===p&&n===g})})).toArray();return h&&o?CHe.createElement(OHe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:u}):v})).toArray();return CHe.createElement("div",{"data-offset-key":SHe.encode(d,0,0),className:EHe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(CHe.Component),THe=IHe;function PHe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var DHe={getTop:function(e){var t=e.ownerDocument;return PHe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;PHe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return PHe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;PHe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},NHe=DHe,AHe=/-(.)/g;var RHe=function(e){return e.replace(AHe,(function(e,t){return t.toUpperCase()}))},MHe=/([A-Z])/g;var jHe=function(e){return e.replace(MHe,"-$1").toLowerCase()},LHe=RHe,zHe=jHe;function FHe(e){return null==e?e:String(e)}var QHe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return FHe(n.getPropertyValue(zHe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return FHe(n.getPropertyValue(zHe(t)));if("display"===t)return"none"}return e.currentStyle?FHe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[LHe(t)]):FHe(e.style&&e.style[LHe(t)])};function BHe(e,t){var n=UHe.get(e,t);return"auto"===n||"scroll"===n}var UHe={get:QHe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(BHe(e,"overflow")||BHe(e,"overflowY")||BHe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},WHe=UHe,qHe=XKe;var $He=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!qHe(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 VHe=function(e){var t=$He(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},KHe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var HHe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:KHe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var GHe=HHe,YHe=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 XHe=function(e){var t=GHe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=YHe(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 ZHe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function JHe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function eGe(){return{width:window.innerWidth||ZHe(),height:window.innerHeight||JHe()}}eGe.withoutScrollbars=function(){return{width:ZHe(),height:JHe()}};var tGe=eGe,nGe=oV;function rGe(){return rGe=nGe||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},rGe.apply(this,arguments)}function iGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oGe(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){aGe(e,t,n[t])}))}return e}function aGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sGe=THe,lGe=BVe,cGe=o,uGe=NHe,dGe=WHe,fGe=VHe,pGe=XHe,hGe=tGe,mGe=KBe,gGe=qVe;KQe.exports.List;var vGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},yGe=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}},bGe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},wGe=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=oGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},xGe=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 aGe(iGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",cGe.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||vGe(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=dGe.getScrollParent(n),o=pGe(i);if(i===window){var a=fGe(n);(r=a.y+a.height-hGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{gGe(n)||("production"!==Ms.env.NODE_ENV?mGe(!1,"blockNode is not an HTMLElement"):mGe(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&uGe.setTop(i,uGe.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,c=t.editorKey,u=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=lGe.encode(n,0,0),d=s.getBlockForKey(n),f=bGe(d,o),p=f.CustomComponent||r,h=yGe(d,i),m=h.Element,g=h.wrapperTemplate,v=wGe(d,c,l,a,f,null),y=oGe({},e.props,{tree:u.getBlockTree(n),blockProps:f.customProps,offsetKey:l,block:d});return t.push(cGe.createElement(m,v,cGe.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var u=r.reverse(),d=u[0].key;n.push(cGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":lGe.encode(d,0,0)},u))}(g,m,t),t}),[]));var y=n.getKey(),b=lGe.encode(y,0,0),w=bGe(n,o),x=w.CustomComponent,_=null!=x?cGe.createElement(x,rGe({},this.props,{tree:u.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):cGe.createElement(sGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:l,direction:p,forceSelection:h,hasSelection:vGe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var O=yGe(n,i).Element,k=wGe(n,c,b,a,w,this.wrapperRef);return cGe.createElement(O,k,_)},r}(cGe.Component),_Ge=oV;function OGe(){return OGe=_Ge||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},OGe.apply(this,arguments)}var kGe=xGe,SGe=BVe,CGe=o,EGe=zqe,IGe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,c=a.getCurrentContent(),u=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=EGe(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:u,block:m,direction:l||p.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:CGe.createElement(kGe,OGe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:SGe.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?c.getBlockForKey(b):null}for(var w=[],x=0;x<h.length;){var _=h[x];if(_.wrapperTemplate){var O=[];do{O.push(h[x].block),x++}while(x<h.length&&h[x].wrapperTemplate===_.wrapperTemplate);var k=CGe.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},O);w.push(k)}else w.push(_.block),x++}return CGe.createElement("div",{"data-contents":"true"},w)},r}(CGe.Component),TGe=IGe,PGe=oV;function DGe(){return DGe=PGe||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},DGe.apply(this,arguments)}function NGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RGe=_He,MGe=BVe,jGe=o,LGe=NHe,zGe=WHe,FGe=Dqe,QGe=wqe,BGe=z$e,UGe=VHe,WGe=XHe,qGe=tGe,$Ge=KBe,VGe=qVe,KGe=zqe,HGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},GGe=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 AGe(NGe(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||HGe(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=zGe.getScrollParent(n),o=WGe(i);if(i===window){var a=UGe(n);(r=a.y+a.height-qGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{VGe(n)||("production"!==Ms.env.NODE_ENV?$Ge(!1,"blockNode is not an HTMLElement"):$Ge(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&LGe.setTop(i,LGe.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=HGe(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var c=l.size-1,u=l.map((function(a,l){var u=MGe.encode(n,s,l),d=a.get("start"),f=a.get("end");return jGe.createElement(RGe,{key:u,offsetKey:u,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&l===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return u;if(!e.props.decorator)return u;var f=KGe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return u;var h=f.getPropsForKey(d),m=MGe.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=r.slice(g,v),b=t.getEntityAt(a.get("start")),w=QGe.getHTMLDirIfDifferent(FGe.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return jGe.createElement(p,DGe({},h,x,{key:m}),u)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=BGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return jGe.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(jGe.Component),YGe=GGe;var XGe=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},ZGe=oV;function JGe(){return JGe=ZGe||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},JGe.apply(this,arguments)}function eYe(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){tYe(e,t,n[t])}))}return e}function tYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nYe=YGe,rYe=BVe,iYe=o,oYe=z$e,aYe=XGe,sYe=zqe,lYe=function(e,t,n,r){return oYe({"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})},cYe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||l!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,c=e.textDirectionality,u=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=sYe(a.getDirectionMap()),m=u.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),_=w.getType(),O=n(w),k=void 0,S=void 0,C=void 0;O&&(k=O.component,S=O.props,C=O.editable);var E=c||h.get(x),I=rYe.encode(x,0,0),T={contentState:u,block:w,blockProps:S,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:p,direction:E,forceSelection:f,offsetKey:I,preventScroll:l,selection:d,tree:a.getBlockTree(x)},P=t.get(_)||t.get("unstyled"),D=P.wrapper,N=P.element||t.get("unstyled").element,A=w.getDepth(),R="";if(r&&(R=r(w)),"li"===N)R=aYe(R,lYe(_,A,y!==D||null===v||A>v,E));var M=k||nYe,j={className:R,"data-block":!0,"data-editor":s,"data-offset-key":I,key:x};void 0!==C&&(j=eYe({},j,{contentEditable:C,suppressContentEditableWarning:!0}));var L=iYe.createElement(N,j,iYe.createElement(M,JGe({},T,{key:x})));g.push({block:L,wrapperTemplate:D,key:x,offsetKey:I}),v=D?w.getDepth():null,y=D}for(var z=[],F=0;F<g.length;){var Q=g[F];if(Q.wrapperTemplate){var B=[];do{B.push(g[F].block),F++}while(F<g.length&&g[F].wrapperTemplate===Q.wrapperTemplate);var U=iYe.cloneElement(Q.wrapperTemplate,{key:Q.key+"-wrap","data-offset-key":Q.offsetKey},B);z.push(U)}else z.push(Q.block),F++}return iYe.createElement("div",{"data-contents":"true"},z)},r}(iYe.Component),uYe=cYe,dYe=qWe("draft_tree_data_support")?TGe:uYe,fYe={isImage:function(e){return"image"===pYe(e)[0]},isJpeg:function(e){var t=pYe(e);return fYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function pYe(e){return e.split("/")}var hYe=fYe,mYe=KBe;var gYe=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"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Array-like object expected"):mYe(!1)),"number"!=typeof t&&("production"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Object needs a length property"):mYe(!1)),0===t||t-1 in e||("production"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Object should have keys for indices"):mYe(!1)),"function"==typeof e.callee&&("production"!==Ms.env.NODE_ENV?mYe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):mYe(!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 vYe(e){return function(){return e}}var yYe=function(){};yYe.thatReturns=vYe,yYe.thatReturnsFalse=vYe(!1),yYe.thatReturnsTrue=vYe(!0),yYe.thatReturnsNull=vYe(null),yYe.thatReturnsThis=function(){return this},yYe.thatReturnsArgument=function(e){return e};var bYe=yYe,wYe=hYe,xYe=gYe,_Ye=bYe,OYe=new RegExp("\r\n","g"),kYe={"text/rtf":1,"text/html":1};function SYe(e){if("file"==e.kind)return e.getAsFile()}var CYe=function(){function e(e){this.data=e,this.types=e.types?xYe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return kYe[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(OYe,"\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(!wYe.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(SYe).filter(_Ye.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),EYe=CYe,IYe=KBe,TYe=/\.textClipping$/,PYe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var DYe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!$e.FileReader||e.type&&!(e.type in PYe))return void t("");if(""===e.type){var n="";return TYe.test(e.name)&&(n=e.name.replace(TYe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Ms.env.NODE_ENV?IYe(!1,'We should be calling "FileReader.readAsText" which returns a string'):IYe(!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 NYe=function(e){return"handled"===e||!0===e},AYe=EYe,RYe=hWe,MYe=l$e,jYe=TVe,LYe=OVe,zYe=DYe,FYe=YVe,QYe=PVe,BYe=NYe,UYe=zqe;var WYe={onDragEnd:function(e){e.exitCurrentMode(),qYe(e)},onDrop:function(e,t){var n=new AYe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=LYe(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=UYe(n),r=UYe(r);var a=UYe(jYe(n));return FYe(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&&BYe(e.props.handleDroppedFiles(i,o)))return;zYe(o,(function(t){t&&e.update($Ye(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&BYe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=RYe.moveText(e.getCurrentContent(),e.getSelection(),t);return MYe.push(e,n,"insert-fragment")}(r,i)):e.update($Ye(r,i,n.getText()))),qYe(e)}}}};function qYe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:QYe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function $Ye(e,t,n){var r=RYe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return MYe.push(e,r,"insert-fragment")}var VYe=WYe;var KYe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Ms.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),s=!1}}}}}("undefined"==typeof self?$e:self);var HYe=$e.setImmediate,GYe=hWe,YYe=l$e,XYe=gKe,ZYe=NYe,JYe=KYe,eXe=zqe,tXe=HYe,nXe=_Ve.isBrowser("Firefox");function rXe(e,t,n,r,i){var o=GYe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return YYe.push(e,o,"insert-characters",i)}var iXe=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&&ZYe(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(rXe(n,r,n.getCurrentInlineStyle(),XYe(n.getCurrentContent(),n.getSelection()),!0));var s,l=rXe(n,r,n.getCurrentInlineStyle(),XYe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=JYe(e._latestCommittedEditorState)),!c){var u=n.getBlockTree(a),d=l.getBlockTree(a);c=u.size!==d.size||u.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),l=s+(s>=o?r.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||l!==u||null!=d&&u-c!=s-i}))}if(c||(s=r,c=nXe&&("'"==s||"/"==s)),c||(c=eXe(l.getDirectionMap()).get(a)!==eXe(n.getDirectionMap()).get(a)),c)return t.preventDefault(),l=YYe.set(l,{forceSelection:!0}),void e.update(l);l=YYe.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,tXe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},oXe=l$e,aXe=XKe,sXe=ZKe;var lXe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&sXe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&aXe(i,r.anchorNode)&&aXe(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(oXe.acceptSelection(o,s))}},cXe=l$e;var uXe=function(e,t){e.setMode("composite"),e.update(cXe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},dXe=mUe;var fXe=function(e){var t=e.getSelection();return t.isCollapsed()?null:dXe(e.getCurrentContent(),t)},pXe=fXe;var hXe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(pXe(e._latestEditorState))};var mXe=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},gXe=hWe,vXe=l$e,yXe=WHe,bXe=fXe,wXe=XHe,xXe=mXe;var _Xe=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(xXe(o)){var a=o;n=wXe(yXe.getScrollParent(a))}var s=bXe(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=gXe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return vXe.push(e,t,"remove-range")}(r))}),0)}};var OXe=function(e,t){e.setMode("drag"),t.preventDefault()};var kXe=function(e){e._internalDrag=!0,e.setMode("drag")},SXe=l$e,CXe=_Ve;var EXe=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),CXe.isBrowser("Chrome < 60.0.3081.0")?e.update(SXe.forceSelection(n,i)):e.update(SXe.acceptSelection(n,i))}},IXe=KBe,TXe=/[\uD800-\uDFFF]/;function PXe(e){return 55296<=e&&e<=57343}function DXe(e){return TXe.test(e)}function NXe(e,t){return 1+PXe(e.charCodeAt(t))}function AXe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!DXe(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+=NXe(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=NXe(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=NXe(e,o);return e.substring(i,o)}var RXe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=NXe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:NXe,hasSurrogateUnit:DXe,isCodeUnitInSurrogateRange:PXe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Ms.env.NODE_ENV?IXe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):IXe(!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(!DXe(e))return e.length;for(var t=0,n=0;n<e.length;n+=NXe(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 AXe(e,t=t<n?t:n,r)},substr:AXe},MXe=RXe,jXe=bYe;function LXe(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 zXe="production"!==Ms.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];LXe.apply(void 0,[t].concat(r))}}:jXe,FXe=zXe,QXe=FXe;var BXe=function(e,t){var n=e.getSelection();"production"!==Ms.env.NODE_ENV&&QXe(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})},UXe=hWe,WXe=qWe("draft_tree_data_support");var qXe=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),l=i.getBlockForKey(a);if(WXe&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(WXe)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(l.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return UXe.removeRange(i,o,n)},$Xe=l$e,VXe=MXe,KXe=BXe,HXe=qXe;var GXe=function(e){var t=HXe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return KXe(e,o?VXe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return $Xe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},YXe=hWe,XXe=BVe,ZXe=l$e,JXe=pKe.notEmptyKey,eZe=TVe,tZe=GXe,nZe=zqe,rZe=_Ve.isEngine("Gecko");var iZe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var l=r.textContent,c=e._latestEditorState,u=nZe(eZe(r)),d=XXe.decode(u),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(f).getIn([p,"leaves",h]),g=m.start,v=m.end,y=c.getCurrentContent(),b=y.getBlockForKey(f),w=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==w){var x,_,O,k,S=c.getSelection(),C=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),I=JXe(E)?y.getEntity(E):null,T="MUTABLE"===(null!=I?I.getMutability():null),P=T?"spellcheck-change":"apply-entity",D=YXe.replaceText(y,C,l,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(rZe)x=n.anchorOffset,_=n.focusOffset,k=(O=g+Math.min(x,_))+Math.abs(x-_),x=O,_=k;else{var N=l.length-w.length;O=S.getStartOffset(),k=S.getEndOffset(),x=i?k+N:O,_=k+N}var A=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:x,focusOffset:_})});e.update(ZXe.push(c,A,P))}else{var R=t.nativeEvent.inputType;if(R){var M=function(e,t){return"deleteContentBackward"===e?tZe(t):t}(R,c);if(M!==c)return e.restoreEditorDOM(),void e.update(M)}}}},oZe=UVe;var aZe=function(e){return e.which===oZe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},sZe=aZe,lZe=_Ve.isPlatform("Mac OS X"),cZe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return lZe&&e.altKey},usesMacOSHeuristics:function(){return lZe},hasCommandModifier:function(e){return lZe?!!e.metaKey&&!e.altKey:cZe.isCtrlKeyCommand(e)},isSoftNewlineEvent:sZe},uZe=cZe,dZe=hWe,fZe=l$e,pZe=mUe,hZe=zqe,mZe=null,gZe={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=hZe(r),mZe=pZe(t,r);var s=dZe.removeRange(t,r,"forward");return s===t?e:fZe.push(e,s,"remove-range")},paste:function(e){if(!mZe)return e;var t=dZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),mZe);return fZe.push(e,t,"insert-fragment")}},vZe=gZe,yZe=KBe;var bZe=_Ve.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"!==Ms.env.NODE_ENV?yZe(!1,"Found an unexpected detached subtree when getting range client rects."):yZe(!1)}:function(e){return Array.from(e.getClientRects())},wZe=MXe,xZe=OVe,_Ze=bZe,OZe=KBe;function kZe(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 SZe(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 CZe=l$e,EZe=function(e){e.collapsed||("production"!==Ms.env.NODE_ENV?OZe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):OZe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=xZe(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"!==Ms.env.NODE_ENV?OZe(!1,"Missing document.body"):OZe(!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);kZe(_Ze(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Ms.env.NODE_ENV?OZe(!1,"Found unexpected detached subtree when traversing."):OZe(!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&&wZe.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!kZe(_Ze(e),n))break;r=o,i=l}if(-1===l||0===o.childNodes.length)break;a=SZe(o=o.childNodes[l])}return e.setStart(r,i),e},IZe=oKe,TZe=BXe,PZe=qXe;var DZe=function(e,t){var n=PZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return TZe(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=EZe(r),IZe(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:CZe.push(e,n,"remove-range")},NZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),AZe=new RegExp("^(?:"+NZe+")*(?:['‘’]|(?!"+NZe+").)*(?:(?!"+NZe+").)"),RZe=new RegExp("(?:(?!"+NZe+").)(?:['‘’]|(?!"+NZe+").)*(?:"+NZe+")*$");function MZe(e,t){var n=t?RZe.exec(e):AZe.exec(e);return n?n[0]:e}var jZe={getBackward:function(e){return MZe(e,!0)},getForward:function(e){return MZe(e,!1)}},LZe=jZe,zZe=l$e,FZe=BXe,QZe=qXe;var BZe=function(e){var t=QZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return FZe(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=LZe.getBackward(i);return FZe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:zZe.push(e,t,"remove-range")},UZe=FXe;var WZe=function(e,t){var n=e.getSelection();"production"!==Ms.env.NODE_ENV&&UZe(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})},qZe=jZe,$Ze=l$e,VZe=WZe,KZe=qXe;var HZe=function(e){var t=KZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=qZe.getForward(i);return VZe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:$Ze.push(e,t,"remove-range")},GZe=hWe,YZe=l$e;var XZe=l$e;var ZZe=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return XZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},JZe=l$e;var eJe=function(e){var t=e.getSelection(),n=t.getStartKey();return JZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},tJe=l$e,nJe=MXe,rJe=WZe,iJe=qXe;var oJe=function(e){var t=iJe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return rJe(e,o?nJe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return tJe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},aJe=hWe,sJe=l$e,lJe=mUe;var cJe=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=lJe(a,r),c=aJe.removeRange(a,r,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,f=u.merge({anchorOffset:d,focusOffset:d}),p=aJe.replaceWithFragment(c,f,l),h=sJe.push(e,p,"insert-fragment");return sJe.acceptSelection(h,i)},uJe=l$e;var dJe=function(e,t,n){var r=uJe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(uJe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(uJe.set(r,{nativelyRenderedContent:i}))}},fJe=hWe,pJe=l$e,hJe=UVe,mJe=vZe,gJe=_Ve,vJe=NYe,yJe=DZe,bJe=BZe,wJe=HZe,xJe=function(e){var t=GZe.splitBlock(e.getCurrentContent(),e.getSelection());return YZe.push(e,t,"split-block")},_Je=ZZe,OJe=eJe,kJe=GXe,SJe=oJe,CJe=cJe,EJe=dJe,IJe=uZe.isOptionKeyCommand,TJe=gJe.isBrowser("Chrome");var PJe=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 hJe.RETURN:if(t.preventDefault(),e.props.handleReturn&&vJe(e.props.handleReturn(t,r)))return;break;case hJe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case hJe.TAB:if(i("onTab"))return;break;case hJe.UP:if(i("onUpArrow"))return;break;case hJe.RIGHT:if(i("onRightArrow"))return;break;case hJe.DOWN:if(i("onDownArrow"))return;break;case hJe.LEFT:if(i("onLeftArrow"))return;break;case hJe.SPACE:TJe&&IJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!vJe(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return pJe.redo(t);case"delete":return SJe(t);case"delete-word":return wJe(t);case"backspace":return kJe(t);case"backspace-word":return bJe(t);case"backspace-to-start-of-line":return yJe(t,n);case"split-block":return xJe(t);case"transpose-characters":return CJe(t);case"move-selection-to-start-of-block":return OJe(t);case"move-selection-to-end-of-block":return _Je(t);case"secondary-cut":return mJe.cut(t);case"secondary-paste":return mJe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else EJe(t,r,e.update);else if(n===hJe.SPACE&&TJe&&IJe(t)){var s=fJe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(pJe.push(r,s,"insert-characters"))}};var DJe=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}(),NJe=DJe,AJe=KBe,RJe=_Ve.isBrowser("IE <= 9");var MJe=function(e){var t,n=null;return!RJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Ms.env.NODE_ENV?AJe(!1,"Missing doc.documentElement"):AJe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},jJe=kVe;var LJe=function(e){return!(!e||!e.ownerDocument)&&(jJe(e)&&"A"===e.nodeName)},zJe=kVe;var FJe,QJe=function(e){return!(!e||!e.ownerDocument)&&(zJe(e)&&"IMG"===e.nodeName)};function BJe(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){UJe(e,t,n[t])}))}return e}function UJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WJe=aBe,qJe=xBe,$Je=jBe,VJe=B$e,KJe=BWe,HJe=NJe,GJe=z$e,YJe=rUe,XJe=MJe,ZJe=qWe,JJe=KQe.exports,e0e=JJe.List,t0e=JJe.Map,n0e=JJe.OrderedSet,r0e=LJe,i0e=HKe,o0e=qVe,a0e=QJe,s0e=ZJe("draft_tree_data_support"),l0e=new RegExp("\r","g"),c0e=new RegExp("\n","g"),u0e=new RegExp("^\n","g"),d0e=new RegExp("&nbsp;","g"),f0e=new RegExp("&#13;?","g"),p0e=new RegExp("&#8203;?","g"),h0e=["bold","bolder","500","600","700","800","900"],m0e=["light","lighter","normal","100","200","300","400"],g0e=["className","href","rel","target","title"],v0e=["alt","className","height","src","width"],y0e=(UJe(FJe={},GJe("public/DraftStyleDefault/depth0"),0),UJe(FJe,GJe("public/DraftStyleDefault/depth1"),1),UJe(FJe,GJe("public/DraftStyleDefault/depth2"),2),UJe(FJe,GJe("public/DraftStyleDefault/depth3"),3),UJe(FJe,GJe("public/DraftStyleDefault/depth4"),4),FJe),b0e=t0e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),w0e=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)}))})),t0e(t)},x0e=function(e){if(o0e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},_0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(y0e).some((function(n){e.classList.contains(n)&&(t=y0e[n])})),t},O0e=function(e){if(!r0e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},k0e=function(e){if(!a0e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},S0e=function(e,t){if(!o0e(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){h0e.indexOf(r)>=0?e.add("BOLD"):m0e.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"))}))},C0e=function(e){return"ul"===e||"ol"===e},E0e=function(){function e(e,t){UJe(this,"characterList",e0e()),UJe(this,"currentBlockType","unstyled"),UJe(this,"currentDepth",0),UJe(this,"currentEntity",null),UJe(this,"currentText",""),UJe(this,"wrapper",null),UJe(this,"blockConfigs",[]),UJe(this,"contentBlocks",[]),UJe(this,"entityMap",KJe),UJe(this,"blockTypeMap",void 0),UJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=e0e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=KJe,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],n0e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(s0e?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||YJe(),n=BJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:e0e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=e0e(),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||C0e(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;C0e(o)&&(this.wrapper=o,C0e(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(k0e(i))this._addImgNode(i,t);else if(O0e(i))this._addAnchorNode(i,n,t);else{var c=t;b0e.has(o)&&(c=c.add(b0e.get(o))),c=S0e(i,c);var u=x0e(i);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!s0e&&o0e(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=i;this.currentDepth=_0e(p,this.currentDepth)}var h=YJe(),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=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=WJe.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=e0e()):(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(u0e,"")).replace(c0e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){i0e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(a0e(e)){var n=e,r={};v0e.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),ZJe("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(r0e(e)){var r=e,i={};g0e.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new HJe(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=e0e(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new $Je(BJe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return e0e(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 qJe(BJe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=e0e(),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}(),I0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:XJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:VJe,r=t(e=e.trim().replace(l0e,"").replace(d0e," ").replace(f0e,"").replace(p0e,""));if(!r)return null;var i=w0e(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new E0e(i,o).addDOMNode(r).getContentBlocks()};function T0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P0e=xBe,D0e=jBe,N0e=I0e,A0e=rUe,R0e=MJe,M0e=qWe,j0e=KQe.exports,L0e=VWe,z0e=j0e.List,F0e=j0e.Repeat,Q0e=M0e("draft_tree_data_support"),B0e=Q0e?D0e:P0e,U0e={processHTML:function(e,t){return N0e(e,R0e,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=L0e(r);var o=A0e(),a={key:o,type:n,text:r,characterList:z0e(F0e(t,r.length))};if(Q0e&&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){T0e(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new B0e(a)),e}),[])}};var W0e=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})},q0e=hWe,$0e=l$e,V0e=W0e,K0e=zqe,H0e={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 H0e.toggleInlineStyle(e,"BOLD");case"italic":return H0e.toggleInlineStyle(e,"ITALIC");case"underline":return H0e.toggleInlineStyle(e,"UNDERLINE");case"code":return H0e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return H0e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return H0e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=q0e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=$0e.push(e,t,"insert-characters");return $0e.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 $0e.push(e,a,"remove-range")}var s=H0e.tryToRemoveBlockStyle(e);return s?$0e.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=q0e.removeRange(n,a,"forward");return s!==n?$0e.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var c=V0e(o,r,e.shiftKey?-1:1,n);return $0e.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=K0e(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var c=o.getBlockForKey(r).getType()===t?"unstyled":t;return $0e.push(e,q0e.setBlockType(o,a,c),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?H0e.toggleBlockType(e,"code-block"):H0e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return $0e.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?q0e.removeInlineStyle(o,n,t):q0e.applyInlineStyle(o,n,t),$0e.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=q0e.applyEntity(e.getCurrentContent(),t,n);return $0e.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 q0e.setBlockType(i,t,"unstyled")}return null}},G0e=H0e,Y0e=/\r\n?|\n/g;var X0e=YQe,Z0e=aBe,J0e=EYe,e1e=hWe,t1e=U0e,n1e=l$e,r1e=G0e,i1e=gKe,o1e=DYe,a1e=NYe,s1e=function(e){return e.split(Y0e)};function l1e(e,t,n){var r=e1e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return n1e.push(e,r.set("entityMap",n),"insert-fragment")}var c1e=function(e,t){t.preventDefault();var n=new J0e(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&a1e(e.props.handlePastedFiles(r)))return;return void o1e(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=s1e(t),o=Z0e.create({style:n.getCurrentInlineStyle(),entity:i1e(n.getCurrentContent(),n.getSelection())}),a=r1e.getCurrentBlockType(n),s=t1e.processText(r,o,a),l=X0e.createFromArray(s),c=e1e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(n1e.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!a1e(e.props.handlePastedText(a,s,l))){if(a&&(o=s1e(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(l1e(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(l1e(e._latestEditorState,c));if(s){var u=t1e.processHTML(s,e.props.blockRenderMap);if(u){var d=u.contentBlocks,f=u.entityMap;if(d){var p=X0e.createFromArray(d);return void e.update(l1e(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=Z0e.create({style:l.getCurrentInlineStyle(),entity:i1e(l.getCurrentContent(),l.getSelection())}),m=r1e.getCurrentBlockType(l),g=t1e.processText(o,h,m),v=X0e.createFromArray(g);e.update(l1e(e._latestEditorState,v))}}},u1e=_Ve,d1e=iXe,f1e=lXe,p1e=uXe,h1e=hXe,m1e=_Xe,g1e=OXe,v1e=kXe,y1e=EXe,b1e=iZe,w1e=PJe,x1e=c1e,_1e=fKe,O1e=u1e.isBrowser("Chrome"),k1e=u1e.isBrowser("Firefox"),S1e=O1e||k1e?_1e:function(e){},C1e={onBeforeInput:d1e,onBlur:f1e,onCompositionStart:p1e,onCopy:h1e,onCut:m1e,onDragOver:g1e,onDragStart:v1e,onFocus:y1e,onInput:b1e,onKeyDown:w1e,onPaste:x1e,onSelect:_1e,onMouseUp:S1e,onKeyUp:S1e},E1e=Qe.unstable_flushControlled;var I1e=o,T1e=z$e,P1e=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=T1e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return I1e.createElement("div",{className:t},I1e.createElement("div",{className:T1e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(I1e.Component),D1e=P1e,N1e=uZe,A1e=UVe,R1e=_Ve,M1e=R1e.isPlatform("Mac OS X"),j1e=M1e&&R1e.isBrowser("Firefox < 29"),L1e=N1e.hasCommandModifier,z1e=N1e.isCtrlKeyCommand;function F1e(e){return M1e&&e.altKey||z1e(e)}var Q1e=function(e){switch(e.keyCode){case 66:return L1e(e)?"bold":null;case 68:return z1e(e)?"delete":null;case 72:return z1e(e)?"backspace":null;case 73:return L1e(e)?"italic":null;case 74:return L1e(e)?"code":null;case 75:return M1e&&z1e(e)?"secondary-cut":null;case 77:case 79:return z1e(e)?"split-block":null;case 84:return M1e&&z1e(e)?"transpose-characters":null;case 85:return L1e(e)?"underline":null;case 87:return M1e&&z1e(e)?"backspace-word":null;case 89:return z1e(e)?M1e?"secondary-paste":"redo":null;case 90:return function(e){return L1e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case A1e.RETURN:return"split-block";case A1e.DELETE:return function(e){return!M1e&&e.shiftKey?null:F1e(e)?"delete-word":"delete"}(e);case A1e.BACKSPACE:return function(e){return L1e(e)&&M1e?"backspace-to-start-of-line":F1e(e)?"backspace-word":"backspace"}(e);case A1e.LEFT:return j1e&&L1e(e)?"move-selection-to-start-of-block":null;case A1e.RIGHT:return j1e&&L1e(e)?"move-selection-to-end-of-block":null;default:return null}},B1e=oV;function U1e(){return U1e=B1e||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},U1e.apply(this,arguments)}function W1e(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){$1e(e,t,n[t])}))}return e}function q1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V1e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var K1e=B$e,H1e=U$e,G1e=PKe,Y1e=dYe,X1e=VYe,Z1e=C1e,J1e=E1e,e2e=D1e,t2e=l$e,n2e=o,r2e=NHe,i2e=WHe,o2e=z$e,a2e=rUe,s2e=Q1e,l2e=XHe,c2e=qWe,u2e=KBe,d2e=qVe,f2e=zqe,p2e=_Ve.isBrowser("IE"),h2e=!p2e,m2e={edit:Z1e,composite:G1e,drag:X1e,cut:null,render:null},g2e=!1,v2e=function(e){function t(){return e.apply(this,arguments)||this}V1e(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}(n2e.Component),y2e=function(e){function t(t){var n;return $1e(q1e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),$1e(q1e(n),"_clipboard",void 0),$1e(q1e(n),"_handler",void 0),$1e(q1e(n),"_dragCount",void 0),$1e(q1e(n),"_internalDrag",void 0),$1e(q1e(n),"_editorKey",void 0),$1e(q1e(n),"_placeholderAccessibilityID",void 0),$1e(q1e(n),"_latestEditorState",void 0),$1e(q1e(n),"_latestCommittedEditorState",void 0),$1e(q1e(n),"_pendingStateFromBeforeInput",void 0),$1e(q1e(n),"_onBeforeInput",void 0),$1e(q1e(n),"_onBlur",void 0),$1e(q1e(n),"_onCharacterData",void 0),$1e(q1e(n),"_onCompositionEnd",void 0),$1e(q1e(n),"_onCompositionStart",void 0),$1e(q1e(n),"_onCopy",void 0),$1e(q1e(n),"_onCut",void 0),$1e(q1e(n),"_onDragEnd",void 0),$1e(q1e(n),"_onDragOver",void 0),$1e(q1e(n),"_onDragStart",void 0),$1e(q1e(n),"_onDrop",void 0),$1e(q1e(n),"_onInput",void 0),$1e(q1e(n),"_onFocus",void 0),$1e(q1e(n),"_onKeyDown",void 0),$1e(q1e(n),"_onKeyPress",void 0),$1e(q1e(n),"_onKeyUp",void 0),$1e(q1e(n),"_onMouseDown",void 0),$1e(q1e(n),"_onMouseUp",void 0),$1e(q1e(n),"_onPaste",void 0),$1e(q1e(n),"_onSelect",void 0),$1e(q1e(n),"editor",void 0),$1e(q1e(n),"editorContainer",void 0),$1e(q1e(n),"focus",void 0),$1e(q1e(n),"blur",void 0),$1e(q1e(n),"setMode",void 0),$1e(q1e(n),"exitCurrentMode",void 0),$1e(q1e(n),"restoreEditorDOM",void 0),$1e(q1e(n),"setClipboard",void 0),$1e(q1e(n),"getClipboard",void 0),$1e(q1e(n),"getEditorKey",void 0),$1e(q1e(n),"update",void 0),$1e(q1e(n),"onDragEnter",void 0),$1e(q1e(n),"onDragLeave",void 0),$1e(q1e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),$1e(q1e(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=i2e.getScrollParent(i),a=e||l2e(o),s=a.x,l=a.y;d2e(i)||("production"!==Ms.env.NODE_ENV?u2e(!1,"editorNode is not an HTMLElement"):u2e(!1)),i.focus(),o===window?window.scrollTo(s,l):r2e.setTop(o,l),r||n.update(t2e.forceSelection(t,t.getSelection()))}})),$1e(q1e(n),"blur",(function(){var e=n.editor;e&&(d2e(e)||("production"!==Ms.env.NODE_ENV?u2e(!1,"editorNode is not an HTMLElement"):u2e(!1)),e.blur())})),$1e(q1e(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=W1e({},m2e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=W1e({},m2e,{edit:a});n._handler=s[e]})),$1e(q1e(n),"exitCurrentMode",(function(){n.setMode("edit")})),$1e(q1e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),$1e(q1e(n),"setClipboard",(function(e){n._clipboard=e})),$1e(q1e(n),"getClipboard",(function(){return n._clipboard})),$1e(q1e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),$1e(q1e(n),"onDragEnter",(function(){n._dragCount++})),$1e(q1e(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||a2e(),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"!==Ms.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}V1e(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&&(J1e?J1e((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:f2e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return n2e.createElement(e2e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,c=e.textAlignment,u=e.textDirectionality,d=o2e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:W1e({},H1e,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:u};return n2e.createElement("div",{className:d},this._renderPlaceholder(),n2e.createElement("div",{className:o2e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},n2e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:o2e({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:f,spellCheck:h2e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},n2e.createElement(v2e,{editor:this,editorState:a}),n2e.createElement(Y1e,U1e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!g2e&&c2e("draft_ods_enabled")&&(g2e=!0),this.setMode("edit"),p2e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):$e.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(n2e.Component);$1e(y2e,"defaultProps",{blockRenderMap:K1e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:s2e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var b2e=y2e,w2e=Ke(Object.freeze({__proto__:null})),x2e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},_2e=x2e,O2e=MXe.strlen;var k2e=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:O2e(o.slice(0,r)),length:O2e(o.slice(r,i)),key:Number(t[_2e.stringify(a)])})})),n},S2e=MXe,C2e=sBe,E2e=function(e,t){return e===t},I2e=function(e){return!!e},T2e=[];var P2e=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 C2e(i,E2e,I2e,(function(t,i){var o=e.getText();r.push({offset:S2e.strlen(o.slice(0,t)),length:S2e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(T2e,n.toJS())};function D2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N2e=xBe,A2e=jBe,R2e=x2e,M2e=k2e,j2e=P2e,L2e=KBe,z2e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:j2e(e),entityRanges:M2e(e,t),data:e.getData().toObject()}},F2e=function(e,t,n,r){if(e instanceof N2e)n.push(z2e(e,t));else{e instanceof A2e||("production"!==Ms.env.NODE_ENV?L2e(!1,"block is not a BlockNode"):L2e(!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){D2e(e,t,n[t])}))}return e}({},z2e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},Q2e=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=R2e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),F2e(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(R2e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function B2e(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){U2e(e,t,n[t])}))}return e}function U2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W2e=rUe,q2e=KBe,$2e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},V2e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Ms.env.NODE_ENV?q2e(!1,"Invalid raw state"):q2e(!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"!==Ms.env.NODE_ENV?q2e(!1,"Invalid tree raw block"):q2e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=B2e({},e);$2e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?B2e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,B2e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=$2e(e),i=e.depth||0,o=B2e({},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:W2e(),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)})),B2e({},e,{blocks:t})}},K2e=V2e,H2e=FXe,G2e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing parent -> child pointer on %s",n),!1;var i=e.getChildKeys().map((function(e){return t.get(e)}));if(!i.every((function(e){return e.getParentKey()===n})))return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Ms.env.NODE_ENV&&H2e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Ms.env.NODE_ENV&&H2e(!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"!==Ms.env.NODE_ENV&&H2e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var l=a.map((function(t){return e.get(t)})),c=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return"production"!==Ms.env.NODE_ENV&&H2e(!0,"%s has no first child",r),!1;r=c.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Ms.env.NODE_ENV&&H2e(!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)}},Y2e=G2e,X2e=aBe,Z2e=KQe.exports.List;var J2e=function(e,t){var n=e.map((function(e,n){var r=t[n];return X2e.create({style:e,entity:r})}));return Z2e(n)},e3e=MXe.substr;var t3e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=e3e(e,0,t.offset).length,i=r+e3e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},n3e=MXe,r3e=KQe.exports.OrderedSet,i3e=n3e.substr,o3e=r3e();var a3e=function(e,t){var n=Array(e.length).fill(o3e);return t&&t.forEach((function(t){for(var r=i3e(e,0,t.offset).length,i=r+i3e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function s3e(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){l3e(e,t,n[t])}))}return e}function l3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c3e=xBe,u3e=jBe,d3e=hqe,f3e=BWe,p3e=K2e,h3e=Y2e,m3e=WWe,g3e=J2e,v3e=t3e,y3e=a3e,b3e=rUe,w3e=KQe.exports,x3e=KBe,_3e=qWe("draft_tree_data_support"),O3e=w3e.List,k3e=w3e.Map,S3e=w3e.OrderedMap,C3e=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||b3e(),data:k3e(i),characterList:E3e(e,t)}},E3e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return g3e(y3e(n,i||[]),v3e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return s3e({},e,{key:t[e.key]})}))))},I3e=function(e){return s3e({},e,{key:e.key||b3e()})},T3e=function(e,t,n){var r=t.map((function(e){return s3e({},e,{parentRef:n})}));return e.concat(r.reverse())},P3e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=_3e&&!n?p3e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!_3e)return function(e,t){return S3e(e.map((function(e){var n=new c3e(C3e(e,t));return[n.getKey(),n]})))}(n?p3e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(I3e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Ms.env.NODE_ENV?x3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x3e(!1));var o=r.children.map(I3e),a=new u3e(s3e({},C3e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:O3e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=T3e([],o,a);s.length>0;){var l=s.pop(),c=l.parentRef,u=c.getChildKeys(),d=u.indexOf(l.key),f=Array.isArray(l.children);if(!f){f||("production"!==Ms.env.NODE_ENV?x3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x3e(!1));break}var p=l.children.map(I3e),h=new u3e(s3e({},C3e(l,t),{parent:c.getKey(),children:O3e(p.map((function(e){return e.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),s=T3e(s,p,h)}return n}),S3e())}(r,t);return"production"!==Ms.env.NODE_ENV&&(h3e.isValidTree(i)||("production"!==Ms.env.NODE_ENV?x3e(!1,"Should be a valid tree"):x3e(!1))),i},D3e=function(e){Array.isArray(e.blocks)||("production"!==Ms.env.NODE_ENV?x3e(!1,"invalid RawDraftContentState"):x3e(!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]=f3e.__create(i,o,a||{})})),n}(e),n=P3e(e,t),r=n.isEmpty()?new m3e:m3e.createEmpty(n.first().getKey());return new d3e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},N3e=bZe;var A3e=function(e){var t=N3e(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}},R3e=A3e;var M3e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=R3e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r},j3e={Editor:b2e,EditorBlock:YGe,EditorState:l$e,CompositeDecorator:j$e,Entity:BWe,EntityInstance:DWe,BlockMapBuilder:YQe,CharacterMetadata:aBe,ContentBlock:xBe,ContentState:hqe,RawDraftContentState:w2e,SelectionState:WWe,AtomicBlockUtils:A$e,KeyBindingUtil:uZe,Modifier:hWe,RichUtils:G0e,DefaultDraftBlockRenderMap:B$e,DefaultDraftInlineStyle:U$e,convertFromHTML:I0e,convertFromRaw:D3e,convertToRaw:Q2e,genKey:rUe,getDefaultKeyBinding:Q1e,getVisibleSelectionRect:M3e};function L3e(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 z3e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},F3e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};function Q3e(e){return Q3e="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},Q3e(e)}var B3e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function U3e(e){if(-1!==B3e.indexOf(e.type))return We.renderToStaticMarkup(e);var t=We.renderToStaticMarkup(o.cloneElement(e,{},"\r")).split("\r");return Yhe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),Yhe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function W3e(e){return o.isValidElement(e)&&o.Children.count(e.props.children)>0}function q3e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(o.isValidElement(e)){if(W3e(e))return We.renderToStaticMarkup(e);var n=U3e(e);if(null!==t&&"object"===Q3e(n)){var r=n.start,i=n.end;return r+t+i}return n}if(Yhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var a=e.start,s=e.end;return a+t+s}return e}var $3e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.isValidElement(t)){var r=U3e(t);if("string"==typeof r)return 0;var i=r[n].length,a=o.Children.toArray(t.props.children)[0];return i+(a&&o.isValidElement(a)?e(a,n):0)}return"object"===Q3e(t)&&t[n]?t[n].length:0},V3e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},K3e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V3e,r=zze(e.text),i=n;if(n.__isMiddleware&&(i=n(V3e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(z3e),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=r.slice(n.offset,n.offset+n.length).join(""),c=i(s,l),u=zze(q3e(c,l)||l),d=$3e(c,"start"),f=$3e(c,"end"),p=function(t){return t.reduce((function(t,r,i){var o=function(t,r){return r>e||Object.prototype.hasOwnProperty.call(t,"style")?L3e(t,n.offset,n.length,u.length,d,f):t}(r,i);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=p(o),a=p(a),r=[].concat(zze(r.slice(0,n.offset)),zze(u),zze(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},H3e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},G3e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Y3e(e){switch(e){case"BOLD":return o.createElement("strong",null);case"ITALIC":return o.createElement("em",null);case"UNDERLINE":return o.createElement("u",null);case"CODE":return o.createElement("code",null);default:return{start:"",end:""}}}var X3e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Z3e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return Yhe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},J3e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},e5e=function(e,t){var n=e.offset<=t.offset,r=e.offset+e.length>=t.offset+t.length;return n&&r},t5e=function(e,t){return t.offset+t.length-(e.offset+e.length)},n5e=function(e,t){for(var n=0;n<e.length;){if(!t.every(e5e.bind(null,e[n])))return e.slice(n);n++}return[]},r5e=function(e,t,n){return t+q3e(e(n.style)).start},i5e=function(e,t,n){return q3e(e(n.style)).end+t},o5e=function(e){return function(t){return e(t)}};o5e.__isMiddleware=!0;var a5e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function s5e(e){return Yhe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:o.isValidElement(e)?(t=e,o.isValidElement(t)&&o.Children.count(t.props.children)>0?We.renderToStaticMarkup(e):U3e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&o.isValidElement(e.element)?Object.assign({},e,U3e(e.element)):(Yhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e);var t}function l5e(e,t){if(Yhe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=U3e(e.nest(t)),r=n.start,i=n.end;return Object.assign({},e,{nestStart:r,nestEnd:i})}if(o.isValidElement(e.nest)){var a=U3e(e.nest),s=a.start,l=a.end;return Object.assign({},e,{nestStart:s,nestEnd:l})}return Yhe(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 c5e=["1","a","i"],u5e={unstyled:o.createElement("p",null),paragraph:o.createElement("p",null),"header-one":o.createElement("h1",null),"header-two":o.createElement("h2",null),"header-three":o.createElement("h3",null),"header-four":o.createElement("h4",null),"header-five":o.createElement("h5",null),"header-six":o.createElement("h6",null),blockquote:o.createElement("blockquote",null),"unordered-list-item":{element:o.createElement("li",null),nest:o.createElement("ul",null)},"ordered-list-item":{element:o.createElement("li",null),nest:function(e){var t=c5e[e%3];return o.createElement("ol",{type:t})}},media:o.createElement("figure",null),atomic:o.createElement("figure",null)},d5e=function(e,t){return t},f5e=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,r=e.blockToHTML,i=void 0===r?{}:r,a=e.entityToHTML,s=void 0===a?d5e:a;return function(e){var t;Yhe(null!=e,"Expected contentState to be non-null"),t=!0===i.__isMiddleware?i(a5e(u5e)):G3e(a5e(i),a5e(u5e));var r=j3e.convertToRaw(e),a=[],l=r.blocks.map((function(e){var i=e.type,l=e.depth,c="",u="",d=t(e);if(!d)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(d.nest)for(;l+1!==a.length||i!==a[l].type;)if(l+1===a.length){var f=a[l];c+=l5e(t(f),l).nestEnd,u+=l5e(t(e),l).nestStart,a[l]=e}else if(l+1<a.length){var p=a[a.length-1];c+=l5e(t(p),l).nestEnd,a=a.slice(0,-1)}else u+=l5e(t(e),l).nestStart,a.push(e);else c=a.reduceRight((function(e,n){return e+l5e(t(n),l).nestEnd}),""),a=[];var h,m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o5e;Yhe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Y3e):G3e(H3e(n),H3e(Y3e));for(var r="",i=[],o=e.inlineStyleRanges.sort(z3e),a=zze(e.text),s=0;s<a.length;s++){var l=J3e(s,o),c=X3e(i,l),u=X3e(l,i),d=X3e(i,c),f=n5e(d,u),p=f.concat(u).sort(t5e),h=p.reduce(r5e.bind(null,t),"");r+=c.concat(f).reduce(i5e.bind(null,t),"")+h+a[s],i=(i=Z3e(i,f.concat(c))).concat(p),Yhe(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+q3e(t(n.style)).end}),r)}(K3e(function(e){for(var t=zze(e.text),n=e.entityRanges.sort(z3e),r=e.inlineStyleRanges.sort(z3e),i="",o=function(e){var o=t[e];if(void 0!==F3e[o]){var a=F3e[o],s=zze(i).length;i+=a;var l=function(e){return L3e(e,s,o.length,a.length,0,0)};n=n.map(l),r=r.map(l)}else i+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:i,inlineStyleRanges:r,entityRanges:n})}(e),r.entityMap,s),n),g=s5e(t(e));return h="string"==typeof g?g:g.start+m+g.end,0===m.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(h=o.isValidElement(g.empty)?We.renderToStaticMarkup(g.empty):g.empty),c+u+h})).join("");return l=a.reduce((function(e,n){return e+l5e(t(n),n.depth).nestEnd}),l)}},p5e={exports:{}};p5e.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:K(e)}function r(e){return s(e)?e:H(e)}function i(e){return l(e)?e:G(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function O(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function C(e){return void 0===e.size&&(e.size=e.__iterate(I)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function I(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return N(e,t,0)}function D(e,t){return N(e,t,t)}function N(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var A=0,R=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",z=j||L;function F(e){this.next=e}function Q(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 B(){return{value:void 0,done:!0}}function U(e){return!!$(e)}function W(e){return e&&"function"==typeof e.next}function q(e){var t=$(e);return t&&t.call(e)}function $(e){var t=e&&(j&&e[j]||e[L]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function K(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function H(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function G(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=A,F.VALUES=R,F.ENTRIES=M,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[z]=function(){return this},t(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return de(this,e,t,!0)},K.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(H,K),H.prototype.toKeyedSeq=function(){return this},t(G,K),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(e,t){return de(this,e,t,!1)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=oe,K.Keyed=H,K.Set=Y,K.Indexed=G;var X,Z,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function 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 X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():W(e)?new ie(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return V(e)?new te(e):W(e)?new ie(e):U(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 fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new F((function(){var e=i[n?o-a:a];return a++>o?B():Q(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,G(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,H(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?G(e).map(me).toList():ge(e)?H(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(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,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function Oe(){}function ke(){}function Se(){}K.prototype[ee]=!0,t(te,G),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,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 F((function(){return i>r?B():Q(e,i,n[t?r-i++:i++])}))},t(ne,H),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 F((function(){var a=r[t?i-o:o];return o++>i?B():Q(e,a,n[a])}))},ne.prototype[h]=!0,t(re,G),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(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=q(this._iterable);if(!W(n))return new F(B);var r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value)}))},t(ie,G),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 F((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return Q(e,i,r[i++])}))},t(be,G),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-P(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new F((function(){return r<n.size?Q(e,r++,n._value):B()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,G),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=P(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,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},xe.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 F((function(){var a=i;return i+=t?-r:r,o>n?B():Q(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Oe,_e),t(ke,_e),t(Se,_e),_e.Keyed=Oe,_e.Indexed=ke,_e.Set=Se;var Ce="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ie(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>Fe?Te(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Be===Qe&&(Be=0,Ue={}),Be++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),je)Me.set(e,t);else{if(void 0!==Ne&&!1===Ne(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(e,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ne=Object.isExtensible,Ae=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 Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Le=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var Fe=16,Qe=255,Be=0,Ue={};function We(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?it():$e(e)&&!u(e)?e:it().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[Ke])}t(qe,Oe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},qe.prototype.merge=function(){return ft(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return ft(this,pt,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},qe.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)},qe.isMap=$e;var Ve,Ke="@@__IMMUTABLE_MAP__@@",He=qe.prototype;function Ge(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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(He);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=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Ge(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===b?e:(O(s),O(a),new Je(t,r,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,r,i)]:(o=new Je(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Je(e,Ie(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ut(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ye(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Xe(e,o+1,a)}function ft(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 pe(e)}))),i.push(l)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(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 ve(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,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?b:e.get(l,b),u=gt(c,t,n,r);return u===c?e:u===b?e.remove(l):(i?it():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:S(e);return i[t]=n,i}function bt(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 wt(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}He[Ke]=!0,He[m]=He.remove,He.removeIn=He.deleteIn,Ge.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ge.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),!s||1!==l.length){if(!d&&!s&&l.length>=xt)return ct(e,l,r,i);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ge(e,p)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},Ye.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===b)return this;var d=vt(c&l-1),f=this.nodes,p=u?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!u&&h&&f.length>=_t)return dt(e,f,c,s,h);if(u&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(u&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,w=u?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new Ye(e,v,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Xe.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=(0===t?n:n>>>t)&y,l=i===b,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,r,i,o,a);if(d===u)return this;var f=this.count;if(u){if(!d&&--f<Ot)return ut(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Xe(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Ie(r));var s=i===b;if(n!==this.keyHash)return s?this:(O(a),O(o),lt(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(O(a),(s||!d)&&O(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var f=e&&e===this.ownerID,p=f?l:S(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,l=ve(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(O(a),s?void O(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[r,i]):(O(o),lt(this,e,t,Ie(r),[r,i])))},Ge.prototype.iterate=Ze.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},Ye.prototype.iterate=Xe.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,F),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 B()};var xt=v/4,_t=v/2,Ot=v/4;function kt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=i(e),r=n.size;return 0===r?t:(We(r),r>0&&r<v?At(0,r,g,null,new It(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Ct])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return Mt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Rt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Ft(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return Ft(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Ft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Ft(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ht(t),n)},kt.prototype.setSize=function(e){return Ft(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:Ft(this,P(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=Nt(this,t);return new F((function(){var t=r();return t===Dt?B():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=Nt(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?At(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Ct="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function It(e,t){this.array=e,this.ownerID=t}Et[Ct]=!0,Et[m]=Et.remove,Et.setIn=He.setIn,Et.deleteIn=Et.removeIn=He.removeIn,Et.update=He.update,Et.updateIn=He.updateIn,Et.mergeIn=He.mergeIn,Et.mergeDeepIn=He.mergeDeepIn,Et.withMutations=He.withMutations,Et.asMutable=He.asMutable,Et.asImmutable=He.asImmutable,Et.wasAltered=He.wasAltered,It.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new It([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},It.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Pt,Dt={};function Nt(e,t){var n=e._origin,r=e._capacity,i=Bt(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}}function At(e,t,n,r,i,o,a){var s=Object.create(Et);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 Tt||(Tt=At(0,0,g))}function Mt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Bt(e._capacity)?r=jt(r,e.__ownerID,0,t,n,o):i=jt(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):At(e._origin,e._capacity,e._level,i,r):e}function jt(e,t,n,r,i,o){var a,s=r>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,r,i,o);return u===c?e:((a=Lt(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(O(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new It(e?e.array.slice():[],t)}function zt(e,t){if(t>=Bt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new It(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=Bt(o),f=Bt(s);f>=1<<l+g;)c=new It(c&&c.array.length?[c]:[],r),l+=g;var p=e._tail,h=f<d?zt(e,s-1):f>d?new It([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(u=0;c;){var w=a>>>l&y;if(w!==f>>>l&y)break;w&&(u+=(1<<l)*w),l-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&f<d&&(c=c.removeAfter(r,l,f-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):At(a,s,l,c,h)}function Qt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Bt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?$t():Wt(e)?e:$t().withMutations((function(t){var n=r(e);We(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Wt(e){return $e(e)&&u(e)}function qt(e,t,n,r){var i=Object.create(Ut.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function $t(){return Pt||(Pt=qt(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===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):qt(r,i)}function Kt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===M){var r=e.__iterator(t,n);return new F((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?A:R,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?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(M,i);return new F((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return Q(r,s,t.call(n,a[1],s,e),i)}))},r}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Xt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,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=wn,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=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&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(M,o),s=0;return new F((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return Q(i,r?c:s++,u,o)}}))},i}function tn(e,t,n){var r=qe().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(u(e)?Ut():qe()).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=yn(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),T(t,n,i))return e;var o=P(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new F((function(){for(;a++<o;)i.next();if(++l>s)return B();var e=i.next();return r||t===R?e:Q(t,l-1,t===A?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(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(M,i),s=!0;return new F((function(){if(!s)return B();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===M?e:Q(r,l,c,e):(s=!1,B())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(M,o),l=!0,c=0;return new F((function(){var e,o,u;do{if((e=s.next()).done)return r||i===R?e:Q(i,c++,i===A?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return i===M?e:Q(i,o,u,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?i:o++,u)&&(s=!0),!s}),i)}return l(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new F((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===M&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:Q(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return B()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function un(e,t){var n=bn(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 F((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?Q(n,a++,t):Q(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);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?H(o):l(e)?G(o):Y(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(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=bn(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),q(i?e.reverse():e)})),a=0,s=!1;return new F((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?B():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return We(e.size),C(e)}function yn(e){return s(e)?r:l(e)?i:o}function bn(e){return Object.create((s(e)?H:l(e)?G:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function On(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);En(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=qe(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Ut.prototype.set=function(e,t){return Vt(this,e,t)},Ut.prototype.remove=function(e){return Vt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Wt,Ut.prototype[h]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Kt,H),Kt.prototype.get=function(e,t){return this._iter.get(e,t)},Kt.prototype.has=function(e){return this._iter.has(e)},Kt.prototype.valueSeq=function(){return this._iter.valueSeq()},Kt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Kt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Kt.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?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Kt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?vn(this):0;return new F((function(){var i=n.next();return i.done?i:Q(e,t?--r:r++,i.value,i)}))},Kt.prototype[h]=!0,t(Ht,G),Ht.prototype.includes=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new F((function(){var t=n.next();return t.done?t:Q(e,r++,t.value,t)}))},t(Gt,Y),Gt.prototype.has=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Yt,H),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new F((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return Q(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Ht.prototype.cacheResult=Kt.prototype.cacheResult=Gt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(On,Oe),On.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},On.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},On.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},On.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,it()))},On.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},On.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},On.prototype.wasAltered=function(){return this._map.wasAltered()},On.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},On.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},On.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=On.prototype;function Sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Cn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(In.bind(void 0,e))}catch(e){}}function In(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?jn():Pn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[Nn])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=He.removeIn,kn.merge=He.merge,kn.mergeWith=He.mergeWith,kn.mergeIn=He.mergeIn,kn.mergeDeep=He.mergeDeep,kn.mergeDeepWith=He.mergeDeepWith,kn.mergeDeepIn=He.mergeDeepIn,kn.setIn=He.setIn,kn.update=He.update,kn.updateIn=He.updateIn,kn.withMutations=He.withMutations,kn.asMutable=He.asMutable,kn.asImmutable=He.asImmutable,t(Tn,Se),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Rn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Rn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Pn;var Dn,Nn="@@__IMMUTABLE_SET__@@",An=Tn.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 Mn(e,t){var n=Object.create(An);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Mn(it()))}function Ln(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=o(e);We(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Pn(e)&&u(e)}An[Nn]=!0,An[m]=An.remove,An.mergeDeep=An.merge,An.mergeDeepWith=An.mergeWith,An.withMutations=He.withMutations,An.asMutable=He.asMutable,An.asImmutable=He.asImmutable,An.__empty=jn,An.__make=Mn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=zn;var Fn,Qn=Ln.prototype;function Bn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Fn||(Fn=Bn($t()))}function Wn(e){return null==e?Gn():qn(e)?e:Gn().unshiftAll(e)}function qn(e){return!(!e||!e[Vn])}Qn[h]=!0,Qn.__empty=Un,Qn.__make=Bn,t(Wn,ke),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=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):Hn(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):Hn(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):Gn()},Wn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=P(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Hn(r,i)},Wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Hn(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 F((function(){if(r){var t=r.value;return r=r.next,Q(e,n++,t)}return B()}))},Wn.isStack=qn;var $n,Vn="@@__IMMUTABLE_STACK__@@",Kn=Wn.prototype;function Hn(e,t,n,r){var i=Object.create(Kn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Gn(){return $n||($n=Hn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Kn[Vn]=!0,Kn.withMutations=He.withMutations,Kn.asMutable=He.asMutable,Kn.asImmutable=He.asImmutable,Kn.wasAltered=He.wasAltered,n.Iterator=F,Yn(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 Ht(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 Kt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){We(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Gt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},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(A)},map:function(e,t){return mn(this,Zt(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(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(I)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(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 Xn=n.prototype;Xn[d]=!0,Xn[z]=Xn.values,Xn.__toJS=Xn.toArray,Xn.__toStringMapper=rr,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,function(){try{Object.defineProperty(Xn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(r,{flip:function(){return mn(this,Xt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,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 Zn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return S(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+lr(Ie(e),Ie(t))|0}:function(e,t){r=r+lr(Ie(e),Ie(t))|0}:t?function(e){r=31*r+Ie(e)|0}:function(e){r=r+Ie(e)|0});return sr(i,r)}function sr(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Ce(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[z]=Xn.entries,Zn.__toJS=Xn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(i,{toKeyedSeq:function(){return new Kt(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=P(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),G.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Xn.includes,Yn(H,r.prototype),Yn(G,i.prototype),Yn(Y,o.prototype),Yn(Oe,r.prototype),Yn(ke,i.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:K,Collection:_e,Map:qe,OrderedMap:Ut,List:kt,Stack:Wn,Set:Tn,OrderedSet:Ln,Record:On,Range:xe,Repeat:be,is:ve,fromJS:pe}}();var h5e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function m5e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=h5e(e)):t=h5e(e);return t.body}var g5e=new RegExp("\r","g"),v5e=new RegExp("\n","g"),y5e=new RegExp("&nbsp;","g"),b5e=new RegExp("\r","g"),w5e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],x5e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},_5e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},O5e=function(e,t,n){},k5e=function(e,t,n){return n},S5e=function(e,t){},C5e=function(e){return[]},E5e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function I5e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p5e.exports.Map();return!0===n?{text:"\r",inlines:[p5e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[p5e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function T5e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p5e.exports.Map();return{text:"\r",inlines:[p5e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function P5e(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 D5e(e,t,n){return P5e(e,n)}function N5e(e,t,n){var r=x5e[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 A5e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p5e.exports.OrderedSet();return N5e(e,t,n)}function R5e(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 M5e(e,t,n,r,i,o,a,s,l,c,u,d,f,p,h,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[p5e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(v5e," "));var w=Array(b.length).fill(m),x=0;return l(b,u,d,f,p).sort(z3e).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+x;null==i&&(i=b.substr(o,r));var a=b.split("");a.splice.bind(a,o,r).apply(a,i.split("")),b=a.join(""),w.splice.bind(w,o,r).apply(w,Array(i.length).fill(t)),x+=i.length-r})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var _=r;return null===_?I5e("unstyled",o,!0):I5e(_||"unstyled",o,h.flat)}var O={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=N5e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,S,C=c(g,e,n,r);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(k=C,S=p5e.exports.Map()):(k="string"==typeof C?C:C.type,S=C.data?p5e.exports.Map(C.data):p5e.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,O=I5e(k,o,!0,S));else{var E=P5e(g,n);O=T5e(E,o),r=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else O=T5e(k||P5e(g,n),o,S),r=k||P5e(g,n),v=!0;var I=e.firstChild;null!=I||!m||"atomic"!==k&&"atomic"!==r||(I=document.createTextNode("a")),null!=I&&(g=I.nodeName.toLowerCase());for(var T=null;I;){T=s(g,I,u,d,f,p),O=R5e(O,M5e(I,t,n,r,i,o,a,s,l,c,u,d,f,p,h,T||m),h.flat);var P=I.nextSibling;if(P&&i.indexOf(g)>=0&&r){var D=c(g,I,n,r),N=void 0,A=void 0;!1!==D&&("string"==typeof(D=D||{})?(N=D,A=p5e.exports.Map()):(N=D.type||P5e(g,n),A=D.data?p5e.exports.Map(D.data):p5e.exports.Map()),O=R5e(O,I5e(N,o,h.flat,A),h.flat))}P&&(g=P.nodeName.toLowerCase()),I=P}return v&&(O=R5e(O,T5e(y,o,p5e.exports.Map()),h.flat)),O}function j5e(e,t,n,r,i,o,a,s,l,c,u){var d=u(e=e.trim().replace(g5e,"").replace(y5e," "));if(!d)return null;var f=function(e){return w5e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?w5e.concat(["div"]):["div"],p=M5e(d,p5e.exports.OrderedSet(),"ul",null,f,-1,t,n,r,i,o,a,s,l,c);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:p5e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:p5e.exports.Map(),depth:0}),p}function L5e(e,t,n,r,i,o,a,s,l,c,u,d){var f=j5e(e,t,n,r,i,o,a,s,l,c,u);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(b5e,"");var n=p+e.length,r=E5e(f).inlines.slice(p,n),i=E5e(f).entities.slice(p,n),o=p5e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),j3e.CharacterMetadata.create(n)})));return p=n+1,new j3e.ContentBlock({key:d(),type:E5e(f).blocks[t].type,data:E5e(f).blocks[t].data,depth:E5e(f).blocks[t].depth,text:e,characterList:o})}))}var z5e=function(e){var t=e.htmlToStyle,n=void 0===t?k5e:t,r=e.htmlToEntity,i=void 0===r?S5e:r,o=e.textToEntity,a=void 0===o?C5e:o,s=e.htmlToBlock,l=void 0===s?O5e: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]:m5e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j3e.genKey,s=j3e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():j3e.Entity.create.apply(j3e.Entity,arguments)},u=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):j3e.Entity.get.apply(j3e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):j3e.Entity.mergeData.apply(j3e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):j3e.Entity.replaceData.apply(j3e.Entity,arguments)},p=L5e(e,_5e(n,A5e),_5e(i,S5e),_5e(a,C5e),_5e(l,D5e),c,u,d,f,t,r,o),h=j3e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:j3e.SelectionState.createEmpty(m),selectionAfter:j3e.SelectionState.createEmpty(m)})}},F5e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?z5e({}).apply(void 0,arguments):z5e.apply(void 0,arguments)};xK('/**\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 Q5e={};function B5e(e){e&&(e.value=!0)}function U5e(){}function W5e(e){return void 0===e.size&&(e.size=e.__iterate($5e)),e.size}function q5e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?W5e(e)+t:t}function $5e(){return!0}function V5e(e,t,n){return(0===e&&!Y5e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function K5e(e,t){return G5e(e,t,0)}function H5e(e,t){return G5e(e,t,t)}function G5e(e,t,n){return void 0===e?n:Y5e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Y5e(e){return e<0||0===e&&1/e==-1/0}function X5e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function Z5e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function J5e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function e4e(e){return Z5e(e)||J5e(e)}var t4e=function(e){return X5e(e)?e:x4e(e)},n4e=function(e){function t(e){return Z5e(e)?e:_4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t4e),r4e=function(e){function t(e){return J5e(e)?e:O4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t4e),i4e=function(e){function t(e){return X5e(e)&&!e4e(e)?e:k4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t4e);t4e.Keyed=n4e,t4e.Indexed=r4e,t4e.Set=i4e;function o4e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function a4e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function s4e(e){return X5e(e)||a4e(e)}var l4e="@@__IMMUTABLE_ORDERED__@@";function c4e(e){return Boolean(e&&e[l4e])}var u4e="function"==typeof Symbol&&Symbol.iterator,d4e=u4e||"@@iterator",f4e=function(e){this.next=e};function p4e(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 h4e(){return{value:void 0,done:!0}}function m4e(e){return!!y4e(e)}function g4e(e){return e&&"function"==typeof e.next}function v4e(e){var t=y4e(e);return t&&t.call(e)}function y4e(e){var t=e&&(u4e&&e[u4e]||e["@@iterator"]);if("function"==typeof t)return t}f4e.prototype.toString=function(){return"[Iterator]"},f4e.KEYS=0,f4e.VALUES=1,f4e.ENTRIES=2,f4e.prototype.inspect=f4e.prototype.toSource=function(){return this.toString()},f4e.prototype[d4e]=function(){return this};var b4e=Object.prototype.hasOwnProperty;function w4e(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 x4e=function(e){function t(e){return null==e?T4e():s4e(e)?e.toSeq():function(e){var t=N4e(e);if(t)return t;if("object"==typeof e)return new C4e(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 f4e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return p4e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(t4e),_4e=function(e){function t(e){return null==e?T4e().toKeyedSeq():X5e(e)?Z5e(e)?e.toSeq():e.fromEntrySeq():a4e(e)?e.toSeq():P4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(x4e),O4e=function(e){function t(e){return null==e?T4e():X5e(e)?Z5e(e)?e.entrySeq():e.toIndexedSeq():a4e(e)?e.toSeq().entrySeq():D4e(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}(x4e),k4e=function(e){function t(e){return(X5e(e)&&!e4e(e)?e:O4e(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}(x4e);x4e.isSeq=o4e,x4e.Keyed=_4e,x4e.Set=k4e,x4e.Indexed=O4e,x4e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var S4e=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[q5e(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 f4e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return p4e(e,o,n[o])}))},t}(O4e),C4e=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 b4e.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 f4e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return p4e(e,a,n[a])}))},t}(_4e);C4e.prototype[l4e]=!0;var E4e,I4e=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=v4e(this._collection),r=0;if(g4e(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=v4e(this._collection);if(!g4e(n))return new f4e(h4e);var r=0;return new f4e((function(){var t=n.next();return t.done?t:p4e(e,r++,t.value)}))},t}(O4e);function T4e(){return E4e||(E4e=new S4e([]))}function P4e(e){var t=Array.isArray(e)?new S4e(e):m4e(e)?new I4e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new C4e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function D4e(e){var t=N4e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function N4e(e){return w4e(e)?new S4e(e):m4e(e)?new I4e(e):void 0}function A4e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function R4e(e){return A4e(e)&&c4e(e)}function M4e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function j4e(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!!(M4e(e)&&M4e(t)&&e.equals(t))}var L4e="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 z4e(e){return e>>>1&1073741824|3221225471&e}var F4e=Object.prototype.valueOf;function Q4e(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 z4e(t)}(e);case"string":return e.length>H4e?function(e){var t=X4e[e];void 0===t&&(t=B4e(e),Y4e===G4e&&(Y4e=0,X4e={}),Y4e++,X4e[e]=t);return t}(e):B4e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?z4e(e.hashCode(e)):(e.valueOf!==F4e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if($4e&&void 0!==(t=q4e.get(e)))return t;if(void 0!==(t=e[K4e]))return t;if(!W4e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[K4e]))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=++V4e,1073741824&V4e&&(V4e=0);if($4e)q4e.set(e,t);else{if(void 0!==U4e&&!1===U4e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(W4e)Object.defineProperty(e,K4e,{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[K4e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[K4e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return B4e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function B4e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return z4e(t)}var U4e=Object.isExtensible,W4e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var q4e,$4e="function"==typeof WeakMap;$4e&&(q4e=new WeakMap);var V4e=0,K4e="__immutablehash__";"function"==typeof Symbol&&(K4e=Symbol(K4e));var H4e=16,G4e=255,Y4e=0,X4e={},Z4e=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=i6e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=r6e(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}(_4e);Z4e.prototype[l4e]=!0;var J4e=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&&W5e(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&&W5e(this),new f4e((function(){var o=r.next();return o.done?o:p4e(e,t?n.size-++i:i++,o.value,o)}))},t}(O4e),e6e=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 f4e((function(){var t=n.next();return t.done?t:p4e(e,t.value,t.value,t)}))},t}(k4e),t6e=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){m6e(t);var r=X5e(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 f4e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){m6e(r);var i=X5e(r);return p4e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(_4e);function n6e(e){var t=v6e(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=y6e,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 f4e((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 r6e(e,t,n){var r=v6e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,Q5e);return o===Q5e?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 f4e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return p4e(r,s,t.call(n,a[1],s,e),i)}))},r}function i6e(e,t){var n=this,r=v6e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=n6e(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=y6e,r.__iterate=function(n,r){var i=this,o=0;return r&&W5e(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&&W5e(e);var a=e.__iterator(2,!i);return new f4e((function(){var e=a.next();if(e.done)return e;var s=e.value;return p4e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function o6e(e,t,n,r){var i=v6e(e);return r&&(i.has=function(r){var i=e.get(r,Q5e);return i!==Q5e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,Q5e);return o!==Q5e&&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 f4e((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return p4e(i,r?c:s++,u,o)}}))},i}function a6e(e,t,n,r){var i=e.size;if(V5e(t,n,i))return e;var o=K5e(t,i),a=H5e(n,i);if(o!=o||a!=a)return a6e(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=v6e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&o4e(e)&&s>=0&&(c.get=function(t,n){return(t=q5e(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new f4e(h4e);var i=e.__iterator(t,n),a=0,l=0;return new f4e((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:p4e(t,l-1,0===t?void 0:e.value[1],e)}))},c}function s6e(e,t,n,r){var i=v6e(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),l=!0,c=0;return new f4e((function(){var e,o,u;do{if((e=s.next()).done)return r||1===i?e:p4e(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return 2===i?e:p4e(i,o,u,e)}))},i}function l6e(e,t){var n=Z5e(e),r=[e].concat(t).map((function(e){return X5e(e)?n&&(e=n4e(e)):e=n?P4e(e):D4e(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&&Z5e(i)||J5e(e)&&J5e(i))return i}var o=new S4e(r);return n?o=o.toKeyedSeq():J5e(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 c6e(e,t,n){var r=v6e(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(l,c){l.__iterate((function(o,l){return(!t||c<t)&&X5e(o)?e(o,c+1):(a++,!1===i(o,n?l:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new f4e((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)||!X5e(l))return n?e:p4e(r,s++,l,e);a.push(o),o=l.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function u6e(e,t,n){t||(t=b6e);var r=Z5e(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?_4e(o):J5e(e)?O4e(o):k4e(o)}function d6e(e,t,n){if(t||(t=b6e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return f6e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return f6e(t,e,n)?n:e}))}function f6e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function p6e(e,t,n,r){var i=v6e(e),o=new S4e(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=t4e(e),v4e(i?e.reverse():e)})),a=0,s=!1;return new f4e((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}:p4e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function h6e(e,t){return e===t?e:o4e(e)?t:e.constructor(t)}function m6e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function g6e(e){return Z5e(e)?n4e:J5e(e)?r4e:i4e}function v6e(e){return Object.create((Z5e(e)?_4e:J5e(e)?O4e:k4e).prototype)}function y6e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):x4e.prototype.cacheResult.call(this)}function b6e(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 w6e(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 x6e(e,t){if(!e)throw new Error(t)}function _6e(e){x6e(e!==1/0,"Cannot perform this action with an infinite size.")}function O6e(e){if(w4e(e)&&"string"!=typeof e)return e;if(c4e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function k6e(e){return"object"==typeof e&&(s4e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function S6e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function C6e(e,t,n){return s4e(e)?e.get(t,n):function(e,t){return s4e(e)?e.has(t):k6e(e)&&b4e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function E6e(e){if(Array.isArray(e))return w6e(e);var t={};for(var n in e)b4e.call(e,n)&&(t[n]=e[n]);return t}function I6e(e,t,n,r){r||(r=n,n=void 0);var i=T6e(s4e(e),e,O6e(t),0,n,r);return i===Q5e?n:i}function T6e(e,t,n,r,i,o){var a=t===Q5e;if(r===n.length){var s=a?i:t,l=o(s);return l===s?t:l}if(!a&&!k6e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(S6e)+"]: "+t);var c=n[r],u=a?Q5e:C6e(t,c,Q5e),d=T6e(u===Q5e?e:s4e(u),u,n,r+1,i,o);return d===u?t:d===Q5e?function(e,t){if(!k6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s4e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!b4e.call(e,t))return e;var n=E6e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!k6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(s4e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(b4e.call(e,t)&&n===e[t])return e;var r=E6e(e);return r[t]=n,r}(a?e?a7e():{}:t,c,d)}function P6e(e,t){return function(e,t,n){return I6e(e,t,Q5e,(function(){return n}))}(this,e,t)}function D6e(e){return function(e,t){return I6e(e,t,(function(){return Q5e}))}(this,e)}function N6e(e,t,n,r){return I6e(e,[t],n,r)}function A6e(e,t,n){return 1===arguments.length?e(this):N6e(this,e,t,n)}function R6e(e,t,n){return I6e(this,e,t,n)}function M6e(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return L6e(this,e)}function j6e(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 L6e(this,t,e)}function L6e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=n4e(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){N6e(e,r,Q5e,(function(e){return e===Q5e?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 z6e(e,t,n){return F6e(e,t,function(e){function t(n,r,i){return k6e(n)&&k6e(r)?F6e(n,[r],t):e?e(n,r,i):r}return t}(n))}function F6e(e,t,n){if(!k6e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(s4e(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?r4e:n4e,a=r?function(t){i===e&&(i=E6e(i)),i.push(t)}:function(t,r){var o=b4e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=E6e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function Q6e(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return z6e(this,e)}function B6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return z6e(this,t,e)}function U6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return I6e(this,e,a7e(),(function(e){return F6e(e,t)}))}function W6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return I6e(this,e,a7e(),(function(e){return z6e(e,t)}))}function q6e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function $6e(){return this.__ownerID?this:this.__ensureOwner(new U5e)}function V6e(){return this.__ensureOwner()}function K6e(){return this.__altered}J4e.prototype.cacheResult=Z4e.prototype.cacheResult=e6e.prototype.cacheResult=t6e.prototype.cacheResult=y6e;var H6e=function(e){function t(t){return null==t?a7e():A4e(t)&&!c4e(t)?t:a7e().withMutations((function(n){var r=e(t);_6e(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 a7e().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 s7e(this,e,t)},t.prototype.remove=function(e){return s7e(this,e,Q5e)},t.prototype.deleteAll=function(e){var t=t4e(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):a7e()},t.prototype.sort=function(e){return D7e(u6e(this,e))},t.prototype.sortBy=function(e,t){return D7e(u6e(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 n7e(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?o7e(this.size,this._root,e,this.__hash):0===this.size?a7e():(this.__ownerID=e,this.__altered=!1,this)},t}(n4e);H6e.isMap=A4e;var G6e=H6e.prototype;G6e["@@__IMMUTABLE_MAP__@@"]=!0,G6e.delete=G6e.remove,G6e.removeAll=G6e.deleteAll,G6e.setIn=P6e,G6e.removeIn=G6e.deleteIn=D6e,G6e.update=A6e,G6e.updateIn=R6e,G6e.merge=G6e.concat=M6e,G6e.mergeWith=j6e,G6e.mergeDeep=Q6e,G6e.mergeDeepWith=B6e,G6e.mergeIn=U6e,G6e.mergeDeepIn=W6e,G6e.withMutations=q6e,G6e.wasAltered=K6e,G6e.asImmutable=V6e,G6e["@@transducer/init"]=G6e.asMutable=$6e,G6e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},G6e["@@transducer/result"]=function(e){return e.asImmutable()};var Y6e=function(e,t){this.ownerID=e,this.entries=t};Y6e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(j4e(n,i[o][0]))return i[o][1];return r},Y6e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===Q5e,l=this.entries,c=0,u=l.length;c<u&&!j4e(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(B5e(a),(s||!d)&&B5e(o),!s||1!==l.length){if(!d&&!s&&l.length>=p7e)return function(e,t,n,r){e||(e=new U5e);for(var i=new e7e(e,Q4e(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 f=e&&e===this.ownerID,p=f?l:w6e(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Y6e(e,p)}};var X6e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};X6e.prototype.get=function(e,t,n,r){void 0===t&&(t=Q4e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[d7e(o&i-1)].get(e+5,t,n,r)},X6e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Q4e(r));var s=31&(0===t?n:n>>>t),l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&i===Q5e)return this;var d=d7e(c&l-1),f=this.nodes,p=u?f[d]:void 0,h=l7e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!u&&h&&f.length>=h7e)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 Z6e(e,o+1,a)}(e,f,c,s,h);if(u&&!h&&2===f.length&&c7e(f[1^d]))return f[1^d];if(u&&h&&1===f.length&&c7e(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,v=u?h?f7e(f,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}(f,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}(f,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new X6e(e,g,v)};var Z6e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Z6e.prototype.get=function(e,t,n,r){void 0===t&&(t=Q4e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},Z6e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Q4e(r));var s=31&(0===t?n:n>>>t),l=i===Q5e,c=this.nodes,u=c[s];if(l&&!u)return this;var d=l7e(u,e,t+5,n,r,i,o,a);if(d===u)return this;var f=this.count;if(u){if(!d&&--f<m7e)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new X6e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=f7e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Z6e(e,f,h)};var J6e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};J6e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(j4e(n,i[o][0]))return i[o][1];return r},J6e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Q4e(r));var s=i===Q5e;if(n!==this.keyHash)return s?this:(B5e(a),B5e(o),u7e(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!j4e(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:s)return this;if(B5e(a),(s||!d)&&B5e(o),s&&2===u)return new e7e(e,this.keyHash,l[1^c]);var f=e&&e===this.ownerID,p=f?l:w6e(l);return d?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new J6e(e,this.keyHash,p)};var e7e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};e7e.prototype.get=function(e,t,n,r){return j4e(n,this.entry[0])?this.entry[1]:r},e7e.prototype.update=function(e,t,n,r,i,o,a){var s=i===Q5e,l=j4e(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(B5e(a),s?void B5e(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new e7e(e,this.keyHash,[r,i]):(B5e(o),u7e(this,e,t,Q4e(r),[r,i])))},Y6e.prototype.iterate=J6e.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},X6e.prototype.iterate=Z6e.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}},e7e.prototype.iterate=function(e,t){return e(this.entry)};var t7e,n7e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&i7e(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 r7e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return r7e(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 r7e(e,o.entry);t=this._stack=i7e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(f4e);function r7e(e,t){return p4e(e,t[0],t[1])}function i7e(e,t){return{node:e,index:0,__prev:t}}function o7e(e,t,n,r){var i=Object.create(G6e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function a7e(){return t7e||(t7e=o7e(0))}function s7e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=l7e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===Q5e?-1:1:0)}else{if(n===Q5e)return e;i=1,r=new Y6e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?o7e(i,r):a7e()}function l7e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===Q5e?e:(B5e(s),B5e(a),new e7e(t,r,[i,o]))}function c7e(e){return e.constructor===e7e||e.constructor===J6e}function u7e(e,t,n,r,i){if(e.keyHash===r)return new J6e(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?[u7e(e,t,n+5,r,i)]:(o=new e7e(t,r,i),a<s?[e,o]:[o,e]);return new X6e(t,1<<a|1<<s,l)}function d7e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function f7e(e,t,n,r){var i=r?e:w6e(e);return i[t]=n,i}var p7e=8,h7e=16,m7e=8;function g7e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var v7e=function(e){function t(t){var n=k7e();if(null==t)return n;if(g7e(t))return t;var r=e(t),i=r.size;return 0===i?n:(_6e(i),i>0&&i<32?O7e(0,i,5,null,new b7e(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=q5e(this,e))>=0&&e<this.size){var n=E7e(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=q5e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?I7e(e,t).set(0,n):I7e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=T7e(e._capacity)?r=S7e(r,e.__ownerID,0,t,n,o):i=S7e(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 O7e(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):k7e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){I7e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return I7e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){I7e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return I7e(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&&m4e(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 I7e(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 V5e(e,t,n)?this:I7e(this,K5e(e,n),H5e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=_7e(this,t);return new f4e((function(){var i=r();return i===x7e?{value:void 0,done:!0}:p4e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=_7e(this,t);(n=i())!==x7e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?O7e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?k7e():(this.__ownerID=e,this.__altered=!1,this)},t}(r4e);v7e.isList=g7e;var y7e=v7e.prototype;y7e["@@__IMMUTABLE_LIST__@@"]=!0,y7e.delete=y7e.remove,y7e.merge=y7e.concat,y7e.setIn=P6e,y7e.deleteIn=y7e.removeIn=D6e,y7e.update=A6e,y7e.updateIn=R6e,y7e.mergeIn=U6e,y7e.mergeDeepIn=W6e,y7e.withMutations=q6e,y7e.wasAltered=K6e,y7e.asImmutable=V6e,y7e["@@transducer/init"]=y7e.asMutable=$6e,y7e["@@transducer/step"]=function(e,t){return e.push(t)},y7e["@@transducer/result"]=function(e){return e.asImmutable()};var b7e=function(e,t){this.array=e,this.ownerID=t};b7e.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 b7e([],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=C7e(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},b7e.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=C7e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var w7e,x7e={};function _7e(e,t){var n=e._origin,r=e._capacity,i=T7e(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(l===c)return x7e;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);u>32&&(u=32);return function(){for(;;){if(s){var e=s();if(e!==x7e)return e;s=null}if(c===u)return x7e;var n=t?--u:c++;s=a(l&&l[n],i-5,o+(n<<i))}}}(e,s,l)}}function O7e(e,t,n,r,i,o,a){var s=Object.create(y7e);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 k7e(){return w7e||(w7e=O7e(0,0,5))}function S7e(e,t,n,r,i,o){var a,s=r>>>n&31,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=S7e(c,t,n-5,r,i,o);return u===c?e:((a=C7e(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(o&&B5e(o),a=C7e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function C7e(e,t){return t&&e&&t===e.ownerID?e:new b7e(e?e.array.slice():[],t)}function E7e(e,t){if(t>=T7e(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 I7e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new U5e,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new b7e(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,i+=u,s+=u,o+=u);for(var d=T7e(o),f=T7e(s);f>=1<<l+5;)c=new b7e(c&&c.array.length?[c]:[],r),l+=5;var p=e._tail,h=f<d?E7e(e,s-1):f>d?new b7e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=C7e(c,r),g=l;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=C7e(m.array[v],r)}m.array[d>>>5&31]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(u=0;c;){var y=a>>>l&31;if(y!==f>>>l&31)break;y&&(u+=(1<<l)*y),l-=5,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&f<d&&(c=c.removeAfter(r,l,f-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):O7e(a,s,l,c,h)}function T7e(e){return e<32?0:e-1>>>5<<5}var P7e,D7e=function(e){function t(e){return null==e?A7e():R4e(e)?e:A7e().withMutations((function(t){var n=n4e(e);_6e(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):A7e()},t.prototype.set=function(e,t){return R7e(this,e,t)},t.prototype.remove=function(e){return R7e(this,e,Q5e)},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?N7e(t,n,e,this.__hash):0===this.size?A7e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(H6e);function N7e(e,t,n,r){var i=Object.create(D7e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function A7e(){return P7e||(P7e=N7e(a7e(),k7e()))}function R7e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===Q5e){if(!l)return e;a.size>=32&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):N7e(r,i)}D7e.isOrderedMap=R4e,D7e.prototype[l4e]=!0,D7e.prototype.delete=D7e.prototype.remove;function M7e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var j7e=function(e){function t(e){return null==e?Q7e():M7e(e)?e:Q7e().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=q5e(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):F7e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&M7e(t))return t;_6e(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):F7e(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):Q7e()},t.prototype.slice=function(t,n){if(V5e(t,n,this.size))return this;var r=K5e(t,this.size);if(H5e(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):F7e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?F7e(this.size,this._head,e,this.__hash):0===this.size?Q7e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new S4e(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 S4e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new f4e((function(){if(r){var t=r.value;return r=r.next,p4e(e,n++,t)}return{value:void 0,done:!0}}))},t}(r4e);j7e.isStack=M7e;var L7e,z7e=j7e.prototype;function F7e(e,t,n,r){var i=Object.create(z7e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Q7e(){return L7e||(L7e=F7e(0))}z7e["@@__IMMUTABLE_STACK__@@"]=!0,z7e.shift=z7e.pop,z7e.unshift=z7e.push,z7e.unshiftAll=z7e.pushAll,z7e.withMutations=q6e,z7e.wasAltered=K6e,z7e.asImmutable=V6e,z7e["@@transducer/init"]=z7e.asMutable=$6e,z7e["@@transducer/step"]=function(e,t){return e.unshift(t)},z7e["@@transducer/result"]=function(e){return e.asImmutable()};function B7e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function U7e(e){return B7e(e)&&c4e(e)}function W7e(e,t){if(e===t)return!0;if(!X5e(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||Z5e(e)!==Z5e(t)||J5e(e)!==J5e(t)||c4e(e)!==c4e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!e4e(e);if(c4e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&j4e(i[1],e)&&(n||j4e(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?!j4e(t,e.get(r,Q5e)):!j4e(e.get(r,Q5e),t))return a=!1,!1}));return a&&e.size===s}function q7e(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 $7e(e){if(!e||"object"!=typeof e)return e;if(!X5e(e)){if(!k6e(e))return e;e=x4e(e)}if(Z5e(e)){var t={};return e.__iterate((function(e,n){t[n]=$7e(e)})),t}var n=[];return e.__iterate((function(e){n.push($7e(e))})),n}var V7e=function(e){function t(t){return null==t?X7e():B7e(t)&&!c4e(t)?t:X7e().withMutations((function(n){var r=e(t);_6e(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(n4e(e).keySeq())},t.intersect=function(e){return(e=t4e(e).toArray()).length?H7e.intersect.apply(t(e.pop()),e):X7e()},t.union=function(e){return(e=t4e(e).toArray()).length?H7e.union.apply(t(e.pop()),e):X7e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return G7e(this,this._map.set(e,e))},t.prototype.remove=function(e){return G7e(this,this._map.remove(e))},t.prototype.clear=function(){return G7e(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 h9e(u6e(this,e))},t.prototype.sortBy=function(e,t){return h9e(u6e(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}(i4e);V7e.isSet=B7e;var K7e,H7e=V7e.prototype;function G7e(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 Y7e(e,t){var n=Object.create(H7e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function X7e(){return K7e||(K7e=Y7e(a7e()))}H7e["@@__IMMUTABLE_SET__@@"]=!0,H7e.delete=H7e.remove,H7e.merge=H7e.concat=H7e.union,H7e.withMutations=q6e,H7e.asImmutable=V6e,H7e["@@transducer/init"]=H7e.asMutable=$6e,H7e["@@transducer/step"]=function(e,t){return e.add(t)},H7e["@@transducer/result"]=function(e){return e.asImmutable()},H7e.__empty=X7e,H7e.__make=Y7e;var Z7e,J7e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(x6e(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(Z7e)return Z7e;Z7e=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+q5e(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 V5e(e,n,this.size)?this:(e=K5e(e,this.size),(n=H5e(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 f4e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,p4e(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:W7e(this,e)},t}(O4e);function e9e(e,t,n){for(var r=O6e(t),i=0;i!==r.length;)if((e=C6e(e,r[i++],Q5e))===Q5e)return n;return e}function t9e(e,t){return e9e(this,e,t)}function n9e(){_6e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}t4e.isIterable=X5e,t4e.isKeyed=Z5e,t4e.isIndexed=J5e,t4e.isAssociative=e4e,t4e.isOrdered=c4e,t4e.Iterator=f4e,q7e(t4e,{toArray:function(){_6e(this.size);var e=new Array(this.size||0),t=Z5e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new J4e(this)},toJS:function(){return $7e(this)},toKeyedSeq:function(){return new Z4e(this,!0)},toMap:function(){return H6e(this.toKeyedSeq())},toObject:n9e,toOrderedMap:function(){return D7e(this.toKeyedSeq())},toOrderedSet:function(){return h9e(Z5e(this)?this.valueSeq():this)},toSet:function(){return V7e(Z5e(this)?this.valueSeq():this)},toSetSeq:function(){return new e6e(this)},toSeq:function(){return J5e(this)?this.toIndexedSeq():Z5e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return j7e(Z5e(this)?this.valueSeq():this)},toList:function(){return v7e(Z5e(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 h6e(this,l6e(this,e))},includes:function(e){return this.some((function(t){return j4e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){_6e(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 h6e(this,o6e(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 _6e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){_6e(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 h6e(this,r6e(this,e,t))},reduce:function(e,t,n){return a9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return a9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return h6e(this,i6e(this,!0))},slice:function(e,t){return h6e(this,a6e(this,e,t,!0))},some:function(e,t){return!this.every(c9e(e),t)},sort:function(e){return h6e(this,u6e(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 W5e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=H6e().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 W7e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new S4e(e._cache);var t=e.toSeq().map(l9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(c9e(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($5e,null,e)},flatMap:function(e,t){return h6e(this,function(e,t,n){var r=g6e(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 h6e(this,c6e(this,e,!0))},fromEntrySeq:function(){return new t6e(this)},get:function(e,t){return this.find((function(t,n){return j4e(n,e)}),void 0,t)},getIn:t9e,groupBy:function(e,t){return function(e,t,n){var r=Z5e(e),i=(c4e(e)?D7e():H6e()).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=g6e(e);return i.map((function(t){return h6e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,Q5e)!==Q5e},hasIn:function(e){return function(e,t){return e9e(e,t,Q5e)!==Q5e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:t4e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:t4e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return j4e(t,e)}))},keySeq:function(){return this.toSeq().map(s9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return d6e(this,e)},maxBy:function(e,t){return d6e(this,t,e)},min:function(e){return d6e(this,e?u9e(e):f9e)},minBy:function(e,t){return d6e(this,t?u9e(t):f9e,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 h6e(this,s6e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(c9e(e),t)},sortBy:function(e,t){return h6e(this,u6e(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 h6e(this,function(e,t,n){var r=v6e(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 f4e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?2===r?e:p4e(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(c9e(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=c4e(e),n=Z5e(e),r=t?1:0,i=e.__iterate(n?t?function(e,t){r=31*r+p9e(Q4e(e),Q4e(t))|0}:function(e,t){r=r+p9e(Q4e(e),Q4e(t))|0}:t?function(e){r=31*r+Q4e(e)|0}:function(e){r=r+Q4e(e)|0});return function(e,t){return t=L4e(t,3432918353),t=L4e(t<<15|t>>>-15,461845907),t=L4e(t<<13|t>>>-13,5),t=L4e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=z4e((t=L4e(t^t>>>13,3266489909))^t>>>16)}(i,r)}(this))}});var r9e=t4e.prototype;r9e["@@__IMMUTABLE_ITERABLE__@@"]=!0,r9e[d4e]=r9e.values,r9e.toJSON=r9e.toArray,r9e.__toStringMapper=S6e,r9e.inspect=r9e.toSource=function(){return this.toString()},r9e.chain=r9e.flatMap,r9e.contains=r9e.includes,q7e(n4e,{flip:function(){return h6e(this,n6e(this))},mapEntries:function(e,t){var n=this,r=0;return h6e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return h6e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var i9e=n4e.prototype;i9e["@@__IMMUTABLE_KEYED__@@"]=!0,i9e[d4e]=r9e.entries,i9e.toJSON=n9e,i9e.__toStringMapper=function(e,t){return S6e(t)+": "+S6e(e)},q7e(r4e,{toKeyedSeq:function(){return new Z4e(this,!1)},filter:function(e,t){return h6e(this,o6e(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 h6e(this,i6e(this,!1))},slice:function(e,t){return h6e(this,a6e(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=K5e(e,e<0?this.count():this.size);var r=this.slice(0,e);return h6e(this,1===n?r:r.concat(w6e(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 h6e(this,c6e(this,e,!1))},get:function(e,t){return(e=q5e(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=q5e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return h6e(this,function(e,t){var n=v6e(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 f4e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?p4e(n,a++,t):p4e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(w6e(arguments)),t=p6e(this.toSeq(),O4e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),h6e(this,n)},keySeq:function(){return J7e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return h6e(this,s6e(this,e,t,!1))},zip:function(){var e=[this].concat(w6e(arguments));return h6e(this,p6e(this,d9e,e))},zipAll:function(){var e=[this].concat(w6e(arguments));return h6e(this,p6e(this,d9e,e,!0))},zipWith:function(e){var t=w6e(arguments);return t[0]=this,h6e(this,p6e(this,e,t))}});var o9e=r4e.prototype;function a9e(e,t,n,r,i,o){return _6e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function s9e(e,t){return t}function l9e(e,t){return[t,e]}function c9e(e){return function(){return!e.apply(this,arguments)}}function u9e(e){return function(){return-e.apply(this,arguments)}}function d9e(){return w6e(arguments)}function f9e(e,t){return e<t?1:e>t?-1:0}function p9e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}o9e["@@__IMMUTABLE_INDEXED__@@"]=!0,o9e[l4e]=!0,q7e(i4e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i4e.prototype.has=r9e.includes,i4e.prototype.contains=i4e.prototype.includes,q7e(_4e,n4e.prototype),q7e(O4e,r4e.prototype),q7e(k4e,i4e.prototype);var h9e=function(e){function t(e){return null==e?y9e():U7e(e)?e:y9e().withMutations((function(t){var n=i4e(e);_6e(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(n4e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(V7e);h9e.isOrderedSet=U7e;var m9e,g9e=h9e.prototype;function v9e(e,t){var n=Object.create(g9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function y9e(){return m9e||(m9e=v9e(A7e()))}g9e[l4e]=!0,g9e.zip=o9e.zip,g9e.zipWith=o9e.zipWith,g9e.__empty=y9e,g9e.__make=v9e;var b9e=function(e,t){var n,r=function(o){var a=this;if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(e),l=i._indices={};i._name=t,i._keys=s,i._defaultValues=e;for(var c=0;c<s.length;c++){var u=s[c];l[u]=c,i[u]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+_9e(this)+' with property "'+u+'" since that property name is part of the Record API.'):k9e(i,u)}}this.__ownerID=void 0,this._values=v7e().withMutations((function(e){e.setSize(a._keys.length),n4e(o).forEach((function(t,n){e.set(a._indices[n],t===a._defaultValues[n]?void 0:t)}))}))},i=r.prototype=Object.create(w9e);return i.constructor=r,t&&(r.displayName=t),r};b9e.prototype.toString=function(){for(var e,t=_9e(this)+" { ",n=this._keys,r=0,i=n.length;r!==i;r++)t+=(r?", ":"")+(e=n[r])+": "+S6e(this.get(e));return t+" }"},b9e.prototype.equals=function(e){return this===e||e&&this._keys===e._keys&&O9e(this).equals(O9e(e))},b9e.prototype.hashCode=function(){return O9e(this).hashCode()},b9e.prototype.has=function(e){return this._indices.hasOwnProperty(e)},b9e.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._indices[e],r=this._values.get(n);return void 0===r?this._defaultValues[e]:r},b9e.prototype.set=function(e,t){if(this.has(e)){var n=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(n!==this._values&&!this.__ownerID)return x9e(this,n)}return this},b9e.prototype.remove=function(e){return this.set(e)},b9e.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:x9e(this,e)},b9e.prototype.wasAltered=function(){return this._values.wasAltered()},b9e.prototype.toSeq=function(){return O9e(this)},b9e.prototype.toJS=function(){return $7e(this)},b9e.prototype.entries=function(){return this.__iterator(2)},b9e.prototype.__iterator=function(e,t){return O9e(this).__iterator(e,t)},b9e.prototype.__iterate=function(e,t){return O9e(this).__iterate(e,t)},b9e.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?x9e(this,t,e):(this.__ownerID=e,this._values=t,this)},b9e.isRecord=a4e,b9e.getDescriptiveName=_9e;var w9e=b9e.prototype;function x9e(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function _9e(e){return e.constructor.displayName||e.constructor.name||"Record"}function O9e(e){return P4e(e._keys.map((function(t){return[t,e.get(t)]})))}function k9e(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){x6e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}w9e["@@__IMMUTABLE_RECORD__@@"]=!0,w9e.delete=w9e.remove,w9e.deleteIn=w9e.removeIn=D6e,w9e.getIn=t9e,w9e.hasIn=r9e.hasIn,w9e.merge=M6e,w9e.mergeWith=j6e,w9e.mergeIn=U6e,w9e.mergeDeep=Q6e,w9e.mergeDeepWith=B6e,w9e.mergeDeepIn=W6e,w9e.setIn=P6e,w9e.update=A6e,w9e.updateIn=R6e,w9e.withMutations=q6e,w9e.asMutable=$6e,w9e.asImmutable=V6e,w9e[d4e]=w9e.entries,w9e.toJSON=w9e.toObject=r9e.toObject,w9e.inspect=w9e.toSource=function(){return this.toString()};var S9e={exports:{}};
141
141
  /*!
142
142
  Copyright (c) 2015 Jed Watson.
143
143
  Based on code that is Copyright 2013-2015, Facebook, Inc.