@wavv/ui 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/assets/icons/PhoneCallback.d.ts +3 -0
- package/build/cjs/types/assets/icons/PhoneForward.d.ts +3 -0
- package/build/cjs/types/assets/icons/PhoneTransfer.d.ts +3 -0
- package/build/cjs/types/components/Icon/icons.d.ts +3 -0
- package/build/esm/index.js +3 -3
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/assets/icons/PhoneCallback.d.ts +3 -0
- package/build/esm/types/assets/icons/PhoneForward.d.ts +3 -0
- package/build/esm/types/assets/icons/PhoneTransfer.d.ts +3 -0
- package/build/esm/types/components/Icon/icons.d.ts +3 -0
- package/build/index.d.ts +3 -0
- package/package.json +4 -4
package/build/esm/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
6
6
|
* Released under MIT license <https://lodash.com/license>
|
|
7
7
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
8
8
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
9
|
-
*/Bt=zt,Ft=zt.exports,function(){var e,t=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",o="Invalid `variable` option passed into `_.template`",i="__lodash_hash_undefined__",a=500,s="__lodash_placeholder__",c=1,u=2,l=4,f=1,d=2,p=1,h=2,g=4,v=8,y=16,m=32,b=64,w=128,x=256,C=512,_=30,S="...",O=800,k=16,E=1,T=2,A=1/0,j=9007199254740991,M=17976931348623157e292,P=NaN,D=4294967295,I=D-1,L=D>>>1,R=[["ary",w],["bind",p],["bindKey",h],["curry",v],["curryRight",y],["flip",C],["partial",m],["partialRight",b],["rearg",x]],N="[object Arguments]",B="[object Array]",F="[object AsyncFunction]",z="[object Boolean]",H="[object Date]",V="[object DOMException]",U="[object Error]",K="[object Function]",$="[object GeneratorFunction]",W="[object Map]",q="[object Number]",G="[object Null]",Z="[object Object]",Y="[object Promise]",X="[object Proxy]",J="[object RegExp]",Q="[object Set]",ee="[object String]",te="[object Symbol]",ne="[object Undefined]",re="[object WeakMap]",oe="[object WeakSet]",ie="[object ArrayBuffer]",ae="[object DataView]",se="[object Float32Array]",ce="[object Float64Array]",ue="[object Int8Array]",le="[object Int16Array]",fe="[object Int32Array]",de="[object Uint8Array]",pe="[object Uint8ClampedArray]",he="[object Uint16Array]",ge="[object Uint32Array]",ve=/\b__p \+= '';/g,ye=/\b(__p \+=) '' \+/g,me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,be=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,xe=RegExp(be.source),Ce=RegExp(we.source),_e=/<%-([\s\S]+?)%>/g,Se=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ee=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/[\\^$.*+?()[\]{}|]/g,je=RegExp(Ae.source),Me=/^\s+/,Pe=/\s/,De=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ie=/\{\n\/\* \[wrapped with (.+)\] \*/,Le=/,? & /,Re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ne=/[()=,{}\[\]\/\s]/,Be=/\\(\\)?/g,Fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,Ue=/^\[object .+?Constructor\]$/,Ke=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,We=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qe=/($^)/,Ge=/['\n\r\u2028\u2029\\]/g,Ze="\\ud800-\\udfff",Ye="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xe="\\u2700-\\u27bf",Je="a-z\\xdf-\\xf6\\xf8-\\xff",Qe="A-Z\\xc0-\\xd6\\xd8-\\xde",et="\\ufe0e\\ufe0f",tt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nt="['’]",rt="["+Ze+"]",ot="["+tt+"]",it="["+Ye+"]",at="\\d+",st="["+Xe+"]",ct="["+Je+"]",ut="[^"+Ze+tt+at+Xe+Je+Qe+"]",lt="\\ud83c[\\udffb-\\udfff]",ft="[^"+Ze+"]",dt="(?:\\ud83c[\\udde6-\\uddff]){2}",pt="[\\ud800-\\udbff][\\udc00-\\udfff]",ht="["+Qe+"]",gt="\\u200d",vt="(?:"+ct+"|"+ut+")",yt="(?:"+ht+"|"+ut+")",mt="(?:['’](?:d|ll|m|re|s|t|ve))?",bt="(?:['’](?:D|LL|M|RE|S|T|VE))?",wt="(?:"+it+"|"+lt+")?",xt="["+et+"]?",Ct=xt+wt+"(?:"+gt+"(?:"+[ft,dt,pt].join("|")+")"+xt+wt+")*",_t="(?:"+[st,dt,pt].join("|")+")"+Ct,St="(?:"+[ft+it+"?",it,dt,pt,rt].join("|")+")",Ot=RegExp(nt,"g"),kt=RegExp(it,"g"),Et=RegExp(lt+"(?="+lt+")|"+St+Ct,"g"),Tt=RegExp([ht+"?"+ct+"+"+mt+"(?="+[ot,ht,"$"].join("|")+")",yt+"+"+bt+"(?="+[ot,ht+vt,"$"].join("|")+")",ht+"?"+vt+"+"+mt,ht+"+"+bt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",at,_t].join("|"),"g"),At=RegExp("["+gt+Ze+Ye+et+"]"),jt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pt=-1,Dt={};Dt[se]=Dt[ce]=Dt[ue]=Dt[le]=Dt[fe]=Dt[de]=Dt[pe]=Dt[he]=Dt[ge]=!0,Dt[N]=Dt[B]=Dt[ie]=Dt[z]=Dt[ae]=Dt[H]=Dt[U]=Dt[K]=Dt[W]=Dt[q]=Dt[Z]=Dt[J]=Dt[Q]=Dt[ee]=Dt[re]=!1;var It={};It[N]=It[B]=It[ie]=It[ae]=It[z]=It[H]=It[se]=It[ce]=It[ue]=It[le]=It[fe]=It[W]=It[q]=It[Z]=It[J]=It[Q]=It[ee]=It[te]=It[de]=It[pe]=It[he]=It[ge]=!0,It[U]=It[K]=It[re]=!1;var Rt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nt=parseFloat,zt=parseInt,Ht="object"==typeof Lt&&Lt&&Lt.Object===Object&&Lt,Vt="object"==typeof self&&self&&self.Object===Object&&self,Ut=Ht||Vt||Function("return this")(),Kt=Ft&&!Ft.nodeType&&Ft,$t=Kt&&Bt&&!Bt.nodeType&&Bt,Wt=$t&&$t.exports===Kt,qt=Wt&&Ht.process,Gt=function(){try{var e=$t&&$t.require&&$t.require("util").types;return e||qt&&qt.binding&&qt.binding("util")}catch(e){}}(),Zt=Gt&&Gt.isArrayBuffer,Yt=Gt&&Gt.isDate,Xt=Gt&&Gt.isMap,Jt=Gt&&Gt.isRegExp,Qt=Gt&&Gt.isSet,en=Gt&&Gt.isTypedArray;function tn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function nn(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function rn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function on(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function an(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function sn(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function cn(e,t){return!(null==e||!e.length)&&mn(e,t,0)>-1}function un(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function ln(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function fn(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function dn(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function pn(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function hn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var gn=Cn("length");function vn(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function yn(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function mn(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):yn(e,wn,n)}function bn(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function wn(e){return e!=e}function xn(e,t){var n=null==e?0:e.length;return n?On(e,t)/n:P}function Cn(t){return function(n){return null==n?e:n[t]}}function _n(t){return function(n){return null==t?e:t[n]}}function Sn(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function On(t,n){for(var r,o=-1,i=t.length;++o<i;){var a=n(t[o]);a!==e&&(r=r===e?a:r+a)}return r}function kn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function En(e){return e?e.slice(0,Kn(e)+1).replace(Me,""):e}function Tn(e){return function(t){return e(t)}}function An(e,t){return ln(t,(function(t){return e[t]}))}function jn(e,t){return e.has(t)}function Mn(e,t){for(var n=-1,r=e.length;++n<r&&mn(t,e[n],0)>-1;);return n}function Pn(e,t){for(var n=e.length;n--&&mn(t,e[n],0)>-1;);return n}var Dn=_n({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),In=_n({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ln(e){return"\\"+Rt[e]}function Rn(e){return At.test(e)}function Nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Bn(e,t){return function(n){return e(t(n))}}function Fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function zn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Vn(e){return Rn(e)?function(e){for(var t=Et.lastIndex=0;Et.test(e);)++t;return t}(e):gn(e)}function Un(e){return Rn(e)?function(e){return e.match(Et)||[]}(e):function(e){return e.split("")}(e)}function Kn(e){for(var t=e.length;t--&&Pe.test(e.charAt(t)););return t}var $n=_n({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Wn=function Pe(Ze){var Ye,Xe=(Ze=null==Ze?Ut:Wn.defaults(Ut.Object(),Ze,Wn.pick(Ut,Mt))).Array,Je=Ze.Date,Qe=Ze.Error,et=Ze.Function,tt=Ze.Math,nt=Ze.Object,rt=Ze.RegExp,ot=Ze.String,it=Ze.TypeError,at=Xe.prototype,st=et.prototype,ct=nt.prototype,ut=Ze["__core-js_shared__"],lt=st.toString,ft=ct.hasOwnProperty,dt=0,pt=(Ye=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+Ye:"",ht=ct.toString,gt=lt.call(nt),vt=Ut._,yt=rt("^"+lt.call(ft).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=Wt?Ze.Buffer:e,bt=Ze.Symbol,wt=Ze.Uint8Array,xt=mt?mt.allocUnsafe:e,Ct=Bn(nt.getPrototypeOf,nt),_t=nt.create,St=ct.propertyIsEnumerable,Et=at.splice,At=bt?bt.isConcatSpreadable:e,Lt=bt?bt.iterator:e,Rt=bt?bt.toStringTag:e,Bt=function(){try{var e=Vi(nt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ft=Ze.clearTimeout!==Ut.clearTimeout&&Ze.clearTimeout,Ht=Je&&Je.now!==Ut.Date.now&&Je.now,Vt=Ze.setTimeout!==Ut.setTimeout&&Ze.setTimeout,Kt=tt.ceil,$t=tt.floor,qt=nt.getOwnPropertySymbols,Gt=mt?mt.isBuffer:e,gn=Ze.isFinite,_n=at.join,qn=Bn(nt.keys,nt),Gn=tt.max,Zn=tt.min,Yn=Je.now,Xn=Ze.parseInt,Jn=tt.random,Qn=at.reverse,er=Vi(Ze,"DataView"),tr=Vi(Ze,"Map"),nr=Vi(Ze,"Promise"),rr=Vi(Ze,"Set"),or=Vi(Ze,"WeakMap"),ir=Vi(nt,"create"),ar=or&&new or,sr={},cr=ha(er),ur=ha(tr),lr=ha(nr),fr=ha(rr),dr=ha(or),pr=bt?bt.prototype:e,hr=pr?pr.valueOf:e,gr=pr?pr.toString:e;function vr(e){if(Ms(e)&&!ws(e)&&!(e instanceof wr)){if(e instanceof br)return e;if(ft.call(e,"__wrapped__"))return ga(e)}return new br(e)}var yr=function(){function t(){}return function(n){if(!js(n))return{};if(_t)return _t(n);t.prototype=n;var r=new t;return t.prototype=e,r}}();function mr(){}function br(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=e}function wr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=D,this.__views__=[]}function xr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Cr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Sr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _r;++t<n;)this.add(e[t])}function Or(e){var t=this.__data__=new Cr(e);this.size=t.size}function kr(e,t){var n=ws(e),r=!n&&bs(e),o=!n&&!r&&Ss(e),i=!n&&!r&&!o&&Fs(e),a=n||r||o||i,s=a?kn(e.length,ot):[],c=s.length;for(var u in e)!t&&!ft.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Zi(u,c))||s.push(u);return s}function Er(t){var n=t.length;return n?t[Oo(0,n-1)]:e}function Tr(e,t){return fa(ai(e),Nr(t,0,e.length))}function Ar(e){return fa(ai(e))}function jr(t,n,r){(r!==e&&!vs(t[n],r)||r===e&&!(n in t))&&Lr(t,n,r)}function Mr(t,n,r){var o=t[n];ft.call(t,n)&&vs(o,r)&&(r!==e||n in t)||Lr(t,n,r)}function Pr(e,t){for(var n=e.length;n--;)if(vs(e[n][0],t))return n;return-1}function Dr(e,t,n,r){return Vr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Ir(e,t){return e&&si(t,sc(t),e)}function Lr(e,t,n){"__proto__"==t&&Bt?Bt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Rr(t,n){for(var r=-1,o=n.length,i=Xe(o),a=null==t;++r<o;)i[r]=a?e:nc(t,n[r]);return i}function Nr(t,n,r){return t==t&&(r!==e&&(t=t<=r?t:r),n!==e&&(t=t>=n?t:n)),t}function Br(t,n,r,o,i,a){var s,f=n&c,d=n&u,p=n&l;if(r&&(s=i?r(t,o,i,a):r(t)),s!==e)return s;if(!js(t))return t;var h=ws(t);if(h){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ft.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!f)return ai(t,s)}else{var g=$i(t),v=g==K||g==$;if(Ss(t))return ei(t,f);if(g==Z||g==N||v&&!i){if(s=d||v?{}:qi(t),!f)return d?function(e,t){return si(e,Ki(e),t)}(t,function(e,t){return e&&si(t,cc(t),e)}(s,t)):function(e,t){return si(e,Ui(e),t)}(t,Ir(s,t))}else{if(!It[g])return i?t:{};s=function(e,t,n){var r,o=e.constructor;switch(t){case ie:return ti(e);case z:case H:return new o(+e);case ae:return function(e,t){var n=t?ti(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case se:case ce:case ue:case le:case fe:case de:case pe:case he:case ge:return ni(e,n);case W:return new o;case q:case ee:return new o(e);case J:return function(e){var t=new e.constructor(e.source,ze.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Q:return new o;case te:return r=e,hr?nt(hr.call(r)):{}}}(t,g,f)}}a||(a=new Or);var y=a.get(t);if(y)return y;a.set(t,s),Rs(t)?t.forEach((function(e){s.add(Br(e,n,r,e,t,a))})):Ps(t)&&t.forEach((function(e,o){s.set(o,Br(e,n,r,o,t,a))}));var m=h?e:(p?d?Li:Ii:d?cc:sc)(t);return rn(m||t,(function(e,o){m&&(e=t[o=e]),Mr(s,o,Br(e,n,r,o,t,a))})),s}function Fr(t,n,r){var o=r.length;if(null==t)return!o;for(t=nt(t);o--;){var i=r[o],a=n[i],s=t[i];if(s===e&&!(i in t)||!a(s))return!1}return!0}function zr(t,n,o){if("function"!=typeof t)throw new it(r);return sa((function(){t.apply(e,o)}),n)}function Hr(e,n,r,o){var i=-1,a=cn,s=!0,c=e.length,u=[],l=n.length;if(!c)return u;r&&(n=ln(n,Tn(r))),o?(a=un,s=!1):n.length>=t&&(a=jn,s=!1,n=new Sr(n));e:for(;++i<c;){var f=e[i],d=null==r?f:r(f);if(f=o||0!==f?f:0,s&&d==d){for(var p=l;p--;)if(n[p]===d)continue e;u.push(f)}else a(n,d,o)||u.push(f)}return u}vr.templateSettings={escape:_e,evaluate:Se,interpolate:Oe,variable:"",imports:{_:vr}},vr.prototype=mr.prototype,vr.prototype.constructor=vr,br.prototype=yr(mr.prototype),br.prototype.constructor=br,wr.prototype=yr(mr.prototype),wr.prototype.constructor=wr,xr.prototype.clear=function(){this.__data__=ir?ir(null):{},this.size=0},xr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},xr.prototype.get=function(t){var n=this.__data__;if(ir){var r=n[t];return r===i?e:r}return ft.call(n,t)?n[t]:e},xr.prototype.has=function(t){var n=this.__data__;return ir?n[t]!==e:ft.call(n,t)},xr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ir&&n===e?i:n,this},Cr.prototype.clear=function(){this.__data__=[],this.size=0},Cr.prototype.delete=function(e){var t=this.__data__,n=Pr(t,e);return!(n<0||(n==t.length-1?t.pop():Et.call(t,n,1),--this.size,0))},Cr.prototype.get=function(t){var n=this.__data__,r=Pr(n,t);return r<0?e:n[r][1]},Cr.prototype.has=function(e){return Pr(this.__data__,e)>-1},Cr.prototype.set=function(e,t){var n=this.__data__,r=Pr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},_r.prototype.clear=function(){this.size=0,this.__data__={hash:new xr,map:new(tr||Cr),string:new xr}},_r.prototype.delete=function(e){var t=zi(this,e).delete(e);return this.size-=t?1:0,t},_r.prototype.get=function(e){return zi(this,e).get(e)},_r.prototype.has=function(e){return zi(this,e).has(e)},_r.prototype.set=function(e,t){var n=zi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Sr.prototype.add=Sr.prototype.push=function(e){return this.__data__.set(e,i),this},Sr.prototype.has=function(e){return this.__data__.has(e)},Or.prototype.clear=function(){this.__data__=new Cr,this.size=0},Or.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Or.prototype.get=function(e){return this.__data__.get(e)},Or.prototype.has=function(e){return this.__data__.has(e)},Or.prototype.set=function(e,n){var r=this.__data__;if(r instanceof Cr){var o=r.__data__;if(!tr||o.length<t-1)return o.push([e,n]),this.size=++r.size,this;r=this.__data__=new _r(o)}return r.set(e,n),this.size=r.size,this};var Vr=li(Yr),Ur=li(Xr,!0);function Kr(e,t){var n=!0;return Vr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function $r(t,n,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n(a);if(null!=s&&(c===e?s==s&&!Bs(s):r(s,c)))var c=s,u=a}return u}function Wr(e,t){var n=[];return Vr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function qr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Gi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?qr(s,t-1,n,r,o):fn(o,s):r||(o[o.length]=s)}return o}var Gr=fi(),Zr=fi(!0);function Yr(e,t){return e&&Gr(e,t,sc)}function Xr(e,t){return e&&Zr(e,t,sc)}function Jr(e,t){return sn(t,(function(t){return Es(e[t])}))}function Qr(t,n){for(var r=0,o=(n=Yo(n,t)).length;null!=t&&r<o;)t=t[pa(n[r++])];return r&&r==o?t:e}function eo(e,t,n){var r=t(e);return ws(e)?r:fn(r,n(e))}function to(t){return null==t?t===e?ne:G:Rt&&Rt in nt(t)?function(t){var n=ft.call(t,Rt),r=t[Rt];try{t[Rt]=e;var o=!0}catch(e){}var i=ht.call(t);return o&&(n?t[Rt]=r:delete t[Rt]),i}(t):function(e){return ht.call(e)}(t)}function no(e,t){return e>t}function ro(e,t){return null!=e&&ft.call(e,t)}function oo(e,t){return null!=e&&t in nt(e)}function io(t,n,r){for(var o=r?un:cn,i=t[0].length,a=t.length,s=a,c=Xe(a),u=1/0,l=[];s--;){var f=t[s];s&&n&&(f=ln(f,Tn(n))),u=Zn(f.length,u),c[s]=!r&&(n||i>=120&&f.length>=120)?new Sr(s&&f):e}f=t[0];var d=-1,p=c[0];e:for(;++d<i&&l.length<u;){var h=f[d],g=n?n(h):h;if(h=r||0!==h?h:0,!(p?jn(p,g):o(l,g,r))){for(s=a;--s;){var v=c[s];if(!(v?jn(v,g):o(t[s],g,r)))continue e}p&&p.push(g),l.push(h)}}return l}function ao(t,n,r){var o=null==(t=oa(t,n=Yo(n,t)))?t:t[pa(ka(n))];return null==o?e:tn(o,t,r)}function so(e){return Ms(e)&&to(e)==N}function co(t,n,r,o,i){return t===n||(null==t||null==n||!Ms(t)&&!Ms(n)?t!=t&&n!=n:function(t,n,r,o,i,a){var s=ws(t),c=ws(n),u=s?B:$i(t),l=c?B:$i(n),p=(u=u==N?Z:u)==Z,h=(l=l==N?Z:l)==Z,g=u==l;if(g&&Ss(t)){if(!Ss(n))return!1;s=!0,p=!1}if(g&&!p)return a||(a=new Or),s||Fs(t)?Pi(t,n,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case ae:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ie:return!(e.byteLength!=t.byteLength||!i(new wt(e),new wt(t)));case z:case H:case q:return vs(+e,+t);case U:return e.name==t.name&&e.message==t.message;case J:case ee:return e==t+"";case W:var s=Nn;case Q:var c=r&f;if(s||(s=zn),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=d,a.set(e,t);var l=Pi(s(e),s(t),r,o,i,a);return a.delete(e),l;case te:if(hr)return hr.call(e)==hr.call(t)}return!1}(t,n,u,r,o,i,a);if(!(r&f)){var v=p&&ft.call(t,"__wrapped__"),y=h&&ft.call(n,"__wrapped__");if(v||y){var m=v?t.value():t,b=y?n.value():n;return a||(a=new Or),i(m,b,r,o,a)}}return!!g&&(a||(a=new Or),function(t,n,r,o,i,a){var s=r&f,c=Ii(t),u=c.length,l=Ii(n),d=l.length;if(u!=d&&!s)return!1;for(var p=u;p--;){var h=c[p];if(!(s?h in n:ft.call(n,h)))return!1}var g=a.get(t),v=a.get(n);if(g&&v)return g==n&&v==t;var y=!0;a.set(t,n),a.set(n,t);for(var m=s;++p<u;){var b=t[h=c[p]],w=n[h];if(o)var x=s?o(w,b,h,n,t,a):o(b,w,h,t,n,a);if(!(x===e?b===w||i(b,w,r,o,a):x)){y=!1;break}m||(m="constructor"==h)}if(y&&!m){var C=t.constructor,_=n.constructor;C==_||!("constructor"in t)||!("constructor"in n)||"function"==typeof C&&C instanceof C&&"function"==typeof _&&_ instanceof _||(y=!1)}return a.delete(t),a.delete(n),y}(t,n,r,o,i,a))}(t,n,r,o,co,i))}function uo(t,n,r,o){var i=r.length,a=i,s=!o;if(null==t)return!a;for(t=nt(t);i--;){var c=r[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<a;){var u=(c=r[i])[0],l=t[u],p=c[1];if(s&&c[2]){if(l===e&&!(u in t))return!1}else{var h=new Or;if(o)var g=o(l,p,u,t,n,h);if(!(g===e?co(p,l,f|d,o,h):g))return!1}}return!0}function lo(e){return!(!js(e)||(t=e,pt&&pt in t))&&(Es(e)?yt:Ue).test(ha(e));var t}function fo(e){return"function"==typeof e?e:null==e?Dc:"object"==typeof e?ws(e)?mo(e[0],e[1]):yo(e):Vc(e)}function po(e){if(!ea(e))return qn(e);var t=[];for(var n in nt(e))ft.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ho(e){if(!js(e))return function(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}(e);var t=ea(e),n=[];for(var r in e)("constructor"!=r||!t&&ft.call(e,r))&&n.push(r);return n}function go(e,t){return e<t}function vo(e,t){var n=-1,r=Cs(e)?Xe(e.length):[];return Vr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function yo(e){var t=Hi(e);return 1==t.length&&t[0][2]?na(t[0][0],t[0][1]):function(n){return n===e||uo(n,e,t)}}function mo(t,n){return Xi(t)&&ta(n)?na(pa(t),n):function(r){var o=nc(r,t);return o===e&&o===n?rc(r,t):co(n,o,f|d)}}function bo(t,n,r,o,i){t!==n&&Gr(n,(function(a,s){if(i||(i=new Or),js(a))!function(t,n,r,o,i,a,s){var c=ia(t,r),u=ia(n,r),l=s.get(u);if(l)jr(t,r,l);else{var f=a?a(c,u,r+"",t,n,s):e,d=f===e;if(d){var p=ws(u),h=!p&&Ss(u),g=!p&&!h&&Fs(u);f=u,p||h||g?ws(c)?f=c:_s(c)?f=ai(c):h?(d=!1,f=ei(u,!0)):g?(d=!1,f=ni(u,!0)):f=[]:Is(u)||bs(u)?(f=c,bs(c)?f=qs(c):js(c)&&!Es(c)||(f=qi(u))):d=!1}d&&(s.set(u,f),i(f,u,o,a,s),s.delete(u)),jr(t,r,f)}}(t,n,s,r,bo,o,i);else{var c=o?o(ia(t,s),a,s+"",t,n,i):e;c===e&&(c=a),jr(t,s,c)}}),cc)}function wo(t,n){var r=t.length;if(r)return Zi(n+=n<0?r:0,r)?t[n]:e}function xo(e,t,n){t=t.length?ln(t,(function(e){return ws(e)?function(t){return Qr(t,1===e.length?e[0]:e)}:e})):[Dc];var r=-1;t=ln(t,Tn(Fi()));var o=vo(e,(function(e,n,o){var i=ln(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var c=ri(o[r],i[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Co(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Qr(e,a);n(s,a)&&jo(i,Yo(a,e),s)}return i}function _o(e,t,n,r){var o=r?bn:mn,i=-1,a=t.length,s=e;for(e===t&&(t=ai(t)),n&&(s=ln(e,Tn(n)));++i<a;)for(var c=0,u=t[i],l=n?n(u):u;(c=o(s,l,c,r))>-1;)s!==e&&Et.call(s,c,1),Et.call(e,c,1);return e}function So(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Zi(o)?Et.call(e,o,1):Vo(e,o)}}return e}function Oo(e,t){return e+$t(Jn()*(t-e+1))}function ko(e,t){var n="";if(!e||t<1||t>j)return n;do{t%2&&(n+=e),(t=$t(t/2))&&(e+=e)}while(t);return n}function Eo(e,t){return ca(ra(e,t,Dc),e+"")}function To(e){return Er(vc(e))}function Ao(e,t){var n=vc(e);return fa(n,Nr(t,0,n.length))}function jo(t,n,r,o){if(!js(t))return t;for(var i=-1,a=(n=Yo(n,t)).length,s=a-1,c=t;null!=c&&++i<a;){var u=pa(n[i]),l=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=s){var f=c[u];(l=o?o(f,u,c):e)===e&&(l=js(f)?f:Zi(n[i+1])?[]:{})}Mr(c,u,l),c=c[u]}return t}var Mo=ar?function(e,t){return ar.set(e,t),e}:Dc,Po=Bt?function(e,t){return Bt(e,"toString",{configurable:!0,enumerable:!1,value:jc(t),writable:!0})}:Dc;function Do(e){return fa(vc(e))}function Io(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Xe(o);++r<o;)i[r]=e[r+t];return i}function Lo(e,t){var n;return Vr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Ro(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=L){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Bs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return No(e,t,Dc,n)}function No(t,n,r,o){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(n=r(n))!=n,c=null===n,u=Bs(n),l=n===e;i<a;){var f=$t((i+a)/2),d=r(t[f]),p=d!==e,h=null===d,g=d==d,v=Bs(d);if(s)var y=o||g;else y=l?g&&(o||p):c?g&&p&&(o||!h):u?g&&p&&!h&&(o||!v):!h&&!v&&(o?d<=n:d<n);y?i=f+1:a=f}return Zn(a,I)}function Bo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!vs(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Fo(e){return"number"==typeof e?e:Bs(e)?P:+e}function zo(e){if("string"==typeof e)return e;if(ws(e))return ln(e,zo)+"";if(Bs(e))return gr?gr.call(e):"";var t=e+"";return"0"==t&&1/e==-A?"-0":t}function Ho(e,n,r){var o=-1,i=cn,a=e.length,s=!0,c=[],u=c;if(r)s=!1,i=un;else if(a>=t){var l=n?null:ki(e);if(l)return zn(l);s=!1,i=jn,u=new Sr}else u=n?[]:c;e:for(;++o<a;){var f=e[o],d=n?n(f):f;if(f=r||0!==f?f:0,s&&d==d){for(var p=u.length;p--;)if(u[p]===d)continue e;n&&u.push(d),c.push(f)}else i(u,d,r)||(u!==c&&u.push(d),c.push(f))}return c}function Vo(e,t){return null==(e=oa(e,t=Yo(t,e)))||delete e[pa(ka(t))]}function Uo(e,t,n,r){return jo(e,t,n(Qr(e,t)),r)}function Ko(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Io(e,r?0:i,r?i+1:o):Io(e,r?i+1:0,r?o:i)}function $o(e,t){var n=e;return n instanceof wr&&(n=n.value()),dn(t,(function(e,t){return t.func.apply(t.thisArg,fn([e],t.args))}),n)}function Wo(e,t,n){var r=e.length;if(r<2)return r?Ho(e[0]):[];for(var o=-1,i=Xe(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=Hr(i[o]||a,e[s],t,n));return Ho(qr(i,1),t,n)}function qo(t,n,r){for(var o=-1,i=t.length,a=n.length,s={};++o<i;){var c=o<a?n[o]:e;r(s,t[o],c)}return s}function Go(e){return _s(e)?e:[]}function Zo(e){return"function"==typeof e?e:Dc}function Yo(e,t){return ws(e)?e:Xi(e,t)?[e]:da(Gs(e))}var Xo=Eo;function Jo(t,n,r){var o=t.length;return r=r===e?o:r,!n&&r>=o?t:Io(t,n,r)}var Qo=Ft||function(e){return Ut.clearTimeout(e)};function ei(e,t){if(t)return e.slice();var n=e.length,r=xt?xt(n):new e.constructor(n);return e.copy(r),r}function ti(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function ni(e,t){var n=t?ti(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ri(t,n){if(t!==n){var r=t!==e,o=null===t,i=t==t,a=Bs(t),s=n!==e,c=null===n,u=n==n,l=Bs(n);if(!c&&!l&&!a&&t>n||a&&s&&u&&!c&&!l||o&&s&&u||!r&&u||!i)return 1;if(!o&&!a&&!l&&t<n||l&&r&&i&&!o&&!a||c&&r&&i||!s&&i||!u)return-1}return 0}function oi(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,c=t.length,u=Gn(i-a,0),l=Xe(c+u),f=!r;++s<c;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;u--;)l[s++]=e[o++];return l}function ii(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,c=-1,u=t.length,l=Gn(i-s,0),f=Xe(l+u),d=!r;++o<l;)f[o]=e[o];for(var p=o;++c<u;)f[p+c]=t[c];for(;++a<s;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function ai(e,t){var n=-1,r=e.length;for(t||(t=Xe(r));++n<r;)t[n]=e[n];return t}function si(t,n,r,o){var i=!r;r||(r={});for(var a=-1,s=n.length;++a<s;){var c=n[a],u=o?o(r[c],t[c],c,r,t):e;u===e&&(u=t[c]),i?Lr(r,c,u):Mr(r,c,u)}return r}function ci(e,t){return function(n,r){var o=ws(n)?nn:Dr,i=t?t():{};return o(n,e,Fi(r,2),i)}}function ui(t){return Eo((function(n,r){var o=-1,i=r.length,a=i>1?r[i-1]:e,s=i>2?r[2]:e;for(a=t.length>3&&"function"==typeof a?(i--,a):e,s&&Yi(r[0],r[1],s)&&(a=i<3?e:a,i=1),n=nt(n);++o<i;){var c=r[o];c&&t(n,c,o,a)}return n}))}function li(e,t){return function(n,r){if(null==n)return n;if(!Cs(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=nt(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function fi(e){return function(t,n,r){for(var o=-1,i=nt(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function di(t){return function(n){var r=Rn(n=Gs(n))?Un(n):e,o=r?r[0]:n.charAt(0),i=r?Jo(r,1).join(""):n.slice(1);return o[t]()+i}}function pi(e){return function(t){return dn(Ec(bc(t).replace(Ot,"")),e,"")}}function hi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=yr(e.prototype),r=e.apply(n,t);return js(r)?r:n}}function gi(t){return function(n,r,o){var i=nt(n);if(!Cs(n)){var a=Fi(r,3);n=sc(n),r=function(e){return a(i[e],e,i)}}var s=t(n,r,o);return s>-1?i[a?n[s]:s]:e}}function vi(t){return Di((function(n){var o=n.length,i=o,a=br.prototype.thru;for(t&&n.reverse();i--;){var s=n[i];if("function"!=typeof s)throw new it(r);if(a&&!c&&"wrapper"==Ni(s))var c=new br([],!0)}for(i=c?i:o;++i<o;){var u=Ni(s=n[i]),l="wrapper"==u?Ri(s):e;c=l&&Ji(l[0])&&l[1]==(w|v|m|x)&&!l[4].length&&1==l[9]?c[Ni(l[0])].apply(c,l[3]):1==s.length&&Ji(s)?c[u]():c.thru(s)}return function(){var e=arguments,t=e[0];if(c&&1==e.length&&ws(t))return c.plant(t).value();for(var r=0,i=o?n[r].apply(this,e):t;++r<o;)i=n[r].call(this,i);return i}}))}function yi(t,n,r,o,i,a,s,c,u,l){var f=n&w,d=n&p,g=n&h,m=n&(v|y),b=n&C,x=g?e:hi(t);return function p(){for(var h=arguments.length,v=Xe(h),y=h;y--;)v[y]=arguments[y];if(m)var w=Bi(p),C=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(v,w);if(o&&(v=oi(v,o,i,m)),a&&(v=ii(v,a,s,m)),h-=C,m&&h<l){var _=Fn(v,w);return Si(t,n,yi,p.placeholder,r,v,_,c,u,l-h)}var S=d?r:this,O=g?S[t]:t;return h=v.length,c?v=function(t,n){for(var r=t.length,o=Zn(n.length,r),i=ai(t);o--;){var a=n[o];t[o]=Zi(a,r)?i[a]:e}return t}(v,c):b&&h>1&&v.reverse(),f&&u<h&&(v.length=u),this&&this!==Ut&&this instanceof p&&(O=x||hi(O)),O.apply(S,v)}}function mi(e,t){return function(n,r){return function(e,t,n,r){return Yr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function bi(t,n){return function(r,o){var i;if(r===e&&o===e)return n;if(r!==e&&(i=r),o!==e){if(i===e)return o;"string"==typeof r||"string"==typeof o?(r=zo(r),o=zo(o)):(r=Fo(r),o=Fo(o)),i=t(r,o)}return i}}function wi(e){return Di((function(t){return t=ln(t,Tn(Fi())),Eo((function(n){var r=this;return e(t,(function(e){return tn(e,r,n)}))}))}))}function xi(t,n){var r=(n=n===e?" ":zo(n)).length;if(r<2)return r?ko(n,t):n;var o=ko(n,Kt(t/Vn(n)));return Rn(n)?Jo(Un(o),0,t).join(""):o.slice(0,t)}function Ci(t){return function(n,r,o){return o&&"number"!=typeof o&&Yi(n,r,o)&&(r=o=e),n=Us(n),r===e?(r=n,n=0):r=Us(r),function(e,t,n,r){for(var o=-1,i=Gn(Kt((t-e)/(n||1)),0),a=Xe(i);i--;)a[r?i:++o]=e,e+=n;return a}(n,r,o=o===e?n<r?1:-1:Us(o),t)}}function _i(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ws(t),n=Ws(n)),e(t,n)}}function Si(t,n,r,o,i,a,s,c,u,l){var f=n&v;n|=f?m:b,(n&=~(f?b:m))&g||(n&=~(p|h));var d=[t,n,i,f?a:e,f?s:e,f?e:a,f?e:s,c,u,l],y=r.apply(e,d);return Ji(t)&&aa(y,d),y.placeholder=o,ua(y,t,n)}function Oi(e){var t=tt[e];return function(e,n){if(e=Ws(e),(n=null==n?0:Zn(Ks(n),292))&&gn(e)){var r=(Gs(e)+"e").split("e");return+((r=(Gs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var ki=rr&&1/zn(new rr([,-0]))[1]==A?function(e){return new rr(e)}:Bc;function Ei(e){return function(t){var n=$i(t);return n==W?Nn(t):n==Q?Hn(t):function(e,t){return ln(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ti(t,n,o,i,a,c,u,l){var f=n&h;if(!f&&"function"!=typeof t)throw new it(r);var d=i?i.length:0;if(d||(n&=~(m|b),i=a=e),u=u===e?u:Gn(Ks(u),0),l=l===e?l:Ks(l),d-=a?a.length:0,n&b){var C=i,_=a;i=a=e}var S=f?e:Ri(t),O=[t,n,o,i,a,C,_,c,u,l];if(S&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<(p|h|w),a=r==w&&n==v||r==w&&n==x&&e[7].length<=t[8]||r==(w|x)&&t[7].length<=t[8]&&n==v;if(!i&&!a)return e;r&p&&(e[2]=t[2],o|=n&p?0:g);var c=t[3];if(c){var u=e[3];e[3]=u?oi(u,c,t[4]):c,e[4]=u?Fn(e[3],s):t[4]}(c=t[5])&&(u=e[5],e[5]=u?ii(u,c,t[6]):c,e[6]=u?Fn(e[5],s):t[6]),(c=t[7])&&(e[7]=c),r&w&&(e[8]=null==e[8]?t[8]:Zn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(O,S),t=O[0],n=O[1],o=O[2],i=O[3],a=O[4],!(l=O[9]=O[9]===e?f?0:t.length:Gn(O[9]-d,0))&&n&(v|y)&&(n&=~(v|y)),n&&n!=p)k=n==v||n==y?function(t,n,r){var o=hi(t);return function i(){for(var a=arguments.length,s=Xe(a),c=a,u=Bi(i);c--;)s[c]=arguments[c];var l=a<3&&s[0]!==u&&s[a-1]!==u?[]:Fn(s,u);return(a-=l.length)<r?Si(t,n,yi,i.placeholder,e,s,l,e,e,r-a):tn(this&&this!==Ut&&this instanceof i?o:t,this,s)}}(t,n,l):n!=m&&n!=(p|m)||a.length?yi.apply(e,O):function(e,t,n,r){var o=t&p,i=hi(e);return function t(){for(var a=-1,s=arguments.length,c=-1,u=r.length,l=Xe(u+s),f=this&&this!==Ut&&this instanceof t?i:e;++c<u;)l[c]=r[c];for(;s--;)l[c++]=arguments[++a];return tn(f,o?n:this,l)}}(t,n,o,i);else var k=function(e,t,n){var r=t&p,o=hi(e);return function t(){return(this&&this!==Ut&&this instanceof t?o:e).apply(r?n:this,arguments)}}(t,n,o);return ua((S?Mo:aa)(k,O),t,n)}function Ai(t,n,r,o){return t===e||vs(t,ct[r])&&!ft.call(o,r)?n:t}function ji(t,n,r,o,i,a){return js(t)&&js(n)&&(a.set(n,t),bo(t,n,e,ji,a),a.delete(n)),t}function Mi(t){return Is(t)?e:t}function Pi(t,n,r,o,i,a){var s=r&f,c=t.length,u=n.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t),p=a.get(n);if(l&&p)return l==n&&p==t;var h=-1,g=!0,v=r&d?new Sr:e;for(a.set(t,n),a.set(n,t);++h<c;){var y=t[h],m=n[h];if(o)var b=s?o(m,y,h,n,t,a):o(y,m,h,t,n,a);if(b!==e){if(b)continue;g=!1;break}if(v){if(!hn(n,(function(e,t){if(!jn(v,t)&&(y===e||i(y,e,r,o,a)))return v.push(t)}))){g=!1;break}}else if(y!==m&&!i(y,m,r,o,a)){g=!1;break}}return a.delete(t),a.delete(n),g}function Di(t){return ca(ra(t,e,xa),t+"")}function Ii(e){return eo(e,sc,Ui)}function Li(e){return eo(e,cc,Ki)}var Ri=ar?function(e){return ar.get(e)}:Bc;function Ni(e){for(var t=e.name+"",n=sr[t],r=ft.call(sr,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Bi(e){return(ft.call(vr,"placeholder")?vr:e).placeholder}function Fi(){var e=vr.iteratee||Ic;return e=e===Ic?fo:e,arguments.length?e(arguments[0],arguments[1]):e}function zi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Hi(e){for(var t=sc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ta(o)]}return t}function Vi(t,n){var r=function(t,n){return null==t?e:t[n]}(t,n);return lo(r)?r:e}var Ui=qt?function(e){return null==e?[]:(e=nt(e),sn(qt(e),(function(t){return St.call(e,t)})))}:$c,Ki=qt?function(e){for(var t=[];e;)fn(t,Ui(e)),e=Ct(e);return t}:$c,$i=to;function Wi(e,t,n){for(var r=-1,o=(t=Yo(t,e)).length,i=!1;++r<o;){var a=pa(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&As(o)&&Zi(a,o)&&(ws(e)||bs(e))}function qi(e){return"function"!=typeof e.constructor||ea(e)?{}:yr(Ct(e))}function Gi(e){return ws(e)||bs(e)||!!(At&&e&&e[At])}function Zi(e,t){var n=typeof e;return!!(t=null==t?j:t)&&("number"==n||"symbol"!=n&&$e.test(e))&&e>-1&&e%1==0&&e<t}function Yi(e,t,n){if(!js(n))return!1;var r=typeof t;return!!("number"==r?Cs(n)&&Zi(t,n.length):"string"==r&&t in n)&&vs(n[t],e)}function Xi(e,t){if(ws(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Bs(e))||Ee.test(e)||!ke.test(e)||null!=t&&e in nt(t)}function Ji(e){var t=Ni(e),n=vr[t];if("function"!=typeof n||!(t in wr.prototype))return!1;if(e===n)return!0;var r=Ri(n);return!!r&&e===r[0]}(er&&$i(new er(new ArrayBuffer(1)))!=ae||tr&&$i(new tr)!=W||nr&&$i(nr.resolve())!=Y||rr&&$i(new rr)!=Q||or&&$i(new or)!=re)&&($i=function(t){var n=to(t),r=n==Z?t.constructor:e,o=r?ha(r):"";if(o)switch(o){case cr:return ae;case ur:return W;case lr:return Y;case fr:return Q;case dr:return re}return n});var Qi=ut?Es:Wc;function ea(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ct)}function ta(e){return e==e&&!js(e)}function na(t,n){return function(r){return null!=r&&r[t]===n&&(n!==e||t in nt(r))}}function ra(t,n,r){return n=Gn(n===e?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=Gn(e.length-n,0),a=Xe(i);++o<i;)a[o]=e[n+o];o=-1;for(var s=Xe(n+1);++o<n;)s[o]=e[o];return s[n]=r(a),tn(t,this,s)}}function oa(e,t){return t.length<2?e:Qr(e,Io(t,0,-1))}function ia(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var aa=la(Mo),sa=Vt||function(e,t){return Ut.setTimeout(e,t)},ca=la(Po);function ua(e,t,n){var r=t+"";return ca(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(De,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return rn(R,(function(n){var r="_."+n[0];t&n[1]&&!cn(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Ie);return t?t[1].split(Le):[]}(r),n)))}function la(t){var n=0,r=0;return function(){var o=Yn(),i=k-(o-r);if(r=o,i>0){if(++n>=O)return arguments[0]}else n=0;return t.apply(e,arguments)}}function fa(t,n){var r=-1,o=t.length,i=o-1;for(n=n===e?o:n;++r<n;){var a=Oo(r,i),s=t[a];t[a]=t[r],t[r]=s}return t.length=n,t}var da=function(e){var t=ls(e,(function(e){return n.size===a&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Te,(function(e,n,r,o){t.push(r?o.replace(Be,"$1"):n||e)})),t}));function pa(e){if("string"==typeof e||Bs(e))return e;var t=e+"";return"0"==t&&1/e==-A?"-0":t}function ha(e){if(null!=e){try{return lt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ga(e){if(e instanceof wr)return e.clone();var t=new br(e.__wrapped__,e.__chain__);return t.__actions__=ai(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var va=Eo((function(e,t){return _s(e)?Hr(e,qr(t,1,_s,!0)):[]})),ya=Eo((function(t,n){var r=ka(n);return _s(r)&&(r=e),_s(t)?Hr(t,qr(n,1,_s,!0),Fi(r,2)):[]})),ma=Eo((function(t,n){var r=ka(n);return _s(r)&&(r=e),_s(t)?Hr(t,qr(n,1,_s,!0),e,r):[]}));function ba(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Ks(n);return o<0&&(o=Gn(r+o,0)),yn(e,Fi(t,3),o)}function wa(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o-1;return r!==e&&(i=Ks(r),i=r<0?Gn(o+i,0):Zn(i,o-1)),yn(t,Fi(n,3),i,!0)}function xa(e){return null!=e&&e.length?qr(e,1):[]}function Ca(t){return t&&t.length?t[0]:e}var _a=Eo((function(e){var t=ln(e,Go);return t.length&&t[0]===e[0]?io(t):[]})),Sa=Eo((function(t){var n=ka(t),r=ln(t,Go);return n===ka(r)?n=e:r.pop(),r.length&&r[0]===t[0]?io(r,Fi(n,2)):[]})),Oa=Eo((function(t){var n=ka(t),r=ln(t,Go);return(n="function"==typeof n?n:e)&&r.pop(),r.length&&r[0]===t[0]?io(r,e,n):[]}));function ka(t){var n=null==t?0:t.length;return n?t[n-1]:e}var Ea=Eo(Ta);function Ta(e,t){return e&&e.length&&t&&t.length?_o(e,t):e}var Aa=Di((function(e,t){var n=null==e?0:e.length,r=Rr(e,t);return So(e,ln(t,(function(e){return Zi(e,n)?+e:e})).sort(ri)),r}));function ja(e){return null==e?e:Qn.call(e)}var Ma=Eo((function(e){return Ho(qr(e,1,_s,!0))})),Pa=Eo((function(t){var n=ka(t);return _s(n)&&(n=e),Ho(qr(t,1,_s,!0),Fi(n,2))})),Da=Eo((function(t){var n=ka(t);return n="function"==typeof n?n:e,Ho(qr(t,1,_s,!0),e,n)}));function Ia(e){if(!e||!e.length)return[];var t=0;return e=sn(e,(function(e){if(_s(e))return t=Gn(e.length,t),!0})),kn(t,(function(t){return ln(e,Cn(t))}))}function La(t,n){if(!t||!t.length)return[];var r=Ia(t);return null==n?r:ln(r,(function(t){return tn(n,e,t)}))}var Ra=Eo((function(e,t){return _s(e)?Hr(e,t):[]})),Na=Eo((function(e){return Wo(sn(e,_s))})),Ba=Eo((function(t){var n=ka(t);return _s(n)&&(n=e),Wo(sn(t,_s),Fi(n,2))})),Fa=Eo((function(t){var n=ka(t);return n="function"==typeof n?n:e,Wo(sn(t,_s),e,n)})),za=Eo(Ia),Ha=Eo((function(t){var n=t.length,r=n>1?t[n-1]:e;return r="function"==typeof r?(t.pop(),r):e,La(t,r)}));function Va(e){var t=vr(e);return t.__chain__=!0,t}function Ua(e,t){return t(e)}var Ka=Di((function(t){var n=t.length,r=n?t[0]:0,o=this.__wrapped__,i=function(e){return Rr(e,t)};return!(n>1||this.__actions__.length)&&o instanceof wr&&Zi(r)?((o=o.slice(r,+r+(n?1:0))).__actions__.push({func:Ua,args:[i],thisArg:e}),new br(o,this.__chain__).thru((function(t){return n&&!t.length&&t.push(e),t}))):this.thru(i)})),$a=ci((function(e,t,n){ft.call(e,n)?++e[n]:Lr(e,n,1)})),Wa=gi(ba),qa=gi(wa);function Ga(e,t){return(ws(e)?rn:Vr)(e,Fi(t,3))}function Za(e,t){return(ws(e)?on:Ur)(e,Fi(t,3))}var Ya=ci((function(e,t,n){ft.call(e,n)?e[n].push(t):Lr(e,n,[t])})),Xa=Eo((function(e,t,n){var r=-1,o="function"==typeof t,i=Cs(e)?Xe(e.length):[];return Vr(e,(function(e){i[++r]=o?tn(t,e,n):ao(e,t,n)})),i})),Ja=ci((function(e,t,n){Lr(e,n,t)}));function Qa(e,t){return(ws(e)?ln:vo)(e,Fi(t,3))}var es=ci((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),ts=Eo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Yi(e,t[0],t[1])?t=[]:n>2&&Yi(t[0],t[1],t[2])&&(t=[t[0]]),xo(e,qr(t,1),[])})),ns=Ht||function(){return Ut.Date.now()};function rs(t,n,r){return n=r?e:n,n=t&&null==n?t.length:n,Ti(t,w,e,e,e,e,n)}function os(t,n){var o;if("function"!=typeof n)throw new it(r);return t=Ks(t),function(){return--t>0&&(o=n.apply(this,arguments)),t<=1&&(n=e),o}}var is=Eo((function(e,t,n){var r=p;if(n.length){var o=Fn(n,Bi(is));r|=m}return Ti(e,r,t,n,o)})),as=Eo((function(e,t,n){var r=p|h;if(n.length){var o=Fn(n,Bi(as));r|=m}return Ti(t,r,e,n,o)}));function ss(t,n,o){var i,a,s,c,u,l,f=0,d=!1,p=!1,h=!0;if("function"!=typeof t)throw new it(r);function g(n){var r=i,o=a;return i=a=e,f=n,c=t.apply(o,r)}function v(t){var r=t-l;return l===e||r>=n||r<0||p&&t-f>=s}function y(){var e=ns();if(v(e))return m(e);u=sa(y,function(e){var t=n-(e-l);return p?Zn(t,s-(e-f)):t}(e))}function m(t){return u=e,h&&i?g(t):(i=a=e,c)}function b(){var t=ns(),r=v(t);if(i=arguments,a=this,l=t,r){if(u===e)return function(e){return f=e,u=sa(y,n),d?g(e):c}(l);if(p)return Qo(u),u=sa(y,n),g(l)}return u===e&&(u=sa(y,n)),c}return n=Ws(n)||0,js(o)&&(d=!!o.leading,s=(p="maxWait"in o)?Gn(Ws(o.maxWait)||0,n):s,h="trailing"in o?!!o.trailing:h),b.cancel=function(){u!==e&&Qo(u),f=0,i=l=a=u=e},b.flush=function(){return u===e?c:m(ns())},b}var cs=Eo((function(e,t){return zr(e,1,t)})),us=Eo((function(e,t,n){return zr(e,Ws(t)||0,n)}));function ls(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new it(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ls.Cache||_r),n}function fs(e){if("function"!=typeof e)throw new it(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ls.Cache=_r;var ds=Xo((function(e,t){var n=(t=1==t.length&&ws(t[0])?ln(t[0],Tn(Fi())):ln(qr(t,1),Tn(Fi()))).length;return Eo((function(r){for(var o=-1,i=Zn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return tn(e,this,r)}))})),ps=Eo((function(t,n){var r=Fn(n,Bi(ps));return Ti(t,m,e,n,r)})),hs=Eo((function(t,n){var r=Fn(n,Bi(hs));return Ti(t,b,e,n,r)})),gs=Di((function(t,n){return Ti(t,x,e,e,e,n)}));function vs(e,t){return e===t||e!=e&&t!=t}var ys=_i(no),ms=_i((function(e,t){return e>=t})),bs=so(function(){return arguments}())?so:function(e){return Ms(e)&&ft.call(e,"callee")&&!St.call(e,"callee")},ws=Xe.isArray,xs=Zt?Tn(Zt):function(e){return Ms(e)&&to(e)==ie};function Cs(e){return null!=e&&As(e.length)&&!Es(e)}function _s(e){return Ms(e)&&Cs(e)}var Ss=Gt||Wc,Os=Yt?Tn(Yt):function(e){return Ms(e)&&to(e)==H};function ks(e){if(!Ms(e))return!1;var t=to(e);return t==U||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Is(e)}function Es(e){if(!js(e))return!1;var t=to(e);return t==K||t==$||t==F||t==X}function Ts(e){return"number"==typeof e&&e==Ks(e)}function As(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=j}function js(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ms(e){return null!=e&&"object"==typeof e}var Ps=Xt?Tn(Xt):function(e){return Ms(e)&&$i(e)==W};function Ds(e){return"number"==typeof e||Ms(e)&&to(e)==q}function Is(e){if(!Ms(e)||to(e)!=Z)return!1;var t=Ct(e);if(null===t)return!0;var n=ft.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&<.call(n)==gt}var Ls=Jt?Tn(Jt):function(e){return Ms(e)&&to(e)==J},Rs=Qt?Tn(Qt):function(e){return Ms(e)&&$i(e)==Q};function Ns(e){return"string"==typeof e||!ws(e)&&Ms(e)&&to(e)==ee}function Bs(e){return"symbol"==typeof e||Ms(e)&&to(e)==te}var Fs=en?Tn(en):function(e){return Ms(e)&&As(e.length)&&!!Dt[to(e)]},zs=_i(go),Hs=_i((function(e,t){return e<=t}));function Vs(e){if(!e)return[];if(Cs(e))return Ns(e)?Un(e):ai(e);if(Lt&&e[Lt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Lt]());var t=$i(e);return(t==W?Nn:t==Q?zn:vc)(e)}function Us(e){return e?(e=Ws(e))===A||e===-A?(e<0?-1:1)*M:e==e?e:0:0===e?e:0}function Ks(e){var t=Us(e),n=t%1;return t==t?n?t-n:t:0}function $s(e){return e?Nr(Ks(e),0,D):0}function Ws(e){if("number"==typeof e)return e;if(Bs(e))return P;if(js(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=js(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=En(e);var n=Ve.test(e);return n||Ke.test(e)?zt(e.slice(2),n?2:8):He.test(e)?P:+e}function qs(e){return si(e,cc(e))}function Gs(e){return null==e?"":zo(e)}var Zs=ui((function(e,t){if(ea(t)||Cs(t))si(t,sc(t),e);else for(var n in t)ft.call(t,n)&&Mr(e,n,t[n])})),Ys=ui((function(e,t){si(t,cc(t),e)})),Xs=ui((function(e,t,n,r){si(t,cc(t),e,r)})),Js=ui((function(e,t,n,r){si(t,sc(t),e,r)})),Qs=Di(Rr),ec=Eo((function(t,n){t=nt(t);var r=-1,o=n.length,i=o>2?n[2]:e;for(i&&Yi(n[0],n[1],i)&&(o=1);++r<o;)for(var a=n[r],s=cc(a),c=-1,u=s.length;++c<u;){var l=s[c],f=t[l];(f===e||vs(f,ct[l])&&!ft.call(t,l))&&(t[l]=a[l])}return t})),tc=Eo((function(t){return t.push(e,ji),tn(lc,e,t)}));function nc(t,n,r){var o=null==t?e:Qr(t,n);return o===e?r:o}function rc(e,t){return null!=e&&Wi(e,t,oo)}var oc=mi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),e[t]=n}),jc(Dc)),ic=mi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),ft.call(e,t)?e[t].push(n):e[t]=[n]}),Fi),ac=Eo(ao);function sc(e){return Cs(e)?kr(e):po(e)}function cc(e){return Cs(e)?kr(e,!0):ho(e)}var uc=ui((function(e,t,n){bo(e,t,n)})),lc=ui((function(e,t,n,r){bo(e,t,n,r)})),fc=Di((function(e,t){var n={};if(null==e)return n;var r=!1;t=ln(t,(function(t){return t=Yo(t,e),r||(r=t.length>1),t})),si(e,Li(e),n),r&&(n=Br(n,c|u|l,Mi));for(var o=t.length;o--;)Vo(n,t[o]);return n})),dc=Di((function(e,t){return null==e?{}:function(e,t){return Co(e,t,(function(t,n){return rc(e,n)}))}(e,t)}));function pc(e,t){if(null==e)return{};var n=ln(Li(e),(function(e){return[e]}));return t=Fi(t),Co(e,n,(function(e,n){return t(e,n[0])}))}var hc=Ei(sc),gc=Ei(cc);function vc(e){return null==e?[]:An(e,sc(e))}var yc=pi((function(e,t,n){return t=t.toLowerCase(),e+(n?mc(t):t)}));function mc(e){return kc(Gs(e).toLowerCase())}function bc(e){return(e=Gs(e))&&e.replace(We,Dn).replace(kt,"")}var wc=pi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),xc=pi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Cc=di("toLowerCase"),_c=pi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Sc=pi((function(e,t,n){return e+(n?" ":"")+kc(t)})),Oc=pi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),kc=di("toUpperCase");function Ec(t,n,r){return t=Gs(t),(n=r?e:n)===e?function(e){return jt.test(e)}(t)?function(e){return e.match(Tt)||[]}(t):function(e){return e.match(Re)||[]}(t):t.match(n)||[]}var Tc=Eo((function(t,n){try{return tn(t,e,n)}catch(e){return ks(e)?e:new Qe(e)}})),Ac=Di((function(e,t){return rn(t,(function(t){t=pa(t),Lr(e,t,is(e[t],e))})),e}));function jc(e){return function(){return e}}var Mc=vi(),Pc=vi(!0);function Dc(e){return e}function Ic(e){return fo("function"==typeof e?e:Br(e,c))}var Lc=Eo((function(e,t){return function(n){return ao(n,e,t)}})),Rc=Eo((function(e,t){return function(n){return ao(e,n,t)}}));function Nc(e,t,n){var r=sc(t),o=Jr(t,r);null!=n||js(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Jr(t,sc(t)));var i=!(js(n)&&"chain"in n&&!n.chain),a=Es(e);return rn(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=ai(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,fn([this.value()],arguments))})})),e}function Bc(){}var Fc=wi(ln),zc=wi(an),Hc=wi(hn);function Vc(e){return Xi(e)?Cn(pa(e)):function(e){return function(t){return Qr(t,e)}}(e)}var Uc=Ci(),Kc=Ci(!0);function $c(){return[]}function Wc(){return!1}var qc,Gc=bi((function(e,t){return e+t}),0),Zc=Oi("ceil"),Yc=bi((function(e,t){return e/t}),1),Xc=Oi("floor"),Jc=bi((function(e,t){return e*t}),1),Qc=Oi("round"),eu=bi((function(e,t){return e-t}),0);return vr.after=function(e,t){if("function"!=typeof t)throw new it(r);return e=Ks(e),function(){if(--e<1)return t.apply(this,arguments)}},vr.ary=rs,vr.assign=Zs,vr.assignIn=Ys,vr.assignInWith=Xs,vr.assignWith=Js,vr.at=Qs,vr.before=os,vr.bind=is,vr.bindAll=Ac,vr.bindKey=as,vr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ws(e)?e:[e]},vr.chain=Va,vr.chunk=function(t,n,r){n=(r?Yi(t,n,r):n===e)?1:Gn(Ks(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var i=0,a=0,s=Xe(Kt(o/n));i<o;)s[a++]=Io(t,i,i+=n);return s},vr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},vr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Xe(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return fn(ws(n)?ai(n):[n],qr(t,1))},vr.cond=function(e){var t=null==e?0:e.length,n=Fi();return e=t?ln(e,(function(e){if("function"!=typeof e[1])throw new it(r);return[n(e[0]),e[1]]})):[],Eo((function(n){for(var r=-1;++r<t;){var o=e[r];if(tn(o[0],this,n))return tn(o[1],this,n)}}))},vr.conforms=function(e){return function(e){var t=sc(e);return function(n){return Fr(n,e,t)}}(Br(e,c))},vr.constant=jc,vr.countBy=$a,vr.create=function(e,t){var n=yr(e);return null==t?n:Ir(n,t)},vr.curry=function t(n,r,o){var i=Ti(n,v,e,e,e,e,e,r=o?e:r);return i.placeholder=t.placeholder,i},vr.curryRight=function t(n,r,o){var i=Ti(n,y,e,e,e,e,e,r=o?e:r);return i.placeholder=t.placeholder,i},vr.debounce=ss,vr.defaults=ec,vr.defaultsDeep=tc,vr.defer=cs,vr.delay=us,vr.difference=va,vr.differenceBy=ya,vr.differenceWith=ma,vr.drop=function(t,n,r){var o=null==t?0:t.length;return o?Io(t,(n=r||n===e?1:Ks(n))<0?0:n,o):[]},vr.dropRight=function(t,n,r){var o=null==t?0:t.length;return o?Io(t,0,(n=o-(n=r||n===e?1:Ks(n)))<0?0:n):[]},vr.dropRightWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3),!0,!0):[]},vr.dropWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3),!0):[]},vr.fill=function(t,n,r,o){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Yi(t,n,r)&&(r=0,o=i),function(t,n,r,o){var i=t.length;for((r=Ks(r))<0&&(r=-r>i?0:i+r),(o=o===e||o>i?i:Ks(o))<0&&(o+=i),o=r>o?0:$s(o);r<o;)t[r++]=n;return t}(t,n,r,o)):[]},vr.filter=function(e,t){return(ws(e)?sn:Wr)(e,Fi(t,3))},vr.flatMap=function(e,t){return qr(Qa(e,t),1)},vr.flatMapDeep=function(e,t){return qr(Qa(e,t),A)},vr.flatMapDepth=function(t,n,r){return r=r===e?1:Ks(r),qr(Qa(t,n),r)},vr.flatten=xa,vr.flattenDeep=function(e){return null!=e&&e.length?qr(e,A):[]},vr.flattenDepth=function(t,n){return null!=t&&t.length?qr(t,n=n===e?1:Ks(n)):[]},vr.flip=function(e){return Ti(e,C)},vr.flow=Mc,vr.flowRight=Pc,vr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},vr.functions=function(e){return null==e?[]:Jr(e,sc(e))},vr.functionsIn=function(e){return null==e?[]:Jr(e,cc(e))},vr.groupBy=Ya,vr.initial=function(e){return null!=e&&e.length?Io(e,0,-1):[]},vr.intersection=_a,vr.intersectionBy=Sa,vr.intersectionWith=Oa,vr.invert=oc,vr.invertBy=ic,vr.invokeMap=Xa,vr.iteratee=Ic,vr.keyBy=Ja,vr.keys=sc,vr.keysIn=cc,vr.map=Qa,vr.mapKeys=function(e,t){var n={};return t=Fi(t,3),Yr(e,(function(e,r,o){Lr(n,t(e,r,o),e)})),n},vr.mapValues=function(e,t){var n={};return t=Fi(t,3),Yr(e,(function(e,r,o){Lr(n,r,t(e,r,o))})),n},vr.matches=function(e){return yo(Br(e,c))},vr.matchesProperty=function(e,t){return mo(e,Br(t,c))},vr.memoize=ls,vr.merge=uc,vr.mergeWith=lc,vr.method=Lc,vr.methodOf=Rc,vr.mixin=Nc,vr.negate=fs,vr.nthArg=function(e){return e=Ks(e),Eo((function(t){return wo(t,e)}))},vr.omit=fc,vr.omitBy=function(e,t){return pc(e,fs(Fi(t)))},vr.once=function(e){return os(2,e)},vr.orderBy=function(t,n,r,o){return null==t?[]:(ws(n)||(n=null==n?[]:[n]),ws(r=o?e:r)||(r=null==r?[]:[r]),xo(t,n,r))},vr.over=Fc,vr.overArgs=ds,vr.overEvery=zc,vr.overSome=Hc,vr.partial=ps,vr.partialRight=hs,vr.partition=es,vr.pick=dc,vr.pickBy=pc,vr.property=Vc,vr.propertyOf=function(t){return function(n){return null==t?e:Qr(t,n)}},vr.pull=Ea,vr.pullAll=Ta,vr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?_o(e,t,Fi(n,2)):e},vr.pullAllWith=function(t,n,r){return t&&t.length&&n&&n.length?_o(t,n,e,r):t},vr.pullAt=Aa,vr.range=Uc,vr.rangeRight=Kc,vr.rearg=gs,vr.reject=function(e,t){return(ws(e)?sn:Wr)(e,fs(Fi(t,3)))},vr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Fi(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return So(e,o),n},vr.rest=function(t,n){if("function"!=typeof t)throw new it(r);return Eo(t,n=n===e?n:Ks(n))},vr.reverse=ja,vr.sampleSize=function(t,n,r){return n=(r?Yi(t,n,r):n===e)?1:Ks(n),(ws(t)?Tr:Ao)(t,n)},vr.set=function(e,t,n){return null==e?e:jo(e,t,n)},vr.setWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:jo(t,n,r,o)},vr.shuffle=function(e){return(ws(e)?Ar:Do)(e)},vr.slice=function(t,n,r){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&Yi(t,n,r)?(n=0,r=o):(n=null==n?0:Ks(n),r=r===e?o:Ks(r)),Io(t,n,r)):[]},vr.sortBy=ts,vr.sortedUniq=function(e){return e&&e.length?Bo(e):[]},vr.sortedUniqBy=function(e,t){return e&&e.length?Bo(e,Fi(t,2)):[]},vr.split=function(t,n,r){return r&&"number"!=typeof r&&Yi(t,n,r)&&(n=r=e),(r=r===e?D:r>>>0)?(t=Gs(t))&&("string"==typeof n||null!=n&&!Ls(n))&&!(n=zo(n))&&Rn(t)?Jo(Un(t),0,r):t.split(n,r):[]},vr.spread=function(e,t){if("function"!=typeof e)throw new it(r);return t=null==t?0:Gn(Ks(t),0),Eo((function(n){var r=n[t],o=Jo(n,0,t);return r&&fn(o,r),tn(e,this,o)}))},vr.tail=function(e){var t=null==e?0:e.length;return t?Io(e,1,t):[]},vr.take=function(t,n,r){return t&&t.length?Io(t,0,(n=r||n===e?1:Ks(n))<0?0:n):[]},vr.takeRight=function(t,n,r){var o=null==t?0:t.length;return o?Io(t,(n=o-(n=r||n===e?1:Ks(n)))<0?0:n,o):[]},vr.takeRightWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3),!1,!0):[]},vr.takeWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3)):[]},vr.tap=function(e,t){return t(e),e},vr.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new it(r);return js(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),ss(e,t,{leading:o,maxWait:t,trailing:i})},vr.thru=Ua,vr.toArray=Vs,vr.toPairs=hc,vr.toPairsIn=gc,vr.toPath=function(e){return ws(e)?ln(e,pa):Bs(e)?[e]:ai(da(Gs(e)))},vr.toPlainObject=qs,vr.transform=function(e,t,n){var r=ws(e),o=r||Ss(e)||Fs(e);if(t=Fi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:js(e)&&Es(i)?yr(Ct(e)):{}}return(o?rn:Yr)(e,(function(e,r,o){return t(n,e,r,o)})),n},vr.unary=function(e){return rs(e,1)},vr.union=Ma,vr.unionBy=Pa,vr.unionWith=Da,vr.uniq=function(e){return e&&e.length?Ho(e):[]},vr.uniqBy=function(e,t){return e&&e.length?Ho(e,Fi(t,2)):[]},vr.uniqWith=function(t,n){return n="function"==typeof n?n:e,t&&t.length?Ho(t,e,n):[]},vr.unset=function(e,t){return null==e||Vo(e,t)},vr.unzip=Ia,vr.unzipWith=La,vr.update=function(e,t,n){return null==e?e:Uo(e,t,Zo(n))},vr.updateWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:Uo(t,n,Zo(r),o)},vr.values=vc,vr.valuesIn=function(e){return null==e?[]:An(e,cc(e))},vr.without=Ra,vr.words=Ec,vr.wrap=function(e,t){return ps(Zo(t),e)},vr.xor=Na,vr.xorBy=Ba,vr.xorWith=Fa,vr.zip=za,vr.zipObject=function(e,t){return qo(e||[],t||[],Mr)},vr.zipObjectDeep=function(e,t){return qo(e||[],t||[],jo)},vr.zipWith=Ha,vr.entries=hc,vr.entriesIn=gc,vr.extend=Ys,vr.extendWith=Xs,Nc(vr,vr),vr.add=Gc,vr.attempt=Tc,vr.camelCase=yc,vr.capitalize=mc,vr.ceil=Zc,vr.clamp=function(t,n,r){return r===e&&(r=n,n=e),r!==e&&(r=(r=Ws(r))==r?r:0),n!==e&&(n=(n=Ws(n))==n?n:0),Nr(Ws(t),n,r)},vr.clone=function(e){return Br(e,l)},vr.cloneDeep=function(e){return Br(e,c|l)},vr.cloneDeepWith=function(t,n){return Br(t,c|l,n="function"==typeof n?n:e)},vr.cloneWith=function(t,n){return Br(t,l,n="function"==typeof n?n:e)},vr.conformsTo=function(e,t){return null==t||Fr(e,t,sc(t))},vr.deburr=bc,vr.defaultTo=function(e,t){return null==e||e!=e?t:e},vr.divide=Yc,vr.endsWith=function(t,n,r){t=Gs(t),n=zo(n);var o=t.length,i=r=r===e?o:Nr(Ks(r),0,o);return(r-=n.length)>=0&&t.slice(r,i)==n},vr.eq=vs,vr.escape=function(e){return(e=Gs(e))&&Ce.test(e)?e.replace(we,In):e},vr.escapeRegExp=function(e){return(e=Gs(e))&&je.test(e)?e.replace(Ae,"\\$&"):e},vr.every=function(t,n,r){var o=ws(t)?an:Kr;return r&&Yi(t,n,r)&&(n=e),o(t,Fi(n,3))},vr.find=Wa,vr.findIndex=ba,vr.findKey=function(e,t){return vn(e,Fi(t,3),Yr)},vr.findLast=qa,vr.findLastIndex=wa,vr.findLastKey=function(e,t){return vn(e,Fi(t,3),Xr)},vr.floor=Xc,vr.forEach=Ga,vr.forEachRight=Za,vr.forIn=function(e,t){return null==e?e:Gr(e,Fi(t,3),cc)},vr.forInRight=function(e,t){return null==e?e:Zr(e,Fi(t,3),cc)},vr.forOwn=function(e,t){return e&&Yr(e,Fi(t,3))},vr.forOwnRight=function(e,t){return e&&Xr(e,Fi(t,3))},vr.get=nc,vr.gt=ys,vr.gte=ms,vr.has=function(e,t){return null!=e&&Wi(e,t,ro)},vr.hasIn=rc,vr.head=Ca,vr.identity=Dc,vr.includes=function(e,t,n,r){e=Cs(e)?e:vc(e),n=n&&!r?Ks(n):0;var o=e.length;return n<0&&(n=Gn(o+n,0)),Ns(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&mn(e,t,n)>-1},vr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Ks(n);return o<0&&(o=Gn(r+o,0)),mn(e,t,o)},vr.inRange=function(t,n,r){return n=Us(n),r===e?(r=n,n=0):r=Us(r),function(e,t,n){return e>=Zn(t,n)&&e<Gn(t,n)}(t=Ws(t),n,r)},vr.invoke=ac,vr.isArguments=bs,vr.isArray=ws,vr.isArrayBuffer=xs,vr.isArrayLike=Cs,vr.isArrayLikeObject=_s,vr.isBoolean=function(e){return!0===e||!1===e||Ms(e)&&to(e)==z},vr.isBuffer=Ss,vr.isDate=Os,vr.isElement=function(e){return Ms(e)&&1===e.nodeType&&!Is(e)},vr.isEmpty=function(e){if(null==e)return!0;if(Cs(e)&&(ws(e)||"string"==typeof e||"function"==typeof e.splice||Ss(e)||Fs(e)||bs(e)))return!e.length;var t=$i(e);if(t==W||t==Q)return!e.size;if(ea(e))return!po(e).length;for(var n in e)if(ft.call(e,n))return!1;return!0},vr.isEqual=function(e,t){return co(e,t)},vr.isEqualWith=function(t,n,r){var o=(r="function"==typeof r?r:e)?r(t,n):e;return o===e?co(t,n,e,r):!!o},vr.isError=ks,vr.isFinite=function(e){return"number"==typeof e&&gn(e)},vr.isFunction=Es,vr.isInteger=Ts,vr.isLength=As,vr.isMap=Ps,vr.isMatch=function(e,t){return e===t||uo(e,t,Hi(t))},vr.isMatchWith=function(t,n,r){return r="function"==typeof r?r:e,uo(t,n,Hi(n),r)},vr.isNaN=function(e){return Ds(e)&&e!=+e},vr.isNative=function(e){if(Qi(e))throw new Qe(n);return lo(e)},vr.isNil=function(e){return null==e},vr.isNull=function(e){return null===e},vr.isNumber=Ds,vr.isObject=js,vr.isObjectLike=Ms,vr.isPlainObject=Is,vr.isRegExp=Ls,vr.isSafeInteger=function(e){return Ts(e)&&e>=-j&&e<=j},vr.isSet=Rs,vr.isString=Ns,vr.isSymbol=Bs,vr.isTypedArray=Fs,vr.isUndefined=function(t){return t===e},vr.isWeakMap=function(e){return Ms(e)&&$i(e)==re},vr.isWeakSet=function(e){return Ms(e)&&to(e)==oe},vr.join=function(e,t){return null==e?"":_n.call(e,t)},vr.kebabCase=wc,vr.last=ka,vr.lastIndexOf=function(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o;return r!==e&&(i=(i=Ks(r))<0?Gn(o+i,0):Zn(i,o-1)),n==n?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(t,n,i):yn(t,wn,i,!0)},vr.lowerCase=xc,vr.lowerFirst=Cc,vr.lt=zs,vr.lte=Hs,vr.max=function(t){return t&&t.length?$r(t,Dc,no):e},vr.maxBy=function(t,n){return t&&t.length?$r(t,Fi(n,2),no):e},vr.mean=function(e){return xn(e,Dc)},vr.meanBy=function(e,t){return xn(e,Fi(t,2))},vr.min=function(t){return t&&t.length?$r(t,Dc,go):e},vr.minBy=function(t,n){return t&&t.length?$r(t,Fi(n,2),go):e},vr.stubArray=$c,vr.stubFalse=Wc,vr.stubObject=function(){return{}},vr.stubString=function(){return""},vr.stubTrue=function(){return!0},vr.multiply=Jc,vr.nth=function(t,n){return t&&t.length?wo(t,Ks(n)):e},vr.noConflict=function(){return Ut._===this&&(Ut._=vt),this},vr.noop=Bc,vr.now=ns,vr.pad=function(e,t,n){e=Gs(e);var r=(t=Ks(t))?Vn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return xi($t(o),n)+e+xi(Kt(o),n)},vr.padEnd=function(e,t,n){e=Gs(e);var r=(t=Ks(t))?Vn(e):0;return t&&r<t?e+xi(t-r,n):e},vr.padStart=function(e,t,n){e=Gs(e);var r=(t=Ks(t))?Vn(e):0;return t&&r<t?xi(t-r,n)+e:e},vr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Xn(Gs(e).replace(Me,""),t||0)},vr.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Yi(t,n,r)&&(n=r=e),r===e&&("boolean"==typeof n?(r=n,n=e):"boolean"==typeof t&&(r=t,t=e)),t===e&&n===e?(t=0,n=1):(t=Us(t),n===e?(n=t,t=0):n=Us(n)),t>n){var o=t;t=n,n=o}if(r||t%1||n%1){var i=Jn();return Zn(t+i*(n-t+Nt("1e-"+((i+"").length-1))),n)}return Oo(t,n)},vr.reduce=function(e,t,n){var r=ws(e)?dn:Sn,o=arguments.length<3;return r(e,Fi(t,4),n,o,Vr)},vr.reduceRight=function(e,t,n){var r=ws(e)?pn:Sn,o=arguments.length<3;return r(e,Fi(t,4),n,o,Ur)},vr.repeat=function(t,n,r){return n=(r?Yi(t,n,r):n===e)?1:Ks(n),ko(Gs(t),n)},vr.replace=function(){var e=arguments,t=Gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},vr.result=function(t,n,r){var o=-1,i=(n=Yo(n,t)).length;for(i||(i=1,t=e);++o<i;){var a=null==t?e:t[pa(n[o])];a===e&&(o=i,a=r),t=Es(a)?a.call(t):a}return t},vr.round=Qc,vr.runInContext=Pe,vr.sample=function(e){return(ws(e)?Er:To)(e)},vr.size=function(e){if(null==e)return 0;if(Cs(e))return Ns(e)?Vn(e):e.length;var t=$i(e);return t==W||t==Q?e.size:po(e).length},vr.snakeCase=_c,vr.some=function(t,n,r){var o=ws(t)?hn:Lo;return r&&Yi(t,n,r)&&(n=e),o(t,Fi(n,3))},vr.sortedIndex=function(e,t){return Ro(e,t)},vr.sortedIndexBy=function(e,t,n){return No(e,t,Fi(n,2))},vr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Ro(e,t);if(r<n&&vs(e[r],t))return r}return-1},vr.sortedLastIndex=function(e,t){return Ro(e,t,!0)},vr.sortedLastIndexBy=function(e,t,n){return No(e,t,Fi(n,2),!0)},vr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Ro(e,t,!0)-1;if(vs(e[n],t))return n}return-1},vr.startCase=Sc,vr.startsWith=function(e,t,n){return e=Gs(e),n=null==n?0:Nr(Ks(n),0,e.length),t=zo(t),e.slice(n,n+t.length)==t},vr.subtract=eu,vr.sum=function(e){return e&&e.length?On(e,Dc):0},vr.sumBy=function(e,t){return e&&e.length?On(e,Fi(t,2)):0},vr.template=function(t,n,r){var i=vr.templateSettings;r&&Yi(t,n,r)&&(n=e),t=Gs(t),n=Xs({},n,i,Ai);var a,s,c=Xs({},n.imports,i.imports,Ai),u=sc(c),l=An(c,u),f=0,d=n.interpolate||qe,p="__p += '",h=rt((n.escape||qe).source+"|"+d.source+"|"+(d===Oe?Fe:qe).source+"|"+(n.evaluate||qe).source+"|$","g"),g="//# sourceURL="+(ft.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pt+"]")+"\n";t.replace(h,(function(e,n,r,o,i,c){return r||(r=o),p+=t.slice(f,c).replace(Ge,Ln),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),i&&(s=!0,p+="';\n"+i+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+e.length,e})),p+="';\n";var v=ft.call(n,"variable")&&n.variable;if(v){if(Ne.test(v))throw new Qe(o)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(ve,""):p).replace(ye,"$1").replace(me,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Tc((function(){return et(u,g+"return "+p).apply(e,l)}));if(y.source=p,ks(y))throw y;return y},vr.times=function(e,t){if((e=Ks(e))<1||e>j)return[];var n=D,r=Zn(e,D);t=Fi(t),e-=D;for(var o=kn(r,t);++n<e;)t(n);return o},vr.toFinite=Us,vr.toInteger=Ks,vr.toLength=$s,vr.toLower=function(e){return Gs(e).toLowerCase()},vr.toNumber=Ws,vr.toSafeInteger=function(e){return e?Nr(Ks(e),-j,j):0===e?e:0},vr.toString=Gs,vr.toUpper=function(e){return Gs(e).toUpperCase()},vr.trim=function(t,n,r){if((t=Gs(t))&&(r||n===e))return En(t);if(!t||!(n=zo(n)))return t;var o=Un(t),i=Un(n);return Jo(o,Mn(o,i),Pn(o,i)+1).join("")},vr.trimEnd=function(t,n,r){if((t=Gs(t))&&(r||n===e))return t.slice(0,Kn(t)+1);if(!t||!(n=zo(n)))return t;var o=Un(t);return Jo(o,0,Pn(o,Un(n))+1).join("")},vr.trimStart=function(t,n,r){if((t=Gs(t))&&(r||n===e))return t.replace(Me,"");if(!t||!(n=zo(n)))return t;var o=Un(t);return Jo(o,Mn(o,Un(n))).join("")},vr.truncate=function(t,n){var r=_,o=S;if(js(n)){var i="separator"in n?n.separator:i;r="length"in n?Ks(n.length):r,o="omission"in n?zo(n.omission):o}var a=(t=Gs(t)).length;if(Rn(t)){var s=Un(t);a=s.length}if(r>=a)return t;var c=r-Vn(o);if(c<1)return o;var u=s?Jo(s,0,c).join(""):t.slice(0,c);if(i===e)return u+o;if(s&&(c+=u.length-c),Ls(i)){if(t.slice(c).search(i)){var l,f=u;for(i.global||(i=rt(i.source,Gs(ze.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;u=u.slice(0,d===e?c:d)}}else if(t.indexOf(zo(i),c)!=c){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},vr.unescape=function(e){return(e=Gs(e))&&xe.test(e)?e.replace(be,$n):e},vr.uniqueId=function(e){var t=++dt;return Gs(e)+t},vr.upperCase=Oc,vr.upperFirst=kc,vr.each=Ga,vr.eachRight=Za,vr.first=Ca,Nc(vr,(qc={},Yr(vr,(function(e,t){ft.call(vr.prototype,t)||(qc[t]=e)})),qc),{chain:!1}),vr.VERSION="4.17.21",rn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){vr[e].placeholder=vr})),rn(["drop","take"],(function(t,n){wr.prototype[t]=function(r){r=r===e?1:Gn(Ks(r),0);var o=this.__filtered__&&!n?new wr(this):this.clone();return o.__filtered__?o.__takeCount__=Zn(r,o.__takeCount__):o.__views__.push({size:Zn(r,D),type:t+(o.__dir__<0?"Right":"")}),o},wr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),rn(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==E||3==n;wr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Fi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),rn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");wr.prototype[e]=function(){return this[n](1).value()[0]}})),rn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");wr.prototype[e]=function(){return this.__filtered__?new wr(this):this[n](1)}})),wr.prototype.compact=function(){return this.filter(Dc)},wr.prototype.find=function(e){return this.filter(e).head()},wr.prototype.findLast=function(e){return this.reverse().find(e)},wr.prototype.invokeMap=Eo((function(e,t){return"function"==typeof e?new wr(this):this.map((function(n){return ao(n,e,t)}))})),wr.prototype.reject=function(e){return this.filter(fs(Fi(e)))},wr.prototype.slice=function(t,n){t=Ks(t);var r=this;return r.__filtered__&&(t>0||n<0)?new wr(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),n!==e&&(r=(n=Ks(n))<0?r.dropRight(-n):r.take(n-t)),r)},wr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},wr.prototype.toArray=function(){return this.take(D)},Yr(wr.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),i=vr[o?"take"+("last"==n?"Right":""):n],a=o||/^find/.test(n);i&&(vr.prototype[n]=function(){var n=this.__wrapped__,s=o?[1]:arguments,c=n instanceof wr,u=s[0],l=c||ws(n),f=function(e){var t=i.apply(vr,fn([e],s));return o&&d?t[0]:t};l&&r&&"function"==typeof u&&1!=u.length&&(c=l=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,g=c&&!p;if(!a&&l){n=g?n:new wr(this);var v=t.apply(n,s);return v.__actions__.push({func:Ua,args:[f],thisArg:e}),new br(v,d)}return h&&g?t.apply(this,s):(v=this.thru(f),h?o?v.value()[0]:v.value():v)})})),rn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);vr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(ws(o)?o:[],e)}return this[n]((function(n){return t.apply(ws(n)?n:[],e)}))}})),Yr(wr.prototype,(function(e,t){var n=vr[t];if(n){var r=n.name+"";ft.call(sr,r)||(sr[r]=[]),sr[r].push({name:t,func:n})}})),sr[yi(e,h).name]=[{name:"wrapper",func:e}],wr.prototype.clone=function(){var e=new wr(this.__wrapped__);return e.__actions__=ai(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ai(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ai(this.__views__),e},wr.prototype.reverse=function(){if(this.__filtered__){var e=new wr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},wr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=ws(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Zn(t,e+a);break;case"takeRight":e=Gn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,f=l.length,d=0,p=Zn(c,this.__takeCount__);if(!n||!r&&o==c&&p==c)return $o(e,this.__actions__);var h=[];e:for(;c--&&d<p;){for(var g=-1,v=e[u+=t];++g<f;){var y=l[g],m=y.iteratee,b=y.type,w=m(v);if(b==T)v=w;else if(!w){if(b==E)continue e;break e}}h[d++]=v}return h},vr.prototype.at=Ka,vr.prototype.chain=function(){return Va(this)},vr.prototype.commit=function(){return new br(this.value(),this.__chain__)},vr.prototype.next=function(){this.__values__===e&&(this.__values__=Vs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},vr.prototype.plant=function(t){for(var n,r=this;r instanceof mr;){var o=ga(r);o.__index__=0,o.__values__=e,n?i.__wrapped__=o:n=o;var i=o;r=r.__wrapped__}return i.__wrapped__=t,n},vr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof wr){var n=t;return this.__actions__.length&&(n=new wr(this)),(n=n.reverse()).__actions__.push({func:Ua,args:[ja],thisArg:e}),new br(n,this.__chain__)}return this.thru(ja)},vr.prototype.toJSON=vr.prototype.valueOf=vr.prototype.value=function(){return $o(this.__wrapped__,this.__actions__)},vr.prototype.first=vr.prototype.head,Lt&&(vr.prototype[Lt]=function(){return this}),vr}();$t?(($t.exports=Wn)._=Wn,Kt._=Wn):Ut._=Wn}.call(Lt);var Ht=Rt(zt.exports);const Vt=({options:e,select:t,close:n,open:r,searchText:o,isOpen:i,isFocused:a})=>{const[s,c]=y(-1),[u,l]=y(""),f=g(null),d="string"==typeof o,p=()=>{c(-1),l("")},h=()=>{p(),n()};v((()=>{!1===i&&p()}),[i]),v((()=>{const{current:e}=f;if(e){const{childNodes:t}=e,n=null==t?void 0:t[s];if(n){const{offsetTop:t,offsetHeight:r}=n,{scrollTop:o,offsetHeight:i}=e,a=o+i-r,s=t+r-i;t<o?e.scrollTo(0,t):t>a&&e.scrollTo(0,s)}}}),[s]);const m=Ht.debounce((()=>l("")),1e3);v((()=>{if(u||d){const n=d?o:u,r=e.findIndex((e=>{const t=n.toLowerCase(),r=e.label.toLowerCase().startsWith(t);return""!==o&&r}));i?c(r):i||d||t(e[r]),d||m()}}),[u,o]);return Mt(document,"keydown",(f=>{const{key:p,altKey:g,ctrlKey:v,metaKey:y}=f;if(!(g||v||y)&&p)switch(p){case"ArrowDown":if(f.preventDefault(),!i){r();break}c((t=>{const n=t+1;return n>=e.length?0:n}));break;case"ArrowUp":if(f.preventDefault(),!i){r();break}c((t=>{const n=t-1,r=n<0,o=e.length-1;return r?o:n}));break;case"Tab":case"Enter":if(i){d&&(d&&"Tab"===p)||f.preventDefault();const r=e[s];r?r.onClick?(r.onClick(),n()):t(r,f):d?t(o,f):h()}break;case" ":a&&(d||f.preventDefault(),i?h():r());break;case"Escape":i&&(f.preventDefault(),h());break;default:1===p.length&&p.match(/[a-z0-9]/i)&&!d&&(f.preventDefault(),l(u+p));break}}),i||a,[s,u,i,o]),[s,f]};var Ut,Kt=[],$t="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ut||(Ut={}));var Wt,qt=function(e){return Object.freeze(e)},Gt=function(e,t){this.inlineSize=e,this.blockSize=t,qt(this)},Zt=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,qt(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Yt=function(e){return e instanceof SVGElement&&"getBBox"in e},Xt=function(e){if(Yt(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},Jt=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Qt="undefined"!=typeof window?window:{},en=new WeakMap,tn=/auto|scroll/,nn=/^tb|vertical/,rn=/msie|trident/i.test(Qt.navigator&&Qt.navigator.userAgent),on=function(e){return parseFloat(e||"0")},an=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Gt((n?t:e)||0,(n?e:t)||0)},sn=qt({devicePixelContentBoxSize:an(),borderBoxSize:an(),contentBoxSize:an(),contentRect:new Zt(0,0,0,0)}),cn=function(e,t){if(void 0===t&&(t=!1),en.has(e)&&!t)return en.get(e);if(Xt(e))return en.set(e,sn),sn;var n=getComputedStyle(e),r=Yt(e)&&e.ownerSVGElement&&e.getBBox(),o=!rn&&"border-box"===n.boxSizing,i=nn.test(n.writingMode||""),a=!r&&tn.test(n.overflowY||""),s=!r&&tn.test(n.overflowX||""),c=r?0:on(n.paddingTop),u=r?0:on(n.paddingRight),l=r?0:on(n.paddingBottom),f=r?0:on(n.paddingLeft),d=r?0:on(n.borderTopWidth),p=r?0:on(n.borderRightWidth),h=r?0:on(n.borderBottomWidth),g=f+u,v=c+l,y=(r?0:on(n.borderLeftWidth))+p,m=d+h,b=s?e.offsetHeight-m-e.clientHeight:0,w=a?e.offsetWidth-y-e.clientWidth:0,x=o?g+y:0,C=o?v+m:0,_=r?r.width:on(n.width)-x-w,S=r?r.height:on(n.height)-C-b,O=_+g+w+y,k=S+v+b+m,E=qt({devicePixelContentBoxSize:an(Math.round(_*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:an(O,k,i),contentBoxSize:an(_,S,i),contentRect:new Zt(f,c,_,S)});return en.set(e,E),E},un=function(e,t,n){var r=cn(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Ut.DEVICE_PIXEL_CONTENT_BOX:return a;case Ut.BORDER_BOX:return o;default:return i}},ln=function(e){var t=cn(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=qt([t.borderBoxSize]),this.contentBoxSize=qt([t.contentBoxSize]),this.devicePixelContentBoxSize=qt([t.devicePixelContentBoxSize])},fn=function(e){if(Xt(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},dn=function(){var e=1/0,t=[];Kt.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new ln(t.target),o=fn(t.target);r.push(n),t.lastReportedSize=un(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},pn=function(e){Kt.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(fn(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},hn=function(){var e,t=0;for(pn(t);Kt.some((function(e){return e.activeTargets.length>0}));)t=dn(),pn(t);return Kt.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:$t}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=$t),window.dispatchEvent(e)),t>0},gn=[],vn=function(e){if(!Wt){var t=0,n=document.createTextNode("");new MutationObserver((function(){return gn.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Wt=function(){n.textContent="".concat(t?t--:t++)}}gn.push(e),Wt()},yn=0,mn={attributes:!0,characterData:!0,childList:!0,subtree:!0},bn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],wn=function(e){return void 0===e&&(e=0),Date.now()+e},xn=!1,Cn=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!xn){xn=!0;var n,r=wn(e);n=function(){var n=!1;try{n=hn()}finally{if(xn=!1,e=r-wn(),!yn)return;n?t.run(1e3):e>0?t.run(e):t.start()}},vn((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,mn)};document.body?t():Qt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),bn.forEach((function(t){return Qt.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),bn.forEach((function(t){return Qt.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),_n=new Cn,Sn=function(e){!yn&&e>0&&_n.start(),!(yn+=e)&&_n.stop()},On=function(){function e(e,t){this.target=e,this.observedBox=t||Ut.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=un(this.target,this.observedBox,!0);return e=this.target,Yt(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),kn=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},En=new WeakMap,Tn=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},An=function(){function e(){}return e.connect=function(e,t){var n=new kn(e,t);En.set(e,n)},e.observe=function(e,t,n){var r=En.get(e),o=0===r.observationTargets.length;Tn(r.observationTargets,t)<0&&(o&&Kt.push(r),r.observationTargets.push(new On(t,n&&n.box)),Sn(1),_n.schedule())},e.unobserve=function(e,t){var n=En.get(e),r=Tn(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&Kt.splice(Kt.indexOf(n),1),n.observationTargets.splice(r,1),Sn(-1))},e.disconnect=function(e){var t=this,n=En.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),jn=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");An.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Jt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");An.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Jt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");An.unobserve(this,e)},e.prototype.disconnect=function(){An.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Mn=o["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"],Pn=e=>{var t=g(e);return v((()=>{t.current=e})),t};function Dn(){}var In,Ln="undefined"!=typeof window&&"ResizeObserver"in window?window.ResizeObserver:jn;const Rn=(e,t)=>{!function(e,t){var n,r,o,i,a=In||(n=0,r=[],o=new Map,i=new Ln(((e,t)=>{r=r.concat(e),n||window.requestAnimationFrame((function(){for(var e=new Set,i=function(n){if(e.has(r[n].target))return"continue";e.add(r[n].target);var i=o.get(r[n].target);null==i||i.forEach((e=>e(r[n],t)))},a=0;a<r.length;a++)i(a);r=[],n=0})),n=1})),In={observer:i,subscribe(e,t){var n;i.observe(e);var r=null!==(n=o.get(e))&&void 0!==n?n:[];r.push(t),o.set(e,r)},unsubscribe(e,t){var n,r=null!==(n=o.get(e))&&void 0!==n?n:[];if(1===r.length)return i.unobserve(e),void o.delete(e);var a=r.indexOf(t);-1!==a&&r.splice(a,1),o.set(e,r)}}),s=Pn(t);Mn((()=>{function t(e,t){n||s.current(e,t)}var n=0,r=e&&"current"in e?e.current:e;return r?(a.subscribe(r,t),()=>{n=1,a.unsubscribe(r,t)}):Dn}),[e,a,s]),a.observer}(e,(e=>t(e.target)))},Nn=({width:e,height:t})=>({width:e,height:t}),Bn=({padding:e,paddingTop:t,paddingBottom:n,paddingRight:r,paddingLeft:o})=>({padding:e,paddingTop:t,paddingBottom:n,paddingRight:r,paddingLeft:o}),Fn=({margin:e,marginTop:t,marginBottom:n,marginRight:r,marginLeft:o})=>({margin:e,marginTop:t,marginBottom:n,marginRight:r,marginLeft:o}),zn=({position:e,top:t,bottom:n,right:r,left:o})=>({position:e,top:t,bottom:n,right:r,left:o});const Hn={"activity-history":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.85714 5H12.1429C13.1643 5 14 5.83571 14 6.85714V16.1429C14 17.1643 13.1643 18 12.1429 18H2.85714C1.83571 18 1 17.1643 1 16.1429V6.85714C1 5.83571 1.83571 5 2.85714 5ZM10.0536 10.1071C10.0536 8.69571 8.91143 7.55357 7.5 7.55357C6.08857 7.55357 4.94643 8.69571 4.94643 10.1071C4.94643 11.5186 6.08857 12.6607 7.5 12.6607C8.91143 12.6607 10.0536 11.5186 10.0536 10.1071ZM2.85714 15.7714V16.1429H12.1429V15.7714C12.1429 15.0286 11.7157 14.3507 11.0379 14.0629C9.95143 13.6079 8.75357 13.3571 7.5 13.3571C6.24643 13.3571 5.04857 13.6079 3.96214 14.0721C3.28429 14.3507 2.85714 15.0379 2.85714 15.7714ZM17.5 5C16.6716 5 16 5.67157 16 6.5C16 7.32843 16.6716 8 17.5 8H21.5C22.3284 8 23 7.32843 23 6.5C23 5.67157 22.3284 5 21.5 5H17.5ZM16 11.5C16 10.6716 16.6716 10 17.5 10H21.5C22.3284 10 23 10.6716 23 11.5C23 12.3284 22.3284 13 21.5 13H17.5C16.6716 13 16 12.3284 16 11.5ZM17.5 15C16.6716 15 16 15.6716 16 16.5C16 17.3284 16.6716 18 17.5 18H21.5C22.3284 18 23 17.3284 23 16.5C23 15.6716 22.3284 15 21.5 15H17.5Z",fill:"currentColor"})}))},add:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18 13H13V18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18V13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H11V6C11 5.45 11.45 5 12 5C12.55 5 13 5.45 13 6V11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z",fill:"currentColor"})}))},"add-circle":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM16 13H13V16C13 16.55 12.55 17 12 17C11.45 17 11 16.55 11 16V13H8C7.45 13 7 12.55 7 12C7 11.45 7.45 11 8 11H11V8C11 7.45 11.45 7 12 7C12.55 7 13 7.45 13 8V11H16C16.55 11 17 11.45 17 12C17 12.55 16.55 13 16 13Z",fill:"currentColor"})}))},"add-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 7C11.45 7 11 7.45 11 8V11H8C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13H11V16C11 16.55 11.45 17 12 17C12.55 17 13 16.55 13 16V13H16C16.55 13 17 12.55 17 12C17 11.45 16.55 11 16 11H13V8C13 7.45 12.55 7 12 7ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}))},"add-person":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M9 12C11.2091 12 13 10.2091 13 8C13 5.79086 11.2091 4 9 4C6.79086 4 5 5.79086 5 8C5 10.2091 6.79086 12 9 12Z",fill:"currentColor"}),e("path",{d:"M9 14C6.33 14 1 15.34 1 18V19C1 19.55 1.45 20 2 20H16C16.55 20 17 19.55 17 19V18C17 15.34 11.67 14 9 14Z",fill:"currentColor"}),e("path",{d:"M20 10V7H18V10H15V12H18V15H20V12H23V10H20Z",fill:"currentColor"})]}))},"arrow-down":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11 5V16.17L6.12 11.29C5.73 10.9 5.09 10.9 4.7 11.29C4.31 11.68 4.31 12.31 4.7 12.7L11.29 19.29C11.68 19.68 12.31 19.68 12.7 19.29L19.29 12.7C19.68 12.31 19.68 11.68 19.29 11.29C18.9 10.9 18.27 10.9 17.88 11.29L13 16.17V5C13 4.45 12.55 4 12 4C11.45 4 11 4.45 11 5Z",fill:"currentColor"})}))},"arrow-left":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 11H7.83L12.71 6.12C13.1 5.73 13.1 5.09 12.71 4.7C12.32 4.31 11.69 4.31 11.3 4.7L4.71 11.29C4.32 11.68 4.32 12.31 4.71 12.7L11.3 19.29C11.69 19.68 12.32 19.68 12.71 19.29C13.1 18.9 13.1 18.27 12.71 17.88L7.83 13H19C19.55 13 20 12.55 20 12C20 11.45 19.55 11 19 11Z",fill:"currentColor"})}))},"arrow-right":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M5 13H16.17L11.29 17.88C10.9 18.27 10.9 18.91 11.29 19.3C11.68 19.69 12.31 19.69 12.7 19.3L19.29 12.71C19.68 12.32 19.68 11.69 19.29 11.3L12.71 4.7C12.32 4.31 11.69 4.31 11.3 4.7C10.91 5.09 10.91 5.72 11.3 6.11L16.17 11H5C4.45 11 4 11.45 4 12C4 12.55 4.45 13 5 13Z",fill:"currentColor"})}))},"arrow-up":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13 19V7.83L17.88 12.71C18.27 13.1 18.91 13.1 19.3 12.71C19.69 12.32 19.69 11.69 19.3 11.3L12.71 4.71C12.32 4.32 11.69 4.32 11.3 4.71L4.7 11.29C4.31 11.68 4.31 12.31 4.7 12.7C5.09 13.09 5.72 13.09 6.11 12.7L11 7.83V19C11 19.55 11.45 20 12 20C12.55 20 13 19.55 13 19Z",fill:"currentColor"})}))},attachment:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M16.5 6.75V17.33C16.5 19.42 14.97 21.28 12.89 21.48C10.5 21.71 8.5 19.84 8.5 17.5V5.14C8.5 3.83 9.44 2.64 10.74 2.51C12.24 2.36 13.5 3.53 13.5 5V15.5C13.5 16.05 13.05 16.5 12.5 16.5C11.95 16.5 11.5 16.05 11.5 15.5V6.75C11.5 6.34 11.16 6 10.75 6C10.34 6 10 6.34 10 6.75V15.36C10 16.67 10.94 17.86 12.24 17.99C13.74 18.14 15 16.97 15 15.5V5.17C15 3.08 13.47 1.22 11.39 1.02C9.01 0.790001 7 2.66 7 5V17.27C7 20.14 9.1 22.71 11.96 22.98C15.25 23.28 18 20.72 18 17.5V6.75C18 6.34 17.66 6 17.25 6C16.84 6 16.5 6.34 16.5 6.75Z",fill:"currentColor"})}))},calendar:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M16 13H13C12.45 13 12 13.45 12 14V17C12 17.55 12.45 18 13 18H16C16.55 18 17 17.55 17 17V14C17 13.45 16.55 13 16 13ZM16 3V4H8V3C8 2.45 7.55 2 7 2C6.45 2 6 2.45 6 3V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4H18V3C18 2.45 17.55 2 17 2C16.45 2 16 2.45 16 3ZM18 20H6C5.45 20 5 19.55 5 19V9H19V19C19 19.55 18.55 20 18 20Z",fill:"currentColor"})}))},camera:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.83 5H20C21.1 5 22 5.9 22 7V19C22 20.1 21.1 21 20 21H4C2.9 21 2 20.1 2 19V7C2 5.9 2.9 5 4 5H7.17L8.4 3.65C8.78 3.24 9.32 3 9.88 3H14.12C14.68 3 15.22 3.24 15.59 3.65L16.83 5ZM7 13C7 15.76 9.24 18 12 18C14.76 18 17 15.76 17 13C17 10.24 14.76 8 12 8C9.24 8 7 10.24 7 13ZM15 13C15 14.6569 13.6569 16 12 16C10.3431 16 9 14.6569 9 13C9 11.3431 10.3431 10 12 10C13.6569 10 15 11.3431 15 13Z",fill:"currentColor"})}))},card:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M20 4H4C2.89 4 2 4.89 2 6V17C2 18.11 2.89 19 4 19H8H9H12H15H16H20C21.11 19 22 18.11 22 17V6C22 4.89 21.11 4 20 4ZM20 17H4V15H20V17ZM20 12H4V7C4 6.45 4.45 6 5 6H19C19.55 6 20 6.45 20 7V12Z",fill:"currentColor"})}))},"caret-down":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8.71001 11.71L11.3 14.3C11.69 14.69 12.32 14.69 12.71 14.3L15.3 11.71C15.93 11.08 15.48 10 14.59 10H9.41001C8.52001 10 8.08001 11.08 8.71001 11.71Z",fill:"currentColor"})}))},"caret-up":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8.70999 12.29L11.3 9.7C11.69 9.31 12.32 9.31 12.71 9.7L15.3 12.29C15.93 12.92 15.48 14 14.59 14H9.40999C8.51999 14 8.07999 12.92 8.70999 12.29Z",fill:"currentColor"})}))},check:t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M9 16.2L5.5 12.7C5.11 12.31 4.49 12.31 4.1 12.7C3.71 13.09 3.71 13.71 4.1 14.1L8.29 18.29C8.68 18.68 9.31 18.68 9.7 18.29L20.3 7.70001C20.69 7.31001 20.69 6.69001 20.3 6.30001C19.91 5.91001 19.29 5.91001 18.9 6.30001L9 16.2Z",fill:"currentColor"})})),"check-circle":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM9.29 16.29L5.7 12.7C5.31 12.31 5.31 11.68 5.7 11.29C6.09 10.9 6.72 10.9 7.11 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.7 16.29C10.32 16.68 9.68 16.68 9.29 16.29Z",fill:"currentColor"})}))},"check-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM15.54 8.82L10.59 13.77L8.47 11.65C8.08 11.26 7.45 11.26 7.06 11.65C6.67 12.04 6.67 12.67 7.06 13.06L9.89 15.89C10.28 16.28 10.91 16.28 11.3 15.89L16.96 10.23C17.35 9.84 17.35 9.21 16.96 8.82C16.56 8.43 15.93 8.43 15.54 8.82Z",fill:"currentColor"})}))},checkbox:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM10.71 16.29C10.32 16.68 9.69 16.68 9.3 16.29L5.71 12.7C5.32 12.31 5.32 11.68 5.71 11.29C6.1 10.9 6.73 10.9 7.12 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.71 16.29Z",fill:"currentColor"})}))},"checkbox-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z",fill:"currentColor"})}))},"checkbox-partial":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM16 13H8C7.45 13 7 12.55 7 12C7 11.45 7.45 11 8 11H16C16.55 11 17 11.45 17 12C17 12.55 16.55 13 16 13Z",fill:"currentColor"})}))},"chevron-down":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15.88 9.29L12 13.17L8.12 9.29C7.73 8.9 7.1 8.9 6.71 9.29C6.32 9.68 6.32 10.31 6.71 10.7L11.3 15.29C11.69 15.68 12.32 15.68 12.71 15.29L17.3 10.7C17.69 10.31 17.69 9.68 17.3 9.29C16.91 8.91 16.27 8.9 15.88 9.29Z",fill:"currentColor"})}))},"chevron-left":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.71 6.71C14.32 6.32 13.69 6.32 13.3 6.71L8.71 11.3C8.32 11.69 8.32 12.32 8.71 12.71L13.3 17.3C13.69 17.69 14.32 17.69 14.71 17.3C15.1 16.91 15.1 16.28 14.71 15.89L10.83 12L14.71 8.12C15.1 7.73 15.09 7.09 14.71 6.71Z",fill:"currentColor"})}))},"chevron-right":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M9.29 6.71C8.9 7.1 8.9 7.73 9.29 8.12L13.17 12L9.29 15.88C8.9 16.27 8.9 16.9 9.29 17.29C9.68 17.68 10.31 17.68 10.7 17.29L15.29 12.7C15.68 12.31 15.68 11.68 15.29 11.29L10.7 6.7C10.32 6.32 9.68 6.32 9.29 6.71Z",fill:"currentColor"})}))},"chevron-up":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.29 8.71L6.7 13.3C6.31 13.69 6.31 14.32 6.7 14.71C7.09 15.1 7.72 15.1 8.11 14.71L12 10.83L15.88 14.71C16.27 15.1 16.9 15.1 17.29 14.71C17.68 14.32 17.68 13.69 17.29 13.3L12.7 8.71C12.32 8.32 11.68 8.32 11.29 8.71Z",fill:"currentColor"})}))},clapperboard:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M2.01 6C2.01 4.9 2.90045 4 4.001 4V18H20.009V4H22V18C22 19.1 21.1096 20 20.009 20H4.001C2.90045 20 2 19.1 2 18L2.01 6Z",fill:"currentColor"}),e("path",{d:"M20 8L18 4H21.99L22 10H20H5.76L4 6.47V4H5L7 8H10L8 4L10 4L12 8H15L13 4H15L17 8H20Z",fill:"currentColor"})]}))},"clapperboard-open":function(n){return t("svg",Object.assign({viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M9.05353 18.0588L9.994 16.1276L10.9345 18.0588L12.9955 18.9401L10.9345 19.8213L9.994 21.7526L9.05353 19.8213L6.9925 18.9401L9.05353 18.0588Z",fill:"currentColor"}),e("path",{d:"M2.01 11.4401C2.01 10.4088 2.90045 9.56506 4.001 9.56506V22.6901H20.009V9.56506H22V22.6901C22 23.7213 21.1096 24.5651 20.009 24.5651H4.001C2.90045 24.5651 2 23.7213 2 22.6901L2.01 11.4401Z",fill:"currentColor"}),e("path",{d:"M15.3667 16.4744L15.997 15.1901L16.6273 16.4744L17.998 17.0651L16.6273 17.6557L15.997 18.9401L15.3667 17.6557L13.996 17.0651L15.3667 16.4744Z",fill:"currentColor"}),e("path",{d:"M18.7746 5.08006L15.0435 2.61664L17 1.56506L21.1788 4.22431C21.7952 4.61654 21.7966 5.5158 21.1815 5.90995L19.7743 6.81163L7.4455 13.9297L4.1572 11.7532L2.99982 11.5656L4 9.56506L7.51935 11.5783L10.1167 10.0787L6.38569 7.61526L8.11726 6.61554L11.8483 9.07896L14.4456 7.57938L10.7146 5.11595L12.4462 4.11623L16.1772 6.57965L18.7746 5.08006Z",fill:"currentColor"})]}))},close:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18.3 5.71C17.91 5.32 17.28 5.32 16.89 5.71L12 10.59L7.11 5.7C6.72 5.31 6.09 5.31 5.7 5.7C5.31 6.09 5.31 6.72 5.7 7.11L10.59 12L5.7 16.89C5.31 17.28 5.31 17.91 5.7 18.3C6.09 18.69 6.72 18.69 7.11 18.3L12 13.41L16.89 18.3C17.28 18.69 17.91 18.69 18.3 18.3C18.69 17.91 18.69 17.28 18.3 16.89L13.41 12L18.3 7.11C18.68 6.73 18.68 6.09 18.3 5.71Z",fill:"currentColor"})}))},"close-circle":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM16.3 16.3C15.91 16.69 15.28 16.69 14.89 16.3L12 13.41L9.11 16.3C8.72 16.69 8.09 16.69 7.7 16.3C7.31 15.91 7.31 15.28 7.7 14.89L10.59 12L7.7 9.11C7.31 8.72 7.31 8.09 7.7 7.7C8.09 7.31 8.72 7.31 9.11 7.7L12 10.59L14.89 7.7C15.28 7.31 15.91 7.31 16.3 7.7C16.69 8.09 16.69 8.72 16.3 9.11L13.41 12L16.3 14.89C16.68 15.27 16.68 15.91 16.3 16.3Z",fill:"currentColor"})}))},"close-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13.89 8.7L12 10.59L10.11 8.7C9.72 8.31 9.09 8.31 8.7 8.7C8.31 9.09 8.31 9.72 8.7 10.11L10.59 12L8.7 13.89C8.31 14.28 8.31 14.91 8.7 15.3C9.09 15.69 9.72 15.69 10.11 15.3L12 13.41L13.89 15.3C14.28 15.69 14.91 15.69 15.3 15.3C15.69 14.91 15.69 14.28 15.3 13.89L13.41 12L15.3 10.11C15.69 9.72 15.69 9.09 15.3 8.7C14.91 8.32 14.27 8.32 13.89 8.7ZM12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}))},copy:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15 20H5V7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7V20C3 21.1 3.9 22 5 22H15C15.55 22 16 21.55 16 21C16 20.45 15.55 20 15 20ZM20 16V4C20 2.9 19.1 2 18 2H9C7.9 2 7 2.9 7 4V16C7 17.1 7.9 18 9 18H18C19.1 18 20 17.1 20 16ZM18 16H9V4H18V16Z",fill:"currentColor"})}))},devices:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4 7C4 6.45 4.45 6 5 6H21C21.55 6 22 5.55 22 5C22 4.45 21.55 4 21 4H4C2.9 4 2 4.9 2 6V17H1.5C0.67 17 0 17.67 0 18.5C0 19.33 0.67 20 1.5 20H14V17H4V7ZM23 8H17C16.45 8 16 8.45 16 9V19C16 19.55 16.45 20 17 20H23C23.55 20 24 19.55 24 19V9C24 8.45 23.55 8 23 8ZM22 17H18V10H22V17Z",fill:"currentColor"})}))},dialpad:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 19C10.9 19 10 19.9 10 21C10 22.1 10.9 23 12 23C13.1 23 14 22.1 14 21C14 19.9 13.1 19 12 19ZM6 1C4.9 1 4 1.9 4 3C4 4.1 4.9 5 6 5C7.1 5 8 4.1 8 3C8 1.9 7.1 1 6 1ZM6 7C4.9 7 4 7.9 4 9C4 10.1 4.9 11 6 11C7.1 11 8 10.1 8 9C8 7.9 7.1 7 6 7ZM6 13C4.9 13 4 13.9 4 15C4 16.1 4.9 17 6 17C7.1 17 8 16.1 8 15C8 13.9 7.1 13 6 13ZM18 5C19.1 5 20 4.1 20 3C20 1.9 19.1 1 18 1C16.9 1 16 1.9 16 3C16 4.1 16.9 5 18 5ZM12 13C10.9 13 10 13.9 10 15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15C14 13.9 13.1 13 12 13ZM18 13C16.9 13 16 13.9 16 15C16 16.1 16.9 17 18 17C19.1 17 20 16.1 20 15C20 13.9 19.1 13 18 13ZM18 7C16.9 7 16 7.9 16 9C16 10.1 16.9 11 18 11C19.1 11 20 10.1 20 9C20 7.9 19.1 7 18 7ZM12 7C10.9 7 10 7.9 10 9C10 10.1 10.9 11 12 11C13.1 11 14 10.1 14 9C14 7.9 13.1 7 12 7ZM12 1C10.9 1 10 1.9 10 3C10 4.1 10.9 5 12 5C13.1 5 14 4.1 14 3C14 1.9 13.1 1 12 1Z",fill:"currentColor"})}))},"double-arrow-left":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M17.8675 6.71C18.2575 7.1 18.2575 7.73 17.8675 8.12L13.9875 12L17.8675 15.88C18.2575 16.27 18.2575 16.9 17.8675 17.29C17.4775 17.68 16.8475 17.68 16.4575 17.29L11.8675 12.7C11.4775 12.31 11.4775 11.68 11.8675 11.29L16.4575 6.7C16.8375 6.32 17.4775 6.32 17.8675 6.71Z",fill:"currentColor"}),e("path",{d:"M12.2973 6.71C12.6876 7.1 12.6876 7.73 12.2973 8.12L8.41433 12L12.2973 15.88C12.6876 16.27 12.6876 16.9 12.2973 17.29C11.907 17.68 11.2765 17.68 10.8862 17.29L6.29272 12.7C5.90243 12.31 5.90243 11.68 6.29272 11.29L10.8862 6.7C11.2665 6.32 11.907 6.32 12.2973 6.71Z",fill:"currentColor"})]}))},"double-arrow-right":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M6.2925 6.71C5.9025 7.1 5.9025 7.73 6.2925 8.12L10.1725 12L6.2925 15.88C5.9025 16.27 5.9025 16.9 6.2925 17.29C6.6825 17.68 7.3125 17.68 7.7025 17.29L12.2925 12.7C12.6825 12.31 12.6825 11.68 12.2925 11.29L7.7025 6.7C7.3225 6.32 6.6825 6.32 6.2925 6.71Z",fill:"currentColor"}),e("path",{d:"M11.8627 6.71C11.4724 7.1 11.4724 7.73 11.8627 8.12L15.7457 12L11.8627 15.88C11.4724 16.27 11.4724 16.9 11.8627 17.29C12.253 17.68 12.8835 17.68 13.2738 17.29L17.8673 12.7C18.2576 12.31 18.2576 11.68 17.8673 11.29L13.2738 6.7C12.8935 6.32 12.253 6.32 11.8627 6.71Z",fill:"currentColor"})]}))},download:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M16.59 9H15V4C15 3.45 14.55 3 14 3H10C9.45 3 9 3.45 9 4V9H7.41C6.52 9 6.07 10.08 6.7 10.71L11.29 15.3C11.68 15.69 12.31 15.69 12.7 15.3L17.29 10.71C17.92 10.08 17.48 9 16.59 9ZM5 19C5 19.55 5.45 20 6 20H18C18.55 20 19 19.55 19 19C19 18.45 18.55 18 18 18H6C5.45 18 5 18.45 5 19Z",fill:"currentColor"})}))},edit:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M3 17.46V20.5C3 20.78 3.22 21 3.5 21H6.54C6.67 21 6.8 20.95 6.89 20.85L17.81 9.94L14.06 6.19L3.15 17.1C3.05 17.2 3 17.32 3 17.46ZM20.71 7.04C21.1 6.65 21.1 6.02 20.71 5.63L18.37 3.29C17.98 2.9 17.35 2.9 16.96 3.29L15.13 5.12L18.88 8.87L20.71 7.04Z",fill:"currentColor"})}))},emoji:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM8.5 8C9.33 8 10 8.67 10 9.5C10 10.33 9.33 11 8.5 11C7.67 11 7 10.33 7 9.5C7 8.67 7.67 8 8.5 8ZM16.71 14.72C15.8 16.67 14.04 18 12 18C9.96 18 8.2 16.67 7.29 14.72C7.13 14.39 7.37 14 7.74 14H16.26C16.63 14 16.87 14.39 16.71 14.72ZM15.5 11C14.67 11 14 10.33 14 9.5C14 8.67 14.67 8 15.5 8C16.33 8 17 8.67 17 9.5C17 10.33 16.33 11 15.5 11Z",fill:"currentColor"})}))},"eye-off":function(n){return t("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},n,{children:[e("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),e("path",{d:"M12 6.5c2.76 0 5 2.24 5 5 0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24zM2.71 3.16c-.39.39-.39 1.02 0 1.41l1.97 1.97C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0zM12 16.5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5zm2.97-5.33c-.15-1.4-1.25-2.49-2.64-2.64l2.64 2.64z"})]}))},"eye-on":function(n){return t("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},n,{children:[e("path",{d:"M0 0h24v24H0V0z",fill:"none"}),e("path",{d:"M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})]}))},facebook:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17 5.625 21.125 10.375 21.875V14.875H7.875V12H10.375V9.75C10.375 7.25 11.875 5.875 14.125 5.875C15.25 5.875 16.375 6.125 16.375 6.125V8.625H15.125C13.875 8.625 13.5 9.375 13.5 10.125V12H16.25L15.75 14.875H13.375V22C18.375 21.25 22 17 22 12Z",fill:"currentColor"})}))},filter:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11 18H13C13.55 18 14 17.55 14 17C14 16.45 13.55 16 13 16H11C10.45 16 10 16.45 10 17C10 17.55 10.45 18 11 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM7 13H17C17.55 13 18 12.55 18 12C18 11.45 17.55 11 17 11H7C6.45 11 6 11.45 6 12C6 12.55 6.45 13 7 13Z",fill:"currentColor"})}))},flask:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13 11.33L18 18H6L11 11.33V6H13V11.33ZM15.96 4H8.04C7.62 4 7.39 4.48 7.65 4.81L9 6.5V10.67L3.2 18.4C2.71 19.06 3.18 20 4 20H20C20.82 20 21.29 19.06 20.8 18.4L15 10.67V6.5L16.35 4.81C16.61 4.48 16.38 4 15.96 4Z",fill:"currentColor"})}))},group:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4 13C5.1 13 6 12.1 6 11C6 9.9 5.1 9 4 9C2.9 9 2 9.9 2 11C2 12.1 2.9 13 4 13ZM5.13 14.1C4.76 14.04 4.39 14 4 14C3.01 14 2.07 14.21 1.22 14.58C0.48 14.9 0 15.62 0 16.43V18H4.5V16.39C4.5 15.56 4.73 14.78 5.13 14.1ZM20 13C21.1 13 22 12.1 22 11C22 9.9 21.1 9 20 9C18.9 9 18 9.9 18 11C18 12.1 18.9 13 20 13ZM24 16.43C24 15.62 23.52 14.9 22.78 14.58C21.93 14.21 20.99 14 20 14C19.61 14 19.24 14.04 18.87 14.1C19.27 14.78 19.5 15.56 19.5 16.39V18H24V16.43ZM16.24 13.65C15.07 13.13 13.63 12.75 12 12.75C10.37 12.75 8.93 13.14 7.76 13.65C6.68 14.13 6 15.21 6 16.39V18H18V16.39C18 15.21 17.32 14.13 16.24 13.65ZM8.07 16C8.16 15.77 8.2 15.61 8.98 15.31C9.95 14.93 10.97 14.75 12 14.75C13.03 14.75 14.05 14.93 15.02 15.31C15.79 15.61 15.83 15.77 15.93 16H8.07ZM12 8C12.55 8 13 8.45 13 9C13 9.55 12.55 10 12 10C11.45 10 11 9.55 11 9C11 8.45 11.45 8 12 8ZM12 6C10.34 6 9 7.34 9 9C9 10.66 10.34 12 12 12C13.66 12 15 10.66 15 9C15 7.34 13.66 6 12 6Z",fill:"currentColor"})}))},heart:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13.35 20.13C12.59 20.82 11.42 20.82 10.66 20.12L10.55 20.02C5.3 15.27 1.87 12.16 2 8.28C2.06 6.58 2.93 4.95 4.34 3.99C6.98 2.19 10.24 3.03 12 5.09C13.76 3.03 17.02 2.18 19.66 3.99C21.07 4.95 21.94 6.58 22 8.28C22.14 12.16 18.7 15.27 13.45 20.04L13.35 20.13Z",fill:"currentColor"})}))},"heart-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.66 3.99C17.02 2.19 13.76 3.03 12 5.09C10.24 3.03 6.98 2.18 4.34 3.99C2.94 4.95 2.06 6.57 2 8.28C1.86 12.16 5.3 15.27 10.55 20.04L10.65 20.13C11.41 20.82 12.58 20.82 13.34 20.12L13.45 20.02C18.7 15.26 22.13 12.15 22 8.27C21.94 6.57 21.06 4.95 19.66 3.99ZM12.1 18.55L12 18.65L11.9 18.55C7.14 14.24 4 11.39 4 8.5C4 6.5 5.5 5 7.5 5C9.04 5 10.54 5.99 11.07 7.36H12.94C13.46 5.99 14.96 5 16.5 5C18.5 5 20 6.5 20 8.5C20 11.39 16.86 14.24 12.1 18.55Z",fill:"currentColor"})}))},help:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z",fill:"currentColor"})}))},hourglass:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M6 2L6.01 8L10 12L6.01 16.01L6 22H18V16L14 12L18 8.01V2H6ZM16 16.5V20H8V16.5L12 12.5L16 16.5Z",fill:"currentColor"})}))},info:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11 7.5C11 7.22386 11.2239 7 11.5 7H12.5C12.7761 7 13 7.22386 13 7.5V8.5C13 8.77614 12.7761 9 12.5 9H11.5C11.2239 9 11 8.77614 11 8.5V7.5ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V12ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}))},instagram:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M12 3.80723C14.6506 3.80723 15.0121 3.80723 16.0964 3.80723C17.0602 3.80723 17.5422 4.04819 17.9036 4.16868C18.3855 4.40964 18.747 4.53012 19.1084 4.89157C19.4699 5.25301 19.7108 5.61446 19.8313 6.09639C19.9518 6.45783 20.0723 6.93976 20.1928 7.90362C20.1928 8.98795 20.1928 9.22892 20.1928 12C20.1928 14.7711 20.1928 15.0121 20.1928 16.0964C20.1928 17.0602 19.9518 17.5422 19.8313 17.9036C19.5904 18.3855 19.4699 18.747 19.1084 19.1084C18.747 19.4699 18.3855 19.7108 17.9036 19.8313C17.5422 19.9518 17.0602 20.0723 16.0964 20.1928C15.0121 20.1928 14.7711 20.1928 12 20.1928C9.22892 20.1928 8.98795 20.1928 7.90362 20.1928C6.93976 20.1928 6.45783 19.9518 6.09639 19.8313C5.61446 19.5904 5.25301 19.4699 4.89157 19.1084C4.53012 18.747 4.28916 18.3855 4.16868 17.9036C4.04819 17.5422 3.92771 17.0602 3.80723 16.0964C3.80723 15.0121 3.80723 14.7711 3.80723 12C3.80723 9.22892 3.80723 8.98795 3.80723 7.90362C3.80723 6.93976 4.04819 6.45783 4.16868 6.09639C4.40964 5.61446 4.53012 5.25301 4.89157 4.89157C5.25301 4.53012 5.61446 4.28916 6.09639 4.16868C6.45783 4.04819 6.93976 3.92771 7.90362 3.80723C8.98795 3.80723 9.3494 3.80723 12 3.80723ZM12 2C9.22892 2 8.98795 2 7.90362 2C6.81928 2 6.09639 2.24096 5.49398 2.48193C4.89157 2.72289 4.28916 3.08434 3.68675 3.68675C3.08434 4.28916 2.84337 4.77109 2.48193 5.49398C2.24096 6.09639 2.12048 6.81928 2 7.90362C2 8.98795 2 9.3494 2 12C2 14.7711 2 15.0121 2 16.0964C2 17.1807 2.24096 17.9036 2.48193 18.506C2.72289 19.1084 3.08434 19.7108 3.68675 20.3133C4.28916 20.9157 4.77109 21.1566 5.49398 21.5181C6.09639 21.759 6.81928 21.8795 7.90362 22C8.98795 22 9.3494 22 12 22C14.6506 22 15.0121 22 16.0964 22C17.1807 22 17.9036 21.759 18.506 21.5181C19.1084 21.2771 19.7108 20.9157 20.3133 20.3133C20.9157 19.7108 21.1566 19.2289 21.5181 18.506C21.759 17.9036 21.8795 17.1807 22 16.0964C22 15.0121 22 14.6506 22 12C22 9.3494 22 8.98795 22 7.90362C22 6.81928 21.759 6.09639 21.5181 5.49398C21.2771 4.89157 20.9157 4.28916 20.3133 3.68675C19.7108 3.08434 19.2289 2.84337 18.506 2.48193C17.9036 2.24096 17.1807 2.12048 16.0964 2C15.0121 2 14.7711 2 12 2Z",fill:"currentColor"}),e("path",{d:"M12 6.81928C9.10843 6.81928 6.81928 9.10843 6.81928 12C6.81928 14.8916 9.10843 17.1807 12 17.1807C14.8916 17.1807 17.1807 14.8916 17.1807 12C17.1807 9.10843 14.8916 6.81928 12 6.81928ZM12 15.3735C10.1928 15.3735 8.62651 13.9277 8.62651 12C8.62651 10.1928 10.0723 8.62651 12 8.62651C13.8072 8.62651 15.3735 10.0723 15.3735 12C15.3735 13.8072 13.8072 15.3735 12 15.3735Z",fill:"currentColor"}),e("path",{d:"M17.3012 7.90362C17.9666 7.90362 18.506 7.3642 18.506 6.6988C18.506 6.03339 17.9666 5.49398 17.3012 5.49398C16.6358 5.49398 16.0964 6.03339 16.0964 6.6988C16.0964 7.3642 16.6358 7.90362 17.3012 7.90362Z",fill:"currentColor"})]}))},"kebab-menu":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z",fill:"currentColor"})}))},link:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 7H14C13.45 7 13 7.45 13 8C13 8.55 13.45 9 14 9H17C18.65 9 20 10.35 20 12C20 13.65 18.65 15 17 15H14C13.45 15 13 15.45 13 16C13 16.55 13.45 17 14 17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM8 12C8 12.55 8.45 13 9 13H15C15.55 13 16 12.55 16 12C16 11.45 15.55 11 15 11H9C8.45 11 8 11.45 8 12ZM10 15H7C5.35 15 4 13.65 4 12C4 10.35 5.35 9 7 9H10C10.55 9 11 8.55 11 8C11 7.45 10.55 7 10 7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H10C10.55 17 11 16.55 11 16C11 15.45 10.55 15 10 15Z",fill:"currentColor"})}))},linkedin:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M6.50001 22H2.25V8.625H6.50001V22ZM4.375 6.75C3 6.75 2 5.75 2 4.375C2 3 3.125 2 4.375 2C5.75 2 6.75 3 6.75 4.375C6.75 5.75 5.75 6.75 4.375 6.75ZM22 22H17.75V14.75C17.75 12.625 16.875 12 15.625 12C14.375 12 13.125 13 13.125 14.875V22H8.875V8.625H12.875V10.5C13.25 9.625 14.75 8.25 16.875 8.25C19.25 8.25 21.75 9.625 21.75 13.75V22H22Z",fill:"currentColor"})}))},loading:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M20.479 10.479H18.0439C17.2038 10.479 16.5227 11.1601 16.5227 12.0002C16.5227 12.8403 17.2038 13.5214 18.0439 13.5214H20.479C21.3191 13.5214 22.0002 12.8403 22.0002 12.0002C22.0002 11.1601 21.3191 10.479 20.479 10.479Z",fill:"currentColor"}),e("path",{d:"M7.47748 12.0002C7.47748 11.1601 6.79639 10.479 5.95627 10.479H3.52121C2.6811 10.479 2 11.1601 2 12.0002C2 12.8403 2.6811 13.5214 3.52121 13.5214H5.95627C6.79639 13.5214 7.47748 12.8404 7.47748 12.0002Z",fill:"currentColor"}),e("path",{d:"M11.9663 16.5227C11.1262 16.5227 10.4451 17.2038 10.4451 18.0439V20.479C10.4451 21.3191 11.1262 22.0002 11.9663 22.0002C12.8064 22.0002 13.4875 21.3191 13.4875 20.479V18.0439C13.4875 17.2038 12.8065 16.5227 11.9663 16.5227Z",fill:"currentColor"}),e("path",{d:"M11.9662 2.00024C11.1261 2.00024 10.4451 2.68144 10.4451 3.52156V5.95651C10.4451 6.79663 11.1263 7.47763 11.9664 7.47763C12.8065 7.47763 13.4875 6.79643 13.4875 5.95631V3.52136C13.4875 2.68124 12.8064 2.00024 11.9662 2.00024Z",fill:"currentColor"}),e("path",{d:"M17.3493 15.1981C16.7553 14.6041 15.792 14.6041 15.198 15.1981C14.6039 15.7921 14.6039 16.7553 15.198 17.3494L16.9198 19.0713C17.2168 19.3683 17.6061 19.5169 17.9955 19.5169C18.3848 19.5169 18.7741 19.3683 19.0711 19.0713C19.6651 18.4773 19.6651 17.5141 19.0711 16.92L17.3493 15.1981Z",fill:"currentColor"}),e("path",{d:"M7.08035 4.92909C6.48636 4.3349 5.52313 4.3351 4.92905 4.92909C4.33496 5.52317 4.33506 6.4864 4.92905 7.08039L6.65096 8.8023C6.948 9.09944 7.33733 9.24791 7.72656 9.24791C8.11589 9.24791 8.50522 9.09934 8.80216 8.8023C9.39624 8.20821 9.39614 7.24508 8.80216 6.651L7.08035 4.92909Z",fill:"currentColor"}),e("path",{d:"M6.65065 15.1981L4.92874 16.9201C4.33476 17.5142 4.33486 18.4774 4.92884 19.0715C5.22599 19.3686 5.61522 19.517 6.00444 19.517C6.39377 19.517 6.7832 19.3684 7.08014 19.0715L8.80206 17.3495C9.39604 16.7554 9.39594 15.7922 8.80196 15.1981C8.20787 14.6039 7.24474 14.604 6.65065 15.1981Z",fill:"currentColor"})]}))},maximize:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M5 18L5 6C5 5.45 5.45 5 6 5L18 5C18.55 5 19 5.45 19 6L19 11C19 11.55 19.45 12 20 12C20.55 12 21 11.55 21 11L21 5C21 3.89 20.1 3 19 3L5 3C3.9 3 3 3.9 3 5L3 19C3 20.1 3.9 21 5 21L11 21C11.55 21 12 20.55 12 20C12 19.45 11.55 19 11 19L6 19C5.45 19 5 18.55 5 18ZM9.1675 15.1675C9.7175 15.1675 10.1675 14.7175 10.1675 14.1675L10.1675 11.5775L19.2975 20.7075C19.6875 21.0975 20.3175 21.0975 20.7075 20.7075C21.0975 20.3175 21.0975 19.6875 20.7075 19.2975L11.5775 10.1675L14.1675 10.1675C14.7175 10.1675 15.1675 9.7175 15.1675 9.1675C15.1675 8.6175 14.7175 8.1675 14.1675 8.1675L9.1675 8.1675C8.6175 8.1675 8.1675 8.6175 8.1675 9.1675L8.1675 14.1675C8.1675 14.7175 8.6175 15.1675 9.1675 15.1675Z",fill:"currentColor"})}))},menu:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M3 18H21V16H3V18ZM3 13H21V11H3V13ZM3 6V8H21V6H3Z",fill:"currentColor"})}))},"merge-field":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M6.93945 20.2002C4.83008 19.6084 3.77539 18.2461 3.77539 16.1133V14.373C3.77539 13.1895 3.30078 12.5977 2.35156 12.5977V10.6025C3.30078 10.6025 3.77539 10.0078 3.77539 8.81836V6.97266C3.79297 5.91797 4.06543 5.06543 4.59277 4.41504C5.12598 3.76465 5.9082 3.29297 6.93945 3L7.49316 4.54688C6.75488 4.82812 6.37109 5.61621 6.3418 6.91113V8.81836C6.3418 10.1309 5.7998 11.0566 4.71582 11.5957C5.7998 12.1348 6.3418 13.0635 6.3418 14.3818V16.2803C6.37109 17.5752 6.75488 18.3633 7.49316 18.6445L6.93945 20.2002Z",fill:"currentColor"}),e("path",{d:"M17.1787 18.6445C17.917 18.3633 18.3008 17.5752 18.3301 16.2803V14.373C18.3301 13.0547 18.875 12.1289 19.9648 11.5957C18.875 11.0625 18.3301 10.1367 18.3301 8.81836V6.91113C18.3008 5.61621 17.917 4.82812 17.1787 4.54688L17.7324 3C18.7812 3.29297 19.5693 3.77344 20.0967 4.44141C20.624 5.10352 20.8906 5.97363 20.8965 7.05176V8.81836C20.8965 10.0078 21.3711 10.6025 22.3203 10.6025V12.5977C21.3711 12.5977 20.8965 13.1865 20.8965 14.3643V16.2363C20.8555 18.2988 19.8008 19.6201 17.7324 20.2002L17.1787 18.6445Z",fill:"currentColor"})]}))},message:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M20 2H4C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM9 11H7V9H9V11ZM13 11H11V9H13V11ZM17 11H15V9H17V11Z",fill:"currentColor"})}))},mic:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("g",Object.assign({clipPath:"url(#clip0)"},{children:e("path",{d:"M12 14C13.66 14 15 12.66 15 11V5C15 3.34 13.66 2 12 2C10.34 2 8.99999 3.34 8.99999 5V11C8.99999 12.66 10.34 14 12 14ZM17.91 11C17.42 11 17.01 11.36 16.93 11.85C16.52 14.2 14.47 16 12 16C9.52999 16 7.47999 14.2 7.06999 11.85C6.98999 11.36 6.57999 11 6.08999 11C5.47999 11 4.99999 11.54 5.08999 12.14C5.57999 15.14 7.97999 17.49 11 17.92V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20V17.92C16.02 17.49 18.42 15.14 18.91 12.14C19.01 11.54 18.52 11 17.91 11Z",fill:"currentColor"})})),e("defs",{children:e("clipPath",Object.assign({id:"clip0"},{children:e("rect",{width:24,height:24,fill:"currentColor"})}))})]}))},"mic-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15 10.6V5C15 3.34 13.66 2 12 2C10.46 2 9.21 3.16 9.04 4.65L15 10.6ZM18.08 11C17.67 11 17.31 11.3 17.25 11.71C17.2 12.03 17.13 12.35 17.03 12.64L18.3 13.91C18.6 13.31 18.82 12.66 18.93 11.97C19 11.46 18.6 11 18.08 11ZM3.71 3.56C3.32 3.95 3.32 4.58 3.71 4.97L9 10.27V10.7C9 11.89 9.6 13.02 10.63 13.61C11.38 14.04 12.04 14.05 12.65 13.92L14.31 15.58C13.6 15.91 12.81 16.1 12 16.1C9.46 16.1 7.12 14.33 6.75 11.71C6.69 11.3 6.33 11 5.92 11C5.4 11 5 11.46 5.07 11.97C5.53 14.93 8.03 17.27 11 17.72V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20V17.72C13.91 17.59 14.77 17.27 15.55 16.82L19.04 20.31C19.43 20.7 20.06 20.7 20.45 20.31C20.84 19.92 20.84 19.29 20.45 18.9L5.12 3.56C4.73 3.17 4.1 3.17 3.71 3.56Z",fill:"currentColor"})}))},minimize:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 6L19 18C19 18.55 18.55 19 18 19L6 19C5.45 19 5 18.55 5 18L5 13C5 12.45 4.55 12 4 12C3.45 12 3 12.45 3 13L3 19C3 20.11 3.9 21 5 21L19 21C20.1 21 21 20.1 21 19L21 5C21 3.9 20.1 3 19 3L13 3C12.45 3 12 3.45 12 4C12 4.55 12.45 5 13 5L18 5C18.55 5 19 5.45 19 6ZM14.8325 8.8325C14.2825 8.8325 13.8325 9.2825 13.8325 9.8325L13.8325 12.4225L4.7025 3.2925C4.3125 2.9025 3.6825 2.9025 3.2925 3.2925C2.9025 3.6825 2.9025 4.3125 3.2925 4.7025L12.4225 13.8325L9.8325 13.8325C9.2825 13.8325 8.8325 14.2825 8.8325 14.8325C8.8325 15.3825 9.2825 15.8325 9.8325 15.8325L14.8325 15.8325C15.3825 15.8325 15.8325 15.3825 15.8325 14.8325L15.8325 9.8325C15.8325 9.2825 15.3825 8.8325 14.8325 8.8325Z",fill:"currentColor"})}))},mobile:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15.5 1H7.5C6.12 1 5 2.12 5 3.5V20.5C5 21.88 6.12 23 7.5 23H15.5C16.88 23 18 21.88 18 20.5V3.5C18 2.12 16.88 1 15.5 1ZM11.5 22C10.67 22 10 21.33 10 20.5C10 19.67 10.67 19 11.5 19C12.33 19 13 19.67 13 20.5C13 21.33 12.33 22 11.5 22ZM16 18H7V4H16V18Z",fill:"currentColor"})}))},"not-allowed":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 10.15 4.63 8.45 5.69 7.1L16.9 18.31C15.55 19.37 13.85 20 12 20ZM18.31 16.9L7.1 5.69C8.45 4.63 10.15 4 12 4C16.42 4 20 7.58 20 12C20 13.85 19.37 15.55 18.31 16.9Z",fill:"currentColor"})}))},open:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 18L19 6C19 5.45 18.55 5 18 5L6 5C5.45 5 5 5.45 5 6L5 11C5 11.55 4.55 12 4 12C3.45 12 3 11.55 3 11L3 5C3 3.89 3.9 3 5 3L19 3C20.1 3 21 3.9 21 5L21 19C21 20.1 20.1 21 19 21L13 21C12.45 21 12 20.55 12 20C12 19.45 12.45 19 13 19L18 19C18.55 19 19 18.55 19 18ZM14.8325 15.1675C14.2825 15.1675 13.8325 14.7175 13.8325 14.1675L13.8325 11.5775L4.7025 20.7075C4.3125 21.0975 3.6825 21.0975 3.2925 20.7075C2.9025 20.3175 2.9025 19.6875 3.2925 19.2975L12.4225 10.1675L9.8325 10.1675C9.2825 10.1675 8.8325 9.7175 8.8325 9.1675C8.8325 8.6175 9.2825 8.1675 9.8325 8.1675L14.8325 8.1675C15.3825 8.1675 15.8325 8.6175 15.8325 9.1675L15.8325 14.1675C15.8325 14.7175 15.3825 15.1675 14.8325 15.1675Z",fill:"currentColor"})}))},pause:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8 19c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2v10c0 1.1.9 2 2 2zm6-12v10c0 1.1.9 2 2 2s2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2z"})}))},"pause-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M10 16C10.55 16 11 15.55 11 15V9C11 8.45 10.55 8 10 8C9.45 8 9 8.45 9 9V15C9 15.55 9.45 16 10 16ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM14 16C14.55 16 15 15.55 15 15V9C15 8.45 14.55 8 14 8C13.45 8 13 8.45 13 9V15C13 15.55 13.45 16 14 16Z",fill:"currentColor"})}))},person:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12ZM12 14C9.33 14 4 15.34 4 18V19C4 19.55 4.45 20 5 20H19C19.55 20 20 19.55 20 19V18C20 15.34 14.67 14 12 14Z",fill:"currentColor"})}))},phone:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.23 15.26L16.69 14.97C16.08 14.9 15.48 15.11 15.05 15.54L13.21 17.38C10.38 15.94 8.06001 13.63 6.62001 10.79L8.47001 8.93999C8.90001 8.50999 9.11001 7.90999 9.04001 7.29999L8.75001 4.77999C8.63001 3.76999 7.78001 3.00999 6.76001 3.00999H5.03001C3.90001 3.00999 2.96001 3.94999 3.03001 5.07999C3.56001 13.62 10.39 20.44 18.92 20.97C20.05 21.04 20.99 20.1 20.99 18.97V17.24C21 16.23 20.24 15.38 19.23 15.26Z",fill:"currentColor"})}))},"phone-blocked":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.54 17.37C11.91 19.45 8.65 20.76 5.09 20.98C3.96 21.05 3.02 20.11 3.02 18.98V17.25C3.01 16.24 3.77 15.39 4.78 15.27L7.32 14.98C7.93 14.91 8.53 15.12 8.96 15.55L10.8 17.39C11.61 16.98 12.39 16.49 13.11 15.94L2.1 4.93C1.71 4.54 1.71 3.91 2.1 3.52C2.49 3.13 3.13 3.13 3.52 3.52L20.49 20.5C20.88 20.89 20.88 21.52 20.49 21.91C20.1 22.3 19.47 22.3 19.08 21.91L14.54 17.37ZM17.39 10.8L15.54 8.95C15.11 8.52 14.9 7.92 14.97 7.31L15.26 4.79C15.38 3.78 16.23 3.02 17.25 3.02H18.98C20.11 3.02 21.05 3.96 20.98 5.09C20.76 8.66 19.44 11.92 17.36 14.56L15.93 13.13C16.48 12.4 16.97 11.62 17.39 10.8Z",fill:"currentColor"})}))},"phone-end":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4.51 15.48L6.51 13.89C6.99 13.51 7.27 12.93 7.27 12.32V9.72C10.29 8.74 13.56 8.73 16.59 9.72V12.33C16.59 12.94 16.87 13.52 17.35 13.9L19.34 15.48C20.14 16.11 21.28 16.05 22 15.33L23.22 14.11C24.02 13.31 24.02 11.98 23.17 11.23C16.76 5.57 7.1 5.57 0.690004 11.23C-0.159996 11.98 -0.159996 13.31 0.640004 14.11L1.86 15.33C2.57 16.05 3.71 16.11 4.51 15.48Z",fill:"currentColor"})}))},"phone-history":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1114 17.9L14.6314 15.4C14.8614 15.17 15.2014 15.07 15.5314 15.14L19.2014 15.87C19.6614 15.96 20.0014 16.37 20.0014 16.85V21C20.0014 21.56 19.5314 22.03 18.9714 22C16.0814 21.83 13.3714 20.94 11.0014 19.57C8.28136 17.99 6.01136 15.73 4.43136 13C3.05136 10.63 2.17136 7.92 2.00136 5.03C1.97136 4.47 2.44136 4 3.00136 4H7.15136C7.63136 4 8.04136 4.34 8.13136 4.8L8.88136 8.48C8.94136 8.81 8.84136 9.14 8.61136 9.38L6.11136 11.9C7.54136 14.4 9.61136 16.47 12.1114 17.9ZM12.0014 8C12.0014 5.792 13.7894 4 15.9974 4C18.2094 4 20.0014 5.792 20.0014 8C20.0014 10.208 18.2094 12 15.9974 12C13.7894 12 12.0014 10.208 12.0014 8ZM17.0374 9.6C17.1934 9.756 17.4454 9.756 17.6014 9.6C17.7574 9.444 17.7574 9.192 17.6014 9.036L16.4014 7.836V6.4C16.4014 6.18 16.2214 6 16.0014 6C15.7814 6 15.6014 6.18 15.6014 6.4V8C15.6014 8.108 15.6454 8.208 15.7214 8.284L17.0374 9.6Z",fill:"currentColor"})}))},"phone-talk":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M20 15.5C18.75 15.5 17.55 15.3 16.43 14.93C16.08 14.82 15.69 14.9 15.41 15.17L13.21 17.37C10.38 15.93 8.06 13.62 6.62 10.78L8.82 8.57C9.1 8.31 9.18 7.92 9.07 7.57C8.7 6.45 8.5 5.25 8.5 4C8.5 3.45 8.05 3 7.5 3H4C3.45 3 3 3.45 3 4C3 13.39 10.61 21 20 21C20.55 21 21 20.55 21 20V16.5C21 15.95 20.55 15.5 20 15.5ZM19 12H21C21 7.03 16.97 3 12 3V5C15.87 5 19 8.13 19 12ZM15 12H17C17 9.24 14.76 7 12 7V9C13.66 9 15 10.34 15 12Z",fill:"currentColor"})}))},play:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8 6.82V17.18C8 17.97 8.87 18.45 9.54 18.02L17.68 12.84C18.3 12.45 18.3 11.55 17.68 11.15L9.54 5.98C8.87 5.55 8 6.03 8 6.82Z",fill:"currentColor"})}))},"play-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11.04 15.51L15.19 12.84C15.8 12.45 15.8 11.55 15.19 11.16L11.04 8.49C10.38 8.06 9.5 8.54 9.5 9.33V14.67C9.5 15.46 10.38 15.94 11.04 15.51Z",fill:"currentColor"})}))},"profile-user":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 5C13.66 5 15 6.34 15 8C15 9.66 13.66 11 12 11C10.34 11 9 9.66 9 8C9 6.34 10.34 5 12 5ZM12 19.2C9.5 19.2 7.29 17.92 6 15.98C6.03 13.99 10 12.9 12 12.9C13.99 12.9 17.97 13.99 18 15.98C16.71 17.92 14.5 19.2 12 19.2Z",fill:"currentColor"})}))},"radio-button":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",fill:"currentColor"}),e("path",{className:"radio-fill",d:"M12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17Z",fill:"currentColor"})]}))},"radio-button-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",fill:"currentColor"})}))},record:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("circle",{cx:12,cy:12,r:6,transform:"rotate(-90 12 12)",fill:"currentColor"})}))},refresh:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17.65 6.34999C16.02 4.71999 13.71 3.77999 11.17 4.03999C7.50001 4.40999 4.48001 7.38999 4.07001 11.06C3.52001 15.91 7.27001 20 12 20C15.19 20 17.93 18.13 19.21 15.44C19.53 14.77 19.05 14 18.31 14C17.94 14 17.59 14.2 17.43 14.53C16.3 16.96 13.59 18.5 10.63 17.84C8.41001 17.35 6.62001 15.54 6.15001 13.32C5.31001 9.43999 8.26001 5.99999 12 5.99999C13.66 5.99999 15.14 6.68999 16.22 7.77999L14.71 9.28999C14.08 9.91999 14.52 11 15.41 11H19C19.55 11 20 10.55 20 9.99999V6.40999C20 5.51999 18.92 5.06999 18.29 5.69999L17.65 6.34999Z",fill:"currentColor"})}))},rocket:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8.68185 5.87296C6.64185 8.16296 5.69685 11.908 5.56685 12.218L3.30685 11.248C2.65685 10.968 2.49685 10.118 2.99685 9.61796L5.55185 6.15296C6.02185 5.68296 6.70185 5.47296 7.36185 5.60296L8.68185 5.87296ZM10.6269 16.488C10.9269 16.788 11.3669 16.868 11.7469 16.688C13.0591 16.7058 16.104 15.5851 17.714 13.9751C22.304 9.38506 21.6369 4.93796 21.3669 3.33796C21.2969 2.93796 20.9769 2.61796 20.5769 2.54796C18.9769 2.27796 14.5297 1.61085 9.93975 6.20085C8.32975 7.81085 7.4226 10.3622 7.22685 12.168C7.04685 12.548 7.13685 12.998 7.42685 13.288L10.6269 16.488ZM18.0519 15.243C15.7619 17.283 12.0169 18.228 11.7069 18.358L12.6769 20.618C12.9569 21.268 13.8069 21.428 14.3069 20.928L17.7719 18.373C18.2419 17.903 18.4519 17.223 18.3219 16.563L18.0519 15.243ZM8.88685 17.388C9.08685 18.448 8.73685 19.428 8.06685 20.098C7.29685 20.868 4.90685 21.438 3.35685 21.738C2.66685 21.868 2.05685 21.258 2.18685 20.568C2.48685 19.018 3.04685 16.628 3.82685 15.858C4.49685 15.188 5.47685 14.838 6.53685 15.038C7.70685 15.258 8.66685 16.218 8.88685 17.388ZM12.9469 8.97796C12.9469 7.87796 13.8469 6.97796 14.9469 6.97796C16.0469 6.97796 16.9469 7.87796 16.9469 8.97796C16.9469 10.078 16.0469 10.978 14.9469 10.978C13.8469 10.978 12.9469 10.078 12.9469 8.97796Z",fill:"currentColor"})}))},schedule:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM16 16C15.61 16.39 14.98 16.39 14.59 16L11.3 12.71C11.11 12.52 11 12.27 11 12V8C11 7.45 11.45 7 12 7C12.55 7 13 7.45 13 8V11.59L16 14.59C16.39 14.98 16.39 15.61 16 16Z",fill:"currentColor"})}))},"schedule-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM11.78 7H11.72C11.32 7 11 7.32 11 7.72V12.44C11 12.79 11.18 13.12 11.49 13.3L15.64 15.79C15.98 15.99 16.42 15.89 16.62 15.55C16.83 15.21 16.72 14.76 16.37 14.56L12.5 12.26V7.72C12.5 7.32 12.18 7 11.78 7Z",fill:"currentColor"})}))},screenshot:t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 1.01L7 1C5.9 1 5 1.9 5 3V21C5 22.1 5.9 23 7 23H17C18.1 23 19 22.1 19 21V3C19 1.9 18.1 1.01 17 1.01ZM17 21H7V20H17V21ZM17 18H7V6H17V18ZM17 4H7V3H17V4ZM9.5 8.5H12V7H8V11H9.5V8.5ZM12 17H16V13H14.5V15.5H12V17Z",fill:"currentColor"})})),search:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15.5 14H14.71L14.43 13.73C15.63 12.33 16.25 10.42 15.91 8.39002C15.44 5.61002 13.12 3.39002 10.32 3.05002C6.09001 2.53002 2.53002 6.09001 3.05002 10.32C3.39002 13.12 5.61002 15.44 8.39002 15.91C10.42 16.25 12.33 15.63 13.73 14.43L14 14.71V15.5L18.25 19.75C18.66 20.16 19.33 20.16 19.74 19.75C20.15 19.34 20.15 18.67 19.74 18.26L15.5 14ZM9.50002 14C7.01002 14 5.00002 11.99 5.00002 9.50002C5.00002 7.01002 7.01002 5.00002 9.50002 5.00002C11.99 5.00002 14 7.01002 14 9.50002C14 11.99 11.99 14 9.50002 14Z",fill:"currentColor"})}))},settings:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.43 12.98C19.47 12.66 19.5 12.34 19.5 12C19.5 11.66 19.47 11.34 19.43 11.02L21.54 9.37C21.73 9.22 21.78 8.95 21.66 8.73L19.66 5.27C19.54 5.05 19.27 4.97 19.05 5.05L16.56 6.05C16.04 5.65 15.48 5.32 14.87 5.07L14.49 2.42C14.46 2.18 14.25 2 14 2H9.99999C9.74999 2 9.53999 2.18 9.50999 2.42L9.12999 5.07C8.51999 5.32 7.95999 5.66 7.43999 6.05L4.94999 5.05C4.71999 4.96 4.45999 5.05 4.33999 5.27L2.33999 8.73C2.20999 8.95 2.26999 9.22 2.45999 9.37L4.56999 11.02C4.52999 11.34 4.49999 11.67 4.49999 12C4.49999 12.33 4.52999 12.66 4.56999 12.98L2.45999 14.63C2.26999 14.78 2.21999 15.05 2.33999 15.27L4.33999 18.73C4.45999 18.95 4.72999 19.03 4.94999 18.95L7.43999 17.95C7.95999 18.35 8.51999 18.68 9.12999 18.93L9.50999 21.58C9.53999 21.82 9.74999 22 9.99999 22H14C14.25 22 14.46 21.82 14.49 21.58L14.87 18.93C15.48 18.68 16.04 18.34 16.56 17.95L19.05 18.95C19.28 19.04 19.54 18.95 19.66 18.73L21.66 15.27C21.78 15.05 21.73 14.78 21.54 14.63L19.43 12.98ZM12 15.5C10.07 15.5 8.49999 13.93 8.49999 12C8.49999 10.07 10.07 8.5 12 8.5C13.93 8.5 15.5 10.07 15.5 12C15.5 13.93 13.93 15.5 12 15.5Z",fill:"currentColor"})}))},share:t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12C9 11.76 8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5C21 3.34 19.66 2 18 2C16.34 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12C3 13.66 4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.35C15.11 18.56 15.08 18.78 15.08 19C15.08 20.61 16.39 21.92 18 21.92C19.61 21.92 20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08ZM18 4C18.55 4 19 4.45 19 5C19 5.55 18.55 6 18 6C17.45 6 17 5.55 17 5C17 4.45 17.45 4 18 4ZM6 13C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11C6.55 11 7 11.45 7 12C7 12.55 6.55 13 6 13ZM18 20.02C17.45 20.02 17 19.57 17 19.02C17 18.47 17.45 18.02 18 18.02C18.55 18.02 19 18.47 19 19.02C19 19.57 18.55 20.02 18 20.02Z",fill:"currentColor"})})),"shield-check":t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M10.9 15.35L16.6 9.65L15.55 8.625L10.975 13.2L8.45 10.675L7.35 11.775L10.9 15.35ZM12 22C9.66667 21.4167 7.75 20.0625 6.25 17.9375C4.75 15.8125 4 13.4833 4 10.95V5L12 2L20 5V10.95C20 13.4833 19.25 15.8125 17.75 17.9375C16.25 20.0625 14.3333 21.4167 12 22ZM12 20.45C13.9167 19.8167 15.4792 18.6208 16.6875 16.8625C17.8958 15.1042 18.5 13.1333 18.5 10.95V6.05L12 3.6L5.5 6.05V10.95C5.5 13.1333 6.10417 15.1042 7.3125 16.8625C8.52083 18.6208 10.0833 19.8167 12 20.45Z",fill:"currentColor"})})),"shield-slash":t=>e("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12.7999 11.0999L12.0499 10.3333C12.2721 9.94436 12.4444 9.44714 12.5666 8.84159C12.6888 8.23603 12.7499 7.71659 12.7499 7.28325V4.01659L8.41659 2.41659L5.28325 3.56659L4.51659 2.79992L8.41659 1.33325L13.7499 3.31659V7.28325C13.7499 7.93881 13.6666 8.59159 13.4999 9.24158C13.3333 9.89159 13.0999 10.511 12.7999 11.0999ZM13.9166 15.0666L11.5833 12.7666C11.0944 13.2555 10.5944 13.6555 10.0833 13.9666C9.57214 14.2777 9.01659 14.511 8.41659 14.6666C6.8277 14.2333 5.54159 13.3194 4.55825 11.9249C3.57492 10.5305 3.08325 8.98325 3.08325 7.28325V4.23325L1.33325 2.48325L2.04992 1.76659L14.6333 14.3499L13.9166 15.0666ZM8.41659 13.6333C8.88325 13.4777 9.33047 13.2583 9.75825 12.9749C10.186 12.6916 10.561 12.3833 10.8833 12.0499L4.08325 5.23325V7.28325C4.08325 8.7277 4.48881 10.0416 5.29992 11.2249C6.11103 12.4083 7.14992 13.211 8.41659 13.6333Z",fill:"currentColor"})})),sort:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4 18H8C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16H4C3.45 16 3 16.45 3 17C3 17.55 3.45 18 4 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM4 13H14C14.55 13 15 12.55 15 12C15 11.45 14.55 11 14 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13Z",fill:"currentColor"})}))},spotify:function(t){return e("svg",Object.assign({viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.894 11.082C15.864 8.689 9.22 8.469 5.372 9.636a1.169 1.169 0 1 1-.679-2.237C9.11 6.059 16.45 6.317 21.088 9.07a1.17 1.17 0 0 1-1.194 2.01zm-.132 3.544a.975.975 0 0 1-1.34.32c-3.36-2.064-8.482-2.662-12.456-1.456a.976.976 0 0 1-1.216-.65.976.976 0 0 1 .65-1.215c4.54-1.377 10.183-.71 14.042 1.66a.975.975 0 0 1 .32 1.34zm-1.53 3.403a.778.778 0 0 1-1.07.26c-2.936-1.794-6.63-2.2-10.982-1.206a.779.779 0 1 1-.347-1.518c4.762-1.089 8.846-.62 12.141 1.393a.78.78 0 0 1 .259 1.071zM12.5 0C5.597 0 0 5.596 0 12.5S5.597 25 12.5 25C19.404 25 25 19.404 25 12.5S19.404 0 12.5 0z",fill:"currentColor",fillRule:"evenodd"})}))},star:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.43 9.5525L12.96 4.7125C12.67 3.7625 11.33 3.7625 11.05 4.7125L9.57002 9.5525H5.12002C4.15002 9.5525 3.75002 10.8025 4.54002 11.3625L8.18002 13.9625L6.75002 18.5725C6.46002 19.5025 7.54002 20.2525 8.31002 19.6625L12 16.8625L15.69 19.6725C16.46 20.2625 17.54 19.5125 17.25 18.5825L15.82 13.9725L19.46 11.3725C20.25 10.8025 19.85 9.5625 18.88 9.5625H14.43V9.5525Z",fill:"currentColor"})}))},"star-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.8796 8.4325L12.8196 11.5425H15.6396L13.3696 13.1625L14.2996 16.1725L11.8796 14.3325L9.4596 16.1725L10.3896 13.1625L8.1196 11.5425H10.9396L11.8796 8.4325ZM9.4596 9.5425H4.9996C4.0296 9.5425 3.6296 10.7925 4.4196 11.3525L8.0596 13.9525L6.6296 18.5625C6.3396 19.4925 7.4196 20.2425 8.1896 19.6525L11.8796 16.8525L15.5696 19.6625C16.3396 20.2525 17.4196 19.5025 17.1296 18.5725L15.6996 13.9625L19.3396 11.3625C20.1296 10.7925 19.7296 9.5525 18.7596 9.5525H14.2996L12.8296 4.7125C12.5396 3.7625 11.1996 3.7625 10.9196 4.7125L9.4596 9.5425Z",fill:"currentColor"})}))},stop:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8 6H16C17.1 6 18 6.9 18 8V16C18 17.1 17.1 18 16 18H8C6.9 18 6 17.1 6 16V8C6 6.9 6.9 6 8 6Z",fill:"currentColor"})}))},"stop-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12ZM8 9.5C8 8.67157 8.67157 8 9.5 8H14.5C15.3284 8 16 8.67157 16 9.5V14.5C16 15.3284 15.3284 16 14.5 16H9.5C8.67157 16 8 15.3284 8 14.5V9.5Z",fill:"currentColor"})}))},template:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.59 2.59C14.21 2.21 13.7 2 13.17 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.89 22 5.99 22H18C19.1 22 20 21.1 20 20V8.83C20 8.3 19.79 7.79 19.41 7.42L14.59 2.59ZM15 18H9C8.45 18 8 17.55 8 17C8 16.45 8.45 16 9 16H15C15.55 16 16 16.45 16 17C16 17.55 15.55 18 15 18ZM15 14H9C8.45 14 8 13.55 8 13C8 12.45 8.45 12 9 12H15C15.55 12 16 12.45 16 13C16 13.55 15.55 14 15 14ZM13 8V3.5L18.5 9H14C13.45 9 13 8.55 13 8Z",fill:"currentColor"})}))},"toggle-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM7 15C5.34 15 4 13.66 4 12C4 10.34 5.34 9 7 9C8.66 9 10 10.34 10 12C10 13.66 8.66 15 7 15Z",fill:"currentColor"})}))},"toggle-on":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM17 15C15.34 15 14 13.66 14 12C14 10.34 15.34 9 17 9C18.66 9 20 10.34 20 12C20 13.66 18.66 15 17 15Z",fill:"currentColor"})}))},trash:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M6 19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V9C18 7.9 17.1 7 16 7H8C6.9 7 6 7.9 6 9V19ZM18 4H15.5L14.79 3.29C14.61 3.11 14.35 3 14.09 3H9.91C9.65 3 9.39 3.11 9.21 3.29L8.5 4H6C5.45 4 5 4.45 5 5C5 5.55 5.45 6 6 6H18C18.55 6 19 5.55 19 5C19 4.45 18.55 4 18 4Z",fill:"currentColor"})}))},twitter:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22 5.84615C21.25 6.21538 20.5 6.33846 19.625 6.46154C20.5 5.96923 21.125 5.23077 21.375 4.24615C20.625 4.73846 19.75 4.98462 18.75 5.23077C18 4.49231 16.875 4 15.75 4C13.125 4 11.125 6.46154 11.75 8.92308C8.375 8.8 5.375 7.2 3.25 4.73846C2.125 6.58462 2.75 8.92308 4.5 10.1538C3.875 10.1538 3.25 9.90769 2.625 9.66154C2.625 11.5077 4 13.2308 5.875 13.7231C5.25 13.8462 4.625 13.9692 4 13.8462C4.5 15.4462 6 16.6769 7.875 16.6769C6.375 17.7846 4.125 18.4 2 18.1538C3.875 19.2615 6 20 8.25 20C15.875 20 20.125 13.7231 19.875 7.93846C20.75 7.44615 21.5 6.70769 22 5.84615Z",fill:"currentColor"})}))},upload:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M7.4 10H8.99V15C8.99 15.55 9.44 16 9.99 16H13.99C14.54 16 14.99 15.55 14.99 15V10H16.58C17.47 10 17.92 8.92 17.29 8.29L12.7 3.7C12.31 3.31 11.68 3.31 11.29 3.7L6.7 8.29C6.07 8.92 6.51 10 7.4 10ZM5 19C5 19.55 5.45 20 6 20H18C18.55 20 19 19.55 19 19C19 18.45 18.55 18 18 18H6C5.45 18 5 18.45 5 19Z",fill:"currentColor"})}))},video:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 10.5V7C17 6.45 16.55 6 16 6H4C3.45 6 3 6.45 3 7V17C3 17.55 3.45 18 4 18H16C16.55 18 17 17.55 17 17V13.5L19.29 15.79C19.92 16.42 21 15.97 21 15.08V8.91C21 8.02 19.92 7.57 19.29 8.2L17 10.5Z",fill:"currentColor"})}))},voicemail:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17.5 7C15.01 7 13 9.01 13 11.5C13 12.43 13.28 13.28 13.76 14H10.24C10.72 13.28 11 12.43 11 11.5C11 9.01 8.99 7 6.5 7C4.01 7 2 9.01 2 11.5C2 13.99 4.01 16 6.5 16H17.5C19.99 16 22 13.99 22 11.5C22 9.01 19.99 7 17.5 7ZM4 11.5C4 10.12 5.12 9 6.5 9C7.88 9 9 10.12 9 11.5C9 12.88 7.88 14 6.5 14C5.12 14 4 12.88 4 11.5ZM17.5 14C16.12 14 15 12.88 15 11.5C15 10.12 16.12 9 17.5 9C18.88 9 20 10.12 20 11.5C20 12.88 18.88 14 17.5 14Z",fill:"currentColor"})}))},"vol-on":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M3 10V14C3 14.55 3.45 15 4 15H7L10.29 18.29C10.92 18.92 12 18.47 12 17.58V6.41C12 5.52 10.92 5.07 10.29 5.7L7 9H4C3.45 9 3 9.45 3 10ZM16.5 12C16.5 10.23 15.48 8.71 14 7.97V16.02C15.48 15.29 16.5 13.77 16.5 12ZM14 4.45V4.65C14 5.03 14.25 5.36 14.6 5.5C17.18 6.53 19 9.06 19 12C19 14.94 17.18 17.47 14.6 18.5C14.24 18.64 14 18.97 14 19.35V19.55C14 20.18 14.63 20.62 15.21 20.4C18.6 19.11 21 15.84 21 12C21 8.16 18.6 4.89 15.21 3.6C14.63 3.37 14 3.82 14 4.45Z",fill:"currentColor"})}))},warning:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M2.73288 21.0025H21.2629C22.0329 21.0025 22.5129 20.1725 22.1329 19.5025L12.8629 3.5025C12.4729 2.8325 11.5129 2.8325 11.1329 3.5025L1.86288 19.5025C1.48288 20.1725 1.96288 21.0025 2.73288 21.0025ZM13.0029 18.0025H11.0029V16.0025H13.0029V18.0025ZM12.0029 14.0025C11.4529 14.0025 11.0029 13.5525 11.0029 13.0025V11.0025C11.0029 10.4525 11.4529 10.0025 12.0029 10.0025C12.5529 10.0025 13.0029 10.4525 13.0029 11.0025V13.0025C13.0029 13.5525 12.5529 14.0025 12.0029 14.0025Z",fill:"currentColor"})}))},"warning-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 7C12.55 7 13 7.45 13 8V12C13 12.55 12.55 13 12 13C11.45 13 11 12.55 11 12V8C11 7.45 11.45 7 12 7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM13 17H11V15H13V17Z",fill:"currentColor"})}))},youtube:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22.45 6.42857C22.175 5.42857 21.4875 4.71429 20.525 4.42857C18.875 4 11.8625 4 11.8625 4C11.8625 4 4.98751 4 3.20001 4.42857C2.23751 4.71429 1.55 5.42857 1.275 6.42857C0.999996 8.28572 1 12 1 12C1 12 1 15.7143 1.4125 17.5714C1.6875 18.5714 2.375 19.2857 3.3375 19.5714C4.9875 20 12 20 12 20C12 20 18.875 20 20.6625 19.5714C21.625 19.2857 22.3125 18.5714 22.5875 17.5714C23 15.7143 23 12 23 12C23 12 23 8.28572 22.45 6.42857ZM9.79999 15.4286V8.57143L15.575 12L9.79999 15.4286Z",fill:"currentColor"})}))}},Vn=t=>{var{name:n,svg:r,size:o,width:i,height:a,color:s,hoverColor:c,pointer:u=!1,inheritColor:l=!1,style:f,onClick:d}=t,p=I(t,["name","svg","size","width","height","color","hoverColor","pointer","inheritColor","style","onClick"]);let g=null;if(n)g=Hn[n];else if(r){let e=r;"function"==typeof r&&(e=r());const t=h(e,{width:i||o,height:a||o});g=()=>t}const v={small:16,medium:24,large:40};let y=o||v.medium;return"small"!==o&&"medium"!==o&&"large"!==o||(y=v[o]),g?e(Kn,Object.assign({pointer:u,hoverColor:c,inheritColor:l,color:s,style:f,onClick:d,as:d?"button":void 0,tabIndex:d?0:-1},p,{children:e(Un,Object.assign({size:y,width:i,height:a,xmlns:"http://www.w3.org/2000/svg"},{children:e(g,{})}))})):null},Un=be.svg((({size:e,width:t,height:n})=>({width:t||e,height:n||e}))),Kn=be.div((({theme:e,color:t,pointer:n,hoverColor:r,inheritColor:o})=>{const i=t||e.scale8;return{width:"max-content",height:"max-content",display:"flex",color:o?"inherit":i,cursor:n?"pointer":void 0,border:"none",backgroundColor:"transparent",padding:0,"&:hover":{color:r||void 0},"&:focus-visible":{outline:`${e.accent} solid 1px`}}}),Fn),$n=t=>{var{children:n,defaultItem:r,preventCollapse:o,triggers:i,spaced:a,background:s,innerBackground:c,width:u,maxHeight:l,height:f}=t,p=I(t,["children","defaultItem","preventCollapse","triggers","spaced","background","innerBackground","width","maxHeight","height"]);return e(Zn,Object.assign({type:"single",defaultValue:r,collapsible:!o,spaced:a,style:{width:u,height:f,maxHeight:l}},p,{children:d.map(n,(e=>e?h(e,{trigger:i,spaced:a,background:s,innerBackground:c}):null))}))};$n.Item=({children:n,id:r,text:o,content:i,trigger:a,spaced:s,background:c,innerBackground:u})=>t(Et,Object.assign({value:r},{children:[e(Wn,{text:o,content:i,reversed:null==a?void 0:a.reversed,spaced:null==a?void 0:a.spaced,rounded:s,background:c}),e(qn,Object.assign({defaultPadding:"string"==typeof n,rounded:s,background:u},{children:n}))]}));const Wn=n=>{var{text:r,content:o,reversed:i,spaced:a,rounded:s,background:c}=n,u=I(n,["text","content","reversed","spaced","rounded","background"]);return t(Xn,Object.assign({reverse:i,hasContent:!!o,rounded:s,background:c},{children:[t(Jn,Object.assign({reverse:i,spaced:a},u,{children:[e(Vn,{name:"caret-down",className:"trigger-caret"}),r]})),o]}))},qn=t=>{var{children:n,defaultPadding:r,rounded:o,background:i}=t,a=I(t,["children","defaultPadding","rounded","background"]);const s=g(null),[c,u]=y(),[l,f]=y();return Rn(s,(e=>{var t,n;if(!("open"===e.getAttribute("data-state")))return;const r=e.parentElement,i=null==r?void 0:r.parentElement,a=null==i?void 0:i.style.maxHeight,s=null==i?void 0:i.style.height,d=a?null===(t=a.match(/^[0-9]+/g))||void 0===t?void 0:t.pop():void 0,p=s?null===(n=s.match(/^[0-9]+/g))||void 0===n?void 0:n.pop():void 0;if(!d&&!p||!i)return;const h=[...i.childNodes],g=h.findIndex((e=>e===r))+1,v=h.slice(g),y=v.length>0?v.reduce(((e,t)=>e+t.clientHeight),0):0,{offsetTop:m}=e,b=+(d||p||0)-m-y-(o?8*(h.length-1):0);b!==c&&u(b),p&&b!==l&&f(b),e.scrollTo(0,0)})),e(Yn,Object.assign({ref:s,maxHeight:c,minHeight:l,defaultPadding:r,rounded:o,background:i},a,{children:n}))},Gn=(e,t)=>!t.includes(e),Zn=be(kt,{shouldForwardProp:e=>Gn(e,["spaced","margin","marginTop","marginBottom","marginRight","marginLeft"])})((({theme:e,spaced:t})=>({overflow:"hidden",position:"relative",[`& > div:not(:last-child) > ${Xn}`]:{borderBottom:t?void 0:e.defaultBorder},"& > div:not(:last-child)":{marginBottom:t?8:void 0}})),Fn),Yn=be(jt,{shouldForwardProp:e=>Gn(e,["defaultPadding","maxHeight","minHeight","rounded"])})((({theme:e,maxHeight:t,minHeight:n,defaultPadding:r,rounded:o,background:i})=>{const a=o?e.background2:e.background1;return{backgroundColor:i||a,padding:r?"4px 16px":void 0,fontSize:e.font.size.md,overflow:"auto",maxHeight:t,minHeight:n,'&[data-state="open"]':{borderBottomLeftRadius:o?4:void 0,borderBottomRightRadius:o?4:void 0}}})),Xn=be(Tt,{shouldForwardProp:e=>Gn(e,["reverse","rounded","hasContent"])})((({theme:e,reverse:t,rounded:n,hasContent:r,background:o})=>{const i=n?e.background1:e.background0;return{margin:0,display:"flex",flexDirection:t?"row-reverse":"row",paddingLeft:r&&t?void 0:8,paddingRight:!r||t?8:void 0,backgroundColor:o||i,justifyContent:"space-between",alignItems:"center",fontSize:"1rem",fontWeight:"normal",color:"inherit",'&[data-state="closed"]':{borderRadius:n?4:void 0},'&[data-state="open"]':{borderTopLeftRadius:n?4:void 0,borderTopRightRadius:n?4:void 0}}})),Jn=be(At,{shouldForwardProp:e=>Gn(e,["reverse","spaced"])})((({theme:e,reverse:t,spaced:n})=>({backgroundColor:"transparent",color:e.scale10,border:"none",display:"flex",flexDirection:t?"row-reverse":"row",justifyContent:n?"space-between":void 0,alignItems:"center",fontSize:e.font.size.md,padding:"8px 0",width:"100%","& > .trigger-caret":{transition:"transform 300ms"},'&[data-state="open"] > .trigger-caret':{transform:"rotate(180deg)"}})));function Qn(){return Qn=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},Qn.apply(this,arguments)}function er(e,t){return er=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},er(e,t)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tr(e)}function nr(e,t,n){return nr=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&er(o,n.prototype),o},nr.apply(null,arguments)}function rr(e){var t="function"==typeof Map?new Map:void 0;return rr=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return nr(e,arguments,tr(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),er(r,e)},rr(e)}var or={1:"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",2:"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",3:"Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",4:"Couldn't generate valid rgb string from %s, it returned %s.\n\n",5:"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",6:"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",7:"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",8:"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",9:"Please provide a number of steps to the modularScale helper.\n\n",10:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",11:'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',12:'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',13:'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',14:'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',15:'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',16:"You must provide a template to this method.\n\n",17:"You passed an unsupported selector state to this method.\n\n",18:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",19:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",20:"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:"fontFace expects a name of a font-family.\n\n",24:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",25:"fontFace expects localFonts to be an array.\n\n",26:"fontFace expects fileFormats to be an array.\n\n",27:"radialGradient requries at least 2 color-stops to properly render.\n\n",28:"Please supply a filename to retinaImage() as the first argument.\n\n",29:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",32:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",33:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",34:"borderRadius expects a radius value as a string or number as the second argument.\n\n",35:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',36:"Property must be a string value.\n\n",37:"Syntax Error at %s.\n\n",38:"Formula contains a function that needs parentheses at %s.\n\n",39:"Formula is missing closing parenthesis at %s.\n\n",40:"Formula has too many closing parentheses at %s.\n\n",41:"All values in a formula must have the same unit or be unitless.\n\n",42:"Please provide a number of steps to the modularScale helper.\n\n",43:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",44:"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",45:"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",46:"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",47:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",48:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",49:"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",50:"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",51:"Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",52:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",53:"fontFace expects localFonts to be an array.\n\n",54:"fontFace expects fileFormats to be an array.\n\n",55:"fontFace expects a name of a font-family.\n\n",56:"linearGradient requries at least 2 color-stops to properly render.\n\n",57:"radialGradient requries at least 2 color-stops to properly render.\n\n",58:"Please supply a filename to retinaImage() as the first argument.\n\n",59:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:"Property must be a string value.\n\n",62:"borderRadius expects a radius value as a string or number as the second argument.\n\n",63:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',64:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",65:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",66:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",67:"You must provide a template to this method.\n\n",68:"You passed an unsupported selector state to this method.\n\n",69:'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',70:'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',71:'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',72:'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',73:"Please provide a valid CSS variable.\n\n",74:"CSS variable not found and no default was provided.\n\n",75:"important requires a valid style object, got a %s instead.\n\n",76:"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",77:'remToPx expects a value in "rem" but you provided it in "%s".\n\n',78:'base must be set in "px" or "%" but you set it in "%s".\n'};function ir(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0],i=[];for(r=1;r<t.length;r+=1)i.push(t[r]);return i.forEach((function(e){o=o.replace(/%[a-z]/,e)})),o}var ar=function(e){var t,n;function r(t){var n;if("production"===process.env.NODE_ENV)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this;else{for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n=e.call(this,ir.apply(void 0,[or[t]].concat(o)))||this}return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,er(t,n),r}(rr(Error));function sr(e){return Math.round(255*e)}function cr(e,t,n){return sr(e)+","+sr(t)+","+sr(n)}function ur(e,t,n,r){if(void 0===r&&(r=cr),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,c=0,u=0;o>=0&&o<1?(s=i,c=a):o>=1&&o<2?(s=a,c=i):o>=2&&o<3?(c=i,u=a):o>=3&&o<4?(c=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);var l=n-i/2;return r(s+l,c+l,u+l)}var lr={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var fr=/^#[a-fA-F0-9]{6}$/,dr=/^#[a-fA-F0-9]{8}$/,pr=/^#[a-fA-F0-9]{3}$/,hr=/^#[a-fA-F0-9]{4}$/,gr=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,vr=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,yr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,mr=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function br(e){if("string"!=typeof e)throw new ar(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return lr[t]?"#"+lr[t]:e}(e);if(t.match(fr))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(dr)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(pr))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(hr)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=gr.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=vr.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=yr.exec(t);if(a){var s="rgb("+ur(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",c=gr.exec(s);if(!c)throw new ar(4,t,s);return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10)}}var u=mr.exec(t.substring(0,50));if(u){var l="rgb("+ur(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",f=gr.exec(l);if(!f)throw new ar(4,t,l);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])}}throw new ar(5)}function wr(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var c=i-a,u=s>.5?c/(2-i-a):c/(i+a);switch(i){case n:t=(r-o)/c+(r<o?6:0);break;case r:t=(o-n)/c+2;break;default:t=(n-r)/c+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(br(e))}var xr=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Cr(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function _r(e){return Cr(Math.round(255*e))}function Sr(e,t,n){return xr("#"+_r(e)+_r(t)+_r(n))}function Or(e,t,n){return ur(e,t,n,Sr)}function kr(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return xr("#"+Cr(e)+Cr(t)+Cr(n));if("object"==typeof e&&void 0===t&&void 0===n)return xr("#"+Cr(e.red)+Cr(e.green)+Cr(e.blue));throw new ar(6)}function Er(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=br(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?kr(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?kr(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new ar(7)}var Tr=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},Ar=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},jr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},Mr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Pr(e){if("object"!=typeof e)throw new ar(8);if(Ar(e))return Er(e);if(Tr(e))return kr(e);if(Mr(e))return function(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Or(e,t,n):"rgba("+ur(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Or(e.hue,e.saturation,e.lightness):"rgba("+ur(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ar(2)}(e);if(jr(e))return function(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Or(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return Or(e.hue,e.saturation,e.lightness);throw new ar(1)}(e);throw new ar(8)}function Dr(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Dr(e,t,r)}}function Ir(e){return Dr(e,e.length,[])}function Lr(e,t,n){return Math.max(e,Math.min(t,n))}function Rr(e,t){if("transparent"===t)return t;var n=wr(t);return Pr(Qn({},n,{lightness:Lr(0,1,n.lightness-parseFloat(e))}))}var Nr=Ir(Rr);function Br(e,t){if("transparent"===t)return t;var n=wr(t);return Pr(Qn({},n,{lightness:Lr(0,1,n.lightness+parseFloat(e))}))}var Fr=Ir(Br);function zr(e,t){if("transparent"===t)return t;var n=br(t);return Er(Qn({},n,{alpha:Lr(0,1,+(100*("number"==typeof n.alpha?n.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}var Hr=Ir(zr);const Vr="dismissableLayer.update",Ur="dismissableLayer.pointerDownOutside",Kr="dismissableLayer.focusOutside";let $r;const Wr=i({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qr=f(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:u,onDismiss:l,...f}=e,d=c(Wr),[p,h]=y(null),m=null!==(n=null==p?void 0:p.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=y({}),w=Se(t,(e=>h(e))),x=Array.from(d.layers),[C]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=x.indexOf(C),S=p?x.indexOf(p):-1,O=d.layersWithOutsidePointerEventsDisabled.size>0,k=S>=_,E=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Pe(e),r=g(!1),o=g((()=>{}));return v((()=>{const e=e=>{if(e.target&&!r.current){const a={originalEvent:e};function i(){Zr(Ur,n,a,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...d.branches].some((e=>e.contains(t)));k&&!n&&(null==i||i(e),null==u||u(e),e.defaultPrevented||null==l||l())}),m),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Pe(e),r=g(!1);return v((()=>{const e=e=>{if(e.target&&!r.current){Zr(Kr,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...d.branches].some((e=>e.contains(t)))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==l||l())}),m);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Pe(e);v((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{S===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),m),v((()=>{if(p)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&($r=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Gr(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=$r)}}),[p,m,r,d]),v((()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Gr())}),[p,d]),v((()=>{const e=()=>b({});return document.addEventListener(Vr,e),()=>document.removeEventListener(Vr,e)}),[]),s(Ie.div,we({},f,{ref:w,style:{pointerEvents:O?k?"auto":"none":void 0,...e.style},onFocusCapture:Me(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Me(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Me(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function Gr(){const e=new CustomEvent(Vr);document.dispatchEvent(e)}function Zr(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Le(o,i):o.dispatchEvent(i)}let Yr=0;function Xr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Jr="focusScope.autoFocusOnMount",Qr="focusScope.autoFocusOnUnmount",eo={bubbles:!1,cancelable:!0},to=f(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[c,l]=y(null),f=Pe(o),d=Pe(i),p=g(null),h=Se(t,(e=>l(e))),m=g({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v((()=>{if(r){function e(e){if(m.paused||!c)return;const t=e.target;c.contains(t)?p.current=t:io(p.current,{select:!0})}function t(e){!m.paused&&c&&(c.contains(e.relatedTarget)||io(p.current,{select:!0}))}return document.addEventListener("focusin",e),document.addEventListener("focusout",t),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[r,c,m.paused]),v((()=>{if(c){ao.add(m);const t=document.activeElement;if(!c.contains(t)){const n=new CustomEvent(Jr,eo);c.addEventListener(Jr,f),c.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(io(r,{select:t}),document.activeElement!==n)return}((e=no(c),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&io(c))}return()=>{c.removeEventListener(Jr,f),setTimeout((()=>{const e=new CustomEvent(Qr,eo);c.addEventListener(Qr,d),c.dispatchEvent(e),e.defaultPrevented||io(null!=t?t:document.body,{select:!0}),c.removeEventListener(Qr,d),ao.remove(m)}),0)}}var e}),[c,f,d,m]);const b=u((e=>{if(!n&&!r)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=no(e),n=ro(t,e),r=ro(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&io(i,{select:!0})):(e.preventDefault(),n&&io(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,m.paused]);return s(Ie.div,we({tabIndex:-1},a,{ref:h,onKeyDown:b}))}));function no(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ro(e,t){for(const n of e)if(!oo(n,{upTo:t}))return n}function oo(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function io(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const ao=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=so(e,t),e.unshift(t)},remove(t){var n;e=so(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function so(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function co(e){return e.split("-")[0]}function uo(e){return e.split("-")[1]}function lo(e){return["top","bottom"].includes(co(e))?"x":"y"}function fo(e){return"y"===e?"height":"width"}function po(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=lo(t),c=fo(s),u=r[c]/2-o[c]/2,l="x"===s;let f;switch(co(t)){case"top":f={x:i,y:r.y-o.height};break;case"bottom":f={x:i,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:a};break;case"left":f={x:r.x-o.width,y:a};break;default:f={x:r.x,y:r.y}}switch(uo(t)){case"start":f[s]-=u*(n&&l?-1:1);break;case"end":f[s]+=u*(n&&l?-1:1)}return f}function ho(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function go(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function vo(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,h=ho(p),g=s[d?"floating"===f?"reference":"floating":f],v=go(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:l,strategy:c})),y=go(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:c}):a[f]);return{top:v.top-y.top+h.top,bottom:y.bottom-v.bottom+h.bottom,left:v.left-y.left+h.left,right:y.right-v.right+h.right}}const yo=Math.min,mo=Math.max;function bo(e,t,n){return mo(e,yo(t,n))}const wo=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:a,rects:s,platform:c}=t;if(null==n)return"production"!==process.env.NODE_ENV&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const u=ho(r),l={x:o,y:i},f=lo(a),d=uo(a),p=fo(f),h=await c.getDimensions(n),g="y"===f?"top":"left",v="y"===f?"bottom":"right",y=s.reference[p]+s.reference[f]-l[f]-s.floating[p],m=l[f]-s.reference[f],b=await(null==c.getOffsetParent?void 0:c.getOffsetParent(n));let w=b?"y"===f?b.clientHeight||0:b.clientWidth||0:0;0===w&&(w=s.floating[p]);const x=y/2-m/2,C=u[g],_=w-h[p]-u[v],S=w/2-h[p]/2+x,O=bo(C,S,_),k=("start"===d?u[g]:u[v])>0&&S!==O&&s.reference[p]<=s.floating[p];return{[f]:l[f]-(k?S<C?C-S:_-S:0),data:{[f]:O,centerOffset:S-O}}}}),xo={left:"right",right:"left",bottom:"top",top:"bottom"};function Co(e){return e.replace(/left|right|bottom|top/g,(e=>xo[e]))}const _o={start:"end",end:"start"};function So(e){return e.replace(/start|end/g,(e=>_o[e]))}const Oo=["top","right","bottom","left"];const ko=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:l=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=e,g=co(r),v=f||(g===a||!p?[Co(a)]:function(e){const t=Co(e);return[So(e),t,So(t)]}(a)),y=[a,...v],m=await vo(t,h),b=[];let w=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&b.push(m[g]),l){const{main:e,cross:t}=function(e,t,n){void 0===n&&(n=!1);const r=uo(e),o=lo(e),i=fo(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Co(a)),{main:a,cross:Co(a)}}(r,i,await(null==s.isRTL?void 0:s.isRTL(c.floating)));b.push(m[e],m[t])}if(w=[...w,{placement:r,overflows:b}],!b.every((e=>e<=0))){var x,C;const e=(null!=(x=null==(C=o.flip)?void 0:C.index)?x:0)+1,t=y[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var _;const e=null==(_=w.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function Eo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function To(e){return Oo.some((t=>e[t]>=0))}const Ao=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=Eo(await vo(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:To(t)}}}case"escaped":{const t=Eo(await vo(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:To(t)}}}default:return{}}}}};const jo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=co(n),s=uo(n),c="x"===lo(n),u=["left","top"].includes(a)?-1:1,l=i&&c?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),c?{x:p*l,y:d*u}:{x:d*u,y:p*l}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Mo(e){return"x"===e?"y":"x"}const Po=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,u={x:n,y:r},l=await vo(t,c),f=lo(co(o)),d=Mo(f);let p=u[f],h=u[d];if(i){const e="y"===f?"bottom":"right";p=bo(p+l["y"===f?"top":"left"],p,p-l[e])}if(a){const e="y"===d?"bottom":"right";h=bo(h+l["y"===d?"top":"left"],h,h-l[e])}const g=s.fn({...t,[f]:p,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Do=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=e,l={x:n,y:r},f=lo(o),d=Mo(f);let p=l[f],h=l[d];const g="function"==typeof s?s({...i,placement:o}):s,v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+v.mainAxis,n=i.reference[f]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var y,m,b,w;const e="y"===f?"width":"height",t=["top","left"].includes(co(o)),n=i.reference[d]-i.floating[e]+(t&&null!=(y=null==(m=a.offset)?void 0:m[d])?y:0)+(t?0:v.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:null!=(b=null==(w=a.offset)?void 0:w[d])?b:0)-(t?v.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}},Io=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...s}=e,c=await vo(t,s),u=co(n),l=uo(n);let f,d;"top"===u||"bottom"===u?(f=u,d=l===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(d=u,f="end"===l?"top":"bottom");const p=mo(c.left,0),h=mo(c.right,0),g=mo(c.top,0),v=mo(c.bottom,0),y={availableHeight:r.floating.height-(["left","right"].includes(n)?2*(0!==g||0!==v?g+v:mo(c.top,c.bottom)):c[f]),availableWidth:r.floating.width-(["top","bottom"].includes(n)?2*(0!==p||0!==h?p+h:mo(c.left,c.right)):c[d])},m=await o.getDimensions(i.floating);null==a||a({...t,...y});const b=await o.getDimensions(i.floating);return m.width!==b.width||m.height!==b.height?{reset:{rects:!0}}:{}}}};function Lo(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ro(e){if(null==e)return window;if(!Lo(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function No(e){return Ro(e).getComputedStyle(e)}function Bo(e){return Lo(e)?"":e?(e.nodeName||"").toLowerCase():""}function Fo(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function zo(e){return e instanceof Ro(e).HTMLElement}function Ho(e){return e instanceof Ro(e).Element}function Vo(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ro(e).ShadowRoot||e instanceof ShadowRoot}function Uo(e){const{overflow:t,overflowX:n,overflowY:r}=No(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Ko(e){return["table","td","th"].includes(Bo(e))}function $o(e){const t=/firefox/i.test(Fo()),n=No(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Wo(){return!/^((?!chrome|android).)*safari/i.test(Fo())}const qo=Math.min,Go=Math.max,Zo=Math.round;function Yo(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let c=1,u=1;t&&zo(e)&&(c=e.offsetWidth>0&&Zo(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Zo(s.height)/e.offsetHeight||1);const l=Ho(e)?Ro(e):window,f=!Wo()&&n,d=(s.left+(f&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/c,p=(s.top+(f&&null!=(i=null==(a=l.visualViewport)?void 0:a.offsetTop)?i:0))/u,h=s.width/c,g=s.height/u;return{width:h,height:g,top:p,right:d+h,bottom:p+g,left:d,x:d,y:p}}function Xo(e){return(t=e,(t instanceof Ro(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Jo(e){return Ho(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Qo(e){return Yo(Xo(e)).left+Jo(e).scrollLeft}function ei(e,t,n){const r=zo(t),o=Xo(t),i=Yo(e,r&&function(e){const t=Yo(e);return Zo(t.width)!==e.offsetWidth||Zo(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Bo(t)||Uo(o))&&(a=Jo(t)),zo(t)){const e=Yo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=Qo(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function ti(e){return"html"===Bo(e)?e:e.assignedSlot||e.parentNode||(Vo(e)?e.host:null)||Xo(e)}function ni(e){return zo(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function ri(e){const t=Ro(e);let n=ni(e);for(;n&&Ko(n)&&"static"===getComputedStyle(n).position;)n=ni(n);return n&&("html"===Bo(n)||"body"===Bo(n)&&"static"===getComputedStyle(n).position&&!$o(n))?t:n||function(e){let t=ti(e);for(Vo(t)&&(t=t.host);zo(t)&&!["html","body"].includes(Bo(t));){if($o(t))return t;t=t.parentNode}return null}(e)||t}function oi(e){if(zo(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Yo(e);return{width:t.width,height:t.height}}function ii(e){const t=ti(e);return["html","body","#document"].includes(Bo(t))?e.ownerDocument.body:zo(t)&&Uo(t)?t:ii(t)}function ai(e,t){var n;void 0===t&&(t=[]);const r=ii(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ro(r),a=o?[i].concat(i.visualViewport||[],Uo(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ai(a))}function si(e,t,n){return"viewport"===t?go(function(e,t){const n=Ro(e),r=Xo(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=Wo();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}(e,n)):Ho(t)?function(e,t){const n=Yo(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):go(function(e){var t;const n=Xo(e),r=Jo(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Go(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Go(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+Qo(e);const c=-r.scrollTop;return"rtl"===No(o||n).direction&&(s+=Go(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(Xo(e)))}function ci(e){const t=ai(e),n=["absolute","fixed"].includes(No(e).position)&&zo(e)?ri(e):e;return Ho(n)?t.filter((e=>Ho(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Vo(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==Bo(e))):[]}const ui={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ci(t):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=si(t,n,o);return e.top=Go(r.top,e.top),e.right=qo(r.right,e.right),e.bottom=qo(r.bottom,e.bottom),e.left=Go(r.left,e.left),e}),si(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=zo(n),i=Xo(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Bo(n)||Uo(i))&&(a=Jo(n)),zo(n))){const e=Yo(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Ho,getDimensions:oi,getOffsetParent:ri,getDocumentElement:Xo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:ei(t,ri(n),r),floating:{...oi(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===No(e).direction};function li(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,c=o&&!s,u=i&&!s,l=c||u?[...Ho(e)?ai(e):[],...ai(t)]:[];l.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let f,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),Ho(e)&&!s&&d.observe(e),d.observe(t)}let p=s?Yo(e):null;return s&&function t(){const r=Yo(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n();p=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(f)}}const fi=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));if("production"!==process.env.NODE_ENV&&(null==a&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),i.filter((e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t})).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:l}=po(c,r,s),f=r,d={},p=0;for(let n=0;n<i.length;n++){const{name:h,fn:g}=i[n],{x:v,y:y,data:m,reset:b}=await g({x:u,y:l,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,l=null!=y?y:l,d={...d,[h]:{...d[h],...m}},"production"!==process.env.NODE_ENV&&p>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:l}=po(c,f,s))),n=-1)}return{x:u,y:l,placement:f,strategy:o,middlewareData:d}})(e,t,{platform:ui,...n});var di="undefined"!=typeof document?m:v;function pi(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!pi(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!pi(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function hi(e){let{middleware:t,placement:n="bottom",strategy:o="absolute",whileElementsMounted:i}=void 0===e?{}:e;const a=r.useRef(null),s=r.useRef(null),c=function(e){const t=r.useRef(e);return di((()=>{t.current=e})),t}(i),u=r.useRef(null),[l,f]=r.useState({x:null,y:null,strategy:o,placement:n,middlewareData:{}}),[d,p]=r.useState(t);pi(null==d?void 0:d.map((e=>{let{options:t}=e;return t})),null==t?void 0:t.map((e=>{let{options:t}=e;return t})))||p(t);const h=r.useCallback((()=>{a.current&&s.current&&fi(a.current,s.current,{middleware:d,placement:n,strategy:o}).then((e=>{g.current&&A.flushSync((()=>{f(e)}))}))}),[d,n,o]);di((()=>{g.current&&h()}),[h]);const g=r.useRef(!1);di((()=>(g.current=!0,()=>{g.current=!1})),[]);const v=r.useCallback((()=>{if("function"==typeof u.current&&(u.current(),u.current=null),a.current&&s.current)if(c.current){const e=c.current(a.current,s.current,h);u.current=e}else h()}),[h,c]),y=r.useCallback((e=>{a.current=e,v()}),[v]),m=r.useCallback((e=>{s.current=e,v()}),[v]),b=r.useMemo((()=>({reference:a,floating:s})),[]);return r.useMemo((()=>({...l,update:h,refs:b,reference:y,floating:m})),[l,h,b,y,m])}const gi=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return r=t,Object.prototype.hasOwnProperty.call(r,"current")?null!=t.current?wo({element:t.current,padding:n}).fn(e):{}:t?wo({element:t,padding:n}).fn(e):{};var r}}},vi=f(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return s(Ie.svg,we({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:s("polygon",{points:"0,0 30,0 15,10"}))}));const yi="Popper",[mi,bi]=xe(yi),[wi,xi]=mi(yi),Ci=f(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=xi("PopperAnchor",n),a=g(null),c=Se(t,a);return v((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:s(Ie.div,we({},o,{ref:c}))})),_i="PopperContent",[Si,Oi]=mi(_i),[ki,Ei]=mi(_i,{hasParent:!1,positionUpdateFns:new Set}),Ti=f(((e,t)=>{var n,r,o,i,a,c,u,l;const{__scopePopper:f,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:g=0,arrowPadding:v=0,collisionBoundary:b=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:C=!1,avoidCollisions:_=!0,onPlaced:S,...O}=e,k=xi(_i,f),[E,T]=y(null),A=Se(t,(e=>T(e))),[j,M]=y(null),P=function(e){const[t,n]=y(void 0);return Re((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(j),D=null!==(n=null==P?void 0:P.width)&&void 0!==n?n:0,I=null!==(r=null==P?void 0:P.height)&&void 0!==r?r:0,L=d+("center"!==h?"-"+h:""),R="number"==typeof w?w:{top:0,right:0,bottom:0,left:0,...w},N=Array.isArray(b)?b:[b],B=N.length>0,F={padding:R,boundary:N.filter(Mi),altBoundary:B},{reference:z,floating:H,strategy:V,x:U,y:K,placement:$,middlewareData:W,update:q}=hi({strategy:"fixed",placement:L,whileElementsMounted:li,middleware:[Pi(),jo({mainAxis:p+I,alignmentAxis:g}),_?Po({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?Do():void 0,...F}):void 0,j?gi({element:j,padding:v}):void 0,_?ko({...F}):void 0,Io({...F,apply:({elements:e,availableWidth:t,availableHeight:n})=>{e.floating.style.setProperty("--radix-popper-available-width",`${t}px`),e.floating.style.setProperty("--radix-popper-available-height",`${n}px`)}}),Di({arrowWidth:D,arrowHeight:I}),C?Ao({strategy:"referenceHidden"}):void 0].filter(ji)});Re((()=>{z(k.anchor)}),[z,k.anchor]);const G=null!==U&&null!==K,[Z,Y]=Ii($),X=Pe(S);Re((()=>{G&&(null==X||X())}),[G,X]);const J=null===(o=W.arrow)||void 0===o?void 0:o.x,Q=null===(i=W.arrow)||void 0===i?void 0:i.y,ee=0!==(null===(a=W.arrow)||void 0===a?void 0:a.centerOffset),[te,ne]=y();Re((()=>{E&&ne(window.getComputedStyle(E).zIndex)}),[E]);const{hasParent:re,positionUpdateFns:oe}=Ei(_i,f),ie=!re;m((()=>{if(!ie)return oe.add(q),()=>{oe.delete(q)}}),[ie,oe,q]),Re((()=>{ie&&G&&Array.from(oe).reverse().forEach((e=>requestAnimationFrame(e)))}),[ie,G,oe]);const ae={"data-side":Z,"data-align":Y,...O,ref:A,style:{...O.style,animation:G?void 0:"none",opacity:null!==(c=W.hide)&&void 0!==c&&c.referenceHidden?0:void 0}};return s("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:G?`translate3d(${Math.round(U)}px, ${Math.round(K)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:te,"--radix-popper-transform-origin":[null===(u=W.transformOrigin)||void 0===u?void 0:u.x,null===(l=W.transformOrigin)||void 0===l?void 0:l.y].join(" ")},dir:e.dir},s(Si,{scope:f,placedSide:Z,onArrowChange:M,arrowX:J,arrowY:Q,shouldHideArrow:ee},ie?s(ki,{scope:f,hasParent:!0,positionUpdateFns:oe},s(Ie.div,ae)):s(Ie.div,ae)))})),Ai={top:"bottom",right:"left",bottom:"top",left:"right"};function ji(e){return void 0!==e}function Mi(e){return null!==e}const Pi=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:o}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),Di=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:c,middlewareData:u}=t,l=0!==(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset),f=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[p,h]=Ii(s),g={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,y=(null!==(i=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2;let m="",b="";return"bottom"===p?(m=l?g:`${v}px`,b=-d+"px"):"top"===p?(m=l?g:`${v}px`,b=`${c.floating.height+d}px`):"right"===p?(m=-d+"px",b=l?g:`${y}px`):"left"===p&&(m=`${c.floating.width+d}px`,b=l?g:`${y}px`),{data:{x:m,y:b}}}});function Ii(e){const[t,n="center"]=e.split("-");return[t,n]}const Li=e=>{const{__scopePopper:t,children:n}=e,[r,o]=y(null);return s(wi,{scope:t,anchor:r,onAnchorChange:o},n)},Ri=Ci,Ni=Ti,Bi=f((function(e,t){const{__scopePopper:n,...r}=e,o=Oi("PopperArrow",n),i=Ai[o.placedSide];return s("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},s(vi,we({},r,{ref:t,style:{...r.style,display:"block"}})))})),Fi=f(((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?j.createPortal(s(Ie.div,we({},o,{ref:t})),r):null})),zi="rovingFocusGroup.onEntryFocus",Hi={bubbles:!1,cancelable:!0},Vi="RovingFocusGroup",[Ui,Ki,$i]=je(Vi),[Wi,qi]=xe(Vi,[$i]),[Gi,Zi]=Wi(Vi),Yi=f(((e,t)=>s(Ui.Provider,{scope:e.__scopeRovingFocusGroup},s(Ui.Slot,{scope:e.__scopeRovingFocusGroup},s(Xi,we({},e,{ref:t})))))),Xi=f(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:l,onEntryFocus:f,...d}=e,p=g(null),h=Se(t,p),m=rt(i),[b=null,w]=De({prop:a,defaultProp:c,onChange:l}),[x,C]=y(!1),_=Pe(f),S=Ki(n),O=g(!1),[k,E]=y(0);return v((()=>{const e=p.current;if(e)return e.addEventListener(zi,_),()=>e.removeEventListener(zi,_)}),[_]),s(Gi,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:b,onItemFocus:u((e=>w(e)),[w]),onItemShiftTab:u((()=>C(!0)),[]),onFocusableItemAdd:u((()=>E((e=>e+1))),[]),onFocusableItemRemove:u((()=>E((e=>e-1))),[])},s(Ie.div,we({tabIndex:x||0===k?-1:0,"data-orientation":r},d,{ref:h,style:{outline:"none",...e.style},onMouseDown:Me(e.onMouseDown,(()=>{O.current=!0})),onFocus:Me(e.onFocus,(e=>{const t=!O.current;if(e.target===e.currentTarget&&t&&!x){const t=new CustomEvent(zi,Hi);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=S().filter((e=>e.focusable));ea([e.find((e=>e.active)),e.find((e=>e.id===b)),...e].filter(Boolean).map((e=>e.ref.current)))}}O.current=!1})),onBlur:Me(e.onBlur,(()=>C(!1)))})))})),Ji=f(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,c=He(),u=i||c,l=Zi("RovingFocusGroupItem",n),f=l.currentTabStopId===u,d=Ki(n),{onFocusableItemAdd:p,onFocusableItemRemove:h}=l;return v((()=>{if(r)return p(),()=>h()}),[r,p,h]),s(Ui.ItemSlot,{scope:n,id:u,focusable:r,active:o},s(Ie.span,we({tabIndex:f?0:-1,"data-orientation":l.orientation},a,{ref:t,onMouseDown:Me(e.onMouseDown,(e=>{r?l.onItemFocus(u):e.preventDefault()})),onFocus:Me(e.onFocus,(()=>l.onItemFocus(u))),onKeyDown:Me(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void l.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:Qi[r]}(e,l.orientation,l.dir);if(void 0!==t){e.preventDefault();let n=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();const r=n.indexOf(e.currentTarget);n=l.loop?function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(n,r+1):n.slice(r+1)}setTimeout((()=>ea(n)))}}))})))})),Qi={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ea(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}const ta=Yi,na=Ji;var ra=new WeakMap,oa=new WeakMap,ia={},aa=0,sa=function(e){return e&&(e.host||sa(e.parentNode))},ca=function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=sa(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);ia[n]||(ia[n]=new WeakMap);var i=ia[n],a=[],s=new Set,c=new Set(o),u=function(e){e&&!s.has(e)&&(s.add(e),u(e.parentNode))};o.forEach(u);var l=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))l(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(ra.get(e)||0)+1,u=(i.get(e)||0)+1;ra.set(e,c),i.set(e,u),a.push(e),1===c&&o&&oa.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}}))};return l(t),s.clear(),aa++,function(){a.forEach((function(e){var t=ra.get(e)-1,o=i.get(e)-1;ra.set(e,t),i.set(e,o),t||(oa.has(e)||e.removeAttribute(r),oa.delete(e)),o||e.removeAttribute(n)})),--aa||(ra=new WeakMap,ra=new WeakMap,oa=new WeakMap,ia={})}},ua=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ca(r,o,n,"aria-hidden")):function(){return null}},la="right-scroll-bar-position",fa="width-before-scroll-bar";function da(e,t){return n=t||null,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},o=y((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0],o.callback=r,o.facade;var n,r,o}function pa(e){return e}var ha=function(e){var t=e.sideCar,n=I(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return r.createElement(o,D({},n))};ha.isSideCarExport=!0;var ga=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=pa);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=D({async:!0,ssr:!1},e),t}(),va=function(){},ya=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:va,onWheelCapture:va,onTouchMoveCapture:va}),i=o[0],a=o[1],s=e.forwardProps,c=e.children,u=e.className,l=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,v=e.allowPinchZoom,y=e.as,m=void 0===y?"div":y,b=I(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=da([n,t]),C=D(D({},b),i);return r.createElement(r.Fragment,null,f&&r.createElement(w,{sideCar:ga,removeScrollBar:l,shards:d,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!v,lockRef:n}),s?r.cloneElement(r.Children.only(c),D(D({},C),{ref:x})):r.createElement(m,D({},C,{className:u,ref:x}),c))}));ya.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ya.classNames={fullWidth:fa,zeroRight:la};var ma=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__};var ba=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ma();return t&&e.setAttribute("nonce",t),e}())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},wa=function(){var e,t=(e=ba(),function(t,n){r.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},xa={left:0,top:0,right:0,gap:0},Ca=function(e){return parseInt(e||"",10)||0},_a=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return xa;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ca(n),Ca(r),Ca(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Sa=wa(),Oa=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(la," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(fa," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(la," .").concat(la," {\n right: 0 ").concat(r,";\n }\n \n .").concat(fa," .").concat(fa," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},ka=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o,a=r.useMemo((function(){return _a(i)}),[i]);return r.createElement(Sa,{styles:Oa(a,!t,i,n?"":"!important")})},Ea=!1;if("undefined"!=typeof window)try{var Ta=Object.defineProperty({},"passive",{get:function(){return Ea=!0,!0}});window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch(e){Ea=!1}var Aa=!!Ea&&{passive:!1},ja=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Ma=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Pa(e,n)){var r=Da(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Pa=function(e,t){return"v"===e?function(e){return ja(e,"overflowY")}(t):function(e){return ja(e,"overflowX")}(t)},Da=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Ia=function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,c=t.contains(s),u=!1,l=a>0,f=0,d=0;do{var p=Da(e,s),h=p[0],g=p[1]-p[2]-i*h;(h||g)&&Pa(e,s)&&(f+=g,d+=h),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(l&&(o&&0===f||!o&&a>f)||!l&&(o&&0===d||!o&&-a>d))&&(u=!0),u},La=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ra=function(e){return[e.deltaX,e.deltaY]},Na=function(e){return e&&"current"in e?e.current:e},Ba=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Fa=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},za=0,Ha=[];var Va,Ua=(Va=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState(za++)[0],a=r.useState((function(){return wa()}))[0],s=r.useRef(e);r.useEffect((function(){s.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Na),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(i))})),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(i))}))}}}),[e.inert,e.lockRef.current,e.shards]);var c=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=La(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,f=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===l.type)return!1;var d=Ma(f,l);if(!d)return!0;if(d?r=f:(r="v"===f?"h":"v",d=Ma(f,l)),!d)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=r),!r)return!0;var p=o.current||r;return Ia(p,t,e,"h"===p?c:u,!0)}),[]),u=r.useCallback((function(e){var n=e;if(Ha.length&&Ha[Ha.length-1]===a){var r="deltaY"in n?Ra(n):La(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&Ba(e.delta,r)}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(s.current.shards||[]).map(Na).filter(Boolean).filter((function(e){return e.contains(n.target)}));(i.length>0?c(n,i[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),l=r.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),f=r.useCallback((function(e){n.current=La(e),o.current=void 0}),[]),d=r.useCallback((function(t){l(t.type,Ra(t),t.target,c(t,e.lockRef.current))}),[]),p=r.useCallback((function(t){l(t.type,La(t),t.target,c(t,e.lockRef.current))}),[]);r.useEffect((function(){return Ha.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Aa),document.addEventListener("touchmove",u,Aa),document.addEventListener("touchstart",f,Aa),function(){Ha=Ha.filter((function(e){return e!==a})),document.removeEventListener("wheel",u,Aa),document.removeEventListener("touchmove",u,Aa),document.removeEventListener("touchstart",f,Aa)}}),[]);var h=e.removeScrollBar,g=e.inert;return r.createElement(r.Fragment,null,g?r.createElement(a,{styles:Fa(i)}):null,h?r.createElement(ka,{gapMode:"margin"}):null)},ga.useMedium(Va),ha),Ka=r.forwardRef((function(e,t){return r.createElement(ya,D({},e,{ref:t,sideCar:Ua}))}));Ka.classNames=ya.classNames;var $a=Ka;const Wa=["Enter"," "],qa=["ArrowUp","PageDown","End"],Ga=["ArrowDown","PageUp","Home",...qa],Za={ltr:[...Wa,"ArrowRight"],rtl:[...Wa,"ArrowLeft"]},Ya={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Xa="Menu",[Ja,Qa,es]=je(Xa),[ts,ns]=xe(Xa,[es,bi,qi]),rs=bi(),os=qi(),[is,as]=ts(Xa),[ss,cs]=ts(Xa),us=f(((e,t)=>{const{__scopeMenu:n,...r}=e,o=rs(n);return s(Ri,we({},o,r,{ref:t}))})),ls="MenuPortal",[fs,ds]=ts(ls,{forceMount:void 0}),ps="MenuContent",[hs,gs]=ts(ps),vs=f(((e,t)=>{const n=ds(ps,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=as(ps,e.__scopeMenu),a=cs(ps,e.__scopeMenu);return s(Ja.Provider,{scope:e.__scopeMenu},s(Ne,{present:r||i.open},s(Ja.Slot,{scope:e.__scopeMenu},a.modal?s(ys,we({},o,{ref:t})):s(ms,we({},o,{ref:t})))))})),ys=f(((e,t)=>{const n=as(ps,e.__scopeMenu),r=g(null),o=Se(t,r);return v((()=>{const e=r.current;if(e)return ua(e)}),[]),s(bs,we({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Me(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),ms=f(((e,t)=>{const n=as(ps,e.__scopeMenu);return s(bs,we({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),bs=f(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:c,onEntryFocus:f,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:b,disableOutsideScroll:w,...x}=e,C=as(ps,n),_=cs(ps,n),S=rs(n),O=os(n),k=Qa(n),[E,T]=y(null),A=g(null),j=Se(t,A,C.onContentChange),M=g(0),P=g(""),D=g(0),I=g(null),L=g("right"),R=g(0),N=w?$a:l,B=w?{as:Oe,allowPinchZoom:!0}:void 0,F=e=>{var t,n;const r=P.current+e,o=k().filter((e=>!e.disabled)),i=document.activeElement,a=null===(t=o.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,s=function(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0])),o=r?t[0]:t,i=n?e.indexOf(n):-1;let a=function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(e,Math.max(i,0));1===o.length&&(a=a.filter((e=>e!==n)));const s=a.find((e=>e.toLowerCase().startsWith(o.toLowerCase())));return s!==n?s:void 0}(o.map((e=>e.textValue)),r,a),c=null===(n=o.find((e=>e.textValue===s)))||void 0===n?void 0:n.ref.current;!function e(t){P.current=t,window.clearTimeout(M.current),""!==t&&(M.current=window.setTimeout((()=>e("")),1e3))}(r),c&&setTimeout((()=>c.focus()))};v((()=>()=>window.clearTimeout(M.current)),[]),v((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Xr()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Xr()),Yr++,()=>{1===Yr&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),Yr--}}),[]);const z=u((e=>{var t,n;return L.current===(null===(t=I.current)||void 0===t?void 0:t.side)&&function(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,c=t[i].x,u=t[i].y;s>r!=u>r&&n<(c-a)*(r-s)/(u-s)+a&&(o=!o)}return o}(n,t)}(e,null===(n=I.current)||void 0===n?void 0:n.area)}),[]);return s(hs,{scope:n,searchRef:P,onItemEnter:u((e=>{z(e)&&e.preventDefault()}),[z]),onItemLeave:u((e=>{var t;z(e)||(null===(t=A.current)||void 0===t||t.focus(),T(null))}),[z]),onTriggerLeave:u((e=>{z(e)&&e.preventDefault()}),[z]),pointerGraceTimerRef:D,onPointerGraceIntentChange:u((e=>{I.current=e}),[])},s(N,B,s(to,{asChild:!0,trapped:o,onMountAutoFocus:Me(i,(e=>{var t;e.preventDefault(),null===(t=A.current)||void 0===t||t.focus()})),onUnmountAutoFocus:a},s(qr,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:b},s(ta,we({asChild:!0},O,{dir:_.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:T,onEntryFocus:Me(f,(e=>{_.isUsingKeyboardRef.current||e.preventDefault()}))}),s(Ni,we({role:"menu","aria-orientation":"vertical","data-state":js(C.open),"data-radix-menu-content":"",dir:_.dir},S,x,{ref:j,style:{outline:"none",...x.style},onKeyDown:Me(x.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&F(e.key));const o=A.current;if(e.target!==o)return;if(!Ga.includes(e.key))return;e.preventDefault();const i=k().filter((e=>!e.disabled)).map((e=>e.ref.current));qa.includes(e.key)&&i.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(i)})),onBlur:Me(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(M.current),P.current="")})),onPointerMove:Me(e.onPointerMove,Ms((e=>{const t=e.target,n=R.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>R.current?"right":"left";L.current=t,R.current=e.clientX}})))})))))))})),ws="MenuItem",xs="menu.itemSelect",Cs=f(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=g(null),a=cs(ws,e.__scopeMenu),c=gs(ws,e.__scopeMenu),u=Se(t,i),l=g(!1);return s(_s,we({},o,{ref:u,disabled:n,onClick:Me(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(xs,{bubbles:!0,cancelable:!0});e.addEventListener(xs,(e=>null==r?void 0:r(e)),{once:!0}),Le(e,t),t.defaultPrevented?l.current=!1:a.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),l.current=!0},onPointerUp:Me(e.onPointerUp,(e=>{var t;l.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:Me(e.onKeyDown,(e=>{const t=""!==c.searchRef.current;n||t&&" "===e.key||Wa.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),_s=f(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=gs(ws,n),c=os(n),u=g(null),l=Se(t,u),[f,d]=y(!1),[p,h]=y("");return v((()=>{const e=u.current;var t;e&&h((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[i.children]),s(Ja.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:p},s(na,we({asChild:!0},c,{focusable:!r}),s(Ie.div,we({role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:l,onPointerMove:Me(e.onPointerMove,Ms((e=>{if(r)a.onItemLeave(e);else if(a.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus()}}))),onPointerLeave:Me(e.onPointerLeave,Ms((e=>a.onItemLeave(e)))),onFocus:Me(e.onFocus,(()=>d(!0))),onBlur:Me(e.onBlur,(()=>d(!1)))}))))}));ts("MenuRadioGroup",{value:void 0,onValueChange:()=>{}});ts("MenuItemIndicator",{checked:!1});const Ss=f(((e,t)=>{const{__scopeMenu:n,...r}=e;return s(Ie.div,we({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))})),Os=f(((e,t)=>{const{__scopeMenu:n,...r}=e,o=rs(n);return s(Bi,we({},o,r,{ref:t}))})),ks="MenuSub",[Es,Ts]=ts(ks),As="MenuSubTrigger";function js(e){return e?"open":"closed"}function Ms(e){return t=>"mouse"===t.pointerType?e(t):void 0}const Ps=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,c=rs(t),[l,f]=y(null),d=g(!1),p=Pe(i),h=rt(o);return v((()=>{const e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}}),[]),s(Li,c,s(is,{scope:t,open:n,onOpenChange:p,content:l,onContentChange:f},s(ss,{scope:t,onClose:u((()=>p(!1)),[p]),isUsingKeyboardRef:d,dir:h,modal:a},r)))},Ds=us,Is=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=as(ls,t);return s(fs,{scope:t,forceMount:n},s(Ne,{present:n||i.open},s(Fi,{asChild:!0,container:o},r)))},Ls=vs,Rs=Cs,Ns=Ss,Bs=Os,Fs=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=as(ks,t),a=rs(t),[c,u]=y(null),[l,f]=y(null),d=Pe(o);return v((()=>(!1===i.open&&d(!1),()=>d(!1))),[i.open,d]),s(Li,a,s(is,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:f},s(Es,{scope:t,contentId:He(),triggerId:He(),trigger:c,onTriggerChange:u},n)))},zs=f(((e,t)=>{const n=as(As,e.__scopeMenu),r=cs(As,e.__scopeMenu),o=Ts(As,e.__scopeMenu),i=gs(As,e.__scopeMenu),a=g(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:l}=i,f={__scopeMenu:e.__scopeMenu},d=u((()=>{a.current&&window.clearTimeout(a.current),a.current=null}),[]);return v((()=>d),[d]),v((()=>{const e=c.current;return()=>{window.clearTimeout(e),l(null)}}),[c,l]),s(us,we({asChild:!0},f),s(_s,we({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":js(n.open)},e,{ref:_e(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Me(e.onPointerMove,Ms((t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||a.current||(i.onPointerGraceIntentChange(null),a.current=window.setTimeout((()=>{n.onOpenChange(!0),d()}),100))}))),onPointerLeave:Me(e.onPointerLeave,Ms((e=>{var t;d();const r=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(r){var o;const t=null===(o=n.content)||void 0===o?void 0:o.dataset.side,a="right"===t,s=a?-5:5,u=r[a?"left":"right"],l=r[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+s,y:e.clientY},{x:u,y:r.top},{x:l,y:r.top},{x:l,y:r.bottom},{x:u,y:r.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout((()=>i.onPointerGraceIntentChange(null)),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}}))),onKeyDown:Me(e.onKeyDown,(t=>{const o=""!==i.searchRef.current;var a;e.disabled||o&&" "===t.key||Za[r.dir].includes(t.key)&&(n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault())}))})))})),Hs=f(((e,t)=>{const n=ds(ps,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=as(ps,e.__scopeMenu),a=cs(ps,e.__scopeMenu),c=Ts("MenuSubContent",e.__scopeMenu),u=g(null),l=Se(t,u);return s(Ja.Provider,{scope:e.__scopeMenu},s(Ne,{present:r||i.open},s(Ja.Slot,{scope:e.__scopeMenu},s(bs,we({id:c.contentId,"aria-labelledby":c.triggerId},o,{ref:l,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;a.isUsingKeyboardRef.current&&(null===(t=u.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:Me(e.onFocusOutside,(e=>{e.target!==c.trigger&&i.onOpenChange(!1)})),onEscapeKeyDown:Me(e.onEscapeKeyDown,(e=>{a.onClose(),e.preventDefault()})),onKeyDown:Me(e.onKeyDown,(e=>{const t=e.currentTarget.contains(e.target),n=Ya[a.dir].includes(e.key);var r;t&&n&&(i.onOpenChange(!1),null===(r=c.trigger)||void 0===r||r.focus(),e.preventDefault())}))})))))})),Vs="DropdownMenu",[Us,Ks]=xe(Vs,[ns]),$s=ns(),[Ws,qs]=Us(Vs),Gs=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:c=!0}=e,l=$s(t),f=g(null),[d=!1,p]=De({prop:o,defaultProp:i,onChange:a});return s(Ws,{scope:t,triggerId:He(),triggerRef:f,contentId:He(),open:d,onOpenChange:p,onOpenToggle:u((()=>p((e=>!e))),[p]),modal:c},s(Ps,we({},l,{open:d,onOpenChange:p,dir:r,modal:c}),n))},Zs=f(((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=qs("DropdownMenuTrigger",n),a=$s(n);return s(Ds,we({asChild:!0},a),s(Ie.button,we({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:_e(t,i.triggerRef),onPointerDown:Me(e.onPointerDown,(e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())})),onKeyDown:Me(e.onKeyDown,(e=>{r||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})))})),Ys=e=>{const{__scopeDropdownMenu:t,...n}=e,r=$s(t);return s(Is,we({},r,n))},Xs=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qs("DropdownMenuContent",n),i=$s(n),a=g(!1);return s(Ls,we({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:Me(e.onCloseAutoFocus,(e=>{var t;a.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()})),onInteractOutside:Me(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.modal&&!r||(a.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),Js=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Rs,we({},o,r,{ref:t}))})),Qs=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Ns,we({},o,r,{ref:t}))})),ec=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Bs,we({},o,r,{ref:t}))})),tc=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=$s(t),[c=!1,u]=De({prop:r,defaultProp:i,onChange:o});return s(Fs,we({},a,{open:c,onOpenChange:u}),n)},nc=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(zs,we({},o,r,{ref:t}))})),rc=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Hs,we({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}));var oc,ic={},ac={exports:{}},sc={};var cc,uc={};
|
|
9
|
+
*/Bt=zt,Ft=zt.exports,function(){var e,t=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",o="Invalid `variable` option passed into `_.template`",i="__lodash_hash_undefined__",a=500,s="__lodash_placeholder__",c=1,u=2,l=4,f=1,d=2,p=1,h=2,g=4,v=8,y=16,m=32,b=64,w=128,x=256,C=512,_=30,S="...",O=800,k=16,E=1,T=2,A=1/0,j=9007199254740991,M=17976931348623157e292,P=NaN,D=4294967295,I=D-1,L=D>>>1,R=[["ary",w],["bind",p],["bindKey",h],["curry",v],["curryRight",y],["flip",C],["partial",m],["partialRight",b],["rearg",x]],N="[object Arguments]",B="[object Array]",F="[object AsyncFunction]",z="[object Boolean]",H="[object Date]",V="[object DOMException]",U="[object Error]",K="[object Function]",$="[object GeneratorFunction]",W="[object Map]",q="[object Number]",G="[object Null]",Z="[object Object]",Y="[object Promise]",X="[object Proxy]",J="[object RegExp]",Q="[object Set]",ee="[object String]",te="[object Symbol]",ne="[object Undefined]",re="[object WeakMap]",oe="[object WeakSet]",ie="[object ArrayBuffer]",ae="[object DataView]",se="[object Float32Array]",ce="[object Float64Array]",ue="[object Int8Array]",le="[object Int16Array]",fe="[object Int32Array]",de="[object Uint8Array]",pe="[object Uint8ClampedArray]",he="[object Uint16Array]",ge="[object Uint32Array]",ve=/\b__p \+= '';/g,ye=/\b(__p \+=) '' \+/g,me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,be=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,xe=RegExp(be.source),Ce=RegExp(we.source),_e=/<%-([\s\S]+?)%>/g,Se=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ee=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/[\\^$.*+?()[\]{}|]/g,je=RegExp(Ae.source),Me=/^\s+/,Pe=/\s/,De=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ie=/\{\n\/\* \[wrapped with (.+)\] \*/,Le=/,? & /,Re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ne=/[()=,{}\[\]\/\s]/,Be=/\\(\\)?/g,Fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,Ue=/^\[object .+?Constructor\]$/,Ke=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,We=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qe=/($^)/,Ge=/['\n\r\u2028\u2029\\]/g,Ze="\\ud800-\\udfff",Ye="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xe="\\u2700-\\u27bf",Je="a-z\\xdf-\\xf6\\xf8-\\xff",Qe="A-Z\\xc0-\\xd6\\xd8-\\xde",et="\\ufe0e\\ufe0f",tt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nt="['’]",rt="["+Ze+"]",ot="["+tt+"]",it="["+Ye+"]",at="\\d+",st="["+Xe+"]",ct="["+Je+"]",ut="[^"+Ze+tt+at+Xe+Je+Qe+"]",lt="\\ud83c[\\udffb-\\udfff]",ft="[^"+Ze+"]",dt="(?:\\ud83c[\\udde6-\\uddff]){2}",pt="[\\ud800-\\udbff][\\udc00-\\udfff]",ht="["+Qe+"]",gt="\\u200d",vt="(?:"+ct+"|"+ut+")",yt="(?:"+ht+"|"+ut+")",mt="(?:['’](?:d|ll|m|re|s|t|ve))?",bt="(?:['’](?:D|LL|M|RE|S|T|VE))?",wt="(?:"+it+"|"+lt+")?",xt="["+et+"]?",Ct=xt+wt+"(?:"+gt+"(?:"+[ft,dt,pt].join("|")+")"+xt+wt+")*",_t="(?:"+[st,dt,pt].join("|")+")"+Ct,St="(?:"+[ft+it+"?",it,dt,pt,rt].join("|")+")",Ot=RegExp(nt,"g"),kt=RegExp(it,"g"),Et=RegExp(lt+"(?="+lt+")|"+St+Ct,"g"),Tt=RegExp([ht+"?"+ct+"+"+mt+"(?="+[ot,ht,"$"].join("|")+")",yt+"+"+bt+"(?="+[ot,ht+vt,"$"].join("|")+")",ht+"?"+vt+"+"+mt,ht+"+"+bt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",at,_t].join("|"),"g"),At=RegExp("["+gt+Ze+Ye+et+"]"),jt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pt=-1,Dt={};Dt[se]=Dt[ce]=Dt[ue]=Dt[le]=Dt[fe]=Dt[de]=Dt[pe]=Dt[he]=Dt[ge]=!0,Dt[N]=Dt[B]=Dt[ie]=Dt[z]=Dt[ae]=Dt[H]=Dt[U]=Dt[K]=Dt[W]=Dt[q]=Dt[Z]=Dt[J]=Dt[Q]=Dt[ee]=Dt[re]=!1;var It={};It[N]=It[B]=It[ie]=It[ae]=It[z]=It[H]=It[se]=It[ce]=It[ue]=It[le]=It[fe]=It[W]=It[q]=It[Z]=It[J]=It[Q]=It[ee]=It[te]=It[de]=It[pe]=It[he]=It[ge]=!0,It[U]=It[K]=It[re]=!1;var Rt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nt=parseFloat,zt=parseInt,Ht="object"==typeof Lt&&Lt&&Lt.Object===Object&&Lt,Vt="object"==typeof self&&self&&self.Object===Object&&self,Ut=Ht||Vt||Function("return this")(),Kt=Ft&&!Ft.nodeType&&Ft,$t=Kt&&Bt&&!Bt.nodeType&&Bt,Wt=$t&&$t.exports===Kt,qt=Wt&&Ht.process,Gt=function(){try{var e=$t&&$t.require&&$t.require("util").types;return e||qt&&qt.binding&&qt.binding("util")}catch(e){}}(),Zt=Gt&&Gt.isArrayBuffer,Yt=Gt&&Gt.isDate,Xt=Gt&&Gt.isMap,Jt=Gt&&Gt.isRegExp,Qt=Gt&&Gt.isSet,en=Gt&&Gt.isTypedArray;function tn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function nn(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function rn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function on(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function an(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function sn(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function cn(e,t){return!(null==e||!e.length)&&mn(e,t,0)>-1}function un(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function ln(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function fn(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function dn(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function pn(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function hn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var gn=Cn("length");function vn(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function yn(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function mn(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):yn(e,wn,n)}function bn(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function wn(e){return e!=e}function xn(e,t){var n=null==e?0:e.length;return n?On(e,t)/n:P}function Cn(t){return function(n){return null==n?e:n[t]}}function _n(t){return function(n){return null==t?e:t[n]}}function Sn(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function On(t,n){for(var r,o=-1,i=t.length;++o<i;){var a=n(t[o]);a!==e&&(r=r===e?a:r+a)}return r}function kn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function En(e){return e?e.slice(0,Kn(e)+1).replace(Me,""):e}function Tn(e){return function(t){return e(t)}}function An(e,t){return ln(t,(function(t){return e[t]}))}function jn(e,t){return e.has(t)}function Mn(e,t){for(var n=-1,r=e.length;++n<r&&mn(t,e[n],0)>-1;);return n}function Pn(e,t){for(var n=e.length;n--&&mn(t,e[n],0)>-1;);return n}var Dn=_n({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),In=_n({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ln(e){return"\\"+Rt[e]}function Rn(e){return At.test(e)}function Nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Bn(e,t){return function(n){return e(t(n))}}function Fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function zn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Vn(e){return Rn(e)?function(e){for(var t=Et.lastIndex=0;Et.test(e);)++t;return t}(e):gn(e)}function Un(e){return Rn(e)?function(e){return e.match(Et)||[]}(e):function(e){return e.split("")}(e)}function Kn(e){for(var t=e.length;t--&&Pe.test(e.charAt(t)););return t}var $n=_n({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Wn=function Pe(Ze){var Ye,Xe=(Ze=null==Ze?Ut:Wn.defaults(Ut.Object(),Ze,Wn.pick(Ut,Mt))).Array,Je=Ze.Date,Qe=Ze.Error,et=Ze.Function,tt=Ze.Math,nt=Ze.Object,rt=Ze.RegExp,ot=Ze.String,it=Ze.TypeError,at=Xe.prototype,st=et.prototype,ct=nt.prototype,ut=Ze["__core-js_shared__"],lt=st.toString,ft=ct.hasOwnProperty,dt=0,pt=(Ye=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+Ye:"",ht=ct.toString,gt=lt.call(nt),vt=Ut._,yt=rt("^"+lt.call(ft).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=Wt?Ze.Buffer:e,bt=Ze.Symbol,wt=Ze.Uint8Array,xt=mt?mt.allocUnsafe:e,Ct=Bn(nt.getPrototypeOf,nt),_t=nt.create,St=ct.propertyIsEnumerable,Et=at.splice,At=bt?bt.isConcatSpreadable:e,Lt=bt?bt.iterator:e,Rt=bt?bt.toStringTag:e,Bt=function(){try{var e=Vi(nt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ft=Ze.clearTimeout!==Ut.clearTimeout&&Ze.clearTimeout,Ht=Je&&Je.now!==Ut.Date.now&&Je.now,Vt=Ze.setTimeout!==Ut.setTimeout&&Ze.setTimeout,Kt=tt.ceil,$t=tt.floor,qt=nt.getOwnPropertySymbols,Gt=mt?mt.isBuffer:e,gn=Ze.isFinite,_n=at.join,qn=Bn(nt.keys,nt),Gn=tt.max,Zn=tt.min,Yn=Je.now,Xn=Ze.parseInt,Jn=tt.random,Qn=at.reverse,er=Vi(Ze,"DataView"),tr=Vi(Ze,"Map"),nr=Vi(Ze,"Promise"),rr=Vi(Ze,"Set"),or=Vi(Ze,"WeakMap"),ir=Vi(nt,"create"),ar=or&&new or,sr={},cr=ha(er),ur=ha(tr),lr=ha(nr),fr=ha(rr),dr=ha(or),pr=bt?bt.prototype:e,hr=pr?pr.valueOf:e,gr=pr?pr.toString:e;function vr(e){if(Ms(e)&&!ws(e)&&!(e instanceof wr)){if(e instanceof br)return e;if(ft.call(e,"__wrapped__"))return ga(e)}return new br(e)}var yr=function(){function t(){}return function(n){if(!js(n))return{};if(_t)return _t(n);t.prototype=n;var r=new t;return t.prototype=e,r}}();function mr(){}function br(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=e}function wr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=D,this.__views__=[]}function xr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Cr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Sr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _r;++t<n;)this.add(e[t])}function Or(e){var t=this.__data__=new Cr(e);this.size=t.size}function kr(e,t){var n=ws(e),r=!n&&bs(e),o=!n&&!r&&Ss(e),i=!n&&!r&&!o&&Fs(e),a=n||r||o||i,s=a?kn(e.length,ot):[],c=s.length;for(var u in e)!t&&!ft.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Zi(u,c))||s.push(u);return s}function Er(t){var n=t.length;return n?t[Oo(0,n-1)]:e}function Tr(e,t){return fa(ai(e),Nr(t,0,e.length))}function Ar(e){return fa(ai(e))}function jr(t,n,r){(r!==e&&!vs(t[n],r)||r===e&&!(n in t))&&Lr(t,n,r)}function Mr(t,n,r){var o=t[n];ft.call(t,n)&&vs(o,r)&&(r!==e||n in t)||Lr(t,n,r)}function Pr(e,t){for(var n=e.length;n--;)if(vs(e[n][0],t))return n;return-1}function Dr(e,t,n,r){return Vr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Ir(e,t){return e&&si(t,sc(t),e)}function Lr(e,t,n){"__proto__"==t&&Bt?Bt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Rr(t,n){for(var r=-1,o=n.length,i=Xe(o),a=null==t;++r<o;)i[r]=a?e:nc(t,n[r]);return i}function Nr(t,n,r){return t==t&&(r!==e&&(t=t<=r?t:r),n!==e&&(t=t>=n?t:n)),t}function Br(t,n,r,o,i,a){var s,f=n&c,d=n&u,p=n&l;if(r&&(s=i?r(t,o,i,a):r(t)),s!==e)return s;if(!js(t))return t;var h=ws(t);if(h){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ft.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!f)return ai(t,s)}else{var g=$i(t),v=g==K||g==$;if(Ss(t))return ei(t,f);if(g==Z||g==N||v&&!i){if(s=d||v?{}:qi(t),!f)return d?function(e,t){return si(e,Ki(e),t)}(t,function(e,t){return e&&si(t,cc(t),e)}(s,t)):function(e,t){return si(e,Ui(e),t)}(t,Ir(s,t))}else{if(!It[g])return i?t:{};s=function(e,t,n){var r,o=e.constructor;switch(t){case ie:return ti(e);case z:case H:return new o(+e);case ae:return function(e,t){var n=t?ti(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case se:case ce:case ue:case le:case fe:case de:case pe:case he:case ge:return ni(e,n);case W:return new o;case q:case ee:return new o(e);case J:return function(e){var t=new e.constructor(e.source,ze.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Q:return new o;case te:return r=e,hr?nt(hr.call(r)):{}}}(t,g,f)}}a||(a=new Or);var y=a.get(t);if(y)return y;a.set(t,s),Rs(t)?t.forEach((function(e){s.add(Br(e,n,r,e,t,a))})):Ps(t)&&t.forEach((function(e,o){s.set(o,Br(e,n,r,o,t,a))}));var m=h?e:(p?d?Li:Ii:d?cc:sc)(t);return rn(m||t,(function(e,o){m&&(e=t[o=e]),Mr(s,o,Br(e,n,r,o,t,a))})),s}function Fr(t,n,r){var o=r.length;if(null==t)return!o;for(t=nt(t);o--;){var i=r[o],a=n[i],s=t[i];if(s===e&&!(i in t)||!a(s))return!1}return!0}function zr(t,n,o){if("function"!=typeof t)throw new it(r);return sa((function(){t.apply(e,o)}),n)}function Hr(e,n,r,o){var i=-1,a=cn,s=!0,c=e.length,u=[],l=n.length;if(!c)return u;r&&(n=ln(n,Tn(r))),o?(a=un,s=!1):n.length>=t&&(a=jn,s=!1,n=new Sr(n));e:for(;++i<c;){var f=e[i],d=null==r?f:r(f);if(f=o||0!==f?f:0,s&&d==d){for(var p=l;p--;)if(n[p]===d)continue e;u.push(f)}else a(n,d,o)||u.push(f)}return u}vr.templateSettings={escape:_e,evaluate:Se,interpolate:Oe,variable:"",imports:{_:vr}},vr.prototype=mr.prototype,vr.prototype.constructor=vr,br.prototype=yr(mr.prototype),br.prototype.constructor=br,wr.prototype=yr(mr.prototype),wr.prototype.constructor=wr,xr.prototype.clear=function(){this.__data__=ir?ir(null):{},this.size=0},xr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},xr.prototype.get=function(t){var n=this.__data__;if(ir){var r=n[t];return r===i?e:r}return ft.call(n,t)?n[t]:e},xr.prototype.has=function(t){var n=this.__data__;return ir?n[t]!==e:ft.call(n,t)},xr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ir&&n===e?i:n,this},Cr.prototype.clear=function(){this.__data__=[],this.size=0},Cr.prototype.delete=function(e){var t=this.__data__,n=Pr(t,e);return!(n<0||(n==t.length-1?t.pop():Et.call(t,n,1),--this.size,0))},Cr.prototype.get=function(t){var n=this.__data__,r=Pr(n,t);return r<0?e:n[r][1]},Cr.prototype.has=function(e){return Pr(this.__data__,e)>-1},Cr.prototype.set=function(e,t){var n=this.__data__,r=Pr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},_r.prototype.clear=function(){this.size=0,this.__data__={hash:new xr,map:new(tr||Cr),string:new xr}},_r.prototype.delete=function(e){var t=zi(this,e).delete(e);return this.size-=t?1:0,t},_r.prototype.get=function(e){return zi(this,e).get(e)},_r.prototype.has=function(e){return zi(this,e).has(e)},_r.prototype.set=function(e,t){var n=zi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Sr.prototype.add=Sr.prototype.push=function(e){return this.__data__.set(e,i),this},Sr.prototype.has=function(e){return this.__data__.has(e)},Or.prototype.clear=function(){this.__data__=new Cr,this.size=0},Or.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Or.prototype.get=function(e){return this.__data__.get(e)},Or.prototype.has=function(e){return this.__data__.has(e)},Or.prototype.set=function(e,n){var r=this.__data__;if(r instanceof Cr){var o=r.__data__;if(!tr||o.length<t-1)return o.push([e,n]),this.size=++r.size,this;r=this.__data__=new _r(o)}return r.set(e,n),this.size=r.size,this};var Vr=li(Yr),Ur=li(Xr,!0);function Kr(e,t){var n=!0;return Vr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function $r(t,n,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n(a);if(null!=s&&(c===e?s==s&&!Bs(s):r(s,c)))var c=s,u=a}return u}function Wr(e,t){var n=[];return Vr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function qr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Gi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?qr(s,t-1,n,r,o):fn(o,s):r||(o[o.length]=s)}return o}var Gr=fi(),Zr=fi(!0);function Yr(e,t){return e&&Gr(e,t,sc)}function Xr(e,t){return e&&Zr(e,t,sc)}function Jr(e,t){return sn(t,(function(t){return Es(e[t])}))}function Qr(t,n){for(var r=0,o=(n=Yo(n,t)).length;null!=t&&r<o;)t=t[pa(n[r++])];return r&&r==o?t:e}function eo(e,t,n){var r=t(e);return ws(e)?r:fn(r,n(e))}function to(t){return null==t?t===e?ne:G:Rt&&Rt in nt(t)?function(t){var n=ft.call(t,Rt),r=t[Rt];try{t[Rt]=e;var o=!0}catch(e){}var i=ht.call(t);return o&&(n?t[Rt]=r:delete t[Rt]),i}(t):function(e){return ht.call(e)}(t)}function no(e,t){return e>t}function ro(e,t){return null!=e&&ft.call(e,t)}function oo(e,t){return null!=e&&t in nt(e)}function io(t,n,r){for(var o=r?un:cn,i=t[0].length,a=t.length,s=a,c=Xe(a),u=1/0,l=[];s--;){var f=t[s];s&&n&&(f=ln(f,Tn(n))),u=Zn(f.length,u),c[s]=!r&&(n||i>=120&&f.length>=120)?new Sr(s&&f):e}f=t[0];var d=-1,p=c[0];e:for(;++d<i&&l.length<u;){var h=f[d],g=n?n(h):h;if(h=r||0!==h?h:0,!(p?jn(p,g):o(l,g,r))){for(s=a;--s;){var v=c[s];if(!(v?jn(v,g):o(t[s],g,r)))continue e}p&&p.push(g),l.push(h)}}return l}function ao(t,n,r){var o=null==(t=oa(t,n=Yo(n,t)))?t:t[pa(ka(n))];return null==o?e:tn(o,t,r)}function so(e){return Ms(e)&&to(e)==N}function co(t,n,r,o,i){return t===n||(null==t||null==n||!Ms(t)&&!Ms(n)?t!=t&&n!=n:function(t,n,r,o,i,a){var s=ws(t),c=ws(n),u=s?B:$i(t),l=c?B:$i(n),p=(u=u==N?Z:u)==Z,h=(l=l==N?Z:l)==Z,g=u==l;if(g&&Ss(t)){if(!Ss(n))return!1;s=!0,p=!1}if(g&&!p)return a||(a=new Or),s||Fs(t)?Pi(t,n,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case ae:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ie:return!(e.byteLength!=t.byteLength||!i(new wt(e),new wt(t)));case z:case H:case q:return vs(+e,+t);case U:return e.name==t.name&&e.message==t.message;case J:case ee:return e==t+"";case W:var s=Nn;case Q:var c=r&f;if(s||(s=zn),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=d,a.set(e,t);var l=Pi(s(e),s(t),r,o,i,a);return a.delete(e),l;case te:if(hr)return hr.call(e)==hr.call(t)}return!1}(t,n,u,r,o,i,a);if(!(r&f)){var v=p&&ft.call(t,"__wrapped__"),y=h&&ft.call(n,"__wrapped__");if(v||y){var m=v?t.value():t,b=y?n.value():n;return a||(a=new Or),i(m,b,r,o,a)}}return!!g&&(a||(a=new Or),function(t,n,r,o,i,a){var s=r&f,c=Ii(t),u=c.length,l=Ii(n),d=l.length;if(u!=d&&!s)return!1;for(var p=u;p--;){var h=c[p];if(!(s?h in n:ft.call(n,h)))return!1}var g=a.get(t),v=a.get(n);if(g&&v)return g==n&&v==t;var y=!0;a.set(t,n),a.set(n,t);for(var m=s;++p<u;){var b=t[h=c[p]],w=n[h];if(o)var x=s?o(w,b,h,n,t,a):o(b,w,h,t,n,a);if(!(x===e?b===w||i(b,w,r,o,a):x)){y=!1;break}m||(m="constructor"==h)}if(y&&!m){var C=t.constructor,_=n.constructor;C==_||!("constructor"in t)||!("constructor"in n)||"function"==typeof C&&C instanceof C&&"function"==typeof _&&_ instanceof _||(y=!1)}return a.delete(t),a.delete(n),y}(t,n,r,o,i,a))}(t,n,r,o,co,i))}function uo(t,n,r,o){var i=r.length,a=i,s=!o;if(null==t)return!a;for(t=nt(t);i--;){var c=r[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<a;){var u=(c=r[i])[0],l=t[u],p=c[1];if(s&&c[2]){if(l===e&&!(u in t))return!1}else{var h=new Or;if(o)var g=o(l,p,u,t,n,h);if(!(g===e?co(p,l,f|d,o,h):g))return!1}}return!0}function lo(e){return!(!js(e)||(t=e,pt&&pt in t))&&(Es(e)?yt:Ue).test(ha(e));var t}function fo(e){return"function"==typeof e?e:null==e?Dc:"object"==typeof e?ws(e)?mo(e[0],e[1]):yo(e):Vc(e)}function po(e){if(!ea(e))return qn(e);var t=[];for(var n in nt(e))ft.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ho(e){if(!js(e))return function(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}(e);var t=ea(e),n=[];for(var r in e)("constructor"!=r||!t&&ft.call(e,r))&&n.push(r);return n}function go(e,t){return e<t}function vo(e,t){var n=-1,r=Cs(e)?Xe(e.length):[];return Vr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function yo(e){var t=Hi(e);return 1==t.length&&t[0][2]?na(t[0][0],t[0][1]):function(n){return n===e||uo(n,e,t)}}function mo(t,n){return Xi(t)&&ta(n)?na(pa(t),n):function(r){var o=nc(r,t);return o===e&&o===n?rc(r,t):co(n,o,f|d)}}function bo(t,n,r,o,i){t!==n&&Gr(n,(function(a,s){if(i||(i=new Or),js(a))!function(t,n,r,o,i,a,s){var c=ia(t,r),u=ia(n,r),l=s.get(u);if(l)jr(t,r,l);else{var f=a?a(c,u,r+"",t,n,s):e,d=f===e;if(d){var p=ws(u),h=!p&&Ss(u),g=!p&&!h&&Fs(u);f=u,p||h||g?ws(c)?f=c:_s(c)?f=ai(c):h?(d=!1,f=ei(u,!0)):g?(d=!1,f=ni(u,!0)):f=[]:Is(u)||bs(u)?(f=c,bs(c)?f=qs(c):js(c)&&!Es(c)||(f=qi(u))):d=!1}d&&(s.set(u,f),i(f,u,o,a,s),s.delete(u)),jr(t,r,f)}}(t,n,s,r,bo,o,i);else{var c=o?o(ia(t,s),a,s+"",t,n,i):e;c===e&&(c=a),jr(t,s,c)}}),cc)}function wo(t,n){var r=t.length;if(r)return Zi(n+=n<0?r:0,r)?t[n]:e}function xo(e,t,n){t=t.length?ln(t,(function(e){return ws(e)?function(t){return Qr(t,1===e.length?e[0]:e)}:e})):[Dc];var r=-1;t=ln(t,Tn(Fi()));var o=vo(e,(function(e,n,o){var i=ln(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var c=ri(o[r],i[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Co(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Qr(e,a);n(s,a)&&jo(i,Yo(a,e),s)}return i}function _o(e,t,n,r){var o=r?bn:mn,i=-1,a=t.length,s=e;for(e===t&&(t=ai(t)),n&&(s=ln(e,Tn(n)));++i<a;)for(var c=0,u=t[i],l=n?n(u):u;(c=o(s,l,c,r))>-1;)s!==e&&Et.call(s,c,1),Et.call(e,c,1);return e}function So(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Zi(o)?Et.call(e,o,1):Vo(e,o)}}return e}function Oo(e,t){return e+$t(Jn()*(t-e+1))}function ko(e,t){var n="";if(!e||t<1||t>j)return n;do{t%2&&(n+=e),(t=$t(t/2))&&(e+=e)}while(t);return n}function Eo(e,t){return ca(ra(e,t,Dc),e+"")}function To(e){return Er(vc(e))}function Ao(e,t){var n=vc(e);return fa(n,Nr(t,0,n.length))}function jo(t,n,r,o){if(!js(t))return t;for(var i=-1,a=(n=Yo(n,t)).length,s=a-1,c=t;null!=c&&++i<a;){var u=pa(n[i]),l=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=s){var f=c[u];(l=o?o(f,u,c):e)===e&&(l=js(f)?f:Zi(n[i+1])?[]:{})}Mr(c,u,l),c=c[u]}return t}var Mo=ar?function(e,t){return ar.set(e,t),e}:Dc,Po=Bt?function(e,t){return Bt(e,"toString",{configurable:!0,enumerable:!1,value:jc(t),writable:!0})}:Dc;function Do(e){return fa(vc(e))}function Io(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Xe(o);++r<o;)i[r]=e[r+t];return i}function Lo(e,t){var n;return Vr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Ro(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=L){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Bs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return No(e,t,Dc,n)}function No(t,n,r,o){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(n=r(n))!=n,c=null===n,u=Bs(n),l=n===e;i<a;){var f=$t((i+a)/2),d=r(t[f]),p=d!==e,h=null===d,g=d==d,v=Bs(d);if(s)var y=o||g;else y=l?g&&(o||p):c?g&&p&&(o||!h):u?g&&p&&!h&&(o||!v):!h&&!v&&(o?d<=n:d<n);y?i=f+1:a=f}return Zn(a,I)}function Bo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!vs(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Fo(e){return"number"==typeof e?e:Bs(e)?P:+e}function zo(e){if("string"==typeof e)return e;if(ws(e))return ln(e,zo)+"";if(Bs(e))return gr?gr.call(e):"";var t=e+"";return"0"==t&&1/e==-A?"-0":t}function Ho(e,n,r){var o=-1,i=cn,a=e.length,s=!0,c=[],u=c;if(r)s=!1,i=un;else if(a>=t){var l=n?null:ki(e);if(l)return zn(l);s=!1,i=jn,u=new Sr}else u=n?[]:c;e:for(;++o<a;){var f=e[o],d=n?n(f):f;if(f=r||0!==f?f:0,s&&d==d){for(var p=u.length;p--;)if(u[p]===d)continue e;n&&u.push(d),c.push(f)}else i(u,d,r)||(u!==c&&u.push(d),c.push(f))}return c}function Vo(e,t){return null==(e=oa(e,t=Yo(t,e)))||delete e[pa(ka(t))]}function Uo(e,t,n,r){return jo(e,t,n(Qr(e,t)),r)}function Ko(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Io(e,r?0:i,r?i+1:o):Io(e,r?i+1:0,r?o:i)}function $o(e,t){var n=e;return n instanceof wr&&(n=n.value()),dn(t,(function(e,t){return t.func.apply(t.thisArg,fn([e],t.args))}),n)}function Wo(e,t,n){var r=e.length;if(r<2)return r?Ho(e[0]):[];for(var o=-1,i=Xe(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=Hr(i[o]||a,e[s],t,n));return Ho(qr(i,1),t,n)}function qo(t,n,r){for(var o=-1,i=t.length,a=n.length,s={};++o<i;){var c=o<a?n[o]:e;r(s,t[o],c)}return s}function Go(e){return _s(e)?e:[]}function Zo(e){return"function"==typeof e?e:Dc}function Yo(e,t){return ws(e)?e:Xi(e,t)?[e]:da(Gs(e))}var Xo=Eo;function Jo(t,n,r){var o=t.length;return r=r===e?o:r,!n&&r>=o?t:Io(t,n,r)}var Qo=Ft||function(e){return Ut.clearTimeout(e)};function ei(e,t){if(t)return e.slice();var n=e.length,r=xt?xt(n):new e.constructor(n);return e.copy(r),r}function ti(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function ni(e,t){var n=t?ti(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ri(t,n){if(t!==n){var r=t!==e,o=null===t,i=t==t,a=Bs(t),s=n!==e,c=null===n,u=n==n,l=Bs(n);if(!c&&!l&&!a&&t>n||a&&s&&u&&!c&&!l||o&&s&&u||!r&&u||!i)return 1;if(!o&&!a&&!l&&t<n||l&&r&&i&&!o&&!a||c&&r&&i||!s&&i||!u)return-1}return 0}function oi(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,c=t.length,u=Gn(i-a,0),l=Xe(c+u),f=!r;++s<c;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;u--;)l[s++]=e[o++];return l}function ii(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,c=-1,u=t.length,l=Gn(i-s,0),f=Xe(l+u),d=!r;++o<l;)f[o]=e[o];for(var p=o;++c<u;)f[p+c]=t[c];for(;++a<s;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function ai(e,t){var n=-1,r=e.length;for(t||(t=Xe(r));++n<r;)t[n]=e[n];return t}function si(t,n,r,o){var i=!r;r||(r={});for(var a=-1,s=n.length;++a<s;){var c=n[a],u=o?o(r[c],t[c],c,r,t):e;u===e&&(u=t[c]),i?Lr(r,c,u):Mr(r,c,u)}return r}function ci(e,t){return function(n,r){var o=ws(n)?nn:Dr,i=t?t():{};return o(n,e,Fi(r,2),i)}}function ui(t){return Eo((function(n,r){var o=-1,i=r.length,a=i>1?r[i-1]:e,s=i>2?r[2]:e;for(a=t.length>3&&"function"==typeof a?(i--,a):e,s&&Yi(r[0],r[1],s)&&(a=i<3?e:a,i=1),n=nt(n);++o<i;){var c=r[o];c&&t(n,c,o,a)}return n}))}function li(e,t){return function(n,r){if(null==n)return n;if(!Cs(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=nt(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function fi(e){return function(t,n,r){for(var o=-1,i=nt(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function di(t){return function(n){var r=Rn(n=Gs(n))?Un(n):e,o=r?r[0]:n.charAt(0),i=r?Jo(r,1).join(""):n.slice(1);return o[t]()+i}}function pi(e){return function(t){return dn(Ec(bc(t).replace(Ot,"")),e,"")}}function hi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=yr(e.prototype),r=e.apply(n,t);return js(r)?r:n}}function gi(t){return function(n,r,o){var i=nt(n);if(!Cs(n)){var a=Fi(r,3);n=sc(n),r=function(e){return a(i[e],e,i)}}var s=t(n,r,o);return s>-1?i[a?n[s]:s]:e}}function vi(t){return Di((function(n){var o=n.length,i=o,a=br.prototype.thru;for(t&&n.reverse();i--;){var s=n[i];if("function"!=typeof s)throw new it(r);if(a&&!c&&"wrapper"==Ni(s))var c=new br([],!0)}for(i=c?i:o;++i<o;){var u=Ni(s=n[i]),l="wrapper"==u?Ri(s):e;c=l&&Ji(l[0])&&l[1]==(w|v|m|x)&&!l[4].length&&1==l[9]?c[Ni(l[0])].apply(c,l[3]):1==s.length&&Ji(s)?c[u]():c.thru(s)}return function(){var e=arguments,t=e[0];if(c&&1==e.length&&ws(t))return c.plant(t).value();for(var r=0,i=o?n[r].apply(this,e):t;++r<o;)i=n[r].call(this,i);return i}}))}function yi(t,n,r,o,i,a,s,c,u,l){var f=n&w,d=n&p,g=n&h,m=n&(v|y),b=n&C,x=g?e:hi(t);return function p(){for(var h=arguments.length,v=Xe(h),y=h;y--;)v[y]=arguments[y];if(m)var w=Bi(p),C=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(v,w);if(o&&(v=oi(v,o,i,m)),a&&(v=ii(v,a,s,m)),h-=C,m&&h<l){var _=Fn(v,w);return Si(t,n,yi,p.placeholder,r,v,_,c,u,l-h)}var S=d?r:this,O=g?S[t]:t;return h=v.length,c?v=function(t,n){for(var r=t.length,o=Zn(n.length,r),i=ai(t);o--;){var a=n[o];t[o]=Zi(a,r)?i[a]:e}return t}(v,c):b&&h>1&&v.reverse(),f&&u<h&&(v.length=u),this&&this!==Ut&&this instanceof p&&(O=x||hi(O)),O.apply(S,v)}}function mi(e,t){return function(n,r){return function(e,t,n,r){return Yr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function bi(t,n){return function(r,o){var i;if(r===e&&o===e)return n;if(r!==e&&(i=r),o!==e){if(i===e)return o;"string"==typeof r||"string"==typeof o?(r=zo(r),o=zo(o)):(r=Fo(r),o=Fo(o)),i=t(r,o)}return i}}function wi(e){return Di((function(t){return t=ln(t,Tn(Fi())),Eo((function(n){var r=this;return e(t,(function(e){return tn(e,r,n)}))}))}))}function xi(t,n){var r=(n=n===e?" ":zo(n)).length;if(r<2)return r?ko(n,t):n;var o=ko(n,Kt(t/Vn(n)));return Rn(n)?Jo(Un(o),0,t).join(""):o.slice(0,t)}function Ci(t){return function(n,r,o){return o&&"number"!=typeof o&&Yi(n,r,o)&&(r=o=e),n=Us(n),r===e?(r=n,n=0):r=Us(r),function(e,t,n,r){for(var o=-1,i=Gn(Kt((t-e)/(n||1)),0),a=Xe(i);i--;)a[r?i:++o]=e,e+=n;return a}(n,r,o=o===e?n<r?1:-1:Us(o),t)}}function _i(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ws(t),n=Ws(n)),e(t,n)}}function Si(t,n,r,o,i,a,s,c,u,l){var f=n&v;n|=f?m:b,(n&=~(f?b:m))&g||(n&=~(p|h));var d=[t,n,i,f?a:e,f?s:e,f?e:a,f?e:s,c,u,l],y=r.apply(e,d);return Ji(t)&&aa(y,d),y.placeholder=o,ua(y,t,n)}function Oi(e){var t=tt[e];return function(e,n){if(e=Ws(e),(n=null==n?0:Zn(Ks(n),292))&&gn(e)){var r=(Gs(e)+"e").split("e");return+((r=(Gs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var ki=rr&&1/zn(new rr([,-0]))[1]==A?function(e){return new rr(e)}:Bc;function Ei(e){return function(t){var n=$i(t);return n==W?Nn(t):n==Q?Hn(t):function(e,t){return ln(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ti(t,n,o,i,a,c,u,l){var f=n&h;if(!f&&"function"!=typeof t)throw new it(r);var d=i?i.length:0;if(d||(n&=~(m|b),i=a=e),u=u===e?u:Gn(Ks(u),0),l=l===e?l:Ks(l),d-=a?a.length:0,n&b){var C=i,_=a;i=a=e}var S=f?e:Ri(t),O=[t,n,o,i,a,C,_,c,u,l];if(S&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<(p|h|w),a=r==w&&n==v||r==w&&n==x&&e[7].length<=t[8]||r==(w|x)&&t[7].length<=t[8]&&n==v;if(!i&&!a)return e;r&p&&(e[2]=t[2],o|=n&p?0:g);var c=t[3];if(c){var u=e[3];e[3]=u?oi(u,c,t[4]):c,e[4]=u?Fn(e[3],s):t[4]}(c=t[5])&&(u=e[5],e[5]=u?ii(u,c,t[6]):c,e[6]=u?Fn(e[5],s):t[6]),(c=t[7])&&(e[7]=c),r&w&&(e[8]=null==e[8]?t[8]:Zn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(O,S),t=O[0],n=O[1],o=O[2],i=O[3],a=O[4],!(l=O[9]=O[9]===e?f?0:t.length:Gn(O[9]-d,0))&&n&(v|y)&&(n&=~(v|y)),n&&n!=p)k=n==v||n==y?function(t,n,r){var o=hi(t);return function i(){for(var a=arguments.length,s=Xe(a),c=a,u=Bi(i);c--;)s[c]=arguments[c];var l=a<3&&s[0]!==u&&s[a-1]!==u?[]:Fn(s,u);return(a-=l.length)<r?Si(t,n,yi,i.placeholder,e,s,l,e,e,r-a):tn(this&&this!==Ut&&this instanceof i?o:t,this,s)}}(t,n,l):n!=m&&n!=(p|m)||a.length?yi.apply(e,O):function(e,t,n,r){var o=t&p,i=hi(e);return function t(){for(var a=-1,s=arguments.length,c=-1,u=r.length,l=Xe(u+s),f=this&&this!==Ut&&this instanceof t?i:e;++c<u;)l[c]=r[c];for(;s--;)l[c++]=arguments[++a];return tn(f,o?n:this,l)}}(t,n,o,i);else var k=function(e,t,n){var r=t&p,o=hi(e);return function t(){return(this&&this!==Ut&&this instanceof t?o:e).apply(r?n:this,arguments)}}(t,n,o);return ua((S?Mo:aa)(k,O),t,n)}function Ai(t,n,r,o){return t===e||vs(t,ct[r])&&!ft.call(o,r)?n:t}function ji(t,n,r,o,i,a){return js(t)&&js(n)&&(a.set(n,t),bo(t,n,e,ji,a),a.delete(n)),t}function Mi(t){return Is(t)?e:t}function Pi(t,n,r,o,i,a){var s=r&f,c=t.length,u=n.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t),p=a.get(n);if(l&&p)return l==n&&p==t;var h=-1,g=!0,v=r&d?new Sr:e;for(a.set(t,n),a.set(n,t);++h<c;){var y=t[h],m=n[h];if(o)var b=s?o(m,y,h,n,t,a):o(y,m,h,t,n,a);if(b!==e){if(b)continue;g=!1;break}if(v){if(!hn(n,(function(e,t){if(!jn(v,t)&&(y===e||i(y,e,r,o,a)))return v.push(t)}))){g=!1;break}}else if(y!==m&&!i(y,m,r,o,a)){g=!1;break}}return a.delete(t),a.delete(n),g}function Di(t){return ca(ra(t,e,xa),t+"")}function Ii(e){return eo(e,sc,Ui)}function Li(e){return eo(e,cc,Ki)}var Ri=ar?function(e){return ar.get(e)}:Bc;function Ni(e){for(var t=e.name+"",n=sr[t],r=ft.call(sr,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Bi(e){return(ft.call(vr,"placeholder")?vr:e).placeholder}function Fi(){var e=vr.iteratee||Ic;return e=e===Ic?fo:e,arguments.length?e(arguments[0],arguments[1]):e}function zi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Hi(e){for(var t=sc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ta(o)]}return t}function Vi(t,n){var r=function(t,n){return null==t?e:t[n]}(t,n);return lo(r)?r:e}var Ui=qt?function(e){return null==e?[]:(e=nt(e),sn(qt(e),(function(t){return St.call(e,t)})))}:$c,Ki=qt?function(e){for(var t=[];e;)fn(t,Ui(e)),e=Ct(e);return t}:$c,$i=to;function Wi(e,t,n){for(var r=-1,o=(t=Yo(t,e)).length,i=!1;++r<o;){var a=pa(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&As(o)&&Zi(a,o)&&(ws(e)||bs(e))}function qi(e){return"function"!=typeof e.constructor||ea(e)?{}:yr(Ct(e))}function Gi(e){return ws(e)||bs(e)||!!(At&&e&&e[At])}function Zi(e,t){var n=typeof e;return!!(t=null==t?j:t)&&("number"==n||"symbol"!=n&&$e.test(e))&&e>-1&&e%1==0&&e<t}function Yi(e,t,n){if(!js(n))return!1;var r=typeof t;return!!("number"==r?Cs(n)&&Zi(t,n.length):"string"==r&&t in n)&&vs(n[t],e)}function Xi(e,t){if(ws(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Bs(e))||Ee.test(e)||!ke.test(e)||null!=t&&e in nt(t)}function Ji(e){var t=Ni(e),n=vr[t];if("function"!=typeof n||!(t in wr.prototype))return!1;if(e===n)return!0;var r=Ri(n);return!!r&&e===r[0]}(er&&$i(new er(new ArrayBuffer(1)))!=ae||tr&&$i(new tr)!=W||nr&&$i(nr.resolve())!=Y||rr&&$i(new rr)!=Q||or&&$i(new or)!=re)&&($i=function(t){var n=to(t),r=n==Z?t.constructor:e,o=r?ha(r):"";if(o)switch(o){case cr:return ae;case ur:return W;case lr:return Y;case fr:return Q;case dr:return re}return n});var Qi=ut?Es:Wc;function ea(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ct)}function ta(e){return e==e&&!js(e)}function na(t,n){return function(r){return null!=r&&r[t]===n&&(n!==e||t in nt(r))}}function ra(t,n,r){return n=Gn(n===e?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=Gn(e.length-n,0),a=Xe(i);++o<i;)a[o]=e[n+o];o=-1;for(var s=Xe(n+1);++o<n;)s[o]=e[o];return s[n]=r(a),tn(t,this,s)}}function oa(e,t){return t.length<2?e:Qr(e,Io(t,0,-1))}function ia(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var aa=la(Mo),sa=Vt||function(e,t){return Ut.setTimeout(e,t)},ca=la(Po);function ua(e,t,n){var r=t+"";return ca(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(De,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return rn(R,(function(n){var r="_."+n[0];t&n[1]&&!cn(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Ie);return t?t[1].split(Le):[]}(r),n)))}function la(t){var n=0,r=0;return function(){var o=Yn(),i=k-(o-r);if(r=o,i>0){if(++n>=O)return arguments[0]}else n=0;return t.apply(e,arguments)}}function fa(t,n){var r=-1,o=t.length,i=o-1;for(n=n===e?o:n;++r<n;){var a=Oo(r,i),s=t[a];t[a]=t[r],t[r]=s}return t.length=n,t}var da=function(e){var t=ls(e,(function(e){return n.size===a&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Te,(function(e,n,r,o){t.push(r?o.replace(Be,"$1"):n||e)})),t}));function pa(e){if("string"==typeof e||Bs(e))return e;var t=e+"";return"0"==t&&1/e==-A?"-0":t}function ha(e){if(null!=e){try{return lt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ga(e){if(e instanceof wr)return e.clone();var t=new br(e.__wrapped__,e.__chain__);return t.__actions__=ai(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var va=Eo((function(e,t){return _s(e)?Hr(e,qr(t,1,_s,!0)):[]})),ya=Eo((function(t,n){var r=ka(n);return _s(r)&&(r=e),_s(t)?Hr(t,qr(n,1,_s,!0),Fi(r,2)):[]})),ma=Eo((function(t,n){var r=ka(n);return _s(r)&&(r=e),_s(t)?Hr(t,qr(n,1,_s,!0),e,r):[]}));function ba(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Ks(n);return o<0&&(o=Gn(r+o,0)),yn(e,Fi(t,3),o)}function wa(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o-1;return r!==e&&(i=Ks(r),i=r<0?Gn(o+i,0):Zn(i,o-1)),yn(t,Fi(n,3),i,!0)}function xa(e){return null!=e&&e.length?qr(e,1):[]}function Ca(t){return t&&t.length?t[0]:e}var _a=Eo((function(e){var t=ln(e,Go);return t.length&&t[0]===e[0]?io(t):[]})),Sa=Eo((function(t){var n=ka(t),r=ln(t,Go);return n===ka(r)?n=e:r.pop(),r.length&&r[0]===t[0]?io(r,Fi(n,2)):[]})),Oa=Eo((function(t){var n=ka(t),r=ln(t,Go);return(n="function"==typeof n?n:e)&&r.pop(),r.length&&r[0]===t[0]?io(r,e,n):[]}));function ka(t){var n=null==t?0:t.length;return n?t[n-1]:e}var Ea=Eo(Ta);function Ta(e,t){return e&&e.length&&t&&t.length?_o(e,t):e}var Aa=Di((function(e,t){var n=null==e?0:e.length,r=Rr(e,t);return So(e,ln(t,(function(e){return Zi(e,n)?+e:e})).sort(ri)),r}));function ja(e){return null==e?e:Qn.call(e)}var Ma=Eo((function(e){return Ho(qr(e,1,_s,!0))})),Pa=Eo((function(t){var n=ka(t);return _s(n)&&(n=e),Ho(qr(t,1,_s,!0),Fi(n,2))})),Da=Eo((function(t){var n=ka(t);return n="function"==typeof n?n:e,Ho(qr(t,1,_s,!0),e,n)}));function Ia(e){if(!e||!e.length)return[];var t=0;return e=sn(e,(function(e){if(_s(e))return t=Gn(e.length,t),!0})),kn(t,(function(t){return ln(e,Cn(t))}))}function La(t,n){if(!t||!t.length)return[];var r=Ia(t);return null==n?r:ln(r,(function(t){return tn(n,e,t)}))}var Ra=Eo((function(e,t){return _s(e)?Hr(e,t):[]})),Na=Eo((function(e){return Wo(sn(e,_s))})),Ba=Eo((function(t){var n=ka(t);return _s(n)&&(n=e),Wo(sn(t,_s),Fi(n,2))})),Fa=Eo((function(t){var n=ka(t);return n="function"==typeof n?n:e,Wo(sn(t,_s),e,n)})),za=Eo(Ia),Ha=Eo((function(t){var n=t.length,r=n>1?t[n-1]:e;return r="function"==typeof r?(t.pop(),r):e,La(t,r)}));function Va(e){var t=vr(e);return t.__chain__=!0,t}function Ua(e,t){return t(e)}var Ka=Di((function(t){var n=t.length,r=n?t[0]:0,o=this.__wrapped__,i=function(e){return Rr(e,t)};return!(n>1||this.__actions__.length)&&o instanceof wr&&Zi(r)?((o=o.slice(r,+r+(n?1:0))).__actions__.push({func:Ua,args:[i],thisArg:e}),new br(o,this.__chain__).thru((function(t){return n&&!t.length&&t.push(e),t}))):this.thru(i)})),$a=ci((function(e,t,n){ft.call(e,n)?++e[n]:Lr(e,n,1)})),Wa=gi(ba),qa=gi(wa);function Ga(e,t){return(ws(e)?rn:Vr)(e,Fi(t,3))}function Za(e,t){return(ws(e)?on:Ur)(e,Fi(t,3))}var Ya=ci((function(e,t,n){ft.call(e,n)?e[n].push(t):Lr(e,n,[t])})),Xa=Eo((function(e,t,n){var r=-1,o="function"==typeof t,i=Cs(e)?Xe(e.length):[];return Vr(e,(function(e){i[++r]=o?tn(t,e,n):ao(e,t,n)})),i})),Ja=ci((function(e,t,n){Lr(e,n,t)}));function Qa(e,t){return(ws(e)?ln:vo)(e,Fi(t,3))}var es=ci((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),ts=Eo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Yi(e,t[0],t[1])?t=[]:n>2&&Yi(t[0],t[1],t[2])&&(t=[t[0]]),xo(e,qr(t,1),[])})),ns=Ht||function(){return Ut.Date.now()};function rs(t,n,r){return n=r?e:n,n=t&&null==n?t.length:n,Ti(t,w,e,e,e,e,n)}function os(t,n){var o;if("function"!=typeof n)throw new it(r);return t=Ks(t),function(){return--t>0&&(o=n.apply(this,arguments)),t<=1&&(n=e),o}}var is=Eo((function(e,t,n){var r=p;if(n.length){var o=Fn(n,Bi(is));r|=m}return Ti(e,r,t,n,o)})),as=Eo((function(e,t,n){var r=p|h;if(n.length){var o=Fn(n,Bi(as));r|=m}return Ti(t,r,e,n,o)}));function ss(t,n,o){var i,a,s,c,u,l,f=0,d=!1,p=!1,h=!0;if("function"!=typeof t)throw new it(r);function g(n){var r=i,o=a;return i=a=e,f=n,c=t.apply(o,r)}function v(t){var r=t-l;return l===e||r>=n||r<0||p&&t-f>=s}function y(){var e=ns();if(v(e))return m(e);u=sa(y,function(e){var t=n-(e-l);return p?Zn(t,s-(e-f)):t}(e))}function m(t){return u=e,h&&i?g(t):(i=a=e,c)}function b(){var t=ns(),r=v(t);if(i=arguments,a=this,l=t,r){if(u===e)return function(e){return f=e,u=sa(y,n),d?g(e):c}(l);if(p)return Qo(u),u=sa(y,n),g(l)}return u===e&&(u=sa(y,n)),c}return n=Ws(n)||0,js(o)&&(d=!!o.leading,s=(p="maxWait"in o)?Gn(Ws(o.maxWait)||0,n):s,h="trailing"in o?!!o.trailing:h),b.cancel=function(){u!==e&&Qo(u),f=0,i=l=a=u=e},b.flush=function(){return u===e?c:m(ns())},b}var cs=Eo((function(e,t){return zr(e,1,t)})),us=Eo((function(e,t,n){return zr(e,Ws(t)||0,n)}));function ls(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new it(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ls.Cache||_r),n}function fs(e){if("function"!=typeof e)throw new it(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ls.Cache=_r;var ds=Xo((function(e,t){var n=(t=1==t.length&&ws(t[0])?ln(t[0],Tn(Fi())):ln(qr(t,1),Tn(Fi()))).length;return Eo((function(r){for(var o=-1,i=Zn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return tn(e,this,r)}))})),ps=Eo((function(t,n){var r=Fn(n,Bi(ps));return Ti(t,m,e,n,r)})),hs=Eo((function(t,n){var r=Fn(n,Bi(hs));return Ti(t,b,e,n,r)})),gs=Di((function(t,n){return Ti(t,x,e,e,e,n)}));function vs(e,t){return e===t||e!=e&&t!=t}var ys=_i(no),ms=_i((function(e,t){return e>=t})),bs=so(function(){return arguments}())?so:function(e){return Ms(e)&&ft.call(e,"callee")&&!St.call(e,"callee")},ws=Xe.isArray,xs=Zt?Tn(Zt):function(e){return Ms(e)&&to(e)==ie};function Cs(e){return null!=e&&As(e.length)&&!Es(e)}function _s(e){return Ms(e)&&Cs(e)}var Ss=Gt||Wc,Os=Yt?Tn(Yt):function(e){return Ms(e)&&to(e)==H};function ks(e){if(!Ms(e))return!1;var t=to(e);return t==U||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Is(e)}function Es(e){if(!js(e))return!1;var t=to(e);return t==K||t==$||t==F||t==X}function Ts(e){return"number"==typeof e&&e==Ks(e)}function As(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=j}function js(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ms(e){return null!=e&&"object"==typeof e}var Ps=Xt?Tn(Xt):function(e){return Ms(e)&&$i(e)==W};function Ds(e){return"number"==typeof e||Ms(e)&&to(e)==q}function Is(e){if(!Ms(e)||to(e)!=Z)return!1;var t=Ct(e);if(null===t)return!0;var n=ft.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&<.call(n)==gt}var Ls=Jt?Tn(Jt):function(e){return Ms(e)&&to(e)==J},Rs=Qt?Tn(Qt):function(e){return Ms(e)&&$i(e)==Q};function Ns(e){return"string"==typeof e||!ws(e)&&Ms(e)&&to(e)==ee}function Bs(e){return"symbol"==typeof e||Ms(e)&&to(e)==te}var Fs=en?Tn(en):function(e){return Ms(e)&&As(e.length)&&!!Dt[to(e)]},zs=_i(go),Hs=_i((function(e,t){return e<=t}));function Vs(e){if(!e)return[];if(Cs(e))return Ns(e)?Un(e):ai(e);if(Lt&&e[Lt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Lt]());var t=$i(e);return(t==W?Nn:t==Q?zn:vc)(e)}function Us(e){return e?(e=Ws(e))===A||e===-A?(e<0?-1:1)*M:e==e?e:0:0===e?e:0}function Ks(e){var t=Us(e),n=t%1;return t==t?n?t-n:t:0}function $s(e){return e?Nr(Ks(e),0,D):0}function Ws(e){if("number"==typeof e)return e;if(Bs(e))return P;if(js(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=js(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=En(e);var n=Ve.test(e);return n||Ke.test(e)?zt(e.slice(2),n?2:8):He.test(e)?P:+e}function qs(e){return si(e,cc(e))}function Gs(e){return null==e?"":zo(e)}var Zs=ui((function(e,t){if(ea(t)||Cs(t))si(t,sc(t),e);else for(var n in t)ft.call(t,n)&&Mr(e,n,t[n])})),Ys=ui((function(e,t){si(t,cc(t),e)})),Xs=ui((function(e,t,n,r){si(t,cc(t),e,r)})),Js=ui((function(e,t,n,r){si(t,sc(t),e,r)})),Qs=Di(Rr),ec=Eo((function(t,n){t=nt(t);var r=-1,o=n.length,i=o>2?n[2]:e;for(i&&Yi(n[0],n[1],i)&&(o=1);++r<o;)for(var a=n[r],s=cc(a),c=-1,u=s.length;++c<u;){var l=s[c],f=t[l];(f===e||vs(f,ct[l])&&!ft.call(t,l))&&(t[l]=a[l])}return t})),tc=Eo((function(t){return t.push(e,ji),tn(lc,e,t)}));function nc(t,n,r){var o=null==t?e:Qr(t,n);return o===e?r:o}function rc(e,t){return null!=e&&Wi(e,t,oo)}var oc=mi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),e[t]=n}),jc(Dc)),ic=mi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),ft.call(e,t)?e[t].push(n):e[t]=[n]}),Fi),ac=Eo(ao);function sc(e){return Cs(e)?kr(e):po(e)}function cc(e){return Cs(e)?kr(e,!0):ho(e)}var uc=ui((function(e,t,n){bo(e,t,n)})),lc=ui((function(e,t,n,r){bo(e,t,n,r)})),fc=Di((function(e,t){var n={};if(null==e)return n;var r=!1;t=ln(t,(function(t){return t=Yo(t,e),r||(r=t.length>1),t})),si(e,Li(e),n),r&&(n=Br(n,c|u|l,Mi));for(var o=t.length;o--;)Vo(n,t[o]);return n})),dc=Di((function(e,t){return null==e?{}:function(e,t){return Co(e,t,(function(t,n){return rc(e,n)}))}(e,t)}));function pc(e,t){if(null==e)return{};var n=ln(Li(e),(function(e){return[e]}));return t=Fi(t),Co(e,n,(function(e,n){return t(e,n[0])}))}var hc=Ei(sc),gc=Ei(cc);function vc(e){return null==e?[]:An(e,sc(e))}var yc=pi((function(e,t,n){return t=t.toLowerCase(),e+(n?mc(t):t)}));function mc(e){return kc(Gs(e).toLowerCase())}function bc(e){return(e=Gs(e))&&e.replace(We,Dn).replace(kt,"")}var wc=pi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),xc=pi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Cc=di("toLowerCase"),_c=pi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Sc=pi((function(e,t,n){return e+(n?" ":"")+kc(t)})),Oc=pi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),kc=di("toUpperCase");function Ec(t,n,r){return t=Gs(t),(n=r?e:n)===e?function(e){return jt.test(e)}(t)?function(e){return e.match(Tt)||[]}(t):function(e){return e.match(Re)||[]}(t):t.match(n)||[]}var Tc=Eo((function(t,n){try{return tn(t,e,n)}catch(e){return ks(e)?e:new Qe(e)}})),Ac=Di((function(e,t){return rn(t,(function(t){t=pa(t),Lr(e,t,is(e[t],e))})),e}));function jc(e){return function(){return e}}var Mc=vi(),Pc=vi(!0);function Dc(e){return e}function Ic(e){return fo("function"==typeof e?e:Br(e,c))}var Lc=Eo((function(e,t){return function(n){return ao(n,e,t)}})),Rc=Eo((function(e,t){return function(n){return ao(e,n,t)}}));function Nc(e,t,n){var r=sc(t),o=Jr(t,r);null!=n||js(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Jr(t,sc(t)));var i=!(js(n)&&"chain"in n&&!n.chain),a=Es(e);return rn(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=ai(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,fn([this.value()],arguments))})})),e}function Bc(){}var Fc=wi(ln),zc=wi(an),Hc=wi(hn);function Vc(e){return Xi(e)?Cn(pa(e)):function(e){return function(t){return Qr(t,e)}}(e)}var Uc=Ci(),Kc=Ci(!0);function $c(){return[]}function Wc(){return!1}var qc,Gc=bi((function(e,t){return e+t}),0),Zc=Oi("ceil"),Yc=bi((function(e,t){return e/t}),1),Xc=Oi("floor"),Jc=bi((function(e,t){return e*t}),1),Qc=Oi("round"),eu=bi((function(e,t){return e-t}),0);return vr.after=function(e,t){if("function"!=typeof t)throw new it(r);return e=Ks(e),function(){if(--e<1)return t.apply(this,arguments)}},vr.ary=rs,vr.assign=Zs,vr.assignIn=Ys,vr.assignInWith=Xs,vr.assignWith=Js,vr.at=Qs,vr.before=os,vr.bind=is,vr.bindAll=Ac,vr.bindKey=as,vr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ws(e)?e:[e]},vr.chain=Va,vr.chunk=function(t,n,r){n=(r?Yi(t,n,r):n===e)?1:Gn(Ks(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var i=0,a=0,s=Xe(Kt(o/n));i<o;)s[a++]=Io(t,i,i+=n);return s},vr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},vr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Xe(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return fn(ws(n)?ai(n):[n],qr(t,1))},vr.cond=function(e){var t=null==e?0:e.length,n=Fi();return e=t?ln(e,(function(e){if("function"!=typeof e[1])throw new it(r);return[n(e[0]),e[1]]})):[],Eo((function(n){for(var r=-1;++r<t;){var o=e[r];if(tn(o[0],this,n))return tn(o[1],this,n)}}))},vr.conforms=function(e){return function(e){var t=sc(e);return function(n){return Fr(n,e,t)}}(Br(e,c))},vr.constant=jc,vr.countBy=$a,vr.create=function(e,t){var n=yr(e);return null==t?n:Ir(n,t)},vr.curry=function t(n,r,o){var i=Ti(n,v,e,e,e,e,e,r=o?e:r);return i.placeholder=t.placeholder,i},vr.curryRight=function t(n,r,o){var i=Ti(n,y,e,e,e,e,e,r=o?e:r);return i.placeholder=t.placeholder,i},vr.debounce=ss,vr.defaults=ec,vr.defaultsDeep=tc,vr.defer=cs,vr.delay=us,vr.difference=va,vr.differenceBy=ya,vr.differenceWith=ma,vr.drop=function(t,n,r){var o=null==t?0:t.length;return o?Io(t,(n=r||n===e?1:Ks(n))<0?0:n,o):[]},vr.dropRight=function(t,n,r){var o=null==t?0:t.length;return o?Io(t,0,(n=o-(n=r||n===e?1:Ks(n)))<0?0:n):[]},vr.dropRightWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3),!0,!0):[]},vr.dropWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3),!0):[]},vr.fill=function(t,n,r,o){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Yi(t,n,r)&&(r=0,o=i),function(t,n,r,o){var i=t.length;for((r=Ks(r))<0&&(r=-r>i?0:i+r),(o=o===e||o>i?i:Ks(o))<0&&(o+=i),o=r>o?0:$s(o);r<o;)t[r++]=n;return t}(t,n,r,o)):[]},vr.filter=function(e,t){return(ws(e)?sn:Wr)(e,Fi(t,3))},vr.flatMap=function(e,t){return qr(Qa(e,t),1)},vr.flatMapDeep=function(e,t){return qr(Qa(e,t),A)},vr.flatMapDepth=function(t,n,r){return r=r===e?1:Ks(r),qr(Qa(t,n),r)},vr.flatten=xa,vr.flattenDeep=function(e){return null!=e&&e.length?qr(e,A):[]},vr.flattenDepth=function(t,n){return null!=t&&t.length?qr(t,n=n===e?1:Ks(n)):[]},vr.flip=function(e){return Ti(e,C)},vr.flow=Mc,vr.flowRight=Pc,vr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},vr.functions=function(e){return null==e?[]:Jr(e,sc(e))},vr.functionsIn=function(e){return null==e?[]:Jr(e,cc(e))},vr.groupBy=Ya,vr.initial=function(e){return null!=e&&e.length?Io(e,0,-1):[]},vr.intersection=_a,vr.intersectionBy=Sa,vr.intersectionWith=Oa,vr.invert=oc,vr.invertBy=ic,vr.invokeMap=Xa,vr.iteratee=Ic,vr.keyBy=Ja,vr.keys=sc,vr.keysIn=cc,vr.map=Qa,vr.mapKeys=function(e,t){var n={};return t=Fi(t,3),Yr(e,(function(e,r,o){Lr(n,t(e,r,o),e)})),n},vr.mapValues=function(e,t){var n={};return t=Fi(t,3),Yr(e,(function(e,r,o){Lr(n,r,t(e,r,o))})),n},vr.matches=function(e){return yo(Br(e,c))},vr.matchesProperty=function(e,t){return mo(e,Br(t,c))},vr.memoize=ls,vr.merge=uc,vr.mergeWith=lc,vr.method=Lc,vr.methodOf=Rc,vr.mixin=Nc,vr.negate=fs,vr.nthArg=function(e){return e=Ks(e),Eo((function(t){return wo(t,e)}))},vr.omit=fc,vr.omitBy=function(e,t){return pc(e,fs(Fi(t)))},vr.once=function(e){return os(2,e)},vr.orderBy=function(t,n,r,o){return null==t?[]:(ws(n)||(n=null==n?[]:[n]),ws(r=o?e:r)||(r=null==r?[]:[r]),xo(t,n,r))},vr.over=Fc,vr.overArgs=ds,vr.overEvery=zc,vr.overSome=Hc,vr.partial=ps,vr.partialRight=hs,vr.partition=es,vr.pick=dc,vr.pickBy=pc,vr.property=Vc,vr.propertyOf=function(t){return function(n){return null==t?e:Qr(t,n)}},vr.pull=Ea,vr.pullAll=Ta,vr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?_o(e,t,Fi(n,2)):e},vr.pullAllWith=function(t,n,r){return t&&t.length&&n&&n.length?_o(t,n,e,r):t},vr.pullAt=Aa,vr.range=Uc,vr.rangeRight=Kc,vr.rearg=gs,vr.reject=function(e,t){return(ws(e)?sn:Wr)(e,fs(Fi(t,3)))},vr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Fi(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return So(e,o),n},vr.rest=function(t,n){if("function"!=typeof t)throw new it(r);return Eo(t,n=n===e?n:Ks(n))},vr.reverse=ja,vr.sampleSize=function(t,n,r){return n=(r?Yi(t,n,r):n===e)?1:Ks(n),(ws(t)?Tr:Ao)(t,n)},vr.set=function(e,t,n){return null==e?e:jo(e,t,n)},vr.setWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:jo(t,n,r,o)},vr.shuffle=function(e){return(ws(e)?Ar:Do)(e)},vr.slice=function(t,n,r){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&Yi(t,n,r)?(n=0,r=o):(n=null==n?0:Ks(n),r=r===e?o:Ks(r)),Io(t,n,r)):[]},vr.sortBy=ts,vr.sortedUniq=function(e){return e&&e.length?Bo(e):[]},vr.sortedUniqBy=function(e,t){return e&&e.length?Bo(e,Fi(t,2)):[]},vr.split=function(t,n,r){return r&&"number"!=typeof r&&Yi(t,n,r)&&(n=r=e),(r=r===e?D:r>>>0)?(t=Gs(t))&&("string"==typeof n||null!=n&&!Ls(n))&&!(n=zo(n))&&Rn(t)?Jo(Un(t),0,r):t.split(n,r):[]},vr.spread=function(e,t){if("function"!=typeof e)throw new it(r);return t=null==t?0:Gn(Ks(t),0),Eo((function(n){var r=n[t],o=Jo(n,0,t);return r&&fn(o,r),tn(e,this,o)}))},vr.tail=function(e){var t=null==e?0:e.length;return t?Io(e,1,t):[]},vr.take=function(t,n,r){return t&&t.length?Io(t,0,(n=r||n===e?1:Ks(n))<0?0:n):[]},vr.takeRight=function(t,n,r){var o=null==t?0:t.length;return o?Io(t,(n=o-(n=r||n===e?1:Ks(n)))<0?0:n,o):[]},vr.takeRightWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3),!1,!0):[]},vr.takeWhile=function(e,t){return e&&e.length?Ko(e,Fi(t,3)):[]},vr.tap=function(e,t){return t(e),e},vr.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new it(r);return js(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),ss(e,t,{leading:o,maxWait:t,trailing:i})},vr.thru=Ua,vr.toArray=Vs,vr.toPairs=hc,vr.toPairsIn=gc,vr.toPath=function(e){return ws(e)?ln(e,pa):Bs(e)?[e]:ai(da(Gs(e)))},vr.toPlainObject=qs,vr.transform=function(e,t,n){var r=ws(e),o=r||Ss(e)||Fs(e);if(t=Fi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:js(e)&&Es(i)?yr(Ct(e)):{}}return(o?rn:Yr)(e,(function(e,r,o){return t(n,e,r,o)})),n},vr.unary=function(e){return rs(e,1)},vr.union=Ma,vr.unionBy=Pa,vr.unionWith=Da,vr.uniq=function(e){return e&&e.length?Ho(e):[]},vr.uniqBy=function(e,t){return e&&e.length?Ho(e,Fi(t,2)):[]},vr.uniqWith=function(t,n){return n="function"==typeof n?n:e,t&&t.length?Ho(t,e,n):[]},vr.unset=function(e,t){return null==e||Vo(e,t)},vr.unzip=Ia,vr.unzipWith=La,vr.update=function(e,t,n){return null==e?e:Uo(e,t,Zo(n))},vr.updateWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:Uo(t,n,Zo(r),o)},vr.values=vc,vr.valuesIn=function(e){return null==e?[]:An(e,cc(e))},vr.without=Ra,vr.words=Ec,vr.wrap=function(e,t){return ps(Zo(t),e)},vr.xor=Na,vr.xorBy=Ba,vr.xorWith=Fa,vr.zip=za,vr.zipObject=function(e,t){return qo(e||[],t||[],Mr)},vr.zipObjectDeep=function(e,t){return qo(e||[],t||[],jo)},vr.zipWith=Ha,vr.entries=hc,vr.entriesIn=gc,vr.extend=Ys,vr.extendWith=Xs,Nc(vr,vr),vr.add=Gc,vr.attempt=Tc,vr.camelCase=yc,vr.capitalize=mc,vr.ceil=Zc,vr.clamp=function(t,n,r){return r===e&&(r=n,n=e),r!==e&&(r=(r=Ws(r))==r?r:0),n!==e&&(n=(n=Ws(n))==n?n:0),Nr(Ws(t),n,r)},vr.clone=function(e){return Br(e,l)},vr.cloneDeep=function(e){return Br(e,c|l)},vr.cloneDeepWith=function(t,n){return Br(t,c|l,n="function"==typeof n?n:e)},vr.cloneWith=function(t,n){return Br(t,l,n="function"==typeof n?n:e)},vr.conformsTo=function(e,t){return null==t||Fr(e,t,sc(t))},vr.deburr=bc,vr.defaultTo=function(e,t){return null==e||e!=e?t:e},vr.divide=Yc,vr.endsWith=function(t,n,r){t=Gs(t),n=zo(n);var o=t.length,i=r=r===e?o:Nr(Ks(r),0,o);return(r-=n.length)>=0&&t.slice(r,i)==n},vr.eq=vs,vr.escape=function(e){return(e=Gs(e))&&Ce.test(e)?e.replace(we,In):e},vr.escapeRegExp=function(e){return(e=Gs(e))&&je.test(e)?e.replace(Ae,"\\$&"):e},vr.every=function(t,n,r){var o=ws(t)?an:Kr;return r&&Yi(t,n,r)&&(n=e),o(t,Fi(n,3))},vr.find=Wa,vr.findIndex=ba,vr.findKey=function(e,t){return vn(e,Fi(t,3),Yr)},vr.findLast=qa,vr.findLastIndex=wa,vr.findLastKey=function(e,t){return vn(e,Fi(t,3),Xr)},vr.floor=Xc,vr.forEach=Ga,vr.forEachRight=Za,vr.forIn=function(e,t){return null==e?e:Gr(e,Fi(t,3),cc)},vr.forInRight=function(e,t){return null==e?e:Zr(e,Fi(t,3),cc)},vr.forOwn=function(e,t){return e&&Yr(e,Fi(t,3))},vr.forOwnRight=function(e,t){return e&&Xr(e,Fi(t,3))},vr.get=nc,vr.gt=ys,vr.gte=ms,vr.has=function(e,t){return null!=e&&Wi(e,t,ro)},vr.hasIn=rc,vr.head=Ca,vr.identity=Dc,vr.includes=function(e,t,n,r){e=Cs(e)?e:vc(e),n=n&&!r?Ks(n):0;var o=e.length;return n<0&&(n=Gn(o+n,0)),Ns(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&mn(e,t,n)>-1},vr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Ks(n);return o<0&&(o=Gn(r+o,0)),mn(e,t,o)},vr.inRange=function(t,n,r){return n=Us(n),r===e?(r=n,n=0):r=Us(r),function(e,t,n){return e>=Zn(t,n)&&e<Gn(t,n)}(t=Ws(t),n,r)},vr.invoke=ac,vr.isArguments=bs,vr.isArray=ws,vr.isArrayBuffer=xs,vr.isArrayLike=Cs,vr.isArrayLikeObject=_s,vr.isBoolean=function(e){return!0===e||!1===e||Ms(e)&&to(e)==z},vr.isBuffer=Ss,vr.isDate=Os,vr.isElement=function(e){return Ms(e)&&1===e.nodeType&&!Is(e)},vr.isEmpty=function(e){if(null==e)return!0;if(Cs(e)&&(ws(e)||"string"==typeof e||"function"==typeof e.splice||Ss(e)||Fs(e)||bs(e)))return!e.length;var t=$i(e);if(t==W||t==Q)return!e.size;if(ea(e))return!po(e).length;for(var n in e)if(ft.call(e,n))return!1;return!0},vr.isEqual=function(e,t){return co(e,t)},vr.isEqualWith=function(t,n,r){var o=(r="function"==typeof r?r:e)?r(t,n):e;return o===e?co(t,n,e,r):!!o},vr.isError=ks,vr.isFinite=function(e){return"number"==typeof e&&gn(e)},vr.isFunction=Es,vr.isInteger=Ts,vr.isLength=As,vr.isMap=Ps,vr.isMatch=function(e,t){return e===t||uo(e,t,Hi(t))},vr.isMatchWith=function(t,n,r){return r="function"==typeof r?r:e,uo(t,n,Hi(n),r)},vr.isNaN=function(e){return Ds(e)&&e!=+e},vr.isNative=function(e){if(Qi(e))throw new Qe(n);return lo(e)},vr.isNil=function(e){return null==e},vr.isNull=function(e){return null===e},vr.isNumber=Ds,vr.isObject=js,vr.isObjectLike=Ms,vr.isPlainObject=Is,vr.isRegExp=Ls,vr.isSafeInteger=function(e){return Ts(e)&&e>=-j&&e<=j},vr.isSet=Rs,vr.isString=Ns,vr.isSymbol=Bs,vr.isTypedArray=Fs,vr.isUndefined=function(t){return t===e},vr.isWeakMap=function(e){return Ms(e)&&$i(e)==re},vr.isWeakSet=function(e){return Ms(e)&&to(e)==oe},vr.join=function(e,t){return null==e?"":_n.call(e,t)},vr.kebabCase=wc,vr.last=ka,vr.lastIndexOf=function(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o;return r!==e&&(i=(i=Ks(r))<0?Gn(o+i,0):Zn(i,o-1)),n==n?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(t,n,i):yn(t,wn,i,!0)},vr.lowerCase=xc,vr.lowerFirst=Cc,vr.lt=zs,vr.lte=Hs,vr.max=function(t){return t&&t.length?$r(t,Dc,no):e},vr.maxBy=function(t,n){return t&&t.length?$r(t,Fi(n,2),no):e},vr.mean=function(e){return xn(e,Dc)},vr.meanBy=function(e,t){return xn(e,Fi(t,2))},vr.min=function(t){return t&&t.length?$r(t,Dc,go):e},vr.minBy=function(t,n){return t&&t.length?$r(t,Fi(n,2),go):e},vr.stubArray=$c,vr.stubFalse=Wc,vr.stubObject=function(){return{}},vr.stubString=function(){return""},vr.stubTrue=function(){return!0},vr.multiply=Jc,vr.nth=function(t,n){return t&&t.length?wo(t,Ks(n)):e},vr.noConflict=function(){return Ut._===this&&(Ut._=vt),this},vr.noop=Bc,vr.now=ns,vr.pad=function(e,t,n){e=Gs(e);var r=(t=Ks(t))?Vn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return xi($t(o),n)+e+xi(Kt(o),n)},vr.padEnd=function(e,t,n){e=Gs(e);var r=(t=Ks(t))?Vn(e):0;return t&&r<t?e+xi(t-r,n):e},vr.padStart=function(e,t,n){e=Gs(e);var r=(t=Ks(t))?Vn(e):0;return t&&r<t?xi(t-r,n)+e:e},vr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Xn(Gs(e).replace(Me,""),t||0)},vr.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Yi(t,n,r)&&(n=r=e),r===e&&("boolean"==typeof n?(r=n,n=e):"boolean"==typeof t&&(r=t,t=e)),t===e&&n===e?(t=0,n=1):(t=Us(t),n===e?(n=t,t=0):n=Us(n)),t>n){var o=t;t=n,n=o}if(r||t%1||n%1){var i=Jn();return Zn(t+i*(n-t+Nt("1e-"+((i+"").length-1))),n)}return Oo(t,n)},vr.reduce=function(e,t,n){var r=ws(e)?dn:Sn,o=arguments.length<3;return r(e,Fi(t,4),n,o,Vr)},vr.reduceRight=function(e,t,n){var r=ws(e)?pn:Sn,o=arguments.length<3;return r(e,Fi(t,4),n,o,Ur)},vr.repeat=function(t,n,r){return n=(r?Yi(t,n,r):n===e)?1:Ks(n),ko(Gs(t),n)},vr.replace=function(){var e=arguments,t=Gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},vr.result=function(t,n,r){var o=-1,i=(n=Yo(n,t)).length;for(i||(i=1,t=e);++o<i;){var a=null==t?e:t[pa(n[o])];a===e&&(o=i,a=r),t=Es(a)?a.call(t):a}return t},vr.round=Qc,vr.runInContext=Pe,vr.sample=function(e){return(ws(e)?Er:To)(e)},vr.size=function(e){if(null==e)return 0;if(Cs(e))return Ns(e)?Vn(e):e.length;var t=$i(e);return t==W||t==Q?e.size:po(e).length},vr.snakeCase=_c,vr.some=function(t,n,r){var o=ws(t)?hn:Lo;return r&&Yi(t,n,r)&&(n=e),o(t,Fi(n,3))},vr.sortedIndex=function(e,t){return Ro(e,t)},vr.sortedIndexBy=function(e,t,n){return No(e,t,Fi(n,2))},vr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Ro(e,t);if(r<n&&vs(e[r],t))return r}return-1},vr.sortedLastIndex=function(e,t){return Ro(e,t,!0)},vr.sortedLastIndexBy=function(e,t,n){return No(e,t,Fi(n,2),!0)},vr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Ro(e,t,!0)-1;if(vs(e[n],t))return n}return-1},vr.startCase=Sc,vr.startsWith=function(e,t,n){return e=Gs(e),n=null==n?0:Nr(Ks(n),0,e.length),t=zo(t),e.slice(n,n+t.length)==t},vr.subtract=eu,vr.sum=function(e){return e&&e.length?On(e,Dc):0},vr.sumBy=function(e,t){return e&&e.length?On(e,Fi(t,2)):0},vr.template=function(t,n,r){var i=vr.templateSettings;r&&Yi(t,n,r)&&(n=e),t=Gs(t),n=Xs({},n,i,Ai);var a,s,c=Xs({},n.imports,i.imports,Ai),u=sc(c),l=An(c,u),f=0,d=n.interpolate||qe,p="__p += '",h=rt((n.escape||qe).source+"|"+d.source+"|"+(d===Oe?Fe:qe).source+"|"+(n.evaluate||qe).source+"|$","g"),g="//# sourceURL="+(ft.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pt+"]")+"\n";t.replace(h,(function(e,n,r,o,i,c){return r||(r=o),p+=t.slice(f,c).replace(Ge,Ln),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),i&&(s=!0,p+="';\n"+i+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+e.length,e})),p+="';\n";var v=ft.call(n,"variable")&&n.variable;if(v){if(Ne.test(v))throw new Qe(o)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(ve,""):p).replace(ye,"$1").replace(me,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Tc((function(){return et(u,g+"return "+p).apply(e,l)}));if(y.source=p,ks(y))throw y;return y},vr.times=function(e,t){if((e=Ks(e))<1||e>j)return[];var n=D,r=Zn(e,D);t=Fi(t),e-=D;for(var o=kn(r,t);++n<e;)t(n);return o},vr.toFinite=Us,vr.toInteger=Ks,vr.toLength=$s,vr.toLower=function(e){return Gs(e).toLowerCase()},vr.toNumber=Ws,vr.toSafeInteger=function(e){return e?Nr(Ks(e),-j,j):0===e?e:0},vr.toString=Gs,vr.toUpper=function(e){return Gs(e).toUpperCase()},vr.trim=function(t,n,r){if((t=Gs(t))&&(r||n===e))return En(t);if(!t||!(n=zo(n)))return t;var o=Un(t),i=Un(n);return Jo(o,Mn(o,i),Pn(o,i)+1).join("")},vr.trimEnd=function(t,n,r){if((t=Gs(t))&&(r||n===e))return t.slice(0,Kn(t)+1);if(!t||!(n=zo(n)))return t;var o=Un(t);return Jo(o,0,Pn(o,Un(n))+1).join("")},vr.trimStart=function(t,n,r){if((t=Gs(t))&&(r||n===e))return t.replace(Me,"");if(!t||!(n=zo(n)))return t;var o=Un(t);return Jo(o,Mn(o,Un(n))).join("")},vr.truncate=function(t,n){var r=_,o=S;if(js(n)){var i="separator"in n?n.separator:i;r="length"in n?Ks(n.length):r,o="omission"in n?zo(n.omission):o}var a=(t=Gs(t)).length;if(Rn(t)){var s=Un(t);a=s.length}if(r>=a)return t;var c=r-Vn(o);if(c<1)return o;var u=s?Jo(s,0,c).join(""):t.slice(0,c);if(i===e)return u+o;if(s&&(c+=u.length-c),Ls(i)){if(t.slice(c).search(i)){var l,f=u;for(i.global||(i=rt(i.source,Gs(ze.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;u=u.slice(0,d===e?c:d)}}else if(t.indexOf(zo(i),c)!=c){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},vr.unescape=function(e){return(e=Gs(e))&&xe.test(e)?e.replace(be,$n):e},vr.uniqueId=function(e){var t=++dt;return Gs(e)+t},vr.upperCase=Oc,vr.upperFirst=kc,vr.each=Ga,vr.eachRight=Za,vr.first=Ca,Nc(vr,(qc={},Yr(vr,(function(e,t){ft.call(vr.prototype,t)||(qc[t]=e)})),qc),{chain:!1}),vr.VERSION="4.17.21",rn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){vr[e].placeholder=vr})),rn(["drop","take"],(function(t,n){wr.prototype[t]=function(r){r=r===e?1:Gn(Ks(r),0);var o=this.__filtered__&&!n?new wr(this):this.clone();return o.__filtered__?o.__takeCount__=Zn(r,o.__takeCount__):o.__views__.push({size:Zn(r,D),type:t+(o.__dir__<0?"Right":"")}),o},wr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),rn(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==E||3==n;wr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Fi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),rn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");wr.prototype[e]=function(){return this[n](1).value()[0]}})),rn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");wr.prototype[e]=function(){return this.__filtered__?new wr(this):this[n](1)}})),wr.prototype.compact=function(){return this.filter(Dc)},wr.prototype.find=function(e){return this.filter(e).head()},wr.prototype.findLast=function(e){return this.reverse().find(e)},wr.prototype.invokeMap=Eo((function(e,t){return"function"==typeof e?new wr(this):this.map((function(n){return ao(n,e,t)}))})),wr.prototype.reject=function(e){return this.filter(fs(Fi(e)))},wr.prototype.slice=function(t,n){t=Ks(t);var r=this;return r.__filtered__&&(t>0||n<0)?new wr(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),n!==e&&(r=(n=Ks(n))<0?r.dropRight(-n):r.take(n-t)),r)},wr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},wr.prototype.toArray=function(){return this.take(D)},Yr(wr.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),i=vr[o?"take"+("last"==n?"Right":""):n],a=o||/^find/.test(n);i&&(vr.prototype[n]=function(){var n=this.__wrapped__,s=o?[1]:arguments,c=n instanceof wr,u=s[0],l=c||ws(n),f=function(e){var t=i.apply(vr,fn([e],s));return o&&d?t[0]:t};l&&r&&"function"==typeof u&&1!=u.length&&(c=l=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,g=c&&!p;if(!a&&l){n=g?n:new wr(this);var v=t.apply(n,s);return v.__actions__.push({func:Ua,args:[f],thisArg:e}),new br(v,d)}return h&&g?t.apply(this,s):(v=this.thru(f),h?o?v.value()[0]:v.value():v)})})),rn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);vr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(ws(o)?o:[],e)}return this[n]((function(n){return t.apply(ws(n)?n:[],e)}))}})),Yr(wr.prototype,(function(e,t){var n=vr[t];if(n){var r=n.name+"";ft.call(sr,r)||(sr[r]=[]),sr[r].push({name:t,func:n})}})),sr[yi(e,h).name]=[{name:"wrapper",func:e}],wr.prototype.clone=function(){var e=new wr(this.__wrapped__);return e.__actions__=ai(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ai(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ai(this.__views__),e},wr.prototype.reverse=function(){if(this.__filtered__){var e=new wr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},wr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=ws(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Zn(t,e+a);break;case"takeRight":e=Gn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,f=l.length,d=0,p=Zn(c,this.__takeCount__);if(!n||!r&&o==c&&p==c)return $o(e,this.__actions__);var h=[];e:for(;c--&&d<p;){for(var g=-1,v=e[u+=t];++g<f;){var y=l[g],m=y.iteratee,b=y.type,w=m(v);if(b==T)v=w;else if(!w){if(b==E)continue e;break e}}h[d++]=v}return h},vr.prototype.at=Ka,vr.prototype.chain=function(){return Va(this)},vr.prototype.commit=function(){return new br(this.value(),this.__chain__)},vr.prototype.next=function(){this.__values__===e&&(this.__values__=Vs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},vr.prototype.plant=function(t){for(var n,r=this;r instanceof mr;){var o=ga(r);o.__index__=0,o.__values__=e,n?i.__wrapped__=o:n=o;var i=o;r=r.__wrapped__}return i.__wrapped__=t,n},vr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof wr){var n=t;return this.__actions__.length&&(n=new wr(this)),(n=n.reverse()).__actions__.push({func:Ua,args:[ja],thisArg:e}),new br(n,this.__chain__)}return this.thru(ja)},vr.prototype.toJSON=vr.prototype.valueOf=vr.prototype.value=function(){return $o(this.__wrapped__,this.__actions__)},vr.prototype.first=vr.prototype.head,Lt&&(vr.prototype[Lt]=function(){return this}),vr}();$t?(($t.exports=Wn)._=Wn,Kt._=Wn):Ut._=Wn}.call(Lt);var Ht=Rt(zt.exports);const Vt=({options:e,select:t,close:n,open:r,searchText:o,isOpen:i,isFocused:a})=>{const[s,c]=y(-1),[u,l]=y(""),f=g(null),d="string"==typeof o,p=()=>{c(-1),l("")},h=()=>{p(),n()};v((()=>{!1===i&&p()}),[i]),v((()=>{const{current:e}=f;if(e){const{childNodes:t}=e,n=null==t?void 0:t[s];if(n){const{offsetTop:t,offsetHeight:r}=n,{scrollTop:o,offsetHeight:i}=e,a=o+i-r,s=t+r-i;t<o?e.scrollTo(0,t):t>a&&e.scrollTo(0,s)}}}),[s]);const m=Ht.debounce((()=>l("")),1e3);v((()=>{if(u||d){const n=d?o:u,r=e.findIndex((e=>{const t=n.toLowerCase(),r=e.label.toLowerCase().startsWith(t);return""!==o&&r}));i?c(r):i||d||t(e[r]),d||m()}}),[u,o]);return Mt(document,"keydown",(f=>{const{key:p,altKey:g,ctrlKey:v,metaKey:y}=f;if(!(g||v||y)&&p)switch(p){case"ArrowDown":if(f.preventDefault(),!i){r();break}c((t=>{const n=t+1;return n>=e.length?0:n}));break;case"ArrowUp":if(f.preventDefault(),!i){r();break}c((t=>{const n=t-1,r=n<0,o=e.length-1;return r?o:n}));break;case"Tab":case"Enter":if(i){d&&(d&&"Tab"===p)||f.preventDefault();const r=e[s];r?r.onClick?(r.onClick(),n()):t(r,f):d?t(o,f):h()}break;case" ":a&&(d||f.preventDefault(),i?h():r());break;case"Escape":i&&(f.preventDefault(),h());break;default:1===p.length&&p.match(/[a-z0-9]/i)&&!d&&(f.preventDefault(),l(u+p));break}}),i||a,[s,u,i,o]),[s,f]};var Ut,Kt=[],$t="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ut||(Ut={}));var Wt,qt=function(e){return Object.freeze(e)},Gt=function(e,t){this.inlineSize=e,this.blockSize=t,qt(this)},Zt=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,qt(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Yt=function(e){return e instanceof SVGElement&&"getBBox"in e},Xt=function(e){if(Yt(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},Jt=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Qt="undefined"!=typeof window?window:{},en=new WeakMap,tn=/auto|scroll/,nn=/^tb|vertical/,rn=/msie|trident/i.test(Qt.navigator&&Qt.navigator.userAgent),on=function(e){return parseFloat(e||"0")},an=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Gt((n?t:e)||0,(n?e:t)||0)},sn=qt({devicePixelContentBoxSize:an(),borderBoxSize:an(),contentBoxSize:an(),contentRect:new Zt(0,0,0,0)}),cn=function(e,t){if(void 0===t&&(t=!1),en.has(e)&&!t)return en.get(e);if(Xt(e))return en.set(e,sn),sn;var n=getComputedStyle(e),r=Yt(e)&&e.ownerSVGElement&&e.getBBox(),o=!rn&&"border-box"===n.boxSizing,i=nn.test(n.writingMode||""),a=!r&&tn.test(n.overflowY||""),s=!r&&tn.test(n.overflowX||""),c=r?0:on(n.paddingTop),u=r?0:on(n.paddingRight),l=r?0:on(n.paddingBottom),f=r?0:on(n.paddingLeft),d=r?0:on(n.borderTopWidth),p=r?0:on(n.borderRightWidth),h=r?0:on(n.borderBottomWidth),g=f+u,v=c+l,y=(r?0:on(n.borderLeftWidth))+p,m=d+h,b=s?e.offsetHeight-m-e.clientHeight:0,w=a?e.offsetWidth-y-e.clientWidth:0,x=o?g+y:0,C=o?v+m:0,_=r?r.width:on(n.width)-x-w,S=r?r.height:on(n.height)-C-b,O=_+g+w+y,k=S+v+b+m,E=qt({devicePixelContentBoxSize:an(Math.round(_*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:an(O,k,i),contentBoxSize:an(_,S,i),contentRect:new Zt(f,c,_,S)});return en.set(e,E),E},un=function(e,t,n){var r=cn(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Ut.DEVICE_PIXEL_CONTENT_BOX:return a;case Ut.BORDER_BOX:return o;default:return i}},ln=function(e){var t=cn(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=qt([t.borderBoxSize]),this.contentBoxSize=qt([t.contentBoxSize]),this.devicePixelContentBoxSize=qt([t.devicePixelContentBoxSize])},fn=function(e){if(Xt(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},dn=function(){var e=1/0,t=[];Kt.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new ln(t.target),o=fn(t.target);r.push(n),t.lastReportedSize=un(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},pn=function(e){Kt.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(fn(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},hn=function(){var e,t=0;for(pn(t);Kt.some((function(e){return e.activeTargets.length>0}));)t=dn(),pn(t);return Kt.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:$t}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=$t),window.dispatchEvent(e)),t>0},gn=[],vn=function(e){if(!Wt){var t=0,n=document.createTextNode("");new MutationObserver((function(){return gn.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Wt=function(){n.textContent="".concat(t?t--:t++)}}gn.push(e),Wt()},yn=0,mn={attributes:!0,characterData:!0,childList:!0,subtree:!0},bn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],wn=function(e){return void 0===e&&(e=0),Date.now()+e},xn=!1,Cn=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!xn){xn=!0;var n,r=wn(e);n=function(){var n=!1;try{n=hn()}finally{if(xn=!1,e=r-wn(),!yn)return;n?t.run(1e3):e>0?t.run(e):t.start()}},vn((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,mn)};document.body?t():Qt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),bn.forEach((function(t){return Qt.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),bn.forEach((function(t){return Qt.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),_n=new Cn,Sn=function(e){!yn&&e>0&&_n.start(),!(yn+=e)&&_n.stop()},On=function(){function e(e,t){this.target=e,this.observedBox=t||Ut.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=un(this.target,this.observedBox,!0);return e=this.target,Yt(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),kn=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},En=new WeakMap,Tn=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},An=function(){function e(){}return e.connect=function(e,t){var n=new kn(e,t);En.set(e,n)},e.observe=function(e,t,n){var r=En.get(e),o=0===r.observationTargets.length;Tn(r.observationTargets,t)<0&&(o&&Kt.push(r),r.observationTargets.push(new On(t,n&&n.box)),Sn(1),_n.schedule())},e.unobserve=function(e,t){var n=En.get(e),r=Tn(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&Kt.splice(Kt.indexOf(n),1),n.observationTargets.splice(r,1),Sn(-1))},e.disconnect=function(e){var t=this,n=En.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),jn=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");An.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Jt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");An.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Jt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");An.unobserve(this,e)},e.prototype.disconnect=function(){An.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Mn=o["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"],Pn=e=>{var t=g(e);return v((()=>{t.current=e})),t};function Dn(){}var In,Ln="undefined"!=typeof window&&"ResizeObserver"in window?window.ResizeObserver:jn;const Rn=(e,t)=>{!function(e,t){var n,r,o,i,a=In||(n=0,r=[],o=new Map,i=new Ln(((e,t)=>{r=r.concat(e),n||window.requestAnimationFrame((function(){for(var e=new Set,i=function(n){if(e.has(r[n].target))return"continue";e.add(r[n].target);var i=o.get(r[n].target);null==i||i.forEach((e=>e(r[n],t)))},a=0;a<r.length;a++)i(a);r=[],n=0})),n=1})),In={observer:i,subscribe(e,t){var n;i.observe(e);var r=null!==(n=o.get(e))&&void 0!==n?n:[];r.push(t),o.set(e,r)},unsubscribe(e,t){var n,r=null!==(n=o.get(e))&&void 0!==n?n:[];if(1===r.length)return i.unobserve(e),void o.delete(e);var a=r.indexOf(t);-1!==a&&r.splice(a,1),o.set(e,r)}}),s=Pn(t);Mn((()=>{function t(e,t){n||s.current(e,t)}var n=0,r=e&&"current"in e?e.current:e;return r?(a.subscribe(r,t),()=>{n=1,a.unsubscribe(r,t)}):Dn}),[e,a,s]),a.observer}(e,(e=>t(e.target)))},Nn=({width:e,height:t})=>({width:e,height:t}),Bn=({padding:e,paddingTop:t,paddingBottom:n,paddingRight:r,paddingLeft:o})=>({padding:e,paddingTop:t,paddingBottom:n,paddingRight:r,paddingLeft:o}),Fn=({margin:e,marginTop:t,marginBottom:n,marginRight:r,marginLeft:o})=>({margin:e,marginTop:t,marginBottom:n,marginRight:r,marginLeft:o}),zn=({position:e,top:t,bottom:n,right:r,left:o})=>({position:e,top:t,bottom:n,right:r,left:o});const Hn={"activity-history":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.85714 5H12.1429C13.1643 5 14 5.83571 14 6.85714V16.1429C14 17.1643 13.1643 18 12.1429 18H2.85714C1.83571 18 1 17.1643 1 16.1429V6.85714C1 5.83571 1.83571 5 2.85714 5ZM10.0536 10.1071C10.0536 8.69571 8.91143 7.55357 7.5 7.55357C6.08857 7.55357 4.94643 8.69571 4.94643 10.1071C4.94643 11.5186 6.08857 12.6607 7.5 12.6607C8.91143 12.6607 10.0536 11.5186 10.0536 10.1071ZM2.85714 15.7714V16.1429H12.1429V15.7714C12.1429 15.0286 11.7157 14.3507 11.0379 14.0629C9.95143 13.6079 8.75357 13.3571 7.5 13.3571C6.24643 13.3571 5.04857 13.6079 3.96214 14.0721C3.28429 14.3507 2.85714 15.0379 2.85714 15.7714ZM17.5 5C16.6716 5 16 5.67157 16 6.5C16 7.32843 16.6716 8 17.5 8H21.5C22.3284 8 23 7.32843 23 6.5C23 5.67157 22.3284 5 21.5 5H17.5ZM16 11.5C16 10.6716 16.6716 10 17.5 10H21.5C22.3284 10 23 10.6716 23 11.5C23 12.3284 22.3284 13 21.5 13H17.5C16.6716 13 16 12.3284 16 11.5ZM17.5 15C16.6716 15 16 15.6716 16 16.5C16 17.3284 16.6716 18 17.5 18H21.5C22.3284 18 23 17.3284 23 16.5C23 15.6716 22.3284 15 21.5 15H17.5Z",fill:"currentColor"})}))},add:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18 13H13V18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18V13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H11V6C11 5.45 11.45 5 12 5C12.55 5 13 5.45 13 6V11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z",fill:"currentColor"})}))},"add-circle":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM16 13H13V16C13 16.55 12.55 17 12 17C11.45 17 11 16.55 11 16V13H8C7.45 13 7 12.55 7 12C7 11.45 7.45 11 8 11H11V8C11 7.45 11.45 7 12 7C12.55 7 13 7.45 13 8V11H16C16.55 11 17 11.45 17 12C17 12.55 16.55 13 16 13Z",fill:"currentColor"})}))},"add-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 7C11.45 7 11 7.45 11 8V11H8C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13H11V16C11 16.55 11.45 17 12 17C12.55 17 13 16.55 13 16V13H16C16.55 13 17 12.55 17 12C17 11.45 16.55 11 16 11H13V8C13 7.45 12.55 7 12 7ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}))},"add-person":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M9 12C11.2091 12 13 10.2091 13 8C13 5.79086 11.2091 4 9 4C6.79086 4 5 5.79086 5 8C5 10.2091 6.79086 12 9 12Z",fill:"currentColor"}),e("path",{d:"M9 14C6.33 14 1 15.34 1 18V19C1 19.55 1.45 20 2 20H16C16.55 20 17 19.55 17 19V18C17 15.34 11.67 14 9 14Z",fill:"currentColor"}),e("path",{d:"M20 10V7H18V10H15V12H18V15H20V12H23V10H20Z",fill:"currentColor"})]}))},"arrow-down":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11 5V16.17L6.12 11.29C5.73 10.9 5.09 10.9 4.7 11.29C4.31 11.68 4.31 12.31 4.7 12.7L11.29 19.29C11.68 19.68 12.31 19.68 12.7 19.29L19.29 12.7C19.68 12.31 19.68 11.68 19.29 11.29C18.9 10.9 18.27 10.9 17.88 11.29L13 16.17V5C13 4.45 12.55 4 12 4C11.45 4 11 4.45 11 5Z",fill:"currentColor"})}))},"arrow-left":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 11H7.83L12.71 6.12C13.1 5.73 13.1 5.09 12.71 4.7C12.32 4.31 11.69 4.31 11.3 4.7L4.71 11.29C4.32 11.68 4.32 12.31 4.71 12.7L11.3 19.29C11.69 19.68 12.32 19.68 12.71 19.29C13.1 18.9 13.1 18.27 12.71 17.88L7.83 13H19C19.55 13 20 12.55 20 12C20 11.45 19.55 11 19 11Z",fill:"currentColor"})}))},"arrow-right":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M5 13H16.17L11.29 17.88C10.9 18.27 10.9 18.91 11.29 19.3C11.68 19.69 12.31 19.69 12.7 19.3L19.29 12.71C19.68 12.32 19.68 11.69 19.29 11.3L12.71 4.7C12.32 4.31 11.69 4.31 11.3 4.7C10.91 5.09 10.91 5.72 11.3 6.11L16.17 11H5C4.45 11 4 11.45 4 12C4 12.55 4.45 13 5 13Z",fill:"currentColor"})}))},"arrow-up":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13 19V7.83L17.88 12.71C18.27 13.1 18.91 13.1 19.3 12.71C19.69 12.32 19.69 11.69 19.3 11.3L12.71 4.71C12.32 4.32 11.69 4.32 11.3 4.71L4.7 11.29C4.31 11.68 4.31 12.31 4.7 12.7C5.09 13.09 5.72 13.09 6.11 12.7L11 7.83V19C11 19.55 11.45 20 12 20C12.55 20 13 19.55 13 19Z",fill:"currentColor"})}))},attachment:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M16.5 6.75V17.33C16.5 19.42 14.97 21.28 12.89 21.48C10.5 21.71 8.5 19.84 8.5 17.5V5.14C8.5 3.83 9.44 2.64 10.74 2.51C12.24 2.36 13.5 3.53 13.5 5V15.5C13.5 16.05 13.05 16.5 12.5 16.5C11.95 16.5 11.5 16.05 11.5 15.5V6.75C11.5 6.34 11.16 6 10.75 6C10.34 6 10 6.34 10 6.75V15.36C10 16.67 10.94 17.86 12.24 17.99C13.74 18.14 15 16.97 15 15.5V5.17C15 3.08 13.47 1.22 11.39 1.02C9.01 0.790001 7 2.66 7 5V17.27C7 20.14 9.1 22.71 11.96 22.98C15.25 23.28 18 20.72 18 17.5V6.75C18 6.34 17.66 6 17.25 6C16.84 6 16.5 6.34 16.5 6.75Z",fill:"currentColor"})}))},calendar:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M16 13H13C12.45 13 12 13.45 12 14V17C12 17.55 12.45 18 13 18H16C16.55 18 17 17.55 17 17V14C17 13.45 16.55 13 16 13ZM16 3V4H8V3C8 2.45 7.55 2 7 2C6.45 2 6 2.45 6 3V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4H18V3C18 2.45 17.55 2 17 2C16.45 2 16 2.45 16 3ZM18 20H6C5.45 20 5 19.55 5 19V9H19V19C19 19.55 18.55 20 18 20Z",fill:"currentColor"})}))},camera:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.83 5H20C21.1 5 22 5.9 22 7V19C22 20.1 21.1 21 20 21H4C2.9 21 2 20.1 2 19V7C2 5.9 2.9 5 4 5H7.17L8.4 3.65C8.78 3.24 9.32 3 9.88 3H14.12C14.68 3 15.22 3.24 15.59 3.65L16.83 5ZM7 13C7 15.76 9.24 18 12 18C14.76 18 17 15.76 17 13C17 10.24 14.76 8 12 8C9.24 8 7 10.24 7 13ZM15 13C15 14.6569 13.6569 16 12 16C10.3431 16 9 14.6569 9 13C9 11.3431 10.3431 10 12 10C13.6569 10 15 11.3431 15 13Z",fill:"currentColor"})}))},card:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M20 4H4C2.89 4 2 4.89 2 6V17C2 18.11 2.89 19 4 19H8H9H12H15H16H20C21.11 19 22 18.11 22 17V6C22 4.89 21.11 4 20 4ZM20 17H4V15H20V17ZM20 12H4V7C4 6.45 4.45 6 5 6H19C19.55 6 20 6.45 20 7V12Z",fill:"currentColor"})}))},"caret-down":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8.71001 11.71L11.3 14.3C11.69 14.69 12.32 14.69 12.71 14.3L15.3 11.71C15.93 11.08 15.48 10 14.59 10H9.41001C8.52001 10 8.08001 11.08 8.71001 11.71Z",fill:"currentColor"})}))},"caret-up":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8.70999 12.29L11.3 9.7C11.69 9.31 12.32 9.31 12.71 9.7L15.3 12.29C15.93 12.92 15.48 14 14.59 14H9.40999C8.51999 14 8.07999 12.92 8.70999 12.29Z",fill:"currentColor"})}))},check:t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M9 16.2L5.5 12.7C5.11 12.31 4.49 12.31 4.1 12.7C3.71 13.09 3.71 13.71 4.1 14.1L8.29 18.29C8.68 18.68 9.31 18.68 9.7 18.29L20.3 7.70001C20.69 7.31001 20.69 6.69001 20.3 6.30001C19.91 5.91001 19.29 5.91001 18.9 6.30001L9 16.2Z",fill:"currentColor"})})),"check-circle":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM9.29 16.29L5.7 12.7C5.31 12.31 5.31 11.68 5.7 11.29C6.09 10.9 6.72 10.9 7.11 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.7 16.29C10.32 16.68 9.68 16.68 9.29 16.29Z",fill:"currentColor"})}))},"check-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM15.54 8.82L10.59 13.77L8.47 11.65C8.08 11.26 7.45 11.26 7.06 11.65C6.67 12.04 6.67 12.67 7.06 13.06L9.89 15.89C10.28 16.28 10.91 16.28 11.3 15.89L16.96 10.23C17.35 9.84 17.35 9.21 16.96 8.82C16.56 8.43 15.93 8.43 15.54 8.82Z",fill:"currentColor"})}))},checkbox:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM10.71 16.29C10.32 16.68 9.69 16.68 9.3 16.29L5.71 12.7C5.32 12.31 5.32 11.68 5.71 11.29C6.1 10.9 6.73 10.9 7.12 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.71 16.29Z",fill:"currentColor"})}))},"checkbox-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z",fill:"currentColor"})}))},"checkbox-partial":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM16 13H8C7.45 13 7 12.55 7 12C7 11.45 7.45 11 8 11H16C16.55 11 17 11.45 17 12C17 12.55 16.55 13 16 13Z",fill:"currentColor"})}))},"chevron-down":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15.88 9.29L12 13.17L8.12 9.29C7.73 8.9 7.1 8.9 6.71 9.29C6.32 9.68 6.32 10.31 6.71 10.7L11.3 15.29C11.69 15.68 12.32 15.68 12.71 15.29L17.3 10.7C17.69 10.31 17.69 9.68 17.3 9.29C16.91 8.91 16.27 8.9 15.88 9.29Z",fill:"currentColor"})}))},"chevron-left":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.71 6.71C14.32 6.32 13.69 6.32 13.3 6.71L8.71 11.3C8.32 11.69 8.32 12.32 8.71 12.71L13.3 17.3C13.69 17.69 14.32 17.69 14.71 17.3C15.1 16.91 15.1 16.28 14.71 15.89L10.83 12L14.71 8.12C15.1 7.73 15.09 7.09 14.71 6.71Z",fill:"currentColor"})}))},"chevron-right":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M9.29 6.71C8.9 7.1 8.9 7.73 9.29 8.12L13.17 12L9.29 15.88C8.9 16.27 8.9 16.9 9.29 17.29C9.68 17.68 10.31 17.68 10.7 17.29L15.29 12.7C15.68 12.31 15.68 11.68 15.29 11.29L10.7 6.7C10.32 6.32 9.68 6.32 9.29 6.71Z",fill:"currentColor"})}))},"chevron-up":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.29 8.71L6.7 13.3C6.31 13.69 6.31 14.32 6.7 14.71C7.09 15.1 7.72 15.1 8.11 14.71L12 10.83L15.88 14.71C16.27 15.1 16.9 15.1 17.29 14.71C17.68 14.32 17.68 13.69 17.29 13.3L12.7 8.71C12.32 8.32 11.68 8.32 11.29 8.71Z",fill:"currentColor"})}))},clapperboard:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M2.01 6C2.01 4.9 2.90045 4 4.001 4V18H20.009V4H22V18C22 19.1 21.1096 20 20.009 20H4.001C2.90045 20 2 19.1 2 18L2.01 6Z",fill:"currentColor"}),e("path",{d:"M20 8L18 4H21.99L22 10H20H5.76L4 6.47V4H5L7 8H10L8 4L10 4L12 8H15L13 4H15L17 8H20Z",fill:"currentColor"})]}))},"clapperboard-open":function(n){return t("svg",Object.assign({viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M9.05353 18.0588L9.994 16.1276L10.9345 18.0588L12.9955 18.9401L10.9345 19.8213L9.994 21.7526L9.05353 19.8213L6.9925 18.9401L9.05353 18.0588Z",fill:"currentColor"}),e("path",{d:"M2.01 11.4401C2.01 10.4088 2.90045 9.56506 4.001 9.56506V22.6901H20.009V9.56506H22V22.6901C22 23.7213 21.1096 24.5651 20.009 24.5651H4.001C2.90045 24.5651 2 23.7213 2 22.6901L2.01 11.4401Z",fill:"currentColor"}),e("path",{d:"M15.3667 16.4744L15.997 15.1901L16.6273 16.4744L17.998 17.0651L16.6273 17.6557L15.997 18.9401L15.3667 17.6557L13.996 17.0651L15.3667 16.4744Z",fill:"currentColor"}),e("path",{d:"M18.7746 5.08006L15.0435 2.61664L17 1.56506L21.1788 4.22431C21.7952 4.61654 21.7966 5.5158 21.1815 5.90995L19.7743 6.81163L7.4455 13.9297L4.1572 11.7532L2.99982 11.5656L4 9.56506L7.51935 11.5783L10.1167 10.0787L6.38569 7.61526L8.11726 6.61554L11.8483 9.07896L14.4456 7.57938L10.7146 5.11595L12.4462 4.11623L16.1772 6.57965L18.7746 5.08006Z",fill:"currentColor"})]}))},close:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18.3 5.71C17.91 5.32 17.28 5.32 16.89 5.71L12 10.59L7.11 5.7C6.72 5.31 6.09 5.31 5.7 5.7C5.31 6.09 5.31 6.72 5.7 7.11L10.59 12L5.7 16.89C5.31 17.28 5.31 17.91 5.7 18.3C6.09 18.69 6.72 18.69 7.11 18.3L12 13.41L16.89 18.3C17.28 18.69 17.91 18.69 18.3 18.3C18.69 17.91 18.69 17.28 18.3 16.89L13.41 12L18.3 7.11C18.68 6.73 18.68 6.09 18.3 5.71Z",fill:"currentColor"})}))},"close-circle":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM16.3 16.3C15.91 16.69 15.28 16.69 14.89 16.3L12 13.41L9.11 16.3C8.72 16.69 8.09 16.69 7.7 16.3C7.31 15.91 7.31 15.28 7.7 14.89L10.59 12L7.7 9.11C7.31 8.72 7.31 8.09 7.7 7.7C8.09 7.31 8.72 7.31 9.11 7.7L12 10.59L14.89 7.7C15.28 7.31 15.91 7.31 16.3 7.7C16.69 8.09 16.69 8.72 16.3 9.11L13.41 12L16.3 14.89C16.68 15.27 16.68 15.91 16.3 16.3Z",fill:"currentColor"})}))},"close-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13.89 8.7L12 10.59L10.11 8.7C9.72 8.31 9.09 8.31 8.7 8.7C8.31 9.09 8.31 9.72 8.7 10.11L10.59 12L8.7 13.89C8.31 14.28 8.31 14.91 8.7 15.3C9.09 15.69 9.72 15.69 10.11 15.3L12 13.41L13.89 15.3C14.28 15.69 14.91 15.69 15.3 15.3C15.69 14.91 15.69 14.28 15.3 13.89L13.41 12L15.3 10.11C15.69 9.72 15.69 9.09 15.3 8.7C14.91 8.32 14.27 8.32 13.89 8.7ZM12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}))},copy:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15 20H5V7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7V20C3 21.1 3.9 22 5 22H15C15.55 22 16 21.55 16 21C16 20.45 15.55 20 15 20ZM20 16V4C20 2.9 19.1 2 18 2H9C7.9 2 7 2.9 7 4V16C7 17.1 7.9 18 9 18H18C19.1 18 20 17.1 20 16ZM18 16H9V4H18V16Z",fill:"currentColor"})}))},devices:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4 7C4 6.45 4.45 6 5 6H21C21.55 6 22 5.55 22 5C22 4.45 21.55 4 21 4H4C2.9 4 2 4.9 2 6V17H1.5C0.67 17 0 17.67 0 18.5C0 19.33 0.67 20 1.5 20H14V17H4V7ZM23 8H17C16.45 8 16 8.45 16 9V19C16 19.55 16.45 20 17 20H23C23.55 20 24 19.55 24 19V9C24 8.45 23.55 8 23 8ZM22 17H18V10H22V17Z",fill:"currentColor"})}))},dialpad:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 19C10.9 19 10 19.9 10 21C10 22.1 10.9 23 12 23C13.1 23 14 22.1 14 21C14 19.9 13.1 19 12 19ZM6 1C4.9 1 4 1.9 4 3C4 4.1 4.9 5 6 5C7.1 5 8 4.1 8 3C8 1.9 7.1 1 6 1ZM6 7C4.9 7 4 7.9 4 9C4 10.1 4.9 11 6 11C7.1 11 8 10.1 8 9C8 7.9 7.1 7 6 7ZM6 13C4.9 13 4 13.9 4 15C4 16.1 4.9 17 6 17C7.1 17 8 16.1 8 15C8 13.9 7.1 13 6 13ZM18 5C19.1 5 20 4.1 20 3C20 1.9 19.1 1 18 1C16.9 1 16 1.9 16 3C16 4.1 16.9 5 18 5ZM12 13C10.9 13 10 13.9 10 15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15C14 13.9 13.1 13 12 13ZM18 13C16.9 13 16 13.9 16 15C16 16.1 16.9 17 18 17C19.1 17 20 16.1 20 15C20 13.9 19.1 13 18 13ZM18 7C16.9 7 16 7.9 16 9C16 10.1 16.9 11 18 11C19.1 11 20 10.1 20 9C20 7.9 19.1 7 18 7ZM12 7C10.9 7 10 7.9 10 9C10 10.1 10.9 11 12 11C13.1 11 14 10.1 14 9C14 7.9 13.1 7 12 7ZM12 1C10.9 1 10 1.9 10 3C10 4.1 10.9 5 12 5C13.1 5 14 4.1 14 3C14 1.9 13.1 1 12 1Z",fill:"currentColor"})}))},"double-arrow-left":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M17.8675 6.71C18.2575 7.1 18.2575 7.73 17.8675 8.12L13.9875 12L17.8675 15.88C18.2575 16.27 18.2575 16.9 17.8675 17.29C17.4775 17.68 16.8475 17.68 16.4575 17.29L11.8675 12.7C11.4775 12.31 11.4775 11.68 11.8675 11.29L16.4575 6.7C16.8375 6.32 17.4775 6.32 17.8675 6.71Z",fill:"currentColor"}),e("path",{d:"M12.2973 6.71C12.6876 7.1 12.6876 7.73 12.2973 8.12L8.41433 12L12.2973 15.88C12.6876 16.27 12.6876 16.9 12.2973 17.29C11.907 17.68 11.2765 17.68 10.8862 17.29L6.29272 12.7C5.90243 12.31 5.90243 11.68 6.29272 11.29L10.8862 6.7C11.2665 6.32 11.907 6.32 12.2973 6.71Z",fill:"currentColor"})]}))},"double-arrow-right":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M6.2925 6.71C5.9025 7.1 5.9025 7.73 6.2925 8.12L10.1725 12L6.2925 15.88C5.9025 16.27 5.9025 16.9 6.2925 17.29C6.6825 17.68 7.3125 17.68 7.7025 17.29L12.2925 12.7C12.6825 12.31 12.6825 11.68 12.2925 11.29L7.7025 6.7C7.3225 6.32 6.6825 6.32 6.2925 6.71Z",fill:"currentColor"}),e("path",{d:"M11.8627 6.71C11.4724 7.1 11.4724 7.73 11.8627 8.12L15.7457 12L11.8627 15.88C11.4724 16.27 11.4724 16.9 11.8627 17.29C12.253 17.68 12.8835 17.68 13.2738 17.29L17.8673 12.7C18.2576 12.31 18.2576 11.68 17.8673 11.29L13.2738 6.7C12.8935 6.32 12.253 6.32 11.8627 6.71Z",fill:"currentColor"})]}))},download:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M16.59 9H15V4C15 3.45 14.55 3 14 3H10C9.45 3 9 3.45 9 4V9H7.41C6.52 9 6.07 10.08 6.7 10.71L11.29 15.3C11.68 15.69 12.31 15.69 12.7 15.3L17.29 10.71C17.92 10.08 17.48 9 16.59 9ZM5 19C5 19.55 5.45 20 6 20H18C18.55 20 19 19.55 19 19C19 18.45 18.55 18 18 18H6C5.45 18 5 18.45 5 19Z",fill:"currentColor"})}))},edit:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M3 17.46V20.5C3 20.78 3.22 21 3.5 21H6.54C6.67 21 6.8 20.95 6.89 20.85L17.81 9.94L14.06 6.19L3.15 17.1C3.05 17.2 3 17.32 3 17.46ZM20.71 7.04C21.1 6.65 21.1 6.02 20.71 5.63L18.37 3.29C17.98 2.9 17.35 2.9 16.96 3.29L15.13 5.12L18.88 8.87L20.71 7.04Z",fill:"currentColor"})}))},emoji:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM8.5 8C9.33 8 10 8.67 10 9.5C10 10.33 9.33 11 8.5 11C7.67 11 7 10.33 7 9.5C7 8.67 7.67 8 8.5 8ZM16.71 14.72C15.8 16.67 14.04 18 12 18C9.96 18 8.2 16.67 7.29 14.72C7.13 14.39 7.37 14 7.74 14H16.26C16.63 14 16.87 14.39 16.71 14.72ZM15.5 11C14.67 11 14 10.33 14 9.5C14 8.67 14.67 8 15.5 8C16.33 8 17 8.67 17 9.5C17 10.33 16.33 11 15.5 11Z",fill:"currentColor"})}))},"eye-off":function(n){return t("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},n,{children:[e("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),e("path",{d:"M12 6.5c2.76 0 5 2.24 5 5 0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24zM2.71 3.16c-.39.39-.39 1.02 0 1.41l1.97 1.97C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0zM12 16.5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5zm2.97-5.33c-.15-1.4-1.25-2.49-2.64-2.64l2.64 2.64z"})]}))},"eye-on":function(n){return t("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},n,{children:[e("path",{d:"M0 0h24v24H0V0z",fill:"none"}),e("path",{d:"M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})]}))},facebook:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17 5.625 21.125 10.375 21.875V14.875H7.875V12H10.375V9.75C10.375 7.25 11.875 5.875 14.125 5.875C15.25 5.875 16.375 6.125 16.375 6.125V8.625H15.125C13.875 8.625 13.5 9.375 13.5 10.125V12H16.25L15.75 14.875H13.375V22C18.375 21.25 22 17 22 12Z",fill:"currentColor"})}))},filter:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11 18H13C13.55 18 14 17.55 14 17C14 16.45 13.55 16 13 16H11C10.45 16 10 16.45 10 17C10 17.55 10.45 18 11 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM7 13H17C17.55 13 18 12.55 18 12C18 11.45 17.55 11 17 11H7C6.45 11 6 11.45 6 12C6 12.55 6.45 13 7 13Z",fill:"currentColor"})}))},flask:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13 11.33L18 18H6L11 11.33V6H13V11.33ZM15.96 4H8.04C7.62 4 7.39 4.48 7.65 4.81L9 6.5V10.67L3.2 18.4C2.71 19.06 3.18 20 4 20H20C20.82 20 21.29 19.06 20.8 18.4L15 10.67V6.5L16.35 4.81C16.61 4.48 16.38 4 15.96 4Z",fill:"currentColor"})}))},group:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4 13C5.1 13 6 12.1 6 11C6 9.9 5.1 9 4 9C2.9 9 2 9.9 2 11C2 12.1 2.9 13 4 13ZM5.13 14.1C4.76 14.04 4.39 14 4 14C3.01 14 2.07 14.21 1.22 14.58C0.48 14.9 0 15.62 0 16.43V18H4.5V16.39C4.5 15.56 4.73 14.78 5.13 14.1ZM20 13C21.1 13 22 12.1 22 11C22 9.9 21.1 9 20 9C18.9 9 18 9.9 18 11C18 12.1 18.9 13 20 13ZM24 16.43C24 15.62 23.52 14.9 22.78 14.58C21.93 14.21 20.99 14 20 14C19.61 14 19.24 14.04 18.87 14.1C19.27 14.78 19.5 15.56 19.5 16.39V18H24V16.43ZM16.24 13.65C15.07 13.13 13.63 12.75 12 12.75C10.37 12.75 8.93 13.14 7.76 13.65C6.68 14.13 6 15.21 6 16.39V18H18V16.39C18 15.21 17.32 14.13 16.24 13.65ZM8.07 16C8.16 15.77 8.2 15.61 8.98 15.31C9.95 14.93 10.97 14.75 12 14.75C13.03 14.75 14.05 14.93 15.02 15.31C15.79 15.61 15.83 15.77 15.93 16H8.07ZM12 8C12.55 8 13 8.45 13 9C13 9.55 12.55 10 12 10C11.45 10 11 9.55 11 9C11 8.45 11.45 8 12 8ZM12 6C10.34 6 9 7.34 9 9C9 10.66 10.34 12 12 12C13.66 12 15 10.66 15 9C15 7.34 13.66 6 12 6Z",fill:"currentColor"})}))},heart:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M13.35 20.13C12.59 20.82 11.42 20.82 10.66 20.12L10.55 20.02C5.3 15.27 1.87 12.16 2 8.28C2.06 6.58 2.93 4.95 4.34 3.99C6.98 2.19 10.24 3.03 12 5.09C13.76 3.03 17.02 2.18 19.66 3.99C21.07 4.95 21.94 6.58 22 8.28C22.14 12.16 18.7 15.27 13.45 20.04L13.35 20.13Z",fill:"currentColor"})}))},"heart-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.66 3.99C17.02 2.19 13.76 3.03 12 5.09C10.24 3.03 6.98 2.18 4.34 3.99C2.94 4.95 2.06 6.57 2 8.28C1.86 12.16 5.3 15.27 10.55 20.04L10.65 20.13C11.41 20.82 12.58 20.82 13.34 20.12L13.45 20.02C18.7 15.26 22.13 12.15 22 8.27C21.94 6.57 21.06 4.95 19.66 3.99ZM12.1 18.55L12 18.65L11.9 18.55C7.14 14.24 4 11.39 4 8.5C4 6.5 5.5 5 7.5 5C9.04 5 10.54 5.99 11.07 7.36H12.94C13.46 5.99 14.96 5 16.5 5C18.5 5 20 6.5 20 8.5C20 11.39 16.86 14.24 12.1 18.55Z",fill:"currentColor"})}))},help:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z",fill:"currentColor"})}))},hourglass:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M6 2L6.01 8L10 12L6.01 16.01L6 22H18V16L14 12L18 8.01V2H6ZM16 16.5V20H8V16.5L12 12.5L16 16.5Z",fill:"currentColor"})}))},info:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11 7.5C11 7.22386 11.2239 7 11.5 7H12.5C12.7761 7 13 7.22386 13 7.5V8.5C13 8.77614 12.7761 9 12.5 9H11.5C11.2239 9 11 8.77614 11 8.5V7.5ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V12ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}))},instagram:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M12 3.80723C14.6506 3.80723 15.0121 3.80723 16.0964 3.80723C17.0602 3.80723 17.5422 4.04819 17.9036 4.16868C18.3855 4.40964 18.747 4.53012 19.1084 4.89157C19.4699 5.25301 19.7108 5.61446 19.8313 6.09639C19.9518 6.45783 20.0723 6.93976 20.1928 7.90362C20.1928 8.98795 20.1928 9.22892 20.1928 12C20.1928 14.7711 20.1928 15.0121 20.1928 16.0964C20.1928 17.0602 19.9518 17.5422 19.8313 17.9036C19.5904 18.3855 19.4699 18.747 19.1084 19.1084C18.747 19.4699 18.3855 19.7108 17.9036 19.8313C17.5422 19.9518 17.0602 20.0723 16.0964 20.1928C15.0121 20.1928 14.7711 20.1928 12 20.1928C9.22892 20.1928 8.98795 20.1928 7.90362 20.1928C6.93976 20.1928 6.45783 19.9518 6.09639 19.8313C5.61446 19.5904 5.25301 19.4699 4.89157 19.1084C4.53012 18.747 4.28916 18.3855 4.16868 17.9036C4.04819 17.5422 3.92771 17.0602 3.80723 16.0964C3.80723 15.0121 3.80723 14.7711 3.80723 12C3.80723 9.22892 3.80723 8.98795 3.80723 7.90362C3.80723 6.93976 4.04819 6.45783 4.16868 6.09639C4.40964 5.61446 4.53012 5.25301 4.89157 4.89157C5.25301 4.53012 5.61446 4.28916 6.09639 4.16868C6.45783 4.04819 6.93976 3.92771 7.90362 3.80723C8.98795 3.80723 9.3494 3.80723 12 3.80723ZM12 2C9.22892 2 8.98795 2 7.90362 2C6.81928 2 6.09639 2.24096 5.49398 2.48193C4.89157 2.72289 4.28916 3.08434 3.68675 3.68675C3.08434 4.28916 2.84337 4.77109 2.48193 5.49398C2.24096 6.09639 2.12048 6.81928 2 7.90362C2 8.98795 2 9.3494 2 12C2 14.7711 2 15.0121 2 16.0964C2 17.1807 2.24096 17.9036 2.48193 18.506C2.72289 19.1084 3.08434 19.7108 3.68675 20.3133C4.28916 20.9157 4.77109 21.1566 5.49398 21.5181C6.09639 21.759 6.81928 21.8795 7.90362 22C8.98795 22 9.3494 22 12 22C14.6506 22 15.0121 22 16.0964 22C17.1807 22 17.9036 21.759 18.506 21.5181C19.1084 21.2771 19.7108 20.9157 20.3133 20.3133C20.9157 19.7108 21.1566 19.2289 21.5181 18.506C21.759 17.9036 21.8795 17.1807 22 16.0964C22 15.0121 22 14.6506 22 12C22 9.3494 22 8.98795 22 7.90362C22 6.81928 21.759 6.09639 21.5181 5.49398C21.2771 4.89157 20.9157 4.28916 20.3133 3.68675C19.7108 3.08434 19.2289 2.84337 18.506 2.48193C17.9036 2.24096 17.1807 2.12048 16.0964 2C15.0121 2 14.7711 2 12 2Z",fill:"currentColor"}),e("path",{d:"M12 6.81928C9.10843 6.81928 6.81928 9.10843 6.81928 12C6.81928 14.8916 9.10843 17.1807 12 17.1807C14.8916 17.1807 17.1807 14.8916 17.1807 12C17.1807 9.10843 14.8916 6.81928 12 6.81928ZM12 15.3735C10.1928 15.3735 8.62651 13.9277 8.62651 12C8.62651 10.1928 10.0723 8.62651 12 8.62651C13.8072 8.62651 15.3735 10.0723 15.3735 12C15.3735 13.8072 13.8072 15.3735 12 15.3735Z",fill:"currentColor"}),e("path",{d:"M17.3012 7.90362C17.9666 7.90362 18.506 7.3642 18.506 6.6988C18.506 6.03339 17.9666 5.49398 17.3012 5.49398C16.6358 5.49398 16.0964 6.03339 16.0964 6.6988C16.0964 7.3642 16.6358 7.90362 17.3012 7.90362Z",fill:"currentColor"})]}))},"kebab-menu":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z",fill:"currentColor"})}))},link:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 7H14C13.45 7 13 7.45 13 8C13 8.55 13.45 9 14 9H17C18.65 9 20 10.35 20 12C20 13.65 18.65 15 17 15H14C13.45 15 13 15.45 13 16C13 16.55 13.45 17 14 17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM8 12C8 12.55 8.45 13 9 13H15C15.55 13 16 12.55 16 12C16 11.45 15.55 11 15 11H9C8.45 11 8 11.45 8 12ZM10 15H7C5.35 15 4 13.65 4 12C4 10.35 5.35 9 7 9H10C10.55 9 11 8.55 11 8C11 7.45 10.55 7 10 7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H10C10.55 17 11 16.55 11 16C11 15.45 10.55 15 10 15Z",fill:"currentColor"})}))},linkedin:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M6.50001 22H2.25V8.625H6.50001V22ZM4.375 6.75C3 6.75 2 5.75 2 4.375C2 3 3.125 2 4.375 2C5.75 2 6.75 3 6.75 4.375C6.75 5.75 5.75 6.75 4.375 6.75ZM22 22H17.75V14.75C17.75 12.625 16.875 12 15.625 12C14.375 12 13.125 13 13.125 14.875V22H8.875V8.625H12.875V10.5C13.25 9.625 14.75 8.25 16.875 8.25C19.25 8.25 21.75 9.625 21.75 13.75V22H22Z",fill:"currentColor"})}))},loading:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M20.479 10.479H18.0439C17.2038 10.479 16.5227 11.1601 16.5227 12.0002C16.5227 12.8403 17.2038 13.5214 18.0439 13.5214H20.479C21.3191 13.5214 22.0002 12.8403 22.0002 12.0002C22.0002 11.1601 21.3191 10.479 20.479 10.479Z",fill:"currentColor"}),e("path",{d:"M7.47748 12.0002C7.47748 11.1601 6.79639 10.479 5.95627 10.479H3.52121C2.6811 10.479 2 11.1601 2 12.0002C2 12.8403 2.6811 13.5214 3.52121 13.5214H5.95627C6.79639 13.5214 7.47748 12.8404 7.47748 12.0002Z",fill:"currentColor"}),e("path",{d:"M11.9663 16.5227C11.1262 16.5227 10.4451 17.2038 10.4451 18.0439V20.479C10.4451 21.3191 11.1262 22.0002 11.9663 22.0002C12.8064 22.0002 13.4875 21.3191 13.4875 20.479V18.0439C13.4875 17.2038 12.8065 16.5227 11.9663 16.5227Z",fill:"currentColor"}),e("path",{d:"M11.9662 2.00024C11.1261 2.00024 10.4451 2.68144 10.4451 3.52156V5.95651C10.4451 6.79663 11.1263 7.47763 11.9664 7.47763C12.8065 7.47763 13.4875 6.79643 13.4875 5.95631V3.52136C13.4875 2.68124 12.8064 2.00024 11.9662 2.00024Z",fill:"currentColor"}),e("path",{d:"M17.3493 15.1981C16.7553 14.6041 15.792 14.6041 15.198 15.1981C14.6039 15.7921 14.6039 16.7553 15.198 17.3494L16.9198 19.0713C17.2168 19.3683 17.6061 19.5169 17.9955 19.5169C18.3848 19.5169 18.7741 19.3683 19.0711 19.0713C19.6651 18.4773 19.6651 17.5141 19.0711 16.92L17.3493 15.1981Z",fill:"currentColor"}),e("path",{d:"M7.08035 4.92909C6.48636 4.3349 5.52313 4.3351 4.92905 4.92909C4.33496 5.52317 4.33506 6.4864 4.92905 7.08039L6.65096 8.8023C6.948 9.09944 7.33733 9.24791 7.72656 9.24791C8.11589 9.24791 8.50522 9.09934 8.80216 8.8023C9.39624 8.20821 9.39614 7.24508 8.80216 6.651L7.08035 4.92909Z",fill:"currentColor"}),e("path",{d:"M6.65065 15.1981L4.92874 16.9201C4.33476 17.5142 4.33486 18.4774 4.92884 19.0715C5.22599 19.3686 5.61522 19.517 6.00444 19.517C6.39377 19.517 6.7832 19.3684 7.08014 19.0715L8.80206 17.3495C9.39604 16.7554 9.39594 15.7922 8.80196 15.1981C8.20787 14.6039 7.24474 14.604 6.65065 15.1981Z",fill:"currentColor"})]}))},maximize:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M5 18L5 6C5 5.45 5.45 5 6 5L18 5C18.55 5 19 5.45 19 6L19 11C19 11.55 19.45 12 20 12C20.55 12 21 11.55 21 11L21 5C21 3.89 20.1 3 19 3L5 3C3.9 3 3 3.9 3 5L3 19C3 20.1 3.9 21 5 21L11 21C11.55 21 12 20.55 12 20C12 19.45 11.55 19 11 19L6 19C5.45 19 5 18.55 5 18ZM9.1675 15.1675C9.7175 15.1675 10.1675 14.7175 10.1675 14.1675L10.1675 11.5775L19.2975 20.7075C19.6875 21.0975 20.3175 21.0975 20.7075 20.7075C21.0975 20.3175 21.0975 19.6875 20.7075 19.2975L11.5775 10.1675L14.1675 10.1675C14.7175 10.1675 15.1675 9.7175 15.1675 9.1675C15.1675 8.6175 14.7175 8.1675 14.1675 8.1675L9.1675 8.1675C8.6175 8.1675 8.1675 8.6175 8.1675 9.1675L8.1675 14.1675C8.1675 14.7175 8.6175 15.1675 9.1675 15.1675Z",fill:"currentColor"})}))},menu:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M3 18H21V16H3V18ZM3 13H21V11H3V13ZM3 6V8H21V6H3Z",fill:"currentColor"})}))},"merge-field":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M6.93945 20.2002C4.83008 19.6084 3.77539 18.2461 3.77539 16.1133V14.373C3.77539 13.1895 3.30078 12.5977 2.35156 12.5977V10.6025C3.30078 10.6025 3.77539 10.0078 3.77539 8.81836V6.97266C3.79297 5.91797 4.06543 5.06543 4.59277 4.41504C5.12598 3.76465 5.9082 3.29297 6.93945 3L7.49316 4.54688C6.75488 4.82812 6.37109 5.61621 6.3418 6.91113V8.81836C6.3418 10.1309 5.7998 11.0566 4.71582 11.5957C5.7998 12.1348 6.3418 13.0635 6.3418 14.3818V16.2803C6.37109 17.5752 6.75488 18.3633 7.49316 18.6445L6.93945 20.2002Z",fill:"currentColor"}),e("path",{d:"M17.1787 18.6445C17.917 18.3633 18.3008 17.5752 18.3301 16.2803V14.373C18.3301 13.0547 18.875 12.1289 19.9648 11.5957C18.875 11.0625 18.3301 10.1367 18.3301 8.81836V6.91113C18.3008 5.61621 17.917 4.82812 17.1787 4.54688L17.7324 3C18.7812 3.29297 19.5693 3.77344 20.0967 4.44141C20.624 5.10352 20.8906 5.97363 20.8965 7.05176V8.81836C20.8965 10.0078 21.3711 10.6025 22.3203 10.6025V12.5977C21.3711 12.5977 20.8965 13.1865 20.8965 14.3643V16.2363C20.8555 18.2988 19.8008 19.6201 17.7324 20.2002L17.1787 18.6445Z",fill:"currentColor"})]}))},message:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M20 2H4C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM9 11H7V9H9V11ZM13 11H11V9H13V11ZM17 11H15V9H17V11Z",fill:"currentColor"})}))},mic:function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("g",Object.assign({clipPath:"url(#clip0)"},{children:e("path",{d:"M12 14C13.66 14 15 12.66 15 11V5C15 3.34 13.66 2 12 2C10.34 2 8.99999 3.34 8.99999 5V11C8.99999 12.66 10.34 14 12 14ZM17.91 11C17.42 11 17.01 11.36 16.93 11.85C16.52 14.2 14.47 16 12 16C9.52999 16 7.47999 14.2 7.06999 11.85C6.98999 11.36 6.57999 11 6.08999 11C5.47999 11 4.99999 11.54 5.08999 12.14C5.57999 15.14 7.97999 17.49 11 17.92V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20V17.92C16.02 17.49 18.42 15.14 18.91 12.14C19.01 11.54 18.52 11 17.91 11Z",fill:"currentColor"})})),e("defs",{children:e("clipPath",Object.assign({id:"clip0"},{children:e("rect",{width:24,height:24,fill:"currentColor"})}))})]}))},"mic-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15 10.6V5C15 3.34 13.66 2 12 2C10.46 2 9.21 3.16 9.04 4.65L15 10.6ZM18.08 11C17.67 11 17.31 11.3 17.25 11.71C17.2 12.03 17.13 12.35 17.03 12.64L18.3 13.91C18.6 13.31 18.82 12.66 18.93 11.97C19 11.46 18.6 11 18.08 11ZM3.71 3.56C3.32 3.95 3.32 4.58 3.71 4.97L9 10.27V10.7C9 11.89 9.6 13.02 10.63 13.61C11.38 14.04 12.04 14.05 12.65 13.92L14.31 15.58C13.6 15.91 12.81 16.1 12 16.1C9.46 16.1 7.12 14.33 6.75 11.71C6.69 11.3 6.33 11 5.92 11C5.4 11 5 11.46 5.07 11.97C5.53 14.93 8.03 17.27 11 17.72V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20V17.72C13.91 17.59 14.77 17.27 15.55 16.82L19.04 20.31C19.43 20.7 20.06 20.7 20.45 20.31C20.84 19.92 20.84 19.29 20.45 18.9L5.12 3.56C4.73 3.17 4.1 3.17 3.71 3.56Z",fill:"currentColor"})}))},minimize:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 6L19 18C19 18.55 18.55 19 18 19L6 19C5.45 19 5 18.55 5 18L5 13C5 12.45 4.55 12 4 12C3.45 12 3 12.45 3 13L3 19C3 20.11 3.9 21 5 21L19 21C20.1 21 21 20.1 21 19L21 5C21 3.9 20.1 3 19 3L13 3C12.45 3 12 3.45 12 4C12 4.55 12.45 5 13 5L18 5C18.55 5 19 5.45 19 6ZM14.8325 8.8325C14.2825 8.8325 13.8325 9.2825 13.8325 9.8325L13.8325 12.4225L4.7025 3.2925C4.3125 2.9025 3.6825 2.9025 3.2925 3.2925C2.9025 3.6825 2.9025 4.3125 3.2925 4.7025L12.4225 13.8325L9.8325 13.8325C9.2825 13.8325 8.8325 14.2825 8.8325 14.8325C8.8325 15.3825 9.2825 15.8325 9.8325 15.8325L14.8325 15.8325C15.3825 15.8325 15.8325 15.3825 15.8325 14.8325L15.8325 9.8325C15.8325 9.2825 15.3825 8.8325 14.8325 8.8325Z",fill:"currentColor"})}))},mobile:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15.5 1H7.5C6.12 1 5 2.12 5 3.5V20.5C5 21.88 6.12 23 7.5 23H15.5C16.88 23 18 21.88 18 20.5V3.5C18 2.12 16.88 1 15.5 1ZM11.5 22C10.67 22 10 21.33 10 20.5C10 19.67 10.67 19 11.5 19C12.33 19 13 19.67 13 20.5C13 21.33 12.33 22 11.5 22ZM16 18H7V4H16V18Z",fill:"currentColor"})}))},"not-allowed":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 10.15 4.63 8.45 5.69 7.1L16.9 18.31C15.55 19.37 13.85 20 12 20ZM18.31 16.9L7.1 5.69C8.45 4.63 10.15 4 12 4C16.42 4 20 7.58 20 12C20 13.85 19.37 15.55 18.31 16.9Z",fill:"currentColor"})}))},open:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19 18L19 6C19 5.45 18.55 5 18 5L6 5C5.45 5 5 5.45 5 6L5 11C5 11.55 4.55 12 4 12C3.45 12 3 11.55 3 11L3 5C3 3.89 3.9 3 5 3L19 3C20.1 3 21 3.9 21 5L21 19C21 20.1 20.1 21 19 21L13 21C12.45 21 12 20.55 12 20C12 19.45 12.45 19 13 19L18 19C18.55 19 19 18.55 19 18ZM14.8325 15.1675C14.2825 15.1675 13.8325 14.7175 13.8325 14.1675L13.8325 11.5775L4.7025 20.7075C4.3125 21.0975 3.6825 21.0975 3.2925 20.7075C2.9025 20.3175 2.9025 19.6875 3.2925 19.2975L12.4225 10.1675L9.8325 10.1675C9.2825 10.1675 8.8325 9.7175 8.8325 9.1675C8.8325 8.6175 9.2825 8.1675 9.8325 8.1675L14.8325 8.1675C15.3825 8.1675 15.8325 8.6175 15.8325 9.1675L15.8325 14.1675C15.8325 14.7175 15.3825 15.1675 14.8325 15.1675Z",fill:"currentColor"})}))},pause:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8 19c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2v10c0 1.1.9 2 2 2zm6-12v10c0 1.1.9 2 2 2s2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2z"})}))},"pause-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M10 16C10.55 16 11 15.55 11 15V9C11 8.45 10.55 8 10 8C9.45 8 9 8.45 9 9V15C9 15.55 9.45 16 10 16ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM14 16C14.55 16 15 15.55 15 15V9C15 8.45 14.55 8 14 8C13.45 8 13 8.45 13 9V15C13 15.55 13.45 16 14 16Z",fill:"currentColor"})}))},person:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12ZM12 14C9.33 14 4 15.34 4 18V19C4 19.55 4.45 20 5 20H19C19.55 20 20 19.55 20 19V18C20 15.34 14.67 14 12 14Z",fill:"currentColor"})}))},phone:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.23 15.26L16.69 14.97C16.08 14.9 15.48 15.11 15.05 15.54L13.21 17.38C10.38 15.94 8.06001 13.63 6.62001 10.79L8.47001 8.93999C8.90001 8.50999 9.11001 7.90999 9.04001 7.29999L8.75001 4.77999C8.63001 3.76999 7.78001 3.00999 6.76001 3.00999H5.03001C3.90001 3.00999 2.96001 3.94999 3.03001 5.07999C3.56001 13.62 10.39 20.44 18.92 20.97C20.05 21.04 20.99 20.1 20.99 18.97V17.24C21 16.23 20.24 15.38 19.23 15.26Z",fill:"currentColor"})}))},"phone-blocked":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.54 17.37C11.91 19.45 8.65 20.76 5.09 20.98C3.96 21.05 3.02 20.11 3.02 18.98V17.25C3.01 16.24 3.77 15.39 4.78 15.27L7.32 14.98C7.93 14.91 8.53 15.12 8.96 15.55L10.8 17.39C11.61 16.98 12.39 16.49 13.11 15.94L2.1 4.93C1.71 4.54 1.71 3.91 2.1 3.52C2.49 3.13 3.13 3.13 3.52 3.52L20.49 20.5C20.88 20.89 20.88 21.52 20.49 21.91C20.1 22.3 19.47 22.3 19.08 21.91L14.54 17.37ZM17.39 10.8L15.54 8.95C15.11 8.52 14.9 7.92 14.97 7.31L15.26 4.79C15.38 3.78 16.23 3.02 17.25 3.02H18.98C20.11 3.02 21.05 3.96 20.98 5.09C20.76 8.66 19.44 11.92 17.36 14.56L15.93 13.13C16.48 12.4 16.97 11.62 17.39 10.8Z",fill:"currentColor"})}))},"phone-callback":t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.69 14.97L19.23 15.26C20.24 15.38 21 16.23 20.99 17.24V18.97C20.99 20.1 20.05 21.04 18.92 20.97C10.39 20.44 3.56004 13.62 3.03004 5.08001C2.96004 3.95001 3.90004 3.01001 5.03004 3.01001H6.76004C7.78004 3.01001 8.63004 3.77001 8.75004 4.78001L9.04004 7.30001C9.11004 7.91001 8.90004 8.51001 8.47004 8.94001L6.62004 10.79C8.06004 13.63 10.38 15.94 13.21 17.38L15.05 15.54C15.48 15.11 16.08 14.9 16.69 14.97ZM12.9334 11.3636C11.8334 11.3636 11.8334 13 12.9334 13H18.0667C19.6874 13 21.0001 11.5355 21.0001 9.72727C21.0001 7.91909 19.6874 6.45455 18.0667 6.45455H12.9334V4L10.0001 7.27273L12.9334 10.5455V8.09091L18.0667 8.09091C18.8734 8.09091 19.5334 8.82727 19.5334 9.72727C19.5334 10.6273 18.8734 11.3636 18.0667 11.3636H12.9334Z",fill:"currentColor"})})),"phone-end":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4.51 15.48L6.51 13.89C6.99 13.51 7.27 12.93 7.27 12.32V9.72C10.29 8.74 13.56 8.73 16.59 9.72V12.33C16.59 12.94 16.87 13.52 17.35 13.9L19.34 15.48C20.14 16.11 21.28 16.05 22 15.33L23.22 14.11C24.02 13.31 24.02 11.98 23.17 11.23C16.76 5.57 7.1 5.57 0.690004 11.23C-0.159996 11.98 -0.159996 13.31 0.640004 14.11L1.86 15.33C2.57 16.05 3.71 16.11 4.51 15.48Z",fill:"currentColor"})}))},"phone-forward":t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22.65 5.65L18.86 1.86C18.54 1.54 18 1.76 18 2.21V4H14.5C14.22 4 14 4.22 14 4.5V7.5C14 7.78 14.22 8 14.5 8H18V9.79C18 10.24 18.54 10.46 18.85 10.14L22.64 6.35C22.84 6.16 22.84 5.84 22.65 5.65ZM19.23 15.26L16.69 14.97C16.08 14.9 15.48 15.11 15.05 15.54L13.21 17.38C10.38 15.94 8.06004 13.63 6.62004 10.79L8.47004 8.94C8.90004 8.51 9.11004 7.91 9.04004 7.3L8.75004 4.78C8.63004 3.77 7.78004 3.01 6.76004 3.01H5.03004C3.90004 3.01 2.96004 3.95 3.03004 5.08C3.56004 13.62 10.39 20.44 18.92 20.97C20.05 21.04 20.99 20.1 20.99 18.97V17.24C21 16.23 20.24 15.38 19.23 15.26Z",fill:"currentColor"})})),"phone-history":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1114 17.9L14.6314 15.4C14.8614 15.17 15.2014 15.07 15.5314 15.14L19.2014 15.87C19.6614 15.96 20.0014 16.37 20.0014 16.85V21C20.0014 21.56 19.5314 22.03 18.9714 22C16.0814 21.83 13.3714 20.94 11.0014 19.57C8.28136 17.99 6.01136 15.73 4.43136 13C3.05136 10.63 2.17136 7.92 2.00136 5.03C1.97136 4.47 2.44136 4 3.00136 4H7.15136C7.63136 4 8.04136 4.34 8.13136 4.8L8.88136 8.48C8.94136 8.81 8.84136 9.14 8.61136 9.38L6.11136 11.9C7.54136 14.4 9.61136 16.47 12.1114 17.9ZM12.0014 8C12.0014 5.792 13.7894 4 15.9974 4C18.2094 4 20.0014 5.792 20.0014 8C20.0014 10.208 18.2094 12 15.9974 12C13.7894 12 12.0014 10.208 12.0014 8ZM17.0374 9.6C17.1934 9.756 17.4454 9.756 17.6014 9.6C17.7574 9.444 17.7574 9.192 17.6014 9.036L16.4014 7.836V6.4C16.4014 6.18 16.2214 6 16.0014 6C15.7814 6 15.6014 6.18 15.6014 6.4V8C15.6014 8.108 15.6454 8.208 15.7214 8.284L17.0374 9.6Z",fill:"currentColor"})}))},"phone-talk":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M20 15.5C18.75 15.5 17.55 15.3 16.43 14.93C16.08 14.82 15.69 14.9 15.41 15.17L13.21 17.37C10.38 15.93 8.06 13.62 6.62 10.78L8.82 8.57C9.1 8.31 9.18 7.92 9.07 7.57C8.7 6.45 8.5 5.25 8.5 4C8.5 3.45 8.05 3 7.5 3H4C3.45 3 3 3.45 3 4C3 13.39 10.61 21 20 21C20.55 21 21 20.55 21 20V16.5C21 15.95 20.55 15.5 20 15.5ZM19 12H21C21 7.03 16.97 3 12 3V5C15.87 5 19 8.13 19 12ZM15 12H17C17 9.24 14.76 7 12 7V9C13.66 9 15 10.34 15 12Z",fill:"currentColor"})}))},"phone-transfer":t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.69 14.97L19.23 15.26C20.24 15.38 21 16.23 20.99 17.24V18.97C20.99 20.1 20.05 21.04 18.92 20.97C10.39 20.44 3.56004 13.62 3.03004 5.08001C2.96004 3.95001 3.90004 3.01001 5.03004 3.01001H6.76004C7.78004 3.01001 8.63004 3.77001 8.75004 4.78001L9.04004 7.30001C9.11004 7.91001 8.90004 8.51001 8.47004 8.94001L6.62004 10.79C8.06004 13.63 10.38 15.94 13.21 17.38L15.05 15.54C15.48 15.11 16.08 14.9 16.69 14.97ZM15.375 8.75002L13 6.37502L15.375 4.00002L16.25 4.87502L15.375 5.75002H21V7.00002H15.375L16.25 7.87502L15.375 8.75002ZM18.625 13.15L17.75 12.275L18.625 11.4H13V10.15H18.625L17.75 9.27502L18.625 8.40002L21 10.775L18.625 13.15Z",fill:"currentColor"})})),play:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8 6.82V17.18C8 17.97 8.87 18.45 9.54 18.02L17.68 12.84C18.3 12.45 18.3 11.55 17.68 11.15L9.54 5.98C8.87 5.55 8 6.03 8 6.82Z",fill:"currentColor"})}))},"play-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11.04 15.51L15.19 12.84C15.8 12.45 15.8 11.55 15.19 11.16L11.04 8.49C10.38 8.06 9.5 8.54 9.5 9.33V14.67C9.5 15.46 10.38 15.94 11.04 15.51Z",fill:"currentColor"})}))},"profile-user":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 5C13.66 5 15 6.34 15 8C15 9.66 13.66 11 12 11C10.34 11 9 9.66 9 8C9 6.34 10.34 5 12 5ZM12 19.2C9.5 19.2 7.29 17.92 6 15.98C6.03 13.99 10 12.9 12 12.9C13.99 12.9 17.97 13.99 18 15.98C16.71 17.92 14.5 19.2 12 19.2Z",fill:"currentColor"})}))},"radio-button":function(n){return t("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",fill:"currentColor"}),e("path",{className:"radio-fill",d:"M12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17Z",fill:"currentColor"})]}))},"radio-button-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",fill:"currentColor"})}))},record:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("circle",{cx:12,cy:12,r:6,transform:"rotate(-90 12 12)",fill:"currentColor"})}))},refresh:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17.65 6.34999C16.02 4.71999 13.71 3.77999 11.17 4.03999C7.50001 4.40999 4.48001 7.38999 4.07001 11.06C3.52001 15.91 7.27001 20 12 20C15.19 20 17.93 18.13 19.21 15.44C19.53 14.77 19.05 14 18.31 14C17.94 14 17.59 14.2 17.43 14.53C16.3 16.96 13.59 18.5 10.63 17.84C8.41001 17.35 6.62001 15.54 6.15001 13.32C5.31001 9.43999 8.26001 5.99999 12 5.99999C13.66 5.99999 15.14 6.68999 16.22 7.77999L14.71 9.28999C14.08 9.91999 14.52 11 15.41 11H19C19.55 11 20 10.55 20 9.99999V6.40999C20 5.51999 18.92 5.06999 18.29 5.69999L17.65 6.34999Z",fill:"currentColor"})}))},rocket:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8.68185 5.87296C6.64185 8.16296 5.69685 11.908 5.56685 12.218L3.30685 11.248C2.65685 10.968 2.49685 10.118 2.99685 9.61796L5.55185 6.15296C6.02185 5.68296 6.70185 5.47296 7.36185 5.60296L8.68185 5.87296ZM10.6269 16.488C10.9269 16.788 11.3669 16.868 11.7469 16.688C13.0591 16.7058 16.104 15.5851 17.714 13.9751C22.304 9.38506 21.6369 4.93796 21.3669 3.33796C21.2969 2.93796 20.9769 2.61796 20.5769 2.54796C18.9769 2.27796 14.5297 1.61085 9.93975 6.20085C8.32975 7.81085 7.4226 10.3622 7.22685 12.168C7.04685 12.548 7.13685 12.998 7.42685 13.288L10.6269 16.488ZM18.0519 15.243C15.7619 17.283 12.0169 18.228 11.7069 18.358L12.6769 20.618C12.9569 21.268 13.8069 21.428 14.3069 20.928L17.7719 18.373C18.2419 17.903 18.4519 17.223 18.3219 16.563L18.0519 15.243ZM8.88685 17.388C9.08685 18.448 8.73685 19.428 8.06685 20.098C7.29685 20.868 4.90685 21.438 3.35685 21.738C2.66685 21.868 2.05685 21.258 2.18685 20.568C2.48685 19.018 3.04685 16.628 3.82685 15.858C4.49685 15.188 5.47685 14.838 6.53685 15.038C7.70685 15.258 8.66685 16.218 8.88685 17.388ZM12.9469 8.97796C12.9469 7.87796 13.8469 6.97796 14.9469 6.97796C16.0469 6.97796 16.9469 7.87796 16.9469 8.97796C16.9469 10.078 16.0469 10.978 14.9469 10.978C13.8469 10.978 12.9469 10.078 12.9469 8.97796Z",fill:"currentColor"})}))},schedule:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM16 16C15.61 16.39 14.98 16.39 14.59 16L11.3 12.71C11.11 12.52 11 12.27 11 12V8C11 7.45 11.45 7 12 7C12.55 7 13 7.45 13 8V11.59L16 14.59C16.39 14.98 16.39 15.61 16 16Z",fill:"currentColor"})}))},"schedule-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM11.78 7H11.72C11.32 7 11 7.32 11 7.72V12.44C11 12.79 11.18 13.12 11.49 13.3L15.64 15.79C15.98 15.99 16.42 15.89 16.62 15.55C16.83 15.21 16.72 14.76 16.37 14.56L12.5 12.26V7.72C12.5 7.32 12.18 7 11.78 7Z",fill:"currentColor"})}))},screenshot:t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 1.01L7 1C5.9 1 5 1.9 5 3V21C5 22.1 5.9 23 7 23H17C18.1 23 19 22.1 19 21V3C19 1.9 18.1 1.01 17 1.01ZM17 21H7V20H17V21ZM17 18H7V6H17V18ZM17 4H7V3H17V4ZM9.5 8.5H12V7H8V11H9.5V8.5ZM12 17H16V13H14.5V15.5H12V17Z",fill:"currentColor"})})),search:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M15.5 14H14.71L14.43 13.73C15.63 12.33 16.25 10.42 15.91 8.39002C15.44 5.61002 13.12 3.39002 10.32 3.05002C6.09001 2.53002 2.53002 6.09001 3.05002 10.32C3.39002 13.12 5.61002 15.44 8.39002 15.91C10.42 16.25 12.33 15.63 13.73 14.43L14 14.71V15.5L18.25 19.75C18.66 20.16 19.33 20.16 19.74 19.75C20.15 19.34 20.15 18.67 19.74 18.26L15.5 14ZM9.50002 14C7.01002 14 5.00002 11.99 5.00002 9.50002C5.00002 7.01002 7.01002 5.00002 9.50002 5.00002C11.99 5.00002 14 7.01002 14 9.50002C14 11.99 11.99 14 9.50002 14Z",fill:"currentColor"})}))},settings:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.43 12.98C19.47 12.66 19.5 12.34 19.5 12C19.5 11.66 19.47 11.34 19.43 11.02L21.54 9.37C21.73 9.22 21.78 8.95 21.66 8.73L19.66 5.27C19.54 5.05 19.27 4.97 19.05 5.05L16.56 6.05C16.04 5.65 15.48 5.32 14.87 5.07L14.49 2.42C14.46 2.18 14.25 2 14 2H9.99999C9.74999 2 9.53999 2.18 9.50999 2.42L9.12999 5.07C8.51999 5.32 7.95999 5.66 7.43999 6.05L4.94999 5.05C4.71999 4.96 4.45999 5.05 4.33999 5.27L2.33999 8.73C2.20999 8.95 2.26999 9.22 2.45999 9.37L4.56999 11.02C4.52999 11.34 4.49999 11.67 4.49999 12C4.49999 12.33 4.52999 12.66 4.56999 12.98L2.45999 14.63C2.26999 14.78 2.21999 15.05 2.33999 15.27L4.33999 18.73C4.45999 18.95 4.72999 19.03 4.94999 18.95L7.43999 17.95C7.95999 18.35 8.51999 18.68 9.12999 18.93L9.50999 21.58C9.53999 21.82 9.74999 22 9.99999 22H14C14.25 22 14.46 21.82 14.49 21.58L14.87 18.93C15.48 18.68 16.04 18.34 16.56 17.95L19.05 18.95C19.28 19.04 19.54 18.95 19.66 18.73L21.66 15.27C21.78 15.05 21.73 14.78 21.54 14.63L19.43 12.98ZM12 15.5C10.07 15.5 8.49999 13.93 8.49999 12C8.49999 10.07 10.07 8.5 12 8.5C13.93 8.5 15.5 10.07 15.5 12C15.5 13.93 13.93 15.5 12 15.5Z",fill:"currentColor"})}))},share:t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12C9 11.76 8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5C21 3.34 19.66 2 18 2C16.34 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12C3 13.66 4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.35C15.11 18.56 15.08 18.78 15.08 19C15.08 20.61 16.39 21.92 18 21.92C19.61 21.92 20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08ZM18 4C18.55 4 19 4.45 19 5C19 5.55 18.55 6 18 6C17.45 6 17 5.55 17 5C17 4.45 17.45 4 18 4ZM6 13C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11C6.55 11 7 11.45 7 12C7 12.55 6.55 13 6 13ZM18 20.02C17.45 20.02 17 19.57 17 19.02C17 18.47 17.45 18.02 18 18.02C18.55 18.02 19 18.47 19 19.02C19 19.57 18.55 20.02 18 20.02Z",fill:"currentColor"})})),"shield-check":t=>e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M10.9 15.35L16.6 9.65L15.55 8.625L10.975 13.2L8.45 10.675L7.35 11.775L10.9 15.35ZM12 22C9.66667 21.4167 7.75 20.0625 6.25 17.9375C4.75 15.8125 4 13.4833 4 10.95V5L12 2L20 5V10.95C20 13.4833 19.25 15.8125 17.75 17.9375C16.25 20.0625 14.3333 21.4167 12 22ZM12 20.45C13.9167 19.8167 15.4792 18.6208 16.6875 16.8625C17.8958 15.1042 18.5 13.1333 18.5 10.95V6.05L12 3.6L5.5 6.05V10.95C5.5 13.1333 6.10417 15.1042 7.3125 16.8625C8.52083 18.6208 10.0833 19.8167 12 20.45Z",fill:"currentColor"})})),"shield-slash":t=>e("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12.7999 11.0999L12.0499 10.3333C12.2721 9.94436 12.4444 9.44714 12.5666 8.84159C12.6888 8.23603 12.7499 7.71659 12.7499 7.28325V4.01659L8.41659 2.41659L5.28325 3.56659L4.51659 2.79992L8.41659 1.33325L13.7499 3.31659V7.28325C13.7499 7.93881 13.6666 8.59159 13.4999 9.24158C13.3333 9.89159 13.0999 10.511 12.7999 11.0999ZM13.9166 15.0666L11.5833 12.7666C11.0944 13.2555 10.5944 13.6555 10.0833 13.9666C9.57214 14.2777 9.01659 14.511 8.41659 14.6666C6.8277 14.2333 5.54159 13.3194 4.55825 11.9249C3.57492 10.5305 3.08325 8.98325 3.08325 7.28325V4.23325L1.33325 2.48325L2.04992 1.76659L14.6333 14.3499L13.9166 15.0666ZM8.41659 13.6333C8.88325 13.4777 9.33047 13.2583 9.75825 12.9749C10.186 12.6916 10.561 12.3833 10.8833 12.0499L4.08325 5.23325V7.28325C4.08325 8.7277 4.48881 10.0416 5.29992 11.2249C6.11103 12.4083 7.14992 13.211 8.41659 13.6333Z",fill:"currentColor"})})),sort:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M4 18H8C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16H4C3.45 16 3 16.45 3 17C3 17.55 3.45 18 4 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM4 13H14C14.55 13 15 12.55 15 12C15 11.45 14.55 11 14 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13Z",fill:"currentColor"})}))},spotify:function(t){return e("svg",Object.assign({viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M19.894 11.082C15.864 8.689 9.22 8.469 5.372 9.636a1.169 1.169 0 1 1-.679-2.237C9.11 6.059 16.45 6.317 21.088 9.07a1.17 1.17 0 0 1-1.194 2.01zm-.132 3.544a.975.975 0 0 1-1.34.32c-3.36-2.064-8.482-2.662-12.456-1.456a.976.976 0 0 1-1.216-.65.976.976 0 0 1 .65-1.215c4.54-1.377 10.183-.71 14.042 1.66a.975.975 0 0 1 .32 1.34zm-1.53 3.403a.778.778 0 0 1-1.07.26c-2.936-1.794-6.63-2.2-10.982-1.206a.779.779 0 1 1-.347-1.518c4.762-1.089 8.846-.62 12.141 1.393a.78.78 0 0 1 .259 1.071zM12.5 0C5.597 0 0 5.596 0 12.5S5.597 25 12.5 25C19.404 25 25 19.404 25 12.5S19.404 0 12.5 0z",fill:"currentColor",fillRule:"evenodd"})}))},star:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.43 9.5525L12.96 4.7125C12.67 3.7625 11.33 3.7625 11.05 4.7125L9.57002 9.5525H5.12002C4.15002 9.5525 3.75002 10.8025 4.54002 11.3625L8.18002 13.9625L6.75002 18.5725C6.46002 19.5025 7.54002 20.2525 8.31002 19.6625L12 16.8625L15.69 19.6725C16.46 20.2625 17.54 19.5125 17.25 18.5825L15.82 13.9725L19.46 11.3725C20.25 10.8025 19.85 9.5625 18.88 9.5625H14.43V9.5525Z",fill:"currentColor"})}))},"star-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M11.8796 8.4325L12.8196 11.5425H15.6396L13.3696 13.1625L14.2996 16.1725L11.8796 14.3325L9.4596 16.1725L10.3896 13.1625L8.1196 11.5425H10.9396L11.8796 8.4325ZM9.4596 9.5425H4.9996C4.0296 9.5425 3.6296 10.7925 4.4196 11.3525L8.0596 13.9525L6.6296 18.5625C6.3396 19.4925 7.4196 20.2425 8.1896 19.6525L11.8796 16.8525L15.5696 19.6625C16.3396 20.2525 17.4196 19.5025 17.1296 18.5725L15.6996 13.9625L19.3396 11.3625C20.1296 10.7925 19.7296 9.5525 18.7596 9.5525H14.2996L12.8296 4.7125C12.5396 3.7625 11.1996 3.7625 10.9196 4.7125L9.4596 9.5425Z",fill:"currentColor"})}))},stop:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M8 6H16C17.1 6 18 6.9 18 8V16C18 17.1 17.1 18 16 18H8C6.9 18 6 17.1 6 16V8C6 6.9 6.9 6 8 6Z",fill:"currentColor"})}))},"stop-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12ZM8 9.5C8 8.67157 8.67157 8 9.5 8H14.5C15.3284 8 16 8.67157 16 9.5V14.5C16 15.3284 15.3284 16 14.5 16H9.5C8.67157 16 8 15.3284 8 14.5V9.5Z",fill:"currentColor"})}))},template:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M14.59 2.59C14.21 2.21 13.7 2 13.17 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.89 22 5.99 22H18C19.1 22 20 21.1 20 20V8.83C20 8.3 19.79 7.79 19.41 7.42L14.59 2.59ZM15 18H9C8.45 18 8 17.55 8 17C8 16.45 8.45 16 9 16H15C15.55 16 16 16.45 16 17C16 17.55 15.55 18 15 18ZM15 14H9C8.45 14 8 13.55 8 13C8 12.45 8.45 12 9 12H15C15.55 12 16 12.45 16 13C16 13.55 15.55 14 15 14ZM13 8V3.5L18.5 9H14C13.45 9 13 8.55 13 8Z",fill:"currentColor"})}))},"toggle-off":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM7 15C5.34 15 4 13.66 4 12C4 10.34 5.34 9 7 9C8.66 9 10 10.34 10 12C10 13.66 8.66 15 7 15Z",fill:"currentColor"})}))},"toggle-on":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM17 15C15.34 15 14 13.66 14 12C14 10.34 15.34 9 17 9C18.66 9 20 10.34 20 12C20 13.66 18.66 15 17 15Z",fill:"currentColor"})}))},trash:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M6 19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V9C18 7.9 17.1 7 16 7H8C6.9 7 6 7.9 6 9V19ZM18 4H15.5L14.79 3.29C14.61 3.11 14.35 3 14.09 3H9.91C9.65 3 9.39 3.11 9.21 3.29L8.5 4H6C5.45 4 5 4.45 5 5C5 5.55 5.45 6 6 6H18C18.55 6 19 5.55 19 5C19 4.45 18.55 4 18 4Z",fill:"currentColor"})}))},twitter:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22 5.84615C21.25 6.21538 20.5 6.33846 19.625 6.46154C20.5 5.96923 21.125 5.23077 21.375 4.24615C20.625 4.73846 19.75 4.98462 18.75 5.23077C18 4.49231 16.875 4 15.75 4C13.125 4 11.125 6.46154 11.75 8.92308C8.375 8.8 5.375 7.2 3.25 4.73846C2.125 6.58462 2.75 8.92308 4.5 10.1538C3.875 10.1538 3.25 9.90769 2.625 9.66154C2.625 11.5077 4 13.2308 5.875 13.7231C5.25 13.8462 4.625 13.9692 4 13.8462C4.5 15.4462 6 16.6769 7.875 16.6769C6.375 17.7846 4.125 18.4 2 18.1538C3.875 19.2615 6 20 8.25 20C15.875 20 20.125 13.7231 19.875 7.93846C20.75 7.44615 21.5 6.70769 22 5.84615Z",fill:"currentColor"})}))},upload:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M7.4 10H8.99V15C8.99 15.55 9.44 16 9.99 16H13.99C14.54 16 14.99 15.55 14.99 15V10H16.58C17.47 10 17.92 8.92 17.29 8.29L12.7 3.7C12.31 3.31 11.68 3.31 11.29 3.7L6.7 8.29C6.07 8.92 6.51 10 7.4 10ZM5 19C5 19.55 5.45 20 6 20H18C18.55 20 19 19.55 19 19C19 18.45 18.55 18 18 18H6C5.45 18 5 18.45 5 19Z",fill:"currentColor"})}))},video:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17 10.5V7C17 6.45 16.55 6 16 6H4C3.45 6 3 6.45 3 7V17C3 17.55 3.45 18 4 18H16C16.55 18 17 17.55 17 17V13.5L19.29 15.79C19.92 16.42 21 15.97 21 15.08V8.91C21 8.02 19.92 7.57 19.29 8.2L17 10.5Z",fill:"currentColor"})}))},voicemail:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M17.5 7C15.01 7 13 9.01 13 11.5C13 12.43 13.28 13.28 13.76 14H10.24C10.72 13.28 11 12.43 11 11.5C11 9.01 8.99 7 6.5 7C4.01 7 2 9.01 2 11.5C2 13.99 4.01 16 6.5 16H17.5C19.99 16 22 13.99 22 11.5C22 9.01 19.99 7 17.5 7ZM4 11.5C4 10.12 5.12 9 6.5 9C7.88 9 9 10.12 9 11.5C9 12.88 7.88 14 6.5 14C5.12 14 4 12.88 4 11.5ZM17.5 14C16.12 14 15 12.88 15 11.5C15 10.12 16.12 9 17.5 9C18.88 9 20 10.12 20 11.5C20 12.88 18.88 14 17.5 14Z",fill:"currentColor"})}))},"vol-on":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M3 10V14C3 14.55 3.45 15 4 15H7L10.29 18.29C10.92 18.92 12 18.47 12 17.58V6.41C12 5.52 10.92 5.07 10.29 5.7L7 9H4C3.45 9 3 9.45 3 10ZM16.5 12C16.5 10.23 15.48 8.71 14 7.97V16.02C15.48 15.29 16.5 13.77 16.5 12ZM14 4.45V4.65C14 5.03 14.25 5.36 14.6 5.5C17.18 6.53 19 9.06 19 12C19 14.94 17.18 17.47 14.6 18.5C14.24 18.64 14 18.97 14 19.35V19.55C14 20.18 14.63 20.62 15.21 20.4C18.6 19.11 21 15.84 21 12C21 8.16 18.6 4.89 15.21 3.6C14.63 3.37 14 3.82 14 4.45Z",fill:"currentColor"})}))},warning:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M2.73288 21.0025H21.2629C22.0329 21.0025 22.5129 20.1725 22.1329 19.5025L12.8629 3.5025C12.4729 2.8325 11.5129 2.8325 11.1329 3.5025L1.86288 19.5025C1.48288 20.1725 1.96288 21.0025 2.73288 21.0025ZM13.0029 18.0025H11.0029V16.0025H13.0029V18.0025ZM12.0029 14.0025C11.4529 14.0025 11.0029 13.5525 11.0029 13.0025V11.0025C11.0029 10.4525 11.4529 10.0025 12.0029 10.0025C12.5529 10.0025 13.0029 10.4525 13.0029 11.0025V13.0025C13.0029 13.5525 12.5529 14.0025 12.0029 14.0025Z",fill:"currentColor"})}))},"warning-circle-outline":function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M12 7C12.55 7 13 7.45 13 8V12C13 12.55 12.55 13 12 13C11.45 13 11 12.55 11 12V8C11 7.45 11.45 7 12 7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM13 17H11V15H13V17Z",fill:"currentColor"})}))},youtube:function(t){return e("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:e("path",{d:"M22.45 6.42857C22.175 5.42857 21.4875 4.71429 20.525 4.42857C18.875 4 11.8625 4 11.8625 4C11.8625 4 4.98751 4 3.20001 4.42857C2.23751 4.71429 1.55 5.42857 1.275 6.42857C0.999996 8.28572 1 12 1 12C1 12 1 15.7143 1.4125 17.5714C1.6875 18.5714 2.375 19.2857 3.3375 19.5714C4.9875 20 12 20 12 20C12 20 18.875 20 20.6625 19.5714C21.625 19.2857 22.3125 18.5714 22.5875 17.5714C23 15.7143 23 12 23 12C23 12 23 8.28572 22.45 6.42857ZM9.79999 15.4286V8.57143L15.575 12L9.79999 15.4286Z",fill:"currentColor"})}))}},Vn=t=>{var{name:n,svg:r,size:o,width:i,height:a,color:s,hoverColor:c,pointer:u=!1,inheritColor:l=!1,style:f,onClick:d}=t,p=I(t,["name","svg","size","width","height","color","hoverColor","pointer","inheritColor","style","onClick"]);let g=null;if(n)g=Hn[n];else if(r){let e=r;"function"==typeof r&&(e=r());const t=h(e,{width:i||o,height:a||o});g=()=>t}const v={small:16,medium:24,large:40};let y=o||v.medium;return"small"!==o&&"medium"!==o&&"large"!==o||(y=v[o]),g?e(Kn,Object.assign({pointer:u,hoverColor:c,inheritColor:l,color:s,style:f,onClick:d,as:d?"button":void 0,tabIndex:d?0:-1},p,{children:e(Un,Object.assign({size:y,width:i,height:a,xmlns:"http://www.w3.org/2000/svg"},{children:e(g,{})}))})):null},Un=be.svg((({size:e,width:t,height:n})=>({width:t||e,height:n||e}))),Kn=be.div((({theme:e,color:t,pointer:n,hoverColor:r,inheritColor:o})=>{const i=t||e.scale8;return{width:"max-content",height:"max-content",display:"flex",color:o?"inherit":i,cursor:n?"pointer":void 0,border:"none",backgroundColor:"transparent",padding:0,"&:hover":{color:r||void 0},"&:focus-visible":{outline:`${e.accent} solid 1px`}}}),Fn),$n=t=>{var{children:n,defaultItem:r,preventCollapse:o,triggers:i,spaced:a,background:s,innerBackground:c,width:u,maxHeight:l,height:f}=t,p=I(t,["children","defaultItem","preventCollapse","triggers","spaced","background","innerBackground","width","maxHeight","height"]);return e(Zn,Object.assign({type:"single",defaultValue:r,collapsible:!o,spaced:a,style:{width:u,height:f,maxHeight:l}},p,{children:d.map(n,(e=>e?h(e,{trigger:i,spaced:a,background:s,innerBackground:c}):null))}))};$n.Item=({children:n,id:r,text:o,content:i,trigger:a,spaced:s,background:c,innerBackground:u})=>t(Et,Object.assign({value:r},{children:[e(Wn,{text:o,content:i,reversed:null==a?void 0:a.reversed,spaced:null==a?void 0:a.spaced,rounded:s,background:c}),e(qn,Object.assign({defaultPadding:"string"==typeof n,rounded:s,background:u},{children:n}))]}));const Wn=n=>{var{text:r,content:o,reversed:i,spaced:a,rounded:s,background:c}=n,u=I(n,["text","content","reversed","spaced","rounded","background"]);return t(Xn,Object.assign({reverse:i,hasContent:!!o,rounded:s,background:c},{children:[t(Jn,Object.assign({reverse:i,spaced:a},u,{children:[e(Vn,{name:"caret-down",className:"trigger-caret"}),r]})),o]}))},qn=t=>{var{children:n,defaultPadding:r,rounded:o,background:i}=t,a=I(t,["children","defaultPadding","rounded","background"]);const s=g(null),[c,u]=y(),[l,f]=y();return Rn(s,(e=>{var t,n;if(!("open"===e.getAttribute("data-state")))return;const r=e.parentElement,i=null==r?void 0:r.parentElement,a=null==i?void 0:i.style.maxHeight,s=null==i?void 0:i.style.height,d=a?null===(t=a.match(/^[0-9]+/g))||void 0===t?void 0:t.pop():void 0,p=s?null===(n=s.match(/^[0-9]+/g))||void 0===n?void 0:n.pop():void 0;if(!d&&!p||!i)return;const h=[...i.childNodes],g=h.findIndex((e=>e===r))+1,v=h.slice(g),y=v.length>0?v.reduce(((e,t)=>e+t.clientHeight),0):0,{offsetTop:m}=e,b=+(d||p||0)-m-y-(o?8*(h.length-1):0);b!==c&&u(b),p&&b!==l&&f(b),e.scrollTo(0,0)})),e(Yn,Object.assign({ref:s,maxHeight:c,minHeight:l,defaultPadding:r,rounded:o,background:i},a,{children:n}))},Gn=(e,t)=>!t.includes(e),Zn=be(kt,{shouldForwardProp:e=>Gn(e,["spaced","margin","marginTop","marginBottom","marginRight","marginLeft"])})((({theme:e,spaced:t})=>({overflow:"hidden",position:"relative",[`& > div:not(:last-child) > ${Xn}`]:{borderBottom:t?void 0:e.defaultBorder},"& > div:not(:last-child)":{marginBottom:t?8:void 0}})),Fn),Yn=be(jt,{shouldForwardProp:e=>Gn(e,["defaultPadding","maxHeight","minHeight","rounded"])})((({theme:e,maxHeight:t,minHeight:n,defaultPadding:r,rounded:o,background:i})=>{const a=o?e.background2:e.background1;return{backgroundColor:i||a,padding:r?"4px 16px":void 0,fontSize:e.font.size.md,overflow:"auto",maxHeight:t,minHeight:n,'&[data-state="open"]':{borderBottomLeftRadius:o?4:void 0,borderBottomRightRadius:o?4:void 0}}})),Xn=be(Tt,{shouldForwardProp:e=>Gn(e,["reverse","rounded","hasContent"])})((({theme:e,reverse:t,rounded:n,hasContent:r,background:o})=>{const i=n?e.background1:e.background0;return{margin:0,display:"flex",flexDirection:t?"row-reverse":"row",paddingLeft:r&&t?void 0:8,paddingRight:!r||t?8:void 0,backgroundColor:o||i,justifyContent:"space-between",alignItems:"center",fontSize:"1rem",fontWeight:"normal",color:"inherit",'&[data-state="closed"]':{borderRadius:n?4:void 0},'&[data-state="open"]':{borderTopLeftRadius:n?4:void 0,borderTopRightRadius:n?4:void 0}}})),Jn=be(At,{shouldForwardProp:e=>Gn(e,["reverse","spaced"])})((({theme:e,reverse:t,spaced:n})=>({backgroundColor:"transparent",color:e.scale10,border:"none",display:"flex",flexDirection:t?"row-reverse":"row",justifyContent:n?"space-between":void 0,alignItems:"center",fontSize:e.font.size.md,padding:"8px 0",width:"100%","& > .trigger-caret":{transition:"transform 300ms"},'&[data-state="open"] > .trigger-caret':{transform:"rotate(180deg)"}})));function Qn(){return Qn=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},Qn.apply(this,arguments)}function er(e,t){return er=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},er(e,t)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tr(e)}function nr(e,t,n){return nr=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&er(o,n.prototype),o},nr.apply(null,arguments)}function rr(e){var t="function"==typeof Map?new Map:void 0;return rr=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return nr(e,arguments,tr(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),er(r,e)},rr(e)}var or={1:"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",2:"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",3:"Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",4:"Couldn't generate valid rgb string from %s, it returned %s.\n\n",5:"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",6:"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",7:"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",8:"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",9:"Please provide a number of steps to the modularScale helper.\n\n",10:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",11:'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',12:'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',13:'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',14:'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',15:'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',16:"You must provide a template to this method.\n\n",17:"You passed an unsupported selector state to this method.\n\n",18:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",19:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",20:"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:"fontFace expects a name of a font-family.\n\n",24:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",25:"fontFace expects localFonts to be an array.\n\n",26:"fontFace expects fileFormats to be an array.\n\n",27:"radialGradient requries at least 2 color-stops to properly render.\n\n",28:"Please supply a filename to retinaImage() as the first argument.\n\n",29:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",32:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",33:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",34:"borderRadius expects a radius value as a string or number as the second argument.\n\n",35:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',36:"Property must be a string value.\n\n",37:"Syntax Error at %s.\n\n",38:"Formula contains a function that needs parentheses at %s.\n\n",39:"Formula is missing closing parenthesis at %s.\n\n",40:"Formula has too many closing parentheses at %s.\n\n",41:"All values in a formula must have the same unit or be unitless.\n\n",42:"Please provide a number of steps to the modularScale helper.\n\n",43:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",44:"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",45:"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",46:"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",47:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",48:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",49:"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",50:"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",51:"Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",52:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",53:"fontFace expects localFonts to be an array.\n\n",54:"fontFace expects fileFormats to be an array.\n\n",55:"fontFace expects a name of a font-family.\n\n",56:"linearGradient requries at least 2 color-stops to properly render.\n\n",57:"radialGradient requries at least 2 color-stops to properly render.\n\n",58:"Please supply a filename to retinaImage() as the first argument.\n\n",59:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:"Property must be a string value.\n\n",62:"borderRadius expects a radius value as a string or number as the second argument.\n\n",63:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',64:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",65:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",66:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",67:"You must provide a template to this method.\n\n",68:"You passed an unsupported selector state to this method.\n\n",69:'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',70:'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',71:'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',72:'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',73:"Please provide a valid CSS variable.\n\n",74:"CSS variable not found and no default was provided.\n\n",75:"important requires a valid style object, got a %s instead.\n\n",76:"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",77:'remToPx expects a value in "rem" but you provided it in "%s".\n\n',78:'base must be set in "px" or "%" but you set it in "%s".\n'};function ir(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0],i=[];for(r=1;r<t.length;r+=1)i.push(t[r]);return i.forEach((function(e){o=o.replace(/%[a-z]/,e)})),o}var ar=function(e){var t,n;function r(t){var n;if("production"===process.env.NODE_ENV)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this;else{for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n=e.call(this,ir.apply(void 0,[or[t]].concat(o)))||this}return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,er(t,n),r}(rr(Error));function sr(e){return Math.round(255*e)}function cr(e,t,n){return sr(e)+","+sr(t)+","+sr(n)}function ur(e,t,n,r){if(void 0===r&&(r=cr),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,c=0,u=0;o>=0&&o<1?(s=i,c=a):o>=1&&o<2?(s=a,c=i):o>=2&&o<3?(c=i,u=a):o>=3&&o<4?(c=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);var l=n-i/2;return r(s+l,c+l,u+l)}var lr={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var fr=/^#[a-fA-F0-9]{6}$/,dr=/^#[a-fA-F0-9]{8}$/,pr=/^#[a-fA-F0-9]{3}$/,hr=/^#[a-fA-F0-9]{4}$/,gr=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,vr=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,yr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,mr=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function br(e){if("string"!=typeof e)throw new ar(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return lr[t]?"#"+lr[t]:e}(e);if(t.match(fr))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(dr)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(pr))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(hr)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=gr.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=vr.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=yr.exec(t);if(a){var s="rgb("+ur(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",c=gr.exec(s);if(!c)throw new ar(4,t,s);return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10)}}var u=mr.exec(t.substring(0,50));if(u){var l="rgb("+ur(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",f=gr.exec(l);if(!f)throw new ar(4,t,l);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])}}throw new ar(5)}function wr(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var c=i-a,u=s>.5?c/(2-i-a):c/(i+a);switch(i){case n:t=(r-o)/c+(r<o?6:0);break;case r:t=(o-n)/c+2;break;default:t=(n-r)/c+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(br(e))}var xr=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Cr(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function _r(e){return Cr(Math.round(255*e))}function Sr(e,t,n){return xr("#"+_r(e)+_r(t)+_r(n))}function Or(e,t,n){return ur(e,t,n,Sr)}function kr(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return xr("#"+Cr(e)+Cr(t)+Cr(n));if("object"==typeof e&&void 0===t&&void 0===n)return xr("#"+Cr(e.red)+Cr(e.green)+Cr(e.blue));throw new ar(6)}function Er(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=br(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?kr(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?kr(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new ar(7)}var Tr=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},Ar=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},jr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},Mr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Pr(e){if("object"!=typeof e)throw new ar(8);if(Ar(e))return Er(e);if(Tr(e))return kr(e);if(Mr(e))return function(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Or(e,t,n):"rgba("+ur(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Or(e.hue,e.saturation,e.lightness):"rgba("+ur(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ar(2)}(e);if(jr(e))return function(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Or(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return Or(e.hue,e.saturation,e.lightness);throw new ar(1)}(e);throw new ar(8)}function Dr(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Dr(e,t,r)}}function Ir(e){return Dr(e,e.length,[])}function Lr(e,t,n){return Math.max(e,Math.min(t,n))}function Rr(e,t){if("transparent"===t)return t;var n=wr(t);return Pr(Qn({},n,{lightness:Lr(0,1,n.lightness-parseFloat(e))}))}var Nr=Ir(Rr);function Br(e,t){if("transparent"===t)return t;var n=wr(t);return Pr(Qn({},n,{lightness:Lr(0,1,n.lightness+parseFloat(e))}))}var Fr=Ir(Br);function zr(e,t){if("transparent"===t)return t;var n=br(t);return Er(Qn({},n,{alpha:Lr(0,1,+(100*("number"==typeof n.alpha?n.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}var Hr=Ir(zr);const Vr="dismissableLayer.update",Ur="dismissableLayer.pointerDownOutside",Kr="dismissableLayer.focusOutside";let $r;const Wr=i({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qr=f(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:u,onDismiss:l,...f}=e,d=c(Wr),[p,h]=y(null),m=null!==(n=null==p?void 0:p.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=y({}),w=Se(t,(e=>h(e))),x=Array.from(d.layers),[C]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=x.indexOf(C),S=p?x.indexOf(p):-1,O=d.layersWithOutsidePointerEventsDisabled.size>0,k=S>=_,E=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Pe(e),r=g(!1),o=g((()=>{}));return v((()=>{const e=e=>{if(e.target&&!r.current){const a={originalEvent:e};function i(){Zr(Ur,n,a,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...d.branches].some((e=>e.contains(t)));k&&!n&&(null==i||i(e),null==u||u(e),e.defaultPrevented||null==l||l())}),m),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Pe(e),r=g(!1);return v((()=>{const e=e=>{if(e.target&&!r.current){Zr(Kr,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...d.branches].some((e=>e.contains(t)))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==l||l())}),m);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Pe(e);v((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{S===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),m),v((()=>{if(p)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&($r=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Gr(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=$r)}}),[p,m,r,d]),v((()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Gr())}),[p,d]),v((()=>{const e=()=>b({});return document.addEventListener(Vr,e),()=>document.removeEventListener(Vr,e)}),[]),s(Ie.div,we({},f,{ref:w,style:{pointerEvents:O?k?"auto":"none":void 0,...e.style},onFocusCapture:Me(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Me(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Me(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function Gr(){const e=new CustomEvent(Vr);document.dispatchEvent(e)}function Zr(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Le(o,i):o.dispatchEvent(i)}let Yr=0;function Xr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Jr="focusScope.autoFocusOnMount",Qr="focusScope.autoFocusOnUnmount",eo={bubbles:!1,cancelable:!0},to=f(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[c,l]=y(null),f=Pe(o),d=Pe(i),p=g(null),h=Se(t,(e=>l(e))),m=g({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v((()=>{if(r){function e(e){if(m.paused||!c)return;const t=e.target;c.contains(t)?p.current=t:io(p.current,{select:!0})}function t(e){!m.paused&&c&&(c.contains(e.relatedTarget)||io(p.current,{select:!0}))}return document.addEventListener("focusin",e),document.addEventListener("focusout",t),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[r,c,m.paused]),v((()=>{if(c){ao.add(m);const t=document.activeElement;if(!c.contains(t)){const n=new CustomEvent(Jr,eo);c.addEventListener(Jr,f),c.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(io(r,{select:t}),document.activeElement!==n)return}((e=no(c),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&io(c))}return()=>{c.removeEventListener(Jr,f),setTimeout((()=>{const e=new CustomEvent(Qr,eo);c.addEventListener(Qr,d),c.dispatchEvent(e),e.defaultPrevented||io(null!=t?t:document.body,{select:!0}),c.removeEventListener(Qr,d),ao.remove(m)}),0)}}var e}),[c,f,d,m]);const b=u((e=>{if(!n&&!r)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=no(e),n=ro(t,e),r=ro(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&io(i,{select:!0})):(e.preventDefault(),n&&io(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,m.paused]);return s(Ie.div,we({tabIndex:-1},a,{ref:h,onKeyDown:b}))}));function no(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ro(e,t){for(const n of e)if(!oo(n,{upTo:t}))return n}function oo(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function io(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const ao=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=so(e,t),e.unshift(t)},remove(t){var n;e=so(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function so(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function co(e){return e.split("-")[0]}function uo(e){return e.split("-")[1]}function lo(e){return["top","bottom"].includes(co(e))?"x":"y"}function fo(e){return"y"===e?"height":"width"}function po(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=lo(t),c=fo(s),u=r[c]/2-o[c]/2,l="x"===s;let f;switch(co(t)){case"top":f={x:i,y:r.y-o.height};break;case"bottom":f={x:i,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:a};break;case"left":f={x:r.x-o.width,y:a};break;default:f={x:r.x,y:r.y}}switch(uo(t)){case"start":f[s]-=u*(n&&l?-1:1);break;case"end":f[s]+=u*(n&&l?-1:1)}return f}function ho(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function go(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function vo(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,h=ho(p),g=s[d?"floating"===f?"reference":"floating":f],v=go(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:l,strategy:c})),y=go(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:c}):a[f]);return{top:v.top-y.top+h.top,bottom:y.bottom-v.bottom+h.bottom,left:v.left-y.left+h.left,right:y.right-v.right+h.right}}const yo=Math.min,mo=Math.max;function bo(e,t,n){return mo(e,yo(t,n))}const wo=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:a,rects:s,platform:c}=t;if(null==n)return"production"!==process.env.NODE_ENV&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const u=ho(r),l={x:o,y:i},f=lo(a),d=uo(a),p=fo(f),h=await c.getDimensions(n),g="y"===f?"top":"left",v="y"===f?"bottom":"right",y=s.reference[p]+s.reference[f]-l[f]-s.floating[p],m=l[f]-s.reference[f],b=await(null==c.getOffsetParent?void 0:c.getOffsetParent(n));let w=b?"y"===f?b.clientHeight||0:b.clientWidth||0:0;0===w&&(w=s.floating[p]);const x=y/2-m/2,C=u[g],_=w-h[p]-u[v],S=w/2-h[p]/2+x,O=bo(C,S,_),k=("start"===d?u[g]:u[v])>0&&S!==O&&s.reference[p]<=s.floating[p];return{[f]:l[f]-(k?S<C?C-S:_-S:0),data:{[f]:O,centerOffset:S-O}}}}),xo={left:"right",right:"left",bottom:"top",top:"bottom"};function Co(e){return e.replace(/left|right|bottom|top/g,(e=>xo[e]))}const _o={start:"end",end:"start"};function So(e){return e.replace(/start|end/g,(e=>_o[e]))}const Oo=["top","right","bottom","left"];const ko=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:l=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=e,g=co(r),v=f||(g===a||!p?[Co(a)]:function(e){const t=Co(e);return[So(e),t,So(t)]}(a)),y=[a,...v],m=await vo(t,h),b=[];let w=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&b.push(m[g]),l){const{main:e,cross:t}=function(e,t,n){void 0===n&&(n=!1);const r=uo(e),o=lo(e),i=fo(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Co(a)),{main:a,cross:Co(a)}}(r,i,await(null==s.isRTL?void 0:s.isRTL(c.floating)));b.push(m[e],m[t])}if(w=[...w,{placement:r,overflows:b}],!b.every((e=>e<=0))){var x,C;const e=(null!=(x=null==(C=o.flip)?void 0:C.index)?x:0)+1,t=y[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var _;const e=null==(_=w.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function Eo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function To(e){return Oo.some((t=>e[t]>=0))}const Ao=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=Eo(await vo(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:To(t)}}}case"escaped":{const t=Eo(await vo(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:To(t)}}}default:return{}}}}};const jo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=co(n),s=uo(n),c="x"===lo(n),u=["left","top"].includes(a)?-1:1,l=i&&c?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),c?{x:p*l,y:d*u}:{x:d*u,y:p*l}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Mo(e){return"x"===e?"y":"x"}const Po=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,u={x:n,y:r},l=await vo(t,c),f=lo(co(o)),d=Mo(f);let p=u[f],h=u[d];if(i){const e="y"===f?"bottom":"right";p=bo(p+l["y"===f?"top":"left"],p,p-l[e])}if(a){const e="y"===d?"bottom":"right";h=bo(h+l["y"===d?"top":"left"],h,h-l[e])}const g=s.fn({...t,[f]:p,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Do=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=e,l={x:n,y:r},f=lo(o),d=Mo(f);let p=l[f],h=l[d];const g="function"==typeof s?s({...i,placement:o}):s,v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+v.mainAxis,n=i.reference[f]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var y,m,b,w;const e="y"===f?"width":"height",t=["top","left"].includes(co(o)),n=i.reference[d]-i.floating[e]+(t&&null!=(y=null==(m=a.offset)?void 0:m[d])?y:0)+(t?0:v.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:null!=(b=null==(w=a.offset)?void 0:w[d])?b:0)-(t?v.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}},Io=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...s}=e,c=await vo(t,s),u=co(n),l=uo(n);let f,d;"top"===u||"bottom"===u?(f=u,d=l===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(d=u,f="end"===l?"top":"bottom");const p=mo(c.left,0),h=mo(c.right,0),g=mo(c.top,0),v=mo(c.bottom,0),y={availableHeight:r.floating.height-(["left","right"].includes(n)?2*(0!==g||0!==v?g+v:mo(c.top,c.bottom)):c[f]),availableWidth:r.floating.width-(["top","bottom"].includes(n)?2*(0!==p||0!==h?p+h:mo(c.left,c.right)):c[d])},m=await o.getDimensions(i.floating);null==a||a({...t,...y});const b=await o.getDimensions(i.floating);return m.width!==b.width||m.height!==b.height?{reset:{rects:!0}}:{}}}};function Lo(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ro(e){if(null==e)return window;if(!Lo(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function No(e){return Ro(e).getComputedStyle(e)}function Bo(e){return Lo(e)?"":e?(e.nodeName||"").toLowerCase():""}function Fo(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function zo(e){return e instanceof Ro(e).HTMLElement}function Ho(e){return e instanceof Ro(e).Element}function Vo(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ro(e).ShadowRoot||e instanceof ShadowRoot}function Uo(e){const{overflow:t,overflowX:n,overflowY:r}=No(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Ko(e){return["table","td","th"].includes(Bo(e))}function $o(e){const t=/firefox/i.test(Fo()),n=No(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Wo(){return!/^((?!chrome|android).)*safari/i.test(Fo())}const qo=Math.min,Go=Math.max,Zo=Math.round;function Yo(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let c=1,u=1;t&&zo(e)&&(c=e.offsetWidth>0&&Zo(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Zo(s.height)/e.offsetHeight||1);const l=Ho(e)?Ro(e):window,f=!Wo()&&n,d=(s.left+(f&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/c,p=(s.top+(f&&null!=(i=null==(a=l.visualViewport)?void 0:a.offsetTop)?i:0))/u,h=s.width/c,g=s.height/u;return{width:h,height:g,top:p,right:d+h,bottom:p+g,left:d,x:d,y:p}}function Xo(e){return(t=e,(t instanceof Ro(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Jo(e){return Ho(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Qo(e){return Yo(Xo(e)).left+Jo(e).scrollLeft}function ei(e,t,n){const r=zo(t),o=Xo(t),i=Yo(e,r&&function(e){const t=Yo(e);return Zo(t.width)!==e.offsetWidth||Zo(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Bo(t)||Uo(o))&&(a=Jo(t)),zo(t)){const e=Yo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=Qo(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function ti(e){return"html"===Bo(e)?e:e.assignedSlot||e.parentNode||(Vo(e)?e.host:null)||Xo(e)}function ni(e){return zo(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function ri(e){const t=Ro(e);let n=ni(e);for(;n&&Ko(n)&&"static"===getComputedStyle(n).position;)n=ni(n);return n&&("html"===Bo(n)||"body"===Bo(n)&&"static"===getComputedStyle(n).position&&!$o(n))?t:n||function(e){let t=ti(e);for(Vo(t)&&(t=t.host);zo(t)&&!["html","body"].includes(Bo(t));){if($o(t))return t;t=t.parentNode}return null}(e)||t}function oi(e){if(zo(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Yo(e);return{width:t.width,height:t.height}}function ii(e){const t=ti(e);return["html","body","#document"].includes(Bo(t))?e.ownerDocument.body:zo(t)&&Uo(t)?t:ii(t)}function ai(e,t){var n;void 0===t&&(t=[]);const r=ii(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ro(r),a=o?[i].concat(i.visualViewport||[],Uo(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ai(a))}function si(e,t,n){return"viewport"===t?go(function(e,t){const n=Ro(e),r=Xo(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=Wo();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}(e,n)):Ho(t)?function(e,t){const n=Yo(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):go(function(e){var t;const n=Xo(e),r=Jo(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Go(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Go(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+Qo(e);const c=-r.scrollTop;return"rtl"===No(o||n).direction&&(s+=Go(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(Xo(e)))}function ci(e){const t=ai(e),n=["absolute","fixed"].includes(No(e).position)&&zo(e)?ri(e):e;return Ho(n)?t.filter((e=>Ho(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Vo(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==Bo(e))):[]}const ui={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ci(t):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=si(t,n,o);return e.top=Go(r.top,e.top),e.right=qo(r.right,e.right),e.bottom=qo(r.bottom,e.bottom),e.left=Go(r.left,e.left),e}),si(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=zo(n),i=Xo(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Bo(n)||Uo(i))&&(a=Jo(n)),zo(n))){const e=Yo(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Ho,getDimensions:oi,getOffsetParent:ri,getDocumentElement:Xo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:ei(t,ri(n),r),floating:{...oi(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===No(e).direction};function li(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,c=o&&!s,u=i&&!s,l=c||u?[...Ho(e)?ai(e):[],...ai(t)]:[];l.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let f,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),Ho(e)&&!s&&d.observe(e),d.observe(t)}let p=s?Yo(e):null;return s&&function t(){const r=Yo(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n();p=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(f)}}const fi=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));if("production"!==process.env.NODE_ENV&&(null==a&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),i.filter((e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t})).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:l}=po(c,r,s),f=r,d={},p=0;for(let n=0;n<i.length;n++){const{name:h,fn:g}=i[n],{x:v,y:y,data:m,reset:b}=await g({x:u,y:l,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,l=null!=y?y:l,d={...d,[h]:{...d[h],...m}},"production"!==process.env.NODE_ENV&&p>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:l}=po(c,f,s))),n=-1)}return{x:u,y:l,placement:f,strategy:o,middlewareData:d}})(e,t,{platform:ui,...n});var di="undefined"!=typeof document?m:v;function pi(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!pi(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!pi(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function hi(e){let{middleware:t,placement:n="bottom",strategy:o="absolute",whileElementsMounted:i}=void 0===e?{}:e;const a=r.useRef(null),s=r.useRef(null),c=function(e){const t=r.useRef(e);return di((()=>{t.current=e})),t}(i),u=r.useRef(null),[l,f]=r.useState({x:null,y:null,strategy:o,placement:n,middlewareData:{}}),[d,p]=r.useState(t);pi(null==d?void 0:d.map((e=>{let{options:t}=e;return t})),null==t?void 0:t.map((e=>{let{options:t}=e;return t})))||p(t);const h=r.useCallback((()=>{a.current&&s.current&&fi(a.current,s.current,{middleware:d,placement:n,strategy:o}).then((e=>{g.current&&A.flushSync((()=>{f(e)}))}))}),[d,n,o]);di((()=>{g.current&&h()}),[h]);const g=r.useRef(!1);di((()=>(g.current=!0,()=>{g.current=!1})),[]);const v=r.useCallback((()=>{if("function"==typeof u.current&&(u.current(),u.current=null),a.current&&s.current)if(c.current){const e=c.current(a.current,s.current,h);u.current=e}else h()}),[h,c]),y=r.useCallback((e=>{a.current=e,v()}),[v]),m=r.useCallback((e=>{s.current=e,v()}),[v]),b=r.useMemo((()=>({reference:a,floating:s})),[]);return r.useMemo((()=>({...l,update:h,refs:b,reference:y,floating:m})),[l,h,b,y,m])}const gi=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return r=t,Object.prototype.hasOwnProperty.call(r,"current")?null!=t.current?wo({element:t.current,padding:n}).fn(e):{}:t?wo({element:t,padding:n}).fn(e):{};var r}}},vi=f(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return s(Ie.svg,we({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:s("polygon",{points:"0,0 30,0 15,10"}))}));const yi="Popper",[mi,bi]=xe(yi),[wi,xi]=mi(yi),Ci=f(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=xi("PopperAnchor",n),a=g(null),c=Se(t,a);return v((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:s(Ie.div,we({},o,{ref:c}))})),_i="PopperContent",[Si,Oi]=mi(_i),[ki,Ei]=mi(_i,{hasParent:!1,positionUpdateFns:new Set}),Ti=f(((e,t)=>{var n,r,o,i,a,c,u,l;const{__scopePopper:f,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:g=0,arrowPadding:v=0,collisionBoundary:b=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:C=!1,avoidCollisions:_=!0,onPlaced:S,...O}=e,k=xi(_i,f),[E,T]=y(null),A=Se(t,(e=>T(e))),[j,M]=y(null),P=function(e){const[t,n]=y(void 0);return Re((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(j),D=null!==(n=null==P?void 0:P.width)&&void 0!==n?n:0,I=null!==(r=null==P?void 0:P.height)&&void 0!==r?r:0,L=d+("center"!==h?"-"+h:""),R="number"==typeof w?w:{top:0,right:0,bottom:0,left:0,...w},N=Array.isArray(b)?b:[b],B=N.length>0,F={padding:R,boundary:N.filter(Mi),altBoundary:B},{reference:z,floating:H,strategy:V,x:U,y:K,placement:$,middlewareData:W,update:q}=hi({strategy:"fixed",placement:L,whileElementsMounted:li,middleware:[Pi(),jo({mainAxis:p+I,alignmentAxis:g}),_?Po({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?Do():void 0,...F}):void 0,j?gi({element:j,padding:v}):void 0,_?ko({...F}):void 0,Io({...F,apply:({elements:e,availableWidth:t,availableHeight:n})=>{e.floating.style.setProperty("--radix-popper-available-width",`${t}px`),e.floating.style.setProperty("--radix-popper-available-height",`${n}px`)}}),Di({arrowWidth:D,arrowHeight:I}),C?Ao({strategy:"referenceHidden"}):void 0].filter(ji)});Re((()=>{z(k.anchor)}),[z,k.anchor]);const G=null!==U&&null!==K,[Z,Y]=Ii($),X=Pe(S);Re((()=>{G&&(null==X||X())}),[G,X]);const J=null===(o=W.arrow)||void 0===o?void 0:o.x,Q=null===(i=W.arrow)||void 0===i?void 0:i.y,ee=0!==(null===(a=W.arrow)||void 0===a?void 0:a.centerOffset),[te,ne]=y();Re((()=>{E&&ne(window.getComputedStyle(E).zIndex)}),[E]);const{hasParent:re,positionUpdateFns:oe}=Ei(_i,f),ie=!re;m((()=>{if(!ie)return oe.add(q),()=>{oe.delete(q)}}),[ie,oe,q]),Re((()=>{ie&&G&&Array.from(oe).reverse().forEach((e=>requestAnimationFrame(e)))}),[ie,G,oe]);const ae={"data-side":Z,"data-align":Y,...O,ref:A,style:{...O.style,animation:G?void 0:"none",opacity:null!==(c=W.hide)&&void 0!==c&&c.referenceHidden?0:void 0}};return s("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:G?`translate3d(${Math.round(U)}px, ${Math.round(K)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:te,"--radix-popper-transform-origin":[null===(u=W.transformOrigin)||void 0===u?void 0:u.x,null===(l=W.transformOrigin)||void 0===l?void 0:l.y].join(" ")},dir:e.dir},s(Si,{scope:f,placedSide:Z,onArrowChange:M,arrowX:J,arrowY:Q,shouldHideArrow:ee},ie?s(ki,{scope:f,hasParent:!0,positionUpdateFns:oe},s(Ie.div,ae)):s(Ie.div,ae)))})),Ai={top:"bottom",right:"left",bottom:"top",left:"right"};function ji(e){return void 0!==e}function Mi(e){return null!==e}const Pi=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:o}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),Di=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:c,middlewareData:u}=t,l=0!==(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset),f=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[p,h]=Ii(s),g={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,y=(null!==(i=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2;let m="",b="";return"bottom"===p?(m=l?g:`${v}px`,b=-d+"px"):"top"===p?(m=l?g:`${v}px`,b=`${c.floating.height+d}px`):"right"===p?(m=-d+"px",b=l?g:`${y}px`):"left"===p&&(m=`${c.floating.width+d}px`,b=l?g:`${y}px`),{data:{x:m,y:b}}}});function Ii(e){const[t,n="center"]=e.split("-");return[t,n]}const Li=e=>{const{__scopePopper:t,children:n}=e,[r,o]=y(null);return s(wi,{scope:t,anchor:r,onAnchorChange:o},n)},Ri=Ci,Ni=Ti,Bi=f((function(e,t){const{__scopePopper:n,...r}=e,o=Oi("PopperArrow",n),i=Ai[o.placedSide];return s("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},s(vi,we({},r,{ref:t,style:{...r.style,display:"block"}})))})),Fi=f(((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?j.createPortal(s(Ie.div,we({},o,{ref:t})),r):null})),zi="rovingFocusGroup.onEntryFocus",Hi={bubbles:!1,cancelable:!0},Vi="RovingFocusGroup",[Ui,Ki,$i]=je(Vi),[Wi,qi]=xe(Vi,[$i]),[Gi,Zi]=Wi(Vi),Yi=f(((e,t)=>s(Ui.Provider,{scope:e.__scopeRovingFocusGroup},s(Ui.Slot,{scope:e.__scopeRovingFocusGroup},s(Xi,we({},e,{ref:t})))))),Xi=f(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:l,onEntryFocus:f,...d}=e,p=g(null),h=Se(t,p),m=rt(i),[b=null,w]=De({prop:a,defaultProp:c,onChange:l}),[x,C]=y(!1),_=Pe(f),S=Ki(n),O=g(!1),[k,E]=y(0);return v((()=>{const e=p.current;if(e)return e.addEventListener(zi,_),()=>e.removeEventListener(zi,_)}),[_]),s(Gi,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:b,onItemFocus:u((e=>w(e)),[w]),onItemShiftTab:u((()=>C(!0)),[]),onFocusableItemAdd:u((()=>E((e=>e+1))),[]),onFocusableItemRemove:u((()=>E((e=>e-1))),[])},s(Ie.div,we({tabIndex:x||0===k?-1:0,"data-orientation":r},d,{ref:h,style:{outline:"none",...e.style},onMouseDown:Me(e.onMouseDown,(()=>{O.current=!0})),onFocus:Me(e.onFocus,(e=>{const t=!O.current;if(e.target===e.currentTarget&&t&&!x){const t=new CustomEvent(zi,Hi);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=S().filter((e=>e.focusable));ea([e.find((e=>e.active)),e.find((e=>e.id===b)),...e].filter(Boolean).map((e=>e.ref.current)))}}O.current=!1})),onBlur:Me(e.onBlur,(()=>C(!1)))})))})),Ji=f(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,c=He(),u=i||c,l=Zi("RovingFocusGroupItem",n),f=l.currentTabStopId===u,d=Ki(n),{onFocusableItemAdd:p,onFocusableItemRemove:h}=l;return v((()=>{if(r)return p(),()=>h()}),[r,p,h]),s(Ui.ItemSlot,{scope:n,id:u,focusable:r,active:o},s(Ie.span,we({tabIndex:f?0:-1,"data-orientation":l.orientation},a,{ref:t,onMouseDown:Me(e.onMouseDown,(e=>{r?l.onItemFocus(u):e.preventDefault()})),onFocus:Me(e.onFocus,(()=>l.onItemFocus(u))),onKeyDown:Me(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void l.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:Qi[r]}(e,l.orientation,l.dir);if(void 0!==t){e.preventDefault();let n=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();const r=n.indexOf(e.currentTarget);n=l.loop?function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(n,r+1):n.slice(r+1)}setTimeout((()=>ea(n)))}}))})))})),Qi={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ea(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}const ta=Yi,na=Ji;var ra=new WeakMap,oa=new WeakMap,ia={},aa=0,sa=function(e){return e&&(e.host||sa(e.parentNode))},ca=function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=sa(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);ia[n]||(ia[n]=new WeakMap);var i=ia[n],a=[],s=new Set,c=new Set(o),u=function(e){e&&!s.has(e)&&(s.add(e),u(e.parentNode))};o.forEach(u);var l=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))l(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(ra.get(e)||0)+1,u=(i.get(e)||0)+1;ra.set(e,c),i.set(e,u),a.push(e),1===c&&o&&oa.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}}))};return l(t),s.clear(),aa++,function(){a.forEach((function(e){var t=ra.get(e)-1,o=i.get(e)-1;ra.set(e,t),i.set(e,o),t||(oa.has(e)||e.removeAttribute(r),oa.delete(e)),o||e.removeAttribute(n)})),--aa||(ra=new WeakMap,ra=new WeakMap,oa=new WeakMap,ia={})}},ua=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ca(r,o,n,"aria-hidden")):function(){return null}},la="right-scroll-bar-position",fa="width-before-scroll-bar";function da(e,t){return n=t||null,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},o=y((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0],o.callback=r,o.facade;var n,r,o}function pa(e){return e}var ha=function(e){var t=e.sideCar,n=I(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return r.createElement(o,D({},n))};ha.isSideCarExport=!0;var ga=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=pa);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=D({async:!0,ssr:!1},e),t}(),va=function(){},ya=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:va,onWheelCapture:va,onTouchMoveCapture:va}),i=o[0],a=o[1],s=e.forwardProps,c=e.children,u=e.className,l=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,v=e.allowPinchZoom,y=e.as,m=void 0===y?"div":y,b=I(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,x=da([n,t]),C=D(D({},b),i);return r.createElement(r.Fragment,null,f&&r.createElement(w,{sideCar:ga,removeScrollBar:l,shards:d,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!v,lockRef:n}),s?r.cloneElement(r.Children.only(c),D(D({},C),{ref:x})):r.createElement(m,D({},C,{className:u,ref:x}),c))}));ya.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ya.classNames={fullWidth:fa,zeroRight:la};var ma=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__};var ba=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ma();return t&&e.setAttribute("nonce",t),e}())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},wa=function(){var e,t=(e=ba(),function(t,n){r.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},xa={left:0,top:0,right:0,gap:0},Ca=function(e){return parseInt(e||"",10)||0},_a=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return xa;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ca(n),Ca(r),Ca(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Sa=wa(),Oa=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(la," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(fa," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(la," .").concat(la," {\n right: 0 ").concat(r,";\n }\n \n .").concat(fa," .").concat(fa," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},ka=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o,a=r.useMemo((function(){return _a(i)}),[i]);return r.createElement(Sa,{styles:Oa(a,!t,i,n?"":"!important")})},Ea=!1;if("undefined"!=typeof window)try{var Ta=Object.defineProperty({},"passive",{get:function(){return Ea=!0,!0}});window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch(e){Ea=!1}var Aa=!!Ea&&{passive:!1},ja=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Ma=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Pa(e,n)){var r=Da(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Pa=function(e,t){return"v"===e?function(e){return ja(e,"overflowY")}(t):function(e){return ja(e,"overflowX")}(t)},Da=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Ia=function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,c=t.contains(s),u=!1,l=a>0,f=0,d=0;do{var p=Da(e,s),h=p[0],g=p[1]-p[2]-i*h;(h||g)&&Pa(e,s)&&(f+=g,d+=h),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(l&&(o&&0===f||!o&&a>f)||!l&&(o&&0===d||!o&&-a>d))&&(u=!0),u},La=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ra=function(e){return[e.deltaX,e.deltaY]},Na=function(e){return e&&"current"in e?e.current:e},Ba=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Fa=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},za=0,Ha=[];var Va,Ua=(Va=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState(za++)[0],a=r.useState((function(){return wa()}))[0],s=r.useRef(e);r.useEffect((function(){s.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Na),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(i))})),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(i))}))}}}),[e.inert,e.lockRef.current,e.shards]);var c=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=La(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,f=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===l.type)return!1;var d=Ma(f,l);if(!d)return!0;if(d?r=f:(r="v"===f?"h":"v",d=Ma(f,l)),!d)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=r),!r)return!0;var p=o.current||r;return Ia(p,t,e,"h"===p?c:u,!0)}),[]),u=r.useCallback((function(e){var n=e;if(Ha.length&&Ha[Ha.length-1]===a){var r="deltaY"in n?Ra(n):La(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&Ba(e.delta,r)}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(s.current.shards||[]).map(Na).filter(Boolean).filter((function(e){return e.contains(n.target)}));(i.length>0?c(n,i[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),l=r.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),f=r.useCallback((function(e){n.current=La(e),o.current=void 0}),[]),d=r.useCallback((function(t){l(t.type,Ra(t),t.target,c(t,e.lockRef.current))}),[]),p=r.useCallback((function(t){l(t.type,La(t),t.target,c(t,e.lockRef.current))}),[]);r.useEffect((function(){return Ha.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Aa),document.addEventListener("touchmove",u,Aa),document.addEventListener("touchstart",f,Aa),function(){Ha=Ha.filter((function(e){return e!==a})),document.removeEventListener("wheel",u,Aa),document.removeEventListener("touchmove",u,Aa),document.removeEventListener("touchstart",f,Aa)}}),[]);var h=e.removeScrollBar,g=e.inert;return r.createElement(r.Fragment,null,g?r.createElement(a,{styles:Fa(i)}):null,h?r.createElement(ka,{gapMode:"margin"}):null)},ga.useMedium(Va),ha),Ka=r.forwardRef((function(e,t){return r.createElement(ya,D({},e,{ref:t,sideCar:Ua}))}));Ka.classNames=ya.classNames;var $a=Ka;const Wa=["Enter"," "],qa=["ArrowUp","PageDown","End"],Ga=["ArrowDown","PageUp","Home",...qa],Za={ltr:[...Wa,"ArrowRight"],rtl:[...Wa,"ArrowLeft"]},Ya={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Xa="Menu",[Ja,Qa,es]=je(Xa),[ts,ns]=xe(Xa,[es,bi,qi]),rs=bi(),os=qi(),[is,as]=ts(Xa),[ss,cs]=ts(Xa),us=f(((e,t)=>{const{__scopeMenu:n,...r}=e,o=rs(n);return s(Ri,we({},o,r,{ref:t}))})),ls="MenuPortal",[fs,ds]=ts(ls,{forceMount:void 0}),ps="MenuContent",[hs,gs]=ts(ps),vs=f(((e,t)=>{const n=ds(ps,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=as(ps,e.__scopeMenu),a=cs(ps,e.__scopeMenu);return s(Ja.Provider,{scope:e.__scopeMenu},s(Ne,{present:r||i.open},s(Ja.Slot,{scope:e.__scopeMenu},a.modal?s(ys,we({},o,{ref:t})):s(ms,we({},o,{ref:t})))))})),ys=f(((e,t)=>{const n=as(ps,e.__scopeMenu),r=g(null),o=Se(t,r);return v((()=>{const e=r.current;if(e)return ua(e)}),[]),s(bs,we({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Me(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),ms=f(((e,t)=>{const n=as(ps,e.__scopeMenu);return s(bs,we({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),bs=f(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:c,onEntryFocus:f,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:b,disableOutsideScroll:w,...x}=e,C=as(ps,n),_=cs(ps,n),S=rs(n),O=os(n),k=Qa(n),[E,T]=y(null),A=g(null),j=Se(t,A,C.onContentChange),M=g(0),P=g(""),D=g(0),I=g(null),L=g("right"),R=g(0),N=w?$a:l,B=w?{as:Oe,allowPinchZoom:!0}:void 0,F=e=>{var t,n;const r=P.current+e,o=k().filter((e=>!e.disabled)),i=document.activeElement,a=null===(t=o.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,s=function(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0])),o=r?t[0]:t,i=n?e.indexOf(n):-1;let a=function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(e,Math.max(i,0));1===o.length&&(a=a.filter((e=>e!==n)));const s=a.find((e=>e.toLowerCase().startsWith(o.toLowerCase())));return s!==n?s:void 0}(o.map((e=>e.textValue)),r,a),c=null===(n=o.find((e=>e.textValue===s)))||void 0===n?void 0:n.ref.current;!function e(t){P.current=t,window.clearTimeout(M.current),""!==t&&(M.current=window.setTimeout((()=>e("")),1e3))}(r),c&&setTimeout((()=>c.focus()))};v((()=>()=>window.clearTimeout(M.current)),[]),v((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Xr()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Xr()),Yr++,()=>{1===Yr&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),Yr--}}),[]);const z=u((e=>{var t,n;return L.current===(null===(t=I.current)||void 0===t?void 0:t.side)&&function(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,c=t[i].x,u=t[i].y;s>r!=u>r&&n<(c-a)*(r-s)/(u-s)+a&&(o=!o)}return o}(n,t)}(e,null===(n=I.current)||void 0===n?void 0:n.area)}),[]);return s(hs,{scope:n,searchRef:P,onItemEnter:u((e=>{z(e)&&e.preventDefault()}),[z]),onItemLeave:u((e=>{var t;z(e)||(null===(t=A.current)||void 0===t||t.focus(),T(null))}),[z]),onTriggerLeave:u((e=>{z(e)&&e.preventDefault()}),[z]),pointerGraceTimerRef:D,onPointerGraceIntentChange:u((e=>{I.current=e}),[])},s(N,B,s(to,{asChild:!0,trapped:o,onMountAutoFocus:Me(i,(e=>{var t;e.preventDefault(),null===(t=A.current)||void 0===t||t.focus()})),onUnmountAutoFocus:a},s(qr,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:b},s(ta,we({asChild:!0},O,{dir:_.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:T,onEntryFocus:Me(f,(e=>{_.isUsingKeyboardRef.current||e.preventDefault()}))}),s(Ni,we({role:"menu","aria-orientation":"vertical","data-state":js(C.open),"data-radix-menu-content":"",dir:_.dir},S,x,{ref:j,style:{outline:"none",...x.style},onKeyDown:Me(x.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&F(e.key));const o=A.current;if(e.target!==o)return;if(!Ga.includes(e.key))return;e.preventDefault();const i=k().filter((e=>!e.disabled)).map((e=>e.ref.current));qa.includes(e.key)&&i.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(i)})),onBlur:Me(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(M.current),P.current="")})),onPointerMove:Me(e.onPointerMove,Ms((e=>{const t=e.target,n=R.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>R.current?"right":"left";L.current=t,R.current=e.clientX}})))})))))))})),ws="MenuItem",xs="menu.itemSelect",Cs=f(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=g(null),a=cs(ws,e.__scopeMenu),c=gs(ws,e.__scopeMenu),u=Se(t,i),l=g(!1);return s(_s,we({},o,{ref:u,disabled:n,onClick:Me(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(xs,{bubbles:!0,cancelable:!0});e.addEventListener(xs,(e=>null==r?void 0:r(e)),{once:!0}),Le(e,t),t.defaultPrevented?l.current=!1:a.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),l.current=!0},onPointerUp:Me(e.onPointerUp,(e=>{var t;l.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:Me(e.onKeyDown,(e=>{const t=""!==c.searchRef.current;n||t&&" "===e.key||Wa.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),_s=f(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=gs(ws,n),c=os(n),u=g(null),l=Se(t,u),[f,d]=y(!1),[p,h]=y("");return v((()=>{const e=u.current;var t;e&&h((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[i.children]),s(Ja.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:p},s(na,we({asChild:!0},c,{focusable:!r}),s(Ie.div,we({role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:l,onPointerMove:Me(e.onPointerMove,Ms((e=>{if(r)a.onItemLeave(e);else if(a.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus()}}))),onPointerLeave:Me(e.onPointerLeave,Ms((e=>a.onItemLeave(e)))),onFocus:Me(e.onFocus,(()=>d(!0))),onBlur:Me(e.onBlur,(()=>d(!1)))}))))}));ts("MenuRadioGroup",{value:void 0,onValueChange:()=>{}});ts("MenuItemIndicator",{checked:!1});const Ss=f(((e,t)=>{const{__scopeMenu:n,...r}=e;return s(Ie.div,we({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))})),Os=f(((e,t)=>{const{__scopeMenu:n,...r}=e,o=rs(n);return s(Bi,we({},o,r,{ref:t}))})),ks="MenuSub",[Es,Ts]=ts(ks),As="MenuSubTrigger";function js(e){return e?"open":"closed"}function Ms(e){return t=>"mouse"===t.pointerType?e(t):void 0}const Ps=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,c=rs(t),[l,f]=y(null),d=g(!1),p=Pe(i),h=rt(o);return v((()=>{const e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}}),[]),s(Li,c,s(is,{scope:t,open:n,onOpenChange:p,content:l,onContentChange:f},s(ss,{scope:t,onClose:u((()=>p(!1)),[p]),isUsingKeyboardRef:d,dir:h,modal:a},r)))},Ds=us,Is=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=as(ls,t);return s(fs,{scope:t,forceMount:n},s(Ne,{present:n||i.open},s(Fi,{asChild:!0,container:o},r)))},Ls=vs,Rs=Cs,Ns=Ss,Bs=Os,Fs=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=as(ks,t),a=rs(t),[c,u]=y(null),[l,f]=y(null),d=Pe(o);return v((()=>(!1===i.open&&d(!1),()=>d(!1))),[i.open,d]),s(Li,a,s(is,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:f},s(Es,{scope:t,contentId:He(),triggerId:He(),trigger:c,onTriggerChange:u},n)))},zs=f(((e,t)=>{const n=as(As,e.__scopeMenu),r=cs(As,e.__scopeMenu),o=Ts(As,e.__scopeMenu),i=gs(As,e.__scopeMenu),a=g(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:l}=i,f={__scopeMenu:e.__scopeMenu},d=u((()=>{a.current&&window.clearTimeout(a.current),a.current=null}),[]);return v((()=>d),[d]),v((()=>{const e=c.current;return()=>{window.clearTimeout(e),l(null)}}),[c,l]),s(us,we({asChild:!0},f),s(_s,we({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":js(n.open)},e,{ref:_e(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Me(e.onPointerMove,Ms((t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||a.current||(i.onPointerGraceIntentChange(null),a.current=window.setTimeout((()=>{n.onOpenChange(!0),d()}),100))}))),onPointerLeave:Me(e.onPointerLeave,Ms((e=>{var t;d();const r=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(r){var o;const t=null===(o=n.content)||void 0===o?void 0:o.dataset.side,a="right"===t,s=a?-5:5,u=r[a?"left":"right"],l=r[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+s,y:e.clientY},{x:u,y:r.top},{x:l,y:r.top},{x:l,y:r.bottom},{x:u,y:r.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout((()=>i.onPointerGraceIntentChange(null)),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}}))),onKeyDown:Me(e.onKeyDown,(t=>{const o=""!==i.searchRef.current;var a;e.disabled||o&&" "===t.key||Za[r.dir].includes(t.key)&&(n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault())}))})))})),Hs=f(((e,t)=>{const n=ds(ps,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=as(ps,e.__scopeMenu),a=cs(ps,e.__scopeMenu),c=Ts("MenuSubContent",e.__scopeMenu),u=g(null),l=Se(t,u);return s(Ja.Provider,{scope:e.__scopeMenu},s(Ne,{present:r||i.open},s(Ja.Slot,{scope:e.__scopeMenu},s(bs,we({id:c.contentId,"aria-labelledby":c.triggerId},o,{ref:l,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;a.isUsingKeyboardRef.current&&(null===(t=u.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:Me(e.onFocusOutside,(e=>{e.target!==c.trigger&&i.onOpenChange(!1)})),onEscapeKeyDown:Me(e.onEscapeKeyDown,(e=>{a.onClose(),e.preventDefault()})),onKeyDown:Me(e.onKeyDown,(e=>{const t=e.currentTarget.contains(e.target),n=Ya[a.dir].includes(e.key);var r;t&&n&&(i.onOpenChange(!1),null===(r=c.trigger)||void 0===r||r.focus(),e.preventDefault())}))})))))})),Vs="DropdownMenu",[Us,Ks]=xe(Vs,[ns]),$s=ns(),[Ws,qs]=Us(Vs),Gs=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:c=!0}=e,l=$s(t),f=g(null),[d=!1,p]=De({prop:o,defaultProp:i,onChange:a});return s(Ws,{scope:t,triggerId:He(),triggerRef:f,contentId:He(),open:d,onOpenChange:p,onOpenToggle:u((()=>p((e=>!e))),[p]),modal:c},s(Ps,we({},l,{open:d,onOpenChange:p,dir:r,modal:c}),n))},Zs=f(((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=qs("DropdownMenuTrigger",n),a=$s(n);return s(Ds,we({asChild:!0},a),s(Ie.button,we({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:_e(t,i.triggerRef),onPointerDown:Me(e.onPointerDown,(e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())})),onKeyDown:Me(e.onKeyDown,(e=>{r||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})))})),Ys=e=>{const{__scopeDropdownMenu:t,...n}=e,r=$s(t);return s(Is,we({},r,n))},Xs=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qs("DropdownMenuContent",n),i=$s(n),a=g(!1);return s(Ls,we({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:Me(e.onCloseAutoFocus,(e=>{var t;a.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()})),onInteractOutside:Me(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.modal&&!r||(a.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),Js=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Rs,we({},o,r,{ref:t}))})),Qs=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Ns,we({},o,r,{ref:t}))})),ec=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Bs,we({},o,r,{ref:t}))})),tc=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=$s(t),[c=!1,u]=De({prop:r,defaultProp:i,onChange:o});return s(Fs,we({},a,{open:c,onOpenChange:u}),n)},nc=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(zs,we({},o,r,{ref:t}))})),rc=f(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=$s(n);return s(Hs,we({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}));var oc,ic={},ac={exports:{}},sc={};var cc,uc={};
|
|
10
10
|
/** @license React v16.13.1
|
|
11
11
|
* react-is.development.js
|
|
12
12
|
*
|
|
@@ -205,11 +205,11 @@ var o=n[t];o.value*=-1,this.$=o}},table:function(e){for(var t=[],n=e.len,r=e.sym
|
|
|
205
205
|
* @namespace
|
|
206
206
|
* @public
|
|
207
207
|
*/
|
|
208
|
-
var iV=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,i;switch(n=n||{},r.util.type(t)){case"Object":if(i=r.util.objId(t),n[i])return n[i];for(var a in o={},n[i]=o,t)t.hasOwnProperty(a)&&(o[a]=e(t[a],n));return o;case"Array":return i=r.util.objId(t),n[i]?n[i]:(o=[],n[i]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var i=(o=o||r.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(a[c]=n[c]);n.hasOwnProperty(s)||(a[s]=i[s])}var u=o[e];return o[e]=a,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,o,i){i=i||{};var a=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var c=t[s],u=r.util.type(c);"Object"!==u||i[a(c)]?"Array"!==u||i[a(c)]||(i[a(c)]=!0,e(c,n,s,i)):(i[a(c)]=!0,e(c,n,null,i))}}},plugins:{},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",i),i.tokens=r.tokenize(i.code,i.grammar),r.hooks.run("after-tokenize",i),o.stringify(r.util.encode(i.tokens),i.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return c(o,o.head,e),a(e,o,t,o.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(e,t,n,s,l,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var g=p[h],v=g.inside,y=!!g.lookbehind,m=!!g.greedy,b=g.alias;if(m&&!g.pattern.global){var w=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,w+"g")}for(var x=g.pattern||g,C=s.next,_=l;C!==t.tail&&!(f&&_>=f.reach);_+=C.value.length,C=C.next){var S=C.value;if(t.length>e.length)return;if(!(S instanceof o)){var O,k=1;if(m){if(!(O=i(x,_,e,y))||O.index>=e.length)break;var E=O.index,T=O.index+O[0].length,A=_;for(A+=C.value.length;E>=A;)A+=(C=C.next).value.length;if(_=A-=C.value.length,C.value instanceof o)continue;for(var j=C;j!==t.tail&&(A<T||"string"==typeof j.value);j=j.next)k++,A+=j.value.length;k--,S=e.slice(_,A),O.index-=_}else if(!(O=i(x,0,S,y)))continue;E=O.index;var M=O[0],P=S.slice(0,E),D=S.slice(E+M.length),I=_+S.length;f&&I>f.reach&&(f.reach=I);var L=C.prev;if(P&&(L=c(t,L,P),_+=P.length),u(t,L,k),C=c(t,L,new o(d,v?r.tokenize(M,v):M,b,M)),D&&c(t,C,D),k>1){var R={cause:d+","+h,reach:I};a(e,t,n,C.prev,_,R),f&&R.reach>f.reach&&(f.reach=R.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),r.hooks.run("wrap",i);var s="";for(var c in i.attributes)s+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},r}(),aV=iV;iV.default=iV,aV.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},aV.languages.markup.tag.inside["attr-value"].inside.entity=aV.languages.markup.entity,aV.languages.markup.doctype.inside["internal-subset"].inside=aV.languages.markup,aV.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(aV.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:aV.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:aV.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},aV.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(aV.languages.markup.tag,"addAttribute",{value:function(e,t){aV.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:aV.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),aV.languages.html=aV.languages.markup,aV.languages.mathml=aV.languages.markup,aV.languages.svg=aV.languages.markup,aV.languages.xml=aV.languages.extend("markup",{}),aV.languages.ssml=aV.languages.xml,aV.languages.atom=aV.languages.xml,aV.languages.rss=aV.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(aV),aV.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},aV.languages.c=aV.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),aV.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),aV.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},aV.languages.c.string],char:aV.languages.c.char,comment:aV.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:aV.languages.c}}}}),aV.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete aV.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(aV),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(aV),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(aV),aV.languages.javascript=aV.languages.extend("clike",{"class-name":[aV.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),aV.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,aV.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:aV.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:aV.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:aV.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:aV.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:aV.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),aV.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:aV.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),aV.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),aV.languages.markup&&(aV.languages.markup.tag.addInlined("script","javascript"),aV.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),aV.languages.js=aV.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(aV),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+i+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(aV),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var s=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),c="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,c]:a.alias.push(c):a.alias=[c]}}else e(o.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],u=/language-(.+)/.exec(i);if(u){n=u[1];break}}var l,f=e.languages[n];if(f)t.content=e.highlight((l=t.content,l.replace(a,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),c(n);var r=s[t];return r||e}))),f,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(aV),aV.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:aV.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},aV.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(f(["definition-mutation","punctuation"])&&"("===l(1).content){n+=2;var i=d(/^\($/,/^\)$/);if(-1===i)continue;for(;n<i;n++){var a=l(0);"variable"===a.type&&(p(a,"variable-input"),o.push(a.content))}n=i+1}if(f(["punctuation","property-query"])&&"{"===l(0).content&&(n++,p(l(0),"property-mutation"),o.length>0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var c=n;c<s;c++){var u=t[c];"variable"===u.type&&o.indexOf(u.content)>=0&&p(u,"variable-input")}}}}function l(e){return t[n+e]}function f(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=l(n+t);if(!r||r.type!==e[n])return!1}return!0}function d(e,r){for(var o=1,i=n;i<t.length;i++){var a=t[i],s=a.content;if("punctuation"===a.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0===--o)return i}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),aV.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],i=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function c(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function u(t){var n={};n["interpolation-punctuation"]=o;var i=e.tokenize(t,n);if(3===i.length){var a=[1,1];a.push.apply(a,c(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,a)}return new e.Token("interpolation",i,r.alias,t)}function l(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),a=0,l={},f=c(o.map((function(e){if("string"==typeof e)return e;for(var n,o=e.content;-1!==t.indexOf(n=s(a++,r)););return l[n]=o,n})).join(""),n,r),d=Object.keys(l);return a=0,function e(t){for(var n=0;n<t.length;n++){if(a>=d.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=d[a],i="string"==typeof r?r:r.content,s=i.indexOf(o);if(-1!==s){++a;var c=i.substring(0,s),f=u(l[o]),p=i.substring(s+o.length),h=[];if(c&&h.push(c),h.push(f),p){var g=[p];e(g),h.push.apply(h,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(h)),n+=h.length-1):r.content=h}}else{var v=r.content;Array.isArray(v)?e(v):e([v])}}}(f),new e.Token(r,f,"language-"+r,t)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in f&&function t(n){for(var r=0,o=n.length;r<o;r++){var i=n[r];if("string"!=typeof i){var a=i.content;if(Array.isArray(a))if("template-string"===i.type){var s=a[1];if(3===a.length&&"string"!=typeof s&&"embedded-code"===s.type){var c=d(s),u=s.alias,f=Array.isArray(u)?u[0]:u,p=e.languages[f];if(!p)continue;a[1]=l(c,p,f)}}else t(a);else"string"!=typeof a&&t([a])}}}(t.tokens)}))}(aV),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(aV),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],i=e.languages.javascript[o];"RegExp"===e.util.type(i)&&(i=e.languages.javascript[o]={pattern:i});var a=i.inside||{};i.inside=a,a["maybe-class-name"]=/^[A-Z][\s\S]*/}}(aV),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var c=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(c+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(c=a(t[r-1])+c,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",c,null,c)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(aV),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(aV),aV.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},aV.languages.go=aV.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),aV.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete aV.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,i){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof i&&!i(e))return e;for(var o,s=a.length;-1!==n.code.indexOf(o=t(r,s));)++s;return a[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,i=Object.keys(n.tokenStack);!function a(s){for(var c=0;c<s.length&&!(o>=i.length);c++){var u=s[c];if("string"==typeof u||u.content&&"string"==typeof u.content){var l=i[o],f=n.tokenStack[l],d="string"==typeof u?u:u.content,p=t(r,l),h=d.indexOf(p);if(h>-1){++o;var g=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),y=d.substring(h+p.length),m=[];g&&m.push.apply(m,a([g])),m.push(v),y&&m.push.apply(m,a([y])),"string"==typeof u?s.splice.apply(s,[c,1].concat(m)):u.content=m}}else u.content&&a(u.content)}return s}(n.tokens)}}}})}(aV),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(aV),aV.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},aV.languages.webmanifest=aV.languages.json,aV.languages.less=aV.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),aV.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),aV.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},aV.languages.objectivec=aV.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete aV.languages.objectivec["class-name"],aV.languages.objc=aV.languages.objectivec,aV.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},aV.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},aV.languages.python["string-interpolation"].inside.interpolation.inside.rest=aV.languages.python,aV.languages.py=aV.languages.python,aV.languages.reason=aV.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),aV.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete aV.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(aV),aV.languages.scss=aV.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),aV.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),aV.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),aV.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),aV.languages.scss.atrule.inside.rest=aV.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(aV),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(aV),aV.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var sV={Prism:aV,theme:{plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]}};function cV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uV(){return uV=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},uV.apply(this,arguments)}var lV=/\r\n|\r|\n/,fV=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},dV=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},pV=function(e,t){var n=e.plain,r=Object.create(null),o=e.styles.reduce((function(e,n){var r=n.languages,o=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=uV({},e[t],o);e[t]=n})),e}),r);return o.root=n,o.plain=uV({},n,{backgroundColor:null}),o};function hV(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var gV=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),cV(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?pV(e.theme,e.language):void 0;return t.themeDict=n})),cV(this,"getLineProps",(function(e){var n=e.key,r=e.className,o=e.style,i=uV({},hV(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),a=t.getThemeDict(t.props);return void 0!==a&&(i.style=a.plain),void 0!==o&&(i.style=void 0!==i.style?uV({},i.style,o):o),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),cV(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,o=n.length,i=t.getThemeDict(t.props);if(void 0!==i){if(1===o&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===o&&!r)return i[n[0]];var a=r?{display:"inline-block"}:{},s=n.map((function(e){return i[e]}));return Object.assign.apply(Object,[a].concat(s))}})),cV(this,"getTokenProps",(function(e){var n=e.key,r=e.className,o=e.style,i=e.token,a=uV({},hV(e,["key","className","style","token"]),{className:"token "+i.types.join(" "),children:i.content,style:t.getStyleForToken(i),key:void 0});return void 0!==o&&(a.style=void 0!==a.style?uV({},a.style,o):o),void 0!==n&&(a.key=n),r&&(a.className+=" "+r),a})),cV(this,"tokenize",(function(e,t,n,r){var o={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",o);var i=o.tokens=e.tokenize(o.code,o.grammar,o.language);return e.hooks.run("after-tokenize",o),i}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,o=e.children,i=this.getThemeDict(this.props),a=t.languages[n],s=function(e){for(var t=[[]],n=[e],r=[0],o=[e.length],i=0,a=0,s=[],c=[s];a>-1;){for(;(i=r[a]++)<o[a];){var u=void 0,l=t[a],f=n[a][i];if("string"==typeof f?(l=a>0?l:["plain"],u=f):(l=dV(l,f.type),f.alias&&(l=dV(l,f.alias)),u=f.content),"string"==typeof u){var d=u.split(lV),p=d.length;s.push({types:l,content:d[0]});for(var h=1;h<p;h++)fV(s),c.push(s=[]),s.push({types:l,content:d[h]})}else a++,t.push(l),n.push(u),r.push(0),o.push(u.length)}a--,t.pop(),n.pop(),r.pop(),o.pop()}return fV(s),c}(void 0!==a?this.tokenize(t,r,a,n):[r]);return o({tokens:s,className:"prism-code language-"+n,style:void 0!==i?i.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(C),vV=gV,yV="#c5a5c5",mV="#8dc891",bV={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:yV}},{types:["attr-value"],style:{color:mV}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:mV}},{types:["punctuation"],style:{color:mV}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:yV}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},wV={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]};const xV=({content:t})=>{const[n,r]=y(!1),{color:o,scale10:i}=E();v((()=>{n&&setTimeout((()=>{r(!1)}),2e3)}),[n]);return e(CV,Object.assign({onClick:()=>{TH(t),r(!0)},copied:n},{children:e(Vn,n?{name:"check-circle",color:o.success}:{name:"copy",color:i})}))},CV=be.div((({copied:e})=>({width:25,height:25,padding:5,position:"absolute",top:5,right:5,display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",opacity:e?1:.3,"&:hover":{opacity:e?1:.7}}))),_V=({method:n,url:r})=>{const o=E(),i=((e,t)=>{const{color:n}=t;switch(e){case"GET":return{borderColor:n.brand,backgroundColor:n.brandTint2};case"DELETE":return{borderColor:n.error,backgroundColor:n.errorTint2};case"POST":return{borderColor:n.success,backgroundColor:n.successTint2};case"PUT":return{borderColor:n.warning,backgroundColor:n.warningTint2};default:return{borderColor:t.scale8,backgroundColor:t.scale0}}})(n.toUpperCase(),o);return t(SV,Object.assign({},i,{children:[e(OV,Object.assign({backgroundColor:i.borderColor},{children:n.toUpperCase()})),e(kV,{children:r}),e(xV,{content:r})]}))},SV=be.div((({theme:e})=>({display:"flex",alignItems:"center",border:"1px solid",borderRadius:e.size.xs,margin:"10px 0",position:"relative"})),(({borderColor:e,backgroundColor:t})=>({borderColor:e,backgroundColor:t}))),OV=be.div((({theme:e})=>({padding:e.size.md,textAlign:"center",fontFamily:"monospace",whiteSpace:"pre",fontSize:e.font.size.lg,color:"#fff"})),(({backgroundColor:e})=>({backgroundColor:e}))),kV=be.div((({theme:e})=>({fontFamily:"monospace",whiteSpace:"pre",fontSize:e.font.size.lg,padding:e.size.md}))),EV=({children:n,code:r,className:o,lang:i,lineHighlights:a,noNumbers:s,margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d})=>{const{name:p}=E(),h={margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d},g=(null==o?void 0:o.replace(/}/g,"").split("{"))||[];let[v,y,m]=g;v=v||i||"",y=y||a||"",m=m||s?"nonumbers":"";let b=v?v.replace(/language-/,""):"text",w="";if(b.includes("rest")){const[e,t]=b.split("-");b=e,w=(null==t?void 0:t.toUpperCase())||""}const x="nonumbers"===m.toLowerCase().trim(),C=e=>{if(y){const t=(e=>{const t=e.split(",").map((e=>{if(e.match(/^\d+$/))return parseInt(e);if(e.includes("-")){const[t,n]=e.split("-"),r=parseInt(t),o=parseInt(n);return r<o?Ht.range(r,o+1):Ht.rangeRight(o,r+1)}return null})),n=t.flat();return Ht.compact(n)})(y);return t.some((t=>e===t))}return!1},_=(null==r?void 0:r.trim())||(null==n?void 0:n.trim())||"";return"rest"===b?e(_V,{method:w,url:_}):e(vV,Object.assign({},sV,{code:_,language:b,theme:"dark"===p?bV:wV},{children:({className:n,style:r,tokens:o,getLineProps:i,getTokenProps:a})=>t(TV,Object.assign({className:n,style:Object.assign({},r)},h,{"data-testid":"code"},{children:[o.map(((n,r,o)=>t(AV,Object.assign({},i({line:n,key:r}),{highlight:C(r+1)},{children:[o.length>1&&!x&&e(jV,{children:r+1}),n.map(((t,n)=>e("span",Object.assign({},a({token:t,key:n})),t.content)))]})))),e(xV,{content:_})]}))}))},TV=be.pre((({theme:e})=>({overflowX:"auto",position:"relative",padding:e.size.md,borderRadius:e.size.xs,backgroundColor:"light"===e.name?`${e.scale0} !important`:void 0})),Fn),AV=be.div((({theme:e,highlight:t})=>({backgroundColor:t?e.scale1:"transparent"}))),jV=be.span((({theme:e})=>({display:"inline-block",minWidth:17,textAlign:"right",marginRight:10,color:e.scale6,userSelect:"none"}))),MV=be.table((({theme:e})=>({border:`1px solid ${e.scale1}`,borderSpacing:0,borderCollapse:"separate",borderRadius:e.size.xs,overflow:"hidden",width:"100%","& thead":{backgroundColor:e.scale1,borderTopLeftRadius:e.size.xs,borderTopRightRadius:e.size.xs},"& th, & td":{border:"none",padding:10,textAlign:"left"},"& td":{borderTop:`1px solid ${e.scale1}`,lineHeight:"28px"},"& th":{fontWeight:"bold",whiteSpace:"nowrap"},"& td:not(:last-of-type)":{whiteSpace:"nowrap"}})));var PV={exports:{}};PV.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:q(e)}function r(e){return s(e)?e:G(e)}function o(e){return c(e)?e:Z(e)}function i(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[d])}function c(e){return!(!e||!e[p])}function u(e){return s(e)||c(e)}function l(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",v=5,y=1<<v,m=y-1,b={},w={value:!1},x={value:!1};function C(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function S(){}function O(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function k(e){return void 0===e.size&&(e.size=e.__iterate(T)),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?k(e)+t:t}function T(){return!0}function A(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function j(e,t){return P(e,t,0)}function M(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,I=1,L=2,R="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",B=R||N;function F(e){this.next=e}function z(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function H(){return{value:void 0,done:!0}}function V(e){return!!$(e)}function U(e){return e&&"function"==typeof e.next}function K(e){var t=$(e);return t&&t.call(e)}function $(e){var t=e&&(R&&e[R]||e[N]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function q(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function G(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Z(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ce(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ce(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=D,F.VALUES=I,F.ENTRIES=L,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[B]=function(){return this},t(q,n),q.of=function(){return q(arguments)},q.prototype.toSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq {","}")},q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},q.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},q.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(G,q),G.prototype.toKeyedSeq=function(){return this},t(Z,q),Z.of=function(){return Z(arguments)},Z.prototype.toIndexedSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq [","]")},Z.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},Z.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(Y,q),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},q.isSeq=ie,q.Keyed=G,q.Set=Y,q.Indexed=Z;var X,J,Q,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 oe(e){this._iterator=e,this._iteratorCache=[]}function ie(e){return!(!e||!e[ee])}function ae(){return X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new oe(e).fromEntrySeq():V(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 ce(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=le(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 le(e){return W(e)?new te(e):U(e)?new oe(e):V(e)?new re(e):void 0}function fe(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new F((function(){var e=o[n?i-a:a];return a++>i?H():z(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Z(t).map((function(n,r){return he(e,n,r,t)}))):ve(t)?e.call(r,n,G(t).map((function(n,r){return he(e,n,r,t)}))):t}function ge(e){return Array.isArray(e)?Z(e).map(ge).toList():ve(e)?G(e).map(ge).toMap():e}function ve(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ye(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 me(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)||c(e)!==c(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ye(o[1],e)&&(n||ye(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!ye(t,e.get(r,b)):!ye(e.get(r,b),t))return f=!1,!1}));return f&&e.size===d}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(J)return J;J=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(Q)return Q;Q=this}}function Ce(){throw TypeError("Abstract")}function _e(){}function Se(){}function Oe(){}q.prototype[ee]=!0,t(te,Z),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,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new F((function(){return o>r?H():z(e,o,n[t?r-o++:o++])}))},t(ne,G),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,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new F((function(){var a=r[t?o-i:i];return i++>o?H():z(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Z),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(U(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!U(n))return new F(H);var r=0;return new F((function(){var t=n.next();return t.done?t:z(e,r++,t.value)}))},t(oe,Z),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new F((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return z(e,o,r[o++])}))},t(be,Z),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 ye(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:new be(this._value,M(t,n)-j(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ye(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ye(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?z(e,r++,n._value):H()}))},be.prototype.equals=function(e){return e instanceof be?ye(this._value,e._value):me(e)},t(xe,Z),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 A(e,t,this.size)?this:(e=j(e,this.size),(t=M(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,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new F((function(){var a=o;return o+=t?-r:r,i>n?H():z(e,i++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:me(this,e)},t(Ce,n),t(_e,Ce),t(Se,Ce),t(Oe,Ce),Ce.Keyed=_e,Ce.Indexed=Se,Ce.Set=Oe;var ke="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 Te(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?Ae(e):je(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Me(e);if("function"==typeof e.toString)return je(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ae(e){var t=Ve[e];return void 0===t&&(t=je(e),He===ze&&(He=0,Ve={}),He++,Ve[e]=t),t}function je(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function Me(e){var t;if(Re&&void 0!==(t=Le.get(e)))return t;if(void 0!==(t=e[Be]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Be]))return t;if(void 0!==(t=Ie(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),Re)Le.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(De)Object.defineProperty(e,Be,{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[Be]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Be]=t}}return t}var Pe=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Le,Re="function"==typeof WeakMap;Re&&(Le=new WeakMap);var Ne=0,Be="__immutablehash__";"function"==typeof Symbol&&(Be=Symbol(Be));var Fe=16,ze=255,He=0,Ve={};function Ue(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?ot():$e(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[qe])}t(Ke,_e),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return it(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return it(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=vt(this,Cn(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ke.prototype.merge=function(){return dt(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return dt(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return Vt(fn(this,e))},Ke.prototype.sortBy=function(e,t){return Vt(fn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.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},Ke.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)},Ke.isMap=$e;var We,qe="@@__IMMUTABLE_MAP__@@",Ge=Ke.prototype;function Ze(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 Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return z(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ge);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return We||(We=rt(0))}function it(e,t,n){var r,o;if(e._root){var i=C(w),a=C(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Ze(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function at(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===b?e:(_(s),_(a),new Qe(t,r,[o,i]))}function st(e){return e.constructor===Qe||e.constructor===Je}function ct(e,t,n,r,o){if(e.keyHash===r)return new Je(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&m,s=(0===n?r:r>>>n)&m;return new Ye(t,1<<a|1<<s,a===s?[ct(e,t,n+v,r,o)]:(i=new Qe(t,r,o),a<s?[e,i]:[i,e]))}function ut(e,t,n,r){e||(e=new S);for(var o=new Qe(e,Te(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function lt(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=t.length;s<u;s++,c<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Ye(e,o,a)}function ft(e,t,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Xe(e,i+1,a)}function dt(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(e){return pe(e)}))),o.push(c)}return gt(e,t,o)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ye(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return ye(t,o)?t:o}}function gt(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)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function vt(e,t,n,r){var o=e===b,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}we(o||e&&e.set,"invalid keyPath");var c=i.value,u=o?b:e.get(c,b),l=vt(u,t,n,r);return l===u?e:l===b?e.remove(c):(o?ot():e).set(c,l)}function yt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function mt(e,t,n,r){var o=r?e:O(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}Ge[qe]=!0,Ge[g]=Ge.remove,Ge.removeIn=Ge.deleteIn,Ze.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ye(n,o[i][0]))return o[i][1];return r},Ze.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===b,c=this.entries,u=0,l=c.length;u<l&&!ye(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(_(a),(s||!f)&&_(i),!s||1!==c.length){if(!f&&!s&&c.length>=xt)return ut(e,c,r,o);var d=e&&e===this.ownerID,p=d?c:O(c);return f?s?u===l-1?p.pop():p[u]=p.pop():p[u]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Ze(e,p)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Te(n));var o=1<<((0===e?t:t>>>e)&m),i=this.bitmap;return 0==(i&o)?r:this.nodes[yt(i&o-1)].get(e+v,t,n,r)},Ye.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=(0===t?n:n>>>t)&m,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===b)return this;var f=yt(u&c-1),d=this.nodes,p=l?d[f]:void 0,h=at(p,e,t+v,n,r,o,i,a);if(h===p)return this;if(!l&&h&&d.length>=Ct)return ft(e,d,u,s,h);if(l&&!h&&2===d.length&&st(d[1^f]))return d[1^f];if(l&&h&&1===d.length&&st(h))return h;var g=e&&e===this.ownerID,y=l?h?u:u^c:u|c,w=l?h?mt(d,f,h,g):wt(d,f,g):bt(d,f,h,g);return g?(this.bitmap=y,this.nodes=w,this):new Ye(e,y,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Te(n));var o=(0===e?t:t>>>e)&m,i=this.nodes[o];return i?i.get(e+v,t,n,r):r},Xe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=(0===t?n:n>>>t)&m,c=o===b,u=this.nodes,l=u[s];if(c&&!l)return this;var f=at(l,e,t+v,n,r,o,i,a);if(f===l)return this;var d=this.count;if(l){if(!f&&--d<_t)return lt(e,u,d,s)}else d++;var p=e&&e===this.ownerID,h=mt(u,s,f,p);return p?(this.count=d,this.nodes=h,this):new Xe(e,d,h)},Je.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ye(n,o[i][0]))return o[i][1];return r},Je.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=o===b;if(n!==this.keyHash)return s?this:(_(a),_(i),ct(this,e,t,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!ye(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(_(a),(s||!f)&&_(i),s&&2===l)return new Qe(e,this.keyHash,c[1^u]);var d=e&&e===this.ownerID,p=d?c:O(c);return f?s?u===l-1?p.pop():p[u]=p.pop():p[u]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Je(e,this.keyHash,p)},Qe.prototype.get=function(e,t,n,r){return ye(n,this.entry[0])?this.entry[1]:r},Qe.prototype.update=function(e,t,n,r,o,i,a){var s=o===b,c=ye(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(_(a),s?void _(i):c?e&&e===this.ownerID?(this.entry[1]=o,this):new Qe(e,this.keyHash,[r,o]):(_(i),ct(this,e,t,Te(r),[r,o])))},Ze.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Ye.prototype.iterate=Xe.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Qe.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,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return tt(e,i.entry);t=this._stack=nt(i,t)}continue}t=this._stack=this._stack.__prev}return H()};var xt=y/4,Ct=y/2,_t=y/4;function St(e){var t=It();if(null==e)return t;if(Ot(e))return e;var n=o(e),r=n.size;return 0===r?t:(Ue(r),r>0&&r<y?Dt(0,r,v,null,new Tt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ot(e){return!(!e||!e[kt])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Bt(this,e+=this._origin);return n&&n.array[e&m]}return t},St.prototype.set=function(e,t){return Lt(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=v,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):It()},St.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])}))},St.prototype.pop=function(){return Ft(this,0,-1)},St.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])}))},St.prototype.shift=function(){return Ft(this,1)},St.prototype.merge=function(){return zt(this,void 0,arguments)},St.prototype.mergeWith=function(t){return zt(this,t,e.call(arguments,1))},St.prototype.mergeDeep=function(){return zt(this,pt,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return zt(this,ht(t),n)},St.prototype.setSize=function(e){return Ft(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:Ft(this,j(e,n),M(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=Pt(this,t);return new F((function(){var t=r();return t===Mt?H():z(e,n++,t)}))},St.prototype.__iterate=function(e,t){for(var n,r=0,o=Pt(this,t);(n=o())!==Mt&&!1!==e(n,r++,this););return r},St.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},St.isList=Ot;var kt="@@__IMMUTABLE_LIST__@@",Et=St.prototype;function Tt(e,t){this.array=e,this.ownerID=t}Et[kt]=!0,Et[g]=Et.remove,Et.setIn=Ge.setIn,Et.deleteIn=Et.removeIn=Ge.removeIn,Et.update=Ge.update,Et.updateIn=Ge.updateIn,Et.mergeIn=Ge.mergeIn,Et.mergeDeepIn=Ge.mergeDeepIn,Et.withMutations=Ge.withMutations,Et.asMutable=Ge.asMutable,Et.asImmutable=Ge.asImmutable,Et.wasAltered=Ge.wasAltered,Tt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&m;if(r>=this.array.length)return new Tt([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-v,n))===a&&i)return this}if(i&&!o)return this;var s=Nt(this,e);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},Tt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&m;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-v,n))===i&&o===this.array.length-1)return this}var a=Nt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var At,jt,Mt={};function Pt(e,t){var n=e._origin,r=e._capacity,o=Ht(r),i=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):c(e,t,n)}function s(e,a){var s=a===o?i&&i.array:e&&e.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return Mt;var e=t?--u:c++;return s&&s[e]}}function c(e,o,i){var s,c=e&&e.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var e=s();if(e!==Mt)return e;s=null}if(u===l)return Mt;var n=t?--l:u++;s=a(c&&c[n],o-v,i+(n<<o))}}}}function Dt(e,t,n,r,o,i,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=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function It(){return At||(At=Dt(0,0,v))}function Lt(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,o=e._root,i=C(x);return t>=Ht(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,i):o=Rt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Dt(e._origin,e._capacity,e._level,o,r):e}function Rt(e,t,n,r,o,i){var a,s=r>>>n&m,c=e&&s<e.array.length;if(!c&&void 0===o)return e;if(n>0){var u=e&&e.array[s],l=Rt(u,t,n-v,r,o,i);return l===u?e:((a=Nt(e,t)).array[s]=l,a)}return c&&e.array[s]===o?e:(_(i),a=Nt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Nt(e,t){return t&&e&&t===e.ownerID?e:new Tt(e?e.array.slice():[],t)}function Bt(e,t){if(t>=Ht(e._capacity))return e._tail;if(t<1<<e._level+v){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&m],r-=v;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var c=e._level,u=e._root,l=0;a+l<0;)u=new Tt(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=v);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Ht(i),d=Ht(s);d>=1<<c+v;)u=new Tt(u&&u.array.length?[u]:[],r),c+=v;var p=e._tail,h=d<f?Bt(e,s-1):d>f?new Tt([],r):p;if(p&&d>f&&a<i&&p.array.length){for(var g=u=Nt(u,r),y=c;y>v;y-=v){var b=f>>>y&m;g=g.array[b]=Nt(g.array[b],r)}g.array[f>>>v&m]=p}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=d)a-=d,s-=d,c=v,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;u;){var w=a>>>c&m;if(w!==d>>>c&m)break;w&&(l+=(1<<c)*w),c-=v,u=u.array[w]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&d<f&&(u=u.removeAfter(r,c,d-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=c,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,c,u,h)}function zt(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(e){return pe(e)}))),r.push(u)}return i>e.size&&(e=e.setSize(i)),gt(e,t,r)}function Ht(e){return e<y?0:e-1>>>v<<v}function Vt(e){return null==e?$t():Ut(e)?e:$t().withMutations((function(t){var n=r(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return $e(e)&&l(e)}function Kt(e,t,n,r){var o=Object.create(Vt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function $t(){return jt||(jt=Kt(ot(),It()))}function Wt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),c=void 0!==s;if(n===b){if(!c)return e;a.size>=y&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Kt(r,o)}function qt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function 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===L){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===I?D:I,n)},t}function Jt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,b);return i===b?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(L,o);return new F((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return z(r,s,t.call(n,a[1],s,e),o)}))},r}function Qt(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 o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,b);return i!==b&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,c){if(t.call(n,e,i,c))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(L,i),s=0;return new F((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(t.call(n,l,u,e))return z(o,r?u:s++,l,i)}}))},o}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?Vt():Ke()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=mn(e);return o.map((function(t){return gn(e,i(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),A(t,n,o))return e;var i=j(t,o),a=M(n,o);if(i!=i||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!r&&ie(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+i,n):n}),u.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,c=!0,u=0;return e.__iterate((function(e,n){if(!c||!(c=a++<i))return u++,!1!==t(e,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,c=0;return new F((function(){for(;a++<i;)o.next();if(++c>s)return H();var e=o.next();return r||t===I?e:z(t,c-1,t===D?void 0:e.value[1],e)}))},u}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(L,o),s=!0;return new F((function(){if(!s)return H();var e=a.next();if(e.done)return e;var o=e.value,c=o[0],u=o[1];return t.call(n,u,c,i)?r===L?e:z(r,c,u,e):(s=!1,H())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return e.__iterate((function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return c++,o(e,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(L,i),c=!0,u=0;return new F((function(){var e,i,l;do{if((e=s.next()).done)return r||o===I?e:z(o,u++,o===D?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],c&&(c=t.call(n,l,i,a))}while(c);return o===L?e:z(o,i,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ce(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||c(e)&&c(i))return i}var u=new te(o);return n?u=u.toKeyedSeq():c(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function cn(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;function c(e,u){var l=this;e.__iterate((function(e,o){return(!t||u<t)&&a(e)?c(e,u+1):!1===r(e,n?o:i++,l)&&(s=!0),!s}),o)}return c(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],c=0;return new F((function(){for(;i;){var e=i.next();if(!1===e.done){var u=e.value;if(r===L&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:z(r,c++,u,e);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return H()}))},r}function un(e,t,n){var r=mn(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(I,r),a=0;return new F((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?z(n,a++,t):z(n,a++,o.value,o)}))},n}function fn(e,t,n){t||(t=xn);var r=s(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?G(i):c(e)?Z(i):Y(i)}function dn(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 o=bn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(I,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),K(o?e.reverse():e)})),a=0,s=!1;return new F((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?H():z(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function gn(e,t){return ie(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function yn(e){return Ue(e.size),k(e)}function mn(e){return s(e)?r:c(e)?o:i}function bn(e){return Object.create((s(e)?G:c(e)?Z:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):q.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function Cn(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function _n(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);En(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Ke(i)},o=r.prototype=Object.create(Sn);return o.constructor=r,r}t(Vt,Ke),Vt.of=function(){return this(arguments)},Vt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Vt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Vt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Vt.prototype.set=function(e,t){return Wt(this,e,t)},Vt.prototype.remove=function(e){return Wt(this,e,b)},Vt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Vt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Vt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Vt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Vt.isOrderedMap=Ut,Vt.prototype[h]=!0,Vt.prototype[g]=Vt.prototype.remove,t(qt,G),qt.prototype.get=function(e,t){return this._iter.get(e,t)},qt.prototype.has=function(e){return this._iter.has(e)},qt.prototype.valueSeq=function(){return this._iter.valueSeq()},qt.prototype.reverse=function(){var e=this,t=Qt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},qt.prototype.map=function(e,t){var n=this,r=Jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},qt.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?yn(this):0,function(o){return e(o,t?--n:n++,r)}),t)},qt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(I,t),r=t?yn(this):0;return new F((function(){var o=n.next();return o.done?o:z(e,t?--r:r++,o.value,o)}))},qt.prototype[h]=!0,t(Gt,Z),Gt.prototype.includes=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t),r=0;return new F((function(){var t=n.next();return t.done?t:z(e,r++,t.value,t)}))},t(Zt,Y),Zt.prototype.has=function(e){return this._iter.includes(e)},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t);return new F((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,G),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){vn(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(I,t);return new F((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){vn(r);var o=a(r);return z(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},Gt.prototype.cacheResult=qt.prototype.cacheResult=Zt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(kn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=On(this,ot()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+kn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:On(this,n)},_n.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:On(this,t)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?On(this,t,e):(this.__ownerID=e,this._map=t,this)};var Sn=_n.prototype;function On(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function kn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Tn.bind(void 0,e))}catch(e){}}function Tn(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 An(e){return null==e?Rn():jn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(e){return!(!e||!e[Pn])}Sn[g]=Sn.remove,Sn.deleteIn=Sn.removeIn=Ge.removeIn,Sn.merge=Ge.merge,Sn.mergeWith=Ge.mergeWith,Sn.mergeIn=Ge.mergeIn,Sn.mergeDeep=Ge.mergeDeep,Sn.mergeDeepWith=Ge.mergeDeepWith,Sn.mergeDeepIn=Ge.mergeDeepIn,Sn.setIn=Ge.setIn,Sn.update=Ge.update,Sn.updateIn=Ge.updateIn,Sn.withMutations=Ge.withMutations,Sn.asMutable=Ge.asMutable,Sn.asImmutable=Ge.asImmutable,t(An,Oe),An.of=function(){return this(arguments)},An.fromKeys=function(e){return this(r(e).keySeq())},An.prototype.toString=function(){return this.__toString("Set {","}")},An.prototype.has=function(e){return this._map.has(e)},An.prototype.add=function(e){return In(this,this._map.set(e,!0))},An.prototype.remove=function(e){return In(this,this._map.remove(e))},An.prototype.clear=function(){return In(this,this._map.clear())},An.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++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},An.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},An.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},An.prototype.merge=function(){return this.union.apply(this,arguments)},An.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},An.prototype.sort=function(e){return Nn(fn(this,e))},An.prototype.sortBy=function(e,t){return Nn(fn(this,t,e))},An.prototype.wasAltered=function(){return this._map.wasAltered()},An.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},An.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},An.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)},An.isSet=jn;var Mn,Pn="@@__IMMUTABLE_SET__@@",Dn=An.prototype;function In(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 Ln(e,t){var n=Object.create(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Mn||(Mn=Ln(ot()))}function Nn(e){return null==e?Vn():Bn(e)?e:Vn().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Bn(e){return jn(e)&&l(e)}Dn[Pn]=!0,Dn[g]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Ge.withMutations,Dn.asMutable=Ge.asMutable,Dn.asImmutable=Ge.asImmutable,Dn.__empty=Rn,Dn.__make=Ln,t(Nn,An),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(r(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Bn;var Fn,zn=Nn.prototype;function Hn(e,t){var n=Object.create(zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Vn(){return Fn||(Fn=Hn($t()))}function Un(e){return null==e?Zn():Kn(e)?e:Zn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}zn[h]=!0,zn.__empty=Vn,zn.__make=Hn,t(Un,Se),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Gn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Gn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Zn()},Un.prototype.slice=function(e,t){if(A(e,t,this.size))return this;var n=j(e,this.size);if(M(t,this.size)!==this.size)return Se.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Gn(r,o)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Gn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Un.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,z(e,n++,t)}return H()}))},Un.isStack=Kn;var $n,Wn="@@__IMMUTABLE_STACK__@@",qn=Un.prototype;function Gn(e,t,n,r){var o=Object.create(qn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Zn(){return $n||($n=Gn(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}qn[Wn]=!0,qn.withMutations=Ge.withMutations,qn.asMutable=Ge.asMutable,qn.asImmutable=Ge.asImmutable,qn.wasAltered=Ge.wasAltered,n.Iterator=F,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Gt(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 qt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Vt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return An(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Zt(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return St(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ye(t,e)}))},entries:function(){return this.__iterator(L)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return gn(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,o,i){if(e.call(t,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(D)},map:function(e,t){return gn(this,Jt(this,e,t))},reduce:function(e,t,n){var r,o;return Ue(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return gn(this,Qt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return gn(this,fn(this,e))},values:function(){return this.__iterator(I)},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 k(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return me(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(T)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,cn(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ye(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=Cn(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,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(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?nr(e):ir)},minBy:function(e,t){return dn(this,t?nr(t):ir,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return gn(this,fn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(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[f]=!0,Xn[B]=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 gn(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 ye(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ye(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return gn(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Jn=r.prototype;function Qn(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 or(){return O(arguments)}function ir(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+cr(Te(e),Te(t))|0}:function(e,t){r=r+cr(Te(e),Te(t))|0}:t?function(e){r=31*r+Te(e)|0}:function(e){r=r+Te(e)|0});return sr(o,r)}function sr(e,t){return t=ke(t,3432918353),t=ke(t<<15|t>>>-15,461845907),t=ke(t<<13|t>>>-13,5),t=ke((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=ke(t^t>>>13,3266489909))^t>>>16)}function cr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Jn[d]=!0,Jn[B]=Xn.entries,Jn.__toJS=Xn.toObject,Jn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(o,{toKeyedSeq:function(){return new qt(this,!1)},filter:function(e,t){return gn(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 gn(this,Qt(this,!1))},slice:function(e,t){return gn(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=j(e,e<0?this.count():this.size);var r=this.slice(0,e);return gn(this,1===n?r:r.concat(O(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 gn(this,cn(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 gn(this,ln(this,e))},interleave:function(){var e=[this].concat(O(arguments)),t=hn(this.toSeq(),Z.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,hn(this,or,[this].concat(O(arguments))))},zipWith:function(e){var t=O(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),o.prototype[p]=!0,o.prototype[h]=!0,Yn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Xn.includes,Yn(G,r.prototype),Yn(Z,o.prototype),Yn(Y,i.prototype),Yn(_e,r.prototype),Yn(Se,o.prototype),Yn(Oe,i.prototype);var ur={Iterable:n,Seq:q,Collection:Ce,Map:Ke,OrderedMap:Vt,List:St,Stack:Un,Set:An,OrderedSet:Nn,Record:_n,Range:xe,Repeat:be,is:ye,fromJS:pe};return ur}();var DV=PV.exports,IV=DV.OrderedMap,LV={createFromArray:function(e){return IV(e.map((function(e){return[e.getKey(),e]})))}};var RV=DV,NV=RV.Map,BV=RV.OrderedSet,FV=RV.Record,zV=BV(),HV={style:zV,entity:null},VV=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 o=r.prototype;return o.getStyle=function(){return this.get("style")},o.getEntity=function(){return this.get("entity")},o.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 UV;var t=NV({style:zV,entity:null}).merge(e),n=KV.get(t);if(n)return n;var o=new r(t);return KV=KV.set(t,o),o},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?BV(t):t,entity:Array.isArray(n)?BV(n):n})},r}(FV(HV)),UV=new VV,KV=NV([[NV(HV),UV]]);VV.EMPTY=UV;var $V=VV;var WV=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i})),n(e.last())&&r(o,e.count())}};var qV=$V,GV=WV,ZV=DV,YV=ZV.List,XV=ZV.Map,JV=ZV.OrderedSet,QV=ZV.Record,eU=ZV.Repeat,tU=JV(),nU=QV({key:"",type:"unstyled",text:"",characterList:YV(),depth:0,data:XV()}),rU=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=YV(eU(qV.EMPTY,n.length))),e},oU=function(e){var t,n;function r(t){return e.call(this,rU(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():tU},o.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},o.findStyleRanges=function(e,t){GV(this.getCharacterList(),iU,e,t)},o.findEntityRanges=function(e,t){GV(this.getCharacterList(),aU,e,t)},r}(nU);function iU(e,t){return e.getStyle()===t.getStyle()}function aU(e,t){return e.getEntity()===t.getEntity()}var sU=oU;var cU=$V,uU=WV,lU=DV,fU=lU.List,dU=lU.Map,pU=lU.OrderedSet,hU=lU.Record,gU=lU.Repeat,vU=pU(),yU={parent:null,characterList:fU(),data:dU(),depth:0,key:"",text:"",type:"unstyled",children:fU(),prevSibling:null,nextSibling:null},mU=function(e,t){return e.getStyle()===t.getStyle()},bU=function(e,t){return e.getEntity()===t.getEntity()},wU=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=fU(gU(cU.EMPTY,n.length))),e},xU=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yU;return e.call(this,wU(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():vU},o.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},o.getChildKeys=function(){return this.get("children")},o.getParentKey=function(){return this.get("parent")},o.getPrevSiblingKey=function(){return this.get("prevSibling")},o.getNextSiblingKey=function(){return this.get("nextSibling")},o.findStyleRanges=function(e,t){uU(this.getCharacterList(),mU,e,t)},o.findEntityRanges=function(e,t){uU(this.getCharacterList(),bU,e,t)},r}(hU(yU)),CU=xU,_U=$V,SU=DV.Map;function OU(e,t,n,r){var o=e.getBlockMap(),i=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),c=t.getEndOffset(),u=o.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===s})).concat(SU([[s,o.get(s)]])).map((function(e,t){var o,u;i===s?(o=a,u=c):(o=t===i?a:0,u=t===s?c:e.getLength());for(var l,f=e.getCharacterList();o<u;)l=f.get(o),f=f.set(o,r?_U.applyStyle(l,n):_U.removeStyle(l,n)),o++;return e.set("characterList",f)}));return e.merge({blockMap:o.merge(u),selectionBefore:t,selectionAfter:t})}var kU={add:function(e,t,n){return OU(e,t,n,!0)},remove:function(e,t,n){return OU(e,t,n,!1)}},EU=$V;var TU=function(e,t,n,r){for(var o=t,i=e.getCharacterList();o<n;)i=i.set(o,EU.applyEntity(i.get(o),r)),o++;return e.set("characterList",i)},AU=DV;var jU=function(e,t,n){var r=e.getBlockMap(),o=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),c=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(AU.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===o?i:0,c=t===a?s:e.getLength();return TU(e,r,c,n)}));return e.merge({blockMap:r.merge(c),selectionBefore:t,selectionAfter:t})},MU={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e}));for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(e<(a=s+i[l].length)&&s<t)null!==c||(c=s),u=a;else if(null!==c)break;s=a}var f=r+n.length,d=c===r,p=u===f;return(!d&&p||d&&!p)&&("forward"===o?u!==f&&u++:c!==r&&c--),{start:c,end:u}}},PU="production"!==process.env.NODE_ENV?function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")}:function(e){};var DU=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(PU(t),!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(t.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}},IU=DU;var LU=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"!==process.env.NODE_ENV?IU(!1,"Entity key not found in this range."):IU(!1)),n},RU=MU,NU=LU,BU=DU;function FU(e,t,n,r,o,i,a){var s=n.getStartOffset(),c=n.getEndOffset(),u=e.__get(o).getMutability(),l=a?s:c;if("MUTABLE"===u)return n;var f=NU(t,o).filter((function(e){return l<=e.end&&l>=e.start}));1!=f.length&&("production"!==process.env.NODE_ENV?BU(!1,"There should only be one entity range within this removal range."):BU(!1));var d=f[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});i||(a?c=d.end:s=d.start);var p=RU.getRemovalRange(s,c,t.getText().slice(d.start,d.end),d.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var zU=function(e,t,n,r,o){var i=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(i),c=n.getEntityAt(a-1);if(!s&&!c)return r;var u=r;if(s&&s===c)u=FU(e,t,u,o,s,!0,!0);else if(s&&c){var l=FU(e,t,u,o,s,!1,!0),f=FU(e,n,u,o,c,!1,!1);u=u.merge({anchorOffset:l.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(s){var d=FU(e,t,u,o,s,!1,!0);u=u.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(c){var p=FU(e,n,u,o,c,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},HU={},VU=Math.pow(2,24);var UU=function(){for(var e;void 0===e||HU.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*VU).toString(32);return HU[e]=!0,e},KU=CU,$U=UU,WU=DV.OrderedMap,qU=function(e){return e.first()instanceof KU?function(e){var t,n={};return WU(e.withMutations((function(e){e.forEach((function(r,o){var i=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),c=r.getChildKeys(),u=r.getParentKey(),l=$U();if(n[i]=l,a&&(e.get(a)?e.setIn([a,"prevSibling"],l):e.setIn([i,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],l):e.setIn([i,"prevSibling"],null)),u&&e.get(u)){var f=e.get(u).getChildKeys();e.setIn([u,"children"],f.set(f.indexOf(r.getKey()),l))}else e.setIn([i,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],l),e.setIn([i,"prevSibling"],n[t.getKey()])),t=e.get(i);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],l):e.setIn([i,"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 WU(e.toArray().map((function(e){var t=$U();return[t,e.set("key",t)]})))}(e)},GU=$V,ZU=WV,YU=DU;function XU(e,t,n){var r=t.getCharacterList(),o=n>0?r.get(n-1):void 0,i=n<r.count()?r.get(n):void 0,a=o?o.getEntity():void 0,s=i?i.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var c,u=function(e,t,n){var r;return ZU(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"!==process.env.NODE_ENV?YU(!1,"Removal range must exist within character list."):YU(!1)),r}(r,s,n),l=u.start,f=u.end;l<f;)c=r.get(l),r=r.set(l,GU.applyEntity(c,null)),l++;return t.set("characterList",r)}return t}var JU=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),a=t.getStartOffset(),s=n.get(i),c=XU(r,s,a);c!==s&&(o[i]=c);var u=t.getEndKey(),l=t.getEndOffset(),f=n.get(u);i===u&&(f=c);var d=XU(r,f,l);return d!==f&&(o[u]=d),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)},QU=qU,eK=JU,tK=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=t.getEndKey(),i=t.getEndOffset(),a=eK(e,t).getBlockMap(),s=a.keySeq(),c=s.indexOf(n),u=s.indexOf(o)+1;return QU(a.slice(c,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===o?e.merge({text:a.slice(r,i),characterList:s.slice(r,i)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===o?e.merge({text:a.slice(0,i),characterList:s.slice(0,i)}):e})))};var nK=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 o=r.slice(0,n),i=r.slice(n);r=o.concat(t,i).toList()}return r},rK=LV,oK=CU,iK=nK,aK=DU,sK=qU,cK=DV.List,uK=function(e,t,n,r,o,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(o),c=s.getText(),u=s.getCharacterList(),l=o,f=i+r.getText().length,d=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":d=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":d=r.getData()}var p=s.getType();c&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:iK(u,r.getCharacterList(),i),type:p,data:d});return e.merge({blockMap:n.set(o,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})},lK=function(e,t,n,r,o,i){var a=n.first()instanceof oK,s=[],c=r.size,u=n.get(o),l=r.first(),f=r.last(),d=f.getLength(),p=f.getKey(),h=a&&(!u.getChildKeys().isEmpty()||!l.getChildKeys().isEmpty());n.forEach((function(e,t){t===o?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,i,r)),r.slice(h?0:1,c-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(e,i,r))):s.push(e)}));var g=rK.createFromArray(s);return a&&(g=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),u=c[c.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),c.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var l=e.get(s).getChildKeys(),f=l.indexOf(o)+1,d=l.toArray();d.splice.apply(d,[f,0].concat(c)),t.setIn([s,"children"],cK(d))}}))}(g,0,u,l)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:d,focusKey:p,focusOffset:d,isBackward:!1})})},fK=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==process.env.NODE_ENV?aK(!1,"`insertFragment` should only be called with a collapsed selection state."):aK(!1));var o=e.getBlockMap(),i=sK(n),a=t.getStartKey(),s=t.getStartOffset(),c=o.get(a);return c instanceof oK&&(c.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?aK(!1,"`insertFragment` should not be called when a container node is selected."):aK(!1))),1===i.size?uK(e,t,o,i.first(),a,s,r):lK(e,t,o,i,a,s)},dK=nK,pK=DU,hK=DV.Repeat;var gK=function(e,t,n,r){t.isCollapsed()||("production"!==process.env.NODE_ENV?pK(!1,"`insertText` should only be called with a collapsed range."):pK(!1));var o=null;if(null!=n&&(o=n.length),null==o||0===o)return e;var i=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),c=i.get(a),u=c.getText(),l=c.merge({text:u.slice(0,s)+n+u.slice(s,c.getLength()),characterList:dK(c.getCharacterList(),hK(r,o).toList(),s)}),f=s+o;return e.merge({blockMap:i.set(a,l),selectionAfter:t.merge({anchorOffset:f,focusOffset:f})})},vK=DV.Map;var yK=function(e,t,n){var r=t.getStartKey(),o=t.getEndKey(),i=e.getBlockMap(),a=i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat(vK([[o,i.get(o)]])).map(n);return e.merge({blockMap:i.merge(a),selectionBefore:t,selectionAfter:t})},mK=CU,bK=function(e,t){if(!(e instanceof mK))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var o=t.get(r);o&&!o.getNextSiblingKey();){var i=o.getParentKey();o=i?t.get(i):null}return o?o.getNextSiblingKey():null},wK=CU,xK=bK,CK=DV;CK.List;var _K=CK.Map,SK=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},OK=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},kK=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},EK=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},TK=function(e,t,n,r){return e.withMutations((function(o){if(SK(t.getKey(),o,(function(e){return e.merge({nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})})),SK(n.getKey(),o,(function(e){return e.merge({nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})})),OK(t.getKey(),r).forEach((function(e){return SK(e,o,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return o.get(e)})),nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})}))})),SK(t.getNextSiblingKey(),o,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),SK(t.getPrevSiblingKey(),o,(function(e){return e.merge({nextSibling:kK(e,o,r)})})),SK(n.getNextSiblingKey(),o,(function(e){return e.merge({prevSibling:EK(e,o,r)})})),SK(n.getPrevSiblingKey(),o,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),OK(n.getKey(),r).forEach((function(e){SK(e,o,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return o.get(e)})),nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=xK(e,t);r&&t.get(r);){var o=t.get(r);n.push(r),r=o.getParentKey()?xK(o,t):null}return n}(n,r).forEach((function(e){return SK(e,o,(function(e){return e.merge({nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var i=t.getPrevSiblingKey();SK(n.getKey(),o,(function(e){return e.merge({prevSibling:i})})),SK(i,o,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=i?e.get(i):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){SK(e,o,(function(e){return e.merge({parent:s})}))})),null!=s){var c=e.get(s);SK(s,o,(function(e){return e.merge({children:c.getChildKeys().concat(t.getChildKeys())})}))}SK(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),o,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},AK=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),o=e.slice(n);e=r.concat(o).toList()}return e},jK=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),o=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),c=r.get(o),u=r.get(a),l=c instanceof wK,f=[];if(l){var d=u.getChildKeys(),p=OK(a,r);u.getNextSiblingKey()&&(f=f.concat(p)),d.isEmpty()||(f=f.concat(p.concat([a]))),f=f.concat(OK(xK(u,r),r))}n=c===u?AK(c.getCharacterList(),i,s):c.getCharacterList().slice(0,i).concat(u.getCharacterList().slice(s));var h=c.merge({text:c.getText().slice(0,i)+u.getText().slice(s),characterList:n}),g=l&&0===i&&0===s&&u.getParentKey()===o&&null==u.getPrevSiblingKey()?_K([[o,null]]):r.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===f.indexOf(t)})).concat(_K([[a,null]])).map((function(e,t){return t===o?h:null})),v=r.merge(g).filter((function(e){return!!e}));return l&&c!==u&&(v=TK(v,c,u,r)),e.merge({blockMap:v,selectionBefore:t,selectionAfter:t.merge({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,isBackward:!1})})},MK=CU,PK=UU,DK=DV,IK=DU,LK=yK,RK=DK.List,NK=DK.Map,BK=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},FK=function(e,t){t.isCollapsed()||("production"!==process.env.NODE_ENV?IK(!1,"Selection range must be collapsed."):IK(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),o=r.get(n),i=o.getText();if(!i){var a=o.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return LK(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),c=o.getCharacterList(),u=PK(),l=o instanceof MK,f=o.merge({text:i.slice(0,s),characterList:c.slice(0,s)}),d=f.merge({key:u,text:i.slice(s),characterList:c.slice(s),data:NK()}),p=r.toSeq().takeUntil((function(e){return e===o})),h=r.toSeq().skipUntil((function(e){return e===o})).rest(),g=p.concat([[n,f],[u,d]],h).toOrderedMap();return l&&(o.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?IK(!1,"ContentBlockNode must not have children"):IK(!1)),g=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();BK(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:RK(i)})})),BK(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),BK(r,e,(function(e){return e.merge({nextSibling:o})})),BK(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(g,f,d)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},zK=$V,HK=kU,VK=jU,UK=zU,KK=tK,$K=fK,WK=gK,qK=DU,GK=yK,ZK=JU,YK=jK,XK=FK,JK=DV.OrderedSet,QK={replaceText:function(e,t,n,r,o){var i=ZK(e,t),a=YK(i,t),s=zK.create({style:r||JK(),entity:o||null});return WK(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,o){return t.isCollapsed()||("production"!==process.env.NODE_ENV?qK(!1,"Target range must be collapsed for `insertText`."):qK(!1)),QK.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=KK(e,t),o=QK.removeRange(e,t,"backward");return QK.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=ZK(e,t),i=YK(o,t);return $K(i,i.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,o,i,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r),a=e.getBlockForKey(o);var s=t.getStartOffset(),c=t.getEndOffset(),u=i.getEntityAt(s),l=a.getEntityAt(c-1);if(r===o&&u&&u===l){var f=UK(e.getEntityMap(),i,a,t,n);return YK(e,f)}var d=ZK(e,t);return YK(d,t)},splitBlock:function(e,t){var n=ZK(e,t),r=YK(n,t);return XK(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return HK.add(e,t,n)},removeInlineStyle:function(e,t,n){return HK.remove(e,t,n)},setBlockType:function(e,t,n){return GK(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return GK(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return GK(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=ZK(e,t);return VK(r,t,n)}},e$=QK;var t$=function(e){return Object.keys(e).map((function(t){return e[t]}))};function n$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r$=WV,o$=t$,i$=DV,a$=i$.List,s$=i$.Repeat,c$=i$.Record,u$=function(){return!0},l$=c$({start:null,end:null}),f$=c$({start:null,end:null,decoratorKey:null,leaves:null}),d$={generate:function(e,t,n){var r=t.getLength();if(!r)return a$.of(new f$({start:0,end:0,decoratorKey:null,leaves:a$.of(new l$({start:0,end:0}))}));var o=[],i=n?n.getDecorations(t,e):a$(s$(null,r)),a=t.getCharacterList();return r$(i,h$,u$,(function(e,t){o.push(new f$({start:e,end:t,decoratorKey:i.get(e),leaves:p$(a.slice(e,t).toList(),e)}))})),a$(o)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["leaves"]);return new f$(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){n$(e,t,n[t])}))}return e}({},n,{leaves:null!=t?a$(Array.isArray(t)?t:o$(t)).map((function(e){return l$(e)})):null}))}};function p$(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return r$(r,h$,u$,(function(e,r){n.push(new l$({start:e+t,end:r+t}))})),a$(n)}function h$(e,t){return e===t}var g$=d$;var v$=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 o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,DV.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),y$=v$;var m$=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 b$(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$=y$,x$=DU,C$=m$,_$=(0,DV.Map)(),S$=C$();function O$(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var k$={getLastCreatedEntityKey:function(){return O$("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),k$.__getLastCreatedEntityKey()},create:function(e,t,n){return O$("DraftEntity.create","contentState.createEntity"),k$.__create(e,t,n)},add:function(e){return O$("DraftEntity.add","contentState.addEntity"),k$.__add(e)},get:function(e){return O$("DraftEntity.get","contentState.getEntity"),k$.__get(e)},__getAll:function(){return _$},__loadWithEntities:function(e){_$=e,S$=C$()},mergeData:function(e,t){return O$("DraftEntity.mergeData","contentState.mergeEntityData"),k$.__mergeData(e,t)},replaceData:function(e,t){return O$("DraftEntity.replaceData","contentState.replaceEntityData"),k$.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return S$},__create:function(e,t,n){return k$.__add(new w$({type:e,mutability:t,data:n||{}}))},__add:function(e){return S$=C$(),_$=_$.set(S$,e),S$},__get:function(e){var t=_$.get(e);return t||("production"!==process.env.NODE_ENV?x$(!1,"Unknown DraftEntity key: %s.",e):x$(!1)),t},__mergeData:function(e,t){var n=k$.__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){b$(e,t,n[t])}))}return e}({},n.getData(),t),o=n.set("data",r);return _$=_$.set(e,o),o},__replaceData:function(e,t){var n=k$.__get(e).set("data",t);return _$=_$.set(e,n),n}},E$=k$;var T$=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 o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset(),a=this.getEndOffset();return t<=i&&i<=n||t<=a&&a<=n}if(e!==r&&e!==o)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.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,DV.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),A$=T$,j$=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},M$=new RegExp("\r","g");var P$=function(e){return e.replace(M$,"")};function D$(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){I$(e,t,n[t])}))}return e}function I$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L$=LV,R$=$V,N$=sU,B$=CU,F$=E$,z$=A$,H$=UU,V$=t$,U$=j$,K$=DV,$$=P$,W$=K$.List,q$=K$.Record,G$=K$.Repeat,Z$=K$.Map,Y$=K$.OrderedMap,X$=q$({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),J$=U$("draft_tree_data_support")?B$:N$,Q$=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 o=r.prototype;return o.getEntityMap=function(){return F$},o.getBlockMap=function(){return this.get("blockMap")},o.getSelectionBefore=function(){return this.get("selectionBefore")},o.getSelectionAfter=function(){return this.get("selectionAfter")},o.getBlockForKey=function(e){return this.getBlockMap().get(e)},o.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},o.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},o.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},o.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},o.getBlocksAsArray=function(){return this.getBlockMap().toArray()},o.getFirstBlock=function(){return this.getBlockMap().first()},o.getLastBlock=function(){return this.getBlockMap().last()},o.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},o.getLastCreatedEntityKey=function(){return F$.__getLastCreatedEntityKey()},o.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},o.createEntity=function(e,t,n){return F$.__create(e,t,n),this},o.mergeEntityData=function(e,t){return F$.__mergeData(e,t),this},o.replaceEntityData=function(e,t){return F$.__replaceData(e,t),this},o.addEntity=function(e){return F$.__add(e),this},o.getEntity=function(e){return F$.__get(e)},o.getAllEntities=function(){return F$.__getAll()},o.loadWithEntities=function(e){return F$.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,o=L$.createFromArray(n),i=o.isEmpty()?new z$:z$.createEmpty(o.first().getKey());return new r({blockMap:o,entityMap:t||F$,selectionBefore:i,selectionAfter:i})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t).map((function(e){return e=$$(e),new J$({key:H$(),text:e,type:"unstyled",characterList:W$(G$(R$.EMPTY,e.length))})}));return r.createFromBlockArray(n)},r.fromJS=function(e){return new r(D$({},e,{blockMap:Y$(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new z$(e.selectionBefore),selectionAfter:new z$(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new J$(D$({},e,{data:Z$(e.data),characterList:null!=t?W$((Array.isArray(t)?t:V$(t)).map((function(e){return R$.fromJS(e)}))):void 0}))},r}(X$),eW=Q$,tW=DU,nW="LTR",rW="RTL",oW=null;function iW(e){return e===nW||e===rW}function aW(e){return iW(e)||("production"!==process.env.NODE_ENV?tW(!1,"`dir` must be a strong direction to be converted to HTML Direction"):tW(!1)),e===nW?"ltr":"rtl"}function sW(e){oW=e}var cW={NEUTRAL:"NEUTRAL",LTR:nW,RTL:rW,isStrong:iW,getHTMLDir:aW,getHTMLDirIfDifferent:function(e,t){return iW(e)||("production"!==process.env.NODE_ENV?tW(!1,"`dir` must be a strong direction to be converted to HTML Direction"):tW(!1)),iW(t)||("production"!==process.env.NODE_ENV?tW(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):tW(!1)),e===t?null:aW(e)},setGlobalDir:sW,initGlobalDir:function(){sW(nW)},getGlobalDir:function(){return oW||this.initGlobalDir(),oW||("production"!==process.env.NODE_ENV?tW(!1,"Global direction not set."):tW(!1)),oW}},uW=cW,lW=DU,fW="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",dW="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",pW=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+fW+dW+"]"),hW=new RegExp("["+fW+dW+"]");function gW(e){var t=pW.exec(e);return null==t?null:t[0]}function vW(e){var t=gW(e);return null==t?uW.NEUTRAL:hW.exec(t)?uW.RTL:uW.LTR}function yW(e,t){if(t=t||uW.NEUTRAL,!e.length)return t;var n=vW(e);return n===uW.NEUTRAL?t:n}function mW(e,t){return t||(t=uW.getGlobalDir()),uW.isStrong(t)||("production"!==process.env.NODE_ENV?lW(!1,"Fallback direction must be a strong direction"):lW(!1)),yW(e,t)}var bW={firstStrongChar:gW,firstStrongCharDir:vW,resolveBlockDir:yW,getDirection:mW,isDirectionLTR:function(e,t){return mW(e,t)===uW.LTR},isDirectionRTL:function(e,t){return mW(e,t)===uW.RTL}};function wW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xW,CW=bW,_W=cW,SW=DU,OW=function(){function e(e){wW(this,"_defaultDir",void 0),wW(this,"_lastDir",void 0),e?_W.isStrong(e)||("production"!==process.env.NODE_ENV?SW(!1,"Default direction must be a strong direction (LTR or RTL)"):SW(!1)):e=_W.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=CW.getDirection(e,this._lastDir),this._lastDir},e}(),kW=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},EW=OW,TW=DV,AW=kW,jW=TW.OrderedMap;function MW(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){PW(e,t,n[t])}))}return e}function PW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DW=g$,IW=eW,LW={getDirectionMap:function(e,t){xW?xW.reset():xW=new EW;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return AW(xW).getDirection(e.getText())})),o=jW(n.keySeq().zip(r));return null!=t&&TW.is(t,o)?t:o}},RW=A$,NW=DV,BW=NW.OrderedSet,FW=NW.Record,zW=NW.Stack,HW=NW.OrderedMap,VW=NW.List,UW=FW({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:zW(),selection:null,treeMap:null,undoStack:zW()}),KW=function(){t.createEmpty=function(e){return this.createWithText("",e)},t.createWithText=function(e,n){return t.createWithContent(IW.createFromText(e),n)},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:zW(),redoStack:zW(),decorator:n||null,selection:RW.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=MW({},e,{treeMap:WW(n,e.decorator),directionMap:LW.getDirectionMap(n)});return new t(new UW(r))},t.fromJS=function(e){return new t(new UW(MW({},e,{directionMap:null!=e.directionMap?HW(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?BW(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?IW.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?zW(e.redoStack.map((function(e){return IW.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new RW(e.selection):e.selection,treeMap:null!=e.treeMap?HW(e.treeMap).map((function(e){return VW(e).map((function(e){return DW.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?zW(e.undoStack.map((function(e){return IW.fromJS(e)}))):e.undoStack,currentContent:IW.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var i=n.currentContent||e.getCurrentContent();if(o!==r){var a,s=t.get("treeMap");return a=o&&r?function(e,t,n,r,o){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==o.getDecorations(t,e)})).map((function(t){return DW.generate(e,t,r)})))}(i,i.getBlockMap(),s,o,r):WW(i,o),void t.merge({decorator:o,treeMap:a,nativelyRenderedContent:null})}i!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var o=e.getCurrentContent().set("entityMap",n),i=o.getBlockMap(),a=e.getImmutable().get("treeMap");return a.merge(t.toSeq().filter((function(e,t){return e!==i.get(t)})).map((function(e){return DW.generate(o,e,r)})))}(e,i.getBlockMap(),i.getEntityMap(),o)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){PW(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(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return qW(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return qW(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 $W(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),$W(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new RW({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var i=LW.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),c=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(e,r)?(c=c.push(s),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",s.getSelectionBefore()));var l=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(l=null);var f={currentContent:u,directionMap:i,undoStack:c,redoStack:zW(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:l};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 o=e.getCurrentContent(),i=LW.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=LW.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function $W(e,t,n){return KW.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function WW(e,t){return e.getBlockMap().map((function(n){return DW.generate(e,n,t)})).toOrderedMap()}function qW(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):BW()}var GW=KW,ZW=CU,YW=bK,XW=DV,JW=DU,QW=XW.OrderedMap,eq=XW.List,tq=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},nq=function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),s=n.getKey(),c=t.getParentKey(),u=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),f=n.getParentKey(),d=i?n.getNextSiblingKey():s,p=i?s:n.getPrevSiblingKey();return e.withMutations((function(e){tq(c,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),tq(l,e,(function(e){return e.merge({nextSibling:u})})),tq(u,e,(function(e){return e.merge({prevSibling:l})})),tq(d,e,(function(e){return e.merge({prevSibling:a})})),tq(p,e,(function(e){return e.merge({nextSibling:a})})),tq(f,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:eq(o)})})),tq(a,e,(function(e){return e.merge({nextSibling:d,prevSibling:p,parent:f})}))}))};function rq(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){oq(e,t,n[t])}))}return e}function oq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iq=LV,aq=$V,sq=sU,cq=CU,uq=e$,lq=GW,fq=UU,dq=DV,pq=function(e,t,n,r){"replace"===r&&("production"!==process.env.NODE_ENV?JW(!1,"Replacing blocks is not supported."):JW(!1));var o=n.getKey(),i=t.getKey();i===o&&("production"!==process.env.NODE_ENV?JW(!1,"Block cannot be moved next to itself."):JW(!1));var a=e.getBlockMap(),s=t instanceof ZW,c=[t],u=a.delete(i);s&&(c=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=YW(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===i})).takeWhile((function(e){var t=e.getKey(),o=t===i,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||a||s)})).forEach((function(t){c.push(t),e.delete(t.getKey())}))})));var l=u.toSeq().takeUntil((function(e){return e===n})),f=u.toSeq().skipUntil((function(e){return e===n})).skip(1),d=c.map((function(e){return[e.getKey(),e]})),p=QW();if("before"===r){var h=e.getBlockBefore(o);h&&h.getKey()===t.getKey()&&("production"!==process.env.NODE_ENV?JW(!1,"Block cannot be moved next to itself."):JW(!1)),p=l.concat([].concat(d,[[o,n]]),f).toOrderedMap()}else if("after"===r){var g=e.getBlockAfter(o);g&&g.getKey()===i&&("production"!==process.env.NODE_ENV?JW(!1,"Block cannot be moved next to itself."):JW(!1)),p=l.concat([[o,n]].concat(d),f).toOrderedMap()}return e.merge({blockMap:nq(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:i,focusKey:i})})},hq=j$("draft_tree_data_support"),gq=hq?cq:sq,vq=dq.List,yq=dq.Repeat,mq={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),o=e.getSelection(),i=uq.removeRange(r,o,"backward"),a=i.getSelectionAfter(),s=uq.splitBlock(i,a),c=s.getSelectionAfter(),u=uq.setBlockType(s,c,"atomic"),l=aq.create({entity:t}),f={key:fq(),type:"atomic",text:n,characterList:vq(yq(l,n.length))},d={key:fq(),type:"unstyled"};hq&&(f=rq({},f,{nextSibling:d.key}),d=rq({},d,{prevSibling:f.key}));var p=[new gq(f),new gq(d)],h=iq.createFromArray(p),g=uq.replaceWithFragment(u,c,h),v=g.merge({selectionBefore:o,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return lq.push(e,v,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o,i=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=pq(i,t,s,r)}else{var c=uq.removeRange(i,n,"backward"),u=c.getSelectionAfter(),l=c.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())o=pq(c,t,l,"before");else if(u.getEndOffset()===l.getLength())o=pq(c,t,l,"after");else{var f=uq.splitBlock(c,u),d=f.getSelectionAfter(),p=f.getBlockForKey(d.getFocusKey());o=pq(f,t,p,"before")}}var h=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return lq.push(e,h,"move-block")}};var bq=DV.List,wq=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,o){var i=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 o=t;o<n;o++)e[o]=r}(n,e,t,o+"."+i),i++)}),t)})),bq(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 xq=wq;function Cq(e){return e.replace(/\//g,"-")}var _q=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(Cq).join(" "):Array.prototype.map.call(arguments,Cq).join(" ")},Sq=o,Oq=_q,kq=(0,DV.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:Sq.createElement("ul",{className:Oq("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:Sq.createElement("ol",{className:Oq("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:Sq.createElement("pre",{className:Oq("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),Eq={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},Tq={exports:{}};!function(e,t){!function(n,r){var o="function",i="undefined",a="object",s="string",c="model",u="name",l="type",f="vendor",d="version",p="architecture",h="console",g="mobile",v="tablet",y="smarttv",m="wearable",b="embedded",w="Amazon",x="Apple",C="ASUS",_="BlackBerry",S="Browser",O="Chrome",k="Firefox",E="Google",T="Huawei",A="LG",j="Microsoft",M="Motorola",P="Opera",D="Samsung",I="Sharp",L="Sony",R="Xiaomi",N="Zebra",B="Facebook",F=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===s&&-1!==H(t).indexOf(H(e))},H=function(e){return e.toLowerCase()},V=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,350)},U=function(e,t){for(var n,i,s,c,u,l,f=0;f<t.length&&!u;){var d=t[f],p=t[f+1];for(n=i=0;n<d.length&&!u;)if(u=d[n++].exec(e))for(s=0;s<p.length;s++)l=u[++i],typeof(c=p[s])===a&&c.length>0?2===c.length?typeof c[1]==o?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==o||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):r:this[c[0]]=l?c[1].call(this,l,c[2]):r:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):r):this[c]=l||r;f+=2}},K=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var o=0;o<t[n].length;o++)if(z(t[n][o],e))return"?"===n?r:n}else if(z(t[n],e))return"?"===n?r:n;return e},$={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],[d,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,d],[/opios[\/ ]+([\w\.]+)/i],[d,[u,P+" Mini"]],[/\bopr\/([\w\.]+)/i],[d,[u,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|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[u,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[d,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+S],d],[/\bfocus\/([\w\.]+)/i],[d,[u,k+" Focus"]],[/\bopt\/([\w\.]+)/i],[d,[u,P+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[u,P+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[u,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[d,[u,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+S]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+S],d],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,B],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[u,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,O+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[u,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[d,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[u,k+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,d],[/(cobalt)\/([\w\.]+)/i],[u,[d,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,H]],[/((?: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/,"",H]],[/(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,H]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[f,D],[l,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[f,D],[l,g]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[f,x],[l,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[f,x],[l,v]],[/(macintosh);/i],[c,[f,x]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[f,T],[l,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[f,T],[l,g]],[/\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|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[f,R],[l,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[f,R],[l,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[f,"OPPO"],[l,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[f,"Vivo"],[l,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[f,"Realme"],[l,g]],[/\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],[c,[f,M],[l,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[f,M],[l,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[f,A],[l,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[f,A],[l,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[f,"Lenovo"],[l,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[f,"Nokia"],[l,g]],[/(pixel c)\b/i],[c,[f,E],[l,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[f,E],[l,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[f,L],[l,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[f,L],[l,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[f,"OnePlus"],[l,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[f,w],[l,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[f,w],[l,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,f,[l,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[f,_],[l,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[f,C],[l,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[f,C],[l,g]],[/(nexus 9)/i],[c,[f,"HTC"],[l,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[c,/_/g," "],[l,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[f,"Acer"],[l,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[f,"Meizu"],[l,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[f,I],[l,g]],[/(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],[f,c,[l,g]],[/(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],[f,c,[l,v]],[/(surface duo)/i],[c,[f,j],[l,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[f,"Fairphone"],[l,g]],[/(u304aa)/i],[c,[f,"AT&T"],[l,g]],[/\bsie-(\w*)/i],[c,[f,"Siemens"],[l,g]],[/\b(rct\w+) b/i],[c,[f,"RCA"],[l,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[f,"Dell"],[l,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[f,"Verizon"],[l,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[f,"Barnes & Noble"],[l,v]],[/\b(tm\d{3}\w+) b/i],[c,[f,"NuVision"],[l,v]],[/\b(k88) b/i],[c,[f,"ZTE"],[l,v]],[/\b(nx\d{3}j) b/i],[c,[f,"ZTE"],[l,g]],[/\b(gen\d{3}) b.+49h/i],[c,[f,"Swiss"],[l,g]],[/\b(zur\d{3}) b/i],[c,[f,"Swiss"],[l,v]],[/\b((zeki)?tb.*\b) b/i],[c,[f,"Zeki"],[l,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],c,[l,v]],[/\b(ns-?\w{0,9}) b/i],[c,[f,"Insignia"],[l,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[f,"NextBook"],[l,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],c,[l,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],c,[l,g]],[/\b(ph-1) /i],[c,[f,"Essential"],[l,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[f,"Envizen"],[l,v]],[/\b(trio[-\w\. ]+) b/i],[c,[f,"MachSpeed"],[l,v]],[/\btu_(1491) b/i],[c,[f,"Rotor"],[l,v]],[/(shield[\w ]+) b/i],[c,[f,"Nvidia"],[l,v]],[/(sprint) (\w+)/i],[f,c,[l,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[f,j],[l,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[f,N],[l,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[f,N],[l,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,c,[l,h]],[/droid.+; (shield) bui/i],[c,[f,"Nvidia"],[l,h]],[/(playstation [345portablevi]+)/i],[c,[f,L],[l,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[f,j],[l,h]],[/smart-tv.+(samsung)/i],[f,[l,y]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[f,D],[l,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,A],[l,y]],[/(apple) ?tv/i],[f,[c,x+" TV"],[l,y]],[/crkey/i],[[c,O+"cast"],[f,E],[l,y]],[/droid.+aft(\w)( bui|\))/i],[c,[f,w],[l,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[f,I],[l,y]],[/(bravia[\w ]+)( bui|\))/i],[c,[f,L],[l,y]],[/(mitv-\w{5}) bui/i],[c,[f,R],[l,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[f,V],[c,V],[l,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,y]],[/((pebble))app/i],[f,c,[l,m]],[/droid.+; (glass) \d/i],[c,[f,E],[l,m]],[/droid.+; (wt63?0{2,3})\)/i],[c,[f,N],[l,m]],[/(quest( 2)?)/i],[c,[f,B],[l,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[l,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[l,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[d,K,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[d,K,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,d],[/\(bb(10);/i],[d,[u,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[u,k+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[u,O+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],d],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,d],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,d]]},q=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof q))return new q(e,t).getResult();var o=e||(typeof n!==i&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),h=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,t={};return t[u]=r,t[d]=r,U.call(t,o,h.browser),t.major=typeof(e=t.version)===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r,t},this.getCPU=function(){var e={};return e[p]=r,U.call(e,o,h.cpu),e},this.getDevice=function(){var e={};return e[f]=r,e[c]=r,e[l]=r,U.call(e,o,h.device),e},this.getEngine=function(){var e={};return e[u]=r,e[d]=r,U.call(e,o,h.engine),e},this.getOS=function(){var e={};return e[u]=r,e[d]=r,U.call(e,o,h.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 o},this.setUA=function(e){return o=typeof e===s&&e.length>350?V(e,350):e,this},this.setUA(o),this};q.VERSION="0.7.33",q.BROWSER=F([u,d,"major"]),q.CPU=F([p]),q.DEVICE=F([c,f,l,h,g,y,v,m,b]),q.ENGINE=q.OS=F([u,d]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==i&&(n.jQuery||n.Zepto);if(G&&!G.ua){var Z=new q;G.ua=Z.getResult(),G.ua.get=function(){return Z.getUA()},G.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:Lt)}(Tq,Tq.exports);var Aq="Unknown",jq={"Mac OS":"Mac OS X"};var Mq,Pq=(new(0,Tq.exports)).getResult(),Dq=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(Pq.browser.version),Iq={browserArchitecture:Pq.cpu.architecture||Aq,browserFullVersion:Pq.browser.version||Aq,browserMinorVersion:Dq.minor||Aq,browserName:Pq.browser.name||Aq,browserVersion:Pq.browser.major||Aq,deviceName:Pq.device.model||Aq,engineName:Pq.engine.name||Aq,engineVersion:Pq.engine.version||Aq,platformArchitecture:Pq.cpu.architecture||Aq,platformName:(Mq=Pq.os.name,jq[Mq]||Mq||Aq),platformVersion:Pq.os.version||Aq,platformFullVersion:Pq.os.version||Aq},Lq=DU,Rq=/\./,Nq=/\|\|/,Bq=/\s+\-\s+/,Fq=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,zq=/^(\d*)(.*)/;function Hq(e,t){var n=e.split(Nq);return n.length>1?n.some((function(e){return Jq.contains(e,t)})):function(e,t){var n=e.split(Bq);if(n.length>0&&n.length<=2||("production"!==process.env.NODE_ENV?Lq(!1,'the "-" operator expects exactly 2 operands'):Lq(!1)),1===n.length)return Vq(n[0],t);var r=n[0],o=n[1];return qq(r)&&qq(o)||("production"!==process.env.NODE_ENV?Lq(!1,'operands to the "-" operator must be simple (no modifiers)'):Lq(!1)),Vq(">="+r,t)&&Vq("<="+o,t)}(e=n[0].trim(),t)}function Vq(e,t){if(""===(e=e.trim()))return!0;var n=t.split(Rq),r=$q(e),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return Uq(n,i);case"<=":return function(e,t){var n=Xq(e,t);return-1===n||0===n}(n,i);case">=":return Kq(n,i);case">":return function(e,t){return 1===Xq(e,t)}(n,i);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);Wq(i)&&(r[o]=i+1+"");return Kq(e,n)&&Uq(e,r)}(n,i);default:return function(e,t){return 0===Xq(e,t)}(n,i)}}function Uq(e,t){return-1===Xq(e,t)}function Kq(e,t){var n=Xq(e,t);return 1===n||0===n}function $q(e){var t=e.split(Rq),n=t[0].match(Fq);return n||("production"!==process.env.NODE_ENV?Lq(!1,"expected regex to match but it did not"):Lq(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function Wq(e){return!isNaN(e)&&isFinite(e)}function qq(e){return!$q(e).modifier}function Gq(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Zq(e,t){var n=e.match(zq)[1],r=t.match(zq)[1],o=parseInt(n,10),i=parseInt(r,10);return Wq(o)&&Wq(i)&&o!==i?Yq(o,i):Yq(e,t)}function Yq(e,t){return typeof e!=typeof t&&("production"!==process.env.NODE_ENV?Lq(!1,'"a" and "b" must be of the same type'):Lq(!1)),e>t?1:e<t?-1:0}function Xq(e,t){for(var n=function(e,t){Gq(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 o=n;o<e.length;o++)e[o]="0"}return Gq(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=Zq(r[i],o[i]);if(a)return a}return 0}var Jq={contains:function(e,t){return Hq(e.trim(),t.trim())}},Qq=Jq,eG=Object.prototype.hasOwnProperty;var tG=function(e,t,n){if(!e)return null;var r={};for(var o in e)eG.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r};var nG=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},rG=Iq,oG=Qq;function iG(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var o=n.slice(e.length);return!!t&&(o=r?r(o):o,oG.contains(o,t))}function aG(e){return"Windows"===rG.platformName?e.replace(/^\s*NT/,""):e}var sG=tG({isBrowser:function(e){return iG(rG.browserName,rG.browserFullVersion,e)},isBrowserArchitecture:function(e){return iG(rG.browserArchitecture,null,e)},isDevice:function(e){return iG(rG.deviceName,null,e)},isEngine:function(e){return iG(rG.engineName,rG.engineVersion,e)},isPlatform:function(e){return iG(rG.platformName,rG.platformFullVersion,e,aG)},isPlatformArchitecture:function(e){return iG(rG.platformArchitecture,null,e)}},nG);var cG=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var uG=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},lG=uG;var fG=function e(t){if(lG(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var o=0;o<n.childNodes.length;o++){var i=e(n.childNodes[o]);if(i)return i}}return null},dG=cG,pG=fG;var hG=function(e){for(var t=e;t&&t!==dG(e).documentElement;){var n=pG(t);if(null!=n)return n;t=t.parentNode}return null};var gG=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function vG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yG=sG,mG=hG,bG=gG,wG=DU,xG=kW,CG=DV.Map,_G={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},SG=yG.isBrowser("IE <= 11"),OG=function(){function e(e){var t=this;vG(this,"observer",void 0),vG(this,"container",void 0),vG(this,"mutations",void 0),vG(this,"onCharData",void 0),this.container=e,this.mutations=CG();var n=bG(e);n.MutationObserver&&!SG?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==process.env.NODE_ENV?wG(!1,"Expected target to be an instance of Node"):wG(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,_G):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=CG(),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 SG?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=xG(mG(e.target));this.mutations=this.mutations.set(n,t)}},e}(),kG="-",EG={encode:function(e,t,n){return e+kG+t+kG+n},decode:function(e){var t=e.split(kG).reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join(kG),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},TG={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},AG={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var jG=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},MG=DU,PG=jG;var DG=function(e){var t=e.editorContainer;return t||("production"!==process.env.NODE_ENV?MG(!1,"Missing editorNode"):MG(!1)),PG(t.firstChild)||("production"!==process.env.NODE_ENV?MG(!1,"editorNode.firstChild is not an HTMLElement"):MG(!1)),t.firstChild},IG=EG,LG=kW;var RG=function(e,t,n,r,o){var i=LG(e.getSelection());if(!t||!r)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),i;var a=IG.decode(t),s=a.blockKey,c=e.getBlockTree(s),u=c&&c.getIn([a.decoratorKey,"leaves",a.leafKey]),l=IG.decode(r),f=l.blockKey,d=e.getBlockTree(f),p=d&&d.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!u||!p)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),i;var h=u.get("start"),g=p.get("start"),v=u?h+n:null,y=p?g+o:null;if(i.getAnchorKey()===s&&i.getAnchorOffset()===v&&i.getFocusKey()===f&&i.getFocusOffset()===y)return i;var m=!1;if(s===f){var b=u.get("end"),w=p.get("end");m=g===h&&w===b?o<n:g<h}else{m=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===f})).first()===f}return i.merge({anchorKey:s,anchorOffset:v,focusKey:f,focusOffset:y,isBackward:m})},NG=hG,BG=fG,FG=RG,zG=DU,HG=uG,VG=kW;function UG(e,t,n){var r=t,o=NG(r);(null!=o||e&&(e===r||e.firstChild===r)||("production"!==process.env.NODE_ENV?zG(!1,"Unknown node in selection range."):zG(!1)),e===r)&&(r=r.firstChild,HG(r)||("production"!==process.env.NODE_ENV?zG(!1,"Invalid DraftEditorContents node."):zG(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==process.env.NODE_ENV?zG(!1,"Invalid DraftEditorContents structure."):zG(!1)),n>0&&(n=r.childNodes.length));if(0===n){var i=null;if(null!=o)i=o;else{var a=function(e){for(;e.firstChild&&(HG(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||BG(e.firstChild));)e=e.firstChild;return e}(r);i=VG(BG(a))}return{key:i,offset:0}}var s=r.childNodes[n-1],c=null,u=null;if(BG(s)){var l=function(e){for(;e.lastChild&&(HG(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||BG(e.lastChild));)e=e.lastChild;return e}(s);c=VG(BG(l)),u=KG(l)}else c=VG(o),u=KG(s);return{key:c,offset:u}}function KG(e){var t=e.textContent;return"\n"===t?0:t.length}var $G=function(e,t,n,r,o,i){var a=n.nodeType===Node.TEXT_NODE,s=o.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:FG(e,VG(NG(n)),r,VG(NG(o)),i),needsRecovery:!1};var c=null,u=null,l=!0;return a?(c={key:VG(NG(n)),offset:r},u=UG(t,o,i)):s?(u={key:VG(NG(o)),offset:i},c=UG(t,n,r)):(c=UG(t,n,r),u=UG(t,o,i),n===o&&r===i&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:FG(e,c.key,c.offset,u.key,u.offset),needsRecovery:l}},WG=$G;var qG=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,o=n.anchorOffset,i=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==i?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:WG(e,t,r,o,i,a)},GG=AG,ZG=GW,YG=DG,XG=qG;var JG=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();GG.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=XG(n,YG(e)),o=r.selectionState;o!==n.getSelection()&&(n=r.needsRecovery?ZG.forceSelection(n,o):ZG.acceptSelection(n,o),e.update(n))}};var QG={notEmptyKey:function(e){return null!=e&&""!=e}},eZ=QG.notEmptyKey;function tZ(e,t){return eZ(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var nZ=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),o=t.getAnchorOffset();return o>0?(n=e.getBlockForKey(r).getEntityAt(o-1))!==e.getBlockForKey(r).getEntityAt(o)?null:tZ(e.getEntityMap(),n):null}var i=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(i);return n=a===s.getLength()?null:s.getEntityAt(a),tZ(e.getEntityMap(),n)},rZ=OG,oZ=e$,iZ=EG,aZ=GW,sZ=TG,cZ=JG,uZ=DG,lZ=qG,fZ=nZ,dZ=kW,pZ=sG.isBrowser("IE"),hZ=!1,gZ=!1,vZ=null;var yZ,mZ,bZ={onCompositionStart:function(e){gZ=!0,function(e){vZ||(vZ=new rZ(uZ(e))).start()}(e)},onCompositionEnd:function(e){hZ=!1,gZ=!1,setTimeout((function(){hZ||bZ.resolveComposition(e)}),20)},onSelect:cZ,onKeyDown:function(e,t){if(!gZ)return bZ.resolveComposition(e),void e._onKeyDown(t);t.which!==sZ.RIGHT&&t.which!==sZ.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===sZ.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!gZ){var t=dZ(vZ).stopAndFlushMutations();vZ=null,hZ=!0;var n=aZ.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var o=iZ.decode(t),i=o.blockKey,a=o.decoratorKey,s=o.leafKey,c=n.getBlockTree(i).getIn([a,"leaves",s]),u=c.start,l=c.end,f=n.getSelection().merge({anchorKey:i,focusKey:i,anchorOffset:u,focusOffset:l,isBackward:!1}),d=fZ(r,f),p=r.getBlockForKey(i).getInlineStyleAt(u);r=oZ.replaceText(r,f,e,p,d),n=aZ.set(n,{currentContent:r})}));var o=lZ(n,uZ(e)).selectionState;e.restoreEditorDOM();var i=pZ?aZ.forceSelection(n,o):aZ.acceptSelection(n,o);e.update(aZ.push(i,r,"insert-characters"))}else e.update(n)}}},wZ=bZ;function xZ(){if(mZ)return yZ;mZ=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}var n=EG,r=o,i=bW,a=cW,s=function(e){var o,s;function c(){return e.apply(this,arguments)||this}return s=e,(o=c).prototype=Object.create(s.prototype),o.prototype.constructor=o,o.__proto__=s,c.prototype.render=function(){var e=this.props,o=e.block,s=e.children,c=e.contentState,u=e.decorator,l=e.decoratorKey,f=e.direction,d=e.leafSet,p=e.text,h=o.getKey(),g=d.get("leaves"),v=u.getComponentForKey(l),y=u.getPropsForKey(l),m=n.encode(h,parseInt(l,10),0),b=p.slice(g.first().get("start"),g.last().get("end")),w=a.getHTMLDirIfDifferent(i.getDirection(b),f);return r.createElement(v,t({},y,{contentState:c,decoratedText:b,dir:w,key:m,entityKey:o.getEntityAt(d.get("start")),offsetKey:m}),s)},c}(r.Component);return yZ=s}function CZ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SZ=o,OZ=DU,kZ=uG,EZ=sG.isBrowser("IE <= 11");var TZ=function(e){var t,n;function r(t){var n;return _Z(CZ(n=e.call(this,t)||this),"_forceFlag",void 0),_Z(CZ(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 o=r.prototype;return o.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;kZ(t)||("production"!==process.env.NODE_ENV?OZ(!1,"node is not an Element"):OZ(!1));var r=t;return n?!function(e){return EZ?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},o.componentDidMount=function(){this._forceFlag=!this._forceFlag},o.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},o.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},EZ?SZ.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):SZ.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return EZ?SZ.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):SZ.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):SZ.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(SZ.Component),AZ=TZ,jZ=uG;var MZ=function(e){return!(!e||!e.ownerDocument)&&(jZ(e)&&"BR"===e.nodeName)},PZ={initODS:function(){},handleExtensionCausedError:function(){}};var DZ=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))},IZ=DZ;var LZ=function(e){return IZ(e)&&3==e.nodeType},RZ=LZ;var NZ=function e(t,n){return!(!t||!n)&&(t===n||!RZ(t)&&(RZ(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var BZ=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}},FZ=PZ,zZ=AG,HZ=NZ,VZ=BZ,UZ=cG,KZ=DU,$Z=uG,WZ=sG.isBrowser("IE");function qZ(e,t){if(!e)return"[empty]";var n=GZ(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:($Z(n)||("production"!==process.env.NODE_ENV?KZ(!1,"Node must be an Element if it is not a text node."):KZ(!1)),n.outerHTML)}function GZ(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return UZ(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;a<i.length;a++)o.appendChild(GZ(i[a],t));return o}function ZZ(e,t){for(var n=e,r=n;n;){if($Z(n)&&r.hasAttribute("contenteditable"))return qZ(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function YZ(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function XZ(e,t,n,r){var o=VZ();if(e.extend&&null!=t&&HZ(o,t)){n>YZ(t)&&zZ.logSelectionStateFailure({anonymizedDom:ZZ(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var i=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw zZ.logSelectionStateFailure({anonymizedDom:ZZ(t,(function(t){var n=[];return t===o&&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:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:i,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 JZ(e,t,n,r){var o=UZ(t).createRange();if(n>YZ(t)&&(zZ.logSelectionStateFailure({anonymizedDom:ZZ(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),FZ.handleExtensionCausedError()),o.setStart(t,n),WZ)try{e.addRange(o)}catch(e){"production"!==process.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(o)}var QZ=function(e,t,n,r,o){var i=UZ(t);if(HZ(i.documentElement,t)){var a=i.defaultView.getSelection(),s=e.getAnchorKey(),c=e.getAnchorOffset(),u=e.getFocusKey(),l=e.getFocusOffset(),f=e.getIsBackward();if(!a.extend&&f){var d=s,p=c;s=u,c=l,u=d,l=p,f=!1}var h=s===n&&r<=c&&o>=c,g=u===n&&r<=l&&o>=l;if(h&&g)return a.removeAllRanges(),JZ(a,t,c-r,e),void XZ(a,t,l-r,e);if(f){if(g&&(a.removeAllRanges(),JZ(a,t,l-r,e)),h){var v=a.focusNode,y=a.focusOffset;a.removeAllRanges(),JZ(a,t,c-r,e),XZ(a,v,y,e)}}else h&&(a.removeAllRanges(),JZ(a,t,c-r,e)),g&&XZ(a,t,l-r,e)}},eY=Wb;var tY,nY,rY=AZ,oY=o,iY=DU,aY=MZ,sY=QZ,cY=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(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 o=r.prototype;return o._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),a=r+o.length;if(e.hasEdgeWithin(i,r,a)){var s=this.leaf;s||("production"!==process.env.NODE_ENV?iY(!1,"Missing node"):iY(!1));var c,u=s.firstChild;u||("production"!==process.env.NODE_ENV?iY(!1,"Missing child"):iY(!1)),u.nodeType===Node.TEXT_NODE?c=u:aY(u)?c=s:(c=u.firstChild)||("production"!==process.env.NODE_ENV?iY(!1,"Missing targetNode"):iY(!1)),sY(e,c,i,r,a)}}},o.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==process.env.NODE_ENV?iY(!1,"Missing leafNode"):iY(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},o.componentDidUpdate=function(){this._setSelection()},o.componentDidMount=function(){this._setSelection()},o.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,o=r.customStyleMap,i=r.customStyleFn,a=r.offsetKey,s=r.styleSet,c=s.reduce((function(e,t){var n={},r=o[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),eY(e,r,n)}),{});if(i){var u=i(s,t);c=eY(c,u)}return oY.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:c},oY.createElement(rY,null,n))},r}(oY.Component),uY=cY;function lY(){if(nY)return tY;nY=1;var e=xZ(),t=uY,n=EG,r=o,i=_q;DV.List;var a=function(o){var a,s;function c(){return o.apply(this,arguments)||this}return s=o,(a=c).prototype=Object.create(s.prototype),a.prototype.constructor=a,a.__proto__=s,c.prototype.render=function(){var o=this.props,a=o.block,s=o.contentState,c=o.customStyleFn,u=o.customStyleMap,l=o.decorator,f=o.direction,d=o.forceSelection,p=o.hasSelection,h=o.selection,g=o.tree,v=a.getKey(),y=a.getText(),m=g.size-1,b=this.props.children||g.map((function(o,i){var g=o.get("decoratorKey"),b=o.get("leaves"),w=b.size-1,x=b.map((function(e,o){var s=n.encode(v,i,o),l=e.get("start"),f=e.get("end");return r.createElement(t,{key:s,offsetKey:s,block:a,start:l,selection:p?h:null,forceSelection:d,text:y.slice(l,f),styleSet:a.getInlineStyleAt(l),customStyleMap:u,customStyleFn:c,isLast:g===m&&o===w})})).toArray();return g&&l?r.createElement(e,{block:a,children:x,contentState:s,decorator:l,decoratorKey:g,direction:f,leafSet:o,text:y,key:i}):x})).toArray();return r.createElement("div",{"data-offset-key":n.encode(v,0,0),className:i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},b)},c}(r.Component);return tY=a}function fY(e,t){return!!t&&(e===t.documentElement||e===t.body)}var dY={getTop:function(e){var t=e.ownerDocument;return fY(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;fY(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return fY(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;fY(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},pY=/-(.)/g;var hY=function(e){return e.replace(pY,(function(e,t){return t.toUpperCase()}))},gY=/([A-Z])/g;var vY=function(e){return e.replace(gY,"-$1").toLowerCase()},yY=hY,mY=vY;function bY(e){return null==e?e:String(e)}var wY=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return bY(n.getPropertyValue(mY(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return bY(n.getPropertyValue(mY(t)));if("display"===t)return"none"}return e.currentStyle?bY("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[yY(t)]):bY(e.style&&e.style[yY(t)])};function xY(e,t){var n=CY.get(e,t);return"auto"===n||"scroll"===n}var CY={get:wY,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(xY(e,"overflow")||xY(e,"overflowY")||xY(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},_Y=CY,SY=NZ;var OY=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!SY(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 kY=function(e){var t=OY(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},EY="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var TY=function(e){return(e=e||document).scrollingElement?e.scrollingElement:EY||"CSS1Compat"!==e.compatMode?e.body:e.documentElement},AY=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 jY=function(e){var t=TY(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=AY(e),r=e===t?e.ownerDocument.documentElement:e,o=e.scrollWidth-r.clientWidth,i=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,o)),n.y=Math.max(0,Math.min(n.y,i)),n};function MY(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function PY(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function DY(){return{width:window.innerWidth||MY(),height:window.innerHeight||PY()}}DY.withoutScrollbars=function(){return{width:MY(),height:PY()}};var IY,LY,RY,NY,BY=DY;function FY(){if(LY)return IY;LY=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=lY(),a=EG,s=o,c=dY,u=_Y,l=kY,f=jY,d=BY,p=DU,h=jG;DV.List;var g=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},v=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}},y=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},m=function(e,t,r,o,i,a){var s={"data-block":!0,"data-editor":t,"data-offset-key":r,key:e.getKey(),ref:a},c=o(e);return c&&(s.className=c),void 0!==i.customEditable&&(s=n({},s,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),s},b=function(e){var o,b;function w(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(o))||this),"wrapperRef",s.createRef()),t}b=e,(o=w).prototype=Object.create(b.prototype),o.prototype.constructor=o,o.__proto__=b;var x=w.prototype;return x.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,o=t.tree,i=!n.getChildKeys().isEmpty(),a=n!==e.block||o!==e.tree||r!==e.direction||g(e.selection,e.block.getKey())&&e.forceSelection;return i||a},x.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,o=u.getScrollParent(n),i=f(o);if(o===window){var a=l(n);(r=a.y+a.height-d().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{h(n)||("production"!==process.env.NODE_ENV?p(!1,"blockNode is not an HTMLElement"):p(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&c.setTop(o,c.getTop(o)+r+10)}}}},x.render=function(){var e=this,r=this.props,o=r.block,c=r.blockRenderMap,u=r.blockRendererFn,l=r.blockStyleFn,f=r.contentState,d=r.decorator,p=r.editorKey,h=r.editorState,b=r.customStyleFn,x=r.customStyleMap,C=r.direction,_=r.forceSelection,S=r.selection,O=r.tree,k=null;o.children.size&&(k=o.children.reduce((function(t,r){var o=a.encode(r,0,0),i=f.getBlockForKey(r),d=y(i,u),g=d.CustomComponent||w,b=v(i,c),x=b.Element,C=b.wrapperTemplate,_=m(i,p,o,l,d,null),S=n({},e.props,{tree:h.getBlockTree(r),blockProps:d.customProps,offsetKey:o,block:i});return t.push(s.createElement(x,_,s.createElement(g,S))),!C||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(i,f)||function(e,t,n){var r=[],o=!0,i=!1,c=void 0;try{for(var u,l=n.reverse()[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var f=u.value;if(f.type!==t)break;r.push(f)}}catch(e){i=!0,c=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw c}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),p=d[0].key;n.push(s.cloneElement(e,{key:"".concat(p,"-wrap"),"data-offset-key":a.encode(p,0,0)},d))}(C,x,t),t}),[]));var E=o.getKey(),T=a.encode(E,0,0),A=y(o,u),j=A.CustomComponent,M=null!=j?s.createElement(j,t({},this.props,{tree:h.getBlockTree(E),blockProps:A.customProps,offsetKey:T,block:o})):s.createElement(i,{block:o,children:k,contentState:f,customStyleFn:b,customStyleMap:x,decorator:d,direction:C,forceSelection:_,hasSelection:g(S,E),selection:S,tree:O});if(o.getParentKey())return M;var P=v(o,c).Element,D=m(o,p,T,l,A,this.wrapperRef);return s.createElement(P,D,M)},w}(s.Component);return IY=b}var zY=Wb;function HY(){return HY=zY||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},HY.apply(this,arguments)}var VY,UY,KY,$Y,WY=uY,qY=EG,GY=o,ZY=dY,YY=_Y,XY=bW,JY=cW,QY=_q,eX=kY,tX=jY,nX=BY,rX=DU,oX=jG,iX=kW,aX=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},sX=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(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 o=r.prototype;return o.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||aX(e.selection,e.block.getKey())&&e.forceSelection},o.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,o=YY.getScrollParent(n),i=tX(o);if(o===window){var a=eX(n);(r=a.y+a.height-nX().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{oX(n)||("production"!==process.env.NODE_ENV?rX(!1,"blockNode is not an HTMLElement"):rX(!1)),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&ZY.setTop(o,ZY.getTop(o)+r+10)}}}}},o._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),o=this.props.tree.size-1,i=aX(this.props.selection,n);return this.props.tree.map((function(a,s){var c=a.get("leaves");if(0===c.size)return null;var u=c.size-1,l=c.map((function(a,c){var l=qY.encode(n,s,c),f=a.get("start"),d=a.get("end");return GY.createElement(WY,{key:l,offsetKey:l,block:t,start:f,selection:i?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(f,d),styleSet:t.getInlineStyleAt(f),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===o&&c===u})})).toArray(),f=a.get("decoratorKey");if(null==f)return l;if(!e.props.decorator)return l;var d=iX(e.props.decorator),p=d.getComponentForKey(f);if(!p)return l;var h=d.getPropsForKey(f),g=qY.encode(n,s,0),v=c.first().get("start"),y=c.last().get("end"),m=r.slice(v,y),b=t.getEntityAt(a.get("start")),w=JY.getHTMLDirIfDifferent(XY.getDirection(m),e.props.direction),x={contentState:e.props.contentState,decoratedText:m,dir:w,start:v,end:y,blockKey:n,entityKey:b,offsetKey:g};return GY.createElement(p,HY({},h,x,{key:g}),l)})).toArray()},o.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=QY({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return GY.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},r}(GY.Component),cX=sX;var uX=j$("draft_tree_data_support")?function(){if(NY)return RY;NY=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}var n=FY(),r=EG,i=o,a=kW,s=function(e){var o,s;function c(){return e.apply(this,arguments)||this}s=e,(o=c).prototype=Object.create(s.prototype),o.prototype.constructor=o,o.__proto__=s;var u=c.prototype;return u.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(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),c=t.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},u.render=function(){for(var e=this.props,o=e.blockRenderMap,s=e.blockRendererFn,c=e.blockStyleFn,u=e.customStyleMap,l=e.customStyleFn,f=e.editorState,d=e.editorKey,p=e.textDirectionality,h=f.getCurrentContent(),g=f.getSelection(),v=f.mustForceSelection(),y=f.getDecorator(),m=a(f.getDirectionMap()),b=[],w=h.getBlocksAsArray()[0];w;){var x=w.getKey(),C={blockRenderMap:o,blockRendererFn:s,blockStyleFn:c,contentState:h,customStyleFn:l,customStyleMap:u,decorator:y,editorKey:d,editorState:f,forceSelection:v,selection:g,block:w,direction:p||m.get(x),tree:f.getBlockTree(x)},_=(o.get(w.getType())||o.get("unstyled")).wrapper;b.push({block:i.createElement(n,t({key:x},C)),wrapperTemplate:_,key:x,offsetKey:r.encode(x,0,0)});var S=w.getNextSiblingKey();w=S?h.getBlockForKey(S):null}for(var O=[],k=0;k<b.length;){var E=b[k];if(E.wrapperTemplate){var T=[];do{T.push(b[k].block),k++}while(k<b.length&&b[k].wrapperTemplate===E.wrapperTemplate);var A=i.cloneElement(E.wrapperTemplate,{key:E.key+"-wrap","data-offset-key":E.offsetKey},T);O.push(A)}else O.push(E.block),k++}return i.createElement("div",{"data-contents":"true"},O)},c}(i.Component);return RY=s}():function(){if($Y)return KY;$Y=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=cX,a=EG,s=o,c=_q,u=(UY||(UY=1,VY=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(t=(t?t+" ":"")+o)}return t}),VY),l=kW,f=function(e,t,n,r){return c({"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})},d=function(e){var r,o;function c(){return e.apply(this,arguments)||this}o=e,(r=c).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var d=c.prototype;return d.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(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),c=t.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},d.render=function(){for(var e=this.props,r=e.blockRenderMap,o=e.blockRendererFn,c=e.blockStyleFn,d=e.customStyleMap,p=e.customStyleFn,h=e.editorState,g=e.editorKey,v=e.preventScroll,y=e.textDirectionality,m=h.getCurrentContent(),b=h.getSelection(),w=h.mustForceSelection(),x=h.getDecorator(),C=l(h.getDirectionMap()),_=m.getBlocksAsArray(),S=[],O=null,k=null,E=0;E<_.length;E++){var T=_[E],A=T.getKey(),j=T.getType(),M=o(T),P=void 0,D=void 0,I=void 0;M&&(P=M.component,D=M.props,I=M.editable);var L=y||C.get(A),R=a.encode(A,0,0),N={contentState:m,block:T,blockProps:D,blockStyleFn:c,customStyleMap:d,customStyleFn:p,decorator:x,direction:L,forceSelection:w,offsetKey:R,preventScroll:v,selection:b,tree:h.getBlockTree(A)},B=r.get(j)||r.get("unstyled"),F=B.wrapper,z=B.element||r.get("unstyled").element,H=T.getDepth(),V="";if(c&&(V=c(T)),"li"===z)V=u(V,f(j,H,k!==F||null===O||H>O,L));var U=P||i,K={className:V,"data-block":!0,"data-editor":g,"data-offset-key":R,key:A};void 0!==I&&(K=n({},K,{contentEditable:I,suppressContentEditableWarning:!0}));var $=s.createElement(z,K,s.createElement(U,t({},N,{key:A})));S.push({block:$,wrapperTemplate:F,key:A,offsetKey:R}),O=F?T.getDepth():null,k=F}for(var W=[],q=0;q<S.length;){var G=S[q];if(G.wrapperTemplate){var Z=[];do{Z.push(S[q].block),q++}while(q<S.length&&S[q].wrapperTemplate===G.wrapperTemplate);var Y=s.cloneElement(G.wrapperTemplate,{key:G.key+"-wrap","data-offset-key":G.offsetKey},Z);W.push(Y)}else W.push(G.block),q++}return s.createElement("div",{"data-contents":"true"},W)},c}(s.Component);return KY=d}(),lX={isImage:function(e){return"image"===fX(e)[0]},isJpeg:function(e){var t=fX(e);return lX.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function fX(e){return e.split("/")}var dX=lX,pX=DU;var hX=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"!==process.env.NODE_ENV?pX(!1,"toArray: Array-like object expected"):pX(!1)),"number"!=typeof t&&("production"!==process.env.NODE_ENV?pX(!1,"toArray: Object needs a length property"):pX(!1)),0===t||t-1 in e||("production"!==process.env.NODE_ENV?pX(!1,"toArray: Object should have keys for indices"):pX(!1)),"function"==typeof e.callee&&("production"!==process.env.NODE_ENV?pX(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):pX(!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 gX(e){return function(){return e}}var vX=function(){};vX.thatReturns=gX,vX.thatReturnsFalse=gX(!1),vX.thatReturnsTrue=gX(!0),vX.thatReturnsNull=gX(null),vX.thatReturnsThis=function(){return this},vX.thatReturnsArgument=function(e){return e};var yX=vX,mX=dX,bX=hX,wX=yX,xX=new RegExp("\r\n","g"),CX={"text/rtf":1,"text/html":1};function _X(e){if("file"==e.kind)return e.getAsFile()}var SX=function(){function e(e){this.data=e,this.types=e.types?bX(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return CX[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(xX,"\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(!mX.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(_X).filter(wX.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),OX=SX,kX=DU,EX=/\.textClipping$/,TX={"text/plain":!0,"text/html":!0,"text/rtf":!0},AX=5e3;var jX=function(e,t){var n=0,r=[];e.forEach((function(o){!function(e,t){if(!Lt.FileReader||e.type&&!(e.type in TX))return void t("");if(""===e.type){var n="";return EX.test(e.name)&&(n=e.name.replace(EX,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==process.env.NODE_ENV?kX(!1,'We should be calling "FileReader.readAsText" which returns a string'):kX(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(o,(function(o){n++,o&&r.push(o.slice(0,AX)),n==e.length&&t(r.join("\r"))}))}))};var MX=function(e){return"handled"===e||!0===e},PX=OX,DX=e$,IX=GW,LX=hG,RX=cG,NX=jX,BX=RG,FX=gG,zX=MX,HX=kW;var VX={onDragEnd:function(e){e.exitCurrentMode(),UX(e)},onDrop:function(e,t){var n=new PX(t.nativeEvent.dataTransfer),r=e._latestEditorState,o=function(e,t){var n=null,r=null,o=RX(e.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(e.x,e.y);n=i.startContainer,r=i.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=HX(n),r=HX(r);var a=HX(LX(n));return BX(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=o){var i=n.getFiles();if(i.length>0){if(e.props.handleDroppedFiles&&zX(e.props.handleDroppedFiles(o,i)))return;NX(i,(function(t){t&&e.update(KX(r,o,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&zX(e.props.handleDrop(o,n,a))||(e._internalDrag?e.update(function(e,t){var n=DX.moveText(e.getCurrentContent(),e.getSelection(),t);return IX.push(e,n,"insert-fragment")}(r,o)):e.update(KX(r,o,n.getText()))),UX(e)}}}};function UX(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:FX(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function KX(e,t,n){var r=DX.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return IX.push(e,r,"insert-fragment")}var $X=VX;var WX=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some((function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(i=!0,!0)}))})),i};!function(e,t){if(!e.setImmediate){var n,r,o,i,a,s=1,c={},u=!1,l=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){process.nextTick((function(){p(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}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(e){var t=l.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(i="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&p(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(i+t,"*")}),f.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 o={callback:e,args:t};return c[s]=o,n(s),s++},f.clearImmediate=d}function d(e){delete c[e]}function p(e){if(u)setTimeout(p,0,e);else{var n=c[e];if(n){u=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{d(e),u=!1}}}}}("undefined"==typeof self?Lt:self);var qX=Lt.setImmediate,GX=e$,ZX=GW,YX=nZ,XX=MX,JX=WX,QX=kW,eJ=qX,tJ="'",nJ="/",rJ=sG.isBrowser("Firefox");function oJ(e,t,n,r,o){var i=GX.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return ZX.push(e,i,"insert-characters",o)}var iJ=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&&XX(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var o=n.getSelection(),i=o.getStartOffset(),a=o.getAnchorKey();if(!o.isCollapsed())return t.preventDefault(),void e.update(oJ(n,r,n.getCurrentInlineStyle(),YX(n.getCurrentContent(),n.getSelection()),!0));var s,c=oJ(n,r,n.getCurrentInlineStyle(),YX(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=JX(e._latestCommittedEditorState)),!u){var l=n.getBlockTree(a),f=c.getBlockTree(a);u=l.size!==f.size||l.zip(f).some((function(e){var t=e[0],n=e[1],o=t.get("start"),a=o+(o>=i?r.length:0),s=t.get("end"),c=s+(s>=i?r.length:0),u=n.get("start"),l=n.get("end"),f=n.get("decoratorKey");return t.get("decoratorKey")!==f||t.get("leaves").size!==n.get("leaves").size||a!==u||c!==l||null!=f&&l-u!=s-o}))}if(u||(s=r,u=rJ&&(s==tJ||s==nJ)),u||(u=QX(c.getDirectionMap()).get(a)!==QX(n.getDirectionMap()).get(a)),u)return t.preventDefault(),c=ZX.set(c,{forceSelection:!0}),void e.update(c);c=ZX.set(c,{nativelyRenderedContent:c.getCurrentContent()}),e._pendingStateFromBeforeInput=c,eJ((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},aJ=GW,sJ=NZ,cJ=BZ;var uJ=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&cJ(n)===n.body){var r=n.defaultView.getSelection(),o=e.editor;1===r.rangeCount&&sJ(o,r.anchorNode)&&sJ(o,r.focusNode)&&r.removeAllRanges()}var i=e._latestEditorState,a=i.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(aJ.acceptSelection(i,s))}},lJ=GW;var fJ=function(e,t){e.setMode("composite"),e.update(lJ.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},dJ=tK;var pJ=function(e){var t=e.getSelection();return t.isCollapsed()?null:dJ(e.getCurrentContent(),t)},hJ=pJ;var gJ=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(hJ(e._latestEditorState))};var vJ=e$,yJ=GW,mJ=_Y,bJ=pJ,wJ=jY,xJ=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};var CJ=function(e,t){var n,r=e._latestEditorState,o=r.getSelection(),i=t.target;if(o.isCollapsed())t.preventDefault();else{if(xJ(i)){var a=i;n=wJ(mJ.getScrollParent(a))}var s=bJ(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=vJ.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return yJ.push(e,t,"remove-range")}(r))}),0)}};var _J=function(e,t){e.setMode("drag"),t.preventDefault()};var SJ=function(e){e._internalDrag=!0,e.setMode("drag")},OJ=GW,kJ=sG;var EJ=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var o=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),kJ.isBrowser("Chrome < 60.0.3081.0")?e.update(OJ.forceSelection(n,o)):e.update(OJ.acceptSelection(n,o))}},TJ=DU,AJ=55296,jJ=56319,MJ=56320,PJ=57343,DJ=/[\uD800-\uDFFF]/;function IJ(e){return AJ<=e&&e<=PJ}function LJ(e){return DJ.test(e)}function RJ(e,t){return 1+IJ(e.charCodeAt(t))}function NJ(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!LJ(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=RJ(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=RJ(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=RJ(e,i);return e.substring(o,i)}var BJ={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=RJ(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:RJ,hasSurrogateUnit:LJ,isCodeUnitInSurrogateRange:IJ,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==process.env.NODE_ENV?TJ(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):TJ(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return AJ<=n&&n<=jJ&&MJ<=r&&r<=PJ},strlen:function(e){if(!LJ(e))return e.length;for(var t=0,n=0;n<e.length;n+=RJ(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 NJ(e,t=t<n?t:n,r)},substr:NJ},FJ=BJ,zJ=yX;function HJ(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 o=0,i="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}}var VJ="production"!==process.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),o=2;o<n;o++)r[o-2]=arguments[o];HJ.apply(void 0,[t].concat(r))}}:zJ,UJ=VJ,KJ=UJ;var $J=function(e,t){var n=e.getSelection();"production"!==process.env.NODE_ENV&&KJ(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var c=r.getKeyBefore(o);if(null==c)a=o;else a=c,s=r.getBlockForKey(c).getText().length}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},WJ=e$,qJ=j$("draft_tree_data_support");var GJ=function(e,t,n){var r=e.getSelection(),o=e.getCurrentContent(),i=r,a=r.getAnchorKey(),s=r.getFocusKey(),c=o.getBlockForKey(a);if(qJ&&"forward"===n&&a!==s)return o;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return o;if(qJ)if(r.getAnchorOffset()===o.getBlockForKey(a).getLength()){var u=o.getBlockForKey(c.nextSibling);if(!u||0===u.getLength())return o}}else if(e.isSelectionAtStartOfContent())return o;if((i=t(e))===r)return o}return WJ.removeRange(o,i,n)},ZJ=GW,YJ=FJ,XJ=$J,JJ=GJ;var QJ=function(e){var t=JJ(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),i=n.getBlockForKey(r).getText()[o-1];return XJ(e,i?YJ.getUTF16Length(i,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return ZJ.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},eQ=e$,tQ=EG,nQ=GW,rQ=QG.notEmptyKey,oQ=hG,iQ=QJ,aQ=kW,sQ=sG.isEngine("Gecko"),cQ="\n\n";var uQ=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,o=n.isCollapsed,i=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!i){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 c=r.textContent,u=e._latestEditorState,l=aQ(oQ(r)),f=tQ.decode(l),d=f.blockKey,p=f.decoratorKey,h=f.leafKey,g=u.getBlockTree(d).getIn([p,"leaves",h]),v=g.start,y=g.end,m=u.getCurrentContent(),b=m.getBlockForKey(d),w=b.getText().slice(v,y);if(c.endsWith(cQ)&&(c=c.slice(0,-1)),c!==w){var x,C,_,S,O=u.getSelection(),k=O.merge({anchorOffset:v,focusOffset:y,isBackward:!1}),E=b.getEntityAt(v),T=rQ(E)?m.getEntity(E):null,A="MUTABLE"===(null!=T?T.getMutability():null),j=A?"spellcheck-change":"apply-entity",M=eQ.replaceText(m,k,c,b.getInlineStyleAt(v),A?b.getEntityAt(v):null);if(sQ)x=n.anchorOffset,C=n.focusOffset,S=(_=v+Math.min(x,C))+Math.abs(x-C),x=_,C=S;else{var P=c.length-w.length;_=O.getStartOffset(),S=O.getEndOffset(),x=o?S+P:_,C=S+P}var D=M.merge({selectionBefore:m.getSelectionAfter(),selectionAfter:O.merge({anchorOffset:x,focusOffset:C})});e.update(nQ.push(u,D,j))}else{var I=t.nativeEvent.inputType;if(I){var L=function(e,t){return"deleteContentBackward"===e?iQ(t):t}(I,u);if(L!==u)return e.restoreEditorDOM(),void e.update(L)}}}},lQ=TG;var fQ=function(e){return e.which===lQ.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},dQ=fQ,pQ=sG.isPlatform("Mac OS X"),hQ={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return pQ&&e.altKey},usesMacOSHeuristics:function(){return pQ},hasCommandModifier:function(e){return pQ?!!e.metaKey&&!e.altKey:hQ.isCtrlKeyCommand(e)},isSoftNewlineEvent:dQ},gQ=hQ,vQ=e$,yQ=GW,mQ=tK,bQ=kW,wQ=null,xQ={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var o=n.getAnchorKey(),i=t.getBlockForKey(o).getLength();if(i===n.getAnchorOffset()){var a=t.getKeyAfter(o);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",i)}else r=n;r=bQ(r),wQ=mQ(t,r);var s=vQ.removeRange(t,r,"forward");return s===t?e:yQ.push(e,s,"remove-range")},paste:function(e){if(!wQ)return e;var t=vQ.replaceWithFragment(e.getCurrentContent(),e.getSelection(),wQ);return yQ.push(e,t,"insert-fragment")}},CQ=DU;var _Q=sG.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var o=r===e.commonAncestorContainer;o?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var i,a=Array.from(t.getClientRects());if(n.push(a),o)return n.reverse(),(i=[]).concat.apply(i,n);t.setEndBefore(r)}"production"!==process.env.NODE_ENV?CQ(!1,"Found an unexpected detached subtree when getting range client rects."):CQ(!1)}:function(e){return Array.from(e.getClientRects())},SQ=_Q,OQ=FJ,kQ=cG,EQ=SQ,TQ=DU;function AQ(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-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),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function jQ(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 MQ=function(e){e.collapsed||("production"!==process.env.NODE_ENV?TQ(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):TQ(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=kQ(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 o=n.body;o||("production"!==process.env.NODE_ENV?TQ(!1,"Missing document.body"):TQ(!1)),o.appendChild(r);var i=r.getBoundingClientRect();return o.removeChild(r),i.height}(t),r=e.endContainer,o=e.endOffset;for(e.setStart(e.startContainer,0);AQ(EQ(e),n)&&(r=e.startContainer,o=e.startOffset,r.parentNode||("production"!==process.env.NODE_ENV?TQ(!1,"Found unexpected detached subtree when traversing."):TQ(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var i=r,a=o-1;;){for(var s=i.nodeValue,c=a;c>=0;c--)if(!(null!=s&&c>0&&OQ.isSurrogatePair(s,c-1))){if(e.setStart(i,c),!AQ(EQ(e),n))break;r=i,o=c}if(-1===c||0===i.childNodes.length)break;a=jQ(i=i.childNodes[c])}return e.setStart(r,o),e},PQ=GW,DQ=MQ,IQ=$G,LQ=$J,RQ=GJ;var NQ=function(e,t){var n=RQ(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return LQ(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=DQ(r),IQ(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:PQ.push(e,n,"remove-range")},BQ="['‘’]",FQ="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),zQ=new RegExp("^(?:"+FQ+")*(?:"+BQ+"|(?!"+FQ+").)*(?:(?!"+FQ+").)"),HQ=new RegExp("(?:(?!"+FQ+").)(?:"+BQ+"|(?!"+FQ+").)*(?:"+FQ+")*$");function VQ(e,t){var n=t?HQ.exec(e):zQ.exec(e);return n?n[0]:e}var UQ={getBackward:function(e){return VQ(e,!0)},getForward:function(e){return VQ(e,!1)}},KQ=UQ,$Q=GW,WQ=$J,qQ=GJ;var GQ=function(e){var t=qQ(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return WQ(e,1);var r=t.getStartKey(),o=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),i=KQ.getBackward(o);return WQ(e,i.length||1)}),"backward");return t===e.getCurrentContent()?e:$Q.push(e,t,"remove-range")},ZQ=UJ;var YQ=function(e,t){var n=e.getSelection();"production"!==process.env.NODE_ENV&&ZQ(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,o=n.getStartKey(),i=n.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),r=0):r=i+t,n.merge({focusKey:s,focusOffset:r})},XQ=UQ,JQ=GW,QQ=YQ,e1=GJ;var t1=function(e){var t=e1(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),o=e.getCurrentContent().getBlockForKey(r).getText().slice(n),i=XQ.getForward(o);return QQ(e,i.length||1)}),"forward");return t===e.getCurrentContent()?e:JQ.push(e,t,"remove-range")},n1=e$,r1=GW;var o1=GW;var i1=GW;var a1=GW,s1=FJ,c1=YQ,u1=GJ;var l1=function(e){var t=u1(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),i=n.getBlockForKey(r).getText()[o];return c1(e,i?s1.getUTF16Length(i,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return a1.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},f1=e$,d1=GW,p1=tK;var h1=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,o,i=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(i).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),o=t):o=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var c=p1(a,r),u=f1.removeRange(a,r,"backward"),l=u.getSelectionAfter(),f=l.getAnchorOffset()-1,d=l.merge({anchorOffset:f,focusOffset:f}),p=f1.replaceWithFragment(u,d,c),h=d1.push(e,p,"insert-fragment");return d1.acceptSelection(h,o)},g1=GW;var v1=function(e,t,n){var r=g1.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(g1.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var o=r.getCurrentContent();n(g1.set(r,{nativelyRenderedContent:o}))}},y1=e$,m1=GW,b1=TG,w1=xQ,x1=sG,C1=MX,_1=NQ,S1=GQ,O1=t1,k1=function(e){var t=n1.splitBlock(e.getCurrentContent(),e.getSelection());return r1.push(e,t,"split-block")},E1=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return o1.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},T1=function(e){var t=e.getSelection(),n=t.getStartKey();return i1.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},A1=QJ,j1=l1,M1=h1,P1=v1,D1=gQ.isOptionKeyCommand,I1=x1.isBrowser("Chrome");var L1=function(e,t){var n=t.which,r=e._latestEditorState;function o(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case b1.RETURN:if(t.preventDefault(),e.props.handleReturn&&C1(e.props.handleReturn(t,r)))return;break;case b1.ESC:if(t.preventDefault(),o("onEscape"))return;break;case b1.TAB:if(o("onTab"))return;break;case b1.UP:if(o("onUpArrow"))return;break;case b1.RIGHT:if(o("onRightArrow"))return;break;case b1.DOWN:if(o("onDownArrow"))return;break;case b1.LEFT:if(o("onLeftArrow"))return;break;case b1.SPACE:I1&&D1(t)&&t.preventDefault()}var i=e.props.keyBindingFn(t);if(null!=i&&""!==i)if("undo"!==i){if(t.preventDefault(),!e.props.handleKeyCommand||!C1(e.props.handleKeyCommand(i,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return m1.redo(t);case"delete":return j1(t);case"delete-word":return O1(t);case"backspace":return A1(t);case"backspace-word":return S1(t);case"backspace-to-start-of-line":return _1(t,n);case"split-block":return k1(t);case"transpose-characters":return M1(t);case"move-selection-to-start-of-block":return T1(t);case"move-selection-to-end-of-block":return E1(t);case"secondary-cut":return w1.cut(t);case"secondary-paste":return w1.paste(t);default:return t}}(i,r,t);a!==r&&e.update(a)}}else P1(t,r,e.update);else if(n===b1.SPACE&&I1&&D1(t)){var s=y1.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(m1.push(r,s,"insert-characters"))}};var R1=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}(),N1=R1,B1=DU,F1=sG.isBrowser("IE <= 9");var z1=function(e){var t,n=null;return!F1&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==process.env.NODE_ENV?B1(!1,"Missing doc.documentElement"):B1(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},H1=uG;var V1=function(e){return!(!e||!e.ownerDocument)&&(H1(e)&&"A"===e.nodeName)},U1=uG;var K1,$1=function(e){return!(!e||!e.ownerDocument)&&(U1(e)&&"IMG"===e.nodeName)};function W1(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){q1(e,t,n[t])}))}return e}function q1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G1=$V,Z1=sU,Y1=CU,X1=kq,J1=E$,Q1=N1,e0=_q,t0=UU,n0=z1,r0=j$,o0=DV,i0=o0.List,a0=o0.Map,s0=o0.OrderedSet,c0=V1,u0=MZ,l0=jG,f0=$1,d0=r0("draft_tree_data_support"),p0=" ",h0=new RegExp("\r","g"),g0=new RegExp("\n","g"),v0=new RegExp("^\n","g"),y0=new RegExp(" ","g"),m0=new RegExp(" ?","g"),b0=new RegExp("​?","g"),w0=["bold","bolder","500","600","700","800","900"],x0=["light","lighter","normal","100","200","300","400"],C0=["className","href","rel","target","title"],_0=["alt","className","height","src","width"],S0=(q1(K1={},e0("public/DraftStyleDefault/depth0"),0),q1(K1,e0("public/DraftStyleDefault/depth1"),1),q1(K1,e0("public/DraftStyleDefault/depth2"),2),q1(K1,e0("public/DraftStyleDefault/depth3"),3),q1(K1,e0("public/DraftStyleDefault/depth4"),4),K1),O0=a0({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),k0=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)}))})),a0(t)},E0=function(e){if(l0(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},T0=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(S0).some((function(n){e.classList.contains(n)&&(t=S0[n])})),t},A0=function(e){if(!c0(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new Q1(t.href);return!0}catch(e){return!1}},j0=function(e){if(!f0(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},M0=function(e,t){if(!l0(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return t.withMutations((function(e){w0.indexOf(r)>=0?e.add("BOLD"):x0.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===i&&e.add("UNDERLINE"),"line-through"===i&&e.add("STRIKETHROUGH"),"none"===i&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},P0=function(e){return"ul"===e||"ol"===e},D0=function(){function e(e,t){q1(this,"characterList",i0()),q1(this,"currentBlockType","unstyled"),q1(this,"currentDepth",0),q1(this,"currentEntity",null),q1(this,"currentText",""),q1(this,"wrapper",null),q1(this,"blockConfigs",[]),q1(this,"contentBlocks",[]),q1(this,"entityMap",J1),q1(this,"blockTypeMap",void 0),q1(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=i0(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=J1,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],s0())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(d0?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=W1({key:e.key||t0(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:i0(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=i0(),this.currentBlockType="unstyled",this.currentText="",t},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=o.nodeName.toLowerCase();if("body"===i||P0(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;P0(i)&&(this.wrapper=i,P0(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var c=this.blockTypeMap.get(i);if(void 0===c)if("#text"!==i)if("br"!==i)if(j0(o))this._addImgNode(o,t);else if(A0(o))this._addAnchorNode(o,n,t);else{var u=t;O0.has(i)&&(u=u.add(O0.get(i))),u=M0(o,u);var l=E0(o);null!=l&&(u=u.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),u))}else this._addBreakNode(o,t);else this._addTextNode(o,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var f=this.currentDepth,d=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof c&&(c=this.disambiguate(i,this.wrapper)||c[0]||"unstyled"),!d0&&l0(o)&&("unordered-list-item"===c||"ordered-list-item"===c)){var p=o;this.currentDepth=T0(p,this.currentDepth)}var h=t0(),g=this._toBlockConfigs(Array.from(o.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:c})),this.currentDepth=f,this.wrapper=d}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=G1.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=i0()):(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(v0,"")).replace(g0,p0)),this._appendText(n,t)},t._addBreakNode=function(e,t){u0(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(f0(e)){var n=e,r={};_0.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),r0("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(c0(e)){var r=e,o={};C0.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new Q1(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),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 o=e[r];o.parent=t,o.prevSibling=r>0?e[r-1].key:null,o.nextSibling=r<n?e[r+1].key:null,o.children=i0(o.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new Y1(W1({},o))),this._toContentBlocks(o.childConfigs,o.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return i0(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,o=n.characterList;t.contentBlocks.push(new Z1(W1({},e,{text:e.text+r,characterList:e.characterList.concat(o)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=i0(),o=0;o<=t;o++){var i=e[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),I0=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:X1,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n0)(e=e.trim().replace(h0,"").replace(y0,p0).replace(m0,"").replace(b0,""));if(!n)return null;var r=k0(t);return new D0(r,(function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()};function L0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R0=sU,N0=CU,B0=I0,F0=UU,z0=z1,H0=j$,V0=DV,U0=P$,K0=V0.List,$0=V0.Repeat,W0=H0("draft_tree_data_support"),q0=W0?N0:R0,G0={processHTML:function(e,t){return B0(e,z0,t)},processText:function(e,t,n){return e.reduce((function(e,r,o){r=U0(r);var i=F0(),a={key:i,type:n,text:r,characterList:K0($0(t,r.length))};if(W0&&0!==o){var s=o-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){L0(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:i})).getKey()})}return e.push(new q0(a)),e}),[])}};var Z0=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).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})},Y0=e$,X0=GW,J0=Z0,Q0=kW,e2={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 e2.toggleInlineStyle(e,"BOLD");case"italic":return e2.toggleInlineStyle(e,"ITALIC");case"underline":return e2.toggleInlineStyle(e,"UNDERLINE");case"code":return e2.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return e2.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return e2.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=Y0.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=X0.push(e,t,"insert-characters");return X0.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(),o=n.getBlockBefore(r);if(o&&"atomic"===o.getType()){var i=n.getBlockMap().delete(o.getKey()),a=n.merge({blockMap:i,selectionAfter:t});if(a!==n)return X0.push(e,a,"remove-range")}var s=e2.tryToRemoveBlockStyle(e);return s?X0.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(),o=n.getBlockForKey(r).getLength();if(t.getStartOffset()<o)return null;var i=n.getBlockAfter(r);if(!i||"atomic"!==i.getType())return null;var a=t.merge({focusKey:i.getKey(),focusOffset:i.getLength()}),s=Y0.removeRange(n,a,"forward");return s!==n?X0.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),o=r.getAnchorKey();if(o!==r.getFocusKey())return t;var i=t.getCurrentContent(),a=i.getBlockForKey(o),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var c=a.getDepth();if(!e.shiftKey&&c===n)return t;var u=J0(i,r,e.shiftKey?-1:1,n);return X0.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),o=n.getEndKey(),i=e.getCurrentContent(),a=n;if(r!==o&&0===n.getEndOffset()){var s=Q0(i.getBlockBefore(o));o=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:o,focusOffset:s.getLength(),isBackward:!1})}var c=i.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==o})).some((function(e){return"atomic"===e.getType()}));if(c)return e;var u=i.getBlockForKey(r).getType()===t?"unstyled":t;return X0.push(e,Y0.setBlockType(i,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?e2.toggleBlockType(e,"code-block"):e2.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return X0.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var o,i=e.getCurrentContent();return o=r.has(t)?Y0.removeInlineStyle(i,n,t):Y0.applyInlineStyle(i,n,t),X0.push(e,o,"change-inline-style")},toggleLink:function(e,t,n){var r=Y0.applyEntity(e.getCurrentContent(),t,n);return X0.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),o=e.getCurrentContent(),i=o.getBlockForKey(r).getType(),a=o.getBlockBefore(r);if("code-block"===i&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==i)return Y0.setBlockType(o,t,"unstyled")}return null}},t2=e2,n2=/\r\n?|\n/g;var r2=LV,o2=$V,i2=OX,a2=e$,s2=G0,c2=GW,u2=t2,l2=nZ,f2=jX,d2=MX,p2=function(e){return e.split(n2)};function h2(e,t,n){var r=a2.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return c2.push(e,r.set("entityMap",n),"insert-fragment")}var g2=function(e,t){t.preventDefault();var n=new i2(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),o=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&d2(e.props.handlePastedFiles(r)))return;return void f2(r,(function(t){if(t=t||o){var n=e._latestEditorState,r=p2(t),i=o2.create({style:n.getCurrentInlineStyle(),entity:l2(n.getCurrentContent(),n.getSelection())}),a=u2.getCurrentBlockType(n),s=s2.processText(r,i,a),c=r2.createFromArray(s),u=a2.replaceWithFragment(n.getCurrentContent(),n.getSelection(),c);e.update(c2.push(n,u,"insert-fragment"))}}))}}var i=[],a=n.getText(),s=n.getHTML(),c=e._latestEditorState;if(e.props.formatPastedText){var u=e.props.formatPastedText(a,s);a=u.text,s=u.html}if(!e.props.handlePastedText||!d2(e.props.handlePastedText(a,s,c))){if(a&&(i=p2(a)),!e.props.stripPastedStyles){var l,f=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&f){if(-1!==(null===(l=s)||void 0===l?void 0:l.indexOf(e.getEditorKey()))||1===i.length&&1===f.size&&f.first().getText()===a)return void e.update(h2(e._latestEditorState,f))}else if(f&&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]}))}(i,f))return void e.update(h2(e._latestEditorState,f));if(s){var d=s2.processHTML(s,e.props.blockRenderMap);if(d){var p=d.contentBlocks,h=d.entityMap;if(p){var g=r2.createFromArray(p);return void e.update(h2(e._latestEditorState,g,h))}}}e.setClipboard(null)}if(i.length){var v=o2.create({style:c.getCurrentInlineStyle(),entity:l2(c.getCurrentContent(),c.getSelection())}),y=u2.getCurrentBlockType(c),m=s2.processText(i,v,y),b=r2.createFromArray(m);e.update(h2(e._latestEditorState,b))}}},v2=sG,y2=iJ,m2=uJ,b2=fJ,w2=gJ,x2=CJ,C2=_J,_2=SJ,S2=EJ,O2=uQ,k2=L1,E2=g2,T2=JG,A2=v2.isBrowser("Chrome"),j2=v2.isBrowser("Firefox"),M2=A2||j2?T2:function(e){},P2={onBeforeInput:y2,onBlur:m2,onCompositionStart:b2,onCopy:w2,onCut:x2,onDragOver:C2,onDragStart:_2,onFocus:S2,onInput:O2,onKeyDown:k2,onPaste:E2,onSelect:T2,onMouseUp:M2,onKeyUp:M2},D2=j.unstable_flushControlled;var I2=o,L2=_q,R2=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 o=r.prototype;return o.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},o.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=L2({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return I2.createElement("div",{className:t},I2.createElement("div",{className:L2("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(I2.Component),N2=R2,B2=gQ,F2=TG,z2=sG,H2=z2.isPlatform("Mac OS X"),V2=H2&&z2.isBrowser("Firefox < 29"),U2=B2.hasCommandModifier,K2=B2.isCtrlKeyCommand;function $2(e){return H2&&e.altKey||K2(e)}var W2=function(e){switch(e.keyCode){case 66:return U2(e)?"bold":null;case 68:return K2(e)?"delete":null;case 72:return K2(e)?"backspace":null;case 73:return U2(e)?"italic":null;case 74:return U2(e)?"code":null;case 75:return H2&&K2(e)?"secondary-cut":null;case 77:case 79:return K2(e)?"split-block":null;case 84:return H2&&K2(e)?"transpose-characters":null;case 85:return U2(e)?"underline":null;case 87:return H2&&K2(e)?"backspace-word":null;case 89:return K2(e)?H2?"secondary-paste":"redo":null;case 90:return function(e){return U2(e)?e.shiftKey?"redo":"undo":null}(e)||null;case F2.RETURN:return"split-block";case F2.DELETE:return function(e){return!H2&&e.shiftKey?null:$2(e)?"delete-word":"delete"}(e);case F2.BACKSPACE:return function(e){return U2(e)&&H2?"backspace-to-start-of-line":$2(e)?"backspace-word":"backspace"}(e);case F2.LEFT:return V2&&U2(e)?"move-selection-to-start-of-block":null;case F2.RIGHT:return V2&&U2(e)?"move-selection-to-end-of-block":null;default:return null}},q2=Wb;function G2(){return G2=q2||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},G2.apply(this,arguments)}function Z2(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){X2(e,t,n[t])}))}return e}function Y2(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J2(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Q2=kq,e5=Eq,t5=wZ,n5=uX,r5=$X,o5=P2,i5=D2,a5=N2,s5=PZ,c5=GW,u5=o,l5=dY,f5=_Y,d5=_q,p5=UU,h5=W2,g5=jY,v5=j$,y5=DU,m5=jG,b5=kW,w5=sG.isBrowser("IE"),x5=!w5,C5={edit:o5,composite:t5,drag:r5,cut:null,render:null},_5=!1,S5=function(e){function t(){return e.apply(this,arguments)||this}J2(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}(u5.Component),O5=function(e){function t(t){var n;return X2(Y2(n=e.call(this,t)||this),"_blockSelectEvents",void 0),X2(Y2(n),"_clipboard",void 0),X2(Y2(n),"_handler",void 0),X2(Y2(n),"_dragCount",void 0),X2(Y2(n),"_internalDrag",void 0),X2(Y2(n),"_editorKey",void 0),X2(Y2(n),"_placeholderAccessibilityID",void 0),X2(Y2(n),"_latestEditorState",void 0),X2(Y2(n),"_latestCommittedEditorState",void 0),X2(Y2(n),"_pendingStateFromBeforeInput",void 0),X2(Y2(n),"_onBeforeInput",void 0),X2(Y2(n),"_onBlur",void 0),X2(Y2(n),"_onCharacterData",void 0),X2(Y2(n),"_onCompositionEnd",void 0),X2(Y2(n),"_onCompositionStart",void 0),X2(Y2(n),"_onCopy",void 0),X2(Y2(n),"_onCut",void 0),X2(Y2(n),"_onDragEnd",void 0),X2(Y2(n),"_onDragOver",void 0),X2(Y2(n),"_onDragStart",void 0),X2(Y2(n),"_onDrop",void 0),X2(Y2(n),"_onInput",void 0),X2(Y2(n),"_onFocus",void 0),X2(Y2(n),"_onKeyDown",void 0),X2(Y2(n),"_onKeyPress",void 0),X2(Y2(n),"_onKeyUp",void 0),X2(Y2(n),"_onMouseDown",void 0),X2(Y2(n),"_onMouseUp",void 0),X2(Y2(n),"_onPaste",void 0),X2(Y2(n),"_onSelect",void 0),X2(Y2(n),"editor",void 0),X2(Y2(n),"editorContainer",void 0),X2(Y2(n),"focus",void 0),X2(Y2(n),"blur",void 0),X2(Y2(n),"setMode",void 0),X2(Y2(n),"exitCurrentMode",void 0),X2(Y2(n),"restoreEditorDOM",void 0),X2(Y2(n),"setClipboard",void 0),X2(Y2(n),"getClipboard",void 0),X2(Y2(n),"getEditorKey",void 0),X2(Y2(n),"update",void 0),X2(Y2(n),"onDragEnter",void 0),X2(Y2(n),"onDragLeave",void 0),X2(Y2(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),X2(Y2(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),o=n.editor;if(o){var i=f5.getScrollParent(o),a=e||g5(i),s=a.x,c=a.y;m5(o)||("production"!==process.env.NODE_ENV?y5(!1,"editorNode is not an HTMLElement"):y5(!1)),o.focus(),i===window?window.scrollTo(s,c):l5.setTop(i,c),r||n.update(c5.forceSelection(t,t.getSelection()))}})),X2(Y2(n),"blur",(function(){var e=n.editor;e&&(m5(e)||("production"!==process.env.NODE_ENV?y5(!1,"editorNode is not an HTMLElement"):y5(!1)),e.blur())})),X2(Y2(n),"setMode",(function(e){var t=n.props,r=t.onPaste,o=t.onCut,i=t.onCopy,a=Z2({},C5.edit);r&&(a.onPaste=r),o&&(a.onCut=o),i&&(a.onCopy=i);var s=Z2({},C5,{edit:a});n._handler=s[e]})),X2(Y2(n),"exitCurrentMode",(function(){n.setMode("edit")})),X2(Y2(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),X2(Y2(n),"setClipboard",(function(e){n._clipboard=e})),X2(Y2(n),"getClipboard",(function(){return n._clipboard})),X2(Y2(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),X2(Y2(n),"onDragEnter",(function(){n._dragCount++})),X2(Y2(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||p5(),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"!==process.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}J2(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&&(i5?i5((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:b5(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return u5.createElement(a5,e)}return null},n._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,o=e.customStyleFn,i=e.customStyleMap,a=e.editorState,s=e.preventScroll,c=e.readOnly,u=e.textAlignment,l=e.textDirectionality,f=d5({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),d=this.props.role||"textbox",p="combobox"===d?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:Z2({},e5,i),customStyleFn:o,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return u5.createElement("div",{className:f},this._renderPlaceholder(),u5.createElement("div",{className:d5("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},u5.createElement("div",{"aria-activedescendant":c?null:this.props.ariaActiveDescendantID,"aria-autocomplete":c?null:this.props.ariaAutoComplete,"aria-controls":c?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":c?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":c?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:d5({notranslate:!c,"public/DraftEditor/content":!0}),contentEditable:!c,"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:c?null:d,spellCheck:x5&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},u5.createElement(S5,{editor:this,editorState:a}),u5.createElement(n5,G2({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!_5&&v5("draft_ods_enabled")&&(_5=!0,s5.initODS()),this.setMode("edit"),w5&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Lt.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(u5.Component);X2(O5,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:Q2,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:h5,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var k5=O5,E5={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},T5=E5,A5=FJ.strlen;var j5=FJ,M5=WV,P5=function(e,t){return e===t},D5=function(e){return!!e},I5=[];var L5=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=[],o=t.map((function(e){return e.has(n)})).toList();return M5(o,P5,D5,(function(t,o){var i=e.getText();r.push({offset:j5.strlen(i.slice(0,t)),length:j5.strlen(i.slice(t,o)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(I5,n.toJS())};function R5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N5=sU,B5=CU,F5=E5,z5=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,o){var i=e.getText(),a=e.getEntityAt(r);n.push({offset:A5(i.slice(0,r)),length:A5(i.slice(r,o)),key:Number(t[T5.stringify(a)])})})),n},H5=L5,V5=DU,U5=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:H5(e),entityRanges:z5(e,t),data:e.getData().toObject()}},K5=function(e,t,n,r){if(e instanceof N5)n.push(U5(e,t));else{e instanceof B5||("production"!==process.env.NODE_ENV?V5(!1,"block is not a BlockNode"):V5(!1));var o=e.getParentKey(),i=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){R5(e,t,n[t])}))}return e}({},U5(e,t),{children:[]});o?r[o].children.push(i):n.push(i)}},$5=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],o={},i={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),o=F5.stringify(r);i[o]||(i[o]=r,n[o]="".concat(a),a++)})),K5(e,n,r,o)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(F5.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(e,t),t};function W5(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){q5(e,t,n[t])}))}return e}function q5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G5=UU,Z5=DU,Y5=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},X5={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==process.env.NODE_ENV?Z5(!1,"Invalid raw state"):Z5(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var o=r.children;Array.isArray(o)||("production"!==process.env.NODE_ENV?Z5(!1,"Invalid tree raw block"):Z5(!1)),n=n.concat([].concat(o.reverse()))}}(t,(function(e){var t=W5({},e);Y5(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?W5({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,W5({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=Y5(e),o=e.depth||0,i=W5({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===o)t.push(i);else if(null==a||a.depth<o-1){var s={key:G5(),text:"",depth:o-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===o?t.push(s):null!=a&&a.children.push(s),s.children.push(i)}else if(a.depth===o-1)a.children.push(i);else{for(;null!=a&&a.depth>=o;)n.shift(),a=n[0];o>0?a.children.push(i):t.push(i)}}else t.push(i)})),W5({},e,{blocks:t})}},J5=UJ,Q5={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==process.env.NODE_ENV&&J5(!0,"Tree is missing parent -> child pointer on %s",n),!1;var o=e.getChildKeys().map((function(e){return t.get(e)}));if(!o.every((function(e){return e.getParentKey()===n})))return"production"!==process.env.NODE_ENV&&J5(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==process.env.NODE_ENV&&J5(!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"!==process.env.NODE_ENV&&J5(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==i&&i===a?("production"!==process.env.NODE_ENV&&J5(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==process.env.NODE_ENV&&J5(!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"!==process.env.NODE_ENV&&J5(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),o=[];null!=r;){var i=e.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var c=a.map((function(t){return e.get(t)})),u=c.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==process.env.NODE_ENV&&J5(!0,"%s has no first child",r),!1;r=u.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===e.size||("production"!==process.env.NODE_ENV&&J5(!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)}},e3=Q5,t3=$V,n3=DV.List;var r3=function(e,t){var n=e.map((function(e,n){var r=t[n];return t3.create({style:e,entity:r})}));return n3(n)},o3=FJ.substr;var i3=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=o3(e,0,t.offset).length,o=r+o3(e,t.offset,t.length).length,i=r;i<o;i++)n[i]=t.key})),n},a3=FJ,s3=DV.OrderedSet,c3=a3.substr,u3=s3();var l3=function(e,t){var n=Array(e.length).fill(u3);return t&&t.forEach((function(t){for(var r=c3(e,0,t.offset).length,o=r+c3(e,t.offset,t.length).length;r<o;)n[r]=n[r].add(t.style),r++})),n};function f3(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){d3(e,t,n[t])}))}return e}function d3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p3=sU,h3=CU,g3=eW,v3=E$,y3=X5,m3=e3,b3=A$,w3=r3,x3=i3,C3=l3,_3=UU,S3=DV,O3=DU,k3=j$("draft_tree_data_support"),E3=S3.List,T3=S3.Map,A3=S3.OrderedMap,j3=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||_3(),data:T3(o),characterList:M3(e,t)}},M3=function(e,t){var n=e.text,r=e.entityRanges,o=e.inlineStyleRanges,i=r||[];return w3(C3(n,o||[]),x3(n,i.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return f3({},e,{key:t[e.key]})}))))},P3=function(e){return f3({},e,{key:e.key||_3()})},D3=function(e,t,n){var r=t.map((function(e){return f3({},e,{parentRef:n})}));return e.concat(r.reverse())},I3=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=k3&&!n?y3.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!k3)return function(e,t){return A3(e.map((function(e){var n=new p3(j3(e,t));return[n.getKey(),n]})))}(n?y3.fromRawTreeStateToRawState(e).blocks:r,t);var o=function(e,t){return e.map(P3).reduce((function(n,r,o){Array.isArray(r.children)||("production"!==process.env.NODE_ENV?O3(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):O3(!1));var i=r.children.map(P3),a=new h3(f3({},j3(r,t),{prevSibling:0===o?null:e[o-1].key,nextSibling:o===e.length-1?null:e[o+1].key,children:E3(i.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=D3([],i,a);s.length>0;){var c=s.pop(),u=c.parentRef,l=u.getChildKeys(),f=l.indexOf(c.key),d=Array.isArray(c.children);if(!d){d||("production"!==process.env.NODE_ENV?O3(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):O3(!1));break}var p=c.children.map(P3),h=new h3(f3({},j3(c,t),{parent:u.getKey(),children:E3(p.map((function(e){return e.key}))),prevSibling:0===f?null:l.get(f-1),nextSibling:f===l.size-1?null:l.get(f+1)}));n=n.set(h.getKey(),h),s=D3(s,p,h)}return n}),A3())}(r,t);return"production"!==process.env.NODE_ENV&&(m3.isValidTree(o)||("production"!==process.env.NODE_ENV?O3(!1,"Should be a valid tree"):O3(!1))),o},L3=SQ;var R3=function(e){var t=L3(e),n=0,r=0,o=0,i=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,o=a.bottom,i=a.left}else{var s=t[0];n=s.top,r=s.right,o=s.bottom,i=s.left}for(var c=1;c<t.length;c++){var u=t[c];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),r=Math.max(r,u.right),o=Math.max(o,u.bottom),i=Math.min(i,u.left))}}return{top:n,right:r,bottom:o,left:i,width:r-i,height:o-n}},N3=R3;var B3=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=N3(n),o=r.top,i=r.right,a=r.bottom,s=r.left;return 0===o&&0===i&&0===a&&0===s?null:r},F3={Editor:k5,EditorBlock:cX,EditorState:GW,CompositeDecorator:xq,Entity:E$,EntityInstance:y$,BlockMapBuilder:LV,CharacterMetadata:$V,ContentBlock:sU,ContentState:eW,RawDraftContentState:{},SelectionState:A$,AtomicBlockUtils:mq,KeyBindingUtil:gQ,Modifier:e$,RichUtils:t2,DefaultDraftBlockRenderMap:kq,DefaultDraftInlineStyle:Eq,convertFromHTML:I0,convertFromRaw:function(e){Array.isArray(e.blocks)||("production"!==process.env.NODE_ENV?O3(!1,"invalid RawDraftContentState"):O3(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=v3.__create(o,i,a||{})})),n}(e),n=I3(e,t),r=n.isEmpty()?new b3:b3.createEmpty(n.first().getKey());return new g3({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},convertToRaw:$5,genKey:UU,getDefaultKeyBinding:W2,getVisibleSelectionRect:B3};const z3="FOUND_FIELD",H3="NOT_FOUND",V3="IMMUTABLE",U3=be.span((({theme:e,error:t})=>({display:"inline-block",color:t?e.color.error:e.accent}))),K3=(e,t,n,r)=>{e.findEntityRanges((e=>{const t=e.getEntity();if(t){return n.getEntity(t).getType()===r}return!1}),t)},$3=new F3.CompositeDecorator([{strategy:(e,t,n)=>K3(e,t,n,z3),component:({children:t})=>e(U3,{children:t})},{strategy:(e,t,n)=>K3(e,t,n,H3),component:({children:t})=>e(U3,Object.assign({error:!0},{children:t}))}]),W3=(e,t,n)=>{const r=Ht.find(t,{id:e.id}),o=t.every((e=>!e.value)),i=t.some((e=>e.value));let a=!0,s="";r?o?a=!0:!n&&!i||(null==r?void 0:r.value)||(a=!1):a=!1,s=a?n&&!o?(null==r?void 0:r.value)||"":(null==r?void 0:r.label)||"":(null==r?void 0:r.id)||e.id;return{label:n&&(null==r?void 0:r.value)?s:`{${s}}`,isValid:a}},q3=(e,t,n)=>{const r=((e,t,n)=>{const r={},o={text:"",type:"unstyled",entityRanges:[],key:"",depth:1,inlineStyleRanges:[]},i=e.replace(/(<<\w+?>>)/g,"~~$1~~").split("~~");for(let e=0;e<i.length;e++){let a=i[e];if(a.startsWith("<<")){const i=a.replace(/<<|>>/g,""),s=Ht.find(t||[],{id:i})||{id:i,label:""},{label:c,isValid:u}=W3(s,t||[],n);a=c,o.entityRanges.push({key:e,offset:o.text.length,length:a.length}),r[e]={type:u?z3:H3,mutability:V3,data:{id:i}}}o.text+=a}return F3.convertFromRaw({blocks:[o],entityMap:r})})(e,t,n);return F3.EditorState.createWithContent(r,$3)},G3=(e,t=!0)=>{const n=e.getCurrentContent(),r=F3.convertToRaw(n);return t?(e=>{const t=e.blocks.map((t=>{const{text:n,entityRanges:r}=t;if(r.length<1)return n;const o=[];let i=0;return r.forEach((({key:t,offset:r,length:a})=>{r>i&&o.push(n.substr(i,r-i));const s=Ht.get(e,`entityMap[${t}].data.id`,"unknown");o.push(`<<${s}>>`),i=r+a})),o.push(n.substr(i)),o.join("")}));return t.join(" ")})(r):r},Z3=e=>{const t=G3(e,!1);return"string"!=typeof t?Object.values(t.entityMap):[]},Y3=e=>{const t=e.getCurrentContent().getLastBlock(),n=t.getKey(),r=t.getLength(),o=new F3.SelectionState({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r});return F3.EditorState.forceSelection(e,o)},X3=(e,t,n=!0)=>{const[r,o]=y(!1);return{focused:r,handleFocus:t=>{n&&o(!0),e&&e(t)},handleBlur:e=>{o(!1),t&&t(e)}}},J3=e=>!!e||null!=e&&""!==e,Q3=be.div((({theme:{input:e},backgroundColor:t,borderRadius:n,borderless:r,borderColor:o,textOnly:i,focused:a,invalid:s,disabled:c,hasLabel:u,pointer:l})=>({display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",minHeight:u?48:40,height:u?48:40,padding:"5px 16px",boxSizing:"border-box",color:c?e.labelColor.disabled:e.labelColor.default,backgroundColor:e.background.default,borderBottom:r?void 0:"1px solid",borderColor:o||e.borderColor.default,borderRadius:null!=n?n:4,borderBottomLeftRadius:null!=n?n:0,borderBottomRightRadius:null!=n?n:0,cursor:l?"pointer":void 0,"&:hover":{backgroundColor:c||i||t?void 0:e.background.hover,borderColor:a||c||r||s?void 0:e.borderColor.hover,Label:{color:a||c?void 0:e.labelColor.hover}}})),(({theme:{input:e},focused:t})=>({backgroundColor:t?e.background.focused:void 0,borderColor:t?e.borderColor.focused:void 0})),(({theme:{input:e},invalid:t})=>({borderColor:t?e.borderColor.error:void 0})),(({theme:{input:e},disabled:t,readOnly:n})=>({backgroundColor:t?e.background.disabled:void 0,borderColor:t?e.borderColor.disabled:void 0,pointerEvents:t||n?"none":void 0})),(({borderless:e})=>({border:e?"none":void 0})),(({theme:e,textOnly:t,disabled:n})=>({padding:t?0:void 0,backgroundColor:t?"transparent":void 0,width:t?"max-content":void 0,height:t?"max-content":void 0,minHeight:t?"max-content":void 0,color:t&&n?e.scale4:void 0})),(({backgroundColor:e})=>({backgroundColor:e})),Nn,Fn,Bn),e9=be.div((({readOnly:e})=>({display:"flex",flexDirection:"column",boxSizing:"border-box",width:"100%",position:"relative","& > label, & > input":{pointerEvents:e?"none":void 0,caretColor:e?"transparent":void 0}}))),t9=be.label((({theme:{font:e,input:t},filled:n,focused:r})=>({fontSize:n||r?e.size.sm:e.size.lg,color:n?t.labelColor.filled:t.labelColor.default,position:"relative",top:n||r?void 0:1})),(({theme:{input:e},disabled:t})=>({color:t?e.labelColor.disabled:void 0})),(({theme:{input:e},focused:t})=>({color:t?e.labelColor.focused:void 0})));var n9={Container:Q3,Wrapper:e9,Label:t9,useInputFocus:X3,isInputFilled:J3};const r9=f(((n,r)=>{var{value:o,onChange:i,onEnterKey:a,onFocus:s,onBlur:c,mergeFields:u=[],placeholder:l="Text here...",width:f,height:d,maxHeight:p,borderless:h=!1,noPadding:m=!1,readOnly:b=!1,displayMergedValues:x=!1,color:C,overflow:_,clampLines:S,label:O,disabled:k,borderRadius:E,backgroundColor:T,fontSize:A,textOnly:j,margin:M,marginLeft:P,marginRight:D,marginTop:L,marginBottom:R}=n,N=I(n,["value","onChange","onEnterKey","onFocus","onBlur","mergeFields","placeholder","width","height","maxHeight","borderless","noPadding","readOnly","displayMergedValues","color","overflow","clampLines","label","disabled","borderRadius","backgroundColor","fontSize","textOnly","margin","marginLeft","marginRight","marginTop","marginBottom"]);const[B,F]=y((()=>q3(o,u,x))),{focused:z,handleFocus:H,handleBlur:V}=X3(s,c),[U,K]=y(!1),$=g(null),W=g(),q=null!=p?p:d,G=q?q-(h?0:O?29:11):void 0,Z=e=>{F(e);const t=(e=>Z3(e).some((e=>e.type===H3)))(e);K(t);const n=G3(e),r=e.getLastChangeType();i&&i(n,t,r)},Y=e=>{const t=((e,t,n,r)=>{const{id:o}=e,i=n.getCurrentContent(),a=n.getSelection(),{label:s,isValid:c}=W3(e,t,r),u=c?z3:H3,l=i.createEntity(u,V3,{id:o}).getLastCreatedEntityKey(),f=F3.Modifier.insertText(i,a,s,void 0,l),d=F3.EditorState.push(n,f,"insert-characters");return F3.EditorState.forceSelection(d,f.getSelectionAfter())})(e,u,B,x);Z(t)},X=()=>{(null==$?void 0:$.current)&&$.current.focus();const e=Y3(B);F(e)};w(r,(()=>({insertField:Y,focusAtEnd:X})));v((()=>{G3(B)!==o&&(e=>{const t=B.getSelection(),n=q3(e,u,x),r=Y3(n),o=t.getHasFocus()?r:n;Z(o)})(o)}),[o]),v((()=>{W.current=u}),[]),v((()=>{const{current:e}=W,t=Ht.isEqual(e,u),n=Z3(B);if(!t&&n.length>0){W.current=u;const e=q3(o,u,x);Z(e)}}),[u]);return e(o9,Object.assign({onClick:e=>{b||e.stopPropagation();B.getSelection().getHasFocus()||X()},width:f,height:d,editorMaxHeight:G,borderless:h||j,noPadding:m||j,readOnly:b,color:C,overflow:_,clampLines:S,filled:J3(o),invalid:U,textOnly:j,borderRadius:E,backgroundColor:T,fontSize:A,margin:M,marginLeft:P,marginRight:D,marginTop:L,marginBottom:R,focused:z,disabled:k,hasLabel:!!O,hideEditor:!J3(o)&&!!O&&!z},{children:t(e9,Object.assign({readOnly:b},{children:[O&&e(t9,Object.assign({filled:J3(o),focused:z,disabled:k},{children:O})),e(F3.Editor,Object.assign({ref:$,editorState:B,onChange:Z,placeholder:l,readOnly:b,handleReturn:e=>{const t=F3.RichUtils.insertSoftNewline(B);return e.shiftKey||!a?Z(t):a(e),"handled"},handlePastedText:(e,t,n)=>{const r=((e,t)=>{const n=t.getCurrentContent(),r=t.getSelection(),o={text:e,type:"unstyled",entityRanges:[],key:"",depth:1,inlineStyleRanges:[]},i=F3.convertFromRaw({blocks:[o],entityMap:{}}),a=F3.EditorState.createWithContent(i,$3).getCurrentContent().getBlockMap(),s=F3.Modifier.replaceWithFragment(n,r,a);return F3.EditorState.push(t,s,"insert-fragment")})(e,n);return Z(r),"handled"},onFocus:H,onBlur:V},N))]}))}))})),o9=be(Q3)((({theme:e,height:t,noPadding:n,disabled:r,readOnly:o,color:i})=>({alignItems:t?"flex-start":void 0,minHeight:t,height:"max-content",padding:n?0:void 0,color:r?e.input.color.disabled:i||e.input.color.default,cursor:o?"inherit":"text","&:hover":{backgroundColor:o?e.input.background.default:void 0,borderBottom:o?`1px solid ${e.input.borderColor.default}`:void 0,Label:{color:o?e.input.labelColor.filled:void 0}}})),(({theme:e,height:t,hasLabel:n,editorMaxHeight:r,overflow:o,clampLines:i,hideEditor:a,fontSize:s,noPadding:c,filled:u})=>({"& .public-DraftEditor-content":{maxHeight:r||t,overflow:o||"auto",lineHeight:n?"19px":"21px",position:a?"absolute":"relative",fontSize:s||e.font.size.lg,top:!u||n||c?void 0:1,caretColor:e.accent},"& .public-DraftStyleDefault-block":{WebkitLineClamp:i,overflow:i?"hidden":o||"auto",display:i?"-webkit-box":void 0,WebkitBoxOrient:i?"vertical":void 0,wordBreak:i?"break-word":void 0},"& .public-DraftEditorPlaceholder-root":{color:e.input.color.placeholder,position:"relative",visibility:a?"hidden":void 0,fontSize:s||e.font.size.lg}})),(({noPadding:e,hasLabel:t})=>{let n;return e&&(n=-1),t&&(n=-2),{"& .public-DraftEditorPlaceholder-inner":{position:"absolute",pointerEvents:"none",top:n}}}));var i9={exports:{}};i9.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){var n,r,o=e.exports={};function i(){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===i||!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:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!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 g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},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,o,i,a,s,c){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,i,a,s,c],f=0;(u=new Error(t.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(0))},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){var r=n(1);if("production"!==t.env.NODE_ENV){var o=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 o=0,i="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}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),i=2;i<n;i++)r[i-2]=arguments[i];o.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(0))},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.format=void 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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(6),a=u(i),s=u(n(7)),c=n(12);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={phoneNumber:r.props.value?(0,c.format)(r.props.value):"",cursorPosition:0,key:""},r.handleKeyDown=function(e){var t=e.key,n=e.currentTarget,o=n.selectionStart,i=n.selectionEnd;if(!(0,c.isInvalidKey)(t)){var a={start:o,end:i},s=(0,c.update)(r.state.phoneNumber,a,t),u=s.phoneNumber,l=void 0===u?"":u,f=s.cursorPosition,d=void 0===f?0:f;r.setState({phoneNumber:l,cursorPosition:d,key:t}),r.props.onChange(l)}},f(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.value!==e.value&&this.setState({phoneNumber:(0,c.format)(e.value),cursorPosition:0,key:""})}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state.cursorPosition;this.textInput&&(navigator.userAgent.search("Chrome")>0&&window.requestAnimationFrame((function(){e.textInput.setSelectionRange(t,t)})),setTimeout((function(){e.textInput.setSelectionRange(t,t)}),20))}},{key:"render",value:function(){var e,t=this,n=this.state.phoneNumber,o=this.props.inputComponent,i=o?"innerRef":"ref",s=r({},this.props,(l(e={},i,(function(e){return t.textInput=e})),l(e,"type","tel"),l(e,"value",n),l(e,"onKeyDown",this.handleKeyDown),l(e,"onChange",(function(){})),e));return o?a.default.createElement(o,s):a.default.createElement("input",s)}}]),t}(i.Component);d.propTypes={inputComponent:s.default.oneOfType([s.default.instanceOf(i.Component),s.default.func]),onChange:s.default.func,value:s.default.string},d.defaultProps={onChange:function(){}},t.format=c.format,t.normalize=c.normalize,t.default=d},function(e,t){e.exports=o},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(8)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(11)()}).call(t,n(0))},function(e,t,n){(function(t){var r=n(1),o=n(2),i=n(4),a=n(9),s=n(3),c=n(10);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator,l="@@iterator",f="<<anonymous>>",d={array:v("array"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:g(r.thatReturnsNull),arrayOf:function(e){return g((function(t,n,r,o,i){if("function"!=typeof e)return new h("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+o+" `"+i+"` of type `"+m(a)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<a.length;c++){var u=e(a,c,r,o,i+"["+c+"]",s);if(u instanceof Error)return u}return null}))},element:g((function(t,n,r,o,i){var a=t[n];return e(a)?null:new h("Invalid "+o+" `"+i+"` of type `"+m(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return g((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||f;return new h("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:f)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:g((function(e,t,n,r,o){return y(e[t])?null:new h("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,n,r,o,i){if("function"!=typeof e)return new h("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],c=m(a);if("object"!==c)return new h("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var l=e(a,u,r,o,i+"."+u,s);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new h("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&i(!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&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",w(o),n),r.thatReturnsNull}return g((function(t,n,r,o,i){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,o,i,s))return null;return new h("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}))},shape:function(e){return g((function(t,n,r,o,i){var a=t[n],c=m(a);if("object"!==c)return new h("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var l=e[u];if(l){var f=l(a,u,r,o,i+"."+u,s);if(f)return f}}return null}))},exact:function(e){return g((function(t,n,r,o,i){var c=t[n],u=m(c);if("object"!==u)return new h("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var l=a({},t[n],e);for(var f in l){var d=e[f];if(!d)return new h("Invalid "+o+" `"+i+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(c,f,r,o,i+"."+f,s);if(p)return p}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){this.message=e,this.stack=""}function g(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function c(c,u,l,d,p,g,v){if(d=d||f,g=g||l,v!==s)if(n)o(!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 y=d+":"+l;!r[y]&&a<3&&(i(!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.",g,d),r[y]=!0,a++)}return null==u[l]?c?null===u[l]?new h("The "+p+" `"+g+"` is marked as required in `"+d+"`, but its value is `null`."):new h("The "+p+" `"+g+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(u,l,d,p,g)}var u=c.bind(null,!1);return u.isRequired=c.bind(null,!0),u}function v(e){return g((function(t,n,r,o,i,a){var s=t[n];return m(s)!==e?new h("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function y(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(y);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e[l]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!y(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!y(i[1]))return!1}return!0;default:return!1}}function m(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 b(e){if(null==e)return""+e;var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=c,d.PropTypes=d,d}}).call(t,n(0))},function(e,t,n){
|
|
208
|
+
var iV=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,i;switch(n=n||{},r.util.type(t)){case"Object":if(i=r.util.objId(t),n[i])return n[i];for(var a in o={},n[i]=o,t)t.hasOwnProperty(a)&&(o[a]=e(t[a],n));return o;case"Array":return i=r.util.objId(t),n[i]?n[i]:(o=[],n[i]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var i=(o=o||r.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(a[c]=n[c]);n.hasOwnProperty(s)||(a[s]=i[s])}var u=o[e];return o[e]=a,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,o,i){i=i||{};var a=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var c=t[s],u=r.util.type(c);"Object"!==u||i[a(c)]?"Array"!==u||i[a(c)]||(i[a(c)]=!0,e(c,n,s,i)):(i[a(c)]=!0,e(c,n,null,i))}}},plugins:{},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",i),i.tokens=r.tokenize(i.code,i.grammar),r.hooks.run("after-tokenize",i),o.stringify(r.util.encode(i.tokens),i.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return c(o,o.head,e),a(e,o,t,o.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(e,t,n,s,l,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var g=p[h],v=g.inside,y=!!g.lookbehind,m=!!g.greedy,b=g.alias;if(m&&!g.pattern.global){var w=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,w+"g")}for(var x=g.pattern||g,C=s.next,_=l;C!==t.tail&&!(f&&_>=f.reach);_+=C.value.length,C=C.next){var S=C.value;if(t.length>e.length)return;if(!(S instanceof o)){var O,k=1;if(m){if(!(O=i(x,_,e,y))||O.index>=e.length)break;var E=O.index,T=O.index+O[0].length,A=_;for(A+=C.value.length;E>=A;)A+=(C=C.next).value.length;if(_=A-=C.value.length,C.value instanceof o)continue;for(var j=C;j!==t.tail&&(A<T||"string"==typeof j.value);j=j.next)k++,A+=j.value.length;k--,S=e.slice(_,A),O.index-=_}else if(!(O=i(x,0,S,y)))continue;E=O.index;var M=O[0],P=S.slice(0,E),D=S.slice(E+M.length),I=_+S.length;f&&I>f.reach&&(f.reach=I);var L=C.prev;if(P&&(L=c(t,L,P),_+=P.length),u(t,L,k),C=c(t,L,new o(d,v?r.tokenize(M,v):M,b,M)),D&&c(t,C,D),k>1){var R={cause:d+","+h,reach:I};a(e,t,n,C.prev,_,R),f&&R.reach>f.reach&&(f.reach=R.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),r.hooks.run("wrap",i);var s="";for(var c in i.attributes)s+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},r}(),aV=iV;iV.default=iV,aV.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},aV.languages.markup.tag.inside["attr-value"].inside.entity=aV.languages.markup.entity,aV.languages.markup.doctype.inside["internal-subset"].inside=aV.languages.markup,aV.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(aV.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:aV.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:aV.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},aV.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(aV.languages.markup.tag,"addAttribute",{value:function(e,t){aV.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:aV.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),aV.languages.html=aV.languages.markup,aV.languages.mathml=aV.languages.markup,aV.languages.svg=aV.languages.markup,aV.languages.xml=aV.languages.extend("markup",{}),aV.languages.ssml=aV.languages.xml,aV.languages.atom=aV.languages.xml,aV.languages.rss=aV.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(aV),aV.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},aV.languages.c=aV.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),aV.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),aV.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},aV.languages.c.string],char:aV.languages.c.char,comment:aV.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:aV.languages.c}}}}),aV.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete aV.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(aV),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(aV),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(aV),aV.languages.javascript=aV.languages.extend("clike",{"class-name":[aV.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),aV.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,aV.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:aV.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:aV.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:aV.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:aV.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:aV.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),aV.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:aV.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),aV.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),aV.languages.markup&&(aV.languages.markup.tag.addInlined("script","javascript"),aV.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),aV.languages.js=aV.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(aV),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+i+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(aV),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var s=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),c="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,c]:a.alias.push(c):a.alias=[c]}}else e(o.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],u=/language-(.+)/.exec(i);if(u){n=u[1];break}}var l,f=e.languages[n];if(f)t.content=e.highlight((l=t.content,l.replace(a,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),c(n);var r=s[t];return r||e}))),f,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(aV),aV.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:aV.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},aV.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(f(["definition-mutation","punctuation"])&&"("===l(1).content){n+=2;var i=d(/^\($/,/^\)$/);if(-1===i)continue;for(;n<i;n++){var a=l(0);"variable"===a.type&&(p(a,"variable-input"),o.push(a.content))}n=i+1}if(f(["punctuation","property-query"])&&"{"===l(0).content&&(n++,p(l(0),"property-mutation"),o.length>0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var c=n;c<s;c++){var u=t[c];"variable"===u.type&&o.indexOf(u.content)>=0&&p(u,"variable-input")}}}}function l(e){return t[n+e]}function f(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=l(n+t);if(!r||r.type!==e[n])return!1}return!0}function d(e,r){for(var o=1,i=n;i<t.length;i++){var a=t[i],s=a.content;if("punctuation"===a.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0===--o)return i}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),aV.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],i=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function c(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function u(t){var n={};n["interpolation-punctuation"]=o;var i=e.tokenize(t,n);if(3===i.length){var a=[1,1];a.push.apply(a,c(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,a)}return new e.Token("interpolation",i,r.alias,t)}function l(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),a=0,l={},f=c(o.map((function(e){if("string"==typeof e)return e;for(var n,o=e.content;-1!==t.indexOf(n=s(a++,r)););return l[n]=o,n})).join(""),n,r),d=Object.keys(l);return a=0,function e(t){for(var n=0;n<t.length;n++){if(a>=d.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=d[a],i="string"==typeof r?r:r.content,s=i.indexOf(o);if(-1!==s){++a;var c=i.substring(0,s),f=u(l[o]),p=i.substring(s+o.length),h=[];if(c&&h.push(c),h.push(f),p){var g=[p];e(g),h.push.apply(h,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(h)),n+=h.length-1):r.content=h}}else{var v=r.content;Array.isArray(v)?e(v):e([v])}}}(f),new e.Token(r,f,"language-"+r,t)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in f&&function t(n){for(var r=0,o=n.length;r<o;r++){var i=n[r];if("string"!=typeof i){var a=i.content;if(Array.isArray(a))if("template-string"===i.type){var s=a[1];if(3===a.length&&"string"!=typeof s&&"embedded-code"===s.type){var c=d(s),u=s.alias,f=Array.isArray(u)?u[0]:u,p=e.languages[f];if(!p)continue;a[1]=l(c,p,f)}}else t(a);else"string"!=typeof a&&t([a])}}}(t.tokens)}))}(aV),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(aV),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],i=e.languages.javascript[o];"RegExp"===e.util.type(i)&&(i=e.languages.javascript[o]={pattern:i});var a=i.inside||{};i.inside=a,a["maybe-class-name"]=/^[A-Z][\s\S]*/}}(aV),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var c=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(c+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(c=a(t[r-1])+c,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",c,null,c)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(aV),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(aV),aV.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},aV.languages.go=aV.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),aV.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete aV.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,i){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof i&&!i(e))return e;for(var o,s=a.length;-1!==n.code.indexOf(o=t(r,s));)++s;return a[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,i=Object.keys(n.tokenStack);!function a(s){for(var c=0;c<s.length&&!(o>=i.length);c++){var u=s[c];if("string"==typeof u||u.content&&"string"==typeof u.content){var l=i[o],f=n.tokenStack[l],d="string"==typeof u?u:u.content,p=t(r,l),h=d.indexOf(p);if(h>-1){++o;var g=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),y=d.substring(h+p.length),m=[];g&&m.push.apply(m,a([g])),m.push(v),y&&m.push.apply(m,a([y])),"string"==typeof u?s.splice.apply(s,[c,1].concat(m)):u.content=m}}else u.content&&a(u.content)}return s}(n.tokens)}}}})}(aV),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(aV),aV.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},aV.languages.webmanifest=aV.languages.json,aV.languages.less=aV.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),aV.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),aV.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},aV.languages.objectivec=aV.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete aV.languages.objectivec["class-name"],aV.languages.objc=aV.languages.objectivec,aV.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},aV.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},aV.languages.python["string-interpolation"].inside.interpolation.inside.rest=aV.languages.python,aV.languages.py=aV.languages.python,aV.languages.reason=aV.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),aV.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete aV.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(aV),aV.languages.scss=aV.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),aV.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),aV.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),aV.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),aV.languages.scss.atrule.inside.rest=aV.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(aV),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(aV),aV.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var sV={Prism:aV,theme:{plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]}};function cV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uV(){return uV=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},uV.apply(this,arguments)}var lV=/\r\n|\r|\n/,fV=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},dV=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},pV=function(e,t){var n=e.plain,r=Object.create(null),o=e.styles.reduce((function(e,n){var r=n.languages,o=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=uV({},e[t],o);e[t]=n})),e}),r);return o.root=n,o.plain=uV({},n,{backgroundColor:null}),o};function hV(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var gV=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),cV(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?pV(e.theme,e.language):void 0;return t.themeDict=n})),cV(this,"getLineProps",(function(e){var n=e.key,r=e.className,o=e.style,i=uV({},hV(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),a=t.getThemeDict(t.props);return void 0!==a&&(i.style=a.plain),void 0!==o&&(i.style=void 0!==i.style?uV({},i.style,o):o),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),cV(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,o=n.length,i=t.getThemeDict(t.props);if(void 0!==i){if(1===o&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===o&&!r)return i[n[0]];var a=r?{display:"inline-block"}:{},s=n.map((function(e){return i[e]}));return Object.assign.apply(Object,[a].concat(s))}})),cV(this,"getTokenProps",(function(e){var n=e.key,r=e.className,o=e.style,i=e.token,a=uV({},hV(e,["key","className","style","token"]),{className:"token "+i.types.join(" "),children:i.content,style:t.getStyleForToken(i),key:void 0});return void 0!==o&&(a.style=void 0!==a.style?uV({},a.style,o):o),void 0!==n&&(a.key=n),r&&(a.className+=" "+r),a})),cV(this,"tokenize",(function(e,t,n,r){var o={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",o);var i=o.tokens=e.tokenize(o.code,o.grammar,o.language);return e.hooks.run("after-tokenize",o),i}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,o=e.children,i=this.getThemeDict(this.props),a=t.languages[n],s=function(e){for(var t=[[]],n=[e],r=[0],o=[e.length],i=0,a=0,s=[],c=[s];a>-1;){for(;(i=r[a]++)<o[a];){var u=void 0,l=t[a],f=n[a][i];if("string"==typeof f?(l=a>0?l:["plain"],u=f):(l=dV(l,f.type),f.alias&&(l=dV(l,f.alias)),u=f.content),"string"==typeof u){var d=u.split(lV),p=d.length;s.push({types:l,content:d[0]});for(var h=1;h<p;h++)fV(s),c.push(s=[]),s.push({types:l,content:d[h]})}else a++,t.push(l),n.push(u),r.push(0),o.push(u.length)}a--,t.pop(),n.pop(),r.pop(),o.pop()}return fV(s),c}(void 0!==a?this.tokenize(t,r,a,n):[r]);return o({tokens:s,className:"prism-code language-"+n,style:void 0!==i?i.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(C),vV=gV,yV="#c5a5c5",mV="#8dc891",bV={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:yV}},{types:["attr-value"],style:{color:mV}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:mV}},{types:["punctuation"],style:{color:mV}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:yV}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},wV={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]};const xV=({content:t})=>{const[n,r]=y(!1),{color:o,scale10:i}=E();v((()=>{n&&setTimeout((()=>{r(!1)}),2e3)}),[n]);return e(CV,Object.assign({onClick:()=>{TH(t),r(!0)},copied:n},{children:e(Vn,n?{name:"check-circle",color:o.success}:{name:"copy",color:i})}))},CV=be.div((({copied:e})=>({width:25,height:25,padding:5,position:"absolute",top:5,right:5,display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",opacity:e?1:.3,"&:hover":{opacity:e?1:.7}}))),_V=({method:n,url:r})=>{const o=E(),i=((e,t)=>{const{color:n}=t;switch(e){case"GET":return{borderColor:n.brand,backgroundColor:n.brandTint2};case"DELETE":return{borderColor:n.error,backgroundColor:n.errorTint2};case"POST":return{borderColor:n.success,backgroundColor:n.successTint2};case"PUT":return{borderColor:n.warning,backgroundColor:n.warningTint2};default:return{borderColor:t.scale8,backgroundColor:t.scale0}}})(n.toUpperCase(),o);return t(SV,Object.assign({},i,{children:[e(OV,Object.assign({backgroundColor:i.borderColor},{children:n.toUpperCase()})),e(kV,{children:r}),e(xV,{content:r})]}))},SV=be.div((({theme:e})=>({display:"flex",alignItems:"center",border:"1px solid",borderRadius:e.size.xs,margin:"10px 0",position:"relative"})),(({borderColor:e,backgroundColor:t})=>({borderColor:e,backgroundColor:t}))),OV=be.div((({theme:e})=>({padding:e.size.md,textAlign:"center",fontFamily:"monospace",whiteSpace:"pre",fontSize:e.font.size.lg,color:"#fff"})),(({backgroundColor:e})=>({backgroundColor:e}))),kV=be.div((({theme:e})=>({fontFamily:"monospace",whiteSpace:"pre",fontSize:e.font.size.lg,padding:e.size.md}))),EV=({children:n,code:r,className:o,lang:i,lineHighlights:a,noNumbers:s,margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d})=>{const{name:p}=E(),h={margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d},g=(null==o?void 0:o.replace(/}/g,"").split("{"))||[];let[v,y,m]=g;v=v||i||"",y=y||a||"",m=m||s?"nonumbers":"";let b=v?v.replace(/language-/,""):"text",w="";if(b.includes("rest")){const[e,t]=b.split("-");b=e,w=(null==t?void 0:t.toUpperCase())||""}const x="nonumbers"===m.toLowerCase().trim(),C=e=>{if(y){const t=(e=>{const t=e.split(",").map((e=>{if(e.match(/^\d+$/))return parseInt(e);if(e.includes("-")){const[t,n]=e.split("-"),r=parseInt(t),o=parseInt(n);return r<o?Ht.range(r,o+1):Ht.rangeRight(o,r+1)}return null})),n=t.flat();return Ht.compact(n)})(y);return t.some((t=>e===t))}return!1},_=(null==r?void 0:r.trim())||(null==n?void 0:n.trim())||"";return"rest"===b?e(_V,{method:w,url:_}):e(vV,Object.assign({},sV,{code:_,language:b,theme:"dark"===p?bV:wV},{children:({className:n,style:r,tokens:o,getLineProps:i,getTokenProps:a})=>t(TV,Object.assign({className:n,style:Object.assign({},r)},h,{"data-testid":"code"},{children:[o.map(((n,r,o)=>t(AV,Object.assign({},i({line:n,key:r}),{highlight:C(r+1)},{children:[o.length>1&&!x&&e(jV,{children:r+1}),n.map(((t,n)=>e("span",Object.assign({},a({token:t,key:n})),t.content)))]})))),e(xV,{content:_})]}))}))},TV=be.pre((({theme:e})=>({overflowX:"auto",position:"relative",padding:e.size.md,borderRadius:e.size.xs,backgroundColor:"light"===e.name?`${e.scale0} !important`:void 0})),Fn),AV=be.div((({theme:e,highlight:t})=>({backgroundColor:t?e.scale1:"transparent"}))),jV=be.span((({theme:e})=>({display:"inline-block",minWidth:17,textAlign:"right",marginRight:10,color:e.scale6,userSelect:"none"}))),MV=be.table((({theme:e})=>({border:`1px solid ${e.scale1}`,borderSpacing:0,borderCollapse:"separate",borderRadius:e.size.xs,overflow:"hidden",width:"100%","& thead":{backgroundColor:e.scale1,borderTopLeftRadius:e.size.xs,borderTopRightRadius:e.size.xs},"& th, & td":{border:"none",padding:10,textAlign:"left"},"& td":{borderTop:`1px solid ${e.scale1}`,lineHeight:"28px"},"& th":{fontWeight:"bold",whiteSpace:"nowrap"},"& td:not(:last-of-type)":{whiteSpace:"nowrap"}})));var PV={exports:{}};PV.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:q(e)}function r(e){return s(e)?e:G(e)}function o(e){return c(e)?e:Z(e)}function i(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[d])}function c(e){return!(!e||!e[p])}function u(e){return s(e)||c(e)}function l(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",v=5,y=1<<v,m=y-1,b={},w={value:!1},x={value:!1};function C(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function S(){}function O(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function k(e){return void 0===e.size&&(e.size=e.__iterate(T)),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?k(e)+t:t}function T(){return!0}function A(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function j(e,t){return P(e,t,0)}function M(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,I=1,L=2,R="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",B=R||N;function F(e){this.next=e}function z(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function H(){return{value:void 0,done:!0}}function V(e){return!!$(e)}function U(e){return e&&"function"==typeof e.next}function K(e){var t=$(e);return t&&t.call(e)}function $(e){var t=e&&(R&&e[R]||e[N]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function q(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function G(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Z(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ce(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ce(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=D,F.VALUES=I,F.ENTRIES=L,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[B]=function(){return this},t(q,n),q.of=function(){return q(arguments)},q.prototype.toSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq {","}")},q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},q.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},q.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(G,q),G.prototype.toKeyedSeq=function(){return this},t(Z,q),Z.of=function(){return Z(arguments)},Z.prototype.toIndexedSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq [","]")},Z.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},Z.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(Y,q),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},q.isSeq=ie,q.Keyed=G,q.Set=Y,q.Indexed=Z;var X,J,Q,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 oe(e){this._iterator=e,this._iteratorCache=[]}function ie(e){return!(!e||!e[ee])}function ae(){return X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new oe(e).fromEntrySeq():V(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 ce(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=le(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 le(e){return W(e)?new te(e):U(e)?new oe(e):V(e)?new re(e):void 0}function fe(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new F((function(){var e=o[n?i-a:a];return a++>i?H():z(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Z(t).map((function(n,r){return he(e,n,r,t)}))):ve(t)?e.call(r,n,G(t).map((function(n,r){return he(e,n,r,t)}))):t}function ge(e){return Array.isArray(e)?Z(e).map(ge).toList():ve(e)?G(e).map(ge).toMap():e}function ve(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ye(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 me(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)||c(e)!==c(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ye(o[1],e)&&(n||ye(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!ye(t,e.get(r,b)):!ye(e.get(r,b),t))return f=!1,!1}));return f&&e.size===d}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(J)return J;J=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(Q)return Q;Q=this}}function Ce(){throw TypeError("Abstract")}function _e(){}function Se(){}function Oe(){}q.prototype[ee]=!0,t(te,Z),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,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new F((function(){return o>r?H():z(e,o,n[t?r-o++:o++])}))},t(ne,G),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,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new F((function(){var a=r[t?o-i:i];return i++>o?H():z(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Z),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(U(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!U(n))return new F(H);var r=0;return new F((function(){var t=n.next();return t.done?t:z(e,r++,t.value)}))},t(oe,Z),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new F((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return z(e,o,r[o++])}))},t(be,Z),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 ye(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:new be(this._value,M(t,n)-j(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ye(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ye(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?z(e,r++,n._value):H()}))},be.prototype.equals=function(e){return e instanceof be?ye(this._value,e._value):me(e)},t(xe,Z),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 A(e,t,this.size)?this:(e=j(e,this.size),(t=M(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,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new F((function(){var a=o;return o+=t?-r:r,i>n?H():z(e,i++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:me(this,e)},t(Ce,n),t(_e,Ce),t(Se,Ce),t(Oe,Ce),Ce.Keyed=_e,Ce.Indexed=Se,Ce.Set=Oe;var ke="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 Te(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?Ae(e):je(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Me(e);if("function"==typeof e.toString)return je(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ae(e){var t=Ve[e];return void 0===t&&(t=je(e),He===ze&&(He=0,Ve={}),He++,Ve[e]=t),t}function je(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function Me(e){var t;if(Re&&void 0!==(t=Le.get(e)))return t;if(void 0!==(t=e[Be]))return t;if(!De){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Be]))return t;if(void 0!==(t=Ie(e)))return t}if(t=++Ne,1073741824&Ne&&(Ne=0),Re)Le.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(De)Object.defineProperty(e,Be,{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[Be]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Be]=t}}return t}var Pe=Object.isExtensible,De=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Le,Re="function"==typeof WeakMap;Re&&(Le=new WeakMap);var Ne=0,Be="__immutablehash__";"function"==typeof Symbol&&(Be=Symbol(Be));var Fe=16,ze=255,He=0,Ve={};function Ue(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?ot():$e(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[qe])}t(Ke,_e),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return it(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return it(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=vt(this,Cn(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ke.prototype.merge=function(){return dt(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return dt(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return dt(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return Vt(fn(this,e))},Ke.prototype.sortBy=function(e,t){return Vt(fn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.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},Ke.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)},Ke.isMap=$e;var We,qe="@@__IMMUTABLE_MAP__@@",Ge=Ke.prototype;function Ze(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 Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return z(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ge);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return We||(We=rt(0))}function it(e,t,n){var r,o;if(e._root){var i=C(w),a=C(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Ze(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function at(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===b?e:(_(s),_(a),new Qe(t,r,[o,i]))}function st(e){return e.constructor===Qe||e.constructor===Je}function ct(e,t,n,r,o){if(e.keyHash===r)return new Je(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&m,s=(0===n?r:r>>>n)&m;return new Ye(t,1<<a|1<<s,a===s?[ct(e,t,n+v,r,o)]:(i=new Qe(t,r,o),a<s?[e,i]:[i,e]))}function ut(e,t,n,r){e||(e=new S);for(var o=new Qe(e,Te(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function lt(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=t.length;s<u;s++,c<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Ye(e,o,a)}function ft(e,t,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Xe(e,i+1,a)}function dt(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(e){return pe(e)}))),o.push(c)}return gt(e,t,o)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ye(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return ye(t,o)?t:o}}function gt(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)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function vt(e,t,n,r){var o=e===b,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}we(o||e&&e.set,"invalid keyPath");var c=i.value,u=o?b:e.get(c,b),l=vt(u,t,n,r);return l===u?e:l===b?e.remove(c):(o?ot():e).set(c,l)}function yt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function mt(e,t,n,r){var o=r?e:O(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}Ge[qe]=!0,Ge[g]=Ge.remove,Ge.removeIn=Ge.deleteIn,Ze.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ye(n,o[i][0]))return o[i][1];return r},Ze.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===b,c=this.entries,u=0,l=c.length;u<l&&!ye(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(_(a),(s||!f)&&_(i),!s||1!==c.length){if(!f&&!s&&c.length>=xt)return ut(e,c,r,o);var d=e&&e===this.ownerID,p=d?c:O(c);return f?s?u===l-1?p.pop():p[u]=p.pop():p[u]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Ze(e,p)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Te(n));var o=1<<((0===e?t:t>>>e)&m),i=this.bitmap;return 0==(i&o)?r:this.nodes[yt(i&o-1)].get(e+v,t,n,r)},Ye.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=(0===t?n:n>>>t)&m,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===b)return this;var f=yt(u&c-1),d=this.nodes,p=l?d[f]:void 0,h=at(p,e,t+v,n,r,o,i,a);if(h===p)return this;if(!l&&h&&d.length>=Ct)return ft(e,d,u,s,h);if(l&&!h&&2===d.length&&st(d[1^f]))return d[1^f];if(l&&h&&1===d.length&&st(h))return h;var g=e&&e===this.ownerID,y=l?h?u:u^c:u|c,w=l?h?mt(d,f,h,g):wt(d,f,g):bt(d,f,h,g);return g?(this.bitmap=y,this.nodes=w,this):new Ye(e,y,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Te(n));var o=(0===e?t:t>>>e)&m,i=this.nodes[o];return i?i.get(e+v,t,n,r):r},Xe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=(0===t?n:n>>>t)&m,c=o===b,u=this.nodes,l=u[s];if(c&&!l)return this;var f=at(l,e,t+v,n,r,o,i,a);if(f===l)return this;var d=this.count;if(l){if(!f&&--d<_t)return lt(e,u,d,s)}else d++;var p=e&&e===this.ownerID,h=mt(u,s,f,p);return p?(this.count=d,this.nodes=h,this):new Xe(e,d,h)},Je.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ye(n,o[i][0]))return o[i][1];return r},Je.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Te(r));var s=o===b;if(n!==this.keyHash)return s?this:(_(a),_(i),ct(this,e,t,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!ye(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(_(a),(s||!f)&&_(i),s&&2===l)return new Qe(e,this.keyHash,c[1^u]);var d=e&&e===this.ownerID,p=d?c:O(c);return f?s?u===l-1?p.pop():p[u]=p.pop():p[u]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Je(e,this.keyHash,p)},Qe.prototype.get=function(e,t,n,r){return ye(n,this.entry[0])?this.entry[1]:r},Qe.prototype.update=function(e,t,n,r,o,i,a){var s=o===b,c=ye(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(_(a),s?void _(i):c?e&&e===this.ownerID?(this.entry[1]=o,this):new Qe(e,this.keyHash,[r,o]):(_(i),ct(this,e,t,Te(r),[r,o])))},Ze.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Ye.prototype.iterate=Xe.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Qe.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,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return tt(e,i.entry);t=this._stack=nt(i,t)}continue}t=this._stack=this._stack.__prev}return H()};var xt=y/4,Ct=y/2,_t=y/4;function St(e){var t=It();if(null==e)return t;if(Ot(e))return e;var n=o(e),r=n.size;return 0===r?t:(Ue(r),r>0&&r<y?Dt(0,r,v,null,new Tt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ot(e){return!(!e||!e[kt])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Bt(this,e+=this._origin);return n&&n.array[e&m]}return t},St.prototype.set=function(e,t){return Lt(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=v,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):It()},St.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])}))},St.prototype.pop=function(){return Ft(this,0,-1)},St.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])}))},St.prototype.shift=function(){return Ft(this,1)},St.prototype.merge=function(){return zt(this,void 0,arguments)},St.prototype.mergeWith=function(t){return zt(this,t,e.call(arguments,1))},St.prototype.mergeDeep=function(){return zt(this,pt,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return zt(this,ht(t),n)},St.prototype.setSize=function(e){return Ft(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:Ft(this,j(e,n),M(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=Pt(this,t);return new F((function(){var t=r();return t===Mt?H():z(e,n++,t)}))},St.prototype.__iterate=function(e,t){for(var n,r=0,o=Pt(this,t);(n=o())!==Mt&&!1!==e(n,r++,this););return r},St.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},St.isList=Ot;var kt="@@__IMMUTABLE_LIST__@@",Et=St.prototype;function Tt(e,t){this.array=e,this.ownerID=t}Et[kt]=!0,Et[g]=Et.remove,Et.setIn=Ge.setIn,Et.deleteIn=Et.removeIn=Ge.removeIn,Et.update=Ge.update,Et.updateIn=Ge.updateIn,Et.mergeIn=Ge.mergeIn,Et.mergeDeepIn=Ge.mergeDeepIn,Et.withMutations=Ge.withMutations,Et.asMutable=Ge.asMutable,Et.asImmutable=Ge.asImmutable,Et.wasAltered=Ge.wasAltered,Tt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&m;if(r>=this.array.length)return new Tt([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-v,n))===a&&i)return this}if(i&&!o)return this;var s=Nt(this,e);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},Tt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&m;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-v,n))===i&&o===this.array.length-1)return this}var a=Nt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var At,jt,Mt={};function Pt(e,t){var n=e._origin,r=e._capacity,o=Ht(r),i=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):c(e,t,n)}function s(e,a){var s=a===o?i&&i.array:e&&e.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return Mt;var e=t?--u:c++;return s&&s[e]}}function c(e,o,i){var s,c=e&&e.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var e=s();if(e!==Mt)return e;s=null}if(u===l)return Mt;var n=t?--l:u++;s=a(c&&c[n],o-v,i+(n<<o))}}}}function Dt(e,t,n,r,o,i,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=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function It(){return At||(At=Dt(0,0,v))}function Lt(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,o=e._root,i=C(x);return t>=Ht(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,i):o=Rt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Dt(e._origin,e._capacity,e._level,o,r):e}function Rt(e,t,n,r,o,i){var a,s=r>>>n&m,c=e&&s<e.array.length;if(!c&&void 0===o)return e;if(n>0){var u=e&&e.array[s],l=Rt(u,t,n-v,r,o,i);return l===u?e:((a=Nt(e,t)).array[s]=l,a)}return c&&e.array[s]===o?e:(_(i),a=Nt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Nt(e,t){return t&&e&&t===e.ownerID?e:new Tt(e?e.array.slice():[],t)}function Bt(e,t){if(t>=Ht(e._capacity))return e._tail;if(t<1<<e._level+v){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&m],r-=v;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var c=e._level,u=e._root,l=0;a+l<0;)u=new Tt(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=v);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Ht(i),d=Ht(s);d>=1<<c+v;)u=new Tt(u&&u.array.length?[u]:[],r),c+=v;var p=e._tail,h=d<f?Bt(e,s-1):d>f?new Tt([],r):p;if(p&&d>f&&a<i&&p.array.length){for(var g=u=Nt(u,r),y=c;y>v;y-=v){var b=f>>>y&m;g=g.array[b]=Nt(g.array[b],r)}g.array[f>>>v&m]=p}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=d)a-=d,s-=d,c=v,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;u;){var w=a>>>c&m;if(w!==d>>>c&m)break;w&&(l+=(1<<c)*w),c-=v,u=u.array[w]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&d<f&&(u=u.removeAfter(r,c,d-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=c,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Dt(a,s,c,u,h)}function zt(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(e){return pe(e)}))),r.push(u)}return i>e.size&&(e=e.setSize(i)),gt(e,t,r)}function Ht(e){return e<y?0:e-1>>>v<<v}function Vt(e){return null==e?$t():Ut(e)?e:$t().withMutations((function(t){var n=r(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return $e(e)&&l(e)}function Kt(e,t,n,r){var o=Object.create(Vt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function $t(){return jt||(jt=Kt(ot(),It()))}function Wt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),c=void 0!==s;if(n===b){if(!c)return e;a.size>=y&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Kt(r,o)}function qt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function 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===L){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===I?D:I,n)},t}function Jt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,b);return i===b?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(L,o);return new F((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return z(r,s,t.call(n,a[1],s,e),o)}))},r}function Qt(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 o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,b);return i!==b&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,c){if(t.call(n,e,i,c))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(L,i),s=0;return new F((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(t.call(n,l,u,e))return z(o,r?u:s++,l,i)}}))},o}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?Vt():Ke()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=mn(e);return o.map((function(t){return gn(e,i(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),A(t,n,o))return e;var i=j(t,o),a=M(n,o);if(i!=i||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!r&&ie(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+i,n):n}),u.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,c=!0,u=0;return e.__iterate((function(e,n){if(!c||!(c=a++<i))return u++,!1!==t(e,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,c=0;return new F((function(){for(;a++<i;)o.next();if(++c>s)return H();var e=o.next();return r||t===I?e:z(t,c-1,t===D?void 0:e.value[1],e)}))},u}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(L,o),s=!0;return new F((function(){if(!s)return H();var e=a.next();if(e.done)return e;var o=e.value,c=o[0],u=o[1];return t.call(n,u,c,i)?r===L?e:z(r,c,u,e):(s=!1,H())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return e.__iterate((function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return c++,o(e,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(L,i),c=!0,u=0;return new F((function(){var e,i,l;do{if((e=s.next()).done)return r||o===I?e:z(o,u++,o===D?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],c&&(c=t.call(n,l,i,a))}while(c);return o===L?e:z(o,i,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ce(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||c(e)&&c(i))return i}var u=new te(o);return n?u=u.toKeyedSeq():c(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function cn(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;function c(e,u){var l=this;e.__iterate((function(e,o){return(!t||u<t)&&a(e)?c(e,u+1):!1===r(e,n?o:i++,l)&&(s=!0),!s}),o)}return c(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],c=0;return new F((function(){for(;i;){var e=i.next();if(!1===e.done){var u=e.value;if(r===L&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:z(r,c++,u,e);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return H()}))},r}function un(e,t,n){var r=mn(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(I,r),a=0;return new F((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?z(n,a++,t):z(n,a++,o.value,o)}))},n}function fn(e,t,n){t||(t=xn);var r=s(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?G(i):c(e)?Z(i):Y(i)}function dn(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 o=bn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(I,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),K(o?e.reverse():e)})),a=0,s=!1;return new F((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?H():z(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function gn(e,t){return ie(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function yn(e){return Ue(e.size),k(e)}function mn(e){return s(e)?r:c(e)?o:i}function bn(e){return Object.create((s(e)?G:c(e)?Z:Y).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):q.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function Cn(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function _n(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);En(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Ke(i)},o=r.prototype=Object.create(Sn);return o.constructor=r,r}t(Vt,Ke),Vt.of=function(){return this(arguments)},Vt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Vt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Vt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Vt.prototype.set=function(e,t){return Wt(this,e,t)},Vt.prototype.remove=function(e){return Wt(this,e,b)},Vt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Vt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Vt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Vt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Vt.isOrderedMap=Ut,Vt.prototype[h]=!0,Vt.prototype[g]=Vt.prototype.remove,t(qt,G),qt.prototype.get=function(e,t){return this._iter.get(e,t)},qt.prototype.has=function(e){return this._iter.has(e)},qt.prototype.valueSeq=function(){return this._iter.valueSeq()},qt.prototype.reverse=function(){var e=this,t=Qt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},qt.prototype.map=function(e,t){var n=this,r=Jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},qt.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?yn(this):0,function(o){return e(o,t?--n:n++,r)}),t)},qt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(I,t),r=t?yn(this):0;return new F((function(){var o=n.next();return o.done?o:z(e,t?--r:r++,o.value,o)}))},qt.prototype[h]=!0,t(Gt,Z),Gt.prototype.includes=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Gt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t),r=0;return new F((function(){var t=n.next();return t.done?t:z(e,r++,t.value,t)}))},t(Zt,Y),Zt.prototype.has=function(e){return this._iter.includes(e)},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t);return new F((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,G),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){vn(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(I,t);return new F((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){vn(r);var o=a(r);return z(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},Gt.prototype.cacheResult=qt.prototype.cacheResult=Zt.prototype.cacheResult=Yt.prototype.cacheResult=wn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(kn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=On(this,ot()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+kn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:On(this,n)},_n.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:On(this,t)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?On(this,t,e):(this.__ownerID=e,this._map=t,this)};var Sn=_n.prototype;function On(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function kn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Tn.bind(void 0,e))}catch(e){}}function Tn(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 An(e){return null==e?Rn():jn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(e){return!(!e||!e[Pn])}Sn[g]=Sn.remove,Sn.deleteIn=Sn.removeIn=Ge.removeIn,Sn.merge=Ge.merge,Sn.mergeWith=Ge.mergeWith,Sn.mergeIn=Ge.mergeIn,Sn.mergeDeep=Ge.mergeDeep,Sn.mergeDeepWith=Ge.mergeDeepWith,Sn.mergeDeepIn=Ge.mergeDeepIn,Sn.setIn=Ge.setIn,Sn.update=Ge.update,Sn.updateIn=Ge.updateIn,Sn.withMutations=Ge.withMutations,Sn.asMutable=Ge.asMutable,Sn.asImmutable=Ge.asImmutable,t(An,Oe),An.of=function(){return this(arguments)},An.fromKeys=function(e){return this(r(e).keySeq())},An.prototype.toString=function(){return this.__toString("Set {","}")},An.prototype.has=function(e){return this._map.has(e)},An.prototype.add=function(e){return In(this,this._map.set(e,!0))},An.prototype.remove=function(e){return In(this,this._map.remove(e))},An.prototype.clear=function(){return In(this,this._map.clear())},An.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++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},An.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},An.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},An.prototype.merge=function(){return this.union.apply(this,arguments)},An.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},An.prototype.sort=function(e){return Nn(fn(this,e))},An.prototype.sortBy=function(e,t){return Nn(fn(this,t,e))},An.prototype.wasAltered=function(){return this._map.wasAltered()},An.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},An.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},An.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)},An.isSet=jn;var Mn,Pn="@@__IMMUTABLE_SET__@@",Dn=An.prototype;function In(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 Ln(e,t){var n=Object.create(Dn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Mn||(Mn=Ln(ot()))}function Nn(e){return null==e?Vn():Bn(e)?e:Vn().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Bn(e){return jn(e)&&l(e)}Dn[Pn]=!0,Dn[g]=Dn.remove,Dn.mergeDeep=Dn.merge,Dn.mergeDeepWith=Dn.mergeWith,Dn.withMutations=Ge.withMutations,Dn.asMutable=Ge.asMutable,Dn.asImmutable=Ge.asImmutable,Dn.__empty=Rn,Dn.__make=Ln,t(Nn,An),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(e){return this(r(e).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Bn;var Fn,zn=Nn.prototype;function Hn(e,t){var n=Object.create(zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Vn(){return Fn||(Fn=Hn($t()))}function Un(e){return null==e?Zn():Kn(e)?e:Zn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}zn[h]=!0,zn.__empty=Vn,zn.__make=Hn,t(Un,Se),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Gn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Gn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Zn()},Un.prototype.slice=function(e,t){if(A(e,t,this.size))return this;var n=j(e,this.size);if(M(t,this.size)!==this.size)return Se.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Gn(r,o)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Gn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Un.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,z(e,n++,t)}return H()}))},Un.isStack=Kn;var $n,Wn="@@__IMMUTABLE_STACK__@@",qn=Un.prototype;function Gn(e,t,n,r){var o=Object.create(qn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Zn(){return $n||($n=Gn(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}qn[Wn]=!0,qn.withMutations=Ge.withMutations,qn.asMutable=Ge.asMutable,qn.asImmutable=Ge.asImmutable,qn.wasAltered=Ge.wasAltered,n.Iterator=F,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Gt(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 qt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Vt(this.toKeyedSeq())},toOrderedSet:function(){return Nn(s(this)?this.valueSeq():this)},toSet:function(){return An(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Zt(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return St(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ye(t,e)}))},entries:function(){return this.__iterator(L)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return gn(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,o,i){if(e.call(t,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(D)},map:function(e,t){return gn(this,Jt(this,e,t))},reduce:function(e,t,n){var r,o;return Ue(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return gn(this,Qt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return gn(this,fn(this,e))},values:function(){return this.__iterator(I)},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 k(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return me(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(T)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,cn(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ye(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=Cn(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,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(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dn(this,e)},maxBy:function(e,t){return dn(this,t,e)},min:function(e){return dn(this,e?nr(e):ir)},minBy:function(e,t){return dn(this,t?nr(t):ir,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return gn(this,fn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(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[f]=!0,Xn[B]=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 gn(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 ye(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ye(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return gn(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Jn=r.prototype;function Qn(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 or(){return O(arguments)}function ir(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+cr(Te(e),Te(t))|0}:function(e,t){r=r+cr(Te(e),Te(t))|0}:t?function(e){r=31*r+Te(e)|0}:function(e){r=r+Te(e)|0});return sr(o,r)}function sr(e,t){return t=ke(t,3432918353),t=ke(t<<15|t>>>-15,461845907),t=ke(t<<13|t>>>-13,5),t=ke((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=ke(t^t>>>13,3266489909))^t>>>16)}function cr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Jn[d]=!0,Jn[B]=Xn.entries,Jn.__toJS=Xn.toObject,Jn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(o,{toKeyedSeq:function(){return new qt(this,!1)},filter:function(e,t){return gn(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 gn(this,Qt(this,!1))},slice:function(e,t){return gn(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=j(e,e<0?this.count():this.size);var r=this.slice(0,e);return gn(this,1===n?r:r.concat(O(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 gn(this,cn(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 gn(this,ln(this,e))},interleave:function(){var e=[this].concat(O(arguments)),t=hn(this.toSeq(),Z.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,hn(this,or,[this].concat(O(arguments))))},zipWith:function(e){var t=O(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),o.prototype[p]=!0,o.prototype[h]=!0,Yn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Xn.includes,Yn(G,r.prototype),Yn(Z,o.prototype),Yn(Y,i.prototype),Yn(_e,r.prototype),Yn(Se,o.prototype),Yn(Oe,i.prototype);var ur={Iterable:n,Seq:q,Collection:Ce,Map:Ke,OrderedMap:Vt,List:St,Stack:Un,Set:An,OrderedSet:Nn,Record:_n,Range:xe,Repeat:be,is:ye,fromJS:pe};return ur}();var DV=PV.exports,IV=DV.OrderedMap,LV={createFromArray:function(e){return IV(e.map((function(e){return[e.getKey(),e]})))}};var RV=DV,NV=RV.Map,BV=RV.OrderedSet,FV=RV.Record,zV=BV(),HV={style:zV,entity:null},VV=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 o=r.prototype;return o.getStyle=function(){return this.get("style")},o.getEntity=function(){return this.get("entity")},o.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 UV;var t=NV({style:zV,entity:null}).merge(e),n=KV.get(t);if(n)return n;var o=new r(t);return KV=KV.set(t,o),o},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?BV(t):t,entity:Array.isArray(n)?BV(n):n})},r}(FV(HV)),UV=new VV,KV=NV([[NV(HV),UV]]);VV.EMPTY=UV;var $V=VV;var WV=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i})),n(e.last())&&r(o,e.count())}};var qV=$V,GV=WV,ZV=DV,YV=ZV.List,XV=ZV.Map,JV=ZV.OrderedSet,QV=ZV.Record,eU=ZV.Repeat,tU=JV(),nU=QV({key:"",type:"unstyled",text:"",characterList:YV(),depth:0,data:XV()}),rU=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=YV(eU(qV.EMPTY,n.length))),e},oU=function(e){var t,n;function r(t){return e.call(this,rU(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():tU},o.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},o.findStyleRanges=function(e,t){GV(this.getCharacterList(),iU,e,t)},o.findEntityRanges=function(e,t){GV(this.getCharacterList(),aU,e,t)},r}(nU);function iU(e,t){return e.getStyle()===t.getStyle()}function aU(e,t){return e.getEntity()===t.getEntity()}var sU=oU;var cU=$V,uU=WV,lU=DV,fU=lU.List,dU=lU.Map,pU=lU.OrderedSet,hU=lU.Record,gU=lU.Repeat,vU=pU(),yU={parent:null,characterList:fU(),data:dU(),depth:0,key:"",text:"",type:"unstyled",children:fU(),prevSibling:null,nextSibling:null},mU=function(e,t){return e.getStyle()===t.getStyle()},bU=function(e,t){return e.getEntity()===t.getEntity()},wU=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=fU(gU(cU.EMPTY,n.length))),e},xU=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yU;return e.call(this,wU(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():vU},o.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},o.getChildKeys=function(){return this.get("children")},o.getParentKey=function(){return this.get("parent")},o.getPrevSiblingKey=function(){return this.get("prevSibling")},o.getNextSiblingKey=function(){return this.get("nextSibling")},o.findStyleRanges=function(e,t){uU(this.getCharacterList(),mU,e,t)},o.findEntityRanges=function(e,t){uU(this.getCharacterList(),bU,e,t)},r}(hU(yU)),CU=xU,_U=$V,SU=DV.Map;function OU(e,t,n,r){var o=e.getBlockMap(),i=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),c=t.getEndOffset(),u=o.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===s})).concat(SU([[s,o.get(s)]])).map((function(e,t){var o,u;i===s?(o=a,u=c):(o=t===i?a:0,u=t===s?c:e.getLength());for(var l,f=e.getCharacterList();o<u;)l=f.get(o),f=f.set(o,r?_U.applyStyle(l,n):_U.removeStyle(l,n)),o++;return e.set("characterList",f)}));return e.merge({blockMap:o.merge(u),selectionBefore:t,selectionAfter:t})}var kU={add:function(e,t,n){return OU(e,t,n,!0)},remove:function(e,t,n){return OU(e,t,n,!1)}},EU=$V;var TU=function(e,t,n,r){for(var o=t,i=e.getCharacterList();o<n;)i=i.set(o,EU.applyEntity(i.get(o),r)),o++;return e.set("characterList",i)},AU=DV;var jU=function(e,t,n){var r=e.getBlockMap(),o=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),c=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(AU.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===o?i:0,c=t===a?s:e.getLength();return TU(e,r,c,n)}));return e.merge({blockMap:r.merge(c),selectionBefore:t,selectionAfter:t})},MU={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e}));for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(e<(a=s+i[l].length)&&s<t)null!==c||(c=s),u=a;else if(null!==c)break;s=a}var f=r+n.length,d=c===r,p=u===f;return(!d&&p||d&&!p)&&("forward"===o?u!==f&&u++:c!==r&&c--),{start:c,end:u}}},PU="production"!==process.env.NODE_ENV?function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")}:function(e){};var DU=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(PU(t),!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(t.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}},IU=DU;var LU=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"!==process.env.NODE_ENV?IU(!1,"Entity key not found in this range."):IU(!1)),n},RU=MU,NU=LU,BU=DU;function FU(e,t,n,r,o,i,a){var s=n.getStartOffset(),c=n.getEndOffset(),u=e.__get(o).getMutability(),l=a?s:c;if("MUTABLE"===u)return n;var f=NU(t,o).filter((function(e){return l<=e.end&&l>=e.start}));1!=f.length&&("production"!==process.env.NODE_ENV?BU(!1,"There should only be one entity range within this removal range."):BU(!1));var d=f[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});i||(a?c=d.end:s=d.start);var p=RU.getRemovalRange(s,c,t.getText().slice(d.start,d.end),d.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var zU=function(e,t,n,r,o){var i=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(i),c=n.getEntityAt(a-1);if(!s&&!c)return r;var u=r;if(s&&s===c)u=FU(e,t,u,o,s,!0,!0);else if(s&&c){var l=FU(e,t,u,o,s,!1,!0),f=FU(e,n,u,o,c,!1,!1);u=u.merge({anchorOffset:l.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(s){var d=FU(e,t,u,o,s,!1,!0);u=u.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(c){var p=FU(e,n,u,o,c,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},HU={},VU=Math.pow(2,24);var UU=function(){for(var e;void 0===e||HU.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*VU).toString(32);return HU[e]=!0,e},KU=CU,$U=UU,WU=DV.OrderedMap,qU=function(e){return e.first()instanceof KU?function(e){var t,n={};return WU(e.withMutations((function(e){e.forEach((function(r,o){var i=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),c=r.getChildKeys(),u=r.getParentKey(),l=$U();if(n[i]=l,a&&(e.get(a)?e.setIn([a,"prevSibling"],l):e.setIn([i,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],l):e.setIn([i,"prevSibling"],null)),u&&e.get(u)){var f=e.get(u).getChildKeys();e.setIn([u,"children"],f.set(f.indexOf(r.getKey()),l))}else e.setIn([i,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],l),e.setIn([i,"prevSibling"],n[t.getKey()])),t=e.get(i);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],l):e.setIn([i,"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 WU(e.toArray().map((function(e){var t=$U();return[t,e.set("key",t)]})))}(e)},GU=$V,ZU=WV,YU=DU;function XU(e,t,n){var r=t.getCharacterList(),o=n>0?r.get(n-1):void 0,i=n<r.count()?r.get(n):void 0,a=o?o.getEntity():void 0,s=i?i.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var c,u=function(e,t,n){var r;return ZU(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"!==process.env.NODE_ENV?YU(!1,"Removal range must exist within character list."):YU(!1)),r}(r,s,n),l=u.start,f=u.end;l<f;)c=r.get(l),r=r.set(l,GU.applyEntity(c,null)),l++;return t.set("characterList",r)}return t}var JU=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),a=t.getStartOffset(),s=n.get(i),c=XU(r,s,a);c!==s&&(o[i]=c);var u=t.getEndKey(),l=t.getEndOffset(),f=n.get(u);i===u&&(f=c);var d=XU(r,f,l);return d!==f&&(o[u]=d),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)},QU=qU,eK=JU,tK=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=t.getEndKey(),i=t.getEndOffset(),a=eK(e,t).getBlockMap(),s=a.keySeq(),c=s.indexOf(n),u=s.indexOf(o)+1;return QU(a.slice(c,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===o?e.merge({text:a.slice(r,i),characterList:s.slice(r,i)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===o?e.merge({text:a.slice(0,i),characterList:s.slice(0,i)}):e})))};var nK=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 o=r.slice(0,n),i=r.slice(n);r=o.concat(t,i).toList()}return r},rK=LV,oK=CU,iK=nK,aK=DU,sK=qU,cK=DV.List,uK=function(e,t,n,r,o,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(o),c=s.getText(),u=s.getCharacterList(),l=o,f=i+r.getText().length,d=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":d=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":d=r.getData()}var p=s.getType();c&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:iK(u,r.getCharacterList(),i),type:p,data:d});return e.merge({blockMap:n.set(o,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})},lK=function(e,t,n,r,o,i){var a=n.first()instanceof oK,s=[],c=r.size,u=n.get(o),l=r.first(),f=r.last(),d=f.getLength(),p=f.getKey(),h=a&&(!u.getChildKeys().isEmpty()||!l.getChildKeys().isEmpty());n.forEach((function(e,t){t===o?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,i,r)),r.slice(h?0:1,c-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(e,i,r))):s.push(e)}));var g=rK.createFromArray(s);return a&&(g=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),u=c[c.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),c.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var l=e.get(s).getChildKeys(),f=l.indexOf(o)+1,d=l.toArray();d.splice.apply(d,[f,0].concat(c)),t.setIn([s,"children"],cK(d))}}))}(g,0,u,l)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:d,focusKey:p,focusOffset:d,isBackward:!1})})},fK=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==process.env.NODE_ENV?aK(!1,"`insertFragment` should only be called with a collapsed selection state."):aK(!1));var o=e.getBlockMap(),i=sK(n),a=t.getStartKey(),s=t.getStartOffset(),c=o.get(a);return c instanceof oK&&(c.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?aK(!1,"`insertFragment` should not be called when a container node is selected."):aK(!1))),1===i.size?uK(e,t,o,i.first(),a,s,r):lK(e,t,o,i,a,s)},dK=nK,pK=DU,hK=DV.Repeat;var gK=function(e,t,n,r){t.isCollapsed()||("production"!==process.env.NODE_ENV?pK(!1,"`insertText` should only be called with a collapsed range."):pK(!1));var o=null;if(null!=n&&(o=n.length),null==o||0===o)return e;var i=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),c=i.get(a),u=c.getText(),l=c.merge({text:u.slice(0,s)+n+u.slice(s,c.getLength()),characterList:dK(c.getCharacterList(),hK(r,o).toList(),s)}),f=s+o;return e.merge({blockMap:i.set(a,l),selectionAfter:t.merge({anchorOffset:f,focusOffset:f})})},vK=DV.Map;var yK=function(e,t,n){var r=t.getStartKey(),o=t.getEndKey(),i=e.getBlockMap(),a=i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat(vK([[o,i.get(o)]])).map(n);return e.merge({blockMap:i.merge(a),selectionBefore:t,selectionAfter:t})},mK=CU,bK=function(e,t){if(!(e instanceof mK))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var o=t.get(r);o&&!o.getNextSiblingKey();){var i=o.getParentKey();o=i?t.get(i):null}return o?o.getNextSiblingKey():null},wK=CU,xK=bK,CK=DV;CK.List;var _K=CK.Map,SK=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},OK=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},kK=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},EK=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},TK=function(e,t,n,r){return e.withMutations((function(o){if(SK(t.getKey(),o,(function(e){return e.merge({nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})})),SK(n.getKey(),o,(function(e){return e.merge({nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})})),OK(t.getKey(),r).forEach((function(e){return SK(e,o,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return o.get(e)})),nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})}))})),SK(t.getNextSiblingKey(),o,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),SK(t.getPrevSiblingKey(),o,(function(e){return e.merge({nextSibling:kK(e,o,r)})})),SK(n.getNextSiblingKey(),o,(function(e){return e.merge({prevSibling:EK(e,o,r)})})),SK(n.getPrevSiblingKey(),o,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),OK(n.getKey(),r).forEach((function(e){SK(e,o,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return o.get(e)})),nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=xK(e,t);r&&t.get(r);){var o=t.get(r);n.push(r),r=o.getParentKey()?xK(o,t):null}return n}(n,r).forEach((function(e){return SK(e,o,(function(e){return e.merge({nextSibling:kK(e,o,r),prevSibling:EK(e,o,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var i=t.getPrevSiblingKey();SK(n.getKey(),o,(function(e){return e.merge({prevSibling:i})})),SK(i,o,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=i?e.get(i):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){SK(e,o,(function(e){return e.merge({parent:s})}))})),null!=s){var c=e.get(s);SK(s,o,(function(e){return e.merge({children:c.getChildKeys().concat(t.getChildKeys())})}))}SK(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),o,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},AK=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),o=e.slice(n);e=r.concat(o).toList()}return e},jK=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),o=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),c=r.get(o),u=r.get(a),l=c instanceof wK,f=[];if(l){var d=u.getChildKeys(),p=OK(a,r);u.getNextSiblingKey()&&(f=f.concat(p)),d.isEmpty()||(f=f.concat(p.concat([a]))),f=f.concat(OK(xK(u,r),r))}n=c===u?AK(c.getCharacterList(),i,s):c.getCharacterList().slice(0,i).concat(u.getCharacterList().slice(s));var h=c.merge({text:c.getText().slice(0,i)+u.getText().slice(s),characterList:n}),g=l&&0===i&&0===s&&u.getParentKey()===o&&null==u.getPrevSiblingKey()?_K([[o,null]]):r.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===f.indexOf(t)})).concat(_K([[a,null]])).map((function(e,t){return t===o?h:null})),v=r.merge(g).filter((function(e){return!!e}));return l&&c!==u&&(v=TK(v,c,u,r)),e.merge({blockMap:v,selectionBefore:t,selectionAfter:t.merge({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,isBackward:!1})})},MK=CU,PK=UU,DK=DV,IK=DU,LK=yK,RK=DK.List,NK=DK.Map,BK=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},FK=function(e,t){t.isCollapsed()||("production"!==process.env.NODE_ENV?IK(!1,"Selection range must be collapsed."):IK(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),o=r.get(n),i=o.getText();if(!i){var a=o.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return LK(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),c=o.getCharacterList(),u=PK(),l=o instanceof MK,f=o.merge({text:i.slice(0,s),characterList:c.slice(0,s)}),d=f.merge({key:u,text:i.slice(s),characterList:c.slice(s),data:NK()}),p=r.toSeq().takeUntil((function(e){return e===o})),h=r.toSeq().skipUntil((function(e){return e===o})).rest(),g=p.concat([[n,f],[u,d]],h).toOrderedMap();return l&&(o.getChildKeys().isEmpty()||("production"!==process.env.NODE_ENV?IK(!1,"ContentBlockNode must not have children"):IK(!1)),g=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();BK(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:RK(i)})})),BK(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),BK(r,e,(function(e){return e.merge({nextSibling:o})})),BK(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(g,f,d)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},zK=$V,HK=kU,VK=jU,UK=zU,KK=tK,$K=fK,WK=gK,qK=DU,GK=yK,ZK=JU,YK=jK,XK=FK,JK=DV.OrderedSet,QK={replaceText:function(e,t,n,r,o){var i=ZK(e,t),a=YK(i,t),s=zK.create({style:r||JK(),entity:o||null});return WK(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,o){return t.isCollapsed()||("production"!==process.env.NODE_ENV?qK(!1,"Target range must be collapsed for `insertText`."):qK(!1)),QK.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=KK(e,t),o=QK.removeRange(e,t,"backward");return QK.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=ZK(e,t),i=YK(o,t);return $K(i,i.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,o,i,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r),a=e.getBlockForKey(o);var s=t.getStartOffset(),c=t.getEndOffset(),u=i.getEntityAt(s),l=a.getEntityAt(c-1);if(r===o&&u&&u===l){var f=UK(e.getEntityMap(),i,a,t,n);return YK(e,f)}var d=ZK(e,t);return YK(d,t)},splitBlock:function(e,t){var n=ZK(e,t),r=YK(n,t);return XK(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return HK.add(e,t,n)},removeInlineStyle:function(e,t,n){return HK.remove(e,t,n)},setBlockType:function(e,t,n){return GK(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return GK(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return GK(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=ZK(e,t);return VK(r,t,n)}},e$=QK;var t$=function(e){return Object.keys(e).map((function(t){return e[t]}))};function n$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r$=WV,o$=t$,i$=DV,a$=i$.List,s$=i$.Repeat,c$=i$.Record,u$=function(){return!0},l$=c$({start:null,end:null}),f$=c$({start:null,end:null,decoratorKey:null,leaves:null}),d$={generate:function(e,t,n){var r=t.getLength();if(!r)return a$.of(new f$({start:0,end:0,decoratorKey:null,leaves:a$.of(new l$({start:0,end:0}))}));var o=[],i=n?n.getDecorations(t,e):a$(s$(null,r)),a=t.getCharacterList();return r$(i,h$,u$,(function(e,t){o.push(new f$({start:e,end:t,decoratorKey:i.get(e),leaves:p$(a.slice(e,t).toList(),e)}))})),a$(o)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["leaves"]);return new f$(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){n$(e,t,n[t])}))}return e}({},n,{leaves:null!=t?a$(Array.isArray(t)?t:o$(t)).map((function(e){return l$(e)})):null}))}};function p$(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return r$(r,h$,u$,(function(e,r){n.push(new l$({start:e+t,end:r+t}))})),a$(n)}function h$(e,t){return e===t}var g$=d$;var v$=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 o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,DV.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),y$=v$;var m$=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 b$(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$=y$,x$=DU,C$=m$,_$=(0,DV.Map)(),S$=C$();function O$(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var k$={getLastCreatedEntityKey:function(){return O$("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),k$.__getLastCreatedEntityKey()},create:function(e,t,n){return O$("DraftEntity.create","contentState.createEntity"),k$.__create(e,t,n)},add:function(e){return O$("DraftEntity.add","contentState.addEntity"),k$.__add(e)},get:function(e){return O$("DraftEntity.get","contentState.getEntity"),k$.__get(e)},__getAll:function(){return _$},__loadWithEntities:function(e){_$=e,S$=C$()},mergeData:function(e,t){return O$("DraftEntity.mergeData","contentState.mergeEntityData"),k$.__mergeData(e,t)},replaceData:function(e,t){return O$("DraftEntity.replaceData","contentState.replaceEntityData"),k$.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return S$},__create:function(e,t,n){return k$.__add(new w$({type:e,mutability:t,data:n||{}}))},__add:function(e){return S$=C$(),_$=_$.set(S$,e),S$},__get:function(e){var t=_$.get(e);return t||("production"!==process.env.NODE_ENV?x$(!1,"Unknown DraftEntity key: %s.",e):x$(!1)),t},__mergeData:function(e,t){var n=k$.__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){b$(e,t,n[t])}))}return e}({},n.getData(),t),o=n.set("data",r);return _$=_$.set(e,o),o},__replaceData:function(e,t){var n=k$.__get(e).set("data",t);return _$=_$.set(e,n),n}},E$=k$;var T$=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 o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset(),a=this.getEndOffset();return t<=i&&i<=n||t<=a&&a<=n}if(e!==r&&e!==o)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.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,DV.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),A$=T$,j$=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},M$=new RegExp("\r","g");var P$=function(e){return e.replace(M$,"")};function D$(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){I$(e,t,n[t])}))}return e}function I$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L$=LV,R$=$V,N$=sU,B$=CU,F$=E$,z$=A$,H$=UU,V$=t$,U$=j$,K$=DV,$$=P$,W$=K$.List,q$=K$.Record,G$=K$.Repeat,Z$=K$.Map,Y$=K$.OrderedMap,X$=q$({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),J$=U$("draft_tree_data_support")?B$:N$,Q$=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 o=r.prototype;return o.getEntityMap=function(){return F$},o.getBlockMap=function(){return this.get("blockMap")},o.getSelectionBefore=function(){return this.get("selectionBefore")},o.getSelectionAfter=function(){return this.get("selectionAfter")},o.getBlockForKey=function(e){return this.getBlockMap().get(e)},o.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},o.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},o.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},o.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},o.getBlocksAsArray=function(){return this.getBlockMap().toArray()},o.getFirstBlock=function(){return this.getBlockMap().first()},o.getLastBlock=function(){return this.getBlockMap().last()},o.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},o.getLastCreatedEntityKey=function(){return F$.__getLastCreatedEntityKey()},o.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},o.createEntity=function(e,t,n){return F$.__create(e,t,n),this},o.mergeEntityData=function(e,t){return F$.__mergeData(e,t),this},o.replaceEntityData=function(e,t){return F$.__replaceData(e,t),this},o.addEntity=function(e){return F$.__add(e),this},o.getEntity=function(e){return F$.__get(e)},o.getAllEntities=function(){return F$.__getAll()},o.loadWithEntities=function(e){return F$.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,o=L$.createFromArray(n),i=o.isEmpty()?new z$:z$.createEmpty(o.first().getKey());return new r({blockMap:o,entityMap:t||F$,selectionBefore:i,selectionAfter:i})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t).map((function(e){return e=$$(e),new J$({key:H$(),text:e,type:"unstyled",characterList:W$(G$(R$.EMPTY,e.length))})}));return r.createFromBlockArray(n)},r.fromJS=function(e){return new r(D$({},e,{blockMap:Y$(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new z$(e.selectionBefore),selectionAfter:new z$(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new J$(D$({},e,{data:Z$(e.data),characterList:null!=t?W$((Array.isArray(t)?t:V$(t)).map((function(e){return R$.fromJS(e)}))):void 0}))},r}(X$),eW=Q$,tW=DU,nW="LTR",rW="RTL",oW=null;function iW(e){return e===nW||e===rW}function aW(e){return iW(e)||("production"!==process.env.NODE_ENV?tW(!1,"`dir` must be a strong direction to be converted to HTML Direction"):tW(!1)),e===nW?"ltr":"rtl"}function sW(e){oW=e}var cW={NEUTRAL:"NEUTRAL",LTR:nW,RTL:rW,isStrong:iW,getHTMLDir:aW,getHTMLDirIfDifferent:function(e,t){return iW(e)||("production"!==process.env.NODE_ENV?tW(!1,"`dir` must be a strong direction to be converted to HTML Direction"):tW(!1)),iW(t)||("production"!==process.env.NODE_ENV?tW(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):tW(!1)),e===t?null:aW(e)},setGlobalDir:sW,initGlobalDir:function(){sW(nW)},getGlobalDir:function(){return oW||this.initGlobalDir(),oW||("production"!==process.env.NODE_ENV?tW(!1,"Global direction not set."):tW(!1)),oW}},uW=cW,lW=DU,fW="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",dW="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",pW=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+fW+dW+"]"),hW=new RegExp("["+fW+dW+"]");function gW(e){var t=pW.exec(e);return null==t?null:t[0]}function vW(e){var t=gW(e);return null==t?uW.NEUTRAL:hW.exec(t)?uW.RTL:uW.LTR}function yW(e,t){if(t=t||uW.NEUTRAL,!e.length)return t;var n=vW(e);return n===uW.NEUTRAL?t:n}function mW(e,t){return t||(t=uW.getGlobalDir()),uW.isStrong(t)||("production"!==process.env.NODE_ENV?lW(!1,"Fallback direction must be a strong direction"):lW(!1)),yW(e,t)}var bW={firstStrongChar:gW,firstStrongCharDir:vW,resolveBlockDir:yW,getDirection:mW,isDirectionLTR:function(e,t){return mW(e,t)===uW.LTR},isDirectionRTL:function(e,t){return mW(e,t)===uW.RTL}};function wW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xW,CW=bW,_W=cW,SW=DU,OW=function(){function e(e){wW(this,"_defaultDir",void 0),wW(this,"_lastDir",void 0),e?_W.isStrong(e)||("production"!==process.env.NODE_ENV?SW(!1,"Default direction must be a strong direction (LTR or RTL)"):SW(!1)):e=_W.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=CW.getDirection(e,this._lastDir),this._lastDir},e}(),kW=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},EW=OW,TW=DV,AW=kW,jW=TW.OrderedMap;function MW(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){PW(e,t,n[t])}))}return e}function PW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DW=g$,IW=eW,LW={getDirectionMap:function(e,t){xW?xW.reset():xW=new EW;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return AW(xW).getDirection(e.getText())})),o=jW(n.keySeq().zip(r));return null!=t&&TW.is(t,o)?t:o}},RW=A$,NW=DV,BW=NW.OrderedSet,FW=NW.Record,zW=NW.Stack,HW=NW.OrderedMap,VW=NW.List,UW=FW({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:zW(),selection:null,treeMap:null,undoStack:zW()}),KW=function(){t.createEmpty=function(e){return this.createWithText("",e)},t.createWithText=function(e,n){return t.createWithContent(IW.createFromText(e),n)},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:zW(),redoStack:zW(),decorator:n||null,selection:RW.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=MW({},e,{treeMap:WW(n,e.decorator),directionMap:LW.getDirectionMap(n)});return new t(new UW(r))},t.fromJS=function(e){return new t(new UW(MW({},e,{directionMap:null!=e.directionMap?HW(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?BW(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?IW.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?zW(e.redoStack.map((function(e){return IW.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new RW(e.selection):e.selection,treeMap:null!=e.treeMap?HW(e.treeMap).map((function(e){return VW(e).map((function(e){return DW.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?zW(e.undoStack.map((function(e){return IW.fromJS(e)}))):e.undoStack,currentContent:IW.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var i=n.currentContent||e.getCurrentContent();if(o!==r){var a,s=t.get("treeMap");return a=o&&r?function(e,t,n,r,o){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==o.getDecorations(t,e)})).map((function(t){return DW.generate(e,t,r)})))}(i,i.getBlockMap(),s,o,r):WW(i,o),void t.merge({decorator:o,treeMap:a,nativelyRenderedContent:null})}i!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var o=e.getCurrentContent().set("entityMap",n),i=o.getBlockMap(),a=e.getImmutable().get("treeMap");return a.merge(t.toSeq().filter((function(e,t){return e!==i.get(t)})).map((function(e){return DW.generate(o,e,r)})))}(e,i.getBlockMap(),i.getEntityMap(),o)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){PW(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(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return qW(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return qW(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 $W(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),$W(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new RW({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var i=LW.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),c=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(e,r)?(c=c.push(s),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",s.getSelectionBefore()));var l=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(l=null);var f={currentContent:u,directionMap:i,undoStack:c,redoStack:zW(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:l};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 o=e.getCurrentContent(),i=LW.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=LW.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function $W(e,t,n){return KW.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function WW(e,t){return e.getBlockMap().map((function(n){return DW.generate(e,n,t)})).toOrderedMap()}function qW(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):BW()}var GW=KW,ZW=CU,YW=bK,XW=DV,JW=DU,QW=XW.OrderedMap,eq=XW.List,tq=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},nq=function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),s=n.getKey(),c=t.getParentKey(),u=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),f=n.getParentKey(),d=i?n.getNextSiblingKey():s,p=i?s:n.getPrevSiblingKey();return e.withMutations((function(e){tq(c,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),tq(l,e,(function(e){return e.merge({nextSibling:u})})),tq(u,e,(function(e){return e.merge({prevSibling:l})})),tq(d,e,(function(e){return e.merge({prevSibling:a})})),tq(p,e,(function(e){return e.merge({nextSibling:a})})),tq(f,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:eq(o)})})),tq(a,e,(function(e){return e.merge({nextSibling:d,prevSibling:p,parent:f})}))}))};function rq(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){oq(e,t,n[t])}))}return e}function oq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iq=LV,aq=$V,sq=sU,cq=CU,uq=e$,lq=GW,fq=UU,dq=DV,pq=function(e,t,n,r){"replace"===r&&("production"!==process.env.NODE_ENV?JW(!1,"Replacing blocks is not supported."):JW(!1));var o=n.getKey(),i=t.getKey();i===o&&("production"!==process.env.NODE_ENV?JW(!1,"Block cannot be moved next to itself."):JW(!1));var a=e.getBlockMap(),s=t instanceof ZW,c=[t],u=a.delete(i);s&&(c=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=YW(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===i})).takeWhile((function(e){var t=e.getKey(),o=t===i,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||a||s)})).forEach((function(t){c.push(t),e.delete(t.getKey())}))})));var l=u.toSeq().takeUntil((function(e){return e===n})),f=u.toSeq().skipUntil((function(e){return e===n})).skip(1),d=c.map((function(e){return[e.getKey(),e]})),p=QW();if("before"===r){var h=e.getBlockBefore(o);h&&h.getKey()===t.getKey()&&("production"!==process.env.NODE_ENV?JW(!1,"Block cannot be moved next to itself."):JW(!1)),p=l.concat([].concat(d,[[o,n]]),f).toOrderedMap()}else if("after"===r){var g=e.getBlockAfter(o);g&&g.getKey()===i&&("production"!==process.env.NODE_ENV?JW(!1,"Block cannot be moved next to itself."):JW(!1)),p=l.concat([[o,n]].concat(d),f).toOrderedMap()}return e.merge({blockMap:nq(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:i,focusKey:i})})},hq=j$("draft_tree_data_support"),gq=hq?cq:sq,vq=dq.List,yq=dq.Repeat,mq={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),o=e.getSelection(),i=uq.removeRange(r,o,"backward"),a=i.getSelectionAfter(),s=uq.splitBlock(i,a),c=s.getSelectionAfter(),u=uq.setBlockType(s,c,"atomic"),l=aq.create({entity:t}),f={key:fq(),type:"atomic",text:n,characterList:vq(yq(l,n.length))},d={key:fq(),type:"unstyled"};hq&&(f=rq({},f,{nextSibling:d.key}),d=rq({},d,{prevSibling:f.key}));var p=[new gq(f),new gq(d)],h=iq.createFromArray(p),g=uq.replaceWithFragment(u,c,h),v=g.merge({selectionBefore:o,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return lq.push(e,v,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o,i=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=pq(i,t,s,r)}else{var c=uq.removeRange(i,n,"backward"),u=c.getSelectionAfter(),l=c.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())o=pq(c,t,l,"before");else if(u.getEndOffset()===l.getLength())o=pq(c,t,l,"after");else{var f=uq.splitBlock(c,u),d=f.getSelectionAfter(),p=f.getBlockForKey(d.getFocusKey());o=pq(f,t,p,"before")}}var h=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return lq.push(e,h,"move-block")}};var bq=DV.List,wq=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,o){var i=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 o=t;o<n;o++)e[o]=r}(n,e,t,o+"."+i),i++)}),t)})),bq(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 xq=wq;function Cq(e){return e.replace(/\//g,"-")}var _q=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(Cq).join(" "):Array.prototype.map.call(arguments,Cq).join(" ")},Sq=o,Oq=_q,kq=(0,DV.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:Sq.createElement("ul",{className:Oq("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:Sq.createElement("ol",{className:Oq("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:Sq.createElement("pre",{className:Oq("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),Eq={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},Tq={exports:{}};!function(e,t){!function(n,r){var o="function",i="undefined",a="object",s="string",c="model",u="name",l="type",f="vendor",d="version",p="architecture",h="console",g="mobile",v="tablet",y="smarttv",m="wearable",b="embedded",w="Amazon",x="Apple",C="ASUS",_="BlackBerry",S="Browser",O="Chrome",k="Firefox",E="Google",T="Huawei",A="LG",j="Microsoft",M="Motorola",P="Opera",D="Samsung",I="Sharp",L="Sony",R="Xiaomi",N="Zebra",B="Facebook",F=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===s&&-1!==H(t).indexOf(H(e))},H=function(e){return e.toLowerCase()},V=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,350)},U=function(e,t){for(var n,i,s,c,u,l,f=0;f<t.length&&!u;){var d=t[f],p=t[f+1];for(n=i=0;n<d.length&&!u;)if(u=d[n++].exec(e))for(s=0;s<p.length;s++)l=u[++i],typeof(c=p[s])===a&&c.length>0?2===c.length?typeof c[1]==o?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==o||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):r:this[c[0]]=l?c[1].call(this,l,c[2]):r:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):r):this[c]=l||r;f+=2}},K=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var o=0;o<t[n].length;o++)if(z(t[n][o],e))return"?"===n?r:n}else if(z(t[n],e))return"?"===n?r:n;return e},$={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],[d,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,d],[/opios[\/ ]+([\w\.]+)/i],[d,[u,P+" Mini"]],[/\bopr\/([\w\.]+)/i],[d,[u,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|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[u,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[d,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+S],d],[/\bfocus\/([\w\.]+)/i],[d,[u,k+" Focus"]],[/\bopt\/([\w\.]+)/i],[d,[u,P+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[u,P+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[u,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[d,[u,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+S]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+S],d],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,B],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[u,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,O+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[u,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[d,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[u,k+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,d],[/(cobalt)\/([\w\.]+)/i],[u,[d,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,H]],[/((?: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/,"",H]],[/(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,H]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[f,D],[l,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[f,D],[l,g]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[f,x],[l,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[f,x],[l,v]],[/(macintosh);/i],[c,[f,x]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[f,T],[l,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[f,T],[l,g]],[/\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|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[f,R],[l,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[f,R],[l,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[f,"OPPO"],[l,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[f,"Vivo"],[l,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[f,"Realme"],[l,g]],[/\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],[c,[f,M],[l,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[f,M],[l,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[f,A],[l,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[f,A],[l,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[f,"Lenovo"],[l,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[f,"Nokia"],[l,g]],[/(pixel c)\b/i],[c,[f,E],[l,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[f,E],[l,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[f,L],[l,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[f,L],[l,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[f,"OnePlus"],[l,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[f,w],[l,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[f,w],[l,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,f,[l,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[f,_],[l,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[f,C],[l,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[f,C],[l,g]],[/(nexus 9)/i],[c,[f,"HTC"],[l,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[c,/_/g," "],[l,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[f,"Acer"],[l,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[f,"Meizu"],[l,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[f,I],[l,g]],[/(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],[f,c,[l,g]],[/(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],[f,c,[l,v]],[/(surface duo)/i],[c,[f,j],[l,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[f,"Fairphone"],[l,g]],[/(u304aa)/i],[c,[f,"AT&T"],[l,g]],[/\bsie-(\w*)/i],[c,[f,"Siemens"],[l,g]],[/\b(rct\w+) b/i],[c,[f,"RCA"],[l,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[f,"Dell"],[l,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[f,"Verizon"],[l,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[f,"Barnes & Noble"],[l,v]],[/\b(tm\d{3}\w+) b/i],[c,[f,"NuVision"],[l,v]],[/\b(k88) b/i],[c,[f,"ZTE"],[l,v]],[/\b(nx\d{3}j) b/i],[c,[f,"ZTE"],[l,g]],[/\b(gen\d{3}) b.+49h/i],[c,[f,"Swiss"],[l,g]],[/\b(zur\d{3}) b/i],[c,[f,"Swiss"],[l,v]],[/\b((zeki)?tb.*\b) b/i],[c,[f,"Zeki"],[l,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],c,[l,v]],[/\b(ns-?\w{0,9}) b/i],[c,[f,"Insignia"],[l,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[f,"NextBook"],[l,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],c,[l,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],c,[l,g]],[/\b(ph-1) /i],[c,[f,"Essential"],[l,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[f,"Envizen"],[l,v]],[/\b(trio[-\w\. ]+) b/i],[c,[f,"MachSpeed"],[l,v]],[/\btu_(1491) b/i],[c,[f,"Rotor"],[l,v]],[/(shield[\w ]+) b/i],[c,[f,"Nvidia"],[l,v]],[/(sprint) (\w+)/i],[f,c,[l,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[f,j],[l,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[f,N],[l,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[f,N],[l,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,c,[l,h]],[/droid.+; (shield) bui/i],[c,[f,"Nvidia"],[l,h]],[/(playstation [345portablevi]+)/i],[c,[f,L],[l,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[f,j],[l,h]],[/smart-tv.+(samsung)/i],[f,[l,y]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[f,D],[l,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,A],[l,y]],[/(apple) ?tv/i],[f,[c,x+" TV"],[l,y]],[/crkey/i],[[c,O+"cast"],[f,E],[l,y]],[/droid.+aft(\w)( bui|\))/i],[c,[f,w],[l,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[f,I],[l,y]],[/(bravia[\w ]+)( bui|\))/i],[c,[f,L],[l,y]],[/(mitv-\w{5}) bui/i],[c,[f,R],[l,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[f,V],[c,V],[l,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,y]],[/((pebble))app/i],[f,c,[l,m]],[/droid.+; (glass) \d/i],[c,[f,E],[l,m]],[/droid.+; (wt63?0{2,3})\)/i],[c,[f,N],[l,m]],[/(quest( 2)?)/i],[c,[f,B],[l,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[l,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[l,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[d,K,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[d,K,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,d],[/\(bb(10);/i],[d,[u,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[u,k+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[u,O+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],d],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,d],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,d]]},q=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof q))return new q(e,t).getResult();var o=e||(typeof n!==i&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),h=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,t={};return t[u]=r,t[d]=r,U.call(t,o,h.browser),t.major=typeof(e=t.version)===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r,t},this.getCPU=function(){var e={};return e[p]=r,U.call(e,o,h.cpu),e},this.getDevice=function(){var e={};return e[f]=r,e[c]=r,e[l]=r,U.call(e,o,h.device),e},this.getEngine=function(){var e={};return e[u]=r,e[d]=r,U.call(e,o,h.engine),e},this.getOS=function(){var e={};return e[u]=r,e[d]=r,U.call(e,o,h.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 o},this.setUA=function(e){return o=typeof e===s&&e.length>350?V(e,350):e,this},this.setUA(o),this};q.VERSION="0.7.33",q.BROWSER=F([u,d,"major"]),q.CPU=F([p]),q.DEVICE=F([c,f,l,h,g,y,v,m,b]),q.ENGINE=q.OS=F([u,d]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==i&&(n.jQuery||n.Zepto);if(G&&!G.ua){var Z=new q;G.ua=Z.getResult(),G.ua.get=function(){return Z.getUA()},G.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:Lt)}(Tq,Tq.exports);var Aq="Unknown",jq={"Mac OS":"Mac OS X"};var Mq,Pq=(new(0,Tq.exports)).getResult(),Dq=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(Pq.browser.version),Iq={browserArchitecture:Pq.cpu.architecture||Aq,browserFullVersion:Pq.browser.version||Aq,browserMinorVersion:Dq.minor||Aq,browserName:Pq.browser.name||Aq,browserVersion:Pq.browser.major||Aq,deviceName:Pq.device.model||Aq,engineName:Pq.engine.name||Aq,engineVersion:Pq.engine.version||Aq,platformArchitecture:Pq.cpu.architecture||Aq,platformName:(Mq=Pq.os.name,jq[Mq]||Mq||Aq),platformVersion:Pq.os.version||Aq,platformFullVersion:Pq.os.version||Aq},Lq=DU,Rq=/\./,Nq=/\|\|/,Bq=/\s+\-\s+/,Fq=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,zq=/^(\d*)(.*)/;function Hq(e,t){var n=e.split(Nq);return n.length>1?n.some((function(e){return Jq.contains(e,t)})):function(e,t){var n=e.split(Bq);if(n.length>0&&n.length<=2||("production"!==process.env.NODE_ENV?Lq(!1,'the "-" operator expects exactly 2 operands'):Lq(!1)),1===n.length)return Vq(n[0],t);var r=n[0],o=n[1];return qq(r)&&qq(o)||("production"!==process.env.NODE_ENV?Lq(!1,'operands to the "-" operator must be simple (no modifiers)'):Lq(!1)),Vq(">="+r,t)&&Vq("<="+o,t)}(e=n[0].trim(),t)}function Vq(e,t){if(""===(e=e.trim()))return!0;var n=t.split(Rq),r=$q(e),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return Uq(n,i);case"<=":return function(e,t){var n=Xq(e,t);return-1===n||0===n}(n,i);case">=":return Kq(n,i);case">":return function(e,t){return 1===Xq(e,t)}(n,i);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);Wq(i)&&(r[o]=i+1+"");return Kq(e,n)&&Uq(e,r)}(n,i);default:return function(e,t){return 0===Xq(e,t)}(n,i)}}function Uq(e,t){return-1===Xq(e,t)}function Kq(e,t){var n=Xq(e,t);return 1===n||0===n}function $q(e){var t=e.split(Rq),n=t[0].match(Fq);return n||("production"!==process.env.NODE_ENV?Lq(!1,"expected regex to match but it did not"):Lq(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function Wq(e){return!isNaN(e)&&isFinite(e)}function qq(e){return!$q(e).modifier}function Gq(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Zq(e,t){var n=e.match(zq)[1],r=t.match(zq)[1],o=parseInt(n,10),i=parseInt(r,10);return Wq(o)&&Wq(i)&&o!==i?Yq(o,i):Yq(e,t)}function Yq(e,t){return typeof e!=typeof t&&("production"!==process.env.NODE_ENV?Lq(!1,'"a" and "b" must be of the same type'):Lq(!1)),e>t?1:e<t?-1:0}function Xq(e,t){for(var n=function(e,t){Gq(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 o=n;o<e.length;o++)e[o]="0"}return Gq(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=Zq(r[i],o[i]);if(a)return a}return 0}var Jq={contains:function(e,t){return Hq(e.trim(),t.trim())}},Qq=Jq,eG=Object.prototype.hasOwnProperty;var tG=function(e,t,n){if(!e)return null;var r={};for(var o in e)eG.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r};var nG=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},rG=Iq,oG=Qq;function iG(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var o=n.slice(e.length);return!!t&&(o=r?r(o):o,oG.contains(o,t))}function aG(e){return"Windows"===rG.platformName?e.replace(/^\s*NT/,""):e}var sG=tG({isBrowser:function(e){return iG(rG.browserName,rG.browserFullVersion,e)},isBrowserArchitecture:function(e){return iG(rG.browserArchitecture,null,e)},isDevice:function(e){return iG(rG.deviceName,null,e)},isEngine:function(e){return iG(rG.engineName,rG.engineVersion,e)},isPlatform:function(e){return iG(rG.platformName,rG.platformFullVersion,e,aG)},isPlatformArchitecture:function(e){return iG(rG.platformArchitecture,null,e)}},nG);var cG=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var uG=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},lG=uG;var fG=function e(t){if(lG(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var o=0;o<n.childNodes.length;o++){var i=e(n.childNodes[o]);if(i)return i}}return null},dG=cG,pG=fG;var hG=function(e){for(var t=e;t&&t!==dG(e).documentElement;){var n=pG(t);if(null!=n)return n;t=t.parentNode}return null};var gG=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function vG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yG=sG,mG=hG,bG=gG,wG=DU,xG=kW,CG=DV.Map,_G={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},SG=yG.isBrowser("IE <= 11"),OG=function(){function e(e){var t=this;vG(this,"observer",void 0),vG(this,"container",void 0),vG(this,"mutations",void 0),vG(this,"onCharData",void 0),this.container=e,this.mutations=CG();var n=bG(e);n.MutationObserver&&!SG?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==process.env.NODE_ENV?wG(!1,"Expected target to be an instance of Node"):wG(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,_G):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=CG(),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 SG?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=xG(mG(e.target));this.mutations=this.mutations.set(n,t)}},e}(),kG="-",EG={encode:function(e,t,n){return e+kG+t+kG+n},decode:function(e){var t=e.split(kG).reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join(kG),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},TG={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},AG={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var jG=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},MG=DU,PG=jG;var DG=function(e){var t=e.editorContainer;return t||("production"!==process.env.NODE_ENV?MG(!1,"Missing editorNode"):MG(!1)),PG(t.firstChild)||("production"!==process.env.NODE_ENV?MG(!1,"editorNode.firstChild is not an HTMLElement"):MG(!1)),t.firstChild},IG=EG,LG=kW;var RG=function(e,t,n,r,o){var i=LG(e.getSelection());if(!t||!r)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),i;var a=IG.decode(t),s=a.blockKey,c=e.getBlockTree(s),u=c&&c.getIn([a.decoratorKey,"leaves",a.leafKey]),l=IG.decode(r),f=l.blockKey,d=e.getBlockTree(f),p=d&&d.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!u||!p)return"production"!==process.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),i;var h=u.get("start"),g=p.get("start"),v=u?h+n:null,y=p?g+o:null;if(i.getAnchorKey()===s&&i.getAnchorOffset()===v&&i.getFocusKey()===f&&i.getFocusOffset()===y)return i;var m=!1;if(s===f){var b=u.get("end"),w=p.get("end");m=g===h&&w===b?o<n:g<h}else{m=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===f})).first()===f}return i.merge({anchorKey:s,anchorOffset:v,focusKey:f,focusOffset:y,isBackward:m})},NG=hG,BG=fG,FG=RG,zG=DU,HG=uG,VG=kW;function UG(e,t,n){var r=t,o=NG(r);(null!=o||e&&(e===r||e.firstChild===r)||("production"!==process.env.NODE_ENV?zG(!1,"Unknown node in selection range."):zG(!1)),e===r)&&(r=r.firstChild,HG(r)||("production"!==process.env.NODE_ENV?zG(!1,"Invalid DraftEditorContents node."):zG(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==process.env.NODE_ENV?zG(!1,"Invalid DraftEditorContents structure."):zG(!1)),n>0&&(n=r.childNodes.length));if(0===n){var i=null;if(null!=o)i=o;else{var a=function(e){for(;e.firstChild&&(HG(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||BG(e.firstChild));)e=e.firstChild;return e}(r);i=VG(BG(a))}return{key:i,offset:0}}var s=r.childNodes[n-1],c=null,u=null;if(BG(s)){var l=function(e){for(;e.lastChild&&(HG(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||BG(e.lastChild));)e=e.lastChild;return e}(s);c=VG(BG(l)),u=KG(l)}else c=VG(o),u=KG(s);return{key:c,offset:u}}function KG(e){var t=e.textContent;return"\n"===t?0:t.length}var $G=function(e,t,n,r,o,i){var a=n.nodeType===Node.TEXT_NODE,s=o.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:FG(e,VG(NG(n)),r,VG(NG(o)),i),needsRecovery:!1};var c=null,u=null,l=!0;return a?(c={key:VG(NG(n)),offset:r},u=UG(t,o,i)):s?(u={key:VG(NG(o)),offset:i},c=UG(t,n,r)):(c=UG(t,n,r),u=UG(t,o,i),n===o&&r===i&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:FG(e,c.key,c.offset,u.key,u.offset),needsRecovery:l}},WG=$G;var qG=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,o=n.anchorOffset,i=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==i?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:WG(e,t,r,o,i,a)},GG=AG,ZG=GW,YG=DG,XG=qG;var JG=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();GG.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=XG(n,YG(e)),o=r.selectionState;o!==n.getSelection()&&(n=r.needsRecovery?ZG.forceSelection(n,o):ZG.acceptSelection(n,o),e.update(n))}};var QG={notEmptyKey:function(e){return null!=e&&""!=e}},eZ=QG.notEmptyKey;function tZ(e,t){return eZ(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var nZ=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),o=t.getAnchorOffset();return o>0?(n=e.getBlockForKey(r).getEntityAt(o-1))!==e.getBlockForKey(r).getEntityAt(o)?null:tZ(e.getEntityMap(),n):null}var i=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(i);return n=a===s.getLength()?null:s.getEntityAt(a),tZ(e.getEntityMap(),n)},rZ=OG,oZ=e$,iZ=EG,aZ=GW,sZ=TG,cZ=JG,uZ=DG,lZ=qG,fZ=nZ,dZ=kW,pZ=sG.isBrowser("IE"),hZ=!1,gZ=!1,vZ=null;var yZ,mZ,bZ={onCompositionStart:function(e){gZ=!0,function(e){vZ||(vZ=new rZ(uZ(e))).start()}(e)},onCompositionEnd:function(e){hZ=!1,gZ=!1,setTimeout((function(){hZ||bZ.resolveComposition(e)}),20)},onSelect:cZ,onKeyDown:function(e,t){if(!gZ)return bZ.resolveComposition(e),void e._onKeyDown(t);t.which!==sZ.RIGHT&&t.which!==sZ.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===sZ.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!gZ){var t=dZ(vZ).stopAndFlushMutations();vZ=null,hZ=!0;var n=aZ.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var o=iZ.decode(t),i=o.blockKey,a=o.decoratorKey,s=o.leafKey,c=n.getBlockTree(i).getIn([a,"leaves",s]),u=c.start,l=c.end,f=n.getSelection().merge({anchorKey:i,focusKey:i,anchorOffset:u,focusOffset:l,isBackward:!1}),d=fZ(r,f),p=r.getBlockForKey(i).getInlineStyleAt(u);r=oZ.replaceText(r,f,e,p,d),n=aZ.set(n,{currentContent:r})}));var o=lZ(n,uZ(e)).selectionState;e.restoreEditorDOM();var i=pZ?aZ.forceSelection(n,o):aZ.acceptSelection(n,o);e.update(aZ.push(i,r,"insert-characters"))}else e.update(n)}}},wZ=bZ;function xZ(){if(mZ)return yZ;mZ=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}var n=EG,r=o,i=bW,a=cW,s=function(e){var o,s;function c(){return e.apply(this,arguments)||this}return s=e,(o=c).prototype=Object.create(s.prototype),o.prototype.constructor=o,o.__proto__=s,c.prototype.render=function(){var e=this.props,o=e.block,s=e.children,c=e.contentState,u=e.decorator,l=e.decoratorKey,f=e.direction,d=e.leafSet,p=e.text,h=o.getKey(),g=d.get("leaves"),v=u.getComponentForKey(l),y=u.getPropsForKey(l),m=n.encode(h,parseInt(l,10),0),b=p.slice(g.first().get("start"),g.last().get("end")),w=a.getHTMLDirIfDifferent(i.getDirection(b),f);return r.createElement(v,t({},y,{contentState:c,decoratedText:b,dir:w,key:m,entityKey:o.getEntityAt(d.get("start")),offsetKey:m}),s)},c}(r.Component);return yZ=s}function CZ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SZ=o,OZ=DU,kZ=uG,EZ=sG.isBrowser("IE <= 11");var TZ=function(e){var t,n;function r(t){var n;return _Z(CZ(n=e.call(this,t)||this),"_forceFlag",void 0),_Z(CZ(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 o=r.prototype;return o.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;kZ(t)||("production"!==process.env.NODE_ENV?OZ(!1,"node is not an Element"):OZ(!1));var r=t;return n?!function(e){return EZ?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},o.componentDidMount=function(){this._forceFlag=!this._forceFlag},o.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},o.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},EZ?SZ.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):SZ.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return EZ?SZ.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):SZ.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):SZ.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(SZ.Component),AZ=TZ,jZ=uG;var MZ=function(e){return!(!e||!e.ownerDocument)&&(jZ(e)&&"BR"===e.nodeName)},PZ={initODS:function(){},handleExtensionCausedError:function(){}};var DZ=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))},IZ=DZ;var LZ=function(e){return IZ(e)&&3==e.nodeType},RZ=LZ;var NZ=function e(t,n){return!(!t||!n)&&(t===n||!RZ(t)&&(RZ(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var BZ=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}},FZ=PZ,zZ=AG,HZ=NZ,VZ=BZ,UZ=cG,KZ=DU,$Z=uG,WZ=sG.isBrowser("IE");function qZ(e,t){if(!e)return"[empty]";var n=GZ(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:($Z(n)||("production"!==process.env.NODE_ENV?KZ(!1,"Node must be an Element if it is not a text node."):KZ(!1)),n.outerHTML)}function GZ(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return UZ(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;a<i.length;a++)o.appendChild(GZ(i[a],t));return o}function ZZ(e,t){for(var n=e,r=n;n;){if($Z(n)&&r.hasAttribute("contenteditable"))return qZ(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function YZ(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function XZ(e,t,n,r){var o=VZ();if(e.extend&&null!=t&&HZ(o,t)){n>YZ(t)&&zZ.logSelectionStateFailure({anonymizedDom:ZZ(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var i=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw zZ.logSelectionStateFailure({anonymizedDom:ZZ(t,(function(t){var n=[];return t===o&&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:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:i,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 JZ(e,t,n,r){var o=UZ(t).createRange();if(n>YZ(t)&&(zZ.logSelectionStateFailure({anonymizedDom:ZZ(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),FZ.handleExtensionCausedError()),o.setStart(t,n),WZ)try{e.addRange(o)}catch(e){"production"!==process.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(o)}var QZ=function(e,t,n,r,o){var i=UZ(t);if(HZ(i.documentElement,t)){var a=i.defaultView.getSelection(),s=e.getAnchorKey(),c=e.getAnchorOffset(),u=e.getFocusKey(),l=e.getFocusOffset(),f=e.getIsBackward();if(!a.extend&&f){var d=s,p=c;s=u,c=l,u=d,l=p,f=!1}var h=s===n&&r<=c&&o>=c,g=u===n&&r<=l&&o>=l;if(h&&g)return a.removeAllRanges(),JZ(a,t,c-r,e),void XZ(a,t,l-r,e);if(f){if(g&&(a.removeAllRanges(),JZ(a,t,l-r,e)),h){var v=a.focusNode,y=a.focusOffset;a.removeAllRanges(),JZ(a,t,c-r,e),XZ(a,v,y,e)}}else h&&(a.removeAllRanges(),JZ(a,t,c-r,e)),g&&XZ(a,t,l-r,e)}},eY=Wb;var tY,nY,rY=AZ,oY=o,iY=DU,aY=MZ,sY=QZ,cY=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(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 o=r.prototype;return o._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),a=r+o.length;if(e.hasEdgeWithin(i,r,a)){var s=this.leaf;s||("production"!==process.env.NODE_ENV?iY(!1,"Missing node"):iY(!1));var c,u=s.firstChild;u||("production"!==process.env.NODE_ENV?iY(!1,"Missing child"):iY(!1)),u.nodeType===Node.TEXT_NODE?c=u:aY(u)?c=s:(c=u.firstChild)||("production"!==process.env.NODE_ENV?iY(!1,"Missing targetNode"):iY(!1)),sY(e,c,i,r,a)}}},o.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==process.env.NODE_ENV?iY(!1,"Missing leafNode"):iY(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},o.componentDidUpdate=function(){this._setSelection()},o.componentDidMount=function(){this._setSelection()},o.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,o=r.customStyleMap,i=r.customStyleFn,a=r.offsetKey,s=r.styleSet,c=s.reduce((function(e,t){var n={},r=o[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),eY(e,r,n)}),{});if(i){var u=i(s,t);c=eY(c,u)}return oY.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:c},oY.createElement(rY,null,n))},r}(oY.Component),uY=cY;function lY(){if(nY)return tY;nY=1;var e=xZ(),t=uY,n=EG,r=o,i=_q;DV.List;var a=function(o){var a,s;function c(){return o.apply(this,arguments)||this}return s=o,(a=c).prototype=Object.create(s.prototype),a.prototype.constructor=a,a.__proto__=s,c.prototype.render=function(){var o=this.props,a=o.block,s=o.contentState,c=o.customStyleFn,u=o.customStyleMap,l=o.decorator,f=o.direction,d=o.forceSelection,p=o.hasSelection,h=o.selection,g=o.tree,v=a.getKey(),y=a.getText(),m=g.size-1,b=this.props.children||g.map((function(o,i){var g=o.get("decoratorKey"),b=o.get("leaves"),w=b.size-1,x=b.map((function(e,o){var s=n.encode(v,i,o),l=e.get("start"),f=e.get("end");return r.createElement(t,{key:s,offsetKey:s,block:a,start:l,selection:p?h:null,forceSelection:d,text:y.slice(l,f),styleSet:a.getInlineStyleAt(l),customStyleMap:u,customStyleFn:c,isLast:g===m&&o===w})})).toArray();return g&&l?r.createElement(e,{block:a,children:x,contentState:s,decorator:l,decoratorKey:g,direction:f,leafSet:o,text:y,key:i}):x})).toArray();return r.createElement("div",{"data-offset-key":n.encode(v,0,0),className:i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},b)},c}(r.Component);return tY=a}function fY(e,t){return!!t&&(e===t.documentElement||e===t.body)}var dY={getTop:function(e){var t=e.ownerDocument;return fY(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;fY(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return fY(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;fY(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},pY=/-(.)/g;var hY=function(e){return e.replace(pY,(function(e,t){return t.toUpperCase()}))},gY=/([A-Z])/g;var vY=function(e){return e.replace(gY,"-$1").toLowerCase()},yY=hY,mY=vY;function bY(e){return null==e?e:String(e)}var wY=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return bY(n.getPropertyValue(mY(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return bY(n.getPropertyValue(mY(t)));if("display"===t)return"none"}return e.currentStyle?bY("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[yY(t)]):bY(e.style&&e.style[yY(t)])};function xY(e,t){var n=CY.get(e,t);return"auto"===n||"scroll"===n}var CY={get:wY,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(xY(e,"overflow")||xY(e,"overflowY")||xY(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},_Y=CY,SY=NZ;var OY=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!SY(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 kY=function(e){var t=OY(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},EY="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var TY=function(e){return(e=e||document).scrollingElement?e.scrollingElement:EY||"CSS1Compat"!==e.compatMode?e.body:e.documentElement},AY=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 jY=function(e){var t=TY(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=AY(e),r=e===t?e.ownerDocument.documentElement:e,o=e.scrollWidth-r.clientWidth,i=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,o)),n.y=Math.max(0,Math.min(n.y,i)),n};function MY(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function PY(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function DY(){return{width:window.innerWidth||MY(),height:window.innerHeight||PY()}}DY.withoutScrollbars=function(){return{width:MY(),height:PY()}};var IY,LY,RY,NY,BY=DY;function FY(){if(LY)return IY;LY=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=lY(),a=EG,s=o,c=dY,u=_Y,l=kY,f=jY,d=BY,p=DU,h=jG;DV.List;var g=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},v=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}},y=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},m=function(e,t,r,o,i,a){var s={"data-block":!0,"data-editor":t,"data-offset-key":r,key:e.getKey(),ref:a},c=o(e);return c&&(s.className=c),void 0!==i.customEditable&&(s=n({},s,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),s},b=function(e){var o,b;function w(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(o))||this),"wrapperRef",s.createRef()),t}b=e,(o=w).prototype=Object.create(b.prototype),o.prototype.constructor=o,o.__proto__=b;var x=w.prototype;return x.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,o=t.tree,i=!n.getChildKeys().isEmpty(),a=n!==e.block||o!==e.tree||r!==e.direction||g(e.selection,e.block.getKey())&&e.forceSelection;return i||a},x.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,o=u.getScrollParent(n),i=f(o);if(o===window){var a=l(n);(r=a.y+a.height-d().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{h(n)||("production"!==process.env.NODE_ENV?p(!1,"blockNode is not an HTMLElement"):p(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&c.setTop(o,c.getTop(o)+r+10)}}}},x.render=function(){var e=this,r=this.props,o=r.block,c=r.blockRenderMap,u=r.blockRendererFn,l=r.blockStyleFn,f=r.contentState,d=r.decorator,p=r.editorKey,h=r.editorState,b=r.customStyleFn,x=r.customStyleMap,C=r.direction,_=r.forceSelection,S=r.selection,O=r.tree,k=null;o.children.size&&(k=o.children.reduce((function(t,r){var o=a.encode(r,0,0),i=f.getBlockForKey(r),d=y(i,u),g=d.CustomComponent||w,b=v(i,c),x=b.Element,C=b.wrapperTemplate,_=m(i,p,o,l,d,null),S=n({},e.props,{tree:h.getBlockTree(r),blockProps:d.customProps,offsetKey:o,block:i});return t.push(s.createElement(x,_,s.createElement(g,S))),!C||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(i,f)||function(e,t,n){var r=[],o=!0,i=!1,c=void 0;try{for(var u,l=n.reverse()[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var f=u.value;if(f.type!==t)break;r.push(f)}}catch(e){i=!0,c=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw c}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),p=d[0].key;n.push(s.cloneElement(e,{key:"".concat(p,"-wrap"),"data-offset-key":a.encode(p,0,0)},d))}(C,x,t),t}),[]));var E=o.getKey(),T=a.encode(E,0,0),A=y(o,u),j=A.CustomComponent,M=null!=j?s.createElement(j,t({},this.props,{tree:h.getBlockTree(E),blockProps:A.customProps,offsetKey:T,block:o})):s.createElement(i,{block:o,children:k,contentState:f,customStyleFn:b,customStyleMap:x,decorator:d,direction:C,forceSelection:_,hasSelection:g(S,E),selection:S,tree:O});if(o.getParentKey())return M;var P=v(o,c).Element,D=m(o,p,T,l,A,this.wrapperRef);return s.createElement(P,D,M)},w}(s.Component);return IY=b}var zY=Wb;function HY(){return HY=zY||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},HY.apply(this,arguments)}var VY,UY,KY,$Y,WY=uY,qY=EG,GY=o,ZY=dY,YY=_Y,XY=bW,JY=cW,QY=_q,eX=kY,tX=jY,nX=BY,rX=DU,oX=jG,iX=kW,aX=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},sX=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(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 o=r.prototype;return o.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||aX(e.selection,e.block.getKey())&&e.forceSelection},o.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,o=YY.getScrollParent(n),i=tX(o);if(o===window){var a=eX(n);(r=a.y+a.height-nX().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{oX(n)||("production"!==process.env.NODE_ENV?rX(!1,"blockNode is not an HTMLElement"):rX(!1)),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&ZY.setTop(o,ZY.getTop(o)+r+10)}}}}},o._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),o=this.props.tree.size-1,i=aX(this.props.selection,n);return this.props.tree.map((function(a,s){var c=a.get("leaves");if(0===c.size)return null;var u=c.size-1,l=c.map((function(a,c){var l=qY.encode(n,s,c),f=a.get("start"),d=a.get("end");return GY.createElement(WY,{key:l,offsetKey:l,block:t,start:f,selection:i?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(f,d),styleSet:t.getInlineStyleAt(f),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===o&&c===u})})).toArray(),f=a.get("decoratorKey");if(null==f)return l;if(!e.props.decorator)return l;var d=iX(e.props.decorator),p=d.getComponentForKey(f);if(!p)return l;var h=d.getPropsForKey(f),g=qY.encode(n,s,0),v=c.first().get("start"),y=c.last().get("end"),m=r.slice(v,y),b=t.getEntityAt(a.get("start")),w=JY.getHTMLDirIfDifferent(XY.getDirection(m),e.props.direction),x={contentState:e.props.contentState,decoratedText:m,dir:w,start:v,end:y,blockKey:n,entityKey:b,offsetKey:g};return GY.createElement(p,HY({},h,x,{key:g}),l)})).toArray()},o.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=QY({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return GY.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},r}(GY.Component),cX=sX;var uX=j$("draft_tree_data_support")?function(){if(NY)return RY;NY=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}var n=FY(),r=EG,i=o,a=kW,s=function(e){var o,s;function c(){return e.apply(this,arguments)||this}s=e,(o=c).prototype=Object.create(s.prototype),o.prototype.constructor=o,o.__proto__=s;var u=c.prototype;return u.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(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),c=t.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},u.render=function(){for(var e=this.props,o=e.blockRenderMap,s=e.blockRendererFn,c=e.blockStyleFn,u=e.customStyleMap,l=e.customStyleFn,f=e.editorState,d=e.editorKey,p=e.textDirectionality,h=f.getCurrentContent(),g=f.getSelection(),v=f.mustForceSelection(),y=f.getDecorator(),m=a(f.getDirectionMap()),b=[],w=h.getBlocksAsArray()[0];w;){var x=w.getKey(),C={blockRenderMap:o,blockRendererFn:s,blockStyleFn:c,contentState:h,customStyleFn:l,customStyleMap:u,decorator:y,editorKey:d,editorState:f,forceSelection:v,selection:g,block:w,direction:p||m.get(x),tree:f.getBlockTree(x)},_=(o.get(w.getType())||o.get("unstyled")).wrapper;b.push({block:i.createElement(n,t({key:x},C)),wrapperTemplate:_,key:x,offsetKey:r.encode(x,0,0)});var S=w.getNextSiblingKey();w=S?h.getBlockForKey(S):null}for(var O=[],k=0;k<b.length;){var E=b[k];if(E.wrapperTemplate){var T=[];do{T.push(b[k].block),k++}while(k<b.length&&b[k].wrapperTemplate===E.wrapperTemplate);var A=i.cloneElement(E.wrapperTemplate,{key:E.key+"-wrap","data-offset-key":E.offsetKey},T);O.push(A)}else O.push(E.block),k++}return i.createElement("div",{"data-contents":"true"},O)},c}(i.Component);return RY=s}():function(){if($Y)return KY;$Y=1;var e=Wb;function t(){return t=e||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},t.apply(this,arguments)}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=cX,a=EG,s=o,c=_q,u=(UY||(UY=1,VY=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(t=(t?t+" ":"")+o)}return t}),VY),l=kW,f=function(e,t,n,r){return c({"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})},d=function(e){var r,o;function c(){return e.apply(this,arguments)||this}o=e,(r=c).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var d=c.prototype;return d.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(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),c=t.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},d.render=function(){for(var e=this.props,r=e.blockRenderMap,o=e.blockRendererFn,c=e.blockStyleFn,d=e.customStyleMap,p=e.customStyleFn,h=e.editorState,g=e.editorKey,v=e.preventScroll,y=e.textDirectionality,m=h.getCurrentContent(),b=h.getSelection(),w=h.mustForceSelection(),x=h.getDecorator(),C=l(h.getDirectionMap()),_=m.getBlocksAsArray(),S=[],O=null,k=null,E=0;E<_.length;E++){var T=_[E],A=T.getKey(),j=T.getType(),M=o(T),P=void 0,D=void 0,I=void 0;M&&(P=M.component,D=M.props,I=M.editable);var L=y||C.get(A),R=a.encode(A,0,0),N={contentState:m,block:T,blockProps:D,blockStyleFn:c,customStyleMap:d,customStyleFn:p,decorator:x,direction:L,forceSelection:w,offsetKey:R,preventScroll:v,selection:b,tree:h.getBlockTree(A)},B=r.get(j)||r.get("unstyled"),F=B.wrapper,z=B.element||r.get("unstyled").element,H=T.getDepth(),V="";if(c&&(V=c(T)),"li"===z)V=u(V,f(j,H,k!==F||null===O||H>O,L));var U=P||i,K={className:V,"data-block":!0,"data-editor":g,"data-offset-key":R,key:A};void 0!==I&&(K=n({},K,{contentEditable:I,suppressContentEditableWarning:!0}));var $=s.createElement(z,K,s.createElement(U,t({},N,{key:A})));S.push({block:$,wrapperTemplate:F,key:A,offsetKey:R}),O=F?T.getDepth():null,k=F}for(var W=[],q=0;q<S.length;){var G=S[q];if(G.wrapperTemplate){var Z=[];do{Z.push(S[q].block),q++}while(q<S.length&&S[q].wrapperTemplate===G.wrapperTemplate);var Y=s.cloneElement(G.wrapperTemplate,{key:G.key+"-wrap","data-offset-key":G.offsetKey},Z);W.push(Y)}else W.push(G.block),q++}return s.createElement("div",{"data-contents":"true"},W)},c}(s.Component);return KY=d}(),lX={isImage:function(e){return"image"===fX(e)[0]},isJpeg:function(e){var t=fX(e);return lX.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function fX(e){return e.split("/")}var dX=lX,pX=DU;var hX=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"!==process.env.NODE_ENV?pX(!1,"toArray: Array-like object expected"):pX(!1)),"number"!=typeof t&&("production"!==process.env.NODE_ENV?pX(!1,"toArray: Object needs a length property"):pX(!1)),0===t||t-1 in e||("production"!==process.env.NODE_ENV?pX(!1,"toArray: Object should have keys for indices"):pX(!1)),"function"==typeof e.callee&&("production"!==process.env.NODE_ENV?pX(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):pX(!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 gX(e){return function(){return e}}var vX=function(){};vX.thatReturns=gX,vX.thatReturnsFalse=gX(!1),vX.thatReturnsTrue=gX(!0),vX.thatReturnsNull=gX(null),vX.thatReturnsThis=function(){return this},vX.thatReturnsArgument=function(e){return e};var yX=vX,mX=dX,bX=hX,wX=yX,xX=new RegExp("\r\n","g"),CX={"text/rtf":1,"text/html":1};function _X(e){if("file"==e.kind)return e.getAsFile()}var SX=function(){function e(e){this.data=e,this.types=e.types?bX(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return CX[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(xX,"\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(!mX.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(_X).filter(wX.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),OX=SX,kX=DU,EX=/\.textClipping$/,TX={"text/plain":!0,"text/html":!0,"text/rtf":!0},AX=5e3;var jX=function(e,t){var n=0,r=[];e.forEach((function(o){!function(e,t){if(!Lt.FileReader||e.type&&!(e.type in TX))return void t("");if(""===e.type){var n="";return EX.test(e.name)&&(n=e.name.replace(EX,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==process.env.NODE_ENV?kX(!1,'We should be calling "FileReader.readAsText" which returns a string'):kX(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(o,(function(o){n++,o&&r.push(o.slice(0,AX)),n==e.length&&t(r.join("\r"))}))}))};var MX=function(e){return"handled"===e||!0===e},PX=OX,DX=e$,IX=GW,LX=hG,RX=cG,NX=jX,BX=RG,FX=gG,zX=MX,HX=kW;var VX={onDragEnd:function(e){e.exitCurrentMode(),UX(e)},onDrop:function(e,t){var n=new PX(t.nativeEvent.dataTransfer),r=e._latestEditorState,o=function(e,t){var n=null,r=null,o=RX(e.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(e.x,e.y);n=i.startContainer,r=i.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=HX(n),r=HX(r);var a=HX(LX(n));return BX(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=o){var i=n.getFiles();if(i.length>0){if(e.props.handleDroppedFiles&&zX(e.props.handleDroppedFiles(o,i)))return;NX(i,(function(t){t&&e.update(KX(r,o,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&zX(e.props.handleDrop(o,n,a))||(e._internalDrag?e.update(function(e,t){var n=DX.moveText(e.getCurrentContent(),e.getSelection(),t);return IX.push(e,n,"insert-fragment")}(r,o)):e.update(KX(r,o,n.getText()))),UX(e)}}}};function UX(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:FX(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function KX(e,t,n){var r=DX.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return IX.push(e,r,"insert-fragment")}var $X=VX;var WX=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some((function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(i=!0,!0)}))})),i};!function(e,t){if(!e.setImmediate){var n,r,o,i,a,s=1,c={},u=!1,l=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){process.nextTick((function(){p(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}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(e){var t=l.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(i="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&p(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(i+t,"*")}),f.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 o={callback:e,args:t};return c[s]=o,n(s),s++},f.clearImmediate=d}function d(e){delete c[e]}function p(e){if(u)setTimeout(p,0,e);else{var n=c[e];if(n){u=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{d(e),u=!1}}}}}("undefined"==typeof self?Lt:self);var qX=Lt.setImmediate,GX=e$,ZX=GW,YX=nZ,XX=MX,JX=WX,QX=kW,eJ=qX,tJ="'",nJ="/",rJ=sG.isBrowser("Firefox");function oJ(e,t,n,r,o){var i=GX.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return ZX.push(e,i,"insert-characters",o)}var iJ=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&&XX(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var o=n.getSelection(),i=o.getStartOffset(),a=o.getAnchorKey();if(!o.isCollapsed())return t.preventDefault(),void e.update(oJ(n,r,n.getCurrentInlineStyle(),YX(n.getCurrentContent(),n.getSelection()),!0));var s,c=oJ(n,r,n.getCurrentInlineStyle(),YX(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=JX(e._latestCommittedEditorState)),!u){var l=n.getBlockTree(a),f=c.getBlockTree(a);u=l.size!==f.size||l.zip(f).some((function(e){var t=e[0],n=e[1],o=t.get("start"),a=o+(o>=i?r.length:0),s=t.get("end"),c=s+(s>=i?r.length:0),u=n.get("start"),l=n.get("end"),f=n.get("decoratorKey");return t.get("decoratorKey")!==f||t.get("leaves").size!==n.get("leaves").size||a!==u||c!==l||null!=f&&l-u!=s-o}))}if(u||(s=r,u=rJ&&(s==tJ||s==nJ)),u||(u=QX(c.getDirectionMap()).get(a)!==QX(n.getDirectionMap()).get(a)),u)return t.preventDefault(),c=ZX.set(c,{forceSelection:!0}),void e.update(c);c=ZX.set(c,{nativelyRenderedContent:c.getCurrentContent()}),e._pendingStateFromBeforeInput=c,eJ((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},aJ=GW,sJ=NZ,cJ=BZ;var uJ=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&cJ(n)===n.body){var r=n.defaultView.getSelection(),o=e.editor;1===r.rangeCount&&sJ(o,r.anchorNode)&&sJ(o,r.focusNode)&&r.removeAllRanges()}var i=e._latestEditorState,a=i.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(aJ.acceptSelection(i,s))}},lJ=GW;var fJ=function(e,t){e.setMode("composite"),e.update(lJ.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},dJ=tK;var pJ=function(e){var t=e.getSelection();return t.isCollapsed()?null:dJ(e.getCurrentContent(),t)},hJ=pJ;var gJ=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(hJ(e._latestEditorState))};var vJ=e$,yJ=GW,mJ=_Y,bJ=pJ,wJ=jY,xJ=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};var CJ=function(e,t){var n,r=e._latestEditorState,o=r.getSelection(),i=t.target;if(o.isCollapsed())t.preventDefault();else{if(xJ(i)){var a=i;n=wJ(mJ.getScrollParent(a))}var s=bJ(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=vJ.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return yJ.push(e,t,"remove-range")}(r))}),0)}};var _J=function(e,t){e.setMode("drag"),t.preventDefault()};var SJ=function(e){e._internalDrag=!0,e.setMode("drag")},OJ=GW,kJ=sG;var EJ=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var o=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),kJ.isBrowser("Chrome < 60.0.3081.0")?e.update(OJ.forceSelection(n,o)):e.update(OJ.acceptSelection(n,o))}},TJ=DU,AJ=55296,jJ=56319,MJ=56320,PJ=57343,DJ=/[\uD800-\uDFFF]/;function IJ(e){return AJ<=e&&e<=PJ}function LJ(e){return DJ.test(e)}function RJ(e,t){return 1+IJ(e.charCodeAt(t))}function NJ(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!LJ(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=RJ(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=RJ(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=RJ(e,i);return e.substring(o,i)}var BJ={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=RJ(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:RJ,hasSurrogateUnit:LJ,isCodeUnitInSurrogateRange:IJ,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==process.env.NODE_ENV?TJ(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):TJ(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return AJ<=n&&n<=jJ&&MJ<=r&&r<=PJ},strlen:function(e){if(!LJ(e))return e.length;for(var t=0,n=0;n<e.length;n+=RJ(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 NJ(e,t=t<n?t:n,r)},substr:NJ},FJ=BJ,zJ=yX;function HJ(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 o=0,i="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}}var VJ="production"!==process.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),o=2;o<n;o++)r[o-2]=arguments[o];HJ.apply(void 0,[t].concat(r))}}:zJ,UJ=VJ,KJ=UJ;var $J=function(e,t){var n=e.getSelection();"production"!==process.env.NODE_ENV&&KJ(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var c=r.getKeyBefore(o);if(null==c)a=o;else a=c,s=r.getBlockForKey(c).getText().length}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},WJ=e$,qJ=j$("draft_tree_data_support");var GJ=function(e,t,n){var r=e.getSelection(),o=e.getCurrentContent(),i=r,a=r.getAnchorKey(),s=r.getFocusKey(),c=o.getBlockForKey(a);if(qJ&&"forward"===n&&a!==s)return o;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return o;if(qJ)if(r.getAnchorOffset()===o.getBlockForKey(a).getLength()){var u=o.getBlockForKey(c.nextSibling);if(!u||0===u.getLength())return o}}else if(e.isSelectionAtStartOfContent())return o;if((i=t(e))===r)return o}return WJ.removeRange(o,i,n)},ZJ=GW,YJ=FJ,XJ=$J,JJ=GJ;var QJ=function(e){var t=JJ(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),i=n.getBlockForKey(r).getText()[o-1];return XJ(e,i?YJ.getUTF16Length(i,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return ZJ.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},eQ=e$,tQ=EG,nQ=GW,rQ=QG.notEmptyKey,oQ=hG,iQ=QJ,aQ=kW,sQ=sG.isEngine("Gecko"),cQ="\n\n";var uQ=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,o=n.isCollapsed,i=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!i){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 c=r.textContent,u=e._latestEditorState,l=aQ(oQ(r)),f=tQ.decode(l),d=f.blockKey,p=f.decoratorKey,h=f.leafKey,g=u.getBlockTree(d).getIn([p,"leaves",h]),v=g.start,y=g.end,m=u.getCurrentContent(),b=m.getBlockForKey(d),w=b.getText().slice(v,y);if(c.endsWith(cQ)&&(c=c.slice(0,-1)),c!==w){var x,C,_,S,O=u.getSelection(),k=O.merge({anchorOffset:v,focusOffset:y,isBackward:!1}),E=b.getEntityAt(v),T=rQ(E)?m.getEntity(E):null,A="MUTABLE"===(null!=T?T.getMutability():null),j=A?"spellcheck-change":"apply-entity",M=eQ.replaceText(m,k,c,b.getInlineStyleAt(v),A?b.getEntityAt(v):null);if(sQ)x=n.anchorOffset,C=n.focusOffset,S=(_=v+Math.min(x,C))+Math.abs(x-C),x=_,C=S;else{var P=c.length-w.length;_=O.getStartOffset(),S=O.getEndOffset(),x=o?S+P:_,C=S+P}var D=M.merge({selectionBefore:m.getSelectionAfter(),selectionAfter:O.merge({anchorOffset:x,focusOffset:C})});e.update(nQ.push(u,D,j))}else{var I=t.nativeEvent.inputType;if(I){var L=function(e,t){return"deleteContentBackward"===e?iQ(t):t}(I,u);if(L!==u)return e.restoreEditorDOM(),void e.update(L)}}}},lQ=TG;var fQ=function(e){return e.which===lQ.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},dQ=fQ,pQ=sG.isPlatform("Mac OS X"),hQ={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return pQ&&e.altKey},usesMacOSHeuristics:function(){return pQ},hasCommandModifier:function(e){return pQ?!!e.metaKey&&!e.altKey:hQ.isCtrlKeyCommand(e)},isSoftNewlineEvent:dQ},gQ=hQ,vQ=e$,yQ=GW,mQ=tK,bQ=kW,wQ=null,xQ={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var o=n.getAnchorKey(),i=t.getBlockForKey(o).getLength();if(i===n.getAnchorOffset()){var a=t.getKeyAfter(o);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",i)}else r=n;r=bQ(r),wQ=mQ(t,r);var s=vQ.removeRange(t,r,"forward");return s===t?e:yQ.push(e,s,"remove-range")},paste:function(e){if(!wQ)return e;var t=vQ.replaceWithFragment(e.getCurrentContent(),e.getSelection(),wQ);return yQ.push(e,t,"insert-fragment")}},CQ=DU;var _Q=sG.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var o=r===e.commonAncestorContainer;o?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var i,a=Array.from(t.getClientRects());if(n.push(a),o)return n.reverse(),(i=[]).concat.apply(i,n);t.setEndBefore(r)}"production"!==process.env.NODE_ENV?CQ(!1,"Found an unexpected detached subtree when getting range client rects."):CQ(!1)}:function(e){return Array.from(e.getClientRects())},SQ=_Q,OQ=FJ,kQ=cG,EQ=SQ,TQ=DU;function AQ(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-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),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function jQ(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 MQ=function(e){e.collapsed||("production"!==process.env.NODE_ENV?TQ(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):TQ(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=kQ(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 o=n.body;o||("production"!==process.env.NODE_ENV?TQ(!1,"Missing document.body"):TQ(!1)),o.appendChild(r);var i=r.getBoundingClientRect();return o.removeChild(r),i.height}(t),r=e.endContainer,o=e.endOffset;for(e.setStart(e.startContainer,0);AQ(EQ(e),n)&&(r=e.startContainer,o=e.startOffset,r.parentNode||("production"!==process.env.NODE_ENV?TQ(!1,"Found unexpected detached subtree when traversing."):TQ(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var i=r,a=o-1;;){for(var s=i.nodeValue,c=a;c>=0;c--)if(!(null!=s&&c>0&&OQ.isSurrogatePair(s,c-1))){if(e.setStart(i,c),!AQ(EQ(e),n))break;r=i,o=c}if(-1===c||0===i.childNodes.length)break;a=jQ(i=i.childNodes[c])}return e.setStart(r,o),e},PQ=GW,DQ=MQ,IQ=$G,LQ=$J,RQ=GJ;var NQ=function(e,t){var n=RQ(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return LQ(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=DQ(r),IQ(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:PQ.push(e,n,"remove-range")},BQ="['‘’]",FQ="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),zQ=new RegExp("^(?:"+FQ+")*(?:"+BQ+"|(?!"+FQ+").)*(?:(?!"+FQ+").)"),HQ=new RegExp("(?:(?!"+FQ+").)(?:"+BQ+"|(?!"+FQ+").)*(?:"+FQ+")*$");function VQ(e,t){var n=t?HQ.exec(e):zQ.exec(e);return n?n[0]:e}var UQ={getBackward:function(e){return VQ(e,!0)},getForward:function(e){return VQ(e,!1)}},KQ=UQ,$Q=GW,WQ=$J,qQ=GJ;var GQ=function(e){var t=qQ(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return WQ(e,1);var r=t.getStartKey(),o=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),i=KQ.getBackward(o);return WQ(e,i.length||1)}),"backward");return t===e.getCurrentContent()?e:$Q.push(e,t,"remove-range")},ZQ=UJ;var YQ=function(e,t){var n=e.getSelection();"production"!==process.env.NODE_ENV&&ZQ(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,o=n.getStartKey(),i=n.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),r=0):r=i+t,n.merge({focusKey:s,focusOffset:r})},XQ=UQ,JQ=GW,QQ=YQ,e1=GJ;var t1=function(e){var t=e1(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),o=e.getCurrentContent().getBlockForKey(r).getText().slice(n),i=XQ.getForward(o);return QQ(e,i.length||1)}),"forward");return t===e.getCurrentContent()?e:JQ.push(e,t,"remove-range")},n1=e$,r1=GW;var o1=GW;var i1=GW;var a1=GW,s1=FJ,c1=YQ,u1=GJ;var l1=function(e){var t=u1(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),i=n.getBlockForKey(r).getText()[o];return c1(e,i?s1.getUTF16Length(i,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return a1.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},f1=e$,d1=GW,p1=tK;var h1=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,o,i=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(i).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),o=t):o=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var c=p1(a,r),u=f1.removeRange(a,r,"backward"),l=u.getSelectionAfter(),f=l.getAnchorOffset()-1,d=l.merge({anchorOffset:f,focusOffset:f}),p=f1.replaceWithFragment(u,d,c),h=d1.push(e,p,"insert-fragment");return d1.acceptSelection(h,o)},g1=GW;var v1=function(e,t,n){var r=g1.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(g1.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var o=r.getCurrentContent();n(g1.set(r,{nativelyRenderedContent:o}))}},y1=e$,m1=GW,b1=TG,w1=xQ,x1=sG,C1=MX,_1=NQ,S1=GQ,O1=t1,k1=function(e){var t=n1.splitBlock(e.getCurrentContent(),e.getSelection());return r1.push(e,t,"split-block")},E1=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return o1.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},T1=function(e){var t=e.getSelection(),n=t.getStartKey();return i1.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},A1=QJ,j1=l1,M1=h1,P1=v1,D1=gQ.isOptionKeyCommand,I1=x1.isBrowser("Chrome");var L1=function(e,t){var n=t.which,r=e._latestEditorState;function o(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case b1.RETURN:if(t.preventDefault(),e.props.handleReturn&&C1(e.props.handleReturn(t,r)))return;break;case b1.ESC:if(t.preventDefault(),o("onEscape"))return;break;case b1.TAB:if(o("onTab"))return;break;case b1.UP:if(o("onUpArrow"))return;break;case b1.RIGHT:if(o("onRightArrow"))return;break;case b1.DOWN:if(o("onDownArrow"))return;break;case b1.LEFT:if(o("onLeftArrow"))return;break;case b1.SPACE:I1&&D1(t)&&t.preventDefault()}var i=e.props.keyBindingFn(t);if(null!=i&&""!==i)if("undo"!==i){if(t.preventDefault(),!e.props.handleKeyCommand||!C1(e.props.handleKeyCommand(i,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return m1.redo(t);case"delete":return j1(t);case"delete-word":return O1(t);case"backspace":return A1(t);case"backspace-word":return S1(t);case"backspace-to-start-of-line":return _1(t,n);case"split-block":return k1(t);case"transpose-characters":return M1(t);case"move-selection-to-start-of-block":return T1(t);case"move-selection-to-end-of-block":return E1(t);case"secondary-cut":return w1.cut(t);case"secondary-paste":return w1.paste(t);default:return t}}(i,r,t);a!==r&&e.update(a)}}else P1(t,r,e.update);else if(n===b1.SPACE&&I1&&D1(t)){var s=y1.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(m1.push(r,s,"insert-characters"))}};var R1=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}(),N1=R1,B1=DU,F1=sG.isBrowser("IE <= 9");var z1=function(e){var t,n=null;return!F1&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==process.env.NODE_ENV?B1(!1,"Missing doc.documentElement"):B1(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},H1=uG;var V1=function(e){return!(!e||!e.ownerDocument)&&(H1(e)&&"A"===e.nodeName)},U1=uG;var K1,$1=function(e){return!(!e||!e.ownerDocument)&&(U1(e)&&"IMG"===e.nodeName)};function W1(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){q1(e,t,n[t])}))}return e}function q1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G1=$V,Z1=sU,Y1=CU,X1=kq,J1=E$,Q1=N1,e0=_q,t0=UU,n0=z1,r0=j$,o0=DV,i0=o0.List,a0=o0.Map,s0=o0.OrderedSet,c0=V1,u0=MZ,l0=jG,f0=$1,d0=r0("draft_tree_data_support"),p0=" ",h0=new RegExp("\r","g"),g0=new RegExp("\n","g"),v0=new RegExp("^\n","g"),y0=new RegExp(" ","g"),m0=new RegExp(" ?","g"),b0=new RegExp("​?","g"),w0=["bold","bolder","500","600","700","800","900"],x0=["light","lighter","normal","100","200","300","400"],C0=["className","href","rel","target","title"],_0=["alt","className","height","src","width"],S0=(q1(K1={},e0("public/DraftStyleDefault/depth0"),0),q1(K1,e0("public/DraftStyleDefault/depth1"),1),q1(K1,e0("public/DraftStyleDefault/depth2"),2),q1(K1,e0("public/DraftStyleDefault/depth3"),3),q1(K1,e0("public/DraftStyleDefault/depth4"),4),K1),O0=a0({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),k0=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)}))})),a0(t)},E0=function(e){if(l0(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},T0=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(S0).some((function(n){e.classList.contains(n)&&(t=S0[n])})),t},A0=function(e){if(!c0(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new Q1(t.href);return!0}catch(e){return!1}},j0=function(e){if(!f0(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},M0=function(e,t){if(!l0(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return t.withMutations((function(e){w0.indexOf(r)>=0?e.add("BOLD"):x0.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===i&&e.add("UNDERLINE"),"line-through"===i&&e.add("STRIKETHROUGH"),"none"===i&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},P0=function(e){return"ul"===e||"ol"===e},D0=function(){function e(e,t){q1(this,"characterList",i0()),q1(this,"currentBlockType","unstyled"),q1(this,"currentDepth",0),q1(this,"currentEntity",null),q1(this,"currentText",""),q1(this,"wrapper",null),q1(this,"blockConfigs",[]),q1(this,"contentBlocks",[]),q1(this,"entityMap",J1),q1(this,"blockTypeMap",void 0),q1(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=i0(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=J1,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],s0())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(d0?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=W1({key:e.key||t0(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:i0(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=i0(),this.currentBlockType="unstyled",this.currentText="",t},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=o.nodeName.toLowerCase();if("body"===i||P0(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;P0(i)&&(this.wrapper=i,P0(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var c=this.blockTypeMap.get(i);if(void 0===c)if("#text"!==i)if("br"!==i)if(j0(o))this._addImgNode(o,t);else if(A0(o))this._addAnchorNode(o,n,t);else{var u=t;O0.has(i)&&(u=u.add(O0.get(i))),u=M0(o,u);var l=E0(o);null!=l&&(u=u.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),u))}else this._addBreakNode(o,t);else this._addTextNode(o,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var f=this.currentDepth,d=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof c&&(c=this.disambiguate(i,this.wrapper)||c[0]||"unstyled"),!d0&&l0(o)&&("unordered-list-item"===c||"ordered-list-item"===c)){var p=o;this.currentDepth=T0(p,this.currentDepth)}var h=t0(),g=this._toBlockConfigs(Array.from(o.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:c})),this.currentDepth=f,this.wrapper=d}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=G1.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=i0()):(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(v0,"")).replace(g0,p0)),this._appendText(n,t)},t._addBreakNode=function(e,t){u0(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(f0(e)){var n=e,r={};_0.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),r0("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(c0(e)){var r=e,o={};C0.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new Q1(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),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 o=e[r];o.parent=t,o.prevSibling=r>0?e[r-1].key:null,o.nextSibling=r<n?e[r+1].key:null,o.children=i0(o.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new Y1(W1({},o))),this._toContentBlocks(o.childConfigs,o.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return i0(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,o=n.characterList;t.contentBlocks.push(new Z1(W1({},e,{text:e.text+r,characterList:e.characterList.concat(o)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=i0(),o=0;o<=t;o++){var i=e[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),I0=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:X1,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n0)(e=e.trim().replace(h0,"").replace(y0,p0).replace(m0,"").replace(b0,""));if(!n)return null;var r=k0(t);return new D0(r,(function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()};function L0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R0=sU,N0=CU,B0=I0,F0=UU,z0=z1,H0=j$,V0=DV,U0=P$,K0=V0.List,$0=V0.Repeat,W0=H0("draft_tree_data_support"),q0=W0?N0:R0,G0={processHTML:function(e,t){return B0(e,z0,t)},processText:function(e,t,n){return e.reduce((function(e,r,o){r=U0(r);var i=F0(),a={key:i,type:n,text:r,characterList:K0($0(t,r.length))};if(W0&&0!==o){var s=o-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){L0(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:i})).getKey()})}return e.push(new q0(a)),e}),[])}};var Z0=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).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})},Y0=e$,X0=GW,J0=Z0,Q0=kW,e2={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 e2.toggleInlineStyle(e,"BOLD");case"italic":return e2.toggleInlineStyle(e,"ITALIC");case"underline":return e2.toggleInlineStyle(e,"UNDERLINE");case"code":return e2.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return e2.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return e2.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=Y0.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=X0.push(e,t,"insert-characters");return X0.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(),o=n.getBlockBefore(r);if(o&&"atomic"===o.getType()){var i=n.getBlockMap().delete(o.getKey()),a=n.merge({blockMap:i,selectionAfter:t});if(a!==n)return X0.push(e,a,"remove-range")}var s=e2.tryToRemoveBlockStyle(e);return s?X0.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(),o=n.getBlockForKey(r).getLength();if(t.getStartOffset()<o)return null;var i=n.getBlockAfter(r);if(!i||"atomic"!==i.getType())return null;var a=t.merge({focusKey:i.getKey(),focusOffset:i.getLength()}),s=Y0.removeRange(n,a,"forward");return s!==n?X0.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),o=r.getAnchorKey();if(o!==r.getFocusKey())return t;var i=t.getCurrentContent(),a=i.getBlockForKey(o),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var c=a.getDepth();if(!e.shiftKey&&c===n)return t;var u=J0(i,r,e.shiftKey?-1:1,n);return X0.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),o=n.getEndKey(),i=e.getCurrentContent(),a=n;if(r!==o&&0===n.getEndOffset()){var s=Q0(i.getBlockBefore(o));o=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:o,focusOffset:s.getLength(),isBackward:!1})}var c=i.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==o})).some((function(e){return"atomic"===e.getType()}));if(c)return e;var u=i.getBlockForKey(r).getType()===t?"unstyled":t;return X0.push(e,Y0.setBlockType(i,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?e2.toggleBlockType(e,"code-block"):e2.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return X0.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var o,i=e.getCurrentContent();return o=r.has(t)?Y0.removeInlineStyle(i,n,t):Y0.applyInlineStyle(i,n,t),X0.push(e,o,"change-inline-style")},toggleLink:function(e,t,n){var r=Y0.applyEntity(e.getCurrentContent(),t,n);return X0.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),o=e.getCurrentContent(),i=o.getBlockForKey(r).getType(),a=o.getBlockBefore(r);if("code-block"===i&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==i)return Y0.setBlockType(o,t,"unstyled")}return null}},t2=e2,n2=/\r\n?|\n/g;var r2=LV,o2=$V,i2=OX,a2=e$,s2=G0,c2=GW,u2=t2,l2=nZ,f2=jX,d2=MX,p2=function(e){return e.split(n2)};function h2(e,t,n){var r=a2.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return c2.push(e,r.set("entityMap",n),"insert-fragment")}var g2=function(e,t){t.preventDefault();var n=new i2(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),o=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&d2(e.props.handlePastedFiles(r)))return;return void f2(r,(function(t){if(t=t||o){var n=e._latestEditorState,r=p2(t),i=o2.create({style:n.getCurrentInlineStyle(),entity:l2(n.getCurrentContent(),n.getSelection())}),a=u2.getCurrentBlockType(n),s=s2.processText(r,i,a),c=r2.createFromArray(s),u=a2.replaceWithFragment(n.getCurrentContent(),n.getSelection(),c);e.update(c2.push(n,u,"insert-fragment"))}}))}}var i=[],a=n.getText(),s=n.getHTML(),c=e._latestEditorState;if(e.props.formatPastedText){var u=e.props.formatPastedText(a,s);a=u.text,s=u.html}if(!e.props.handlePastedText||!d2(e.props.handlePastedText(a,s,c))){if(a&&(i=p2(a)),!e.props.stripPastedStyles){var l,f=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&f){if(-1!==(null===(l=s)||void 0===l?void 0:l.indexOf(e.getEditorKey()))||1===i.length&&1===f.size&&f.first().getText()===a)return void e.update(h2(e._latestEditorState,f))}else if(f&&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]}))}(i,f))return void e.update(h2(e._latestEditorState,f));if(s){var d=s2.processHTML(s,e.props.blockRenderMap);if(d){var p=d.contentBlocks,h=d.entityMap;if(p){var g=r2.createFromArray(p);return void e.update(h2(e._latestEditorState,g,h))}}}e.setClipboard(null)}if(i.length){var v=o2.create({style:c.getCurrentInlineStyle(),entity:l2(c.getCurrentContent(),c.getSelection())}),y=u2.getCurrentBlockType(c),m=s2.processText(i,v,y),b=r2.createFromArray(m);e.update(h2(e._latestEditorState,b))}}},v2=sG,y2=iJ,m2=uJ,b2=fJ,w2=gJ,x2=CJ,C2=_J,_2=SJ,S2=EJ,O2=uQ,k2=L1,E2=g2,T2=JG,A2=v2.isBrowser("Chrome"),j2=v2.isBrowser("Firefox"),M2=A2||j2?T2:function(e){},P2={onBeforeInput:y2,onBlur:m2,onCompositionStart:b2,onCopy:w2,onCut:x2,onDragOver:C2,onDragStart:_2,onFocus:S2,onInput:O2,onKeyDown:k2,onPaste:E2,onSelect:T2,onMouseUp:M2,onKeyUp:M2},D2=j.unstable_flushControlled;var I2=o,L2=_q,R2=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 o=r.prototype;return o.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},o.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=L2({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return I2.createElement("div",{className:t},I2.createElement("div",{className:L2("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(I2.Component),N2=R2,B2=gQ,F2=TG,z2=sG,H2=z2.isPlatform("Mac OS X"),V2=H2&&z2.isBrowser("Firefox < 29"),U2=B2.hasCommandModifier,K2=B2.isCtrlKeyCommand;function $2(e){return H2&&e.altKey||K2(e)}var W2=function(e){switch(e.keyCode){case 66:return U2(e)?"bold":null;case 68:return K2(e)?"delete":null;case 72:return K2(e)?"backspace":null;case 73:return U2(e)?"italic":null;case 74:return U2(e)?"code":null;case 75:return H2&&K2(e)?"secondary-cut":null;case 77:case 79:return K2(e)?"split-block":null;case 84:return H2&&K2(e)?"transpose-characters":null;case 85:return U2(e)?"underline":null;case 87:return H2&&K2(e)?"backspace-word":null;case 89:return K2(e)?H2?"secondary-paste":"redo":null;case 90:return function(e){return U2(e)?e.shiftKey?"redo":"undo":null}(e)||null;case F2.RETURN:return"split-block";case F2.DELETE:return function(e){return!H2&&e.shiftKey?null:$2(e)?"delete-word":"delete"}(e);case F2.BACKSPACE:return function(e){return U2(e)&&H2?"backspace-to-start-of-line":$2(e)?"backspace-word":"backspace"}(e);case F2.LEFT:return V2&&U2(e)?"move-selection-to-start-of-block":null;case F2.RIGHT:return V2&&U2(e)?"move-selection-to-end-of-block":null;default:return null}},q2=Wb;function G2(){return G2=q2||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},G2.apply(this,arguments)}function Z2(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){X2(e,t,n[t])}))}return e}function Y2(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J2(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Q2=kq,e5=Eq,t5=wZ,n5=uX,r5=$X,o5=P2,i5=D2,a5=N2,s5=PZ,c5=GW,u5=o,l5=dY,f5=_Y,d5=_q,p5=UU,h5=W2,g5=jY,v5=j$,y5=DU,m5=jG,b5=kW,w5=sG.isBrowser("IE"),x5=!w5,C5={edit:o5,composite:t5,drag:r5,cut:null,render:null},_5=!1,S5=function(e){function t(){return e.apply(this,arguments)||this}J2(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}(u5.Component),O5=function(e){function t(t){var n;return X2(Y2(n=e.call(this,t)||this),"_blockSelectEvents",void 0),X2(Y2(n),"_clipboard",void 0),X2(Y2(n),"_handler",void 0),X2(Y2(n),"_dragCount",void 0),X2(Y2(n),"_internalDrag",void 0),X2(Y2(n),"_editorKey",void 0),X2(Y2(n),"_placeholderAccessibilityID",void 0),X2(Y2(n),"_latestEditorState",void 0),X2(Y2(n),"_latestCommittedEditorState",void 0),X2(Y2(n),"_pendingStateFromBeforeInput",void 0),X2(Y2(n),"_onBeforeInput",void 0),X2(Y2(n),"_onBlur",void 0),X2(Y2(n),"_onCharacterData",void 0),X2(Y2(n),"_onCompositionEnd",void 0),X2(Y2(n),"_onCompositionStart",void 0),X2(Y2(n),"_onCopy",void 0),X2(Y2(n),"_onCut",void 0),X2(Y2(n),"_onDragEnd",void 0),X2(Y2(n),"_onDragOver",void 0),X2(Y2(n),"_onDragStart",void 0),X2(Y2(n),"_onDrop",void 0),X2(Y2(n),"_onInput",void 0),X2(Y2(n),"_onFocus",void 0),X2(Y2(n),"_onKeyDown",void 0),X2(Y2(n),"_onKeyPress",void 0),X2(Y2(n),"_onKeyUp",void 0),X2(Y2(n),"_onMouseDown",void 0),X2(Y2(n),"_onMouseUp",void 0),X2(Y2(n),"_onPaste",void 0),X2(Y2(n),"_onSelect",void 0),X2(Y2(n),"editor",void 0),X2(Y2(n),"editorContainer",void 0),X2(Y2(n),"focus",void 0),X2(Y2(n),"blur",void 0),X2(Y2(n),"setMode",void 0),X2(Y2(n),"exitCurrentMode",void 0),X2(Y2(n),"restoreEditorDOM",void 0),X2(Y2(n),"setClipboard",void 0),X2(Y2(n),"getClipboard",void 0),X2(Y2(n),"getEditorKey",void 0),X2(Y2(n),"update",void 0),X2(Y2(n),"onDragEnter",void 0),X2(Y2(n),"onDragLeave",void 0),X2(Y2(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),X2(Y2(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),o=n.editor;if(o){var i=f5.getScrollParent(o),a=e||g5(i),s=a.x,c=a.y;m5(o)||("production"!==process.env.NODE_ENV?y5(!1,"editorNode is not an HTMLElement"):y5(!1)),o.focus(),i===window?window.scrollTo(s,c):l5.setTop(i,c),r||n.update(c5.forceSelection(t,t.getSelection()))}})),X2(Y2(n),"blur",(function(){var e=n.editor;e&&(m5(e)||("production"!==process.env.NODE_ENV?y5(!1,"editorNode is not an HTMLElement"):y5(!1)),e.blur())})),X2(Y2(n),"setMode",(function(e){var t=n.props,r=t.onPaste,o=t.onCut,i=t.onCopy,a=Z2({},C5.edit);r&&(a.onPaste=r),o&&(a.onCut=o),i&&(a.onCopy=i);var s=Z2({},C5,{edit:a});n._handler=s[e]})),X2(Y2(n),"exitCurrentMode",(function(){n.setMode("edit")})),X2(Y2(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),X2(Y2(n),"setClipboard",(function(e){n._clipboard=e})),X2(Y2(n),"getClipboard",(function(){return n._clipboard})),X2(Y2(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),X2(Y2(n),"onDragEnter",(function(){n._dragCount++})),X2(Y2(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||p5(),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"!==process.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}J2(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&&(i5?i5((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:b5(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return u5.createElement(a5,e)}return null},n._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,o=e.customStyleFn,i=e.customStyleMap,a=e.editorState,s=e.preventScroll,c=e.readOnly,u=e.textAlignment,l=e.textDirectionality,f=d5({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),d=this.props.role||"textbox",p="combobox"===d?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:Z2({},e5,i),customStyleFn:o,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return u5.createElement("div",{className:f},this._renderPlaceholder(),u5.createElement("div",{className:d5("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},u5.createElement("div",{"aria-activedescendant":c?null:this.props.ariaActiveDescendantID,"aria-autocomplete":c?null:this.props.ariaAutoComplete,"aria-controls":c?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":c?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":c?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:d5({notranslate:!c,"public/DraftEditor/content":!0}),contentEditable:!c,"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:c?null:d,spellCheck:x5&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},u5.createElement(S5,{editor:this,editorState:a}),u5.createElement(n5,G2({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!_5&&v5("draft_ods_enabled")&&(_5=!0,s5.initODS()),this.setMode("edit"),w5&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Lt.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(u5.Component);X2(O5,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:Q2,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:h5,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var k5=O5,E5={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},T5=E5,A5=FJ.strlen;var j5=FJ,M5=WV,P5=function(e,t){return e===t},D5=function(e){return!!e},I5=[];var L5=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=[],o=t.map((function(e){return e.has(n)})).toList();return M5(o,P5,D5,(function(t,o){var i=e.getText();r.push({offset:j5.strlen(i.slice(0,t)),length:j5.strlen(i.slice(t,o)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(I5,n.toJS())};function R5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N5=sU,B5=CU,F5=E5,z5=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,o){var i=e.getText(),a=e.getEntityAt(r);n.push({offset:A5(i.slice(0,r)),length:A5(i.slice(r,o)),key:Number(t[T5.stringify(a)])})})),n},H5=L5,V5=DU,U5=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:H5(e),entityRanges:z5(e,t),data:e.getData().toObject()}},K5=function(e,t,n,r){if(e instanceof N5)n.push(U5(e,t));else{e instanceof B5||("production"!==process.env.NODE_ENV?V5(!1,"block is not a BlockNode"):V5(!1));var o=e.getParentKey(),i=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){R5(e,t,n[t])}))}return e}({},U5(e,t),{children:[]});o?r[o].children.push(i):n.push(i)}},$5=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],o={},i={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),o=F5.stringify(r);i[o]||(i[o]=r,n[o]="".concat(a),a++)})),K5(e,n,r,o)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(F5.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(e,t),t};function W5(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){q5(e,t,n[t])}))}return e}function q5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G5=UU,Z5=DU,Y5=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},X5={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==process.env.NODE_ENV?Z5(!1,"Invalid raw state"):Z5(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var o=r.children;Array.isArray(o)||("production"!==process.env.NODE_ENV?Z5(!1,"Invalid tree raw block"):Z5(!1)),n=n.concat([].concat(o.reverse()))}}(t,(function(e){var t=W5({},e);Y5(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?W5({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,W5({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=Y5(e),o=e.depth||0,i=W5({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===o)t.push(i);else if(null==a||a.depth<o-1){var s={key:G5(),text:"",depth:o-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===o?t.push(s):null!=a&&a.children.push(s),s.children.push(i)}else if(a.depth===o-1)a.children.push(i);else{for(;null!=a&&a.depth>=o;)n.shift(),a=n[0];o>0?a.children.push(i):t.push(i)}}else t.push(i)})),W5({},e,{blocks:t})}},J5=UJ,Q5={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==process.env.NODE_ENV&&J5(!0,"Tree is missing parent -> child pointer on %s",n),!1;var o=e.getChildKeys().map((function(e){return t.get(e)}));if(!o.every((function(e){return e.getParentKey()===n})))return"production"!==process.env.NODE_ENV&&J5(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==process.env.NODE_ENV&&J5(!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"!==process.env.NODE_ENV&&J5(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==i&&i===a?("production"!==process.env.NODE_ENV&&J5(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==process.env.NODE_ENV&&J5(!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"!==process.env.NODE_ENV&&J5(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),o=[];null!=r;){var i=e.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var c=a.map((function(t){return e.get(t)})),u=c.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==process.env.NODE_ENV&&J5(!0,"%s has no first child",r),!1;r=u.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===e.size||("production"!==process.env.NODE_ENV&&J5(!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)}},e3=Q5,t3=$V,n3=DV.List;var r3=function(e,t){var n=e.map((function(e,n){var r=t[n];return t3.create({style:e,entity:r})}));return n3(n)},o3=FJ.substr;var i3=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=o3(e,0,t.offset).length,o=r+o3(e,t.offset,t.length).length,i=r;i<o;i++)n[i]=t.key})),n},a3=FJ,s3=DV.OrderedSet,c3=a3.substr,u3=s3();var l3=function(e,t){var n=Array(e.length).fill(u3);return t&&t.forEach((function(t){for(var r=c3(e,0,t.offset).length,o=r+c3(e,t.offset,t.length).length;r<o;)n[r]=n[r].add(t.style),r++})),n};function f3(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){d3(e,t,n[t])}))}return e}function d3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p3=sU,h3=CU,g3=eW,v3=E$,y3=X5,m3=e3,b3=A$,w3=r3,x3=i3,C3=l3,_3=UU,S3=DV,O3=DU,k3=j$("draft_tree_data_support"),E3=S3.List,T3=S3.Map,A3=S3.OrderedMap,j3=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||_3(),data:T3(o),characterList:M3(e,t)}},M3=function(e,t){var n=e.text,r=e.entityRanges,o=e.inlineStyleRanges,i=r||[];return w3(C3(n,o||[]),x3(n,i.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return f3({},e,{key:t[e.key]})}))))},P3=function(e){return f3({},e,{key:e.key||_3()})},D3=function(e,t,n){var r=t.map((function(e){return f3({},e,{parentRef:n})}));return e.concat(r.reverse())},I3=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=k3&&!n?y3.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!k3)return function(e,t){return A3(e.map((function(e){var n=new p3(j3(e,t));return[n.getKey(),n]})))}(n?y3.fromRawTreeStateToRawState(e).blocks:r,t);var o=function(e,t){return e.map(P3).reduce((function(n,r,o){Array.isArray(r.children)||("production"!==process.env.NODE_ENV?O3(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):O3(!1));var i=r.children.map(P3),a=new h3(f3({},j3(r,t),{prevSibling:0===o?null:e[o-1].key,nextSibling:o===e.length-1?null:e[o+1].key,children:E3(i.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=D3([],i,a);s.length>0;){var c=s.pop(),u=c.parentRef,l=u.getChildKeys(),f=l.indexOf(c.key),d=Array.isArray(c.children);if(!d){d||("production"!==process.env.NODE_ENV?O3(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):O3(!1));break}var p=c.children.map(P3),h=new h3(f3({},j3(c,t),{parent:u.getKey(),children:E3(p.map((function(e){return e.key}))),prevSibling:0===f?null:l.get(f-1),nextSibling:f===l.size-1?null:l.get(f+1)}));n=n.set(h.getKey(),h),s=D3(s,p,h)}return n}),A3())}(r,t);return"production"!==process.env.NODE_ENV&&(m3.isValidTree(o)||("production"!==process.env.NODE_ENV?O3(!1,"Should be a valid tree"):O3(!1))),o},L3=SQ;var R3=function(e){var t=L3(e),n=0,r=0,o=0,i=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,o=a.bottom,i=a.left}else{var s=t[0];n=s.top,r=s.right,o=s.bottom,i=s.left}for(var c=1;c<t.length;c++){var u=t[c];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),r=Math.max(r,u.right),o=Math.max(o,u.bottom),i=Math.min(i,u.left))}}return{top:n,right:r,bottom:o,left:i,width:r-i,height:o-n}},N3=R3;var B3=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=N3(n),o=r.top,i=r.right,a=r.bottom,s=r.left;return 0===o&&0===i&&0===a&&0===s?null:r},F3={Editor:k5,EditorBlock:cX,EditorState:GW,CompositeDecorator:xq,Entity:E$,EntityInstance:y$,BlockMapBuilder:LV,CharacterMetadata:$V,ContentBlock:sU,ContentState:eW,RawDraftContentState:{},SelectionState:A$,AtomicBlockUtils:mq,KeyBindingUtil:gQ,Modifier:e$,RichUtils:t2,DefaultDraftBlockRenderMap:kq,DefaultDraftInlineStyle:Eq,convertFromHTML:I0,convertFromRaw:function(e){Array.isArray(e.blocks)||("production"!==process.env.NODE_ENV?O3(!1,"invalid RawDraftContentState"):O3(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=v3.__create(o,i,a||{})})),n}(e),n=I3(e,t),r=n.isEmpty()?new b3:b3.createEmpty(n.first().getKey());return new g3({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},convertToRaw:$5,genKey:UU,getDefaultKeyBinding:W2,getVisibleSelectionRect:B3};const z3="FOUND_FIELD",H3="NOT_FOUND",V3="IMMUTABLE",U3=be.span((({theme:e,error:t})=>({display:"inline-block",color:t?e.color.error:e.accent}))),K3=(e,t,n,r)=>{e.findEntityRanges((e=>{const t=e.getEntity();if(t){return n.getEntity(t).getType()===r}return!1}),t)},$3=new F3.CompositeDecorator([{strategy:(e,t,n)=>K3(e,t,n,z3),component:({children:t})=>e(U3,{children:t})},{strategy:(e,t,n)=>K3(e,t,n,H3),component:({children:t})=>e(U3,Object.assign({error:!0},{children:t}))}]),W3=(e,t,n)=>{const r=Ht.find(t,{id:e.id}),o=t.every((e=>!e.value)),i=t.some((e=>e.value));let a=!0,s="";r?o?a=!0:!n&&!i||(null==r?void 0:r.value)||(a=!1):a=!1,s=a?n&&!o?(null==r?void 0:r.value)||"":(null==r?void 0:r.label)||"":(null==r?void 0:r.id)||e.id;return{label:n&&(null==r?void 0:r.value)?s:`{${s}}`,isValid:a}},q3=(e,t,n)=>{const r=((e,t,n)=>{const r={},o={text:"",type:"unstyled",entityRanges:[],key:"",depth:1,inlineStyleRanges:[]},i=e.replace(/(<<\w+?>>)/g,"~~$1~~").split("~~");for(let e=0;e<i.length;e++){let a=i[e];if(a.startsWith("<<")){const i=a.replace(/<<|>>/g,""),s=Ht.find(t||[],{id:i})||{id:i,label:""},{label:c,isValid:u}=W3(s,t||[],n);a=c,o.entityRanges.push({key:e,offset:o.text.length,length:a.length}),r[e]={type:u?z3:H3,mutability:V3,data:{id:i}}}o.text+=a}return F3.convertFromRaw({blocks:[o],entityMap:r})})(e,t,n);return F3.EditorState.createWithContent(r,$3)},G3=(e,t=!0)=>{const n=e.getCurrentContent(),r=F3.convertToRaw(n);return t?(e=>{const t=e.blocks.map((t=>{const{text:n,entityRanges:r}=t;if(r.length<1)return n;const o=[];let i=0;return r.forEach((({key:t,offset:r,length:a})=>{r>i&&o.push(n.substr(i,r-i));const s=Ht.get(e,`entityMap[${t}].data.id`,"unknown");o.push(`<<${s}>>`),i=r+a})),o.push(n.substr(i)),o.join("")}));return t.join(" ")})(r):r},Z3=e=>{const t=G3(e,!1);return"string"!=typeof t?Object.values(t.entityMap):[]},Y3=e=>{const t=e.getCurrentContent().getLastBlock(),n=t.getKey(),r=t.getLength(),o=new F3.SelectionState({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r});return F3.EditorState.forceSelection(e,o)},X3=(e,t,n=!0)=>{const[r,o]=y(!1);return{focused:r,handleFocus:t=>{n&&o(!0),e&&e(t)},handleBlur:e=>{o(!1),t&&t(e)}}},J3=e=>!!e||null!=e&&""!==e,Q3=be.div((({theme:{input:e},backgroundColor:t,borderRadius:n,borderless:r,borderColor:o,textOnly:i,focused:a,invalid:s,disabled:c,hasLabel:u,pointer:l})=>({display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",minHeight:u?48:40,height:u?48:40,padding:"5px 16px",boxSizing:"border-box",color:c?e.labelColor.disabled:e.labelColor.default,backgroundColor:e.background.default,borderBottom:r?void 0:"1px solid",borderColor:o||e.borderColor.default,borderRadius:null!=n?n:4,borderBottomLeftRadius:null!=n?n:0,borderBottomRightRadius:null!=n?n:0,cursor:l?"pointer":void 0,"&:hover":{backgroundColor:c||i||t?void 0:e.background.hover,borderColor:a||c||r||s?void 0:e.borderColor.hover,Label:{color:a||c?void 0:e.labelColor.hover}}})),(({theme:{input:e},focused:t})=>({backgroundColor:t?e.background.focused:void 0,borderColor:t?e.borderColor.focused:void 0})),(({theme:{input:e},invalid:t})=>({borderColor:t?e.borderColor.error:void 0})),(({theme:{input:e},disabled:t,readOnly:n})=>({backgroundColor:t?e.background.disabled:void 0,borderColor:t?e.borderColor.disabled:void 0,pointerEvents:t||n?"none":void 0})),(({borderless:e})=>({border:e?"none":void 0})),(({theme:e,textOnly:t,disabled:n})=>({padding:t?0:void 0,backgroundColor:t?"transparent":void 0,width:t?"max-content":void 0,height:t?"max-content":void 0,minHeight:t?"max-content":void 0,color:t&&n?e.scale4:void 0})),(({backgroundColor:e})=>({backgroundColor:e})),Nn,Fn,Bn),e4=be.div((({readOnly:e})=>({display:"flex",flexDirection:"column",boxSizing:"border-box",width:"100%",position:"relative","& > label, & > input":{pointerEvents:e?"none":void 0,caretColor:e?"transparent":void 0}}))),t4=be.label((({theme:{font:e,input:t},filled:n,focused:r})=>({fontSize:n||r?e.size.sm:e.size.lg,color:n?t.labelColor.filled:t.labelColor.default,position:"relative",top:n||r?void 0:1})),(({theme:{input:e},disabled:t})=>({color:t?e.labelColor.disabled:void 0})),(({theme:{input:e},focused:t})=>({color:t?e.labelColor.focused:void 0})));var n4={Container:Q3,Wrapper:e4,Label:t4,useInputFocus:X3,isInputFilled:J3};const r4=f(((n,r)=>{var{value:o,onChange:i,onEnterKey:a,onFocus:s,onBlur:c,mergeFields:u=[],placeholder:l="Text here...",width:f,height:d,maxHeight:p,borderless:h=!1,noPadding:m=!1,readOnly:b=!1,displayMergedValues:x=!1,color:C,overflow:_,clampLines:S,label:O,disabled:k,borderRadius:E,backgroundColor:T,fontSize:A,textOnly:j,margin:M,marginLeft:P,marginRight:D,marginTop:L,marginBottom:R}=n,N=I(n,["value","onChange","onEnterKey","onFocus","onBlur","mergeFields","placeholder","width","height","maxHeight","borderless","noPadding","readOnly","displayMergedValues","color","overflow","clampLines","label","disabled","borderRadius","backgroundColor","fontSize","textOnly","margin","marginLeft","marginRight","marginTop","marginBottom"]);const[B,F]=y((()=>q3(o,u,x))),{focused:z,handleFocus:H,handleBlur:V}=X3(s,c),[U,K]=y(!1),$=g(null),W=g(),q=null!=p?p:d,G=q?q-(h?0:O?29:11):void 0,Z=e=>{F(e);const t=(e=>Z3(e).some((e=>e.type===H3)))(e);K(t);const n=G3(e),r=e.getLastChangeType();i&&i(n,t,r)},Y=e=>{const t=((e,t,n,r)=>{const{id:o}=e,i=n.getCurrentContent(),a=n.getSelection(),{label:s,isValid:c}=W3(e,t,r),u=c?z3:H3,l=i.createEntity(u,V3,{id:o}).getLastCreatedEntityKey(),f=F3.Modifier.insertText(i,a,s,void 0,l),d=F3.EditorState.push(n,f,"insert-characters");return F3.EditorState.forceSelection(d,f.getSelectionAfter())})(e,u,B,x);Z(t)},X=()=>{(null==$?void 0:$.current)&&$.current.focus();const e=Y3(B);F(e)};w(r,(()=>({insertField:Y,focusAtEnd:X})));v((()=>{G3(B)!==o&&(e=>{const t=B.getSelection(),n=q3(e,u,x),r=Y3(n),o=t.getHasFocus()?r:n;Z(o)})(o)}),[o]),v((()=>{W.current=u}),[]),v((()=>{const{current:e}=W,t=Ht.isEqual(e,u),n=Z3(B);if(!t&&n.length>0){W.current=u;const e=q3(o,u,x);Z(e)}}),[u]);return e(o4,Object.assign({onClick:e=>{b||e.stopPropagation();B.getSelection().getHasFocus()||X()},width:f,height:d,editorMaxHeight:G,borderless:h||j,noPadding:m||j,readOnly:b,color:C,overflow:_,clampLines:S,filled:J3(o),invalid:U,textOnly:j,borderRadius:E,backgroundColor:T,fontSize:A,margin:M,marginLeft:P,marginRight:D,marginTop:L,marginBottom:R,focused:z,disabled:k,hasLabel:!!O,hideEditor:!J3(o)&&!!O&&!z},{children:t(e4,Object.assign({readOnly:b},{children:[O&&e(t4,Object.assign({filled:J3(o),focused:z,disabled:k},{children:O})),e(F3.Editor,Object.assign({ref:$,editorState:B,onChange:Z,placeholder:l,readOnly:b,handleReturn:e=>{const t=F3.RichUtils.insertSoftNewline(B);return e.shiftKey||!a?Z(t):a(e),"handled"},handlePastedText:(e,t,n)=>{const r=((e,t)=>{const n=t.getCurrentContent(),r=t.getSelection(),o={text:e,type:"unstyled",entityRanges:[],key:"",depth:1,inlineStyleRanges:[]},i=F3.convertFromRaw({blocks:[o],entityMap:{}}),a=F3.EditorState.createWithContent(i,$3).getCurrentContent().getBlockMap(),s=F3.Modifier.replaceWithFragment(n,r,a);return F3.EditorState.push(t,s,"insert-fragment")})(e,n);return Z(r),"handled"},onFocus:H,onBlur:V},N))]}))}))})),o4=be(Q3)((({theme:e,height:t,noPadding:n,disabled:r,readOnly:o,color:i})=>({alignItems:t?"flex-start":void 0,minHeight:t,height:"max-content",padding:n?0:void 0,color:r?e.input.color.disabled:i||e.input.color.default,cursor:o?"inherit":"text","&:hover":{backgroundColor:o?e.input.background.default:void 0,borderBottom:o?`1px solid ${e.input.borderColor.default}`:void 0,Label:{color:o?e.input.labelColor.filled:void 0}}})),(({theme:e,height:t,hasLabel:n,editorMaxHeight:r,overflow:o,clampLines:i,hideEditor:a,fontSize:s,noPadding:c,filled:u})=>({"& .public-DraftEditor-content":{maxHeight:r||t,overflow:o||"auto",lineHeight:n?"19px":"21px",position:a?"absolute":"relative",fontSize:s||e.font.size.lg,top:!u||n||c?void 0:1,caretColor:e.accent},"& .public-DraftStyleDefault-block":{WebkitLineClamp:i,overflow:i?"hidden":o||"auto",display:i?"-webkit-box":void 0,WebkitBoxOrient:i?"vertical":void 0,wordBreak:i?"break-word":void 0},"& .public-DraftEditorPlaceholder-root":{color:e.input.color.placeholder,position:"relative",visibility:a?"hidden":void 0,fontSize:s||e.font.size.lg}})),(({noPadding:e,hasLabel:t})=>{let n;return e&&(n=-1),t&&(n=-2),{"& .public-DraftEditorPlaceholder-inner":{position:"absolute",pointerEvents:"none",top:n}}}));var i4={exports:{}};i4.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){var n,r,o=e.exports={};function i(){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===i||!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:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!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 g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},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,o,i,a,s,c){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,i,a,s,c],f=0;(u=new Error(t.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(0))},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){var r=n(1);if("production"!==t.env.NODE_ENV){var o=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 o=0,i="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}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),i=2;i<n;i++)r[i-2]=arguments[i];o.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(0))},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.format=void 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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(6),a=u(i),s=u(n(7)),c=n(12);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={phoneNumber:r.props.value?(0,c.format)(r.props.value):"",cursorPosition:0,key:""},r.handleKeyDown=function(e){var t=e.key,n=e.currentTarget,o=n.selectionStart,i=n.selectionEnd;if(!(0,c.isInvalidKey)(t)){var a={start:o,end:i},s=(0,c.update)(r.state.phoneNumber,a,t),u=s.phoneNumber,l=void 0===u?"":u,f=s.cursorPosition,d=void 0===f?0:f;r.setState({phoneNumber:l,cursorPosition:d,key:t}),r.props.onChange(l)}},f(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.value!==e.value&&this.setState({phoneNumber:(0,c.format)(e.value),cursorPosition:0,key:""})}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state.cursorPosition;this.textInput&&(navigator.userAgent.search("Chrome")>0&&window.requestAnimationFrame((function(){e.textInput.setSelectionRange(t,t)})),setTimeout((function(){e.textInput.setSelectionRange(t,t)}),20))}},{key:"render",value:function(){var e,t=this,n=this.state.phoneNumber,o=this.props.inputComponent,i=o?"innerRef":"ref",s=r({},this.props,(l(e={},i,(function(e){return t.textInput=e})),l(e,"type","tel"),l(e,"value",n),l(e,"onKeyDown",this.handleKeyDown),l(e,"onChange",(function(){})),e));return o?a.default.createElement(o,s):a.default.createElement("input",s)}}]),t}(i.Component);d.propTypes={inputComponent:s.default.oneOfType([s.default.instanceOf(i.Component),s.default.func]),onChange:s.default.func,value:s.default.string},d.defaultProps={onChange:function(){}},t.format=c.format,t.normalize=c.normalize,t.default=d},function(e,t){e.exports=o},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(8)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(11)()}).call(t,n(0))},function(e,t,n){(function(t){var r=n(1),o=n(2),i=n(4),a=n(9),s=n(3),c=n(10);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator,l="@@iterator",f="<<anonymous>>",d={array:v("array"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:g(r.thatReturnsNull),arrayOf:function(e){return g((function(t,n,r,o,i){if("function"!=typeof e)return new h("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+o+" `"+i+"` of type `"+m(a)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<a.length;c++){var u=e(a,c,r,o,i+"["+c+"]",s);if(u instanceof Error)return u}return null}))},element:g((function(t,n,r,o,i){var a=t[n];return e(a)?null:new h("Invalid "+o+" `"+i+"` of type `"+m(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return g((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||f;return new h("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:f)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:g((function(e,t,n,r,o){return y(e[t])?null:new h("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,n,r,o,i){if("function"!=typeof e)return new h("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],c=m(a);if("object"!==c)return new h("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var l=e(a,u,r,o,i+"."+u,s);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new h("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&i(!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&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",w(o),n),r.thatReturnsNull}return g((function(t,n,r,o,i){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,o,i,s))return null;return new h("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}))},shape:function(e){return g((function(t,n,r,o,i){var a=t[n],c=m(a);if("object"!==c)return new h("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var l=e[u];if(l){var f=l(a,u,r,o,i+"."+u,s);if(f)return f}}return null}))},exact:function(e){return g((function(t,n,r,o,i){var c=t[n],u=m(c);if("object"!==u)return new h("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var l=a({},t[n],e);for(var f in l){var d=e[f];if(!d)return new h("Invalid "+o+" `"+i+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(c,f,r,o,i+"."+f,s);if(p)return p}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){this.message=e,this.stack=""}function g(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function c(c,u,l,d,p,g,v){if(d=d||f,g=g||l,v!==s)if(n)o(!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 y=d+":"+l;!r[y]&&a<3&&(i(!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.",g,d),r[y]=!0,a++)}return null==u[l]?c?null===u[l]?new h("The "+p+" `"+g+"` is marked as required in `"+d+"`, but its value is `null`."):new h("The "+p+" `"+g+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(u,l,d,p,g)}var u=c.bind(null,!1);return u.isRequired=c.bind(null,!0),u}function v(e){return g((function(t,n,r,o,i,a){var s=t[n];return m(s)!==e?new h("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function y(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(y);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e[l]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!y(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!y(i[1]))return!1}return!0;default:return!1}}function m(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 b(e){if(null==e)return""+e;var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=c,d.PropTypes=d,d}}).call(t,n(0))},function(e,t,n){
|
|
209
209
|
/*
|
|
210
210
|
object-assign
|
|
211
211
|
(c) Sindre Sorhus
|
|
212
212
|
@license MIT
|
|
213
213
|
*/
|
|
214
|
-
var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;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 o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var r=n(2),o=n(4),i=n(3),a={};e.exports=function(e,n,s,c,u){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{r("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",c||"React class",s,l,typeof e[l]),f=e[l](n,l,c,s,null,i)}catch(e){f=e}if(o(!f||f 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).",c||"React class",s,l,typeof f),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var d=u?u():"";o(!1,"Failed %s type: %s%s",s,f.message,null!=d?d:"")}}}}).call(t,n(0))},function(e,t,n){var r=n(1),o=n(2),i=n(3);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!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,n){Object.defineProperty(t,"__esModule",{value:!0});var r="insert",o="backspace",i=t.isInvalidKey=function(e){return"Backspace"!==e&&!/[0-9]/.test(e)},a=function(e){return e.start!==e.end};t.update=function(e,t,n){var r=a(t);return"Backspace"===n?s(e,t):function(e,t,n){return!(10===u(e).length&&!n||i(t))}(e,n,r)?c(e,t,n):{phoneNumber:e,cursorPosition:t.start}};var s=t.backspace=function(e,t){var n=t.start,r=t.end,i=e;if(!a(t)&&n>0&&e[n-1].match(/[0-9]/)&&(i=e.substring(0,n-1)+i.substring(n)),a(t)){var s=e.substring(n,r).replace(/\d/g,"");i=e.substring(0,n)+s+i.substring(r)}var c=d(e,i,t,o);return{phoneNumber:f(i),cursorPosition:c}},c=t.insert=function(e,t,n){t.start,t.end;var o=e;a(t)&&(o=l(e,n,t)),a(t)||(o=l(e,n,t));var i=d(e,o,t,r);return{phoneNumber:f(o),cursorPosition:i}},u=t.normalize=function(e){return e.replace(/\D/g,"")},l=t.insertChars=function(e,t,n){return e.substring(0,n.start)+t+e.substring(n.end)},f=t.format=function(e){var t=u(e),n=t.substring(0,3),r=t.substring(3,6),o=t.substring(6,11);return o?"("+n+") "+r+"-"+o:r?n+"-"+r:t},d=t.getCursorPosition=function(e,t,n,i){if(n.start===e.length)return f(t).length;if(0===n.start){if(i===o)return 0;if(i===r)return 1}if(i===o){var s=/[^0-9]/g;if(a(n)&&s.test(e.substring(n.start,n.end)))return n.start;if(!a(n)&&s.test(e[n.start-1]))return n.start-1}var c=e.substring(n.end).match(/[0-9]/g),u=c?c.length:0,l=f(t),d=p(l,u);return l.length-d},p=t.getCharCountFromEndWithNumbers=function(e,t){var n=e.split("");n.reverse();var r=0,o=n.reduce((function(e,n){return r===t?e:(/[0-9]/.test(n)&&r++,e+1)}),0);return r<t?0:o}}]);var a9=i9.exports;const s9=(t,n)=>{const r=e=>h(e,n);return"string"==typeof t?e(Vn,Object.assign({name:t,inheritColor:!0},n)):"object"==typeof t&&"props"in t&&"trigger"in t.props?h(t,{trigger:r(t.props.trigger)}):"object"==typeof t&&"props"in t?r(t):e(Vn,Object.assign({},t,n))},c9=f(((n,r)=>{var{id:o,label:i,placeholder:a,placeholderColor:s,description:c,isLoading:u,search:l,phone:f,textOnly:d,iconLeft:p,iconRight:h,invalid:b,borderless:x,borderRadius:C,borderColor:_,backgroundColor:S,fontSize:O,width:k,height:T,margin:A,marginLeft:j,marginRight:M,marginTop:P,marginBottom:D,padding:L,paddingLeft:R,paddingRight:N,paddingTop:B,paddingBottom:F,containerRef:z,value:H,disabled:V,readOnly:U,preventFocus:K,pointer:$,onChange:W,onClick:q,onClear:G,onFocus:Z,onBlur:Y}=n,X=I(n,["id","label","placeholder","placeholderColor","description","isLoading","search","phone","textOnly","iconLeft","iconRight","invalid","borderless","borderRadius","borderColor","backgroundColor","fontSize","width","height","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","containerRef","value","disabled","readOnly","preventFocus","pointer","onChange","onClick","onClear","onFocus","onBlur"]);const{focused:J,handleFocus:Q,handleBlur:ee}=X3(Z,Y,!K&&!U),te=g(null),{color:ne}=E(),[re,oe]=y(d?50:void 0),ie=g(null),ae={margin:A,marginTop:P,marginBottom:D,marginRight:M,marginLeft:j},se={padding:L,paddingTop:B,paddingBottom:F,paddingRight:N,paddingLeft:R};m((()=>{if(d&&ie){const{current:e}=ie,t=null==e?void 0:e.offsetWidth;"number"==typeof t&&oe(t+3)}}),[d,H,a,ie]);const ce=d?H||a:H,ue=H&&G&&!u,le=()=>{J||Q()},fe=()=>{J&&ee()};w(r,(()=>({focus:le,blur:fe,hasFocus:J}))),v((()=>{var e;J&&(null===(e=te.current)||void 0===e||e.focus())}),[J]);return t(Q3,Object.assign({ref:z,invalid:b,textOnly:d,borderless:x||d,borderRadius:C,borderColor:_,backgroundColor:S,width:k,height:T,focused:J,disabled:V,hasLabel:!!i,onClick:e=>{K||U||le(),q&&q(e)},pointer:$,readOnly:U},ae,se,{children:[l&&e(Vn,{name:"search",marginRight:8,inheritColor:!0}),p&&s9(p,{marginRight:8}),t(e9,Object.assign({readOnly:U||K},{children:[d&&e(d9,Object.assign({ref:ie,fontSize:O},{children:ce})),i&&!d&&e(t9,Object.assign({htmlFor:o||i,filled:J3(H),focused:J,disabled:V},{children:i})),e(u9,Object.assign({id:o||i,ref:te,value:H,placeholder:a,placeholderColor:s,onChange:e=>{if(f){const{value:t}=e.target,n=a9.normalize(t);if(n.length>10)return;const r=a9.format(n);W&&W(e,r,n)}else W&&W(e)},onFocus:Q,onBlur:ee,disabled:V,hide:!(J3(H)||!i||J||d),width:re,fontSize:O},X))]})),h&&s9(h),u&&e(Bc,{}),ue&&e(l9,Object.assign({onClick:G},{children:e(Vn,{name:"close-circle-outline",color:ne.brand})})),c&&e(f9,Object.assign({invalid:b},{children:c}))]}))})),u9=be.input((({theme:{font:e,input:t,size:n,accent:r},fontSize:o,hide:i,disabled:a,width:s,placeholderColor:c})=>({outline:"none",border:"none",color:a?t.color.disabled:t.color.default,caretColor:r,backgroundColor:"transparent",paddingLeft:0,fontSize:o||e.size.lg,fontFamily:e.family.default,width:s||"100%",height:"100%",marginRight:n.sm,boxSizing:"border-box",opacity:i?0:1,position:i?"absolute":void 0,"&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active":{transition:"background-color 0s 50000s",WebkitTextFillColor:t.color.default},"&::placeholder":{color:c||t.color.placeholder,opacity:1}}))),l9=be.div({height:"100%",cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:4}),f9=be.div((({theme:{font:e,input:t},invalid:n})=>({color:n?t.color.descriptionError:t.color.description,fontSize:e.size.sm,position:"absolute",left:0,top:"calc(100% + 4px)"}))),d9=be.div((({theme:{font:e},fontSize:t})=>({position:"absolute",width:"max-content",opacity:0,fontSize:t||e.size.lg,zIndex:-1}))),p9=e=>d.toArray(e).filter((e=>"string"==typeof e)).join("").trim(),h9=n=>{var{onChange:r,onTextChange:o,afterShow:i,afterHide:a,onFocus:s,onBlur:c,onError:u,placeholder:l,placeholderColor:f,value:d,options:p,children:h,borderless:m,borderColor:b,backgroundColor:w,hideIcon:x,clearOnSelect:C,textOnly:_,width:S,height:O,isLoading:k,margin:T,marginTop:A,marginBottom:j,marginRight:M,marginLeft:P,label:D,id:L,name:R,trigger:N,centerY:B,centerX:F,offsetY:z,offsetX:H,direction:V,fontSize:U,description:K,disabled:$,invalid:W,search:q,filter:G,restrictInput:Z,inputRef:Y,optionsParent:X}=n,J=I(n,["onChange","onTextChange","afterShow","afterHide","onFocus","onBlur","onError","placeholder","placeholderColor","value","options","children","borderless","borderColor","backgroundColor","hideIcon","clearOnSelect","textOnly","width","height","isLoading","margin","marginTop","marginBottom","marginRight","marginLeft","label","id","name","trigger","centerY","centerX","offsetY","offsetX","direction","fontSize","description","disabled","invalid","search","filter","restrictInput","inputRef","optionsParent"]);const[Q,ee]=y(""),[te,ne]=y(""),[re,oe]=y(!1),[ie,ae]=y(!1),[se,ce]=y(!1),ue=g(null),{input:le}=E(),fe={margin:T,marginTop:A,marginBottom:j,marginRight:M,marginLeft:P},de=e=>{e&&e.stopPropagation(),!re&&i&&i(),re&&a&&a(),oe((e=>!e))};v((()=>{var e;if(re&&q){null===(e=(Y||ue).current)||void 0===e||e.focus()}}),[re,q]),v((()=>{u&&u(se)}),[se]),v((()=>{o&&o(te)}),[te]);const pe=Pt(de,re,X?[X,`${X} *`]:void 0),he=(e,t)=>{if(void 0===e)return!1;return e.toString().toLowerCase()===t.toLowerCase()},ge=e=>{const t=be().find((t=>{let n=he(t.label,e);return!n&&"id"in t&&(n=he(t.id,e)),n||!("value"in t)||"string"!=typeof t.value&&"number"!=typeof t.value||(n=he(t.value,e)),n}));return t},ve=e=>"function"==typeof Z?!Z(e):Z,ye=e=>me(null,e),me=(e,t)=>{let n,o=!1;if("string"==typeof e){n=(e=>{if(ve(e))return ge(e)||null;return{id:$H(),label:e,value:e}})(e);const t=ve(e);null===n&&t&&(o=!0)}else n=e;re&&de(t),ee((null==n?void 0:n.label)||""),r&&void 0!==n&&r(n),o?ce(!0):(se&&ce(!1),C&&ee(""),ne(""))};v((()=>{""===d&&ye()}),[d]);const be=()=>{const e=pc(h).map((e=>{const t=e;let n=t.props.displayText||"";return!D&&t.props.children&&(n=p9(t.props.children)),{id:t.props.id,label:n,onClick:t.props.onClick}}));return[...yc(p||[],{search:q,filter:G,inputText:te}),...e]},we={options:be(),select:me,open:de,close:de,searchText:q?te:void 0,isOpen:re,isFocused:ie},[xe,Ce]=Vt(we),_e=bc(p||[],h,me,de,{selected:xe,search:q,filter:G,inputText:te}),Se=re?"caret-up":"caret-down",Oe=_&&!$?f||le.color.default:void 0,ke=I(J,["onClear","phone"]);return e(g9,Object.assign({textOnly:_,altTrigger:!!N,width:S,height:O,focused:ie,search:q},fe,{children:t(v9,Object.assign({ref:pe},{children:[N?e(y9,Object.assign({id:L,onClick:de,tabIndex:0,onFocus:()=>ae(!0),onBlur:()=>ae(!1)},{children:N})):e(b9,Object.assign({shake:se},{children:e(c9,Object.assign({},ke,{ref:Y||ue,id:L,name:R,label:D,fontSize:U,pointer:!0,preventFocus:!q,value:te||d||Q,placeholder:l||"Select",placeholderColor:Oe,iconRight:x||k?void 0:Se,borderless:m,borderColor:b,backgroundColor:w,isLoading:k,textOnly:_,description:K,disabled:$,invalid:se||W,onClick:de,onChange:e=>{var t;const{value:n}=e.target,r=null===(t=(Y||ue).current)||void 0===t?void 0:t.hasFocus;q?(ne(n),!re&&r&&oe(!0),se&&ce(!1)):n||ye(e);const o=ge(n),i=ve(n),a=""===n||i&&!r;o&&!(q&&(!i||r))?me(o,e):q&&!a||ye(e)},onFocus:e=>{ae(!0),s&&s(e)},onBlur:e=>{var t;if(ae(!1),c&&c(e),q&&te&&e){const{relatedTarget:n}=e;(null===(t=null==Ce?void 0:Ce.current)||void 0===t?void 0:t.contains(n))||me(te,e)}}}))})),re&&_e.length>0&&e(hc,Object.assign({containerRef:Ce,parentSelector:X,width:!N&&!_||X?"100%":void 0,centerY:B,centerX:F,offsetY:z,offsetX:H,direction:V},{children:_e}))]}))}))};h9.Item=({value:t,displayText:n,setValue:r,close:o,children:i,contentPosition:a,color:s,accented:c,onClick:u,id:l})=>{const f=u?e=>{u&&u(e),o&&o()}:e=>{const o={id:l,label:n||p9(i)||"",value:t};r&&r(o,e)};return e(hc.Item,Object.assign({id:l,contentPosition:a,color:s,onClick:f,accented:c},{children:i}))};const g9=be.div({display:"flex",boxSizing:"border-box"},(({theme:{accent:e},focused:t,search:n,altTrigger:r,textOnly:o})=>({width:r||o?"max-content":"100%",flexDirection:"column",outline:!t||n||r?void 0:`${e} solid 1px`})),Nn,Fn),v9=be.div({position:"relative",width:"100%",height:"inherit"}),y9=be.div((({theme:{accent:e}})=>({display:"flex",height:"inherit","&:focus-visible":{outline:`${e} solid 1px`}}))),m9=k({"10%":{transform:"translate3d(-1px, 0, 0)"},"30%":{transform:"translate3d(2px, 0, 0)"},"50%":{transform:"translate3d(-2px, 0, 0)"},"70%":{transform:"translate3d(2px, 0, 0)"},"90%":{transform:"translate3d(-1px, 0, 0)"}}),b9=be.div((({shake:e})=>({"& input":{animation:e?`${m9} .5s linear`:void 0}}))),w9=be.div({display:"grid"},(({rows:e,rowGap:t,columns:n,columnGap:r,gap:o,template:i,alignContent:a,alignItems:s,justifyContent:c,justifyItems:u,width:l,height:f})=>({gridTemplateColumns:"number"==typeof n?`repeat(${n}, 1fr)`:n,gridTemplateRows:"number"==typeof e?`repeat(${e}, 1fr)`:e,gridColumnGap:r,gridRowGap:t,gridGap:o,gridTemplate:i,alignItems:s,justifyItems:u,alignContent:a,justifyContent:c,width:l,height:f})),(({columns:e})=>"equal"===e&&{gridTemplateColumns:"unset",gridAutoColumns:"1fr",gridAutoFlow:"column"}),Bn,Fn);w9.Item=be.div((({row:e,rowStart:t,rowEnd:n,column:r,columnStart:o,columnEnd:i,area:a,alignSelf:s,justifySelf:c,placeSelf:u,border:l})=>({gridRow:e,gridRowStart:t,gridRowEnd:n,gridColumn:r,gridColumnStart:o,gridColumnEnd:i,gridArea:a,alignSelf:s,justifySelf:c,placeSelf:u,border:l})),Bn,Fn);const x9=n=>{var{id:r,label:o,labelPosition:i,checked:a,disabled:s,margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d}=n,p=I(n,["id","label","labelPosition","checked","disabled","margin","marginTop","marginBottom","marginRight","marginLeft"]);const h="right"===i,g={margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d};return t(tV,Object.assign({htmlFor:r,labelRight:h,disabled:s},g,{children:[o&&e(rV,{children:o}),e(nV,Object.assign({id:r,type:"radio",checked:a,disabled:s},p)),e(Vn,{name:"radio-button",marginLeft:o&&!h?8:0,marginRight:o&&h?8:0,pointer:!s})]}))},C9=n=>{var{id:r,label:o,labelPosition:i,checked:a,disabled:s,onChange:c,margin:u,marginTop:l,marginBottom:f,marginRight:d,marginLeft:p}=n,h=I(n,["id","label","labelPosition","checked","disabled","onChange","margin","marginTop","marginBottom","marginRight","marginLeft"]);const[g,m]=y("toggle-off"),[b,w]=y(a||!1),x="right"===i,C={margin:u,marginTop:l,marginBottom:f,marginRight:d,marginLeft:p};return v((()=>{m(b?"toggle-on":"toggle-off")}),[b]),v((()=>{w("boolean"==typeof a?a:b)}),[a,b]),t(tV,Object.assign({htmlFor:r,labelRight:x,disabled:s},C,{children:[o&&e(rV,{children:o}),e(nV,Object.assign({id:r,type:"checkbox",checked:b,disabled:s,onChange:()=>{const e=!b;w(e),c(e)}},h)),e(Vn,{name:g,marginLeft:o&&!x?8:0,marginRight:o&&x?8:0,pointer:!s,size:40})]}))},_9=e=>{var{children:n,iconLeft:r,iconRight:o,disabled:i,pill:a}=e,s=I(e,["children","iconLeft","iconRight","disabled","pill"]);return t(S9,Object.assign({as:a?void 0:"label",disabled:i,rightIcon:!!o,pill:a},s,{children:[r&&s9(r,{marginRight:4,size:"small"}),n,o&&s9(o,{marginLeft:4,size:"small"})]}))},S9=be.div((({theme:e,disabled:t,pill:n})=>({display:"flex",alignItems:"center",width:"max-content",color:t?e.scale4:e.scale10,cursor:"default",fontSize:n?e.font.size.sm:e.font.size.md,fontWeight:n?e.font.weight.medium:e.font.weight.default,fontFamily:e.font.family.default})),(({theme:e,disabled:t,pill:n,rightIcon:r})=>n&&{borderRadius:40,padding:`2px ${e.size.sm}px`,paddingRight:r?e.size.xs:void 0,backgroundColor:t?e.scale0:e.scale1,"&:hover":{backgroundColor:t||!n?void 0:e.scale2}}),Fn),O9=t=>{var{children:n,rows:r,columns:o,rowGap:i,columnGap:a,onSubmit:s}=t,c=I(t,["children","rows","columns","rowGap","columnGap","onSubmit"]);return e(k9,Object.assign({as:"form",rows:r,columns:o,rowGap:i,columnGap:a,onSubmit:e=>{s?s(e):e.preventDefault()}},c,{children:n}))};O9.Group=t=>{var{children:n,rows:r,columns:o,rowGap:i,columnGap:a,disabled:s}=t,c=I(t,["children","rows","columns","rowGap","columnGap","disabled"]);return e(E9,Object.assign({rows:r,columns:o,rowGap:i,columnGap:a,disabled:s},c,{children:n}))},O9.Field=({children:t,inline:n,align:r,disabled:o})=>e(T9,Object.assign({inline:n,align:r,disabled:o},{children:t})),O9.Input=c9,O9.Dropdown=h9,O9.Radio=x9,O9.Toggle=C9,O9.Checkbox=oV,O9.Label=_9;const k9=be(w9)({boxSizing:"border-box"}),E9=be(w9)((({disabled:e})=>e&&{opacity:.3,pointerEvents:"none"})),T9=be.div((({inline:e,align:t})=>({display:"flex",flexDirection:e?"row":"column",alignItems:t?{top:"flex-start",bottom:"flex-end",center:"center"}[t]:void 0})),(({disabled:e})=>e&&{opacity:.3,pointerEvents:"none"})),A9=({visible:n,close:r,images:o,startIndex:i,alt:a,maxWidth:s,maxHeight:c,opacity:u})=>{const[l,f]=y(i),d=Pt(r,n,["#prev","#next","#prev *","#next *"]);v((()=>{f(i)}),[i]);const p=()=>f(l>0?l-1:o.length-1),h=()=>l<o.length-1?f(l+1):f(0),g=e=>{const{key:t}=e;switch(t){case"ArrowLeft":case"ArrowDown":e.preventDefault(),p();break;case"ArrowRight":case"ArrowUp":e.preventDefault(),h();break;case"Escape":e.preventDefault(),r()}};return v((()=>{const e="undefined"==typeof window,t=e?()=>null:()=>window.removeEventListener("keydown",g);return n&&!e&&window.addEventListener("keydown",g),t}),[n,l]),n?t(j9,Object.assign({opacity:u,prevNext:o.length>1},{children:[e(M9,Object.assign({onClick:r},{children:e(Vn,{name:"close",size:25,color:"white"})})),o.length>1&&e(P9,Object.assign({id:"prev",onClick:p},{children:e(Vn,{name:"chevron-left",size:35,color:"white"})})),e(D9,{ref:d,src:o[l],alt:a,maxWidth:s,maxHeight:c}),o.length>1&&e(P9,Object.assign({next:!0,id:"next",onClick:h},{children:e(Vn,{name:"chevron-right",size:35,color:"white"})}))]})):null},j9=be.div((({prevNext:e,opacity:t})=>({width:"100%",height:"100%",backgroundColor:`rgba(0, 0, 0, ${null!=t?t:.3})`,position:"fixed",top:0,left:0,display:"grid",gridTemplateColumns:e?"auto 1fr auto":"1fr",justifyContent:"space-between",alignItems:"center",zIndex:1e4,userSelect:"none",borderRadius:5}))),M9=be.div({position:"absolute",top:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",width:50,height:50,zIndex:1}),P9=be.div((({next:e})=>({display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",width:50,height:"100%",backgroundColor:"transparent",left:e?void 0:0,right:e?0:void 0,zIndex:0,"&:hover":{background:`linear-gradient(90deg, rgba(0,0,0,${e?0:.4}) 0%, rgba(0,0,0,${e?.4:0}) 100%)`}}))),D9=be.img((({maxWidth:e,maxHeight:t})=>({display:"block",justifySelf:"center",maxWidth:e||"100%",maxHeight:t||"100%"}))),I9=be.code((({theme:e})=>({fontFamily:"source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace",color:e.scale10,backgroundColor:e.scale1,borderRadius:e.size.xs,padding:"2px 4px"}))),L9=n=>{var{data:r,legend:o,keys:i}=n,a=I(n,["data","legend","keys"]);const[s,c]=y(i),{scale2:u}=E();return t(MH,Object.assign({},a,{children:[e(jH,{}),e(nO,Object.assign({width:"100%",height:"100%"},{children:t(YF,Object.assign({margin:{top:8,left:-14,right:5,bottom:-8},data:r},{children:[e(kB,{stroke:u,strokeDasharray:"3 5",vertical:!1}),e(UB,{stroke:u,dataKey:"name",tickMargin:4}),e(KB,{stroke:u,tickMargin:4}),DH(),o&&e(Mb,{content:e(IH,{toggleData:i.length>1?e=>{c((t=>(t=>t.map((t=>t.key===e.value?Object.assign(Object.assign({},t),{hidden:!t.hidden}):t)))(t)))}:void 0})}),s.map((({key:t,color:n,hidden:r},o)=>e(VB,{dataKey:t,stroke:n,dot:!1,hide:r,activeDot:{stroke:n,strokeWidth:1,r:3},type:"monotone"},`line-${o+1}`)))]}))}))]}))},R9=({vertical:t,width:n,height:r,padding:o,paddingTop:i,paddingBottom:a,paddingLeft:s,paddingRight:c,border:u,borderTop:l,borderBottom:f,borderLeft:d,borderRight:p,borderTopLeftRadius:g,borderTopRightRadius:v,borderBottomLeftRadius:y,borderBottomRightRadius:m,backgroundColor:b,children:w})=>e(N9,Object.assign({vertical:t,width:n,height:r,padding:o,paddingTop:i,paddingBottom:a,paddingLeft:s,paddingRight:c,border:u,borderTop:l,borderBottom:f,borderLeft:d,borderRight:p,borderTopLeftRadius:g,borderTopRightRadius:v,borderBottomLeftRadius:y,borderBottomRightRadius:m,backgroundColor:b,role:"menu"},{children:w?pc(w).map((e=>e?h(e,{vertical:t,backgroundColor:b}):null)):null})),N9=be.div((({theme:{menu:e},vertical:t,backgroundColor:n,width:r,height:o,paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c})=>({display:"flex",flexFlow:t?"column":"row",overflowY:t?"auto":void 0,backgroundColor:n||e.background,padding:t?"16px 0":"0 16px",paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c,width:r,height:o})),(({theme:{defaultBorder:e},border:t,borderTop:n,borderBottom:r,borderLeft:o,borderRight:i,borderTopLeftRadius:a,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u})=>({border:t?e:void 0,borderTop:n?e:void 0,borderBottom:r?e:void 0,borderLeft:o?e:void 0,borderRight:i?e:void 0,borderTopLeftRadius:a,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u}))),B9=be.button({userSelect:"none",border:"none",display:"flex",alignItems:"center"},(({theme:{accent:e,font:t,menuItem:n},selected:r,vertical:o,disabled:i,indent:a=1})=>({color:r?n.color.active:n.color.inactive,backgroundColor:r?n.background.active:n.background.inactive,borderLeft:o?"4px solid transparent":void 0,borderLeftColor:o&&r?n.borderColor:void 0,borderBottom:o?void 0:"4px solid transparent",borderBottomColor:!o&&r?n.borderColor:void 0,cursor:i?"not-allowed":"pointer",fontSize:t.size.lg,padding:o?`0 0 0 ${32*a}px`:"0 16px",minHeight:40,"&:hover":{backgroundColor:n.background.hover,color:n.color.hover},"&:focus-visible":{outline:`${e} solid 1px`}})),(({contentPosition:e})=>({justifyContent:"start"===e||"end"===e?`flex-${e}`:e}))),F9=be.div((({theme:e,backgroundColor:t})=>({display:"flex",flexDirection:"column",backgroundColor:t||e.menu.background}))),z9=be.div({marginLeft:"auto",marginRight:8});R9.Item=({vertical:t,selected:n,disabled:r,contentPosition:o,onClick:i,id:a,children:s,indent:c=1})=>e(B9,Object.assign({vertical:t,selected:n,disabled:r,contentPosition:o,onClick:i,id:a,role:"menuitem",indent:c},{children:s})),R9.Group=({label:n,defaultOpen:r,vertical:i,selected:a,disabled:s,contentPosition:c,onClick:u,id:l,children:f,indent:d=1,backgroundColor:p})=>{const[g,v]=y(r||a),m=e=>pc(e).map((e=>{if(o.isValidElement(e)){const t=e;return t.props.selected&&!g&&v(!0),Array.isArray(t.props.children)&&m(t.props.children),h(e,{vertical:i,indent:d+1,backgroundColor:p})}return null})),b=m(f),w=()=>v((e=>!e));return t(F9,Object.assign({backgroundColor:p},{children:[t(B9,Object.assign({vertical:i,selected:a||!1,disabled:s,contentPosition:c,onClick:e=>{u?(u(e),g||w()):w()},id:l,role:"menuitem",indent:d},{children:[n,e(z9,Object.assign({onClick:e=>{e.stopPropagation(),w()}},{children:e(Vn,{name:g?"chevron-up":"chevron-down",pointer:!0})}))]})),g&&b]}))};const H9=({type:n,content:r,closeIcon:o,onClose:i,width:a,margin:s,marginTop:c,marginBottom:u,marginRight:l,marginLeft:f,children:d})=>{const p=E(),{iconName:h,borderColor:g,backgroundColor:v}=((e,t)=>{const{color:n}=t;switch(e){case"info":return{iconName:"info",borderColor:n.brand,backgroundColor:n.brandTint2};case"error":return{iconName:"warning",borderColor:n.error,backgroundColor:n.errorTint2};case"success":return{iconName:"check-circle",borderColor:n.success,backgroundColor:n.successTint2};case"warning":return{iconName:"warning",borderColor:n.warning,backgroundColor:n.warningTint2};default:return{iconName:"info",borderColor:t.scale8,backgroundColor:t.scale0}}})(n||"",p),y={margin:s,marginTop:c,marginBottom:u,marginRight:l,marginLeft:f};return t(K9,Object.assign({borderColor:g,backgroundColor:v,width:a,showingClose:o},y,{children:[e(Vn,{name:h,style:{marginRight:10},color:g}),e($9,{children:r||d}),o&&e(Vn,{name:"close",onClick:i,pointer:!0,color:p.scale8,hoverColor:p.scale10,marginLeft:"auto"})]}))},V9=be.div((({theme:e})=>({fontWeight:e.font.weight.medium}))),U9=be.div((({theme:e})=>({fontWeight:e.font.weight.default})));H9.Header=V9,H9.Body=U9;const K9=be.div((({theme:e,borderColor:t,backgroundColor:n,width:r})=>({width:r,display:"flex",alignItems:"center",margin:"10px 0",position:"relative",padding:`${e.size.sm}px ${e.size.md}px`,border:"1px solid",borderColor:t,borderRadius:e.size.xs,backgroundColor:n,color:e.scale10,fontSize:e.font.size.sm,"& a":{textDecoration:"none",color:e.accent,"&:hover":{textDecoration:"underline"}}})),(({theme:e,showingClose:t})=>({paddingRight:t?e.size.sm:void 0})),Fn),$9=be.div({width:"100%"}),W9=({text:n,color:r,style:o})=>t(Z9,{children:[e(G9,{}),e(q9,Object.assign({color:r,style:o},{children:n})),e(G9,{})]}),q9=be.div((({color:e})=>({fontSize:12,padding:"0 5px",color:e}))),G9=be.div((({theme:e})=>({height:1,backgroundColor:e.scale4,width:"100%"}))),Z9=be.div({display:"grid",gridTemplateColumns:"1fr auto 1fr",alignItems:"center",padding:"10px 0"}),Y9=({children:n,rootSelector:r,visible:o,width:i,height:a,onClose:s,closeIcon:c,preventOverlayClose:u,overlayColor:l,backgroundColor:f,small:d,noOverlay:p,centerX:g,centerY:v,top:y,bottom:m,right:b,left:w,padding:x,paddingTop:C,paddingBottom:_,paddingRight:S,paddingLeft:O})=>{const k=Pt(u?()=>null:s,o),E={padding:x,paddingTop:C,paddingBottom:_,paddingRight:S,paddingLeft:O},T=pc(n).map((e=>e?h(e,{inline:d}):null)),A=e(Q9,Object.assign({color:l,noOverlay:p,centerX:g,centerY:v,top:y,bottom:m,right:b,left:w},{children:t(X9,Object.assign({ref:k,width:i,height:a,backgroundColor:f,small:d,noOverlay:p,centerX:g,centerY:v},E,{children:[T,c&&e(J9,Object.assign({inline:d},{children:e(Vn,{name:"close",onClick:s,pointer:!0})}))]}))})),M=document.querySelector(r||"#root");return o&&M?j.createPortal(A,M):null};Y9.Header=be.div((({theme:e})=>({color:e.modal.color.header,fontSize:e.font.size.xl,marginBottom:8}))),Y9.Text=be.div((({theme:e,primary:t,fontSize:n})=>({color:t?e.modal.color.header:e.modal.color.body,fontSize:n||e.font.size.lg}))),Y9.Body=be.div((({height:e})=>({height:e,overflow:e?"auto":void 0})),Fn),Y9.Footer=be.div((({justify:e="end",inline:t})=>({display:"flex",alignItems:"center",justifyContent:e?{start:"flex-start",end:"flex-end",center:"center","space-around":"space-around","space-between":"space-between"}[e]:void 0,marginTop:t?void 0:8})),Fn);const X9=be.div((({theme:e,width:t,height:n,backgroundColor:r,small:o})=>({display:"flex",flexDirection:o?"row":"column",alignItems:o?"center":void 0,backgroundColor:r||e.modal.background,boxShadow:e.elevation3,width:t||"max-content",height:n||"max-content",borderRadius:e.size.xs,padding:o?e.size.md:e.size.lg})),(({noOverlay:e})=>!e&&{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)"}),(({centerX:e,centerY:t})=>(e||t)&&{position:"absolute",top:t?"50%":void 0,left:e?"50%":void 0,transform:`translate(${e?"-50%":"0"}, ${t?"-50%":"0"})`}),Bn),J9=be.div({display:"flex",justifyContent:"center",alignItems:"center"},(({inline:e})=>e?{marginLeft:16}:{position:"absolute",top:8,right:8})),Q9=be.div((({color:e,noOverlay:t,centerX:n,centerY:r,top:o,bottom:i,right:a,left:s})=>({position:"absolute",top:o||(s||i||a?void 0:0),left:s||(o||i||a?void 0:0),bottom:i,right:a,width:t&&!n?void 0:"100%",height:t&&!r?void 0:"100%",zIndex:100,backgroundColor:t?void 0:e||"rgba(0, 0, 0, 0.5)"}))),e4=f(((r,o)=>{var{children:i,options:s,items:c,listLabel:u,listText:l,itemsTitle:f,maxItems:d,placeholder:p,width:h,filter:m,restrictInput:b,disabled:x,hideItemsInfo:C,optionsParent:_,compact:S,backgroundColor:O,borderless:k,addItem:T,removeItem:A,onTextChange:M,autoFocus:P}=r,D=I(r,["children","options","items","listLabel","listText","itemsTitle","maxItems","placeholder","width","filter","restrictInput","disabled","hideItemsInfo","optionsParent","compact","backgroundColor","borderless","addItem","removeItem","onTextChange","autoFocus"]);const[L,R]=y(P||!1),[N,B]=y(!1),[F,z]=y(""),{color:H,font:V,input:U}=E(),K=Pt((()=>R(!1)),L,_?[_,`${_} *`]:void 0),$=g(null),W=S&&!!u,q=e=>{e&&T(e)},G=()=>{const{current:e}=$;L||u||R(!0),null==e||e.focus()},Z=()=>{const{current:e}=$;e&&e.blur()};w(o,(()=>({focus:G,blur:Z})));const Y=e=>{z(e),M&&M(e)};v((()=>{L||Z()}),[L]);Mt(document,"keydown",(e=>{const{key:t,altKey:n,ctrlKey:r,metaKey:o}=e;if(!(n||r||o)&&t&&"Backspace"===t)if(c.length>0){e.preventDefault();const t=c[c.length-1];A(t)}}),L&&!F,[c]);const X=s.filter((e=>!c.find((t=>t.id===e.id)))),J=a((()=>`multi-select-${$H()}`),[]),Q=a((()=>`multi-select-list-${$H()}`),[]),ee=d?c.length>=d:void 0,te=x||!L||ee,ne=()=>{const n=t(o4,Object.assign({id:Q,expanded:L,padTop:L&&c.length>0,labeled:!!u},{children:[l&&e(i4,Object.assign({expanded:L,labeled:!!u},{children:l})),i?i(L,!!x):c.map((t=>e(_9,Object.assign({pill:!0,iconRight:L&&!x?e(Vn,{name:"close-circle",onClick:()=>A(t),pointer:!0}):void 0,disabled:x},{children:t.label}),t.id))),e(h9,Object.assign({},D,{textOnly:!0,hideIcon:!0,clearOnSelect:!0,search:!0,filter:m,backgroundColor:"transparent",restrictInput:b,options:X,fontSize:V.size.md,placeholder:x||c.length>0?" ":p||"Search...",placeholderColor:U.color.placeholder,inputRef:$,onChange:q,onTextChange:Y,onError:e=>B(e),disabled:te,optionsParent:_?`#${Q}`:`#${J}`,autoFocus:P}))]}));if(_){const e=document.querySelector(_);return e?j.createPortal(n,e):n}return n};return t(t4,Object.assign({width:h,ref:K,labeled:!!u,disabled:x,collapse:W,onClick:e=>{e.stopPropagation(),G()}},{children:[t(n4,Object.assign({collapse:W,id:J,expanded:L&&c.length>0,error:N,labeled:!!u,backgroundColor:O,borderless:k},{children:[u?e(r4,Object.assign({collapse:W},{children:u})):ne(),t(a4,{children:[d&&!C&&e(c4,{children:t(n,x&&f?{children:[c.length," ",f]}:{children:[e(s4,Object.assign({error:c.length>=d},{children:c.length})),"/",d," ",f]})}),c.length>0&&e(Vn,{name:L?"chevron-up":"chevron-down",color:H.brand,pointer:!0,onClick:e=>{e.stopPropagation(),R(!L)}})]})]})),u&&L&&ne()]}))})),t4=be.div((({width:e,disabled:t,labeled:n,collapse:r})=>({width:e,minWidth:200,height:r?62:41,position:"relative",cursor:n||t?"default":"text"}))),n4=be.div((({theme:e,expanded:t,error:n,labeled:r,collapse:o,backgroundColor:i,borderless:a})=>({display:"grid",gridTemplateColumns:o?void 0:"1fr auto",alignItems:t&&!r?"flex-start":"center",columnGap:24,width:"100%",minHeight:41,position:"absolute",top:0,left:0,backgroundColor:i||e.background0,zIndex:t?1:void 0,borderBottom:n?`1px solid ${e.color.error}`:e.defaultBorder,border:a?"none":void 0,padding:"8px 16px"}))),r4=be.div((({theme:e,collapse:t})=>({textAlign:t?void 0:"center",fontSize:e.font.size.md,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}))),o4=be.div((({theme:e,expanded:t,padTop:n})=>({display:"flex",alignItems:"center",width:"100%",overflow:t?void 0:"hidden",pointerEvents:t?void 0:"none",flexWrap:t?"wrap":void 0,paddingTop:n?1:void 0,columnGap:e.size.sm,rowGap:e.size.sm,"& > *":{flexShrink:0}})),(({theme:e,labeled:t,expanded:n})=>t&&n?{backgroundColor:e.background0,position:"absolute",top:"100%",zIndex:1,padding:"8px 0px",borderBottom:e.defaultBorder}:{})),i4=be.div((({theme:e,expanded:t,labeled:n})=>({fontSize:e.font.size.sm,fontWeight:e.font.weight.medium,color:e.scale8,paddingLeft:t&&n?16:void 0}))),a4=be.div((({theme:{size:e}})=>({display:"flex",alignItems:"center",columnGap:e.sm,whiteSpace:"nowrap"}))),s4=be.div((({theme:e,error:t})=>({color:t?e.color.error:e.scale8}))),c4=be.div((({theme:e})=>({display:"flex",color:e.scale4,fontSize:e.font.size.sm}))),u4=e=>e?+e:0,l4=n=>{var{onPageNav:r,page:o,totalPages:i,maxVisibleNumbers:a,width:s}=n,c=I(n,["onPageNav","page","totalPages","maxVisibleNumbers","width"]);const[u,f]=y(u4(o)||1),[d,p]=y(0),h=function(e,t,n=1){let r=t?e:0;const o=t||e,i=[];for(;r<=o;)i.push(r),r+=n;return i}(1,i),g=((e,t)=>{const n=[...e],r=[];for(;n.length>0;){const e=n.splice(0,t);r.push(e)}return r})(h,u4(a)||h.length),v=e=>{if(e>=1&&e<=i){const t=(e=>{for(let t=0;t<g.length;t++)if(g[t].includes(e))return t;return-1})(e);p(t),f(e),r(e)}},m=0!==d,b=d!==g.length-1;return t(f4,Object.assign({width:s},c,{children:[e(p4,Object.assign({disabled:1===u,onClick:()=>v(1)},{children:e(Vn,{name:"double-arrow-left",title:"first",inheritColor:!0})})),e(p4,Object.assign({disabled:1===u,onClick:()=>v(u-1)},{children:e(Vn,{name:"chevron-left",title:"prev",inheritColor:!0})})),g[d].map(((n,r,o)=>t(l,{children:[0===r&&m?e(g4,{children:"... "}):"",e(h4,Object.assign({selected:n===u,onClick:()=>v(n)},{children:n})),r===o.length-1&&b?e(g4,{children:" ..."}):""]},`pageIndex-${n}`))),e(p4,Object.assign({disabled:u===i,onClick:()=>v(u+1)},{children:e(Vn,{name:"chevron-right",title:"next",inheritColor:!0})})),e(p4,Object.assign({disabled:u===i,onClick:()=>v(i)},{children:e(Vn,{name:"double-arrow-right",title:"last",inheritColor:!0})}))]}))},f4=be.nav({display:"flex",justifyContent:"space-between",alignItems:"center",columnGap:4},(({width:e})=>({width:e||"max-content"})),Fn),d4=be.button((({theme:e,disabled:t})=>({border:"none",borderRadius:e.size.xs,backgroundColor:"transparent","&:hover":{backgroundColor:t?void 0:e.scale1,color:t?void 0:e.scale10},"&:focus-visible":{outline:`${e.accent} solid 1px`}}))),p4=be(d4)((({theme:e,disabled:t})=>({color:t?e.scale4:e.scale8,cursor:t?"default":"pointer"}))),h4=be(d4)((({theme:e,selected:t})=>({color:t?e.scale10:e.scale6,backgroundColor:t?e.scale0:void 0,fontSize:e.font.size.sm,cursor:"pointer",width:"max-content",minWidth:e.size.lg,height:e.size.lg,padding:0}))),g4=be.span((({theme:e})=>({color:e.scale6}))),v4=n=>{var{size:r=200,data:o,innerRadius:i,showWhenEmpty:a}=n,s=I(n,["size","data","innerRadius","showWhenEmpty"]);const c=(null==o?void 0:o.length)>0,u=c?o:a?[{name:"1",value:1,color:"#999"}]:void 0,l=r/2-1;return e(MH,Object.assign({width:r,height:r},s,{children:t(JF,Object.assign({width:r,height:r},{children:[e(GL,Object.assign({dataKey:"value",data:u,innerRadius:i,outerRadius:l},{children:null==u?void 0:u.map((t=>e(rO,{fill:t.color||"#999"},t.name)))})),c&&DH()]}))}))},y4=({percent:n,size:r=24,thickness:o=2,color:i,margin:a,marginTop:s,marginBottom:c,marginRight:u,marginLeft:l})=>{const f={margin:a,marginTop:s,marginBottom:c,marginRight:u,marginLeft:l},d=(r-o)/2,p=d*Math.PI*2,h=p-p*n/100,g=r/2;return t(m4,Object.assign({size:r},f,{children:[e(b4,{cx:g,cy:g,r:d,thickness:o}),e(w4,{color:i,cx:g,cy:g,r:d,thickness:o,transform:`rotate(-90 ${g} ${g})`,circ:p,complete:h})]}))},m4=be.svg((({size:e})=>({display:"block",width:e,height:e})),Fn),b4=be.circle((({theme:e,thickness:t})=>({fill:"none",stroke:e.scale1,strokeWidth:t}))),w4=be(b4)((({theme:e,color:t,circ:n,complete:r})=>({stroke:t||e.color.brand,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:n,strokeDashoffset:r,transition:"stroke-dashoffset 0.5s"}))),x4=({percent:t,color:n,circle:r,width:o,height:i,size:a,thickness:s=2,margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d})=>{const p={margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d};let h=t;return t>100?h=100:t<0&&(h=0),r?e(y4,Object.assign({percent:h,size:a,thickness:s,color:n},p)):e(C4,Object.assign({width:o,height:i||s},p,{children:e(_4,{color:n,width:h})}))},C4=be.div((({theme:e,width:t,height:n})=>({backgroundColor:e.scale1,borderRadius:24,width:t||"100%",height:n})),Fn),_4=be.div((({theme:e,color:t,width:n})=>({backgroundColor:t||e.color.brand,borderRadius:24,width:`${n}%`,height:"100%",transition:"width 0.5s"})));!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('/* Document\n * ========================================================================== */\n\n/**\n * 1. Add border box sizing in all browsers (opinionated).\n * 2. Backgrounds do not repeat by default (opinionated).\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n background-repeat: no-repeat; /* 2 */\n}\n\n/**\n * 1. Add text decoration inheritance in all browsers (opinionated).\n * 2. Add vertical alignment inheritance in all browsers (opinionated).\n */\n\n::before,\n::after {\n text-decoration: inherit; /* 1 */\n vertical-align: inherit; /* 2 */\n}\n\n/**\n * 1. Use the default cursor in all browsers (opinionated).\n * 2. Change the line height in all browsers (opinionated).\n * 3. Breaks words to prevent overflow in all browsers (opinionated).\n * 4. Use a 4-space tab width in all browsers (opinionated).\n * 5. Remove the grey highlight on links in iOS (opinionated).\n * 6. Prevent adjustments of font size after orientation changes in iOS.\n */\n\n:where(:root) {\n cursor: default; /* 1 */\n line-height: 1.5; /* 2 */\n overflow-wrap: break-word; /* 3 */\n -moz-tab-size: 4; /* 4 */\n tab-size: 4; /* 4 */\n -webkit-tap-highlight-color: transparent; /* 5 */\n -webkit-text-size-adjust: 100%; /* 6 */\n}\n\n/* Sections\n * ========================================================================== */\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\n\n:where(body) {\n margin: 0;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Edge, Firefox, and Safari.\n */\n\n:where(h1) {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n * ========================================================================== */\n\n/**\n * Remove the margin on nested lists in Chrome, Edge, and Safari.\n */\n\n:where(dl, ol, ul) :where(dl, ol, ul) {\n margin: 0;\n}\n\n/**\n * 1. Correct the inheritance of border color in Firefox.\n * 2. Add the correct box sizing in Firefox.\n */\n\n:where(hr) {\n color: inherit; /* 1 */\n height: 0; /* 2 */\n}\n\n/**\n * Remove the list style on navigation lists in all browsers (opinionated).\n */\n\n:where(nav) :where(ol, ul) {\n list-style-type: none;\n padding: 0;\n}\n\n/**\n * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).\n */\n\n:where(nav li)::before {\n content: "\\200B";\n float: left;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n * 3. Prevent overflow of the container in all browsers (opinionated).\n */\n\n:where(pre) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n overflow: auto; /* 3 */\n}\n\n/* Text-level semantics\n * ========================================================================== */\n\n/**\n * Add the correct text decoration in Safari.\n */\n\n:where(abbr[title]) {\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\n:where(b, strong) {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\n:where(code, kbd, samp) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\n:where(small) {\n font-size: 80%;\n}\n\n/* Embedded content\n * ========================================================================== */\n\n/*\n * Change the alignment on media elements in all browsers (opinionated).\n */\n\n:where(audio, canvas, iframe, img, svg, video) {\n vertical-align: middle;\n}\n\n/**\n * Remove the border on iframes in all browsers (opinionated).\n */\n\n:where(iframe) {\n border-style: none;\n}\n\n/**\n * Change the fill color to match the text color in all browsers (opinionated).\n */\n\n:where(svg:not([fill])) {\n fill: currentColor;\n}\n\n/* Tabular data\n * ========================================================================== */\n\n/**\n * 1. Collapse border spacing in all browsers (opinionated).\n * 2. Correct table border color inheritance in all Chrome, Edge, and Safari.\n * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.\n */\n\n:where(table) {\n border-collapse: collapse; /* 1 */\n border-color: inherit; /* 2 */\n text-indent: 0; /* 3 */\n}\n\n/* Forms\n * ========================================================================== */\n\n/**\n * Remove the margin on controls in Safari.\n */\n\n:where(button, input, select) {\n margin: 0;\n}\n\n/**\n * Correct the inability to style buttons in iOS and Safari.\n */\n\n:where(button, [type="button" i], [type="reset" i], [type="submit" i]) {\n -webkit-appearance: button;\n}\n\n/**\n * Change the inconsistent appearance in all browsers (opinionated).\n */\n\n:where(fieldset) {\n border: 1px solid #a0a0a0;\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Edge, and Firefox.\n */\n\n:where(progress) {\n vertical-align: baseline;\n}\n\n/**\n * 1. Remove the margin in Firefox and Safari.\n * 3. Change the resize direction in all browsers (opinionated).\n */\n\n:where(textarea) {\n margin: 0; /* 1 */\n resize: vertical; /* 3 */\n}\n\n/**\n * 1. Correct the odd appearance in Chrome, Edge, and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n:where([type="search" i]) {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Safari.\n */\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * Correct the text style of placeholders in Chrome, Edge, and Safari.\n */\n\n::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n\n/**\n * Remove the inner padding in Chrome, Edge, and Safari on macOS.\n */\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style upload buttons in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n * ========================================================================== */\n\n/*\n * Add the correct styles in Safari.\n */\n\n:where(dialog) {\n background-color: white;\n border: solid;\n color: black;\n height: -moz-fit-content;\n height: fit-content;\n left: 0;\n margin: auto;\n padding: 1em;\n position: absolute;\n right: 0;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n:where(dialog:not([open])) {\n display: none;\n}\n\n/*\n * Add the correct display in Safari.\n */\n\n:where(details > summary:first-of-type) {\n display: list-item;\n}\n\n/* Accessibility\n * ========================================================================== */\n\n/**\n * Change the cursor on busy elements in all browsers (opinionated).\n */\n\n:where([aria-busy="true" i]) {\n cursor: progress;\n}\n\n/*\n * Change the cursor on control elements in all browsers (opinionated).\n */\n\n:where([aria-controls]) {\n cursor: pointer;\n}\n\n/*\n * Change the cursor on disabled, not-editable, or otherwise\n * inoperable elements in all browsers (opinionated).\n */\n\n:where([aria-disabled="true" i], [disabled]) {\n cursor: not-allowed;\n}\n\n/*\n * Change the display on visually hidden accessible elements\n * in all browsers (opinionated).\n */\n\n:where([aria-hidden="false" i][hidden]) {\n display: initial;\n}\n\n:where([aria-hidden="false" i][hidden]:not(:focus)) {\n clip: rect(0, 0, 0, 0);\n position: absolute;\n}\n');var S4={exports:{}};!function(e){!function(){function t(e,t,n){return e.call.apply(e.bind,arguments)}function n(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function r(e,o,i){return(r=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?t:n).apply(null,arguments)}var o=Date.now||function(){return+new Date};function i(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var a=!!window.FontFace;function s(e,t,n,r){if(t=e.c.createElement(t),n)for(var o in n)n.hasOwnProperty(o)&&("style"==o?t.style.cssText=n[o]:t.setAttribute(o,n[o]));return r&&t.appendChild(e.c.createTextNode(r)),t}function c(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function l(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),o=0;o<t.length;o+=1){for(var i=!1,a=0;a<r.length;a+=1)if(t[o]===r[a]){i=!0;break}i||r.push(t[o])}for(t=[],o=0;o<r.length;o+=1){for(i=!1,a=0;a<n.length;a+=1)if(r[o]===n[a]){i=!0;break}i||t.push(r[o])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function f(e,t){for(var n=e.className.split(/\s+/),r=0,o=n.length;r<o;r++)if(n[r]==t)return!0;return!1}function d(e,t,n){function r(){l&&o&&i&&(l(u),l=null)}t=s(e,"link",{rel:"stylesheet",href:t,media:"all"});var o=!1,i=!0,u=null,l=n||null;a?(t.onload=function(){o=!0,r()},t.onerror=function(){o=!0,u=Error("Stylesheet failed to load"),r()}):setTimeout((function(){o=!0,r()}),0),c(e,"head",t)}function p(e,t,n,r){var o=e.c.getElementsByTagName("head")[0];if(o){var i=s(e,"script",{src:t}),a=!1;return i.onload=i.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),i.onload=i.onreadystatechange=null,"HEAD"==i.parentNode.tagName&&o.removeChild(i))},o.appendChild(i),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),i}return null}function h(){this.a=0,this.c=null}function g(e){return e.a++,function(){e.a--,y(e)}}function v(e,t){e.c=t,y(e)}function y(e){0==e.a&&e.c&&(e.c(),e.c=null)}function m(e){this.a=e||"-"}function b(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function w(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function x(e){return e.a+e.f}function C(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function _(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function S(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new m("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function O(e){if(e.g){var t=f(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),l(e.f,n,r)}k(e,"inactive")}function k(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,x(n)):e.h[t]())}function E(){this.c={}}function T(e,t){this.c=e,this.f=t,this.a=s(this.c,"span",{"aria-hidden":"true"},this.f)}function A(e){c(e.c,"body",e.a)}function j(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+w(e.c)+";font-style:"+C(e)+";font-weight:"+e.f+"00;"}function M(e,t,n,r,o,i){this.g=e,this.j=t,this.a=r,this.c=n,this.f=o||3e3,this.h=i||void 0}function P(e,t,n,r,o,i,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=o||3e3,this.u=i||null,this.m=this.j=this.h=this.g=null,this.g=new T(this.c,this.s),this.h=new T(this.c,this.s),this.j=new T(this.c,this.s),this.m=new T(this.c,this.s),e=j(e=new b(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=j(e=new b(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=j(e=new b("serif",x(this.a))),this.j.a.style.cssText=e,e=j(e=new b("sans-serif",x(this.a))),this.m.a.style.cssText=e,A(this.g),A(this.h),A(this.j),A(this.m)}m.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},M.prototype.start=function(){var e=this.c.o.document,t=this,n=o(),r=new Promise((function(r,i){!function a(){o()-n>=t.f?i():e.fonts.load(function(e){return C(e)+" "+e.f+"00 300px "+w(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(a,25)}),(function(){i()}))}()})),i=null,a=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([a,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},I=null;function L(){if(null===I){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);I=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return I}function R(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function N(e){var t,n=e.g.a.offsetWidth,i=e.h.a.offsetWidth;(t=n===e.f.serif&&i===e.f["sans-serif"])||(t=L()&&R(e,n,i)),t?o()-e.A>=e.w?L()&&R(e,n,i)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?B(e,e.v):B(e,e.B):function(e){setTimeout(r((function(){N(this)}),e),50)}(e):B(e,e.v)}function B(e,t){setTimeout(r((function(){u(this.g.a),u(this.h.a),u(this.j.a),u(this.m.a),t(this.a)}),e),0)}function F(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}P.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=o(),N(this)};var z=null;function H(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&l(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),k(e,"active")):O(e.a))}function V(e){this.j=e,this.a=new E,this.h=0,this.f=this.g=!0}function U(e,t,n,o,i){var a=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,s=o||{};if(0===n.length&&a)O(t.a);else{t.f+=n.length,a&&(t.j=a);var c,u=[];for(c=0;c<n.length;c++){var f=n[c],d=s[f.c],p=t.a,h=f;if(p.g&&l(p.f,[p.a.c("wf",h.c,x(h).toString(),"loading")]),k(p,"fontloading",h),p=null,null===z)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);z=h?42<parseInt(h[1],10):!g}else z=!1;p=z?new M(r(t.g,t),r(t.h,t),t.c,f,t.s,d):new P(r(t.g,t),r(t.h,t),t.c,f,t.s,e,d),u.push(p)}for(c=0;c<u.length;c++)u[c].start()}}),0)}function K(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function W(e,t){this.c=e||q,this.a=[],this.f=[],this.g=t||""}F.prototype.g=function(e){var t=this.a;t.g&&l(t.f,[t.a.c("wf",e.c,x(e).toString(),"active")],[t.a.c("wf",e.c,x(e).toString(),"loading"),t.a.c("wf",e.c,x(e).toString(),"inactive")]),k(t,"fontactive",e),this.m=!0,H(this)},F.prototype.h=function(e){var t=this.a;if(t.g){var n=f(t.f,t.a.c("wf",e.c,x(e).toString(),"active")),r=[],o=[t.a.c("wf",e.c,x(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,x(e).toString(),"inactive")),l(t.f,r,o)}k(t,"fontinactive",e),H(this)},V.prototype.load=function(e){this.c=new i(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],o=n.timeout;!function(e){e.g&&l(e.f,[e.a.c("wf","loading")]),k(e,"loading")}(t);r=function(e,t,n){var r,o=[];for(r in t)if(t.hasOwnProperty(r)){var i=e.c[r];i&&o.push(i(t[r],n))}return o}(e.a,n,e.c);var i=new F(e.c,t,o);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){U(e,i,t,n,r)}))}(this,new S(this.c,e),e)},K.prototype.load=function(e){function t(){if(i["__mti_fntLst"+r]){var n,o=i["__mti_fntLst"+r](),a=[];if(o)for(var s=0;s<o.length;s++){var c=o[s].fontfamily;null!=o[s].fontStyle&&null!=o[s].fontWeight?(n=o[s].fontStyle+o[s].fontWeight,a.push(new b(c,n))):a.push(new b(c))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,o=n.a.version;if(r){var i=n.c.o;p(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(o?"?v="+o:""),(function(o){o?e([]):(i["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},$.prototype.load=function(e){var t,n,r=this.a.urls||[],o=this.a.families||[],i=this.a.testStrings||{},a=new h;for(t=0,n=r.length;t<n;t++)d(this.c,r[t],g(a));var s=[];for(t=0,n=o.length;t<n;t++)if((r=o[t].split(":"))[1])for(var c=r[1].split(","),u=0;u<c.length;u+=1)s.push(new b(r[0],c[u]));else s.push(new b(r[0]));v(a,(function(){e(s,i)}))};var q="https://fonts.googleapis.com/css";function G(e){this.f=e,this.a=[],this.c={}}var Z={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Y={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},X={i:"i",italic:"i",n:"n",normal:"n"},J=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function Q(e,t){this.c=e,this.a=t}var ee={Arimo:!0,Cousine:!0,Tinos:!0};function te(e,t){this.c=e,this.a=t}function ne(e,t){this.c=e,this.f=t,this.a=[]}Q.prototype.load=function(e){var t=new h,n=this.c,r=new W(this.a.api,this.a.text),o=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var o=t[r].split(":");3==o.length&&e.f.push(o.pop());var i="";2==o.length&&""!=o[1]&&(i=":"),e.a.push(o.join(i))}}(r,o);var i=new G(o);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),o=r[0].replace(/\+/g," "),i=["n4"];if(2<=r.length){var a;if(a=[],s=r[1])for(var s,c=(s=s.split(",")).length,u=0;u<c;u++){var l;if((l=s[u]).match(/^[\w-]+$/))if(null==(f=J.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":X[l],null==(f=f[1])||""==f)f="4";else var f=Y[f]||(isNaN(f)?"4":f.substr(0,1));l=[l,f].join("")}else l="";l&&a.push(l)}0<a.length&&(i=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=Z[r[0]])&&(e.c[o]=r))}for(e.c[o]||(r=Z[o])&&(e.c[o]=r),r=0;r<i.length;r+=1)e.a.push(new b(o,i[r]))}}(i),d(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),g(t)),v(t,(function(){e(i.a,i.c,ee)}))},te.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?p(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],o=0;o<t.length;o+=2)for(var i=t[o],a=t[o+1],s=0;s<a.length;s++)r.push(new b(i,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},ne.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var o=0,i=n.fonts.length;o<i;++o){var a=n.fonts[o];r.a.push(new b(a.name,_("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},p(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var re=new V(window);re.a.c.custom=function(e,t){return new $(t,e)},re.a.c.fontdeck=function(e,t){return new ne(t,e)},re.a.c.monotype=function(e,t){return new K(t,e)},re.a.c.typekit=function(e,t){return new te(t,e)},re.a.c.google=function(e,t){return new Q(t,e)};var oe={load:r(re.load,re)};e.exports?e.exports=oe:(window.WebFont=oe,window.WebFontConfig&&re.load(window.WebFontConfig))}()}(S4);var O4=Rt(S4.exports);const k4=({families:t,fontFamily:n})=>(v((()=>{var e;e=t,O4.load({google:{families:e||["Roboto:100,300,400,500,700"]}})}),[t]),e(T,{styles:{"html,body":{margin:0,fontFamily:n||"'Roboto', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}}})),E4=()=>{const{scale1:t}=E();return e(T,{styles:{"::-webkit-scrollbar":{width:8,height:8},"::-webkit-scrollbar-track":{backgroundColor:"transparent",border:"none"},"::-webkit-scrollbar-thumb:horizontal, ::-webkit-scrollbar-thumb:vertical":{backgroundColor:t,WebkitBorderRadius:6},"*":{scrollbarColor:`${t} transparent`}}})},T4=()=>{const{font:t,toast:n}=E();return e(T,{styles:{".Toastify__toast":{color:n.color,borderRadius:4,fontFamily:t.family.default},".Toastify__close-button":{color:n.color},".Toastify__toast--default":{background:n.background.deafult,border:`1px solid ${n.border.deafult}`},".Toastify__toast--info":{background:n.background.info,border:`1px solid ${n.border.info}`,"& .Toastify__toast-icon > svg":{fill:n.border.info}},".Toastify__toast--success":{background:n.background.success,border:`1px solid ${n.border.success}`,"& .Toastify__toast-icon > svg":{fill:n.border.success}},".Toastify__toast--warning":{background:n.background.warning,border:`1px solid ${n.border.warning}`,"& .Toastify__toast-icon > svg":{fill:n.border.warning}},".Toastify__toast--error":{background:n.background.error,border:`1px solid ${n.border.error}`,"& .Toastify__toast-icon > svg":{fill:n.border.error}},".Toastify__progress-bar--default":{background:n.border.deafult},".Toastify__progress-bar--info":{background:n.border.info},".Toastify__progress-bar--success":{background:n.border.success},".Toastify__progress-bar--warning":{background:n.border.warning},".Toastify__progress-bar--error":{background:n.border.error}}})},A4=be.div(Nn),j4=({items:n,onChange:r,beforeItemChange:o,listTitle:i,noItemsMessage:a="No items",hideSelectAll:s,hideRemoveAll:c,readOnly:u,width:l,margin:f,marginTop:d,marginBottom:p,marginRight:h,marginLeft:m})=>{const b=g(),[w,x]=y([]),[C,_]=y([]),S={margin:f,marginTop:d,marginBottom:p,marginRight:h,marginLeft:m},O=e=>{const t=Object.assign({},e);return delete t.selected,t};v((()=>{if(!Ht.isEqual(n,b.current)){b.current=n;const e=n.filter((e=>e.selected)).map(O),t=n.filter((e=>!e.selected)).map(O);_(e),x(t)}}),[n,b]),v((()=>{r(C)}),[C]);const k=(e,t)=>{const n=n=>((e,t)=>{const n="select"===t,r=n?_:x;(n?x:_)((t=>((e,t)=>e.filter((e=>e.id!==t.id)))(t,e))),r((t=>[...t,e]))})(n||e,t);o?o(e,t,n):n()},E=e=>{const t="select"===e?x:_,n="select"===e?w:C;("select"===e?_:x)((e=>[...e,...n])),t([])},T=n=>t("div",Object.assign({style:{display:"flex",alignItems:"center",columnGap:8}},{children:[n.leftElement||null,n.header&&n.body?t("div",Object.assign({style:{display:"flex",flexDirection:"column"}},{children:[e(B4,{children:n.header}),e(F4,{children:n.body})]})):n.label,n.rightElement&&e("div",Object.assign({style:{marginLeft:"auto"}},{children:n.rightElement}))]})),A=!(s&&c);return t(M4,Object.assign({width:l,readOnly:u},S,{children:[i&&e(P4,{children:i}),t(D4,{children:[!u&&t(I4,{children:[A&&e(L4,{children:w.length>0&&!s&&e(Wc,Object.assign({small:!0,outline:!0,onClick:()=>E("select"),icon:"arrow-right",iconPosition:"right"},{children:"All"}))}),e(R4,{children:w.map((n=>t(N4,Object.assign({onClick:()=>k(n,"select"),color:n.color},{children:[T(n),e(Vn,{name:"chevron-right"})]}),n.id)))})]}),t(I4,{children:[A&&!u&&e(L4,{children:C.length>0&&!c&&!u&&e(Wc,Object.assign({small:!0,outline:!0,secondary:!0,onClick:()=>E("remove"),icon:"arrow-left"},{children:"All"}))}),u&&0===C.length?e("div",{children:a}):e(R4,{children:C.map((n=>t(N4,Object.assign({onClick:()=>k(n,"remove"),color:n.color},{children:[T(n),e(Vn,{name:"chevron-left"})]}),n.id)))})]})]})]}))},M4=be.div((({width:e,readOnly:t})=>({display:"flex",flexDirection:"column",rowGap:16,width:e,pointerEvents:t?"none":void 0})),Fn),P4=be.div((({theme:e})=>({fontSize:e.font.size.lg,fontWeight:e.font.weight.medium}))),D4=be.div({display:"grid",columnGap:16,gridTemplateColumns:"1fr 1fr"}),I4=be.div({display:"flex",flexDirection:"column"}),L4=be.div({display:"flex",alignItems:"center",marginBottom:8,minHeight:35}),R4=be.div((({theme:e})=>({display:"flex",flexDirection:"column",padding:16,border:e.defaultBorder,borderRadius:4,height:"100%",backgroundColor:e.background1,rowGap:4}))),N4=be.div((({theme:e,color:t})=>{let n=e.scale1;return t&&(n=((e,t)=>{const n=Object.keys(e);return"string"==typeof t&&n.includes(t)})(e.color,t)?e.color[t]:t),{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"4px 8px",cursor:"pointer",background:e.scale0,borderLeft:"4px solid",borderColor:n,"&:hover":{background:e.scale1},"& > :last-child":{visibility:"hidden"},"&:hover > :last-child":{visibility:"visible"}}})),B4=be.div((({theme:e})=>({fontSize:e.font.size.lg,color:e.scale10}))),F4=be.div((({theme:e})=>({fontSize:e.font.size.sm,color:e.scale6}))),z4=i({}),H4=(t,n,r)=>{const o="th"===n?V4:U4,i=r?{style:r}:{};return pc(t).map(((t,r)=>t?e(o,Object.assign({},i,{children:t}),`${n}${r+1}`):null))},V4=be.th((({theme:{table:e,font:t}})=>({color:e.color.header,fontSize:t.size.sm,fontWeight:t.weight.medium,width:"100%",textAlign:"left"}))),U4=be.td((({theme:{table:e,font:t}})=>({color:e.color.body,fontSize:t.size.sm,width:"100%"}))),K4=be.thead((({alignToScrollBody:e})=>({overflow:e?"auto":void 0,scrollbarGutter:e?"stable":void 0}))),$4=be(w9)({alignItems:"center",padding:"8px 24px"},Bn),W4=be.tbody((({height:e,maxHeight:t})=>({height:e,maxHeight:t,overflow:e||t?"auto":void 0,scrollbarGutter:e||t?"stable":void 0}))),q4=be(w9)((({theme:e})=>({borderTop:`1px solid ${e.table.borderColor}`,color:e.table.color.body,fontSize:e.font.size.sm,wordBreak:"break-word",alignItems:"center",padding:"16px 24px"})),(({theme:e,hoverEffect:t})=>t&&{"&:hover":{backgroundColor:e.scale1,cursor:"pointer"}}),Bn),G4=be.div((({contentPosition:e})=>({justifyContent:"start"===e||"end"===e?`flex-${e}`:e}))),Z4=be(G4)((({theme:e})=>({display:"flex",alignItems:"center",color:e.table.color.body,fontSize:e.font.size.sm})),(({showDefault:e})=>e&&{opacity:.3}),Bn),Y4=be(G4)({display:"flex",alignItems:"center"},(({theme:e,active:t,sorting:n})=>({cursor:n?"pointer":void 0,color:t?e.scale10:e.scale6,"&:hover":{color:n?e.scale8:void 0}}))),X4=t=>{var{children:n,columns:r,data:o}=t,i=I(t,["children","columns","data"]);const[s,c]=y(o),[u,l]=y(),f=o&&"function"==typeof n?n(s):n;v((()=>{let e=o;if(u){const{key:t,dir:n}=u;e=Ht.orderBy(o,t,n)}Ht.isEqual(e,s)||c(e)}),[o,u]);const d=a((()=>({activeColumn:u,setActiveColumn:l,parentColumns:r})),[u,l,r]);return e(z4.Provider,Object.assign({value:d},{children:e(J4,Object.assign({},i,{children:f}))}))};X4.Header=t=>{var{children:n,columns:r,columnStyles:o,alignToScrollBody:i}=t,a=I(t,["children","columns","columnStyles","alignToScrollBody"]);const{parentColumns:s}=c(z4),u=r||s||"equal";return e(K4,Object.assign({alignToScrollBody:i},{children:e($4,Object.assign({as:"tr",columns:u},a,{children:H4(n,"th",o)}))}))},X4.HeaderCell=({children:n,onClick:r,contentPosition:o,sorted:i,sortKey:a})=>{const[s,u]=y(i||"inactive"),{color:l}=E(),{activeColumn:f,setActiveColumn:d}=c(z4),p=a||i,h="desc"===s?"arrow-down":"arrow-up",g="asc"===s||"desc"===s,m=e=>{if(u(e),d&&a){d("inactive"===e?void 0:{key:a,dir:e})}};return v((()=>{!a||"asc"!==i&&"desc"!==i||m(i)}),[]),v((()=>{i&&u(i)}),[i]),v((()=>{const e=!f&&i;a&&f&&f.key!==a&&"inactive"!==s&&!e&&u("inactive")}),[f,s]),t(Y4,Object.assign({onClick:e=>{a?m("inactive"===s?"asc":"asc"===s?"desc":"inactive"):r&&r(e)},contentPosition:o,active:g,sorting:!!p},{children:[n,p?e(Vn,{name:h,marginLeft:8,size:"small",color:g?l.brand:void 0,inheritColor:!g}):null]}))},X4.Body=t=>{var{children:n,height:r,maxHeight:o}=t,i=I(t,["children","height","maxHeight"]);const{parentColumns:a}=c(z4);return e(W4,Object.assign({height:r,maxHeight:o},i,{children:d.map(n,(e=>e?h(e,{parentColumns:a}):null))}))},X4.Row=t=>{var{children:n,columns:r,onClick:o,columnStyles:i}=t,a=I(t,["children","columns","onClick","columnStyles"]);const{parentColumns:s}=c(z4),u=r||s||"equal";return e(q4,Object.assign({as:"tr",columns:u,onClick:o,hoverEffect:!!o},a,{children:H4(n,"td",i)}))},X4.Column=({children:t,contentPosition:n,defaultValue:r,padding:o,paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c})=>{const u={padding:o,paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c};return e(Z4,Object.assign({contentPosition:n,showDefault:!!r&&!t},u,{children:t||r}))};const J4=be.table((({width:e})=>({width:e,"&, & > thead, & > tbody":{display:"block"}})),Bn,Fn),Q4=f(((e,t)=>s(Ie.span,we({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),[e6,t6]=xe("Tooltip",[bi]),n6=bi(),r6=700,o6="tooltip.open",[i6,a6]=e6("TooltipProvider"),s6="Tooltip",[c6,u6]=e6(s6),l6="TooltipTrigger",f6=f(((e,t)=>{const{__scopeTooltip:n,...r}=e,o=u6(l6,n),i=a6(l6,n),a=n6(n),c=Se(t,g(null),o.onTriggerChange),l=g(!1),f=g(!1),d=u((()=>l.current=!1),[]);return v((()=>()=>document.removeEventListener("pointerup",d)),[d]),s(Ri,we({asChild:!0},a),s(Ie.button,we({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:c,onPointerMove:Me(e.onPointerMove,(e=>{"touch"!==e.pointerType&&(f.current||i.isPointerInTransitRef.current||(o.onTriggerEnter(),f.current=!0))})),onPointerLeave:Me(e.onPointerLeave,(()=>{o.onTriggerLeave(),f.current=!1})),onPointerDown:Me(e.onPointerDown,(()=>{l.current=!0,document.addEventListener("pointerup",d,{once:!0})})),onFocus:Me(e.onFocus,(()=>{l.current||o.onOpen()})),onBlur:Me(e.onBlur,o.onClose),onClick:Me(e.onClick,o.onClose)})))})),d6="TooltipPortal",[p6,h6]=e6(d6,{forceMount:void 0}),g6="TooltipContent",v6=f(((e,t)=>{const n=h6(g6,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=u6(g6,e.__scopeTooltip);return s(Ne,{present:r||a.open},a.disableHoverableContent?s(w6,we({side:o},i,{ref:t})):s(y6,we({side:o},i,{ref:t})))})),y6=f(((e,t)=>{const n=u6(g6,e.__scopeTooltip),r=a6(g6,e.__scopeTooltip),o=g(null),i=Se(t,o),[a,c]=y(null),{trigger:l,onClose:f}=n,d=o.current,{onPointerInTransitChange:p}=r,h=u((()=>{c(null),p(!1)}),[p]),m=u(((e,t)=>{const n=e.currentTarget,r=function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:return null}}({x:e.clientX,y:e.clientY},n.getBoundingClientRect()),o="right"===r||"bottom"===r?-5:5,i=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}(["right"===r||"left"===r?{x:e.clientX+o,y:e.clientY}:{x:e.clientX,y:e.clientY+o},...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);c(i),p(!0)}),[p]);return v((()=>()=>h()),[h]),v((()=>{if(l&&d){const e=e=>m(e,d),t=e=>m(e,l);return l.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}}),[l,d,m,h]),v((()=>{if(a){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==l?void 0:l.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,c=t[i].x,u=t[i].y;s>r!=u>r&&n<(c-a)*(r-s)/(u-s)+a&&(o=!o)}return o}(n,a);r?h():o&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[l,d,a,f,h]),s(w6,we({},e,{ref:i}))})),[m6,b6]=e6(s6,{isInside:!1}),w6=f(((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...c}=e,u=u6(g6,n),l=n6(n),{onClose:f}=u;return v((()=>(document.addEventListener(o6,f),()=>document.removeEventListener(o6,f))),[f]),v((()=>{if(u.trigger){const e=e=>{const t=e.target;null!=t&&t.contains(u.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[u.trigger,f]),s(qr,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:f},s(Ni,we({"data-state":u.stateAttribute},l,c,{ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),s(Ee,null,r),s(m6,{scope:n,isInside:!0},s(Q4,{id:u.contentId,role:"tooltip"},o||r))))}));const x6=e=>{const{__scopeTooltip:t,delayDuration:n=r6,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,c]=y(!0),l=g(!1),f=g(0);return v((()=>{const e=f.current;return()=>window.clearTimeout(e)}),[]),s(i6,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:u((()=>{window.clearTimeout(f.current),c(!1)}),[]),onClose:u((()=>{window.clearTimeout(f.current),f.current=window.setTimeout((()=>c(!0)),r)}),[r]),isPointerInTransitRef:l,onPointerInTransitChange:u((e=>{l.current=e}),[]),disableHoverableContent:o},i)},C6=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:c,delayDuration:l}=e,f=a6(s6,e.__scopeTooltip),d=n6(t),[p,h]=y(null),m=He(),b=g(0),w=null!=c?c:f.disableHoverableContent,x=null!=l?l:f.delayDuration,C=g(!1),[_=!1,S]=De({prop:r,defaultProp:o,onChange:e=>{e?(f.onOpen(),document.dispatchEvent(new CustomEvent(o6))):f.onClose(),null==i||i(e)}}),O=a((()=>_?C.current?"delayed-open":"instant-open":"closed"),[_]),k=u((()=>{window.clearTimeout(b.current),C.current=!1,S(!0)}),[S]),E=u((()=>{window.clearTimeout(b.current),S(!1)}),[S]),T=u((()=>{window.clearTimeout(b.current),b.current=window.setTimeout((()=>{C.current=!0,S(!0)}),x)}),[x,S]);return v((()=>()=>window.clearTimeout(b.current)),[]),s(Li,d,s(c6,{scope:t,contentId:m,open:_,stateAttribute:O,trigger:p,onTriggerChange:h,onTriggerEnter:u((()=>{f.isOpenDelayed?T():k()}),[f.isOpenDelayed,T,k]),onTriggerLeave:u((()=>{w?E():window.clearTimeout(b.current)}),[E,w]),onOpen:k,onClose:E,disableHoverableContent:w},n))},_6=f6,S6=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=u6(d6,t);return s(p6,{scope:t,forceMount:n},s(Ne,{present:n||i.open},s(Fi,{asChild:!0,container:o},r)))},O6=f(((e,t)=>{const{__scopeTooltip:n,...r}=e,o=n6(n);return b6("TooltipArrow",n).isInside?null:s(Bi,we({},o,r,{ref:t}))})),k6=n=>{var{trigger:r,children:o,content:i,position:a="top",offset:s=4,zIndex:c,width:u,maxWidth:l,textAlign:f,open:d,disabled:p,id:h,bgColor:g,color:v,container:y,afterShow:m,afterHide:b}=n,w=I(n,["trigger","children","content","position","offset","zIndex","width","maxWidth","textAlign","open","disabled","id","bgColor","color","container","afterShow","afterHide"]);return e(x6,{children:t(C6,Object.assign({delayDuration:0,onOpenChange:e=>{p||(m&&e&&m(),b&&!e&&b())},open:d},{children:[e(_6,Object.assign({asChild:!0},{children:e(T6,Object.assign({},w,{children:r}))})),e(S6,Object.assign({container:y},{children:!p&&t(E6,Object.assign({side:Cc(a).side,align:Cc(a).align,sideOffset:s,zIndex:c,width:u,maxWidth:l,textAlign:f,id:h,bgColor:g,textColor:v},{children:[i||o,e(O6,{className:"tooltip-arrow",width:12,height:8})]}))}))]}))})},E6=be(v6,{shouldForwardProp:e=>_c(e,["maxWidth","textAlign","bgColor","textColor","zIndex"])})((({theme:e,width:t,maxWidth:n,textAlign:r="center",bgColor:o,textColor:i,zIndex:a})=>{const{tooltip:s,font:c}=e,u=s.background,l=o||u;return{backgroundColor:l,boxShadow:e.elevation1,color:i||s.color.default,fontSize:c.size.sm,fontFamily:c.family.default,borderRadius:4,width:t,maxWidth:n,padding:16,textAlign:r,zIndex:a,"& > span > .tooltip-arrow":{fill:l,filter:"drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.1))"},'&[data-side="bottom"] > span > .tooltip-arrow':{filter:"drop-shadow(0px -2px 2px rgba(0, 0, 0, 0.1))"}}})),T6=be.div({display:"inline-flex"}),A6=be.div((({theme:e})=>({color:e.tooltip.color.default}))),j6=be.div((({theme:e})=>({color:e.tooltip.color.subtext})));k6.Header=A6,k6.Body=j6;const M6="#0074F4",P6="#FF6068",D6="#FF9900",I6="#F0BB00",L6="#00C242",R6="#001D32",N6="#FFFFFF",B6={logo1:"#0074F4",logo2:"#00A9E2",logo3:"#67C728",brand:M6,brandShade1:"#0068DC",brandShade2:"#005DC3",brandDark:"#4C9EF7",brandDarkShade1:"#5EA8F8",brandTint0:Hr(.95,M6),brandTint1:Hr(.9,M6),brandTint2:Hr(.8,M6),brandTint3:Hr(.7,M6),brandTint4:Hr(.6,M6),brandBackground0:"#001828",brandBackground1:"#0D2433",brandBackground2:"#192F3D",brandBackground3:"#334653",brandBackground4:"#475964",brandBackground5:"#596A74",error:P6,errorShade1:"#E6565E",errorShade2:"#CC4D53",errorTint0:Hr(.95,P6),errorTint1:Hr(.9,P6),errorTint2:Hr(.8,P6),warning:D6,warningShade1:"#E68A00",warningShade2:"#CC7A00",warningTint0:Hr(.95,D6),warningTint1:Hr(.9,D6),warningTint2:Hr(.8,D6),alert:I6,alertShade1:"#E4B200",alertShade2:"#C09600",alertTint0:Hr(.95,I6),alertTint1:Hr(.9,I6),alertTint2:Hr(.8,I6),success:L6,successShade1:"#00AF3B",successShade2:"#009B35",successTint0:Hr(.95,L6),successTint1:Hr(.9,L6),successTint2:Hr(.8,L6),grayscale0:Hr(.95,R6),grayscale1:Hr(.9,R6),grayscale2:Hr(.8,R6),grayscale3:Hr(.7,R6),grayscale4:Hr(.6,R6),grayscale5:Hr(.5,R6),grayscale6:Hr(.4,R6),grayscale7:Hr(.3,R6),grayscale8:Hr(.2,R6),grayscale9:Hr(.1,R6),grayscale10:R6,contrast0:Hr(.95,N6),contrast1:Hr(.9,N6),contrast2:Hr(.8,N6),contrast3:Hr(.7,N6),contrast4:Hr(.6,N6),contrast5:Hr(.5,N6),contrast6:Hr(.4,N6),contrast7:Hr(.3,N6),contrast8:Hr(.2,N6),contrast9:Hr(.1,N6),contrast10:N6};var F6={color:B6,elevation0:"0px 2px 4px 2px rgba(0, 0, 0, 0.05)",elevation1:"0px 2px 4px 2px rgba(0, 0, 0, 0.1)",elevation2:"0px 2px 4px 2px rgba(0, 0, 0, 0.15)",elevation3:"0px 4px 8px 2px rgba(0, 0, 0, 0.2)",elevation4:"0px 4px 8px 2px rgba(0, 0, 0, 0.25)",font:{weight:{thin:100,light:300,default:400,medium:500,semiBold:600,bold:700},size:{xs:10,sm:12,md:14,lg:16,xl:18},family:{default:"'Roboto', sans-serif",medium:"'Roboto', sans-serif",light:"'Roboto', sans-serif"}},size:{xs:4,sm:8,md:16,lg:24}};const{font:z6}=F6;var H6={small:{height:28,iconSize:18,font:z6.size.sm,padding:10,iconOnlyPadding:4},medium:{height:32,iconSize:22,font:z6.size.md,padding:12,iconOnlyPadding:5},large:{height:36,iconSize:24,font:z6.size.lg,padding:14,iconOnlyPadding:6}};const V6="#FFFFFF",U6=B6.grayscale0,K6=B6.grayscale1,$6=B6.grayscale2,W6=B6.grayscale3,q6=B6.grayscale4,G6=B6.grayscale5,Z6=B6.grayscale6,Y6=B6.grayscale7,X6=B6.grayscale8,J6=B6.grayscale9,Q6=B6.grayscale10,e7=Object.assign(Object.assign({},F6),{name:"light",accent:B6.brand,accentShade:B6.brandShade1,background0:V6,background1:V6,background2:V6,background3:V6,background4:V6,background5:V6,scale0:U6,scale1:K6,scale2:$6,scale3:W6,scale4:q6,scale5:G6,scale6:Z6,scale7:Y6,scale8:X6,scale9:J6,scale10:Q6,button:Object.assign(Object.assign({},H6),{primary:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},outlineBackground:{default:B6.brandTint0,hover:B6.brandTint1,active:B6.brandTint2},border:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},divider:$6},secondary:{color:{default:Q6,hover:Q6,active:Q6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:K6,hover:$6,active:W6},outlineBackground:{default:K6,hover:$6,active:W6},border:{default:$6,hover:$6,active:$6},divider:$6},positive:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},outlineBackground:{default:B6.successTint0,hover:B6.successTint1,active:B6.successTint2},border:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},divider:$6},negative:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},outlineBackground:{default:B6.errorTint0,hover:B6.errorTint1,active:B6.errorTint2},border:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},divider:$6},caution:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},outlineBackground:{default:B6.warningTint0,hover:B6.warningTint1,active:B6.warningTint2},border:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},divider:$6},subtle:{color:{default:B6.brand,hover:B6.brand,active:B6.brand},outlineColor:{default:B6.brand,hover:B6.brand,active:B6.brand},secondaryColor:{default:Q6,hover:Q6,active:Q6},positiveColor:{default:B6.success,hover:B6.success,active:B6.success},negativeColor:{default:B6.error,hover:B6.error,active:B6.error},cautionColor:{default:B6.warning,hover:B6.warning,active:B6.warning},background:{default:"transparent",hover:K6,active:$6},outlineBackground:{default:"transparent",hover:K6,active:$6},border:{default:"transparent",hover:$6,active:$6},divider:$6},link:{color:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},outlineColor:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},secondaryColor:{default:X6,hover:J6,active:Q6},positiveColor:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},negativeColor:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},cautionColor:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},background:{default:"transparent",hover:"transparent",active:"transparent"},outlineBackground:{default:"transparent",hover:"transparent",active:"transparent"},border:{default:"transparent",hover:"transparent",active:"transparent"},divider:"transparent"},disabled:{color:{default:q6,hover:q6,active:q6},outlineColor:{default:q6,hover:q6,active:q6},background:{default:K6,hover:K6,active:K6},outlineBackground:{default:U6,hover:U6,active:U6},border:{default:K6,hover:K6,active:K6},divider:K6},color:{default:V6}}),calendar:{background:{container:B6.contrast10,hover:K6,active:B6.brand,activeHover:B6.brandShade1},color:{disabled:q6,default:Q6,active:B6.contrast10,current:B6.brand,outside:Z6,weekday:X6,monthYear:X6,iconDefault:q6,iconHover:Q6}},defaultBorder:`1px solid ${K6}`,formControl:{color:{default:X6,hover:Q6,active:B6.brand,activeHover:B6.brandShade1,disabled:q6}},input:{borderRadius:4,background:{default:U6,hover:K6,focused:K6,disabled:U6},color:{default:Q6,disabled:q6,placeholder:Z6,description:Z6,descriptionError:B6.error},borderColor:{default:Z6,hover:X6,focused:B6.brand,disabled:q6,error:B6.error},labelColor:{default:X6,hover:X6,filled:Z6,focused:B6.brand,disabled:q6}},menu:{background:V6},menuItem:{borderColor:B6.brand,background:{active:U6,hover:K6,inactive:"transparent"},color:{active:Q6,hover:Q6,inactive:Z6}},modal:{background:B6.contrast10,color:{header:Q6,body:Z6}},options:{background:B6.contrast10},optionItem:{background:{active:K6,inactive:"transparent"},color:{active:Q6,inactive:Q6,accent:B6.brand}},table:{color:{header:Z6,body:Q6},borderColor:K6},toast:{color:Q6,background:{deafult:"#F2F3F4",info:"#CCE3FD",success:"#CCF3D9",warning:"#FFEBCC",error:"#FFDFE1"},border:{deafult:X6,info:B6.brand,success:B6.success,warning:B6.warning,error:B6.error}},toggle:{slider:B6.contrast10},tooltip:{background:"#FFF",color:{default:Q6,subtext:Z6}}}),t7=B6.contrast0,n7=B6.contrast1,r7=B6.contrast2,o7=B6.contrast3,i7=B6.contrast4,a7=B6.contrast5,s7=B6.contrast6,c7=B6.contrast7,u7=B6.contrast8,l7=B6.contrast9,f7=B6.contrast10,d7=B6.brandDark,p7={light:e7,dark:Object.assign(Object.assign({},F6),{name:"dark",accent:d7,accentShade:B6.brandDarkShade1,background0:B6.brandBackground0,background1:B6.brandBackground1,background2:B6.brandBackground2,background3:B6.brandBackground3,background4:B6.brandBackground4,background5:B6.brandBackground5,scale0:t7,scale1:n7,scale2:r7,scale3:o7,scale4:i7,scale5:a7,scale6:s7,scale7:c7,scale8:u7,scale9:l7,scale10:f7,button:Object.assign(Object.assign({},H6),{primary:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},outlineBackground:{default:B6.brandTint0,hover:B6.brandTint1,active:B6.brandTint2},border:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},divider:r7},secondary:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:n7,hover:r7,active:o7},outlineBackground:{default:n7,hover:r7,active:o7},border:{default:r7,hover:r7,active:r7},divider:r7},positive:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},outlineBackground:{default:B6.successTint0,hover:B6.successTint1,active:B6.successTint2},border:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},divider:r7},negative:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},outlineBackground:{default:B6.errorTint0,hover:B6.errorTint1,active:B6.errorTint2},border:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},divider:r7},caution:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},outlineBackground:{default:B6.warningTint0,hover:B6.warningTint1,active:B6.warningTint2},border:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},divider:r7},subtle:{color:{default:B6.brand,hover:B6.brand,active:B6.brand},outlineColor:{default:B6.brand,hover:B6.brand,active:B6.brand},secondaryColor:{default:f7,hover:f7,active:f7},positiveColor:{default:B6.success,hover:B6.success,active:B6.success},negativeColor:{default:B6.error,hover:B6.error,active:B6.error},cautionColor:{default:B6.warning,hover:B6.warning,active:B6.warning},background:{default:"transparent",hover:n7,active:r7},outlineBackground:{default:"transparent",hover:n7,active:r7},border:{default:"transparent",hover:r7,active:r7},divider:r7},link:{color:{default:B6.brandShade2,hover:B6.brandShade1,active:B6.brand},outlineColor:{default:B6.brandShade2,hover:B6.brandShade1,active:B6.brand},secondaryColor:{default:u7,hover:l7,active:f7},positiveColor:{default:B6.successShade2,hover:B6.successShade1,active:B6.success},negativeColor:{default:B6.errorShade2,hover:B6.errorShade1,active:B6.error},cautionColor:{default:B6.warningShade2,hover:B6.warningShade1,active:B6.warning},background:{default:"transparent",hover:"transparent",active:"transparent"},outlineBackground:{default:"transparent",hover:"transparent",active:"transparent"},border:{default:"transparent",hover:"transparent",active:"transparent"},divider:"transparent"},disabled:{color:{default:i7,hover:i7,active:i7},outlineColor:{default:i7,hover:i7,active:i7},background:{default:n7,hover:n7,active:n7},outlineBackground:{default:t7,hover:t7,active:t7},border:{default:n7,hover:n7,active:n7},divider:n7},color:{default:"#FFFFFF"}}),calendar:{background:{container:B6.brandBackground3,hover:n7,active:B6.brand,activeHover:B6.brandShade1},color:{disabled:i7,default:f7,active:f7,current:d7,outside:s7,weekday:u7,monthYear:u7,iconDefault:i7,iconHover:f7}},defaultBorder:`1px solid ${n7}`,formControl:{color:{default:u7,hover:f7,active:B6.brand,activeHover:B6.brandShade1,disabled:i7}},input:{borderRadius:4,background:{default:t7,hover:n7,focused:n7,disabled:t7},color:{default:f7,disabled:i7,placeholder:s7,description:s7,descriptionError:B6.error},borderColor:{default:s7,hover:u7,focused:d7,disabled:i7,error:B6.error},labelColor:{default:u7,hover:u7,filled:s7,focused:d7,disabled:i7}},menu:{background:B6.brandBackground2},menuItem:{borderColor:B6.brand,background:{active:t7,hover:n7,inactive:"transparent"},color:{active:f7,hover:f7,inactive:s7}},modal:{background:B6.brandBackground3,color:{header:f7,body:s7}},options:{background:B6.brandBackground3},optionItem:{background:{active:n7,inactive:"transparent"},color:{active:f7,inactive:f7,accent:d7}},table:{color:{header:s7,body:f7},borderColor:n7},toast:{color:f7,background:{deafult:"#0D2433",info:"#002A51",success:"#003A2D",warning:"#333220",error:"#332635"},border:{deafult:u7,info:B6.brand,success:B6.success,warning:B6.warning,error:B6.error}},toggle:{slider:B6.brandBackground0},tooltip:{background:B6.brandBackground4,color:{default:f7,subtext:s7}}})},h7=({header:n="Do you want to proceed?",text:r,cancelText:o="Cancel",confirmText:i="Okay",negative:a,input:s,inputLabel:c,inputPlaceholder:u,inputValue:l}={})=>{const[f,d]=y(l||""),[p,h]=y(null),g=()=>h(null);v((()=>{s&&"string"==typeof l&&f!==l&&d(l)}),[p]);const m=()=>{null==p||p.resolve(!s||f),g()},b=()=>{null==p||p.resolve(!1),g()};Mt(document,"keydown",(e=>{const{key:t}=e;switch(t){case"Enter":m();break;case"Escape":b()}}),!!p,[f]);return[()=>new Promise((e=>{h({resolve:e})})),()=>t(Y9,Object.assign({visible:!!p,onClose:g,width:400},{children:[n&&e(Y9.Header,{children:n}),r&&e(Y9.Text,{children:r}),s&&e(Y9.Body,Object.assign({marginTop:4,marginBottom:8},{children:e(c9,{autoFocus:!0,label:c,placeholder:u,value:f,onChange:({target:e})=>d(e.value)})})),t(Y9.Footer,{children:[e(Wc,Object.assign({secondary:!0,marginRight:8,onClick:b},{children:o})),e(Wc,Object.assign({negative:a,onClick:m},{children:i}))]})]}))]};export{$n as Accordion,tu as Audio,FH as BarChart,Wc as Button,WH as Calendar,oV as Checkbox,EV as Code,MV as DocTable,r9 as DraftEditor,h9 as Dropdown,Sc as DropdownMenu,O9 as Form,w9 as Grid,Vn as Icon,A9 as ImageViewer,I9 as InlineCode,c9 as Input,n9 as InputUtils,_9 as Label,L9 as LineChart,R9 as Menu,H9 as Message,W9 as MessageHr,Y9 as Modal,e4 as MultiSelect,QF as Notification,hc as Options,l4 as Pagination,v4 as PieChart,x4 as Progress,x9 as Radio,k4 as ResetStyles,E4 as ScrollbarStyles,Jc as Slider,A4 as Spacer,Bc as Spinner,X4 as Table,T4 as ToastStyles,C9 as Toggle,k6 as Tooltip,j4 as TransferList,TH as copyToClipboard,EH as formatDate,Fn as marginProps,AH as numberWithCommas,Bn as paddingProps,zn as positionProps,p7 as theme,h7 as useConfirm,Rn as useElementObserver,Mt as useEventListener,Pt as useOnClickOutside,Vt as useSelect,It as useSelectAll,Dt as useWindowSize,Nn as widthHeightProps};
|
|
214
|
+
var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;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 o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var r=n(2),o=n(4),i=n(3),a={};e.exports=function(e,n,s,c,u){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{r("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",c||"React class",s,l,typeof e[l]),f=e[l](n,l,c,s,null,i)}catch(e){f=e}if(o(!f||f 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).",c||"React class",s,l,typeof f),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var d=u?u():"";o(!1,"Failed %s type: %s%s",s,f.message,null!=d?d:"")}}}}).call(t,n(0))},function(e,t,n){var r=n(1),o=n(2),i=n(3);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!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,n){Object.defineProperty(t,"__esModule",{value:!0});var r="insert",o="backspace",i=t.isInvalidKey=function(e){return"Backspace"!==e&&!/[0-9]/.test(e)},a=function(e){return e.start!==e.end};t.update=function(e,t,n){var r=a(t);return"Backspace"===n?s(e,t):function(e,t,n){return!(10===u(e).length&&!n||i(t))}(e,n,r)?c(e,t,n):{phoneNumber:e,cursorPosition:t.start}};var s=t.backspace=function(e,t){var n=t.start,r=t.end,i=e;if(!a(t)&&n>0&&e[n-1].match(/[0-9]/)&&(i=e.substring(0,n-1)+i.substring(n)),a(t)){var s=e.substring(n,r).replace(/\d/g,"");i=e.substring(0,n)+s+i.substring(r)}var c=d(e,i,t,o);return{phoneNumber:f(i),cursorPosition:c}},c=t.insert=function(e,t,n){t.start,t.end;var o=e;a(t)&&(o=l(e,n,t)),a(t)||(o=l(e,n,t));var i=d(e,o,t,r);return{phoneNumber:f(o),cursorPosition:i}},u=t.normalize=function(e){return e.replace(/\D/g,"")},l=t.insertChars=function(e,t,n){return e.substring(0,n.start)+t+e.substring(n.end)},f=t.format=function(e){var t=u(e),n=t.substring(0,3),r=t.substring(3,6),o=t.substring(6,11);return o?"("+n+") "+r+"-"+o:r?n+"-"+r:t},d=t.getCursorPosition=function(e,t,n,i){if(n.start===e.length)return f(t).length;if(0===n.start){if(i===o)return 0;if(i===r)return 1}if(i===o){var s=/[^0-9]/g;if(a(n)&&s.test(e.substring(n.start,n.end)))return n.start;if(!a(n)&&s.test(e[n.start-1]))return n.start-1}var c=e.substring(n.end).match(/[0-9]/g),u=c?c.length:0,l=f(t),d=p(l,u);return l.length-d},p=t.getCharCountFromEndWithNumbers=function(e,t){var n=e.split("");n.reverse();var r=0,o=n.reduce((function(e,n){return r===t?e:(/[0-9]/.test(n)&&r++,e+1)}),0);return r<t?0:o}}]);var a4=i4.exports;const s4=(t,n)=>{const r=e=>h(e,n);return"string"==typeof t?e(Vn,Object.assign({name:t,inheritColor:!0},n)):"object"==typeof t&&"props"in t&&"trigger"in t.props?h(t,{trigger:r(t.props.trigger)}):"object"==typeof t&&"props"in t?r(t):e(Vn,Object.assign({},t,n))},c4=f(((n,r)=>{var{id:o,label:i,placeholder:a,placeholderColor:s,description:c,isLoading:u,search:l,phone:f,textOnly:d,iconLeft:p,iconRight:h,invalid:b,borderless:x,borderRadius:C,borderColor:_,backgroundColor:S,fontSize:O,width:k,height:T,margin:A,marginLeft:j,marginRight:M,marginTop:P,marginBottom:D,padding:L,paddingLeft:R,paddingRight:N,paddingTop:B,paddingBottom:F,containerRef:z,value:H,disabled:V,readOnly:U,preventFocus:K,pointer:$,onChange:W,onClick:q,onClear:G,onFocus:Z,onBlur:Y}=n,X=I(n,["id","label","placeholder","placeholderColor","description","isLoading","search","phone","textOnly","iconLeft","iconRight","invalid","borderless","borderRadius","borderColor","backgroundColor","fontSize","width","height","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","containerRef","value","disabled","readOnly","preventFocus","pointer","onChange","onClick","onClear","onFocus","onBlur"]);const{focused:J,handleFocus:Q,handleBlur:ee}=X3(Z,Y,!K&&!U),te=g(null),{color:ne}=E(),[re,oe]=y(d?50:void 0),ie=g(null),ae={margin:A,marginTop:P,marginBottom:D,marginRight:M,marginLeft:j},se={padding:L,paddingTop:B,paddingBottom:F,paddingRight:N,paddingLeft:R};m((()=>{if(d&&ie){const{current:e}=ie,t=null==e?void 0:e.offsetWidth;"number"==typeof t&&oe(t+3)}}),[d,H,a,ie]);const ce=d?H||a:H,ue=H&&G&&!u,le=()=>{J||Q()},fe=()=>{J&&ee()};w(r,(()=>({focus:le,blur:fe,hasFocus:J}))),v((()=>{var e;J&&(null===(e=te.current)||void 0===e||e.focus())}),[J]);return t(Q3,Object.assign({ref:z,invalid:b,textOnly:d,borderless:x||d,borderRadius:C,borderColor:_,backgroundColor:S,width:k,height:T,focused:J,disabled:V,hasLabel:!!i,onClick:e=>{K||U||le(),q&&q(e)},pointer:$,readOnly:U},ae,se,{children:[l&&e(Vn,{name:"search",marginRight:8,inheritColor:!0}),p&&s4(p,{marginRight:8}),t(e4,Object.assign({readOnly:U||K},{children:[d&&e(d4,Object.assign({ref:ie,fontSize:O},{children:ce})),i&&!d&&e(t4,Object.assign({htmlFor:o||i,filled:J3(H),focused:J,disabled:V},{children:i})),e(u4,Object.assign({id:o||i,ref:te,value:H,placeholder:a,placeholderColor:s,onChange:e=>{if(f){const{value:t}=e.target,n=a4.normalize(t);if(n.length>10)return;const r=a4.format(n);W&&W(e,r,n)}else W&&W(e)},onFocus:Q,onBlur:ee,disabled:V,hide:!(J3(H)||!i||J||d),width:re,fontSize:O},X))]})),h&&s4(h),u&&e(Bc,{}),ue&&e(l4,Object.assign({onClick:G},{children:e(Vn,{name:"close-circle-outline",color:ne.brand})})),c&&e(f4,Object.assign({invalid:b},{children:c}))]}))})),u4=be.input((({theme:{font:e,input:t,size:n,accent:r},fontSize:o,hide:i,disabled:a,width:s,placeholderColor:c})=>({outline:"none",border:"none",color:a?t.color.disabled:t.color.default,caretColor:r,backgroundColor:"transparent",paddingLeft:0,fontSize:o||e.size.lg,fontFamily:e.family.default,width:s||"100%",height:"100%",marginRight:n.sm,boxSizing:"border-box",opacity:i?0:1,position:i?"absolute":void 0,"&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active":{transition:"background-color 0s 50000s",WebkitTextFillColor:t.color.default},"&::placeholder":{color:c||t.color.placeholder,opacity:1}}))),l4=be.div({height:"100%",cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:4}),f4=be.div((({theme:{font:e,input:t},invalid:n})=>({color:n?t.color.descriptionError:t.color.description,fontSize:e.size.sm,position:"absolute",left:0,top:"calc(100% + 4px)"}))),d4=be.div((({theme:{font:e},fontSize:t})=>({position:"absolute",width:"max-content",opacity:0,fontSize:t||e.size.lg,zIndex:-1}))),p4=e=>d.toArray(e).filter((e=>"string"==typeof e)).join("").trim(),h4=n=>{var{onChange:r,onTextChange:o,afterShow:i,afterHide:a,onFocus:s,onBlur:c,onError:u,placeholder:l,placeholderColor:f,value:d,options:p,children:h,borderless:m,borderColor:b,backgroundColor:w,hideIcon:x,clearOnSelect:C,textOnly:_,width:S,height:O,isLoading:k,margin:T,marginTop:A,marginBottom:j,marginRight:M,marginLeft:P,label:D,id:L,name:R,trigger:N,centerY:B,centerX:F,offsetY:z,offsetX:H,direction:V,fontSize:U,description:K,disabled:$,invalid:W,search:q,filter:G,restrictInput:Z,inputRef:Y,optionsParent:X}=n,J=I(n,["onChange","onTextChange","afterShow","afterHide","onFocus","onBlur","onError","placeholder","placeholderColor","value","options","children","borderless","borderColor","backgroundColor","hideIcon","clearOnSelect","textOnly","width","height","isLoading","margin","marginTop","marginBottom","marginRight","marginLeft","label","id","name","trigger","centerY","centerX","offsetY","offsetX","direction","fontSize","description","disabled","invalid","search","filter","restrictInput","inputRef","optionsParent"]);const[Q,ee]=y(""),[te,ne]=y(""),[re,oe]=y(!1),[ie,ae]=y(!1),[se,ce]=y(!1),ue=g(null),{input:le}=E(),fe={margin:T,marginTop:A,marginBottom:j,marginRight:M,marginLeft:P},de=e=>{e&&e.stopPropagation(),!re&&i&&i(),re&&a&&a(),oe((e=>!e))};v((()=>{var e;if(re&&q){null===(e=(Y||ue).current)||void 0===e||e.focus()}}),[re,q]),v((()=>{u&&u(se)}),[se]),v((()=>{o&&o(te)}),[te]);const pe=Pt(de,re,X?[X,`${X} *`]:void 0),he=(e,t)=>{if(void 0===e)return!1;return e.toString().toLowerCase()===t.toLowerCase()},ge=e=>{const t=be().find((t=>{let n=he(t.label,e);return!n&&"id"in t&&(n=he(t.id,e)),n||!("value"in t)||"string"!=typeof t.value&&"number"!=typeof t.value||(n=he(t.value,e)),n}));return t},ve=e=>"function"==typeof Z?!Z(e):Z,ye=e=>me(null,e),me=(e,t)=>{let n,o=!1;if("string"==typeof e){n=(e=>{if(ve(e))return ge(e)||null;return{id:$H(),label:e,value:e}})(e);const t=ve(e);null===n&&t&&(o=!0)}else n=e;re&&de(t),ee((null==n?void 0:n.label)||""),r&&void 0!==n&&r(n),o?ce(!0):(se&&ce(!1),C&&ee(""),ne(""))};v((()=>{""===d&&ye()}),[d]);const be=()=>{const e=pc(h).map((e=>{const t=e;let n=t.props.displayText||"";return!D&&t.props.children&&(n=p4(t.props.children)),{id:t.props.id,label:n,onClick:t.props.onClick}}));return[...yc(p||[],{search:q,filter:G,inputText:te}),...e]},we={options:be(),select:me,open:de,close:de,searchText:q?te:void 0,isOpen:re,isFocused:ie},[xe,Ce]=Vt(we),_e=bc(p||[],h,me,de,{selected:xe,search:q,filter:G,inputText:te}),Se=re?"caret-up":"caret-down",Oe=_&&!$?f||le.color.default:void 0,ke=I(J,["onClear","phone"]);return e(g4,Object.assign({textOnly:_,altTrigger:!!N,width:S,height:O,focused:ie,search:q},fe,{children:t(v4,Object.assign({ref:pe},{children:[N?e(y4,Object.assign({id:L,onClick:de,tabIndex:0,onFocus:()=>ae(!0),onBlur:()=>ae(!1)},{children:N})):e(b4,Object.assign({shake:se},{children:e(c4,Object.assign({},ke,{ref:Y||ue,id:L,name:R,label:D,fontSize:U,pointer:!0,preventFocus:!q,value:te||d||Q,placeholder:l||"Select",placeholderColor:Oe,iconRight:x||k?void 0:Se,borderless:m,borderColor:b,backgroundColor:w,isLoading:k,textOnly:_,description:K,disabled:$,invalid:se||W,onClick:de,onChange:e=>{var t;const{value:n}=e.target,r=null===(t=(Y||ue).current)||void 0===t?void 0:t.hasFocus;q?(ne(n),!re&&r&&oe(!0),se&&ce(!1)):n||ye(e);const o=ge(n),i=ve(n),a=""===n||i&&!r;o&&!(q&&(!i||r))?me(o,e):q&&!a||ye(e)},onFocus:e=>{ae(!0),s&&s(e)},onBlur:e=>{var t;if(ae(!1),c&&c(e),q&&te&&e){const{relatedTarget:n}=e;(null===(t=null==Ce?void 0:Ce.current)||void 0===t?void 0:t.contains(n))||me(te,e)}}}))})),re&&_e.length>0&&e(hc,Object.assign({containerRef:Ce,parentSelector:X,width:!N&&!_||X?"100%":void 0,centerY:B,centerX:F,offsetY:z,offsetX:H,direction:V},{children:_e}))]}))}))};h4.Item=({value:t,displayText:n,setValue:r,close:o,children:i,contentPosition:a,color:s,accented:c,onClick:u,id:l})=>{const f=u?e=>{u&&u(e),o&&o()}:e=>{const o={id:l,label:n||p4(i)||"",value:t};r&&r(o,e)};return e(hc.Item,Object.assign({id:l,contentPosition:a,color:s,onClick:f,accented:c},{children:i}))};const g4=be.div({display:"flex",boxSizing:"border-box"},(({theme:{accent:e},focused:t,search:n,altTrigger:r,textOnly:o})=>({width:r||o?"max-content":"100%",flexDirection:"column",outline:!t||n||r?void 0:`${e} solid 1px`})),Nn,Fn),v4=be.div({position:"relative",width:"100%",height:"inherit"}),y4=be.div((({theme:{accent:e}})=>({display:"flex",height:"inherit","&:focus-visible":{outline:`${e} solid 1px`}}))),m4=k({"10%":{transform:"translate3d(-1px, 0, 0)"},"30%":{transform:"translate3d(2px, 0, 0)"},"50%":{transform:"translate3d(-2px, 0, 0)"},"70%":{transform:"translate3d(2px, 0, 0)"},"90%":{transform:"translate3d(-1px, 0, 0)"}}),b4=be.div((({shake:e})=>({"& input":{animation:e?`${m4} .5s linear`:void 0}}))),w4=be.div({display:"grid"},(({rows:e,rowGap:t,columns:n,columnGap:r,gap:o,template:i,alignContent:a,alignItems:s,justifyContent:c,justifyItems:u,width:l,height:f})=>({gridTemplateColumns:"number"==typeof n?`repeat(${n}, 1fr)`:n,gridTemplateRows:"number"==typeof e?`repeat(${e}, 1fr)`:e,gridColumnGap:r,gridRowGap:t,gridGap:o,gridTemplate:i,alignItems:s,justifyItems:u,alignContent:a,justifyContent:c,width:l,height:f})),(({columns:e})=>"equal"===e&&{gridTemplateColumns:"unset",gridAutoColumns:"1fr",gridAutoFlow:"column"}),Bn,Fn);w4.Item=be.div((({row:e,rowStart:t,rowEnd:n,column:r,columnStart:o,columnEnd:i,area:a,alignSelf:s,justifySelf:c,placeSelf:u,border:l})=>({gridRow:e,gridRowStart:t,gridRowEnd:n,gridColumn:r,gridColumnStart:o,gridColumnEnd:i,gridArea:a,alignSelf:s,justifySelf:c,placeSelf:u,border:l})),Bn,Fn);const x4=n=>{var{id:r,label:o,labelPosition:i,checked:a,disabled:s,margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d}=n,p=I(n,["id","label","labelPosition","checked","disabled","margin","marginTop","marginBottom","marginRight","marginLeft"]);const h="right"===i,g={margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d};return t(tV,Object.assign({htmlFor:r,labelRight:h,disabled:s},g,{children:[o&&e(rV,{children:o}),e(nV,Object.assign({id:r,type:"radio",checked:a,disabled:s},p)),e(Vn,{name:"radio-button",marginLeft:o&&!h?8:0,marginRight:o&&h?8:0,pointer:!s})]}))},C4=n=>{var{id:r,label:o,labelPosition:i,checked:a,disabled:s,onChange:c,margin:u,marginTop:l,marginBottom:f,marginRight:d,marginLeft:p}=n,h=I(n,["id","label","labelPosition","checked","disabled","onChange","margin","marginTop","marginBottom","marginRight","marginLeft"]);const[g,m]=y("toggle-off"),[b,w]=y(a||!1),x="right"===i,C={margin:u,marginTop:l,marginBottom:f,marginRight:d,marginLeft:p};return v((()=>{m(b?"toggle-on":"toggle-off")}),[b]),v((()=>{w("boolean"==typeof a?a:b)}),[a,b]),t(tV,Object.assign({htmlFor:r,labelRight:x,disabled:s},C,{children:[o&&e(rV,{children:o}),e(nV,Object.assign({id:r,type:"checkbox",checked:b,disabled:s,onChange:()=>{const e=!b;w(e),c(e)}},h)),e(Vn,{name:g,marginLeft:o&&!x?8:0,marginRight:o&&x?8:0,pointer:!s,size:40})]}))},_4=e=>{var{children:n,iconLeft:r,iconRight:o,disabled:i,pill:a}=e,s=I(e,["children","iconLeft","iconRight","disabled","pill"]);return t(S4,Object.assign({as:a?void 0:"label",disabled:i,rightIcon:!!o,pill:a},s,{children:[r&&s4(r,{marginRight:4,size:"small"}),n,o&&s4(o,{marginLeft:4,size:"small"})]}))},S4=be.div((({theme:e,disabled:t,pill:n})=>({display:"flex",alignItems:"center",width:"max-content",color:t?e.scale4:e.scale10,cursor:"default",fontSize:n?e.font.size.sm:e.font.size.md,fontWeight:n?e.font.weight.medium:e.font.weight.default,fontFamily:e.font.family.default})),(({theme:e,disabled:t,pill:n,rightIcon:r})=>n&&{borderRadius:40,padding:`2px ${e.size.sm}px`,paddingRight:r?e.size.xs:void 0,backgroundColor:t?e.scale0:e.scale1,"&:hover":{backgroundColor:t||!n?void 0:e.scale2}}),Fn),O4=t=>{var{children:n,rows:r,columns:o,rowGap:i,columnGap:a,onSubmit:s}=t,c=I(t,["children","rows","columns","rowGap","columnGap","onSubmit"]);return e(k4,Object.assign({as:"form",rows:r,columns:o,rowGap:i,columnGap:a,onSubmit:e=>{s?s(e):e.preventDefault()}},c,{children:n}))};O4.Group=t=>{var{children:n,rows:r,columns:o,rowGap:i,columnGap:a,disabled:s}=t,c=I(t,["children","rows","columns","rowGap","columnGap","disabled"]);return e(E4,Object.assign({rows:r,columns:o,rowGap:i,columnGap:a,disabled:s},c,{children:n}))},O4.Field=({children:t,inline:n,align:r,disabled:o})=>e(T4,Object.assign({inline:n,align:r,disabled:o},{children:t})),O4.Input=c4,O4.Dropdown=h4,O4.Radio=x4,O4.Toggle=C4,O4.Checkbox=oV,O4.Label=_4;const k4=be(w4)({boxSizing:"border-box"}),E4=be(w4)((({disabled:e})=>e&&{opacity:.3,pointerEvents:"none"})),T4=be.div((({inline:e,align:t})=>({display:"flex",flexDirection:e?"row":"column",alignItems:t?{top:"flex-start",bottom:"flex-end",center:"center"}[t]:void 0})),(({disabled:e})=>e&&{opacity:.3,pointerEvents:"none"})),A4=({visible:n,close:r,images:o,startIndex:i,alt:a,maxWidth:s,maxHeight:c,opacity:u})=>{const[l,f]=y(i),d=Pt(r,n,["#prev","#next","#prev *","#next *"]);v((()=>{f(i)}),[i]);const p=()=>f(l>0?l-1:o.length-1),h=()=>l<o.length-1?f(l+1):f(0),g=e=>{const{key:t}=e;switch(t){case"ArrowLeft":case"ArrowDown":e.preventDefault(),p();break;case"ArrowRight":case"ArrowUp":e.preventDefault(),h();break;case"Escape":e.preventDefault(),r()}};return v((()=>{const e="undefined"==typeof window,t=e?()=>null:()=>window.removeEventListener("keydown",g);return n&&!e&&window.addEventListener("keydown",g),t}),[n,l]),n?t(j4,Object.assign({opacity:u,prevNext:o.length>1},{children:[e(M4,Object.assign({onClick:r},{children:e(Vn,{name:"close",size:25,color:"white"})})),o.length>1&&e(P4,Object.assign({id:"prev",onClick:p},{children:e(Vn,{name:"chevron-left",size:35,color:"white"})})),e(D4,{ref:d,src:o[l],alt:a,maxWidth:s,maxHeight:c}),o.length>1&&e(P4,Object.assign({next:!0,id:"next",onClick:h},{children:e(Vn,{name:"chevron-right",size:35,color:"white"})}))]})):null},j4=be.div((({prevNext:e,opacity:t})=>({width:"100%",height:"100%",backgroundColor:`rgba(0, 0, 0, ${null!=t?t:.3})`,position:"fixed",top:0,left:0,display:"grid",gridTemplateColumns:e?"auto 1fr auto":"1fr",justifyContent:"space-between",alignItems:"center",zIndex:1e4,userSelect:"none",borderRadius:5}))),M4=be.div({position:"absolute",top:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",width:50,height:50,zIndex:1}),P4=be.div((({next:e})=>({display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",width:50,height:"100%",backgroundColor:"transparent",left:e?void 0:0,right:e?0:void 0,zIndex:0,"&:hover":{background:`linear-gradient(90deg, rgba(0,0,0,${e?0:.4}) 0%, rgba(0,0,0,${e?.4:0}) 100%)`}}))),D4=be.img((({maxWidth:e,maxHeight:t})=>({display:"block",justifySelf:"center",maxWidth:e||"100%",maxHeight:t||"100%"}))),I4=be.code((({theme:e})=>({fontFamily:"source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace",color:e.scale10,backgroundColor:e.scale1,borderRadius:e.size.xs,padding:"2px 4px"}))),L4=n=>{var{data:r,legend:o,keys:i}=n,a=I(n,["data","legend","keys"]);const[s,c]=y(i),{scale2:u}=E();return t(MH,Object.assign({},a,{children:[e(jH,{}),e(nO,Object.assign({width:"100%",height:"100%"},{children:t(YF,Object.assign({margin:{top:8,left:-14,right:5,bottom:-8},data:r},{children:[e(kB,{stroke:u,strokeDasharray:"3 5",vertical:!1}),e(UB,{stroke:u,dataKey:"name",tickMargin:4}),e(KB,{stroke:u,tickMargin:4}),DH(),o&&e(Mb,{content:e(IH,{toggleData:i.length>1?e=>{c((t=>(t=>t.map((t=>t.key===e.value?Object.assign(Object.assign({},t),{hidden:!t.hidden}):t)))(t)))}:void 0})}),s.map((({key:t,color:n,hidden:r},o)=>e(VB,{dataKey:t,stroke:n,dot:!1,hide:r,activeDot:{stroke:n,strokeWidth:1,r:3},type:"monotone"},`line-${o+1}`)))]}))}))]}))},R4=({vertical:t,width:n,height:r,padding:o,paddingTop:i,paddingBottom:a,paddingLeft:s,paddingRight:c,border:u,borderTop:l,borderBottom:f,borderLeft:d,borderRight:p,borderTopLeftRadius:g,borderTopRightRadius:v,borderBottomLeftRadius:y,borderBottomRightRadius:m,backgroundColor:b,children:w})=>e(N4,Object.assign({vertical:t,width:n,height:r,padding:o,paddingTop:i,paddingBottom:a,paddingLeft:s,paddingRight:c,border:u,borderTop:l,borderBottom:f,borderLeft:d,borderRight:p,borderTopLeftRadius:g,borderTopRightRadius:v,borderBottomLeftRadius:y,borderBottomRightRadius:m,backgroundColor:b,role:"menu"},{children:w?pc(w).map((e=>e?h(e,{vertical:t,backgroundColor:b}):null)):null})),N4=be.div((({theme:{menu:e},vertical:t,backgroundColor:n,width:r,height:o,paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c})=>({display:"flex",flexFlow:t?"column":"row",overflowY:t?"auto":void 0,backgroundColor:n||e.background,padding:t?"16px 0":"0 16px",paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c,width:r,height:o})),(({theme:{defaultBorder:e},border:t,borderTop:n,borderBottom:r,borderLeft:o,borderRight:i,borderTopLeftRadius:a,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u})=>({border:t?e:void 0,borderTop:n?e:void 0,borderBottom:r?e:void 0,borderLeft:o?e:void 0,borderRight:i?e:void 0,borderTopLeftRadius:a,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u}))),B4=be.button({userSelect:"none",border:"none",display:"flex",alignItems:"center"},(({theme:{accent:e,font:t,menuItem:n},selected:r,vertical:o,disabled:i,indent:a=1})=>({color:r?n.color.active:n.color.inactive,backgroundColor:r?n.background.active:n.background.inactive,borderLeft:o?"4px solid transparent":void 0,borderLeftColor:o&&r?n.borderColor:void 0,borderBottom:o?void 0:"4px solid transparent",borderBottomColor:!o&&r?n.borderColor:void 0,cursor:i?"not-allowed":"pointer",fontSize:t.size.lg,padding:o?`0 0 0 ${32*a}px`:"0 16px",minHeight:40,"&:hover":{backgroundColor:n.background.hover,color:n.color.hover},"&:focus-visible":{outline:`${e} solid 1px`}})),(({contentPosition:e})=>({justifyContent:"start"===e||"end"===e?`flex-${e}`:e}))),F4=be.div((({theme:e,backgroundColor:t})=>({display:"flex",flexDirection:"column",backgroundColor:t||e.menu.background}))),z4=be.div({marginLeft:"auto",marginRight:8});R4.Item=({vertical:t,selected:n,disabled:r,contentPosition:o,onClick:i,id:a,children:s,indent:c=1})=>e(B4,Object.assign({vertical:t,selected:n,disabled:r,contentPosition:o,onClick:i,id:a,role:"menuitem",indent:c},{children:s})),R4.Group=({label:n,defaultOpen:r,vertical:i,selected:a,disabled:s,contentPosition:c,onClick:u,id:l,children:f,indent:d=1,backgroundColor:p})=>{const[g,v]=y(r||a),m=e=>pc(e).map((e=>{if(o.isValidElement(e)){const t=e;return t.props.selected&&!g&&v(!0),Array.isArray(t.props.children)&&m(t.props.children),h(e,{vertical:i,indent:d+1,backgroundColor:p})}return null})),b=m(f),w=()=>v((e=>!e));return t(F4,Object.assign({backgroundColor:p},{children:[t(B4,Object.assign({vertical:i,selected:a||!1,disabled:s,contentPosition:c,onClick:e=>{u?(u(e),g||w()):w()},id:l,role:"menuitem",indent:d},{children:[n,e(z4,Object.assign({onClick:e=>{e.stopPropagation(),w()}},{children:e(Vn,{name:g?"chevron-up":"chevron-down",pointer:!0})}))]})),g&&b]}))};const H4=({type:n,content:r,closeIcon:o,onClose:i,width:a,margin:s,marginTop:c,marginBottom:u,marginRight:l,marginLeft:f,children:d})=>{const p=E(),{iconName:h,borderColor:g,backgroundColor:v}=((e,t)=>{const{color:n}=t;switch(e){case"info":return{iconName:"info",borderColor:n.brand,backgroundColor:n.brandTint2};case"error":return{iconName:"warning",borderColor:n.error,backgroundColor:n.errorTint2};case"success":return{iconName:"check-circle",borderColor:n.success,backgroundColor:n.successTint2};case"warning":return{iconName:"warning",borderColor:n.warning,backgroundColor:n.warningTint2};default:return{iconName:"info",borderColor:t.scale8,backgroundColor:t.scale0}}})(n||"",p),y={margin:s,marginTop:c,marginBottom:u,marginRight:l,marginLeft:f};return t(K4,Object.assign({borderColor:g,backgroundColor:v,width:a,showingClose:o},y,{children:[e(Vn,{name:h,style:{marginRight:10},color:g}),e($4,{children:r||d}),o&&e(Vn,{name:"close",onClick:i,pointer:!0,color:p.scale8,hoverColor:p.scale10,marginLeft:"auto"})]}))},V4=be.div((({theme:e})=>({fontWeight:e.font.weight.medium}))),U4=be.div((({theme:e})=>({fontWeight:e.font.weight.default})));H4.Header=V4,H4.Body=U4;const K4=be.div((({theme:e,borderColor:t,backgroundColor:n,width:r})=>({width:r,display:"flex",alignItems:"center",margin:"10px 0",position:"relative",padding:`${e.size.sm}px ${e.size.md}px`,border:"1px solid",borderColor:t,borderRadius:e.size.xs,backgroundColor:n,color:e.scale10,fontSize:e.font.size.sm,"& a":{textDecoration:"none",color:e.accent,"&:hover":{textDecoration:"underline"}}})),(({theme:e,showingClose:t})=>({paddingRight:t?e.size.sm:void 0})),Fn),$4=be.div({width:"100%"}),W4=({text:n,color:r,style:o})=>t(Z4,{children:[e(G4,{}),e(q4,Object.assign({color:r,style:o},{children:n})),e(G4,{})]}),q4=be.div((({color:e})=>({fontSize:12,padding:"0 5px",color:e}))),G4=be.div((({theme:e})=>({height:1,backgroundColor:e.scale4,width:"100%"}))),Z4=be.div({display:"grid",gridTemplateColumns:"1fr auto 1fr",alignItems:"center",padding:"10px 0"}),Y4=({children:n,rootSelector:r,visible:o,width:i,height:a,onClose:s,closeIcon:c,preventOverlayClose:u,overlayColor:l,backgroundColor:f,small:d,noOverlay:p,centerX:g,centerY:v,top:y,bottom:m,right:b,left:w,padding:x,paddingTop:C,paddingBottom:_,paddingRight:S,paddingLeft:O})=>{const k=Pt(u?()=>null:s,o),E={padding:x,paddingTop:C,paddingBottom:_,paddingRight:S,paddingLeft:O},T=pc(n).map((e=>e?h(e,{inline:d}):null)),A=e(Q4,Object.assign({color:l,noOverlay:p,centerX:g,centerY:v,top:y,bottom:m,right:b,left:w},{children:t(X4,Object.assign({ref:k,width:i,height:a,backgroundColor:f,small:d,noOverlay:p,centerX:g,centerY:v},E,{children:[T,c&&e(J4,Object.assign({inline:d},{children:e(Vn,{name:"close",onClick:s,pointer:!0})}))]}))})),M=document.querySelector(r||"#root");return o&&M?j.createPortal(A,M):null};Y4.Header=be.div((({theme:e})=>({color:e.modal.color.header,fontSize:e.font.size.xl,marginBottom:8}))),Y4.Text=be.div((({theme:e,primary:t,fontSize:n})=>({color:t?e.modal.color.header:e.modal.color.body,fontSize:n||e.font.size.lg}))),Y4.Body=be.div((({height:e})=>({height:e,overflow:e?"auto":void 0})),Fn),Y4.Footer=be.div((({justify:e="end",inline:t})=>({display:"flex",alignItems:"center",justifyContent:e?{start:"flex-start",end:"flex-end",center:"center","space-around":"space-around","space-between":"space-between"}[e]:void 0,marginTop:t?void 0:8})),Fn);const X4=be.div((({theme:e,width:t,height:n,backgroundColor:r,small:o})=>({display:"flex",flexDirection:o?"row":"column",alignItems:o?"center":void 0,backgroundColor:r||e.modal.background,boxShadow:e.elevation3,width:t||"max-content",height:n||"max-content",borderRadius:e.size.xs,padding:o?e.size.md:e.size.lg})),(({noOverlay:e})=>!e&&{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)"}),(({centerX:e,centerY:t})=>(e||t)&&{position:"absolute",top:t?"50%":void 0,left:e?"50%":void 0,transform:`translate(${e?"-50%":"0"}, ${t?"-50%":"0"})`}),Bn),J4=be.div({display:"flex",justifyContent:"center",alignItems:"center"},(({inline:e})=>e?{marginLeft:16}:{position:"absolute",top:8,right:8})),Q4=be.div((({color:e,noOverlay:t,centerX:n,centerY:r,top:o,bottom:i,right:a,left:s})=>({position:"absolute",top:o||(s||i||a?void 0:0),left:s||(o||i||a?void 0:0),bottom:i,right:a,width:t&&!n?void 0:"100%",height:t&&!r?void 0:"100%",zIndex:100,backgroundColor:t?void 0:e||"rgba(0, 0, 0, 0.5)"}))),e9=f(((r,o)=>{var{children:i,options:s,items:c,listLabel:u,listText:l,itemsTitle:f,maxItems:d,placeholder:p,width:h,filter:m,restrictInput:b,disabled:x,hideItemsInfo:C,optionsParent:_,compact:S,backgroundColor:O,borderless:k,addItem:T,removeItem:A,onTextChange:M,autoFocus:P}=r,D=I(r,["children","options","items","listLabel","listText","itemsTitle","maxItems","placeholder","width","filter","restrictInput","disabled","hideItemsInfo","optionsParent","compact","backgroundColor","borderless","addItem","removeItem","onTextChange","autoFocus"]);const[L,R]=y(P||!1),[N,B]=y(!1),[F,z]=y(""),{color:H,font:V,input:U}=E(),K=Pt((()=>R(!1)),L,_?[_,`${_} *`]:void 0),$=g(null),W=S&&!!u,q=e=>{e&&T(e)},G=()=>{const{current:e}=$;L||u||R(!0),null==e||e.focus()},Z=()=>{const{current:e}=$;e&&e.blur()};w(o,(()=>({focus:G,blur:Z})));const Y=e=>{z(e),M&&M(e)};v((()=>{L||Z()}),[L]);Mt(document,"keydown",(e=>{const{key:t,altKey:n,ctrlKey:r,metaKey:o}=e;if(!(n||r||o)&&t&&"Backspace"===t)if(c.length>0){e.preventDefault();const t=c[c.length-1];A(t)}}),L&&!F,[c]);const X=s.filter((e=>!c.find((t=>t.id===e.id)))),J=a((()=>`multi-select-${$H()}`),[]),Q=a((()=>`multi-select-list-${$H()}`),[]),ee=d?c.length>=d:void 0,te=x||!L||ee,ne=()=>{const n=t(o9,Object.assign({id:Q,expanded:L,padTop:L&&c.length>0,labeled:!!u},{children:[l&&e(i9,Object.assign({expanded:L,labeled:!!u},{children:l})),i?i(L,!!x):c.map((t=>e(_4,Object.assign({pill:!0,iconRight:L&&!x?e(Vn,{name:"close-circle",onClick:()=>A(t),pointer:!0}):void 0,disabled:x},{children:t.label}),t.id))),e(h4,Object.assign({},D,{textOnly:!0,hideIcon:!0,clearOnSelect:!0,search:!0,filter:m,backgroundColor:"transparent",restrictInput:b,options:X,fontSize:V.size.md,placeholder:x||c.length>0?" ":p||"Search...",placeholderColor:U.color.placeholder,inputRef:$,onChange:q,onTextChange:Y,onError:e=>B(e),disabled:te,optionsParent:_?`#${Q}`:`#${J}`,autoFocus:P}))]}));if(_){const e=document.querySelector(_);return e?j.createPortal(n,e):n}return n};return t(t9,Object.assign({width:h,ref:K,labeled:!!u,disabled:x,collapse:W,onClick:e=>{e.stopPropagation(),G()}},{children:[t(n9,Object.assign({collapse:W,id:J,expanded:L&&c.length>0,error:N,labeled:!!u,backgroundColor:O,borderless:k},{children:[u?e(r9,Object.assign({collapse:W},{children:u})):ne(),t(a9,{children:[d&&!C&&e(c9,{children:t(n,x&&f?{children:[c.length," ",f]}:{children:[e(s9,Object.assign({error:c.length>=d},{children:c.length})),"/",d," ",f]})}),c.length>0&&e(Vn,{name:L?"chevron-up":"chevron-down",color:H.brand,pointer:!0,onClick:e=>{e.stopPropagation(),R(!L)}})]})]})),u&&L&&ne()]}))})),t9=be.div((({width:e,disabled:t,labeled:n,collapse:r})=>({width:e,minWidth:200,height:r?62:41,position:"relative",cursor:n||t?"default":"text"}))),n9=be.div((({theme:e,expanded:t,error:n,labeled:r,collapse:o,backgroundColor:i,borderless:a})=>({display:"grid",gridTemplateColumns:o?void 0:"1fr auto",alignItems:t&&!r?"flex-start":"center",columnGap:24,width:"100%",minHeight:41,position:"absolute",top:0,left:0,backgroundColor:i||e.background0,zIndex:t?1:void 0,borderBottom:n?`1px solid ${e.color.error}`:e.defaultBorder,border:a?"none":void 0,padding:"8px 16px"}))),r9=be.div((({theme:e,collapse:t})=>({textAlign:t?void 0:"center",fontSize:e.font.size.md,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}))),o9=be.div((({theme:e,expanded:t,padTop:n})=>({display:"flex",alignItems:"center",width:"100%",overflow:t?void 0:"hidden",pointerEvents:t?void 0:"none",flexWrap:t?"wrap":void 0,paddingTop:n?1:void 0,columnGap:e.size.sm,rowGap:e.size.sm,"& > *":{flexShrink:0}})),(({theme:e,labeled:t,expanded:n})=>t&&n?{backgroundColor:e.background0,position:"absolute",top:"100%",zIndex:1,padding:"8px 0px",borderBottom:e.defaultBorder}:{})),i9=be.div((({theme:e,expanded:t,labeled:n})=>({fontSize:e.font.size.sm,fontWeight:e.font.weight.medium,color:e.scale8,paddingLeft:t&&n?16:void 0}))),a9=be.div((({theme:{size:e}})=>({display:"flex",alignItems:"center",columnGap:e.sm,whiteSpace:"nowrap"}))),s9=be.div((({theme:e,error:t})=>({color:t?e.color.error:e.scale8}))),c9=be.div((({theme:e})=>({display:"flex",color:e.scale4,fontSize:e.font.size.sm}))),u9=e=>e?+e:0,l9=n=>{var{onPageNav:r,page:o,totalPages:i,maxVisibleNumbers:a,width:s}=n,c=I(n,["onPageNav","page","totalPages","maxVisibleNumbers","width"]);const[u,f]=y(u9(o)||1),[d,p]=y(0),h=function(e,t,n=1){let r=t?e:0;const o=t||e,i=[];for(;r<=o;)i.push(r),r+=n;return i}(1,i),g=((e,t)=>{const n=[...e],r=[];for(;n.length>0;){const e=n.splice(0,t);r.push(e)}return r})(h,u9(a)||h.length),v=e=>{if(e>=1&&e<=i){const t=(e=>{for(let t=0;t<g.length;t++)if(g[t].includes(e))return t;return-1})(e);p(t),f(e),r(e)}},m=0!==d,b=d!==g.length-1;return t(f9,Object.assign({width:s},c,{children:[e(p9,Object.assign({disabled:1===u,onClick:()=>v(1)},{children:e(Vn,{name:"double-arrow-left",title:"first",inheritColor:!0})})),e(p9,Object.assign({disabled:1===u,onClick:()=>v(u-1)},{children:e(Vn,{name:"chevron-left",title:"prev",inheritColor:!0})})),g[d].map(((n,r,o)=>t(l,{children:[0===r&&m?e(g9,{children:"... "}):"",e(h9,Object.assign({selected:n===u,onClick:()=>v(n)},{children:n})),r===o.length-1&&b?e(g9,{children:" ..."}):""]},`pageIndex-${n}`))),e(p9,Object.assign({disabled:u===i,onClick:()=>v(u+1)},{children:e(Vn,{name:"chevron-right",title:"next",inheritColor:!0})})),e(p9,Object.assign({disabled:u===i,onClick:()=>v(i)},{children:e(Vn,{name:"double-arrow-right",title:"last",inheritColor:!0})}))]}))},f9=be.nav({display:"flex",justifyContent:"space-between",alignItems:"center",columnGap:4},(({width:e})=>({width:e||"max-content"})),Fn),d9=be.button((({theme:e,disabled:t})=>({border:"none",borderRadius:e.size.xs,backgroundColor:"transparent","&:hover":{backgroundColor:t?void 0:e.scale1,color:t?void 0:e.scale10},"&:focus-visible":{outline:`${e.accent} solid 1px`}}))),p9=be(d9)((({theme:e,disabled:t})=>({color:t?e.scale4:e.scale8,cursor:t?"default":"pointer"}))),h9=be(d9)((({theme:e,selected:t})=>({color:t?e.scale10:e.scale6,backgroundColor:t?e.scale0:void 0,fontSize:e.font.size.sm,cursor:"pointer",width:"max-content",minWidth:e.size.lg,height:e.size.lg,padding:0}))),g9=be.span((({theme:e})=>({color:e.scale6}))),v9=n=>{var{size:r=200,data:o,innerRadius:i,showWhenEmpty:a}=n,s=I(n,["size","data","innerRadius","showWhenEmpty"]);const c=(null==o?void 0:o.length)>0,u=c?o:a?[{name:"1",value:1,color:"#999"}]:void 0,l=r/2-1;return e(MH,Object.assign({width:r,height:r},s,{children:t(JF,Object.assign({width:r,height:r},{children:[e(GL,Object.assign({dataKey:"value",data:u,innerRadius:i,outerRadius:l},{children:null==u?void 0:u.map((t=>e(rO,{fill:t.color||"#999"},t.name)))})),c&&DH()]}))}))},y9=({percent:n,size:r=24,thickness:o=2,color:i,margin:a,marginTop:s,marginBottom:c,marginRight:u,marginLeft:l})=>{const f={margin:a,marginTop:s,marginBottom:c,marginRight:u,marginLeft:l},d=(r-o)/2,p=d*Math.PI*2,h=p-p*n/100,g=r/2;return t(m9,Object.assign({size:r},f,{children:[e(b9,{cx:g,cy:g,r:d,thickness:o}),e(w9,{color:i,cx:g,cy:g,r:d,thickness:o,transform:`rotate(-90 ${g} ${g})`,circ:p,complete:h})]}))},m9=be.svg((({size:e})=>({display:"block",width:e,height:e})),Fn),b9=be.circle((({theme:e,thickness:t})=>({fill:"none",stroke:e.scale1,strokeWidth:t}))),w9=be(b9)((({theme:e,color:t,circ:n,complete:r})=>({stroke:t||e.color.brand,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:n,strokeDashoffset:r,transition:"stroke-dashoffset 0.5s"}))),x9=({percent:t,color:n,circle:r,width:o,height:i,size:a,thickness:s=2,margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d})=>{const p={margin:c,marginTop:u,marginBottom:l,marginRight:f,marginLeft:d};let h=t;return t>100?h=100:t<0&&(h=0),r?e(y9,Object.assign({percent:h,size:a,thickness:s,color:n},p)):e(C9,Object.assign({width:o,height:i||s},p,{children:e(_9,{color:n,width:h})}))},C9=be.div((({theme:e,width:t,height:n})=>({backgroundColor:e.scale1,borderRadius:24,width:t||"100%",height:n})),Fn),_9=be.div((({theme:e,color:t,width:n})=>({backgroundColor:t||e.color.brand,borderRadius:24,width:`${n}%`,height:"100%",transition:"width 0.5s"})));!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('/* Document\n * ========================================================================== */\n\n/**\n * 1. Add border box sizing in all browsers (opinionated).\n * 2. Backgrounds do not repeat by default (opinionated).\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n background-repeat: no-repeat; /* 2 */\n}\n\n/**\n * 1. Add text decoration inheritance in all browsers (opinionated).\n * 2. Add vertical alignment inheritance in all browsers (opinionated).\n */\n\n::before,\n::after {\n text-decoration: inherit; /* 1 */\n vertical-align: inherit; /* 2 */\n}\n\n/**\n * 1. Use the default cursor in all browsers (opinionated).\n * 2. Change the line height in all browsers (opinionated).\n * 3. Breaks words to prevent overflow in all browsers (opinionated).\n * 4. Use a 4-space tab width in all browsers (opinionated).\n * 5. Remove the grey highlight on links in iOS (opinionated).\n * 6. Prevent adjustments of font size after orientation changes in iOS.\n */\n\n:where(:root) {\n cursor: default; /* 1 */\n line-height: 1.5; /* 2 */\n overflow-wrap: break-word; /* 3 */\n -moz-tab-size: 4; /* 4 */\n tab-size: 4; /* 4 */\n -webkit-tap-highlight-color: transparent; /* 5 */\n -webkit-text-size-adjust: 100%; /* 6 */\n}\n\n/* Sections\n * ========================================================================== */\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\n\n:where(body) {\n margin: 0;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Edge, Firefox, and Safari.\n */\n\n:where(h1) {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n * ========================================================================== */\n\n/**\n * Remove the margin on nested lists in Chrome, Edge, and Safari.\n */\n\n:where(dl, ol, ul) :where(dl, ol, ul) {\n margin: 0;\n}\n\n/**\n * 1. Correct the inheritance of border color in Firefox.\n * 2. Add the correct box sizing in Firefox.\n */\n\n:where(hr) {\n color: inherit; /* 1 */\n height: 0; /* 2 */\n}\n\n/**\n * Remove the list style on navigation lists in all browsers (opinionated).\n */\n\n:where(nav) :where(ol, ul) {\n list-style-type: none;\n padding: 0;\n}\n\n/**\n * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).\n */\n\n:where(nav li)::before {\n content: "\\200B";\n float: left;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n * 3. Prevent overflow of the container in all browsers (opinionated).\n */\n\n:where(pre) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n overflow: auto; /* 3 */\n}\n\n/* Text-level semantics\n * ========================================================================== */\n\n/**\n * Add the correct text decoration in Safari.\n */\n\n:where(abbr[title]) {\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\n:where(b, strong) {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\n:where(code, kbd, samp) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\n:where(small) {\n font-size: 80%;\n}\n\n/* Embedded content\n * ========================================================================== */\n\n/*\n * Change the alignment on media elements in all browsers (opinionated).\n */\n\n:where(audio, canvas, iframe, img, svg, video) {\n vertical-align: middle;\n}\n\n/**\n * Remove the border on iframes in all browsers (opinionated).\n */\n\n:where(iframe) {\n border-style: none;\n}\n\n/**\n * Change the fill color to match the text color in all browsers (opinionated).\n */\n\n:where(svg:not([fill])) {\n fill: currentColor;\n}\n\n/* Tabular data\n * ========================================================================== */\n\n/**\n * 1. Collapse border spacing in all browsers (opinionated).\n * 2. Correct table border color inheritance in all Chrome, Edge, and Safari.\n * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.\n */\n\n:where(table) {\n border-collapse: collapse; /* 1 */\n border-color: inherit; /* 2 */\n text-indent: 0; /* 3 */\n}\n\n/* Forms\n * ========================================================================== */\n\n/**\n * Remove the margin on controls in Safari.\n */\n\n:where(button, input, select) {\n margin: 0;\n}\n\n/**\n * Correct the inability to style buttons in iOS and Safari.\n */\n\n:where(button, [type="button" i], [type="reset" i], [type="submit" i]) {\n -webkit-appearance: button;\n}\n\n/**\n * Change the inconsistent appearance in all browsers (opinionated).\n */\n\n:where(fieldset) {\n border: 1px solid #a0a0a0;\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Edge, and Firefox.\n */\n\n:where(progress) {\n vertical-align: baseline;\n}\n\n/**\n * 1. Remove the margin in Firefox and Safari.\n * 3. Change the resize direction in all browsers (opinionated).\n */\n\n:where(textarea) {\n margin: 0; /* 1 */\n resize: vertical; /* 3 */\n}\n\n/**\n * 1. Correct the odd appearance in Chrome, Edge, and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n:where([type="search" i]) {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Safari.\n */\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * Correct the text style of placeholders in Chrome, Edge, and Safari.\n */\n\n::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n\n/**\n * Remove the inner padding in Chrome, Edge, and Safari on macOS.\n */\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style upload buttons in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n * ========================================================================== */\n\n/*\n * Add the correct styles in Safari.\n */\n\n:where(dialog) {\n background-color: white;\n border: solid;\n color: black;\n height: -moz-fit-content;\n height: fit-content;\n left: 0;\n margin: auto;\n padding: 1em;\n position: absolute;\n right: 0;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n:where(dialog:not([open])) {\n display: none;\n}\n\n/*\n * Add the correct display in Safari.\n */\n\n:where(details > summary:first-of-type) {\n display: list-item;\n}\n\n/* Accessibility\n * ========================================================================== */\n\n/**\n * Change the cursor on busy elements in all browsers (opinionated).\n */\n\n:where([aria-busy="true" i]) {\n cursor: progress;\n}\n\n/*\n * Change the cursor on control elements in all browsers (opinionated).\n */\n\n:where([aria-controls]) {\n cursor: pointer;\n}\n\n/*\n * Change the cursor on disabled, not-editable, or otherwise\n * inoperable elements in all browsers (opinionated).\n */\n\n:where([aria-disabled="true" i], [disabled]) {\n cursor: not-allowed;\n}\n\n/*\n * Change the display on visually hidden accessible elements\n * in all browsers (opinionated).\n */\n\n:where([aria-hidden="false" i][hidden]) {\n display: initial;\n}\n\n:where([aria-hidden="false" i][hidden]:not(:focus)) {\n clip: rect(0, 0, 0, 0);\n position: absolute;\n}\n');var S9={exports:{}};!function(e){!function(){function t(e,t,n){return e.call.apply(e.bind,arguments)}function n(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function r(e,o,i){return(r=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?t:n).apply(null,arguments)}var o=Date.now||function(){return+new Date};function i(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var a=!!window.FontFace;function s(e,t,n,r){if(t=e.c.createElement(t),n)for(var o in n)n.hasOwnProperty(o)&&("style"==o?t.style.cssText=n[o]:t.setAttribute(o,n[o]));return r&&t.appendChild(e.c.createTextNode(r)),t}function c(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function l(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),o=0;o<t.length;o+=1){for(var i=!1,a=0;a<r.length;a+=1)if(t[o]===r[a]){i=!0;break}i||r.push(t[o])}for(t=[],o=0;o<r.length;o+=1){for(i=!1,a=0;a<n.length;a+=1)if(r[o]===n[a]){i=!0;break}i||t.push(r[o])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function f(e,t){for(var n=e.className.split(/\s+/),r=0,o=n.length;r<o;r++)if(n[r]==t)return!0;return!1}function d(e,t,n){function r(){l&&o&&i&&(l(u),l=null)}t=s(e,"link",{rel:"stylesheet",href:t,media:"all"});var o=!1,i=!0,u=null,l=n||null;a?(t.onload=function(){o=!0,r()},t.onerror=function(){o=!0,u=Error("Stylesheet failed to load"),r()}):setTimeout((function(){o=!0,r()}),0),c(e,"head",t)}function p(e,t,n,r){var o=e.c.getElementsByTagName("head")[0];if(o){var i=s(e,"script",{src:t}),a=!1;return i.onload=i.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),i.onload=i.onreadystatechange=null,"HEAD"==i.parentNode.tagName&&o.removeChild(i))},o.appendChild(i),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),i}return null}function h(){this.a=0,this.c=null}function g(e){return e.a++,function(){e.a--,y(e)}}function v(e,t){e.c=t,y(e)}function y(e){0==e.a&&e.c&&(e.c(),e.c=null)}function m(e){this.a=e||"-"}function b(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function w(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function x(e){return e.a+e.f}function C(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function _(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function S(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new m("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function O(e){if(e.g){var t=f(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),l(e.f,n,r)}k(e,"inactive")}function k(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,x(n)):e.h[t]())}function E(){this.c={}}function T(e,t){this.c=e,this.f=t,this.a=s(this.c,"span",{"aria-hidden":"true"},this.f)}function A(e){c(e.c,"body",e.a)}function j(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+w(e.c)+";font-style:"+C(e)+";font-weight:"+e.f+"00;"}function M(e,t,n,r,o,i){this.g=e,this.j=t,this.a=r,this.c=n,this.f=o||3e3,this.h=i||void 0}function P(e,t,n,r,o,i,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=o||3e3,this.u=i||null,this.m=this.j=this.h=this.g=null,this.g=new T(this.c,this.s),this.h=new T(this.c,this.s),this.j=new T(this.c,this.s),this.m=new T(this.c,this.s),e=j(e=new b(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=j(e=new b(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=j(e=new b("serif",x(this.a))),this.j.a.style.cssText=e,e=j(e=new b("sans-serif",x(this.a))),this.m.a.style.cssText=e,A(this.g),A(this.h),A(this.j),A(this.m)}m.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},M.prototype.start=function(){var e=this.c.o.document,t=this,n=o(),r=new Promise((function(r,i){!function a(){o()-n>=t.f?i():e.fonts.load(function(e){return C(e)+" "+e.f+"00 300px "+w(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(a,25)}),(function(){i()}))}()})),i=null,a=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([a,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},I=null;function L(){if(null===I){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);I=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return I}function R(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function N(e){var t,n=e.g.a.offsetWidth,i=e.h.a.offsetWidth;(t=n===e.f.serif&&i===e.f["sans-serif"])||(t=L()&&R(e,n,i)),t?o()-e.A>=e.w?L()&&R(e,n,i)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?B(e,e.v):B(e,e.B):function(e){setTimeout(r((function(){N(this)}),e),50)}(e):B(e,e.v)}function B(e,t){setTimeout(r((function(){u(this.g.a),u(this.h.a),u(this.j.a),u(this.m.a),t(this.a)}),e),0)}function F(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}P.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=o(),N(this)};var z=null;function H(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&l(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),k(e,"active")):O(e.a))}function V(e){this.j=e,this.a=new E,this.h=0,this.f=this.g=!0}function U(e,t,n,o,i){var a=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,s=o||{};if(0===n.length&&a)O(t.a);else{t.f+=n.length,a&&(t.j=a);var c,u=[];for(c=0;c<n.length;c++){var f=n[c],d=s[f.c],p=t.a,h=f;if(p.g&&l(p.f,[p.a.c("wf",h.c,x(h).toString(),"loading")]),k(p,"fontloading",h),p=null,null===z)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);z=h?42<parseInt(h[1],10):!g}else z=!1;p=z?new M(r(t.g,t),r(t.h,t),t.c,f,t.s,d):new P(r(t.g,t),r(t.h,t),t.c,f,t.s,e,d),u.push(p)}for(c=0;c<u.length;c++)u[c].start()}}),0)}function K(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function W(e,t){this.c=e||q,this.a=[],this.f=[],this.g=t||""}F.prototype.g=function(e){var t=this.a;t.g&&l(t.f,[t.a.c("wf",e.c,x(e).toString(),"active")],[t.a.c("wf",e.c,x(e).toString(),"loading"),t.a.c("wf",e.c,x(e).toString(),"inactive")]),k(t,"fontactive",e),this.m=!0,H(this)},F.prototype.h=function(e){var t=this.a;if(t.g){var n=f(t.f,t.a.c("wf",e.c,x(e).toString(),"active")),r=[],o=[t.a.c("wf",e.c,x(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,x(e).toString(),"inactive")),l(t.f,r,o)}k(t,"fontinactive",e),H(this)},V.prototype.load=function(e){this.c=new i(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],o=n.timeout;!function(e){e.g&&l(e.f,[e.a.c("wf","loading")]),k(e,"loading")}(t);r=function(e,t,n){var r,o=[];for(r in t)if(t.hasOwnProperty(r)){var i=e.c[r];i&&o.push(i(t[r],n))}return o}(e.a,n,e.c);var i=new F(e.c,t,o);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){U(e,i,t,n,r)}))}(this,new S(this.c,e),e)},K.prototype.load=function(e){function t(){if(i["__mti_fntLst"+r]){var n,o=i["__mti_fntLst"+r](),a=[];if(o)for(var s=0;s<o.length;s++){var c=o[s].fontfamily;null!=o[s].fontStyle&&null!=o[s].fontWeight?(n=o[s].fontStyle+o[s].fontWeight,a.push(new b(c,n))):a.push(new b(c))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,o=n.a.version;if(r){var i=n.c.o;p(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(o?"?v="+o:""),(function(o){o?e([]):(i["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},$.prototype.load=function(e){var t,n,r=this.a.urls||[],o=this.a.families||[],i=this.a.testStrings||{},a=new h;for(t=0,n=r.length;t<n;t++)d(this.c,r[t],g(a));var s=[];for(t=0,n=o.length;t<n;t++)if((r=o[t].split(":"))[1])for(var c=r[1].split(","),u=0;u<c.length;u+=1)s.push(new b(r[0],c[u]));else s.push(new b(r[0]));v(a,(function(){e(s,i)}))};var q="https://fonts.googleapis.com/css";function G(e){this.f=e,this.a=[],this.c={}}var Z={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Y={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},X={i:"i",italic:"i",n:"n",normal:"n"},J=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function Q(e,t){this.c=e,this.a=t}var ee={Arimo:!0,Cousine:!0,Tinos:!0};function te(e,t){this.c=e,this.a=t}function ne(e,t){this.c=e,this.f=t,this.a=[]}Q.prototype.load=function(e){var t=new h,n=this.c,r=new W(this.a.api,this.a.text),o=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var o=t[r].split(":");3==o.length&&e.f.push(o.pop());var i="";2==o.length&&""!=o[1]&&(i=":"),e.a.push(o.join(i))}}(r,o);var i=new G(o);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),o=r[0].replace(/\+/g," "),i=["n4"];if(2<=r.length){var a;if(a=[],s=r[1])for(var s,c=(s=s.split(",")).length,u=0;u<c;u++){var l;if((l=s[u]).match(/^[\w-]+$/))if(null==(f=J.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":X[l],null==(f=f[1])||""==f)f="4";else var f=Y[f]||(isNaN(f)?"4":f.substr(0,1));l=[l,f].join("")}else l="";l&&a.push(l)}0<a.length&&(i=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=Z[r[0]])&&(e.c[o]=r))}for(e.c[o]||(r=Z[o])&&(e.c[o]=r),r=0;r<i.length;r+=1)e.a.push(new b(o,i[r]))}}(i),d(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),g(t)),v(t,(function(){e(i.a,i.c,ee)}))},te.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?p(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],o=0;o<t.length;o+=2)for(var i=t[o],a=t[o+1],s=0;s<a.length;s++)r.push(new b(i,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},ne.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var o=0,i=n.fonts.length;o<i;++o){var a=n.fonts[o];r.a.push(new b(a.name,_("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},p(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var re=new V(window);re.a.c.custom=function(e,t){return new $(t,e)},re.a.c.fontdeck=function(e,t){return new ne(t,e)},re.a.c.monotype=function(e,t){return new K(t,e)},re.a.c.typekit=function(e,t){return new te(t,e)},re.a.c.google=function(e,t){return new Q(t,e)};var oe={load:r(re.load,re)};e.exports?e.exports=oe:(window.WebFont=oe,window.WebFontConfig&&re.load(window.WebFontConfig))}()}(S9);var O9=Rt(S9.exports);const k9=({families:t,fontFamily:n})=>(v((()=>{var e;e=t,O9.load({google:{families:e||["Roboto:100,300,400,500,700"]}})}),[t]),e(T,{styles:{"html,body":{margin:0,fontFamily:n||"'Roboto', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}}})),E9=()=>{const{scale1:t}=E();return e(T,{styles:{"::-webkit-scrollbar":{width:8,height:8},"::-webkit-scrollbar-track":{backgroundColor:"transparent",border:"none"},"::-webkit-scrollbar-thumb:horizontal, ::-webkit-scrollbar-thumb:vertical":{backgroundColor:t,WebkitBorderRadius:6},"*":{scrollbarColor:`${t} transparent`}}})},T9=()=>{const{font:t,toast:n}=E();return e(T,{styles:{".Toastify__toast":{color:n.color,borderRadius:4,fontFamily:t.family.default},".Toastify__close-button":{color:n.color},".Toastify__toast--default":{background:n.background.deafult,border:`1px solid ${n.border.deafult}`},".Toastify__toast--info":{background:n.background.info,border:`1px solid ${n.border.info}`,"& .Toastify__toast-icon > svg":{fill:n.border.info}},".Toastify__toast--success":{background:n.background.success,border:`1px solid ${n.border.success}`,"& .Toastify__toast-icon > svg":{fill:n.border.success}},".Toastify__toast--warning":{background:n.background.warning,border:`1px solid ${n.border.warning}`,"& .Toastify__toast-icon > svg":{fill:n.border.warning}},".Toastify__toast--error":{background:n.background.error,border:`1px solid ${n.border.error}`,"& .Toastify__toast-icon > svg":{fill:n.border.error}},".Toastify__progress-bar--default":{background:n.border.deafult},".Toastify__progress-bar--info":{background:n.border.info},".Toastify__progress-bar--success":{background:n.border.success},".Toastify__progress-bar--warning":{background:n.border.warning},".Toastify__progress-bar--error":{background:n.border.error}}})},A9=be.div(Nn),j9=({items:n,onChange:r,beforeItemChange:o,listTitle:i,noItemsMessage:a="No items",hideSelectAll:s,hideRemoveAll:c,readOnly:u,width:l,margin:f,marginTop:d,marginBottom:p,marginRight:h,marginLeft:m})=>{const b=g(),[w,x]=y([]),[C,_]=y([]),S={margin:f,marginTop:d,marginBottom:p,marginRight:h,marginLeft:m},O=e=>{const t=Object.assign({},e);return delete t.selected,t};v((()=>{if(!Ht.isEqual(n,b.current)){b.current=n;const e=n.filter((e=>e.selected)).map(O),t=n.filter((e=>!e.selected)).map(O);_(e),x(t)}}),[n,b]),v((()=>{r(C)}),[C]);const k=(e,t)=>{const n=n=>((e,t)=>{const n="select"===t,r=n?_:x;(n?x:_)((t=>((e,t)=>e.filter((e=>e.id!==t.id)))(t,e))),r((t=>[...t,e]))})(n||e,t);o?o(e,t,n):n()},E=e=>{const t="select"===e?x:_,n="select"===e?w:C;("select"===e?_:x)((e=>[...e,...n])),t([])},T=n=>t("div",Object.assign({style:{display:"flex",alignItems:"center",columnGap:8}},{children:[n.leftElement||null,n.header&&n.body?t("div",Object.assign({style:{display:"flex",flexDirection:"column"}},{children:[e(B9,{children:n.header}),e(F9,{children:n.body})]})):n.label,n.rightElement&&e("div",Object.assign({style:{marginLeft:"auto"}},{children:n.rightElement}))]})),A=!(s&&c);return t(M9,Object.assign({width:l,readOnly:u},S,{children:[i&&e(P9,{children:i}),t(D9,{children:[!u&&t(I9,{children:[A&&e(L9,{children:w.length>0&&!s&&e(Wc,Object.assign({small:!0,outline:!0,onClick:()=>E("select"),icon:"arrow-right",iconPosition:"right"},{children:"All"}))}),e(R9,{children:w.map((n=>t(N9,Object.assign({onClick:()=>k(n,"select"),color:n.color},{children:[T(n),e(Vn,{name:"chevron-right"})]}),n.id)))})]}),t(I9,{children:[A&&!u&&e(L9,{children:C.length>0&&!c&&!u&&e(Wc,Object.assign({small:!0,outline:!0,secondary:!0,onClick:()=>E("remove"),icon:"arrow-left"},{children:"All"}))}),u&&0===C.length?e("div",{children:a}):e(R9,{children:C.map((n=>t(N9,Object.assign({onClick:()=>k(n,"remove"),color:n.color},{children:[T(n),e(Vn,{name:"chevron-left"})]}),n.id)))})]})]})]}))},M9=be.div((({width:e,readOnly:t})=>({display:"flex",flexDirection:"column",rowGap:16,width:e,pointerEvents:t?"none":void 0})),Fn),P9=be.div((({theme:e})=>({fontSize:e.font.size.lg,fontWeight:e.font.weight.medium}))),D9=be.div({display:"grid",columnGap:16,gridTemplateColumns:"1fr 1fr"}),I9=be.div({display:"flex",flexDirection:"column"}),L9=be.div({display:"flex",alignItems:"center",marginBottom:8,minHeight:35}),R9=be.div((({theme:e})=>({display:"flex",flexDirection:"column",padding:16,border:e.defaultBorder,borderRadius:4,height:"100%",backgroundColor:e.background1,rowGap:4}))),N9=be.div((({theme:e,color:t})=>{let n=e.scale1;return t&&(n=((e,t)=>{const n=Object.keys(e);return"string"==typeof t&&n.includes(t)})(e.color,t)?e.color[t]:t),{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"4px 8px",cursor:"pointer",background:e.scale0,borderLeft:"4px solid",borderColor:n,"&:hover":{background:e.scale1},"& > :last-child":{visibility:"hidden"},"&:hover > :last-child":{visibility:"visible"}}})),B9=be.div((({theme:e})=>({fontSize:e.font.size.lg,color:e.scale10}))),F9=be.div((({theme:e})=>({fontSize:e.font.size.sm,color:e.scale6}))),z9=i({}),H9=(t,n,r)=>{const o="th"===n?V9:U9,i=r?{style:r}:{};return pc(t).map(((t,r)=>t?e(o,Object.assign({},i,{children:t}),`${n}${r+1}`):null))},V9=be.th((({theme:{table:e,font:t}})=>({color:e.color.header,fontSize:t.size.sm,fontWeight:t.weight.medium,width:"100%",textAlign:"left"}))),U9=be.td((({theme:{table:e,font:t}})=>({color:e.color.body,fontSize:t.size.sm,width:"100%"}))),K9=be.thead((({alignToScrollBody:e})=>({overflow:e?"auto":void 0,scrollbarGutter:e?"stable":void 0}))),$9=be(w4)({alignItems:"center",padding:"8px 24px"},Bn),W9=be.tbody((({height:e,maxHeight:t})=>({height:e,maxHeight:t,overflow:e||t?"auto":void 0,scrollbarGutter:e||t?"stable":void 0}))),q9=be(w4)((({theme:e})=>({borderTop:`1px solid ${e.table.borderColor}`,color:e.table.color.body,fontSize:e.font.size.sm,wordBreak:"break-word",alignItems:"center",padding:"16px 24px"})),(({theme:e,hoverEffect:t})=>t&&{"&:hover":{backgroundColor:e.scale1,cursor:"pointer"}}),Bn),G9=be.div((({contentPosition:e})=>({justifyContent:"start"===e||"end"===e?`flex-${e}`:e}))),Z9=be(G9)((({theme:e})=>({display:"flex",alignItems:"center",color:e.table.color.body,fontSize:e.font.size.sm})),(({showDefault:e})=>e&&{opacity:.3}),Bn),Y9=be(G9)({display:"flex",alignItems:"center"},(({theme:e,active:t,sorting:n})=>({cursor:n?"pointer":void 0,color:t?e.scale10:e.scale6,"&:hover":{color:n?e.scale8:void 0}}))),X9=t=>{var{children:n,columns:r,data:o}=t,i=I(t,["children","columns","data"]);const[s,c]=y(o),[u,l]=y(),f=o&&"function"==typeof n?n(s):n;v((()=>{let e=o;if(u){const{key:t,dir:n}=u;e=Ht.orderBy(o,t,n)}Ht.isEqual(e,s)||c(e)}),[o,u]);const d=a((()=>({activeColumn:u,setActiveColumn:l,parentColumns:r})),[u,l,r]);return e(z9.Provider,Object.assign({value:d},{children:e(J9,Object.assign({},i,{children:f}))}))};X9.Header=t=>{var{children:n,columns:r,columnStyles:o,alignToScrollBody:i}=t,a=I(t,["children","columns","columnStyles","alignToScrollBody"]);const{parentColumns:s}=c(z9),u=r||s||"equal";return e(K9,Object.assign({alignToScrollBody:i},{children:e($9,Object.assign({as:"tr",columns:u},a,{children:H9(n,"th",o)}))}))},X9.HeaderCell=({children:n,onClick:r,contentPosition:o,sorted:i,sortKey:a})=>{const[s,u]=y(i||"inactive"),{color:l}=E(),{activeColumn:f,setActiveColumn:d}=c(z9),p=a||i,h="desc"===s?"arrow-down":"arrow-up",g="asc"===s||"desc"===s,m=e=>{if(u(e),d&&a){d("inactive"===e?void 0:{key:a,dir:e})}};return v((()=>{!a||"asc"!==i&&"desc"!==i||m(i)}),[]),v((()=>{i&&u(i)}),[i]),v((()=>{const e=!f&&i;a&&f&&f.key!==a&&"inactive"!==s&&!e&&u("inactive")}),[f,s]),t(Y9,Object.assign({onClick:e=>{a?m("inactive"===s?"asc":"asc"===s?"desc":"inactive"):r&&r(e)},contentPosition:o,active:g,sorting:!!p},{children:[n,p?e(Vn,{name:h,marginLeft:8,size:"small",color:g?l.brand:void 0,inheritColor:!g}):null]}))},X9.Body=t=>{var{children:n,height:r,maxHeight:o}=t,i=I(t,["children","height","maxHeight"]);const{parentColumns:a}=c(z9);return e(W9,Object.assign({height:r,maxHeight:o},i,{children:d.map(n,(e=>e?h(e,{parentColumns:a}):null))}))},X9.Row=t=>{var{children:n,columns:r,onClick:o,columnStyles:i}=t,a=I(t,["children","columns","onClick","columnStyles"]);const{parentColumns:s}=c(z9),u=r||s||"equal";return e(q9,Object.assign({as:"tr",columns:u,onClick:o,hoverEffect:!!o},a,{children:H9(n,"td",i)}))},X9.Column=({children:t,contentPosition:n,defaultValue:r,padding:o,paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c})=>{const u={padding:o,paddingTop:i,paddingBottom:a,paddingRight:s,paddingLeft:c};return e(Z9,Object.assign({contentPosition:n,showDefault:!!r&&!t},u,{children:t||r}))};const J9=be.table((({width:e})=>({width:e,"&, & > thead, & > tbody":{display:"block"}})),Bn,Fn),Q9=f(((e,t)=>s(Ie.span,we({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),[e6,t6]=xe("Tooltip",[bi]),n6=bi(),r6=700,o6="tooltip.open",[i6,a6]=e6("TooltipProvider"),s6="Tooltip",[c6,u6]=e6(s6),l6="TooltipTrigger",f6=f(((e,t)=>{const{__scopeTooltip:n,...r}=e,o=u6(l6,n),i=a6(l6,n),a=n6(n),c=Se(t,g(null),o.onTriggerChange),l=g(!1),f=g(!1),d=u((()=>l.current=!1),[]);return v((()=>()=>document.removeEventListener("pointerup",d)),[d]),s(Ri,we({asChild:!0},a),s(Ie.button,we({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:c,onPointerMove:Me(e.onPointerMove,(e=>{"touch"!==e.pointerType&&(f.current||i.isPointerInTransitRef.current||(o.onTriggerEnter(),f.current=!0))})),onPointerLeave:Me(e.onPointerLeave,(()=>{o.onTriggerLeave(),f.current=!1})),onPointerDown:Me(e.onPointerDown,(()=>{l.current=!0,document.addEventListener("pointerup",d,{once:!0})})),onFocus:Me(e.onFocus,(()=>{l.current||o.onOpen()})),onBlur:Me(e.onBlur,o.onClose),onClick:Me(e.onClick,o.onClose)})))})),d6="TooltipPortal",[p6,h6]=e6(d6,{forceMount:void 0}),g6="TooltipContent",v6=f(((e,t)=>{const n=h6(g6,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=u6(g6,e.__scopeTooltip);return s(Ne,{present:r||a.open},a.disableHoverableContent?s(w6,we({side:o},i,{ref:t})):s(y6,we({side:o},i,{ref:t})))})),y6=f(((e,t)=>{const n=u6(g6,e.__scopeTooltip),r=a6(g6,e.__scopeTooltip),o=g(null),i=Se(t,o),[a,c]=y(null),{trigger:l,onClose:f}=n,d=o.current,{onPointerInTransitChange:p}=r,h=u((()=>{c(null),p(!1)}),[p]),m=u(((e,t)=>{const n=e.currentTarget,r=function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:return null}}({x:e.clientX,y:e.clientY},n.getBoundingClientRect()),o="right"===r||"bottom"===r?-5:5,i=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}(["right"===r||"left"===r?{x:e.clientX+o,y:e.clientY}:{x:e.clientX,y:e.clientY+o},...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);c(i),p(!0)}),[p]);return v((()=>()=>h()),[h]),v((()=>{if(l&&d){const e=e=>m(e,d),t=e=>m(e,l);return l.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}}),[l,d,m,h]),v((()=>{if(a){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==l?void 0:l.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,c=t[i].x,u=t[i].y;s>r!=u>r&&n<(c-a)*(r-s)/(u-s)+a&&(o=!o)}return o}(n,a);r?h():o&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[l,d,a,f,h]),s(w6,we({},e,{ref:i}))})),[m6,b6]=e6(s6,{isInside:!1}),w6=f(((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...c}=e,u=u6(g6,n),l=n6(n),{onClose:f}=u;return v((()=>(document.addEventListener(o6,f),()=>document.removeEventListener(o6,f))),[f]),v((()=>{if(u.trigger){const e=e=>{const t=e.target;null!=t&&t.contains(u.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[u.trigger,f]),s(qr,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:f},s(Ni,we({"data-state":u.stateAttribute},l,c,{ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),s(Ee,null,r),s(m6,{scope:n,isInside:!0},s(Q9,{id:u.contentId,role:"tooltip"},o||r))))}));const x6=e=>{const{__scopeTooltip:t,delayDuration:n=r6,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,c]=y(!0),l=g(!1),f=g(0);return v((()=>{const e=f.current;return()=>window.clearTimeout(e)}),[]),s(i6,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:u((()=>{window.clearTimeout(f.current),c(!1)}),[]),onClose:u((()=>{window.clearTimeout(f.current),f.current=window.setTimeout((()=>c(!0)),r)}),[r]),isPointerInTransitRef:l,onPointerInTransitChange:u((e=>{l.current=e}),[]),disableHoverableContent:o},i)},C6=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:c,delayDuration:l}=e,f=a6(s6,e.__scopeTooltip),d=n6(t),[p,h]=y(null),m=He(),b=g(0),w=null!=c?c:f.disableHoverableContent,x=null!=l?l:f.delayDuration,C=g(!1),[_=!1,S]=De({prop:r,defaultProp:o,onChange:e=>{e?(f.onOpen(),document.dispatchEvent(new CustomEvent(o6))):f.onClose(),null==i||i(e)}}),O=a((()=>_?C.current?"delayed-open":"instant-open":"closed"),[_]),k=u((()=>{window.clearTimeout(b.current),C.current=!1,S(!0)}),[S]),E=u((()=>{window.clearTimeout(b.current),S(!1)}),[S]),T=u((()=>{window.clearTimeout(b.current),b.current=window.setTimeout((()=>{C.current=!0,S(!0)}),x)}),[x,S]);return v((()=>()=>window.clearTimeout(b.current)),[]),s(Li,d,s(c6,{scope:t,contentId:m,open:_,stateAttribute:O,trigger:p,onTriggerChange:h,onTriggerEnter:u((()=>{f.isOpenDelayed?T():k()}),[f.isOpenDelayed,T,k]),onTriggerLeave:u((()=>{w?E():window.clearTimeout(b.current)}),[E,w]),onOpen:k,onClose:E,disableHoverableContent:w},n))},_6=f6,S6=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=u6(d6,t);return s(p6,{scope:t,forceMount:n},s(Ne,{present:n||i.open},s(Fi,{asChild:!0,container:o},r)))},O6=f(((e,t)=>{const{__scopeTooltip:n,...r}=e,o=n6(n);return b6("TooltipArrow",n).isInside?null:s(Bi,we({},o,r,{ref:t}))})),k6=n=>{var{trigger:r,children:o,content:i,position:a="top",offset:s=4,zIndex:c,width:u,maxWidth:l,textAlign:f,open:d,disabled:p,id:h,bgColor:g,color:v,container:y,afterShow:m,afterHide:b}=n,w=I(n,["trigger","children","content","position","offset","zIndex","width","maxWidth","textAlign","open","disabled","id","bgColor","color","container","afterShow","afterHide"]);return e(x6,{children:t(C6,Object.assign({delayDuration:0,onOpenChange:e=>{p||(m&&e&&m(),b&&!e&&b())},open:d},{children:[e(_6,Object.assign({asChild:!0},{children:e(T6,Object.assign({},w,{children:r}))})),e(S6,Object.assign({container:y},{children:!p&&t(E6,Object.assign({side:Cc(a).side,align:Cc(a).align,sideOffset:s,zIndex:c,width:u,maxWidth:l,textAlign:f,id:h,bgColor:g,textColor:v},{children:[i||o,e(O6,{className:"tooltip-arrow",width:12,height:8})]}))}))]}))})},E6=be(v6,{shouldForwardProp:e=>_c(e,["maxWidth","textAlign","bgColor","textColor","zIndex"])})((({theme:e,width:t,maxWidth:n,textAlign:r="center",bgColor:o,textColor:i,zIndex:a})=>{const{tooltip:s,font:c}=e,u=s.background,l=o||u;return{backgroundColor:l,boxShadow:e.elevation1,color:i||s.color.default,fontSize:c.size.sm,fontFamily:c.family.default,borderRadius:4,width:t,maxWidth:n,padding:16,textAlign:r,zIndex:a,"& > span > .tooltip-arrow":{fill:l,filter:"drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.1))"},'&[data-side="bottom"] > span > .tooltip-arrow':{filter:"drop-shadow(0px -2px 2px rgba(0, 0, 0, 0.1))"}}})),T6=be.div({display:"inline-flex"}),A6=be.div((({theme:e})=>({color:e.tooltip.color.default}))),j6=be.div((({theme:e})=>({color:e.tooltip.color.subtext})));k6.Header=A6,k6.Body=j6;const M6="#0074F4",P6="#FF6068",D6="#FF9900",I6="#F0BB00",L6="#00C242",R6="#001D32",N6="#FFFFFF",B6={logo1:"#0074F4",logo2:"#00A9E2",logo3:"#67C728",brand:M6,brandShade1:"#0068DC",brandShade2:"#005DC3",brandDark:"#4C9EF7",brandDarkShade1:"#5EA8F8",brandTint0:Hr(.95,M6),brandTint1:Hr(.9,M6),brandTint2:Hr(.8,M6),brandTint3:Hr(.7,M6),brandTint4:Hr(.6,M6),brandBackground0:"#001828",brandBackground1:"#0D2433",brandBackground2:"#192F3D",brandBackground3:"#334653",brandBackground4:"#475964",brandBackground5:"#596A74",error:P6,errorShade1:"#E6565E",errorShade2:"#CC4D53",errorTint0:Hr(.95,P6),errorTint1:Hr(.9,P6),errorTint2:Hr(.8,P6),warning:D6,warningShade1:"#E68A00",warningShade2:"#CC7A00",warningTint0:Hr(.95,D6),warningTint1:Hr(.9,D6),warningTint2:Hr(.8,D6),alert:I6,alertShade1:"#E4B200",alertShade2:"#C09600",alertTint0:Hr(.95,I6),alertTint1:Hr(.9,I6),alertTint2:Hr(.8,I6),success:L6,successShade1:"#00AF3B",successShade2:"#009B35",successTint0:Hr(.95,L6),successTint1:Hr(.9,L6),successTint2:Hr(.8,L6),grayscale0:Hr(.95,R6),grayscale1:Hr(.9,R6),grayscale2:Hr(.8,R6),grayscale3:Hr(.7,R6),grayscale4:Hr(.6,R6),grayscale5:Hr(.5,R6),grayscale6:Hr(.4,R6),grayscale7:Hr(.3,R6),grayscale8:Hr(.2,R6),grayscale9:Hr(.1,R6),grayscale10:R6,contrast0:Hr(.95,N6),contrast1:Hr(.9,N6),contrast2:Hr(.8,N6),contrast3:Hr(.7,N6),contrast4:Hr(.6,N6),contrast5:Hr(.5,N6),contrast6:Hr(.4,N6),contrast7:Hr(.3,N6),contrast8:Hr(.2,N6),contrast9:Hr(.1,N6),contrast10:N6};var F6={color:B6,elevation0:"0px 2px 4px 2px rgba(0, 0, 0, 0.05)",elevation1:"0px 2px 4px 2px rgba(0, 0, 0, 0.1)",elevation2:"0px 2px 4px 2px rgba(0, 0, 0, 0.15)",elevation3:"0px 4px 8px 2px rgba(0, 0, 0, 0.2)",elevation4:"0px 4px 8px 2px rgba(0, 0, 0, 0.25)",font:{weight:{thin:100,light:300,default:400,medium:500,semiBold:600,bold:700},size:{xs:10,sm:12,md:14,lg:16,xl:18},family:{default:"'Roboto', sans-serif",medium:"'Roboto', sans-serif",light:"'Roboto', sans-serif"}},size:{xs:4,sm:8,md:16,lg:24}};const{font:z6}=F6;var H6={small:{height:28,iconSize:18,font:z6.size.sm,padding:10,iconOnlyPadding:4},medium:{height:32,iconSize:22,font:z6.size.md,padding:12,iconOnlyPadding:5},large:{height:36,iconSize:24,font:z6.size.lg,padding:14,iconOnlyPadding:6}};const V6="#FFFFFF",U6=B6.grayscale0,K6=B6.grayscale1,$6=B6.grayscale2,W6=B6.grayscale3,q6=B6.grayscale4,G6=B6.grayscale5,Z6=B6.grayscale6,Y6=B6.grayscale7,X6=B6.grayscale8,J6=B6.grayscale9,Q6=B6.grayscale10,e7=Object.assign(Object.assign({},F6),{name:"light",accent:B6.brand,accentShade:B6.brandShade1,background0:V6,background1:V6,background2:V6,background3:V6,background4:V6,background5:V6,scale0:U6,scale1:K6,scale2:$6,scale3:W6,scale4:q6,scale5:G6,scale6:Z6,scale7:Y6,scale8:X6,scale9:J6,scale10:Q6,button:Object.assign(Object.assign({},H6),{primary:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},outlineBackground:{default:B6.brandTint0,hover:B6.brandTint1,active:B6.brandTint2},border:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},divider:$6},secondary:{color:{default:Q6,hover:Q6,active:Q6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:K6,hover:$6,active:W6},outlineBackground:{default:K6,hover:$6,active:W6},border:{default:$6,hover:$6,active:$6},divider:$6},positive:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},outlineBackground:{default:B6.successTint0,hover:B6.successTint1,active:B6.successTint2},border:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},divider:$6},negative:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},outlineBackground:{default:B6.errorTint0,hover:B6.errorTint1,active:B6.errorTint2},border:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},divider:$6},caution:{color:{default:V6,hover:V6,active:V6},outlineColor:{default:Q6,hover:Q6,active:Q6},background:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},outlineBackground:{default:B6.warningTint0,hover:B6.warningTint1,active:B6.warningTint2},border:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},divider:$6},subtle:{color:{default:B6.brand,hover:B6.brand,active:B6.brand},outlineColor:{default:B6.brand,hover:B6.brand,active:B6.brand},secondaryColor:{default:Q6,hover:Q6,active:Q6},positiveColor:{default:B6.success,hover:B6.success,active:B6.success},negativeColor:{default:B6.error,hover:B6.error,active:B6.error},cautionColor:{default:B6.warning,hover:B6.warning,active:B6.warning},background:{default:"transparent",hover:K6,active:$6},outlineBackground:{default:"transparent",hover:K6,active:$6},border:{default:"transparent",hover:$6,active:$6},divider:$6},link:{color:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},outlineColor:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},secondaryColor:{default:X6,hover:J6,active:Q6},positiveColor:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},negativeColor:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},cautionColor:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},background:{default:"transparent",hover:"transparent",active:"transparent"},outlineBackground:{default:"transparent",hover:"transparent",active:"transparent"},border:{default:"transparent",hover:"transparent",active:"transparent"},divider:"transparent"},disabled:{color:{default:q6,hover:q6,active:q6},outlineColor:{default:q6,hover:q6,active:q6},background:{default:K6,hover:K6,active:K6},outlineBackground:{default:U6,hover:U6,active:U6},border:{default:K6,hover:K6,active:K6},divider:K6},color:{default:V6}}),calendar:{background:{container:B6.contrast10,hover:K6,active:B6.brand,activeHover:B6.brandShade1},color:{disabled:q6,default:Q6,active:B6.contrast10,current:B6.brand,outside:Z6,weekday:X6,monthYear:X6,iconDefault:q6,iconHover:Q6}},defaultBorder:`1px solid ${K6}`,formControl:{color:{default:X6,hover:Q6,active:B6.brand,activeHover:B6.brandShade1,disabled:q6}},input:{borderRadius:4,background:{default:U6,hover:K6,focused:K6,disabled:U6},color:{default:Q6,disabled:q6,placeholder:Z6,description:Z6,descriptionError:B6.error},borderColor:{default:Z6,hover:X6,focused:B6.brand,disabled:q6,error:B6.error},labelColor:{default:X6,hover:X6,filled:Z6,focused:B6.brand,disabled:q6}},menu:{background:V6},menuItem:{borderColor:B6.brand,background:{active:U6,hover:K6,inactive:"transparent"},color:{active:Q6,hover:Q6,inactive:Z6}},modal:{background:B6.contrast10,color:{header:Q6,body:Z6}},options:{background:B6.contrast10},optionItem:{background:{active:K6,inactive:"transparent"},color:{active:Q6,inactive:Q6,accent:B6.brand}},table:{color:{header:Z6,body:Q6},borderColor:K6},toast:{color:Q6,background:{deafult:"#F2F3F4",info:"#CCE3FD",success:"#CCF3D9",warning:"#FFEBCC",error:"#FFDFE1"},border:{deafult:X6,info:B6.brand,success:B6.success,warning:B6.warning,error:B6.error}},toggle:{slider:B6.contrast10},tooltip:{background:"#FFF",color:{default:Q6,subtext:Z6}}}),t7=B6.contrast0,n7=B6.contrast1,r7=B6.contrast2,o7=B6.contrast3,i7=B6.contrast4,a7=B6.contrast5,s7=B6.contrast6,c7=B6.contrast7,u7=B6.contrast8,l7=B6.contrast9,f7=B6.contrast10,d7=B6.brandDark,p7={light:e7,dark:Object.assign(Object.assign({},F6),{name:"dark",accent:d7,accentShade:B6.brandDarkShade1,background0:B6.brandBackground0,background1:B6.brandBackground1,background2:B6.brandBackground2,background3:B6.brandBackground3,background4:B6.brandBackground4,background5:B6.brandBackground5,scale0:t7,scale1:n7,scale2:r7,scale3:o7,scale4:i7,scale5:a7,scale6:s7,scale7:c7,scale8:u7,scale9:l7,scale10:f7,button:Object.assign(Object.assign({},H6),{primary:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},outlineBackground:{default:B6.brandTint0,hover:B6.brandTint1,active:B6.brandTint2},border:{default:B6.brand,hover:B6.brandShade1,active:B6.brandShade2},divider:r7},secondary:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:n7,hover:r7,active:o7},outlineBackground:{default:n7,hover:r7,active:o7},border:{default:r7,hover:r7,active:r7},divider:r7},positive:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},outlineBackground:{default:B6.successTint0,hover:B6.successTint1,active:B6.successTint2},border:{default:B6.success,hover:B6.successShade1,active:B6.successShade2},divider:r7},negative:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},outlineBackground:{default:B6.errorTint0,hover:B6.errorTint1,active:B6.errorTint2},border:{default:B6.error,hover:B6.errorShade1,active:B6.errorShade2},divider:r7},caution:{color:{default:f7,hover:f7,active:f7},outlineColor:{default:f7,hover:f7,active:f7},background:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},outlineBackground:{default:B6.warningTint0,hover:B6.warningTint1,active:B6.warningTint2},border:{default:B6.warning,hover:B6.warningShade1,active:B6.warningShade2},divider:r7},subtle:{color:{default:B6.brand,hover:B6.brand,active:B6.brand},outlineColor:{default:B6.brand,hover:B6.brand,active:B6.brand},secondaryColor:{default:f7,hover:f7,active:f7},positiveColor:{default:B6.success,hover:B6.success,active:B6.success},negativeColor:{default:B6.error,hover:B6.error,active:B6.error},cautionColor:{default:B6.warning,hover:B6.warning,active:B6.warning},background:{default:"transparent",hover:n7,active:r7},outlineBackground:{default:"transparent",hover:n7,active:r7},border:{default:"transparent",hover:r7,active:r7},divider:r7},link:{color:{default:B6.brandShade2,hover:B6.brandShade1,active:B6.brand},outlineColor:{default:B6.brandShade2,hover:B6.brandShade1,active:B6.brand},secondaryColor:{default:u7,hover:l7,active:f7},positiveColor:{default:B6.successShade2,hover:B6.successShade1,active:B6.success},negativeColor:{default:B6.errorShade2,hover:B6.errorShade1,active:B6.error},cautionColor:{default:B6.warningShade2,hover:B6.warningShade1,active:B6.warning},background:{default:"transparent",hover:"transparent",active:"transparent"},outlineBackground:{default:"transparent",hover:"transparent",active:"transparent"},border:{default:"transparent",hover:"transparent",active:"transparent"},divider:"transparent"},disabled:{color:{default:i7,hover:i7,active:i7},outlineColor:{default:i7,hover:i7,active:i7},background:{default:n7,hover:n7,active:n7},outlineBackground:{default:t7,hover:t7,active:t7},border:{default:n7,hover:n7,active:n7},divider:n7},color:{default:"#FFFFFF"}}),calendar:{background:{container:B6.brandBackground3,hover:n7,active:B6.brand,activeHover:B6.brandShade1},color:{disabled:i7,default:f7,active:f7,current:d7,outside:s7,weekday:u7,monthYear:u7,iconDefault:i7,iconHover:f7}},defaultBorder:`1px solid ${n7}`,formControl:{color:{default:u7,hover:f7,active:B6.brand,activeHover:B6.brandShade1,disabled:i7}},input:{borderRadius:4,background:{default:t7,hover:n7,focused:n7,disabled:t7},color:{default:f7,disabled:i7,placeholder:s7,description:s7,descriptionError:B6.error},borderColor:{default:s7,hover:u7,focused:d7,disabled:i7,error:B6.error},labelColor:{default:u7,hover:u7,filled:s7,focused:d7,disabled:i7}},menu:{background:B6.brandBackground2},menuItem:{borderColor:B6.brand,background:{active:t7,hover:n7,inactive:"transparent"},color:{active:f7,hover:f7,inactive:s7}},modal:{background:B6.brandBackground3,color:{header:f7,body:s7}},options:{background:B6.brandBackground3},optionItem:{background:{active:n7,inactive:"transparent"},color:{active:f7,inactive:f7,accent:d7}},table:{color:{header:s7,body:f7},borderColor:n7},toast:{color:f7,background:{deafult:"#0D2433",info:"#002A51",success:"#003A2D",warning:"#333220",error:"#332635"},border:{deafult:u7,info:B6.brand,success:B6.success,warning:B6.warning,error:B6.error}},toggle:{slider:B6.brandBackground0},tooltip:{background:B6.brandBackground4,color:{default:f7,subtext:s7}}})},h7=({header:n="Do you want to proceed?",text:r,cancelText:o="Cancel",confirmText:i="Okay",negative:a,input:s,inputLabel:c,inputPlaceholder:u,inputValue:l}={})=>{const[f,d]=y(l||""),[p,h]=y(null),g=()=>h(null);v((()=>{s&&"string"==typeof l&&f!==l&&d(l)}),[p]);const m=()=>{null==p||p.resolve(!s||f),g()},b=()=>{null==p||p.resolve(!1),g()};Mt(document,"keydown",(e=>{const{key:t}=e;switch(t){case"Enter":m();break;case"Escape":b()}}),!!p,[f]);return[()=>new Promise((e=>{h({resolve:e})})),()=>t(Y4,Object.assign({visible:!!p,onClose:g,width:400},{children:[n&&e(Y4.Header,{children:n}),r&&e(Y4.Text,{children:r}),s&&e(Y4.Body,Object.assign({marginTop:4,marginBottom:8},{children:e(c4,{autoFocus:!0,label:c,placeholder:u,value:f,onChange:({target:e})=>d(e.value)})})),t(Y4.Footer,{children:[e(Wc,Object.assign({secondary:!0,marginRight:8,onClick:b},{children:o})),e(Wc,Object.assign({negative:a,onClick:m},{children:i}))]})]}))]};export{$n as Accordion,tu as Audio,FH as BarChart,Wc as Button,WH as Calendar,oV as Checkbox,EV as Code,MV as DocTable,r4 as DraftEditor,h4 as Dropdown,Sc as DropdownMenu,O4 as Form,w4 as Grid,Vn as Icon,A4 as ImageViewer,I4 as InlineCode,c4 as Input,n4 as InputUtils,_4 as Label,L4 as LineChart,R4 as Menu,H4 as Message,W4 as MessageHr,Y4 as Modal,e9 as MultiSelect,QF as Notification,hc as Options,l9 as Pagination,v9 as PieChart,x9 as Progress,x4 as Radio,k9 as ResetStyles,E9 as ScrollbarStyles,Jc as Slider,A9 as Spacer,Bc as Spinner,X9 as Table,T9 as ToastStyles,C4 as Toggle,k6 as Tooltip,j9 as TransferList,TH as copyToClipboard,EH as formatDate,Fn as marginProps,AH as numberWithCommas,Bn as paddingProps,zn as positionProps,p7 as theme,h7 as useConfirm,Rn as useElementObserver,Mt as useEventListener,Pt as useOnClickOutside,Vt as useSelect,It as useSelectAll,Dt as useWindowSize,Nn as widthHeightProps};
|
|
215
215
|
//# sourceMappingURL=index.js.map
|