diff --git a/dist-ui/assets/Inter-Medium-B0NFony0.woff2 b/dist-ui/assets/Inter-Medium-B0NFony0.woff2 new file mode 100644 index 00000000..0fd2ee73 Binary files /dev/null and b/dist-ui/assets/Inter-Medium-B0NFony0.woff2 differ diff --git a/dist-ui/assets/Inter-Regular-B0QUfDW0.woff2 b/dist-ui/assets/Inter-Regular-B0QUfDW0.woff2 new file mode 100644 index 00000000..b8699af2 Binary files /dev/null and b/dist-ui/assets/Inter-Regular-B0QUfDW0.woff2 differ diff --git a/dist-ui/assets/Inter-SemiBold-_JLwM7Yv.woff2 b/dist-ui/assets/Inter-SemiBold-_JLwM7Yv.woff2 new file mode 100644 index 00000000..95c48b18 Binary files /dev/null and b/dist-ui/assets/Inter-SemiBold-_JLwM7Yv.woff2 differ diff --git a/dist-ui/assets/SourceCodePro-Regular.otf-Chr7uwKk.woff2 b/dist-ui/assets/SourceCodePro-Regular.otf-Chr7uwKk.woff2 new file mode 100644 index 00000000..fd665c46 Binary files /dev/null and b/dist-ui/assets/SourceCodePro-Regular.otf-Chr7uwKk.woff2 differ diff --git a/dist-ui/assets/TwemojiCountryFlags-Bje2crD2.woff2 b/dist-ui/assets/TwemojiCountryFlags-Bje2crD2.woff2 new file mode 100644 index 00000000..07bad344 Binary files /dev/null and b/dist-ui/assets/TwemojiCountryFlags-Bje2crD2.woff2 differ diff --git a/dist-ui/assets/apl-Dkzkd4xY.js b/dist-ui/assets/apl-Dkzkd4xY.js new file mode 100644 index 00000000..ddc04db3 --- /dev/null +++ b/dist-ui/assets/apl-Dkzkd4xY.js @@ -0,0 +1 @@ +import{g as x,c as h}from"./index-BLHgoTgd.js";function m(u,s){for(var l=0;li[t]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(u,s){(function(l){l(h)})(function(l){l.defineMode("apl",function(){var i={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},t={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},a=/[\.\/⌿⍀¨⍣]/,c=/⍬/,p=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,d=/←/,v=/[⍝#].*$/,g=function(n){var r;return r=!1,function(e){return r=e,e===n?r==="\\":!0}};return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(n,r){var e,o;return n.eatSpace()?null:(e=n.next(),e==='"'||e==="'"?(n.eatWhile(g(e)),n.next(),r.prev=!0,"string"):/[\[{\(]/.test(e)?(r.prev=!1,null):/[\]}\)]/.test(e)?(r.prev=!0,null):c.test(e)?(r.prev=!1,"niladic"):/[¯\d]/.test(e)?(r.func?(r.func=!1,r.prev=!1):r.prev=!0,n.eatWhile(/[\w\.]/),"number"):a.test(e)?"operator apl-"+i[e]:d.test(e)?"apl-arrow":p.test(e)?(o="apl-",t[e]!=null&&(r.prev?o+=t[e][1]:o+=t[e][0]),r.func=!0,r.prev=!1,"function "+o):v.test(e)?(n.skipToEnd(),"comment"):e==="∘"&&n.peek()==="."?(n.next(),"function jot-dot"):(n.eatWhile(/[\w\$_]/),r.prev=!0,"keyword"))}}}),l.defineMIME("text/apl","apl")})})();var f=O.exports;const b=x(f),y=m({__proto__:null,default:b},[f]);export{y as a}; diff --git a/dist-ui/assets/asciiarmor-DZKamzVQ.js b/dist-ui/assets/asciiarmor-DZKamzVQ.js new file mode 100644 index 00000000..12d76b82 --- /dev/null +++ b/dist-ui/assets/asciiarmor-DZKamzVQ.js @@ -0,0 +1 @@ +import{g as p,c as s}from"./index-BLHgoTgd.js";function u(i,a){for(var t=0;tn[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(i,a){(function(t){t(s)})(function(t){function n(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}t.defineMode("asciiarmor",function(){return{token:function(e,r){var o;if(r.state=="top")return e.sol()&&(o=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=o[1],"tag"):n(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var c=n(e);return c&&(r.state="body"),c}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(o=e.match(/^-----END (.*)?-----\s*$/))?o[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return n(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}),t.defineMIME("application/pgp","asciiarmor"),t.defineMIME("application/pgp-encrypted","asciiarmor"),t.defineMIME("application/pgp-keys","asciiarmor"),t.defineMIME("application/pgp-signature","asciiarmor")})})();var f=l.exports;const d=p(f),y=u({__proto__:null,default:d},[f]);export{y as a}; diff --git a/dist-ui/assets/asn.1-Dat20KhL.js b/dist-ui/assets/asn.1-Dat20KhL.js new file mode 100644 index 00000000..280043e6 --- /dev/null +++ b/dist-ui/assets/asn.1-Dat20KhL.js @@ -0,0 +1 @@ +import{g as x,c as v}from"./index-BLHgoTgd.js";function h(a,f){for(var s=0;so[u]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var G={exports:{}};(function(a,f){(function(s){s(v)})(function(s){s.defineMode("asn.1",function(u,i){var S=u.indentUnit,T=i.keywords||{},m=i.cmipVerbs||{},y=i.compareTypes||{},C=i.status||{},g=i.tags||{},R=i.storage||{},D=i.modifier||{},b=i.accessTypes||{},L=i.multiLineStrings,P=i.indentStatements!==!1,A=/[\|\^]/,E;function M(e,t){var n=e.next();if(n=='"'||n=="'")return t.tokenize=U(n),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(n))return E=n,"punctuation";if(n=="-"&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(A.test(n))return e.eatWhile(A),"operator";e.eatWhile(/[\w\-]/);var r=e.current();return T.propertyIsEnumerable(r)?"keyword":m.propertyIsEnumerable(r)?"variable cmipVerbs":y.propertyIsEnumerable(r)?"atom compareTypes":C.propertyIsEnumerable(r)?"comment status":g.propertyIsEnumerable(r)?"variable-3 tags":R.propertyIsEnumerable(r)?"builtin storage":D.propertyIsEnumerable(r)?"string-2 modifier":b.propertyIsEnumerable(r)?"atom accessTypes":"variable"}function U(e){return function(t,n){for(var r=!1,c,O=!1;(c=t.next())!=null;){if(c==e&&!r){var I=t.peek();I&&(I=I.toLowerCase(),(I=="b"||I=="h"||I=="o")&&t.next()),O=!0;break}r=!r&&c=="\\"}return(O||!(r||L))&&(n.tokenize=null),"string"}}function d(e,t,n,r,c){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=c}function p(e,t,n){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new d(r,t,n,null,e.context)}function l(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new d((e||0)-S,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;E=null;var r=(t.tokenize||M)(e,t);if(r=="comment")return r;if(n.align==null&&(n.align=!0),(E==";"||E==":"||E==",")&&n.type=="statement")l(t);else if(E=="{")p(t,e.column(),"}");else if(E=="[")p(t,e.column(),"]");else if(E=="(")p(t,e.column(),")");else if(E=="}"){for(;n.type=="statement";)n=l(t);for(n.type=="}"&&(n=l(t));n.type=="statement";)n=l(t)}else E==n.type?l(t):P&&((n.type=="}"||n.type=="top")&&E!=";"||n.type=="statement"&&E=="newstatement")&&p(t,e.column(),"statement");return t.startOfLine=!1,r},electricChars:"{}",lineComment:"--",fold:"brace"}});function o(u){for(var i={},S=u.split(" "),T=0;Tr[o]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(s,l){(function(t){t(f)})(function(t){t.defineMode("asterisk",function(){var r=["exten","same","include","ignorepat","switch"],o=["#include","#exec"],c=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];function d(e,n){var i="",a=e.next();if(n.blockComment)return a=="-"&&e.match("-;",!0)?n.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),n.blockComment=!1):e.skipToEnd(),"comment";if(a==";")return e.match("--",!0)&&!e.match("-",!1)?(n.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if(a=="[")return e.skipTo("]"),e.eat("]"),"header";if(a=='"')return e.skipTo('"'),"string";if(a=="'")return e.skipTo("'"),"string-2";if(a=="#"&&(e.eatWhile(/\w/),i=e.current(),o.indexOf(i)!==-1))return e.skipToEnd(),"strong";if(a=="$"){var p=e.peek();if(p=="{")return e.skipTo("}"),e.eat("}"),"variable-3"}if(e.eatWhile(/\w/),i=e.current(),r.indexOf(i)!==-1){switch(n.extenStart=!0,i){case"same":n.extenSame=!0;break;case"include":case"switch":case"ignorepat":n.extenInclude=!0;break}return"atom"}}return{startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,n){var i="";if(e.eatSpace())return null;if(n.extenStart)return e.eatWhile(/[^\s]/),i=e.current(),/^=>?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,c.indexOf(i)!==-1)return"def strong"}else return d(e,n);return null},blockCommentStart:";--",blockCommentEnd:"--;",lineComment:";"}}),t.defineMIME("text/x-asterisk","asterisk")})})();var u=g.exports;const h=m(u),k=x({__proto__:null,default:h},[u]);export{k as a}; diff --git a/dist-ui/assets/brainfuck-CwZ2kEYl.js b/dist-ui/assets/brainfuck-CwZ2kEYl.js new file mode 100644 index 00000000..e3c2b4a8 --- /dev/null +++ b/dist-ui/assets/brainfuck-CwZ2kEYl.js @@ -0,0 +1 @@ +import{g as u,c as l}from"./index-BLHgoTgd.js";function a(f,i){for(var t=0;to[e]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(f,i){(function(t){t(l)})(function(t){var o="><+-.,[]".split("");t.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,n){if(e.eatSpace())return null;e.sol()&&(n.commentLine=!1);var r=e.next().toString();if(o.indexOf(r)!==-1){if(n.commentLine===!0)return e.eol()&&(n.commentLine=!1),"comment";if(r==="]"||r==="[")return r==="["?n.left++:n.right++,"bracket";if(r==="+"||r==="-")return"keyword";if(r==="<"||r===">")return"atom";if(r==="."||r===",")return"def"}else return n.commentLine=!0,e.eol()&&(n.commentLine=!1),"comment";e.eol()&&(n.commentLine=!1)}}}),t.defineMIME("text/x-brainfuck","brainfuck")})})();var c=m.exports;const s=u(c),b=a({__proto__:null,default:s},[c]);export{b}; diff --git a/dist-ui/assets/clike-Cm0RcWKo.js b/dist-ui/assets/clike-Cm0RcWKo.js new file mode 100644 index 00000000..3a42f0e3 --- /dev/null +++ b/dist-ui/assets/clike-Cm0RcWKo.js @@ -0,0 +1 @@ +import{g as me,c as ge}from"./index-BLHgoTgd.js";function ke(N,z){for(var y=0;yg[m]})}}}return Object.freeze(Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}))}var be={exports:{}};(function(N,z){(function(y){y(ge)})(function(y){function g(e,t,n,l,u,d){this.indented=e,this.column=t,this.type=n,this.info=l,this.align=u,this.prev=d}function m(e,t,n,l){var u=e.indented;return e.context&&e.context.type=="statement"&&n!="statement"&&(u=e.context.indented),e.context=new g(u,t,n,l,null,e.context)}function k(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function R(e,t,n){if(t.prevToken=="variable"||t.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||t.typeAtEndOfLine&&e.column()==e.indentation())return!0}function O(e){for(;;){if(!e||e.type=="top")return!0;if(e.type=="}"&&e.prev.info!="namespace")return!1;e=e.prev}}y.defineMode("clike",function(e,t){var n=e.indentUnit,l=t.statementIndentUnit||n,u=t.dontAlignCalls,d=t.keywords||{},M=t.types||{},oe=t.builtin||{},G=t.blockKeywords||{},ae=t.defKeywords||{},le=t.atoms||{},v=t.hooks||{},ce=t.multiLineStrings,se=t.indentStatements!==!1,ue=t.indentSwitch!==!1,H=t.namespaceSeparator,fe=t.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,de=t.numberStart||/[\d\.]/,pe=t.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Q=t.isOperatorChar||/[+\-*&%=<>!?|\/]/,X=t.isIdentifierChar||/[\w\$_\xa1-\uffff]/,Y=t.isReservedIdentifier||!1,p,F;function Z(o,a){var i=o.next();if(v[i]){var c=v[i](o,a);if(c!==!1)return c}if(i=='"'||i=="'")return a.tokenize=he(i),a.tokenize(o,a);if(de.test(i)){if(o.backUp(1),o.match(pe))return"number";o.next()}if(fe.test(i))return p=i,null;if(i=="/"){if(o.eat("*"))return a.tokenize=J,J(o,a);if(o.eat("/"))return o.skipToEnd(),"comment"}if(Q.test(i)){for(;!o.match(/^\/[\/*]/,!1)&&o.eat(Q););return"operator"}if(o.eatWhile(X),H)for(;o.match(H);)o.eatWhile(X);var f=o.current();return b(d,f)?(b(G,f)&&(p="newstatement"),b(ae,f)&&(F=!0),"keyword"):b(M,f)?"type":b(oe,f)||Y&&Y(f)?(b(G,f)&&(p="newstatement"),"builtin"):b(le,f)?"atom":"variable"}function he(o){return function(a,i){for(var c=!1,f,I=!1;(f=a.next())!=null;){if(f==o&&!c){I=!0;break}c=!c&&f=="\\"}return(I||!(c||ce))&&(i.tokenize=null),"string"}}function J(o,a){for(var i=!1,c;c=o.next();){if(c=="/"&&i){a.tokenize=null;break}i=c=="*"}return"comment"}function ee(o,a){t.typeFirstDefinitions&&o.eol()&&O(a.context)&&(a.typeAtEndOfLine=R(o,a,o.pos))}return{startState:function(o){return{tokenize:null,context:new g((o||0)-n,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(o,a){var i=a.context;if(o.sol()&&(i.align==null&&(i.align=!1),a.indented=o.indentation(),a.startOfLine=!0),o.eatSpace())return ee(o,a),null;p=F=null;var c=(a.tokenize||Z)(o,a);if(c=="comment"||c=="meta")return c;if(i.align==null&&(i.align=!0),p==";"||p==":"||p==","&&o.match(/^\s*(?:\/\/.*)?$/,!1))for(;a.context.type=="statement";)k(a);else if(p=="{")m(a,o.column(),"}");else if(p=="[")m(a,o.column(),"]");else if(p=="(")m(a,o.column(),")");else if(p=="}"){for(;i.type=="statement";)i=k(a);for(i.type=="}"&&(i=k(a));i.type=="statement";)i=k(a)}else p==i.type?k(a):se&&((i.type=="}"||i.type=="top")&&p!=";"||i.type=="statement"&&p=="newstatement")&&m(a,o.column(),"statement",o.current());if(c=="variable"&&(a.prevToken=="def"||t.typeFirstDefinitions&&R(o,a,o.start)&&O(a.context)&&o.match(/^\s*\(/,!1))&&(c="def"),v.token){var f=v.token(o,a,c);f!==void 0&&(c=f)}return c=="def"&&t.styleDefs===!1&&(c="variable"),a.startOfLine=!1,a.prevToken=F?"def":c||p,ee(o,a),c},indent:function(o,a){if(o.tokenize!=Z&&o.tokenize!=null||o.typeAtEndOfLine&&O(o.context))return y.Pass;var i=o.context,c=a&&a.charAt(0),f=c==i.type;if(i.type=="statement"&&c=="}"&&(i=i.prev),t.dontIndentStatements)for(;i.type=="statement"&&t.dontIndentStatements.test(i.info);)i=i.prev;if(v.indent){var I=v.indent(o,i,a,n);if(typeof I=="number")return I}var ye=i.prev&&i.prev.info=="switch";if(t.allmanIndentation&&/[{(]/.test(c)){for(;i.type!="top"&&i.type!="}";)i=i.prev;return i.indented}return i.type=="statement"?i.indented+(c=="{"?0:l):i.align&&(!u||i.type!=")")?i.column+(f?0:1):i.type==")"&&!f?i.indented+l:i.indented+(f?0:n)+(!f&&ye&&!/^(?:case|default)\b/.test(a)?n:0)},electricInput:ue?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function r(e){for(var t={},n=e.split(" "),l=0;l!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return e.match('""')?(t.tokenize=V,t.tokenize(e,t)):!1},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string-2":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,t){var n=t.context;return n.type=="}"&&n.align&&e.eat(">")?(t.context=new g(n.indented,n.column,n.type,n.info,null,n.prev),"operator"):!1},"/":function(e,t){return e.eat("*")?(t.tokenize=E(1),t.tokenize(e,t)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function ie(e){return function(t,n){for(var l=!1,u,d=!1;!t.eol();){if(!e&&!l&&t.match('"')){d=!0;break}if(e&&t.match('"""')){d=!0;break}u=t.next(),!l&&u=="$"&&t.match("{")&&t.skipTo("}"),l=!l&&u=="\\"&&!e}return(d||!e)&&(n.tokenize=null),"string"}}h("text/x-kotlin",{name:"clike",keywords:r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),types:r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:r("catch class do else finally for if where try while enum"),defKeywords:r("class val var object interface fun"),atoms:r("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return t.prevToken=="."?"variable":"operator"},'"':function(e,t){return t.tokenize=ie(e.match('""')),t.tokenize(e,t)},"/":function(e,t){return e.eat("*")?(t.tokenize=E(1),t.tokenize(e,t)):!1},indent:function(e,t,n,l){var u=n&&n.charAt(0);if((e.prevToken=="}"||e.prevToken==")")&&n=="")return e.indented;if(e.prevToken=="operator"&&n!="}"&&e.context.type!="}"||e.prevToken=="variable"&&u=="."||(e.prevToken=="}"||e.prevToken==")")&&u==".")return l*2+t.indented;if(t.align&&t.type=="}")return t.indented+(e.context.type==(n||"").charAt(0)?0:l)}},modeProps:{closeBrackets:{triples:'"'}}}),h(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:r("for while do if else struct"),builtin:r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":w},modeProps:{fold:["brace","include"]}}),h("text/x-nesc",{name:"clike",keywords:r(_+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:S,blockKeywords:r(T),atoms:r("null true false"),hooks:{"#":w},modeProps:{fold:["brace","include"]}}),h("text/x-objectivec",{name:"clike",keywords:r(_+" "+U),types:A,builtin:r(B),blockKeywords:r(T+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:r(L+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":D},modeProps:{fold:["brace","include"]}}),h("text/x-objectivec++",{name:"clike",keywords:r(_+" "+U+" "+j),types:A,builtin:r(B),blockKeywords:r(T+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:r(L+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":D,u:x,U:x,L:x,R:x,0:s,1:s,2:s,3:s,4:s,5:s,6:s,7:s,8:s,9:s,token:function(e,t,n){if(n=="variable"&&e.peek()=="("&&(t.prevToken==";"||t.prevToken==null||t.prevToken=="}")&&K(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),h("text/x-squirrel",{name:"clike",keywords:r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:S,blockKeywords:r("case catch class else for foreach if switch try while"),defKeywords:r("function local class"),typeFirstDefinitions:!0,atoms:r("true false null"),hooks:{"#":w},modeProps:{fold:["brace","include"]}});var C=null;function W(e){return function(t,n){for(var l=!1,u,d=!1;!t.eol();){if(!l&&t.match('"')&&(e=="single"||t.match('""'))){d=!0;break}if(!l&&t.match("``")){C=W(e),d=!0;break}u=t.next(),l=e=="single"&&!l&&u=="\\"}return d&&(n.tokenize=null),"string"}}h("text/x-ceylon",{name:"clike",keywords:r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:r("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:r("class dynamic function interface module object package value"),builtin:r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:r("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=W(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!C||!e.match("`")?!1:(t.tokenize=C,C=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if((n=="variable"||n=="type")&&t.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})})();var te=be.exports;const we=me(te),ve=ke({__proto__:null,default:we},[te]);export{te as a,ve as c}; diff --git a/dist-ui/assets/clojure-Bg-4hFPz.js b/dist-ui/assets/clojure-Bg-4hFPz.js new file mode 100644 index 00000000..b90c5f4b --- /dev/null +++ b/dist-ui/assets/clojure-Bg-4hFPz.js @@ -0,0 +1 @@ +import{g as S,c as A}from"./index-BLHgoTgd.js";function M(d,u){for(var o=0;oi[a]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(d,u){(function(o){o(A)})(function(o){o.defineMode("clojure",function(i){var a=["false","nil","true"],s=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],m=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],b=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"];o.registerHelper("hintWords","clojure",[].concat(a,s,m));var v=l(a),g=l(s),x=l(m),k=l(b),w=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,q=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,j=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,T=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function p(t,e){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(q))return[null,"number"];if(t.match(j))return[null,"string-2"];if(t.eat(/^"/))return(e.tokenize=z)(t,e);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close","bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var r=t.match(T),n=r&&r[0];return n?n==="comment"&&e.lastToken==="("?(e.tokenize=E)(t,e):c(n,v)||n.charAt(0)===":"?["symbol","atom"]:c(n,g)||c(n,x)?["symbol","keyword"]:e.lastToken==="("?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(f){return!c(f,w)}),[null,"error"])}function z(t,e){for(var r=!1,n;n=t.next();){if(n==='"'&&!r){e.tokenize=p;break}r=!r&&n==="\\"}return[null,"string"]}function E(t,e){for(var r=1,n;n=t.next();)if(n===")"&&r--,n==="("&&r++,r===0){t.backUp(1),e.tokenize=p;break}return["space","comment"]}function l(t){for(var e={},r=0;ro[i]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(f,u){(function(t){t(d)})(function(t){t.defineMode("cmake",function(){var o=/({)?[a-zA-Z0-9_]+(})?/;function i(e,r){for(var n,a,l=!1;!e.eol()&&(n=e.next())!=r.pending;){if(n==="$"&&a!="\\"&&r.pending=='"'){l=!0;break}a=n}return l&&e.backUp(1),n==r.pending?r.continueString=!1:r.continueString=!0,"string"}function c(e,r){var n=e.next();return n==="$"?e.match(o)?"variable-2":"variable":r.continueString?(e.backUp(1),i(e,r)):e.match(/(\s+)?\w+\(/)||e.match(/(\s+)?\w+\ \(/)?(e.backUp(1),"def"):n=="#"?(e.skipToEnd(),"comment"):n=="'"||n=='"'?(r.pending=n,i(e,r)):n=="("||n==")"?"bracket":n.match(/[0-9]/)?"number":(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,r){return e.eatSpace()?null:c(e,r)}}}),t.defineMIME("text/x-cmake","cmake")})})();var p=b.exports;const s=g(p),x=k({__proto__:null,default:s},[p]);export{x as c}; diff --git a/dist-ui/assets/cobol-BXRkK6zg.js b/dist-ui/assets/cobol-BXRkK6zg.js new file mode 100644 index 00000000..c34fe19c --- /dev/null +++ b/dist-ui/assets/cobol-BXRkK6zg.js @@ -0,0 +1 @@ +import{g as u,c as Y}from"./index-BLHgoTgd.js";function d(U,e){for(var R=0;RO[A]})}}}return Object.freeze(Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(U,e){(function(R){R(Y)})(function(R){R.defineMode("cobol",function(){var O="builtin",A="comment",D="string",M="atom",o="number",r="keyword",B="header",l="def",F="link";function P(E){for(var T={},I=E.split(" "),L=0;L >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function f(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var L=!1;(L=E.next())!=null;)if((L=='"'||L=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=D;break;default:var S=E.next(),C=E.column();if(C>=0&&C<=5)I=l;else if(C>=72&&C<=79)E.skipToEnd(),I=B;else if(S=="*"&&C==6)E.skipToEnd(),I=A;else if(S=='"'||S=="'")T.mode="string",I=D;else if(S=="'"&&!N.digit_or_colon.test(E.peek()))I=M;else if(S==".")I=F;else if(f(S,E))I=o;else{if(E.current().match(N.symbol))for(;C<71&&E.eat(N.symbol)!==void 0;)C++;t&&t.propertyIsEnumerable(E.current().toUpperCase())?I=r:i&&i.propertyIsEnumerable(E.current().toUpperCase())?I=O:n&&n.propertyIsEnumerable(E.current().toUpperCase())?I=M:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}),R.defineMIME("text/x-cobol","cobol")})})();var G=H.exports;const a=u(G),p=d({__proto__:null,default:a},[G]);export{p as c}; diff --git a/dist-ui/assets/coffeescript-BapwGZ39.js b/dist-ui/assets/coffeescript-BapwGZ39.js new file mode 100644 index 00000000..232f0720 --- /dev/null +++ b/dist-ui/assets/coffeescript-BapwGZ39.js @@ -0,0 +1 @@ +import{g as Z,c as N}from"./index-BLHgoTgd.js";function T(v,a){for(var c=0;cp[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var U={exports:{}};(function(v,a){(function(c){c(N)})(function(c){c.defineMode("coffeescript",function(p,u){var l="error";function h(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var z=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,s=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,x=/^[_A-Za-z$][_A-Za-z$0-9]*/,E=/^@[_A-Za-z$][_A-Za-z$0-9]*/,A=h(["and","or","not","is","isnt","in","instanceof","typeof"]),g=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],O=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],_=h(g.concat(O));g=h(g);var S=/^('{3}|\"{3}|['\"])/,j=/^(\/{3}|\/)/,P=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],$=h(P);function d(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var r=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>r&&n.scope.type=="coffee"?"indent":f0&&y(e,n)}if(e.eatSpace())return null;var i=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=M,n.tokenize(e,n);if(i==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var t=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(t=!0),e.match(/^-?\d+\.\d*/)&&(t=!0),e.match(/^-?\.\d+/)&&(t=!0),t)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(S))return n.tokenize=b(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(j)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=b(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(z)||e.match(A)?"operator":e.match(s)?"punctuation":e.match($)?"atom":e.match(E)||n.prop&&e.match(x)?"property":e.match(_)?"keyword":e.match(x)?"variable":(e.next(),l)}function b(e,n,r){return function(f,i){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return r}else{if(f.match(e))return i.tokenize=d,r;f.eat(/['"\/]/)}return n&&(u.singleLineStringErrors?r=l:i.tokenize=d),r}}function M(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=d;break}e.eatWhile("#")}return"comment"}function k(e,n,r){r=r||"coffee";for(var f=0,i=!1,t=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+p.indentUnit;break}r!=="coffee"?(i=null,t=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:r,prev:n.scope,align:i,alignOffset:t}}function y(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var r=e.indentation(),f=!1,i=n.scope;i;i=i.prev)if(r===i.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==r;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function R(e,n){var r=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||r==="indent")&&k(e,n);var i="[({".indexOf(f);if(i!==-1&&k(e,n,"])}".slice(i,i+1)),g.exec(f)&&k(e,n),f=="then"&&y(e,n),r==="dedent"&&y(e,n))return l;if(i="])}".indexOf(f),i!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),r}var I={startState:function(e){return{tokenize:d,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var r=n.scope.align===null&&n.scope;r&&e.sol()&&(r.align=!1);var f=R(e,n);return f&&f!="comment"&&(r&&(r.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=d)return 0;var r=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;r.type=="coffee"&&r.prev;)r=r.prev;var i=f&&r.type===n.charAt(0);return r.align?r.alignOffset-(i?1:0):(i?r.prev:r).offset},lineComment:"#",fold:"indent"};return I}),c.defineMIME("application/vnd.coffeescript","coffeescript"),c.defineMIME("text/x-coffeescript","coffeescript"),c.defineMIME("text/coffeescript","coffeescript")})})();var w=U.exports;const W=Z(w),D=T({__proto__:null,default:W},[w]);export{w as a,D as c}; diff --git a/dist-ui/assets/commonlisp-DFQTlDNM.js b/dist-ui/assets/commonlisp-DFQTlDNM.js new file mode 100644 index 00000000..e4a59033 --- /dev/null +++ b/dist-ui/assets/commonlisp-DFQTlDNM.js @@ -0,0 +1 @@ +import{g as y,c as k}from"./index-BLHgoTgd.js";function g(f,p){for(var i=0;il[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(f,p){(function(i){i(k)})(function(i){i.defineMode("commonlisp",function(l){var c=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,u=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,b=/[^\s'`,@()\[\]";]/,o;function s(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!b.test(n)){e.backUp(1);break}return e.current()}function d(e,n){if(e.eatSpace())return o="ws",null;if(e.match(a))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=m)(e,n);if(t=="(")return o="open","bracket";if(t==")"||t=="]")return o="close","bracket";if(t==";")return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(o="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=v)(e,n):t==":"?(s(e),"meta"):t=="\\"?(e.next(),s(e),"string-2"):"error"}else{var r=s(e);return r=="."?null:(o="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(c.test(r)||u.test(r))?"keyword":r.charAt(0)=="&"?"variable-2":"variable")}}function m(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=d;break}t=!t&&r=="\\"}return"string"}function v(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=d;break}r=t}return o="ws","comment"}return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:d}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),o=null;var t=n.tokenize(e,n);return o!="ws"&&(n.ctx.indentTo==null?o=="symbol"&&u.test(e.current())?n.ctx.indentTo=n.ctx.start+l.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=o),o=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:o=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e,n){var t=e.ctx.indentTo;return typeof t=="number"?t:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",fold:"brace-paren",blockCommentStart:"#|",blockCommentEnd:"|#"}}),i.defineMIME("text/x-common-lisp","commonlisp")})})();var x=h.exports;const T=y(x),$=g({__proto__:null,default:T},[x]);export{$ as c}; diff --git a/dist-ui/assets/crystal-BzGsEzVm.js b/dist-ui/assets/crystal-BzGsEzVm.js new file mode 100644 index 00000000..db22a861 --- /dev/null +++ b/dist-ui/assets/crystal-BzGsEzVm.js @@ -0,0 +1 @@ +import{g as L,c as q}from"./index-BLHgoTgd.js";function U(v,y){for(var f=0;fl[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var B={exports:{}};(function(v,y){(function(f){f(q)})(function(f){f.defineMode("crystal",function(l){function i(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function c(n,e,r){return r.tokenize.push(n),n(e,r)}var _=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,x=/^(?:\[\][?=]?)/,O=/^(?:\.(?:\.{2})?|->|[?:])/,h=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,F=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,T=i(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),j=i(["true","false","nil","self"]),P=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],D=i(P),K=["if","unless","case","while","until","begin","then"],M=i(K),b=["end","else","elsif","rescue","ensure"],N=i(b),I=["\\)","\\}","\\]"],Z=new RegExp("^(?:"+I.join("|")+")$"),E={def:S,fun:S,macro:$,class:p,module:p,struct:p,lib:p,enum:p,union:p},s={"[":"]","{":"}","(":")","<":">"};function g(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return c(a("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return c(a("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(h))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":T.test(r)?(D.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&M.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),E.hasOwnProperty(r)&&e.tokenize.push(E[r]),"keyword"):j.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?c(d("[","]","meta"),n,e):(n.eat("@"),n.match(h)||n.match(F),"variable-2");if(n.match(F))return"tag";if(n.eat(":"))return n.eat('"')?c(w('"',"atom",!1),n,e):n.match(h)||n.match(F)||n.match(_)||n.match(z)||n.match(x)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return c(w('"',"string",!0),n,e);if(n.peek()=="%"){var u="string",t=!0,o;if(n.match("%r"))u="string-2",o=n.next();else if(n.match("%w"))t=!1,o=n.next();else if(n.match("%q"))t=!1,o=n.next();else if(o=n.match(/^%([^\w\s=])/))o=o[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return s.hasOwnProperty(o)&&(o=s[o]),c(w(o,u,t),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?c(R(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(_)?(n.eat("="),"operator"):n.match(z)||n.match(O)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],c(d(r,s[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function d(n,e,r,u){return function(t,o){if(!u&&t.match(n))return o.tokenize[o.tokenize.length-1]=d(n,e,r,!0),o.currentIndent+=1,r;var k=g(t,o);return t.current()===e&&(o.tokenize.pop(),o.currentIndent-=1,k=r),k}}function a(n,e,r){return function(u,t){return!r&&u.match("{"+n)?(t.currentIndent+=1,t.tokenize[t.tokenize.length-1]=a(n,e,!0),"meta"):u.match(e+"}")?(t.currentIndent-=1,t.tokenize.pop(),"meta"):g(u,t)}}function $(n,e){if(n.eatSpace())return null;var r;if(r=n.match(h)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function S(n,e){return n.eatSpace()?null:(n.match(h)?n.eat(/[!?]/):n.match(_)||n.match(z)||n.match(x),e.tokenize.pop(),"def")}function p(n,e){return n.eatSpace()?null:(n.match(F),e.tokenize.pop(),"def")}function w(n,e,r){return function(u,t){for(var o=!1;u.peek();)if(o)u.next(),o=!1;else{if(u.match("{%",!1))return t.tokenize.push(a("%","%")),e;if(u.match("{{",!1))return t.tokenize.push(a("{","}")),e;if(r&&u.match("#{",!1))return t.tokenize.push(d("#{","}","meta")),e;var k=u.next();if(k==n)return t.tokenize.pop(),e;o=r&&k=="\\"}return e}}function R(n,e){return function(r,u){if(r.sol()&&(r.eatSpace(),r.match(n)))return u.tokenize.pop(),"string";for(var t=!1;r.peek();)if(t)r.next(),t=!1;else{if(r.match("{%",!1))return u.tokenize.push(a("%","%")),"string";if(r.match("{{",!1))return u.tokenize.push(a("{","}")),"string";if(e&&r.match("#{",!1))return u.tokenize.push(d("#{","}","meta")),"string";t=e&&r.next()=="\\"}return"string"}}return{startState:function(){return{tokenize:[g],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),u=n.current();return r&&r!="comment"&&(e.lastToken=u,e.lastStyle=r),r},indent:function(n,e){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),N.test(e)||Z.test(e)?l.indentUnit*(n.currentIndent-1):l.indentUnit*n.currentIndent},fold:"indent",electricInput:i(I.concat(b),!0),lineComment:"#"}}),f.defineMIME("text/x-crystal","crystal")})})();var A=B.exports;const C=L(A),Q=U({__proto__:null,default:C},[A]);export{Q as c}; diff --git a/dist-ui/assets/css-BBinNfwf.js b/dist-ui/assets/css-BBinNfwf.js new file mode 100644 index 00000000..cbe9f572 --- /dev/null +++ b/dist-ui/assets/css-BBinNfwf.js @@ -0,0 +1 @@ +import{g as de,c as ue}from"./index-BLHgoTgd.js";function pe(x,O){for(var u=0;ud[g]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var me={exports:{}};(function(x,O){(function(u){u(ue)})(function(u){u.defineMode("css",function(t,i){var f=i.inline;i.propertyKeywords||(i=u.resolveMode("text/css"));var w=t.indentUnit,L=i.tokenHooks,ee=i.documentTypes||{},re=i.mediaTypes||{},oe=i.mediaFeatures||{},te=i.mediaValueKeywords||{},N=i.propertyKeywords||{},M=i.nonStandardPropertyKeywords||{},ie=i.fontProperties||{},ne=i.counterDescriptors||{},C=i.colorKeywords||{},I=i.valueKeywords||{},y=i.allowNested,ae=i.lineComment,le=i.supportsAtComponent===!0,X=t.highlightNonStandardPropertyKeywords!==!1,B,n;function c(e,o){return B=o,e}function se(e,o){var r=e.next();if(L[r]){var a=L[r](e,o);if(a!==!1)return a}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return o.tokenize=Y(r),o.tokenize(e,o);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("variable-2","variable-definition"):c("variable-2","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(o.tokenize=ce),c("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function Y(e){return function(o,r){for(var a=!1,p;(p=o.next())!=null;){if(p==e&&!a){e==")"&&o.backUp(1);break}a=!a&&p=="\\"}return(p==e||!a&&e!=")")&&(r.tokenize=null),c("string","string")}}function ce(e,o){return e.next(),e.match(/^\s*[\"\')]/,!1)?o.tokenize=null:o.tokenize=Y(")"),c(null,"(")}function U(e,o,r){this.type=e,this.indent=o,this.prev=r}function s(e,o,r,a){return e.context=new U(r,o.indentation()+(a===!1?0:w),e.context),r}function m(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function v(e,o,r){return l[r.context.type](e,o,r)}function b(e,o,r,a){for(var p=a||1;p>0;p--)r.context=r.context.prev;return v(e,o,r)}function Z(e){var o=e.current().toLowerCase();I.hasOwnProperty(o)?n="atom":C.hasOwnProperty(o)?n="keyword":n="variable"}var l={};return l.top=function(e,o,r){if(e=="{")return s(r,o,"block");if(e=="}"&&r.context.prev)return m(r);if(le&&/@component/i.test(e))return s(r,o,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,o,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,o,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,o,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,o,"interpolation");if(e==":")return"pseudo";if(y&&e=="(")return s(r,o,"parens")}return r.context.type},l.block=function(e,o,r){if(e=="word"){var a=o.current().toLowerCase();return N.hasOwnProperty(a)?(n="property","maybeprop"):M.hasOwnProperty(a)?(n=X?"string-2":"property","maybeprop"):y?(n=o.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}else return e=="meta"?"block":!y&&(e=="hash"||e=="qualifier")?(n="error","block"):l.top(e,o,r)},l.maybeprop=function(e,o,r){return e==":"?s(r,o,"prop"):v(e,o,r)},l.prop=function(e,o,r){if(e==";")return m(r);if(e=="{"&&y)return s(r,o,"propBlock");if(e=="}"||e=="{")return b(e,o,r);if(e=="(")return s(r,o,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))n+=" error";else if(e=="word")Z(o);else if(e=="interpolation")return s(r,o,"interpolation");return"prop"},l.propBlock=function(e,o,r){return e=="}"?m(r):e=="word"?(n="property","maybeprop"):r.context.type},l.parens=function(e,o,r){return e=="{"||e=="}"?b(e,o,r):e==")"?m(r):e=="("?s(r,o,"parens"):e=="interpolation"?s(r,o,"interpolation"):(e=="word"&&Z(o),"parens")},l.pseudo=function(e,o,r){return e=="meta"?"pseudo":e=="word"?(n="variable-3",r.context.type):v(e,o,r)},l.documentTypes=function(e,o,r){return e=="word"&&ee.hasOwnProperty(o.current())?(n="tag",r.context.type):l.atBlock(e,o,r)},l.atBlock=function(e,o,r){if(e=="(")return s(r,o,"atBlock_parens");if(e=="}"||e==";")return b(e,o,r);if(e=="{")return m(r)&&s(r,o,y?"block":"top");if(e=="interpolation")return s(r,o,"interpolation");if(e=="word"){var a=o.current().toLowerCase();a=="only"||a=="not"||a=="and"||a=="or"?n="keyword":re.hasOwnProperty(a)?n="attribute":oe.hasOwnProperty(a)?n="property":te.hasOwnProperty(a)?n="keyword":N.hasOwnProperty(a)?n="property":M.hasOwnProperty(a)?n=X?"string-2":"property":I.hasOwnProperty(a)?n="atom":C.hasOwnProperty(a)?n="keyword":n="error"}return r.context.type},l.atComponentBlock=function(e,o,r){return e=="}"?b(e,o,r):e=="{"?m(r)&&s(r,o,y?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},l.atBlock_parens=function(e,o,r){return e==")"?m(r):e=="{"||e=="}"?b(e,o,r,2):l.atBlock(e,o,r)},l.restricted_atBlock_before=function(e,o,r){return e=="{"?s(r,o,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):v(e,o,r)},l.restricted_atBlock=function(e,o,r){return e=="}"?(r.stateArg=null,m(r)):e=="word"?(r.stateArg=="@font-face"&&!ie.hasOwnProperty(o.current().toLowerCase())||r.stateArg=="@counter-style"&&!ne.hasOwnProperty(o.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},l.keyframes=function(e,o,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,o,"top"):v(e,o,r)},l.at=function(e,o,r){return e==";"?m(r):e=="{"||e=="}"?b(e,o,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},l.interpolation=function(e,o,r){return e=="}"?m(r):e=="{"||e==";"?b(e,o,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:f?"block":"top",stateArg:null,context:new U(f?"block":"top",e||0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var r=(o.tokenize||se)(e,o);return r&&typeof r=="object"&&(B=r[1],r=r[0]),n=r,B!="comment"&&(o.state=l[o.state](B,e,o)),n},indent:function(e,o){var r=e.context,a=o&&o.charAt(0),p=r.indent;return r.type=="prop"&&(a=="}"||a==")")&&(r=r.prev),r.prev&&(a=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,p=r.indent):(a==")"&&(r.type=="parens"||r.type=="atBlock_parens")||a=="{"&&(r.type=="at"||r.type=="atBlock"))&&(p=Math.max(0,r.indent-w))),p},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ae,fold:"brace"}});function d(t){for(var i={},f=0;fl[r]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(u,d){(function(c){c(k)})(function(c){var l=function(r){return new RegExp("^(?:"+r.join("|")+")$","i")};c.defineMode("cypher",function(r){var i=function(n){s=null;var e=n.next();if(e==='"')return n.match(/^[^"]*"/),"string";if(e==="'")return n.match(/^[^']*'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return s=e,"node";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(f.test(e))return n.eatWhile(f),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return y.test(t)?"builtin":v.test(t)?"def":m.test(t)||b.test(t)?"keyword":"variable"},a=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},p=function(n){return n.indent=n.context.indent,n.context=n.context.prev},g=r.indentUnit,s,y=l(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),v=l(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),m=l(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),b=l(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),f=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),s==="(")a(e,")",n.column());else if(s==="[")a(e,"]",n.column());else if(s==="{")a(e,"}",n.column());else if(/[\]\}\)]/.test(s)){for(;e.context&&e.context.type==="pattern";)p(e);e.context&&s===e.context.type&&p(e)}else s==="."&&e.context&&e.context.type==="pattern"?p(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?a(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),o=n.context;if(/[\]\}]/.test(t))for(;o&&o.type==="pattern";)o=o.prev;var h=o&&t===o.type;return o?o.type==="keywords"?c.commands.newlineAndIndent:o.align?o.col+(h?0:1):o.indent+(h?0:g):0}}}),c.modeExtensions.cypher={autoFormatLineBreaks:function(r){for(var i,a,p,a=r.split("\n"),p=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,i=0;iu[f]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var U={exports:{}};(function(m,h){(function(c){c(P)})(function(c){c.defineMode("d",function(a,l){var d=a.indentUnit,s=l.statementIndentUnit||d,I=l.keywords||{},O=l.builtin||{},b=l.blockKeywords||{},S=l.atoms||{},k=l.hooks||{},L=l.multiLineStrings,x=/[+\-*&%=<>!?|\/]/,i;function v(e,n){var t=e.next();if(k[t]){var r=k[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'"||t=="`")return n.tokenize=j(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=_,_(e,n);if(e.eat("*"))return n.tokenize=w,w(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return I.propertyIsEnumerable(o)?(b.propertyIsEnumerable(o)&&(i="newstatement"),"keyword"):O.propertyIsEnumerable(o)?(b.propertyIsEnumerable(o)&&(i="newstatement"),"builtin"):S.propertyIsEnumerable(o)?"atom":"variable"}function j(e){return function(n,t){for(var r=!1,o,z=!1;(o=n.next())!=null;){if(o==e&&!r){z=!0;break}r=!r&&o=="\\"}return(z||!(r||L))&&(t.tokenize=null),"string"}}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="*"}return"comment"}function _(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="+"}return"comment"}function g(e,n,t,r,o){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=o}function y(e,n,t){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new g(r,n,t,null,e.context)}function p(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new g((e||0)-d,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var r=(n.tokenize||v)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")p(n);else if(i=="{")y(n,e.column(),"}");else if(i=="[")y(n,e.column(),"]");else if(i=="(")y(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=p(n);for(t.type=="}"&&(t=p(n));t.type=="statement";)t=p(n)}else i==t.type?p(n):((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&y(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=v&&e.tokenize!=null)return c.Pass;var t=e.context,r=n&&n.charAt(0);t.type=="statement"&&r=="}"&&(t=t.prev);var o=r==t.type;return t.type=="statement"?t.indented+(r=="{"?0:s):t.align?t.column+(o?0:1):t.indented+(o?0:d)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function u(a){for(var l={},d=a.split(" "),s=0;si[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(c,s){(function(r){r(I,j)})(function(r){var i="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when".split(" "),a="try catch finally do else for if switch while".split(" "),l="true false null".split(" "),v="void bool num int double dynamic var String Null Never".split(" ");function u(e){for(var n={},t=0;t0?(n.tokenize=g(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=d(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var o=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(o.test(e.current()))return"variable-2"}}}});function k(e,n,t,o){var b=!1;if(n.eat(e))if(n.eat(e))b=!0;else return"string";function y(f,h){for(var p=!1;!f.eol();){if(!o&&!p&&f.peek()=="$")return x(h),h.tokenize=S,"string";var w=f.next();if(w==e&&!p&&(!b||f.match(e+e))){h.tokenize=null;break}p=!o&&!p&&w=="\\"}return"string"}return t.tokenize=y,y(n,t)}function S(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=_,null}function _(e,n){return e.eatWhile(/[\w_]/),n.tokenize=g(n),"variable"}function d(e){return function(n,t){for(var o;o=n.next();)if(o=="*"&&n.eat("/"))if(e==1){t.tokenize=null;break}else return t.tokenize=d(e-1),t.tokenize(n,t);else if(o=="/"&&n.eat("*"))return t.tokenize=d(e+1),t.tokenize(n,t);return"comment"}}r.registerHelper("hintWords","application/dart",i.concat(l).concat(v)),r.defineMode("dart",function(e){return r.getMode(e,"application/dart")},"clike")})})();var z=O.exports;const A=$(z),W=E({__proto__:null,default:A},[z]);export{W as d}; diff --git a/dist-ui/assets/diff-CDR0L1Bi.js b/dist-ui/assets/diff-CDR0L1Bi.js new file mode 100644 index 00000000..74427d0c --- /dev/null +++ b/dist-ui/assets/diff-CDR0L1Bi.js @@ -0,0 +1 @@ +import{g as s,c}from"./index-BLHgoTgd.js";function d(n,f){for(var t=0;tr[e]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(n,f){(function(t){t(c)})(function(t){t.defineMode("diff",function(){var r={"+":"positive","-":"negative","@":"meta"};return{token:function(e){var o=e.string.search(/[\t ]+?$/);if(!e.sol()||o===0)return e.skipToEnd(),("error "+(r[e.string.charAt(0)]||"")).replace(/ $/,"");var p=r[e.peek()]||e.skipToEnd();return o===-1?e.skipToEnd():e.pos=o,p}}}),t.defineMIME("text/x-diff","diff")})})();var i=u.exports;const a=s(i),g=d({__proto__:null,default:a},[i]);export{g as d}; diff --git a/dist-ui/assets/django-CAJIKadS.js b/dist-ui/assets/django-CAJIKadS.js new file mode 100644 index 00000000..3bb6f86c --- /dev/null +++ b/dist-ui/assets/django-CAJIKadS.js @@ -0,0 +1 @@ +import{g as s,c as y}from"./index-BLHgoTgd.js";import{r as x}from"./htmlmixed-DMkIMe4i.js";import{r as z}from"./overlay-Dtk6ZH6S.js";function j(f,p){for(var n=0;ni[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}};(function(f,p){(function(n){n(y,x(),z())})(function(n){n.defineMode("django:inner",function(){var i=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],t=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],o=["==","!=","<",">","<=",">="],d=["in","not","or","and"];i=new RegExp("^\\b("+i.join("|")+")\\b"),t=new RegExp("^\\b("+t.join("|")+")\\b"),o=new RegExp("^\\b("+o.join("|")+")\\b"),d=new RegExp("^\\b("+d.join("|")+")\\b");function a(r,e){if(r.match("{{"))return e.tokenize=g,"tag";if(r.match("{%"))return e.tokenize=w,"tag";if(r.match("{#"))return e.tokenize=h,"comment";for(;r.next()!=null&&!r.match(/\{[{%#]/,!1););return null}function c(r,e){return function(l,u){if(!u.escapeNext&&l.eat(r))u.tokenize=e;else{u.escapeNext&&(u.escapeNext=!1);var k=l.next();k=="\\"&&(u.escapeNext=!0)}return"string"}}function g(r,e){if(e.waitDot){if(e.waitDot=!1,r.peek()!=".")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,r.peek()!="|")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return e.waitProperty&&(e.waitProperty=!1,r.match(/\b(\w+)\b/))?(e.waitDot=!0,e.waitPipe=!0,"property"):e.waitFilter&&(e.waitFilter=!1,r.match(t))?"variable-2":r.eatSpace()?(e.waitProperty=!1,"null"):r.match(/\b\d+(\.\d+)?\b/)?"number":r.match("'")?(e.tokenize=c("'",e.tokenize),"string"):r.match('"')?(e.tokenize=c('"',e.tokenize),"string"):r.match(/\b(\w+)\b/)&&!e.foundVariable?(e.waitDot=!0,e.waitPipe=!0,"variable"):r.match("}}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.tokenize=a,"tag"):(r.next(),"null")}function w(r,e){if(e.waitDot){if(e.waitDot=!1,r.peek()!=".")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,r.peek()!="|")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(e.waitProperty&&(e.waitProperty=!1,r.match(/\b(\w+)\b/)))return e.waitDot=!0,e.waitPipe=!0,"property";if(e.waitFilter&&(e.waitFilter=!1,r.match(t)))return"variable-2";if(r.eatSpace())return e.waitProperty=!1,"null";if(r.match(/\b\d+(\.\d+)?\b/))return"number";if(r.match("'"))return e.tokenize=c("'",e.tokenize),"string";if(r.match('"'))return e.tokenize=c('"',e.tokenize),"string";if(r.match(o))return"operator";if(r.match(d))return"keyword";var l=r.match(i);return l?(l[0]=="comment"&&(e.blockCommentTag=!0),"keyword"):r.match(/\b(\w+)\b/)?(e.waitDot=!0,e.waitPipe=!0,"variable"):r.match("%}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.blockCommentTag?(e.blockCommentTag=!1,e.tokenize=b):e.tokenize=a,"tag"):(r.next(),"null")}function h(r,e){return r.match(/^.*?#\}/)?e.tokenize=a:r.skipToEnd(),"comment"}function b(r,e){return r.match(/\{%\s*endcomment\s*%\}/,!1)?(e.tokenize=w,r.match("{%"),"tag"):(r.next(),"comment")}return{startState:function(){return{tokenize:a}},token:function(r,e){return e.tokenize(r,e)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),n.defineMode("django",function(i){var t=n.getMode(i,"text/html"),o=n.getMode(i,"django:inner");return n.overlayMode(t,o)}),n.defineMIME("text/x-django","django")})})();var m=P.exports;const v=s(m),F=j({__proto__:null,default:v},[m]);export{F as d}; diff --git a/dist-ui/assets/dockerfile-BsWaMR8a.js b/dist-ui/assets/dockerfile-BsWaMR8a.js new file mode 100644 index 00000000..c8db529a --- /dev/null +++ b/dist-ui/assets/dockerfile-BsWaMR8a.js @@ -0,0 +1 @@ +import{g as d,c as f,b as m}from"./index-BLHgoTgd.js";function y(o,s){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(o,s){(function(e){e(f,m())})(function(e){var t="from",r=new RegExp("^(\\s*)\\b("+t+")\\b","i"),n=["run","cmd","entrypoint","shell"],u=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),l="expose",i=new RegExp("^(\\s*)("+l+")(\\s+)","i"),a=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],k=[t,l].concat(n).concat(a),x="("+k.join("|")+")",c=new RegExp("^(\\s*)"+x+"(\\s*)(#.*)?$","i"),p=new RegExp("^(\\s*)"+x+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:r,token:[null,"keyword"],sol:!0,next:"from"},{regex:c,token:[null,"keyword",null,"error"],sol:!0},{regex:u,token:[null,"keyword",null],sol:!0,next:"array"},{regex:i,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:p,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile")})})();var g=b.exports;const v=d(g),$=y({__proto__:null,default:v},[g]);export{$ as d}; diff --git a/dist-ui/assets/dtd-DCDEnrGF.js b/dist-ui/assets/dtd-DCDEnrGF.js new file mode 100644 index 00000000..72d68943 --- /dev/null +++ b/dist-ui/assets/dtd-DCDEnrGF.js @@ -0,0 +1 @@ +import{g as b,c as v}from"./index-BLHgoTgd.js";function y(f,d){for(var o=0;ou[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,d){(function(o){o(v)})(function(o){o.defineMode("dtd",function(u){var c=u.indentUnit,r;function l(i,e){return r=e,i}function a(i,e){var n=i.next();if(n=="<"&&i.eat("!")){if(i.eatWhile(/[\-]/))return e.tokenize=k,k(i,e);if(i.eatWhile(/[\w]/))return l("keyword","doindent")}else{if(n=="<"&&i.eat("?"))return e.tokenize=p("meta","?>"),l("meta",n);if(n=="#"&&i.eatWhile(/[\w]/))return l("atom","tag");if(n=="|")return l("keyword","separator");if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return l(null,n);if(n.match(/[\[\]]/))return l("rule",n);if(n=='"'||n=="'")return e.tokenize=h(n),e.tokenize(i,e);if(i.eatWhile(/[a-zA-Z\?\+\d]/)){var t=i.current();return t.substr(t.length-1,t.length).match(/\?|\+/)!==null&&i.backUp(1),l("tag","tag")}else return n=="%"||n=="*"?l("number","number"):(i.eatWhile(/[\w\\\-_%.{,]/),l(null,null))}}function k(i,e){for(var n=0,t;(t=i.next())!=null;){if(n>=2&&t==">"){e.tokenize=a;break}n=t=="-"?n+1:0}return l("comment","comment")}function h(i){return function(e,n){for(var t=!1,s;(s=e.next())!=null;){if(s==i&&!t){n.tokenize=a;break}t=!t&&s=="\\"}return l("string","tag")}}function p(i,e){return function(n,t){for(;!n.eol();){if(n.match(e)){t.tokenize=a;break}n.next()}return i}}return{startState:function(i){return{tokenize:a,baseIndent:i||0,stack:[]}},token:function(i,e){if(i.eatSpace())return null;var n=e.tokenize(i,e),t=e.stack[e.stack.length-1];return i.current()=="["||r==="doindent"||r=="["?e.stack.push("rule"):r==="endtag"?e.stack[e.stack.length-1]="endtag":i.current()=="]"||r=="]"||r==">"&&t=="rule"?e.stack.pop():r=="["&&e.stack.push("["),n},indent:function(i,e){var n=i.stack.length;return e.charAt(0)==="]"?n--:e.substr(e.length-1,e.length)===">"&&(e.substr(0,1)==="<"||r=="doindent"&&e.length>1||(r=="doindent"?n--:r==">"&&e.length>1||r=="tag"&&e!==">"||(r=="tag"&&i.stack[i.stack.length-1]=="rule"?n--:r=="tag"?n++:e===">"&&i.stack[i.stack.length-1]=="rule"&&r===">"?n--:e===">"&&i.stack[i.stack.length-1]=="rule"||(e.substr(0,1)!=="<"&&e.substr(0,1)===">"?n=n-1:e===">"||(n=n-1)))),(r==null||r=="]")&&n--),i.baseIndent+n*c},electricChars:"]>"}}),o.defineMIME("application/xml-dtd","dtd")})})();var g=z.exports;const w=b(g),S=y({__proto__:null,default:w},[g]);export{S as d}; diff --git a/dist-ui/assets/dylan-BcXu4hoO.js b/dist-ui/assets/dylan-BcXu4hoO.js new file mode 100644 index 00000000..49ed9c6a --- /dev/null +++ b/dist-ui/assets/dylan-BcXu4hoO.js @@ -0,0 +1 @@ +import{g as S,c as E}from"./index-BLHgoTgd.js";function O(b,y){for(var f=0;fu[s]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(b,y){(function(f){f(E)})(function(f){function u(a,t){for(var r=0;r",symbolGlobal:"\\*"+r+"\\*",symbolConstant:"\\$"+r},z={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var h in c)c.hasOwnProperty(h)&&(c[h]=new RegExp("^"+c[h]));c.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var p={};p.keyword="keyword",p.definition="def",p.simpleDefinition="def",p.signalingCalls="builtin";var v={},g={};u(["keyword","definition","simpleDefinition","signalingCalls"],function(e){u(t[e],function(i){v[i]=e,g[i]=p[e]})});function x(e,i,n){return i.tokenize=n,n(e,i)}function k(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),x(e,i,m(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return x(e,i,P);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),x(e,i,m('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var d in c)if(c.hasOwnProperty(d)){var o=c[d];if(o instanceof Array&&s(o,function(l){return e.match(l)})||e.match(o))return z[d]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),v.hasOwnProperty(e.current())?g[e.current()]:e.current().match(C)?"variable":(e.next(),"variable-2"))}function P(e,i){for(var n=!1,d=!1,o=0,l;l=e.next();){if(l=="/"&&n)if(o>0)o--;else{i.tokenize=k;break}else l=="*"&&d&&o++;n=l=="*",d=l=="/"}return"comment"}function m(e,i){return function(n,d){for(var o=!1,l,w=!1;(l=n.next())!=null;){if(l==e&&!o){w=!0;break}o=!o&&l=="\\"}return(w||!o)&&(d.tokenize=k),i}}return{startState:function(){return{tokenize:k,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},blockCommentStart:"/*",blockCommentEnd:"*/"}}),f.defineMIME("text/x-dylan","dylan")})})();var D=_.exports;const A=S(D),W=O({__proto__:null,default:A},[D]);export{W as d}; diff --git a/dist-ui/assets/ebnf-WJynPQc5.js b/dist-ui/assets/ebnf-WJynPQc5.js new file mode 100644 index 00000000..53b43230 --- /dev/null +++ b/dist-ui/assets/ebnf-WJynPQc5.js @@ -0,0 +1 @@ +import{g as b,c as k}from"./index-BLHgoTgd.js";function d(f,u){for(var r=0;ri[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(f,u){(function(r){r(k)})(function(r){r.defineMode("ebnf",function(i){var t={slash:0,parenthesis:1},c={comment:0,_string:1,characterClass:2},l=null;return i.bracesMode&&(l=r.getMode(i,i.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,n){if(e){switch(n.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(n.stringType=e.peek(),e.next(),n.stack.unshift(c._string)):e.match("/*")?(n.stack.unshift(c.comment),n.commentType=t.slash):e.match("(*")&&(n.stack.unshift(c.comment),n.commentType=t.parenthesis)),n.stack[0]){case c._string:for(;n.stack[0]===c._string&&!e.eol();)e.peek()===n.stringType?(e.next(),n.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string";case c.comment:for(;n.stack[0]===c.comment&&!e.eol();)n.commentType===t.slash&&e.match("*/")||n.commentType===t.parenthesis&&e.match("*)")?(n.stack.shift(),n.commentType=null):e.match(/^.[^\*]*/);return"comment";case c.characterClass:for(;n.stack[0]===c.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||n.stack.shift();return"operator"}var h=e.peek();if(l!==null&&(n.braced||h==="{")){n.localState===null&&(n.localState=r.startState(l));var a=l.token(e,n.localState),p=e.current();if(!a)for(var o=0;o>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-ebnf","ebnf")})})();var s=g.exports;const y=b(s),x=d({__proto__:null,default:y},[s]);export{x as e}; diff --git a/dist-ui/assets/ecl-DVDI5EoC.js b/dist-ui/assets/ecl-DVDI5EoC.js new file mode 100644 index 00000000..1ba7a11d --- /dev/null +++ b/dist-ui/assets/ecl-DVDI5EoC.js @@ -0,0 +1 @@ +import{g as L,c as S}from"./index-BLHgoTgd.js";function P(d,v){for(var c=0;cs[a]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(d,v){(function(c){c(S)})(function(c){c.defineMode("ecl",function(s){function a(n){for(var t={},e=n.split(" "),r=0;r!?|\/]/,i;function m(n,t){var e=n.next();if(g[e]){var r=g[e](n,t);if(r!==!1)return r}if(e=='"'||e=="'")return t.tokenize=q(e),t.tokenize(n,t);if(/[\[\]{}\(\),;\:\.]/.test(e))return i=e,null;if(/\d/.test(e))return n.eatWhile(/[\w\.]/),"number";if(e=="/"){if(n.eat("*"))return t.tokenize=w,w(n,t);if(n.eat("/"))return n.skipToEnd(),"comment"}if(x.test(e))return n.eatWhile(x),"operator";n.eatWhile(/[\w\$_]/);var o=n.current().toLowerCase();if(I.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"keyword";if(_.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable";if(j.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable-2";if(b.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable-3";if(O.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"builtin";for(var l=o.length-1;l>=0&&(!isNaN(o[l])||o[l]=="_");)--l;if(l>0){var E=o.substr(0,l+1);if(b.propertyIsEnumerable(E))return u.propertyIsEnumerable(E)&&(i="newstatement"),"variable-3"}return C.propertyIsEnumerable(o)?"atom":null}function q(n){return function(t,e){for(var r=!1,o,l=!1;(o=t.next())!=null;){if(o==n&&!r){l=!0;break}r=!r&&o=="\\"}return(l||!r)&&(e.tokenize=m),"string"}}function w(n,t){for(var e=!1,r;r=n.next();){if(r=="/"&&e){t.tokenize=m;break}e=r=="*"}return"comment"}function k(n,t,e,r,o){this.indented=n,this.column=t,this.type=e,this.align=r,this.prev=o}function h(n,t,e){return n.context=new k(n.indented,t,e,null,n.context)}function p(n){var t=n.context.type;return(t==")"||t=="]"||t=="}")&&(n.indented=n.context.indented),n.context=n.context.prev}return{startState:function(n){return{tokenize:null,context:new k((n||0)-y,0,"top",!1),indented:0,startOfLine:!0}},token:function(n,t){var e=t.context;if(n.sol()&&(e.align==null&&(e.align=!1),t.indented=n.indentation(),t.startOfLine=!0),n.eatSpace())return null;i=null;var r=(t.tokenize||m)(n,t);if(r=="comment"||r=="meta")return r;if(e.align==null&&(e.align=!0),(i==";"||i==":")&&e.type=="statement")p(t);else if(i=="{")h(t,n.column(),"}");else if(i=="[")h(t,n.column(),"]");else if(i=="(")h(t,n.column(),")");else if(i=="}"){for(;e.type=="statement";)e=p(t);for(e.type=="}"&&(e=p(t));e.type=="statement";)e=p(t)}else i==e.type?p(t):(e.type=="}"||e.type=="top"||e.type=="statement"&&i=="newstatement")&&h(t,n.column(),"statement");return t.startOfLine=!1,r},indent:function(n,t){if(n.tokenize!=m&&n.tokenize!=null)return 0;var e=n.context,r=t&&t.charAt(0);e.type=="statement"&&r=="}"&&(e=e.prev);var o=r==e.type;return e.type=="statement"?e.indented+(r=="{"?0:y):e.align?e.column+(o?0:1):e.indented+(o?0:y)},electricChars:"{}"}}),c.defineMIME("text/x-ecl","ecl")})})();var z=M.exports;const N=L(z),W=P({__proto__:null,default:N},[z]);export{W as e}; diff --git a/dist-ui/assets/eiffel-DVeuhHHw.js b/dist-ui/assets/eiffel-DVeuhHHw.js new file mode 100644 index 00000000..7cc8c3b9 --- /dev/null +++ b/dist-ui/assets/eiffel-DVeuhHHw.js @@ -0,0 +1 @@ +import{g as h,c as v}from"./index-BLHgoTgd.js";function k(f,l){for(var i=0;io[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(f,l){(function(i){i(v)})(function(i){i.defineMode("eiffel",function(){function o(e){for(var r={},t=0,n=e.length;t>"]);function d(e,r,t){return t.tokenize.push(e),e(r,t)}function g(e,r){if(e.eatSpace())return null;var t=e.next();return t=='"'||t=="'"?d(b(t,"string"),e,r):t=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):t==":"&&e.eat("=")?"operator":/[0-9]/.test(t)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"ident"):/[a-zA-Z_0-9]/.test(t)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"ident"):/[=+\-\/*^%<>~]/.test(t)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function b(e,r,t){return function(n,x){for(var c=!1,s;(s=n.next())!=null;){if(s==e&&(t||!c)){x.tokenize.pop();break}c=!c&&s=="%"}return r}}return{startState:function(){return{tokenize:[g]}},token:function(e,r){var t=r.tokenize[r.tokenize.length-1](e,r);if(t=="ident"){var n=e.current();t=u.propertyIsEnumerable(e.current())?"keyword":a.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(n)?"tag":/^0[bB][0-1]+$/g.test(n)||/^0[cC][0-7]+$/g.test(n)||/^0[xX][a-fA-F0-9]+$/g.test(n)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(n)||/^[0-9]+$/g.test(n)?"number":"variable"}return t},lineComment:"--"}}),i.defineMIME("text/x-eiffel","eiffel")})})();var p=y.exports;const m=h(p),_=k({__proto__:null,default:m},[p]);export{_ as e}; diff --git a/dist-ui/assets/elm-BmUleA6B.js b/dist-ui/assets/elm-BmUleA6B.js new file mode 100644 index 00000000..b3ab37d1 --- /dev/null +++ b/dist-ui/assets/elm-BmUleA6B.js @@ -0,0 +1 @@ +import{g as _,c as O}from"./index-BLHgoTgd.js";function j(p,h){for(var a=0;ar[f]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}};(function(p,h){(function(a){a(O)})(function(a){a.defineMode("elm",function(){function r(t,n,e){return n(e),e(t,n)}var f=/[a-z]/,o=/[A-Z]/,u=/[a-zA-Z0-9_]/,m=/[0-9]/,d=/[0-9A-Fa-f]/,g=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,E=/[ \v\f]/;function i(){return function(t,n){if(t.eatWhile(E))return null;var e=t.next();if(w.test(e))return e==="{"&&t.eat("-")?r(t,n,v(1)):e==="["&&t.match("glsl|")?r(t,n,W):"builtin";if(e==="'")return r(t,n,k);if(e==='"')return t.eat('"')?t.eat('"')?r(t,n,y):"string":r(t,n,b);if(o.test(e))return t.eatWhile(u),"variable-2";if(f.test(e)){var l=t.pos===1;return t.eatWhile(u),l?"def":"variable"}if(m.test(e)){if(e==="0"){if(t.eat(/[xX]/))return t.eatWhile(d),"number"}else t.eatWhile(m);return t.eat(".")&&t.eatWhile(m),t.eat(/[eE]/)&&(t.eat(/[-+]/),t.eatWhile(m)),"number"}return g.test(e)?e==="-"&&t.eat("-")?(t.skipToEnd(),"comment"):(t.eatWhile(g),"keyword"):e==="_"?"keyword":"error"}}function v(t){return t==0?i():function(n,e){for(;!n.eol();){var l=n.next();if(l=="{"&&n.eat("-"))++t;else if(l=="-"&&n.eat("}")&&(--t,t===0))return e(i()),"comment"}return e(v(t)),"comment"}}function y(t,n){for(;!t.eol();){var e=t.next();if(e==='"'&&t.eat('"')&&t.eat('"'))return n(i()),"string"}return"string"}function b(t,n){for(;t.skipTo('\\"');)t.next(),t.next();return t.skipTo('"')?(t.next(),n(i()),"string"):(t.skipToEnd(),n(i()),"error")}function k(t,n){for(;t.skipTo("\\'");)t.next(),t.next();return t.skipTo("'")?(t.next(),n(i()),"string"):(t.skipToEnd(),n(i()),"error")}function W(t,n){for(;!t.eol();){var e=t.next();if(e==="|"&&t.eat("]"))return n(i()),"string"}return"string"}var R={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};return{startState:function(){return{f:i()}},copyState:function(t){return{f:t.f}},lineComment:"--",token:function(t,n){var e=n.f(t,function(T){n.f=T}),l=t.current();return R.hasOwnProperty(l)?"keyword":e}}}),a.defineMIME("text/x-elm","elm")})})();var x=A.exports;const M=_(x),P=j({__proto__:null,default:M},[x]);export{P as e}; diff --git a/dist-ui/assets/emoji-picker-react.esm-CJRhqn-K.js b/dist-ui/assets/emoji-picker-react.esm-CJRhqn-K.js new file mode 100644 index 00000000..009faa62 --- /dev/null +++ b/dist-ui/assets/emoji-picker-react.esm-CJRhqn-K.js @@ -0,0 +1 @@ +import{e as o,R as gf}from"./index-BLHgoTgd.js";var b;(function(f){f.hiddenOnSearch="epr-hidden-on-search",f.searchActive="epr-search-active",f.hidden="epr-hidden",f.visible="epr-visible",f.active="epr-active",f.emoji="epr-emoji",f.category="epr-emoji-category",f.label="epr-emoji-category-label",f.categoryContent="epr-emoji-category-content",f.emojiHasVariations="epr-emoji-has-variations",f.scrollBody="epr-body",f.emojiList="epr-emoji-list",f.external="__EmojiPicker__",f.emojiPicker="EmojiPickerReact",f.open="epr-open",f.vertical="epr-vertical",f.horizontal="epr-horizontal",f.variationPicker="epr-emoji-variation-picker",f.darkTheme="epr-dark-theme",f.autoTheme="epr-auto-theme"})(b||(b={}));function x(){for(var f=arguments.length,e=new Array(f),a=0;a=0)&&(a[r]=f[r]);return a}function g1(f,e){if(f){if(typeof f=="string")return Zf(f,e);var a=Object.prototype.toString.call(f).slice(8,-1);if(a==="Object"&&f.constructor&&(a=f.constructor.name),a==="Map"||a==="Set")return Array.from(f);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Zf(f,e)}}function Zf(f,e){(e==null||e>f.length)&&(e=f.length);for(var a=0,n=new Array(e);a=f.length?{done:!0}:{done:!1,value:f[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var af;(function(f){f.RECENT="recent",f.FREQUENT="frequent"})(af||(af={}));var S;(function(f){f.NATIVE="native",f.APPLE="apple",f.TWITTER="twitter",f.GOOGLE="google",f.FACEBOOK="facebook"})(S||(S={}));var nf;(function(f){f.DARK="dark",f.LIGHT="light",f.AUTO="auto"})(nf||(nf={}));var _;(function(f){f.NEUTRAL="neutral",f.LIGHT="1f3fb",f.MEDIUM_LIGHT="1f3fc",f.MEDIUM="1f3fd",f.MEDIUM_DARK="1f3fe",f.DARK="1f3ff"})(_||(_={}));var m;(function(f){f.SUGGESTED="suggested",f.CUSTOM="custom",f.SMILEYS_PEOPLE="smileys_people",f.ANIMALS_NATURE="animals_nature",f.FOOD_DRINK="food_drink",f.TRAVEL_PLACES="travel_places",f.ACTIVITIES="activities",f.OBJECTS="objects",f.SYMBOLS="symbols",f.FLAGS="flags"})(m||(m={}));var K;(function(f){f.SEARCH="SEARCH",f.PREVIEW="PREVIEW"})(K||(K={}));var T,m1=[m.SUGGESTED,m.CUSTOM,m.SMILEYS_PEOPLE,m.ANIMALS_NATURE,m.FOOD_DRINK,m.TRAVEL_PLACES,m.ACTIVITIES,m.OBJECTS,m.SYMBOLS,m.FLAGS],p1={name:"Recently Used",category:m.SUGGESTED},pe=(T={},T[m.SUGGESTED]={category:m.SUGGESTED,name:"Frequently Used"},T[m.CUSTOM]={category:m.CUSTOM,name:"Custom Emojis"},T[m.SMILEYS_PEOPLE]={category:m.SMILEYS_PEOPLE,name:"Smileys & People"},T[m.ANIMALS_NATURE]={category:m.ANIMALS_NATURE,name:"Animals & Nature"},T[m.FOOD_DRINK]={category:m.FOOD_DRINK,name:"Food & Drink"},T[m.TRAVEL_PLACES]={category:m.TRAVEL_PLACES,name:"Travel & Places"},T[m.ACTIVITIES]={category:m.ACTIVITIES,name:"Activities"},T[m.OBJECTS]={category:m.OBJECTS,name:"Objects"},T[m.SYMBOLS]={category:m.SYMBOLS,name:"Symbols"},T[m.FLAGS]={category:m.FLAGS,name:"Flags"},T);function he(f){return m1.map(function(e){return B({},pe[e],f&&f[e]&&f[e])})}function _f(f){return f.category}function ve(f){return f.name}function h1(f,e){var a;f===void 0&&(f=[]),e===void 0&&(e={});var n={};e.suggestionMode===af.RECENT&&(n[m.SUGGESTED]=p1);var r=he(n);return(a=f)!=null&&a.length?f.map(function(i){return typeof i=="string"?Qf(i,n[i]):B({},Qf(i.category,n[i.category]),i)}):r}function Qf(f,e){return e===void 0&&(e={}),Object.assign(pe[f],e)}var v1="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",k1="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",w1="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",y1="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";function E1(f){switch(f){case S.TWITTER:return w1;case S.GOOGLE:return y1;case S.FACEBOOK:return k1;case S.APPLE:default:return v1}}var j1=[],C1=[{n:["grinning","grinning face"],u:"1f600",a:"1.0"},{n:["smiley","smiling face with open mouth"],u:"1f603",a:"0.6"},{n:["smile","smiling face with open mouth and smiling eyes"],u:"1f604",a:"0.6"},{n:["grin","grinning face with smiling eyes"],u:"1f601",a:"0.6"},{n:["laughing","satisfied","smiling face with open mouth and tightly-closed eyes"],u:"1f606",a:"0.6"},{n:["sweat smile","smiling face with open mouth and cold sweat"],u:"1f605",a:"0.6"},{n:["rolling on the floor laughing"],u:"1f923",a:"3.0"},{n:["joy","face with tears of joy"],u:"1f602",a:"0.6"},{n:["slightly smiling face"],u:"1f642",a:"1.0"},{n:["upside-down face","upside down face"],u:"1f643",a:"1.0"},{n:["melting face"],u:"1fae0",a:"14.0"},{n:["wink","winking face"],u:"1f609",a:"0.6"},{n:["blush","smiling face with smiling eyes"],u:"1f60a",a:"0.6"},{n:["innocent","smiling face with halo"],u:"1f607",a:"1.0"},{n:["smiling face with 3 hearts","smiling face with smiling eyes and three hearts"],u:"1f970",a:"11.0"},{n:["heart eyes","smiling face with heart-shaped eyes"],u:"1f60d",a:"0.6"},{n:["star-struck","grinning face with star eyes"],u:"1f929",a:"5.0"},{n:["kissing heart","face throwing a kiss"],u:"1f618",a:"0.6"},{n:["kissing","kissing face"],u:"1f617",a:"1.0"},{n:["relaxed","white smiling face"],u:"263a-fe0f",a:"0.6"},{n:["kissing closed eyes","kissing face with closed eyes"],u:"1f61a",a:"0.6"},{n:["kissing smiling eyes","kissing face with smiling eyes"],u:"1f619",a:"1.0"},{n:["smiling face with tear"],u:"1f972",a:"13.0"},{n:["yum","face savouring delicious food"],u:"1f60b",a:"0.6"},{n:["stuck out tongue","face with stuck-out tongue"],u:"1f61b",a:"1.0"},{n:["stuck out tongue winking eye","face with stuck-out tongue and winking eye"],u:"1f61c",a:"0.6"},{n:["zany face","grinning face with one large and one small eye"],u:"1f92a",a:"5.0"},{n:["stuck out tongue closed eyes","face with stuck-out tongue and tightly-closed eyes"],u:"1f61d",a:"0.6"},{n:["money-mouth face","money mouth face"],u:"1f911",a:"1.0"},{n:["hugging face"],u:"1f917",a:"1.0"},{n:["face with hand over mouth","smiling face with smiling eyes and hand covering mouth"],u:"1f92d",a:"5.0"},{n:["face with open eyes and hand over mouth"],u:"1fae2",a:"14.0"},{n:["face with peeking eye"],u:"1fae3",a:"14.0"},{n:["shushing face","face with finger covering closed lips"],u:"1f92b",a:"5.0"},{n:["thinking face"],u:"1f914",a:"1.0"},{n:["saluting face"],u:"1fae1",a:"14.0"},{n:["zipper-mouth face","zipper mouth face"],u:"1f910",a:"1.0"},{n:["face with raised eyebrow","face with one eyebrow raised"],u:"1f928",a:"5.0"},{n:["neutral face"],u:"1f610",a:"0.7"},{n:["expressionless","expressionless face"],u:"1f611",a:"1.0"},{n:["no mouth","face without mouth"],u:"1f636",a:"1.0"},{n:["dotted line face"],u:"1fae5",a:"14.0"},{n:["face in clouds"],u:"1f636-200d-1f32b-fe0f",a:"13.1"},{n:["smirk","smirking face"],u:"1f60f",a:"0.6"},{n:["unamused","unamused face"],u:"1f612",a:"0.6"},{n:["face with rolling eyes"],u:"1f644",a:"1.0"},{n:["grimacing","grimacing face"],u:"1f62c",a:"1.0"},{n:["face exhaling"],u:"1f62e-200d-1f4a8",a:"13.1"},{n:["lying face"],u:"1f925",a:"3.0"},{n:["relieved","relieved face"],u:"1f60c",a:"0.6"},{n:["pensive","pensive face"],u:"1f614",a:"0.6"},{n:["sleepy","sleepy face"],u:"1f62a",a:"0.6"},{n:["drooling face"],u:"1f924",a:"3.0"},{n:["sleeping","sleeping face"],u:"1f634",a:"1.0"},{n:["mask","face with medical mask"],u:"1f637",a:"0.6"},{n:["face with thermometer"],u:"1f912",a:"1.0"},{n:["face with head-bandage","face with head bandage"],u:"1f915",a:"1.0"},{n:["nauseated face"],u:"1f922",a:"3.0"},{n:["face vomiting","face with open mouth vomiting"],u:"1f92e",a:"5.0"},{n:["sneezing face"],u:"1f927",a:"3.0"},{n:["hot face","overheated face"],u:"1f975",a:"11.0"},{n:["cold face","freezing face"],u:"1f976",a:"11.0"},{n:["woozy face","face with uneven eyes and wavy mouth"],u:"1f974",a:"11.0"},{n:["dizzy face"],u:"1f635",a:"0.6"},{n:["face with spiral eyes"],u:"1f635-200d-1f4ab",a:"13.1"},{n:["exploding head","shocked face with exploding head"],u:"1f92f",a:"5.0"},{n:["face with cowboy hat"],u:"1f920",a:"3.0"},{n:["partying face","face with party horn and party hat"],u:"1f973",a:"11.0"},{n:["disguised face"],u:"1f978",a:"13.0"},{n:["sunglasses","smiling face with sunglasses"],u:"1f60e",a:"1.0"},{n:["nerd face"],u:"1f913",a:"1.0"},{n:["face with monocle"],u:"1f9d0",a:"5.0"},{n:["confused","confused face"],u:"1f615",a:"1.0"},{n:["face with diagonal mouth"],u:"1fae4",a:"14.0"},{n:["worried","worried face"],u:"1f61f",a:"1.0"},{n:["slightly frowning face"],u:"1f641",a:"1.0"},{n:["frowning face","white frowning face"],u:"2639-fe0f",a:"0.7"},{n:["open mouth","face with open mouth"],u:"1f62e",a:"1.0"},{n:["hushed","hushed face"],u:"1f62f",a:"1.0"},{n:["astonished","astonished face"],u:"1f632",a:"0.6"},{n:["flushed","flushed face"],u:"1f633",a:"0.6"},{n:["pleading face","face with pleading eyes"],u:"1f97a",a:"11.0"},{n:["face holding back tears"],u:"1f979",a:"14.0"},{n:["frowning","frowning face with open mouth"],u:"1f626",a:"1.0"},{n:["anguished","anguished face"],u:"1f627",a:"1.0"},{n:["fearful","fearful face"],u:"1f628",a:"0.6"},{n:["cold sweat","face with open mouth and cold sweat"],u:"1f630",a:"0.6"},{n:["disappointed relieved","disappointed but relieved face"],u:"1f625",a:"0.6"},{n:["cry","crying face"],u:"1f622",a:"0.6"},{n:["sob","loudly crying face"],u:"1f62d",a:"0.6"},{n:["scream","face screaming in fear"],u:"1f631",a:"0.6"},{n:["confounded","confounded face"],u:"1f616",a:"0.6"},{n:["persevere","persevering face"],u:"1f623",a:"0.6"},{n:["disappointed","disappointed face"],u:"1f61e",a:"0.6"},{n:["sweat","face with cold sweat"],u:"1f613",a:"0.6"},{n:["weary","weary face"],u:"1f629",a:"0.6"},{n:["tired face"],u:"1f62b",a:"0.6"},{n:["yawning face"],u:"1f971",a:"12.0"},{n:["triumph","face with look of triumph"],u:"1f624",a:"0.6"},{n:["rage","pouting face"],u:"1f621",a:"0.6"},{n:["angry","angry face"],u:"1f620",a:"0.6"},{n:["face with symbols on mouth","serious face with symbols covering mouth"],u:"1f92c",a:"5.0"},{n:["smiling imp","smiling face with horns"],u:"1f608",a:"1.0"},{n:["imp"],u:"1f47f",a:"0.6"},{n:["skull"],u:"1f480",a:"0.6"},{n:["skull and crossbones"],u:"2620-fe0f",a:"1.0"},{n:["poop","shit","hankey","pile of poo"],u:"1f4a9",a:"0.6"},{n:["clown face"],u:"1f921",a:"3.0"},{n:["japanese ogre"],u:"1f479",a:"0.6"},{n:["japanese goblin"],u:"1f47a",a:"0.6"},{n:["ghost"],u:"1f47b",a:"0.6"},{n:["alien","extraterrestrial alien"],u:"1f47d",a:"0.6"},{n:["alien monster","space invader"],u:"1f47e",a:"0.6"},{n:["robot face"],u:"1f916",a:"1.0"},{n:["smiley cat","smiling cat face with open mouth"],u:"1f63a",a:"0.6"},{n:["smile cat","grinning cat face with smiling eyes"],u:"1f638",a:"0.6"},{n:["joy cat","cat face with tears of joy"],u:"1f639",a:"0.6"},{n:["heart eyes cat","smiling cat face with heart-shaped eyes"],u:"1f63b",a:"0.6"},{n:["smirk cat","cat face with wry smile"],u:"1f63c",a:"0.6"},{n:["kissing cat","kissing cat face with closed eyes"],u:"1f63d",a:"0.6"},{n:["scream cat","weary cat face"],u:"1f640",a:"0.6"},{n:["crying cat face"],u:"1f63f",a:"0.6"},{n:["pouting cat","pouting cat face"],u:"1f63e",a:"0.6"},{n:["see no evil","see-no-evil monkey"],u:"1f648",a:"0.6"},{n:["hear no evil","hear-no-evil monkey"],u:"1f649",a:"0.6"},{n:["speak no evil","speak-no-evil monkey"],u:"1f64a",a:"0.6"},{n:["kiss","kiss mark"],u:"1f48b",a:"0.6"},{n:["love letter"],u:"1f48c",a:"0.6"},{n:["cupid","heart with arrow"],u:"1f498",a:"0.6"},{n:["gift heart","heart with ribbon"],u:"1f49d",a:"0.6"},{n:["sparkling heart"],u:"1f496",a:"0.6"},{n:["heartpulse","growing heart"],u:"1f497",a:"0.6"},{n:["heartbeat","beating heart"],u:"1f493",a:"0.6"},{n:["revolving hearts"],u:"1f49e",a:"0.6"},{n:["two hearts"],u:"1f495",a:"0.6"},{n:["heart decoration"],u:"1f49f",a:"0.6"},{n:["heart exclamation","heavy heart exclamation mark ornament"],u:"2763-fe0f",a:"1.0"},{n:["broken heart"],u:"1f494",a:"0.6"},{n:["heart on fire"],u:"2764-fe0f-200d-1f525",a:"13.1"},{n:["mending heart"],u:"2764-fe0f-200d-1fa79",a:"13.1"},{n:["heart","heavy black heart"],u:"2764-fe0f",a:"0.6"},{n:["orange heart"],u:"1f9e1",a:"5.0"},{n:["yellow heart"],u:"1f49b",a:"0.6"},{n:["green heart"],u:"1f49a",a:"0.6"},{n:["blue heart"],u:"1f499",a:"0.6"},{n:["purple heart"],u:"1f49c",a:"0.6"},{n:["brown heart"],u:"1f90e",a:"12.0"},{n:["black heart"],u:"1f5a4",a:"3.0"},{n:["white heart"],u:"1f90d",a:"12.0"},{n:["100","hundred points symbol"],u:"1f4af",a:"0.6"},{n:["anger","anger symbol"],u:"1f4a2",a:"0.6"},{n:["boom","collision","collision symbol"],u:"1f4a5",a:"0.6"},{n:["dizzy","dizzy symbol"],u:"1f4ab",a:"0.6"},{n:["sweat drops","splashing sweat symbol"],u:"1f4a6",a:"0.6"},{n:["dash","dash symbol"],u:"1f4a8",a:"0.6"},{n:["hole"],u:"1f573-fe0f",a:"0.7"},{n:["bomb"],u:"1f4a3",a:"0.6"},{n:["speech balloon"],u:"1f4ac",a:"0.6"},{n:["eye in speech bubble","eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f",a:"2.0"},{n:["left speech bubble"],u:"1f5e8-fe0f",a:"2.0"},{n:["right anger bubble"],u:"1f5ef-fe0f",a:"0.7"},{n:["thought balloon"],u:"1f4ad",a:"1.0"},{n:["zzz","sleeping symbol"],u:"1f4a4",a:"0.6"},{n:["wave","waving hand sign"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"],a:"0.6"},{n:["raised back of hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"],a:"3.0"},{n:["hand with fingers splayed","raised hand with fingers splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"],a:"0.7"},{n:["hand","raised hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"],a:"0.6"},{n:["spock-hand","raised hand with part between middle and ring fingers"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"],a:"1.0"},{n:["rightwards hand"],u:"1faf1",v:["1faf1-1f3fb","1faf1-1f3fc","1faf1-1f3fd","1faf1-1f3fe","1faf1-1f3ff"],a:"14.0"},{n:["leftwards hand"],u:"1faf2",v:["1faf2-1f3fb","1faf2-1f3fc","1faf2-1f3fd","1faf2-1f3fe","1faf2-1f3ff"],a:"14.0"},{n:["palm down hand"],u:"1faf3",v:["1faf3-1f3fb","1faf3-1f3fc","1faf3-1f3fd","1faf3-1f3fe","1faf3-1f3ff"],a:"14.0"},{n:["palm up hand"],u:"1faf4",v:["1faf4-1f3fb","1faf4-1f3fc","1faf4-1f3fd","1faf4-1f3fe","1faf4-1f3ff"],a:"14.0"},{n:["ok hand","ok hand sign"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"],a:"0.6"},{n:["pinched fingers"],u:"1f90c",v:["1f90c-1f3fb","1f90c-1f3fc","1f90c-1f3fd","1f90c-1f3fe","1f90c-1f3ff"],a:"13.0"},{n:["pinching hand"],u:"1f90f",v:["1f90f-1f3fb","1f90f-1f3fc","1f90f-1f3fd","1f90f-1f3fe","1f90f-1f3ff"],a:"12.0"},{n:["v","victory hand"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"],a:"0.6"},{n:["crossed fingers","hand with index and middle fingers crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"],a:"3.0"},{n:["hand with index finger and thumb crossed"],u:"1faf0",v:["1faf0-1f3fb","1faf0-1f3fc","1faf0-1f3fd","1faf0-1f3fe","1faf0-1f3ff"],a:"14.0"},{n:["i love you hand sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"],a:"5.0"},{n:["the horns","sign of the horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"],a:"1.0"},{n:["call me hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"],a:"3.0"},{n:["point left","white left pointing backhand index"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"],a:"0.6"},{n:["point right","white right pointing backhand index"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"],a:"0.6"},{n:["point up 2","white up pointing backhand index"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"],a:"0.6"},{n:["middle finger","reversed hand with middle finger extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"],a:"1.0"},{n:["point down","white down pointing backhand index"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"],a:"0.6"},{n:["point up","white up pointing index"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"],a:"0.6"},{n:["index pointing at the viewer"],u:"1faf5",v:["1faf5-1f3fb","1faf5-1f3fc","1faf5-1f3fd","1faf5-1f3fe","1faf5-1f3ff"],a:"14.0"},{n:["+1","thumbsup","thumbs up sign"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"],a:"0.6"},{n:["-1","thumbsdown","thumbs down sign"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"],a:"0.6"},{n:["fist","raised fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"],a:"0.6"},{n:["punch","facepunch","fisted hand sign"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"],a:"0.6"},{n:["left-facing fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"],a:"3.0"},{n:["right-facing fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"],a:"3.0"},{n:["clap","clapping hands sign"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"],a:"0.6"},{n:["raised hands","person raising both hands in celebration"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"],a:"0.6"},{n:["heart hands"],u:"1faf6",v:["1faf6-1f3fb","1faf6-1f3fc","1faf6-1f3fd","1faf6-1f3fe","1faf6-1f3ff"],a:"14.0"},{n:["open hands","open hands sign"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"],a:"0.6"},{n:["palms up together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"],a:"5.0"},{n:["handshake"],u:"1f91d",v:["1f91d-1f3fb","1f91d-1f3fc","1f91d-1f3fd","1f91d-1f3fe","1f91d-1f3ff","1faf1-1f3fb-200d-1faf2-1f3fc","1faf1-1f3fb-200d-1faf2-1f3fd","1faf1-1f3fb-200d-1faf2-1f3fe","1faf1-1f3fb-200d-1faf2-1f3ff","1faf1-1f3fc-200d-1faf2-1f3fb","1faf1-1f3fc-200d-1faf2-1f3fd","1faf1-1f3fc-200d-1faf2-1f3fe","1faf1-1f3fc-200d-1faf2-1f3ff","1faf1-1f3fd-200d-1faf2-1f3fb","1faf1-1f3fd-200d-1faf2-1f3fc","1faf1-1f3fd-200d-1faf2-1f3fe","1faf1-1f3fd-200d-1faf2-1f3ff","1faf1-1f3fe-200d-1faf2-1f3fb","1faf1-1f3fe-200d-1faf2-1f3fc","1faf1-1f3fe-200d-1faf2-1f3fd","1faf1-1f3fe-200d-1faf2-1f3ff","1faf1-1f3ff-200d-1faf2-1f3fb","1faf1-1f3ff-200d-1faf2-1f3fc","1faf1-1f3ff-200d-1faf2-1f3fd","1faf1-1f3ff-200d-1faf2-1f3fe"],a:"3.0"},{n:["pray","person with folded hands"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"],a:"0.6"},{n:["writing hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"],a:"0.7"},{n:["nail care","nail polish"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"],a:"0.6"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"],a:"3.0"},{n:["muscle","flexed biceps"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"],a:"0.6"},{n:["mechanical arm"],u:"1f9be",a:"12.0"},{n:["mechanical leg"],u:"1f9bf",a:"12.0"},{n:["leg"],u:"1f9b5",v:["1f9b5-1f3fb","1f9b5-1f3fc","1f9b5-1f3fd","1f9b5-1f3fe","1f9b5-1f3ff"],a:"11.0"},{n:["foot"],u:"1f9b6",v:["1f9b6-1f3fb","1f9b6-1f3fc","1f9b6-1f3fd","1f9b6-1f3fe","1f9b6-1f3ff"],a:"11.0"},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"],a:"0.6"},{n:["ear with hearing aid"],u:"1f9bb",v:["1f9bb-1f3fb","1f9bb-1f3fc","1f9bb-1f3fd","1f9bb-1f3fe","1f9bb-1f3ff"],a:"12.0"},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"],a:"0.6"},{n:["brain"],u:"1f9e0",a:"5.0"},{n:["anatomical heart"],u:"1fac0",a:"13.0"},{n:["lungs"],u:"1fac1",a:"13.0"},{n:["tooth"],u:"1f9b7",a:"11.0"},{n:["bone"],u:"1f9b4",a:"11.0"},{n:["eyes"],u:"1f440",a:"0.6"},{n:["eye"],u:"1f441-fe0f",a:"0.7"},{n:["tongue"],u:"1f445",a:"0.6"},{n:["lips","mouth"],u:"1f444",a:"0.6"},{n:["biting lip"],u:"1fae6",a:"14.0"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"],a:"0.6"},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"],a:"5.0"},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"],a:"0.6"},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"],a:"0.6"},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"],a:"5.0"},{n:["person with blond hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"],a:"0.6"},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"],a:"0.6"},{n:["bearded person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"],a:"5.0"},{n:["man: beard","man with beard"],u:"1f9d4-200d-2642-fe0f",v:["1f9d4-1f3fb-200d-2642-fe0f","1f9d4-1f3fc-200d-2642-fe0f","1f9d4-1f3fd-200d-2642-fe0f","1f9d4-1f3fe-200d-2642-fe0f","1f9d4-1f3ff-200d-2642-fe0f"],a:"13.1"},{n:["woman: beard","woman with beard"],u:"1f9d4-200d-2640-fe0f",v:["1f9d4-1f3fb-200d-2640-fe0f","1f9d4-1f3fc-200d-2640-fe0f","1f9d4-1f3fd-200d-2640-fe0f","1f9d4-1f3fe-200d-2640-fe0f","1f9d4-1f3ff-200d-2640-fe0f"],a:"13.1"},{n:["man: red hair","red haired man"],u:"1f468-200d-1f9b0",v:["1f468-1f3fb-200d-1f9b0","1f468-1f3fc-200d-1f9b0","1f468-1f3fd-200d-1f9b0","1f468-1f3fe-200d-1f9b0","1f468-1f3ff-200d-1f9b0"],a:"11.0"},{n:["man: curly hair","curly haired man"],u:"1f468-200d-1f9b1",v:["1f468-1f3fb-200d-1f9b1","1f468-1f3fc-200d-1f9b1","1f468-1f3fd-200d-1f9b1","1f468-1f3fe-200d-1f9b1","1f468-1f3ff-200d-1f9b1"],a:"11.0"},{n:["man: white hair","white haired man"],u:"1f468-200d-1f9b3",v:["1f468-1f3fb-200d-1f9b3","1f468-1f3fc-200d-1f9b3","1f468-1f3fd-200d-1f9b3","1f468-1f3fe-200d-1f9b3","1f468-1f3ff-200d-1f9b3"],a:"11.0"},{n:["bald man","man: bald"],u:"1f468-200d-1f9b2",v:["1f468-1f3fb-200d-1f9b2","1f468-1f3fc-200d-1f9b2","1f468-1f3fd-200d-1f9b2","1f468-1f3fe-200d-1f9b2","1f468-1f3ff-200d-1f9b2"],a:"11.0"},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"],a:"0.6"},{n:["woman: red hair","red haired woman"],u:"1f469-200d-1f9b0",v:["1f469-1f3fb-200d-1f9b0","1f469-1f3fc-200d-1f9b0","1f469-1f3fd-200d-1f9b0","1f469-1f3fe-200d-1f9b0","1f469-1f3ff-200d-1f9b0"],a:"11.0"},{n:["person: red hair","red haired person"],u:"1f9d1-200d-1f9b0",v:["1f9d1-1f3fb-200d-1f9b0","1f9d1-1f3fc-200d-1f9b0","1f9d1-1f3fd-200d-1f9b0","1f9d1-1f3fe-200d-1f9b0","1f9d1-1f3ff-200d-1f9b0"],a:"12.1"},{n:["woman: curly hair","curly haired woman"],u:"1f469-200d-1f9b1",v:["1f469-1f3fb-200d-1f9b1","1f469-1f3fc-200d-1f9b1","1f469-1f3fd-200d-1f9b1","1f469-1f3fe-200d-1f9b1","1f469-1f3ff-200d-1f9b1"],a:"11.0"},{n:["person: curly hair","curly haired person"],u:"1f9d1-200d-1f9b1",v:["1f9d1-1f3fb-200d-1f9b1","1f9d1-1f3fc-200d-1f9b1","1f9d1-1f3fd-200d-1f9b1","1f9d1-1f3fe-200d-1f9b1","1f9d1-1f3ff-200d-1f9b1"],a:"12.1"},{n:["woman: white hair","white haired woman"],u:"1f469-200d-1f9b3",v:["1f469-1f3fb-200d-1f9b3","1f469-1f3fc-200d-1f9b3","1f469-1f3fd-200d-1f9b3","1f469-1f3fe-200d-1f9b3","1f469-1f3ff-200d-1f9b3"],a:"11.0"},{n:["person: white hair","white haired person"],u:"1f9d1-200d-1f9b3",v:["1f9d1-1f3fb-200d-1f9b3","1f9d1-1f3fc-200d-1f9b3","1f9d1-1f3fd-200d-1f9b3","1f9d1-1f3fe-200d-1f9b3","1f9d1-1f3ff-200d-1f9b3"],a:"12.1"},{n:["bald woman","woman: bald"],u:"1f469-200d-1f9b2",v:["1f469-1f3fb-200d-1f9b2","1f469-1f3fc-200d-1f9b2","1f469-1f3fd-200d-1f9b2","1f469-1f3fe-200d-1f9b2","1f469-1f3ff-200d-1f9b2"],a:"11.0"},{n:["bald person","person: bald"],u:"1f9d1-200d-1f9b2",v:["1f9d1-1f3fb-200d-1f9b2","1f9d1-1f3fc-200d-1f9b2","1f9d1-1f3fd-200d-1f9b2","1f9d1-1f3fe-200d-1f9b2","1f9d1-1f3ff-200d-1f9b2"],a:"12.1"},{n:["woman: blond hair","blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man: blond hair","blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["older adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"],a:"5.0"},{n:["older man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"],a:"0.6"},{n:["older woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"],a:"0.6"},{n:["person frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"],a:"0.6"},{n:["man frowning","man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman frowning","woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with pouting face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"],a:"0.6"},{n:["man pouting","man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman pouting","woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["no good","face with no good gesture"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"],a:"0.6"},{n:["man gesturing no","man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing no","woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ok woman","face with ok gesture"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"],a:"0.6"},{n:["man gesturing ok","man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing ok","woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["information desk person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"],a:"0.6"},{n:["man tipping hand","man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman tipping hand","woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["raising hand","happy person raising one hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"],a:"0.6"},{n:["man raising hand","man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman raising hand","woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["deaf person"],u:"1f9cf",v:["1f9cf-1f3fb","1f9cf-1f3fc","1f9cf-1f3fd","1f9cf-1f3fe","1f9cf-1f3ff"],a:"12.0"},{n:["deaf man"],u:"1f9cf-200d-2642-fe0f",v:["1f9cf-1f3fb-200d-2642-fe0f","1f9cf-1f3fc-200d-2642-fe0f","1f9cf-1f3fd-200d-2642-fe0f","1f9cf-1f3fe-200d-2642-fe0f","1f9cf-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["deaf woman"],u:"1f9cf-200d-2640-fe0f",v:["1f9cf-1f3fb-200d-2640-fe0f","1f9cf-1f3fc-200d-2640-fe0f","1f9cf-1f3fd-200d-2640-fe0f","1f9cf-1f3fe-200d-2640-fe0f","1f9cf-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["bow","person bowing deeply"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"],a:"0.6"},{n:["man bowing","man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bowing","woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["face palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"],a:"3.0"},{n:["man facepalming","man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman facepalming","woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"],a:"3.0"},{n:["man shrugging","man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman shrugging","woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["health worker"],u:"1f9d1-200d-2695-fe0f",v:["1f9d1-1f3fb-200d-2695-fe0f","1f9d1-1f3fc-200d-2695-fe0f","1f9d1-1f3fd-200d-2695-fe0f","1f9d1-1f3fe-200d-2695-fe0f","1f9d1-1f3ff-200d-2695-fe0f"],a:"12.1"},{n:["male-doctor","man health worker"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["female-doctor","woman health worker"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["student"],u:"1f9d1-200d-1f393",v:["1f9d1-1f3fb-200d-1f393","1f9d1-1f3fc-200d-1f393","1f9d1-1f3fd-200d-1f393","1f9d1-1f3fe-200d-1f393","1f9d1-1f3ff-200d-1f393"],a:"12.1"},{n:["man student","male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"],a:"4.0"},{n:["woman student","female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"],a:"4.0"},{n:["teacher"],u:"1f9d1-200d-1f3eb",v:["1f9d1-1f3fb-200d-1f3eb","1f9d1-1f3fc-200d-1f3eb","1f9d1-1f3fd-200d-1f3eb","1f9d1-1f3fe-200d-1f3eb","1f9d1-1f3ff-200d-1f3eb"],a:"12.1"},{n:["man teacher","male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"],a:"4.0"},{n:["woman teacher","female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"],a:"4.0"},{n:["judge"],u:"1f9d1-200d-2696-fe0f",v:["1f9d1-1f3fb-200d-2696-fe0f","1f9d1-1f3fc-200d-2696-fe0f","1f9d1-1f3fd-200d-2696-fe0f","1f9d1-1f3fe-200d-2696-fe0f","1f9d1-1f3ff-200d-2696-fe0f"],a:"12.1"},{n:["man judge","male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["woman judge","female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["farmer"],u:"1f9d1-200d-1f33e",v:["1f9d1-1f3fb-200d-1f33e","1f9d1-1f3fc-200d-1f33e","1f9d1-1f3fd-200d-1f33e","1f9d1-1f3fe-200d-1f33e","1f9d1-1f3ff-200d-1f33e"],a:"12.1"},{n:["man farmer","male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"],a:"4.0"},{n:["woman farmer","female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"],a:"4.0"},{n:["cook"],u:"1f9d1-200d-1f373",v:["1f9d1-1f3fb-200d-1f373","1f9d1-1f3fc-200d-1f373","1f9d1-1f3fd-200d-1f373","1f9d1-1f3fe-200d-1f373","1f9d1-1f3ff-200d-1f373"],a:"12.1"},{n:["man cook","male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"],a:"4.0"},{n:["woman cook","female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"],a:"4.0"},{n:["mechanic"],u:"1f9d1-200d-1f527",v:["1f9d1-1f3fb-200d-1f527","1f9d1-1f3fc-200d-1f527","1f9d1-1f3fd-200d-1f527","1f9d1-1f3fe-200d-1f527","1f9d1-1f3ff-200d-1f527"],a:"12.1"},{n:["man mechanic","male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"],a:"4.0"},{n:["woman mechanic","female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"],a:"4.0"},{n:["factory worker"],u:"1f9d1-200d-1f3ed",v:["1f9d1-1f3fb-200d-1f3ed","1f9d1-1f3fc-200d-1f3ed","1f9d1-1f3fd-200d-1f3ed","1f9d1-1f3fe-200d-1f3ed","1f9d1-1f3ff-200d-1f3ed"],a:"12.1"},{n:["man factory worker","male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"],a:"4.0"},{n:["woman factory worker","female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"],a:"4.0"},{n:["office worker"],u:"1f9d1-200d-1f4bc",v:["1f9d1-1f3fb-200d-1f4bc","1f9d1-1f3fc-200d-1f4bc","1f9d1-1f3fd-200d-1f4bc","1f9d1-1f3fe-200d-1f4bc","1f9d1-1f3ff-200d-1f4bc"],a:"12.1"},{n:["man office worker","male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"],a:"4.0"},{n:["woman office worker","female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"],a:"4.0"},{n:["scientist"],u:"1f9d1-200d-1f52c",v:["1f9d1-1f3fb-200d-1f52c","1f9d1-1f3fc-200d-1f52c","1f9d1-1f3fd-200d-1f52c","1f9d1-1f3fe-200d-1f52c","1f9d1-1f3ff-200d-1f52c"],a:"12.1"},{n:["man scientist","male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"],a:"4.0"},{n:["woman scientist","female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"],a:"4.0"},{n:["technologist"],u:"1f9d1-200d-1f4bb",v:["1f9d1-1f3fb-200d-1f4bb","1f9d1-1f3fc-200d-1f4bb","1f9d1-1f3fd-200d-1f4bb","1f9d1-1f3fe-200d-1f4bb","1f9d1-1f3ff-200d-1f4bb"],a:"12.1"},{n:["man technologist","male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"],a:"4.0"},{n:["woman technologist","female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"],a:"4.0"},{n:["singer"],u:"1f9d1-200d-1f3a4",v:["1f9d1-1f3fb-200d-1f3a4","1f9d1-1f3fc-200d-1f3a4","1f9d1-1f3fd-200d-1f3a4","1f9d1-1f3fe-200d-1f3a4","1f9d1-1f3ff-200d-1f3a4"],a:"12.1"},{n:["man singer","male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"],a:"4.0"},{n:["woman singer","female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"],a:"4.0"},{n:["artist"],u:"1f9d1-200d-1f3a8",v:["1f9d1-1f3fb-200d-1f3a8","1f9d1-1f3fc-200d-1f3a8","1f9d1-1f3fd-200d-1f3a8","1f9d1-1f3fe-200d-1f3a8","1f9d1-1f3ff-200d-1f3a8"],a:"12.1"},{n:["man artist","male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"],a:"4.0"},{n:["woman artist","female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"],a:"4.0"},{n:["pilot"],u:"1f9d1-200d-2708-fe0f",v:["1f9d1-1f3fb-200d-2708-fe0f","1f9d1-1f3fc-200d-2708-fe0f","1f9d1-1f3fd-200d-2708-fe0f","1f9d1-1f3fe-200d-2708-fe0f","1f9d1-1f3ff-200d-2708-fe0f"],a:"12.1"},{n:["man pilot","male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["woman pilot","female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["astronaut"],u:"1f9d1-200d-1f680",v:["1f9d1-1f3fb-200d-1f680","1f9d1-1f3fc-200d-1f680","1f9d1-1f3fd-200d-1f680","1f9d1-1f3fe-200d-1f680","1f9d1-1f3ff-200d-1f680"],a:"12.1"},{n:["man astronaut","male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"],a:"4.0"},{n:["woman astronaut","female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"],a:"4.0"},{n:["firefighter"],u:"1f9d1-200d-1f692",v:["1f9d1-1f3fb-200d-1f692","1f9d1-1f3fc-200d-1f692","1f9d1-1f3fd-200d-1f692","1f9d1-1f3fe-200d-1f692","1f9d1-1f3ff-200d-1f692"],a:"12.1"},{n:["man firefighter","male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"],a:"4.0"},{n:["woman firefighter","female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"],a:"4.0"},{n:["cop","police officer"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"],a:"0.6"},{n:["man police officer","male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman police officer","female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["detective","sleuth or spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"],a:"0.7"},{n:["man detective","male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman detective","female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"],a:"0.6"},{n:["man guard","male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman guard","female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ninja"],u:"1f977",v:["1f977-1f3fb","1f977-1f3fc","1f977-1f3fd","1f977-1f3fe","1f977-1f3ff"],a:"13.0"},{n:["construction worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"],a:"0.6"},{n:["man construction worker","male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman construction worker","female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with crown"],u:"1fac5",v:["1fac5-1f3fb","1fac5-1f3fc","1fac5-1f3fd","1fac5-1f3fe","1fac5-1f3ff"],a:"14.0"},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"],a:"3.0"},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"],a:"0.6"},{n:["man with turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"],a:"0.6"},{n:["man wearing turban","man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman wearing turban","woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man with gua pi mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"],a:"0.6"},{n:["person with headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"],a:"5.0"},{n:["man in tuxedo","person in tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"],a:"3.0"},{n:["man in tuxedo"],u:"1f935-200d-2642-fe0f",v:["1f935-1f3fb-200d-2642-fe0f","1f935-1f3fc-200d-2642-fe0f","1f935-1f3fd-200d-2642-fe0f","1f935-1f3fe-200d-2642-fe0f","1f935-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman in tuxedo"],u:"1f935-200d-2640-fe0f",v:["1f935-1f3fb-200d-2640-fe0f","1f935-1f3fc-200d-2640-fe0f","1f935-1f3fd-200d-2640-fe0f","1f935-1f3fe-200d-2640-fe0f","1f935-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["bride with veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"],a:"0.6"},{n:["man with veil"],u:"1f470-200d-2642-fe0f",v:["1f470-1f3fb-200d-2642-fe0f","1f470-1f3fc-200d-2642-fe0f","1f470-1f3fd-200d-2642-fe0f","1f470-1f3fe-200d-2642-fe0f","1f470-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman with veil"],u:"1f470-200d-2640-fe0f",v:["1f470-1f3fb-200d-2640-fe0f","1f470-1f3fc-200d-2640-fe0f","1f470-1f3fd-200d-2640-fe0f","1f470-1f3fe-200d-2640-fe0f","1f470-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["pregnant woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"],a:"3.0"},{n:["pregnant man"],u:"1fac3",v:["1fac3-1f3fb","1fac3-1f3fc","1fac3-1f3fd","1fac3-1f3fe","1fac3-1f3ff"],a:"14.0"},{n:["pregnant person"],u:"1fac4",v:["1fac4-1f3fb","1fac4-1f3fc","1fac4-1f3fd","1fac4-1f3fe","1fac4-1f3ff"],a:"14.0"},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"],a:"5.0"},{n:["woman feeding baby"],u:"1f469-200d-1f37c",v:["1f469-1f3fb-200d-1f37c","1f469-1f3fc-200d-1f37c","1f469-1f3fd-200d-1f37c","1f469-1f3fe-200d-1f37c","1f469-1f3ff-200d-1f37c"],a:"13.0"},{n:["man feeding baby"],u:"1f468-200d-1f37c",v:["1f468-1f3fb-200d-1f37c","1f468-1f3fc-200d-1f37c","1f468-1f3fd-200d-1f37c","1f468-1f3fe-200d-1f37c","1f468-1f3ff-200d-1f37c"],a:"13.0"},{n:["person feeding baby"],u:"1f9d1-200d-1f37c",v:["1f9d1-1f3fb-200d-1f37c","1f9d1-1f3fc-200d-1f37c","1f9d1-1f3fd-200d-1f37c","1f9d1-1f3fe-200d-1f37c","1f9d1-1f3ff-200d-1f37c"],a:"13.0"},{n:["angel","baby angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"],a:"0.6"},{n:["santa","father christmas"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"],a:"0.6"},{n:["mrs claus","mother christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"],a:"3.0"},{n:["mx claus"],u:"1f9d1-200d-1f384",v:["1f9d1-1f3fb-200d-1f384","1f9d1-1f3fc-200d-1f384","1f9d1-1f3fd-200d-1f384","1f9d1-1f3fe-200d-1f384","1f9d1-1f3ff-200d-1f384"],a:"13.0"},{n:["superhero"],u:"1f9b8",v:["1f9b8-1f3fb","1f9b8-1f3fc","1f9b8-1f3fd","1f9b8-1f3fe","1f9b8-1f3ff"],a:"11.0"},{n:["man superhero","male superhero"],u:"1f9b8-200d-2642-fe0f",v:["1f9b8-1f3fb-200d-2642-fe0f","1f9b8-1f3fc-200d-2642-fe0f","1f9b8-1f3fd-200d-2642-fe0f","1f9b8-1f3fe-200d-2642-fe0f","1f9b8-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman superhero","female superhero"],u:"1f9b8-200d-2640-fe0f",v:["1f9b8-1f3fb-200d-2640-fe0f","1f9b8-1f3fc-200d-2640-fe0f","1f9b8-1f3fd-200d-2640-fe0f","1f9b8-1f3fe-200d-2640-fe0f","1f9b8-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["supervillain"],u:"1f9b9",v:["1f9b9-1f3fb","1f9b9-1f3fc","1f9b9-1f3fd","1f9b9-1f3fe","1f9b9-1f3ff"],a:"11.0"},{n:["man supervillain","male supervillain"],u:"1f9b9-200d-2642-fe0f",v:["1f9b9-1f3fb-200d-2642-fe0f","1f9b9-1f3fc-200d-2642-fe0f","1f9b9-1f3fd-200d-2642-fe0f","1f9b9-1f3fe-200d-2642-fe0f","1f9b9-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman supervillain","female supervillain"],u:"1f9b9-200d-2640-fe0f",v:["1f9b9-1f3fb-200d-2640-fe0f","1f9b9-1f3fc-200d-2640-fe0f","1f9b9-1f3fd-200d-2640-fe0f","1f9b9-1f3fe-200d-2640-fe0f","1f9b9-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"],a:"5.0"},{n:["man mage","male mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman mage","female mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"],a:"5.0"},{n:["man fairy","male fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman fairy","female fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"],a:"5.0"},{n:["man vampire","male vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman vampire","female vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"],a:"5.0"},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"],a:"5.0"},{n:["man elf","male elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman elf","female elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["genie"],u:"1f9de",a:"5.0"},{n:["man genie","male genie"],u:"1f9de-200d-2642-fe0f",a:"5.0"},{n:["woman genie","female genie"],u:"1f9de-200d-2640-fe0f",a:"5.0"},{n:["zombie"],u:"1f9df",a:"5.0"},{n:["man zombie","male zombie"],u:"1f9df-200d-2642-fe0f",a:"5.0"},{n:["woman zombie","female zombie"],u:"1f9df-200d-2640-fe0f",a:"5.0"},{n:["troll"],u:"1f9cc",a:"14.0"},{n:["massage","face massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"],a:"0.6"},{n:["man getting massage","man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting massage","woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"],a:"0.6"},{n:["man getting haircut","man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting haircut","woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["walking","pedestrian"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"],a:"0.6"},{n:["man walking","man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman walking","woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["standing person"],u:"1f9cd",v:["1f9cd-1f3fb","1f9cd-1f3fc","1f9cd-1f3fd","1f9cd-1f3fe","1f9cd-1f3ff"],a:"12.0"},{n:["man standing"],u:"1f9cd-200d-2642-fe0f",v:["1f9cd-1f3fb-200d-2642-fe0f","1f9cd-1f3fc-200d-2642-fe0f","1f9cd-1f3fd-200d-2642-fe0f","1f9cd-1f3fe-200d-2642-fe0f","1f9cd-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman standing"],u:"1f9cd-200d-2640-fe0f",v:["1f9cd-1f3fb-200d-2640-fe0f","1f9cd-1f3fc-200d-2640-fe0f","1f9cd-1f3fd-200d-2640-fe0f","1f9cd-1f3fe-200d-2640-fe0f","1f9cd-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["kneeling person"],u:"1f9ce",v:["1f9ce-1f3fb","1f9ce-1f3fc","1f9ce-1f3fd","1f9ce-1f3fe","1f9ce-1f3ff"],a:"12.0"},{n:["man kneeling"],u:"1f9ce-200d-2642-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f","1f9ce-1f3fc-200d-2642-fe0f","1f9ce-1f3fd-200d-2642-fe0f","1f9ce-1f3fe-200d-2642-fe0f","1f9ce-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman kneeling"],u:"1f9ce-200d-2640-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f","1f9ce-1f3fc-200d-2640-fe0f","1f9ce-1f3fd-200d-2640-fe0f","1f9ce-1f3fe-200d-2640-fe0f","1f9ce-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["person with white cane","person with probing cane"],u:"1f9d1-200d-1f9af",v:["1f9d1-1f3fb-200d-1f9af","1f9d1-1f3fc-200d-1f9af","1f9d1-1f3fd-200d-1f9af","1f9d1-1f3fe-200d-1f9af","1f9d1-1f3ff-200d-1f9af"],a:"12.1"},{n:["man with white cane","man with probing cane"],u:"1f468-200d-1f9af",v:["1f468-1f3fb-200d-1f9af","1f468-1f3fc-200d-1f9af","1f468-1f3fd-200d-1f9af","1f468-1f3fe-200d-1f9af","1f468-1f3ff-200d-1f9af"],a:"12.0"},{n:["woman with white cane","woman with probing cane"],u:"1f469-200d-1f9af",v:["1f469-1f3fb-200d-1f9af","1f469-1f3fc-200d-1f9af","1f469-1f3fd-200d-1f9af","1f469-1f3fe-200d-1f9af","1f469-1f3ff-200d-1f9af"],a:"12.0"},{n:["person in motorized wheelchair"],u:"1f9d1-200d-1f9bc",v:["1f9d1-1f3fb-200d-1f9bc","1f9d1-1f3fc-200d-1f9bc","1f9d1-1f3fd-200d-1f9bc","1f9d1-1f3fe-200d-1f9bc","1f9d1-1f3ff-200d-1f9bc"],a:"12.1"},{n:["man in motorized wheelchair"],u:"1f468-200d-1f9bc",v:["1f468-1f3fb-200d-1f9bc","1f468-1f3fc-200d-1f9bc","1f468-1f3fd-200d-1f9bc","1f468-1f3fe-200d-1f9bc","1f468-1f3ff-200d-1f9bc"],a:"12.0"},{n:["woman in motorized wheelchair"],u:"1f469-200d-1f9bc",v:["1f469-1f3fb-200d-1f9bc","1f469-1f3fc-200d-1f9bc","1f469-1f3fd-200d-1f9bc","1f469-1f3fe-200d-1f9bc","1f469-1f3ff-200d-1f9bc"],a:"12.0"},{n:["person in manual wheelchair"],u:"1f9d1-200d-1f9bd",v:["1f9d1-1f3fb-200d-1f9bd","1f9d1-1f3fc-200d-1f9bd","1f9d1-1f3fd-200d-1f9bd","1f9d1-1f3fe-200d-1f9bd","1f9d1-1f3ff-200d-1f9bd"],a:"12.1"},{n:["man in manual wheelchair"],u:"1f468-200d-1f9bd",v:["1f468-1f3fb-200d-1f9bd","1f468-1f3fc-200d-1f9bd","1f468-1f3fd-200d-1f9bd","1f468-1f3fe-200d-1f9bd","1f468-1f3ff-200d-1f9bd"],a:"12.0"},{n:["woman in manual wheelchair"],u:"1f469-200d-1f9bd",v:["1f469-1f3fb-200d-1f9bd","1f469-1f3fc-200d-1f9bd","1f469-1f3fd-200d-1f9bd","1f469-1f3fe-200d-1f9bd","1f469-1f3ff-200d-1f9bd"],a:"12.0"},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"],a:"0.6"},{n:["man running","man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman running","woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"],a:"0.6"},{n:["man dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"],a:"3.0"},{n:["person in suit levitating","man in business suit levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"],a:"0.7"},{n:["dancers","woman with bunny ears"],u:"1f46f",a:"0.6"},{n:["men with bunny ears","men-with-bunny-ears-partying","man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f",a:"4.0"},{n:["women with bunny ears","women-with-bunny-ears-partying","woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f",a:"4.0"},{n:["person in steamy room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"],a:"5.0"},{n:["man in steamy room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in steamy room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["person climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"],a:"5.0"},{n:["man climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fencer"],u:"1f93a",a:"3.0"},{n:["horse racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"],a:"1.0"},{n:["skier"],u:"26f7-fe0f",a:"0.7"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"],a:"0.6"},{n:["golfer","person golfing"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"],a:"0.7"},{n:["man golfing","man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman golfing","woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"],a:"0.6"},{n:["man surfing","man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman surfing","woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"],a:"1.0"},{n:["man rowing boat","man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman rowing boat","woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"],a:"0.6"},{n:["man swimming","man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman swimming","woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with ball","person bouncing ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"],a:"0.7"},{n:["man bouncing ball","man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bouncing ball","woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["weight lifter","person lifting weights"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"],a:"0.7"},{n:["man lifting weights","man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman lifting weights","woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"],a:"1.0"},{n:["man biking","man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman biking","woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["mountain bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"],a:"1.0"},{n:["man mountain biking","man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman mountain biking","woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person doing cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"],a:"3.0"},{n:["man cartwheeling","man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman cartwheeling","woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["wrestlers"],u:"1f93c",a:"3.0"},{n:["men wrestling","man-wrestling"],u:"1f93c-200d-2642-fe0f",a:"4.0"},{n:["women wrestling","woman-wrestling"],u:"1f93c-200d-2640-fe0f",a:"4.0"},{n:["water polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"],a:"3.0"},{n:["man playing water polo","man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing water polo","woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"],a:"3.0"},{n:["man playing handball","man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing handball","woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"],a:"3.0"},{n:["man juggling","man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman juggling","woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person in lotus position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"],a:"5.0"},{n:["man in lotus position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in lotus position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"],a:"0.6"},{n:["sleeping accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"],a:"1.0"},{n:["people holding hands"],u:"1f9d1-200d-1f91d-200d-1f9d1",v:["1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff"],a:"12.0"},{n:["women holding hands","two women holding hands"],u:"1f46d",v:["1f46d-1f3fb","1f46d-1f3fc","1f46d-1f3fd","1f46d-1f3fe","1f46d-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe"],a:"1.0"},{n:["couple","man and woman holding hands","woman and man holding hands"],u:"1f46b",v:["1f46b-1f3fb","1f46b-1f3fc","1f46b-1f3fd","1f46b-1f3fe","1f46b-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"0.6"},{n:["men holding hands","two men holding hands"],u:"1f46c",v:["1f46c-1f3fb","1f46c-1f3fc","1f46c-1f3fd","1f46c-1f3fe","1f46c-1f3ff","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"1.0"},{n:["kiss","couplekiss"],u:"1f48f",v:["1f48f-1f3fb","1f48f-1f3fc","1f48f-1f3fd","1f48f-1f3fe","1f48f-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-kiss-man","kiss: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["man-kiss-man","kiss: man, man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-kiss-woman","kiss: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"],a:"2.0"},{n:["couple with heart"],u:"1f491",v:["1f491-1f3fb","1f491-1f3fc","1f491-1f3fd","1f491-1f3fe","1f491-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-heart-man","couple with heart: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["man-heart-man","couple with heart: man, man"],u:"1f468-200d-2764-fe0f-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-heart-woman","couple with heart: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"],a:"2.0"},{n:["family"],u:"1f46a",a:"0.6"},{n:["man-woman-boy","family: man, woman, boy"],u:"1f468-200d-1f469-200d-1f466",a:"2.0"},{n:["man-woman-girl","family: man, woman, girl"],u:"1f468-200d-1f469-200d-1f467",a:"2.0"},{n:["man-woman-girl-boy","family: man, woman, girl, boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["man-woman-boy-boy","family: man, woman, boy, boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["man-woman-girl-girl","family: man, woman, girl, girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-man-boy","family: man, man, boy"],u:"1f468-200d-1f468-200d-1f466",a:"2.0"},{n:["man-man-girl","family: man, man, girl"],u:"1f468-200d-1f468-200d-1f467",a:"2.0"},{n:["man-man-girl-boy","family: man, man, girl, boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466",a:"2.0"},{n:["man-man-boy-boy","family: man, man, boy, boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466",a:"2.0"},{n:["man-man-girl-girl","family: man, man, girl, girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467",a:"2.0"},{n:["woman-woman-boy","family: woman, woman, boy"],u:"1f469-200d-1f469-200d-1f466",a:"2.0"},{n:["woman-woman-girl","family: woman, woman, girl"],u:"1f469-200d-1f469-200d-1f467",a:"2.0"},{n:["woman-woman-girl-boy","family: woman, woman, girl, boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["woman-woman-boy-boy","family: woman, woman, boy, boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["woman-woman-girl-girl","family: woman, woman, girl, girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-boy","family: man, boy"],u:"1f468-200d-1f466",a:"4.0"},{n:["man-boy-boy","family: man, boy, boy"],u:"1f468-200d-1f466-200d-1f466",a:"4.0"},{n:["man-girl","family: man, girl"],u:"1f468-200d-1f467",a:"4.0"},{n:["man-girl-boy","family: man, girl, boy"],u:"1f468-200d-1f467-200d-1f466",a:"4.0"},{n:["man-girl-girl","family: man, girl, girl"],u:"1f468-200d-1f467-200d-1f467",a:"4.0"},{n:["woman-boy","family: woman, boy"],u:"1f469-200d-1f466",a:"4.0"},{n:["woman-boy-boy","family: woman, boy, boy"],u:"1f469-200d-1f466-200d-1f466",a:"4.0"},{n:["woman-girl","family: woman, girl"],u:"1f469-200d-1f467",a:"4.0"},{n:["woman-girl-boy","family: woman, girl, boy"],u:"1f469-200d-1f467-200d-1f466",a:"4.0"},{n:["woman-girl-girl","family: woman, girl, girl"],u:"1f469-200d-1f467-200d-1f467",a:"4.0"},{n:["speaking head","speaking head in silhouette"],u:"1f5e3-fe0f",a:"0.7"},{n:["bust in silhouette"],u:"1f464",a:"0.6"},{n:["busts in silhouette"],u:"1f465",a:"1.0"},{n:["people hugging"],u:"1fac2",a:"13.0"},{n:["footprints"],u:"1f463",a:"0.6"}],x1=[{n:["monkey face"],u:"1f435",a:"0.6"},{n:["monkey"],u:"1f412",a:"0.6"},{n:["gorilla"],u:"1f98d",a:"3.0"},{n:["orangutan"],u:"1f9a7",a:"12.0"},{n:["dog","dog face"],u:"1f436",a:"0.6"},{n:["dog","dog2"],u:"1f415",a:"0.7"},{n:["guide dog"],u:"1f9ae",a:"12.0"},{n:["service dog"],u:"1f415-200d-1f9ba",a:"12.0"},{n:["poodle"],u:"1f429",a:"0.6"},{n:["wolf","wolf face"],u:"1f43a",a:"0.6"},{n:["fox face"],u:"1f98a",a:"3.0"},{n:["raccoon"],u:"1f99d",a:"11.0"},{n:["cat","cat face"],u:"1f431",a:"0.6"},{n:["cat","cat2"],u:"1f408",a:"0.7"},{n:["black cat"],u:"1f408-200d-2b1b",a:"13.0"},{n:["lion face"],u:"1f981",a:"1.0"},{n:["tiger","tiger face"],u:"1f42f",a:"0.6"},{n:["tiger","tiger2"],u:"1f405",a:"1.0"},{n:["leopard"],u:"1f406",a:"1.0"},{n:["horse","horse face"],u:"1f434",a:"0.6"},{n:["horse","racehorse"],u:"1f40e",a:"0.6"},{n:["unicorn face"],u:"1f984",a:"1.0"},{n:["zebra face"],u:"1f993",a:"5.0"},{n:["deer"],u:"1f98c",a:"3.0"},{n:["bison"],u:"1f9ac",a:"13.0"},{n:["cow","cow face"],u:"1f42e",a:"0.6"},{n:["ox"],u:"1f402",a:"1.0"},{n:["water buffalo"],u:"1f403",a:"1.0"},{n:["cow","cow2"],u:"1f404",a:"1.0"},{n:["pig","pig face"],u:"1f437",a:"0.6"},{n:["pig","pig2"],u:"1f416",a:"1.0"},{n:["boar"],u:"1f417",a:"0.6"},{n:["pig nose"],u:"1f43d",a:"0.6"},{n:["ram"],u:"1f40f",a:"1.0"},{n:["sheep"],u:"1f411",a:"0.6"},{n:["goat"],u:"1f410",a:"1.0"},{n:["dromedary camel"],u:"1f42a",a:"1.0"},{n:["camel","bactrian camel"],u:"1f42b",a:"0.6"},{n:["llama"],u:"1f999",a:"11.0"},{n:["giraffe face"],u:"1f992",a:"5.0"},{n:["elephant"],u:"1f418",a:"0.6"},{n:["mammoth"],u:"1f9a3",a:"13.0"},{n:["rhinoceros"],u:"1f98f",a:"3.0"},{n:["hippopotamus"],u:"1f99b",a:"11.0"},{n:["mouse","mouse face"],u:"1f42d",a:"0.6"},{n:["mouse","mouse2"],u:"1f401",a:"1.0"},{n:["rat"],u:"1f400",a:"1.0"},{n:["hamster","hamster face"],u:"1f439",a:"0.6"},{n:["rabbit","rabbit face"],u:"1f430",a:"0.6"},{n:["rabbit","rabbit2"],u:"1f407",a:"1.0"},{n:["chipmunk"],u:"1f43f-fe0f",a:"0.7"},{n:["beaver"],u:"1f9ab",a:"13.0"},{n:["hedgehog"],u:"1f994",a:"5.0"},{n:["bat"],u:"1f987",a:"3.0"},{n:["bear","bear face"],u:"1f43b",a:"0.6"},{n:["polar bear"],u:"1f43b-200d-2744-fe0f",a:"13.0"},{n:["koala"],u:"1f428",a:"0.6"},{n:["panda face"],u:"1f43c",a:"0.6"},{n:["sloth"],u:"1f9a5",a:"12.0"},{n:["otter"],u:"1f9a6",a:"12.0"},{n:["skunk"],u:"1f9a8",a:"12.0"},{n:["kangaroo"],u:"1f998",a:"11.0"},{n:["badger"],u:"1f9a1",a:"11.0"},{n:["feet","paw prints"],u:"1f43e",a:"0.6"},{n:["turkey"],u:"1f983",a:"1.0"},{n:["chicken"],u:"1f414",a:"0.6"},{n:["rooster"],u:"1f413",a:"1.0"},{n:["hatching chick"],u:"1f423",a:"0.6"},{n:["baby chick"],u:"1f424",a:"0.6"},{n:["hatched chick","front-facing baby chick"],u:"1f425",a:"0.6"},{n:["bird"],u:"1f426",a:"0.6"},{n:["penguin"],u:"1f427",a:"0.6"},{n:["dove","dove of peace"],u:"1f54a-fe0f",a:"0.7"},{n:["eagle"],u:"1f985",a:"3.0"},{n:["duck"],u:"1f986",a:"3.0"},{n:["swan"],u:"1f9a2",a:"11.0"},{n:["owl"],u:"1f989",a:"3.0"},{n:["dodo"],u:"1f9a4",a:"13.0"},{n:["feather"],u:"1fab6",a:"13.0"},{n:["flamingo"],u:"1f9a9",a:"12.0"},{n:["peacock"],u:"1f99a",a:"11.0"},{n:["parrot"],u:"1f99c",a:"11.0"},{n:["frog","frog face"],u:"1f438",a:"0.6"},{n:["crocodile"],u:"1f40a",a:"1.0"},{n:["turtle"],u:"1f422",a:"0.6"},{n:["lizard"],u:"1f98e",a:"3.0"},{n:["snake"],u:"1f40d",a:"0.6"},{n:["dragon face"],u:"1f432",a:"0.6"},{n:["dragon"],u:"1f409",a:"1.0"},{n:["sauropod"],u:"1f995",a:"5.0"},{n:["t-rex"],u:"1f996",a:"5.0"},{n:["whale","spouting whale"],u:"1f433",a:"0.6"},{n:["whale","whale2"],u:"1f40b",a:"1.0"},{n:["dolphin","flipper"],u:"1f42c",a:"0.6"},{n:["seal"],u:"1f9ad",a:"13.0"},{n:["fish"],u:"1f41f",a:"0.6"},{n:["tropical fish"],u:"1f420",a:"0.6"},{n:["blowfish"],u:"1f421",a:"0.6"},{n:["shark"],u:"1f988",a:"3.0"},{n:["octopus"],u:"1f419",a:"0.6"},{n:["shell","spiral shell"],u:"1f41a",a:"0.6"},{n:["coral"],u:"1fab8",a:"14.0"},{n:["snail"],u:"1f40c",a:"0.6"},{n:["butterfly"],u:"1f98b",a:"3.0"},{n:["bug"],u:"1f41b",a:"0.6"},{n:["ant"],u:"1f41c",a:"0.6"},{n:["bee","honeybee"],u:"1f41d",a:"0.6"},{n:["beetle"],u:"1fab2",a:"13.0"},{n:["ladybug","lady beetle"],u:"1f41e",a:"0.6"},{n:["cricket"],u:"1f997",a:"5.0"},{n:["cockroach"],u:"1fab3",a:"13.0"},{n:["spider"],u:"1f577-fe0f",a:"0.7"},{n:["spider web"],u:"1f578-fe0f",a:"0.7"},{n:["scorpion"],u:"1f982",a:"1.0"},{n:["mosquito"],u:"1f99f",a:"11.0"},{n:["fly"],u:"1fab0",a:"13.0"},{n:["worm"],u:"1fab1",a:"13.0"},{n:["microbe"],u:"1f9a0",a:"11.0"},{n:["bouquet"],u:"1f490",a:"0.6"},{n:["cherry blossom"],u:"1f338",a:"0.6"},{n:["white flower"],u:"1f4ae",a:"0.6"},{n:["lotus"],u:"1fab7",a:"14.0"},{n:["rosette"],u:"1f3f5-fe0f",a:"0.7"},{n:["rose"],u:"1f339",a:"0.6"},{n:["wilted flower"],u:"1f940",a:"3.0"},{n:["hibiscus"],u:"1f33a",a:"0.6"},{n:["sunflower"],u:"1f33b",a:"0.6"},{n:["blossom"],u:"1f33c",a:"0.6"},{n:["tulip"],u:"1f337",a:"0.6"},{n:["seedling"],u:"1f331",a:"0.6"},{n:["potted plant"],u:"1fab4",a:"13.0"},{n:["evergreen tree"],u:"1f332",a:"1.0"},{n:["deciduous tree"],u:"1f333",a:"1.0"},{n:["palm tree"],u:"1f334",a:"0.6"},{n:["cactus"],u:"1f335",a:"0.6"},{n:["ear of rice"],u:"1f33e",a:"0.6"},{n:["herb"],u:"1f33f",a:"0.6"},{n:["shamrock"],u:"2618-fe0f",a:"1.0"},{n:["four leaf clover"],u:"1f340",a:"0.6"},{n:["maple leaf"],u:"1f341",a:"0.6"},{n:["fallen leaf"],u:"1f342",a:"0.6"},{n:["leaves","leaf fluttering in wind"],u:"1f343",a:"0.6"},{n:["empty nest"],u:"1fab9",a:"14.0"},{n:["nest with eggs"],u:"1faba",a:"14.0"}],S1=[{n:["grapes"],u:"1f347",a:"0.6"},{n:["melon"],u:"1f348",a:"0.6"},{n:["watermelon"],u:"1f349",a:"0.6"},{n:["tangerine"],u:"1f34a",a:"0.6"},{n:["lemon"],u:"1f34b",a:"1.0"},{n:["banana"],u:"1f34c",a:"0.6"},{n:["pineapple"],u:"1f34d",a:"0.6"},{n:["mango"],u:"1f96d",a:"11.0"},{n:["apple","red apple"],u:"1f34e",a:"0.6"},{n:["green apple"],u:"1f34f",a:"0.6"},{n:["pear"],u:"1f350",a:"1.0"},{n:["peach"],u:"1f351",a:"0.6"},{n:["cherries"],u:"1f352",a:"0.6"},{n:["strawberry"],u:"1f353",a:"0.6"},{n:["blueberries"],u:"1fad0",a:"13.0"},{n:["kiwifruit"],u:"1f95d",a:"3.0"},{n:["tomato"],u:"1f345",a:"0.6"},{n:["olive"],u:"1fad2",a:"13.0"},{n:["coconut"],u:"1f965",a:"5.0"},{n:["avocado"],u:"1f951",a:"3.0"},{n:["eggplant","aubergine"],u:"1f346",a:"0.6"},{n:["potato"],u:"1f954",a:"3.0"},{n:["carrot"],u:"1f955",a:"3.0"},{n:["corn","ear of maize"],u:"1f33d",a:"0.6"},{n:["hot pepper"],u:"1f336-fe0f",a:"0.7"},{n:["bell pepper"],u:"1fad1",a:"13.0"},{n:["cucumber"],u:"1f952",a:"3.0"},{n:["leafy green"],u:"1f96c",a:"11.0"},{n:["broccoli"],u:"1f966",a:"5.0"},{n:["garlic"],u:"1f9c4",a:"12.0"},{n:["onion"],u:"1f9c5",a:"12.0"},{n:["mushroom"],u:"1f344",a:"0.6"},{n:["peanuts"],u:"1f95c",a:"3.0"},{n:["beans"],u:"1fad8",a:"14.0"},{n:["chestnut"],u:"1f330",a:"0.6"},{n:["bread"],u:"1f35e",a:"0.6"},{n:["croissant"],u:"1f950",a:"3.0"},{n:["baguette bread"],u:"1f956",a:"3.0"},{n:["flatbread"],u:"1fad3",a:"13.0"},{n:["pretzel"],u:"1f968",a:"5.0"},{n:["bagel"],u:"1f96f",a:"11.0"},{n:["pancakes"],u:"1f95e",a:"3.0"},{n:["waffle"],u:"1f9c7",a:"12.0"},{n:["cheese wedge"],u:"1f9c0",a:"1.0"},{n:["meat on bone"],u:"1f356",a:"0.6"},{n:["poultry leg"],u:"1f357",a:"0.6"},{n:["cut of meat"],u:"1f969",a:"5.0"},{n:["bacon"],u:"1f953",a:"3.0"},{n:["hamburger"],u:"1f354",a:"0.6"},{n:["fries","french fries"],u:"1f35f",a:"0.6"},{n:["pizza","slice of pizza"],u:"1f355",a:"0.6"},{n:["hotdog","hot dog"],u:"1f32d",a:"1.0"},{n:["sandwich"],u:"1f96a",a:"5.0"},{n:["taco"],u:"1f32e",a:"1.0"},{n:["burrito"],u:"1f32f",a:"1.0"},{n:["tamale"],u:"1fad4",a:"13.0"},{n:["stuffed flatbread"],u:"1f959",a:"3.0"},{n:["falafel"],u:"1f9c6",a:"12.0"},{n:["egg"],u:"1f95a",a:"3.0"},{n:["cooking","fried egg"],u:"1f373",a:"0.6"},{n:["shallow pan of food"],u:"1f958",a:"3.0"},{n:["stew","pot of food"],u:"1f372",a:"0.6"},{n:["fondue"],u:"1fad5",a:"13.0"},{n:["bowl with spoon"],u:"1f963",a:"5.0"},{n:["green salad"],u:"1f957",a:"3.0"},{n:["popcorn"],u:"1f37f",a:"1.0"},{n:["butter"],u:"1f9c8",a:"12.0"},{n:["salt","salt shaker"],u:"1f9c2",a:"11.0"},{n:["canned food"],u:"1f96b",a:"5.0"},{n:["bento","bento box"],u:"1f371",a:"0.6"},{n:["rice cracker"],u:"1f358",a:"0.6"},{n:["rice ball"],u:"1f359",a:"0.6"},{n:["rice","cooked rice"],u:"1f35a",a:"0.6"},{n:["curry","curry and rice"],u:"1f35b",a:"0.6"},{n:["ramen","steaming bowl"],u:"1f35c",a:"0.6"},{n:["spaghetti"],u:"1f35d",a:"0.6"},{n:["sweet potato","roasted sweet potato"],u:"1f360",a:"0.6"},{n:["oden"],u:"1f362",a:"0.6"},{n:["sushi"],u:"1f363",a:"0.6"},{n:["fried shrimp"],u:"1f364",a:"0.6"},{n:["fish cake","fish cake with swirl design"],u:"1f365",a:"0.6"},{n:["moon cake"],u:"1f96e",a:"11.0"},{n:["dango"],u:"1f361",a:"0.6"},{n:["dumpling"],u:"1f95f",a:"5.0"},{n:["fortune cookie"],u:"1f960",a:"5.0"},{n:["takeout box"],u:"1f961",a:"5.0"},{n:["crab"],u:"1f980",a:"1.0"},{n:["lobster"],u:"1f99e",a:"11.0"},{n:["shrimp"],u:"1f990",a:"3.0"},{n:["squid"],u:"1f991",a:"3.0"},{n:["oyster"],u:"1f9aa",a:"12.0"},{n:["icecream","soft ice cream"],u:"1f366",a:"0.6"},{n:["shaved ice"],u:"1f367",a:"0.6"},{n:["ice cream"],u:"1f368",a:"0.6"},{n:["doughnut"],u:"1f369",a:"0.6"},{n:["cookie"],u:"1f36a",a:"0.6"},{n:["birthday","birthday cake"],u:"1f382",a:"0.6"},{n:["cake","shortcake"],u:"1f370",a:"0.6"},{n:["cupcake"],u:"1f9c1",a:"11.0"},{n:["pie"],u:"1f967",a:"5.0"},{n:["chocolate bar"],u:"1f36b",a:"0.6"},{n:["candy"],u:"1f36c",a:"0.6"},{n:["lollipop"],u:"1f36d",a:"0.6"},{n:["custard"],u:"1f36e",a:"0.6"},{n:["honey pot"],u:"1f36f",a:"0.6"},{n:["baby bottle"],u:"1f37c",a:"1.0"},{n:["glass of milk"],u:"1f95b",a:"3.0"},{n:["coffee","hot beverage"],u:"2615",a:"0.6"},{n:["teapot"],u:"1fad6",a:"13.0"},{n:["tea","teacup without handle"],u:"1f375",a:"0.6"},{n:["sake","sake bottle and cup"],u:"1f376",a:"0.6"},{n:["champagne","bottle with popping cork"],u:"1f37e",a:"1.0"},{n:["wine glass"],u:"1f377",a:"0.6"},{n:["cocktail","cocktail glass"],u:"1f378",a:"0.6"},{n:["tropical drink"],u:"1f379",a:"0.6"},{n:["beer","beer mug"],u:"1f37a",a:"0.6"},{n:["beers","clinking beer mugs"],u:"1f37b",a:"0.6"},{n:["clinking glasses"],u:"1f942",a:"3.0"},{n:["tumbler glass"],u:"1f943",a:"3.0"},{n:["pouring liquid"],u:"1fad7",a:"14.0"},{n:["cup with straw"],u:"1f964",a:"5.0"},{n:["bubble tea"],u:"1f9cb",a:"13.0"},{n:["beverage box"],u:"1f9c3",a:"12.0"},{n:["mate drink"],u:"1f9c9",a:"12.0"},{n:["ice cube"],u:"1f9ca",a:"12.0"},{n:["chopsticks"],u:"1f962",a:"5.0"},{n:["knife fork plate","fork and knife with plate"],u:"1f37d-fe0f",a:"0.7"},{n:["fork and knife"],u:"1f374",a:"0.6"},{n:["spoon"],u:"1f944",a:"3.0"},{n:["hocho","knife"],u:"1f52a",a:"0.6"},{n:["jar"],u:"1fad9",a:"14.0"},{n:["amphora"],u:"1f3fa",a:"1.0"}],R1=[{n:["earth africa","earth globe europe-africa"],u:"1f30d",a:"0.7"},{n:["earth americas","earth globe americas"],u:"1f30e",a:"0.7"},{n:["earth asia","earth globe asia-australia"],u:"1f30f",a:"0.6"},{n:["globe with meridians"],u:"1f310",a:"1.0"},{n:["world map"],u:"1f5fa-fe0f",a:"0.7"},{n:["japan","silhouette of japan"],u:"1f5fe",a:"0.6"},{n:["compass"],u:"1f9ed",a:"11.0"},{n:["snow-capped mountain","snow capped mountain"],u:"1f3d4-fe0f",a:"0.7"},{n:["mountain"],u:"26f0-fe0f",a:"0.7"},{n:["volcano"],u:"1f30b",a:"0.6"},{n:["mount fuji"],u:"1f5fb",a:"0.6"},{n:["camping"],u:"1f3d5-fe0f",a:"0.7"},{n:["beach with umbrella"],u:"1f3d6-fe0f",a:"0.7"},{n:["desert"],u:"1f3dc-fe0f",a:"0.7"},{n:["desert island"],u:"1f3dd-fe0f",a:"0.7"},{n:["national park"],u:"1f3de-fe0f",a:"0.7"},{n:["stadium"],u:"1f3df-fe0f",a:"0.7"},{n:["classical building"],u:"1f3db-fe0f",a:"0.7"},{n:["building construction"],u:"1f3d7-fe0f",a:"0.7"},{n:["brick","bricks"],u:"1f9f1",a:"11.0"},{n:["rock"],u:"1faa8",a:"13.0"},{n:["wood"],u:"1fab5",a:"13.0"},{n:["hut"],u:"1f6d6",a:"13.0"},{n:["houses","house buildings"],u:"1f3d8-fe0f",a:"0.7"},{n:["derelict house","derelict house building"],u:"1f3da-fe0f",a:"0.7"},{n:["house","house building"],u:"1f3e0",a:"0.6"},{n:["house with garden"],u:"1f3e1",a:"0.6"},{n:["office","office building"],u:"1f3e2",a:"0.6"},{n:["post office","japanese post office"],u:"1f3e3",a:"0.6"},{n:["european post office"],u:"1f3e4",a:"1.0"},{n:["hospital"],u:"1f3e5",a:"0.6"},{n:["bank"],u:"1f3e6",a:"0.6"},{n:["hotel"],u:"1f3e8",a:"0.6"},{n:["love hotel"],u:"1f3e9",a:"0.6"},{n:["convenience store"],u:"1f3ea",a:"0.6"},{n:["school"],u:"1f3eb",a:"0.6"},{n:["department store"],u:"1f3ec",a:"0.6"},{n:["factory"],u:"1f3ed",a:"0.6"},{n:["japanese castle"],u:"1f3ef",a:"0.6"},{n:["european castle"],u:"1f3f0",a:"0.6"},{n:["wedding"],u:"1f492",a:"0.6"},{n:["tokyo tower"],u:"1f5fc",a:"0.6"},{n:["statue of liberty"],u:"1f5fd",a:"0.6"},{n:["church"],u:"26ea",a:"0.6"},{n:["mosque"],u:"1f54c",a:"1.0"},{n:["hindu temple"],u:"1f6d5",a:"12.0"},{n:["synagogue"],u:"1f54d",a:"1.0"},{n:["shinto shrine"],u:"26e9-fe0f",a:"0.7"},{n:["kaaba"],u:"1f54b",a:"1.0"},{n:["fountain"],u:"26f2",a:"0.6"},{n:["tent"],u:"26fa",a:"0.6"},{n:["foggy"],u:"1f301",a:"0.6"},{n:["night with stars"],u:"1f303",a:"0.6"},{n:["cityscape"],u:"1f3d9-fe0f",a:"0.7"},{n:["sunrise over mountains"],u:"1f304",a:"0.6"},{n:["sunrise"],u:"1f305",a:"0.6"},{n:["city sunset","cityscape at dusk"],u:"1f306",a:"0.6"},{n:["city sunrise","sunset over buildings"],u:"1f307",a:"0.6"},{n:["bridge at night"],u:"1f309",a:"0.6"},{n:["hotsprings","hot springs"],u:"2668-fe0f",a:"0.6"},{n:["carousel horse"],u:"1f3a0",a:"0.6"},{n:["playground slide"],u:"1f6dd",a:"14.0"},{n:["ferris wheel"],u:"1f3a1",a:"0.6"},{n:["roller coaster"],u:"1f3a2",a:"0.6"},{n:["barber","barber pole"],u:"1f488",a:"0.6"},{n:["circus tent"],u:"1f3aa",a:"0.6"},{n:["steam locomotive"],u:"1f682",a:"1.0"},{n:["railway car"],u:"1f683",a:"0.6"},{n:["high-speed train","bullettrain side"],u:"1f684",a:"0.6"},{n:["bullettrain front","high-speed train with bullet nose"],u:"1f685",a:"0.6"},{n:["train","train2"],u:"1f686",a:"1.0"},{n:["metro"],u:"1f687",a:"0.6"},{n:["light rail"],u:"1f688",a:"1.0"},{n:["station"],u:"1f689",a:"0.6"},{n:["tram"],u:"1f68a",a:"1.0"},{n:["monorail"],u:"1f69d",a:"1.0"},{n:["mountain railway"],u:"1f69e",a:"1.0"},{n:["train","tram car"],u:"1f68b",a:"1.0"},{n:["bus"],u:"1f68c",a:"0.6"},{n:["oncoming bus"],u:"1f68d",a:"0.7"},{n:["trolleybus"],u:"1f68e",a:"1.0"},{n:["minibus"],u:"1f690",a:"1.0"},{n:["ambulance"],u:"1f691",a:"0.6"},{n:["fire engine"],u:"1f692",a:"0.6"},{n:["police car"],u:"1f693",a:"0.6"},{n:["oncoming police car"],u:"1f694",a:"0.7"},{n:["taxi"],u:"1f695",a:"0.6"},{n:["oncoming taxi"],u:"1f696",a:"1.0"},{n:["car","red car","automobile"],u:"1f697",a:"0.6"},{n:["oncoming automobile"],u:"1f698",a:"0.7"},{n:["blue car","recreational vehicle"],u:"1f699",a:"0.6"},{n:["pickup truck"],u:"1f6fb",a:"13.0"},{n:["truck","delivery truck"],u:"1f69a",a:"0.6"},{n:["articulated lorry"],u:"1f69b",a:"1.0"},{n:["tractor"],u:"1f69c",a:"1.0"},{n:["racing car"],u:"1f3ce-fe0f",a:"0.7"},{n:["motorcycle","racing motorcycle"],u:"1f3cd-fe0f",a:"0.7"},{n:["motor scooter"],u:"1f6f5",a:"3.0"},{n:["manual wheelchair"],u:"1f9bd",a:"12.0"},{n:["motorized wheelchair"],u:"1f9bc",a:"12.0"},{n:["auto rickshaw"],u:"1f6fa",a:"12.0"},{n:["bike","bicycle"],u:"1f6b2",a:"0.6"},{n:["scooter"],u:"1f6f4",a:"3.0"},{n:["skateboard"],u:"1f6f9",a:"11.0"},{n:["roller skate"],u:"1f6fc",a:"13.0"},{n:["busstop","bus stop"],u:"1f68f",a:"0.6"},{n:["motorway"],u:"1f6e3-fe0f",a:"0.7"},{n:["railway track"],u:"1f6e4-fe0f",a:"0.7"},{n:["oil drum"],u:"1f6e2-fe0f",a:"0.7"},{n:["fuelpump","fuel pump"],u:"26fd",a:"0.6"},{n:["wheel"],u:"1f6de",a:"14.0"},{n:["rotating light","police cars revolving light"],u:"1f6a8",a:"0.6"},{n:["traffic light","horizontal traffic light"],u:"1f6a5",a:"0.6"},{n:["vertical traffic light"],u:"1f6a6",a:"1.0"},{n:["octagonal sign"],u:"1f6d1",a:"3.0"},{n:["construction","construction sign"],u:"1f6a7",a:"0.6"},{n:["anchor"],u:"2693",a:"0.6"},{n:["ring buoy"],u:"1f6df",a:"14.0"},{n:["boat","sailboat"],u:"26f5",a:"0.6"},{n:["canoe"],u:"1f6f6",a:"3.0"},{n:["speedboat"],u:"1f6a4",a:"0.6"},{n:["passenger ship"],u:"1f6f3-fe0f",a:"0.7"},{n:["ferry"],u:"26f4-fe0f",a:"0.7"},{n:["motor boat"],u:"1f6e5-fe0f",a:"0.7"},{n:["ship"],u:"1f6a2",a:"0.6"},{n:["airplane"],u:"2708-fe0f",a:"0.6"},{n:["small airplane"],u:"1f6e9-fe0f",a:"0.7"},{n:["airplane departure"],u:"1f6eb",a:"1.0"},{n:["airplane arriving"],u:"1f6ec",a:"1.0"},{n:["parachute"],u:"1fa82",a:"12.0"},{n:["seat"],u:"1f4ba",a:"0.6"},{n:["helicopter"],u:"1f681",a:"1.0"},{n:["suspension railway"],u:"1f69f",a:"1.0"},{n:["mountain cableway"],u:"1f6a0",a:"1.0"},{n:["aerial tramway"],u:"1f6a1",a:"1.0"},{n:["satellite"],u:"1f6f0-fe0f",a:"0.7"},{n:["rocket"],u:"1f680",a:"0.6"},{n:["flying saucer"],u:"1f6f8",a:"5.0"},{n:["bellhop bell"],u:"1f6ce-fe0f",a:"0.7"},{n:["luggage"],u:"1f9f3",a:"11.0"},{n:["hourglass"],u:"231b",a:"0.6"},{n:["hourglass flowing sand","hourglass with flowing sand"],u:"23f3",a:"0.6"},{n:["watch"],u:"231a",a:"0.6"},{n:["alarm clock"],u:"23f0",a:"0.6"},{n:["stopwatch"],u:"23f1-fe0f",a:"1.0"},{n:["timer clock"],u:"23f2-fe0f",a:"1.0"},{n:["mantelpiece clock"],u:"1f570-fe0f",a:"0.7"},{n:["clock12","clock face twelve oclock"],u:"1f55b",a:"0.6"},{n:["clock1230","clock face twelve-thirty"],u:"1f567",a:"0.7"},{n:["clock1","clock face one oclock"],u:"1f550",a:"0.6"},{n:["clock130","clock face one-thirty"],u:"1f55c",a:"0.7"},{n:["clock2","clock face two oclock"],u:"1f551",a:"0.6"},{n:["clock230","clock face two-thirty"],u:"1f55d",a:"0.7"},{n:["clock3","clock face three oclock"],u:"1f552",a:"0.6"},{n:["clock330","clock face three-thirty"],u:"1f55e",a:"0.7"},{n:["clock4","clock face four oclock"],u:"1f553",a:"0.6"},{n:["clock430","clock face four-thirty"],u:"1f55f",a:"0.7"},{n:["clock5","clock face five oclock"],u:"1f554",a:"0.6"},{n:["clock530","clock face five-thirty"],u:"1f560",a:"0.7"},{n:["clock6","clock face six oclock"],u:"1f555",a:"0.6"},{n:["clock630","clock face six-thirty"],u:"1f561",a:"0.7"},{n:["clock7","clock face seven oclock"],u:"1f556",a:"0.6"},{n:["clock730","clock face seven-thirty"],u:"1f562",a:"0.7"},{n:["clock8","clock face eight oclock"],u:"1f557",a:"0.6"},{n:["clock830","clock face eight-thirty"],u:"1f563",a:"0.7"},{n:["clock9","clock face nine oclock"],u:"1f558",a:"0.6"},{n:["clock930","clock face nine-thirty"],u:"1f564",a:"0.7"},{n:["clock10","clock face ten oclock"],u:"1f559",a:"0.6"},{n:["clock1030","clock face ten-thirty"],u:"1f565",a:"0.7"},{n:["clock11","clock face eleven oclock"],u:"1f55a",a:"0.6"},{n:["clock1130","clock face eleven-thirty"],u:"1f566",a:"0.7"},{n:["new moon","new moon symbol"],u:"1f311",a:"0.6"},{n:["waxing crescent moon","waxing crescent moon symbol"],u:"1f312",a:"1.0"},{n:["first quarter moon","first quarter moon symbol"],u:"1f313",a:"0.6"},{n:["moon","waxing gibbous moon","waxing gibbous moon symbol"],u:"1f314",a:"0.6"},{n:["full moon","full moon symbol"],u:"1f315",a:"0.6"},{n:["waning gibbous moon","waning gibbous moon symbol"],u:"1f316",a:"1.0"},{n:["last quarter moon","last quarter moon symbol"],u:"1f317",a:"1.0"},{n:["waning crescent moon","waning crescent moon symbol"],u:"1f318",a:"1.0"},{n:["crescent moon"],u:"1f319",a:"0.6"},{n:["new moon with face"],u:"1f31a",a:"1.0"},{n:["first quarter moon with face"],u:"1f31b",a:"0.6"},{n:["last quarter moon with face"],u:"1f31c",a:"0.7"},{n:["thermometer"],u:"1f321-fe0f",a:"0.7"},{n:["sunny","black sun with rays"],u:"2600-fe0f",a:"0.6"},{n:["full moon with face"],u:"1f31d",a:"1.0"},{n:["sun with face"],u:"1f31e",a:"1.0"},{n:["ringed planet"],u:"1fa90",a:"12.0"},{n:["star","white medium star"],u:"2b50",a:"0.6"},{n:["star2","glowing star"],u:"1f31f",a:"0.6"},{n:["stars","shooting star"],u:"1f320",a:"0.6"},{n:["milky way"],u:"1f30c",a:"0.6"},{n:["cloud"],u:"2601-fe0f",a:"0.6"},{n:["partly sunny","sun behind cloud"],u:"26c5",a:"0.6"},{n:["thunder cloud and rain","cloud with lightning and rain"],u:"26c8-fe0f",a:"0.7"},{n:["mostly sunny","sun small cloud","sun behind small cloud"],u:"1f324-fe0f",a:"0.7"},{n:["barely sunny","sun behind cloud","sun behind large cloud"],u:"1f325-fe0f",a:"0.7"},{n:["partly sunny rain","sun behind rain cloud"],u:"1f326-fe0f",a:"0.7"},{n:["rain cloud","cloud with rain"],u:"1f327-fe0f",a:"0.7"},{n:["snow cloud","cloud with snow"],u:"1f328-fe0f",a:"0.7"},{n:["lightning","lightning cloud","cloud with lightning"],u:"1f329-fe0f",a:"0.7"},{n:["tornado","tornado cloud"],u:"1f32a-fe0f",a:"0.7"},{n:["fog"],u:"1f32b-fe0f",a:"0.7"},{n:["wind face","wind blowing face"],u:"1f32c-fe0f",a:"0.7"},{n:["cyclone"],u:"1f300",a:"0.6"},{n:["rainbow"],u:"1f308",a:"0.6"},{n:["closed umbrella"],u:"1f302",a:"0.6"},{n:["umbrella"],u:"2602-fe0f",a:"0.7"},{n:["umbrella with rain drops"],u:"2614",a:"0.6"},{n:["umbrella on ground"],u:"26f1-fe0f",a:"0.7"},{n:["zap","high voltage sign"],u:"26a1",a:"0.6"},{n:["snowflake"],u:"2744-fe0f",a:"0.6"},{n:["snowman"],u:"2603-fe0f",a:"0.7"},{n:["snowman without snow"],u:"26c4",a:"0.6"},{n:["comet"],u:"2604-fe0f",a:"1.0"},{n:["fire"],u:"1f525",a:"0.6"},{n:["droplet"],u:"1f4a7",a:"0.6"},{n:["ocean","water wave"],u:"1f30a",a:"0.6"}],z1=[{n:["jack-o-lantern","jack o lantern"],u:"1f383",a:"0.6"},{n:["christmas tree"],u:"1f384",a:"0.6"},{n:["fireworks"],u:"1f386",a:"0.6"},{n:["sparkler","firework sparkler"],u:"1f387",a:"0.6"},{n:["firecracker"],u:"1f9e8",a:"11.0"},{n:["sparkles"],u:"2728",a:"0.6"},{n:["balloon"],u:"1f388",a:"0.6"},{n:["tada","party popper"],u:"1f389",a:"0.6"},{n:["confetti ball"],u:"1f38a",a:"0.6"},{n:["tanabata tree"],u:"1f38b",a:"0.6"},{n:["bamboo","pine decoration"],u:"1f38d",a:"0.6"},{n:["dolls","japanese dolls"],u:"1f38e",a:"0.6"},{n:["flags","carp streamer"],u:"1f38f",a:"0.6"},{n:["wind chime"],u:"1f390",a:"0.6"},{n:["rice scene","moon viewing ceremony"],u:"1f391",a:"0.6"},{n:["red envelope","red gift envelope"],u:"1f9e7",a:"11.0"},{n:["ribbon"],u:"1f380",a:"0.6"},{n:["gift","wrapped present"],u:"1f381",a:"0.6"},{n:["reminder ribbon"],u:"1f397-fe0f",a:"0.7"},{n:["admission tickets"],u:"1f39f-fe0f",a:"0.7"},{n:["ticket"],u:"1f3ab",a:"0.6"},{n:["medal","military medal"],u:"1f396-fe0f",a:"0.7"},{n:["trophy"],u:"1f3c6",a:"0.6"},{n:["sports medal"],u:"1f3c5",a:"1.0"},{n:["first place medal"],u:"1f947",a:"3.0"},{n:["second place medal"],u:"1f948",a:"3.0"},{n:["third place medal"],u:"1f949",a:"3.0"},{n:["soccer","soccer ball"],u:"26bd",a:"0.6"},{n:["baseball"],u:"26be",a:"0.6"},{n:["softball"],u:"1f94e",a:"11.0"},{n:["basketball","basketball and hoop"],u:"1f3c0",a:"0.6"},{n:["volleyball"],u:"1f3d0",a:"1.0"},{n:["football","american football"],u:"1f3c8",a:"0.6"},{n:["rugby football"],u:"1f3c9",a:"1.0"},{n:["tennis","tennis racquet and ball"],u:"1f3be",a:"0.6"},{n:["flying disc"],u:"1f94f",a:"11.0"},{n:["bowling"],u:"1f3b3",a:"0.6"},{n:["cricket bat and ball"],u:"1f3cf",a:"1.0"},{n:["field hockey stick and ball"],u:"1f3d1",a:"1.0"},{n:["ice hockey stick and puck"],u:"1f3d2",a:"1.0"},{n:["lacrosse","lacrosse stick and ball"],u:"1f94d",a:"11.0"},{n:["table tennis paddle and ball"],u:"1f3d3",a:"1.0"},{n:["badminton racquet and shuttlecock"],u:"1f3f8",a:"1.0"},{n:["boxing glove"],u:"1f94a",a:"3.0"},{n:["martial arts uniform"],u:"1f94b",a:"3.0"},{n:["goal net"],u:"1f945",a:"3.0"},{n:["golf","flag in hole"],u:"26f3",a:"0.6"},{n:["ice skate"],u:"26f8-fe0f",a:"0.7"},{n:["fishing pole and fish"],u:"1f3a3",a:"0.6"},{n:["diving mask"],u:"1f93f",a:"12.0"},{n:["running shirt with sash"],u:"1f3bd",a:"0.6"},{n:["ski","ski and ski boot"],u:"1f3bf",a:"0.6"},{n:["sled"],u:"1f6f7",a:"5.0"},{n:["curling stone"],u:"1f94c",a:"5.0"},{n:["dart","direct hit"],u:"1f3af",a:"0.6"},{n:["yo-yo"],u:"1fa80",a:"12.0"},{n:["kite"],u:"1fa81",a:"12.0"},{n:["8ball","billiards"],u:"1f3b1",a:"0.6"},{n:["crystal ball"],u:"1f52e",a:"0.6"},{n:["magic wand"],u:"1fa84",a:"13.0"},{n:["nazar amulet"],u:"1f9ff",a:"11.0"},{n:["hamsa"],u:"1faac",a:"14.0"},{n:["video game"],u:"1f3ae",a:"0.6"},{n:["joystick"],u:"1f579-fe0f",a:"0.7"},{n:["slot machine"],u:"1f3b0",a:"0.6"},{n:["game die"],u:"1f3b2",a:"0.6"},{n:["jigsaw","jigsaw puzzle piece"],u:"1f9e9",a:"11.0"},{n:["teddy bear"],u:"1f9f8",a:"11.0"},{n:["pinata"],u:"1fa85",a:"13.0"},{n:["mirror ball"],u:"1faa9",a:"14.0"},{n:["nesting dolls"],u:"1fa86",a:"13.0"},{n:["spades","black spade suit"],u:"2660-fe0f",a:"0.6"},{n:["hearts","black heart suit"],u:"2665-fe0f",a:"0.6"},{n:["diamonds","black diamond suit"],u:"2666-fe0f",a:"0.6"},{n:["clubs","black club suit"],u:"2663-fe0f",a:"0.6"},{n:["chess pawn"],u:"265f-fe0f",a:"11.0"},{n:["black joker","playing card black joker"],u:"1f0cf",a:"0.6"},{n:["mahjong","mahjong tile red dragon"],u:"1f004",a:"0.6"},{n:["flower playing cards"],u:"1f3b4",a:"0.6"},{n:["performing arts"],u:"1f3ad",a:"0.6"},{n:["framed picture","frame with picture"],u:"1f5bc-fe0f",a:"0.7"},{n:["art","artist palette"],u:"1f3a8",a:"0.6"},{n:["thread","spool of thread"],u:"1f9f5",a:"11.0"},{n:["sewing needle"],u:"1faa1",a:"13.0"},{n:["yarn","ball of yarn"],u:"1f9f6",a:"11.0"},{n:["knot"],u:"1faa2",a:"13.0"}],P1=[{n:["eyeglasses"],u:"1f453",a:"0.6"},{n:["sunglasses","dark sunglasses"],u:"1f576-fe0f",a:"0.7"},{n:["goggles"],u:"1f97d",a:"11.0"},{n:["lab coat"],u:"1f97c",a:"11.0"},{n:["safety vest"],u:"1f9ba",a:"12.0"},{n:["necktie"],u:"1f454",a:"0.6"},{n:["shirt","tshirt","t-shirt"],u:"1f455",a:"0.6"},{n:["jeans"],u:"1f456",a:"0.6"},{n:["scarf"],u:"1f9e3",a:"5.0"},{n:["gloves"],u:"1f9e4",a:"5.0"},{n:["coat"],u:"1f9e5",a:"5.0"},{n:["socks"],u:"1f9e6",a:"5.0"},{n:["dress"],u:"1f457",a:"0.6"},{n:["kimono"],u:"1f458",a:"0.6"},{n:["sari"],u:"1f97b",a:"12.0"},{n:["one-piece swimsuit"],u:"1fa71",a:"12.0"},{n:["briefs"],u:"1fa72",a:"12.0"},{n:["shorts"],u:"1fa73",a:"12.0"},{n:["bikini"],u:"1f459",a:"0.6"},{n:["womans clothes"],u:"1f45a",a:"0.6"},{n:["purse"],u:"1f45b",a:"0.6"},{n:["handbag"],u:"1f45c",a:"0.6"},{n:["pouch"],u:"1f45d",a:"0.6"},{n:["shopping bags"],u:"1f6cd-fe0f",a:"0.7"},{n:["school satchel"],u:"1f392",a:"0.6"},{n:["thong sandal"],u:"1fa74",a:"13.0"},{n:["shoe","mans shoe"],u:"1f45e",a:"0.6"},{n:["athletic shoe"],u:"1f45f",a:"0.6"},{n:["hiking boot"],u:"1f97e",a:"11.0"},{n:["flat shoe","womans flat shoe"],u:"1f97f",a:"11.0"},{n:["high heel","high-heeled shoe"],u:"1f460",a:"0.6"},{n:["sandal","womans sandal"],u:"1f461",a:"0.6"},{n:["ballet shoes"],u:"1fa70",a:"12.0"},{n:["boot","womans boots"],u:"1f462",a:"0.6"},{n:["crown"],u:"1f451",a:"0.6"},{n:["womans hat"],u:"1f452",a:"0.6"},{n:["tophat","top hat"],u:"1f3a9",a:"0.6"},{n:["mortar board","graduation cap"],u:"1f393",a:"0.6"},{n:["billed cap"],u:"1f9e2",a:"5.0"},{n:["military helmet"],u:"1fa96",a:"13.0"},{n:["rescue worker’s helmet","helmet with white cross"],u:"26d1-fe0f",a:"0.7"},{n:["prayer beads"],u:"1f4ff",a:"1.0"},{n:["lipstick"],u:"1f484",a:"0.6"},{n:["ring"],u:"1f48d",a:"0.6"},{n:["gem","gem stone"],u:"1f48e",a:"0.6"},{n:["mute","speaker with cancellation stroke"],u:"1f507",a:"1.0"},{n:["speaker"],u:"1f508",a:"0.7"},{n:["sound","speaker with one sound wave"],u:"1f509",a:"1.0"},{n:["loud sound","speaker with three sound waves"],u:"1f50a",a:"0.6"},{n:["loudspeaker","public address loudspeaker"],u:"1f4e2",a:"0.6"},{n:["mega","cheering megaphone"],u:"1f4e3",a:"0.6"},{n:["postal horn"],u:"1f4ef",a:"1.0"},{n:["bell"],u:"1f514",a:"0.6"},{n:["no bell","bell with cancellation stroke"],u:"1f515",a:"1.0"},{n:["musical score"],u:"1f3bc",a:"0.6"},{n:["musical note"],u:"1f3b5",a:"0.6"},{n:["notes","multiple musical notes"],u:"1f3b6",a:"0.6"},{n:["studio microphone"],u:"1f399-fe0f",a:"0.7"},{n:["level slider"],u:"1f39a-fe0f",a:"0.7"},{n:["control knobs"],u:"1f39b-fe0f",a:"0.7"},{n:["microphone"],u:"1f3a4",a:"0.6"},{n:["headphone","headphones"],u:"1f3a7",a:"0.6"},{n:["radio"],u:"1f4fb",a:"0.6"},{n:["saxophone"],u:"1f3b7",a:"0.6"},{n:["accordion"],u:"1fa97",a:"13.0"},{n:["guitar"],u:"1f3b8",a:"0.6"},{n:["musical keyboard"],u:"1f3b9",a:"0.6"},{n:["trumpet"],u:"1f3ba",a:"0.6"},{n:["violin"],u:"1f3bb",a:"0.6"},{n:["banjo"],u:"1fa95",a:"12.0"},{n:["drum with drumsticks"],u:"1f941",a:"3.0"},{n:["long drum"],u:"1fa98",a:"13.0"},{n:["iphone","mobile phone"],u:"1f4f1",a:"0.6"},{n:["calling","mobile phone with rightwards arrow at left"],u:"1f4f2",a:"0.6"},{n:["phone","telephone","black telephone"],u:"260e-fe0f",a:"0.6"},{n:["telephone receiver"],u:"1f4de",a:"0.6"},{n:["pager"],u:"1f4df",a:"0.6"},{n:["fax","fax machine"],u:"1f4e0",a:"0.6"},{n:["battery"],u:"1f50b",a:"0.6"},{n:["low battery"],u:"1faab",a:"14.0"},{n:["electric plug"],u:"1f50c",a:"0.6"},{n:["computer","personal computer"],u:"1f4bb",a:"0.6"},{n:["desktop computer"],u:"1f5a5-fe0f",a:"0.7"},{n:["printer"],u:"1f5a8-fe0f",a:"0.7"},{n:["keyboard"],u:"2328-fe0f",a:"1.0"},{n:["computer mouse","three button mouse"],u:"1f5b1-fe0f",a:"0.7"},{n:["trackball"],u:"1f5b2-fe0f",a:"0.7"},{n:["minidisc"],u:"1f4bd",a:"0.6"},{n:["floppy disk"],u:"1f4be",a:"0.6"},{n:["cd","optical disc"],u:"1f4bf",a:"0.6"},{n:["dvd"],u:"1f4c0",a:"0.6"},{n:["abacus"],u:"1f9ee",a:"11.0"},{n:["movie camera"],u:"1f3a5",a:"0.6"},{n:["film frames"],u:"1f39e-fe0f",a:"0.7"},{n:["film projector"],u:"1f4fd-fe0f",a:"0.7"},{n:["clapper","clapper board"],u:"1f3ac",a:"0.6"},{n:["tv","television"],u:"1f4fa",a:"0.6"},{n:["camera"],u:"1f4f7",a:"0.6"},{n:["camera with flash"],u:"1f4f8",a:"1.0"},{n:["video camera"],u:"1f4f9",a:"0.6"},{n:["vhs","videocassette"],u:"1f4fc",a:"0.6"},{n:["mag","left-pointing magnifying glass"],u:"1f50d",a:"0.6"},{n:["mag right","right-pointing magnifying glass"],u:"1f50e",a:"0.6"},{n:["candle"],u:"1f56f-fe0f",a:"0.7"},{n:["bulb","electric light bulb"],u:"1f4a1",a:"0.6"},{n:["flashlight","electric torch"],u:"1f526",a:"0.6"},{n:["lantern","izakaya lantern"],u:"1f3ee",a:"0.6"},{n:["diya lamp"],u:"1fa94",a:"12.0"},{n:["notebook with decorative cover"],u:"1f4d4",a:"0.6"},{n:["closed book"],u:"1f4d5",a:"0.6"},{n:["book","open book"],u:"1f4d6",a:"0.6"},{n:["green book"],u:"1f4d7",a:"0.6"},{n:["blue book"],u:"1f4d8",a:"0.6"},{n:["orange book"],u:"1f4d9",a:"0.6"},{n:["books"],u:"1f4da",a:"0.6"},{n:["notebook"],u:"1f4d3",a:"0.6"},{n:["ledger"],u:"1f4d2",a:"0.6"},{n:["page with curl"],u:"1f4c3",a:"0.6"},{n:["scroll"],u:"1f4dc",a:"0.6"},{n:["page facing up"],u:"1f4c4",a:"0.6"},{n:["newspaper"],u:"1f4f0",a:"0.6"},{n:["rolled-up newspaper","rolled up newspaper"],u:"1f5de-fe0f",a:"0.7"},{n:["bookmark tabs"],u:"1f4d1",a:"0.6"},{n:["bookmark"],u:"1f516",a:"0.6"},{n:["label"],u:"1f3f7-fe0f",a:"0.7"},{n:["moneybag","money bag"],u:"1f4b0",a:"0.6"},{n:["coin"],u:"1fa99",a:"13.0"},{n:["yen","banknote with yen sign"],u:"1f4b4",a:"0.6"},{n:["dollar","banknote with dollar sign"],u:"1f4b5",a:"0.6"},{n:["euro","banknote with euro sign"],u:"1f4b6",a:"1.0"},{n:["pound","banknote with pound sign"],u:"1f4b7",a:"1.0"},{n:["money with wings"],u:"1f4b8",a:"0.6"},{n:["credit card"],u:"1f4b3",a:"0.6"},{n:["receipt"],u:"1f9fe",a:"11.0"},{n:["chart","chart with upwards trend and yen sign"],u:"1f4b9",a:"0.6"},{n:["email","envelope"],u:"2709-fe0f",a:"0.6"},{n:["e-mail","e-mail symbol"],u:"1f4e7",a:"0.6"},{n:["incoming envelope"],u:"1f4e8",a:"0.6"},{n:["envelope with arrow","envelope with downwards arrow above"],u:"1f4e9",a:"0.6"},{n:["outbox tray"],u:"1f4e4",a:"0.6"},{n:["inbox tray"],u:"1f4e5",a:"0.6"},{n:["package"],u:"1f4e6",a:"0.6"},{n:["mailbox","closed mailbox with raised flag"],u:"1f4eb",a:"0.6"},{n:["mailbox closed","closed mailbox with lowered flag"],u:"1f4ea",a:"0.6"},{n:["mailbox with mail","open mailbox with raised flag"],u:"1f4ec",a:"0.7"},{n:["mailbox with no mail","open mailbox with lowered flag"],u:"1f4ed",a:"0.7"},{n:["postbox"],u:"1f4ee",a:"0.6"},{n:["ballot box with ballot"],u:"1f5f3-fe0f",a:"0.7"},{n:["pencil","pencil2"],u:"270f-fe0f",a:"0.6"},{n:["black nib"],u:"2712-fe0f",a:"0.6"},{n:["fountain pen","lower left fountain pen"],u:"1f58b-fe0f",a:"0.7"},{n:["pen","lower left ballpoint pen"],u:"1f58a-fe0f",a:"0.7"},{n:["paintbrush","lower left paintbrush"],u:"1f58c-fe0f",a:"0.7"},{n:["crayon","lower left crayon"],u:"1f58d-fe0f",a:"0.7"},{n:["memo","pencil"],u:"1f4dd",a:"0.6"},{n:["briefcase"],u:"1f4bc",a:"0.6"},{n:["file folder"],u:"1f4c1",a:"0.6"},{n:["open file folder"],u:"1f4c2",a:"0.6"},{n:["card index dividers"],u:"1f5c2-fe0f",a:"0.7"},{n:["date","calendar"],u:"1f4c5",a:"0.6"},{n:["calendar","tear-off calendar"],u:"1f4c6",a:"0.6"},{n:["spiral notepad","spiral note pad"],u:"1f5d2-fe0f",a:"0.7"},{n:["spiral calendar","spiral calendar pad"],u:"1f5d3-fe0f",a:"0.7"},{n:["card index"],u:"1f4c7",a:"0.6"},{n:["chart with upwards trend"],u:"1f4c8",a:"0.6"},{n:["chart with downwards trend"],u:"1f4c9",a:"0.6"},{n:["bar chart"],u:"1f4ca",a:"0.6"},{n:["clipboard"],u:"1f4cb",a:"0.6"},{n:["pushpin"],u:"1f4cc",a:"0.6"},{n:["round pushpin"],u:"1f4cd",a:"0.6"},{n:["paperclip"],u:"1f4ce",a:"0.6"},{n:["linked paperclips"],u:"1f587-fe0f",a:"0.7"},{n:["straight ruler"],u:"1f4cf",a:"0.6"},{n:["triangular ruler"],u:"1f4d0",a:"0.6"},{n:["scissors","black scissors"],u:"2702-fe0f",a:"0.6"},{n:["card file box"],u:"1f5c3-fe0f",a:"0.7"},{n:["file cabinet"],u:"1f5c4-fe0f",a:"0.7"},{n:["wastebasket"],u:"1f5d1-fe0f",a:"0.7"},{n:["lock"],u:"1f512",a:"0.6"},{n:["unlock","open lock"],u:"1f513",a:"0.6"},{n:["lock with ink pen"],u:"1f50f",a:"0.6"},{n:["closed lock with key"],u:"1f510",a:"0.6"},{n:["key"],u:"1f511",a:"0.6"},{n:["old key"],u:"1f5dd-fe0f",a:"0.7"},{n:["hammer"],u:"1f528",a:"0.6"},{n:["axe"],u:"1fa93",a:"12.0"},{n:["pick"],u:"26cf-fe0f",a:"0.7"},{n:["hammer and pick"],u:"2692-fe0f",a:"1.0"},{n:["hammer and wrench"],u:"1f6e0-fe0f",a:"0.7"},{n:["dagger","dagger knife"],u:"1f5e1-fe0f",a:"0.7"},{n:["crossed swords"],u:"2694-fe0f",a:"1.0"},{n:["gun","pistol"],u:"1f52b",a:"0.6"},{n:["boomerang"],u:"1fa83",a:"13.0"},{n:["bow and arrow"],u:"1f3f9",a:"1.0"},{n:["shield"],u:"1f6e1-fe0f",a:"0.7"},{n:["carpentry saw"],u:"1fa9a",a:"13.0"},{n:["wrench"],u:"1f527",a:"0.6"},{n:["screwdriver"],u:"1fa9b",a:"13.0"},{n:["nut and bolt"],u:"1f529",a:"0.6"},{n:["gear"],u:"2699-fe0f",a:"1.0"},{n:["clamp","compression"],u:"1f5dc-fe0f",a:"0.7"},{n:["scales","balance scale"],u:"2696-fe0f",a:"1.0"},{n:["probing cane"],u:"1f9af",a:"12.0"},{n:["link","link symbol"],u:"1f517",a:"0.6"},{n:["chains"],u:"26d3-fe0f",a:"0.7"},{n:["hook"],u:"1fa9d",a:"13.0"},{n:["toolbox"],u:"1f9f0",a:"11.0"},{n:["magnet"],u:"1f9f2",a:"11.0"},{n:["ladder"],u:"1fa9c",a:"13.0"},{n:["alembic"],u:"2697-fe0f",a:"1.0"},{n:["test tube"],u:"1f9ea",a:"11.0"},{n:["petri dish"],u:"1f9eb",a:"11.0"},{n:["dna","dna double helix"],u:"1f9ec",a:"11.0"},{n:["microscope"],u:"1f52c",a:"1.0"},{n:["telescope"],u:"1f52d",a:"1.0"},{n:["satellite antenna"],u:"1f4e1",a:"0.6"},{n:["syringe"],u:"1f489",a:"0.6"},{n:["drop of blood"],u:"1fa78",a:"12.0"},{n:["pill"],u:"1f48a",a:"0.6"},{n:["adhesive bandage"],u:"1fa79",a:"12.0"},{n:["crutch"],u:"1fa7c",a:"14.0"},{n:["stethoscope"],u:"1fa7a",a:"12.0"},{n:["x-ray"],u:"1fa7b",a:"14.0"},{n:["door"],u:"1f6aa",a:"0.6"},{n:["elevator"],u:"1f6d7",a:"13.0"},{n:["mirror"],u:"1fa9e",a:"13.0"},{n:["window"],u:"1fa9f",a:"13.0"},{n:["bed"],u:"1f6cf-fe0f",a:"0.7"},{n:["couch and lamp"],u:"1f6cb-fe0f",a:"0.7"},{n:["chair"],u:"1fa91",a:"12.0"},{n:["toilet"],u:"1f6bd",a:"0.6"},{n:["plunger"],u:"1faa0",a:"13.0"},{n:["shower"],u:"1f6bf",a:"1.0"},{n:["bathtub"],u:"1f6c1",a:"1.0"},{n:["mouse trap"],u:"1faa4",a:"13.0"},{n:["razor"],u:"1fa92",a:"12.0"},{n:["lotion bottle"],u:"1f9f4",a:"11.0"},{n:["safety pin"],u:"1f9f7",a:"11.0"},{n:["broom"],u:"1f9f9",a:"11.0"},{n:["basket"],u:"1f9fa",a:"11.0"},{n:["roll of paper"],u:"1f9fb",a:"11.0"},{n:["bucket"],u:"1faa3",a:"13.0"},{n:["soap","bar of soap"],u:"1f9fc",a:"11.0"},{n:["bubbles"],u:"1fae7",a:"14.0"},{n:["toothbrush"],u:"1faa5",a:"13.0"},{n:["sponge"],u:"1f9fd",a:"11.0"},{n:["fire extinguisher"],u:"1f9ef",a:"11.0"},{n:["shopping trolley"],u:"1f6d2",a:"3.0"},{n:["smoking","smoking symbol"],u:"1f6ac",a:"0.6"},{n:["coffin"],u:"26b0-fe0f",a:"1.0"},{n:["headstone"],u:"1faa6",a:"13.0"},{n:["funeral urn"],u:"26b1-fe0f",a:"1.0"},{n:["moyai"],u:"1f5ff",a:"0.6"},{n:["placard"],u:"1faa7",a:"13.0"},{n:["identification card"],u:"1faaa",a:"14.0"}],T1=[{n:["atm","automated teller machine"],u:"1f3e7",a:"0.6"},{n:["put litter in its place","put litter in its place symbol"],u:"1f6ae",a:"1.0"},{n:["potable water","potable water symbol"],u:"1f6b0",a:"1.0"},{n:["wheelchair","wheelchair symbol"],u:"267f",a:"0.6"},{n:["mens","mens symbol"],u:"1f6b9",a:"0.6"},{n:["womens","womens symbol"],u:"1f6ba",a:"0.6"},{n:["restroom"],u:"1f6bb",a:"0.6"},{n:["baby symbol"],u:"1f6bc",a:"0.6"},{n:["wc","water closet"],u:"1f6be",a:"0.6"},{n:["passport control"],u:"1f6c2",a:"1.0"},{n:["customs"],u:"1f6c3",a:"1.0"},{n:["baggage claim"],u:"1f6c4",a:"1.0"},{n:["left luggage"],u:"1f6c5",a:"1.0"},{n:["warning","warning sign"],u:"26a0-fe0f",a:"0.6"},{n:["children crossing"],u:"1f6b8",a:"1.0"},{n:["no entry"],u:"26d4",a:"0.6"},{n:["no entry sign"],u:"1f6ab",a:"0.6"},{n:["no bicycles"],u:"1f6b3",a:"1.0"},{n:["no smoking","no smoking symbol"],u:"1f6ad",a:"0.6"},{n:["do not litter","do not litter symbol"],u:"1f6af",a:"1.0"},{n:["non-potable water","non-potable water symbol"],u:"1f6b1",a:"1.0"},{n:["no pedestrians"],u:"1f6b7",a:"1.0"},{n:["no mobile phones"],u:"1f4f5",a:"1.0"},{n:["underage","no one under eighteen symbol"],u:"1f51e",a:"0.6"},{n:["radioactive","radioactive sign"],u:"2622-fe0f",a:"1.0"},{n:["biohazard","biohazard sign"],u:"2623-fe0f",a:"1.0"},{n:["arrow up","upwards black arrow"],u:"2b06-fe0f",a:"0.6"},{n:["north east arrow","arrow upper right"],u:"2197-fe0f",a:"0.6"},{n:["arrow right","black rightwards arrow"],u:"27a1-fe0f",a:"0.6"},{n:["south east arrow","arrow lower right"],u:"2198-fe0f",a:"0.6"},{n:["arrow down","downwards black arrow"],u:"2b07-fe0f",a:"0.6"},{n:["south west arrow","arrow lower left"],u:"2199-fe0f",a:"0.6"},{n:["arrow left","leftwards black arrow"],u:"2b05-fe0f",a:"0.6"},{n:["north west arrow","arrow upper left"],u:"2196-fe0f",a:"0.6"},{n:["up down arrow","arrow up down"],u:"2195-fe0f",a:"0.6"},{n:["left right arrow"],u:"2194-fe0f",a:"0.6"},{n:["leftwards arrow with hook"],u:"21a9-fe0f",a:"0.6"},{n:["arrow right hook","rightwards arrow with hook"],u:"21aa-fe0f",a:"0.6"},{n:["arrow heading up","arrow pointing rightwards then curving upwards"],u:"2934-fe0f",a:"0.6"},{n:["arrow heading down","arrow pointing rightwards then curving downwards"],u:"2935-fe0f",a:"0.6"},{n:["arrows clockwise","clockwise downwards and upwards open circle arrows"],u:"1f503",a:"0.6"},{n:["arrows counterclockwise","anticlockwise downwards and upwards open circle arrows"],u:"1f504",a:"1.0"},{n:["back","back with leftwards arrow above"],u:"1f519",a:"0.6"},{n:["end","end with leftwards arrow above"],u:"1f51a",a:"0.6"},{n:["on","on with exclamation mark with left right arrow above"],u:"1f51b",a:"0.6"},{n:["soon","soon with rightwards arrow above"],u:"1f51c",a:"0.6"},{n:["top","top with upwards arrow above"],u:"1f51d",a:"0.6"},{n:["place of worship"],u:"1f6d0",a:"1.0"},{n:["atom symbol"],u:"269b-fe0f",a:"1.0"},{n:["om","om symbol"],u:"1f549-fe0f",a:"0.7"},{n:["star of david"],u:"2721-fe0f",a:"0.7"},{n:["wheel of dharma"],u:"2638-fe0f",a:"0.7"},{n:["yin yang"],u:"262f-fe0f",a:"0.7"},{n:["latin cross"],u:"271d-fe0f",a:"0.7"},{n:["orthodox cross"],u:"2626-fe0f",a:"1.0"},{n:["star and crescent"],u:"262a-fe0f",a:"0.7"},{n:["peace symbol"],u:"262e-fe0f",a:"1.0"},{n:["menorah with nine branches"],u:"1f54e",a:"1.0"},{n:["six pointed star","six pointed star with middle dot"],u:"1f52f",a:"0.6"},{n:["aries"],u:"2648",a:"0.6"},{n:["taurus"],u:"2649",a:"0.6"},{n:["gemini"],u:"264a",a:"0.6"},{n:["cancer"],u:"264b",a:"0.6"},{n:["leo"],u:"264c",a:"0.6"},{n:["virgo"],u:"264d",a:"0.6"},{n:["libra"],u:"264e",a:"0.6"},{n:["scorpius"],u:"264f",a:"0.6"},{n:["sagittarius"],u:"2650",a:"0.6"},{n:["capricorn"],u:"2651",a:"0.6"},{n:["aquarius"],u:"2652",a:"0.6"},{n:["pisces"],u:"2653",a:"0.6"},{n:["ophiuchus"],u:"26ce",a:"0.6"},{n:["twisted rightwards arrows"],u:"1f500",a:"1.0"},{n:["repeat","clockwise rightwards and leftwards open circle arrows"],u:"1f501",a:"1.0"},{n:["repeat one","clockwise rightwards and leftwards open circle arrows with circled one overlay"],u:"1f502",a:"1.0"},{n:["arrow forward","black right-pointing triangle"],u:"25b6-fe0f",a:"0.6"},{n:["fast forward","black right-pointing double triangle"],u:"23e9",a:"0.6"},{n:["next track button","black right pointing double triangle with vertical bar"],u:"23ed-fe0f",a:"0.7"},{n:["play or pause button","black right pointing triangle with double vertical bar"],u:"23ef-fe0f",a:"1.0"},{n:["arrow backward","black left-pointing triangle"],u:"25c0-fe0f",a:"0.6"},{n:["rewind","black left-pointing double triangle"],u:"23ea",a:"0.6"},{n:["last track button","black left pointing double triangle with vertical bar"],u:"23ee-fe0f",a:"0.7"},{n:["arrow up small","up-pointing small red triangle"],u:"1f53c",a:"0.6"},{n:["arrow double up","black up-pointing double triangle"],u:"23eb",a:"0.6"},{n:["arrow down small","down-pointing small red triangle"],u:"1f53d",a:"0.6"},{n:["arrow double down","black down-pointing double triangle"],u:"23ec",a:"0.6"},{n:["pause button","double vertical bar"],u:"23f8-fe0f",a:"0.7"},{n:["stop button","black square for stop"],u:"23f9-fe0f",a:"0.7"},{n:["record button","black circle for record"],u:"23fa-fe0f",a:"0.7"},{n:["eject","eject button"],u:"23cf-fe0f",a:"1.0"},{n:["cinema"],u:"1f3a6",a:"0.6"},{n:["low brightness","low brightness symbol"],u:"1f505",a:"1.0"},{n:["high brightness","high brightness symbol"],u:"1f506",a:"1.0"},{n:["signal strength","antenna with bars"],u:"1f4f6",a:"0.6"},{n:["vibration mode"],u:"1f4f3",a:"0.6"},{n:["mobile phone off"],u:"1f4f4",a:"0.6"},{n:["female sign"],u:"2640-fe0f",a:"4.0"},{n:["male sign"],u:"2642-fe0f",a:"4.0"},{n:["transgender symbol"],u:"26a7-fe0f",a:"13.0"},{n:["heavy multiplication x"],u:"2716-fe0f",a:"0.6"},{n:["heavy plus sign"],u:"2795",a:"0.6"},{n:["heavy minus sign"],u:"2796",a:"0.6"},{n:["heavy division sign"],u:"2797",a:"0.6"},{n:["heavy equals sign"],u:"1f7f0",a:"14.0"},{n:["infinity"],u:"267e-fe0f",a:"11.0"},{n:["bangbang","double exclamation mark"],u:"203c-fe0f",a:"0.6"},{n:["interrobang","exclamation question mark"],u:"2049-fe0f",a:"0.6"},{n:["question","black question mark ornament"],u:"2753",a:"0.6"},{n:["grey question","white question mark ornament"],u:"2754",a:"0.6"},{n:["grey exclamation","white exclamation mark ornament"],u:"2755",a:"0.6"},{n:["exclamation","heavy exclamation mark","heavy exclamation mark symbol"],u:"2757",a:"0.6"},{n:["wavy dash"],u:"3030-fe0f",a:"0.6"},{n:["currency exchange"],u:"1f4b1",a:"0.6"},{n:["heavy dollar sign"],u:"1f4b2",a:"0.6"},{n:["medical symbol","staff of aesculapius"],u:"2695-fe0f",a:"4.0"},{n:["recycle","black universal recycling symbol"],u:"267b-fe0f",a:"0.6"},{n:["fleur-de-lis","fleur de lis"],u:"269c-fe0f",a:"1.0"},{n:["trident","trident emblem"],u:"1f531",a:"0.6"},{n:["name badge"],u:"1f4db",a:"0.6"},{n:["beginner","japanese symbol for beginner"],u:"1f530",a:"0.6"},{n:["o","heavy large circle"],u:"2b55",a:"0.6"},{n:["white check mark","white heavy check mark"],u:"2705",a:"0.6"},{n:["ballot box with check"],u:"2611-fe0f",a:"0.6"},{n:["heavy check mark"],u:"2714-fe0f",a:"0.6"},{n:["x","cross mark"],u:"274c",a:"0.6"},{n:["negative squared cross mark"],u:"274e",a:"0.6"},{n:["curly loop"],u:"27b0",a:"0.6"},{n:["loop","double curly loop"],u:"27bf",a:"1.0"},{n:["part alternation mark"],u:"303d-fe0f",a:"0.6"},{n:["eight spoked asterisk"],u:"2733-fe0f",a:"0.6"},{n:["eight pointed black star"],u:"2734-fe0f",a:"0.6"},{n:["sparkle"],u:"2747-fe0f",a:"0.6"},{n:["copyright","copyright sign"],u:"00a9-fe0f",a:"0.6"},{n:["registered","registered sign"],u:"00ae-fe0f",a:"0.6"},{n:["tm","trade mark sign"],u:"2122-fe0f",a:"0.6"},{n:["hash","hash key"],u:"0023-fe0f-20e3",a:"0.6"},{n:["keycap: *","keycap star"],u:"002a-fe0f-20e3",a:"2.0"},{n:["zero","keycap 0"],u:"0030-fe0f-20e3",a:"0.6"},{n:["one","keycap 1"],u:"0031-fe0f-20e3",a:"0.6"},{n:["two","keycap 2"],u:"0032-fe0f-20e3",a:"0.6"},{n:["three","keycap 3"],u:"0033-fe0f-20e3",a:"0.6"},{n:["four","keycap 4"],u:"0034-fe0f-20e3",a:"0.6"},{n:["five","keycap 5"],u:"0035-fe0f-20e3",a:"0.6"},{n:["six","keycap 6"],u:"0036-fe0f-20e3",a:"0.6"},{n:["seven","keycap 7"],u:"0037-fe0f-20e3",a:"0.6"},{n:["eight","keycap 8"],u:"0038-fe0f-20e3",a:"0.6"},{n:["nine","keycap 9"],u:"0039-fe0f-20e3",a:"0.6"},{n:["keycap ten"],u:"1f51f",a:"0.6"},{n:["capital abcd","input symbol for latin capital letters"],u:"1f520",a:"0.6"},{n:["abcd","input symbol for latin small letters"],u:"1f521",a:"0.6"},{n:["1234","input symbol for numbers"],u:"1f522",a:"0.6"},{n:["symbols","input symbol for symbols"],u:"1f523",a:"0.6"},{n:["abc","input symbol for latin letters"],u:"1f524",a:"0.6"},{n:["a","negative squared latin capital letter a"],u:"1f170-fe0f",a:"0.6"},{n:["ab","negative squared ab"],u:"1f18e",a:"0.6"},{n:["b","negative squared latin capital letter b"],u:"1f171-fe0f",a:"0.6"},{n:["cl","squared cl"],u:"1f191",a:"0.6"},{n:["cool","squared cool"],u:"1f192",a:"0.6"},{n:["free","squared free"],u:"1f193",a:"0.6"},{n:["information source"],u:"2139-fe0f",a:"0.6"},{n:["id","squared id"],u:"1f194",a:"0.6"},{n:["m","circled latin capital letter m"],u:"24c2-fe0f",a:"0.6"},{n:["new","squared new"],u:"1f195",a:"0.6"},{n:["ng","squared ng"],u:"1f196",a:"0.6"},{n:["o2","negative squared latin capital letter o"],u:"1f17e-fe0f",a:"0.6"},{n:["ok","squared ok"],u:"1f197",a:"0.6"},{n:["parking","negative squared latin capital letter p"],u:"1f17f-fe0f",a:"0.6"},{n:["sos","squared sos"],u:"1f198",a:"0.6"},{n:["up","squared up with exclamation mark"],u:"1f199",a:"0.6"},{n:["vs","squared vs"],u:"1f19a",a:"0.6"},{n:["koko","squared katakana koko"],u:"1f201",a:"0.6"},{n:["sa","squared katakana sa"],u:"1f202-fe0f",a:"0.6"},{n:["u6708","squared cjk unified ideograph-6708"],u:"1f237-fe0f",a:"0.6"},{n:["u6709","squared cjk unified ideograph-6709"],u:"1f236",a:"0.6"},{n:["u6307","squared cjk unified ideograph-6307"],u:"1f22f",a:"0.6"},{n:["ideograph advantage","circled ideograph advantage"],u:"1f250",a:"0.6"},{n:["u5272","squared cjk unified ideograph-5272"],u:"1f239",a:"0.6"},{n:["u7121","squared cjk unified ideograph-7121"],u:"1f21a",a:"0.6"},{n:["u7981","squared cjk unified ideograph-7981"],u:"1f232",a:"0.6"},{n:["accept","circled ideograph accept"],u:"1f251",a:"0.6"},{n:["u7533","squared cjk unified ideograph-7533"],u:"1f238",a:"0.6"},{n:["u5408","squared cjk unified ideograph-5408"],u:"1f234",a:"0.6"},{n:["u7a7a","squared cjk unified ideograph-7a7a"],u:"1f233",a:"0.6"},{n:["congratulations","circled ideograph congratulation"],u:"3297-fe0f",a:"0.6"},{n:["secret","circled ideograph secret"],u:"3299-fe0f",a:"0.6"},{n:["u55b6","squared cjk unified ideograph-55b6"],u:"1f23a",a:"0.6"},{n:["u6e80","squared cjk unified ideograph-6e80"],u:"1f235",a:"0.6"},{n:["red circle","large red circle"],u:"1f534",a:"0.6"},{n:["large orange circle"],u:"1f7e0",a:"12.0"},{n:["large yellow circle"],u:"1f7e1",a:"12.0"},{n:["large green circle"],u:"1f7e2",a:"12.0"},{n:["large blue circle"],u:"1f535",a:"0.6"},{n:["large purple circle"],u:"1f7e3",a:"12.0"},{n:["large brown circle"],u:"1f7e4",a:"12.0"},{n:["black circle","medium black circle"],u:"26ab",a:"0.6"},{n:["white circle","medium white circle"],u:"26aa",a:"0.6"},{n:["large red square"],u:"1f7e5",a:"12.0"},{n:["large orange square"],u:"1f7e7",a:"12.0"},{n:["large yellow square"],u:"1f7e8",a:"12.0"},{n:["large green square"],u:"1f7e9",a:"12.0"},{n:["large blue square"],u:"1f7e6",a:"12.0"},{n:["large purple square"],u:"1f7ea",a:"12.0"},{n:["large brown square"],u:"1f7eb",a:"12.0"},{n:["black large square"],u:"2b1b",a:"0.6"},{n:["white large square"],u:"2b1c",a:"0.6"},{n:["black medium square"],u:"25fc-fe0f",a:"0.6"},{n:["white medium square"],u:"25fb-fe0f",a:"0.6"},{n:["black medium small square"],u:"25fe",a:"0.6"},{n:["white medium small square"],u:"25fd",a:"0.6"},{n:["black small square"],u:"25aa-fe0f",a:"0.6"},{n:["white small square"],u:"25ab-fe0f",a:"0.6"},{n:["large orange diamond"],u:"1f536",a:"0.6"},{n:["large blue diamond"],u:"1f537",a:"0.6"},{n:["small orange diamond"],u:"1f538",a:"0.6"},{n:["small blue diamond"],u:"1f539",a:"0.6"},{n:["small red triangle","up-pointing red triangle"],u:"1f53a",a:"0.6"},{n:["small red triangle down","down-pointing red triangle"],u:"1f53b",a:"0.6"},{n:["diamond shape with a dot inside"],u:"1f4a0",a:"0.6"},{n:["radio button"],u:"1f518",a:"0.6"},{n:["white square button"],u:"1f533",a:"0.6"},{n:["black square button"],u:"1f532",a:"0.6"}],A1=[{n:["chequered flag","checkered flag"],u:"1f3c1",a:"0.6"},{n:["triangular flag on post"],u:"1f6a9",a:"0.6"},{n:["crossed flags"],u:"1f38c",a:"0.6"},{n:["waving black flag"],u:"1f3f4",a:"1.0"},{n:["white flag","waving white flag"],u:"1f3f3-fe0f",a:"0.7"},{n:["rainbow flag","rainbow-flag"],u:"1f3f3-fe0f-200d-1f308",a:"4.0"},{n:["transgender flag"],u:"1f3f3-fe0f-200d-26a7-fe0f",a:"13.0"},{n:["pirate flag"],u:"1f3f4-200d-2620-fe0f",a:"11.0"},{n:["flag-ac","ascension island flag"],u:"1f1e6-1f1e8",a:"2.0"},{n:["flag-ad","andorra flag"],u:"1f1e6-1f1e9",a:"2.0"},{n:["flag-ae","united arab emirates flag"],u:"1f1e6-1f1ea",a:"2.0"},{n:["flag-af","afghanistan flag"],u:"1f1e6-1f1eb",a:"2.0"},{n:["flag-ag","antigua & barbuda flag"],u:"1f1e6-1f1ec",a:"2.0"},{n:["flag-ai","anguilla flag"],u:"1f1e6-1f1ee",a:"2.0"},{n:["flag-al","albania flag"],u:"1f1e6-1f1f1",a:"2.0"},{n:["flag-am","armenia flag"],u:"1f1e6-1f1f2",a:"2.0"},{n:["flag-ao","angola flag"],u:"1f1e6-1f1f4",a:"2.0"},{n:["flag-aq","antarctica flag"],u:"1f1e6-1f1f6",a:"2.0"},{n:["flag-ar","argentina flag"],u:"1f1e6-1f1f7",a:"2.0"},{n:["flag-as","american samoa flag"],u:"1f1e6-1f1f8",a:"2.0"},{n:["flag-at","austria flag"],u:"1f1e6-1f1f9",a:"2.0"},{n:["flag-au","australia flag"],u:"1f1e6-1f1fa",a:"2.0"},{n:["flag-aw","aruba flag"],u:"1f1e6-1f1fc",a:"2.0"},{n:["flag-ax","åland islands flag"],u:"1f1e6-1f1fd",a:"2.0"},{n:["flag-az","azerbaijan flag"],u:"1f1e6-1f1ff",a:"2.0"},{n:["flag-ba","bosnia & herzegovina flag"],u:"1f1e7-1f1e6",a:"2.0"},{n:["flag-bb","barbados flag"],u:"1f1e7-1f1e7",a:"2.0"},{n:["flag-bd","bangladesh flag"],u:"1f1e7-1f1e9",a:"2.0"},{n:["flag-be","belgium flag"],u:"1f1e7-1f1ea",a:"2.0"},{n:["flag-bf","burkina faso flag"],u:"1f1e7-1f1eb",a:"2.0"},{n:["flag-bg","bulgaria flag"],u:"1f1e7-1f1ec",a:"2.0"},{n:["flag-bh","bahrain flag"],u:"1f1e7-1f1ed",a:"2.0"},{n:["flag-bi","burundi flag"],u:"1f1e7-1f1ee",a:"2.0"},{n:["flag-bj","benin flag"],u:"1f1e7-1f1ef",a:"2.0"},{n:["flag-bl","st. barthélemy flag"],u:"1f1e7-1f1f1",a:"2.0"},{n:["flag-bm","bermuda flag"],u:"1f1e7-1f1f2",a:"2.0"},{n:["flag-bn","brunei flag"],u:"1f1e7-1f1f3",a:"2.0"},{n:["flag-bo","bolivia flag"],u:"1f1e7-1f1f4",a:"2.0"},{n:["flag-bq","caribbean netherlands flag"],u:"1f1e7-1f1f6",a:"2.0"},{n:["flag-br","brazil flag"],u:"1f1e7-1f1f7",a:"2.0"},{n:["flag-bs","bahamas flag"],u:"1f1e7-1f1f8",a:"2.0"},{n:["flag-bt","bhutan flag"],u:"1f1e7-1f1f9",a:"2.0"},{n:["flag-bv","bouvet island flag"],u:"1f1e7-1f1fb",a:"2.0"},{n:["flag-bw","botswana flag"],u:"1f1e7-1f1fc",a:"2.0"},{n:["flag-by","belarus flag"],u:"1f1e7-1f1fe",a:"2.0"},{n:["flag-bz","belize flag"],u:"1f1e7-1f1ff",a:"2.0"},{n:["flag-ca","canada flag"],u:"1f1e8-1f1e6",a:"2.0"},{n:["flag-cc","cocos (keeling) islands flag"],u:"1f1e8-1f1e8",a:"2.0"},{n:["flag-cd","congo - kinshasa flag"],u:"1f1e8-1f1e9",a:"2.0"},{n:["flag-cf","central african republic flag"],u:"1f1e8-1f1eb",a:"2.0"},{n:["flag-cg","congo - brazzaville flag"],u:"1f1e8-1f1ec",a:"2.0"},{n:["flag-ch","switzerland flag"],u:"1f1e8-1f1ed",a:"2.0"},{n:["flag-ci","côte d’ivoire flag"],u:"1f1e8-1f1ee",a:"2.0"},{n:["flag-ck","cook islands flag"],u:"1f1e8-1f1f0",a:"2.0"},{n:["flag-cl","chile flag"],u:"1f1e8-1f1f1",a:"2.0"},{n:["flag-cm","cameroon flag"],u:"1f1e8-1f1f2",a:"2.0"},{n:["cn","flag-cn","china flag"],u:"1f1e8-1f1f3",a:"0.6"},{n:["flag-co","colombia flag"],u:"1f1e8-1f1f4",a:"2.0"},{n:["flag-cp","clipperton island flag"],u:"1f1e8-1f1f5",a:"2.0"},{n:["flag-cr","costa rica flag"],u:"1f1e8-1f1f7",a:"2.0"},{n:["flag-cu","cuba flag"],u:"1f1e8-1f1fa",a:"2.0"},{n:["flag-cv","cape verde flag"],u:"1f1e8-1f1fb",a:"2.0"},{n:["flag-cw","curaçao flag"],u:"1f1e8-1f1fc",a:"2.0"},{n:["flag-cx","christmas island flag"],u:"1f1e8-1f1fd",a:"2.0"},{n:["flag-cy","cyprus flag"],u:"1f1e8-1f1fe",a:"2.0"},{n:["flag-cz","czechia flag"],u:"1f1e8-1f1ff",a:"2.0"},{n:["de","flag-de","germany flag"],u:"1f1e9-1f1ea",a:"0.6"},{n:["flag-dg","diego garcia flag"],u:"1f1e9-1f1ec",a:"2.0"},{n:["flag-dj","djibouti flag"],u:"1f1e9-1f1ef",a:"2.0"},{n:["flag-dk","denmark flag"],u:"1f1e9-1f1f0",a:"2.0"},{n:["flag-dm","dominica flag"],u:"1f1e9-1f1f2",a:"2.0"},{n:["flag-do","dominican republic flag"],u:"1f1e9-1f1f4",a:"2.0"},{n:["flag-dz","algeria flag"],u:"1f1e9-1f1ff",a:"2.0"},{n:["flag-ea","ceuta & melilla flag"],u:"1f1ea-1f1e6",a:"2.0"},{n:["flag-ec","ecuador flag"],u:"1f1ea-1f1e8",a:"2.0"},{n:["flag-ee","estonia flag"],u:"1f1ea-1f1ea",a:"2.0"},{n:["flag-eg","egypt flag"],u:"1f1ea-1f1ec",a:"2.0"},{n:["flag-eh","western sahara flag"],u:"1f1ea-1f1ed",a:"2.0"},{n:["flag-er","eritrea flag"],u:"1f1ea-1f1f7",a:"2.0"},{n:["es","flag-es","spain flag"],u:"1f1ea-1f1f8",a:"0.6"},{n:["flag-et","ethiopia flag"],u:"1f1ea-1f1f9",a:"2.0"},{n:["flag-eu","european union flag"],u:"1f1ea-1f1fa",a:"2.0"},{n:["flag-fi","finland flag"],u:"1f1eb-1f1ee",a:"2.0"},{n:["flag-fj","fiji flag"],u:"1f1eb-1f1ef",a:"2.0"},{n:["flag-fk","falkland islands flag"],u:"1f1eb-1f1f0",a:"2.0"},{n:["flag-fm","micronesia flag"],u:"1f1eb-1f1f2",a:"2.0"},{n:["flag-fo","faroe islands flag"],u:"1f1eb-1f1f4",a:"2.0"},{n:["fr","flag-fr","france flag"],u:"1f1eb-1f1f7",a:"0.6"},{n:["flag-ga","gabon flag"],u:"1f1ec-1f1e6",a:"2.0"},{n:["gb","uk","flag-gb","united kingdom flag"],u:"1f1ec-1f1e7",a:"0.6"},{n:["flag-gd","grenada flag"],u:"1f1ec-1f1e9",a:"2.0"},{n:["flag-ge","georgia flag"],u:"1f1ec-1f1ea",a:"2.0"},{n:["flag-gf","french guiana flag"],u:"1f1ec-1f1eb",a:"2.0"},{n:["flag-gg","guernsey flag"],u:"1f1ec-1f1ec",a:"2.0"},{n:["flag-gh","ghana flag"],u:"1f1ec-1f1ed",a:"2.0"},{n:["flag-gi","gibraltar flag"],u:"1f1ec-1f1ee",a:"2.0"},{n:["flag-gl","greenland flag"],u:"1f1ec-1f1f1",a:"2.0"},{n:["flag-gm","gambia flag"],u:"1f1ec-1f1f2",a:"2.0"},{n:["flag-gn","guinea flag"],u:"1f1ec-1f1f3",a:"2.0"},{n:["flag-gp","guadeloupe flag"],u:"1f1ec-1f1f5",a:"2.0"},{n:["flag-gq","equatorial guinea flag"],u:"1f1ec-1f1f6",a:"2.0"},{n:["flag-gr","greece flag"],u:"1f1ec-1f1f7",a:"2.0"},{n:["flag-gs","south georgia & south sandwich islands flag"],u:"1f1ec-1f1f8",a:"2.0"},{n:["flag-gt","guatemala flag"],u:"1f1ec-1f1f9",a:"2.0"},{n:["flag-gu","guam flag"],u:"1f1ec-1f1fa",a:"2.0"},{n:["flag-gw","guinea-bissau flag"],u:"1f1ec-1f1fc",a:"2.0"},{n:["flag-gy","guyana flag"],u:"1f1ec-1f1fe",a:"2.0"},{n:["flag-hk","hong kong sar china flag"],u:"1f1ed-1f1f0",a:"2.0"},{n:["flag-hm","heard & mcdonald islands flag"],u:"1f1ed-1f1f2",a:"2.0"},{n:["flag-hn","honduras flag"],u:"1f1ed-1f1f3",a:"2.0"},{n:["flag-hr","croatia flag"],u:"1f1ed-1f1f7",a:"2.0"},{n:["flag-ht","haiti flag"],u:"1f1ed-1f1f9",a:"2.0"},{n:["flag-hu","hungary flag"],u:"1f1ed-1f1fa",a:"2.0"},{n:["flag-ic","canary islands flag"],u:"1f1ee-1f1e8",a:"2.0"},{n:["flag-id","indonesia flag"],u:"1f1ee-1f1e9",a:"2.0"},{n:["flag-ie","ireland flag"],u:"1f1ee-1f1ea",a:"2.0"},{n:["flag-il","israel flag"],u:"1f1ee-1f1f1",a:"2.0"},{n:["flag-im","isle of man flag"],u:"1f1ee-1f1f2",a:"2.0"},{n:["flag-in","india flag"],u:"1f1ee-1f1f3",a:"2.0"},{n:["flag-io","british indian ocean territory flag"],u:"1f1ee-1f1f4",a:"2.0"},{n:["flag-iq","iraq flag"],u:"1f1ee-1f1f6",a:"2.0"},{n:["flag-ir","iran flag"],u:"1f1ee-1f1f7",a:"2.0"},{n:["flag-is","iceland flag"],u:"1f1ee-1f1f8",a:"2.0"},{n:["it","flag-it","italy flag"],u:"1f1ee-1f1f9",a:"0.6"},{n:["flag-je","jersey flag"],u:"1f1ef-1f1ea",a:"2.0"},{n:["flag-jm","jamaica flag"],u:"1f1ef-1f1f2",a:"2.0"},{n:["flag-jo","jordan flag"],u:"1f1ef-1f1f4",a:"2.0"},{n:["jp","flag-jp","japan flag"],u:"1f1ef-1f1f5",a:"0.6"},{n:["flag-ke","kenya flag"],u:"1f1f0-1f1ea",a:"2.0"},{n:["flag-kg","kyrgyzstan flag"],u:"1f1f0-1f1ec",a:"2.0"},{n:["flag-kh","cambodia flag"],u:"1f1f0-1f1ed",a:"2.0"},{n:["flag-ki","kiribati flag"],u:"1f1f0-1f1ee",a:"2.0"},{n:["flag-km","comoros flag"],u:"1f1f0-1f1f2",a:"2.0"},{n:["flag-kn","st. kitts & nevis flag"],u:"1f1f0-1f1f3",a:"2.0"},{n:["flag-kp","north korea flag"],u:"1f1f0-1f1f5",a:"2.0"},{n:["kr","flag-kr","south korea flag"],u:"1f1f0-1f1f7",a:"0.6"},{n:["flag-kw","kuwait flag"],u:"1f1f0-1f1fc",a:"2.0"},{n:["flag-ky","cayman islands flag"],u:"1f1f0-1f1fe",a:"2.0"},{n:["flag-kz","kazakhstan flag"],u:"1f1f0-1f1ff",a:"2.0"},{n:["flag-la","laos flag"],u:"1f1f1-1f1e6",a:"2.0"},{n:["flag-lb","lebanon flag"],u:"1f1f1-1f1e7",a:"2.0"},{n:["flag-lc","st. lucia flag"],u:"1f1f1-1f1e8",a:"2.0"},{n:["flag-li","liechtenstein flag"],u:"1f1f1-1f1ee",a:"2.0"},{n:["flag-lk","sri lanka flag"],u:"1f1f1-1f1f0",a:"2.0"},{n:["flag-lr","liberia flag"],u:"1f1f1-1f1f7",a:"2.0"},{n:["flag-ls","lesotho flag"],u:"1f1f1-1f1f8",a:"2.0"},{n:["flag-lt","lithuania flag"],u:"1f1f1-1f1f9",a:"2.0"},{n:["flag-lu","luxembourg flag"],u:"1f1f1-1f1fa",a:"2.0"},{n:["flag-lv","latvia flag"],u:"1f1f1-1f1fb",a:"2.0"},{n:["flag-ly","libya flag"],u:"1f1f1-1f1fe",a:"2.0"},{n:["flag-ma","morocco flag"],u:"1f1f2-1f1e6",a:"2.0"},{n:["flag-mc","monaco flag"],u:"1f1f2-1f1e8",a:"2.0"},{n:["flag-md","moldova flag"],u:"1f1f2-1f1e9",a:"2.0"},{n:["flag-me","montenegro flag"],u:"1f1f2-1f1ea",a:"2.0"},{n:["flag-mf","st. martin flag"],u:"1f1f2-1f1eb",a:"2.0"},{n:["flag-mg","madagascar flag"],u:"1f1f2-1f1ec",a:"2.0"},{n:["flag-mh","marshall islands flag"],u:"1f1f2-1f1ed",a:"2.0"},{n:["flag-mk","north macedonia flag"],u:"1f1f2-1f1f0",a:"2.0"},{n:["flag-ml","mali flag"],u:"1f1f2-1f1f1",a:"2.0"},{n:["flag-mm","myanmar (burma) flag"],u:"1f1f2-1f1f2",a:"2.0"},{n:["flag-mn","mongolia flag"],u:"1f1f2-1f1f3",a:"2.0"},{n:["flag-mo","macao sar china flag"],u:"1f1f2-1f1f4",a:"2.0"},{n:["flag-mp","northern mariana islands flag"],u:"1f1f2-1f1f5",a:"2.0"},{n:["flag-mq","martinique flag"],u:"1f1f2-1f1f6",a:"2.0"},{n:["flag-mr","mauritania flag"],u:"1f1f2-1f1f7",a:"2.0"},{n:["flag-ms","montserrat flag"],u:"1f1f2-1f1f8",a:"2.0"},{n:["flag-mt","malta flag"],u:"1f1f2-1f1f9",a:"2.0"},{n:["flag-mu","mauritius flag"],u:"1f1f2-1f1fa",a:"2.0"},{n:["flag-mv","maldives flag"],u:"1f1f2-1f1fb",a:"2.0"},{n:["flag-mw","malawi flag"],u:"1f1f2-1f1fc",a:"2.0"},{n:["flag-mx","mexico flag"],u:"1f1f2-1f1fd",a:"2.0"},{n:["flag-my","malaysia flag"],u:"1f1f2-1f1fe",a:"2.0"},{n:["flag-mz","mozambique flag"],u:"1f1f2-1f1ff",a:"2.0"},{n:["flag-na","namibia flag"],u:"1f1f3-1f1e6",a:"2.0"},{n:["flag-nc","new caledonia flag"],u:"1f1f3-1f1e8",a:"2.0"},{n:["flag-ne","niger flag"],u:"1f1f3-1f1ea",a:"2.0"},{n:["flag-nf","norfolk island flag"],u:"1f1f3-1f1eb",a:"2.0"},{n:["flag-ng","nigeria flag"],u:"1f1f3-1f1ec",a:"2.0"},{n:["flag-ni","nicaragua flag"],u:"1f1f3-1f1ee",a:"2.0"},{n:["flag-nl","netherlands flag"],u:"1f1f3-1f1f1",a:"2.0"},{n:["flag-no","norway flag"],u:"1f1f3-1f1f4",a:"2.0"},{n:["flag-np","nepal flag"],u:"1f1f3-1f1f5",a:"2.0"},{n:["flag-nr","nauru flag"],u:"1f1f3-1f1f7",a:"2.0"},{n:["flag-nu","niue flag"],u:"1f1f3-1f1fa",a:"2.0"},{n:["flag-nz","new zealand flag"],u:"1f1f3-1f1ff",a:"2.0"},{n:["flag-om","oman flag"],u:"1f1f4-1f1f2",a:"2.0"},{n:["flag-pa","panama flag"],u:"1f1f5-1f1e6",a:"2.0"},{n:["flag-pe","peru flag"],u:"1f1f5-1f1ea",a:"2.0"},{n:["flag-pf","french polynesia flag"],u:"1f1f5-1f1eb",a:"2.0"},{n:["flag-pg","papua new guinea flag"],u:"1f1f5-1f1ec",a:"2.0"},{n:["flag-ph","philippines flag"],u:"1f1f5-1f1ed",a:"2.0"},{n:["flag-pk","pakistan flag"],u:"1f1f5-1f1f0",a:"2.0"},{n:["flag-pl","poland flag"],u:"1f1f5-1f1f1",a:"2.0"},{n:["flag-pm","st. pierre & miquelon flag"],u:"1f1f5-1f1f2",a:"2.0"},{n:["flag-pn","pitcairn islands flag"],u:"1f1f5-1f1f3",a:"2.0"},{n:["flag-pr","puerto rico flag"],u:"1f1f5-1f1f7",a:"2.0"},{n:["flag-ps","palestinian territories flag"],u:"1f1f5-1f1f8",a:"2.0"},{n:["flag-pt","portugal flag"],u:"1f1f5-1f1f9",a:"2.0"},{n:["flag-pw","palau flag"],u:"1f1f5-1f1fc",a:"2.0"},{n:["flag-py","paraguay flag"],u:"1f1f5-1f1fe",a:"2.0"},{n:["flag-qa","qatar flag"],u:"1f1f6-1f1e6",a:"2.0"},{n:["flag-re","réunion flag"],u:"1f1f7-1f1ea",a:"2.0"},{n:["flag-ro","romania flag"],u:"1f1f7-1f1f4",a:"2.0"},{n:["flag-rs","serbia flag"],u:"1f1f7-1f1f8",a:"2.0"},{n:["ru","flag-ru","russia flag"],u:"1f1f7-1f1fa",a:"0.6"},{n:["flag-rw","rwanda flag"],u:"1f1f7-1f1fc",a:"2.0"},{n:["flag-sa","saudi arabia flag"],u:"1f1f8-1f1e6",a:"2.0"},{n:["flag-sb","solomon islands flag"],u:"1f1f8-1f1e7",a:"2.0"},{n:["flag-sc","seychelles flag"],u:"1f1f8-1f1e8",a:"2.0"},{n:["flag-sd","sudan flag"],u:"1f1f8-1f1e9",a:"2.0"},{n:["flag-se","sweden flag"],u:"1f1f8-1f1ea",a:"2.0"},{n:["flag-sg","singapore flag"],u:"1f1f8-1f1ec",a:"2.0"},{n:["flag-sh","st. helena flag"],u:"1f1f8-1f1ed",a:"2.0"},{n:["flag-si","slovenia flag"],u:"1f1f8-1f1ee",a:"2.0"},{n:["flag-sj","svalbard & jan mayen flag"],u:"1f1f8-1f1ef",a:"2.0"},{n:["flag-sk","slovakia flag"],u:"1f1f8-1f1f0",a:"2.0"},{n:["flag-sl","sierra leone flag"],u:"1f1f8-1f1f1",a:"2.0"},{n:["flag-sm","san marino flag"],u:"1f1f8-1f1f2",a:"2.0"},{n:["flag-sn","senegal flag"],u:"1f1f8-1f1f3",a:"2.0"},{n:["flag-so","somalia flag"],u:"1f1f8-1f1f4",a:"2.0"},{n:["flag-sr","suriname flag"],u:"1f1f8-1f1f7",a:"2.0"},{n:["flag-ss","south sudan flag"],u:"1f1f8-1f1f8",a:"2.0"},{n:["flag-st","são tomé & príncipe flag"],u:"1f1f8-1f1f9",a:"2.0"},{n:["flag-sv","el salvador flag"],u:"1f1f8-1f1fb",a:"2.0"},{n:["flag-sx","sint maarten flag"],u:"1f1f8-1f1fd",a:"2.0"},{n:["flag-sy","syria flag"],u:"1f1f8-1f1fe",a:"2.0"},{n:["flag-sz","eswatini flag"],u:"1f1f8-1f1ff",a:"2.0"},{n:["flag-ta","tristan da cunha flag"],u:"1f1f9-1f1e6",a:"2.0"},{n:["flag-tc","turks & caicos islands flag"],u:"1f1f9-1f1e8",a:"2.0"},{n:["flag-td","chad flag"],u:"1f1f9-1f1e9",a:"2.0"},{n:["flag-tf","french southern territories flag"],u:"1f1f9-1f1eb",a:"2.0"},{n:["flag-tg","togo flag"],u:"1f1f9-1f1ec",a:"2.0"},{n:["flag-th","thailand flag"],u:"1f1f9-1f1ed",a:"2.0"},{n:["flag-tj","tajikistan flag"],u:"1f1f9-1f1ef",a:"2.0"},{n:["flag-tk","tokelau flag"],u:"1f1f9-1f1f0",a:"2.0"},{n:["flag-tl","timor-leste flag"],u:"1f1f9-1f1f1",a:"2.0"},{n:["flag-tm","turkmenistan flag"],u:"1f1f9-1f1f2",a:"2.0"},{n:["flag-tn","tunisia flag"],u:"1f1f9-1f1f3",a:"2.0"},{n:["flag-to","tonga flag"],u:"1f1f9-1f1f4",a:"2.0"},{n:["flag-tr","turkey flag"],u:"1f1f9-1f1f7",a:"2.0"},{n:["flag-tt","trinidad & tobago flag"],u:"1f1f9-1f1f9",a:"2.0"},{n:["flag-tv","tuvalu flag"],u:"1f1f9-1f1fb",a:"2.0"},{n:["flag-tw","taiwan flag"],u:"1f1f9-1f1fc",a:"2.0"},{n:["flag-tz","tanzania flag"],u:"1f1f9-1f1ff",a:"2.0"},{n:["flag-ua","ukraine flag"],u:"1f1fa-1f1e6",a:"2.0"},{n:["flag-ug","uganda flag"],u:"1f1fa-1f1ec",a:"2.0"},{n:["flag-um","u.s. outlying islands flag"],u:"1f1fa-1f1f2",a:"2.0"},{n:["flag-un","united nations flag"],u:"1f1fa-1f1f3",a:"4.0"},{n:["us","flag-us","united states flag"],u:"1f1fa-1f1f8",a:"0.6"},{n:["flag-uy","uruguay flag"],u:"1f1fa-1f1fe",a:"2.0"},{n:["flag-uz","uzbekistan flag"],u:"1f1fa-1f1ff",a:"2.0"},{n:["flag-va","vatican city flag"],u:"1f1fb-1f1e6",a:"2.0"},{n:["flag-vc","st. vincent & grenadines flag"],u:"1f1fb-1f1e8",a:"2.0"},{n:["flag-ve","venezuela flag"],u:"1f1fb-1f1ea",a:"2.0"},{n:["flag-vg","british virgin islands flag"],u:"1f1fb-1f1ec",a:"2.0"},{n:["flag-vi","u.s. virgin islands flag"],u:"1f1fb-1f1ee",a:"2.0"},{n:["flag-vn","vietnam flag"],u:"1f1fb-1f1f3",a:"2.0"},{n:["flag-vu","vanuatu flag"],u:"1f1fb-1f1fa",a:"2.0"},{n:["flag-wf","wallis & futuna flag"],u:"1f1fc-1f1eb",a:"2.0"},{n:["flag-ws","samoa flag"],u:"1f1fc-1f1f8",a:"2.0"},{n:["flag-xk","kosovo flag"],u:"1f1fd-1f1f0",a:"2.0"},{n:["flag-ye","yemen flag"],u:"1f1fe-1f1ea",a:"2.0"},{n:["flag-yt","mayotte flag"],u:"1f1fe-1f1f9",a:"2.0"},{n:["flag-za","south africa flag"],u:"1f1ff-1f1e6",a:"2.0"},{n:["flag-zm","zambia flag"],u:"1f1ff-1f1f2",a:"2.0"},{n:["flag-zw","zimbabwe flag"],u:"1f1ff-1f1fc",a:"2.0"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",a:"5.0"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",a:"5.0"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",a:"5.0"}],rf={custom:j1,smileys_people:C1,animals_nature:x1,food_drink:S1,travel_places:R1,activities:z1,objects:P1,symbols:T1,flags:A1},bf=[_.NEUTRAL,_.LIGHT,_.MEDIUM_LIGHT,_.MEDIUM,_.MEDIUM_DARK,_.DARK],M1=Object.entries(_).reduce(function(f,e){var a=e[0],n=e[1];return f[n]=a,f},{}),D1=bf.reduce(function(f,e){var a;return Object.assign(f,(a={},a[e]=e,a))},{}),A;(function(f){f.name="n",f.unified="u",f.variations="v",f.added_in="a",f.imgUrl="imgUrl"})(A||(A={}));var ef={};setTimeout(function(){kf.reduce(function(f,e){return ke(e),f},ef)});function ke(f){var e=uf(f).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("");e.forEach(function(a){var n;ef[a]=(n=ef[a])!=null?n:{},ef[a][C(f)]=f})}function uf(f){var e;return(e=f[A.name])!=null?e:[]}function L1(f){return parseFloat(f[A.added_in])}function Tf(f){return f?uf(f)[0]:""}function Of(f){var e=f.split("-"),a=e.splice(1,1),n=a[0];return D1[n]?e.join("-"):f}function C(f,e){var a,n=f[A.unified];return!e||!Y(f)?n:(a=O1(f,e))!=null?a:n}function _1(f){var e;return(e=rf==null?void 0:rf[f])!=null?e:[]}function we(f,e){return""+E1(e)+f+".png"}function lf(f){var e;return(e=f[A.variations])!=null?e:[]}function Y(f){return lf(f).length>0}function O1(f,e){return e?lf(f).find(function(a){return a.includes(e)}):C(f)}function of(f){if(f){if($[f])return $[f];var e=Of(f);return $[e]}}var kf=Object.values(rf).flat();function F1(f){rf[m.CUSTOM].length=0,f.forEach(function(e){var a=B1(e);rf[m.CUSTOM].push(a),!$[a[A.unified]]&&(kf.push(a),$[a[A.unified]]=a,ke(a))})}function B1(f){var e;return e={},e[A.name]=f.names.map(function(a){return a.toLowerCase()}),e[A.unified]=f.id.toLowerCase(),e[A.added_in]="0",e[A.imgUrl]=f.imgUrl,e}var $={};setTimeout(function(){kf.reduce(function(f,e){return f[C(e)]=e,Y(e)&&lf(e).forEach(function(a){f[a]=e}),f},$)});function I1(f){var e=f.split("-"),a=e[1];return bf.includes(a)?a:null}var U1=["2640-fe0f","2642-fe0f","2695-fe0f"],mf="Search",N1="No results found",ye=" found. Use up and down arrow keys to navigate.",V1="1 result"+ye,q1="%n results"+ye;function Xf(f){var e,a;f===void 0&&(f={});var n=Ee(),r=Object.assign(n.previewConfig,(e=f.previewConfig)!=null?e:{}),i=Object.assign(n,f),t=h1(f.categories,{suggestionMode:i.suggestedEmojisMode});F1((a=i.customEmojis)!=null?a:[]);var d=i.searchDisabled?K.PREVIEW:i.skinTonePickerLocation;return B({},i,{categories:t,previewConfig:r,skinTonePickerLocation:d})}function Ee(){return{autoFocusSearch:!0,categories:he(),customEmojis:[],defaultSkinTone:_.NEUTRAL,emojiStyle:S.APPLE,emojiVersion:null,getEmojiUrl:we,height:450,lazyLoadEmojis:!1,previewConfig:B({},H1),searchDisabled:!1,searchPlaceHolder:mf,searchPlaceholder:mf,skinTonePickerLocation:K.SEARCH,skinTonesDisabled:!1,suggestedEmojisMode:af.FREQUENT,theme:nf.LIGHT,unicodeToHide:new Set(U1),width:350}}var H1={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},$1=["children"],je=o.createContext(Ee());function G1(f){var e=f.children,a=s1(f,$1),n=K1(a);return o.createElement(je.Provider,{value:n},e)}function K1(f){var e,a=o.useState(function(){return Xf(f)}),n=a[0],r=a[1];return o.useEffect(function(){var i,t;((i=f.customEmojis)==null?void 0:i.length)!==((t=n.customEmojis)==null?void 0:t.length)&&r(Xf(f))},[(e=f.customEmojis)==null?void 0:e.length]),n}function E(){return o.useContext(je)}var Ce=gf.createContext({});function W1(){var f=gf.useContext(Ce);return f}function Y1(f){var e=gf.useRef({onEmojiClick:f.onEmojiClick||fe});return gf.useEffect(function(){e.current.onEmojiClick=f.onEmojiClick||fe},[f.onEmojiClick]),e}function fe(){}function J1(){var f,e=E(),a=e.searchPlaceHolder,n=e.searchPlaceholder;return(f=[a,n].find(function(r){return r!==mf}))!=null?f:mf}function Z1(){var f=E(),e=f.defaultSkinTone;return e}function xe(){var f=E(),e=f.skinTonesDisabled;return e}function J(){var f=E(),e=f.emojiStyle;return e}function Q1(){var f=E(),e=f.autoFocusSearch;return e}function Se(){var f=E(),e=f.categories;return e}function X1(){var f=E(),e=f.customEmojis;return e}function fa(){var f=W1(),e=f.current;return e.onEmojiClick||function(){}}function Re(){var f=E(),e=f.previewConfig;return e}function ea(){var f=E(),e=f.theme;return e}function aa(){var f=E(),e=f.suggestedEmojisMode;return e}function na(){var f=E(),e=f.lazyLoadEmojis;return e}function ra(){var f=E(),e=f.height,a=f.width;return{height:ee(e),width:ee(a)}}function ia(){var f=E(),e=f.emojiVersion;return e}function ze(){var f=E(),e=f.searchDisabled;return e}function Pe(){var f=E(),e=f.skinTonePickerLocation;return e}function oa(){var f=E(),e=f.unicodeToHide;return e}function Z(){var f=E(),e=f.getEmojiUrl;return e}function ee(f){return typeof f=="number"?f+"px":f}function ta(f){var e=f>0,a=f>1;return e?a?q1.replace("%n",f.toString()):V1:N1}function ae(f,e){e===void 0&&(e=0);var a=o.useState(f),n=a[0],r=a[1],i=o.useRef(null);function t(d){return new Promise(function(c){var l;i.current&&clearTimeout(i.current),i.current=(l=window)==null?void 0:l.setTimeout(function(){r(d),c(d)},e)})}return[n,t]}function da(){var f=oa();return function(e){return f.has(e)}}function Te(){var f=o.useRef({}),e=ia();return o.useMemo(function(){var a=parseFloat(""+e);return!e||Number.isNaN(a)?f.current:kf.reduce(function(n,r){return ua(r,a)&&(n[C(r)]=!0),n},f.current)},[e])}function ca(){var f=Te(),e=da();return function(n){var r=Of(C(n));return!!(f[r]||e(r))}}function ua(f,e){return L1(f)>e}function la(f){o.useEffect(function(){f(!0)},[f])}function sa(f){var e=f.children,a=Te(),n=Z1(),r=o.useRef(ef),i=o.useRef(!1),t=o.useRef(!1),d=o.useRef(a),c=ae(Date.now(),200),l=ae("",100),u=o.useState(!1),s=o.useState(n),g=o.useState(null),p=o.useState(new Set),y=o.useState(null),v=o.useState(!1),w=v[0],h=v[1];return la(h),o.createElement(F.Provider,{value:{activeCategoryState:g,activeSkinTone:s,disallowClickRef:i,disallowMouseRef:t,disallowedEmojisRef:d,emojiVariationPickerState:y,emojisThatFailedToLoadState:p,filterRef:r,isPastInitialLoad:w,searchTerm:l,skinToneFanOpenState:u,suggestedUpdateState:c}},e)}var F=o.createContext({activeCategoryState:[null,function(){}],activeSkinTone:[_.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise(function(){})}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}]});function Ff(){var f=o.useContext(F),e=f.filterRef;return e}function ga(){var f=o.useContext(F),e=f.disallowClickRef;return e}function Bf(){var f=o.useContext(F),e=f.disallowMouseRef;return e}function wf(){var f=o.useContext(F),e=f.searchTerm;return e}function If(){var f=o.useContext(F),e=f.activeSkinTone;return e}function Ae(){var f=o.useContext(F),e=f.emojisThatFailedToLoadState;return e}function ba(){var f=o.useContext(F),e=f.isPastInitialLoad;return e}function Q(){var f=o.useContext(F),e=f.emojiVariationPickerState;return e}function sf(){var f=o.useContext(F),e=f.skinToneFanOpenState;return e}function Me(){var f=o.useContext(F),e=f.suggestedUpdateState,a=e[0],n=e[1];return[a,function(){n(Date.now())}]}function ma(){var f=Bf();return function(){f.current=!0}}function De(){var f=Bf();return function(){f.current=!1}}function Le(){var f=Bf();return function(){return f.current}}function pa(){var f=M(),e=De(),a=Le();o.useEffect(function(){var n=f.current;n==null||n.addEventListener("mousemove",r,{passive:!0});function r(){a()&&e()}return function(){n==null||n.removeEventListener("mousemove",r)}},[f,e,a])}function _e(f,e){if(!f||!e)return 0;var a=f.getBoundingClientRect().width,n=e.getBoundingClientRect().width;return Math.floor(a/n)}function Oe(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().width,n=e.getBoundingClientRect().left,r=f.getBoundingClientRect().left;return Math.floor((n-r)/a)}function Fe(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,r=f.getBoundingClientRect().top;return Math.round((n-r)/a)}function ha(f,e){if(!f||!e)return!1;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,r=f.getBoundingClientRect().top,i=f.getBoundingClientRect().height;return Math.round(n-r+a)f.length?[]:Uf(f,n,a)}function Be(f,e,a,n){var r=Uf(f,e,a);return r[n]||r[r.length-1]||null}function ka(f,e,a,n){var r=va(f,e,a);return r[n]||r[r.length-1]||null}function wa(f,e,a,n){var r=Uf(f,e-1,a);return r[n]||r[r.length-1]||null}function ya(f,e){if(!f||!e.length)return null;var a=f.getBoundingClientRect().top,n=f.getBoundingClientRect().bottom,r=e.find(function(i){var t=i.getBoundingClientRect().top,d=i.getBoundingClientRect().bottom;return t>=a&&t<=n||d>=a&&d<=n});return r||null}function Ea(f){return!!f.nextElementSibling}var pf="button"+x(b.emoji),ja=[pf,x(b.visible),":not("+x(b.hidden)+")"].join("");function O(f){var e;return(e=f==null?void 0:f.closest(pf))!=null?e:null}function Nf(f){var e=qe(f),a=qf(f);if(!e)return[];var n=of(a!=null?a:e);return n?[n,a]:[]}function Ca(f){var e;return!!(f!=null&&f.matches(pf)||!(f==null||(e=f.parentElement)==null)&&e.matches(pf))}function ne(f){var e;return(e=f==null?void 0:f.clientHeight)!=null?e:0}function Ie(f){if(!f)return 0;var e=O(f),a=N(e),n=Vf(a);return re(e)+re(a)+n}function Vf(f){var e,a;if(!f)return 0;var n=f.querySelector(x(b.categoryContent));return((e=f==null?void 0:f.clientHeight)!=null?e:0)-((a=n==null?void 0:n.clientHeight)!=null?a:0)}function xa(f){return f?Ne(f)0?[]:_1(e);p.length>0&&n.current++;var y=0,v=p.map(function(w){var h=C(w,l),P=r(w),D=P.failedToLoad,L=P.filteredOut,I=P.hidden,X=u(w);return(I||X)&&y++,X?null:o.createElement(Wf,{showVariations:g,key:h,emoji:w,unified:h,hidden:D,hiddenOnSearch:L,emojiStyle:t,lazyLoad:i,getEmojiUrl:s})});return o.createElement(n1,{categoryConfig:a,hidden:y===v.length},v)}function xf(f){var e=Gf(f);R(e),jf(e)}function en(f){var e=Gf(f);R(e),e==null||e.click()}function an(f){R($e(f))}function nn(f){if(f){var e=Ge(f);if(!e)return xf(Ef(f));R(e),jf(e)}}function rn(f){if(f){var e=$f(f);if(!e)return an(yf(f));R(e),jf(e)}}function on(f,e){if(f){var a=dn(f);if(!a)return e();R(a),jf(a)}}function tn(f){if(f){var e=cn(f);return R(e)}}function dn(f){if(!f)return null;var e=Ke(f),a=N(e),n=Oe(e,f),r=Fe(e,f),i=_e(e,f);if(r===0){var t=yf(a);return t?Be(W(t),-1,i,n):null}return wa(W(e),r,i,n)}function cn(f){if(!f)return null;var e=Ke(f),a=N(e),n=Oe(e,f),r=Fe(e,f),i=_e(e,f);if(!ha(e,f)){var t=Ef(a);return t?Be(W(t),0,i,n):null}var d=ka(W(e),r,i,n);return d}var un=".EmojiPickerReact .epr-emoji-variation-picker{align-items:center;background:var(--epr-emoji-variation-picker-bg-color);border:1px solid var(--epr-picker-border-color);border-radius:3px;box-shadow:0 2px 5px rgba(0,0,0,.2);display:flex;height:0;height:var(--epr-emoji-variation-picker-height);justify-content:space-around;left:15px;opacity:0;padding:5px;pointer-events:none;position:absolute;right:15px;top:0;top:-100%;transform:scale(.9);transition:transform .1s ease-out,opacity .2s ease-out;visibility:hidden;z-index:var(--epr-skin-variation-picker-z-index)}.EmojiPickerReact .epr-emoji-variation-picker.pointing-up{transform:scale(.9);transform-origin:center 0}.EmojiPickerReact .epr-emoji-variation-picker.visible{opacity:1;pointer-events:all;transform:scale(1);visibility:visible}.EmojiPickerReact .epr-emoji-variation-picker .EmojiPickerReact .epr-emoji-variation-picker button.epr-emoji:hover{background:none}.EmojiPickerReact .epr-emoji-variation-picker .epr-emoji-pointer{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='15' xml:space='preserve'%3E%3Cg stroke-miterlimit='10'%3E%3Cpath fill='%23FFF' stroke='%23E8E7E7' d='m1.86-.43 9.83 11.53c.59.69 1.56.69 2.14 0L23.66-.43'/%3E%3Cpath fill='%23010202' stroke='%23151617' d='m26.86-.43 9.83 11.53c.59.69 1.56.69 2.14 0L48.66-.43'/%3E%3C/g%3E%3C/svg%3E\");background-position:0 0;background-repeat:no-repeat;background-size:50px 15px;content:\"\";height:15px;position:absolute;top:-10px;width:25px}.EmojiPickerReact.epr-dark-theme .epr-emoji-variation-picker .epr-emoji-pointer{background-position:-25px 0}@media (prefers-color-scheme:dark){.EmojiPickerReact.epr-auto-theme .epr-emoji-variation-picker .epr-emoji-pointer{background-position:-25px 0}}.EmojiPickerReact .epr-emoji-variation-picker .epr-emoji-pointer{top:100%;transform:translateX(-18px)}.EmojiPickerReact .epr-emoji-variation-picker.pointing-up .epr-emoji-pointer{top:0;transform:rotate(180deg) translateY(100%) translateX(18px)}";z(un);var G;(function(f){f[f.Up=0]="Up",f[f.Down=1]="Down"})(G||(G={}));function ln(){var f=vf(),e=u1(),a=Q(),n=a[0],r=J(),i=gn(e),t=i.getTop,d=i.getMenuDirection,c=me(),l=sn(e),u=Z(),s=O(f.current),g=n&&s&&Y(n)&&s.classList.contains(b.emojiHasVariations);o.useEffect(function(){g&&xf(e.current)},[e,g,f]);var p,y;return!g&&f.current?c(null):(p=t(),y=l()),o.createElement("div",{ref:e,className:j(b.variationPicker,{visible:g,"pointing-up":d()===G.Down}),style:{top:p}},g&&n?[C(n)].concat(lf(n)).slice(0,6).map(function(v){return o.createElement(Wf,{key:v,emoji:n,unified:v,emojiStyle:r,showVariations:!1,getEmojiUrl:u})}):null,o.createElement("div",{className:"epr-emoji-pointer",style:y}))}function sn(f){var e=vf();return function(){var n={};if(!f.current)return n;if(e.current){var r=O(e.current),i=Sa(r);if(!r)return n;n.left=i+(r==null?void 0:r.clientWidth)/2}return n}}function gn(f){var e=vf(),a=M(),n=G.Up;return{getMenuDirection:r,getTop:i};function r(){return n}function i(){n=G.Up;var t=0;if(!f.current)return 0;var d=ne(f.current);if(e.current){var c,l=a.current,u=O(e.current),s=ne(u);t=Ie(u);var g=(c=l==null?void 0:l.scrollTop)!=null?c:0;g>t-d&&(n=G.Down,t+=s+d)}return t-d}}var bn=".EmojiPickerReact .epr-body{flex:1;overflow-x:hidden;overflow-y:scroll;position:relative}";z(bn);function mn(){var f=M();return Da(f),Aa(f),pa(),o.createElement("div",{className:b.scrollBody,ref:f},o.createElement(ln,null),o.createElement(Xa,null))}function pn(f,e){var a=M(),n=Le(),r=De();o.useEffect(function(){if(!f)return;var i=a.current;i==null||i.addEventListener("keydown",c,{passive:!0}),i==null||i.addEventListener("mouseover",l,!0),i==null||i.addEventListener("focus",t,!0),i==null||i.addEventListener("mouseout",d,{passive:!0}),i==null||i.addEventListener("blur",d,!0);function t(u){var s=O(u.target);if(!s)return d();var g=qf(s),p=qe(s);if(!g||!p)return d();e({unified:g,originalUnified:p})}function d(u){if(u){var s=u.relatedTarget;if(!O(s))return e(null)}e(null)}function c(u){u.key==="Escape"&&e(null)}function l(u){if(!n()){var s=O(u.target);s&&R(s)}}return function(){i==null||i.removeEventListener("mouseover",l),i==null||i.removeEventListener("mouseout",d),i==null||i.removeEventListener("focus",t,!0),i==null||i.removeEventListener("blur",d,!0),i==null||i.removeEventListener("keydown",c)}},[a,f,e,n,r])}function Yf(){var f=Pe();return f===K.SEARCH}function r1(){var f=Pe();return f===K.PREVIEW}var hn=".EmojiPickerReact .Flex{display:flex}.EmojiPickerReact .Flex.FlexRow{flex-direction:row}.EmojiPickerReact .Flex.FlexColumn{flex-direction:column}";z(hn);var Mf;(function(f){f.ROW="FlexRow",f.COLUMN="FlexColumn"})(Mf||(Mf={}));function i1(f){var e=f.children,a=f.className,n=f.style,r=n===void 0?{}:n,i=f.direction,t=i===void 0?Mf.ROW:i;return o.createElement("div",{style:B({},r),className:j("Flex",a,t)},e)}function vn(f){var e=f.className,a=f.style,n=a===void 0?{}:a;return o.createElement("div",{style:B({flex:1},n),className:j(e)})}var kn=".EmojiPickerReact .epr-preview{align-items:center;border-top:1px solid var(--epr-preview-border-color);height:var(--epr-preview-height);padding:0 var(--epr-horizontal-padding);position:relative;z-index:1;z-index:var(--epr-preview-z-index)}.EmojiPickerReact .epr-preview .epr-preview-emoji-label{color:var(--epr-preview-text-color);font-size:var(--epr-preview-text-size);padding:var(--epr-preview-text-padding);text-transform:capitalize}";z(kn);function wn(f){var e=f.children,a=f.className,n=f.style;return o.createElement("div",{style:B({},n,{position:"absolute"}),className:a},e)}function Sf(f){var e=f.children,a=f.className,n=f.style;return o.createElement("div",{style:B({},n,{position:"relative"}),className:a},e)}var yn='.EmojiPickerReact .epr-skin-tones{--epr-skin-tone-size:15px;align-items:center;display:flex;justify-content:flex-end;padding:10px 0;transition:all .3s ease-in-out}.EmojiPickerReact .epr-skin-tones.epr-vertical{align-items:flex-end;border:1px solid var(--epr-bg-color);border-radius:6px;flex-direction:column;padding:5px}.EmojiPickerReact .epr-skin-tones.epr-vertical.epr-open{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:var(--epr-skin-tone-picker-menu-color);border:1px solid var(--epr-picker-border-color)}.EmojiPickerReact .epr-skin-tone-select{height:var(--epr-skin-tone-size);position:relative;width:var(--epr-skin-tone-size)}.EmojiPickerReact .epr-skin-tones.epr-open .epr-tone{transition:transform .3s ease-in-out,opacity .3s ease-in-out}.EmojiPickerReact .epr-skin-tones:not(.epr-open) .epr-tone{opacity:0;z-index:0}.EmojiPickerReact .epr-skin-tones .epr-tone{border-radius:4px;box-shadow:0 0 0 0 var(--epr-active-skin-hover-color);cursor:pointer;display:block;height:var(--epr-skin-tone-size);position:absolute;right:0;transition:transform .3s ease-in-out,opacity .5s ease-in-out;width:var(--epr-skin-tone-size);z-index:1}.EmojiPickerReact .epr-skin-tones .epr-tone:hover{box-shadow:0 0 0 3px var(--epr-active-skin-hover-color)}.EmojiPickerReact .epr-skin-tones .epr-tone:focus{box-shadow:0 0 0 3px var(--epr-focus-bg-color)}.EmojiPickerReact .epr-skin-tones.epr-open .epr-skin-tone-select .epr-tone.epr-active:after{border:1px solid var(--epr-active-skin-tone-indicator-border-color);border-radius:5px;bottom:-2px;content:"";left:-2px;position:absolute;right:-2px;top:-2px}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-active{opacity:1;z-index:1}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-neutral{background-color:#ffd225}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fb{background-color:#ffdfbd}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fc{background-color:#e9c197}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fd{background-color:#c88e62}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fe{background-color:#a86637}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3ff{background-color:#60463a}';z(yn);var ff=28;function En(){return o.createElement(Sf,{style:{height:ff}},o.createElement(wn,{style:{bottom:0,right:0}},o.createElement(o1,{direction:tf.VERTICAL})))}function o1(f){var e,a=f.direction,n=a===void 0?tf.HORIZONTAL:a,r=Df(),i=xe(),t=sf(),d=t[0],c=t[1],l=If(),u=l[0],s=l[1],g=q(),p=H();if(i)return null;var y=ff*bf.length+"px",v=d?y:ff+"px",w=n===tf.VERTICAL;return o.createElement(Sf,{className:j("epr-skin-tones",n,(e={},e[b.open]=d,e)),style:w?{flexBasis:v,height:v}:{flexBasis:v}},o.createElement("div",{className:"epr-skin-tone-select",ref:r},bf.map(function(h,P){var D,L=h===u;return o.createElement(Cf,{style:{transform:j(w?"translateY(-"+P*(d?ff:0)+"px)":"translateX(-"+P*(d?ff:0)+"px)",d&&L&&"scale(1.3)")},onClick:function(){d?(s(h),p()):c(!0),g()},key:h,className:j("epr-tone-"+h,"epr-tone",(D={},D[b.active]=L,D)),tabIndex:d?0:-1,"aria-pressed":L,"aria-label":"Skin tone "+M1[h]})})))}var tf;(function(f){f.VERTICAL="epr-vertical",f.HORIZONTAL="epr-horizontal"})(tf||(tf={}));function jn(){var f=Re(),e=r1();return f.showPreview?o.createElement(i1,{className:"epr-preview"},o.createElement(Cn,null),o.createElement(vn,null),e?o.createElement(En,null):null):null}function Cn(){var f,e=Re(),a=o.useState(null),n=a[0],r=a[1],i=J(),t=Q(),d=t[0],c=Z();pn(e.showPreview,r);var l=of((f=n==null?void 0:n.unified)!=null?f:n==null?void 0:n.originalUnified),u=l!=null&&n!=null;return o.createElement(s,null);function s(){var g=d!=null?d:of(e.defaultEmoji);if(!g)return null;var p=d?Tf(d):e.defaultCaption;return o.createElement(o.Fragment,null,o.createElement("div",null,u?o.createElement(hf,{unified:n==null?void 0:n.unified,emoji:l,emojiStyle:i,size:45,getEmojiUrl:c}):g?o.createElement(hf,{unified:C(g),emoji:g,emojiStyle:i,size:45,getEmojiUrl:c}):null),u?o.createElement("div",{className:"epr-preview-emoji-label"},Tf(l)):o.createElement("div",{className:"epr-preview-emoji-label"},p))}}var xn=".EmojiPickerReact .epr-category-nav{display:flex;flex-direction:row;justify-content:space-around;padding:var(--epr-header-padding)}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn{background-size:calc(var(--epr-category-navigation-button-size)*10);display:inline-block;height:var(--epr-category-navigation-button-size);outline:none;position:relative;transition:opacity .2s ease-in-out;width:var(--epr-category-navigation-button-size)}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn:focus:before{border:2px solid var(--epr-category-icon-active-color);border-radius:50%;bottom:-2px;content:\"\";left:-2px;position:absolute;right:-2px;top:-2px}aside.EmojiPickerReact.epr-main:has(input:not(:-moz-placeholder-shown)) .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}aside.EmojiPickerReact.epr-main:has(input:not(:placeholder-shown)) .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}.EmojiPickerReact.epr-search-active .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}aside.EmojiPickerReact.epr-main:has(input:not(:-moz-placeholder-shown)) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}aside.EmojiPickerReact.epr-main:has(input:not(:placeholder-shown)) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}.EmojiPickerReact:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80' xml:space='preserve'%3E%3Cg fill='%233371B7' stroke='%233371B7' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 29.5c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 23c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3Cpath d='M14.6 31.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 34.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm-2.8-4.6c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%233371B7' d='M64.1 33.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4v2c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%233371B7' d='M65.5 23.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Cellipse fill='%233371B7' cx='66.2' cy='30.9' rx='.9' ry='1'/%3E%3Cellipse fill='%233371B7' cx='73.8' cy='30.9' rx='.9' ry='1'/%3E%3Cg fill='none' stroke='%233371B7'%3E%3Cpath d='M96.4 30c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 28.6v.1c-.9.1-2.9.1-4.6-1.1-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1-.1-.1-.1-.1-.1-.2.5-.1 1.2-.2 2-.1 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.2.3.6.4.9zM84 32.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%233371B7'%3E%3Cpath stroke-linecap='round' d='m116.3 26.8-1.4 2-.8-.8-.6-.6v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.6-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 27.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 34.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%233371B7'/%3E%3Cg fill='%233371B7'%3E%3Cpath d='M170.8 23.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.5 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 27.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6 0-.4-.3-.6-.6-.6h-1.8v-2.6z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%233371B7' d='M186.2 23.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.5 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%233371B7' cx='186' cy='28.9' r='.7'/%3E%3Ccircle fill='%233371B7' cx='194' cy='26.7' r='.7'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m186 33.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%233371B7' stroke='%233371B7' stroke-width='.25' stroke-miterlimit='10' d='M156 24.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%233371B7' d='M48.1 23.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 28.8c-.2.1-.5 1.2 0 1.5 1.4 1 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m43.5 30.6-.2.4c-.2.5.2 1 .7.9.3-.1.5 0 .7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2 0l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 32.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.5.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 33.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%233371B7' cx='51.6' cy='26.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='53' cy='25' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='53' cy='27.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='54.3' cy='26.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='50.9' cy='25' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%233371B7' d='M24.2 31v-7.6c.1.1.8.9 2.8 3.1 2.5-1.6 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m21.2 30 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 30l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%233371B7' d='m29.5 32.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m32.4 32.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%233371B7' cx='27.6' cy='29.7' r='.7'/%3E%3Ccircle fill='%233371B7' cx='32.4' cy='29.7' r='.7'/%3E%3Cg fill='%23C0C0BF' stroke='%23C0C0BF' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 49.5c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4zm1.8 3.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 54.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm-2.8-4.6c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 43c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M64.1 53.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4v2c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M65.5 43.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Cellipse fill='%23C0C0BF' cx='66.2' cy='50.9' rx='.9' ry='1'/%3E%3Cellipse fill='%23C0C0BF' cx='73.8' cy='50.9' rx='.9' ry='1'/%3E%3Cg fill='none' stroke='%23C0C0BF'%3E%3Cpath d='M96.4 50c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 48.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.4.3.8.4 1.1zM84 52.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C0C0BF'%3E%3Cpath stroke-linecap='round' d='m116.3 46.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 47.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 54.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%23C0C0BF'/%3E%3Cg fill='%23C0C0BF'%3E%3Cpath d='M170.8 43.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.5 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 47.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.6-.6h-1.8v-2.6z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M186.2 43.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.4 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%23C0C0BF' cx='186' cy='48.9' r='.7'/%3E%3Ccircle fill='%23C0C0BF' cx='194' cy='46.7' r='.7'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m186 53.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%23C0C0BF' stroke='%23C0C0BF' stroke-width='.25' stroke-miterlimit='10' d='M156 44.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M48.1 43.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 48.8c-.2.1-.5 1.2 0 1.5 1.4 1 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m43.5 50.6-.2.4c-.2.5.2 1 .7.9.3-.1.5 0 .7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2 0l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 52.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.5.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 53.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%23C0C0BF' cx='51.6' cy='46.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='53' cy='45' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='53' cy='47.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='54.3' cy='46.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='50.9' cy='45' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M24.2 51v-7.6c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m21.2 50 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 50l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23C0C0BF' d='m29.5 52.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m32.4 52.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%23C0C0BF' cx='27.6' cy='49.7' r='.7'/%3E%3Ccircle fill='%23C0C0BF' cx='32.4' cy='49.7' r='.7'/%3E%3Cg fill='%236AA9DD' stroke='%236AA9DD' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M14.6 71.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 74.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm2.8-4.6c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4zm-5.6 1.5c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 63c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%236AA9DD' d='M64.1 73.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4V76c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2.1c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M65.5 63.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Ccircle fill='%236AA9DD' cx='66.2' cy='70.9' r='.9'/%3E%3Ccircle fill='%236AA9DD' cx='73.8' cy='70.9' r='.9'/%3E%3Cg fill='none' stroke='%236AA9DD'%3E%3Cpath d='M96.4 70c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 68.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1.1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.5.3.9.4 1.2zM84 72.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.9-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%236AA9DD'%3E%3Cpath stroke-linecap='round' d='m116.3 66.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 67.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 74.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%236AA9DD'/%3E%3Cg fill='%236AA9DD'%3E%3Cpath d='M170.8 63.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.4 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 67.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.7-.6h-1.8v-.2l.1-2.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%236AA9DD' d='M186.2 63.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.4 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%236AA9DD' cx='186' cy='68.9' r='.7'/%3E%3Ccircle fill='%236AA9DD' cx='194' cy='66.7' r='.7'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m186 73.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%236AA9DD' stroke='%236AA9DD' stroke-width='.25' stroke-miterlimit='10' d='M156 64.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M48.1 63.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 68.8c-.2.1-.5 1.2 0 1.5 1.4.9 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m43.5 70.6-.2.4c-.2.5.2 1 .7.9.3-.1.5.1.7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2-.1l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 72.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.4.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 73.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%236AA9DD' cx='51.6' cy='66.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='53' cy='65' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='53' cy='67.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='54.3' cy='66.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='50.9' cy='65' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M24.2 71v-7.6c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m21.2 70.1 5.4 1.2m-5.4 2.8 5.4-1.2m12.2-2.8-5.4 1.2m5.4 2.8-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%236AA9DD' d='m29.5 72.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5.2-.1.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m32.4 72.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%236AA9DD' cx='27.6' cy='69.7' r='.7'/%3E%3Ccircle fill='%236AA9DD' cx='32.4' cy='69.7' r='.7'/%3E%3Cg fill='%23868686' stroke='%23868686' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 9.5c.6 0 1.1-.5 1.1-1.2 0-.6-.5-1.1-1.1-1.1-.6 0-1.2.5-1.2 1.1s.6 1.2 1.2 1.2zm0-1.6c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4.2-.4.4-.4zM7.2 9.5c.6 0 1.2-.5 1.2-1.2 0-.6-.5-1.1-1.2-1.1-.6 0-1.1.5-1.1 1.1s.5 1.2 1.1 1.2zm0-1.6c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4.2-.4.4-.4zm7.4 3.3c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.2.1-.3 0-.4zM10 14.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2z'/%3E%3Cpath d='M10 3c-3.8 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2S6.6 3.8 10 3.8s6.2 2.8 6.2 6.2-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23868686' d='M64.1 13.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4 0h2.4c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2.1c0-.2.2-.4.4-.4zm-9.8-5h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%23868686' d='M65.5 3.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7V5.5c0-1.1.8-1.9 1.8-1.9z'/%3E%3Ccircle fill='%23868686' cx='66.2' cy='10.9' r='.9'/%3E%3Ccircle fill='%23868686' cx='73.8' cy='10.9' r='.9'/%3E%3Cg fill='none' stroke='%23868686'%3E%3Cpath d='M96.4 10c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 8.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1.1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.5.3.9.4 1.2zM84 12.1V12c.9-.2 2.9-.4 4.7.6 1.1.6 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8-1.1-.6-1.9-1.6-2.4-2.5-.3-.4-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23868686'%3E%3Cpath stroke-linecap='round' d='m116.3 6.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 7.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 14.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9M126.8 3.5h10.8v2.7h-10.8V3.5z' fill='none' stroke='%23868686'/%3E%3Cg fill='%23868686'%3E%3Cpath d='M170.8 3.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.4 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.3c-.2 3.8 2.6 7.1 6.3 7.4 3.9.4 7.3-2.6 7.6-6.5.3-3.6-2.5-6.9-6.1-7.3z'/%3E%3Cpath d='M170.3 7.4c0-.3-.3-.6-.6-.6s-.7.3-.7.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.6-.6h-1.8v-.2l.1-2.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23868686' d='M186.2 3.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7V6.1c-.1-1.5 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%23868686' cx='186' cy='8.9' r='.7'/%3E%3Ccircle fill='%23868686' cx='194' cy='6.7' r='.7'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m186 13.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%23868686' stroke='%23868686' stroke-width='.25' stroke-miterlimit='10' d='M156 4.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.1s-2.4-.1-3.8-.6c-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4V4.7c-.3-.2-.4-.3-.5-.4zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1V4.7c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%23868686' d='M48.1 3.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 8.7c-.2.1-.5 1.2 0 1.5 1.4.9 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m43.5 10.6-.2.4c-.2.5.2 1 .7.9.3-.1.5.1.7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.1.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.1 1.2-.1l.2-.1c.3-.2.8-.1 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.4.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 12.1c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.4.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 13.3c0 .5.6 2.4 1.3 2.6 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%23868686' cx='51.6' cy='6.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='53' cy='4.9' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='53' cy='7.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='54.3' cy='6.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='50.9' cy='4.9' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%23868686' d='M24.2 11V3.5c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.7-.6-1.7-.6-2.6z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m21.2 10 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 10l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23868686' d='m29.5 12.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.6 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m32.4 12.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%23868686' cx='27.6' cy='9.7' r='.7'/%3E%3Ccircle fill='%23868686' cx='32.4' cy='9.7' r='.7'/%3E%3C/svg%3E\");background-position:0 0}.EmojiPickerReact.epr-dark-theme .epr-category-nav>button.epr-cat-btn{background-position-y:calc(var(--epr-category-navigation-button-size)*2)}aside.EmojiPickerReact.epr-main:has(input:-moz-placeholder-shown) .epr-category-nav{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}aside.EmojiPickerReact.epr-main:has(input:placeholder-shown) .epr-category-nav{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}.EmojiPickerReact.epr-dark-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact.epr-dark-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}@media (prefers-color-scheme:dark){.EmojiPickerReact.epr-auto-theme .epr-category-nav>button.epr-cat-btn{background-position-y:calc(var(--epr-category-navigation-button-size)*2)}.EmojiPickerReact.epr-auto-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact.epr-auto-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}}.EmojiPickerReact button.epr-cat-btn.epr-icn-suggested{background-position-x:calc(var(--epr-category-navigation-button-size)*-8)}.EmojiPickerReact button.epr-cat-btn.epr-icn-custom{background-position-x:calc(var(--epr-category-navigation-button-size)*-9)}.EmojiPickerReact button.epr-cat-btn.epr-icn-activities{background-position-x:calc(var(--epr-category-navigation-button-size)*-4)}.EmojiPickerReact button.epr-cat-btn.epr-icn-animals_nature{background-position-x:calc(var(--epr-category-navigation-button-size)*-1)}.EmojiPickerReact button.epr-cat-btn.epr-icn-flags{background-position-x:calc(var(--epr-category-navigation-button-size)*-7)}.EmojiPickerReact button.epr-cat-btn.epr-icn-food_drink{background-position-x:calc(var(--epr-category-navigation-button-size)*-2)}.EmojiPickerReact button.epr-cat-btn.epr-icn-objects{background-position-x:calc(var(--epr-category-navigation-button-size)*-5)}.EmojiPickerReact button.epr-cat-btn.epr-icn-smileys_people{background-position-x:0}.EmojiPickerReact button.epr-cat-btn.epr-icn-symbols{background-position-x:calc(var(--epr-category-navigation-button-size)*-6)}.EmojiPickerReact button.epr-cat-btn.epr-icn-travel_places{background-position-x:calc(var(--epr-category-navigation-button-size)*-3)}";z(xn);function Sn(f){var e;return(e=f==null?void 0:f.getAttribute("data-name"))!=null?e:null}function Rn(f){var e=M();o.useEffect(function(){var a=new Map,n=e.current,r=new IntersectionObserver(function(i){if(n){for(var t=b1(i),d;!(d=t()).done;){var c=d.value,l=Sn(c.target);a.set(l,c.intersectionRatio)}var u=Array.from(a),s=u[u.length-1];if(s[1]==1)return f(s[0]);for(var g=0,p=u;g_[p]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var ee={exports:{}};(function(g,h){(function(a){a(Y)})(function(a){a.defineMIME("text/x-erlang","erlang"),a.defineMode("erlang",function(_){var p=["-type","-spec","-export_type","-opaque"],s=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],A=/[\->,;]/,R=["->",";",","],U=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],j=/[\+\-\*\/<>=\|:!]/,O=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],Z=/[<\(\[\{]/,y=["<<","(","[","{"],q=/[>\)\]\}]/,x=["}","]",")",">>"],$=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],D=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],v=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,I=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function Q(e,n){if(n.in_string)return n.in_string=!E(e),o(n,e,"string");if(n.in_atom)return n.in_atom=!z(e),o(n,e,"atom");if(e.eatSpace())return o(n,e,"whitespace");if(!b(n)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),p)?o(n,e,"type"):o(n,e,"attribute");var r=e.next();if(r=="%")return e.skipToEnd(),o(n,e,"comment");if(r==":")return o(n,e,"colon");if(r=="?")return e.eatSpace(),e.eatWhile(v),o(n,e,"macro");if(r=="#")return e.eatSpace(),e.eatWhile(v),o(n,e,"record");if(r=="$")return e.next()=="\\"&&!e.match(I)?o(n,e,"error"):o(n,e,"number");if(r==".")return o(n,e,"dot");if(r=="'"){if(!(n.in_atom=!z(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),o(n,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return o(n,e,"function")}return o(n,e,"atom")}if(r=='"')return n.in_string=!E(e),o(n,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(v),o(n,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(v),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),o(n,e,"fun");var t=e.current();return u(t,s)?o(n,e,"keyword"):u(t,U)?o(n,e,"operator"):e.match(/\s*\(/,!1)?u(t,D)&&(b(n).token!=":"||b(n,2).token=="erlang")?o(n,e,"builtin"):u(t,$)?o(n,e,"guard"):o(n,e,"function"):F(e)==":"?t=="erlang"?o(n,e,"builtin"):o(n,e,"function"):u(t,["true","false"])?o(n,e,"boolean"):o(n,e,"atom")}var c=/[0-9]/,i=/[0-9a-zA-Z]/;return c.test(r)?(e.eatWhile(c),e.eat("#")?e.eatWhile(i)||e.backUp(1):e.eat(".")&&(e.eatWhile(c)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(c)||e.backUp(2):e.eatWhile(c)||e.backUp(1)):e.backUp(1)),o(n,e,"number")):S(e,Z,y)?o(n,e,"open_paren"):S(e,q,x)?o(n,e,"close_paren"):W(e,A,R)?o(n,e,"separator"):W(e,j,O)?o(n,e,"operator"):o(n,e,null)}function S(e,n,r){if(e.current().length==1&&n.test(e.current())){for(e.backUp(1);n.test(e.peek());)if(e.next(),u(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function W(e,n,r){if(e.current().length==1&&n.test(e.current())){for(;n.test(e.peek());)e.next();for(;01&&e[n].type==="fun"&&e[n-1].token==="fun")return e.slice(0,n-1);switch(e[n].token){case"}":return f(e,{g:["{"]});case"]":return f(e,{i:["["]});case")":return f(e,{i:["("]});case">>":return f(e,{i:["<<"]});case"end":return f(e,{i:["begin","case","fun","if","receive","try"]});case",":return f(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return f(e,{r:["when"],m:["try","if","case","receive"]});case";":return f(e,{E:["case","fun","if","receive","try","when"]});case"catch":return f(e,{e:["try"]});case"of":return f(e,{e:["case"]});case"after":return f(e,{e:["receive","try"]});default:return e}}function f(e,n){for(var r in n)for(var t=e.length-1,c=n[r],i=t-1;-1"?u(l.token,["receive","case","if","try"])?l.column+t+t:l.column+t:u(i.token,y)?i.column+i.token.length:(r=V(e),d(r)?r.column+t:0):0}function L(e){var n=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return d(n)&&n.index===0?n[0]:""}function M(e){var n=e.tokenStack.slice(0,-1),r=k(n,"type",["open_paren"]);return d(n[r])?n[r]:!1}function V(e){var n=e.tokenStack,r=k(n,"type",["open_paren","separator","keyword"]),t=k(n,"type",["operator"]);return d(r)&&d(t)&&rt[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(n,o){(function(e){e(x,k())})(function(e){e.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:"!"}}),e.defineMIME("text/x-factor","factor")})})();var g=l.exports;const c=a(g),u=i({__proto__:null,default:c},[g]);export{u as f}; diff --git a/dist-ui/assets/fcl-DiPHBFLL.js b/dist-ui/assets/fcl-DiPHBFLL.js new file mode 100644 index 00000000..e944d5d7 --- /dev/null +++ b/dist-ui/assets/fcl-DiPHBFLL.js @@ -0,0 +1 @@ +import{g,c as _}from"./index-BLHgoTgd.js";function E(c,a){for(var o=0;oi[u]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,a){(function(o){o(_)})(function(o){o.defineMode("fcl",function(i){var u=i.indentUnit,f={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},s={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},d={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},k={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},x=/[+\-*&^%:=<>!|\/]/;function p(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=b,b(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return f.propertyIsEnumerable(r)||s.propertyIsEnumerable(r)||d.propertyIsEnumerable(r)?"keyword":k.propertyIsEnumerable(r)?"atom":"variable"}function b(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=p;break}t=r=="*"}return"comment"}function m(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function y(e,n,t){return e.context=new m(e.indented,n,t,null,e.context)}function h(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new m((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||p)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var l=e.current().toLowerCase();return s.propertyIsEnumerable(l)?y(n,e.column(),"end_block"):d.propertyIsEnumerable(l)&&h(n),n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=p&&e.tokenize!=null)return 0;var t=e.context,r=d.propertyIsEnumerable(n);return t.align?t.column+(r?0:1):t.indented+(r?0:u)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),o.defineMIME("text/x-fcl","fcl")})})();var v=z.exports;const C=g(v),O=E({__proto__:null,default:C},[v]);export{O as f}; diff --git a/dist-ui/assets/forth-BCAFCs5n.js b/dist-ui/assets/forth-BCAFCs5n.js new file mode 100644 index 00000000..88fedbb6 --- /dev/null +++ b/dist-ui/assets/forth-BCAFCs5n.js @@ -0,0 +1 @@ +import{g as S,c as T}from"./index-BLHgoTgd.js";function A(O,a){for(var E=0;En[i]})}}}return Object.freeze(Object.defineProperty(O,Symbol.toStringTag,{value:"Module"}))}var L={exports:{}};(function(O,a){(function(E){E(T)})(function(E){function n(f){var r=[];return f.split(" ").forEach(function(e){r.push({name:e})}),r}var i=n("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),o=n("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");E.defineMode("forth",function(){function f(r,e){var t;for(t=r.length-1;t>=0;t--)if(r[t].name===e.toUpperCase())return r[t]}return{startState:function(){return{state:"",base:10,coreWordList:i,immediateWordList:o,wordList:[]}},token:function(r,e){var t;if(r.eatSpace())return null;if(e.state===""){if(r.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin compilation";if(t=r.match(/^(\:)\s+(\S+)(\s|$)+/),t)return e.wordList.push({name:t[2].toUpperCase()}),e.state=" compilation","def"+e.state;if(t=r.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),t)return e.wordList.push({name:t[2].toUpperCase()}),"def"+e.state;if(t=r.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),t)return"builtin"+e.state}else{if(r.match(/^(\;|\[)(\s)/))return e.state="",r.backUp(1),"builtin compilation";if(r.match(/^(\;|\[)($)/))return e.state="","builtin compilation";if(r.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(t=r.match(/^(\S+)(\s+|$)/),t)return f(e.wordList,t[1])!==void 0?"variable"+e.state:t[1]==="\\"?(r.skipToEnd(),"comment"+e.state):f(e.coreWordList,t[1])!==void 0?"builtin"+e.state:f(e.immediateWordList,t[1])!==void 0?"keyword"+e.state:t[1]==="("?(r.eatWhile(function(R){return R!==")"}),r.eat(")"),"comment"+e.state):t[1]===".("?(r.eatWhile(function(R){return R!==")"}),r.eat(")"),"string"+e.state):t[1]==='S"'||t[1]==='."'||t[1]==='C"'?(r.eatWhile(function(R){return R!=='"'}),r.eat('"'),"string"+e.state):t[1]-68719476735?"number"+e.state:"atom"+e.state}}}),E.defineMIME("text/x-forth","forth")})})();var u=L.exports;const D=S(u),c=A({__proto__:null,default:D},[u]);export{c as f}; diff --git a/dist-ui/assets/fortran-Dfs_7KJ_.js b/dist-ui/assets/fortran-Dfs_7KJ_.js new file mode 100644 index 00000000..5d7b347d --- /dev/null +++ b/dist-ui/assets/fortran-Dfs_7KJ_.js @@ -0,0 +1 @@ +import{g as h,c as x}from"./index-BLHgoTgd.js";function y(s,l){for(var i=0;ir[o]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(s,l){(function(i){i(x)})(function(i){i.defineMode("fortran",function(){function r(t){for(var n={},e=0;e\/\:]/,m=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function g(t,n){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return n.tokenize=b(e),n.tokenize(t,n);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(_.test(e))return t.eatWhile(_),"operator";t.eatWhile(/[\w\$_]/);var a=t.current().toLowerCase();return o.hasOwnProperty(a)?"keyword":c.hasOwnProperty(a)||p.hasOwnProperty(a)?"builtin":"variable"}function b(t){return function(n,e){for(var a=!1,d,u=!1;(d=n.next())!=null;){if(d==t&&!a){u=!0;break}a=!a&&d=="\\"}return(u||!a)&&(e.tokenize=null),"string"}}return{startState:function(){return{tokenize:null}},token:function(t,n){if(t.eatSpace())return null;var e=(n.tokenize||g)(t,n);return e=="comment"||e=="meta",e}}}),i.defineMIME("text/x-fortran","fortran")})})();var f=v.exports;const k=h(f),z=y({__proto__:null,default:k},[f]);export{z as f}; diff --git a/dist-ui/assets/gas-Diw4JAxZ.js b/dist-ui/assets/gas-Diw4JAxZ.js new file mode 100644 index 00000000..d9d5e7c5 --- /dev/null +++ b/dist-ui/assets/gas-Diw4JAxZ.js @@ -0,0 +1 @@ +import{g as w,c as y}from"./index-BLHgoTgd.js";function _(c,s){for(var b=0;bo[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(c,s){(function(b){b(y)})(function(b){b.defineMode("gas",function(o,a){var u=[],v="",p={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function m(l){v="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variable-2",i.rax="variable-3",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variable-2",i.rbx="variable-3",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variable-2",i.rcx="variable-3",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variable-2",i.rdx="variable-3",i.si="variable",i.esi="variable-2",i.rsi="variable-3",i.di="variable",i.edi="variable-2",i.rdi="variable-3",i.sp="variable",i.esp="variable-2",i.rsp="variable-3",i.bp="variable",i.ebp="variable-2",i.rbp="variable-3",i.ip="variable",i.eip="variable-2",i.rip="variable-3",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function k(l){v="@",p.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variable-2",i.lr="variable-2",i.pc="variable-2",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,u.push(function(t,e){if(t==="#")return e.eatWhile(/\w/),"number"})}var f=(a.architecture||"x86").toLowerCase();f==="x86"?m():(f==="arm"||f==="armv6")&&k();function h(l,t){for(var e=!1,n;(n=l.next())!=null;){if(n===t&&!e)return!1;e=!e&&n==="\\"}return e}function g(l,t){for(var e=!1,n;(n=l.next())!=null;){if(n==="/"&&e){t.tokenize=null;break}e=n==="*"}return"comment"}return{startState:function(){return{tokenize:null}},token:function(l,t){if(t.tokenize)return t.tokenize(l,t);if(l.eatSpace())return null;var e,n,r=l.next();if(r==="/"&&l.eat("*"))return t.tokenize=g,g(l,t);if(r===v)return l.skipToEnd(),"comment";if(r==='"')return h(l,'"'),"string";if(r===".")return l.eatWhile(/\w/),n=l.current().toLowerCase(),e=p[n],e||null;if(r==="=")return l.eatWhile(/\w/),"tag";if(r==="{"||r==="}")return"bracket";if(/\d/.test(r))return r==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(r))return l.eatWhile(/\w/),l.eat(":")?"tag":(n=l.current().toLowerCase(),e=i[n],e||null);for(var d=0;do[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(a,c){(function(t){t(b,v(),h())})(function(t){var o=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;t.defineMode("gfm",function(r,i){var p=0;function d(e){return e.code=!1,null}var m={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var g=e.pos;e.eatWhile("`");var f=1+e.pos-g;return n.code?f===p&&(n.code=!1):(p=f,n.code=!0),null}else if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,i.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(o)&&e.string.slice(e.start-2,e.start)!="]("&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:d},s={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in i)s[l]=i[l];return s.name="markdown",t.overlayMode(t.getMode(r,s),m)},"markdown"),t.defineMIME("text/x-gfm","gfm")})})();var u=y.exports;const w=k(u),_=x({__proto__:null,default:w},[u]);export{_ as g}; diff --git a/dist-ui/assets/gherkin-CVk3B-06.js b/dist-ui/assets/gherkin-CVk3B-06.js new file mode 100644 index 00000000..17cb95f3 --- /dev/null +++ b/dist-ui/assets/gherkin-CVk3B-06.js @@ -0,0 +1 @@ +import{g as t,c as u}from"./index-BLHgoTgd.js";function d(i,r){for(var a=0;an[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(i,r){(function(a){a(u)})(function(a){a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})})();var o=c.exports;const s=t(o),h=d({__proto__:null,default:s},[o]);export{h as g}; diff --git a/dist-ui/assets/go-BD--djXl.js b/dist-ui/assets/go-BD--djXl.js new file mode 100644 index 00000000..99da6b01 --- /dev/null +++ b/dist-ui/assets/go-BD--djXl.js @@ -0,0 +1 @@ +import{g as _,c as E}from"./index-BLHgoTgd.js";function w(a,d){for(var u=0;ul[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(a,d){(function(u){u(E)})(function(u){u.defineMode("go",function(l){var o=l.indentUnit,f={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},v={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},g=/[+\-*&^%:=<>!|\/]/,i;function p(e,r){var t=e.next();if(t=='"'||t=="'"||t=="`")return r.tokenize=b(t),r.tokenize(e,r);if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9_]+([eE][\-+]?[0-9_]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F_]+/)||e.match(/^[0-7_]+/):e.match(/^[0-9_]*\.?[0-9_]*([eE][\-+]?[0-9_]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(t=="/"){if(e.eat("*"))return r.tokenize=x,x(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}if(g.test(t))return e.eatWhile(g),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var n=e.current();return f.propertyIsEnumerable(n)?((n=="case"||n=="default")&&(i="case"),"keyword"):v.propertyIsEnumerable(n)?"atom":"variable"}function b(e){return function(r,t){for(var n=!1,c,h=!1;(c=r.next())!=null;){if(c==e&&!n){h=!0;break}n=!n&&e!="`"&&c=="\\"}return(h||!(n||e=="`"))&&(t.tokenize=p),"string"}}function x(e,r){for(var t=!1,n;n=e.next();){if(n=="/"&&t){r.tokenize=p;break}t=n=="*"}return"comment"}function m(e,r,t,n,c){this.indented=e,this.column=r,this.type=t,this.align=n,this.prev=c}function s(e,r,t){return e.context=new m(e.indented,r,t,null,e.context)}function y(e){if(e.context.prev){var r=e.context.type;return(r==")"||r=="]"||r=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new m((e||0)-o,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,r){var t=r.context;if(e.sol()&&(t.align==null&&(t.align=!1),r.indented=e.indentation(),r.startOfLine=!0,t.type=="case"&&(t.type="}")),e.eatSpace())return null;i=null;var n=(r.tokenize||p)(e,r);return n=="comment"||(t.align==null&&(t.align=!0),i=="{"?s(r,e.column(),"}"):i=="["?s(r,e.column(),"]"):i=="("?s(r,e.column(),")"):i=="case"?t.type="case":(i=="}"&&t.type=="}"||i==t.type)&&y(r),r.startOfLine=!1),n},indent:function(e,r){if(e.tokenize!=p&&e.tokenize!=null)return u.Pass;var t=e.context,n=r&&r.charAt(0);if(t.type=="case"&&/^(?:case|default)\b/.test(r))return e.context.type="}",t.indented;var c=n==t.type;return t.align?t.column+(c?0:1):t.indented+(c?0:o)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),u.defineMIME("text/x-go","go")})})();var k=z.exports;const C=_(k),S=w({__proto__:null,default:C},[k]);export{S as g}; diff --git a/dist-ui/assets/groovy-Vdd_i6C6.js b/dist-ui/assets/groovy-Vdd_i6C6.js new file mode 100644 index 00000000..ca6fe84b --- /dev/null +++ b/dist-ui/assets/groovy-Vdd_i6C6.js @@ -0,0 +1 @@ +import{g as j,c as S}from"./index-BLHgoTgd.js";function $(a,k){for(var l=0;lf[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var I={exports:{}};(function(a,k){(function(l){l(S)})(function(l){l.defineMode("groovy",function(f){function o(e){for(var n={},t=e.split(" "),r=0;r"))return i="->",null;if(/[+\-*&%=<>!?|\/~]/.test(t))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),t=="@")return e.eatWhile(/[\w\$_\.]/),"meta";if(n.lastToken==".")return"property";if(e.eat(":"))return i="proplabel","property";var r=e.current();return T.propertyIsEnumerable(r)?"atom":p.propertyIsEnumerable(r)?(C.propertyIsEnumerable(r)?i="newstatement":O.propertyIsEnumerable(r)&&(i="standalone"),"keyword"):"variable"}v.isBase=!0;function x(e,n,t){var r=!1;if(e!="/"&&n.eat(e))if(n.eat(e))r=!0;else return"string";function c(s,b){for(var y=!1,h,z=!r;(h=s.next())!=null;){if(h==e&&!y){if(!r)break;if(s.match(e+e)){z=!0;break}}if(e=='"'&&h=="$"&&!y){if(s.eat("{"))return b.tokenize.push(_()),"string";if(s.match(/^\w/,!1))return b.tokenize.push(B),"string"}y=!y&&h=="\\"}return z&&b.tokenize.pop(),"string"}return t.tokenize.push(c),c(n,t)}function _(){var e=1;function n(t,r){if(t.peek()=="}"){if(e--,e==0)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)}else t.peek()=="{"&&e++;return v(t,r)}return n.isBase=!0,n}function B(e,n){var t=e.match(/^(\.|[\w\$_]+)/);return t?t[0]=="."?null:"variable":(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n))}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize.pop();break}t=r=="*"}return"comment"}function g(e,n){return!e||e=="operator"||e=="->"||/[\.\[\{\(,;:]/.test(e)||e=="newstatement"||e=="keyword"||e=="proplabel"||e=="standalone"&&!n}function m(e,n,t,r,c){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=c}function d(e,n,t){return e.context=new m(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:[v],context:new m((e||0)-f.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0,t.type=="statement"&&!g(n.lastToken,!0)&&(u(n),t=n.context)),e.eatSpace())return null;i=null;var r=n.tokenize[n.tokenize.length-1](e,n);if(r=="comment")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":")&&t.type=="statement")u(n);else if(i=="->"&&t.type=="statement"&&t.prev.type=="}")u(n),n.context.align=!1;else if(i=="{")d(n,e.column(),"}");else if(i=="[")d(n,e.column(),"]");else if(i=="(")d(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else i==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&i=="newstatement")&&d(n,e.column(),"statement");return n.startOfLine=!1,n.lastToken=i||r,r},indent:function(e,n){if(!e.tokenize[e.tokenize.length-1].isBase)return l.Pass;var t=n&&n.charAt(0),r=e.context;r.type=="statement"&&!g(e.lastToken,!0)&&(r=r.prev);var c=t==r.type;return r.type=="statement"?r.indented+(t=="{"?0:f.indentUnit):r.align?r.column+(c?0:1):r.indented+(c?0:f.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),l.defineMIME("text/x-groovy","groovy")})})();var E=I.exports;const P=j(E),U=$({__proto__:null,default:P},[E]);export{U as g}; diff --git a/dist-ui/assets/haml-CeW5HA3f.js b/dist-ui/assets/haml-CeW5HA3f.js new file mode 100644 index 00000000..62ffff74 --- /dev/null +++ b/dist-ui/assets/haml-CeW5HA3f.js @@ -0,0 +1 @@ +import{g as d,c as a}from"./index-BLHgoTgd.js";import{r as y}from"./htmlmixed-DMkIMe4i.js";import{r as b}from"./ruby-DNoS9cWB.js";function T(l,p){for(var i=0;ir[o]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(l,p){(function(i){i(a,y(),b())})(function(i){i.defineMode("haml",function(r){var o=i.getMode(r,{name:"htmlmixed"}),u=i.getMode(r,"ruby");function k(n){return function(e,t){var c=e.peek();return c==n&&t.rubyState.tokenize.length==1?(e.next(),t.tokenize=m,"closeAttributeTag"):f(e,t)}}function f(n,e){return n.match("-#")?(n.skipToEnd(),"comment"):u.token(n,e.rubyState)}function m(n,e){var t=n.peek();if(e.previousToken.style=="comment"&&e.indented>e.previousToken.indented)return n.skipToEnd(),"commentLine";if(e.startOfLine){if(t=="!"&&n.match("!!"))return n.skipToEnd(),"tag";if(n.match(/^%[\w:#\.]+=/))return e.tokenize=f,"hamlTag";if(n.match(/^%[\w:]+/))return"hamlTag";if(t=="/")return n.skipToEnd(),"comment"}if((e.startOfLine||e.previousToken.style=="hamlTag")&&(t=="#"||t=="."))return n.match(/[\w-#\.]*/),"hamlAttribute";if(e.startOfLine&&!n.match("-->",!1)&&(t=="="||t=="-"))return e.tokenize=f,e.tokenize(n,e);if(e.previousToken.style=="hamlTag"||e.previousToken.style=="closeAttributeTag"||e.previousToken.style=="hamlAttribute"){if(t=="(")return e.tokenize=k(")"),e.tokenize(n,e);if(t=="{"&&!n.match(/^\{%.*/))return e.tokenize=k("}"),e.tokenize(n,e)}return o.token(n,e.htmlState)}return{startState:function(){var n=i.startState(o),e=i.startState(u);return{htmlState:n,rubyState:e,indented:0,previousToken:{style:null,indented:0},tokenize:m}},copyState:function(n){return{htmlState:i.copyState(o,n.htmlState),rubyState:i.copyState(u,n.rubyState),indented:n.indented,previousToken:n.previousToken,tokenize:n.tokenize}},token:function(n,e){if(n.sol()&&(e.indented=n.indentation(),e.startOfLine=!0),n.eatSpace())return null;var t=e.tokenize(n,e);if(e.startOfLine=!1,t&&t!="commentLine"&&(e.previousToken={style:t,indented:e.indented}),n.eol()&&e.tokenize==f){n.backUp(1);var c=n.peek();n.next(),c&&c!=","&&(e.tokenize=m)}return t=="hamlTag"?t="tag":t=="commentLine"?t="comment":t=="hamlAttribute"?t="attribute":t=="closeAttributeTag"&&(t=null),t}}},"htmlmixed","ruby"),i.defineMIME("text/x-haml","haml")})})();var h=g.exports;const v=d(h),O=T({__proto__:null,default:v},[h]);export{O as h}; diff --git a/dist-ui/assets/handlebars-Dr7kZLUW.js b/dist-ui/assets/handlebars-Dr7kZLUW.js new file mode 100644 index 00000000..27ca8e08 --- /dev/null +++ b/dist-ui/assets/handlebars-Dr7kZLUW.js @@ -0,0 +1 @@ +import{g as m,c as l,b as g}from"./index-BLHgoTgd.js";import{r as p}from"./multiplex-DTs8uP38.js";function d(a,o){for(var e=0;er[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(a,o){(function(e){e(l,g(),p())})(function(e){e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars_raw:[{regex:/\}\}\}/,pop:!0,token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}}),e.defineMode("handlebars",function(r,t){var n=e.getMode(r,"handlebars-tags");return!t||!t.base?n:e.multiplexingMode(e.getMode(r,t.base),{open:"{{",close:/\}\}\}?/,mode:n,parseDelimiters:!0})}),e.defineMIME("text/x-handlebars-template","handlebars")})})();var s=u.exports;const c=m(s),i=d({__proto__:null,default:c},[s]);export{s as a,i as h}; diff --git a/dist-ui/assets/haskell-BgV3lLn4.js b/dist-ui/assets/haskell-BgV3lLn4.js new file mode 100644 index 00000000..eae70c67 --- /dev/null +++ b/dist-ui/assets/haskell-BgV3lLn4.js @@ -0,0 +1 @@ +import{g as W,c as I}from"./index-BLHgoTgd.js";function T(d,m){for(var a=0;af[o]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(d,m){(function(a){a(I)})(function(a){a.defineMode("haskell",function(f,o){function l(e,r,t){return r(t),t(e,r)}var b=/[a-z_]/,y=/[A-Z]/,h=/\d/,F=/[0-9A-Fa-f]/,R=/[0-7]/,c=/[a-z_A-Z0-9'\xa1-\uffff]/,p=/[-!#$%&*+.\/<=>?@\\^|~:]/,k=/[(),;[\]`{}]/,g=/[ \t\v\f]/;function u(e,r){if(e.eatWhile(g))return null;var t=e.next();if(k.test(t)){if(t=="{"&&e.eat("-")){var n="comment";return e.eat("#")&&(n="meta"),l(e,r,v(n,1))}return null}if(t=="'")return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if(t=='"')return l(e,r,w);if(y.test(t))return e.eatWhile(c),e.eat(".")?"qualifier":"variable-2";if(b.test(t))return e.eatWhile(c),"variable";if(h.test(t)){if(t=="0"){if(e.eat(/[xX]/))return e.eatWhile(F),"integer";if(e.eat(/[oO]/))return e.eatWhile(R),"number"}e.eatWhile(h);var n="number";return e.match(/^\.\d+/)&&(n="number"),e.eat(/[eE]/)&&(n="number",e.eat(/[-+]/),e.eatWhile(h)),n}if(t=="."&&e.eat("."))return"keyword";if(p.test(t)){if(t=="-"&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(p)))return e.skipToEnd(),"comment";var n="variable";return t==":"&&(n="variable-2"),e.eatWhile(p),n}return"error"}function v(e,r){return r==0?u:function(t,n){for(var i=r;!t.eol();){var s=t.next();if(s=="{"&&t.eat("-"))++i;else if(s=="-"&&t.eat("}")&&(--i,i==0))return n(u),e}return n(v(e,i)),e}}function w(e,r){for(;!e.eol();){var t=e.next();if(t=='"')return r(u),"string";if(t=="\\"){if(e.eol()||e.eat(g))return r(O),"string";e.eat("&")||e.next()}}return r(u),"string error"}function O(e,r){return e.eat("\\")?l(e,r,w):(e.next(),r(u),"error")}var x=function(){var e={};function r(i){return function(){for(var s=0;s","@","~","=>"),r("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),r("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),r("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var t=o.overrideKeywords;if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}();return{startState:function(){return{f:u}},copyState:function(e){return{f:e.f}},token:function(e,r){var t=r.f(e,function(i){r.f=i}),n=e.current();return x.hasOwnProperty(n)?x[n]:t},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),a.defineMIME("text/x-haskell","haskell")})})();var E=_.exports;const z=W(E),C=T({__proto__:null,default:z},[E]);export{E as a,C as h}; diff --git a/dist-ui/assets/haskell-literate-CHEBOdHl.js b/dist-ui/assets/haskell-literate-CHEBOdHl.js new file mode 100644 index 00000000..4607d366 --- /dev/null +++ b/dist-ui/assets/haskell-literate-CHEBOdHl.js @@ -0,0 +1 @@ +import{g as f,c as u}from"./index-BLHgoTgd.js";import{a as c}from"./haskell-BgV3lLn4.js";function d(a,l){for(var e=0;er[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(a,l){(function(e){e(u,c)})(function(e){e.defineMode("haskell-literate",function(r,t){var n=e.getMode(r,t&&t.base||"haskell");return{startState:function(){return{inCode:!1,baseState:e.startState(n)}},token:function(o,s){return o.sol()&&(s.inCode=o.eat(">"))?"meta":s.inCode?n.token(o,s.baseState):(o.skipToEnd(),"comment")},innerMode:function(o){return o.inCode?{state:o.baseState,mode:n}:null}}},"haskell"),e.defineMIME("text/x-literate-haskell","haskell-literate")})})();var i=p.exports;const k=f(i),m=d({__proto__:null,default:k},[i]);export{m as h}; diff --git a/dist-ui/assets/haxe-DNsF5SKW.js b/dist-ui/assets/haxe-DNsF5SKW.js new file mode 100644 index 00000000..aa5a5b24 --- /dev/null +++ b/dist-ui/assets/haxe-DNsF5SKW.js @@ -0,0 +1 @@ +import{g as ve,c as me}from"./index-BLHgoTgd.js";function ke(E,j){for(var m=0;mu[c]})}}}return Object.freeze(Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}))}var ge={exports:{}};(function(E,j){(function(m){m(me)})(function(m){m.defineMode("haxe",function(u,c){var v=u.indentUnit;function a(e){return{type:e,style:"keyword"}}var y=a("keyword a"),P=a("keyword b"),A=a("keyword c"),ee=a("operator"),D={type:"atom",style:"atom"},O={type:"attribute",style:"attribute"},s=a("typedef"),C={if:y,while:y,else:P,do:P,try:P,return:A,break:A,continue:A,new:A,throw:A,var:a("var"),inline:O,static:O,using:a("import"),public:O,private:O,cast:a("cast"),import:a("import"),macro:a("macro"),function:a("function"),catch:a("catch"),untyped:a("untyped"),callback:a("cb"),for:a("for"),switch:a("switch"),case:a("case"),default:a("default"),in:ee,never:a("property_access"),trace:a("trace"),class:s,abstract:s,enum:s,interface:s,typedef:s,extends:s,implements:s,dynamic:s,true:D,false:D,null:D},Z=/[+\-*&%=<>!?|]/;function F(e,r,t){return r.tokenize=t,t(e,r)}function H(e,r){for(var t=!1,i;(i=e.next())!=null;){if(i==r&&!t)return!0;t=!t&&i=="\\"}}var s,L;function p(e,r,t){return s=e,L=t,r}function T(e,r){var t=e.next();if(t=='"'||t=="'")return F(e,r,re(t));if(/[\[\]{}\(\),;\:\.]/.test(t))return p(t);if(t=="0"&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if(/\d/.test(t)||t=="-"&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),p("number","number");if(r.reAllowed&&t=="~"&&e.eat(/\//))return H(e,"/"),e.eatWhile(/[gimsu]/),p("regexp","string-2");if(t=="/")return e.eat("*")?F(e,r,te):e.eat("/")?(e.skipToEnd(),p("comment","comment")):(e.eatWhile(Z),p("operator",null,e.current()));if(t=="#")return e.skipToEnd(),p("conditional","meta");if(t=="@")return e.eat(/:/),e.eatWhile(/[\w_]/),p("metadata","meta");if(Z.test(t))return e.eatWhile(Z),p("operator",null,e.current());var i;if(/[A-Z]/.test(t))return e.eatWhile(/[\w_<>]/),i=e.current(),p("type","variable-3",i);e.eatWhile(/[\w_]/);var i=e.current(),x=C.propertyIsEnumerable(i)&&C[i];return x&&r.kwAllowed?p(x.type,x.style,i):p("variable","variable",i)}function re(e){return function(r,t){return H(r,e)&&(t.tokenize=T),p("string","string")}}function te(e,r){for(var t=!1,i;i=e.next();){if(i=="/"&&t){r.tokenize=T;break}t=i=="*"}return p("comment","comment")}var N={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function q(e,r,t,i,x,h){this.indented=e,this.column=r,this.type=t,this.prev=x,this.info=h,i!=null&&(this.align=i)}function ne(e,r){for(var t=e.localVars;t;t=t.next)if(t.name==r)return!0}function ie(e,r,t,i,x){var h=e.cc;for(o.state=e,o.stream=x,o.marked=null,o.cc=h,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var be=h.length?h.pop():w;if(be(t,i)){for(;h.length&&h[h.length-1].lex;)h.pop()();return o.marked?o.marked:t=="variable"&&ne(e,i)?"variable-2":t=="variable"&&ue(e,i)?"variable-3":r}}}function ue(e,r){if(/[a-z]/.test(r.charAt(0)))return!1;for(var t=e.importedtypes.length,i=0;i=0;e--)o.cc.push(arguments[e])}function n(){return g.apply(null,arguments),!0}function J(e,r){for(var t=r;t;t=t.next)if(t.name==e)return!0;return!1}function _(e){var r=o.state;if(r.context){if(o.marked="def",J(e,r.localVars))return;r.localVars={name:e,next:r.localVars}}else if(r.globalVars){if(J(e,r.globalVars))return;r.globalVars={name:e,next:r.globalVars}}}var ae={name:"this",next:null};function I(){o.state.context||(o.state.localVars=ae),o.state.context={prev:o.state.context,vars:o.state.localVars}}function z(){o.state.localVars=o.state.context.vars,o.state.context=o.state.context.prev}z.lex=!0;function l(e,r){var t=function(){var i=o.state;i.lexical=new q(i.indented,o.stream.column(),e,null,i.lexical,r)};return t.lex=!0,t}function f(){var e=o.state;e.lexical.prev&&(e.lexical.type==")"&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}f.lex=!0;function d(e){function r(t){return t==e?n():e==";"?g():n(r)}return r}function w(e){return e=="@"?n(B):e=="var"?n(l("vardef"),$,d(";"),f):e=="keyword a"?n(l("form"),b,w,f):e=="keyword b"?n(l("form"),w,f):e=="{"?n(l("}"),I,U,f,z):e==";"?n():e=="attribute"?n(K):e=="function"?n(S):e=="for"?n(l("form"),d("("),l(")"),de,d(")"),f,w,f):e=="variable"?n(l("stat"),le):e=="switch"?n(l("form"),b,l("}","switch"),d("{"),U,f,f):e=="case"?n(b,d(":")):e=="default"?n(d(":")):e=="catch"?n(l("form"),I,d("("),X,d(")"),w,f,z):e=="import"?n(Q,d(";")):e=="typedef"?n(fe):g(l("stat"),b,d(";"),f)}function b(e){return N.hasOwnProperty(e)||e=="type"?n(k):e=="function"?n(S):e=="keyword c"?n(M):e=="("?n(l(")"),M,d(")"),f,k):e=="operator"?n(b):e=="["?n(l("]"),V(M,"]"),f,k):e=="{"?n(l("}"),V(se,"}"),f,k):n()}function M(e){return e.match(/[;\}\)\],]/)?g():g(b)}function k(e,r){if(e=="operator"&&/\+\+|--/.test(r))return n(k);if(e=="operator"||e==":")return n(b);if(e!=";"){if(e=="(")return n(l(")"),V(b,")"),f,k);if(e==".")return n(ce,k);if(e=="[")return n(l("]"),b,d("]"),f,k)}}function K(e){if(e=="attribute")return n(K);if(e=="function")return n(S);if(e=="var")return n($)}function B(e){if(e==":"||e=="variable")return n(B);if(e=="(")return n(l(")"),V(oe,")"),f,w)}function oe(e){if(e=="variable")return n()}function Q(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return G(r),n();if(e=="variable"||e=="property"||e=="."||r=="*")return n(Q)}function fe(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return G(r),n();if(e=="type"&&/[A-Z]/.test(r.charAt(0)))return n()}function le(e){return e==":"?n(f,w):g(k,d(";"),f)}function ce(e){if(e=="variable")return o.marked="property",n()}function se(e){if(e=="variable"&&(o.marked="property"),N.hasOwnProperty(e))return n(d(":"),b)}function V(e,r){function t(i){return i==","?n(e,t):i==r?n():n(d(r))}return function(i){return i==r?n():g(e,t)}}function U(e){return e=="}"?n():g(w,U)}function $(e,r){return e=="variable"?(_(r),n(W,R)):n()}function R(e,r){if(r=="=")return n(b,R);if(e==",")return n($)}function de(e,r){return e=="variable"?(_(r),n(pe,b)):g()}function pe(e,r){if(r=="in")return n()}function S(e,r){if(e=="variable"||e=="type")return _(r),n(S);if(r=="new")return n(S);if(e=="(")return n(l(")"),I,V(X,")"),f,W,w,z)}function W(e){if(e==":")return n(xe)}function xe(e){if(e=="type"||e=="variable")return n();if(e=="{")return n(l("}"),V(he,"}"),f)}function he(e){if(e=="variable")return n(W)}function X(e,r){if(e=="variable")return _(r),n(W)}return{startState:function(e){var r=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],t={tokenize:T,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new q((e||0)-v,0,"block",!1),localVars:c.localVars,importedtypes:r,context:c.localVars&&{vars:c.localVars},indented:0};return c.globalVars&&typeof c.globalVars=="object"&&(t.globalVars=c.globalVars),t},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation()),e.eatSpace())return null;var t=r.tokenize(e,r);return s=="comment"?t:(r.reAllowed=!!(s=="operator"||s=="keyword c"||s.match(/^[\[{}\(,;:]$/)),r.kwAllowed=s!=".",ie(r,t,s,L,e))},indent:function(e,r){if(e.tokenize!=T)return 0;var t=r&&r.charAt(0),i=e.lexical;i.type=="stat"&&t=="}"&&(i=i.prev);var x=i.type,h=t==x;return x=="vardef"?i.indented+4:x=="form"&&t=="{"?i.indented:x=="stat"||x=="form"?i.indented+v:i.info=="switch"&&!h?i.indented+(/^(?:case|default)\b/.test(r)?v:2*v):i.align?i.column+(h?0:1):i.indented+(h?0:v)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),m.defineMIME("text/x-haxe","haxe"),m.defineMode("hxml",function(){return{startState:function(){return{define:!1,inString:!1}},token:function(u,c){var y=u.peek(),v=u.sol();if(y=="#")return u.skipToEnd(),"comment";if(v&&y=="-"){var a="variable-2";return u.eat(/-/),u.peek()=="-"&&(u.eat(/-/),a="keyword a"),u.peek()=="D"&&(u.eat(/[D]/),a="keyword c",c.define=!0),u.eatWhile(/[A-Z]/i),a}var y=u.peek();return c.inString==!1&&y=="'"&&(c.inString=!0,u.next()),c.inString==!0?(u.skipTo("'")||u.skipToEnd(),u.peek()=="'"&&(u.next(),c.inString=!1),"string"):(u.next(),null)},lineComment:"#"}}),m.defineMIME("text/x-hxml","hxml")})})();var Y=ge.exports;const we=ve(Y),Ve=ke({__proto__:null,default:we},[Y]);export{Ve as h}; diff --git a/dist-ui/assets/htmlembedded-BlyrLuUb.js b/dist-ui/assets/htmlembedded-BlyrLuUb.js new file mode 100644 index 00000000..27441eb6 --- /dev/null +++ b/dist-ui/assets/htmlembedded-BlyrLuUb.js @@ -0,0 +1 @@ +import{g as i,c as l}from"./index-BLHgoTgd.js";import{r as s}from"./htmlmixed-DMkIMe4i.js";import{r}from"./multiplex-DTs8uP38.js";function a(o,d){for(var e=0;em[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(o,d){(function(e){e(l,s(),r())})(function(e){e.defineMode("htmlembedded",function(m,t){var n=t.closeComment||"--%>";return e.multiplexingMode(e.getMode(m,"htmlmixed"),{open:t.openComment||"<%--",close:n,delimStyle:"comment",mode:{token:function(c){return c.skipTo(n)||c.skipToEnd(),"comment"}}},{open:t.open||t.scriptStartRegex||"<%",close:t.close||t.scriptEndRegex||"%>",mode:e.getMode(m,t.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})})();var p=u.exports;const x=i(p),g=a({__proto__:null,default:x},[p]);export{g as h}; diff --git a/dist-ui/assets/htmlmixed-B95nbLbw.js b/dist-ui/assets/htmlmixed-B95nbLbw.js new file mode 100644 index 00000000..f6e8f523 --- /dev/null +++ b/dist-ui/assets/htmlmixed-B95nbLbw.js @@ -0,0 +1 @@ +import{g as a}from"./index-BLHgoTgd.js";import{r as f}from"./htmlmixed-DMkIMe4i.js";function s(r,m){for(var o=0;oe[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n=f();const l=a(n),u=s({__proto__:null,default:l},[n]);export{u as h}; diff --git a/dist-ui/assets/htmlmixed-DMkIMe4i.js b/dist-ui/assets/htmlmixed-DMkIMe4i.js new file mode 100644 index 00000000..06fc8655 --- /dev/null +++ b/dist-ui/assets/htmlmixed-DMkIMe4i.js @@ -0,0 +1 @@ +import{c as q,r as I,a as P}from"./index-BLHgoTgd.js";import{a as F}from"./css-BBinNfwf.js";var M={exports:{}},y;function L(){return y||(y=1,function(H,U){(function(i){i(q,I(),P(),F)})(function(i){var k={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function $(n,l,a){var c=n.current(),o=c.search(l);return o>-1?n.backUp(c.length-o):c.match(/<\/?$/)&&(n.backUp(c.length),n.match(l,!1)||n.match(c)),a}var d={};function b(n){var l=d[n];return l||(d[n]=new RegExp("\\s+"+n+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function j(n,l){var a=n.match(b(l));return a?/^\s*(.*?)\s*$/.exec(a[2])[1]:""}function p(n,l){return new RegExp((l?"^":"")+"","i")}function v(n,l){for(var a in n)for(var c=l[a]||(l[a]=[]),o=n[a],r=o.length-1;r>=0;r--)c.unshift(o[r])}function w(n,l){for(var a=0;a=0;f--)c.script.unshift(["type",r[f].matches,r[f].mode]);function x(t,e){var u=a.token(t,e.htmlState),S=/\btag\b/.test(u),s;if(S&&!/[<>\s\/]/.test(t.current())&&(s=e.htmlState.tagName&&e.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(s))e.inTag=s+" ";else if(e.inTag&&S&&/>$/.test(t.current())){var g=/^([\S]+) (.*)/.exec(e.inTag);e.inTag=null;var R=t.current()==">"&&w(c[g[1]],g[2]),T=i.getMode(n,R),E=p(g[1],!0),N=p(g[1],!1);e.token=function(h,m){return h.match(E,!1)?(m.token=x,m.localState=m.localMode=null,null):$(h,N,m.localMode.token(h,m.localState))},e.localMode=T,e.localState=i.startState(T,a.indent(e.htmlState,"",""))}else e.inTag&&(e.inTag+=t.current(),t.eol()&&(e.inTag+=" "));return u}return{startState:function(){var t=i.startState(a);return{token:x,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var e;return t.localState&&(e=i.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:e,htmlState:i.copyState(a,t.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(t,e,u){return!t.localMode||/^\s*<\//.test(e)?a.indent(t.htmlState,e,u):t.localMode.indent?t.localMode.indent(t.localState,e,u):i.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||a}}}},"xml","javascript","css"),i.defineMIME("text/html","htmlmixed")})}()),M.exports}export{L as r}; diff --git a/dist-ui/assets/http-BbFcRzKl.js b/dist-ui/assets/http-BbFcRzKl.js new file mode 100644 index 00000000..050bcdc9 --- /dev/null +++ b/dist-ui/assets/http-BbFcRzKl.js @@ -0,0 +1 @@ +import{g as v,c as k}from"./index-BLHgoTgd.js";function y(f,l){for(var o=0;on[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(f,l){(function(o){o(k)})(function(o){o.defineMode("http",function(){function n(e,r){return e.skipToEnd(),r.cur=s,"error"}function u(e,r){return e.match(/^HTTP\/\d\.\d/)?(r.cur=c,"keyword"):e.match(/^[A-Z]+/)&&/[ \t]/.test(e.peek())?(r.cur=h,"keyword"):n(e,r)}function c(e,r){var i=e.match(/^\d+/);if(!i)return n(e,r);r.cur=d;var t=Number(i[0]);return t>=100&&t<200?"positive informational":t>=200&&t<300?"positive success":t>=300&&t<400?"positive redirect":t>=400&&t<500?"negative client-error":t>=500&&t<600?"negative server-error":"error"}function d(e,r){return e.skipToEnd(),r.cur=s,null}function h(e,r){return e.eatWhile(/\S/),r.cur=g,"string-2"}function g(e,r){return e.match(/^HTTP\/\d\.\d$/)?(r.cur=s,"keyword"):n(e,r)}function s(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string")}function p(e){return e.skipToEnd(),null}return{token:function(e,r){var i=r.cur;return i!=s&&i!=p&&e.eatSpace()?null:i(e,r)},blankLine:function(e){e.cur=p},startState:function(){return{cur:u}}}}),o.defineMIME("message/http","http")})})();var a=T.exports;const b=v(a),x=y({__proto__:null,default:b},[a]);export{x as h}; diff --git a/dist-ui/assets/idl-BcQC4ryb.js b/dist-ui/assets/idl-BcQC4ryb.js new file mode 100644 index 00000000..d5ff6dd0 --- /dev/null +++ b/dist-ui/assets/idl-BcQC4ryb.js @@ -0,0 +1 @@ +import{g as f,c as u}from"./index-BLHgoTgd.js";function g(o,_){for(var t=0;t<_.length;t++){const r=_[t];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in o)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(o,_){(function(t){t(u)})(function(t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],a=r(i),l=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],n=r(l);t.registerHelper("hintWords","idl",i.concat(l));var d=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),c=/[+\-*&=<>\/@#~$]/,p=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function m(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(a)?"builtin":e.match(d)?"variable":e.match(c)||e.match(p)?"operator":(e.next(),null)}t.defineMode("idl",function(){return{token:function(e){return m(e)}}}),t.defineMIME("text/x-idl","idl")})})();var s=w.exports;const h=f(s),b=g({__proto__:null,default:h},[s]);export{b as i}; diff --git a/dist-ui/assets/image-not-found-Cx6NJXh5.png b/dist-ui/assets/image-not-found-Cx6NJXh5.png new file mode 100644 index 00000000..e344866e Binary files /dev/null and b/dist-ui/assets/image-not-found-Cx6NJXh5.png differ diff --git a/dist-ui/assets/index-BLHgoTgd.js b/dist-ui/assets/index-BLHgoTgd.js new file mode 100644 index 00000000..6f043320 --- /dev/null +++ b/dist-ui/assets/index-BLHgoTgd.js @@ -0,0 +1,2021 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/dart-CgLLyi75.js","assets/clike-Cm0RcWKo.js","assets/django-CAJIKadS.js","assets/htmlmixed-DMkIMe4i.js","assets/css-BBinNfwf.js","assets/overlay-Dtk6ZH6S.js","assets/gfm-Cco98dfQ.js","assets/markdown-D5Xfw3y-.js","assets/haml-CeW5HA3f.js","assets/ruby-DNoS9cWB.js","assets/handlebars-Dr7kZLUW.js","assets/multiplex-DTs8uP38.js","assets/haskell-literate-CHEBOdHl.js","assets/haskell-BgV3lLn4.js","assets/htmlembedded-BlyrLuUb.js","assets/htmlmixed-B95nbLbw.js","assets/markdown-OCeZONgZ.js","assets/php-Bcri55Zr.js","assets/pug-C1X8HA5I.js","assets/rst-BgE2lSFZ.js","assets/python-BjnbAnfP.js","assets/stex-Bbn0un2S.js","assets/ruby-T8iJPSUI.js","assets/sass-tfN4X25a.js","assets/slim-Tl-Q-j4B.js","assets/soy-BytuNm1O.js","assets/stex-i6uttPU4.js","assets/tornado-Brtzznv_.js","assets/twig-C4S06vZo.js","assets/vue-u90QURhz.js","assets/coffeescript-BapwGZ39.js","assets/stylus-GmfG-Jww.js","assets/yaml-frontmatter-C-hmifh_.js","assets/yaml-BsCobDxz.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var iG=Object.defineProperty,lG=Object.defineProperties;var cG=Object.getOwnPropertyDescriptors;var ay=Object.getOwnPropertySymbols;var Y9=Object.prototype.hasOwnProperty,Z9=Object.prototype.propertyIsEnumerable;var xg=Math.pow,p3=(t,e,n)=>e in t?iG(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e)=>{for(var n in e||(e={}))Y9.call(e,n)&&p3(t,n,e[n]);if(ay)for(var n of ay(e))Z9.call(e,n)&&p3(t,n,e[n]);return t},ae=(t,e)=>lG(t,cG(e));var Ne=(t,e)=>{var n={};for(var r in t)Y9.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&ay)for(var r of ay(t))e.indexOf(r)<0&&Z9.call(t,r)&&(n[r]=t[r]);return n};var kt=(t,e,n)=>(p3(t,typeof e!="symbol"?e+"":e,n),n),m3=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var Ae=(t,e,n)=>(m3(t,e,"read from private field"),n?n.call(t):e.get(t)),un=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Qt=(t,e,n,r)=>(m3(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);var oy=(t,e,n,r)=>({set _(s){Qt(t,e,s,n)},get _(){return Ae(t,e,r)}}),An=(t,e,n)=>(m3(t,e,"access private method"),n);var ge=(t,e,n)=>new Promise((r,s)=>{var a=u=>{try{l(n.next(u))}catch(d){s(d)}},i=u=>{try{l(n.throw(u))}catch(d){s(d)}},l=u=>u.done?r(u.value):Promise.resolve(u.value).then(a,i);l((n=n.apply(t,e)).next())});function Rw(t,e){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();const uG="modulepreload",dG=function(t){return"/"+t},X9={},ke=function(e,n,r){let s=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(u=>{if(u=dG(u),u in X9)return;X9[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(!!r)for(let b=a.length-1;b>=0;b--){const C=a[b];if(C.href===u&&(!d||C.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(u,'"]').concat(p)))return;const m=document.createElement("link");if(m.rel=d?"stylesheet":uG,d||(m.as="script",m.crossOrigin=""),m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),d)return new Promise((b,C)=>{m.addEventListener("load",b),m.addEventListener("error",()=>C(new Error("Unable to preload CSS for ".concat(u))))})}))}return s.then(()=>e()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};var Vn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ou(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function fG(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}var XA={exports:{}},Ow={},QA={exports:{}},Xn={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Zv=Symbol.for("react.element"),hG=Symbol.for("react.portal"),pG=Symbol.for("react.fragment"),mG=Symbol.for("react.strict_mode"),gG=Symbol.for("react.profiler"),vG=Symbol.for("react.provider"),xG=Symbol.for("react.context"),yG=Symbol.for("react.forward_ref"),bG=Symbol.for("react.suspense"),wG=Symbol.for("react.memo"),kG=Symbol.for("react.lazy"),Q9=Symbol.iterator;function CG(t){return t===null||typeof t!="object"?null:(t=Q9&&t[Q9]||t["@@iterator"],typeof t=="function"?t:null)}var JA={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},eL=Object.assign,tL={};function m0(t,e,n){this.props=t,this.context=e,this.refs=tL,this.updater=n||JA}m0.prototype.isReactComponent={};m0.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};m0.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function nL(){}nL.prototype=m0.prototype;function jj(t,e,n){this.props=t,this.context=e,this.refs=tL,this.updater=n||JA}var Ej=jj.prototype=new nL;Ej.constructor=jj;eL(Ej,m0.prototype);Ej.isPureReactComponent=!0;var J9=Array.isArray,rL=Object.prototype.hasOwnProperty,Nj={current:null},sL={key:!0,ref:!0,__self:!0,__source:!0};function aL(t,e,n){var r,s={},a=null,i=null;if(e!=null)for(r in e.ref!==void 0&&(i=e.ref),e.key!==void 0&&(a=""+e.key),e)rL.call(e,r)&&!sL.hasOwnProperty(r)&&(s[r]=e[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Um=typeof window=="undefined"||"Deno"in window;function ui(){}function AG(t,e){return typeof t=="function"?t(e):t}function S4(t){return typeof t=="number"&&t>=0&&t!==1/0}function lL(t,e){return Math.max(t+(e||0)-Date.now(),0)}function t_(t,e){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:i,stale:l}=t;if(i){if(r){if(e.queryHash!==Tj(i,e.options))return!1}else if(!B1(e.queryKey,i))return!1}if(n!=="all"){const u=e.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof l=="boolean"&&e.isStale()!==l||s&&s!==e.state.fetchStatus||a&&!a(e))}function n_(t,e){const{exact:n,status:r,predicate:s,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(lh(e.options.mutationKey)!==lh(a))return!1}else if(!B1(e.options.mutationKey,a))return!1}return!(r&&e.state.status!==r||s&&!s(e))}function Tj(t,e){return((e==null?void 0:e.queryKeyHashFn)||lh)(t)}function lh(t){return JSON.stringify(t,(e,n)=>j4(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function B1(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?!Object.keys(e).some(n=>!B1(t[n],e[n])):!1}function cL(t,e){if(t===e)return t;const n=r_(t)&&r_(e);if(n||j4(t)&&j4(e)){const r=n?t:Object.keys(t),s=r.length,a=n?e:Object.keys(e),i=a.length,l=n?[]:{};let u=0;for(let d=0;d{setTimeout(e,t)})}function E4(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?cL(t,e):e}function RG(t,e,n=0){const r=[...t,e];return n&&r.length>n?r.slice(1):r}function OG(t,e,n=0){const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var Pj=Symbol(),Uf,ud,Nm,HA,$G=(HA=class extends g0{constructor(){super();un(this,Uf,void 0);un(this,ud,void 0);un(this,Nm,void 0);Qt(this,Nm,e=>{if(!Um&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Ae(this,ud)||this.setEventListener(Ae(this,Nm))}onUnsubscribe(){var e;this.hasListeners()||((e=Ae(this,ud))==null||e.call(this),Qt(this,ud,void 0))}setEventListener(e){var n;Qt(this,Nm,e),(n=Ae(this,ud))==null||n.call(this),Qt(this,ud,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){Ae(this,Uf)!==e&&(Qt(this,Uf,e),this.onFocus())}onFocus(){this.listeners.forEach(e=>{e()})}isFocused(){var e;return typeof Ae(this,Uf)=="boolean"?Ae(this,Uf):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Uf=new WeakMap,ud=new WeakMap,Nm=new WeakMap,HA),Gb=new $G,_m,dd,Tm,BA,zG=(BA=class extends g0{constructor(){super();un(this,_m,!0);un(this,dd,void 0);un(this,Tm,void 0);Qt(this,Tm,e=>{if(!Um&&window.addEventListener){const n=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){Ae(this,dd)||this.setEventListener(Ae(this,Tm))}onUnsubscribe(){var e;this.hasListeners()||((e=Ae(this,dd))==null||e.call(this),Qt(this,dd,void 0))}setEventListener(e){var n;Qt(this,Tm,e),(n=Ae(this,dd))==null||n.call(this),Qt(this,dd,e(this.setOnline.bind(this)))}setOnline(e){Ae(this,_m)!==e&&(Qt(this,_m,e),this.listeners.forEach(r=>{r(e)}))}isOnline(){return Ae(this,_m)}},_m=new WeakMap,dd=new WeakMap,Tm=new WeakMap,BA),Yb=new zG;function FG(t){return Math.min(1e3*xg(2,t),3e4)}function zw(t){return(t!=null?t:"online")==="online"?Yb.isOnline():!0}var uL=class{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function v3(t){return t instanceof uL}function dL(t){let e=!1,n=0,r=!1,s,a,i;const l=new Promise((w,x)=>{a=w,i=x}),u=w=>{var x;r||(b(new uL(w)),(x=t.abort)==null||x.call(t))},d=()=>{e=!0},p=()=>{e=!1},h=()=>!Gb.isFocused()||t.networkMode!=="always"&&!Yb.isOnline(),m=w=>{var x;r||(r=!0,(x=t.onSuccess)==null||x.call(t,w),s==null||s(),a(w))},b=w=>{var x;r||(r=!0,(x=t.onError)==null||x.call(t,w),s==null||s(),i(w))},C=()=>new Promise(w=>{var x;s=S=>{const E=r||!h();return E&&w(S),E},(x=t.onPause)==null||x.call(t)}).then(()=>{var w;s=void 0,r||(w=t.onContinue)==null||w.call(t)}),g=()=>{if(r)return;let w;try{w=t.fn()}catch(x){w=Promise.reject(x)}Promise.resolve(w).then(m).catch(x=>{var P,I,T;if(r)return;const S=(P=t.retry)!=null?P:Um?0:3,E=(I=t.retryDelay)!=null?I:FG,N=typeof E=="function"?E(n,x):E,_=S===!0||typeof S=="number"&&n{if(h())return C()}).then(()=>{e?b(x):g()})})};return zw(t.networkMode)?g():C().then(g),{promise:l,cancel:u,continue:()=>(s==null?void 0:s())?l:Promise.resolve(),cancelRetry:d,continueRetry:p}}function HG(){let t=[],e=0,n=m=>{m()},r=m=>{m()},s=m=>setTimeout(m,0);const a=m=>{s=m},i=m=>{let b;e++;try{b=m()}finally{e--,e||d()}return b},l=m=>{e?t.push(m):s(()=>{n(m)})},u=m=>(...b)=>{l(()=>{m(...b)})},d=()=>{const m=t;t=[],m.length&&s(()=>{r(()=>{m.forEach(b=>{n(b)})})})};return{batch:i,batchCalls:u,schedule:l,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{r=m},setScheduler:a}}var _s=HG(),Wf,UA,fL=(UA=class{constructor(){un(this,Wf,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),S4(this.gcTime)&&Qt(this,Wf,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t!=null?t:Um?1/0:5*60*1e3)}clearGcTimeout(){Ae(this,Wf)&&(clearTimeout(Ae(this,Wf)),Qt(this,Wf,void 0))}},Wf=new WeakMap,UA),Pm,Mm,ii,fd,li,$s,Ov,Vf,Dm,xb,Vi,jc,WA,BG=(WA=class extends fL{constructor(e){super();un(this,Dm);un(this,Vi);un(this,Pm,void 0);un(this,Mm,void 0);un(this,ii,void 0);un(this,fd,void 0);un(this,li,void 0);un(this,$s,void 0);un(this,Ov,void 0);un(this,Vf,void 0);Qt(this,Vf,!1),Qt(this,Ov,e.defaultOptions),An(this,Dm,xb).call(this,e.options),Qt(this,$s,[]),Qt(this,ii,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Qt(this,Pm,e.state||UG(this.options)),this.state=Ae(this,Pm),this.scheduleGc()}get meta(){return this.options.meta}optionalRemove(){!Ae(this,$s).length&&this.state.fetchStatus==="idle"&&Ae(this,ii).remove(this)}setData(e,n){const r=E4(this.state.data,e,this.options);return An(this,Vi,jc).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(e,n){An(this,Vi,jc).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var r;const n=Ae(this,fd);return(r=Ae(this,li))==null||r.cancel(e),n?n.then(ui).catch(ui):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Ae(this,Pm))}isActive(){return Ae(this,$s).some(e=>e.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||this.state.data===void 0||Ae(this,$s).some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!lL(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=Ae(this,$s).find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=Ae(this,li))==null||n.continue()}onOnline(){var n;const e=Ae(this,$s).find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=Ae(this,li))==null||n.continue()}addObserver(e){Ae(this,$s).includes(e)||(Ae(this,$s).push(e),this.clearGcTimeout(),Ae(this,ii).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){Ae(this,$s).includes(e)&&(Qt(this,$s,Ae(this,$s).filter(n=>n!==e)),Ae(this,$s).length||(Ae(this,li)&&(Ae(this,Vf)?Ae(this,li).cancel({revert:!0}):Ae(this,li).cancelRetry()),this.scheduleGc()),Ae(this,ii).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return Ae(this,$s).length}invalidate(){this.state.isInvalidated||An(this,Vi,jc).call(this,{type:"invalidate"})}fetch(e,n){var d,p,h,m;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Ae(this,fd))return(d=Ae(this,li))==null||d.continueRetry(),Ae(this,fd)}if(e&&An(this,Dm,xb).call(this,e),!this.options.queryFn){const b=Ae(this,$s).find(C=>C.options.queryFn);b&&An(this,Dm,xb).call(this,b.options)}const r=new AbortController,s={queryKey:this.queryKey,meta:this.meta},a=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(Qt(this,Vf,!0),r.signal)})};a(s);const i=()=>!this.options.queryFn||this.options.queryFn===Pj?Promise.reject(new Error("Missing queryFn: '".concat(this.options.queryHash,"'"))):(Qt(this,Vf,!1),this.options.persister?this.options.persister(this.options.queryFn,s,this):this.options.queryFn(s)),l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};a(l),(p=this.options.behavior)==null||p.onFetch(l,this),Qt(this,Mm,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=l.fetchOptions)==null?void 0:h.meta))&&An(this,Vi,jc).call(this,{type:"fetch",meta:(m=l.fetchOptions)==null?void 0:m.meta});const u=b=>{var C,g,w,x;v3(b)&&b.silent||An(this,Vi,jc).call(this,{type:"error",error:b}),v3(b)||((g=(C=Ae(this,ii).config).onError)==null||g.call(C,b,this),(x=(w=Ae(this,ii).config).onSettled)==null||x.call(w,this.state.data,b,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Qt(this,li,dL({fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:b=>{var C,g,w,x;if(b===void 0){u(new Error("".concat(this.queryHash," data is undefined")));return}this.setData(b),(g=(C=Ae(this,ii).config).onSuccess)==null||g.call(C,b,this),(x=(w=Ae(this,ii).config).onSettled)==null||x.call(w,b,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(b,C)=>{An(this,Vi,jc).call(this,{type:"failed",failureCount:b,error:C})},onPause:()=>{An(this,Vi,jc).call(this,{type:"pause"})},onContinue:()=>{An(this,Vi,jc).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode})),Qt(this,fd,Ae(this,li).promise),Ae(this,fd)}},Pm=new WeakMap,Mm=new WeakMap,ii=new WeakMap,fd=new WeakMap,li=new WeakMap,$s=new WeakMap,Ov=new WeakMap,Vf=new WeakMap,Dm=new WeakSet,xb=function(e){this.options=R(R({},Ae(this,Ov)),e),this.updateGcTime(this.options.gcTime)},Vi=new WeakSet,jc=function(e){const n=r=>{var s,a;switch(e.type){case"failed":return ae(R({},r),{fetchFailureCount:e.failureCount,fetchFailureReason:e.error});case"pause":return ae(R({},r),{fetchStatus:"paused"});case"continue":return ae(R({},r),{fetchStatus:"fetching"});case"fetch":return R(ae(R({},r),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(s=e.meta)!=null?s:null,fetchStatus:zw(this.options.networkMode)?"fetching":"paused"}),r.data===void 0&&{error:null,status:"pending"});case"success":return R(ae(R({},r),{data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(a=e.dataUpdatedAt)!=null?a:Date.now(),error:null,isInvalidated:!1,status:"success"}),!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const i=e.error;return v3(i)&&i.revert&&Ae(this,Mm)?ae(R({},Ae(this,Mm)),{fetchStatus:"idle"}):ae(R({},r),{error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"});case"invalidate":return ae(R({},r),{isInvalidated:!0});case"setState":return R(R({},r),e.state)}};this.state=n(this.state),_s.batch(()=>{Ae(this,$s).forEach(r=>{r.onQueryUpdate()}),Ae(this,ii).notify({query:this,type:"updated",action:e})})},WA);function UG(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,r=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Al,VA,WG=(VA=class extends g0{constructor(e={}){super();un(this,Al,void 0);this.config=e,Qt(this,Al,new Map)}build(e,n,r){var l;const s=n.queryKey,a=(l=n.queryHash)!=null?l:Tj(s,n);let i=this.get(a);return i||(i=new BG({cache:this,queryKey:s,queryHash:a,options:e.defaultQueryOptions(n),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(i)),i}add(e){Ae(this,Al).has(e.queryHash)||(Ae(this,Al).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=Ae(this,Al).get(e.queryHash);n&&(e.destroy(),n===e&&Ae(this,Al).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){_s.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return Ae(this,Al).get(e)}getAll(){return[...Ae(this,Al).values()]}find(e){const n=R({exact:!0},e);return this.getAll().find(r=>t_(n,r))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(r=>t_(e,r)):n}notify(e){_s.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){_s.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){_s.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Al=new WeakMap,VA),Ll,$v,Do,Im,Rl,Hu,qA,VG=(qA=class extends fL{constructor(e){super();un(this,Rl);un(this,Ll,void 0);un(this,$v,void 0);un(this,Do,void 0);un(this,Im,void 0);this.mutationId=e.mutationId,Qt(this,$v,e.defaultOptions),Qt(this,Do,e.mutationCache),Qt(this,Ll,[]),this.state=e.state||hL(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=R(R({},Ae(this,$v)),e),this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Ae(this,Ll).includes(e)||(Ae(this,Ll).push(e),this.clearGcTimeout(),Ae(this,Do).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Qt(this,Ll,Ae(this,Ll).filter(n=>n!==e)),this.scheduleGc(),Ae(this,Do).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Ae(this,Ll).length||(this.state.status==="pending"?this.scheduleGc():Ae(this,Do).remove(this))}continue(){var e,n;return(n=(e=Ae(this,Im))==null?void 0:e.continue())!=null?n:this.execute(this.state.variables)}execute(e){return ge(this,null,function*(){var s,a,i,l,u,d,p,h,m,b,C,g,w,x,S,E,N,_,P,I;const n=()=>{var T;return Qt(this,Im,dL({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(A,L)=>{An(this,Rl,Hu).call(this,{type:"failed",failureCount:A,error:L})},onPause:()=>{An(this,Rl,Hu).call(this,{type:"pause"})},onContinue:()=>{An(this,Rl,Hu).call(this,{type:"continue"})},retry:(T=this.options.retry)!=null?T:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),Ae(this,Im).promise},r=this.state.status==="pending";try{if(!r){An(this,Rl,Hu).call(this,{type:"pending",variables:e}),yield(a=(s=Ae(this,Do).config).onMutate)==null?void 0:a.call(s,e,this);const A=yield(l=(i=this.options).onMutate)==null?void 0:l.call(i,e);A!==this.state.context&&An(this,Rl,Hu).call(this,{type:"pending",context:A,variables:e})}const T=yield n();return yield(d=(u=Ae(this,Do).config).onSuccess)==null?void 0:d.call(u,T,e,this.state.context,this),yield(h=(p=this.options).onSuccess)==null?void 0:h.call(p,T,e,this.state.context),yield(b=(m=Ae(this,Do).config).onSettled)==null?void 0:b.call(m,T,null,this.state.variables,this.state.context,this),yield(g=(C=this.options).onSettled)==null?void 0:g.call(C,T,null,e,this.state.context),An(this,Rl,Hu).call(this,{type:"success",data:T}),T}catch(T){try{throw yield(x=(w=Ae(this,Do).config).onError)==null?void 0:x.call(w,T,e,this.state.context,this),yield(E=(S=this.options).onError)==null?void 0:E.call(S,T,e,this.state.context),yield(_=(N=Ae(this,Do).config).onSettled)==null?void 0:_.call(N,void 0,T,this.state.variables,this.state.context,this),yield(I=(P=this.options).onSettled)==null?void 0:I.call(P,void 0,T,e,this.state.context),T}finally{An(this,Rl,Hu).call(this,{type:"error",error:T})}}})}},Ll=new WeakMap,$v=new WeakMap,Do=new WeakMap,Im=new WeakMap,Rl=new WeakSet,Hu=function(e){const n=r=>{switch(e.type){case"failed":return ae(R({},r),{failureCount:e.failureCount,failureReason:e.error});case"pause":return ae(R({},r),{isPaused:!0});case"continue":return ae(R({},r),{isPaused:!1});case"pending":return ae(R({},r),{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!zw(this.options.networkMode),status:"pending",variables:e.variables,submittedAt:Date.now()});case"success":return ae(R({},r),{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return ae(R({},r),{data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"})}};this.state=n(this.state),_s.batch(()=>{Ae(this,Ll).forEach(r=>{r.onMutationUpdate(e)}),Ae(this,Do).notify({mutation:this,type:"updated",action:e})})},qA);function hL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ci,zv,qf,KA,qG=(KA=class extends g0{constructor(e={}){super();un(this,ci,void 0);un(this,zv,void 0);un(this,qf,void 0);this.config=e,Qt(this,ci,[]),Qt(this,zv,0)}build(e,n,r){const s=new VG({mutationCache:this,mutationId:++oy(this,zv)._,options:e.defaultMutationOptions(n),state:r});return this.add(s),s}add(e){Ae(this,ci).push(e),this.notify({type:"added",mutation:e})}remove(e){Qt(this,ci,Ae(this,ci).filter(n=>n!==e)),this.notify({type:"removed",mutation:e})}clear(){_s.batch(()=>{Ae(this,ci).forEach(e=>{this.remove(e)})})}getAll(){return Ae(this,ci)}find(e){const n=R({exact:!0},e);return Ae(this,ci).find(r=>n_(n,r))}findAll(e={}){return Ae(this,ci).filter(n=>n_(e,n))}notify(e){_s.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){var e;return Qt(this,qf,((e=Ae(this,qf))!=null?e:Promise.resolve()).then(()=>{const n=Ae(this,ci).filter(r=>r.state.isPaused);return _s.batch(()=>n.reduce((r,s)=>r.then(()=>s.continue().catch(ui)),Promise.resolve()))}).then(()=>{Qt(this,qf,void 0)})),Ae(this,qf)}},ci=new WeakMap,zv=new WeakMap,qf=new WeakMap,KA);function N4(t){return{onFetch:(e,n)=>{const r=()=>ge(this,null,function*(){var C,g,w,x,S,E;const s=e.options,a=(w=(g=(C=e.fetchOptions)==null?void 0:C.meta)==null?void 0:g.fetchMore)==null?void 0:w.direction,i=((x=e.state.data)==null?void 0:x.pages)||[],l=((S=e.state.data)==null?void 0:S.pageParams)||[],u={pages:[],pageParams:[]};let d=!1;const p=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(e.signal.aborted?d=!0:e.signal.addEventListener("abort",()=>{d=!0}),e.signal)})},h=e.options.queryFn&&e.options.queryFn!==Pj?e.options.queryFn:()=>Promise.reject(new Error("Missing queryFn: '".concat(e.options.queryHash,"'"))),m=(N,_,P)=>ge(this,null,function*(){if(d)return Promise.reject();if(_==null&&N.pages.length)return Promise.resolve(N);const I={queryKey:e.queryKey,pageParam:_,direction:P?"backward":"forward",meta:e.options.meta};p(I);const T=yield h(I),{maxPages:A}=e.options,L=P?OG:RG;return{pages:L(N.pages,T,A),pageParams:L(N.pageParams,_,A)}});let b;if(a&&i.length){const N=a==="backward",_=N?pL:_4,P={pages:i,pageParams:l},I=_(s,P);b=yield m(P,I,N)}else{b=yield m(u,(E=l[0])!=null?E:s.initialPageParam);const N=t!=null?t:i.length;for(let _=1;_{var s,a;return(a=(s=e.options).persister)==null?void 0:a.call(s,r,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=r}}}function _4(t,{pages:e,pageParams:n}){const r=e.length-1;return t.getNextPageParam(e[r],e,n[r],n)}function pL(t,{pages:e,pageParams:n}){var r;return(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,n[0],n)}function KG(t,e){return e?_4(t,e)!=null:!1}function GG(t,e){return!e||!t.getPreviousPageParam?!1:pL(t,e)!=null}var Cs,hd,pd,Am,Lm,md,Rm,Om,GA,YG=(GA=class{constructor(t={}){un(this,Cs,void 0);un(this,hd,void 0);un(this,pd,void 0);un(this,Am,void 0);un(this,Lm,void 0);un(this,md,void 0);un(this,Rm,void 0);un(this,Om,void 0);Qt(this,Cs,t.queryCache||new WG),Qt(this,hd,t.mutationCache||new qG),Qt(this,pd,t.defaultOptions||{}),Qt(this,Am,new Map),Qt(this,Lm,new Map),Qt(this,md,0)}mount(){oy(this,md)._++,Ae(this,md)===1&&(Qt(this,Rm,Gb.subscribe(()=>{Gb.isFocused()&&(this.resumePausedMutations(),Ae(this,Cs).onFocus())})),Qt(this,Om,Yb.subscribe(t=>{t&&(this.resumePausedMutations(),Ae(this,Cs).onOnline())})))}unmount(){var t,e;oy(this,md)._--,Ae(this,md)===0&&((t=Ae(this,Rm))==null||t.call(this),Qt(this,Rm,void 0),(e=Ae(this,Om))==null||e.call(this),Qt(this,Om,void 0))}isFetching(t){return Ae(this,Cs).findAll(ae(R({},t),{fetchStatus:"fetching"})).length}isMutating(t){return Ae(this,hd).findAll(ae(R({},t),{status:"pending"})).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=Ae(this,Cs).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);return e!==void 0?Promise.resolve(e):this.fetchQuery(t)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:e,state:n})=>{const r=n.data;return[e,r]})}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),s=Ae(this,Cs).get(r.queryHash),a=s==null?void 0:s.state.data,i=AG(e,a);if(i!==void 0)return Ae(this,Cs).build(this,r).setData(i,ae(R({},n),{manual:!0}))}setQueriesData(t,e,n){return _s.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=Ae(this,Cs).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=Ae(this,Cs);_s.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=Ae(this,Cs),r=R({type:"active"},t);return _s.batch(()=>(n.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries(r,e)))}cancelQueries(t={},e={}){const n=R({revert:!0},e),r=_s.batch(()=>Ae(this,Cs).findAll(t).map(s=>s.cancel(n)));return Promise.all(r).then(ui).catch(ui)}invalidateQueries(t={},e={}){return _s.batch(()=>{var r,s;if(Ae(this,Cs).findAll(t).forEach(a=>{a.invalidate()}),t.refetchType==="none")return Promise.resolve();const n=ae(R({},t),{type:(s=(r=t.refetchType)!=null?r:t.type)!=null?s:"active"});return this.refetchQueries(n,e)})}refetchQueries(t={},e){var s;const n=ae(R({},e),{cancelRefetch:(s=e==null?void 0:e.cancelRefetch)!=null?s:!0}),r=_s.batch(()=>Ae(this,Cs).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let i=a.fetch(void 0,n);return n.throwOnError||(i=i.catch(ui)),a.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(ui)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=Ae(this,Cs).build(this,e);return n.isStaleByTime(e.staleTime)?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(ui).catch(ui)}fetchInfiniteQuery(t){return t.behavior=N4(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(ui).catch(ui)}resumePausedMutations(){return Yb.isOnline()?Ae(this,hd).resumePausedMutations():Promise.resolve()}getQueryCache(){return Ae(this,Cs)}getMutationCache(){return Ae(this,hd)}getDefaultOptions(){return Ae(this,pd)}setDefaultOptions(t){Qt(this,pd,t)}setQueryDefaults(t,e){Ae(this,Am).set(lh(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...Ae(this,Am).values()];let n={};return e.forEach(r=>{B1(t,r.queryKey)&&(n=R(R({},n),r.defaultOptions))}),n}setMutationDefaults(t,e){Ae(this,Lm).set(lh(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...Ae(this,Lm).values()];let n={};return e.forEach(r=>{B1(t,r.mutationKey)&&(n=R(R({},n),r.defaultOptions))}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e=ae(R(R(R({},Ae(this,pd).queries),this.getQueryDefaults(t.queryKey)),t),{_defaulted:!0});return e.queryHash||(e.queryHash=Tj(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Pj&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:ae(R(R(R({},Ae(this,pd).mutations),(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey)),t),{_defaulted:!0})}clear(){Ae(this,Cs).clear(),Ae(this,hd).clear()}},Cs=new WeakMap,hd=new WeakMap,pd=new WeakMap,Am=new WeakMap,Lm=new WeakMap,md=new WeakMap,Rm=new WeakMap,Om=new WeakMap,GA),oo,Tr,Fv,za,Kf,$m,Ol,Hv,zm,Fm,Gf,Yf,gd,Hm,Zf,e1,Bv,T4,Uv,P4,Wv,M4,Vv,D4,qv,I4,Kv,A4,Gv,L4,Lw,gL,YA,mL=(YA=class extends g0{constructor(e,n){super();un(this,Zf);un(this,Bv);un(this,Uv);un(this,Wv);un(this,Vv);un(this,qv);un(this,Kv);un(this,Gv);un(this,Lw);un(this,oo,void 0);un(this,Tr,void 0);un(this,Fv,void 0);un(this,za,void 0);un(this,Kf,void 0);un(this,$m,void 0);un(this,Ol,void 0);un(this,Hv,void 0);un(this,zm,void 0);un(this,Fm,void 0);un(this,Gf,void 0);un(this,Yf,void 0);un(this,gd,void 0);un(this,Hm,new Set);this.options=n,Qt(this,oo,e),Qt(this,Ol,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(Ae(this,Tr).addObserver(this),a_(Ae(this,Tr),this.options)?An(this,Zf,e1).call(this):this.updateResult(),An(this,Vv,D4).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return R4(Ae(this,Tr),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return R4(Ae(this,Tr),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,An(this,qv,I4).call(this),An(this,Kv,A4).call(this),Ae(this,Tr).removeObserver(this)}setOptions(e,n){const r=this.options,s=Ae(this,Tr);if(this.options=Ae(this,oo).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");An(this,Gv,L4).call(this),Kb(this.options,r)||Ae(this,oo).getQueryCache().notify({type:"observerOptionsUpdated",query:Ae(this,Tr),observer:this});const a=this.hasListeners();a&&o_(Ae(this,Tr),s,this.options,r)&&An(this,Zf,e1).call(this),this.updateResult(n),a&&(Ae(this,Tr)!==s||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&An(this,Bv,T4).call(this);const i=An(this,Uv,P4).call(this);a&&(Ae(this,Tr)!==s||this.options.enabled!==r.enabled||i!==Ae(this,gd))&&An(this,Wv,M4).call(this,i)}getOptimisticResult(e){const n=Ae(this,oo).getQueryCache().build(Ae(this,oo),e),r=this.createResult(n,e);return XG(this,r)&&(Qt(this,za,r),Qt(this,$m,this.options),Qt(this,Kf,Ae(this,Tr).state)),r}getCurrentResult(){return Ae(this,za)}trackResult(e,n){const r={};return Object.keys(e).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),e[s])})}),r}trackProp(e){Ae(this,Hm).add(e)}getCurrentQuery(){return Ae(this,Tr)}refetch(n={}){var e=Ne(n,[]);return this.fetch(R({},e))}fetchOptimistic(e){const n=Ae(this,oo).defaultQueryOptions(e),r=Ae(this,oo).getQueryCache().build(Ae(this,oo),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(e){var n;return An(this,Zf,e1).call(this,ae(R({},e),{cancelRefetch:(n=e.cancelRefetch)!=null?n:!0})).then(()=>(this.updateResult(),Ae(this,za)))}createResult(e,n){var I;const r=Ae(this,Tr),s=this.options,a=Ae(this,za),i=Ae(this,Kf),l=Ae(this,$m),d=e!==r?e.state:Ae(this,Fv),{state:p}=e;let{error:h,errorUpdatedAt:m,fetchStatus:b,status:C}=p,g=!1,w;if(n._optimisticResults){const T=this.hasListeners(),A=!T&&a_(e,n),L=T&&o_(e,r,n,s);(A||L)&&(b=zw(e.options.networkMode)?"fetching":"paused",p.data===void 0&&(C="pending")),n._optimisticResults==="isRestoring"&&(b="idle")}if(n.select&&p.data!==void 0)if(a&&p.data===(i==null?void 0:i.data)&&n.select===Ae(this,Hv))w=Ae(this,zm);else try{Qt(this,Hv,n.select),w=n.select(p.data),w=E4(a==null?void 0:a.data,w,n),Qt(this,zm,w),Qt(this,Ol,null)}catch(T){Qt(this,Ol,T)}else w=p.data;if(n.placeholderData!==void 0&&w===void 0&&C==="pending"){let T;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(l==null?void 0:l.placeholderData))T=a.data;else if(T=typeof n.placeholderData=="function"?n.placeholderData((I=Ae(this,Fm))==null?void 0:I.state.data,Ae(this,Fm)):n.placeholderData,n.select&&T!==void 0)try{T=n.select(T),Qt(this,Ol,null)}catch(A){Qt(this,Ol,A)}T!==void 0&&(C="success",w=E4(a==null?void 0:a.data,T,n),g=!0)}Ae(this,Ol)&&(h=Ae(this,Ol),w=Ae(this,zm),m=Date.now(),C="error");const x=b==="fetching",S=C==="pending",E=C==="error",N=S&&x,_=p.data!==void 0;return{status:C,fetchStatus:b,isPending:S,isSuccess:C==="success",isError:E,isInitialLoading:N,isLoading:N,data:w,dataUpdatedAt:p.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>d.dataUpdateCount||p.errorUpdateCount>d.errorUpdateCount,isFetching:x,isRefetching:x&&!S,isLoadingError:E&&!_,isPaused:b==="paused",isPlaceholderData:g,isRefetchError:E&&_,isStale:Mj(e,n),refetch:this.refetch}}updateResult(e){const n=Ae(this,za),r=this.createResult(Ae(this,Tr),this.options);if(Qt(this,Kf,Ae(this,Tr).state),Qt(this,$m,this.options),Ae(this,Kf).data!==void 0&&Qt(this,Fm,Ae(this,Tr)),Kb(r,n))return;Qt(this,za,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:i}=this.options,l=typeof i=="function"?i():i;if(l==="all"||!l&&!Ae(this,Hm).size)return!0;const u=new Set(l!=null?l:Ae(this,Hm));return this.options.throwOnError&&u.add("error"),Object.keys(Ae(this,za)).some(d=>{const p=d;return Ae(this,za)[p]!==n[p]&&u.has(p)})};(e==null?void 0:e.listeners)!==!1&&a()&&(s.listeners=!0),An(this,Lw,gL).call(this,R(R({},s),e))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&An(this,Vv,D4).call(this)}},oo=new WeakMap,Tr=new WeakMap,Fv=new WeakMap,za=new WeakMap,Kf=new WeakMap,$m=new WeakMap,Ol=new WeakMap,Hv=new WeakMap,zm=new WeakMap,Fm=new WeakMap,Gf=new WeakMap,Yf=new WeakMap,gd=new WeakMap,Hm=new WeakMap,Zf=new WeakSet,e1=function(e){An(this,Gv,L4).call(this);let n=Ae(this,Tr).fetch(this.options,e);return e!=null&&e.throwOnError||(n=n.catch(ui)),n},Bv=new WeakSet,T4=function(){if(An(this,qv,I4).call(this),Um||Ae(this,za).isStale||!S4(this.options.staleTime))return;const n=lL(Ae(this,za).dataUpdatedAt,this.options.staleTime)+1;Qt(this,Gf,setTimeout(()=>{Ae(this,za).isStale||this.updateResult()},n))},Uv=new WeakSet,P4=function(){var e;return(e=typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Ae(this,Tr)):this.options.refetchInterval)!=null?e:!1},Wv=new WeakSet,M4=function(e){An(this,Kv,A4).call(this),Qt(this,gd,e),!(Um||this.options.enabled===!1||!S4(Ae(this,gd))||Ae(this,gd)===0)&&Qt(this,Yf,setInterval(()=>{(this.options.refetchIntervalInBackground||Gb.isFocused())&&An(this,Zf,e1).call(this)},Ae(this,gd)))},Vv=new WeakSet,D4=function(){An(this,Bv,T4).call(this),An(this,Wv,M4).call(this,An(this,Uv,P4).call(this))},qv=new WeakSet,I4=function(){Ae(this,Gf)&&(clearTimeout(Ae(this,Gf)),Qt(this,Gf,void 0))},Kv=new WeakSet,A4=function(){Ae(this,Yf)&&(clearInterval(Ae(this,Yf)),Qt(this,Yf,void 0))},Gv=new WeakSet,L4=function(){const e=Ae(this,oo).getQueryCache().build(Ae(this,oo),this.options);if(e===Ae(this,Tr))return;const n=Ae(this,Tr);Qt(this,Tr,e),Qt(this,Fv,e.state),this.hasListeners()&&(n==null||n.removeObserver(this),e.addObserver(this))},Lw=new WeakSet,gL=function(e){_s.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(Ae(this,za))}),Ae(this,oo).getQueryCache().notify({query:Ae(this,Tr),type:"observerResultsUpdated"})})},YA);function ZG(t,e){return e.enabled!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function a_(t,e){return ZG(t,e)||t.state.data!==void 0&&R4(t,e,e.refetchOnMount)}function R4(t,e,n){if(e.enabled!==!1){const r=typeof n=="function"?n(t):n;return r==="always"||r!==!1&&Mj(t,e)}return!1}function o_(t,e,n,r){return n.enabled!==!1&&(t!==e||r.enabled===!1)&&(!n.suspense||t.state.status!=="error")&&Mj(t,n)}function Mj(t,e){return t.isStaleByTime(e.staleTime)}function XG(t,e){return!Kb(t.getCurrentResult(),e)}var QG=class extends mL{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions(ae(R({},t),{behavior:N4()}),e)}getOptimisticResult(t){return t.behavior=N4(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch(ae(R({},t),{meta:{fetchMore:{direction:"forward"}}}))}fetchPreviousPage(t){return this.fetch(ae(R({},t),{meta:{fetchMore:{direction:"backward"}}}))}createResult(t,e){var u,d,p,h;const{state:n}=t,r=super.createResult(t,e),{isFetching:s,isRefetching:a}=r,i=s&&((d=(u=n.fetchMeta)==null?void 0:u.fetchMore)==null?void 0:d.direction)==="forward",l=s&&((h=(p=n.fetchMeta)==null?void 0:p.fetchMore)==null?void 0:h.direction)==="backward";return ae(R({},r),{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:KG(e,n.data),hasPreviousPage:GG(e,n.data),isFetchingNextPage:i,isFetchingPreviousPage:l,isRefetching:a&&!i&&!l})}},vd,xd,Io,Oc,Bm,yb,Yv,O4,ZA,JG=(ZA=class extends g0{constructor(n,r){super();un(this,Bm);un(this,Yv);un(this,vd,void 0);un(this,xd,void 0);un(this,Io,void 0);un(this,Oc,void 0);Qt(this,vd,n),this.setOptions(r),this.bindMethods(),An(this,Bm,yb).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=Ae(this,vd).defaultMutationOptions(n),Kb(this.options,r)||Ae(this,vd).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Ae(this,Io),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&lh(r.mutationKey)!==lh(this.options.mutationKey)?this.reset():(s=Ae(this,Io))==null||s.setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=Ae(this,Io))==null||n.removeObserver(this)}onMutationUpdate(n){An(this,Bm,yb).call(this),An(this,Yv,O4).call(this,n)}getCurrentResult(){return Ae(this,xd)}reset(){var n;(n=Ae(this,Io))==null||n.removeObserver(this),Qt(this,Io,void 0),An(this,Bm,yb).call(this),An(this,Yv,O4).call(this)}mutate(n,r){var s;return Qt(this,Oc,r),(s=Ae(this,Io))==null||s.removeObserver(this),Qt(this,Io,Ae(this,vd).getMutationCache().build(Ae(this,vd),this.options)),Ae(this,Io).addObserver(this),Ae(this,Io).execute(n)}},vd=new WeakMap,xd=new WeakMap,Io=new WeakMap,Oc=new WeakMap,Bm=new WeakSet,yb=function(){var r,s;const n=(s=(r=Ae(this,Io))==null?void 0:r.state)!=null?s:hL();Qt(this,xd,ae(R({},n),{isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset}))},Yv=new WeakSet,O4=function(n){_s.batch(()=>{var r,s,a,i,l,u,d,p;if(Ae(this,Oc)&&this.hasListeners()){const h=Ae(this,xd).variables,m=Ae(this,xd).context;(n==null?void 0:n.type)==="success"?((s=(r=Ae(this,Oc)).onSuccess)==null||s.call(r,n.data,h,m),(i=(a=Ae(this,Oc)).onSettled)==null||i.call(a,n.data,null,h,m)):(n==null?void 0:n.type)==="error"&&((u=(l=Ae(this,Oc)).onError)==null||u.call(l,n.error,h,m),(p=(d=Ae(this,Oc)).onSettled)==null||p.call(d,void 0,n.error,h,m))}this.listeners.forEach(h=>{h(Ae(this,xd))})})},ZA),vL=v.createContext(void 0),Dn=t=>{const e=v.useContext(vL);if(t)return t;if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},eY=({client:t,children:e})=>(v.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),o.jsx(vL.Provider,{value:t,children:e})),xL=v.createContext(!1),tY=()=>v.useContext(xL);xL.Provider;function nY(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var rY=v.createContext(nY()),sY=()=>v.useContext(rY);function yL(t,e){return typeof t=="function"?t(...e):!!t}function aY(){}var oY=(t,e)=>{(t.suspense||t.throwOnError)&&(e.isReset()||(t.retryOnMount=!1))},iY=t=>{v.useEffect(()=>{t.clearReset()},[t])},lY=({result:t,errorResetBoundary:e,throwOnError:n,query:r})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&yL(n,[t.error,r]),cY=t=>{t.suspense&&typeof t.staleTime!="number"&&(t.staleTime=1e3)},uY=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,dY=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function bL(t,e,n){const r=Dn(n),s=tY(),a=sY(),i=r.defaultQueryOptions(t);i._optimisticResults=s?"isRestoring":"optimistic",cY(i),oY(i,a),iY(a);const[l]=v.useState(()=>new e(r,i)),u=l.getOptimisticResult(i);if(v.useSyncExternalStore(v.useCallback(d=>{const p=s?()=>{}:l.subscribe(_s.batchCalls(d));return l.updateResult(),p},[l,s]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),v.useEffect(()=>{l.setOptions(i,{listeners:!1})},[i,l]),uY(i,u))throw dY(i,l,a);if(lY({result:u,errorResetBoundary:a,throwOnError:i.throwOnError,query:r.getQueryCache().get(i.queryHash)}))throw u.error;return i.notifyOnChangeProps?u:l.trackResult(u)}function fY(t,e){return bL(t,mL,e)}function hY(t,e){const n=Dn(e),[r]=v.useState(()=>new JG(n,t));v.useEffect(()=>{r.setOptions(t)},[r,t]);const s=v.useSyncExternalStore(v.useCallback(i=>r.subscribe(_s.batchCalls(i)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=v.useCallback((i,l)=>{r.mutate(i,l).catch(aY)},[r]);if(s.error&&yL(r.options.throwOnError,[s.error]))throw s.error;return ae(R({},s),{mutate:a,mutateAsync:s.mutate})}function pY(t,e){return bL(t,QG,e)}var mY=function(){return null},gY={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const i_=1e3*60,vY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",wL=gY.VITE_ENABLE_REACT_QUERY_DEVTOOLS,xY=3;var kL={exports:{}},Zo={},CL={exports:{}},SL={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(t){function e(U,J){var H=U.length;U.push(J);e:for(;0>>1,q=U[F];if(0>>1;Fs(ee,H))Gs(Z,ee)?(U[F]=Z,U[G]=H,F=G):(U[F]=ee,U[ne]=H,F=ne);else if(Gs(Z,H))U[F]=Z,U[G]=H,F=G;else break e}}return J}function s(U,J){var H=U.sortIndex-J.sortIndex;return H!==0?H:U.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();t.unstable_now=function(){return i.now()-l}}var u=[],d=[],p=1,h=null,m=3,b=!1,C=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(U){for(var J=n(d);J!==null;){if(J.callback===null)r(d);else if(J.startTime<=U)r(d),J.sortIndex=J.expirationTime,e(u,J);else break;J=n(d)}}function N(U){if(g=!1,E(U),!C)if(n(u)!==null)C=!0,W(_);else{var J=n(d);J!==null&&V(N,J.startTime-U)}}function _(U,J){C=!1,g&&(g=!1,x(T),T=-1),b=!0;var H=m;try{for(E(J),h=n(u);h!==null&&(!(h.expirationTime>J)||U&&!z());){var F=h.callback;if(typeof F=="function"){h.callback=null,m=h.priorityLevel;var q=F(h.expirationTime<=J);J=t.unstable_now(),typeof q=="function"?h.callback=q:h===n(u)&&r(u),E(J)}else r(u);h=n(u)}if(h!==null)var X=!0;else{var ne=n(d);ne!==null&&V(N,ne.startTime-J),X=!1}return X}finally{h=null,m=H,b=!1}}var P=!1,I=null,T=-1,A=5,L=-1;function z(){return!(t.unstable_now()-LU||125F?(U.sortIndex=H,e(d,U),n(u)===null&&U===n(d)&&(g?(x(T),T=-1):g=!0,V(N,H-F))):(U.sortIndex=q,e(u,U),C||b||(C=!0,W(_))),U},t.unstable_shouldYield=z,t.unstable_wrapCallback=function(U){var J=m;return function(){var H=m;m=J;try{return U.apply(this,arguments)}finally{m=H}}}})(SL);CL.exports=SL;var yY=CL.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var bY=v,qo=yY;function Dt(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;ne}return!1}function Za(t,e,n,r,s,a,i){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=i}var oa={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){oa[t]=new Za(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];oa[e]=new Za(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){oa[t]=new Za(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){oa[t]=new Za(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){oa[t]=new Za(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){oa[t]=new Za(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){oa[t]=new Za(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){oa[t]=new Za(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){oa[t]=new Za(t,5,!1,t.toLowerCase(),null,!1,!1)});var Dj=/[\-:]([a-z])/g;function Ij(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(Dj,Ij);oa[e]=new Za(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Dj,Ij);oa[e]=new Za(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Dj,Ij);oa[e]=new Za(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){oa[t]=new Za(t,1,!1,t.toLowerCase(),null,!1,!1)});oa.xlinkHref=new Za("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){oa[t]=new Za(t,1,!1,t.toLowerCase(),null,!0,!0)});function Aj(t,e,n,r){var s=oa.hasOwnProperty(e)?oa[e]:null;(s!==null?s.type!==0:r||!(2l||s[i]!==a[l]){var u="\n"+s[i].replace(" at new "," at ");return t.displayName&&u.includes("")&&(u=u.replace("",t.displayName)),u}while(1<=i&&0<=l);break}}}finally{y3=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?t1(t):""}function jY(t){switch(t.tag){case 5:return t1(t.type);case 16:return t1("Lazy");case 13:return t1("Suspense");case 19:return t1("SuspenseList");case 0:case 2:case 15:return t=b3(t.type,!1),t;case 11:return t=b3(t.type.render,!1),t;case 1:return t=b3(t.type,!0),t;default:return""}}function B4(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Bp:return"Fragment";case Hp:return"Portal";case z4:return"Profiler";case Lj:return"StrictMode";case F4:return"Suspense";case H4:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case NL:return(t.displayName||"Context")+".Consumer";case EL:return(t._context.displayName||"Context")+".Provider";case Rj:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Oj:return e=t.displayName||null,e!==null?e:B4(t.type)||"Memo";case qu:e=t._payload,t=t._init;try{return B4(t(e))}catch(n){}}return null}function EY(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B4(e);case 8:return e===Lj?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Ad(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function TL(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function NY(t){var e=TL(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,a=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function cy(t){t._valueTracker||(t._valueTracker=NY(t))}function PL(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=TL(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function Zb(t){if(t=t||(typeof document!="undefined"?document:void 0),typeof t=="undefined")return null;try{return t.activeElement||t.body}catch(e){return t.body}}function U4(t,e){var n=e.checked;return qr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:t._wrapperState.initialChecked})}function d_(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Ad(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function ML(t,e){e=e.checked,e!=null&&Aj(t,"checked",e,!1)}function W4(t,e){ML(t,e);var n=Ad(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?V4(t,e.type,n):e.hasOwnProperty("defaultValue")&&V4(t,e.type,Ad(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function f_(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function V4(t,e,n){(e!=="number"||Zb(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var n1=Array.isArray;function fm(t,e,n,r){if(t=t.options,e){e={};for(var s=0;s"+e.valueOf().toString()+"",e=uy.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function W1(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var h1={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_Y=["Webkit","ms","Moz","O"];Object.keys(h1).forEach(function(t){_Y.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),h1[e]=h1[t]})});function LL(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||h1.hasOwnProperty(t)&&h1[t]?(""+e).trim():e+"px"}function RL(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=LL(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,s):t[n]=s}}var TY=qr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function G4(t,e){if(e){if(TY[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Dt(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Dt(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Dt(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Dt(62))}}function Y4(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Z4=null;function $j(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var X4=null,hm=null,pm=null;function m_(t){if(t=Jv(t)){if(typeof X4!="function")throw Error(Dt(280));var e=t.stateNode;e&&(e=Ww(e),X4(t.stateNode,t.type,e))}}function OL(t){hm?pm?pm.push(t):pm=[t]:hm=t}function $L(){if(hm){var t=hm,e=pm;if(pm=hm=null,m_(t),e)for(t=0;t>>=0,t===0?32:31-(FY(t)/HY|0)|0}var dy=64,fy=4194304;function r1(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function e2(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,s=t.suspendedLanes,a=t.pingedLanes,i=n&268435455;if(i!==0){var l=i&~s;l!==0?r=r1(l):(a&=i,a!==0&&(r=r1(a)))}else i=n&~s,i!==0?r=r1(i):a!==0&&(r=r1(a));if(r===0)return 0;if(e!==0&&e!==r&&!(e&s)&&(s=r&-r,a=e&-e,s>=a||s===16&&(a&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Xv(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-al(e),t[e]=n}function VY(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=m1),S_=" ",j_=!1;function sR(t,e){switch(t){case"keyup":return yZ.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aR(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Up=!1;function wZ(t,e){switch(t){case"compositionend":return aR(e);case"keypress":return e.which!==32?null:(j_=!0,S_);case"textInput":return t=e.data,t===S_&&j_?null:t;default:return null}}function kZ(t,e){if(Up)return t==="compositionend"||!qj&&sR(t,e)?(t=nR(),wb=Uj=yd=null,Up=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=T_(n)}}function cR(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?cR(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function uR(){for(var t=window,e=Zb();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch(r){n=!1}if(n)t=e.contentWindow;else break;e=Zb(t.document)}return e}function Kj(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function MZ(t){var e=uR(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&cR(n.ownerDocument.documentElement,n)){if(r!==null&&Kj(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var s=n.textContent.length,a=Math.min(r.start,s);r=r.end===void 0?a:Math.min(r.end,s),!t.extend&&a>r&&(s=r,r=a,a=s),s=P_(n,a);var i=P_(n,r);s&&i&&(t.rangeCount!==1||t.anchorNode!==s.node||t.anchorOffset!==s.offset||t.focusNode!==i.node||t.focusOffset!==i.offset)&&(e=e.createRange(),e.setStart(s.node,s.offset),t.removeAllRanges(),a>r?(t.addRange(e),t.extend(i.node,i.offset)):(e.setEnd(i.node,i.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wp=null,rS=null,v1=null,sS=!1;function M_(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sS||Wp==null||Wp!==Zb(r)||(r=Wp,"selectionStart"in r&&Kj(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),v1&&Z1(v1,r)||(v1=r,r=r2(rS,"onSelect"),0Kp||(t.current=uS[Kp],uS[Kp]=null,Kp--)}function Sr(t,e){Kp++,uS[Kp]=t.current,t.current=e}var Ld={},ja=Zd(Ld),po=Zd(!1),ch=Ld;function Vm(t,e){var n=t.type.contextTypes;if(!n)return Ld;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=e[a];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=s),s}function mo(t){return t=t.childContextTypes,t!=null}function a2(){Mr(po),Mr(ja)}function $_(t,e,n){if(ja.current!==Ld)throw Error(Dt(168));Sr(ja,e),Sr(po,n)}function yR(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in e))throw Error(Dt(108,EY(t)||"Unknown",s));return qr({},n,r)}function o2(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ld,ch=ja.current,Sr(ja,t),Sr(po,po.current),!0}function z_(t,e,n){var r=t.stateNode;if(!r)throw Error(Dt(169));n?(t=yR(t,e,ch),r.__reactInternalMemoizedMergedChildContext=t,Mr(po),Mr(ja),Sr(ja,t)):Mr(po),Sr(po,n)}var Ic=null,Vw=!1,A3=!1;function bR(t){Ic===null?Ic=[t]:Ic.push(t)}function UZ(t){Vw=!0,bR(t)}function Xd(){if(!A3&&Ic!==null){A3=!0;var t=0,e=vr;try{var n=Ic;for(vr=1;t>=i,s-=i,$c=1<<32-al(e)+s|n<T?(A=I,I=null):A=I.sibling;var L=m(x,I,E[T],N);if(L===null){I===null&&(I=A);break}t&&I&&L.alternate===null&&e(x,I),S=a(L,S,T),P===null?_=L:P.sibling=L,P=L,I=A}if(T===E.length)return n(x,I),Or&&xf(x,T),_;if(I===null){for(;TT?(A=I,I=null):A=I.sibling;var z=m(x,I,L.value,N);if(z===null){I===null&&(I=A);break}t&&I&&z.alternate===null&&e(x,I),S=a(z,S,T),P===null?_=z:P.sibling=z,P=z,I=A}if(L.done)return n(x,I),Or&&xf(x,T),_;if(I===null){for(;!L.done;T++,L=E.next())L=h(x,L.value,N),L!==null&&(S=a(L,S,T),P===null?_=L:P.sibling=L,P=L);return Or&&xf(x,T),_}for(I=r(x,I);!L.done;T++,L=E.next())L=b(I,x,T,L.value,N),L!==null&&(t&&L.alternate!==null&&I.delete(L.key===null?T:L.key),S=a(L,S,T),P===null?_=L:P.sibling=L,P=L);return t&&I.forEach(function(Y){return e(x,Y)}),Or&&xf(x,T),_}function w(x,S,E,N){if(typeof E=="object"&&E!==null&&E.type===Bp&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case ly:e:{for(var _=E.key,P=S;P!==null;){if(P.key===_){if(_=E.type,_===Bp){if(P.tag===7){n(x,P.sibling),S=s(P,E.props.children),S.return=x,x=S;break e}}else if(P.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===qu&&B_(_)===P.type){n(x,P.sibling),S=s(P,E.props),S.ref=Sg(x,P,E),S.return=x,x=S;break e}n(x,P);break}else e(x,P);P=P.sibling}E.type===Bp?(S=Qf(E.props.children,x.mode,N,E.key),S.return=x,x=S):(N=Tb(E.type,E.key,E.props,null,x.mode,N),N.ref=Sg(x,S,E),N.return=x,x=N)}return i(x);case Hp:e:{for(P=E.key;S!==null;){if(S.key===P)if(S.tag===4&&S.stateNode.containerInfo===E.containerInfo&&S.stateNode.implementation===E.implementation){n(x,S.sibling),S=s(S,E.children||[]),S.return=x,x=S;break e}else{n(x,S);break}else e(x,S);S=S.sibling}S=B3(E,x.mode,N),S.return=x,x=S}return i(x);case qu:return P=E._init,w(x,S,P(E._payload),N)}if(n1(E))return C(x,S,E,N);if(yg(E))return g(x,S,E,N);yy(x,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,S!==null&&S.tag===6?(n(x,S.sibling),S=s(S,E),S.return=x,x=S):(n(x,S),S=H3(E,x.mode,N),S.return=x,x=S),i(x)):n(x,S)}return w}var Km=SR(!0),jR=SR(!1),c2=Zd(null),u2=null,Zp=null,Xj=null;function Qj(){Xj=Zp=u2=null}function Jj(t){var e=c2.current;Mr(c2),t._currentValue=e}function hS(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function gm(t,e){u2=t,Xj=Zp=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(ho=!0),t.firstContext=null)}function Ci(t){var e=t._currentValue;if(Xj!==t)if(t={context:t,memoizedValue:e,next:null},Zp===null){if(u2===null)throw Error(Dt(308));Zp=t,u2.dependencies={lanes:0,firstContext:t}}else Zp=Zp.next=t;return e}var Pf=null;function e8(t){Pf===null?Pf=[t]:Pf.push(t)}function ER(t,e,n,r){var s=e.interleaved;return s===null?(n.next=n,e8(e)):(n.next=s.next,s.next=n),e.interleaved=n,Zc(t,r)}function Zc(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var Ku=!1;function t8(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function NR(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Bc(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function _d(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,er&2){var s=r.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),r.pending=e,Zc(t,n)}return s=r.interleaved,s===null?(e.next=e,e8(r)):(e.next=s.next,s.next=e),r.interleaved=e,Zc(t,n)}function Cb(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,Fj(t,n)}}function U_(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?s=a=i:a=a.next=i,n=n.next}while(n!==null);a===null?s=a=e:a=a.next=e}else s=a=e;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function d2(t,e,n,r){var s=t.updateQueue;Ku=!1;var a=s.firstBaseUpdate,i=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var u=l,d=u.next;u.next=null,i===null?a=d:i.next=d,i=u;var p=t.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==i&&(l===null?p.firstBaseUpdate=d:l.next=d,p.lastBaseUpdate=u))}if(a!==null){var h=s.baseState;i=0,p=d=u=null,l=a;do{var m=l.lane,b=l.eventTime;if((r&m)===m){p!==null&&(p=p.next={eventTime:b,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var C=t,g=l;switch(m=e,b=n,g.tag){case 1:if(C=g.payload,typeof C=="function"){h=C.call(b,h,m);break e}h=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=g.payload,m=typeof C=="function"?C.call(b,h,m):C,m==null)break e;h=qr({},h,m);break e;case 2:Ku=!0}}l.callback!==null&&l.lane!==0&&(t.flags|=64,m=s.effects,m===null?s.effects=[l]:m.push(l))}else b={eventTime:b,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(d=p=b,u=h):p=p.next=b,i|=m;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;m=l,l=m.next,m.next=null,s.lastBaseUpdate=m,s.shared.pending=null}}while(!0);if(p===null&&(u=h),s.baseState=u,s.firstBaseUpdate=d,s.lastBaseUpdate=p,e=s.shared.interleaved,e!==null){s=e;do i|=s.lane,s=s.next;while(s!==e)}else a===null&&(s.shared.lanes=0);fh|=i,t.lanes=i,t.memoizedState=h}}function W_(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;en?n:4,t(!0);var r=R3.transition;R3.transition={};try{t(!1),e()}finally{vr=n,R3.transition=r}}function WR(){return Si().memoizedState}function KZ(t,e,n){var r=Pd(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},VR(t))qR(e,n);else if(n=ER(t,e,n,r),n!==null){var s=qa();ol(n,t,r,s),KR(n,e,r)}}function GZ(t,e,n){var r=Pd(t),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(VR(t))qR(e,s);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var i=e.lastRenderedState,l=a(i,n);if(s.hasEagerState=!0,s.eagerState=l,dl(l,i)){var u=e.interleaved;u===null?(s.next=s,e8(e)):(s.next=u.next,u.next=s),e.interleaved=s;return}}catch(d){}finally{}n=ER(t,e,s,r),n!==null&&(s=qa(),ol(n,t,r,s),KR(n,e,r))}}function VR(t){var e=t.alternate;return t===Vr||e!==null&&e===Vr}function qR(t,e){x1=h2=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function KR(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,Fj(t,n)}}var p2={readContext:Ci,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useInsertionEffect:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useSyncExternalStore:fa,useId:fa,unstable_isNewReconciler:!1},YZ={readContext:Ci,useCallback:function(t,e){return Dl().memoizedState=[t,e===void 0?null:e],t},useContext:Ci,useEffect:q_,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,jb(4194308,4,zR.bind(null,e,t),n)},useLayoutEffect:function(t,e){return jb(4194308,4,t,e)},useInsertionEffect:function(t,e){return jb(4,2,t,e)},useMemo:function(t,e){var n=Dl();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Dl();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=KZ.bind(null,Vr,t),[r.memoizedState,t]},useRef:function(t){var e=Dl();return t={current:t},e.memoizedState=t},useState:V_,useDebugValue:c8,useDeferredValue:function(t){return Dl().memoizedState=t},useTransition:function(){var t=V_(!1),e=t[0];return t=qZ.bind(null,t[1]),Dl().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Vr,s=Dl();if(Or){if(n===void 0)throw Error(Dt(407));n=n()}else{if(n=e(),Gs===null)throw Error(Dt(349));dh&30||MR(r,e,n)}s.memoizedState=n;var a={value:n,getSnapshot:e};return s.queue=a,q_(IR.bind(null,r,a,t),[t]),r.flags|=2048,sv(9,DR.bind(null,r,a,n,e),void 0,null),n},useId:function(){var t=Dl(),e=Gs.identifierPrefix;if(Or){var n=zc,r=$c;n=(r&~(1<<32-al(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=nv++,0<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=i.createElement(n,{is:r.is}):(t=i.createElement(n),n==="select"&&(i=t,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):t=i.createElementNS(t,n),t[Fl]=e,t[J1]=r,rO(t,e,!1,!1),e.stateNode=t;e:{switch(i=Y4(n,r),n){case"dialog":_r("cancel",t),_r("close",t),s=r;break;case"iframe":case"object":case"embed":_r("load",t),s=r;break;case"video":case"audio":for(s=0;sZm&&(e.flags|=128,r=!0,jg(a,!1),e.lanes=4194304)}else{if(!r)if(t=f2(i),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),jg(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Or)return ha(e),null}else 2*is()-a.renderingStartTime>Zm&&n!==1073741824&&(e.flags|=128,r=!0,jg(a,!1),e.lanes=4194304);a.isBackwards?(i.sibling=e.child,e.child=i):(n=a.last,n!==null?n.sibling=i:e.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=is(),e.sibling=null,n=Br.current,Sr(Br,r?n&1|2:n&1),e):(ha(e),null);case 22:case 23:return m8(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Lo&1073741824&&(ha(e),e.subtreeFlags&6&&(e.flags|=8192)):ha(e),null;case 24:return null;case 25:return null}throw Error(Dt(156,e.tag))}function rX(t,e){switch(Yj(e),e.tag){case 1:return mo(e.type)&&a2(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Gm(),Mr(po),Mr(ja),s8(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return r8(e),null;case 13:if(Mr(Br),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(Dt(340));qm()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Mr(Br),null;case 4:return Gm(),null;case 10:return Jj(e.type._context),null;case 22:case 23:return m8(),null;case 24:return null;default:return null}}var wy=!1,xa=!1,sX=typeof WeakSet=="function"?WeakSet:Set,ln=null;function Xp(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Jr(t,e,r)}else n.current=null}function kS(t,e,n){try{n()}catch(r){Jr(t,e,r)}}var rT=!1;function aX(t,e){if(aS=t2,t=uR(),Kj(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(N){n=null;break e}var i=0,l=-1,u=-1,d=0,p=0,h=t,m=null;t:for(;;){for(var b;h!==n||s!==0&&h.nodeType!==3||(l=i+s),h!==a||r!==0&&h.nodeType!==3||(u=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(b=h.firstChild)!==null;)m=h,h=b;for(;;){if(h===t)break t;if(m===n&&++d===s&&(l=i),m===a&&++p===r&&(u=i),(b=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=b}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(oS={focusedElem:t,selectionRange:n},t2=!1,ln=e;ln!==null;)if(e=ln,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ln=t;else for(;ln!==null;){e=ln;try{var C=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var g=C.memoizedProps,w=C.memoizedState,x=e.stateNode,S=x.getSnapshotBeforeUpdate(e.elementType===e.type?g:Bi(e.type,g),w);x.__reactInternalSnapshotBeforeUpdate=S}break;case 3:var E=e.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Dt(163))}}catch(N){Jr(e,e.return,N)}if(t=e.sibling,t!==null){t.return=e.return,ln=t;break}ln=e.return}return C=rT,rT=!1,C}function y1(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&t)===t){var a=s.destroy;s.destroy=void 0,a!==void 0&&kS(e,n,a)}s=s.next}while(s!==r)}}function Gw(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function CS(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function oO(t){var e=t.alternate;e!==null&&(t.alternate=null,oO(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Fl],delete e[J1],delete e[cS],delete e[HZ],delete e[BZ])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function iO(t){return t.tag===5||t.tag===3||t.tag===4}function sT(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||iO(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function SS(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=s2));else if(r!==4&&(t=t.child,t!==null))for(SS(t,e,n),t=t.sibling;t!==null;)SS(t,e,n),t=t.sibling}function jS(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(jS(t,e,n),t=t.sibling;t!==null;)jS(t,e,n),t=t.sibling}var Js=null,qi=!1;function Au(t,e,n){for(n=n.child;n!==null;)lO(t,e,n),n=n.sibling}function lO(t,e,n){if(Kl&&typeof Kl.onCommitFiberUnmount=="function")try{Kl.onCommitFiberUnmount(Fw,n)}catch(l){}switch(n.tag){case 5:xa||Xp(n,e);case 6:var r=Js,s=qi;Js=null,Au(t,e,n),Js=r,qi=s,Js!==null&&(qi?(t=Js,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):Js.removeChild(n.stateNode));break;case 18:Js!==null&&(qi?(t=Js,n=n.stateNode,t.nodeType===8?I3(t.parentNode,n):t.nodeType===1&&I3(t,n),G1(t)):I3(Js,n.stateNode));break;case 4:r=Js,s=qi,Js=n.stateNode.containerInfo,qi=!0,Au(t,e,n),Js=r,qi=s;break;case 0:case 11:case 14:case 15:if(!xa&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var a=s,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&kS(n,e,i),s=s.next}while(s!==r)}Au(t,e,n);break;case 1:if(!xa&&(Xp(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Jr(n,e,l)}Au(t,e,n);break;case 21:Au(t,e,n);break;case 22:n.mode&1?(xa=(r=xa)||n.memoizedState!==null,Au(t,e,n),xa=r):Au(t,e,n);break;default:Au(t,e,n)}}function aT(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new sX),e.forEach(function(r){var s=pX.bind(null,t,r);n.has(r)||(n.add(r),r.then(s,s))})}}function zi(t,e){var n=e.deletions;if(n!==null)for(var r=0;rs&&(s=i),r&=~a}if(r=s,r=is()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iX(r/1960))-r,10t?16:t,bd===null)var r=!1;else{if(t=bd,bd=null,v2=0,er&6)throw Error(Dt(331));var s=er;for(er|=4,ln=t.current;ln!==null;){var a=ln,i=a.child;if(ln.flags&16){var l=a.deletions;if(l!==null){for(var u=0;uis()-h8?Xf(t,0):f8|=n),go(t,e)}function gO(t,e){e===0&&(t.mode&1?(e=fy,fy<<=1,!(fy&130023424)&&(fy=4194304)):e=1);var n=qa();t=Zc(t,e),t!==null&&(Xv(t,e,n),go(t,n))}function hX(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),gO(t,n)}function pX(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(Dt(314))}r!==null&&r.delete(e),gO(t,n)}var vO;vO=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||po.current)ho=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return ho=!1,tX(t,e,n);ho=!!(t.flags&131072)}else ho=!1,Or&&e.flags&1048576&&wR(e,l2,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Eb(t,e),t=e.pendingProps;var s=Vm(e,ja.current);gm(e,n),s=o8(null,e,r,t,s,n);var a=i8();return e.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,mo(r)?(a=!0,o2(e)):a=!1,e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,t8(e),s.updater=Kw,e.stateNode=s,s._reactInternals=e,mS(e,r,t,n),e=xS(null,e,r,!0,a,n)):(e.tag=0,Or&&a&&Gj(e),Ha(null,e,s,n),e=e.child),e;case 16:r=e.elementType;e:{switch(Eb(t,e),t=e.pendingProps,s=r._init,r=s(r._payload),e.type=r,s=e.tag=gX(r),t=Bi(r,t),s){case 0:e=vS(null,e,r,t,n);break e;case 1:e=eT(null,e,r,t,n);break e;case 11:e=Q_(null,e,r,t,n);break e;case 14:e=J_(null,e,r,Bi(r.type,t),n);break e}throw Error(Dt(306,r,""))}return e;case 0:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:Bi(r,s),vS(t,e,r,s,n);case 1:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:Bi(r,s),eT(t,e,r,s,n);case 3:e:{if(eO(e),t===null)throw Error(Dt(387));r=e.pendingProps,a=e.memoizedState,s=a.element,NR(t,e),d2(e,r,null,n);var i=e.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){s=Ym(Error(Dt(423)),e),e=tT(t,e,r,n,s);break e}else if(r!==s){s=Ym(Error(Dt(424)),e),e=tT(t,e,r,n,s);break e}else for(Ho=Nd(e.stateNode.containerInfo.firstChild),Bo=e,Or=!0,Yi=null,n=jR(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(qm(),r===s){e=Xc(t,e,n);break e}Ha(t,e,r,n)}e=e.child}return e;case 5:return _R(e),t===null&&fS(e),r=e.type,s=e.pendingProps,a=t!==null?t.memoizedProps:null,i=s.children,iS(r,s)?i=null:a!==null&&iS(r,a)&&(e.flags|=32),JR(t,e),Ha(t,e,i,n),e.child;case 6:return t===null&&fS(e),null;case 13:return tO(t,e,n);case 4:return n8(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Km(e,null,r,n):Ha(t,e,r,n),e.child;case 11:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:Bi(r,s),Q_(t,e,r,s,n);case 7:return Ha(t,e,e.pendingProps,n),e.child;case 8:return Ha(t,e,e.pendingProps.children,n),e.child;case 12:return Ha(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,s=e.pendingProps,a=e.memoizedProps,i=s.value,Sr(c2,r._currentValue),r._currentValue=i,a!==null)if(dl(a.value,i)){if(a.children===s.children&&!po.current){e=Xc(t,e,n);break e}}else for(a=e.child,a!==null&&(a.return=e);a!==null;){var l=a.dependencies;if(l!==null){i=a.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(a.tag===1){u=Bc(-1,n&-n),u.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}a.lanes|=n,u=a.alternate,u!==null&&(u.lanes|=n),hS(a.return,n,e),l.lanes|=n;break}u=u.next}}else if(a.tag===10)i=a.type===e.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(Dt(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),hS(i,n,e),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===e){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Ha(t,e,s.children,n),e=e.child}return e;case 9:return s=e.type,r=e.pendingProps.children,gm(e,n),s=Ci(s),r=r(s),e.flags|=1,Ha(t,e,r,n),e.child;case 14:return r=e.type,s=Bi(r,e.pendingProps),s=Bi(r.type,s),J_(t,e,r,s,n);case 15:return XR(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:Bi(r,s),Eb(t,e),e.tag=1,mo(r)?(t=!0,o2(e)):t=!1,gm(e,n),GR(e,r,s),mS(e,r,s,n),xS(null,e,r,!0,t,n);case 19:return nO(t,e,n);case 22:return QR(t,e,n)}throw Error(Dt(156,e.tag))};function xO(t,e){return VL(t,e)}function mX(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xi(t,e,n,r){return new mX(t,e,n,r)}function v8(t){return t=t.prototype,!(!t||!t.isReactComponent)}function gX(t){if(typeof t=="function")return v8(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Rj)return 11;if(t===Oj)return 14}return 2}function Md(t,e){var n=t.alternate;return n===null?(n=xi(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Tb(t,e,n,r,s,a){var i=2;if(r=t,typeof t=="function")v8(t)&&(i=1);else if(typeof t=="string")i=5;else e:switch(t){case Bp:return Qf(n.children,s,a,e);case Lj:i=8,s|=8;break;case z4:return t=xi(12,n,e,s|2),t.elementType=z4,t.lanes=a,t;case F4:return t=xi(13,n,e,s),t.elementType=F4,t.lanes=a,t;case H4:return t=xi(19,n,e,s),t.elementType=H4,t.lanes=a,t;case _L:return Zw(n,s,a,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case EL:i=10;break e;case NL:i=9;break e;case Rj:i=11;break e;case Oj:i=14;break e;case qu:i=16,r=null;break e}throw Error(Dt(130,t==null?t:typeof t,""))}return e=xi(i,n,e,s),e.elementType=t,e.type=r,e.lanes=a,e}function Qf(t,e,n,r){return t=xi(7,t,r,e),t.lanes=n,t}function Zw(t,e,n,r){return t=xi(22,t,r,e),t.elementType=_L,t.lanes=n,t.stateNode={isHidden:!1},t}function H3(t,e,n){return t=xi(6,t,null,e),t.lanes=n,t}function B3(t,e,n){return e=xi(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function vX(t,e,n,r,s){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=k3(0),this.expirationTimes=k3(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=k3(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function x8(t,e,n,r,s,a,i,l,u){return t=new vX(t,e,n,l,u),e===1?(e=1,a===!0&&(e|=8)):e=0,a=xi(3,null,null,e),t.current=a,a.stateNode=t,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},t8(a),t}function xX(t,e,n){var r=3(e&&Reflect.deleteProperty(window,r),t==null?void 0:t(s)),writable:!1,configurable:!0}),n}function qs(n){return ge(this,arguments,function*(t,e={}){return new Promise((r,s)=>{const a=PS(l=>{r(l),Reflect.deleteProperty(window,"_".concat(i))},!0),i=PS(l=>{s(l),Reflect.deleteProperty(window,"_".concat(a))},!0);window.__TAURI_IPC__(R({cmd:t,callback:a,error:i},e))})})}function Jf(t,e="asset"){return window.__TAURI__.convertFileSrc(t,e)}function gn(t){return ge(this,null,function*(){return qs("tauri",t)})}function vo(t,e){return ge(this,null,function*(){var r,s;const n=typeof e=="string"?{title:e}:e;return gn({__tauriModule:"Dialog",message:{cmd:"messageDialog",message:t.toString(),title:(r=n==null?void 0:n.title)==null?void 0:r.toString(),type:n==null?void 0:n.type,buttonLabel:(s=n==null?void 0:n.okLabel)==null?void 0:s.toString()}})})}function b2(t,e){return ge(this,null,function*(){var r,s,a,i,l;const n=typeof e=="string"?{title:e}:e;return gn({__tauriModule:"Dialog",message:{cmd:"confirmDialog",message:t.toString(),title:(r=n==null?void 0:n.title)==null?void 0:r.toString(),type:n==null?void 0:n.type,buttonLabels:[(a=(s=n==null?void 0:n.okLabel)==null?void 0:s.toString())!=null?a:"Ok",(l=(i=n==null?void 0:n.cancelLabel)==null?void 0:i.toString())!=null?l:"Cancel"]}})})}function jO(t,e){return ge(this,null,function*(){return gn({__tauriModule:"Event",message:{cmd:"unlisten",event:t,eventId:e}})})}function EO(t,e,n){return ge(this,null,function*(){yield gn({__tauriModule:"Event",message:{cmd:"emit",event:t,windowLabel:e,payload:n}})})}function k8(t,e,n){return ge(this,null,function*(){return gn({__tauriModule:"Event",message:{cmd:"listen",event:t,windowLabel:e,handler:PS(n)}}).then(r=>()=>ge(this,null,function*(){return jO(t,r)}))})}function NO(t,e,n){return ge(this,null,function*(){return k8(t,e,r=>{n(r),jO(t,r.id).catch(()=>{})})})}var js;(function(t){t.WINDOW_RESIZED="tauri://resize",t.WINDOW_MOVED="tauri://move",t.WINDOW_CLOSE_REQUESTED="tauri://close-requested",t.WINDOW_CREATED="tauri://window-created",t.WINDOW_DESTROYED="tauri://destroyed",t.WINDOW_FOCUS="tauri://focus",t.WINDOW_BLUR="tauri://blur",t.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",t.WINDOW_THEME_CHANGED="tauri://theme-changed",t.WINDOW_FILE_DROP="tauri://file-drop",t.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",t.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",t.MENU="tauri://menu",t.CHECK_UPDATE="tauri://update",t.UPDATE_AVAILABLE="tauri://update-available",t.INSTALL_UPDATE="tauri://update-install",t.STATUS_UPDATE="tauri://update-status",t.DOWNLOAD_PROGRESS="tauri://update-download-progress"})(js||(js={}));function Zi(t,e){return ge(this,null,function*(){return k8(t,null,e)})}function jX(t,e){return ge(this,null,function*(){return NO(t,null,e)})}function _O(t,e){return ge(this,null,function*(){return EO(t,void 0,e)})}function C8(){return navigator.appVersion.includes("Win")}C8();function EX(){return ge(this,null,function*(){return gn({__tauriModule:"Os",message:{cmd:"platform"}})})}function NX(){return ge(this,null,function*(){return gn({__tauriModule:"Os",message:{cmd:"version"}})})}function pT(){return ge(this,null,function*(){return gn({__tauriModule:"Os",message:{cmd:"osType"}})})}class ov{constructor(e,n){this.type="Logical",this.width=e,this.height=n}}class MS{constructor(e,n){this.type="Physical",this.width=e,this.height=n}toLogical(e){return new ov(this.width/e,this.height/e)}}class _X{constructor(e,n){this.type="Logical",this.x=e,this.y=n}}class DS{constructor(e,n){this.type="Physical",this.x=e,this.y=n}toLogical(e){return new _X(this.x/e,this.y/e)}}var IS;(function(t){t[t.Critical=1]="Critical",t[t.Informational=2]="Informational"})(IS||(IS={}));function mT(){return window.__TAURI_METADATA__.__windows.map(t=>new ph(t.label,{skip:!0}))}const gT=["tauri://created","tauri://error"];class TX{constructor(e){this.label=e,this.listeners=Object.create(null)}listen(e,n){return ge(this,null,function*(){return this._handleTauriEvent(e,n)?Promise.resolve(()=>{const r=this.listeners[e];r.splice(r.indexOf(n),1)}):k8(e,this.label,n)})}once(e,n){return ge(this,null,function*(){return this._handleTauriEvent(e,n)?Promise.resolve(()=>{const r=this.listeners[e];r.splice(r.indexOf(n),1)}):NO(e,this.label,n)})}emit(e,n){return ge(this,null,function*(){if(gT.includes(e)){for(const r of this.listeners[e]||[])r({event:e,id:-1,windowLabel:this.label,payload:n});return Promise.resolve()}return EO(e,this.label,n)})}_handleTauriEvent(e,n){return gT.includes(e)?(e in this.listeners?this.listeners[e].push(n):this.listeners[e]=[n],!0):!1}}class PX extends TX{scaleFactor(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"scaleFactor"}}}})})}innerPosition(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerPosition"}}}}).then(({x:e,y:n})=>new DS(e,n))})}outerPosition(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerPosition"}}}}).then(({x:e,y:n})=>new DS(e,n))})}innerSize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerSize"}}}}).then(({width:e,height:n})=>new MS(e,n))})}outerSize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerSize"}}}}).then(({width:e,height:n})=>new MS(e,n))})}isFullscreen(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isFullscreen"}}}})})}isMinimized(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMinimized"}}}})})}isMaximized(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMaximized"}}}})})}isFocused(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isFocused"}}}})})}isDecorated(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isDecorated"}}}})})}isResizable(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isResizable"}}}})})}isMaximizable(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMaximizable"}}}})})}isMinimizable(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMinimizable"}}}})})}isClosable(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isClosable"}}}})})}isVisible(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isVisible"}}}})})}title(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"title"}}}})})}theme(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"theme"}}}})})}center(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"center"}}}})})}requestUserAttention(e){return ge(this,null,function*(){let n=null;return e&&(e===IS.Critical?n={type:"Critical"}:n={type:"Informational"}),gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"requestUserAttention",payload:n}}}})})}setResizable(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setResizable",payload:e}}}})})}setMaximizable(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMaximizable",payload:e}}}})})}setMinimizable(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMinimizable",payload:e}}}})})}setClosable(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setClosable",payload:e}}}})})}setTitle(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setTitle",payload:e}}}})})}maximize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"maximize"}}}})})}unmaximize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"unmaximize"}}}})})}toggleMaximize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"toggleMaximize"}}}})})}minimize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"minimize"}}}})})}unminimize(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"unminimize"}}}})})}show(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"show"}}}})})}hide(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"hide"}}}})})}close(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"close"}}}})})}setDecorations(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setDecorations",payload:e}}}})})}setAlwaysOnTop(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setAlwaysOnTop",payload:e}}}})})}setContentProtected(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setContentProtected",payload:e}}}})})}setSize(e){return ge(this,null,function*(){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setSize",payload:{type:e.type,data:{width:e.width,height:e.height}}}}}})})}setMinSize(e){return ge(this,null,function*(){if(e&&e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMinSize",payload:e?{type:e.type,data:{width:e.width,height:e.height}}:null}}}})})}setMaxSize(e){return ge(this,null,function*(){if(e&&e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMaxSize",payload:e?{type:e.type,data:{width:e.width,height:e.height}}:null}}}})})}setPosition(e){return ge(this,null,function*(){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setPosition",payload:{type:e.type,data:{x:e.x,y:e.y}}}}}})})}setFullscreen(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setFullscreen",payload:e}}}})})}setFocus(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setFocus"}}}})})}setIcon(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setIcon",payload:{icon:typeof e=="string"?e:Array.from(e)}}}}})})}setSkipTaskbar(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setSkipTaskbar",payload:e}}}})})}setCursorGrab(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorGrab",payload:e}}}})})}setCursorVisible(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorVisible",payload:e}}}})})}setCursorIcon(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorIcon",payload:e}}}})})}setCursorPosition(e){return ge(this,null,function*(){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorPosition",payload:{type:e.type,data:{x:e.x,y:e.y}}}}}})})}setIgnoreCursorEvents(e){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setIgnoreCursorEvents",payload:e}}}})})}startDragging(){return ge(this,null,function*(){return gn({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"startDragging"}}}})})}onResized(e){return ge(this,null,function*(){return this.listen(js.WINDOW_RESIZED,n=>{n.payload=IX(n.payload),e(n)})})}onMoved(e){return ge(this,null,function*(){return this.listen(js.WINDOW_MOVED,n=>{n.payload=DX(n.payload),e(n)})})}onCloseRequested(e){return ge(this,null,function*(){return this.listen(js.WINDOW_CLOSE_REQUESTED,n=>{const r=new MX(n);Promise.resolve(e(r)).then(()=>{if(!r.isPreventDefault())return this.close()})})})}onFocusChanged(e){return ge(this,null,function*(){const n=yield this.listen(js.WINDOW_FOCUS,s=>{e(ae(R({},s),{payload:!0}))}),r=yield this.listen(js.WINDOW_BLUR,s=>{e(ae(R({},s),{payload:!1}))});return()=>{n(),r()}})}onScaleChanged(e){return ge(this,null,function*(){return this.listen(js.WINDOW_SCALE_FACTOR_CHANGED,e)})}onMenuClicked(e){return ge(this,null,function*(){return this.listen(js.MENU,e)})}onFileDropEvent(e){return ge(this,null,function*(){const n=yield this.listen(js.WINDOW_FILE_DROP,a=>{e(ae(R({},a),{payload:{type:"drop",paths:a.payload}}))}),r=yield this.listen(js.WINDOW_FILE_DROP_HOVER,a=>{e(ae(R({},a),{payload:{type:"hover",paths:a.payload}}))}),s=yield this.listen(js.WINDOW_FILE_DROP_CANCELLED,a=>{e(ae(R({},a),{payload:{type:"cancel"}}))});return()=>{n(),r(),s()}})}onThemeChanged(e){return ge(this,null,function*(){return this.listen(js.WINDOW_THEME_CHANGED,e)})}}class MX{constructor(e){this._preventDefault=!1,this.event=e.event,this.windowLabel=e.windowLabel,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}class ph extends PX{constructor(e,n={}){super(e),n!=null&&n.skip||gn({__tauriModule:"Window",message:{cmd:"createWebview",data:{options:R({label:e},n)}}}).then(()=>ge(this,null,function*(){return this.emit("tauri://created")})).catch(r=>ge(this,null,function*(){return this.emit("tauri://error",r)}))}static getByLabel(e){return mT().some(n=>n.label===e)?new ph(e,{skip:!0}):null}static getFocusedWindow(){return ge(this,null,function*(){for(const e of mT())if(yield e.isFocused())return e;return null})}}let Ss;"__TAURI_METADATA__"in window?Ss=new ph(window.__TAURI_METADATA__.__currentWindow.label,{skip:!0}):(console.warn('Could not find "window.__TAURI_METADATA__". The "appWindow" value will reference the "main" window label.\nNote that this is not an issue if running this frontend on a browser instead of a Tauri window.'),Ss=new ph("main",{skip:!0}));function DX(t){return new DS(t.x,t.y)}function IX(t){return new MS(t.width,t.height)}function vT(){return ge(this,null,function*(){return gn({__tauriModule:"Clipboard",message:{cmd:"readText",data:null}})})}var xT;(function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Desktop=6]="Desktop",t[t.Document=7]="Document",t[t.Download=8]="Download",t[t.Executable=9]="Executable",t[t.Font=10]="Font",t[t.Home=11]="Home",t[t.Picture=12]="Picture",t[t.Public=13]="Public",t[t.Runtime=14]="Runtime",t[t.Template=15]="Template",t[t.Video=16]="Video",t[t.Resource=17]="Resource",t[t.App=18]="App",t[t.Log=19]="Log",t[t.Temp=20]="Temp",t[t.AppConfig=21]="AppConfig",t[t.AppData=22]="AppData",t[t.AppLocalData=23]="AppLocalData",t[t.AppCache=24]="AppCache",t[t.AppLog=25]="AppLog"})(xT||(xT={}));var yT;(function(t){t[t.JSON=1]="JSON",t[t.Text=2]="Text",t[t.Binary=3]="Binary"})(yT||(yT={}));C8();C8();function TO(){return ge(this,null,function*(){return gn({__tauriModule:"Process",message:{cmd:"relaunch"}})})}function ji(t,e){return ge(this,null,function*(){return gn({__tauriModule:"Shell",message:{cmd:"open",path:t,with:e}})})}function S8(t){return ge(this,null,function*(){return Zi(js.STATUS_UPDATE,e=>{t(e==null?void 0:e.payload)})})}function AX(){return ge(this,null,function*(){let t;function e(){t&&t(),t=void 0}return new Promise((n,r)=>{function s(a){if(a.error){e(),r(a.error);return}a.status==="DONE"&&(e(),n())}S8(s).then(a=>{t=a}).catch(a=>{throw e(),a}),_O(js.INSTALL_UPDATE).catch(a=>{throw e(),a})})})}function bT(){return ge(this,null,function*(){let t;function e(){t&&t(),t=void 0}return new Promise((n,r)=>{function s(i){e(),n({manifest:i,shouldUpdate:!0})}function a(i){if(i.error){e(),r(i.error);return}i.status==="UPTODATE"&&(e(),n({shouldUpdate:!1}))}jX(js.UPDATE_AVAILABLE,i=>{s(i==null?void 0:i.payload)}).catch(i=>{throw e(),i}),S8(a).then(i=>{t=i}).catch(i=>{throw e(),i}),_O(js.CHECK_UPDATE).catch(i=>{throw e(),i})})})}const Ln=qs,PO="en",mh=[{code:"en",name:"English",website:"www.pastebar.app",flag:"🇺🇸"},{code:"es",name:"Español",flag:"🇪🇸",website:"es.pastebar.app"},{code:"de",name:"Deutsch",flag:"🇩🇪",website:"de.pastebar.app"},{code:"fr",name:"Français",flag:"🇫🇷",website:"fr.pastebar.app"},{code:"it",name:"Italiano",flag:"🇮🇹",website:"it.pastebar.app"},{code:"ru",name:"Русский",website:"www.pastebar.ru",flag:"🇷🇺"},{code:"uk",name:"Українська",flag:"🇺🇦",website:"ua.pastebar.app"}];var LX=Symbol.for("preact-signals");function j8(){if(xm>1)xm--;else{for(var t,e=!1;k1!==void 0;){var n=k1;for(k1=void 0,AS++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&DO(n))try{n.c()}catch(s){e||(t=s,e=!0)}n=r}}if(AS=0,xm--,e)throw t}}var wr=void 0,k1=void 0,xm=0,AS=0,w2=0;function MO(t){if(wr!==void 0){var e=t.n;if(e===void 0||e.t!==wr)return e={i:0,S:t,p:wr.s,n:void 0,t:wr,e:void 0,x:void 0,r:e},wr.s!==void 0&&(wr.s.n=e),wr.s=e,t.n=e,32&wr.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=wr.s,e.n=void 0,wr.s.n=e,wr.s=e),e}}function Ea(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}Ea.prototype.brand=LX;Ea.prototype.h=function(){return!0};Ea.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};Ea.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}};Ea.prototype.subscribe=function(t){var e=this;return RO(function(){var n=e.value,r=wr;wr=void 0;try{t(n)}finally{wr=r}})};Ea.prototype.valueOf=function(){return this.value};Ea.prototype.toString=function(){return this.value+""};Ea.prototype.toJSON=function(){return this.value};Ea.prototype.peek=function(){var t=wr;wr=void 0;try{return this.value}finally{wr=t}};Object.defineProperty(Ea.prototype,"value",{get:function(){var t=MO(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(AS>100)throw new Error("Cycle detected");this.v=t,this.i++,w2++,xm++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{j8()}}}});function It(t){return new Ea(t)}function DO(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function IO(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function AO(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function tx(t){Ea.call(this,void 0),this.x=t,this.s=void 0,this.g=w2-1,this.f=4}(tx.prototype=new Ea).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===w2))return!0;if(this.g=w2,this.f|=1,this.i>0&&!DO(this))return this.f&=-2,!0;var t=wr;try{IO(this),wr=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return wr=t,AO(this),this.f&=-2,!0};tx.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}Ea.prototype.S.call(this,t)};tx.prototype.U=function(t){if(this.t!==void 0&&(Ea.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};tx.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};Object.defineProperty(tx.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=MO(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function LO(t){var e=t.u;if(t.u=void 0,typeof e=="function"){xm++;var n=wr;wr=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,E8(t),r}finally{wr=n,j8()}}}function E8(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,LO(t)}function RX(t){if(wr!==this)throw new Error("Out-of-order effect");AO(this),wr=t,this.f&=-2,8&this.f&&E8(this),j8()}function nx(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}nx.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};nx.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,LO(this),IO(this),xm++;var t=wr;return wr=this,RX.bind(this,t)};nx.prototype.N=function(){2&this.f||(this.f|=2,this.o=k1,k1=this)};nx.prototype.d=function(){this.f|=8,1&this.f||E8(this)};function RO(t){var e=new nx(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var OO={exports:{}},$O={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Xm=v;function OX(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var $X=typeof Object.is=="function"?Object.is:OX,zX=Xm.useState,FX=Xm.useEffect,HX=Xm.useLayoutEffect,BX=Xm.useDebugValue;function UX(t,e){var n=e(),r=zX({inst:{value:n,getSnapshot:e}}),s=r[0].inst,a=r[1];return HX(function(){s.value=n,s.getSnapshot=e,U3(s)&&a({inst:s})},[t,n,e]),FX(function(){return U3(s)&&a({inst:s}),t(function(){U3(s)&&a({inst:s})})},[t]),BX(n),n}function U3(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!$X(t,n)}catch(r){return!0}}function WX(t,e){return e()}var VX=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?WX:UX;$O.useSyncExternalStore=Xm.useSyncExternalStore!==void 0?Xm.useSyncExternalStore:VX;OO.exports=$O;var zO=OO.exports,FO={};/** + * @license React + * react-jsx-dev-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var qX=Symbol.for("react.fragment");FO.Fragment=qX;FO.jsxDEV=void 0;var KX=[],GX=Symbol.for("react.element"),wT=function(){},Df,HO=Symbol.dispose||Symbol.for("Symbol.dispose");function W3(t,e){var n=e.effect.S();return Df=e,YX.bind(e,t,n)}function YX(t,e){e(),Df=t}var kT,V3;(kT={u:0,effect:{s:void 0,c:function(){},S:function(){return wT},d:function(){}},subscribe:function(){return wT},getSnapshot:function(){return 0},S:function(){},f:function(){}})[HO]=function(){};var ZX=Promise.prototype.then.bind(Promise.resolve());function XX(){V3||(V3=ZX(function(){var t;V3=void 0,(t=Df)==null||t.f()}))}function BO(t){t===void 0&&(t=0),XX();var e=v.useRef();e.current==null&&(e.current=function(r){var s,a,i,l,u=0,d=RO(function(){a=this});return a.c=function(){u=u+1|0,l&&l()},(s={u:r,effect:a,subscribe:function(p){return l=p,function(){u=u+1|0,l=void 0,d()}},getSnapshot:function(){return u},S:function(){if(Df!=null){var p=Df.u,h=this.u;p==0&&h==0||p==0&&h==1?(Df.f(),i=W3(void 0,this)):p==1&&h==0||p==2&&h==0||(i=W3(Df,this))}else i=W3(void 0,this)},f:function(){i==null||i(),i=void 0}})[HO]=function(){this.f()},s}(t));var n=e.current;return zO.useSyncExternalStore(n.subscribe,n.getSnapshot,n.getSnapshot),n.S(),n}Object.defineProperties(Ea.prototype,{$$typeof:{configurable:!0,value:GX},type:{configurable:!0,value:function(t){var e=t.data,n=BO(1);try{return e.value}finally{n.f()}}},props:{configurable:!0,get:function(){return{data:this}}},ref:{configurable:!0,value:null}});function sn(t){return BO(t)}function Ds(t){return v.useMemo(function(){return It(t)},KX)}function at(){return at=Object.assign?Object.assign.bind():function(t){for(var e=1;et.forEach(n=>QX(n,e))}function tr(...t){return v.useCallback(t5(...t),t)}const Rd=v.forwardRef((t,e)=>{const i=t,{children:n}=i,r=Ne(i,["children"]),s=v.Children.toArray(n),a=s.find(JX);if(a){const l=a.props.children,u=s.map(d=>d===a?v.Children.count(l)>1?v.Children.only(null):v.isValidElement(l)?l.props.children:null:d);return v.createElement(LS,at({},r,{ref:e}),v.isValidElement(l)?v.cloneElement(l,void 0,u):null)}return v.createElement(LS,at({},r,{ref:e}),n)});Rd.displayName="Slot";const LS=v.forwardRef((t,e)=>{const s=t,{children:n}=s,r=Ne(s,["children"]);return v.isValidElement(n)?v.cloneElement(n,ae(R({},eQ(r,n.props)),{ref:e?t5(e,n.ref):n.ref})):v.Children.count(n)>1?v.Children.only(null):null});LS.displayName="SlotClone";const UO=({children:t})=>v.createElement(v.Fragment,null,t);function JX(t){return v.isValidElement(t)&&t.type===UO}function eQ(t,e){const n=R({},e);for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...l)=>{a(...l),s(...l)}:s&&(n[r]=s):r==="style"?n[r]=R(R({},s),a):r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return R(R({},t),n)}const tQ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],_n=tQ.reduce((t,e)=>{const n=v.forwardRef((r,s)=>{const u=r,{asChild:a}=u,i=Ne(u,["asChild"]),l=a?Rd:e;return v.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),v.createElement(l,at({},i,{ref:s}))});return n.displayName="Primitive.".concat(e),ae(R({},t),{[e]:n})},{});function N8(t,e){t&&ta.flushSync(()=>t.dispatchEvent(e))}const lu=v.forwardRef((t,e)=>{var n;const a=t,{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body}=a,s=Ne(a,["container"]);return r?CO.createPortal(v.createElement(_n.div,at({},s,{ref:e})),r):null});function nQ(){for(var t=arguments.length,e=new Array(t),n=0;nr=>{e.forEach(s=>s(r))},e)}const n5=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function y0(t){const e=Object.prototype.toString.call(t);return e==="[object Window]"||e==="[object global]"}function _8(t){return"nodeType"in t}function Xa(t){var e,n;return t?y0(t)?t:_8(t)&&(e=(n=t.ownerDocument)==null?void 0:n.defaultView)!=null?e:window:window}function T8(t){const{Document:e}=Xa(t);return t instanceof e}function rx(t){return y0(t)?!1:t instanceof Xa(t).HTMLElement}function WO(t){return t instanceof Xa(t).SVGElement}function b0(t){return t?y0(t)?t.document:_8(t)?T8(t)?t:rx(t)||WO(t)?t.ownerDocument:document:document:document}const Ei=n5?v.useLayoutEffect:v.useEffect;function r5(t){const e=v.useRef(t);return Ei(()=>{e.current=t}),v.useCallback(function(){for(var n=arguments.length,r=new Array(n),s=0;s{t.current=setInterval(r,s)},[]),n=v.useCallback(()=>{t.current!==null&&(clearInterval(t.current),t.current=null)},[]);return[e,n]}function iv(t,e){e===void 0&&(e=[t]);const n=v.useRef(t);return Ei(()=>{n.current!==t&&(n.current=t)},e),n}function sx(t,e){const n=v.useRef();return v.useMemo(()=>{const r=t(n.current);return n.current=r,r},[...e])}function k2(t){const e=r5(t),n=v.useRef(null),r=v.useCallback(s=>{s!==n.current&&(e==null||e(s,n.current)),n.current=s},[]);return[n,r]}function C2(t){const e=v.useRef();return v.useEffect(()=>{e.current=t},[t]),e.current}let q3={};function ax(t,e){return v.useMemo(()=>{if(e)return e;const n=q3[t]==null?0:q3[t]+1;return q3[t]=n,t+"-"+n},[t,e])}function VO(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s{const l=Object.entries(i);for(const[u,d]of l){const p=a[u];p!=null&&(a[u]=p+t*d)}return a},R({},e))}}const ym=VO(1),S2=VO(-1);function sQ(t){return"clientX"in t&&"clientY"in t}function s5(t){if(!t)return!1;const{KeyboardEvent:e}=Xa(t.target);return e&&t instanceof e}function aQ(t){if(!t)return!1;const{TouchEvent:e}=Xa(t.target);return e&&t instanceof e}function j2(t){if(aQ(t)){if(t.touches&&t.touches.length){const{clientX:e,clientY:n}=t.touches[0];return{x:e,y:n}}else if(t.changedTouches&&t.changedTouches.length){const{clientX:e,clientY:n}=t.changedTouches[0];return{x:e,y:n}}}return sQ(t)?{x:t.clientX,y:t.clientY}:null}const Ko=Object.freeze({Translate:{toString(t){if(!t)return;const{x:e,y:n}=t;return"translate3d("+(e?Math.round(e):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;const{scaleX:e,scaleY:n}=t;return"scaleX("+e+") scaleY("+n+")"}},Transform:{toString(t){if(t)return[Ko.Translate.toString(t),Ko.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:e,duration:n,easing:r}=t;return e+" "+n+"ms "+r}}}),CT="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function oQ(t){return t.matches(CT)?t:t.querySelector(CT)}const iQ={display:"none"};function lQ(t){let{id:e,value:n}=t;return Vt.createElement("div",{id:e,style:iQ},n)}function cQ(t){let{id:e,announcement:n,ariaLiveType:r="assertive"}=t;const s={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return Vt.createElement("div",{id:e,style:s,role:"status","aria-live":r,"aria-atomic":!0},n)}function uQ(){const[t,e]=v.useState("");return{announce:v.useCallback(r=>{r!=null&&e(r)},[]),announcement:t}}const qO=v.createContext(null);function dQ(t){const e=v.useContext(qO);v.useEffect(()=>{if(!e)throw new Error("useDndMonitor must be used within a children of ");return e(t)},[t,e])}function fQ(){const[t]=v.useState(()=>new Set),e=v.useCallback(r=>(t.add(r),()=>t.delete(r)),[t]);return[v.useCallback(r=>{let{type:s,event:a}=r;t.forEach(i=>{var l;return(l=i[s])==null?void 0:l.call(i,a)})},[t]),e]}const hQ={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},pQ={onDragStart(t){let{active:e}=t;return"Picked up draggable item "+e.id+"."},onDragOver(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was moved over droppable area "+n.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was dropped over droppable area "+n.id:"Draggable item "+e.id+" was dropped."},onDragCancel(t){let{active:e}=t;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function mQ(t){let{announcements:e=pQ,container:n,hiddenTextDescribedById:r,screenReaderInstructions:s=hQ}=t;const{announce:a,announcement:i}=uQ(),l=ax("DndLiveRegion"),[u,d]=v.useState(!1);if(v.useEffect(()=>{d(!0)},[]),dQ(v.useMemo(()=>({onDragStart(h){let{active:m}=h;a(e.onDragStart({active:m}))},onDragMove(h){let{active:m,over:b}=h;e.onDragMove&&a(e.onDragMove({active:m,over:b}))},onDragOver(h){let{active:m,over:b}=h;a(e.onDragOver({active:m,over:b}))},onDragEnd(h){let{active:m,over:b}=h;a(e.onDragEnd({active:m,over:b}))},onDragCancel(h){let{active:m,over:b}=h;a(e.onDragCancel({active:m,over:b}))}}),[a,e])),!u)return null;const p=Vt.createElement(Vt.Fragment,null,Vt.createElement(lQ,{id:r,value:s.draggable}),Vt.createElement(cQ,{id:l,announcement:i}));return n?ta.createPortal(p,n):p}var Ns;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(Ns||(Ns={}));function E2(){}function Jp(t,e){return v.useMemo(()=>({sensor:t,options:e!=null?e:{}}),[t,e])}function RS(){for(var t=arguments.length,e=new Array(t),n=0;n[...e].filter(r=>r!=null),[...e])}const fl=Object.freeze({x:0,y:0});function P8(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function gQ(t,e){const n=j2(t);if(!n)return"0 0";const r={x:(n.x-e.left)/e.width*100,y:(n.y-e.top)/e.height*100};return r.x+"% "+r.y+"%"}function M8(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return n-r}function vQ(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return r-n}function OS(t){let{left:e,top:n,height:r,width:s}=t;return[{x:e,y:n},{x:e+s,y:n},{x:e,y:n+r},{x:e+s,y:n+r}]}function D8(t,e){if(!t||t.length===0)return null;const[n]=t;return e?n[e]:n}function ST(t,e,n){return e===void 0&&(e=t.left),n===void 0&&(n=t.top),{x:e+t.width*.5,y:n+t.height*.5}}const KO=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=ST(e,e.left,e.top),a=[];for(const i of r){const{id:l}=i,u=n.get(l);if(u){const d=P8(ST(u),s);a.push({id:l,data:{droppableContainer:i,value:d}})}}return a.sort(M8)},xQ=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=OS(e),a=[];for(const i of r){const{id:l}=i,u=n.get(l);if(u){const d=OS(u),p=s.reduce((m,b,C)=>m+P8(d[C],b),0),h=Number((p/4).toFixed(4));a.push({id:l,data:{droppableContainer:i,value:h}})}}return a.sort(M8)};function yQ(t,e){const n=Math.max(e.top,t.top),r=Math.max(e.left,t.left),s=Math.min(e.left+e.width,t.left+t.width),a=Math.min(e.top+e.height,t.top+t.height),i=s-r,l=a-n;if(r{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=[];for(const a of r){const{id:i}=a,l=n.get(i);if(l){const u=yQ(l,e);u>0&&s.push({id:i,data:{droppableContainer:a,value:u}})}}return s.sort(vQ)};function bQ(t,e){const{top:n,left:r,bottom:s,right:a}=e;return n<=t.y&&t.y<=s&&r<=t.x&&t.x<=a}const wQ=t=>{let{droppableContainers:e,droppableRects:n,pointerCoordinates:r}=t;if(!r)return[];const s=[];for(const a of e){const{id:i}=a,l=n.get(i);if(l&&bQ(r,l)){const d=OS(l).reduce((h,m)=>h+P8(r,m),0),p=Number((d/4).toFixed(4));s.push({id:i,data:{droppableContainer:a,value:p}})}}return s.sort(M8)};function kQ(t,e,n){return ae(R({},t),{scaleX:e&&n?e.width/n.width:1,scaleY:e&&n?e.height/n.height:1})}function GO(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:fl}function CQ(t){return function(n){for(var r=arguments.length,s=new Array(r>1?r-1:0),a=1;aae(R({},i),{top:i.top+t*l.y,bottom:i.bottom+t*l.y,left:i.left+t*l.x,right:i.right+t*l.x}),R({},n))}}const SQ=CQ(1);function YO(t){if(t.startsWith("matrix3d(")){const e=t.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(t.startsWith("matrix(")){const e=t.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function jQ(t,e,n){const r=YO(e);if(!r)return t;const{scaleX:s,scaleY:a,x:i,y:l}=r,u=t.left-i-(1-s)*parseFloat(n),d=t.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),p=s?t.width/s:t.width,h=a?t.height/a:t.height;return{width:p,height:h,top:d,right:u+p,bottom:d+h,left:u}}const EQ={ignoreTransform:!1};function w0(t,e){e===void 0&&(e=EQ);let n=t.getBoundingClientRect();if(e.ignoreTransform){const{transform:d,transformOrigin:p}=Xa(t).getComputedStyle(t);d&&(n=jQ(n,d,p))}const{top:r,left:s,width:a,height:i,bottom:l,right:u}=n;return{top:r,left:s,width:a,height:i,bottom:l,right:u}}function jT(t){return w0(t,{ignoreTransform:!0})}function NQ(t){const e=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:e,bottom:n,width:e,height:n}}function _Q(t,e){return e===void 0&&(e=Xa(t).getComputedStyle(t)),e.position==="fixed"}function TQ(t,e){e===void 0&&(e=Xa(t).getComputedStyle(t));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(s=>{const a=e[s];return typeof a=="string"?n.test(a):!1})}function A8(t,e){const n=[];function r(s){if(e!=null&&n.length>=e||!s)return n;if(T8(s)&&s.scrollingElement!=null&&!n.includes(s.scrollingElement))return n.push(s.scrollingElement),n;if(!rx(s)||WO(s)||n.includes(s))return n;const a=Xa(t).getComputedStyle(s);return s!==t&&TQ(s,a)&&n.push(s),_Q(s,a)?n:r(s.parentNode)}return t?r(t):n}function ZO(t){const[e]=A8(t,1);return e!=null?e:null}function K3(t){return!n5||!t?null:y0(t)?t:_8(t)?T8(t)||t===b0(t).scrollingElement?window:rx(t)?t:null:null}function XO(t){return y0(t)?t.scrollX:t.scrollLeft}function QO(t){return y0(t)?t.scrollY:t.scrollTop}function $S(t){return{x:XO(t),y:QO(t)}}var Hs;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(Hs||(Hs={}));function JO(t){return!n5||!t?!1:t===document.scrollingElement}function e$(t){const e={x:0,y:0},n=JO(t)?{height:window.innerHeight,width:window.innerWidth}:{height:t.clientHeight,width:t.clientWidth},r={x:t.scrollWidth-n.width,y:t.scrollHeight-n.height},s=t.scrollTop<=e.y,a=t.scrollLeft<=e.x,i=t.scrollTop>=r.y,l=t.scrollLeft>=r.x;return{isTop:s,isLeft:a,isBottom:i,isRight:l,maxScroll:r,minScroll:e}}const PQ={x:.2,y:.2};function MQ(t,e,n,r,s){let{top:a,left:i,right:l,bottom:u}=n;r===void 0&&(r=10),s===void 0&&(s=PQ);const{isTop:d,isBottom:p,isLeft:h,isRight:m}=e$(t),b={x:0,y:0},C={x:0,y:0},g={height:e.height*s.y,width:e.width*s.x};return!d&&a<=e.top+g.height?(b.y=Hs.Backward,C.y=r*Math.abs((e.top+g.height-a)/g.height)):!p&&u>=e.bottom-g.height&&(b.y=Hs.Forward,C.y=r*Math.abs((e.bottom-g.height-u)/g.height)),!m&&l>=e.right-g.width?(b.x=Hs.Forward,C.x=r*Math.abs((e.right-g.width-l)/g.width)):!h&&i<=e.left+g.width&&(b.x=Hs.Backward,C.x=r*Math.abs((e.left+g.width-i)/g.width)),{direction:b,speed:C}}function DQ(t){if(t===document.scrollingElement){const{innerWidth:a,innerHeight:i}=window;return{top:0,left:0,right:a,bottom:i,width:a,height:i}}const{top:e,left:n,right:r,bottom:s}=t.getBoundingClientRect();return{top:e,left:n,right:r,bottom:s,width:t.clientWidth,height:t.clientHeight}}function t$(t){return t.reduce((e,n)=>ym(e,$S(n)),fl)}function IQ(t){return t.reduce((e,n)=>e+XO(n),0)}function AQ(t){return t.reduce((e,n)=>e+QO(n),0)}function n$(t,e){if(e===void 0&&(e=w0),!t)return;const{top:n,left:r,bottom:s,right:a}=e(t);ZO(t)&&(s<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&t.scrollIntoView({block:"center",inline:"center"})}const LQ=[["x",["left","right"],IQ],["y",["top","bottom"],AQ]];class L8{constructor(e,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=A8(n),s=t$(r);this.rect=R({},e),this.width=e.width,this.height=e.height;for(const[a,i,l]of LQ)for(const u of i)Object.defineProperty(this,u,{get:()=>{const d=l(r),p=s[a]-d;return this.rect[u]+p},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class C1{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=e}add(e,n,r){var s;(s=this.target)==null||s.addEventListener(e,n,r),this.listeners.push([e,n,r])}}function RQ(t){const{EventTarget:e}=Xa(t);return t instanceof e?t:b0(t)}function G3(t,e){const n=Math.abs(t.x),r=Math.abs(t.y);return typeof e=="number"?Math.sqrt(xg(n,2)+xg(r,2))>e:"x"in e&&"y"in e?n>e.x&&r>e.y:"x"in e?n>e.x:"y"in e?r>e.y:!1}var fi;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(fi||(fi={}));function ET(t){t.preventDefault()}function OQ(t){t.stopPropagation()}var qn;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter"})(qn||(qn={}));const r$={start:[qn.Space,qn.Enter],cancel:[qn.Esc],end:[qn.Space,qn.Enter]},$Q=(t,e)=>{let{currentCoordinates:n}=e;switch(t.code){case qn.Right:return ae(R({},n),{x:n.x+25});case qn.Left:return ae(R({},n),{x:n.x-25});case qn.Down:return ae(R({},n),{y:n.y+25});case qn.Up:return ae(R({},n),{y:n.y-25})}};class lv{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:n}}=e;this.props=e,this.listeners=new C1(b0(n)),this.windowListeners=new C1(Xa(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(fi.Resize,this.handleCancel),this.windowListeners.add(fi.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(fi.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:n}=this.props,r=e.node.current;r&&n$(r),n(fl)}handleKeyDown(e){if(s5(e)){const{active:n,context:r,options:s}=this.props,{keyboardCodes:a=r$,coordinateGetter:i=$Q,scrollBehavior:l="smooth"}=s,{code:u}=e;if(a.end.includes(u)){this.handleEnd(e);return}if(a.cancel.includes(u)){this.handleCancel(e);return}const{collisionRect:d}=r.current,p=d?{x:d.left,y:d.top}:fl;this.referenceCoordinates||(this.referenceCoordinates=p);const h=i(e,{active:n,context:r.current,currentCoordinates:p});if(h){const m=S2(h,p),b={x:0,y:0},{scrollableAncestors:C}=r.current;for(const g of C){const w=e.code,{isTop:x,isRight:S,isLeft:E,isBottom:N,maxScroll:_,minScroll:P}=e$(g),I=DQ(g),T={x:Math.min(w===qn.Right?I.right-I.width/2:I.right,Math.max(w===qn.Right?I.left:I.left+I.width/2,h.x)),y:Math.min(w===qn.Down?I.bottom-I.height/2:I.bottom,Math.max(w===qn.Down?I.top:I.top+I.height/2,h.y))},A=w===qn.Right&&!S||w===qn.Left&&!E,L=w===qn.Down&&!N||w===qn.Up&&!x;if(A&&T.x!==h.x){const z=g.scrollLeft+m.x,Y=w===qn.Right&&z<=_.x||w===qn.Left&&z>=P.x;if(Y&&!m.y){g.scrollTo({left:z,behavior:l});return}Y?b.x=g.scrollLeft-z:b.x=w===qn.Right?g.scrollLeft-_.x:g.scrollLeft-P.x,b.x&&g.scrollBy({left:-b.x,behavior:l});break}else if(L&&T.y!==h.y){const z=g.scrollTop+m.y,Y=w===qn.Down&&z<=_.y||w===qn.Up&&z>=P.y;if(Y&&!m.x){g.scrollTo({top:z,behavior:l});return}Y?b.y=g.scrollTop-z:b.y=w===qn.Down?g.scrollTop-_.y:g.scrollTop-P.y,b.y&&g.scrollBy({top:-b.y,behavior:l});break}}this.handleMove(e,ym(S2(h,this.referenceCoordinates),b))}}}handleMove(e,n){const{onMove:r}=this.props;e.preventDefault(),r(n)}handleEnd(e){const{onEnd:n}=this.props;e.preventDefault(),this.detach(),n()}handleCancel(e){const{onCancel:n}=this.props;e.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}lv.activators=[{eventName:"onKeyDown",handler:(t,e,n)=>{let{keyboardCodes:r=r$,onActivation:s}=e,{active:a}=n;const{code:i}=t.nativeEvent;if(r.start.includes(i)){const l=a.activatorNode.current;return l&&t.target!==l?!1:(t.preventDefault(),s==null||s({event:t.nativeEvent}),!0)}return!1}}];function NT(t){return!!(t&&"distance"in t)}function _T(t){return!!(t&&"delay"in t)}class R8{constructor(e,n,r){var s;r===void 0&&(r=RQ(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=n;const{event:a}=e,{target:i}=a;this.props=e,this.events=n,this.document=b0(i),this.documentListeners=new C1(this.document),this.listeners=new C1(r),this.windowListeners=new C1(Xa(i)),this.initialCoordinates=(s=j2(a))!=null?s:fl,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(fi.Resize,this.handleCancel),this.windowListeners.add(fi.DragStart,ET),this.windowListeners.add(fi.VisibilityChange,this.handleCancel),this.windowListeners.add(fi.ContextMenu,ET),this.documentListeners.add(fi.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(_T(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(NT(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:n}=this.props;e&&(this.activated=!0,this.documentListeners.add(fi.Click,OQ,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(fi.SelectionChange,this.removeTextSelection),n(e))}handleMove(e){var n;const{activated:r,initialCoordinates:s,props:a}=this,{onMove:i,options:{activationConstraint:l}}=a;if(!s)return;const u=(n=j2(e))!=null?n:fl,d=S2(s,u);if(!r&&l){if(NT(l)){if(l.tolerance!=null&&G3(d,l.tolerance))return this.handleCancel();if(G3(d,l.distance))return this.handleStart()}return _T(l)&&G3(d,l.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),i(u)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===qn.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}}const zQ={move:{name:"pointermove"},end:{name:"pointerup"}};class cv extends R8{constructor(e){const{event:n}=e,r=b0(n.target);super(e,zQ,r)}}cv.activators=[{eventName:"onPointerDown",handler:(t,e)=>{let{nativeEvent:n}=t,{onActivation:r}=e;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const FQ={move:{name:"mousemove"},end:{name:"mouseup"}};var zS;(function(t){t[t.RightClick=2]="RightClick"})(zS||(zS={}));class HQ extends R8{constructor(e){super(e,FQ,b0(e.event.target))}}HQ.activators=[{eventName:"onMouseDown",handler:(t,e)=>{let{nativeEvent:n}=t,{onActivation:r}=e;return n.button===zS.RightClick?!1:(r==null||r({event:n}),!0)}}];const Y3={move:{name:"touchmove"},end:{name:"touchend"}};class BQ extends R8{constructor(e){super(e,Y3)}static setup(){return window.addEventListener(Y3.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Y3.move.name,e)};function e(){}}}BQ.activators=[{eventName:"onTouchStart",handler:(t,e)=>{let{nativeEvent:n}=t,{onActivation:r}=e;const{touches:s}=n;return s.length>1?!1:(r==null||r({event:n}),!0)}}];var S1;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(S1||(S1={}));var N2;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(N2||(N2={}));function UQ(t){let{acceleration:e,activator:n=S1.Pointer,canScroll:r,draggingRect:s,enabled:a,interval:i=5,order:l=N2.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:p,delta:h,threshold:m}=t;const b=VQ({delta:h,disabled:!a}),[C,g]=rQ(),w=v.useRef({x:0,y:0}),x=v.useRef({x:0,y:0}),S=v.useMemo(()=>{switch(n){case S1.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case S1.DraggableRect:return s}},[n,s,u]),E=v.useRef(null),N=v.useCallback(()=>{const P=E.current;if(!P)return;const I=w.current.x*x.current.x,T=w.current.y*x.current.y;P.scrollBy(I,T)},[]),_=v.useMemo(()=>l===N2.TreeOrder?[...d].reverse():d,[l,d]);v.useEffect(()=>{if(!a||!d.length||!S){g();return}for(const P of _){if((r==null?void 0:r(P))===!1)continue;const I=d.indexOf(P),T=p[I];if(!T)continue;const{direction:A,speed:L}=MQ(P,T,S,e,m);for(const z of["x","y"])b[z][A[z]]||(L[z]=0,A[z]=0);if(L.x>0||L.y>0){g(),E.current=P,C(N,i),w.current=L,x.current=A;return}}w.current={x:0,y:0},x.current={x:0,y:0},g()},[e,N,r,g,a,i,JSON.stringify(S),JSON.stringify(b),C,d,_,p,JSON.stringify(m)])}const WQ={x:{[Hs.Backward]:!1,[Hs.Forward]:!1},y:{[Hs.Backward]:!1,[Hs.Forward]:!1}};function VQ(t){let{delta:e,disabled:n}=t;const r=C2(e);return sx(s=>{if(n||!r||!s)return WQ;const a={x:Math.sign(e.x-r.x),y:Math.sign(e.y-r.y)};return{x:{[Hs.Backward]:s.x[Hs.Backward]||a.x===-1,[Hs.Forward]:s.x[Hs.Forward]||a.x===1},y:{[Hs.Backward]:s.y[Hs.Backward]||a.y===-1,[Hs.Forward]:s.y[Hs.Forward]||a.y===1}}},[n,e,r])}function qQ(t,e){const n=e!==null?t.get(e):void 0,r=n?n.node.current:null;return sx(s=>{var a;return e===null?null:(a=r!=null?r:s)!=null?a:null},[r,e])}function KQ(t,e){return v.useMemo(()=>t.reduce((n,r)=>{const{sensor:s}=r,a=s.activators.map(i=>({eventName:i.eventName,handler:e(i.handler,r)}));return[...n,...a]},[]),[t,e])}var gh;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(gh||(gh={}));var FS;(function(t){t.Optimized="optimized"})(FS||(FS={}));const TT=new Map;function GQ(t,e){let{dragging:n,dependencies:r,config:s}=e;const[a,i]=v.useState(null),{frequency:l,measure:u,strategy:d}=s,p=v.useRef(t),h=w(),m=iv(h),b=v.useCallback(function(x){x===void 0&&(x=[]),!m.current&&i(S=>S===null?x:S.concat(x.filter(E=>!S.includes(E))))},[m]),C=v.useRef(null),g=sx(x=>{if(h&&!n)return TT;if(!x||x===TT||p.current!==t||a!=null){const S=new Map;for(let E of t){if(!E)continue;if(a&&a.length>0&&!a.includes(E.id)&&E.rect.current){S.set(E.id,E.rect.current);continue}const N=E.node.current,_=N?new L8(u(N),N):null;E.rect.current=_,_&&S.set(E.id,_)}return S}return x},[t,a,n,h,u]);return v.useEffect(()=>{p.current=t},[t]),v.useEffect(()=>{h||b()},[n,h]),v.useEffect(()=>{a&&a.length>0&&i(null)},[JSON.stringify(a)]),v.useEffect(()=>{h||typeof l!="number"||C.current!==null||(C.current=setTimeout(()=>{b(),C.current=null},l))},[l,h,b,...r]),{droppableRects:g,measureDroppableContainers:b,measuringScheduled:a!=null};function w(){switch(d){case gh.Always:return!1;case gh.BeforeDragging:return n;default:return!n}}}function O8(t,e){return sx(n=>t?n||(typeof e=="function"?e(t):t):null,[e,t])}function YQ(t,e){return O8(t,e)}function ZQ(t){let{callback:e,disabled:n}=t;const r=r5(e),s=v.useMemo(()=>{if(n||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:a}=window;return new a(r)},[r,n]);return v.useEffect(()=>()=>s==null?void 0:s.disconnect(),[s]),s}function a5(t){let{callback:e,disabled:n}=t;const r=r5(e),s=v.useMemo(()=>{if(n||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:a}=window;return new a(r)},[n]);return v.useEffect(()=>()=>s==null?void 0:s.disconnect(),[s]),s}function XQ(t){return new L8(w0(t),t)}function PT(t,e,n){e===void 0&&(e=XQ);const[r,s]=v.useReducer(l,null),a=ZQ({callback(u){if(t)for(const d of u){const{type:p,target:h}=d;if(p==="childList"&&h instanceof HTMLElement&&h.contains(t)){s();break}}}}),i=a5({callback:s});return Ei(()=>{s(),t?(i==null||i.observe(t),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(i==null||i.disconnect(),a==null||a.disconnect())},[t]),r;function l(u){if(!t)return null;if(t.isConnected===!1){var d;return(d=u!=null?u:n)!=null?d:null}const p=e(t);return JSON.stringify(u)===JSON.stringify(p)?u:p}}function QQ(t){const e=O8(t);return GO(t,e)}const MT=[];function JQ(t){const e=v.useRef(t),n=sx(r=>t?r&&r!==MT&&t&&e.current&&t.parentNode===e.current.parentNode?r:A8(t):MT,[t]);return v.useEffect(()=>{e.current=t},[t]),n}function eJ(t){const[e,n]=v.useState(null),r=v.useRef(t),s=v.useCallback(a=>{const i=K3(a.target);i&&n(l=>l?(l.set(i,$S(i)),new Map(l)):null)},[]);return v.useEffect(()=>{const a=r.current;if(t!==a){i(a);const l=t.map(u=>{const d=K3(u);return d?(d.addEventListener("scroll",s,{passive:!0}),[d,$S(d)]):null}).filter(u=>u!=null);n(l.length?new Map(l):null),r.current=t}return()=>{i(t),i(a)};function i(l){l.forEach(u=>{const d=K3(u);d==null||d.removeEventListener("scroll",s)})}},[s,t]),v.useMemo(()=>t.length?e?Array.from(e.values()).reduce((a,i)=>ym(a,i),fl):t$(t):fl,[t,e])}function DT(t,e){e===void 0&&(e=[]);const n=v.useRef(null);return v.useEffect(()=>{n.current=null},e),v.useEffect(()=>{const r=t!==fl;r&&!n.current&&(n.current=t),!r&&n.current&&(n.current=null)},[t]),n.current?S2(t,n.current):fl}function tJ(t){v.useEffect(()=>{if(!n5)return;const e=t.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of e)n==null||n()}},t.map(e=>{let{sensor:n}=e;return n}))}function nJ(t,e){return v.useMemo(()=>t.reduce((n,r)=>{let{eventName:s,handler:a}=r;return n[s]=i=>{a(i,e)},n},{}),[t,e])}function s$(t){return v.useMemo(()=>t?NQ(t):null,[t])}const Z3=[];function rJ(t,e){e===void 0&&(e=w0);const[n]=t,r=s$(n?Xa(n):null),[s,a]=v.useReducer(l,Z3),i=a5({callback:a});return t.length>0&&s===Z3&&a(),Ei(()=>{t.length?t.forEach(u=>i==null?void 0:i.observe(u)):(i==null||i.disconnect(),a())},[t]),s;function l(){return t.length?t.map(u=>JO(u)?r:new L8(e(u),u)):Z3}}function a$(t){if(!t)return null;if(t.children.length>1)return t;const e=t.children[0];return rx(e)?e:t}function sJ(t){let{measure:e}=t;const[n,r]=v.useState(null),s=v.useCallback(d=>{for(const{target:p}of d)if(rx(p)){r(h=>{const m=e(p);return h?ae(R({},h),{width:m.width,height:m.height}):m});break}},[e]),a=a5({callback:s}),i=v.useCallback(d=>{const p=a$(d);a==null||a.disconnect(),p&&(a==null||a.observe(p)),r(p?e(p):null)},[e,a]),[l,u]=k2(i);return v.useMemo(()=>({nodeRef:l,rect:n,setRef:u}),[n,l,u])}const aJ=[{sensor:cv,options:{}},{sensor:lv,options:{}}],oJ={current:{}},Pb={draggable:{measure:jT},droppable:{measure:jT,strategy:gh.WhileDragging,frequency:FS.Optimized},dragOverlay:{measure:w0}};class j1 extends Map{get(e){var n;return e!=null&&(n=super.get(e))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:n}=e;return!n})}getNodeFor(e){var n,r;return(n=(r=this.get(e))==null?void 0:r.node.current)!=null?n:void 0}}const iJ={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new j1,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:E2},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Pb,measureDroppableContainers:E2,windowRect:null,measuringScheduled:!1},o$={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:E2,draggableNodes:new Map,over:null,measureDroppableContainers:E2},ox=v.createContext(o$),i$=v.createContext(iJ);function lJ(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new j1}}}function cJ(t,e){switch(e.type){case Ns.DragStart:return ae(R({},t),{draggable:ae(R({},t.draggable),{initialCoordinates:e.initialCoordinates,active:e.active})});case Ns.DragMove:return t.draggable.active?ae(R({},t),{draggable:ae(R({},t.draggable),{translate:{x:e.coordinates.x-t.draggable.initialCoordinates.x,y:e.coordinates.y-t.draggable.initialCoordinates.y}})}):t;case Ns.DragEnd:case Ns.DragCancel:return ae(R({},t),{draggable:ae(R({},t.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case Ns.RegisterDroppable:{const{element:n}=e,{id:r}=n,s=new j1(t.droppable.containers);return s.set(r,n),ae(R({},t),{droppable:ae(R({},t.droppable),{containers:s})})}case Ns.SetDroppableDisabled:{const{id:n,key:r,disabled:s}=e,a=t.droppable.containers.get(n);if(!a||r!==a.key)return t;const i=new j1(t.droppable.containers);return i.set(n,ae(R({},a),{disabled:s})),ae(R({},t),{droppable:ae(R({},t.droppable),{containers:i})})}case Ns.UnregisterDroppable:{const{id:n,key:r}=e,s=t.droppable.containers.get(n);if(!s||r!==s.key)return t;const a=new j1(t.droppable.containers);return a.delete(n),ae(R({},t),{droppable:ae(R({},t.droppable),{containers:a})})}default:return t}}function uJ(t){let{disabled:e}=t;const{active:n,activatorEvent:r,draggableNodes:s}=v.useContext(ox),a=C2(r),i=C2(n==null?void 0:n.id);return v.useEffect(()=>{if(!e&&!r&&a&&i!=null){if(!s5(a)||document.activeElement===a.target)return;const l=s.get(i);if(!l)return;const{activatorNode:u,node:d}=l;if(!u.current&&!d.current)return;requestAnimationFrame(()=>{for(const p of[u.current,d.current]){if(!p)continue;const h=oQ(p);if(h){h.focus();break}}})}},[r,e,s,i,a]),null}function l$(t,e){let s=e,{transform:n}=s,r=Ne(s,["transform"]);return t!=null&&t.length?t.reduce((a,i)=>i(R({transform:a},r)),n):n}function dJ(t){return v.useMemo(()=>({draggable:R(R({},Pb.draggable),t==null?void 0:t.draggable),droppable:R(R({},Pb.droppable),t==null?void 0:t.droppable),dragOverlay:R(R({},Pb.dragOverlay),t==null?void 0:t.dragOverlay)}),[t==null?void 0:t.draggable,t==null?void 0:t.droppable,t==null?void 0:t.dragOverlay])}function fJ(t){let{activeNode:e,measure:n,initialRect:r,config:s=!0}=t;const a=v.useRef(!1),{x:i,y:l}=typeof s=="boolean"?{x:s,y:s}:s;Ei(()=>{if(!i&&!l||!e){a.current=!1;return}if(a.current||!r)return;const d=e==null?void 0:e.node.current;if(!d||d.isConnected===!1)return;const p=n(d),h=GO(p,r);if(i||(h.x=0),l||(h.y=0),a.current=!0,Math.abs(h.x)>0||Math.abs(h.y)>0){const m=ZO(d);m&&m.scrollBy({top:h.y,left:h.x})}},[e,i,l,r,n])}const o5=v.createContext(ae(R({},fl),{scaleX:1,scaleY:1}));var Gu;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(Gu||(Gu={}));const $8=v.memo(function(e){var n,r,s,a;let we=e,{id:i,accessibility:l,autoScroll:u=!0,children:d,sensors:p=aJ,collisionDetection:h=I8,measuring:m,modifiers:b}=we,C=Ne(we,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const g=v.useReducer(cJ,void 0,lJ),[w,x]=g,[S,E]=fQ(),[N,_]=v.useState(Gu.Uninitialized),P=N===Gu.Initialized,{draggable:{active:I,nodes:T,translate:A},droppable:{containers:L}}=w,z=I?T.get(I):null,Y=v.useRef({initial:null,translated:null}),O=v.useMemo(()=>{var je;return I!=null?{id:I,data:(je=z==null?void 0:z.data)!=null?je:oJ,rect:Y}:null},[I,z]),$=v.useRef(null),[M,W]=v.useState(null),[V,U]=v.useState(null),J=iv(C,Object.values(C)),H=ax("DndDescribedBy",i),F=v.useMemo(()=>L.getEnabled(),[L]),q=dJ(m),{droppableRects:X,measureDroppableContainers:ne,measuringScheduled:ee}=GQ(F,{dragging:P,dependencies:[A.x,A.y],config:q.droppable}),G=qQ(T,I),Z=v.useMemo(()=>V?j2(V):null,[V]),le=jt(),se=YQ(G,q.draggable.measure);fJ({activeNode:I?T.get(I):null,config:le.layoutShiftCompensation,initialRect:se,measure:q.draggable.measure});const de=PT(G,q.draggable.measure,se),ce=PT(G?G.parentElement:null),pe=v.useRef({activatorEvent:null,active:null,activeNode:G,collisionRect:null,collisions:null,droppableRects:X,draggableNodes:T,draggingNode:null,draggingNodeRect:null,droppableContainers:L,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ve=L.getNodeFor((n=pe.current.over)==null?void 0:n.id),ye=sJ({measure:q.dragOverlay.measure}),be=(r=ye.nodeRef.current)!=null?r:G,Ee=P?(s=ye.rect)!=null?s:de:null,Fe=!!(ye.nodeRef.current&&ye.rect),qe=QQ(Fe?null:de),ot=s$(be?Xa(be):null),Ve=JQ(P?ve!=null?ve:G:null),Ke=rJ(Ve),lt=l$(b,{transform:{x:A.x-qe.x,y:A.y-qe.y,scaleX:1,scaleY:1},activatorEvent:V,active:O,activeNodeRect:de,containerNodeRect:ce,draggingNodeRect:Ee,over:pe.current.over,overlayNodeRect:ye.rect,scrollableAncestors:Ve,scrollableAncestorRects:Ke,windowRect:ot}),De=Z?ym(Z,A):null,Ye=eJ(Ve),dt=DT(Ye),He=DT(Ye,[de]),mt=ym(lt,dt),Ue=Ee?SQ(Ee,lt):null,ht=O&&Ue?h({active:O,collisionRect:Ue,droppableRects:X,droppableContainers:F,pointerCoordinates:De}):null,Qe=D8(ht,"id"),[Rt,Ut]=v.useState(null),wt=Fe?lt:ym(lt,He),Xt=kQ(wt,(a=Rt==null?void 0:Rt.rect)!=null?a:null,de),$t=v.useCallback((je,Ie)=>{let{sensor:nt,options:Pe}=Ie;if($.current==null)return;const gt=T.get($.current);if(!gt)return;const Ze=je.nativeEvent,Re=new nt({active:$.current,activeNode:gt,event:Ze,options:Pe,context:pe,onStart(et){const Et=$.current;if(Et==null)return;const bt=T.get(Et);if(!bt)return;const{onDragStart:_t}=J.current,Mt={active:{id:Et,data:bt.data,rect:Y}};ta.unstable_batchedUpdates(()=>{_t==null||_t(Mt),_(Gu.Initializing),x({type:Ns.DragStart,initialCoordinates:et,active:Et}),S({type:"onDragStart",event:Mt})})},onMove(et){x({type:Ns.DragMove,coordinates:et})},onEnd:Oe(Ns.DragEnd),onCancel:Oe(Ns.DragCancel)});ta.unstable_batchedUpdates(()=>{W(Re),U(je.nativeEvent)});function Oe(et){return function(){return ge(this,null,function*(){const{active:bt,collisions:_t,over:Mt,scrollAdjustedTranslate:an}=pe.current;let dn=null;if(bt&&an){const{cancelDrop:fn}=J.current;dn={activatorEvent:Ze,active:bt,collisions:_t,delta:an,over:Mt},et===Ns.DragEnd&&typeof fn=="function"&&(yield Promise.resolve(fn(dn)))&&(et=Ns.DragCancel)}$.current=null,ta.unstable_batchedUpdates(()=>{x({type:et}),_(Gu.Uninitialized),Ut(null),W(null),U(null);const fn=et===Ns.DragEnd?"onDragEnd":"onDragCancel";if(dn){const mn=J.current[fn];mn==null||mn(dn),S({type:fn,event:dn})}})})}}},[T]),tn=v.useCallback((je,Ie)=>(nt,Pe)=>{const gt=nt.nativeEvent,Ze=T.get(Pe);if($.current!==null||!Ze||gt.dndKit||gt.defaultPrevented)return;const Re={active:Ze};je(nt,Ie.options,Re)===!0&&(gt.dndKit={capturedBy:Ie.sensor},$.current=Pe,$t(nt,Ie))},[T,$t]),Pt=KQ(p,tn);tJ(p),Ei(()=>{de&&N===Gu.Initializing&&_(Gu.Initialized)},[de,N]),v.useEffect(()=>{const{onDragMove:je}=J.current,{active:Ie,activatorEvent:nt,collisions:Pe,over:gt}=pe.current;if(!Ie||!nt)return;const Ze={active:Ie,activatorEvent:nt,collisions:Pe,delta:{x:mt.x,y:mt.y},over:gt};ta.unstable_batchedUpdates(()=>{je==null||je(Ze),S({type:"onDragMove",event:Ze})})},[mt.x,mt.y]),v.useEffect(()=>{const{active:je,activatorEvent:Ie,collisions:nt,droppableContainers:Pe,scrollAdjustedTranslate:gt}=pe.current;if(!je||$.current==null||!Ie||!gt)return;const{onDragOver:Ze}=J.current,Re=Pe.get(Qe),Oe=Re&&Re.rect.current?{id:Re.id,rect:Re.rect.current,data:Re.data,disabled:Re.disabled}:null,et={active:je,activatorEvent:Ie,collisions:nt,delta:{x:gt.x,y:gt.y},over:Oe};ta.unstable_batchedUpdates(()=>{Ut(Oe),Ze==null||Ze(et),S({type:"onDragOver",event:et})})},[Qe]),Ei(()=>{pe.current={activatorEvent:V,active:O,activeNode:G,collisionRect:Ue,collisions:ht,droppableRects:X,draggableNodes:T,draggingNode:be,draggingNodeRect:Ee,droppableContainers:L,over:Rt,scrollableAncestors:Ve,scrollAdjustedTranslate:mt},Y.current={initial:Ee,translated:Ue}},[O,G,ht,Ue,T,be,Ee,X,L,Rt,Ve,mt]),UQ(ae(R({},le),{delta:A,draggingRect:Ue,pointerCoordinates:De,scrollableAncestors:Ve,scrollableAncestorRects:Ke}));const We=v.useMemo(()=>({active:O,activeNode:G,activeNodeRect:de,activatorEvent:V,collisions:ht,containerNodeRect:ce,dragOverlay:ye,draggableNodes:T,droppableContainers:L,droppableRects:X,over:Rt,measureDroppableContainers:ne,scrollableAncestors:Ve,scrollableAncestorRects:Ke,measuringConfiguration:q,measuringScheduled:ee,windowRect:ot}),[O,G,de,V,ht,ce,ye,T,L,X,Rt,ne,Ve,Ke,q,ee,ot]),Je=v.useMemo(()=>({activatorEvent:V,activators:Pt,active:O,activeNodeRect:de,ariaDescribedById:{draggable:H},dispatch:x,draggableNodes:T,over:Rt,measureDroppableContainers:ne}),[V,Pt,O,de,x,H,T,Rt,ne]);return Vt.createElement(qO.Provider,{value:E},Vt.createElement(ox.Provider,{value:Je},Vt.createElement(i$.Provider,{value:We},Vt.createElement(o5.Provider,{value:Xt},d)),Vt.createElement(uJ,{disabled:(l==null?void 0:l.restoreFocus)===!1})),Vt.createElement(mQ,ae(R({},l),{hiddenTextDescribedById:H})));function jt(){const je=(M==null?void 0:M.autoScrollEnabled)===!1,Ie=typeof u=="object"?u.enabled===!1:u===!1,nt=P&&!je&&!Ie;return typeof u=="object"?ae(R({},u),{enabled:nt}):{enabled:nt}}}),hJ=v.createContext(null),IT="button",pJ="Droppable";function c$(t){let{id:e,data:n,disabled:r=!1,attributes:s}=t;const a=ax(pJ),{activators:i,activatorEvent:l,active:u,activeNodeRect:d,ariaDescribedById:p,draggableNodes:h,over:m}=v.useContext(ox),{role:b=IT,roleDescription:C="draggable",tabIndex:g=0}=s!=null?s:{},w=(u==null?void 0:u.id)===e,x=v.useContext(w?o5:hJ),[S,E]=k2(),[N,_]=k2(),P=nJ(i,e),I=iv(n);Ei(()=>(h.set(e,{id:e,key:a,node:S,activatorNode:N,data:I}),()=>{const A=h.get(e);A&&A.key===a&&h.delete(e)}),[h,e]);const T=v.useMemo(()=>({role:b,tabIndex:g,"aria-disabled":r,"aria-pressed":w&&b===IT?!0:void 0,"aria-roledescription":C,"aria-describedby":p.draggable}),[r,b,g,w,C,p.draggable]);return{active:u,activatorEvent:l,activeNodeRect:d,attributes:T,isDragging:w,listeners:r?void 0:P,node:S,over:m,setNodeRef:E,setActivatorNodeRef:_,transform:x}}function u$(){return v.useContext(i$)}const mJ="Droppable",gJ={timeout:25};function i5(t){let{data:e,disabled:n=!1,id:r,resizeObserverConfig:s}=t;const a=ax(mJ),{active:i,dispatch:l,over:u,measureDroppableContainers:d}=v.useContext(ox),p=v.useRef({disabled:n}),h=v.useRef(!1),m=v.useRef(null),b=v.useRef(null),{disabled:C,updateMeasurementsFor:g,timeout:w}=R(R({},gJ),s),x=iv(g!=null?g:r),S=v.useCallback(()=>{if(!h.current){h.current=!0;return}b.current!=null&&clearTimeout(b.current),b.current=setTimeout(()=>{d(Array.isArray(x.current)?x.current:[x.current]),b.current=null},w)},[w]),E=a5({callback:S,disabled:C||!i}),N=v.useCallback((T,A)=>{E&&(A&&(E.unobserve(A),h.current=!1),T&&E.observe(T))},[E]),[_,P]=k2(N),I=iv(e);return v.useEffect(()=>{!E||!_.current||(E.disconnect(),h.current=!1,E.observe(_.current))},[_,E]),Ei(()=>(l({type:Ns.RegisterDroppable,element:{id:r,key:a,disabled:n,node:_,rect:m,data:I}}),()=>l({type:Ns.UnregisterDroppable,key:a,id:r})),[r]),v.useEffect(()=>{n!==p.current.disabled&&(l({type:Ns.SetDroppableDisabled,id:r,key:a,disabled:n}),p.current.disabled=n)},[r,a,n,l]),{active:i,rect:m,isOver:(u==null?void 0:u.id)===r,node:_,over:u,setNodeRef:P}}function vJ(t){let{animation:e,children:n}=t;const[r,s]=v.useState(null),[a,i]=v.useState(null),l=C2(n);return!n&&!r&&l&&s(l),Ei(()=>{if(!a)return;const u=r==null?void 0:r.key,d=r==null?void 0:r.props.id;if(u==null||d==null){s(null);return}Promise.resolve(e(d,a)).then(()=>{s(null)})},[e,r,a]),Vt.createElement(Vt.Fragment,null,n,r?v.cloneElement(r,{ref:i}):null)}const xJ={x:0,y:0,scaleX:1,scaleY:1};function yJ(t){let{children:e}=t;return Vt.createElement(ox.Provider,{value:o$},Vt.createElement(o5.Provider,{value:xJ},e))}const bJ={position:"fixed",touchAction:"none"},wJ=t=>s5(t)?"transform 250ms ease":void 0,kJ=v.forwardRef((t,e)=>{let{as:n,activatorEvent:r,adjustScale:s,children:a,className:i,rect:l,style:u,transform:d,transition:p=wJ}=t;if(!l)return null;const h=s?d:ae(R({},d),{scaleX:1,scaleY:1}),m=R(ae(R({},bJ),{width:l.width,height:l.height,top:l.top,left:l.left,transform:Ko.Transform.toString(h),transformOrigin:s&&r?gQ(r,l):void 0,transition:typeof p=="function"?p(r):p}),u);return Vt.createElement(n,{className:i,style:m,ref:e},a)}),CJ=t=>e=>{let{active:n,dragOverlay:r}=e;const s={},{styles:a,className:i}=t;if(a!=null&&a.active)for(const[l,u]of Object.entries(a.active))u!==void 0&&(s[l]=n.node.style.getPropertyValue(l),n.node.style.setProperty(l,u));if(a!=null&&a.dragOverlay)for(const[l,u]of Object.entries(a.dragOverlay))u!==void 0&&r.node.style.setProperty(l,u);return i!=null&&i.active&&n.node.classList.add(i.active),i!=null&&i.dragOverlay&&r.node.classList.add(i.dragOverlay),function(){for(const[u,d]of Object.entries(s))n.node.style.setProperty(u,d);i!=null&&i.active&&n.node.classList.remove(i.active)}},SJ=t=>{let{transform:{initial:e,final:n}}=t;return[{transform:Ko.Transform.toString(e)},{transform:Ko.Transform.toString(n)}]},eh={duration:250,easing:"ease",keyframes:SJ,sideEffects:CJ({styles:{active:{opacity:"0"}}})};function jJ(t){let{config:e,draggableNodes:n,droppableContainers:r,measuringConfiguration:s}=t;return r5((a,i)=>{if(e===null)return;const l=n.get(a);if(!l)return;const u=l.node.current;if(!u)return;const d=a$(i);if(!d)return;const{transform:p}=Xa(i).getComputedStyle(i),h=YO(p);if(!h)return;const m=typeof e=="function"?e:EJ(e);return n$(u,s.draggable.measure),m({active:{id:a,data:l.data,node:u,rect:s.draggable.measure(u)},draggableNodes:n,dragOverlay:{node:i,rect:s.dragOverlay.measure(d)},droppableContainers:r,measuringConfiguration:s,transform:h})})}function EJ(t){const{duration:e,easing:n,sideEffects:r,keyframes:s}=R(R({},eh),t);return a=>{let S=a,{active:i,dragOverlay:l,transform:u}=S,d=Ne(S,["active","dragOverlay","transform"]);if(!e)return;const p={x:l.rect.left-i.rect.left,y:l.rect.top-i.rect.top},h={scaleX:u.scaleX!==1?i.rect.width*u.scaleX/l.rect.width:1,scaleY:u.scaleY!==1?i.rect.height*u.scaleY/l.rect.height:1},m=R({x:u.x-p.x,y:u.y-p.y},h),b=s(ae(R({},d),{active:i,dragOverlay:l,transform:{initial:u,final:m}})),[C]=b,g=b[b.length-1];if(JSON.stringify(C)===JSON.stringify(g))return;const w=r==null?void 0:r(R({active:i,dragOverlay:l},d)),x=l.node.animate(b,{duration:e,easing:n,fill:"forwards"});return new Promise(E=>{x.onfinish=()=>{w==null||w(),E()}})}}let AT=0;function NJ(t){return v.useMemo(()=>{if(t!=null)return AT++,AT},[t])}const d$=Vt.memo(t=>{let{adjustScale:e=!1,children:n,dropAnimation:r,style:s,transition:a,modifiers:i,wrapperElement:l="div",className:u,zIndex:d=999}=t;const{activatorEvent:p,active:h,activeNodeRect:m,containerNodeRect:b,draggableNodes:C,droppableContainers:g,dragOverlay:w,over:x,measuringConfiguration:S,scrollableAncestors:E,scrollableAncestorRects:N,windowRect:_}=u$(),P=v.useContext(o5),I=NJ(h==null?void 0:h.id),T=l$(i,{activatorEvent:p,active:h,activeNodeRect:m,containerNodeRect:b,draggingNodeRect:w.rect,over:x,overlayNodeRect:w.rect,scrollableAncestors:E,scrollableAncestorRects:N,transform:P,windowRect:_}),A=O8(m),L=jJ({config:r,draggableNodes:C,droppableContainers:g,measuringConfiguration:S}),z=A?w.setRef:void 0;return Vt.createElement(yJ,null,Vt.createElement(vJ,{animation:L},h&&I?Vt.createElement(kJ,{key:I,id:h.id,ref:z,as:l,activatorEvent:p,adjustScale:e,className:u,transition:a,rect:A,style:R({zIndex:d},s),transform:T},n):null))});function Ur(t,e,n){const r=t.slice();return r.splice(n<0?r.length+n:n,0,r.splice(e,1)[0]),r}function _J(t,e){return t.reduce((n,r,s)=>{const a=e.get(r);return a&&(n[s]=a),n},Array(t.length))}function Sy(t){return t!==null&&t>=0}function TJ(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let n=0;n{var e;let{rects:n,activeNodeRect:r,activeIndex:s,overIndex:a,index:i}=t;const l=(e=n[s])!=null?e:r;if(!l)return null;const u=DJ(n,i,s);if(i===s){const d=n[a];return d?R({x:ss&&i<=a?R({x:-l.width-u,y:0},jy):i=a?R({x:l.width+u,y:0},jy):R({x:0,y:0},jy)};function DJ(t,e,n){const r=t[e],s=t[e-1],a=t[e+1];return!r||!s&&!a?0:n{let{rects:e,activeIndex:n,overIndex:r,index:s}=t;const a=Ur(e,r,n),i=e[s],l=a[s];return!l||!i?null:{x:l.left-i.left,y:l.top-i.top,scaleX:l.width/i.width,scaleY:l.height/i.height}},Ey={scaleX:1,scaleY:1},IJ=t=>{var e;let{activeIndex:n,activeNodeRect:r,index:s,rects:a,overIndex:i}=t;const l=(e=a[n])!=null?e:r;if(!l)return null;if(s===n){const d=a[i];return d?R({x:0,y:nn&&s<=i?R({x:0,y:-l.height-u},Ey):s=i?R({x:0,y:l.height+u},Ey):R({x:0,y:0},Ey)};function AJ(t,e,n){const r=t[e],s=t[e-1],a=t[e+1];return r?nr.map(P=>typeof P=="object"&&"id"in P?P.id:P),[r]),C=i!=null,g=i?b.indexOf(i.id):-1,w=d?b.indexOf(d.id):-1,x=v.useRef(b),S=!TJ(b,x.current),E=w!==-1&&g===-1||S,N=PJ(a);Ei(()=>{S&&C&&p(b)},[S,b,C,p]),v.useEffect(()=>{x.current=b},[b]);const _=v.useMemo(()=>({activeIndex:g,containerId:h,disabled:N,disableTransforms:E,items:b,overIndex:w,useDragOverlay:m,sortedRects:_J(b,u),strategy:s}),[g,h,N.draggable,N.droppable,E,b,w,u,m,s]);return Vt.createElement(p$.Provider,{value:_},e)}const LJ=t=>{let{id:e,items:n,activeIndex:r,overIndex:s}=t;return Ur(n,r,s).indexOf(e)},RJ=t=>{let{containerId:e,isSorting:n,wasDragging:r,index:s,items:a,newIndex:i,previousItems:l,previousContainerId:u,transition:d}=t;return!d||!r||l!==a&&s===i?!1:n?!0:i!==s&&e===u},OJ={duration:200,easing:"ease"},m$="transform",$J=Ko.Transition.toString({property:m$,duration:0,easing:"linear"}),zJ={roleDescription:"sortable"};function FJ(t){let{disabled:e,index:n,node:r,rect:s}=t;const[a,i]=v.useState(null),l=v.useRef(n);return Ei(()=>{if(!e&&n!==l.current&&r.current){const u=s.current;if(u){const d=w0(r.current,{ignoreTransform:!0}),p={x:u.left-d.left,y:u.top-d.top,scaleX:u.width/d.width,scaleY:u.height/d.height};(p.x||p.y)&&i(p)}}n!==l.current&&(l.current=n)},[e,n,r,s]),v.useEffect(()=>{a&&i(null)},[a]),a}function l5(t){let{animateLayoutChanges:e=RJ,attributes:n,disabled:r,data:s,getNewIndex:a=LJ,id:i,strategy:l,resizeObserverConfig:u,transition:d=OJ}=t;const{items:p,containerId:h,activeIndex:m,disabled:b,disableTransforms:C,sortedRects:g,overIndex:w,useDragOverlay:x,strategy:S}=v.useContext(p$),E=HJ(r,b),N=p.indexOf(i),_=v.useMemo(()=>R({sortable:{containerId:h,index:N,items:p}},s),[h,s,N,p]),P=v.useMemo(()=>p.slice(p.indexOf(i)),[p,i]),{rect:I,node:T,isOver:A,setNodeRef:L}=i5({id:i,data:_,disabled:E.droppable,resizeObserverConfig:R({updateMeasurementsFor:P},u)}),{active:z,activatorEvent:Y,activeNodeRect:O,attributes:$,setNodeRef:M,listeners:W,isDragging:V,over:U,setActivatorNodeRef:J,transform:H}=c$({id:i,data:_,attributes:R(R({},zJ),n),disabled:E.draggable}),F=nQ(L,M),q=!!z,X=q&&!C&&Sy(m)&&Sy(w),ne=!x&&V,ee=ne&&X?H:null,G=l!=null?l:S,Z=X?ee!=null?ee:G({rects:g,activeNodeRect:O,activeIndex:m,overIndex:w,index:N}):null,le=Sy(m)&&Sy(w)?a({id:i,items:p,activeIndex:m,overIndex:w}):N,se=z==null?void 0:z.id,de=v.useRef({activeId:se,items:p,newIndex:le,containerId:h}),ce=p!==de.current.items,pe=e({active:z,containerId:h,isDragging:V,isSorting:q,id:i,index:N,items:p,newIndex:de.current.newIndex,previousItems:de.current.items,previousContainerId:de.current.containerId,transition:d,wasDragging:de.current.activeId!=null}),ve=FJ({disabled:!pe,index:N,node:T,rect:I});return v.useEffect(()=>{q&&de.current.newIndex!==le&&(de.current.newIndex=le),h!==de.current.containerId&&(de.current.containerId=h),p!==de.current.items&&(de.current.items=p)},[q,le,h,p]),v.useEffect(()=>{if(se===de.current.activeId)return;if(se&&!de.current.activeId){de.current.activeId=se;return}const be=setTimeout(()=>{de.current.activeId=se},50);return()=>clearTimeout(be)},[se]),{active:z,activeIndex:m,attributes:$,data:_,rect:I,index:N,newIndex:le,items:p,isOver:A,isSorting:q,isDragging:V,listeners:W,node:T,overIndex:w,over:U,setNodeRef:F,setActivatorNodeRef:J,setDroppableNodeRef:L,setDraggableNodeRef:M,transform:ve!=null?ve:Z,transition:ye()};function ye(){if(ve||ce&&de.current.newIndex===N)return $J;if(!(ne&&!s5(Y)||!d)&&(q||pe))return Ko.Transition.toString(ae(R({},d),{property:m$}))}}function HJ(t,e){var n,r;return typeof t=="boolean"?{draggable:t,droppable:!1}:{draggable:(n=t==null?void 0:t.draggable)!=null?n:e.draggable,droppable:(r=t==null?void 0:t.droppable)!=null?r:e.droppable}}qn.Down,qn.Right,qn.Up,qn.Left;function us(t,e,n){const r=s=>t.filter(a=>a.parentId===s&&a.tabId===e).map(a=>ae(R({},a),{id:a.itemId.toString(),children:[],type:a.isBoard?Ks:a.isClip?Wo:void 0})).sort((a,i)=>a.orderNumber-i.orderNumber).map(a=>{const i=a;return"isBoard"in i&&i.isBoard&&i.type===Ks&&(i.children=r(i.id.toString()),i.children.length===0&&delete i.children),i});return r(n||null)}function g$(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;en};return typeof t=="function"?r.read=t:(r.init=t,r.read=function(s){return s(this)},r.write=function(s,a,i){return a(this,typeof i=="function"?i(s(this)):i)}),e&&(r.write=e),r}const X3=t=>"init"in t,Q3=t=>!!t.write,T2=new WeakMap,UJ=(t,e)=>{T2.set(t,e),t.catch(()=>{}).finally(()=>T2.delete(t))},RT=(t,e)=>{const n=T2.get(t);n&&(T2.delete(t),n(e))},OT=(t,e)=>{t.status="fulfilled",t.value=e},$T=(t,e)=>{t.status="rejected",t.reason=e},WJ=t=>typeof(t==null?void 0:t.then)=="function",Ng=(t,e)=>!!t&&"v"in t&&"v"in e&&Object.is(t.v,e.v),zT=(t,e)=>!!t&&"e"in t&&"e"in e&&Object.is(t.e,e.e),cp=t=>!!t&&"v"in t&&t.v instanceof Promise,VJ=(t,e)=>"v"in t&&"v"in e&&t.v.orig&&t.v.orig===e.v.orig,Ny=t=>{if("e"in t)throw t.e;return t.v},qJ=()=>{const t=new WeakMap,e=new WeakMap,n=new Map;let r,s;(ys?"production":void 0)!=="production"&&(r=new Set,s=new Set);const a=T=>t.get(T),i=(T,A)=>{(ys?"production":void 0)!=="production"&&Object.freeze(A);const L=t.get(T);if(t.set(T,A),n.has(T)||n.set(T,L),cp(L)){const z="v"in A?A.v instanceof Promise?A.v:Promise.resolve(A.v):Promise.reject(A.e);L.v!==z&&RT(L.v,z)}},l=(T,A,L)=>{const z=new Map;let Y=!1;L.forEach((O,$)=>{!O&&$===T&&(O=A),O?(z.set($,O),A.d.get($)!==O&&(Y=!0)):(ys?"production":void 0)!=="production"&&console.warn("[Bug] atom state not found")}),(Y||A.d.size!==z.size)&&(A.d=z)},u=(T,A,L)=>{const z=a(T),Y={d:(z==null?void 0:z.d)||new Map,v:A};if(L&&l(T,Y,L),Ng(z,Y)&&z.d===Y.d)return z;if(cp(z)&&cp(Y)&&VJ(z,Y)){if(z.d===Y.d)return z;Y.v=z.v}return i(T,Y),Y},d=(T,A,L,z)=>{if(WJ(A)){let Y;const O=()=>{const M=a(T);if(!cp(M)||M.v!==$)return;const W=u(T,$,L);e.has(T)&&M.d!==W.d&&_(T,W,M.d)},$=new Promise((M,W)=>{let V=!1;A.then(U=>{V||(V=!0,OT($,U),M(U),O())},U=>{V||(V=!0,$T($,U),W(U),O())}),Y=U=>{V||(V=!0,U.then(J=>OT($,J),J=>$T($,J)),M(U))}});return $.orig=A,$.status="pending",UJ($,M=>{M&&Y(M),z==null||z()}),u(T,$,L)}return u(T,A,L)},p=(T,A,L)=>{const z=a(T),Y={d:(z==null?void 0:z.d)||new Map,e:A};return L&&l(T,Y,L),zT(z,Y)&&z.d===Y.d?z:(i(T,Y),Y)},h=(T,A)=>{const L=a(T);if(!A&&L&&(e.has(T)||Array.from(L.d).every(([V,U])=>{if(V===T)return!0;const J=h(V);return J===U||Ng(J,U)})))return L;const z=new Map;let Y=!0;const O=V=>{if(V===T){const J=a(V);if(J)return z.set(V,J),Ny(J);if(X3(V))return z.set(V,void 0),V.init;throw new Error("no atom init")}const U=h(V);return z.set(V,U),Ny(U)};let $,M;const W={get signal(){return $||($=new AbortController),$.signal},get setSelf(){return(ys?"production":void 0)!=="production"&&!Q3(T)&&console.warn("setSelf function cannot be used with read-only atom"),!M&&Q3(T)&&(M=(...V)=>{if((ys?"production":void 0)!=="production"&&Y&&console.warn("setSelf function cannot be called in sync"),!Y)return S(T,...V)}),M}};try{const V=T.read(O,W);return d(T,V,z,()=>$==null?void 0:$.abort())}catch(V){return p(T,V,z)}finally{Y=!1}},m=T=>Ny(h(T)),b=T=>{let A=e.get(T);return A||(A=E(T)),A},C=(T,A)=>!A.l.size&&(!A.t.size||A.t.size===1&&A.t.has(T)),g=T=>{const A=e.get(T);A&&C(T,A)&&N(T)},w=T=>{const A=new Map,L=new WeakMap,z=$=>{var M;const W=new Set((M=e.get($))==null?void 0:M.t);return n.forEach((V,U)=>{var J;(J=a(U))!=null&&J.d.has($)&&W.add(U)}),W},Y=$=>{z($).forEach(M=>{M!==$&&(A.set(M,(A.get(M)||new Set).add($)),L.set(M,(L.get(M)||0)+1),Y(M))})};Y(T);const O=$=>{z($).forEach(M=>{var W;if(M!==$){let V=L.get(M);if(V&&L.set(M,--V),!V){let U=!!((W=A.get(M))!=null&&W.size);if(U){const J=a(M),H=h(M,!0);U=!Ng(J,H)}U||A.forEach(J=>J.delete(M))}O(M)}})};O(T)},x=(T,...A)=>{let L=!0;const z=$=>Ny(h($)),Y=($,...M)=>{let W;if($===T){if(!X3($))throw new Error("atom not writable");const V=a($),U=d($,M[0]);Ng(V,U)||w($)}else W=x($,...M);if(!L){const V=P();(ys?"production":void 0)!=="production"&&r.forEach(U=>U({type:"async-write",flushed:V}))}return W},O=T.write(z,Y,...A);return L=!1,O},S=(T,...A)=>{const L=x(T,...A),z=P();return(ys?"production":void 0)!=="production"&&r.forEach(Y=>Y({type:"write",flushed:z})),L},E=(T,A,L)=>{var z;const Y=L||[];(z=a(T))==null||z.d.forEach(($,M)=>{const W=e.get(M);W?W.t.add(T):M!==T&&E(M,T,Y)}),h(T);const O={t:new Set(A&&[A]),l:new Set};if(e.set(T,O),(ys?"production":void 0)!=="production"&&s.add(T),Q3(T)&&T.onMount){const{onMount:$}=T;Y.push(()=>{const M=$((...W)=>S(T,...W));M&&(O.u=M)})}return L||Y.forEach($=>$()),O},N=T=>{var A;const L=(A=e.get(T))==null?void 0:A.u;L&&L(),e.delete(T),(ys?"production":void 0)!=="production"&&s.delete(T);const z=a(T);z?(cp(z)&&RT(z.v),z.d.forEach((Y,O)=>{if(O!==T){const $=e.get(O);$&&($.t.delete(T),C(O,$)&&N(O))}})):(ys?"production":void 0)!=="production"&&console.warn("[Bug] could not find atom state to unmount",T)},_=(T,A,L)=>{const z=new Set(A.d.keys());L==null||L.forEach((Y,O)=>{if(z.has(O)){z.delete(O);return}const $=e.get(O);$&&($.t.delete(T),C(O,$)&&N(O))}),z.forEach(Y=>{const O=e.get(Y);O?O.t.add(T):e.has(T)&&E(Y,T)})},P=()=>{let T;for((ys?"production":void 0)!=="production"&&(T=new Set);n.size;){const A=Array.from(n);n.clear(),A.forEach(([L,z])=>{const Y=a(L);if(Y){const O=e.get(L);O&&Y.d!==(z==null?void 0:z.d)&&_(L,Y,z==null?void 0:z.d),O&&!(!cp(z)&&(Ng(z,Y)||zT(z,Y)))&&(O.l.forEach($=>$()),(ys?"production":void 0)!=="production"&&T.add(L))}else(ys?"production":void 0)!=="production"&&console.warn("[Bug] no atom state to flush")})}if((ys?"production":void 0)!=="production")return T},I=(T,A)=>{const L=b(T),z=P(),Y=L.l;return Y.add(A),(ys?"production":void 0)!=="production"&&r.forEach(O=>O({type:"sub",flushed:z})),()=>{Y.delete(A),g(T),(ys?"production":void 0)!=="production"&&r.forEach(O=>O({type:"unsub"}))}};return(ys?"production":void 0)!=="production"?{get:m,set:S,sub:I,dev_subscribe_store:(T,A)=>{if(A!==2)throw new Error("The current StoreListener revision is 2.");return r.add(T),()=>{r.delete(T)}},dev_get_mounted_atoms:()=>s.values(),dev_get_atom_state:T=>t.get(T),dev_get_mounted:T=>e.get(T),dev_restore_atoms:T=>{for(const[L,z]of T)X3(L)&&(d(L,z),w(L));const A=P();r.forEach(L=>L({type:"restore",flushed:A}))}}:{get:m,set:S,sub:I}};let J3;(ys?"production":void 0)!=="production"&&(typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__=="number"?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1);const KJ=()=>(J3||((ys?"production":void 0)!=="production"&&globalThis.__NUMBER_OF_JOTAI_INSTANCES__!==1&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),J3=qJ()),J3),GJ=v.createContext(void 0),YJ=t=>{const e=v.useContext(GJ);return(t==null?void 0:t.store)||e||KJ()},ZJ=t=>typeof(t==null?void 0:t.then)=="function",XJ=Vt.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t)});function Tt(t,e){const n=YJ(e),[[r,s,a],i]=v.useReducer(d=>{const p=n.get(t);return Object.is(d[0],p)&&d[1]===n&&d[2]===t?d:[p,n,t]},void 0,()=>[n.get(t),n,t]);let l=r;(s!==n||a!==t)&&(i(),l=n.get(t));const u=e==null?void 0:e.delay;return v.useEffect(()=>{const d=n.sub(t,()=>{if(typeof u=="number"){setTimeout(i,u);return}i()});return i(),d},[n,t,u]),v.useDebugValue(l),ZJ(l)?XJ(l):l}const z8="-";function QJ(t){const e=eee(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;function s(i){const l=i.split(z8);return l[0]===""&&l.length!==1&&l.shift(),v$(l,e)||JJ(i)}function a(i,l){const u=n[i]||[];return l&&r[i]?[...u,...r[i]]:u}return{getClassGroupId:s,getConflictingClassGroupIds:a}}function v$(t,e){var i;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),s=r?v$(t.slice(1),r):void 0;if(s)return s;if(e.validators.length===0)return;const a=t.join(z8);return(i=e.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId}const FT=/^\[(.+)\]$/;function JJ(t){if(FT.test(t)){const e=FT.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}}function eee(t){const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return nee(Object.entries(t.classGroups),n).forEach(([a,i])=>{HS(i,r,a,e)}),r}function HS(t,e,n,r){t.forEach(s=>{if(typeof s=="string"){const a=s===""?e:HT(e,s);a.classGroupId=n;return}if(typeof s=="function"){if(tee(s)){HS(s(r),e,n,r);return}e.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([a,i])=>{HS(i,HT(e,a),n,r)})})}function HT(t,e){let n=t;return e.split(z8).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function tee(t){return t.isThemeGetter}function nee(t,e){return e?t.map(([n,r])=>{const s=r.map(a=>typeof a=="string"?e+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[e+i,l])):a);return[n,s]}):t}function ree(t){if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;function s(a,i){n.set(a,i),e++,e>t&&(e=0,r=n,n=new Map)}return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return s(a,i),i},set(a,i){n.has(a)?n.set(a,i):s(a,i)}}}const x$="!";function see(t){const e=t.separator,n=e.length===1,r=e[0],s=e.length;return function(i){const l=[];let u=0,d=0,p;for(let g=0;gd?p-d:void 0;return{modifiers:l,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:C}}}function aee(t){if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e}function oee(t){return R({cache:ree(t.cacheSize),splitModifiers:see(t)},QJ(t))}const iee=/\s+/;function lee(t,e){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:s}=e,a=new Set;return t.trim().split(iee).map(i=>{const{modifiers:l,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:p}=n(i);let h=r(p?d.substring(0,p):d),m=!!p;if(!h){if(!p)return{isTailwindClass:!1,originalClassName:i};if(h=r(d),!h)return{isTailwindClass:!1,originalClassName:i};m=!1}const b=aee(l).join(":");return{isTailwindClass:!0,modifierId:u?b+x$:b,classGroupId:h,originalClassName:i,hasPostfixModifier:m}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:l,classGroupId:u,hasPostfixModifier:d}=i,p=l+u;return a.has(p)?!1:(a.add(p),s(u,d).forEach(h=>a.add(l+h)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function cee(){let t=0,e,n,r="";for(;th(p),t());return n=oee(d),r=n.cache.get,s=n.cache.set,a=l,l(u)}function l(u){const d=r(u);if(d)return d;const p=lee(u,n);return s(u,p),p}return function(){return a(cee.apply(null,arguments))}}function Nr(t){const e=n=>n[t]||[];return e.isThemeGetter=!0,e}const b$=/^\[(?:([a-z-]+):)?(.+)\]$/i,dee=/^\d+\/\d+$/,fee=new Set(["px","full","screen"]),hee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mee=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Fi(t){return If(t)||fee.has(t)||dee.test(t)}function Lu(t){return k0(t,"length",See)}function If(t){return!!t&&!Number.isNaN(Number(t))}function _y(t){return k0(t,"number",If)}function _g(t){return!!t&&Number.isInteger(Number(t))}function vee(t){return t.endsWith("%")&&If(t.slice(0,-1))}function Fn(t){return b$.test(t)}function Ru(t){return hee.test(t)}const xee=new Set(["length","size","percentage"]);function yee(t){return k0(t,xee,w$)}function bee(t){return k0(t,"position",w$)}const wee=new Set(["image","url"]);function kee(t){return k0(t,wee,Eee)}function Cee(t){return k0(t,"",jee)}function Tg(){return!0}function k0(t,e,n){const r=b$.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1}function See(t){return pee.test(t)}function w$(){return!1}function jee(t){return mee.test(t)}function Eee(t){return gee.test(t)}function Nee(){const t=Nr("colors"),e=Nr("spacing"),n=Nr("blur"),r=Nr("brightness"),s=Nr("borderColor"),a=Nr("borderRadius"),i=Nr("borderSpacing"),l=Nr("borderWidth"),u=Nr("contrast"),d=Nr("grayscale"),p=Nr("hueRotate"),h=Nr("invert"),m=Nr("gap"),b=Nr("gradientColorStops"),C=Nr("gradientColorStopPositions"),g=Nr("inset"),w=Nr("margin"),x=Nr("opacity"),S=Nr("padding"),E=Nr("saturate"),N=Nr("scale"),_=Nr("sepia"),P=Nr("skew"),I=Nr("space"),T=Nr("translate"),A=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",Fn,e],Y=()=>[Fn,e],O=()=>["",Fi,Lu],$=()=>["auto",If,Fn],M=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],U=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",Fn],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[If,_y],q=()=>[If,Fn];return{cacheSize:500,separator:":",theme:{colors:[Tg],spacing:[Fi,Lu],blur:["none","",Ru,Fn],brightness:F(),borderColor:[t],borderRadius:["none","","full",Ru,Fn],borderSpacing:Y(),borderWidth:O(),contrast:F(),grayscale:J(),hueRotate:q(),invert:J(),gap:Y(),gradientColorStops:[t],gradientColorStopPositions:[vee,Lu],inset:z(),margin:z(),opacity:F(),padding:Y(),saturate:F(),scale:F(),sepia:J(),skew:q(),space:Y(),translate:Y()},classGroups:{aspect:[{aspect:["auto","square","video",Fn]}],container:["container"],columns:[{columns:[Ru]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...M(),Fn]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_g,Fn]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fn]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",_g,Fn]}],"grid-cols":[{"grid-cols":[Tg]}],"col-start-end":[{col:["auto",{span:["full",_g,Fn]},Fn]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[Tg]}],"row-start-end":[{row:["auto",{span:[_g,Fn]},Fn]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fn]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",Fn,e]}],"min-w":[{"min-w":["min","max","fit",Fn,Fi]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Ru]},Ru,Fn]}],h:[{h:[Fn,e,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Fi,Fn]}],"max-h":[{"max-h":[Fn,e,"min","max","fit"]}],"font-size":[{text:["base",Ru,Lu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_y]}],"font-family":[{font:[Tg]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Fn]}],"line-clamp":[{"line-clamp":["none",If,_y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fi,Fn]}],"list-image":[{"list-image":["none",Fn]}],"list-style-type":[{list:["none","disc","decimal",Fn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Fi,Lu]}],"underline-offset":[{"underline-offset":["auto",Fi,Fn]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:Y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...M(),bee]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yee]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kee]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:W()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Fi,Fn]}],"outline-w":[{outline:[Fi,Lu]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Fi,Lu]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Ru,Cee]}],"shadow-color":[{shadow:[Tg]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":V()}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Ru,Fn]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[E]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fn]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",Fn]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[_g,Fn]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fn]}],accent:[{accent:["auto",t]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fn]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fn]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Fi,Lu,_y]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const _ee=uee(Nee);function Uc(t){if(!t&&typeof t!="string")return!1;const e=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return/^https?:\/\//.test(t)?!1:e.test(t)}function Tee(t){return/^\d+\.\d+\.\d+$/.test(t)}function Pee(t,e){if(!t||!Tee(t))return-1;const n=t.split("."),r=e.split(".");for(let s=0;si)return 1;if(a=M?$:""+Array(M+1-V.length).join(W)+$},N={s:E,z:function($){var M=-$.utcOffset(),W=Math.abs(M),V=Math.floor(W/60),U=W%60;return(M<=0?"+":"-")+E(V,2,"0")+":"+E(U,2,"0")},m:function $(M,W){if(M.date()1)return $(H[0])}else{var F=M.name;P[F]=M,U=F}return!V&&U&&(_=U),U||!V&&_},L=function($,M){if(T($))return $.clone();var W=typeof M=="object"?M:{};return W.date=$,W.args=arguments,new Y(W)},z=N;z.l=A,z.i=T,z.w=function($,M){return L($,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var Y=function(){function $(W){this.$L=A(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[I]=!0}var M=$.prototype;return M.parse=function(W){this.$d=function(V){var U=V.date,J=V.utc;if(U===null)return new Date(NaN);if(z.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var H=U.match(w);if(H){var F=H[2]-1||0,q=(H[7]||"0").substring(0,3);return J?new Date(Date.UTC(H[1],F,H[3]||1,H[4]||0,H[5]||0,H[6]||0,q)):new Date(H[1],F,H[3]||1,H[4]||0,H[5]||0,H[6]||0,q)}}return new Date(U)}(W),this.init()},M.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},M.$utils=function(){return z},M.isValid=function(){return this.$d.toString()!==g},M.isSame=function(W,V){var U=L(W);return this.startOf(V)<=U&&U<=this.endOf(V)},M.isAfter=function(W,V){return L(W){const r=()=>{n(t.getState())},s=t.subscribe(r);return r(),s},LT(n=>n(e),(n,r,s)=>{const a=typeof s=="function"?s(n(e)):s;t.setState(a,!0)})}var Dee={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const BT=t=>{let e;const n=new Set,r=(u,d)=>{const p=typeof u=="function"?u(e):u;if(!Object.is(p,e)){const h=e;e=(d!=null?d:typeof p!="object")?p:Object.assign({},e,p),n.forEach(m=>m(e,h))}},s=()=>e,l={setState:r,getState:s,subscribe:u=>(n.add(u),()=>n.delete(u)),destroy:()=>{(Dee?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return e=t(r,s,l),l},S0=t=>t?BT(t):BT;/*! @license DOMPurify 3.1.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.3/LICENSE */const{entries:C$,setPrototypeOf:UT,isFrozen:Iee,getPrototypeOf:Aee,getOwnPropertyDescriptor:Lee}=Object;let{freeze:Ka,seal:Ni,create:S$}=Object,{apply:BS,construct:US}=typeof Reflect!="undefined"&&Reflect;Ka||(Ka=function(e){return e});Ni||(Ni=function(e){return e});BS||(BS=function(e,n,r){return e.apply(n,r)});US||(US=function(e,n){return new e(...n)});const Ty=xo(Array.prototype.forEach),WT=xo(Array.prototype.pop),Pg=xo(Array.prototype.push),Mb=xo(String.prototype.toLowerCase),eC=xo(String.prototype.toString),VT=xo(String.prototype.match),Mg=xo(String.prototype.replace),Ree=xo(String.prototype.indexOf),Oee=xo(String.prototype.trim),Hi=xo(Object.prototype.hasOwnProperty),La=xo(RegExp.prototype.test),Dg=$ee(TypeError),qT=xo(Number.isNaN);function xo(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s2&&arguments[2]!==void 0?arguments[2]:Mb;UT&&UT(t,null);let r=e.length;for(;r--;){let s=e[r];if(typeof s=="string"){const a=n(s);a!==s&&(Iee(e)||(e[r]=a),s=a)}t[s]=!0}return t}function zee(t){for(let e=0;e/gm),Wee=Ni(/\${[\w\W]*}/gm),Vee=Ni(/^data-[\-\w.\u00B7-\uFFFF]/),qee=Ni(/^aria-[\-\w]+$/),j$=Ni(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Kee=Ni(/^(?:\w+script|data):/i),Gee=Ni(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),E$=Ni(/^html$/i),Yee=Ni(/^[a-z][.\w]*(-[.\w]+)+$/i);var XT=Object.freeze({__proto__:null,MUSTACHE_EXPR:Bee,ERB_EXPR:Uee,TMPLIT_EXPR:Wee,DATA_ATTR:Vee,ARIA_ATTR:qee,IS_ALLOWED_URI:j$,IS_SCRIPT_OR_DATA:Kee,ATTR_WHITESPACE:Gee,DOCTYPE_NAME:E$,CUSTOM_ELEMENT:Yee});const gf={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Zee=function(){return typeof window=="undefined"?null:window},Xee=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const s="data-tt-policy-suffix";n&&n.hasAttribute(s)&&(r=n.getAttribute(s));const a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML(i){return i},createScriptURL(i){return i}})}catch(i){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function N$(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zee();const e=ut=>N$(ut);if(e.version="3.1.3",e.removed=[],!t||!t.document||t.document.nodeType!==gf.document)return e.isSupported=!1,e;let{document:n}=t;const r=n,s=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:i,Node:l,Element:u,NodeFilter:d,NamedNodeMap:p=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:m,trustedTypes:b}=t,C=u.prototype,g=Py(C,"cloneNode"),w=Py(C,"nextSibling"),x=Py(C,"childNodes"),S=Py(C,"parentNode");if(typeof i=="function"){const ut=n.createElement("template");ut.content&&ut.content.ownerDocument&&(n=ut.content.ownerDocument)}let E,N="";const{implementation:_,createNodeIterator:P,createDocumentFragment:I,getElementsByTagName:T}=n,{importNode:A}=r;let L={};e.isSupported=typeof C$=="function"&&typeof S=="function"&&_&&_.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:z,ERB_EXPR:Y,TMPLIT_EXPR:O,DATA_ATTR:$,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:U}=XT;let{IS_ALLOWED_URI:J}=XT,H=null;const F=Zn({},[...KT,...tC,...nC,...rC,...GT]);let q=null;const X=Zn({},[...YT,...sC,...ZT,...My]);let ne=Object.seal(S$(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ee=null,G=null,Z=!0,le=!0,se=!1,de=!0,ce=!1,pe=!0,ve=!1,ye=!1,be=!1,Ee=!1,Fe=!1,qe=!1,ot=!0,Ve=!1;const Ke="user-content-";let lt=!0,De=!1,Ye={},dt=null;const He=Zn({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let mt=null;const Ue=Zn({},["audio","video","img","source","image","track"]);let ht=null;const Qe=Zn({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Rt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",wt="http://www.w3.org/1999/xhtml";let Xt=wt,$t=!1,tn=null;const Pt=Zn({},[Rt,Ut,wt],eC);let We=null;const Je=["application/xhtml+xml","text/html"],jt="text/html";let we=null,je=null;const Ie=255,nt=n.createElement("form"),Pe=function(xe){return xe instanceof RegExp||xe instanceof Function},gt=function(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(je&&je===xe)){if((!xe||typeof xe!="object")&&(xe={}),xe=bf(xe),We=Je.indexOf(xe.PARSER_MEDIA_TYPE)===-1?jt:xe.PARSER_MEDIA_TYPE,we=We==="application/xhtml+xml"?eC:Mb,H=Hi(xe,"ALLOWED_TAGS")?Zn({},xe.ALLOWED_TAGS,we):F,q=Hi(xe,"ALLOWED_ATTR")?Zn({},xe.ALLOWED_ATTR,we):X,tn=Hi(xe,"ALLOWED_NAMESPACES")?Zn({},xe.ALLOWED_NAMESPACES,eC):Pt,ht=Hi(xe,"ADD_URI_SAFE_ATTR")?Zn(bf(Qe),xe.ADD_URI_SAFE_ATTR,we):Qe,mt=Hi(xe,"ADD_DATA_URI_TAGS")?Zn(bf(Ue),xe.ADD_DATA_URI_TAGS,we):Ue,dt=Hi(xe,"FORBID_CONTENTS")?Zn({},xe.FORBID_CONTENTS,we):He,ee=Hi(xe,"FORBID_TAGS")?Zn({},xe.FORBID_TAGS,we):{},G=Hi(xe,"FORBID_ATTR")?Zn({},xe.FORBID_ATTR,we):{},Ye=Hi(xe,"USE_PROFILES")?xe.USE_PROFILES:!1,Z=xe.ALLOW_ARIA_ATTR!==!1,le=xe.ALLOW_DATA_ATTR!==!1,se=xe.ALLOW_UNKNOWN_PROTOCOLS||!1,de=xe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ce=xe.SAFE_FOR_TEMPLATES||!1,pe=xe.SAFE_FOR_XML!==!1,ve=xe.WHOLE_DOCUMENT||!1,Ee=xe.RETURN_DOM||!1,Fe=xe.RETURN_DOM_FRAGMENT||!1,qe=xe.RETURN_TRUSTED_TYPE||!1,be=xe.FORCE_BODY||!1,ot=xe.SANITIZE_DOM!==!1,Ve=xe.SANITIZE_NAMED_PROPS||!1,lt=xe.KEEP_CONTENT!==!1,De=xe.IN_PLACE||!1,J=xe.ALLOWED_URI_REGEXP||j$,Xt=xe.NAMESPACE||wt,ne=xe.CUSTOM_ELEMENT_HANDLING||{},xe.CUSTOM_ELEMENT_HANDLING&&Pe(xe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ne.tagNameCheck=xe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),xe.CUSTOM_ELEMENT_HANDLING&&Pe(xe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ne.attributeNameCheck=xe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),xe.CUSTOM_ELEMENT_HANDLING&&typeof xe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ne.allowCustomizedBuiltInElements=xe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ce&&(le=!1),Fe&&(Ee=!0),Ye&&(H=Zn({},GT),q=[],Ye.html===!0&&(Zn(H,KT),Zn(q,YT)),Ye.svg===!0&&(Zn(H,tC),Zn(q,sC),Zn(q,My)),Ye.svgFilters===!0&&(Zn(H,nC),Zn(q,sC),Zn(q,My)),Ye.mathMl===!0&&(Zn(H,rC),Zn(q,ZT),Zn(q,My))),xe.ADD_TAGS&&(H===F&&(H=bf(H)),Zn(H,xe.ADD_TAGS,we)),xe.ADD_ATTR&&(q===X&&(q=bf(q)),Zn(q,xe.ADD_ATTR,we)),xe.ADD_URI_SAFE_ATTR&&Zn(ht,xe.ADD_URI_SAFE_ATTR,we),xe.FORBID_CONTENTS&&(dt===He&&(dt=bf(dt)),Zn(dt,xe.FORBID_CONTENTS,we)),lt&&(H["#text"]=!0),ve&&Zn(H,["html","head","body"]),H.table&&(Zn(H,["tbody"]),delete ee.tbody),xe.TRUSTED_TYPES_POLICY){if(typeof xe.TRUSTED_TYPES_POLICY.createHTML!="function")throw Dg('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof xe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Dg('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=xe.TRUSTED_TYPES_POLICY,N=E.createHTML("")}else E===void 0&&(E=Xee(b,s)),E!==null&&typeof N=="string"&&(N=E.createHTML(""));Ka&&Ka(xe),je=xe}},Ze=Zn({},["mi","mo","mn","ms","mtext"]),Re=Zn({},["foreignobject","annotation-xml"]),Oe=Zn({},["title","style","font","a","script"]),et=Zn({},[...tC,...nC,...Fee]),Et=Zn({},[...rC,...Hee]),bt=function(xe){let Ge=S(xe);(!Ge||!Ge.tagName)&&(Ge={namespaceURI:Xt,tagName:"template"});const ft=Mb(xe.tagName),pt=Mb(Ge.tagName);return tn[xe.namespaceURI]?xe.namespaceURI===Ut?Ge.namespaceURI===wt?ft==="svg":Ge.namespaceURI===Rt?ft==="svg"&&(pt==="annotation-xml"||Ze[pt]):!!et[ft]:xe.namespaceURI===Rt?Ge.namespaceURI===wt?ft==="math":Ge.namespaceURI===Ut?ft==="math"&&Re[pt]:!!Et[ft]:xe.namespaceURI===wt?Ge.namespaceURI===Ut&&!Re[pt]||Ge.namespaceURI===Rt&&!Ze[pt]?!1:!Et[ft]&&(Oe[ft]||!et[ft]):!!(We==="application/xhtml+xml"&&tn[xe.namespaceURI]):!1},_t=function(xe){Pg(e.removed,{element:xe});try{xe.parentNode.removeChild(xe)}catch(Ge){xe.remove()}},Mt=function(xe,Ge){try{Pg(e.removed,{attribute:Ge.getAttributeNode(xe),from:Ge})}catch(ft){Pg(e.removed,{attribute:null,from:Ge})}if(Ge.removeAttribute(xe),xe==="is"&&!q[xe])if(Ee||Fe)try{_t(Ge)}catch(ft){}else try{Ge.setAttribute(xe,"")}catch(ft){}},an=function(xe){let Ge=null,ft=null;if(be)xe=""+xe;else{const At=VT(xe,/^[\r\n\t ]+/);ft=At&&At[0]}We==="application/xhtml+xml"&&Xt===wt&&(xe=''+xe+"");const pt=E?E.createHTML(xe):xe;if(Xt===wt)try{Ge=new m().parseFromString(pt,We)}catch(At){}if(!Ge||!Ge.documentElement){Ge=_.createDocument(Xt,"template",null);try{Ge.documentElement.innerHTML=$t?N:pt}catch(At){}}const xt=Ge.body||Ge.documentElement;return xe&&ft&&xt.insertBefore(n.createTextNode(ft),xt.childNodes[0]||null),Xt===wt?T.call(Ge,ve?"html":"body")[0]:ve?Ge.documentElement:xt},dn=function(xe){return P.call(xe.ownerDocument||xe,xe,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},fn=function(xe){return xe instanceof h&&(typeof xe.__depth!="undefined"&&typeof xe.__depth!="number"||typeof xe.__removalCount!="undefined"&&typeof xe.__removalCount!="number"||typeof xe.nodeName!="string"||typeof xe.textContent!="string"||typeof xe.removeChild!="function"||!(xe.attributes instanceof p)||typeof xe.removeAttribute!="function"||typeof xe.setAttribute!="function"||typeof xe.namespaceURI!="string"||typeof xe.insertBefore!="function"||typeof xe.hasChildNodes!="function")},mn=function(xe){return typeof l=="function"&&xe instanceof l},hn=function(xe,Ge,ft){L[xe]&&Ty(L[xe],pt=>{pt.call(e,Ge,ft,je)})},nn=function(xe){let Ge=null;if(hn("beforeSanitizeElements",xe,null),fn(xe))return _t(xe),!0;const ft=we(xe.nodeName);if(hn("uponSanitizeElement",xe,{tagName:ft,allowedTags:H}),xe.hasChildNodes()&&!mn(xe.firstElementChild)&&La(/<[/\w]/g,xe.innerHTML)&&La(/<[/\w]/g,xe.textContent)||xe.nodeType===gf.progressingInstruction||pe&&xe.nodeType===gf.comment&&La(/<[/\w]/g,xe.data))return _t(xe),!0;if(!H[ft]||ee[ft]){if(!ee[ft]&&Sn(ft)&&(ne.tagNameCheck instanceof RegExp&&La(ne.tagNameCheck,ft)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(ft)))return!1;if(lt&&!dt[ft]){const pt=S(xe)||xe.parentNode,xt=x(xe)||xe.childNodes;if(xt&&pt){const At=xt.length;for(let Lt=At-1;Lt>=0;--Lt){const Ht=g(xt[Lt],!0);Ht.__removalCount=(xe.__removalCount||0)+1,pt.insertBefore(Ht,w(xe))}}}return _t(xe),!0}return xe instanceof u&&!bt(xe)||(ft==="noscript"||ft==="noembed"||ft==="noframes")&&La(/<\/no(script|embed|frames)/i,xe.innerHTML)?(_t(xe),!0):(ce&&xe.nodeType===gf.text&&(Ge=xe.textContent,Ty([z,Y,O],pt=>{Ge=Mg(Ge,pt," ")}),xe.textContent!==Ge&&(Pg(e.removed,{element:xe.cloneNode()}),xe.textContent=Ge)),hn("afterSanitizeElements",xe,null),!1)},on=function(xe,Ge,ft){if(ot&&(Ge==="id"||Ge==="name")&&(ft in n||ft in nt||ft==="__depth"||ft==="__removalCount"))return!1;if(!(le&&!G[Ge]&&La($,Ge))){if(!(Z&&La(M,Ge))){if(!q[Ge]||G[Ge]){if(!(Sn(xe)&&(ne.tagNameCheck instanceof RegExp&&La(ne.tagNameCheck,xe)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(xe))&&(ne.attributeNameCheck instanceof RegExp&&La(ne.attributeNameCheck,Ge)||ne.attributeNameCheck instanceof Function&&ne.attributeNameCheck(Ge))||Ge==="is"&&ne.allowCustomizedBuiltInElements&&(ne.tagNameCheck instanceof RegExp&&La(ne.tagNameCheck,ft)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(ft))))return!1}else if(!ht[Ge]){if(!La(J,Mg(ft,V,""))){if(!((Ge==="src"||Ge==="xlink:href"||Ge==="href")&&xe!=="script"&&Ree(ft,"data:")===0&&mt[xe])){if(!(se&&!La(W,Mg(ft,V,"")))){if(ft)return!1}}}}}}return!0},Sn=function(xe){return xe!=="annotation-xml"&&VT(xe,U)},pn=function(xe){hn("beforeSanitizeAttributes",xe,null);const{attributes:Ge}=xe;if(!Ge)return;const ft={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q};let pt=Ge.length;for(;pt--;){const xt=Ge[pt],{name:At,namespaceURI:Lt,value:Ht}=xt,Bt=we(At);let tt=At==="value"?Ht:Oee(Ht);if(ft.attrName=Bt,ft.attrValue=tt,ft.keepAttr=!0,ft.forceKeepAttr=void 0,hn("uponSanitizeAttribute",xe,ft),tt=ft.attrValue,ft.forceKeepAttr||(Mt(At,xe),!ft.keepAttr))continue;if(!de&&La(/\/>/i,tt)){Mt(At,xe);continue}if(pe&&La(/((--!?|])>)|<\/(style|title)/i,tt)){Mt(At,xe);continue}ce&&Ty([z,Y,O],Zt=>{tt=Mg(tt,Zt," ")});const Kt=we(xe.nodeName);if(on(Kt,Bt,tt)){if(Ve&&(Bt==="id"||Bt==="name")&&(Mt(At,xe),tt=Ke+tt),E&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!Lt)switch(b.getAttributeType(Kt,Bt)){case"TrustedHTML":{tt=E.createHTML(tt);break}case"TrustedScriptURL":{tt=E.createScriptURL(tt);break}}try{Lt?xe.setAttributeNS(Lt,At,tt):xe.setAttribute(At,tt),fn(xe)?_t(xe):WT(e.removed)}catch(Zt){}}}hn("afterSanitizeAttributes",xe,null)},rn=function ut(xe){let Ge=null;const ft=dn(xe);for(hn("beforeSanitizeShadowDOM",xe,null);Ge=ft.nextNode();){if(hn("uponSanitizeShadowNode",Ge,null),nn(Ge))continue;const pt=S(Ge);Ge.nodeType===gf.element&&(pt&&pt.__depth?Ge.__depth=(Ge.__removalCount||0)+pt.__depth+1:Ge.__depth=1),(Ge.__depth>=Ie||Ge.__depth<0||qT(Ge.__depth))&&_t(Ge),Ge.content instanceof a&&(Ge.content.__depth=Ge.__depth,ut(Ge.content)),pn(Ge)}hn("afterSanitizeShadowDOM",xe,null)};return e.sanitize=function(ut){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ge=null,ft=null,pt=null,xt=null;if($t=!ut,$t&&(ut=""),typeof ut!="string"&&!mn(ut))if(typeof ut.toString=="function"){if(ut=ut.toString(),typeof ut!="string")throw Dg("dirty is not a string, aborting")}else throw Dg("toString is not a function");if(!e.isSupported)return ut;if(ye||gt(xe),e.removed=[],typeof ut=="string"&&(De=!1),De){if(ut.nodeName){const Ht=we(ut.nodeName);if(!H[Ht]||ee[Ht])throw Dg("root node is forbidden and cannot be sanitized in-place")}}else if(ut instanceof l)Ge=an(""),ft=Ge.ownerDocument.importNode(ut,!0),ft.nodeType===gf.element&&ft.nodeName==="BODY"||ft.nodeName==="HTML"?Ge=ft:Ge.appendChild(ft);else{if(!Ee&&!ce&&!ve&&ut.indexOf("<")===-1)return E&&qe?E.createHTML(ut):ut;if(Ge=an(ut),!Ge)return Ee?null:qe?N:""}Ge&&be&&_t(Ge.firstChild);const At=dn(De?ut:Ge);for(;pt=At.nextNode();){if(nn(pt))continue;const Ht=S(pt);pt.nodeType===gf.element&&(Ht&&Ht.__depth?pt.__depth=(pt.__removalCount||0)+Ht.__depth+1:pt.__depth=1),(pt.__depth>=Ie||pt.__depth<0||qT(pt.__depth))&&_t(pt),pt.content instanceof a&&(pt.content.__depth=pt.__depth,rn(pt.content)),pn(pt)}if(De)return ut;if(Ee){if(Fe)for(xt=I.call(Ge.ownerDocument);Ge.firstChild;)xt.appendChild(Ge.firstChild);else xt=Ge;return(q.shadowroot||q.shadowrootmode)&&(xt=A.call(r,xt,!0)),xt}let Lt=ve?Ge.outerHTML:Ge.innerHTML;return ve&&H["!doctype"]&&Ge.ownerDocument&&Ge.ownerDocument.doctype&&Ge.ownerDocument.doctype.name&&La(E$,Ge.ownerDocument.doctype.name)&&(Lt="\n"+Lt),ce&&Ty([z,Y,O],Ht=>{Lt=Mg(Lt,Ht," ")}),E&&qe?E.createHTML(Lt):Lt},e.setConfig=function(){let ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};gt(ut),ye=!0},e.clearConfig=function(){je=null,ye=!1},e.isValidAttribute=function(ut,xe,Ge){je||gt({});const ft=we(ut),pt=we(xe);return on(ft,pt,Ge)},e.addHook=function(ut,xe){typeof xe=="function"&&(L[ut]=L[ut]||[],Pg(L[ut],xe))},e.removeHook=function(ut){if(L[ut])return WT(L[ut])},e.removeHooks=function(ut){L[ut]&&(L[ut]=[])},e.removeAllHooks=function(){L={}},e}var Od=N$();Od.addHook("afterSanitizeAttributes",function(t){"target"in t&&(t.setAttribute("target","_blank"),t.setAttribute("rel","noopener"))});const QT=It(null),Xi=It(!1),Hr=It(0),Lp=It(0),Af=It(!1),Ga=It(!1),WS=It(!1),VS=It(!1),rr=It(null),rd=It(null),P2=It(!1),Lf=It(null),lo=It(null),nl=It(null),Ui=It(null),Yu=It(null),Cf=It(null),Oa=It(null),em=It(!1),il=It(!1),ll=It(null),Rf=It(!1),tm=It(!1),Db=It(!1),Ib=It(!1),a1=It(null),hi=It(null),qS=It(null),Ec=It(!1),Sf=It(null),Ts=It(null),sd=It(null),Bs=It(null),va=It(null),vh=It(null),Ua=It(null),Hl=It(null),o1=It(null),Dd=It(null),Qm=It(null),uv=It(null),Nc=It(null),Dy=It(null),aC=It(null),Zu=It(null),Wa=It(null),Oo=It(!1),Ab=It(!1),Pc=It(!1),Xr=It(!1),oC=It(null),Iy=It(null),Qee=It(null),jf=It(null),Qi=It(null),ad=It(null),Bu=It(null),od=It(null),Ef=It(null),io=It(null),uo=It(!1),zs=It(null),Wi=It(!1),cl=It(!1),id=It(!1),Jee=It(!1);function Of(){hi.value=null,uv.value=null,a1.value=null,vh.value=null,Ua.value=null,Ts.value=null,tm.value=!1,sd.value=null,Pc.value=!1,Xr.value=!1,Dd.value=null,Hl.value=null,Qm.value=null}function th(){Bu.value=null,Qi.value=null,Wi.value=!1,io.value=null,Qee.value=null,zs.value=null,cl.value=!1,id.value=!1,Jee.value=!1,(od.value||Ef.value)&&(uo.value=!1)}const Tn=It(!1),Ki=It(null),M2=It(null),Ay=It(null),nm=It(null),D2=It(!1),Nf=It(!1),Mc=It(!1),ma=It(!1),Ly=It(!1),up=It(!1),Ig=It(!1),Ao=It(!1),ai=It(!1),so=It(!1),Jm=It(!1);var _$={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const JT={appLastUpdateVersion:"0.0.1",appLastUpdateDate:"",isAppReady:!1,appDataDir:"",isHistoryEnabled:!0,isFirstRun:!0,historyDetectLanguagesEnabledList:[],appToursCompletedList:[],appToursSkippedList:[],historyDetectLanguagesPrioritizedList:[],historyExclusionList:"",isExclusionListEnabled:!1,isAutoClearSettingsEnabled:!1,isAutoMaskWordsListEnabled:!1,isNotTourCompletedOrSkipped:()=>!1,autoMaskWordsList:"",isHistoryDetectLanguageEnabled:!0,historyDetectLanguageMinLines:3,autoClearSettingsDuration:1,autoClearSettingsDurationType:"months",copyPasteDelay:0,copyPasteSequencePinnedDelay:3,copyPasteSequenceIsReversOrder:!1,pasteSequenceEachSeparator:"",isSearchNameOrLabelOnly:!0,isAutoCloseOnCopyPaste:!1,isAutoPreviewLinkCardsEnabled:!0,isAutoFavoriteOnDoubleCopyEnabled:!0,isShowCollectionNameOnNavBar:!0,isShowDisabledCollectionsOnNavBarMenu:!0,isClipNotesHoverCardsEnabled:!0,clipNotesHoverCardsDelayMS:2e3,clipNotesMaxWidth:220,clipNotesMaxHeight:120,isSkipAutoStartPrompt:!1,userSelectedLanguage:"",isHistoryAutoUpdateOnCaputureEnabled:!0,isIdleScreenAutoLockEnabled:!1,idleScreenAutoLockTimeInMinutes:null,isShowHistoryCaptureOnLockedScreen:!1,screenLockPassCode:null,screenLockPassCodeLength:0,screenLockRecoveryPasswordMasked:null,isAppLocked:!1,isScreenLockPassCodeRequireOnStart:!1,licenseKey:null,isFirstRunAfterUpdate:!1,CONST:{APP_DETECT_LANGUAGES_SUPPORTED:[]},setClipNotesMaxWidth:()=>{},setClipNotesMaxHeight:()=>{},setIsHistoryEnabled:()=>{},setCopyPasteDelay:()=>{},setCopyPasteSequencePinnedDelay:()=>{},setCopyPasteSequenceIsReversOrder:()=>{},setPasteSequenceEachSeparator:()=>{},setIsExclusionListEnabled:()=>{},setHistoryDetectLanguageMinLines:()=>{},setAutoClearSettingsDuration:()=>{},setAutoClearSettingsDurationType:()=>{},setIsHistoryDetectLanguageEnabled:()=>{},setHistoryExclusionList:()=>{},setIsHistoryAutoUpdateOnCaputureEnabled:()=>{},setHistoryDetectLanguagesEnabledList:()=>{},setAppToursCompletedList:()=>{},setAppToursSkippedList:()=>{},setHistoryDetectLanguagesPrioritizedList:()=>{},setIsAutoClearSettingsEnabled:()=>{},setIsAutoMaskWordsListEnabled:()=>{},setIsAutoCloseOnCopyPaste:()=>{},setIsAutoPreviewLinkCardsEnabled:()=>{},setIsAutoFavoriteOnDoubleCopyEnabled:()=>{},setIsSearchNameOrLabelOnly:()=>{},setAutoMaskWordsList:()=>{},setIsShowCollectionNameOnNavBar:()=>{},setIsShowDisabledCollectionsOnNavBarMenu:()=>{},setIsSkipAutoStartPrompt:()=>{},setIdleScreenAutoLockTimeInMinutes:()=>{},setIsIdleScreenAutoLockEnabled:()=>{},setIsShowHistoryCaptureOnLockedScreen:()=>{},setScreenLockPassCode:()=>{},setScreenLockPassCodeLength:()=>{},setScreenLockResetTempPassCode:()=>{},setScreenLockRecoveryPasswordMasked:()=>{},setIsAppLocked:()=>{},setClipNotesHoverCardsDelayMS:()=>{},setIsClipNotesHoverCardsEnabled:()=>{},setIsScreenLockPassCodeRequireOnStart:()=>{},setLicenseKey:()=>{},setIsFirstRunAfterUpdate:()=>{},initConstants:()=>{},setAppDataDir:()=>{},updateSetting:()=>{},setIsFirstRun:()=>{},setAppLastUpdateVersion:()=>{},setAppLastUpdateDate:()=>{},setUserSelectedLanguage:()=>{},initSettings:()=>{},checkForUpdate:()=>{},resetCheckForUpdate:()=>{},shouldSkipVersionCheck:()=>!1,setUpdaterRemindLater:()=>{},setUpdaterSkipVersion:()=>{},relaunchApp:()=>{TO()},installUpdate:()=>{},hashPassword:t=>Ln("hash_password",{password:t}),storePassword:(t,e)=>Ln("store_os_password",{name:t,password:e}),getStoredPassword:t=>{try{return Ln("get_stored_os_password",{name:t})}catch(e){return Promise.resolve(null)}},verifyStoredPassword:(t,e)=>Ln("verify_os_password",{name:t,password:e}),deleteStoredPassword:t=>Ln("delete_os_password",{name:t}),verifyPassword:(t,e)=>Ln("verify_password",{password:t,hash:e})},bm=S0()((t,e)=>ae(R({},JT),{updateSetting:(n,r)=>ge(void 0,null,function*(){let s;typeof r=="boolean"?s={valueBool:r}:typeof r=="string"?s={valueText:r}:typeof r=="number"?s={valueInt:r}:s={valueInt:null,valueText:null,valueBool:null};try{return yield Ln("update_setting",{setting:R({name:n},s)}),(n==="isHistoryEnabled"||n==="userSelectedLanguage"||n==="isAppLocked")&&Ln("build_system_menu"),t(n==="historyDetectLanguagesEnabledList"&&typeof r=="string"?()=>({historyDetectLanguagesEnabledList:r.split(",")}):n==="appToursCompletedList"&&typeof r=="string"?()=>({appToursCompletedList:r.split(",")}):n==="appToursSkippedList"&&typeof r=="string"?()=>({appToursSkippedList:r.split(",")}):n==="historyDetectLanguagesPrioritizedList"&&typeof r=="string"?()=>({historyDetectLanguagesPrioritizedList:r.split(",")}):()=>({[n]:r}))}catch(a){console.error(a)}}),setIsHistoryAutoUpdateOnCaputureEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isHistoryAutoUpdateOnCaputureEnabled",n)}),setIsHistoryEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isHistoryEnabled",n)}),setIsHistoryDetectLanguageEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isHistoryDetectLanguageEnabled",n)}),setHistoryDetectLanguageMinLines:n=>ge(void 0,null,function*(){return e().updateSetting("historyDetectLanguageMinLines",n)}),setHistoryExclusionList:n=>ge(void 0,null,function*(){return e().updateSetting("historyExclusionList",n)}),setAutoMaskWordsList:n=>ge(void 0,null,function*(){return e().updateSetting("autoMaskWordsList",n)}),setUserSelectedLanguage:n=>ge(void 0,null,function*(){return e().updateSetting("userSelectedLanguage",n)}),setAutoClearSettingsDuration:n=>ge(void 0,null,function*(){return e().updateSetting("autoClearSettingsDuration",n)}),setAutoClearSettingsDurationType:n=>ge(void 0,null,function*(){return e().updateSetting("autoClearSettingsDurationType",n)}),setIsAutoMaskWordsListEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isAutoMaskWordsListEnabled",n)}),setIsAutoCloseOnCopyPaste:n=>ge(void 0,null,function*(){return e().updateSetting("isAutoCloseOnCopyPaste",n)}),setIsSearchNameOrLabelOnly:n=>ge(void 0,null,function*(){return e().updateSetting("isSearchNameOrLabelOnly",n)}),setIsAutoClearSettingsEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isAutoClearSettingsEnabled",n)}),setIsAutoPreviewLinkCardsEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isAutoPreviewLinkCardsEnabled",n)}),setIsAutoFavoriteOnDoubleCopyEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isAutoFavoriteOnDoubleCopyEnabled",n)}),setIsExclusionListEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isExclusionListEnabled",n)}),setIsShowCollectionNameOnNavBar:n=>ge(void 0,null,function*(){return e().updateSetting("isShowCollectionNameOnNavBar",n)}),setIsSkipAutoStartPrompt:n=>ge(void 0,null,function*(){return e().updateSetting("isSkipAutoStartPrompt",n)}),setIsShowDisabledCollectionsOnNavBarMenu:n=>ge(void 0,null,function*(){return e().updateSetting("isShowDisabledCollectionsOnNavBarMenu",n)}),setHistoryDetectLanguagesEnabledList:n=>ge(void 0,null,function*(){return e().updateSetting("historyDetectLanguagesEnabledList",n.filter(Boolean).join())}),setAppToursCompletedList:n=>ge(void 0,null,function*(){return e().updateSetting("appToursCompletedList",n.filter(Boolean).join())}),setAppToursSkippedList:n=>ge(void 0,null,function*(){return e().updateSetting("appToursSkippedList",n.filter(Boolean).join())}),setHistoryDetectLanguagesPrioritizedList:n=>ge(void 0,null,function*(){return e().updateSetting("historyDetectLanguagesPrioritizedList",n.filter(Boolean).join())}),setIsClipNotesHoverCardsEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isClipNotesHoverCardsEnabled",n)}),setClipNotesHoverCardsDelayMS:n=>ge(void 0,null,function*(){return e().updateSetting("clipNotesHoverCardsDelayMS",n)}),setClipNotesMaxHeight:n=>ge(void 0,null,function*(){return e().updateSetting("clipNotesMaxHeight",n)}),setClipNotesMaxWidth:n=>ge(void 0,null,function*(){return e().updateSetting("clipNotesMaxWidth",n)}),setCopyPasteDelay:n=>ge(void 0,null,function*(){return e().updateSetting("copyPasteDelay",n)}),setCopyPasteSequencePinnedDelay:n=>ge(void 0,null,function*(){return e().updateSetting("copyPasteSequencePinnedDelay",n)}),setCopyPasteSequenceIsReversOrder:n=>ge(void 0,null,function*(){return e().updateSetting("copyPasteSequenceIsReversOrder",n)}),setPasteSequenceEachSeparator:n=>ge(void 0,null,function*(){return e().updateSetting("pasteSequenceEachSeparator",n)}),setIsIdleScreenAutoLockEnabled:n=>ge(void 0,null,function*(){return e().updateSetting("isIdleScreenAutoLockEnabled",n)}),setIdleScreenAutoLockTimeInMinutes:n=>ge(void 0,null,function*(){return e().updateSetting("idleScreenAutoLockTimeInMinutes",n)}),setIsShowHistoryCaptureOnLockedScreen:n=>ge(void 0,null,function*(){return e().updateSetting("isShowHistoryCaptureOnLockedScreen",n)}),setScreenLockPassCode:n=>ge(void 0,null,function*(){return e().updateSetting("screenLockPassCode",n||null)}),setScreenLockPassCodeLength:n=>ge(void 0,null,function*(){return e().updateSetting("screenLockPassCodeLength",n)}),setScreenLockRecoveryPasswordMasked:n=>ge(void 0,null,function*(){return e().updateSetting("screenLockRecoveryPasswordMasked",n)}),setIsAppLocked:n=>ge(void 0,null,function*(){return e().updateSetting("isAppLocked",n)}),setIsScreenLockPassCodeRequireOnStart:n=>ge(void 0,null,function*(){return e().updateSetting("isScreenLockPassCodeRequireOnStart",n)}),setLicenseKey:n=>ge(void 0,null,function*(){return e().updateSetting("licenseKey",n)}),setIsFirstRunAfterUpdate:n=>ge(void 0,null,function*(){return e().updateSetting("isFirstRunAfterUpdate",n)}),setIsFirstRun:n=>e().updateSetting("isFirstRun",n),isNotTourCompletedOrSkipped:n=>{const{appToursCompletedList:r,appToursSkippedList:s}=e();return!r.includes(n)&&!s.includes(n)},installUpdate:()=>ge(void 0,null,function*(){Ao.value=!0,ma.value=!1,ai.value=!1;try{yield bT(),yield AX(),Ao.value=!1,so.value=!0,e().setIsFirstRunAfterUpdate(!0),Ki.value&&e().setAppLastUpdateVersion(Ki.value),Ay.value&&e().setAppLastUpdateDate(Ay.value),setTimeout(()=>{TO()},600)}catch(n){console.error("Install Update Error:",n);const{message:r}=n;(r!=null&&r.toLocaleLowerCase().includes("permission")||r!=null&&r.toLocaleLowerCase().includes("denied"))&&(ai.value=!0),Ao.value=!1,ma.value=!0}}),checkForUpdate:n=>ge(void 0,null,function*(){var r,s;Mc.value=!0;try{const{shouldUpdate:a,manifest:i}=yield bT();if(yield new Promise(l=>setTimeout(l,1e3)),a&&(i!=null&&i.version)&&!e().shouldSkipVersionCheck(i==null?void 0:i.version,n)){if(Ki.value=(r=i==null?void 0:i.version)!=null?r:null,i!=null&&i.body?window.markdown.ready.then(l=>{try{const u=l.parse(i==null?void 0:i.body);nm.value=Od.sanitize(u,{USE_PROFILES:{html:!0}})}catch(u){_$.TAURI_DEBUG&&console.error("Markdown Parse Error:",u),nm.value=null}}):nm.value=null,i!=null&&i.date){const l=(s=i==null?void 0:i.date.split(" ")[0])!=null?s:null;M2.value=Pr(l).format("DD MMMM, YYYY"),Ay.value=Pr(l).format("YYYY-MM-DD")}D2.value=!0,Mc.value=!1}else n?(Nf.value=!0,setTimeout(()=>{Nf.value=!1,Mc.value=!1},3e3)):Mc.value=!1}catch(a){console.error("Check Update Error:",a),n?(Mc.value=!1,Nf.value=!0,setTimeout(()=>{Nf.value=!1,Mc.value=!1},3e3)):Mc.value=!1}n&&(e().setUpdaterRemindLater(!0),e().setUpdaterSkipVersion(null))}),shouldSkipVersionCheck:(n,r)=>{if(r)return!1;const s=localStorage.getItem("updaterRemindLater");if(s&&Pr().isBefore(s))return!0;const a=localStorage.getItem("updaterSkipVersion");return!!(a&&(a===n||Pee(a,n)>=0))},setUpdaterRemindLater:n=>{if(n){localStorage.removeItem("updaterRemindLater");return}localStorage.setItem("updaterRemindLater",Pr().add(3,"day").format("YYYY-MM-DD")),e().resetCheckForUpdate()},setUpdaterSkipVersion:n=>{if(n===null){localStorage.removeItem("updaterSkipVersion");return}localStorage.setItem("updaterSkipVersion",n),e().resetCheckForUpdate()},resetCheckForUpdate:()=>{D2.value=!1,Nf.value=!1,so.value=!1,Ao.value=!1,ma.value=!1,Ki.value=null,nm.value=null,M2.value=null,Ay.value=null},initConstants:n=>t(()=>({CONST:n})),setAppDataDir:n=>t(()=>({appDataDir:n})),setAppLastUpdateVersion:n=>e().updateSetting("appLastUpdateVersion",n),setAppLastUpdateDate:n=>e().updateSetting("appLastUpdateDate",n),initSettings:n=>{const r=Object.keys(JT).reduce((s,a)=>(typeof n[a]!="undefined"&&n[a]!==null&&(s[a]=n[a]),s),{});t(s=>R(R({},s),r))}})),Cr=C0(bm);_$.TAURI_DEBUG&&(window.settingsStore=bm);const ete=(t,e={enabled:!0})=>(n,r,s)=>{return e.enabled,t(n,r,s);const a=t(n,r,s),i=a.actions;if(i&&typeof i=="object"){const l=Object.fromEntries(Object.entries(i).map(([u,d])=>{let p=d;return typeof d=="function"&&(p=(...h)=>{var b;const m=d(...h);return(b=e.logger)==null||b.call(e,u,h),m}),[u,p]}));return ae(R({},a),{actions:l})}return a};var tte={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function c5(t,e){let n;try{n=t()}catch(s){return}return{getItem:s=>{var a;const i=u=>u===null?null:JSON.parse(u,e==null?void 0:e.reviver),l=(a=n.getItem(s))!=null?a:null;return l instanceof Promise?l.then(i):i(l)},setItem:(s,a)=>n.setItem(s,JSON.stringify(a,e==null?void 0:e.replacer)),removeItem:s=>n.removeItem(s)}}const dv=t=>e=>{try{const n=t(e);return n instanceof Promise?n:{then(r){return dv(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return dv(r)(n)}}}},nte=(t,e)=>(n,r,s)=>{let a=R({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:w=>w,version:0,merge:(w,x)=>R(R({},x),w)},e),i=!1;const l=new Set,u=new Set;let d;try{d=a.getStorage()}catch(w){}if(!d)return t((...w)=>{console.warn("[zustand persist middleware] Unable to update item '".concat(a.name,"', the given storage is currently unavailable.")),n(...w)},r,s);const p=dv(a.serialize),h=()=>{const w=a.partialize(R({},r()));let x;const S=p({state:w,version:a.version}).then(E=>d.setItem(a.name,E)).catch(E=>{x=E});if(x)throw x;return S},m=s.setState;s.setState=(w,x)=>{m(w,x),h()};const b=t((...w)=>{n(...w),h()},r,s);let C;const g=()=>{var w;if(!d)return;i=!1,l.forEach(S=>S(r()));const x=((w=a.onRehydrateStorage)==null?void 0:w.call(a,r()))||void 0;return dv(d.getItem.bind(d))(a.name).then(S=>{if(S)return a.deserialize(S)}).then(S=>{if(S)if(typeof S.version=="number"&&S.version!==a.version){if(a.migrate)return a.migrate(S.state,S.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return S.state}).then(S=>{var E;return C=a.merge(S,(E=r())!=null?E:b),n(C,!0),h()}).then(()=>{x==null||x(C,void 0),i=!0,u.forEach(S=>S(C))}).catch(S=>{x==null||x(void 0,S)})};return s.persist={setOptions:w=>{a=R(R({},a),w),w.getStorage&&(d=w.getStorage())},clearStorage:()=>{d==null||d.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>g(),hasHydrated:()=>i,onHydrate:w=>(l.add(w),()=>{l.delete(w)}),onFinishHydration:w=>(u.add(w),()=>{u.delete(w)})},g(),C||b},rte=(t,e)=>(n,r,s)=>{let a=R({storage:c5(()=>localStorage),partialize:g=>g,version:0,merge:(g,w)=>R(R({},w),g)},e),i=!1;const l=new Set,u=new Set;let d=a.storage;if(!d)return t((...g)=>{console.warn("[zustand persist middleware] Unable to update item '".concat(a.name,"', the given storage is currently unavailable.")),n(...g)},r,s);const p=()=>{const g=a.partialize(R({},r()));return d.setItem(a.name,{state:g,version:a.version})},h=s.setState;s.setState=(g,w)=>{h(g,w),p()};const m=t((...g)=>{n(...g),p()},r,s);let b;const C=()=>{var g,w;if(!d)return;i=!1,l.forEach(S=>{var E;return S((E=r())!=null?E:m)});const x=((w=a.onRehydrateStorage)==null?void 0:w.call(a,(g=r())!=null?g:m))||void 0;return dv(d.getItem.bind(d))(a.name).then(S=>{if(S)if(typeof S.version=="number"&&S.version!==a.version){if(a.migrate)return a.migrate(S.state,S.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return S.state}).then(S=>{var E;return b=a.merge(S,(E=r())!=null?E:m),n(b,!0),p()}).then(()=>{x==null||x(b,void 0),b=r(),i=!0,u.forEach(S=>S(b))}).catch(S=>{x==null||x(void 0,S)})};return s.persist={setOptions:g=>{a=R(R({},a),g),g.storage&&(d=g.storage)},clearStorage:()=>{d==null||d.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>C(),hasHydrated:()=>i,onHydrate:g=>(l.add(g),()=>{l.delete(g)}),onFinishHydration:g=>(u.add(g),()=>{u.delete(g)})},a.skipHydration||C(),b||m},ste=(t,e)=>"getStorage"in e||"serialize"in e||"deserialize"in e?((tte?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),nte(t,e)):rte(t,e),F8=ste,ate={avatar:"",userName:"",email:"",authority:[]},ote=S0()(F8(ete(t=>({user:R({},ate),signedIn:!1,token:null,setUser:e=>t(n=>ae(R({},n),{user:ae(R({},n.user),{avatar:e.avatar,email:e.email,userName:e.userName,authority:e.authority})})),signInSuccess:e=>t(()=>({signedIn:!0,token:e})),signOutSuccess:()=>t(()=>({signedIn:!1,token:null}))}),{enabled:!0}),{name:"auth-store",storage:c5(()=>localStorage)}));C0(ote);const ite=350,lte=320,cte=["slate","sky","stone","teal","indigo","green","yellow","blue","purple","rose","lime","emerald","amber","cyan","fuchsia","pink"],Rp=["85%","90%","95%","100%","105%","110%","120%","125%"],ute=[300,500,800,1e3,1500,2e3,2500,3e3,3500,5e3],iC=[{title:"Small",width:220,iconSize:15,height:120},{title:"Medium",width:320,iconSize:18,height:160},{title:"Large",width:420,iconSize:21,height:220}],dte={fontSize:"100%",isWindows:!1,isSwapPanels:!1,panelSize:320,isShowPinned:!0,isShowHistoryPinned:!0,isMacOSX:!0,isLinux:!1,isScrolling:!1,returnRoute:"/menu",setIsShowPinned:()=>{},getDefaultPanelWidth:()=>320,setIsShowHistoryPinned:()=>{},setReturnRoute:()=>{},setIsSwapPanels:()=>{},setIsScrolling:()=>{},setOSType:()=>{},resetFontSize:()=>{},increaseFontSize:()=>{},setFontSize:()=>{},setPanelSize:()=>{},decreaseFontSize:()=>{},setAppDataDir:()=>{}},T$=S0()(F8((t,e)=>ae(R({},dte),{setIsShowPinned:n=>t(()=>({isShowPinned:n})),setIsShowHistoryPinned:n=>t(()=>({isShowHistoryPinned:n})),setIsSwapPanels:n=>t(()=>({isSwapPanels:n})),resetFontSize:()=>{t(()=>({fontSize:"100%"}))},setIsScrolling(n){t(()=>({isScrolling:n}))},setOSType:n=>{t(()=>({isWindows:n==="Windows_NT",isMacOSX:n==="Darwin",isLinux:n==="Linux"}))},getDefaultPanelWidth:()=>e().isMacOSX?ite:lte,setFontSize:n=>{t(()=>({fontSize:n}))},setPanelSize:n=>{t(()=>({panelSize:n}))},increaseFontSize:()=>{t(n=>{const r=Rp.indexOf(n.fontSize),s=Math.min(Rp.length-1,r+1);return{fontSize:Rp[s]}})},decreaseFontSize:()=>{t(n=>{const r=Rp.indexOf(n.fontSize),s=Math.max(0,r-1);return{fontSize:Rp[s]}})},setReturnRoute:n=>{t(()=>({returnRoute:n}))}}),{name:"ui-store",storage:c5(()=>localStorage)})),Is=C0(T$),fte={direction:"ltr",mode:"system",systemTheme:"light",deviceId:"",themeDark:()=>!1,setDeviceId:()=>{},setSystemTheme:()=>{},setDirection:()=>{},setMode:()=>{}},hte=S0()(F8((t,e)=>ae(R({},fte),{themeDark:()=>{const{mode:n,systemTheme:r}=e();return n==="system"?r==="dark":n==="dark"},setSystemTheme:n=>{t({systemTheme:n})},setDeviceId:n=>{t(()=>({deviceId:n}))},setMode:n=>{t({mode:n})}}),{name:"theme-store",storage:c5(()=>localStorage),partialize:t=>({mode:t.mode,deviceId:t.deviceId,direction:t.direction})})),yo=C0(hte);var pte=typeof global=="object"&&global&&global.Object===Object&&global,mte=typeof self=="object"&&self&&self.Object===Object&&self,P$=pte||mte||Function("return this")(),I2=P$.Symbol,M$=Object.prototype,gte=M$.hasOwnProperty,vte=M$.toString,Ag=I2?I2.toStringTag:void 0;function xte(t){var e=gte.call(t,Ag),n=t[Ag];try{t[Ag]=void 0;var r=!0}catch(a){}var s=vte.call(t);return r&&(e?t[Ag]=n:delete t[Ag]),s}var yte=Object.prototype,bte=yte.toString;function wte(t){return bte.call(t)}var kte="[object Null]",Cte="[object Undefined]",eP=I2?I2.toStringTag:void 0;function Ste(t){return t==null?t===void 0?Cte:kte:eP&&eP in Object(t)?xte(t):wte(t)}function jte(t){return t!=null&&typeof t=="object"}var Ete="[object Symbol]";function Nte(t){return typeof t=="symbol"||jte(t)&&Ste(t)==Ete}var _te=/\s/;function Tte(t){for(var e=t.length;e--&&_te.test(t.charAt(e)););return e}var Pte=/^\s+/;function Mte(t){return t&&t.slice(0,Tte(t)+1).replace(Pte,"")}function A2(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var tP=NaN,Dte=/^[-+]0x[0-9a-f]+$/i,Ite=/^0b[01]+$/i,Ate=/^0o[0-7]+$/i,Lte=parseInt;function nP(t){if(typeof t=="number")return t;if(Nte(t))return tP;if(A2(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=A2(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Mte(t);var n=Ite.test(t);return n||Ate.test(t)?Lte(t.slice(2),n?2:8):Dte.test(t)?tP:+t}var lC=function(){return P$.Date.now()},Rte="Expected a function",Ote=Math.max,$te=Math.min;function $f(t,e,n){var r,s,a,i,l,u,d=0,p=!1,h=!1,m=!0;if(typeof t!="function")throw new TypeError(Rte);e=nP(e)||0,A2(n)&&(p=!!n.leading,h="maxWait"in n,a=h?Ote(nP(n.maxWait)||0,e):a,m="trailing"in n?!!n.trailing:m);function b(P){var I=r,T=s;return r=s=void 0,d=P,i=t.apply(T,I),i}function C(P){return d=P,l=setTimeout(x,e),p?b(P):i}function g(P){var I=P-u,T=P-d,A=e-I;return h?$te(A,a-T):A}function w(P){var I=P-u,T=P-d;return u===void 0||I>=e||I<0||h&&T>=a}function x(){var P=lC();if(w(P))return S(P);l=setTimeout(x,g(P))}function S(P){return l=void 0,m&&r?b(P):(r=s=void 0,i)}function E(){l!==void 0&&clearTimeout(l),d=0,r=u=s=l=void 0}function N(){return l===void 0?i:S(lC())}function _(){var P=lC(),I=w(P);if(r=arguments,s=this,u=P,I){if(l===void 0)return C(u);if(h)return clearTimeout(l),l=setTimeout(x,e),b(u)}return l===void 0&&(l=setTimeout(x,e)),i}return _.cancel=E,_.flush=N,_}var zte="Expected a function";function D$(t,e,n){var r=!0,s=!0;if(typeof t!="function")throw new TypeError(zte);return A2(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),$f(t,e,{leading:r,maxWait:e,trailing:s})}var Fte={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const I$=S0()((t,e)=>({collections:[],tabs:[],tabsLoaded:!1,isMenuLoaded:!1,pinnedClips:[],currentCollectionId:null,currentTab:"",menuItems:[],clipItems:[],getTabLastBorderIndex:n=>{var i;const{clipItems:r}=e(),s=r.filter(l=>l.isBoard&&l.tabId===n);return((i=s.reduce((l,u)=>l.orderNumber>u.orderNumber?l:u,s[0]))==null?void 0:i.orderNumber)||0},setIsMenuLoaded:n=>{t(()=>({isMenuLoaded:n}))},getCurrentTab:()=>{var n;return e().currentTab||((n=e().tabs[0])==null?void 0:n.tabId)},setClipItemsDebounced:$f(n=>{t(()=>({pinnedClips:n.filter(r=>r.isPinned&&r.isClip).sort((r,s)=>r.pinnedOrderNumber-s.pinnedOrderNumber).map(r=>{var s,a,i;return{id:r.itemId,name:r.name,parentId:r.parentId,orderNumber:r.orderNumber,pinnedOrderNumber:r.pinnedOrderNumber,isPinned:r.isPinned,createdAt:r.createdAt,isFavorite:r.isFavorite,color:(i=(a=r.color)!=null?a:(s=n.find(l=>l.itemId===r.parentId))==null?void 0:s.color)!=null?i:"slate",borderWidth:r.borderWidth,value:r.value,tabId:r.tabId,type:"clip"}}),clipItems:n}))},300,{leading:!0}),setMenuItems:n=>{t(()=>({isMenuLoaded:!0,menuItems:n}))},setClipItems:n=>{t(()=>({pinnedClips:n.filter(r=>r.isPinned&&r.isClip).sort((r,s)=>r.pinnedOrderNumber-s.pinnedOrderNumber).map(r=>{var s,a,i;return{id:r.itemId,name:r.name,parentId:r.parentId,orderNumber:r.orderNumber,createdAt:r.createdAt,isPinned:r.isPinned,isFavorite:r.isFavorite,color:(i=(a=r.color)!=null?a:(s=n.find(l=>l.itemId===r.parentId))==null?void 0:s.color)!=null?i:"slate",borderWidth:r.borderWidth,value:r.value,tabId:r.tabId,type:"clip"}}),clipItems:n}))},isBoardHasChildren:n=>{const{clipItems:r}=e();return r.some(s=>s.parentId===n)},tabHasBoards:n=>{const{clipItems:r}=e();return r.some(s=>s.tabId===n&&s.isBoard)},setTabsByOrder:n=>{t({tabs:n.sort((r,s)=>r.tabOrderNumber-s.tabOrderNumber)})},setTabs:n=>{var p,h,m;const r=e().currentCollectionId,s=localStorage.getItem("currentTabs"),a=s!=null&&s.startsWith(r+":::")?s.split(":::")[1]:"",i=(p=n.find(b=>b.tabId===a))==null?void 0:p.tabId,u=((h=n.find(b=>b.tabId===e().currentTab))==null?void 0:h.tabId)||i||((m=n[0])==null?void 0:m.tabId),d=n.sort((b,C)=>b.tabOrderNumber-C.tabOrderNumber);t({currentTab:u,tabsLoaded:!0,tabs:d})},setCurrentTab:n=>{const r=e().currentCollectionId;Wa.value&&(Wa.value=null,Oo.value=!1),r&&localStorage.setItem("currentTabs","".concat(r,":::").concat(n)),t(()=>({currentTab:n}))},getCurrentCollectionTitle:()=>{var s;const{collections:n,currentCollectionId:r}=e();return(s=n.find(a=>a.collectionId===r))==null?void 0:s.title},setCollections:n=>{const r=n.find(s=>s.isSelected);t(()=>({collections:n,currentCollectionId:(r==null?void 0:r.collectionId)||null}))}})),Ir=C0(I$);Fte.TAURI_DEBUG&&(window.collectionsStore=I$);var A$={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Vn,function(){return function(n,r,s){var a=r.prototype,i=function(h){return h&&(h.indexOf?h:h.s)},l=function(h,m,b,C,g){var w=h.name?h:h.$locale(),x=i(w[m]),S=i(w[b]),E=x||S.map(function(_){return _.slice(0,C)});if(!g)return E;var N=w.weekStart;return E.map(function(_,P){return E[(P+(N||0))%7]})},u=function(){return s.Ls[s.locale()]},d=function(h,m){return h.formats[m]||function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(C,g,w){return g||w.slice(1)})}(h.formats[m.toUpperCase()])},p=function(){var h=this;return{months:function(m){return m?m.format("MMMM"):l(h,"months")},monthsShort:function(m){return m?m.format("MMM"):l(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):l(h,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):l(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):l(h,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return d(h.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return p.bind(this)()},s.localeData=function(){var h=u();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return s.weekdays()},weekdaysShort:function(){return s.weekdaysShort()},weekdaysMin:function(){return s.weekdaysMin()},months:function(){return s.months()},monthsShort:function(){return s.monthsShort()},longDateFormat:function(m){return d(h,m)},meridiem:h.meridiem,ordinal:h.ordinal}},s.months=function(){return l(u(),"months")},s.monthsShort=function(){return l(u(),"monthsShort","months",3)},s.weekdays=function(h){return l(u(),"weekdays",null,null,h)},s.weekdaysShort=function(h){return l(u(),"weekdaysShort","weekdays",3,h)},s.weekdaysMin=function(h){return l(u(),"weekdaysMin","weekdays",2,h)}}})})(A$);var Hte=A$.exports;const Bte=ou(Hte),Ute={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};class L2{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||Ute,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),r=0;r{this.observers[r]||(this.observers[r]=new Map);const s=this.observers[r].get(n)||0;this.observers[r].set(n,s+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s{let[l,u]=i;for(let d=0;d{let[l,u]=i;for(let d=0;d{t=r,e=s});return n.resolve=t,n.reject=e,n}function rP(t){return t==null?"":""+t}function Wte(t,e,n){t.forEach(r=>{e[r]&&(n[r]=e[r])})}const Vte=/###/g;function E1(t,e,n){function r(l){return l&&l.indexOf("###")>-1?l.replace(Vte,"."):l}function s(){return!t||typeof t=="string"}const a=typeof e!="string"?e:e.split(".");let i=0;for(;i":">",'"':""","'":"'","/":"/"};function Yte(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,e=>Gte[e]):t}class Zte{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const Xte=[" ",",","?","!",";"],Qte=new Zte(20);function Jte(t,e,n){e=e||"",n=n||"";const r=Xte.filter(i=>e.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const s=Qte.getRegExp("(".concat(r.map(i=>i==="?"?"\\?":i).join("|"),")"));let a=!s.test(t);if(!a){const i=t.indexOf(n);i>0&&!s.test(t.substring(0,i))&&(a=!0)}return a}function KS(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[e])return t[e];const r=e.split(n);let s=t;for(let a=0;a-1&&u0?t.replace("_","-"):t}class aP extends u5{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,i=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,n],r&&(Array.isArray(r)?l.push(...r):typeof r=="string"&&a?l.push(...r.split(a)):l.push(r)));const u=R2(this.data,l);return!u&&!n&&!r&&e.indexOf(".")>-1&&(e=l[0],n=l[1],r=l.slice(2).join(".")),u||!i||typeof r!="string"?u:KS(this.data&&this.data[e]&&this.data[e][n],r,a)}addResource(e,n,r,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[e,n];r&&(l=l.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(l=e.split("."),s=n,n=l[1]),this.addNamespaces(n),sP(this.data,l,s),a.silent||this.emit("added",e,n,r,s)}addResources(e,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in r)(typeof r[a]=="string"||Object.prototype.toString.apply(r[a])==="[object Array]")&&this.addResource(e,n,a,r[a],{silent:!0});s.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,s,a){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,n];e.indexOf(".")>-1&&(l=e.split("."),s=r,r=n,n=l[1]),this.addNamespaces(n);let u=R2(this.data,l)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),s?L$(u,r,a):u=R(R({},u),r),sP(this.data,l,u),i.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?R({},this.getResource(e,n)):this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(s=>n[s]&&Object.keys(n[s]).length>0)}toJSON(){return this.data}}var R$={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,s){return t.forEach(a=>{this.processors[a]&&(e=this.processors[a].process(e,n,r,s))}),e}};const oP={};class $2 extends u5{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Wte(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Wl.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const r=this.resolve(e,n);return r&&r.res!==void 0}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Jte(e,r,s);if(i&&!l){const u=e.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:e,namespaces:a};const d=e.split(r);(r!==s||r===s&&this.options.ns.indexOf(d[0])>-1)&&(a=d.shift()),e=d.join(s)}return typeof a=="string"&&(a=[a]),{key:e,namespaces:a}}translate(e,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n=R({},n)),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:l}=this.extractFromKey(e[e.length-1],n),u=l[l.length-1],d=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(p){const N=n.nsSeparator||this.options.nsSeparator;return s?{res:"".concat(u).concat(N).concat(i),usedKey:i,exactUsedKey:i,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:"".concat(u).concat(N).concat(i)}return s?{res:i,usedKey:i,exactUsedKey:i,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const h=this.resolve(e,n);let m=h&&h.res;const b=h&&h.usedKey||i,C=h&&h.exactUsedKey||i,g=Object.prototype.toString.apply(m),w=["[object Number]","[object Function]","[object RegExp]"],x=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject;if(S&&m&&(typeof m!="string"&&typeof m!="boolean"&&typeof m!="number")&&w.indexOf(g)<0&&!(typeof x=="string"&&g==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const N=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,m,ae(R({},n),{ns:l})):"key '".concat(i," (").concat(this.language,")' returned an object instead of string.");return s?(h.res=N,h.usedParams=this.getUsedParamsDetails(n),h):N}if(a){const N=g==="[object Array]",_=N?[]:{},P=N?C:b;for(const I in m)if(Object.prototype.hasOwnProperty.call(m,I)){const T="".concat(P).concat(a).concat(I);_[I]=this.translate(T,ae(R({},n),{joinArrays:!1,ns:l})),_[I]===T&&(_[I]=m[I])}m=_}}else if(S&&typeof x=="string"&&g==="[object Array]")m=m.join(x),m&&(m=this.extendTranslation(m,e,n,r));else{let N=!1,_=!1;const P=n.count!==void 0&&typeof n.count!="string",I=$2.hasDefaultValue(n),T=P?this.pluralResolver.getSuffix(d,n.count,n):"",A=n.ordinal&&P?this.pluralResolver.getSuffix(d,n.count,{ordinal:!1}):"",L=P&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),z=L&&n["defaultValue".concat(this.options.pluralSeparator,"zero")]||n["defaultValue".concat(T)]||n["defaultValue".concat(A)]||n.defaultValue;!this.isValidLookup(m)&&I&&(N=!0,m=z),this.isValidLookup(m)||(_=!0,m=i);const O=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&_?void 0:m,$=I&&z!==m&&this.options.updateMissing;if(_||N||$){if(this.logger.log($?"updateKey":"missingKey",d,u,i,$?z:m),a){const U=this.resolve(i,ae(R({},n),{keySeparator:!1}));U&&U.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let M=[];const W=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&W&&W[0])for(let U=0;U{const F=I&&H!==m?H:O;this.options.missingKeyHandler?this.options.missingKeyHandler(U,u,J,F,$,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(U,u,J,F,$,n),this.emit("missingKey",U,u,J,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?M.forEach(U=>{const J=this.pluralResolver.getSuffixes(U,n);L&&n["defaultValue".concat(this.options.pluralSeparator,"zero")]&&J.indexOf("".concat(this.options.pluralSeparator,"zero"))<0&&J.push("".concat(this.options.pluralSeparator,"zero")),J.forEach(H=>{V([U],i+H,n["defaultValue".concat(H)]||z)})}):V(M,i,z))}m=this.extendTranslation(m,e,n,h,r),_&&m===i&&this.options.appendNamespaceToMissingKey&&(m="".concat(u,":").concat(i)),(_||N)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(u,":").concat(i):i,N?m:void 0):m=this.options.parseMissingKeyHandler(m))}return s?(h.res=m,h.usedParams=this.getUsedParamsDetails(n),h):m}extendTranslation(e,n,r,s,a){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,R(R({},this.options.interpolation.defaultVariables),r),r.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(ae(R({},r),{interpolation:R(R({},this.options.interpolation),r.interpolation)}));const d=typeof e=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(d){const m=e.match(this.interpolator.nestingRegexp);p=m&&m.length}let h=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(h=R(R({},this.options.interpolation.defaultVariables),h)),e=this.interpolator.interpolate(e,h,r.lng||this.language,r),d){const m=e.match(this.interpolator.nestingRegexp),b=m&&m.length;p1&&arguments[1]!==void 0?arguments[1]:{},r,s,a,i,l;return typeof e=="string"&&(e=[e]),e.forEach(u=>{if(this.isValidLookup(r))return;const d=this.extractFromKey(u,n),p=d.key;s=p;let h=d.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const m=n.count!==void 0&&typeof n.count!="string",b=m&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),C=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",g=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);h.forEach(w=>{this.isValidLookup(r)||(l=w,!oP["".concat(g[0],"-").concat(w)]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(oP["".concat(g[0],"-").concat(w)]=!0,this.logger.warn('key "'.concat(s,'" for languages "').concat(g.join(", "),'" won\'t get resolved as namespace "').concat(l,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(x=>{if(this.isValidLookup(r))return;i=x;const S=[p];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,p,x,w,n);else{let N;m&&(N=this.pluralResolver.getSuffix(x,n.count,n));const _="".concat(this.options.pluralSeparator,"zero"),P="".concat(this.options.pluralSeparator,"ordinal").concat(this.options.pluralSeparator);if(m&&(S.push(p+N),n.ordinal&&N.indexOf(P)===0&&S.push(p+N.replace(P,this.options.pluralSeparator)),b&&S.push(p+_)),C){const I="".concat(p).concat(this.options.contextSeparator).concat(n.context);S.push(I),m&&(S.push(I+N),n.ordinal&&N.indexOf(P)===0&&S.push(I+N.replace(P,this.options.pluralSeparator)),b&&S.push(I+_))}}let E;for(;E=S.pop();)this.isValidLookup(r)||(a=E,r=this.getResource(x,w,E,n))}))})}),{res:r,usedKey:s,exactUsedKey:a,usedLng:i,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,r,s):this.resourceStore.getResource(e,n,r,s)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&typeof e.replace!="string";let s=r?e.replace:e;if(r&&typeof e.count!="undefined"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s=R(R({},this.options.interpolation.defaultVariables),s)),!r){s=R({},s);for(const a of n)delete s[a]}return s}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}function cC(t){return t.charAt(0).toUpperCase()+t.slice(1)}class iP{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Wl.create("languageUtils")}getScriptPartFromCode(e){if(e=O2(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=O2(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=e.split("-");return this.options.lowerCaseLng?r=r.map(s=>s.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=cC(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=cC(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=cC(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const s=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(a=>{if(a===s)return a;if(!(a.indexOf("-")<0&&s.indexOf("-")<0)&&a.indexOf(s)===0)return a})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],e),s=[],a=i=>{i&&(this.isSupportedCode(i)?s.push(i):this.logger.warn("rejecting language code not found in supportedLngs: ".concat(i)))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):typeof e=="string"&&a(this.formatLanguageCode(e)),r.forEach(i=>{s.indexOf(i)<0&&a(this.formatLanguageCode(i))}),s}}let ene=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],tne={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}};const nne=["v1","v2","v3"],rne=["v4"],lP={zero:0,one:1,two:2,few:3,many:4,other:5};function sne(){const t={};return ene.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:tne[e.fc]}})}),t}class ane{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=Wl.create("pluralResolver"),(!this.options.compatibilityJSON||rne.includes(this.options.compatibilityJSON))&&(typeof Intl=="undefined"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=sne()}addRule(e,n){this.rules[e]=n}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(O2(e==="dev"?"en":e),{type:n.ordinal?"ordinal":"cardinal"})}catch(r){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,r).map(s=>"".concat(n).concat(s))}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((s,a)=>lP[s]-lP[a]).map(s=>"".concat(this.options.prepend).concat(n.ordinal?"ordinal".concat(this.options.prepend):"").concat(s)):r.numbers.map(s=>this.getSuffix(e,s,n)):[]}getSuffix(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(e,r);return s?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.ordinal?"ordinal".concat(this.options.prepend):"").concat(s.select(n)):this.getSuffixRetroCompatible(s,n):(this.logger.warn("no plural rule found for: ".concat(e)),"")}getSuffixRetroCompatible(e,n){const r=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let s=e.numbers[r];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?"_plural_".concat(s.toString()):a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!nne.includes(this.options.compatibilityJSON)}}function cP(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=Kte(t,e,n);return!a&&s&&typeof n=="string"&&(a=KS(t,n,r),a===void 0&&(a=KS(e,n,r))),a}class one{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Wl.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const n=e.interpolation;this.escape=n.escape!==void 0?n.escape:Yte,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?dp(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?dp(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?dp(n.nestingPrefix):n.nestingPrefixEscaped||dp("$t("),this.nestingSuffix=n.nestingSuffix?dp(n.nestingSuffix):n.nestingSuffixEscaped||dp(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,"".concat(this.prefix,"(.+?)").concat(this.suffix)),this.regexpUnescape=e(this.regexpUnescape,"".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix)),this.nestingRegexp=e(this.nestingRegexp,"".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix))}interpolate(e,n,r,s){let a,i,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(C){return C.replace(/\$/g,"$$$$")}const p=C=>{if(C.indexOf(this.formatSeparator)<0){const S=cP(n,u,C,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,ae(R(R({},s),n),{interpolationkey:C})):S}const g=C.split(this.formatSeparator),w=g.shift().trim(),x=g.join(this.formatSeparator).trim();return this.format(cP(n,u,w,this.options.keySeparator,this.options.ignoreJSONStructure),x,r,ae(R(R({},s),n),{interpolationkey:w}))};this.resetRegExp();const h=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,m=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:C=>d(C)},{regex:this.regexp,safeValue:C=>this.escapeValue?d(this.escape(C)):d(C)}].forEach(C=>{for(l=0;a=C.regex.exec(e);){const g=a[1].trim();if(i=p(g),i===void 0)if(typeof h=="function"){const x=h(e,a,s);i=typeof x=="string"?x:""}else if(s&&Object.prototype.hasOwnProperty.call(s,g))i="";else if(m){i=a[0];continue}else this.logger.warn("missed to pass in variable ".concat(g," for interpolating ").concat(e)),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=rP(i));const w=C.safeValue(i);if(e=e.replace(a[0],w),m?(C.regex.lastIndex+=i.length,C.regex.lastIndex-=a[0].length):C.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,i;function l(u,d){const p=this.nestingOptionsSeparator;if(u.indexOf(p)<0)return u;const h=u.split(new RegExp("".concat(p,"[ ]*{")));let m="{".concat(h[1]);u=h[0],m=this.interpolate(m,i);const b=m.match(/'/g),C=m.match(/"/g);(b&&b.length%2===0&&!C||C.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),d&&(i=R(R({},d),i))}catch(g){return this.logger.warn("failed parsing options string in nesting for key ".concat(u),g),"".concat(u).concat(p).concat(m)}return delete i.defaultValue,u}for(;s=this.nestingRegexp.exec(e);){let u=[];i=R({},r),i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let d=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const p=s[1].split(this.formatSeparator).map(h=>h.trim());s[1]=p.shift(),u=p,d=!0}if(a=n(l.call(this,s[1].trim(),i),i),a&&s[0]===e&&typeof a!="string")return a;typeof a!="string"&&(a=rP(a)),a||(this.logger.warn("missed to resolve ".concat(s[1]," for nesting ").concat(e)),a=""),d&&(a=u.reduce((p,h)=>this.format(p,h,r.lng,ae(R({},r),{interpolationkey:s[1].trim()})),a.trim())),e=e.replace(s[0],a),this.regexp.lastIndex=0}return e}}function ine(t){let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const s=r[1].substring(0,r[1].length-1);e==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(i=>{if(!i)return;const[l,...u]=i.split(":"),d=u.join(":").trim().replace(/^'+|'+$/g,"");n[l.trim()]||(n[l.trim()]=d),d==="false"&&(n[l.trim()]=!1),d==="true"&&(n[l.trim()]=!0),isNaN(d)||(n[l.trim()]=parseInt(d,10))})}return{formatName:e,formatOptions:n}}function fp(t){const e={};return function(r,s,a){const i=s+JSON.stringify(a);let l=e[i];return l||(l=t(O2(s),a),e[i]=l),l(r)}}class lne{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Wl.create("formatter"),this.options=e,this.formats={number:fp((n,r)=>{const s=new Intl.NumberFormat(n,R({},r));return a=>s.format(a)}),currency:fp((n,r)=>{const s=new Intl.NumberFormat(n,ae(R({},r),{style:"currency"}));return a=>s.format(a)}),datetime:fp((n,r)=>{const s=new Intl.DateTimeFormat(n,R({},r));return a=>s.format(a)}),relativetime:fp((n,r)=>{const s=new Intl.RelativeTimeFormat(n,R({},r));return a=>s.format(a,r.range||"day")}),list:fp((n,r)=>{const s=new Intl.ListFormat(n,R({},r));return a=>s.format(a)})},this.init(e)}init(e){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=fp(n)}format(e,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((l,u)=>{const{formatName:d,formatOptions:p}=ine(u);if(this.formats[d]){let h=l;try{const m=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},b=m.locale||m.lng||s.locale||s.lng||r;h=this.formats[d](l,b,R(R(R({},p),s),m))}catch(m){this.logger.warn(m)}return h}else this.logger.warn("there was no format function for ".concat(d));return l},e)}}function cne(t,e){t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)}class une extends u5{constructor(e,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=s,this.logger=Wl.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,s.backend,s)}queueLoad(e,n,r,s){const a={},i={},l={},u={};return e.forEach(d=>{let p=!0;n.forEach(h=>{const m="".concat(d,"|").concat(h);!r.reload&&this.store.hasResourceBundle(d,h)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,p=!1,i[m]===void 0&&(i[m]=!0),a[m]===void 0&&(a[m]=!0),u[h]===void 0&&(u[h]=!0)))}),p||(l[d]=!0)}),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}loaded(e,n,r){const s=e.split("|"),a=s[0],i=s[1];n&&this.emit("failedLoading",a,i,n),r&&this.store.addResourceBundle(a,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2;const l={};this.queue.forEach(u=>{qte(u.loaded,[a],i),cne(u,e),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(d=>{l[d]||(l[d]={});const p=u.loaded[d];p.length&&p.forEach(h=>{l[d][h]===void 0&&(l[d][h]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(u=>!u.done)}read(e,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:s,wait:a,callback:i});return}this.readingCalls++;const l=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(d&&p&&s{this.read.call(this,e,n,r,s+1,a*2,i)},a);return}i(d,p)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const d=u(e,n);d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}return}return u(e,n,l)}prepareLoading(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof n=="string"&&(n=[n]);const a=this.queueLoad(e,n,r,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(i=>{this.loadOne(i)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e.split("|"),s=r[0],a=r[1];this.read(s,a,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(s," failed"),i),!i&&l&&this.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(s),l),this.loaded(e,i,l)})}saveMissing(e,n,r,s,a){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(n,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const u=ae(R({},i),{isUpdate:a}),d=this.backend.create.bind(this.backend);if(d.length<6)try{let p;d.length===5?p=d(e,n,r,s,u):p=d(e,n,r,s),p&&typeof p.then=="function"?p.then(h=>l(null,h)).catch(l):l(null,p)}catch(p){l(p)}else d(e,n,r,s,l,u)}!e||!e[0]||this.store.addResource(e[0],n,r,s)}}}function uP(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let n={};if(typeof e[1]=="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(s=>{n[s]=r[s]})}return n},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function dP(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function Ry(){}function dne(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})}class fv extends u5{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=dP(e),this.services={},this.logger=Wl,this.modules={external:[]},dne(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=uP();this.options=R(R(R({},s),this.options),dP(n)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=R(R({},s.interpolation),this.options.interpolation)),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function a(p){return p?typeof p=="function"?new p:p:null}if(!this.options.isClone){this.modules.logger?Wl.init(a(this.modules.logger),this.options):Wl.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:typeof Intl!="undefined"&&(p=lne);const h=new iP(this.options);this.store=new aP(this.options.resources,this.options);const m=this.services;m.logger=Wl,m.resourceStore=this.store,m.languageUtils=h,m.pluralResolver=new ane(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(m.formatter=a(p),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new one(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new une(a(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(b){for(var C=arguments.length,g=new Array(C>1?C-1:0),w=1;w1?C-1:0),w=1;w{b.init&&b.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Ry),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return e.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return e.store[p](...arguments),e}});const u=Lg(),d=()=>{const p=(h,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(m),r(h,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),u}loadResources(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ry;const s=typeof e=="string"?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],i=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(d=>{d!=="cimode"&&a.indexOf(d)<0&&a.push(d)})};s?i(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload&&this.options.preload.forEach(l=>i(l)),this.services.backendConnector.load(a,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(e,n,r){const s=Lg();return e||(e=this.languages),n||(n=this.options.ns),r||(r=Ry),this.services.backendConnector.reload(e,n,a=>{s.resolve(),r(a)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&R$.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(e,n){var r=this;this.isLanguageChangingTo=e;const s=Lg();this.emit("languageChanging",e);const a=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,d)=>{d?(a(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,s.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},l=u=>{!e&&!u&&this.services.languageDetector&&(u=[]);const d=typeof u=="string"?u:this.services.languageUtils.getBestMatchFromCodes(u);d&&(this.language||a(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(d)),this.loadResources(d,p=>{i(p,d)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),s}getFixedT(e,n,r){var s=this;const a=function(i,l){let u;if(typeof l!="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),h=2;h"".concat(u.keyPrefix).concat(m).concat(C)):b=u.keyPrefix?"".concat(u.keyPrefix).concat(m).concat(i):i,s.t(b,u)};return typeof e=="string"?a.lng=e:a.lngs=e,a.ns=n,a.keyPrefix=r,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(l,u)=>{const d=this.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};if(n.precheck){const l=n.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,e)&&(!s||i(a,e)))}loadNamespaces(e,n){const r=Lg();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=Lg();typeof e=="string"&&(e=[e]);const s=this.options.preload||[],a=e.filter(i=>s.indexOf(i)<0);return a.length?(this.options.preload=s.concat(a),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new iP(uP());return n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new fv(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ry;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const s=ae(R(R({},this.options),e),{isClone:!0}),a=new fv(s);return(e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services=R({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new aP(this.store.data,s),a.services.resourceStore=a.store),a.translator=new $2(a.services,s),a.translator.on("*",function(l){for(var u=arguments.length,d=new Array(u>1?u-1:0),p=1;p0){var l=s.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");i+="; Max-Age=".concat(Math.floor(l))}if(s.domain){if(!hP.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain=".concat(s.domain)}if(s.path){if(!hP.test(s.path))throw new TypeError("option path is invalid");i+="; Path=".concat(s.path)}if(s.expires){if(typeof s.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+="; Expires=".concat(s.expires.toUTCString())}if(s.httpOnly&&(i+="; HttpOnly"),s.secure&&(i+="; Secure"),s.sameSite){var u=typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.sameSite;switch(u){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return i},pP={create:function(e,n,r,s){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+r*60*1e3)),s&&(a.domain=s),document.cookie=yne(e,encodeURIComponent(n),a)},read:function(e){for(var n="".concat(e,"="),r=document.cookie.split(";"),s=0;s-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var s=r.substring(1),a=s.split("&"),i=0;i0){var u=a[i].substring(0,l);u===e.lookupQuerystring&&(n=a[i].substring(l+1))}}}return n}},Rg=null,mP=function(){if(Rg!==null)return Rg;try{Rg=window!=="undefined"&&window.localStorage!==null;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(n){Rg=!1}return Rg},kne={name:"localStorage",lookup:function(e){var n;if(e.lookupLocalStorage&&mP()){var r=window.localStorage.getItem(e.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupLocalStorage&&mP()&&window.localStorage.setItem(n.lookupLocalStorage,e)}},Og=null,gP=function(){if(Og!==null)return Og;try{Og=window!=="undefined"&&window.sessionStorage!==null;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(n){Og=!1}return Og},Cne={name:"sessionStorage",lookup:function(e){var n;if(e.lookupSessionStorage&&gP()){var r=window.sessionStorage.getItem(e.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupSessionStorage&&gP()&&window.sessionStorage.setItem(n.lookupSessionStorage,e)}},Sne={name:"navigator",lookup:function(e){var n=[];if(typeof navigator!="undefined"){if(navigator.languages)for(var r=0;r0?n:void 0}},jne={name:"htmlTag",lookup:function(e){var n,r=e.htmlTag||(typeof document!="undefined"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Ene={name:"path",lookup:function(e){var n;if(typeof window!="undefined"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof e.lookupFromPathIndex=="number"){if(typeof r[e.lookupFromPathIndex]!="string")return;n=r[e.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},Nne={name:"subdomain",lookup:function(e){var n=typeof e.lookupFromSubdomainIndex=="number"?e.lookupFromSubdomainIndex+1:1,r=typeof window!="undefined"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function _ne(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}}var $$=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};fne(this,t),this.type="languageDetector",this.detectors={},this.init(e,n)}return mne(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=xne(r,this.options||{},_ne()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(a){return a.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=s,this.addDetector(bne),this.addDetector(wne),this.addDetector(kne),this.addDetector(Cne),this.addDetector(Sne),this.addDetector(jne),this.addDetector(Ene),this.addDetector(Nne)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var s=[];return n.forEach(function(a){if(r.detectors[a]){var i=r.detectors[a].lookup(r.options);i&&typeof i=="string"&&(i=[i]),i&&(s=s.concat(i))}}),s=s.map(function(a){return r.options.convertDetectedLanguage(a)}),this.services.languageUtils.getBestMatchFromCodes?s:s.length>0?s[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var s=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(a){s.detectors[a]&&s.detectors[a].cacheUserLanguage(n,s.options)}))}}]),t}();$$.type="languageDetector";var z$="en",H8={},GS={};function F$(){return z$}function Tne(t){z$=t}function Pne(t){return H8[t]}function Mne(t){if(!t)throw new Error("No locale data passed");H8[t.locale]=t,GS[t.locale.toLowerCase()]=t.locale}function vP(t){if(H8[t])return t;if(GS[t.toLowerCase()])return GS[t.toLowerCase()]}function H$(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.localeMatcher||"lookup";switch(n){case"lookup":return xP(t);case"best fit":return xP(t);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(n))}}function xP(t){var e=vP(t);if(e)return e;for(var n=t.split("-");t.length>1;){n.pop(),t=n.join("-");var r=vP(t);if(r)return r}}var Be={af:function(e){return e==1?"one":"other"},am:function(e){return e>=0&&e<=1?"one":"other"},ar:function(e){var n=String(e).split("."),r=Number(n[0])==e,s=r&&n[0].slice(-2);return e==0?"zero":e==1?"one":e==2?"two":s>=3&&s<=10?"few":s>=11&&s<=99?"many":"other"},ast:function(e){var n=String(e).split("."),r=!n[1];return e==1&&r?"one":"other"},be:function(e){var n=String(e).split("."),r=Number(n[0])==e,s=r&&n[0].slice(-1),a=r&&n[0].slice(-2);return s==1&&a!=11?"one":s>=2&&s<=4&&(a<12||a>14)?"few":r&&s==0||s>=5&&s<=9||a>=11&&a<=14?"many":"other"},br:function(e){var n=String(e).split("."),r=Number(n[0])==e,s=r&&n[0].slice(-1),a=r&&n[0].slice(-2),i=r&&n[0].slice(-6);return s==1&&a!=11&&a!=71&&a!=91?"one":s==2&&a!=12&&a!=72&&a!=92?"two":(s==3||s==4||s==9)&&(a<10||a>19)&&(a<70||a>79)&&(a<90||a>99)?"few":e!=0&&r&&i==0?"many":"other"},bs:function(e){var n=String(e).split("."),r=n[0],s=n[1]||"",a=!n[1],i=r.slice(-1),l=r.slice(-2),u=s.slice(-1),d=s.slice(-2);return a&&i==1&&l!=11||u==1&&d!=11?"one":a&&i>=2&&i<=4&&(l<12||l>14)||u>=2&&u<=4&&(d<12||d>14)?"few":"other"},ca:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-6);return e==1&&s?"one":r!=0&&a==0&&s?"many":"other"},ceb:function(e){var n=String(e).split("."),r=n[0],s=n[1]||"",a=!n[1],i=r.slice(-1),l=s.slice(-1);return a&&(r==1||r==2||r==3)||a&&i!=4&&i!=6&&i!=9||!a&&l!=4&&l!=6&&l!=9?"one":"other"},cs:function(e){var n=String(e).split("."),r=n[0],s=!n[1];return e==1&&s?"one":r>=2&&r<=4&&s?"few":s?"other":"many"},cy:function(e){return e==0?"zero":e==1?"one":e==2?"two":e==3?"few":e==6?"many":"other"},da:function(e){var n=String(e).split("."),r=n[0],s=Number(n[0])==e;return e==1||!s&&(r==0||r==1)?"one":"other"},dsb:function(e){var n=String(e).split("."),r=n[0],s=n[1]||"",a=!n[1],i=r.slice(-2),l=s.slice(-2);return a&&i==1||l==1?"one":a&&i==2||l==2?"two":a&&(i==3||i==4)||l==3||l==4?"few":"other"},dz:function(e){return"other"},es:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-6);return e==1?"one":r!=0&&a==0&&s?"many":"other"},ff:function(e){return e>=0&&e<2?"one":"other"},fr:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-6);return e>=0&&e<2?"one":r!=0&&a==0&&s?"many":"other"},ga:function(e){var n=String(e).split("."),r=Number(n[0])==e;return e==1?"one":e==2?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:function(e){var n=String(e).split("."),r=Number(n[0])==e;return e==1||e==11?"one":e==2||e==12?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},he:function(e){var n=String(e).split("."),r=n[0],s=!n[1];return r==1&&s||r==0&&!s?"one":r==2&&s?"two":"other"},is:function(e){var n=String(e).split("."),r=n[0],s=(n[1]||"").replace(/0+$/,""),a=Number(n[0])==e,i=r.slice(-1),l=r.slice(-2);return a&&i==1&&l!=11||s%10==1&&s%100!=11?"one":"other"},ksh:function(e){return e==0?"zero":e==1?"one":"other"},lt:function(e){var n=String(e).split("."),r=n[1]||"",s=Number(n[0])==e,a=s&&n[0].slice(-1),i=s&&n[0].slice(-2);return a==1&&(i<11||i>19)?"one":a>=2&&a<=9&&(i<11||i>19)?"few":r!=0?"many":"other"},lv:function(e){var n=String(e).split("."),r=n[1]||"",s=r.length,a=Number(n[0])==e,i=a&&n[0].slice(-1),l=a&&n[0].slice(-2),u=r.slice(-2),d=r.slice(-1);return a&&i==0||l>=11&&l<=19||s==2&&u>=11&&u<=19?"zero":i==1&&l!=11||s==2&&d==1&&u!=11||s!=2&&d==1?"one":"other"},mk:function(e){var n=String(e).split("."),r=n[0],s=n[1]||"",a=!n[1],i=r.slice(-1),l=r.slice(-2),u=s.slice(-1),d=s.slice(-2);return a&&i==1&&l!=11||u==1&&d!=11?"one":"other"},mt:function(e){var n=String(e).split("."),r=Number(n[0])==e,s=r&&n[0].slice(-2);return e==1?"one":e==2?"two":e==0||s>=3&&s<=10?"few":s>=11&&s<=19?"many":"other"},pa:function(e){return e==0||e==1?"one":"other"},pl:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-1),i=r.slice(-2);return e==1&&s?"one":s&&a>=2&&a<=4&&(i<12||i>14)?"few":s&&r!=1&&(a==0||a==1)||s&&a>=5&&a<=9||s&&i>=12&&i<=14?"many":"other"},pt:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-6);return r==0||r==1?"one":r!=0&&a==0&&s?"many":"other"},ro:function(e){var n=String(e).split("."),r=!n[1],s=Number(n[0])==e,a=s&&n[0].slice(-2);return e==1&&r?"one":!r||e==0||e!=1&&a>=1&&a<=19?"few":"other"},ru:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-1),i=r.slice(-2);return s&&a==1&&i!=11?"one":s&&a>=2&&a<=4&&(i<12||i>14)?"few":s&&a==0||s&&a>=5&&a<=9||s&&i>=11&&i<=14?"many":"other"},se:function(e){return e==1?"one":e==2?"two":"other"},si:function(e){var n=String(e).split("."),r=n[0],s=n[1]||"";return e==0||e==1||r==0&&s==1?"one":"other"},sl:function(e){var n=String(e).split("."),r=n[0],s=!n[1],a=r.slice(-2);return s&&a==1?"one":s&&a==2?"two":s&&(a==3||a==4)||!s?"few":"other"}};Be.as=Be.am;Be.az=Be.af;Be.bg=Be.af;Be.bn=Be.am;Be.brx=Be.af;Be.ce=Be.af;Be.chr=Be.af;Be.de=Be.ast;Be.ee=Be.af;Be.el=Be.af;Be.en=Be.ast;Be.et=Be.ast;Be.eu=Be.af;Be.fa=Be.am;Be.fi=Be.ast;Be.fil=Be.ceb;Be.fo=Be.af;Be.fur=Be.af;Be.fy=Be.ast;Be.gl=Be.ast;Be.gu=Be.am;Be.ha=Be.af;Be.hi=Be.am;Be.hr=Be.bs;Be.hsb=Be.dsb;Be.hu=Be.af;Be.hy=Be.ff;Be.ia=Be.ast;Be.id=Be.dz;Be.ig=Be.dz;Be.it=Be.ca;Be.ja=Be.dz;Be.jgo=Be.af;Be.jv=Be.dz;Be.ka=Be.af;Be.kea=Be.dz;Be.kk=Be.af;Be.kl=Be.af;Be.km=Be.dz;Be.kn=Be.am;Be.ko=Be.dz;Be.ks=Be.af;Be.ku=Be.af;Be.ky=Be.af;Be.lb=Be.af;Be.lkt=Be.dz;Be.lo=Be.dz;Be.ml=Be.af;Be.mn=Be.af;Be.mr=Be.af;Be.ms=Be.dz;Be.my=Be.dz;Be.nb=Be.af;Be.ne=Be.af;Be.nl=Be.ast;Be.nn=Be.af;Be.no=Be.af;Be.or=Be.af;Be.pcm=Be.am;Be.ps=Be.af;Be.rm=Be.af;Be.sah=Be.dz;Be.sc=Be.ast;Be.sd=Be.af;Be.sk=Be.cs;Be.so=Be.af;Be.sq=Be.af;Be.sr=Be.bs;Be.su=Be.dz;Be.sv=Be.ast;Be.sw=Be.ast;Be.ta=Be.af;Be.te=Be.af;Be.th=Be.dz;Be.ti=Be.pa;Be.tk=Be.af;Be.to=Be.dz;Be.tr=Be.af;Be.ug=Be.af;Be.uk=Be.ru;Be.ur=Be.ast;Be.uz=Be.af;Be.vi=Be.dz;Be.wae=Be.af;Be.wo=Be.dz;Be.xh=Be.af;Be.yi=Be.ast;Be.yo=Be.dz;Be.yue=Be.dz;Be.zh=Be.dz;Be.zu=Be.am;const yP=Be;function bP(t){return t==="pt-PT"?t:Ine(t)}var Dne=/^([a-z0-9]+)/i;function Ine(t){var e=t.match(Dne);if(!e)throw new TypeError("Invalid locale: ".concat(t));return e[1]}function Ane(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wP(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hne(this,t);var r=n.numeric,s=n.style,a=n.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",r!==void 0){if(Wne.indexOf(r)<0)throw new RangeError('Invalid "numeric" option: '.concat(r));this.numeric=r}if(s!==void 0){if(Vne.indexOf(s)<0)throw new RangeError('Invalid "style" option: '.concat(s));this.style=s}if(a!==void 0){if(qne.indexOf(a)<0)throw new RangeError('Invalid "localeMatcher" option: '.concat(a));this.localeMatcher=a}if(typeof e=="string"&&(e=[e]),e.push(F$()),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new Error("No supported locale was found");YS.supportedLocalesOf(this.locale).length>0?this.pluralRules=new YS(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),typeof Intl!="undefined"&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=H$(this.locale,{localeMatcher:this.localeMatcher})}return Bne(t,[{key:"format",value:function(){var n=NP(arguments),r=SP(n,2),s=r[0],a=r[1];return this.getRule(s,a).replace("{0}",this.formatNumber(Math.abs(s)))}},{key:"formatToParts",value:function(){var n=NP(arguments),r=SP(n,2),s=r[0],a=r[1],i=this.getRule(s,a),l=i.indexOf("{0}");if(l<0)return[{type:"literal",value:i}];var u=[];return l>0&&u.push({type:"literal",value:i.slice(0,l)}),u=u.concat(this.formatNumberToParts(Math.abs(s)).map(function(d){return CP(CP({},d),{},{unit:a})})),l+31&&arguments[1]!==void 0?arguments[1]:{};if(typeof t=="string")t=[t];else if(!Array.isArray(t))throw new TypeError('Invalid "locales" argument');return t.filter(function(n){return H$(n,e)})};$d.addLocale=Mne;$d.setDefaultLocale=Tne;$d.getDefaultLocale=F$;$d.PluralRules=YS;var uC='Invalid "unit" argument';function Kne(t){if(ZS(t)==="symbol")throw new TypeError(uC);if(typeof t!="string")throw new RangeError("".concat(uC,": ").concat(t));if(t[t.length-1]==="s"&&(t=t.slice(0,t.length-1)),Une.indexOf(t)<0)throw new RangeError("".concat(uC,": ").concat(t));return t}var Gne='Invalid "number" argument';function Yne(t){if(t=Number(t),Number.isFinite&&!Number.isFinite(t))throw new RangeError("".concat(Gne,": ").concat(t));return t}function Zne(t){return 1/t===-1/0}function Xne(t){return t<0||t===0&&Zne(t)}function NP(t){if(t.length<2)throw new TypeError('"unit" argument is required');return[Yne(t[0]),Kne(t[1])]}function z2(t){"@babel/helpers - typeof";return z2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z2(t)}function Qne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _P(t,e){for(var n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tre(t,e){if(t){if(typeof t=="string")return PP(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return PP(t,e)}}function PP(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1;)if(a.pop(),s=a.join("-"),e(s))return s}throw new Error("No locale data has been registered for any of the locales: ".concat(t.join(", ")))}function rre(){var t=(typeof Intl=="undefined"?"undefined":XS(Intl))==="object";return t&&typeof Intl.DateTimeFormat=="function"}function QS(t){"@babel/helpers - typeof";return QS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QS(t)}function sre(t){return ore(t)&&(Array.isArray(t.steps)||Array.isArray(t.gradation)||Array.isArray(t.flavour)||typeof t.flavour=="string"||Array.isArray(t.labels)||typeof t.labels=="string"||Array.isArray(t.units)||typeof t.custom=="function")}var are={}.constructor;function ore(t){return QS(t)!==void 0&&t!==null&&t.constructor===are}var Ac=60,F2=60*Ac,nh=24*F2,JS=7*nh,e6=30.44*nh,B$=146097/400*nh;function wm(t){switch(t){case"second":return 1;case"minute":return Ac;case"hour":return F2;case"day":return nh;case"week":return JS;case"month":return e6;case"year":return B$}}function U$(t){return t.factor!==void 0?t.factor:wm(t.unit||t.formatAs)||1}function hv(t){switch(t){case"floor":return Math.floor;default:return Math.round}}function B8(t){switch(t){case"floor":return 1;default:return .5}}function t6(t){"@babel/helpers - typeof";return t6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t6(t)}function W$(t,e){var n=e.prevStep,r=e.timestamp,s=e.now,a=e.future,i=e.round,l;return n&&(n.id||n.unit)&&(l=t["threshold_for_".concat(n.id||n.unit)]),l===void 0&&t.threshold!==void 0&&(l=t.threshold,typeof l=="function"&&(l=l(s,a))),l===void 0&&(l=t.minTime),t6(l)==="object"&&(n&&n.id&&l[n.id]!==void 0?l=l[n.id]:l=l.default),typeof l=="function"&&(l=l(r,{future:a,getMinTimeForUnit:function(d,p){return MP(d,p||n&&n.formatAs,{round:i})}})),l===void 0&&t.test&&(t.test(r,{now:s,future:a})?l=0:l=9007199254740991),l===void 0&&(n?t.formatAs&&n.formatAs&&(l=MP(t.formatAs,n.formatAs,{round:i})):l=0),l===void 0&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(t,null,2)),l}function MP(t,e,n){var r=n.round,s=wm(t),a;if(e==="now"?a=wm(t):a=wm(e),s!==void 0&&a!==void 0)return s-a*(1-B8(r))}function DP(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),n.push.apply(n,r)}return n}function ire(t){for(var e=1;e0)return t[i-1]}return l}}}function V$(t,e,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=W$(t[r],ire({prevStep:t[r-1],timestamp:n.now-e*1e3},n));return s===void 0||Math.abs(e)=0:!0})}function fre(t,e,n){var r=n.now,s=n.round;if(wm(t)){var a=wm(t)*1e3,i=e>r,l=Math.abs(e-r),u=hv(s)(l/a)*a;return i?u>0?l-u+pre(s,a):l-u+1:-(l-u)+hre(s,a)}}function hre(t,e){return B8(t)*e}function pre(t,e){return(1-B8(t))*e+1}var mre=365*24*60*60*1e3,q$=1e3*mre;function gre(t,e,n){var r=n.prevStep,s=n.nextStep,a=n.now,i=n.future,l=n.round,u=t.getTime?t.getTime():t,d=function(C){return fre(C,u,{now:a,round:l})},p=xre(i?e:s,u,{future:i,now:a,round:l,prevStep:i?r:e});if(p!==void 0){var h;if(e&&(e.getTimeToNextUpdate&&(h=e.getTimeToNextUpdate(u,{getTimeToNextUpdateForUnit:d,getRoundFunction:hv,now:a,future:i,round:l})),h===void 0)){var m=e.unit||e.formatAs;m&&(h=d(m))}return h===void 0?p:Math.min(h,p)}}function vre(t,e,n){var r=n.now,s=n.future,a=n.round,i=n.prevStep,l=W$(t,{timestamp:e,now:r,future:s,round:a,prevStep:i});if(l!==void 0)return s?e-l*1e3+1:l===0&&e===r?q$:e+l*1e3}function xre(t,e,n){var r=n.now,s=n.future,a=n.round,i=n.prevStep;if(t){var l=vre(t,e,{now:r,future:s,round:a,prevStep:i});return l===void 0?void 0:l-r}else return s?e-r+1:q$}var K$={};function rm(t){return K$[t]}function G$(t){if(!t)throw new Error("[javascript-time-ago] No locale data passed.");K$[t.locale]=t}const yre=[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],n6={steps:yre,labels:"long"};function IP(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),n.push.apply(n,r)}return n}function AP(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $re(t,e){return Hre(t)||Fre(t,e)||X$(t,e)||zre()}function zre(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function X$(t,e){if(t){if(typeof t=="string")return YP(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return YP(t,e)}}function YP(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.polyfill;Bre(this,t),typeof e=="string"&&(e=[e]),this.locale=nre(e.concat(t.getDefaultLocale()),rm),typeof Intl!="undefined"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),r===!1?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=$d,this.IntlPluralRules=$d.PluralRules),this.relativeTimeFormatCache=new TP,this.pluralRulesCache=new TP}return Ure(t,[{key:"format",value:function(n,r,s){s||(r&&!Gre(r)?(s=r,r=void 0):s={}),r||(r=r6),typeof r=="string"&&(r=Rre(r));var a=Wre(n),i=this.getLabels(r.flavour||r.labels),l=i.labels,u=i.labelsType,d;r.now!==void 0&&(d=r.now),d===void 0&&s.now!==void 0&&(d=s.now),d===void 0&&(d=Date.now());var p=(d-a)/1e3,h=s.future||p<0,m=Kre(l,rm(this.locale).now,rm(this.locale).long,h);if(r.custom){var b=r.custom({now:d,date:new Date(a),time:a,elapsed:p,locale:this.locale});if(b!==void 0)return b}var C=qre(r.units,l,m),g=s.round||r.round,w=cre(r.gradation||r.steps||r6.steps,p,{now:d,units:C,round:g,future:h,getNextStep:!0}),x=$re(w,3),S=x[0],E=x[1],N=x[2],_=this.formatDateForStep(a,E,p,{labels:l,labelsType:u,nowLabel:m,now:d,future:h,round:g})||"";if(s.getTimeToNextUpdate){var P=gre(a,E,{nextStep:N,prevStep:S,now:d,future:h,round:g});return[_,P]}return _}},{key:"formatDateForStep",value:function(n,r,s,a){var i=this,l=a.labels,u=a.labelsType,d=a.nowLabel,p=a.now,h=a.future,m=a.round;if(r){if(r.format)return r.format(n,this.locale,{formatAs:function(x,S){return i.formatValue(S,x,{labels:l,future:h})},now:p,future:h});var b=r.unit||r.formatAs;if(!b)throw new Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(r)));if(b==="now")return d;var C=Math.abs(s)/U$(r);r.granularity&&(C=hv(m)(C/r.granularity)*r.granularity);var g=-1*Math.sign(s)*hv(m)(C);switch(g===0&&(h?g=0:g=-0),u){case"long":case"short":case"narrow":return this.getFormatter(u).format(g,b);default:return this.formatValue(g,b,{labels:l,future:h})}}}},{key:"formatValue",value:function(n,r,s){var a=s.labels,i=s.future;return this.getFormattingRule(a,r,n,{future:i}).replace("{0}",this.formatNumber(Math.abs(n)))}},{key:"getFormattingRule",value:function(n,r,s,a){var i=a.future;if(this.locale,n=n[r],typeof n=="string")return n;var l=s===0?i?"future":"past":s<0?"past":"future",u=n[l]||n;if(typeof u=="string")return u;var d=this.getPluralRules().select(Math.abs(s));return u[d]||u.other}},{key:"formatNumber",value:function(n){return this.numberFormat?this.numberFormat.format(n):String(n)}},{key:"getFormatter",value:function(n){return this.relativeTimeFormatCache.get(this.locale,n)||this.relativeTimeFormatCache.put(this.locale,n,new this.IntlRelativeTimeFormat(this.locale,{style:n}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];typeof n=="string"&&(n=[n]),n=n.map(function(l){switch(l){case"tiny":case"mini-time":return"mini";default:return l}}),n=n.concat("long");for(var r=rm(this.locale),s=Ore(n),a;!(a=s()).done;){var i=a.value;if(r[i])return{labelsType:i,labels:r[i]}}}}]),t}(),Q$="en";sa.getDefaultLocale=function(){return Q$};sa.setDefaultLocale=function(t){return Q$=t};sa.addDefaultLocale=function(t){if(XP)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");XP=!0,sa.setDefaultLocale(t.locale),sa.addLocale(t)};var XP;sa.addLocale=function(t){G$(t),$d.addLocale(t)};sa.locale=sa.addLocale;sa.addLabels=function(t,e,n){var r=rm(t);r||(G$({locale:t}),r=rm(t)),r[e]=n};function Wre(t){if(t.constructor===Date||Vre(t))return t.getTime();if(typeof t=="number")return t;throw new Error("Unsupported relative time formatter input: ".concat(H2(t),", ").concat(t))}function Vre(t){return H2(t)==="object"&&typeof t.getTime=="function"}function qre(t,e,n){var r=Object.keys(e);return n&&r.push("now"),t&&(r=t.filter(function(s){return s==="now"||r.indexOf(s)>=0})),r}function Kre(t,e,n,r){var s=t.now||e&&e.now;if(s)return typeof s=="string"?s:r?s.future:s.past;if(n&&n.second&&n.second.current)return n.second.current}function Gre(t){return typeof t=="string"||sre(t)}const Yre={locale:"de",long:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:{one:"vor {0} Quartal",other:"vor {0} Quartalen"},future:{one:"in {0} Quartal",other:"in {0} Quartalen"}},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:{one:"vor {0} Woche",other:"vor {0} Wochen"},future:{one:"in {0} Woche",other:"in {0} Wochen"}},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:{one:"vor {0} Stunde",other:"vor {0} Stunden"},future:{one:"in {0} Stunde",other:"in {0} Stunden"}},minute:{current:"in dieser Minute",past:{one:"vor {0} Minute",other:"vor {0} Minuten"},future:{one:"in {0} Minute",other:"in {0} Minuten"}},second:{current:"jetzt",past:{one:"vor {0} Sekunde",other:"vor {0} Sekunden"},future:{one:"in {0} Sekunde",other:"in {0} Sekunden"}}},short:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:"vor {0} Quart.",future:"in {0} Quart."},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:{one:"vor {0} Woche",other:"vor {0} Wochen"},future:{one:"in {0} Woche",other:"in {0} Wochen"}},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:"vor {0} Std.",future:"in {0} Std."},minute:{current:"in dieser Minute",past:"vor {0} Min.",future:"in {0} Min."},second:{current:"jetzt",past:"vor {0} Sek.",future:"in {0} Sek."}},narrow:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:"vor {0} Q",future:"in {0} Q"},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:"vor {0} Wo.",future:"in {0} Wo."},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:"vor {0} Std.",future:"in {0} Std."},minute:{current:"in dieser Minute",past:"vor {0} m",future:"in {0} m"},second:{current:"jetzt",past:"vor {0} s",future:"in {0} s"}},now:{now:{current:"jetzt",future:"in einem Moment",past:"gerade jetzt"}},mini:{year:"{0} J.",month:"{0} Mt.",week:"{0} Wo.",day:"{0} T.",hour:"{0} Std.",minute:"{0} Min.",second:"{0} s",now:"jetzt"},"long-time":{year:{one:"{0} Jahr",other:"{0} Jahre"},month:{one:"{0} Monat",other:"{0} Monate"},week:{one:"{0} Woche",other:"{0} Wochen"},day:{one:"{0} Tag",other:"{0} Tage"},hour:{one:"{0} Stunde",other:"{0} Stunden"},minute:{one:"{0} Minute",other:"{0} Minuten"},second:{one:"{0} Sekunde",other:"{0} Sekunden"}}},Zre={locale:"en",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0} yr. ago",future:"in {0} yr."},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},future:{one:"in {0} qtr.",other:"in {0} qtrs."}},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0} mo. ago",future:"in {0} mo."},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0} wk. ago",future:"in {0} wk."},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:"{0} hr. ago",future:"in {0} hr."},minute:{current:"this minute",past:"{0} min. ago",future:"in {0} min."},second:{current:"now",past:"{0} sec. ago",future:"in {0} sec."}},narrow:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0}y ago",future:"in {0}y"},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:"{0}q ago",future:"in {0}q"},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0}mo ago",future:"in {0}mo"},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0}w ago",future:"in {0}w"},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:"{0}h ago",future:"in {0}h"},minute:{current:"this minute",past:"{0}m ago",future:"in {0}m"},second:{current:"now",past:"{0}s ago",future:"in {0}s"}},now:{now:{current:"now",future:"in a moment",past:"just now"}},mini:{year:"{0}yr",month:"{0}mo",week:"{0}wk",day:"{0}d",hour:"{0}h",minute:"{0}m",second:"{0}s",now:"now"},"short-time":{year:"{0} yr.",month:"{0} mo.",week:"{0} wk.",day:{one:"{0} day",other:"{0} days"},hour:"{0} hr.",minute:"{0} min.",second:"{0} sec."},"long-time":{year:{one:"{0} year",other:"{0} years"},month:{one:"{0} month",other:"{0} months"},week:{one:"{0} week",other:"{0} weeks"},day:{one:"{0} day",other:"{0} days"},hour:{one:"{0} hour",other:"{0} hours"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} second",other:"{0} seconds"}}},Xre={locale:"es",long:{year:{previous:"el año pasado",current:"este año",next:"el próximo año",past:{one:"hace {0} año",other:"hace {0} años"},future:{one:"dentro de {0} año",other:"dentro de {0} años"}},quarter:{previous:"el trimestre pasado",current:"este trimestre",next:"el próximo trimestre",past:{one:"hace {0} trimestre",other:"hace {0} trimestres"},future:{one:"dentro de {0} trimestre",other:"dentro de {0} trimestres"}},month:{previous:"el mes pasado",current:"este mes",next:"el próximo mes",past:{one:"hace {0} mes",other:"hace {0} meses"},future:{one:"dentro de {0} mes",other:"dentro de {0} meses"}},week:{previous:"la semana pasada",current:"esta semana",next:"la próxima semana",past:{one:"hace {0} semana",other:"hace {0} semanas"},future:{one:"dentro de {0} semana",other:"dentro de {0} semanas"}},day:{previous:"ayer","previous-2":"anteayer",current:"hoy",next:"mañana","next-2":"pasado mañana",past:{one:"hace {0} día",other:"hace {0} días"},future:{one:"dentro de {0} día",other:"dentro de {0} días"}},hour:{current:"esta hora",past:{one:"hace {0} hora",other:"hace {0} horas"},future:{one:"dentro de {0} hora",other:"dentro de {0} horas"}},minute:{current:"este minuto",past:{one:"hace {0} minuto",other:"hace {0} minutos"},future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"}},second:{current:"ahora",past:{one:"hace {0} segundo",other:"hace {0} segundos"},future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"}}},short:{year:{previous:"el año pasado",current:"este año",next:"el próximo año",past:"hace {0} a",future:"dentro de {0} a"},quarter:{previous:"el trimestre pasado",current:"este trimestre",next:"el próximo trimestre",past:"hace {0} trim.",future:"dentro de {0} trim."},month:{previous:"el mes pasado",current:"este mes",next:"el próximo mes",past:"hace {0} m",future:"dentro de {0} m"},week:{previous:"sem. ant.",current:"esta sem.",next:"próx. sem.",past:"hace {0} sem.",future:"dentro de {0} sem."},day:{previous:"ayer","previous-2":"anteayer",current:"hoy",next:"mañana","next-2":"pasado mañana",past:"hace {0} d",future:"dentro de {0} d"},hour:{current:"esta hora",past:"hace {0} h",future:"dentro de {0} h"},minute:{current:"este minuto",past:"hace {0} min",future:"dentro de {0} min"},second:{current:"ahora",past:"hace {0} s",future:"dentro de {0} s"}},narrow:{year:{previous:"el año pasado",current:"este año",next:"el próximo año",past:"hace {0} a",future:"dentro de {0} a"},quarter:{previous:"el trimestre pasado",current:"este trimestre",next:"el próximo trimestre",past:"hace {0} trim.",future:"dentro de {0} trim."},month:{previous:"el mes pasado",current:"este mes",next:"el próximo mes",past:"hace {0} m",future:"dentro de {0} m"},week:{previous:"sem. ant.",current:"esta sem.",next:"próx. sem.",past:"hace {0} sem.",future:"dentro de {0} sem."},day:{previous:"ayer","previous-2":"anteayer",current:"hoy",next:"mañana","next-2":"pasado mañana",past:"hace {0} d",future:"dentro de {0} d"},hour:{current:"esta hora",past:"hace {0} h",future:"dentro de {0} h"},minute:{current:"este minuto",past:"hace {0} min",future:"dentro de {0} min"},second:{current:"ahora",past:"hace {0} s",future:"dentro de {0} s"}},now:{now:{current:"ahora",future:"enseguida",past:"ahora mismo"}},mini:{year:{one:"{0} año",other:"{0} años"},month:{one:"{0} mes",other:"{0} meses"},week:"{0} sem.",day:{one:"{0} día",other:"{0} días"},hour:{one:"{0} hora",other:"{0} horas"},minute:"{0} min.",second:"{0} seg.",now:"ahora"},"long-time":{year:{one:"{0} año",other:"{0} años"},month:{one:"{0} mes",other:"{0} meses"},week:{one:"{0} semana",other:"{0} semanas"},day:{one:"{0} día",other:"{0} días"},hour:{one:"{0} hora",other:"{0} horas"},minute:{one:"{0} minuto",other:"{0} minutos"},second:{one:"{0} segundo",other:"{0} segundos"}}},Qre={locale:"fr",long:{year:{previous:"l’année dernière",current:"cette année",next:"l’année prochaine",past:{one:"il y a {0} an",other:"il y a {0} ans"},future:{one:"dans {0} an",other:"dans {0} ans"}},quarter:{previous:"le trimestre dernier",current:"ce trimestre",next:"le trimestre prochain",past:{one:"il y a {0} trimestre",other:"il y a {0} trimestres"},future:{one:"dans {0} trimestre",other:"dans {0} trimestres"}},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"il y a {0} mois",future:"dans {0} mois"},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:{one:"il y a {0} semaine",other:"il y a {0} semaines"},future:{one:"dans {0} semaine",other:"dans {0} semaines"}},day:{previous:"hier","previous-2":"avant-hier",current:"aujourd’hui",next:"demain","next-2":"après-demain",past:{one:"il y a {0} jour",other:"il y a {0} jours"},future:{one:"dans {0} jour",other:"dans {0} jours"}},hour:{current:"cette heure-ci",past:{one:"il y a {0} heure",other:"il y a {0} heures"},future:{one:"dans {0} heure",other:"dans {0} heures"}},minute:{current:"cette minute-ci",past:{one:"il y a {0} minute",other:"il y a {0} minutes"},future:{one:"dans {0} minute",other:"dans {0} minutes"}},second:{current:"maintenant",past:{one:"il y a {0} seconde",other:"il y a {0} secondes"},future:{one:"dans {0} seconde",other:"dans {0} secondes"}}},short:{year:{previous:"l’année dernière",current:"cette année",next:"l’année prochaine",past:"il y a {0} a",future:"dans {0} a"},quarter:{previous:"le trimestre dernier",current:"ce trimestre",next:"le trimestre prochain",past:"il y a {0} trim.",future:"dans {0} trim."},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"il y a {0} m.",future:"dans {0} m."},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:"il y a {0} sem.",future:"dans {0} sem."},day:{previous:"hier","previous-2":"avant-hier",current:"aujourd’hui",next:"demain","next-2":"après-demain",past:"il y a {0} j",future:"dans {0} j"},hour:{current:"cette heure-ci",past:"il y a {0} h",future:"dans {0} h"},minute:{current:"cette minute-ci",past:"il y a {0} min",future:"dans {0} min"},second:{current:"maintenant",past:"il y a {0} s",future:"dans {0} s"}},narrow:{year:{previous:"l’année dernière",current:"cette année",next:"l’année prochaine",past:"-{0} a",future:"+{0} a"},quarter:{previous:"le trimestre dernier",current:"ce trimestre",next:"le trimestre prochain",past:"-{0} trim.",future:"+{0} trim."},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"-{0} m.",future:"+{0} m."},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:"-{0} sem.",future:"+{0} sem."},day:{previous:"hier","previous-2":"avant-hier",current:"aujourd’hui",next:"demain","next-2":"après-demain",past:"-{0} j",future:"+{0} j"},hour:{current:"cette heure-ci",past:"-{0} h",future:"+{0} h"},minute:{current:"cette minute-ci",past:"-{0} min",future:"+{0} min"},second:{current:"maintenant",past:"-{0} s",future:"+{0} s"}},now:{now:{current:"maintenant",future:"dans un instant",past:"à l'instant"}},mini:{year:{one:"{0} an",other:"{0} ans"},month:"{0} mois",week:"{0} sem.",day:{one:"{0} jour",other:"{0} jours"},hour:"{0} h",minute:"{0} min.",second:"{0} sec.",now:"maintenant"},"long-time":{year:{one:"{0} an",other:"{0} ans"},month:{one:"{0} mois",other:"{0} mois"},week:{one:"{0} semaine",other:"{0} semaines"},day:{one:"{0} jour",other:"{0} jours"},hour:{one:"{0} heure",other:"{0} heures"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} seconde",other:"{0} secondes"}}},Jre={locale:"ru",long:{year:{previous:"в прошлом году",current:"в этом году",next:"в следующем году",past:{one:"{0} год назад",many:"{0} лет назад",other:"{0} года назад"},future:{one:"через {0} год",many:"через {0} лет",other:"через {0} года"}},quarter:{previous:"в прошлом квартале",current:"в текущем квартале",next:"в следующем квартале",past:{one:"{0} квартал назад",many:"{0} кварталов назад",other:"{0} квартала назад"},future:{one:"через {0} квартал",many:"через {0} кварталов",other:"через {0} квартала"}},month:{previous:"в прошлом месяце",current:"в этом месяце",next:"в следующем месяце",past:{one:"{0} месяц назад",many:"{0} месяцев назад",other:"{0} месяца назад"},future:{one:"через {0} месяц",many:"через {0} месяцев",other:"через {0} месяца"}},week:{previous:"на прошлой неделе",current:"на этой неделе",next:"на следующей неделе",past:{one:"{0} неделю назад",many:"{0} недель назад",other:"{0} недели назад"},future:{one:"через {0} неделю",many:"через {0} недель",other:"через {0} недели"}},day:{previous:"вчера","previous-2":"позавчера",current:"сегодня",next:"завтра","next-2":"послезавтра",past:{one:"{0} день назад",many:"{0} дней назад",other:"{0} дня назад"},future:{one:"через {0} день",many:"через {0} дней",other:"через {0} дня"}},hour:{current:"в этот час",past:{one:"{0} час назад",many:"{0} часов назад",other:"{0} часа назад"},future:{one:"через {0} час",many:"через {0} часов",other:"через {0} часа"}},minute:{current:"в эту минуту",past:{one:"{0} минуту назад",many:"{0} минут назад",other:"{0} минуты назад"},future:{one:"через {0} минуту",many:"через {0} минут",other:"через {0} минуты"}},second:{current:"сейчас",past:{one:"{0} секунду назад",many:"{0} секунд назад",other:"{0} секунды назад"},future:{one:"через {0} секунду",many:"через {0} секунд",other:"через {0} секунды"}}},short:{year:{previous:"в прошлом г.",current:"в этом г.",next:"в след. г.",past:{many:"{0} л. назад",other:"{0} г. назад"},future:{many:"через {0} л.",other:"через {0} г."}},quarter:{previous:"последний кв.",current:"текущий кв.",next:"следующий кв.",past:"{0} кв. назад",future:"через {0} кв."},month:{previous:"в прошлом мес.",current:"в этом мес.",next:"в следующем мес.",past:"{0} мес. назад",future:"через {0} мес."},week:{previous:"на прошлой нед.",current:"на этой нед.",next:"на следующей нед.",past:"{0} нед. назад",future:"через {0} нед."},day:{previous:"вчера","previous-2":"позавчера",current:"сегодня",next:"завтра","next-2":"послезавтра",past:"{0} дн. назад",future:"через {0} дн."},hour:{current:"в этот час",past:"{0} ч назад",future:"через {0} ч"},minute:{current:"в эту минуту",past:"{0} мин. назад",future:"через {0} мин."},second:{current:"сейчас",past:"{0} сек. назад",future:"через {0} сек."}},narrow:{year:{previous:"в пр. г.",current:"в эт. г.",next:"в сл. г.",past:{many:"-{0} л.",other:"-{0} г."},future:{many:"+{0} л.",other:"+{0} г."}},quarter:{previous:"посл. кв.",current:"тек. кв.",next:"след. кв.",past:"-{0} кв.",future:"+{0} кв."},month:{previous:"в пр. мес.",current:"в эт. мес.",next:"в след. мес.",past:"-{0} мес.",future:"+{0} мес."},week:{previous:"на пр. нед.",current:"на эт. нед.",next:"на след. нед.",past:"-{0} нед.",future:"+{0} нед."},day:{previous:"вчера","previous-2":"позавчера",current:"сегодня",next:"завтра","next-2":"послезавтра",past:"-{0} дн.",future:"+{0} дн."},hour:{current:"в этот час",past:"-{0} ч",future:"+{0} ч"},minute:{current:"в эту минуту",past:"-{0} мин",future:"+{0} мин"},second:{current:"сейчас",past:"-{0} с",future:"+{0} с"}},now:{now:{current:"сейчас",past:"только что",future:"сейчас"}},mini:{year:{many:"{0} л",other:"{0} г"},month:"{0} мес",week:"{0} нед",day:"{0} д",hour:"{0} ч",minute:"{0} мин",second:"{0} с",now:"сейчас"},"short-time":{year:{many:"{0} л.",other:"{0} г."},month:"{0} мес.",week:"{0} нед.",day:{one:"{0} д.",other:"{0} дн."},hour:"{0} ч.",minute:"{0} мин.",second:"{0} сек."},"long-time":{year:{one:"{0} год",many:"{0} лет",other:"{0} года"},month:{one:"{0} месяц",many:"{0} месяцев",other:"{0} месяца"},week:{one:"{0} неделю",many:"{0} недель",other:"{0} недели"},day:{one:"{0} день",few:"{0} дня",other:"{0} дней"},hour:{one:"{0} час",many:"{0} часов",other:"{0} часа"},minute:{one:"{0} минута",many:"{0} минут",other:"{0} минуты"},second:{one:"{0} секунда",many:"{0} секунд",other:"{0} секунды"}}},ese={locale:"uk",long:{year:{previous:"минулого року",current:"цього року",next:"наступного року",past:{one:"{0} рік тому",few:"{0} роки тому",many:"{0} років тому",other:"{0} року тому"},future:{one:"через {0} рік",few:"через {0} роки",many:"через {0} років",other:"через {0} року"}},quarter:{previous:"минулого кварталу",current:"цього кварталу",next:"наступного кварталу",past:{one:"{0} квартал тому",few:"{0} квартали тому",many:"{0} кварталів тому",other:"{0} кварталу тому"},future:{one:"через {0} квартал",few:"через {0} квартали",many:"через {0} кварталів",other:"через {0} кварталу"}},month:{previous:"минулого місяця",current:"цього місяця",next:"наступного місяця",past:{one:"{0} місяць тому",few:"{0} місяці тому",many:"{0} місяців тому",other:"{0} місяця тому"},future:{one:"через {0} місяць",few:"через {0} місяці",many:"через {0} місяців",other:"через {0} місяця"}},week:{previous:"минулого тижня",current:"цього тижня",next:"наступного тижня",past:{one:"{0} тиждень тому",few:"{0} тижні тому",many:"{0} тижнів тому",other:"{0} тижня тому"},future:{one:"через {0} тиждень",few:"через {0} тижні",many:"через {0} тижнів",other:"через {0} тижня"}},day:{previous:"учора","previous-2":"позавчора",current:"сьогодні",next:"завтра","next-2":"післязавтра",past:{one:"{0} день тому",few:"{0} дні тому",many:"{0} днів тому",other:"{0} дня тому"},future:{one:"через {0} день",few:"через {0} дні",many:"через {0} днів",other:"через {0} дня"}},hour:{current:"цієї години",past:{one:"{0} годину тому",many:"{0} годин тому",other:"{0} години тому"},future:{one:"через {0} годину",many:"через {0} годин",other:"через {0} години"}},minute:{current:"цієї хвилини",past:{one:"{0} хвилину тому",many:"{0} хвилин тому",other:"{0} хвилини тому"},future:{one:"через {0} хвилину",many:"через {0} хвилин",other:"через {0} хвилини"}},second:{current:"зараз",past:{one:"{0} секунду тому",many:"{0} секунд тому",other:"{0} секунди тому"},future:{one:"через {0} секунду",many:"через {0} секунд",other:"через {0} секунди"}}},short:{year:{previous:"торік",current:"цьогоріч",next:"наст. року",past:"{0} р. тому",future:"через {0} р."},quarter:{previous:"минулого кв.",current:"цього кв.",next:"наступного кв.",past:"{0} кв. тому",future:"через {0} кв."},month:{previous:"минулого місяця",current:"цього місяця",next:"наступного місяця",past:"{0} міс. тому",future:"через {0} міс."},week:{previous:"мин. тижня",current:"цього тижня",next:"наст. тижня",past:"{0} тиж. тому",future:"через {0} тиж."},day:{previous:"учора","previous-2":"позавчора",current:"сьогодні",next:"завтра","next-2":"післязавтра",past:"{0} дн. тому",future:"через {0} дн."},hour:{current:"цієї години",past:"{0} год тому",future:"через {0} год"},minute:{current:"цієї хвилини",past:"{0} хв тому",future:"через {0} хв"},second:{current:"зараз",past:"{0} с тому",future:"через {0} с"}},narrow:{year:{previous:"торік",current:"цього року",next:"наст. р.",past:"{0} р. тому",future:"за {0} р."},quarter:{previous:"минулого кв.",current:"цього кв.",next:"наступного кв.",past:"{0} кв. тому",future:"за {0} кв."},month:{previous:"мин. міс.",current:"цього міс.",next:"наст. міс.",past:"{0} міс. тому",future:"за {0} міс."},week:{previous:"минулого тижня",current:"цього тижня",next:"наступного тижня",past:"{0} тиж. тому",future:"за {0} тиж."},day:{previous:"учора","previous-2":"позавчора",current:"сьогодні",next:"завтра","next-2":"післязавтра",past:"{0} дн. тому",future:"за {0} д."},hour:{current:"цієї години",past:"{0} год тому",future:"за {0} год"},minute:{current:"цієї хвилини",past:"{0} хв тому",future:"за {0} хв"},second:{current:"зараз",past:"{0} с тому",future:"за {0} с"}}};var tse={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const nse=ou(tse);var rse=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function QP(t){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=t.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(e.name=n[1],(nse[n[1]]||t.charAt(t.length-2)==="/")&&(e.voidElement=!0),e.name.startsWith("!--"))){var r=t.indexOf("-->");return{type:"comment",comment:r!==-1?t.slice(4,r):""}}for(var s=new RegExp(rse),a=null;(a=s.exec(t))!==null;)if(a[0].trim())if(a[1]){var i=a[1].trim(),l=[i,""];i.indexOf("=")>-1&&(l=i.split("=")),e.attrs[l[0]]=l[1],s.lastIndex--}else a[2]&&(e.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return e}var sse=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ase=/^\s*$/,ose=Object.create(null);function J$(t,e){switch(e.type){case"text":return t+e.content;case"tag":return t+="<"+e.name+(e.attrs?function(n){var r=[];for(var s in n)r.push(s+'="'+n[s]+'"');return r.length?" "+r.join(" "):""}(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?t:t+e.children.reduce(J$,"")+"";case"comment":return t+""}}var ise={parse:function(t,e){e||(e={}),e.components||(e.components=ose);var n,r=[],s=[],a=-1,i=!1;if(t.indexOf("<")!==0){var l=t.indexOf("<");r.push({type:"text",content:l===-1?t:t.substring(0,l)})}return t.replace(sse,function(u,d){if(i){if(u!=="")return;i=!1}var p,h=u.charAt(1)!=="/",m=u.startsWith("/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\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://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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},yt.languages.markup.tag.inside["attr-value"].inside.entity=yt.languages.markup.entity,yt.languages.markup.doctype.inside["internal-subset"].inside=yt.languages.markup,yt.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(yt.languages.markup.tag,"addInlined",{value:function(t,r){var n={},n=(n["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:yt.languages[r]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),r=(n["language-"+r]={pattern:/[\s\S]+/,inside:yt.languages[r]},{});r[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:n},yt.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(yt.languages.markup.tag,"addAttribute",{value:function(t,e){yt.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[e,"language-"+e],inside:yt.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),yt.languages.html=yt.languages.markup,yt.languages.mathml=yt.languages.markup,yt.languages.svg=yt.languages.markup,yt.languages.xml=yt.languages.extend("markup",{}),yt.languages.ssml=yt.languages.xml,yt.languages.atom=yt.languages.xml,yt.languages.rss=yt.languages.xml,function(t){var e={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",r=RegExp(r+"-"+r),s={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":e,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":e,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":s}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},yt.languages.javascript=yt.languages.extend("clike",{"class-name":[yt.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}|\?\?=?|\?\.?|[~:]/}),yt.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,yt.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:yt.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:yt.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:yt.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:yt.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:yt.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),yt.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:yt.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"}}),yt.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),yt.languages.markup&&(yt.languages.markup.tag.addInlined("script","javascript"),yt.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")),yt.languages.js=yt.languages.javascript,yt.languages.actionscript=yt.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),yt.languages.actionscript["class-name"].alias="function",delete yt.languages.actionscript.parameter,delete yt.languages.actionscript["literal-property"],yt.languages.markup&&yt.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:yt.languages.markup}}),function(t){var e=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};t.languages.coffeescript=t.languages.extend("javascript",{comment:e,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"}}),t.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:e,interpolation:n}}}),t.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),t.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t.languages.coffeescript["template-string"],t.languages.coffee=t.languages.coffeescript}(yt),function(t){var e=t.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(e,"addSupport",{value:function(n,r){(n=typeof n=="string"?[n]:n).forEach(function(s){var a=function(h){h.inside||(h.inside={}),h.inside.rest=r},i="doc-comment";if(l=t.languages[s]){var l,u=l[i];if((u=u||(l=t.languages.insertBefore(s,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[i])instanceof RegExp&&(u=l[i]={pattern:u}),Array.isArray(u))for(var d=0,p=u.length;d|\+|~|\|\|/,punctuation:/[(),]/}},t.languages.css.atrule.inside["selector-function-argument"].inside=e,t.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};t.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|RebeccaPurple|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:e,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:e,number:n})}(yt),function(t){var e=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+n.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(l,u){u=(u||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return l});return RegExp(d,u)}t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\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:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml}(yt),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(d){return d=d.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(t.languages.markdown=t.languages.extend("markup",{}),t.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:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:t.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__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.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(d){["url","bold","italic","strike","code-snippet"].forEach(function(p){d!==p&&(t.languages.markdown[d].inside.content.inside[p]=t.languages.markdown[p])})}),t.hooks.add("after-tokenize",function(d){d.language!=="markdown"&&d.language!=="md"||function p(h){if(h&&typeof h!="string")for(var m=0,b=h.length;m",quot:'"'},u=String.fromCodePoint||String.fromCharCode;t.languages.md=t.languages.markdown}(yt),yt.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:yt.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+/},yt.hooks.add("after-tokenize",function(t){if(t.language==="graphql")for(var e=t.tokens.filter(function(C){return typeof C!="string"&&C.type!=="comment"&&C.type!=="scalar"}),n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(t){var e=t.languages.javascript["template-string"],n=e.pattern.source,r=e.inside.interpolation,s=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(h,m){if(t.languages[h])return{pattern:RegExp("((?:"+m+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:h}}}}function l(h,m,b){return h={code:h,grammar:m,language:b},t.hooks.run("before-tokenize",h),h.tokens=t.tokenize(h.code,h.grammar),t.hooks.run("after-tokenize",h),h.tokens}function u(h,m,b){var w=t.tokenize(h,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),C=0,g={},w=l(w.map(function(S){if(typeof S=="string")return S;for(var E,N,S=S.content;h.indexOf((N=C++,E="___"+b.toUpperCase()+"_"+N+"___"))!==-1;);return g[E]=S,E}).join(""),m,b),x=Object.keys(g);return C=0,function S(E){for(var N=0;N=x.length)return;var _,P,I,T,A,L,z,Y=E[N];typeof Y=="string"||typeof Y.content=="string"?(_=x[C],(z=(L=typeof Y=="string"?Y:Y.content).indexOf(_))!==-1&&(++C,P=L.substring(0,z),A=g[_],I=void 0,(T={})["interpolation-punctuation"]=s,(T=t.tokenize(A,T)).length===3&&((I=[1,1]).push.apply(I,l(T[1],t.languages.javascript,"javascript")),T.splice.apply(T,I)),I=new t.Token("interpolation",T,r.alias,A),T=L.substring(z+_.length),A=[],P&&A.push(P),A.push(I),T&&(S(L=[T]),A.push.apply(A,L)),typeof Y=="string"?(E.splice.apply(E,[N,1].concat(A)),N+=A.length-1):Y.content=A)):(z=Y.content,Array.isArray(z)?S(z):S([z]))}}(w),new t.Token(b,w,"language-"+b,h)}t.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),e].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(h){return typeof h=="string"?h:Array.isArray(h)?h.map(p).join(""):p(h.content)}t.hooks.add("after-tokenize",function(h){h.language in d&&function m(b){for(var C=0,g=b.length;C]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.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 t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.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:e}}}}),t.languages.ts=t.languages.typescript}(yt),function(t){var e=t.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";t.languages.jsdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:e,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:e.string,number:e.number,boolean:e.boolean,keyword:t.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:e,alias:"language-javascript"}}}}),t.languages.javadoclike.addSupport("javascript",t.languages.jsdoc)}(yt),function(t){t.languages.flow=t.languages.extend("javascript",{}),t.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),t.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete t.languages.flow.parameter,t.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(t.languages.flow.keyword)||(t.languages.flow.keyword=[t.languages.flow.keyword]),t.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(yt),yt.languages.n4js=yt.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),yt.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),yt.languages.n4jsd=yt.languages.n4js,function(t){function e(i,l){return RegExp(i.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),l)}t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.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"}]}),t.languages.insertBefore("javascript","keyword",{imports:{pattern:e(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:e(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:t.languages.javascript}}),t.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"}),t.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),t.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:e(/(\.\s*)#?/.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*\.{3}(?:[^{}]|)*\})/.source;function a(u,d){return u=u.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return s}),RegExp(u,d)}s=a(s).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);function i(u){for(var d=[],p=0;p"&&d.push({tagName:l(h.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},yt.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=yt.languages.swift}),function(t){t.languages.kotlin=t.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t.languages.kotlin["class-name"];var e={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.kotlin}};t.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:e},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:e},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t.languages.kotlin.string,t.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t.languages.kt=t.languages.kotlin,t.languages.kts=t.languages.kotlin}(yt),yt.languages.c=yt.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|[?:~]|[-+*/%&|^!=<>]=?/}),yt.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),yt.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},yt.languages.c.string],char:yt.languages.c.char,comment:yt.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:yt.languages.c}}}}),yt.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 yt.languages.c.boolean,yt.languages.objectivec=yt.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 yt.languages.objectivec["class-name"],yt.languages.objc=yt.languages.objectivec,yt.languages.reason=yt.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/}),yt.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 yt.languages.reason.function,function(t){for(var e=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)e=e.replace(//g,function(){return e});e=e.replace(//g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+e),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string}(yt),yt.languages.go=yt.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/}),yt.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete yt.languages.go["class-name"],function(t){var e=/\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(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return e.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return e.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:e,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/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//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}}),t.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:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(yt),yt.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:/![sra](?=[:}]$)/,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:/[{}[\];(),.:]/},yt.languages.python["string-interpolation"].inside.interpolation.inside.rest=yt.languages.python,yt.languages.py=yt.languages.python;var ml={};Wye(ml,{dracula:()=>Yye,duotoneDark:()=>Xye,duotoneLight:()=>Jye,github:()=>tbe,jettwaveDark:()=>kbe,jettwaveLight:()=>Sbe,nightOwl:()=>rbe,nightOwlLight:()=>abe,oceanicNext:()=>ibe,okaidia:()=>cbe,oneDark:()=>Ebe,oneLight:()=>_be,palenight:()=>dbe,shadesOfPurple:()=>hbe,synthwave84:()=>mbe,ultramin:()=>vbe,vsDark:()=>TU,vsLight:()=>bbe});var Gye={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},Yye=Gye,Zye={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"}}]},Xye=Zye,Qye={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},Jye=Qye,ebe={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},tbe=ebe,nbe={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},rbe=nbe,sbe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},abe=sbe,Po={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},obe={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Po.keyword}},{types:["attr-value"],style:{color:Po.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:Po.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:Po.primitive}},{types:["boolean"],style:{color:Po.boolean}},{types:["tag"],style:{color:Po.tag}},{types:["string"],style:{color:Po.string}},{types:["punctuation"],style:{color:Po.string}},{types:["selector","char","builtin","inserted"],style:{color:Po.char}},{types:["function"],style:{color:Po.function}},{types:["operator","entity","url","variable"],style:{color:Po.variable}},{types:["keyword"],style:{color:Po.keyword}},{types:["atrule","class-name"],style:{color:Po.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ibe=obe,lbe={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},cbe=lbe,ube={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},dbe=ube,fbe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},hbe=fbe,pbe={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},mbe=pbe,gbe={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},vbe=gbe,xbe={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},TU=xbe,ybe={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)"}}]},bbe=ybe,wbe={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},kbe=wbe,Cbe={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Sbe=Cbe,jbe={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},Ebe=jbe,Nbe={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},_be=Nbe,Tbe=(t,e)=>{const{plain:n}=t,r=t.styles.reduce((s,a)=>{const{languages:i,style:l}=a;return i&&!i.includes(e)||a.types.forEach(u=>{const d=Xl(Xl({},s[u]),l);s[u]=d}),s},{});return r.root=n,r.plain=ok(Xl({},n),{backgroundColor:void 0}),r},$D=Tbe,Pbe=(t,e)=>{const[n,r]=v.useState($D(e,t)),s=v.useRef(),a=v.useRef();return v.useEffect(()=>{(e!==s.current||t!==a.current)&&(s.current=e,a.current=t,r($D(e,t)))},[t,e]),n},Mbe=t=>v.useCallback(e=>{var n=e,{className:r,style:s,line:a}=n,i=_U(n,["className","style","line"]);const l=ok(Xl({},i),{className:Pn("token-line",r)});return typeof t=="object"&&"plain"in t&&(l.style=t.plain),typeof s=="object"&&(l.style=Xl(Xl({},l.style||{}),s)),l},[t]),Dbe=t=>{const e=v.useCallback(({types:n,empty:r})=>{if(t!=null){{if(n.length===1&&n[0]==="plain")return r!=null?{display:"inline-block"}:void 0;if(n.length===1&&r!=null)return t[n[0]]}return Object.assign(r!=null?{display:"inline-block"}:{},...n.map(s=>t[s]))}},[t]);return v.useCallback(n=>{var r=n,{token:s,className:a,style:i}=r,l=_U(r,["token","className","style"]);const u=ok(Xl({},l),{className:Pn("token",...s.types,a),children:s.content,style:e(s)});return i!=null&&(u.style=Xl(Xl({},u.style||{}),i)),u},[e])},Ibe=/\r\n|\r|\n/,zD=t=>{t.length===0?t.push({types:["plain"],content:"\n",empty:!0}):t.length===1&&t[0].content===""&&(t[0].content="\n",t[0].empty=!0)},FD=(t,e)=>{const n=t.length;return n>0&&t[n-1]===e?t:t.concat(e)},Abe=t=>{const e=[[]],n=[t],r=[0],s=[t.length];let a=0,i=0,l=[];const u=[l];for(;i>-1;){for(;(a=r[i]++)0?p:["plain"],d=m):(p=FD(p,m.type),m.alias&&(p=FD(p,m.alias)),d=m.content),typeof d!="string"){i++,e.push(p),n.push(d),r.push(0),s.push(d.length);continue}const b=d.split(Ibe),C=b.length;l.push({types:p,content:b[0]});for(let g=1;g{const s=v.useRef(t);return v.useMemo(()=>{if(n==null)return HD([e]);const a={code:e,grammar:n,language:r,tokens:[]};return s.current.hooks.run("before-tokenize",a),a.tokens=s.current.tokenize(e,n),s.current.hooks.run("after-tokenize",a),HD(a.tokens)},[e,n,r])},Rbe=({children:t,language:e,code:n,theme:r,prism:s})=>{const a=e.toLowerCase(),i=Pbe(a,r),l=Mbe(i),u=Dbe(i),d=s.languages[a],p=Lbe({prism:s,language:a,code:n,grammar:d});return t({tokens:p,className:"prism-code language-".concat(a),style:i!=null?i.root:{},getLineProps:l,getTokenProps:u})},jx=t=>v.createElement(Rbe,ok(Xl({},t),{prism:t.prism||yt,theme:t.theme||TU,code:t.code,language:t.language}));/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + *) +*/function Obe(t){var u,d;const e=Te(7),n=(u=t.width)!=null?u:"14px",r=(d=t.height)!=null?d:"14px";let s,a,i;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("path",{d:"M40.554 17.082c0-.309-.073-.627-.195-.917-.123-.29-.296-.553-.496-.754-.201-.2-.464-.373-.754-.495-.29-.123-.608-.195-.917-.195-.196 0-.406.03-.609.084-.204.055-.401.134-.571.232-.372.215-.667.541-.869.906-.203.365-.312.769-.312 1.139s.109.774.312 1.139c.202.365.497.692.869.906.371.214.801.307 1.219.299.417-.007.822-.114 1.142-.299.32-.185.616-.482.831-.84.215-.358.35-.776.35-1.205Zm-4.369-2.007c.271-.27.568-.484.9-.627.332-.143.699-.217 1.108-.207.261-.004.503.026.736.09.234.064.458.16.684.29.496.287.85.649 1.082 1.067.231.417.338.889.338 1.394 0 .506-.107.977-.338 1.394-.232.417-.586.779-1.082 1.065-.496.287-.987.414-1.464.405-.477-.008-.939-.151-1.377-.405-.438-.253-.803-.581-1.053-.99-.251-.408-.387-.896-.367-1.469-.01-.409.063-.776.206-1.108.144-.332.357-.629.627-.899Z"}),a=o.jsx("path",{d:"m58.665 30.709-.014-3.279-.014-3.28-.001-.063v-.064l-2.307-3.991-2.306-3.991-1.644 2.858-1.644 2.858c-.075.17-.17.273-.288.333-.118.06-.26.078-.426.078-.166 0-.306-.018-.424-.078-.118-.061-.214-.163-.289-.333l-.891-1.531-.891-1.531-.208-.356-.208-.357-2.424 4.189-2.425 4.189c-.041.086-.085.145-.14.191-.055.047-.121.081-.205.116-.084.036-.154.06-.226.068-.072.007-.145-.002-.236-.031l-.009-.003-.009-.002-.02-.003-.019-.002c-1.888-.219-3.672-.086-5.284.19-1.611.276-3.051.695-4.248 1.047l-.53.153-.529.153v2.472c.01.115.044.248.093.37s.114.234.188.307c.073.074.185.139.307.188.123.049.255.082.37.093h25.943c.115-.011.247-.044.37-.093.122-.049.234-.114.307-.188.074-.073.139-.185.188-.307.049-.122.082-.255.093-.37Zm.383-16.343.169-.177.168-.177c.11-.115.049-.009-.038.126-.088.135-.203.298-.203.298v16.273c.011.215-.023.398-.095.562-.072.165-.182.311-.326.454-.143.143-.289.254-.454.326-.164.072-.346.106-.562.095H31.764c-.215.011-.398-.022-.562-.095-.164-.072-.31-.183-.454-.326-.143-.143-.253-.289-.326-.454-.072-.164-.105-.346-.095-.562V11.713c-.01-.216.023-.399.095-.563.073-.164.183-.31.326-.453.144-.143.29-.254.454-.326.164-.073.347-.106.562-.096h14.394c.024.113.041.193.065.287.025.095.057.205.112.377.024.075 0 .028-.03-.037s-.066-.148-.066-.148H31.764c-.115.011-.247.044-.37.093-.122.049-.233.114-.307.188-.073.073-.138.185-.188.307-.049.123-.082.255-.093.371v16.029l.307-.09.307-.09.156-.046.155-.045c1.256-.369 2.717-.802 4.348-1.083 1.632-.281 3.434-.409 5.371-.166l.157.02.157.02.08-.137.079-.138 2.232-3.878 2.232-3.878c.075-.169.17-.272.288-.333.118-.06.259-.078.425-.078.166 0 .307.018.425.079.117.06.212.163.287.333l1.1 1.902 1.101 1.902.208-.356.208-.357 1.452-2.494 1.452-2.495a.4813.4813 0 0 1 .039-.063c.015-.02.03-.039.048-.058.079-.118.164-.198.265-.247.1-.048.216-.064.357-.053.128-.011.237.005.334.05.098.045.183.117.263.217.026.023.046.044.063.067.017.022.031.047.047.078l1.958 3.389 1.958 3.389v-8.435c.125-.103.234-.197.347-.3.113-.104.229-.217.367-.36l-.17.175-.169.176.004.003Z"}),i=o.jsx("path",{fill:"red",d:"M53.247 6.641c-.374.007-.681.049-.951.119-.271.071-.505.171-.736.294l-.206.112-.207.112-.208.112-.209.112-.039-.039-.039-.04-.045.085-.046.085-.076.042-.076.041.035.036.035.035-.222.418-.223.418c-.152.29-.266.587-.335.919-.068.332-.09.698-.059 1.126.102.666.366 1.272.736 1.776s.846.905 1.372 1.163c.539.22 1.088.327 1.626.314.539-.013 1.067-.146 1.564-.403l.206-.112.206-.112.208-.112.208-.112.048.048.047.048.3-.597.299-.597c.276-.582.394-1.2.375-1.798-.019-.599-.174-1.177-.445-1.677-.309-.495-.754-.94-1.292-1.266-.539-.326-1.17-.532-1.851-.55Zm2.741 6.611-2.864-2.862-2.864-2.863.13-.122.13-.123c.366-.339.798-.588 1.264-.751.466-.163.965-.242 1.464-.242.69 0 1.369.157 1.967.486.598.329 1.116.829 1.484 1.514.214.331.37.676.47 1.021.1.345.144.691.134 1.024-.01.335-.075.671-.182.997-.107.326-.257.641-.437.932a3.872 3.872 0 0 1-.21.359c-.076.114-.156.224-.241.328l-.122.151Zm-5.559-.186c-.377-.36-.669-.779-.865-1.248-.196-.47-.296-.99-.291-1.554-.002-.36.042-.708.132-1.042.09-.333.225-.652.406-.955.065-.129.134-.252.208-.367.075-.116.153-.224.235-.325l.123-.152.122-.152 2.864 2.861 2.863 2.862-.128.123-.129.123c-.333.318-.739.573-1.199.746-.46.173-.974.264-1.525.254-.566.006-1.09-.101-1.563-.302-.473-.202-.894-.499-1.253-.872Z"}),e[0]=s,e[1]=a,e[2]=i):(s=e[0],a=e[1],i=e[2]);let l;return e[3]!==n||e[4]!==t.className||e[5]!==r?(l=o.jsxs("svg",{width:n,className:t.className,height:r,viewBox:"30.325 6.289 29.119 25.859",xmlns:"http://www.w3.org/2000/svg",stroke:"none",fill:"currentColor",children:[s,a,i]}),e[3]=n,e[4]=t.className,e[5]=r,e[6]=l):l=e[6],l}function $be(t){var b;const e=Te(15);let n,r,s,a,i;e[0]!==t?(b=t,{fallback:i,onErrorCallback:n,hasError:r,src:s}=b,a=Ne(b,["fallback","onErrorCallback","hasError","src"]),e[0]=t,e[1]=n,e[2]=r,e[3]=s,e[4]=a,e[5]=i):(n=e[1],r=e[2],s=e[3],a=e[4],i=e[5]);let l;e[6]!==n?(l=n===void 0?()=>{}:n,e[6]=n,e[7]=l):l=e[7];const u=l,d=r===void 0?!1:r,[p,h]=v.useState(!d);let m;return e[8]!==p||e[9]!==d||e[10]!==u||e[11]!==s||e[12]!==a||e[13]!==i?(m=p&&!d?o.jsx("img",R({src:s,onError:()=>{p&&h(!1),u()}},a)):i?o.jsx("img",ae(R({src:i},a),{alt:"404 Not Found"})):o.jsx(st,{text:"404 / broken image link",children:o.jsx(Obe,{className:"mb-1 text-gray-400",width:"50px",height:"36px"})}),e[8]=p,e[9]=d,e[10]=u,e[11]=s,e[12]=a,e[13]=i,e[14]=m):m=e[14],m}const gl=v.memo($be,(t,e)=>t.src===e.src),E7=t=>{const e=Te(9),{delay:n,onCopied:r}=t,s=n===void 0?800:n;let a;e[0]!==r?(a=r===void 0?()=>{}:r,e[0]=r,e[1]=a):a=e[1];const i=a,[l,u]=v.useState(!1);let d;e[2]!==l||e[3]!==i||e[4]!==s?(d=m=>{(m==null?void 0:m.length)>0&&!l&&(u(!0),setTimeout(()=>{qs("copy_text",{text:m}).then(b=>{b==="ok"?(requestAnimationFrame(()=>{u(!1)}),i()):(u(!1),console.error("Failed to copy text",b))}).catch(b=>{u(!1),console.error("Failed to copy text",b)})},s))},e[2]=l,e[3]=i,e[4]=s,e[5]=d):d=e[5];const p=d;let h;return e[6]!==l||e[7]!==p?(h=[l,p],e[6]=l,e[7]=p,e[8]=h):h=e[8],h},N7=t=>{const e=Te(21),{delay:n,onPasted:r}=t,s=n===void 0?800:n;let a;e[0]!==r?(a=r===void 0?()=>{}:r,e[0]=r,e[1]=a):a=e[1];const i=a,[l,u]=v.useState(""),[d,p]=v.useState(null),{copyPasteDelay:h}=Tt(Cr),m=v.useRef(0);let b;e[2]!==i?(b=(N,_)=>{qs("copy_paste",{text:N,delay:_===void 0?0:_}).then(I=>{I==="ok"?requestAnimationFrame(()=>{u(""),i()}):(u(""),console.error("Failed to copy paste text",I))}).catch(I=>{u(""),console.error("Failed to copy paste text",I)})},e[2]=i,e[3]=b):b=e[3];const C=b;let g;e[4]!==d||e[5]!==l||e[6]!==C||e[7]!==s?(g=()=>(d&&d>0?m.current=setInterval(()=>{p(N=>N?N-1:null)},1e3):d===0?(l&&(p(null),setTimeout(()=>{C(l,0)},s)),clearInterval(m.current)):m.current&&clearInterval(m.current),()=>{m.current&&clearInterval(m.current)}),e[4]=d,e[5]=l,e[6]=C,e[7]=s,e[8]=g):g=e[8];let w;e[9]!==d||e[10]!==l?(w=[d,l],e[9]=d,e[10]=l,e[11]=w):w=e[11],v.useEffect(g,w);let x;e[12]!==h||e[13]!==l||e[14]!==C||e[15]!==s?(x=(N,_)=>{_=_!=null?_:h,N&&!l&&(u(N),_>0?p(_):setTimeout(()=>{C(N,_)},s))},e[12]=h,e[13]=l,e[14]=C,e[15]=s,e[16]=x):x=e[16];const S=x;let E;return e[17]!==l||e[18]!==d||e[19]!==S?(E=[l,d,S],e[17]=l,e[18]=d,e[19]=S,e[20]=E):E=e[20],E};class zbe{constructor(e){kt(this,"codes");this.codes=[],this.setCodes(e)}closeTags(e){let n=e;return this.codes.forEach(({tag:r})=>{const s="[".concat(r,"]"),a="[/".concat(r,"]"),i=[];let l=0;for(;l0;)i.pop(),n+=a}),n}parse(e){let r=[e];for(const{regexp:s,replacement:a}of this.codes)r=r.flatMap((i,l)=>typeof i=="string"?this.replaceText(i,s,a,l):i);return r=r.flatMap(s=>typeof s=="string"?this.linkifyText(s):s),r.length===1?r[0]:o.jsx(o.Fragment,{children:r.map((s,a)=>v.isValidElement(s)?v.cloneElement(s,{key:"element-".concat(a)}):s)})}linkifyText(e){const r=$r().match(e);if(!r)return e;const s=[];let a=0;return r.forEach((i,l)=>{s.push(e.slice(a,i.index)),s.push(o.jsx("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400",onClick:()=>{ji(Dr(i.url))},children:i.raw},"link-".concat(l))),a=i.lastIndex}),s.push(e.slice(a)),s}replaceText(e,n,r,s){let a=0;const i=[];return e.replace(n,(l,u,d)=>(d>a&&i.push(e.substring(a,d)),typeof r=="function"?i.push(r(u,Date.now()+s)):i.push(r),a=d+l.length,l)),a{const s=new RegExp("\\[".concat(r,"\\]"),"gi"),a=new RegExp("\\[/".concat(r,"\\]"),"gi");n=n.replace(s,""),n=n.replace(a,"")}),n}setCodes(e){return this.codes=Object.keys(e).map(n=>{const r=e[n],s=n.match(/\\\[(.+?)\\\]/);return{tag:s?s[1]:"unknown",regexp:new RegExp(n,"igms"),replacement:r}}),this}}const PU=t=>{var e=sn(1);try{const n=Te(40),{text:r,copyText:s,id:a,parser:i}=t;let l;n[0]!==i||n[1]!==r?(l=i?i.parse(r):r,n[0]=i,n[1]=r,n[2]=l):l=n[2];const u=l,{t:d}=Gt();let p;n[3]===Symbol.for("react.memo_cache_sentinel")?(p={},n[3]=p):p=n[3];const[h,m]=E7(p);let b;n[4]===Symbol.for("react.memo_cache_sentinel")?(b={},n[4]=b):b=n[4];const[C,g,w]=N7(b),x=h||C;let S;n[5]!==m||n[6]!==i||n[7]!==s||n[8]!==w?(S=Y=>{Y.preventDefault(),Tn.value?w(i?i.remove(s):s):m(i?i.remove(s):s)},n[5]=m,n[6]=i,n[7]=s,n[8]=w,n[9]=S):S=n[9];const E="".concat(x?"dark:!border-green-800":""," inline-flex relative select-none items-center border rounded-md px-1.5 py-[1px] my-[1px] focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover:bg-green-100/80 bg-green-50 dark:bg-green-950 border-slate-300 dark:hover:bg-green-900/80 dark:border-slate-600 cursor-pointer");let N;n[10]!==u?(N=o.jsx("span",{children:u}),n[10]=u,n[11]=N):N=n[11];let _;n[12]!==x||n[13]!==g||n[14]!==a||n[15]!==r||n[16]!==h||n[17]!==d||n[18]!==C?(_=x&&!g?o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 pointer-events-none px-2 !rounded-md absolute right-0 w-full h-full flex items-center justify-center z-100",children:o.jsxs("span",{className:"flex items-center justify-center text-[10px] uppercase font-semibold text-white",children:[o.jsx(en,{size:14,className:"mr-1"}),(r==null?void 0:r.length)>10&&o.jsx(o.Fragment,{children:h?d("Copied",{ns:"common"}):C?d("Pasted",{ns:"common"}):""})]})},"badge-".concat(a)):x&&g&&g>0&&o.jsx(St,{className:"ml-1 bg-green-700 dark:bg-green-800 dark:text-white !rounded-md pointer-events-none px-2 text-white absolute right-0 w-full h-full flex items-center justify-center",children:d("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:g})}),n[12]=x,n[13]=g,n[14]=a,n[15]=r,n[16]=h,n[17]=d,n[18]=C,n[19]=_):_=n[19];let P;n[20]!==m||n[21]!==i||n[22]!==s||n[23]!==w?(P=Y=>{Y.preventDefault(),Tn.value?w(i?i.remove(s):s):m(i?i.remove(s):s)},n[20]=m,n[21]=i,n[22]=s,n[23]=w,n[24]=P):P=n[24];let I;n[25]!==d?(I=Tn.value?d("Copy and Paste",{ns:"common"}):d("Copy to Clipboard",{ns:"common"}),n[25]=d,n[26]=I):I=n[26];let T;n[27]===Symbol.for("react.memo_cache_sentinel")?(T=Tn.value?o.jsx(Ps,{size:14}):o.jsx(ya,{size:14}),n[27]=T):T=n[27];let A;n[28]!==I?(A=o.jsx(st,{text:I,delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:T}),n[28]=I,n[29]=A):A=n[29];let L;n[30]!==P||n[31]!==A?(L=o.jsx(mr,{className:"ml-1 text-slate-500 h-full py-0.5 hover:text-green-700 hover:bg-transparent",onClick:P,children:A}),n[30]=P,n[31]=A,n[32]=L):L=n[32];let z;return n[33]!==a||n[34]!==S||n[35]!==E||n[36]!==N||n[37]!==_||n[38]!==L?(z=o.jsxs("span",{onDoubleClick:S,className:E,children:[N,_,L]},a),n[33]=a,n[34]=S,n[35]=E,n[36]=N,n[37]=_,n[38]=L,n[39]=z):z=n[39],z}finally{e.f()}},MU=t=>{const e=Te(6),{txt:n,id:r}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=d=>{if(d.length<=1)return d;if(d.length===2)return"".concat(d[0],"•");const p=d[0],h=d[d.length-1],m=d.substring(1,d.length-1).split("").map(()=>"•").join("");return"".concat(p).concat(m).concat(h)},e[0]=s):s=e[0];const a=s;let i;e[1]!==n?(i=typeof n=="string"?n.split(/(\s+)/).map(d=>/\s/.test(d)?d:a(d)).join(""):v.isValidElement(n)?v.cloneElement(n,ae(R({},n.props),{key:"parent-"+Math.random()*1e3}),...v.Children.toArray(n.props.children).map((d,p)=>v.cloneElement(MU({txt:d,id:Math.random()*1e3}),{key:"child-"+p}))):"•",e[1]=n,e[2]=i):i=e[2];const l=i;let u;return e[3]!==r||e[4]!==l?(u=o.jsx("span",{className:"masked-or-blanked",children:l},r),e[3]=r,e[4]=l,e[5]=u):u=e[5],u},DU=t=>{const e=Te(7),{txt:n,id:r}=t;if(typeof n=="string"&&n.length<=2){let l;return e[0]!==n?(l=o.jsx("span",{children:n}),e[0]=n,e[1]=l):l=e[1],l}let s;e[2]!==n?(s=typeof n=="string"?n.split("").map(l=>/\s/.test(l)?l:"█").join(""):v.isValidElement(n)?v.cloneElement(n,ae(R({},n.props),{key:"parent-"+Math.random()*1e3}),...v.Children.toArray(n.props.children).map((l,u)=>v.cloneElement(DU({txt:l,id:Math.random()*1e3}),{key:"child-"+u}))):"█",e[2]=n,e[3]=s):s=e[3];const a=s;let i;return e[4]!==r||e[5]!==a?(i=o.jsx("span",{className:"text-gray-200 dark:text-gray-600 masked-or-blanked",children:a},r),e[4]=r,e[5]=a,e[6]=i):i=e[6],i},Fbe=t=>{const e=Te(3),{text:n,id:r}=t;let s;return e[0]!==r||e[1]!==n?(s=o.jsx("span",{className:"bg-yellow-200 dark:bg-yellow-700 dark:text-slate-100",children:n},r),e[0]=r,e[1]=n,e[2]=s):s=e[2],s},Hc=new zbe({"\\[copy\\](.+?)\\[/copy\\]":(t,e)=>o.jsx(PU,{text:t,copyText:t.repeat(1),id:e,parser:Hc}),"\\[mask\\](.+?)\\[/mask\\]":(t,e)=>o.jsx(MU,{txt:t,id:e}),"\\[blank\\](.+?)\\[/blank\\]":(t,e)=>o.jsx(DU,{txt:t,id:e}),"\\[hl\\](.+?)\\[/hl\\]":(t,e)=>o.jsx(Fbe,{text:t,id:e}),"\\[h\\](.+?)\\[/h\\]":(t,e)=>o.jsx("span",{className:"text-lg font-semibold",children:t},e),"\\[b\\](.+?)\\[/b\\]":(t,e)=>o.jsx("strong",{children:t},e),"\\[i\\](.+?)\\[/i\\]":(t,e)=>o.jsx("span",{className:"italic",children:t},e)}),IU=(t,e,n)=>{var a;const r=cz(e),s=new RegExp("(".concat(r,")"),"gi");if(typeof t=="string"){const i=t.split(s),l=v.createRef();return i.map((u,d)=>(n.current.push(l),u.toLowerCase()===e.toLowerCase()?o.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black search-pulse-animation",ref:pl(l),children:u},d):u))}else if(v.isValidElement(t))if((a=t==null?void 0:t.props)!=null&&a.text&&typeof t.props.text=="string"){const i=t.props.text.split(s),l=v.createRef();return v.cloneElement(t,ae(R({},t.props),{text:o.jsx("span",{children:i.map((u,d)=>(n.current.push(l),u.toLowerCase()===e.toLowerCase()?o.jsx("span",{className:"bg-yellow-300 dark:bg-yellow-600 search-pulse-animation",ref:pl(l),children:Hc.parse(u)},d):o.jsx("span",{children:Hc.parse(u)})))})}),t.props.children)}else return v.cloneElement(t,t.props,...v.Children.toArray(t.props.children).map(i=>IU(i,e,n)));else return t},ik=({isWrapped:t,searchTerm:e,valuePreview:n,isCode:r,isImage:s,isMasked:a,isLargeView:i,trimmedValue:l,hasLinkCard:u,metadataLinkByItemId:d,metadataLinkImageWidth:p=24,isImageData:h,morePreviewLines:m,isDark:b,isExpanded:C})=>{const g=v.useRef([]),w=v.useMemo(()=>{if(!h&&!r&&!s&&n)return a?bh(Hc.remove(n)):Hc.parse(n)},[n]),x=v.useMemo(()=>{if(!h&&!r&&!s&&l)return a?bh(Hc.remove(l)):Hc.parse(l)},[l]),S=v.useMemo(()=>e.length>1?(g.current=[],IU(x,e,g)):C?x:w,[C,e,x,w]);return v.useEffect(()=>{var E;g.current.length>0&&((E=g.current[0].current)==null||E.scrollIntoView({behavior:"smooth",block:"center"}))},[S]),o.jsxs(Kd,{className:"clip-card-text-view ".concat(!C||m==null?"code-scroll-x pb-2":""),options:{scrollbars:{theme:b?"os-theme-light":"os-theme-dark",autoHide:"never"}},style:{maxHeight:i?"calc(100vh - 240px)":C||m==null?200:120,maxWidth:"100%"},children:[u&&o.jsx(te,{className:"self-start mt-1 mb-1 text-xs w-full select-none overflow-hidden",children:o.jsx(H0,{isDisabled:Dr(l)!==(d==null?void 0:d.linkUrl),title:d==null?void 0:d.linkTitle,description:d==null?void 0:d.linkDescription,favicon:d==null?void 0:d.linkFavicon,link:d==null?void 0:d.linkUrl,imageWidth:p,image:d==null?void 0:d.linkImage,domain:d==null?void 0:d.linkDomain})}),o.jsxs(Cv,{className:"self-start text-sm font-normal select-text ".concat(t?"whitespace-pre-wrap":"whitespace-pre"," ").concat(C?"!overflow-visible pb-1.5":""),children:[S,!C&&m&&o.jsx("span",{className:"select-none",children:"..."})]})]})};v.memo(ik);var AU={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Vn,function(){var n=navigator.userAgent,r=navigator.platform,s=/gecko\/\d/i.test(n),a=/MSIE \d/.test(n),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n),l=/Edge\/(\d+)/.exec(n),u=a||i||l,d=u&&(a?document.documentMode||6:+(l||i)[1]),p=!l&&/WebKit\//.test(n),h=p&&/Qt\/\d+\.\d+/.test(n),m=!l&&/Chrome\/(\d+)/.exec(n),b=m&&+m[1],C=/Opera\//.test(n),g=/Apple Computer/.test(navigator.vendor),w=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n),x=/PhantomJS/.test(n),S=g&&(/Mobile\/\w+/.test(n)||navigator.maxTouchPoints>2),E=/Android/.test(n),N=S||E||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n),_=S||/Mac/.test(r),P=/\bCrOS\b/.test(n),I=/win/i.test(r),T=C&&n.match(/Version\/(\d*\.\d*)/);T&&(T=Number(T[1])),T&&T>=15&&(C=!1,p=!0);var A=_&&(h||C&&(T==null||T<12.11)),L=s||u&&d>=9;function z(c){return new RegExp("(^|\\s)"+c+"(?:$|\\s)\\s*")}var Y=function(c,f){var k=c.className,y=z(f).exec(k);if(y){var j=k.slice(y.index+y[0].length);c.className=k.slice(0,y.index)+(j?y[1]+j:"")}};function O(c){for(var f=c.childNodes.length;f>0;--f)c.removeChild(c.firstChild);return c}function $(c,f){return O(c).appendChild(f)}function M(c,f,k,y){var j=document.createElement(c);if(k&&(j.className=k),y&&(j.style.cssText=y),typeof f=="string")j.appendChild(document.createTextNode(f));else if(f)for(var D=0;D=f)return B+(f-D);B+=K-D,B+=k-B%k,D=K+1}}var de=function(){this.id=null,this.f=null,this.time=0,this.handler=Z(this.onTimeout,this)};de.prototype.onTimeout=function(c){c.id=0,c.time<=+new Date?c.f():setTimeout(c.handler,c.time-+new Date)},de.prototype.set=function(c,f){this.f=f;var k=+new Date+c;(!this.id||k=f)return y+Math.min(B,f-j);if(j+=D-y,j+=k-j%k,y=D+1,j>=f)return y}}var qe=[""];function ot(c){for(;qe.length<=c;)qe.push(Ve(qe)+" ");return qe[c]}function Ve(c){return c[c.length-1]}function Ke(c,f){for(var k=[],y=0;y"€"&&(c.toUpperCase()!=c.toLowerCase()||dt.test(c))}function mt(c,f){return f?f.source.indexOf("\\w")>-1&&He(c)?!0:f.test(c):He(c)}function Ue(c){for(var f in c)if(c.hasOwnProperty(f)&&c[f])return!1;return!0}var ht=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Qe(c){return c.charCodeAt(0)>=768&&ht.test(c)}function Rt(c,f,k){for(;(k<0?f>0:fk?-1:1;;){if(f==k)return f;var j=(f+k)/2,D=y<0?Math.ceil(j):Math.floor(j);if(D==f)return c(D)?f:k;c(D)?k=D:f=D+y}}function wt(c,f,k,y){if(!c)return y(f,k,"ltr",0);for(var j=!1,D=0;Df||f==k&&B.to==f)&&(y(Math.max(B.from,f),Math.min(B.to,k),B.level==1?"rtl":"ltr",D),j=!0)}j||y(f,k,"ltr")}var Xt=null;function $t(c,f,k){var y;Xt=null;for(var j=0;jf)return j;D.to==f&&(D.from!=D.to&&k=="before"?y=j:Xt=j),D.from==f&&(D.from!=D.to&&k!="before"?y=j:Xt=j)}return y!=null?y:Xt}var tn=function(){var c="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",f="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function k(ie){return ie<=247?c.charAt(ie):1424<=ie&&ie<=1524?"R":1536<=ie&&ie<=1785?f.charAt(ie-1536):1774<=ie&&ie<=2220?"r":8192<=ie&&ie<=8203?"w":ie==8204?"b":"L"}var y=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,j=/[stwN]/,D=/[LRr]/,B=/[Lb1n]/,K=/[1n]/;function Q(ie,he,Ce){this.level=ie,this.from=he,this.to=Ce}return function(ie,he){var Ce=he=="ltr"?"L":"R";if(ie.length==0||he=="ltr"&&!y.test(ie))return!1;for(var $e=ie.length,Le=[],ct=0;ct<$e;++ct)Le.push(k(ie.charCodeAt(ct)));for(var vt=0,Nt=Ce;vt<$e;++vt){var zt=Le[vt];zt=="m"?Le[vt]=Nt:Nt=zt}for(var Yt=0,Ft=Ce;Yt<$e;++Yt){var Jt=Le[Yt];Jt=="1"&&Ft=="r"?Le[Yt]="n":D.test(Jt)&&(Ft=Jt,Jt=="r"&&(Le[Yt]="R"))}for(var bn=1,xn=Le[0];bn<$e-1;++bn){var On=Le[bn];On=="+"&&xn=="1"&&Le[bn+1]=="1"?Le[bn]="1":On==","&&xn==Le[bn+1]&&(xn=="1"||xn=="n")&&(Le[bn]=xn),xn=On}for(var yr=0;yr<$e;++yr){var vs=Le[yr];if(vs==",")Le[yr]="N";else if(vs=="%"){var Ar=void 0;for(Ar=yr+1;Ar<$e&&Le[Ar]=="%";++Ar);for(var no=yr&&Le[yr-1]=="!"||Ar<$e&&Le[Ar]=="1"?"1":"N",Da=yr;Da-1&&(y[f]=j.slice(0,D).concat(j.slice(D+1)))}}}function je(c,f){var k=jt(c,f);if(k.length)for(var y=Array.prototype.slice.call(arguments,2),j=0;j0}function gt(c){c.prototype.on=function(f,k){Je(this,f,k)},c.prototype.off=function(f,k){we(this,f,k)}}function Ze(c){c.preventDefault?c.preventDefault():c.returnValue=!1}function Re(c){c.stopPropagation?c.stopPropagation():c.cancelBubble=!0}function Oe(c){return c.defaultPrevented!=null?c.defaultPrevented:c.returnValue==!1}function et(c){Ze(c),Re(c)}function Et(c){return c.target||c.srcElement}function bt(c){var f=c.which;return f==null&&(c.button&1?f=1:c.button&2?f=3:c.button&4&&(f=2)),_&&c.ctrlKey&&f==1&&(f=3),f}var _t=function(){if(u&&d<9)return!1;var c=M("div");return"draggable"in c||"dragDrop"in c}(),Mt;function an(c){if(Mt==null){var f=M("span","​");$(c,M("span",[f,document.createTextNode("x")])),c.firstChild.offsetHeight!=0&&(Mt=f.offsetWidth<=1&&f.offsetHeight>2&&!(u&&d<8))}var k=Mt?M("span","​"):M("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return k.setAttribute("cm-text",""),k}var dn;function fn(c){if(dn!=null)return dn;var f=$(c,document.createTextNode("AخA")),k=V(f,0,1).getBoundingClientRect(),y=V(f,1,2).getBoundingClientRect();return O(c),!k||k.left==k.right?!1:dn=y.right-k.right<3}var mn="\n\nb".split(/\n/).length!=3?function(c){for(var f=0,k=[],y=c.length;f<=y;){var j=c.indexOf("\n",f);j==-1&&(j=c.length);var D=c.slice(f,c.charAt(j-1)=="\r"?j-1:j),B=D.indexOf("\r");B!=-1?(k.push(D.slice(0,B)),f+=B+1):(k.push(D),f=j+1)}return k}:function(c){return c.split(/\r\n?|\n/)},hn=window.getSelection?function(c){try{return c.selectionStart!=c.selectionEnd}catch(f){return!1}}:function(c){var f;try{f=c.ownerDocument.selection.createRange()}catch(k){}return!f||f.parentElement()!=c?!1:f.compareEndPoints("StartToEnd",f)!=0},nn=function(){var c=M("div");return"oncopy"in c?!0:(c.setAttribute("oncopy","return;"),typeof c.oncopy=="function")}(),on=null;function Sn(c){if(on!=null)return on;var f=$(c,M("span","x")),k=f.getBoundingClientRect(),y=V(f,0,1).getBoundingClientRect();return on=Math.abs(k.left-y.left)>1}var pn={},rn={};function ut(c,f){arguments.length>2&&(f.dependencies=Array.prototype.slice.call(arguments,2)),pn[c]=f}function xe(c,f){rn[c]=f}function Ge(c){if(typeof c=="string"&&rn.hasOwnProperty(c))c=rn[c];else if(c&&typeof c.name=="string"&&rn.hasOwnProperty(c.name)){var f=rn[c.name];typeof f=="string"&&(f={name:f}),c=Ye(f,c),c.name=f.name}else{if(typeof c=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(c))return Ge("application/xml");if(typeof c=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(c))return Ge("application/json")}return typeof c=="string"?{name:c}:c||{name:"null"}}function ft(c,f){f=Ge(f);var k=pn[f.name];if(!k)return ft(c,"text/plain");var y=k(c,f);if(pt.hasOwnProperty(f.name)){var j=pt[f.name];for(var D in j)j.hasOwnProperty(D)&&(y.hasOwnProperty(D)&&(y["_"+D]=y[D]),y[D]=j[D])}if(y.name=f.name,f.helperType&&(y.helperType=f.helperType),f.modeProps)for(var B in f.modeProps)y[B]=f.modeProps[B];return y}var pt={};function xt(c,f){var k=pt.hasOwnProperty(c)?pt[c]:pt[c]={};le(f,k)}function At(c,f){if(f===!0)return f;if(c.copyState)return c.copyState(f);var k={};for(var y in f){var j=f[y];j instanceof Array&&(j=j.concat([])),k[y]=j}return k}function Lt(c,f){for(var k;c.innerMode&&(k=c.innerMode(f),!(!k||k.mode==c));)f=k.state,c=k.mode;return k||{mode:c,state:f}}function Ht(c,f,k){return c.startState?c.startState(f,k):!0}var Bt=function(c,f,k){this.pos=this.start=0,this.string=c,this.tabSize=f||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=k};Bt.prototype.eol=function(){return this.pos>=this.string.length},Bt.prototype.sol=function(){return this.pos==this.lineStart},Bt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Bt.prototype.next=function(){if(this.posf},Bt.prototype.eatSpace=function(){for(var c=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>c},Bt.prototype.skipToEnd=function(){this.pos=this.string.length},Bt.prototype.skipTo=function(c){var f=this.string.indexOf(c,this.pos);if(f>-1)return this.pos=f,!0},Bt.prototype.backUp=function(c){this.pos-=c},Bt.prototype.column=function(){return this.lastColumnPos0?null:(D&&f!==!1&&(this.pos+=D[0].length),D)}},Bt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Bt.prototype.hideFirstChars=function(c,f){this.lineStart+=c;try{return f()}finally{this.lineStart-=c}},Bt.prototype.lookAhead=function(c){var f=this.lineOracle;return f&&f.lookAhead(c)},Bt.prototype.baseToken=function(){var c=this.lineOracle;return c&&c.baseToken(this.pos)};function tt(c,f){if(f-=c.first,f<0||f>=c.size)throw new Error("There is no line "+(f+c.first)+" in the document.");for(var k=c;!k.lines;)for(var y=0;;++y){var j=k.children[y],D=j.chunkSize();if(f=c.first&&fk?_e(k,tt(c,k).text.length):Gr(f,tt(c,f.line).text.length)}function Gr(c,f){var k=c.ch;return k==null||k>f?_e(c.line,f):k<0?_e(c.line,0):c}function Ii(c,f){for(var k=[],y=0;ythis.maxLookAhead&&(this.maxLookAhead=c),f},hs.prototype.baseToken=function(c){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=c;)this.baseTokenPos+=2;var f=this.baseTokens[this.baseTokenPos+1];return{type:f&&f.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-c}},hs.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},hs.fromSaved=function(c,f,k){return f instanceof _o?new hs(c,At(c.mode,f.state),k,f.lookAhead):new hs(c,At(c.mode,f),k)},hs.prototype.save=function(c){var f=c!==!1?At(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new _o(f,this.maxLookAhead):f};function sc(c,f,k,y){var j=[c.state.modeGen],D={};uc(c,f.text,c.doc.mode,k,function(ie,he){return j.push(ie,he)},D,y);for(var B=k.state,K=function(ie){k.baseTokens=j;var he=c.state.overlays[ie],Ce=1,$e=0;k.state=!0,uc(c,f.text,he.mode,k,function(Le,ct){for(var vt=Ce;$eLe&&j.splice(Ce,1,Le,j[Ce+1],Nt),Ce+=2,$e=Math.min(Le,Nt)}if(ct)if(he.opaque)j.splice(vt,Ce-vt,Le,"overlay "+ct),Ce=vt+2;else for(;vtc.options.maxHighlightLength&&At(c.doc.mode,y.state),D=sc(c,f,y);j&&(y.state=j),f.stateAfter=y.save(!j),f.styles=D.styles,D.classes?f.styleClasses=D.classes:f.styleClasses&&(f.styleClasses=null),k===c.doc.highlightFrontier&&(c.doc.modeFrontier=Math.max(c.doc.modeFrontier,++c.doc.highlightFrontier))}return f.styles}function Jo(c,f,k){var y=c.doc,j=c.display;if(!y.mode.startState)return new hs(y,!0,f);var D=hu(c,f,k),B=D>y.first&&tt(y,D-1).stateAfter,K=B?hs.fromSaved(y,B,D):new hs(y,Ht(y.mode),D);return y.iter(D,f,function(Q){wl(c,Q.text,K);var ie=K.line;Q.stateAfter=ie==f-1||ie%5==0||ie>=j.viewFrom&&ief.start)return D}throw new Error("Mode "+c.name+" failed to advance stream.")}var ic=function(c,f,k){this.start=c.start,this.end=c.pos,this.string=c.current(),this.type=f||null,this.state=k};function lc(c,f,k,y){var j=c.doc,D=j.mode,B;f=yn(j,f);var K=tt(j,f.line),Q=Jo(c,f.line,k),ie=new Bt(K.text,c.options.tabSize,Q),he;for(y&&(he=[]);(y||ie.posc.options.maxHighlightLength?(K=!1,B&&wl(c,f,y,he.pos),he.pos=f.length,Ce=null):Ce=cc(kl(k,he,y.state,$e),D),$e){var Le=$e[0].name;Le&&(Ce="m-"+(Ce?Le+" "+Ce:Le))}if(!K||ie!=Ce){for(;QB;--K){if(K<=D.first)return D.first;var Q=tt(D,K-1),ie=Q.stateAfter;if(ie&&(!k||K+(ie instanceof _o?ie.lookAhead:0)<=D.modeFrontier))return K;var he=se(Q.text,null,c.options.tabSize);(j==null||y>he)&&(j=K-1,y=he)}return j}function pu(c,f){if(c.modeFrontier=Math.min(c.modeFrontier,f),!(c.highlightFrontierk;y--){var j=tt(c,y).stateAfter;if(j&&(!(j instanceof _o)||y+j.lookAhead=f:D.to>f);(y||(y=[])).push(new Ai(B,D.from,Q?null:D.to))}}return y}function bu(c,f,k){var y;if(c)for(var j=0;j=f:D.to>f);if(K||D.from==f&&B.type=="bookmark"&&(!k||D.marker.insertLeft)){var Q=D.from==null||(B.inclusiveLeft?D.from<=f:D.from0&&K)for(var Jt=0;Jt0)){var he=[Q,1],Ce=ze(ie.from,K.from),$e=ze(ie.to,K.to);(Ce<0||!B.inclusiveLeft&&!Ce)&&he.push({from:ie.from,to:K.from}),($e>0||!B.inclusiveRight&&!$e)&&he.push({from:K.to,to:ie.to}),j.splice.apply(j,he),Q+=he.length-3}}return j}function hc(c){var f=c.markedSpans;if(f){for(var k=0;kf)&&(!y||Sl(y,D.marker)<0)&&(y=D.marker)}return y}function sf(c,f,k,y,j){var D=tt(c,f),B=ca&&D.markedSpans;if(B)for(var K=0;K=0&&Ce<=0||he<=0&&Ce>=0)&&(he<=0&&(Q.marker.inclusiveRight&&j.inclusiveLeft?ze(ie.to,k)>=0:ze(ie.to,k)>0)||he>=0&&(Q.marker.inclusiveRight&&j.inclusiveLeft?ze(ie.from,y)<=0:ze(ie.from,y)<0)))return!0}}}function As(c){for(var f;f=vc(c);)c=f.find(-1,!0).line;return c}function Cu(c){for(var f;f=xc(c);)c=f.find(1,!0).line;return c}function Su(c){for(var f,k;f=xc(c);)c=f.find(1,!0).line,(k||(k=[])).push(c);return k}function jl(c,f){var k=tt(c,f),y=As(k);return k==y?f:oe(y)}function yc(c,f){if(f>c.lastLine())return f;var k=tt(c,f),y;if(!_a(c,k))return f;for(;y=xc(k);)k=y.find(1,!0).line;return oe(k)+1}function _a(c,f){var k=ca&&f.markedSpans;if(k){for(var y=void 0,j=0;jf.maxLineLength&&(f.maxLineLength=j,f.maxLine=y)})}var ni=function(c,f,k){this.text=c,pc(this,f),this.height=k?k(this):1};ni.prototype.lineNo=function(){return oe(this)},gt(ni);function Nk(c,f,k,y){c.text=f,c.stateAfter&&(c.stateAfter=null),c.styles&&(c.styles=null),c.order!=null&&(c.order=null),hc(c),pc(c,k);var j=y?y(c):1;j!=c.height&&vn(c,j)}function dN(c){c.parent=null,hc(c)}var Ax={},fN={};function hN(c,f){if(!c||/^\s*$/.test(c))return null;var k=f.addModeClass?fN:Ax;return k[c]||(k[c]=c.replace(/\S+/g,"cm-$&"))}function pN(c,f){var k=W("span",null,null,p?"padding-right: .1px":null),y={pre:W("pre",[k],"CodeMirror-line"),content:k,col:0,pos:0,cm:c,trailingSpace:!1,splitSpaces:c.getOption("lineWrapping")};f.measure={};for(var j=0;j<=(f.rest?f.rest.length:0);j++){var D=j?f.rest[j-1]:f.line,B=void 0;y.pos=0,y.addToken=Eq,fn(c.display.measure)&&(B=Pt(D,c.doc.direction))&&(y.addToken=_q(y.addToken,B)),y.map=[];var K=f!=c.display.externalMeasured&&oe(D);Tq(D,y,ac(c,D,K)),D.styleClasses&&(D.styleClasses.bgClass&&(y.bgClass=F(D.styleClasses.bgClass,y.bgClass||"")),D.styleClasses.textClass&&(y.textClass=F(D.styleClasses.textClass,y.textClass||""))),y.map.length==0&&y.map.push(0,0,y.content.appendChild(an(c.display.measure))),j==0?(f.measure.map=y.map,f.measure.cache={}):((f.measure.maps||(f.measure.maps=[])).push(y.map),(f.measure.caches||(f.measure.caches=[])).push({}))}if(p){var Q=y.content.lastChild;(/\bcm-tab\b/.test(Q.className)||Q.querySelector&&Q.querySelector(".cm-tab"))&&(y.content.className="cm-tab-wrap-hack")}return je(c,"renderLine",c,f.line,y.pre),y.pre.className&&(y.textClass=F(y.pre.className,y.textClass||"")),y}function jq(c){var f=M("span","•","cm-invalidchar");return f.title="\\u"+c.charCodeAt(0).toString(16),f.setAttribute("aria-label",f.title),f}function Eq(c,f,k,y,j,D,B){if(f){var K=c.splitSpaces?Nq(f,c.trailingSpace):f,Q=c.cm.state.specialChars,ie=!1,he;if(!Q.test(f))c.col+=f.length,he=document.createTextNode(K),c.map.push(c.pos,c.pos+f.length,he),u&&d<9&&(ie=!0),c.pos+=f.length;else{he=document.createDocumentFragment();for(var Ce=0;;){Q.lastIndex=Ce;var $e=Q.exec(f),Le=$e?$e.index-Ce:f.length-Ce;if(Le){var ct=document.createTextNode(K.slice(Ce,Ce+Le));u&&d<9?he.appendChild(M("span",[ct])):he.appendChild(ct),c.map.push(c.pos,c.pos+Le,ct),c.col+=Le,c.pos+=Le}if(!$e)break;Ce+=Le+1;var vt=void 0;if($e[0]==" "){var Nt=c.cm.options.tabSize,zt=Nt-c.col%Nt;vt=he.appendChild(M("span",ot(zt),"cm-tab")),vt.setAttribute("role","presentation"),vt.setAttribute("cm-text"," "),c.col+=zt}else $e[0]=="\r"||$e[0]=="\n"?(vt=he.appendChild(M("span",$e[0]=="\r"?"␍":"␤","cm-invalidchar")),vt.setAttribute("cm-text",$e[0]),c.col+=1):(vt=c.cm.options.specialCharPlaceholder($e[0]),vt.setAttribute("cm-text",$e[0]),u&&d<9?he.appendChild(M("span",[vt])):he.appendChild(vt),c.col+=1);c.map.push(c.pos,c.pos+1,vt),c.pos++}}if(c.trailingSpace=K.charCodeAt(f.length-1)==32,k||y||j||ie||D||B){var Yt=k||"";y&&(Yt+=y),j&&(Yt+=j);var Ft=M("span",[he],Yt,D);if(B)for(var Jt in B)B.hasOwnProperty(Jt)&&Jt!="style"&&Jt!="class"&&Ft.setAttribute(Jt,B[Jt]);return c.content.appendChild(Ft)}c.content.appendChild(he)}}function Nq(c,f){if(c.length>1&&!/ /.test(c))return c;for(var k=f,y="",j=0;jie&&Ce.from<=ie));$e++);if(Ce.to>=he)return c(k,y,j,D,B,K,Q);c(k,y.slice(0,Ce.to-ie),j,D,null,K,Q),D=null,y=y.slice(Ce.to-ie),ie=Ce.to}}}function mN(c,f,k,y){var j=!y&&k.widgetNode;j&&c.map.push(c.pos,c.pos+f,j),!y&&c.cm.display.input.needsContentAttribute&&(j||(j=c.content.appendChild(document.createElement("span"))),j.setAttribute("cm-marker",k.id)),j&&(c.cm.display.input.setUneditable(j),c.content.appendChild(j)),c.pos+=f,c.trailingSpace=!1}function Tq(c,f,k){var y=c.markedSpans,j=c.text,D=0;if(!y){for(var B=1;BQ||On.collapsed&&xn.to==Q&&xn.from==Q)){if(xn.to!=null&&xn.to!=Q&&Le>xn.to&&(Le=xn.to,vt=""),On.className&&(ct+=" "+On.className),On.css&&($e=($e?$e+";":"")+On.css),On.startStyle&&xn.from==Q&&(Nt+=" "+On.startStyle),On.endStyle&&xn.to==Le&&(Jt||(Jt=[])).push(On.endStyle,xn.to),On.title&&((Yt||(Yt={})).title=On.title),On.attributes)for(var yr in On.attributes)(Yt||(Yt={}))[yr]=On.attributes[yr];On.collapsed&&(!zt||Sl(zt.marker,On)<0)&&(zt=xn)}else xn.from>Q&&Le>xn.from&&(Le=xn.from)}if(Jt)for(var vs=0;vs=K)break;for(var no=Math.min(K,Le);;){if(he){var Da=Q+he.length;if(!zt){var ns=Da>no?he.slice(0,no-Q):he;f.addToken(f,ns,Ce?Ce+ct:ct,Nt,Q+ns.length==Le?vt:"",$e,Yt)}if(Da>=no){he=he.slice(no-Q),Q=no;break}Q=Da,Nt=""}he=j.slice(D,D=k[ie++]),Ce=hN(k[ie++],f.cm.options)}}}function gN(c,f,k){this.line=f,this.rest=Su(f),this.size=this.rest?oe(Ve(this.rest))-k+1:1,this.node=this.text=null,this.hidden=_a(c,f)}function Lx(c,f,k){for(var y=[],j,D=f;D2&&D.push((Q.bottom+ie.top)/2-k.top)}}D.push(k.bottom-k.top)}}function CN(c,f,k){if(c.line==f)return{map:c.measure.map,cache:c.measure.cache};if(c.rest){for(var y=0;yk)return{map:c.measure.maps[j],cache:c.measure.caches[j],before:!0}}}function Fq(c,f){f=As(f);var k=oe(f),y=c.display.externalMeasured=new gN(c.doc,f,k);y.lineN=k;var j=y.built=pN(c,y);return y.text=j.pre,$(c.display.lineMeasure,j.pre),y}function SN(c,f,k,y){return Nl(c,Vh(c,f),k,y)}function Mk(c,f){if(f>=c.display.viewFrom&&f=k.lineN&&ff)&&(D=Q-K,j=D-1,f>=Q&&(B="right")),j!=null){if(y=c[ie+2],K==Q&&k==(y.insertLeft?"left":"right")&&(B=k),k=="left"&&j==0)for(;ie&&c[ie-2]==c[ie-3]&&c[ie-1].insertLeft;)y=c[(ie-=3)+2],B="left";if(k=="right"&&j==Q-K)for(;ie=0&&(k=c[j]).left==k.right;j--);return k}function Bq(c,f,k,y){var j=EN(f.map,k,y),D=j.node,B=j.start,K=j.end,Q=j.collapse,ie;if(D.nodeType==3){for(var he=0;he<4;he++){for(;B&&Qe(f.line.text.charAt(j.coverStart+B));)--B;for(;j.coverStart+K0&&(Q=y="right");var Ce;c.options.lineWrapping&&(Ce=D.getClientRects()).length>1?ie=Ce[y=="right"?Ce.length-1:0]:ie=D.getBoundingClientRect()}if(u&&d<9&&!B&&(!ie||!ie.left&&!ie.right)){var $e=D.parentNode.getClientRects()[0];$e?ie={left:$e.left,right:$e.left+Kh(c.display),top:$e.top,bottom:$e.bottom}:ie=jN}for(var Le=ie.top-f.rect.top,ct=ie.bottom-f.rect.top,vt=(Le+ct)/2,Nt=f.view.measure.heights,zt=0;zt=y.text.length?(Q=y.text.length,ie="before"):Q<=0&&(Q=0,ie="after"),!K)return B(ie=="before"?Q-1:Q,ie=="before");function he(ct,vt,Nt){var zt=K[vt],Yt=zt.level==1;return B(Nt?ct-1:ct,Yt!=Nt)}var Ce=$t(K,Q,ie),$e=Xt,Le=he(Q,Ce,ie=="before");return $e!=null&&(Le.other=he(Q,$e,ie!="before")),Le}function DN(c,f){var k=0;f=yn(c.doc,f),c.options.lineWrapping||(k=Kh(c.display)*f.ch);var y=tt(c.doc,f.line),j=Ta(y)+Rx(c.display);return{left:k,right:k,top:j,bottom:j+y.height}}function Ik(c,f,k,y,j){var D=_e(c,f,k);return D.xRel=j,y&&(D.outside=y),D}function Ak(c,f,k){var y=c.doc;if(k+=c.display.viewOffset,k<0)return Ik(y.first,0,null,-1,-1);var j=fe(y,k),D=y.first+y.size-1;if(j>D)return Ik(y.first+y.size-1,tt(y,D).text.length,null,1,1);f<0&&(f=0);for(var B=tt(y,j);;){var K=Wq(c,B,j,f,k),Q=ku(B,K.ch+(K.xRel>0||K.outside>0?1:0));if(!Q)return K;var ie=Q.find(1);if(ie.line==j)return ie;B=tt(y,j=ie.line)}}function IN(c,f,k,y){y-=Dk(f);var j=f.text.length,D=Ut(function(B){return Nl(c,k,B-1).bottom<=y},j,0);return j=Ut(function(B){return Nl(c,k,B).top>y},D,j),{begin:D,end:j}}function AN(c,f,k,y){k||(k=Vh(c,f));var j=Ox(c,f,Nl(c,k,y),"line").top;return IN(c,f,k,j)}function Lk(c,f,k,y){return c.bottom<=k?!1:c.top>k?!0:(y?c.left:c.right)>f}function Wq(c,f,k,y,j){j-=Ta(f);var D=Vh(c,f),B=Dk(f),K=0,Q=f.text.length,ie=!0,he=Pt(f,c.doc.direction);if(he){var Ce=(c.options.lineWrapping?qq:Vq)(c,f,k,D,he,y,j);ie=Ce.level!=1,K=ie?Ce.from:Ce.to-1,Q=ie?Ce.to:Ce.from-1}var $e=null,Le=null,ct=Ut(function(bn){var xn=Nl(c,D,bn);return xn.top+=B,xn.bottom+=B,Lk(xn,y,j,!1)?(xn.top<=j&&xn.left<=y&&($e=bn,Le=xn),!0):!1},K,Q),vt,Nt,zt=!1;if(Le){var Yt=y-Le.left=Jt.bottom?1:0}return ct=Rt(f.text,ct,1),Ik(k,ct,Nt,zt,y-vt)}function Vq(c,f,k,y,j,D,B){var K=Ut(function(Ce){var $e=j[Ce],Le=$e.level!=1;return Lk(Ri(c,_e(k,Le?$e.to:$e.from,Le?"before":"after"),"line",f,y),D,B,!0)},0,j.length-1),Q=j[K];if(K>0){var ie=Q.level!=1,he=Ri(c,_e(k,ie?Q.from:Q.to,ie?"after":"before"),"line",f,y);Lk(he,D,B,!0)&&he.top>B&&(Q=j[K-1])}return Q}function qq(c,f,k,y,j,D,B){var K=IN(c,f,y,B),Q=K.begin,ie=K.end;/\s/.test(f.text.charAt(ie-1))&&ie--;for(var he=null,Ce=null,$e=0;$e=ie||Le.to<=Q)){var ct=Le.level!=1,vt=Nl(c,y,ct?Math.min(ie,Le.to)-1:Math.max(Q,Le.from)).right,Nt=vtNt)&&(he=Le,Ce=Nt)}}return he||(he=j[j.length-1]),he.fromie&&(he={from:he.from,to:ie,level:he.level}),he}var of;function qh(c){if(c.cachedTextHeight!=null)return c.cachedTextHeight;if(of==null){of=M("pre",null,"CodeMirror-line-like");for(var f=0;f<49;++f)of.appendChild(document.createTextNode("x")),of.appendChild(M("br"));of.appendChild(document.createTextNode("x"))}$(c.measure,of);var k=of.offsetHeight/50;return k>3&&(c.cachedTextHeight=k),O(c.measure),k||1}function Kh(c){if(c.cachedCharWidth!=null)return c.cachedCharWidth;var f=M("span","xxxxxxxxxx"),k=M("pre",[f],"CodeMirror-line-like");$(c.measure,k);var y=f.getBoundingClientRect(),j=(y.right-y.left)/10;return j>2&&(c.cachedCharWidth=j),j||10}function Rk(c){for(var f=c.display,k={},y={},j=f.gutters.clientLeft,D=f.gutters.firstChild,B=0;D;D=D.nextSibling,++B){var K=c.display.gutterSpecs[B].className;k[K]=D.offsetLeft+D.clientLeft+j,y[K]=D.clientWidth}return{fixedPos:Ok(f),gutterTotalWidth:f.gutters.offsetWidth,gutterLeft:k,gutterWidth:y,wrapperWidth:f.wrapper.clientWidth}}function Ok(c){return c.scroller.getBoundingClientRect().left-c.sizer.getBoundingClientRect().left}function LN(c){var f=qh(c.display),k=c.options.lineWrapping,y=k&&Math.max(5,c.display.scroller.clientWidth/Kh(c.display)-3);return function(j){if(_a(c.doc,j))return 0;var D=0;if(j.widgets)for(var B=0;B0&&(ie=tt(c.doc,Q.line).text).length==Q.ch){var he=se(ie,ie.length,c.options.tabSize)-ie.length;Q=_e(Q.line,Math.max(0,Math.round((D-kN(c.display).left)/Kh(c.display))-he))}return Q}function cf(c,f){if(f>=c.display.viewTo||(f-=c.display.viewFrom,f<0))return null;for(var k=c.display.view,y=0;yf)&&(j.updateLineNumbers=f),c.curOp.viewChanged=!0,f>=j.viewTo)ca&&jl(c.doc,f)j.viewFrom?Nu(c):(j.viewFrom+=y,j.viewTo+=y);else if(f<=j.viewFrom&&k>=j.viewTo)Nu(c);else if(f<=j.viewFrom){var D=zx(c,k,k+y,1);D?(j.view=j.view.slice(D.index),j.viewFrom=D.lineN,j.viewTo+=y):Nu(c)}else if(k>=j.viewTo){var B=zx(c,f,f,-1);B?(j.view=j.view.slice(0,B.index),j.viewTo=B.lineN):Nu(c)}else{var K=zx(c,f,f,-1),Q=zx(c,k,k+y,1);K&&Q?(j.view=j.view.slice(0,K.index).concat(Lx(c,K.lineN,Q.lineN)).concat(j.view.slice(Q.index)),j.viewTo+=y):Nu(c)}var ie=j.externalMeasured;ie&&(k=j.lineN&&f=y.viewTo)){var D=y.view[cf(c,f)];if(D.node!=null){var B=D.changes||(D.changes=[]);ce(B,k)==-1&&B.push(k)}}}function Nu(c){c.display.viewFrom=c.display.viewTo=c.doc.first,c.display.view=[],c.display.viewOffset=0}function zx(c,f,k,y){var j=cf(c,f),D,B=c.display.view;if(!ca||k==c.doc.first+c.doc.size)return{index:j,lineN:k};for(var K=c.display.viewFrom,Q=0;Q0){if(j==B.length-1)return null;D=K+B[j].size-f,j++}else D=K-f;f+=D,k+=D}for(;jl(c.doc,k)!=k;){if(j==(y<0?0:B.length-1))return null;k+=y*B[j-(y<0?1:0)].size,j+=y}return{index:j,lineN:k}}function Kq(c,f,k){var y=c.display,j=y.view;j.length==0||f>=y.viewTo||k<=y.viewFrom?(y.view=Lx(c,f,k),y.viewFrom=f):(y.viewFrom>f?y.view=Lx(c,f,y.viewFrom).concat(y.view):y.viewFromk&&(y.view=y.view.slice(0,cf(c,k)))),y.viewTo=k}function RN(c){for(var f=c.display.view,k=0,y=0;y=c.display.viewTo||Q.to().line0?B:c.defaultCharWidth())+"px"}if(y.other){var K=k.appendChild(M("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));K.style.display="",K.style.left=y.other.left+"px",K.style.top=y.other.top+"px",K.style.height=(y.other.bottom-y.other.top)*.85+"px"}}function Fx(c,f){return c.top-f.top||c.left-f.left}function Gq(c,f,k){var y=c.display,j=c.doc,D=document.createDocumentFragment(),B=kN(c.display),K=B.left,Q=Math.max(y.sizerWidth,af(c)-y.sizer.offsetLeft)-B.right,ie=j.direction=="ltr";function he(Ft,Jt,bn,xn){Jt<0&&(Jt=0),Jt=Math.round(Jt),xn=Math.round(xn),D.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+Ft+"px;\n top: "+Jt+"px; width: "+(bn==null?Q-Ft:bn)+"px;\n height: "+(xn-Jt)+"px"))}function Ce(Ft,Jt,bn){var xn=tt(j,Ft),On=xn.text.length,yr,vs;function Ar(ns,Ia){return $x(c,_e(Ft,ns),"div",xn,Ia)}function no(ns,Ia,Ls){var cs=AN(c,xn,null,ns),rs=Ia=="ltr"==(Ls=="after")?"left":"right",zr=Ls=="after"?cs.begin:cs.end-(/\s/.test(xn.text.charAt(cs.end-1))?2:1);return Ar(zr,rs)[rs]}var Da=Pt(xn,j.direction);return wt(Da,Jt||0,bn==null?On:bn,function(ns,Ia,Ls,cs){var rs=Ls=="ltr",zr=Ar(ns,rs?"left":"right"),Aa=Ar(Ia-1,rs?"right":"left"),op=Jt==null&&ns==0,Iu=bn==null&&Ia==On,Qs=cs==0,_l=!Da||cs==Da.length-1;if(Aa.top-zr.top<=3){var xs=(ie?op:Iu)&&Qs,f3=(ie?Iu:op)&&_l,Cc=xs?K:(rs?zr:Aa).left,pf=f3?Q:(rs?Aa:zr).right;he(Cc,zr.top,pf-Cc,zr.bottom)}else{var mf,da,ip,h3;rs?(mf=ie&&op&&Qs?K:zr.left,da=ie?Q:no(ns,Ls,"before"),ip=ie?K:no(Ia,Ls,"after"),h3=ie&&Iu&&_l?Q:Aa.right):(mf=ie?no(ns,Ls,"before"):K,da=!ie&&op&&Qs?Q:zr.right,ip=!ie&&Iu&&_l?K:Aa.left,h3=ie?no(Ia,Ls,"after"):Q),he(mf,zr.top,da-mf,zr.bottom),zr.bottom0?f.blinker=setInterval(function(){c.hasFocus()||Gh(c),f.cursorDiv.style.visibility=(k=!k)?"":"hidden"},c.options.cursorBlinkRate):c.options.cursorBlinkRate<0&&(f.cursorDiv.style.visibility="hidden")}}function $N(c){c.hasFocus()||(c.display.input.focus(),c.state.focused||Bk(c))}function Hk(c){c.state.delayingBlurEvent=!0,setTimeout(function(){c.state.delayingBlurEvent&&(c.state.delayingBlurEvent=!1,c.state.focused&&Gh(c))},100)}function Bk(c,f){c.state.delayingBlurEvent&&!c.state.draggingText&&(c.state.delayingBlurEvent=!1),c.options.readOnly!="nocursor"&&(c.state.focused||(je(c,"focus",c,f),c.state.focused=!0,H(c.display.wrapper,"CodeMirror-focused"),!c.curOp&&c.display.selForContextMenu!=c.doc.sel&&(c.display.input.reset(),p&&setTimeout(function(){return c.display.input.reset(!0)},20)),c.display.input.receivedFocus()),Fk(c))}function Gh(c,f){c.state.delayingBlurEvent||(c.state.focused&&(je(c,"blur",c,f),c.state.focused=!1,Y(c.display.wrapper,"CodeMirror-focused")),clearInterval(c.display.blinker),setTimeout(function(){c.state.focused||(c.display.shift=!1)},150))}function Hx(c){for(var f=c.display,k=f.lineDiv.offsetTop,y=Math.max(0,f.scroller.getBoundingClientRect().top),j=f.lineDiv.getBoundingClientRect().top,D=0,B=0;B.005||Le<-.005)&&(jc.display.sizerWidth){var vt=Math.ceil(he/Kh(c.display));vt>c.display.maxLineLength&&(c.display.maxLineLength=vt,c.display.maxLine=K.line,c.display.maxLineChanged=!0)}}}Math.abs(D)>2&&(f.scroller.scrollTop+=D)}function zN(c){if(c.widgets)for(var f=0;f=B&&(D=fe(f,Ta(tt(f,Q))-c.wrapper.clientHeight),B=Q)}return{from:D,to:Math.max(B,D+1)}}function Yq(c,f){if(!Ie(c,"scrollCursorIntoView")){var k=c.display,y=k.sizer.getBoundingClientRect(),j=null,D=k.wrapper.ownerDocument;if(f.top+y.top<0?j=!0:f.bottom+y.top>(D.defaultView.innerHeight||D.documentElement.clientHeight)&&(j=!1),j!=null&&!x){var B=M("div","​",null,"position: absolute;\n top: "+(f.top-k.viewOffset-Rx(c.display))+"px;\n height: "+(f.bottom-f.top+El(c)+k.barHeight)+"px;\n left: "+f.left+"px; width: "+Math.max(2,f.right-f.left)+"px;");c.display.lineSpace.appendChild(B),B.scrollIntoView(j),c.display.lineSpace.removeChild(B)}}}function Zq(c,f,k,y){y==null&&(y=0);var j;!c.options.lineWrapping&&f==k&&(k=f.sticky=="before"?_e(f.line,f.ch+1,"before"):f,f=f.ch?_e(f.line,f.sticky=="before"?f.ch-1:f.ch,"after"):f);for(var D=0;D<5;D++){var B=!1,K=Ri(c,f),Q=!k||k==f?K:Ri(c,k);j={left:Math.min(K.left,Q.left),top:Math.min(K.top,Q.top)-y,right:Math.max(K.left,Q.left),bottom:Math.max(K.bottom,Q.bottom)+y};var ie=Uk(c,j),he=c.doc.scrollTop,Ce=c.doc.scrollLeft;if(ie.scrollTop!=null&&(J0(c,ie.scrollTop),Math.abs(c.doc.scrollTop-he)>1&&(B=!0)),ie.scrollLeft!=null&&(uf(c,ie.scrollLeft),Math.abs(c.doc.scrollLeft-Ce)>1&&(B=!0)),!B)break}return j}function Xq(c,f){var k=Uk(c,f);k.scrollTop!=null&&J0(c,k.scrollTop),k.scrollLeft!=null&&uf(c,k.scrollLeft)}function Uk(c,f){var k=c.display,y=qh(c.display);f.top<0&&(f.top=0);var j=c.curOp&&c.curOp.scrollTop!=null?c.curOp.scrollTop:k.scroller.scrollTop,D=Pk(c),B={};f.bottom-f.top>D&&(f.bottom=f.top+D);var K=c.doc.height+Tk(k),Q=f.topK-y;if(f.topj+D){var he=Math.min(f.top,(ie?K:f.bottom)-D);he!=j&&(B.scrollTop=he)}var Ce=c.options.fixedGutter?0:k.gutters.offsetWidth,$e=c.curOp&&c.curOp.scrollLeft!=null?c.curOp.scrollLeft:k.scroller.scrollLeft-Ce,Le=af(c)-k.gutters.offsetWidth,ct=f.right-f.left>Le;return ct&&(f.right=f.left+Le),f.left<10?B.scrollLeft=0:f.left<$e?B.scrollLeft=Math.max(0,f.left+Ce-(ct?0:10)):f.right>Le+$e-3&&(B.scrollLeft=f.right+(ct?0:10)-Le),B}function Wk(c,f){f!=null&&(Ux(c),c.curOp.scrollTop=(c.curOp.scrollTop==null?c.doc.scrollTop:c.curOp.scrollTop)+f)}function Yh(c){Ux(c);var f=c.getCursor();c.curOp.scrollToPos={from:f,to:f,margin:c.options.cursorScrollMargin}}function Q0(c,f,k){(f!=null||k!=null)&&Ux(c),f!=null&&(c.curOp.scrollLeft=f),k!=null&&(c.curOp.scrollTop=k)}function Qq(c,f){Ux(c),c.curOp.scrollToPos=f}function Ux(c){var f=c.curOp.scrollToPos;if(f){c.curOp.scrollToPos=null;var k=DN(c,f.from),y=DN(c,f.to);FN(c,k,y,f.margin)}}function FN(c,f,k,y){var j=Uk(c,{left:Math.min(f.left,k.left),top:Math.min(f.top,k.top)-y,right:Math.max(f.right,k.right),bottom:Math.max(f.bottom,k.bottom)+y});Q0(c,j.scrollLeft,j.scrollTop)}function J0(c,f){Math.abs(c.doc.scrollTop-f)<2||(s||qk(c,{top:f}),HN(c,f,!0),s&&qk(c),ng(c,100))}function HN(c,f,k){f=Math.max(0,Math.min(c.display.scroller.scrollHeight-c.display.scroller.clientHeight,f)),!(c.display.scroller.scrollTop==f&&!k)&&(c.doc.scrollTop=f,c.display.scrollbars.setScrollTop(f),c.display.scroller.scrollTop!=f&&(c.display.scroller.scrollTop=f))}function uf(c,f,k,y){f=Math.max(0,Math.min(f,c.display.scroller.scrollWidth-c.display.scroller.clientWidth)),!((k?f==c.doc.scrollLeft:Math.abs(c.doc.scrollLeft-f)<2)&&!y)&&(c.doc.scrollLeft=f,qN(c),c.display.scroller.scrollLeft!=f&&(c.display.scroller.scrollLeft=f),c.display.scrollbars.setScrollLeft(f))}function eg(c){var f=c.display,k=f.gutters.offsetWidth,y=Math.round(c.doc.height+Tk(c.display));return{clientHeight:f.scroller.clientHeight,viewHeight:f.wrapper.clientHeight,scrollWidth:f.scroller.scrollWidth,clientWidth:f.scroller.clientWidth,viewWidth:f.wrapper.clientWidth,barLeft:c.options.fixedGutter?k:0,docHeight:y,scrollHeight:y+El(c)+f.barHeight,nativeBarWidth:f.nativeBarWidth,gutterWidth:k}}var df=function(c,f,k){this.cm=k;var y=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),j=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");y.tabIndex=j.tabIndex=-1,c(y),c(j),Je(y,"scroll",function(){y.clientHeight&&f(y.scrollTop,"vertical")}),Je(j,"scroll",function(){j.clientWidth&&f(j.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,u&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};df.prototype.update=function(c){var f=c.scrollWidth>c.clientWidth+1,k=c.scrollHeight>c.clientHeight+1,y=c.nativeBarWidth;if(k){this.vert.style.display="block",this.vert.style.bottom=f?y+"px":"0";var j=c.viewHeight-(f?y:0);this.vert.firstChild.style.height=Math.max(0,c.scrollHeight-c.clientHeight+j)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(f){this.horiz.style.display="block",this.horiz.style.right=k?y+"px":"0",this.horiz.style.left=c.barLeft+"px";var D=c.viewWidth-c.barLeft-(k?y:0);this.horiz.firstChild.style.width=Math.max(0,c.scrollWidth-c.clientWidth+D)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&c.clientHeight>0&&(y==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:k?y:0,bottom:f?y:0}},df.prototype.setScrollLeft=function(c){this.horiz.scrollLeft!=c&&(this.horiz.scrollLeft=c),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},df.prototype.setScrollTop=function(c){this.vert.scrollTop!=c&&(this.vert.scrollTop=c),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},df.prototype.zeroWidthHack=function(){var c=_&&!w?"12px":"18px";this.horiz.style.height=this.vert.style.width=c,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new de,this.disableVert=new de},df.prototype.enableZeroWidthBar=function(c,f,k){c.style.visibility="";function y(){var j=c.getBoundingClientRect(),D=k=="vert"?document.elementFromPoint(j.right-1,(j.top+j.bottom)/2):document.elementFromPoint((j.right+j.left)/2,j.bottom-1);D!=c?c.style.visibility="hidden":f.set(1e3,y)}f.set(1e3,y)},df.prototype.clear=function(){var c=this.horiz.parentNode;c.removeChild(this.horiz),c.removeChild(this.vert)};var tg=function(){};tg.prototype.update=function(){return{bottom:0,right:0}},tg.prototype.setScrollLeft=function(){},tg.prototype.setScrollTop=function(){},tg.prototype.clear=function(){};function Zh(c,f){f||(f=eg(c));var k=c.display.barWidth,y=c.display.barHeight;BN(c,f);for(var j=0;j<4&&k!=c.display.barWidth||y!=c.display.barHeight;j++)k!=c.display.barWidth&&c.options.lineWrapping&&Hx(c),BN(c,eg(c)),k=c.display.barWidth,y=c.display.barHeight}function BN(c,f){var k=c.display,y=k.scrollbars.update(f);k.sizer.style.paddingRight=(k.barWidth=y.right)+"px",k.sizer.style.paddingBottom=(k.barHeight=y.bottom)+"px",k.heightForcer.style.borderBottom=y.bottom+"px solid transparent",y.right&&y.bottom?(k.scrollbarFiller.style.display="block",k.scrollbarFiller.style.height=y.bottom+"px",k.scrollbarFiller.style.width=y.right+"px"):k.scrollbarFiller.style.display="",y.bottom&&c.options.coverGutterNextToScrollbar&&c.options.fixedGutter?(k.gutterFiller.style.display="block",k.gutterFiller.style.height=y.bottom+"px",k.gutterFiller.style.width=f.gutterWidth+"px"):k.gutterFiller.style.display=""}var UN={native:df,null:tg};function WN(c){c.display.scrollbars&&(c.display.scrollbars.clear(),c.display.scrollbars.addClass&&Y(c.display.wrapper,c.display.scrollbars.addClass)),c.display.scrollbars=new UN[c.options.scrollbarStyle](function(f){c.display.wrapper.insertBefore(f,c.display.scrollbarFiller),Je(f,"mousedown",function(){c.state.focused&&setTimeout(function(){return c.display.input.focus()},0)}),f.setAttribute("cm-not-content","true")},function(f,k){k=="horizontal"?uf(c,f):J0(c,f)},c),c.display.scrollbars.addClass&&H(c.display.wrapper,c.display.scrollbars.addClass)}var Jq=0;function ff(c){c.curOp={cm:c,viewChanged:!1,startHeight:c.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Jq,markArrays:null},Pq(c.curOp)}function hf(c){var f=c.curOp;f&&Dq(f,function(k){for(var y=0;y=k.viewTo)||k.maxLineChanged&&f.options.lineWrapping,c.update=c.mustUpdate&&new Wx(f,c.mustUpdate&&{top:c.scrollTop,ensure:c.scrollToPos},c.forceUpdate)}function nK(c){c.updatedDisplay=c.mustUpdate&&Vk(c.cm,c.update)}function rK(c){var f=c.cm,k=f.display;c.updatedDisplay&&Hx(f),c.barMeasure=eg(f),k.maxLineChanged&&!f.options.lineWrapping&&(c.adjustWidthTo=SN(f,k.maxLine,k.maxLine.text.length).left+3,f.display.sizerWidth=c.adjustWidthTo,c.barMeasure.scrollWidth=Math.max(k.scroller.clientWidth,k.sizer.offsetLeft+c.adjustWidthTo+El(f)+f.display.barWidth),c.maxScrollLeft=Math.max(0,k.sizer.offsetLeft+c.adjustWidthTo-af(f))),(c.updatedDisplay||c.selectionChanged)&&(c.preparedSelection=k.input.prepareSelection())}function sK(c){var f=c.cm;c.adjustWidthTo!=null&&(f.display.sizer.style.minWidth=c.adjustWidthTo+"px",c.maxScrollLeft=c.display.viewTo)){var k=+new Date+c.options.workTime,y=Jo(c,f.highlightFrontier),j=[];f.iter(y.line,Math.min(f.first+f.size,c.display.viewTo+500),function(D){if(y.line>=c.display.viewFrom){var B=D.styles,K=D.text.length>c.options.maxHighlightLength?At(f.mode,y.state):null,Q=sc(c,D,y,!0);K&&(y.state=K),D.styles=Q.styles;var ie=D.styleClasses,he=Q.classes;he?D.styleClasses=he:ie&&(D.styleClasses=null);for(var Ce=!B||B.length!=D.styles.length||ie!=he&&(!ie||!he||ie.bgClass!=he.bgClass||ie.textClass!=he.textClass),$e=0;!Ce&&$ek)return ng(c,c.options.workDelay),!0}),f.highlightFrontier=y.line,f.modeFrontier=Math.max(f.modeFrontier,y.line),j.length&&to(c,function(){for(var D=0;D=k.viewFrom&&f.visible.to<=k.viewTo&&(k.updateLineNumbers==null||k.updateLineNumbers>=k.viewTo)&&k.renderedView==k.view&&RN(c)==0)return!1;KN(c)&&(Nu(c),f.dims=Rk(c));var j=y.first+y.size,D=Math.max(f.visible.from-c.options.viewportMargin,y.first),B=Math.min(j,f.visible.to+c.options.viewportMargin);k.viewFromB&&k.viewTo-B<20&&(B=Math.min(j,k.viewTo)),ca&&(D=jl(c.doc,D),B=yc(c.doc,B));var K=D!=k.viewFrom||B!=k.viewTo||k.lastWrapHeight!=f.wrapperHeight||k.lastWrapWidth!=f.wrapperWidth;Kq(c,D,B),k.viewOffset=Ta(tt(c.doc,k.viewFrom)),c.display.mover.style.top=k.viewOffset+"px";var Q=RN(c);if(!K&&Q==0&&!f.force&&k.renderedView==k.view&&(k.updateLineNumbers==null||k.updateLineNumbers>=k.viewTo))return!1;var ie=lK(c);return Q>4&&(k.lineDiv.style.display="none"),uK(c,k.updateLineNumbers,f.dims),Q>4&&(k.lineDiv.style.display=""),k.renderedView=k.view,cK(ie),O(k.cursorDiv),O(k.selectionDiv),k.gutters.style.height=k.sizer.style.minHeight=0,K&&(k.lastWrapHeight=f.wrapperHeight,k.lastWrapWidth=f.wrapperWidth,ng(c,400)),k.updateLineNumbers=null,!0}function VN(c,f){for(var k=f.viewport,y=!0;;y=!1){if(!y||!c.options.lineWrapping||f.oldDisplayWidth==af(c)){if(k&&k.top!=null&&(k={top:Math.min(c.doc.height+Tk(c.display)-Pk(c),k.top)}),f.visible=Bx(c.display,c.doc,k),f.visible.from>=c.display.viewFrom&&f.visible.to<=c.display.viewTo)break}else y&&(f.visible=Bx(c.display,c.doc,k));if(!Vk(c,f))break;Hx(c);var j=eg(c);X0(c),Zh(c,j),Gk(c,j),f.force=!1}f.signal(c,"update",c),(c.display.viewFrom!=c.display.reportedViewFrom||c.display.viewTo!=c.display.reportedViewTo)&&(f.signal(c,"viewportChange",c,c.display.viewFrom,c.display.viewTo),c.display.reportedViewFrom=c.display.viewFrom,c.display.reportedViewTo=c.display.viewTo)}function qk(c,f){var k=new Wx(c,f);if(Vk(c,k)){Hx(c),VN(c,k);var y=eg(c);X0(c),Zh(c,y),Gk(c,y),k.finish()}}function uK(c,f,k){var y=c.display,j=c.options.lineNumbers,D=y.lineDiv,B=D.firstChild;function K(ct){var vt=ct.nextSibling;return p&&_&&c.display.currentWheelTarget==ct?ct.style.display="none":ct.parentNode.removeChild(ct),vt}for(var Q=y.view,ie=y.viewFrom,he=0;he-1&&(Le=!1),vN(c,Ce,ie,k)),Le&&(O(Ce.lineNumber),Ce.lineNumber.appendChild(document.createTextNode(Me(c.options,ie)))),B=Ce.node.nextSibling}ie+=Ce.size}for(;B;)B=K(B)}function Kk(c){var f=c.gutters.offsetWidth;c.sizer.style.marginLeft=f+"px",ps(c,"gutterChanged",c)}function Gk(c,f){c.display.sizer.style.minHeight=f.docHeight+"px",c.display.heightForcer.style.top=f.docHeight+"px",c.display.gutters.style.height=f.docHeight+c.display.barHeight+El(c)+"px"}function qN(c){var f=c.display,k=f.view;if(!(!f.alignWidgets&&(!f.gutters.firstChild||!c.options.fixedGutter))){for(var y=Ok(f)-f.scroller.scrollLeft+c.doc.scrollLeft,j=f.gutters.offsetWidth,D=y+"px",B=0;B=105&&(j.wrapper.style.clipPath="inset(0px)"),j.wrapper.setAttribute("translate","no"),u&&d<8&&(j.gutters.style.zIndex=-1,j.scroller.style.paddingRight=0),!p&&!(s&&N)&&(j.scroller.draggable=!0),c&&(c.appendChild?c.appendChild(j.wrapper):c(j.wrapper)),j.viewFrom=j.viewTo=f.first,j.reportedViewFrom=j.reportedViewTo=f.first,j.view=[],j.renderedView=null,j.externalMeasured=null,j.viewOffset=0,j.lastWrapHeight=j.lastWrapWidth=0,j.updateLineNumbers=null,j.nativeBarWidth=j.barHeight=j.barWidth=0,j.scrollbarsClipped=!1,j.lineNumWidth=j.lineNumInnerWidth=j.lineNumChars=null,j.alignWidgets=!1,j.cachedCharWidth=j.cachedTextHeight=j.cachedPaddingH=null,j.maxLine=null,j.maxLineLength=0,j.maxLineChanged=!1,j.wheelDX=j.wheelDY=j.wheelStartX=j.wheelStartY=null,j.shift=!1,j.selForContextMenu=null,j.activeTouch=null,j.gutterSpecs=Yk(y.gutters,y.lineNumbers),GN(j),k.init(j)}var Vx=0,wc=null;u?wc=-.53:s?wc=15:m?wc=-.7:g&&(wc=-1/3);function YN(c){var f=c.wheelDeltaX,k=c.wheelDeltaY;return f==null&&c.detail&&c.axis==c.HORIZONTAL_AXIS&&(f=c.detail),k==null&&c.detail&&c.axis==c.VERTICAL_AXIS?k=c.detail:k==null&&(k=c.wheelDelta),{x:f,y:k}}function fK(c){var f=YN(c);return f.x*=wc,f.y*=wc,f}function ZN(c,f){m&&b==102&&(c.display.chromeScrollHack==null?c.display.sizer.style.pointerEvents="none":clearTimeout(c.display.chromeScrollHack),c.display.chromeScrollHack=setTimeout(function(){c.display.chromeScrollHack=null,c.display.sizer.style.pointerEvents=""},100));var k=YN(f),y=k.x,j=k.y,D=wc;f.deltaMode===0&&(y=f.deltaX,j=f.deltaY,D=1);var B=c.display,K=B.scroller,Q=K.scrollWidth>K.clientWidth,ie=K.scrollHeight>K.clientHeight;if(y&&Q||j&&ie){if(j&&_&&p){e:for(var he=f.target,Ce=B.view;he!=K;he=he.parentNode)for(var $e=0;$e=0&&ze(c,y.to())<=0)return k}return-1};var nr=function(c,f){this.anchor=c,this.head=f};nr.prototype.from=function(){return Mn(this.anchor,this.head)},nr.prototype.to=function(){return zn(this.anchor,this.head)},nr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Oi(c,f,k){var y=c&&c.options.selectionsMayTouch,j=f[k];f.sort(function($e,Le){return ze($e.from(),Le.from())}),k=ce(f,j);for(var D=1;D0:Q>=0){var ie=Mn(K.from(),B.from()),he=zn(K.to(),B.to()),Ce=K.empty()?B.from()==B.head:K.from()==K.head;D<=k&&--k,f.splice(--D,2,new nr(Ce?he:ie,Ce?ie:he))}}return new To(f,k)}function _u(c,f){return new To([new nr(c,f||c)],0)}function Tu(c){return c.text?_e(c.from.line+c.text.length-1,Ve(c.text).length+(c.text.length==1?c.from.ch:0)):c.to}function XN(c,f){if(ze(c,f.from)<0)return c;if(ze(c,f.to)<=0)return Tu(f);var k=c.line+f.text.length-(f.to.line-f.from.line)-1,y=c.ch;return c.line==f.to.line&&(y+=Tu(f).ch-f.to.ch),_e(k,y)}function Zk(c,f){for(var k=[],y=0;y1&&c.remove(K.line+1,ct-1),c.insert(K.line+1,zt)}ps(c,"change",c,f)}function Pu(c,f,k){function y(j,D,B){if(j.linked)for(var K=0;K1&&!c.done[c.done.length-2].ranges)return c.done.pop(),Ve(c.done)}function r9(c,f,k,y){var j=c.history;j.undone.length=0;var D=+new Date,B,K;if((j.lastOp==y||j.lastOrigin==f.origin&&f.origin&&(f.origin.charAt(0)=="+"&&j.lastModTime>D-(c.cm?c.cm.options.historyEventDelay:500)||f.origin.charAt(0)=="*"))&&(B=mK(j,j.lastOp==y)))K=Ve(B.changes),ze(f.from,f.to)==0&&ze(f.from,K.to)==0?K.to=Tu(f):B.changes.push(Jk(c,f));else{var Q=Ve(j.done);for((!Q||!Q.ranges)&&Kx(c.sel,j.done),B={changes:[Jk(c,f)],generation:j.generation},j.done.push(B);j.done.length>j.undoDepth;)j.done.shift(),j.done[0].ranges||j.done.shift()}j.done.push(k),j.generation=++j.maxGeneration,j.lastModTime=j.lastSelTime=D,j.lastOp=j.lastSelOp=y,j.lastOrigin=j.lastSelOrigin=f.origin,K||je(c,"historyAdded")}function gK(c,f,k,y){var j=f.charAt(0);return j=="*"||j=="+"&&k.ranges.length==y.ranges.length&&k.somethingSelected()==y.somethingSelected()&&new Date-c.history.lastSelTime<=(c.cm?c.cm.options.historyEventDelay:500)}function vK(c,f,k,y){var j=c.history,D=y&&y.origin;k==j.lastSelOp||D&&j.lastSelOrigin==D&&(j.lastModTime==j.lastSelTime&&j.lastOrigin==D||gK(c,D,Ve(j.done),f))?j.done[j.done.length-1]=f:Kx(f,j.done),j.lastSelTime=+new Date,j.lastSelOrigin=D,j.lastSelOp=k,y&&y.clearRedo!==!1&&n9(j.undone)}function Kx(c,f){var k=Ve(f);k&&k.ranges&&k.equals(c)||f.push(c)}function s9(c,f,k,y){var j=f["spans_"+c.id],D=0;c.iter(Math.max(c.first,k),Math.min(c.first+c.size,y),function(B){B.markedSpans&&((j||(j=f["spans_"+c.id]={}))[D]=B.markedSpans),++D})}function xK(c){if(!c)return null;for(var f,k=0;k-1&&(Ve(K)[Ce]=ie[Ce],delete ie[Ce])}}return y}function e3(c,f,k,y){if(y){var j=c.anchor;if(k){var D=ze(f,j)<0;D!=ze(k,j)<0?(j=f,f=k):D!=ze(f,k)<0&&(f=k)}return new nr(j,f)}else return new nr(k||f,f)}function Gx(c,f,k,y,j){j==null&&(j=c.cm&&(c.cm.display.shift||c.extend)),Xs(c,new To([e3(c.sel.primary(),f,k,j)],0),y)}function o9(c,f,k){for(var y=[],j=c.cm&&(c.cm.display.shift||c.extend),D=0;D=f.ch:K.to>f.ch))){if(j&&(je(Q,"beforeCursorEnter"),Q.explicitlyCleared))if(D.markedSpans){--B;continue}else break;if(!Q.atomic)continue;if(k){var Ce=Q.find(y<0?1:-1),$e=void 0;if((y<0?he:ie)&&(Ce=f9(c,Ce,-y,Ce&&Ce.line==f.line?D:null)),Ce&&Ce.line==f.line&&($e=ze(Ce,k))&&(y<0?$e<0:$e>0))return Qh(c,Ce,f,y,j)}var Le=Q.find(y<0?-1:1);return(y<0?ie:he)&&(Le=f9(c,Le,y,Le.line==f.line?D:null)),Le?Qh(c,Le,f,y,j):null}}return f}function Zx(c,f,k,y,j){var D=y||1,B=Qh(c,f,k,D,j)||!j&&Qh(c,f,k,D,!0)||Qh(c,f,k,-D,j)||!j&&Qh(c,f,k,-D,!0);return B||(c.cantEdit=!0,_e(c.first,0))}function f9(c,f,k,y){return k<0&&f.ch==0?f.line>c.first?yn(c,_e(f.line-1)):null:k>0&&f.ch==(y||tt(c,f.line)).text.length?f.line=0;--j)m9(c,{from:y[j].from,to:y[j].to,text:j?[""]:f.text,origin:f.origin});else m9(c,f)}}function m9(c,f){if(!(f.text.length==1&&f.text[0]==""&&ze(f.from,f.to)==0)){var k=Zk(c,f);r9(c,f,k,c.cm?c.cm.curOp.id:NaN),ag(c,f,k,Cl(c,f));var y=[];Pu(c,function(j,D){!D&&ce(y,j.history)==-1&&(y9(j.history,f),y.push(j.history)),ag(j,f,null,Cl(j,f))})}}function Xx(c,f,k){var y=c.cm&&c.cm.state.suppressEdits;if(!(y&&!k)){for(var j=c.history,D,B=c.sel,K=f=="undo"?j.done:j.undone,Q=f=="undo"?j.undone:j.done,ie=0;ie=0;--Le){var ct=$e(Le);if(ct)return ct.v}}}}function g9(c,f){if(f!=0&&(c.first+=f,c.sel=new To(Ke(c.sel.ranges,function(j){return new nr(_e(j.anchor.line+f,j.anchor.ch),_e(j.head.line+f,j.head.ch))}),c.sel.primIndex),c.cm)){Pa(c.cm,c.first,c.first-f,f);for(var k=c.cm.display,y=k.viewFrom;yc.lastLine())){if(f.from.lineD&&(f={from:f.from,to:_e(D,tt(c,D).text.length),text:[f.text[0]],origin:f.origin}),f.removed=Kt(c,f.from,f.to),k||(k=Zk(c,f)),c.cm?wK(c.cm,f,y):Qk(c,f,y),Yx(c,k,ye),c.cantEdit&&Zx(c,_e(c.firstLine(),0))&&(c.cantEdit=!1)}}function wK(c,f,k){var y=c.doc,j=c.display,D=f.from,B=f.to,K=!1,Q=D.line;c.options.lineWrapping||(Q=oe(As(tt(y,D.line))),y.iter(Q,B.line+1,function(Le){if(Le==j.maxLine)return K=!0,!0})),y.sel.contains(f.from,f.to)>-1&&nt(c),Qk(y,f,k,LN(c)),c.options.lineWrapping||(y.iter(Q,D.line+f.text.length,function(Le){var ct=ti(Le);ct>j.maxLineLength&&(j.maxLine=Le,j.maxLineLength=ct,j.maxLineChanged=!0,K=!1)}),K&&(c.curOp.updateMaxLine=!0)),pu(y,D.line),ng(c,400);var ie=f.text.length-(B.line-D.line)-1;f.full?Pa(c):D.line==B.line&&f.text.length==1&&!JN(c.doc,f)?Eu(c,D.line,"text"):Pa(c,D.line,B.line+1,ie);var he=Pe(c,"changes"),Ce=Pe(c,"change");if(Ce||he){var $e={from:D,to:B,text:f.text,removed:f.removed,origin:f.origin};Ce&&ps(c,"change",c,$e),he&&(c.curOp.changeObjs||(c.curOp.changeObjs=[])).push($e)}c.display.selForContextMenu=null}function ep(c,f,k,y,j){var D;y||(y=k),ze(y,k)<0&&(D=[y,k],k=D[0],y=D[1]),typeof f=="string"&&(f=c.splitLines(f)),Jh(c,{from:k,to:y,text:f,origin:j})}function v9(c,f,k,y){k1||!(this.children[0]instanceof ig))){var K=[];this.collapse(K),this.children=[new ig(K)],this.children[0].parent=this}},collapse:function(c){for(var f=0;f50){for(var B=j.lines.length%25+25,K=B;K10);c.parent.maybeSpill()}},iterN:function(c,f,k){for(var y=0;yc.display.maxLineLength&&(c.display.maxLine=ie,c.display.maxLineLength=he,c.display.maxLineChanged=!0)}y!=null&&c&&this.collapsed&&Pa(c,y,j+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,c&&u9(c.doc)),c&&ps(c,"markerCleared",c,this,y,j),f&&hf(c),this.parent&&this.parent.clear()}},Mu.prototype.find=function(c,f){c==null&&this.type=="bookmark"&&(c=1);for(var k,y,j=0;j0||B==0&&D.clearWhenEmpty!==!1)return D;if(D.replacedWith&&(D.collapsed=!0,D.widgetNode=W("span",[D.replacedWith],"CodeMirror-widget"),y.handleMouseEvents||D.widgetNode.setAttribute("cm-ignore-events","true"),y.insertLeft&&(D.widgetNode.insertLeft=!0)),D.collapsed){if(sf(c,f.line,f,k,D)||f.line!=k.line&&sf(c,k.line,f,k,D))throw new Error("Inserting collapsed marker partially overlapping an existing one");gu()}D.addToHistory&&r9(c,{from:f,to:k,origin:"markText"},c.sel,NaN);var K=f.line,Q=c.cm,ie;if(c.iter(K,k.line+1,function(Ce){Q&&D.collapsed&&!Q.options.lineWrapping&&As(Ce)==Q.display.maxLine&&(ie=!0),D.collapsed&&K!=f.line&&vn(Ce,0),xu(Ce,new Ai(D,K==f.line?f.ch:null,K==k.line?k.ch:null),c.cm&&c.cm.curOp),++K}),D.collapsed&&c.iter(f.line,k.line+1,function(Ce){_a(c,Ce)&&vn(Ce,0)}),D.clearOnEnter&&Je(D,"beforeCursorEnter",function(){return D.clear()}),D.readOnly&&(mu(),(c.history.done.length||c.history.undone.length)&&c.clearHistory()),D.collapsed&&(D.id=++w9,D.atomic=!0),Q){if(ie&&(Q.curOp.updateMaxLine=!0),D.collapsed)Pa(Q,f.line,k.line+1);else if(D.className||D.startStyle||D.endStyle||D.css||D.attributes||D.title)for(var he=f.line;he<=k.line;he++)Eu(Q,he,"text");D.atomic&&u9(Q.doc),ps(Q,"markerAdded",Q,D)}return D}var ug=function(c,f){this.markers=c,this.primary=f;for(var k=0;k=0;Q--)Jh(this,y[Q]);K?l9(this,K):this.cm&&Yh(this.cm)}),undo:gs(function(){Xx(this,"undo")}),redo:gs(function(){Xx(this,"redo")}),undoSelection:gs(function(){Xx(this,"undo",!0)}),redoSelection:gs(function(){Xx(this,"redo",!0)}),setExtending:function(c){this.extend=c},getExtending:function(){return this.extend},historySize:function(){for(var c=this.history,f=0,k=0,y=0;y=c.ch)&&f.push(j.marker.parent||j.marker)}return f},findMarks:function(c,f,k){c=yn(this,c),f=yn(this,f);var y=[],j=c.line;return this.iter(c.line,f.line+1,function(D){var B=D.markedSpans;if(B)for(var K=0;K=Q.to||Q.from==null&&j!=c.line||Q.from!=null&&j==f.line&&Q.from>=f.ch)&&(!k||k(Q.marker))&&y.push(Q.marker.parent||Q.marker)}++j}),y},getAllMarks:function(){var c=[];return this.iter(function(f){var k=f.markedSpans;if(k)for(var y=0;yc)return f=c,!0;c-=D,++k}),yn(this,_e(k,f))},indexFromPos:function(c){c=yn(this,c);var f=c.ch;if(c.linef&&(f=c.from),c.to!=null&&c.to-1){f.state.draggingText(c),setTimeout(function(){return f.display.input.focus()},20);return}try{var he=c.dataTransfer.getData("Text");if(he){var Ce;if(f.state.draggingText&&!f.state.draggingText.copy&&(Ce=f.listSelections()),Yx(f.doc,_u(k,k)),Ce)for(var $e=0;$e=0;K--)ep(c.doc,"",y[K].from,y[K].to,"+delete");Yh(c)})}function n3(c,f,k){var y=Rt(c.text,f+k,k);return y<0||y>c.text.length?null:y}function r3(c,f,k){var y=n3(c,f.ch,k);return y==null?null:new _e(f.line,y,k<0?"after":"before")}function s3(c,f,k,y,j){if(c){f.doc.direction=="rtl"&&(j=-j);var D=Pt(k,f.doc.direction);if(D){var B=j<0?Ve(D):D[0],K=j<0==(B.level==1),Q=K?"after":"before",ie;if(B.level>0||f.doc.direction=="rtl"){var he=Vh(f,k);ie=j<0?k.text.length-1:0;var Ce=Nl(f,he,ie).top;ie=Ut(function($e){return Nl(f,he,$e).top==Ce},j<0==(B.level==1)?B.from:B.to-1,ie),Q=="before"&&(ie=n3(k,ie,1))}else ie=j<0?B.to:B.from;return new _e(y,ie,Q)}}return new _e(y,j<0?k.text.length:0,j<0?"before":"after")}function LK(c,f,k,y){var j=Pt(f,c.doc.direction);if(!j)return r3(f,k,y);k.ch>=f.text.length?(k.ch=f.text.length,k.sticky="before"):k.ch<=0&&(k.ch=0,k.sticky="after");var D=$t(j,k.ch,k.sticky),B=j[D];if(c.doc.direction=="ltr"&&B.level%2==0&&(y>0?B.to>k.ch:B.from=B.from&&$e>=he.begin)){var Le=Ce?"before":"after";return new _e(k.line,$e,Le)}}var ct=function(zt,Yt,Ft){for(var Jt=function(yr,vs){return vs?new _e(k.line,K(yr,1),"before"):new _e(k.line,yr,"after")};zt>=0&&zt0==(bn.level!=1),On=xn?Ft.begin:K(Ft.end,-1);if(bn.from<=On&&On0?he.end:K(he.begin,-1);return Nt!=null&&!(y>0&&Nt==f.text.length)&&(vt=ct(y>0?0:j.length-1,y,ie(Nt)),vt)?vt:null}var hg={selectAll:h9,singleSelection:function(c){return c.setSelection(c.getCursor("anchor"),c.getCursor("head"),ye)},killLine:function(c){return rp(c,function(f){if(f.empty()){var k=tt(c.doc,f.head.line).text.length;return f.head.ch==k&&f.head.line0)j=new _e(j.line,j.ch+1),c.replaceRange(D.charAt(j.ch-1)+D.charAt(j.ch-2),_e(j.line,j.ch-2),j,"+transpose");else if(j.line>c.doc.first){var B=tt(c.doc,j.line-1).text;B&&(j=new _e(j.line,1),c.replaceRange(D.charAt(0)+c.doc.lineSeparator()+B.charAt(B.length-1),_e(j.line-1,B.length-1),j,"+transpose"))}}k.push(new nr(j,j))}c.setSelections(k)})},newlineAndIndent:function(c){return to(c,function(){for(var f=c.listSelections(),k=f.length-1;k>=0;k--)c.replaceRange(c.doc.lineSeparator(),f[k].anchor,f[k].head,"+input");f=c.listSelections();for(var y=0;yc&&ze(f,this.pos)==0&&k==this.button};var mg,gg;function BK(c,f){var k=+new Date;return gg&&gg.compare(k,c,f)?(mg=gg=null,"triple"):mg&&mg.compare(k,c,f)?(gg=new o3(k,c,f),mg=null,"double"):(mg=new o3(k,c,f),gg=null,"single")}function O9(c){var f=this,k=f.display;if(!(Ie(f,c)||k.activeTouch&&k.input.supportsTouch())){if(k.input.ensurePolled(),k.shift=c.shiftKey,bc(k,c)){p||(k.scroller.draggable=!1,setTimeout(function(){return k.scroller.draggable=!0},100));return}if(!i3(f,c)){var y=lf(f,c),j=bt(c),D=y?BK(y,j):"single";G(f).focus(),j==1&&f.state.selectingText&&f.state.selectingText(c),!(y&&UK(f,j,y,D,c))&&(j==1?y?VK(f,y,D,c):Et(c)==k.scroller&&Ze(c):j==2?(y&&Gx(f.doc,y),setTimeout(function(){return k.input.focus()},20)):j==3&&(L?f.display.input.onContextMenu(c):Hk(f)))}}}function UK(c,f,k,y,j){var D="Click";return y=="double"?D="Double"+D:y=="triple"&&(D="Triple"+D),D=(f==1?"Left":f==2?"Middle":"Right")+D,pg(c,_9(D,j),j,function(B){if(typeof B=="string"&&(B=hg[B]),!B)return!1;var K=!1;try{c.isReadOnly()&&(c.state.suppressEdits=!0),K=B(c,k)!=ve}finally{c.state.suppressEdits=!1}return K})}function WK(c,f,k){var y=c.getOption("configureMouse"),j=y?y(c,f,k):{};if(j.unit==null){var D=P?k.shiftKey&&k.metaKey:k.altKey;j.unit=D?"rectangle":f=="single"?"char":f=="double"?"word":"line"}return(j.extend==null||c.doc.extend)&&(j.extend=c.doc.extend||k.shiftKey),j.addNew==null&&(j.addNew=_?k.metaKey:k.ctrlKey),j.moveOnDrag==null&&(j.moveOnDrag=!(_?k.altKey:k.ctrlKey)),j}function VK(c,f,k,y){u?setTimeout(Z($N,c),0):c.curOp.focus=J(ne(c));var j=WK(c,k,y),D=c.doc.sel,B;c.options.dragDrop&&_t&&!c.isReadOnly()&&k=="single"&&(B=D.contains(f))>-1&&(ze((B=D.ranges[B]).from(),f)<0||f.xRel>0)&&(ze(B.to(),f)>0||f.xRel<0)?qK(c,y,f,j):KK(c,y,f,j)}function qK(c,f,k,y){var j=c.display,D=!1,B=ms(c,function(ie){p&&(j.scroller.draggable=!1),c.state.draggingText=!1,c.state.delayingBlurEvent&&(c.hasFocus()?c.state.delayingBlurEvent=!1:Hk(c)),we(j.wrapper.ownerDocument,"mouseup",B),we(j.wrapper.ownerDocument,"mousemove",K),we(j.scroller,"dragstart",Q),we(j.scroller,"drop",B),D||(Ze(ie),y.addNew||Gx(c.doc,k,null,null,y.extend),p&&!g||u&&d==9?setTimeout(function(){j.wrapper.ownerDocument.body.focus({preventScroll:!0}),j.input.focus()},20):j.input.focus())}),K=function(ie){D=D||Math.abs(f.clientX-ie.clientX)+Math.abs(f.clientY-ie.clientY)>=10},Q=function(){return D=!0};p&&(j.scroller.draggable=!0),c.state.draggingText=B,B.copy=!y.moveOnDrag,Je(j.wrapper.ownerDocument,"mouseup",B),Je(j.wrapper.ownerDocument,"mousemove",K),Je(j.scroller,"dragstart",Q),Je(j.scroller,"drop",B),c.state.delayingBlurEvent=!0,setTimeout(function(){return j.input.focus()},20),j.scroller.dragDrop&&j.scroller.dragDrop()}function $9(c,f,k){if(k=="char")return new nr(f,f);if(k=="word")return c.findWordAt(f);if(k=="line")return new nr(_e(f.line,0),yn(c.doc,_e(f.line+1,0)));var y=k(c,f);return new nr(y.from,y.to)}function KK(c,f,k,y){u&&Hk(c);var j=c.display,D=c.doc;Ze(f);var B,K,Q=D.sel,ie=Q.ranges;if(y.addNew&&!y.extend?(K=D.sel.contains(k),K>-1?B=ie[K]:B=new nr(k,k)):(B=D.sel.primary(),K=D.sel.primIndex),y.unit=="rectangle")y.addNew||(B=new nr(k,k)),k=lf(c,f,!0,!0),K=-1;else{var he=$9(c,k,y.unit);y.extend?B=e3(B,he.anchor,he.head,y.extend):B=he}y.addNew?K==-1?(K=ie.length,Xs(D,Oi(c,ie.concat([B]),K),{scroll:!1,origin:"*mouse"})):ie.length>1&&ie[K].empty()&&y.unit=="char"&&!y.extend?(Xs(D,Oi(c,ie.slice(0,K).concat(ie.slice(K+1)),0),{scroll:!1,origin:"*mouse"}),Q=D.sel):t3(D,K,B,be):(K=0,Xs(D,new To([B],0),be),Q=D.sel);var Ce=k;function $e(Ft){if(ze(Ce,Ft)!=0)if(Ce=Ft,y.unit=="rectangle"){for(var Jt=[],bn=c.options.tabSize,xn=se(tt(D,k.line).text,k.ch,bn),On=se(tt(D,Ft.line).text,Ft.ch,bn),yr=Math.min(xn,On),vs=Math.max(xn,On),Ar=Math.min(k.line,Ft.line),no=Math.min(c.lastLine(),Math.max(k.line,Ft.line));Ar<=no;Ar++){var Da=tt(D,Ar).text,ns=Fe(Da,yr,bn);yr==vs?Jt.push(new nr(_e(Ar,ns),_e(Ar,ns))):Da.length>ns&&Jt.push(new nr(_e(Ar,ns),_e(Ar,Fe(Da,vs,bn))))}Jt.length||Jt.push(new nr(k,k)),Xs(D,Oi(c,Q.ranges.slice(0,K).concat(Jt),K),{origin:"*mouse",scroll:!1}),c.scrollIntoView(Ft)}else{var Ia=B,Ls=$9(c,Ft,y.unit),cs=Ia.anchor,rs;ze(Ls.anchor,cs)>0?(rs=Ls.head,cs=Mn(Ia.from(),Ls.anchor)):(rs=Ls.anchor,cs=zn(Ia.to(),Ls.head));var zr=Q.ranges.slice(0);zr[K]=GK(c,new nr(yn(D,cs),rs)),Xs(D,Oi(c,zr,K),be)}}var Le=j.wrapper.getBoundingClientRect(),ct=0;function vt(Ft){var Jt=++ct,bn=lf(c,Ft,!0,y.unit=="rectangle");if(bn)if(ze(bn,Ce)!=0){c.curOp.focus=J(ne(c)),$e(bn);var xn=Bx(j,D);(bn.line>=xn.to||bn.lineLe.bottom?20:0;On&&setTimeout(ms(c,function(){ct==Jt&&(j.scroller.scrollTop+=On,vt(Ft))}),50)}}function Nt(Ft){c.state.selectingText=!1,ct=1/0,Ft&&(Ze(Ft),j.input.focus()),we(j.wrapper.ownerDocument,"mousemove",zt),we(j.wrapper.ownerDocument,"mouseup",Yt),D.history.lastSelOrigin=null}var zt=ms(c,function(Ft){Ft.buttons===0||!bt(Ft)?Nt(Ft):vt(Ft)}),Yt=ms(c,Nt);c.state.selectingText=Yt,Je(j.wrapper.ownerDocument,"mousemove",zt),Je(j.wrapper.ownerDocument,"mouseup",Yt)}function GK(c,f){var k=f.anchor,y=f.head,j=tt(c.doc,k.line);if(ze(k,y)==0&&k.sticky==y.sticky)return f;var D=Pt(j);if(!D)return f;var B=$t(D,k.ch,k.sticky),K=D[B];if(K.from!=k.ch&&K.to!=k.ch)return f;var Q=B+(K.from==k.ch==(K.level!=1)?0:1);if(Q==0||Q==D.length)return f;var ie;if(y.line!=k.line)ie=(y.line-k.line)*(c.doc.direction=="ltr"?1:-1)>0;else{var he=$t(D,y.ch,y.sticky),Ce=he-B||(y.ch-k.ch)*(K.level==1?-1:1);he==Q-1||he==Q?ie=Ce<0:ie=Ce>0}var $e=D[Q+(ie?-1:0)],Le=ie==($e.level==1),ct=Le?$e.from:$e.to,vt=Le?"after":"before";return k.ch==ct&&k.sticky==vt?f:new nr(new _e(k.line,ct,vt),y)}function z9(c,f,k,y){var j,D;if(f.touches)j=f.touches[0].clientX,D=f.touches[0].clientY;else try{j=f.clientX,D=f.clientY}catch($e){return!1}if(j>=Math.floor(c.display.gutters.getBoundingClientRect().right))return!1;y&&Ze(f);var B=c.display,K=B.lineDiv.getBoundingClientRect();if(D>K.bottom||!Pe(c,k))return Oe(f);D-=K.top-B.viewOffset;for(var Q=0;Q=j){var he=fe(c.doc,D),Ce=c.display.gutterSpecs[Q];return je(c,k,c,he,Ce.className,f),Oe(f)}}}function i3(c,f){return z9(c,f,"gutterClick",!0)}function F9(c,f){bc(c.display,f)||YK(c,f)||Ie(c,f,"contextmenu")||L||c.display.input.onContextMenu(f)}function YK(c,f){return Pe(c,"gutterContextMenu")?z9(c,f,"gutterContextMenu",!1):!1}function H9(c){c.display.wrapper.className=c.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+c.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Z0(c)}var sp={toString:function(){return"CodeMirror.Init"}},B9={},ty={};function ZK(c){var f=c.optionHandlers;function k(y,j,D,B){c.defaults[y]=j,D&&(f[y]=B?function(K,Q,ie){ie!=sp&&D(K,Q,ie)}:D)}c.defineOption=k,c.Init=sp,k("value","",function(y,j){return y.setValue(j)},!0),k("mode",null,function(y,j){y.doc.modeOption=j,Xk(y)},!0),k("indentUnit",2,Xk,!0),k("indentWithTabs",!1),k("smartIndent",!0),k("tabSize",4,function(y){sg(y),Z0(y),Pa(y)},!0),k("lineSeparator",null,function(y,j){if(y.doc.lineSep=j,!!j){var D=[],B=y.doc.first;y.doc.iter(function(Q){for(var ie=0;;){var he=Q.text.indexOf(j,ie);if(he==-1)break;ie=he+j.length,D.push(_e(B,he))}B++});for(var K=D.length-1;K>=0;K--)ep(y.doc,j,D[K],_e(D[K].line,D[K].ch+j.length))}}),k("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(y,j,D){y.state.specialChars=new RegExp(j.source+(j.test(" ")?"":"| "),"g"),D!=sp&&y.refresh()}),k("specialCharPlaceholder",jq,function(y){return y.refresh()},!0),k("electricChars",!0),k("inputStyle",N?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),k("spellcheck",!1,function(y,j){return y.getInputField().spellcheck=j},!0),k("autocorrect",!1,function(y,j){return y.getInputField().autocorrect=j},!0),k("autocapitalize",!1,function(y,j){return y.getInputField().autocapitalize=j},!0),k("rtlMoveVisually",!I),k("wholeLineUpdateBefore",!0),k("theme","default",function(y){H9(y),rg(y)},!0),k("keyMap","default",function(y,j,D){var B=Jx(j),K=D!=sp&&Jx(D);K&&K.detach&&K.detach(y,B),B.attach&&B.attach(y,K||null)}),k("extraKeys",null),k("configureMouse",null),k("lineWrapping",!1,QK,!0),k("gutters",[],function(y,j){y.display.gutterSpecs=Yk(j,y.options.lineNumbers),rg(y)},!0),k("fixedGutter",!0,function(y,j){y.display.gutters.style.left=j?Ok(y.display)+"px":"0",y.refresh()},!0),k("coverGutterNextToScrollbar",!1,function(y){return Zh(y)},!0),k("scrollbarStyle","native",function(y){WN(y),Zh(y),y.display.scrollbars.setScrollTop(y.doc.scrollTop),y.display.scrollbars.setScrollLeft(y.doc.scrollLeft)},!0),k("lineNumbers",!1,function(y,j){y.display.gutterSpecs=Yk(y.options.gutters,j),rg(y)},!0),k("firstLineNumber",1,rg,!0),k("lineNumberFormatter",function(y){return y},rg,!0),k("showCursorWhenSelecting",!1,X0,!0),k("resetSelectionOnContextMenu",!0),k("lineWiseCopyCut",!0),k("pasteLinesPerSelection",!0),k("selectionsMayTouch",!1),k("readOnly",!1,function(y,j){j=="nocursor"&&(Gh(y),y.display.input.blur()),y.display.input.readOnlyChanged(j)}),k("screenReaderLabel",null,function(y,j){j=j===""?null:j,y.display.input.screenReaderLabelChanged(j)}),k("disableInput",!1,function(y,j){j||y.display.input.reset()},!0),k("dragDrop",!0,XK),k("allowDropFileTypes",null),k("cursorBlinkRate",530),k("cursorScrollMargin",0),k("cursorHeight",1,X0,!0),k("singleCursorHeightPerLine",!0,X0,!0),k("workTime",100),k("workDelay",100),k("flattenSpans",!0,sg,!0),k("addModeClass",!1,sg,!0),k("pollInterval",100),k("undoDepth",200,function(y,j){return y.doc.history.undoDepth=j}),k("historyEventDelay",1250),k("viewportMargin",10,function(y){return y.refresh()},!0),k("maxHighlightLength",1e4,sg,!0),k("moveInputWithCursor",!0,function(y,j){j||y.display.input.resetPosition()}),k("tabindex",null,function(y,j){return y.display.input.getField().tabIndex=j||""}),k("autofocus",null),k("direction","ltr",function(y,j){return y.doc.setDirection(j)},!0),k("phrases",null)}function XK(c,f,k){var y=k&&k!=sp;if(!f!=!y){var j=c.display.dragFunctions,D=f?Je:we;D(c.display.scroller,"dragstart",j.start),D(c.display.scroller,"dragenter",j.enter),D(c.display.scroller,"dragover",j.over),D(c.display.scroller,"dragleave",j.leave),D(c.display.scroller,"drop",j.drop)}}function QK(c){c.options.lineWrapping?(H(c.display.wrapper,"CodeMirror-wrap"),c.display.sizer.style.minWidth="",c.display.sizerWidth=null):(Y(c.display.wrapper,"CodeMirror-wrap"),q0(c)),$k(c),Pa(c),Z0(c),setTimeout(function(){return Zh(c)},100)}function Er(c,f){var k=this;if(!(this instanceof Er))return new Er(c,f);this.options=f=f?le(f):{},le(B9,f,!1);var y=f.value;typeof y=="string"?y=new Ma(y,f.mode,null,f.lineSeparator,f.direction):f.mode&&(y.modeOption=f.mode),this.doc=y;var j=new Er.inputStyles[f.inputStyle](this),D=this.display=new dK(c,y,j,f);D.wrapper.CodeMirror=this,H9(this),f.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),WN(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new de,keySeq:null,specialChars:null},f.autofocus&&!N&&D.input.focus(),u&&d<11&&setTimeout(function(){return k.display.input.reset(!0)},20),JK(this),PK(),ff(this),this.curOp.forceUpdate=!0,e9(this,y),f.autofocus&&!N||this.hasFocus()?setTimeout(function(){k.hasFocus()&&!k.state.focused&&Bk(k)},20):Gh(this);for(var B in ty)ty.hasOwnProperty(B)&&ty[B](this,f[B],sp);KN(this),f.finishInit&&f.finishInit(this);for(var K=0;K20*20}Je(f.scroller,"touchstart",function(Q){if(!Ie(c,Q)&&!D(Q)&&!i3(c,Q)){f.input.ensurePolled(),clearTimeout(k);var ie=+new Date;f.activeTouch={start:ie,moved:!1,prev:ie-y.end<=300?y:null},Q.touches.length==1&&(f.activeTouch.left=Q.touches[0].pageX,f.activeTouch.top=Q.touches[0].pageY)}}),Je(f.scroller,"touchmove",function(){f.activeTouch&&(f.activeTouch.moved=!0)}),Je(f.scroller,"touchend",function(Q){var ie=f.activeTouch;if(ie&&!bc(f,Q)&&ie.left!=null&&!ie.moved&&new Date-ie.start<300){var he=c.coordsChar(f.activeTouch,"page"),Ce;!ie.prev||B(ie,ie.prev)?Ce=new nr(he,he):!ie.prev.prev||B(ie,ie.prev.prev)?Ce=c.findWordAt(he):Ce=new nr(_e(he.line,0),yn(c.doc,_e(he.line+1,0))),c.setSelection(Ce.anchor,Ce.head),c.focus(),Ze(Q)}j()}),Je(f.scroller,"touchcancel",j),Je(f.scroller,"scroll",function(){f.scroller.clientHeight&&(J0(c,f.scroller.scrollTop),uf(c,f.scroller.scrollLeft,!0),je(c,"scroll",c))}),Je(f.scroller,"mousewheel",function(Q){return ZN(c,Q)}),Je(f.scroller,"DOMMouseScroll",function(Q){return ZN(c,Q)}),Je(f.wrapper,"scroll",function(){return f.wrapper.scrollTop=f.wrapper.scrollLeft=0}),f.dragFunctions={enter:function(Q){Ie(c,Q)||et(Q)},over:function(Q){Ie(c,Q)||(TK(c,Q),et(Q))},start:function(Q){return _K(c,Q)},drop:ms(c,NK),leave:function(Q){Ie(c,Q)||S9(c)}};var K=f.input.getField();Je(K,"keyup",function(Q){return L9.call(c,Q)}),Je(K,"keydown",ms(c,A9)),Je(K,"keypress",ms(c,R9)),Je(K,"focus",function(Q){return Bk(c,Q)}),Je(K,"blur",function(Q){return Gh(c,Q)})}var l3=[];Er.defineInitHook=function(c){return l3.push(c)};function vg(c,f,k,y){var j=c.doc,D;k==null&&(k="add"),k=="smart"&&(j.mode.indent?D=Jo(c,f).state:k="prev");var B=c.options.tabSize,K=tt(j,f),Q=se(K.text,null,B);K.stateAfter&&(K.stateAfter=null);var ie=K.text.match(/^\s*/)[0],he;if(!y&&!/\S/.test(K.text))he=0,k="not";else if(k=="smart"&&(he=j.mode.indent(D,K.text.slice(ie.length),K.text),he==ve||he>150)){if(!y)return;k="prev"}k=="prev"?f>j.first?he=se(tt(j,f-1).text,null,B):he=0:k=="add"?he=Q+c.options.indentUnit:k=="subtract"?he=Q-c.options.indentUnit:typeof k=="number"&&(he=Q+k),he=Math.max(0,he);var Ce="",$e=0;if(c.options.indentWithTabs)for(var Le=Math.floor(he/B);Le;--Le)$e+=B,Ce+=" ";if($eB,Q=mn(f),ie=null;if(K&&y.ranges.length>1)if($i&&$i.text.join("\n")==f){if(y.ranges.length%$i.text.length==0){ie=[];for(var he=0;he<$i.text.length;he++)ie.push(D.splitLines($i.text[he]))}}else Q.length==y.ranges.length&&c.options.pasteLinesPerSelection&&(ie=Ke(Q,function(zt){return[zt]}));for(var Ce=c.curOp.updateInput,$e=y.ranges.length-1;$e>=0;$e--){var Le=y.ranges[$e],ct=Le.from(),vt=Le.to();Le.empty()&&(k&&k>0?ct=_e(ct.line,ct.ch-k):c.state.overwrite&&!K?vt=_e(vt.line,Math.min(tt(D,vt.line).text.length,vt.ch+Ve(Q).length)):K&&$i&&$i.lineWise&&$i.text.join("\n")==Q.join("\n")&&(ct=vt=_e(ct.line,0)));var Nt={from:ct,to:vt,text:ie?ie[$e%ie.length]:Q,origin:j||(K?"paste":c.state.cutIncoming>B?"cut":"+input")};Jh(c.doc,Nt),ps(c,"inputRead",c,Nt)}f&&!K&&W9(c,f),Yh(c),c.curOp.updateInput<2&&(c.curOp.updateInput=Ce),c.curOp.typing=!0,c.state.pasteIncoming=c.state.cutIncoming=-1}function U9(c,f){var k=c.clipboardData&&c.clipboardData.getData("Text");if(k)return c.preventDefault(),!f.isReadOnly()&&!f.options.disableInput&&f.hasFocus()&&to(f,function(){return c3(f,k,0,null,"paste")}),!0}function W9(c,f){if(!(!c.options.electricChars||!c.options.smartIndent))for(var k=c.doc.sel,y=k.ranges.length-1;y>=0;y--){var j=k.ranges[y];if(!(j.head.ch>100||y&&k.ranges[y-1].head.line==j.head.line)){var D=c.getModeAt(j.head),B=!1;if(D.electricChars){for(var K=0;K-1){B=vg(c,j.head.line,"smart");break}}else D.electricInput&&D.electricInput.test(tt(c.doc,j.head.line).text.slice(0,j.head.ch))&&(B=vg(c,j.head.line,"smart"));B&&ps(c,"electricInput",c,j.head.line)}}}function V9(c){for(var f=[],k=[],y=0;yD&&(vg(this,K.head.line,y,!0),D=K.head.line,B==this.doc.sel.primIndex&&Yh(this));else{var Q=K.from(),ie=K.to(),he=Math.max(D,Q.line);D=Math.min(this.lastLine(),ie.line-(ie.ch?0:1))+1;for(var Ce=he;Ce0&&t3(this.doc,B,new nr(Q,$e[B].to()),ye)}}}),getTokenAt:function(y,j){return lc(this,y,j)},getLineTokens:function(y,j){return lc(this,_e(y),j,!0)},getTokenTypeAt:function(y){y=yn(this.doc,y);var j=ac(this,tt(this.doc,y.line)),D=0,B=(j.length-1)/2,K=y.ch,Q;if(K==0)Q=j[2];else for(;;){var ie=D+B>>1;if((ie?j[ie*2-1]:0)>=K)B=ie;else if(j[ie*2+1]Q&&(y=Q,B=!0),K=tt(this.doc,y)}else K=y;return Ox(this,K,{top:0,left:0},j||"page",D||B).top+(B?this.doc.height-Ta(K):0)},defaultTextHeight:function(){return qh(this.display)},defaultCharWidth:function(){return Kh(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(y,j,D,B,K){var Q=this.display;y=Ri(this,yn(this.doc,y));var ie=y.bottom,he=y.left;if(j.style.position="absolute",j.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(j),Q.sizer.appendChild(j),B=="over")ie=y.top;else if(B=="above"||B=="near"){var Ce=Math.max(Q.wrapper.clientHeight,this.doc.height),$e=Math.max(Q.sizer.clientWidth,Q.lineSpace.clientWidth);(B=="above"||y.bottom+j.offsetHeight>Ce)&&y.top>j.offsetHeight?ie=y.top-j.offsetHeight:y.bottom+j.offsetHeight<=Ce&&(ie=y.bottom),he+j.offsetWidth>$e&&(he=$e-j.offsetWidth)}j.style.top=ie+"px",j.style.left=j.style.right="",K=="right"?(he=Q.sizer.clientWidth-j.offsetWidth,j.style.right="0px"):(K=="left"?he=0:K=="middle"&&(he=(Q.sizer.clientWidth-j.offsetWidth)/2),j.style.left=he+"px"),D&&Xq(this,{left:he,top:ie,right:he+j.offsetWidth,bottom:ie+j.offsetHeight})},triggerOnKeyDown:ua(A9),triggerOnKeyPress:ua(R9),triggerOnKeyUp:L9,triggerOnMouseDown:ua(O9),execCommand:function(y){if(hg.hasOwnProperty(y))return hg[y].call(null,this)},triggerElectric:ua(function(y){W9(this,y)}),findPosH:function(y,j,D,B){var K=1;j<0&&(K=-1,j=-j);for(var Q=yn(this.doc,y),ie=0;ie0&&he(D.charAt(B-1));)--B;for(;K.5||this.options.lineWrapping)&&$k(this),je(this,"refresh",this)}),swapDoc:ua(function(y){var j=this.doc;return j.cm=null,this.state.selectingText&&this.state.selectingText(),e9(this,y),Z0(this),this.display.input.reset(),Q0(this,y.scrollLeft,y.scrollTop),this.curOp.forceScroll=!0,ps(this,"swapDoc",this,j),j}),phrase:function(y){var j=this.options.phrases;return j&&Object.prototype.hasOwnProperty.call(j,y)?j[y]:y},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},gt(c),c.registerHelper=function(y,j,D){k.hasOwnProperty(y)||(k[y]=c[y]={_global:[]}),k[y][j]=D},c.registerGlobalHelper=function(y,j,D,B){c.registerHelper(y,j,B),k[y]._global.push({pred:D,val:B})}}function d3(c,f,k,y,j){var D=f,B=k,K=tt(c,f.line),Q=j&&c.direction=="rtl"?-k:k;function ie(){var Yt=f.line+Q;return Yt=c.first+c.size?!1:(f=new _e(Yt,f.ch,f.sticky),K=tt(c,Yt))}function he(Yt){var Ft;if(y=="codepoint"){var Jt=K.text.charCodeAt(f.ch+(k>0?0:-1));if(isNaN(Jt))Ft=null;else{var bn=k>0?Jt>=55296&&Jt<56320:Jt>=56320&&Jt<57343;Ft=new _e(f.line,Math.max(0,Math.min(K.text.length,f.ch+k*(bn?2:1))),-k)}}else j?Ft=LK(c.cm,K,f,k):Ft=r3(K,f,k);if(Ft==null)if(!Yt&&ie())f=s3(j,c.cm,K,f.line,Q);else return!1;else f=Ft;return!0}if(y=="char"||y=="codepoint")he();else if(y=="column")he(!0);else if(y=="word"||y=="group")for(var Ce=null,$e=y=="group",Le=c.cm&&c.cm.getHelper(f,"wordChars"),ct=!0;!(k<0&&!he(!ct));ct=!1){var vt=K.text.charAt(f.ch)||"\n",Nt=mt(vt,Le)?"w":$e&&vt=="\n"?"n":!$e||/\s/.test(vt)?null:"p";if($e&&!ct&&!Nt&&(Nt="s"),Ce&&Ce!=Nt){k<0&&(k=1,he(),f.sticky="after");break}if(Nt&&(Ce=Nt),k>0&&!he(!ct))break}var zt=Zx(c,f,D,B,!0);return Ct(D,zt)&&(zt.hitSide=!0),zt}function K9(c,f,k,y){var j=c.doc,D=f.left,B;if(y=="page"){var K=Math.min(c.display.wrapper.clientHeight,G(c).innerHeight||j(c).documentElement.clientHeight),Q=Math.max(K-.5*qh(c.display),3);B=(k>0?f.bottom:f.top)+k*Q}else y=="line"&&(B=k>0?f.bottom+3:f.top-3);for(var ie;ie=Ak(c,D,B),!!ie.outside;){if(k<0?B<=0:B>=j.height){ie.hitSide=!0;break}B+=k*5}return ie}var fr=function(c){this.cm=c,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new de,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};fr.prototype.init=function(c){var f=this,k=this,y=k.cm,j=k.div=c.lineDiv;j.contentEditable=!0,u3(j,y.options.spellcheck,y.options.autocorrect,y.options.autocapitalize);function D(K){for(var Q=K.target;Q;Q=Q.parentNode){if(Q==j)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Q.className))break}return!1}Je(j,"paste",function(K){!D(K)||Ie(y,K)||U9(K,y)||d<=11&&setTimeout(ms(y,function(){return f.updateFromDOM()}),20)}),Je(j,"compositionstart",function(K){f.composing={data:K.data,done:!1}}),Je(j,"compositionupdate",function(K){f.composing||(f.composing={data:K.data,done:!1})}),Je(j,"compositionend",function(K){f.composing&&(K.data!=f.composing.data&&f.readFromDOMSoon(),f.composing.done=!0)}),Je(j,"touchstart",function(){return k.forceCompositionEnd()}),Je(j,"input",function(){f.composing||f.readFromDOMSoon()});function B(K){if(!(!D(K)||Ie(y,K))){if(y.somethingSelected())ny({lineWise:!1,text:y.getSelections()}),K.type=="cut"&&y.replaceSelection("",null,"cut");else if(y.options.lineWiseCopyCut){var Q=V9(y);ny({lineWise:!0,text:Q.text}),K.type=="cut"&&y.operation(function(){y.setSelections(Q.ranges,0,ye),y.replaceSelection("",null,"cut")})}else return;if(K.clipboardData){K.clipboardData.clearData();var ie=$i.text.join("\n");if(K.clipboardData.setData("Text",ie),K.clipboardData.getData("Text")==ie){K.preventDefault();return}}var he=q9(),Ce=he.firstChild;u3(Ce),y.display.lineSpace.insertBefore(he,y.display.lineSpace.firstChild),Ce.value=$i.text.join("\n");var $e=J(ee(j));q(Ce),setTimeout(function(){y.display.lineSpace.removeChild(he),$e.focus(),$e==j&&k.showPrimarySelection()},50)}}Je(j,"copy",B),Je(j,"cut",B)},fr.prototype.screenReaderLabelChanged=function(c){c?this.div.setAttribute("aria-label",c):this.div.removeAttribute("aria-label")},fr.prototype.prepareSelection=function(){var c=ON(this.cm,!1);return c.focus=J(ee(this.div))==this.div,c},fr.prototype.showSelection=function(c,f){!c||!this.cm.display.view.length||((c.focus||f)&&this.showPrimarySelection(),this.showMultipleSelections(c))},fr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},fr.prototype.showPrimarySelection=function(){var c=this.getSelection(),f=this.cm,k=f.doc.sel.primary(),y=k.from(),j=k.to();if(f.display.viewTo==f.display.viewFrom||y.line>=f.display.viewTo||j.line=f.display.viewFrom&&G9(f,y)||{node:K[0].measure.map[2],offset:0},ie=j.linec.firstLine()&&(y=_e(y.line-1,tt(c.doc,y.line-1).length)),j.ch==tt(c.doc,j.line).text.length&&j.linef.viewTo-1)return!1;var D,B,K;y.line==f.viewFrom||(D=cf(c,y.line))==0?(B=oe(f.view[0].line),K=f.view[0].node):(B=oe(f.view[D].line),K=f.view[D-1].node.nextSibling);var Q=cf(c,j.line),ie,he;if(Q==f.view.length-1?(ie=f.viewTo-1,he=f.lineDiv.lastChild):(ie=oe(f.view[Q+1].line)-1,he=f.view[Q+1].node.previousSibling),!K)return!1;for(var Ce=c.doc.splitLines(nG(c,K,he,B,ie)),$e=Kt(c.doc,_e(B,0),_e(ie,tt(c.doc,ie).text.length));Ce.length>1&&$e.length>1;)if(Ve(Ce)==Ve($e))Ce.pop(),$e.pop(),ie--;else if(Ce[0]==$e[0])Ce.shift(),$e.shift(),B++;else break;for(var Le=0,ct=0,vt=Ce[0],Nt=$e[0],zt=Math.min(vt.length,Nt.length);Ley.ch&&Yt.charCodeAt(Yt.length-ct-1)==Ft.charCodeAt(Ft.length-ct-1);)Le--,ct++;Ce[Ce.length-1]=Yt.slice(0,Yt.length-ct).replace(/^\u200b+/,""),Ce[0]=Ce[0].slice(Le).replace(/\u200b+$/,"");var bn=_e(B,Le),xn=_e(ie,$e.length?Ve($e).length-ct:0);if(Ce.length>1||Ce[0]||ze(bn,xn))return ep(c.doc,Ce,bn,xn,"+input"),!0},fr.prototype.ensurePolled=function(){this.forceCompositionEnd()},fr.prototype.reset=function(){this.forceCompositionEnd()},fr.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},fr.prototype.readFromDOMSoon=function(){var c=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(c.readDOMTimeout=null,c.composing)if(c.composing.done)c.composing=null;else return;c.updateFromDOM()},80))},fr.prototype.updateFromDOM=function(){var c=this;(this.cm.isReadOnly()||!this.pollContent())&&to(this.cm,function(){return Pa(c.cm)})},fr.prototype.setUneditable=function(c){c.contentEditable="false"},fr.prototype.onKeyPress=function(c){c.charCode==0||this.composing||(c.preventDefault(),this.cm.isReadOnly()||ms(this.cm,c3)(this.cm,String.fromCharCode(c.charCode==null?c.keyCode:c.charCode),0))},fr.prototype.readOnlyChanged=function(c){this.div.contentEditable=String(c!="nocursor")},fr.prototype.onContextMenu=function(){},fr.prototype.resetPosition=function(){},fr.prototype.needsContentAttribute=!0;function G9(c,f){var k=Mk(c,f.line);if(!k||k.hidden)return null;var y=tt(c.doc,f.line),j=CN(k,y,f.line),D=Pt(y,c.doc.direction),B="left";if(D){var K=$t(D,f.ch);B=K%2?"right":"left"}var Q=EN(j.map,f.ch,B);return Q.offset=Q.collapse=="right"?Q.end:Q.start,Q}function tG(c){for(var f=c;f;f=f.parentNode)if(/CodeMirror-gutter-wrapper/.test(f.className))return!0;return!1}function ap(c,f){return f&&(c.bad=!0),c}function nG(c,f,k,y,j){var D="",B=!1,K=c.doc.lineSeparator(),Q=!1;function ie(Le){return function(ct){return ct.id==Le}}function he(){B&&(D+=K,Q&&(D+=K),B=Q=!1)}function Ce(Le){Le&&(he(),D+=Le)}function $e(Le){if(Le.nodeType==1){var ct=Le.getAttribute("cm-text");if(ct){Ce(ct);return}var vt=Le.getAttribute("cm-marker"),Nt;if(vt){var zt=c.findMarks(_e(y,0),_e(j+1,0),ie(+vt));zt.length&&(Nt=zt[0].find(0))&&Ce(Kt(c.doc,Nt.from,Nt.to).join(K));return}if(Le.getAttribute("contenteditable")=="false")return;var Yt=/^(pre|div|p|li|table|br)$/i.test(Le.nodeName);if(!/^br$/i.test(Le.nodeName)&&Le.textContent.length==0)return;Yt&&he();for(var Ft=0;Ft=9&&f.hasSelection&&(f.hasSelection=null),k.poll()}),Je(j,"paste",function(B){Ie(y,B)||U9(B,y)||(y.state.pasteIncoming=+new Date,k.fastPoll())});function D(B){if(!Ie(y,B)){if(y.somethingSelected())ny({lineWise:!1,text:y.getSelections()});else if(y.options.lineWiseCopyCut){var K=V9(y);ny({lineWise:!0,text:K.text}),B.type=="cut"?y.setSelections(K.ranges,null,ye):(k.prevInput="",j.value=K.text.join("\n"),q(j))}else return;B.type=="cut"&&(y.state.cutIncoming=+new Date)}}Je(j,"cut",D),Je(j,"copy",D),Je(c.scroller,"paste",function(B){if(!(bc(c,B)||Ie(y,B))){if(!j.dispatchEvent){y.state.pasteIncoming=+new Date,k.focus();return}var K=new Event("paste");K.clipboardData=B.clipboardData,j.dispatchEvent(K)}}),Je(c.lineSpace,"selectstart",function(B){bc(c,B)||Ze(B)}),Je(j,"compositionstart",function(){var B=y.getCursor("from");k.composing&&k.composing.range.clear(),k.composing={start:B,range:y.markText(B,y.getCursor("to"),{className:"CodeMirror-composing"})}}),Je(j,"compositionend",function(){k.composing&&(k.poll(),k.composing.range.clear(),k.composing=null)})},Yr.prototype.createField=function(c){this.wrapper=q9(),this.textarea=this.wrapper.firstChild;var f=this.cm.options;u3(this.textarea,f.spellcheck,f.autocorrect,f.autocapitalize)},Yr.prototype.screenReaderLabelChanged=function(c){c?this.textarea.setAttribute("aria-label",c):this.textarea.removeAttribute("aria-label")},Yr.prototype.prepareSelection=function(){var c=this.cm,f=c.display,k=c.doc,y=ON(c);if(c.options.moveInputWithCursor){var j=Ri(c,k.sel.primary().head,"div"),D=f.wrapper.getBoundingClientRect(),B=f.lineDiv.getBoundingClientRect();y.teTop=Math.max(0,Math.min(f.wrapper.clientHeight-10,j.top+B.top-D.top)),y.teLeft=Math.max(0,Math.min(f.wrapper.clientWidth-10,j.left+B.left-D.left))}return y},Yr.prototype.showSelection=function(c){var f=this.cm,k=f.display;$(k.cursorDiv,c.cursors),$(k.selectionDiv,c.selection),c.teTop!=null&&(this.wrapper.style.top=c.teTop+"px",this.wrapper.style.left=c.teLeft+"px")},Yr.prototype.reset=function(c){if(!(this.contextMenuPending||this.composing&&c)){var f=this.cm;if(this.resetting=!0,f.somethingSelected()){this.prevInput="";var k=f.getSelection();this.textarea.value=k,f.state.focused&&q(this.textarea),u&&d>=9&&(this.hasSelection=k)}else c||(this.prevInput=this.textarea.value="",u&&d>=9&&(this.hasSelection=null));this.resetting=!1}},Yr.prototype.getField=function(){return this.textarea},Yr.prototype.supportsTouch=function(){return!1},Yr.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!N||J(ee(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(c){}},Yr.prototype.blur=function(){this.textarea.blur()},Yr.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Yr.prototype.receivedFocus=function(){this.slowPoll()},Yr.prototype.slowPoll=function(){var c=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){c.poll(),c.cm.state.focused&&c.slowPoll()})},Yr.prototype.fastPoll=function(){var c=!1,f=this;f.pollingFast=!0;function k(){var y=f.poll();!y&&!c?(c=!0,f.polling.set(60,k)):(f.pollingFast=!1,f.slowPoll())}f.polling.set(20,k)},Yr.prototype.poll=function(){var c=this,f=this.cm,k=this.textarea,y=this.prevInput;if(this.contextMenuPending||this.resetting||!f.state.focused||hn(k)&&!y&&!this.composing||f.isReadOnly()||f.options.disableInput||f.state.keySeq)return!1;var j=k.value;if(j==y&&!f.somethingSelected())return!1;if(u&&d>=9&&this.hasSelection===j||_&&/[\uf700-\uf7ff]/.test(j))return f.display.input.reset(),!1;if(f.doc.sel==f.display.selForContextMenu){var D=j.charCodeAt(0);if(D==8203&&!y&&(y="​"),D==8666)return this.reset(),this.cm.execCommand("undo")}for(var B=0,K=Math.min(y.length,j.length);B1e3||j.indexOf("\n")>-1?k.value=c.prevInput="":c.prevInput=j,c.composing&&(c.composing.range.clear(),c.composing.range=f.markText(c.composing.start,f.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Yr.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Yr.prototype.onKeyPress=function(){u&&d>=9&&(this.hasSelection=null),this.fastPoll()},Yr.prototype.onContextMenu=function(c){var f=this,k=f.cm,y=k.display,j=f.textarea;f.contextMenuPending&&f.contextMenuPending();var D=lf(k,c),B=y.scroller.scrollTop;if(!D||C)return;var K=k.options.resetSelectionOnContextMenu;K&&k.doc.sel.contains(D)==-1&&ms(k,Xs)(k.doc,_u(D),ye);var Q=j.style.cssText,ie=f.wrapper.style.cssText,he=f.wrapper.offsetParent.getBoundingClientRect();f.wrapper.style.cssText="position: static",j.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(c.clientY-he.top-5)+"px; left: "+(c.clientX-he.left-5)+"px;\n z-index: 1000; background: "+(u?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var Ce;p&&(Ce=j.ownerDocument.defaultView.scrollY),y.input.focus(),p&&j.ownerDocument.defaultView.scrollTo(null,Ce),y.input.reset(),k.somethingSelected()||(j.value=f.prevInput=" "),f.contextMenuPending=Le,y.selForContextMenu=k.doc.sel,clearTimeout(y.detectingSelectAll);function $e(){if(j.selectionStart!=null){var vt=k.somethingSelected(),Nt="​"+(vt?j.value:"");j.value="⇚",j.value=Nt,f.prevInput=vt?"":"​",j.selectionStart=1,j.selectionEnd=Nt.length,y.selForContextMenu=k.doc.sel}}function Le(){if(f.contextMenuPending==Le&&(f.contextMenuPending=!1,f.wrapper.style.cssText=ie,j.style.cssText=Q,u&&d<9&&y.scrollbars.setScrollTop(y.scroller.scrollTop=B),j.selectionStart!=null)){(!u||u&&d<9)&&$e();var vt=0,Nt=function(){y.selForContextMenu==k.doc.sel&&j.selectionStart==0&&j.selectionEnd>0&&f.prevInput=="​"?ms(k,h9)(k):vt++<10?y.detectingSelectAll=setTimeout(Nt,500):(y.selForContextMenu=null,y.input.reset())};y.detectingSelectAll=setTimeout(Nt,200)}}if(u&&d>=9&&$e(),L){et(c);var ct=function(){we(window,"mouseup",ct),setTimeout(Le,20)};Je(window,"mouseup",ct)}else setTimeout(Le,50)},Yr.prototype.readOnlyChanged=function(c){c||this.reset(),this.textarea.disabled=c=="nocursor",this.textarea.readOnly=!!c},Yr.prototype.setUneditable=function(){},Yr.prototype.needsContentAttribute=!1;function sG(c,f){if(f=f?le(f):{},f.value=c.value,!f.tabindex&&c.tabIndex&&(f.tabindex=c.tabIndex),!f.placeholder&&c.placeholder&&(f.placeholder=c.placeholder),f.autofocus==null){var k=J(ee(c));f.autofocus=k==c||c.getAttribute("autofocus")!=null&&k==document.body}function y(){c.value=K.getValue()}var j;if(c.form&&(Je(c.form,"submit",y),!f.leaveSubmitMethodAlone)){var D=c.form;j=D.submit;try{var B=D.submit=function(){y(),D.submit=j,D.submit(),D.submit=B}}catch(Q){}}f.finishInit=function(Q){Q.save=y,Q.getTextArea=function(){return c},Q.toTextArea=function(){Q.toTextArea=isNaN,y(),c.parentNode.removeChild(Q.getWrapperElement()),c.style.display="",c.form&&(we(c.form,"submit",y),!f.leaveSubmitMethodAlone&&typeof c.form.submit=="function"&&(c.form.submit=j))}},c.style.display="none";var K=Er(function(Q){return c.parentNode.insertBefore(Q,c.nextSibling)},f);return K}function aG(c){c.off=we,c.on=Je,c.wheelEventPixels=fK,c.Doc=Ma,c.splitLines=mn,c.countColumn=se,c.findColumn=Fe,c.isWordChar=He,c.Pass=ve,c.signal=je,c.Line=ni,c.changeEnd=Tu,c.scrollbarModel=UN,c.Pos=_e,c.cmpPos=ze,c.modes=pn,c.mimeModes=rn,c.resolveMode=Ge,c.getMode=ft,c.modeExtensions=pt,c.extendMode=xt,c.copyState=At,c.startState=Ht,c.innerMode=Lt,c.commands=hg,c.keyMap=kc,c.keyName=T9,c.isModifierKey=N9,c.lookupKey=np,c.normalizeKeyMap=AK,c.StringStream=Bt,c.SharedTextMarker=ug,c.TextMarker=Mu,c.LineWidget=cg,c.e_preventDefault=Ze,c.e_stopPropagation=Re,c.e_stop=et,c.addClass=H,c.contains=U,c.rmClass=Y,c.keyNames=Du}ZK(Er),eG(Er);var oG="iter insert remove copy getEditor constructor".split(" ");for(var sy in Ma.prototype)Ma.prototype.hasOwnProperty(sy)&&ce(oG,sy)<0&&(Er.prototype[sy]=function(c){return function(){return c.apply(this.doc,arguments)}}(Ma.prototype[sy]));return gt(Ma),Er.inputStyles={textarea:Yr,contenteditable:fr},Er.defineMode=function(c){!Er.defaults.mode&&c!="null"&&(Er.defaults.mode=c),ut.apply(this,arguments)},Er.defineMIME=xe,Er.defineMode("null",function(){return{token:function(c){return c.skipToEnd()}}}),Er.defineMIME("text/plain","null"),Er.defineExtension=function(c,f){Er.prototype[c]=f},Er.defineDocExtension=function(c,f){Ma.prototype[c]=f},Er.fromTextArea=sG,aG(Er),Er.version="5.65.16",Er})})(AU);var uu=AU.exports;const R1=ou(uu),Hbe=({prefix:t="cm-",isWrapped:e=!1,isDark:n,isLargeView:r,isCommand:s,webRequestMethod:a,autoHideScrollbar:i,searchTerm:l,maxHeight:u,isShowMore:d=!1,language:p,value:h})=>{var m=sn(1);try{const[b,C]=v.useState([]),[g,w]=v.useState(!1),{t:x}=Gt(),S=it("html"),E=v.useRef([]),N=it("");return v.useEffect(()=>{p==="markdown"&&window.markdown.ready.then(_=>{try{const P=_.parse(h);N.value=Od.sanitize(P,{USE_PROFILES:{html:!0}})}catch(P){N.value=Od.sanitize(h,{USE_PROFILES:{html:!0}})}})},[h]),v.useEffect(()=>{ge(void 0,null,function*(){const P=R1.findModeByName(p);try{P&&P.mode&&(P.mode==="dart"&&(yield ke(()=>import("./clike-Cm0RcWKo.js").then(I=>I.c),[])),yield Bbe("codemirror/mode/".concat(P.mode,"/").concat(P.mode))),w(!0)}catch(I){console.error("Error loading CodeMirror mode:",I),w(!1)}})},[p]),v.useEffect(()=>{if(!g)return;const _=[];let P=0;const I=T=>{var O;let A="",L=null;const z=($,M)=>{_.push(o.jsx("span",{className:M?"".concat(t).concat(M):"",children:$},P++))},Y=((O=R1.findModeByName(p))==null?void 0:O.mime)||"text/plain";if(p==="json")try{T=JSON.stringify(JSON.parse(T),null,2)}catch($){}R1.runMode(T,Y,($,M)=>{L===M?(A+=$,L=M):(A&&z(A,L),A=$,L=M)}),z(A,L)};if(l&&l.length>1){const T=cz(l),A=new RegExp("(".concat(T,")"),"gi"),L=h.split(A);E.current=[],L.forEach(z=>{if(z.toLowerCase()===l.toLowerCase()){const Y=v.createRef();E.current.push(Y),_.push(o.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black search-pulse-animation",ref:pl(Y),children:z},"found-".concat(P++)))}else I(z)})}else I(h);C(_)},[g,p,t,l,h]),v.useEffect(()=>{var _;E.current.length>0&&((_=E.current[0].current)==null||_.scrollIntoView({behavior:"smooth",block:"center"}))},[b]),g?o.jsxs(te,{className:"relative",children:[o.jsx(Kd,{className:"".concat(d?"code-scroll-x pb-2":""),options:{overflow:{x:d?"scroll":"hidden",y:"scroll"},scrollbars:{theme:n?"os-theme-light":"os-theme-dark",autoHide:i?"move":"never"}},style:{maxHeight:u||(r?"calc(100vh - 250px)":d?200:120),maxWidth:"100%"},children:!N.value||S.value==="markdown"?o.jsxs("code",{className:"".concat(e?"whitespace-pre-wrap":"whitespace-pre"," !bg-transparent ").concat(n?"code-is-dark":"code-is-light"),children:[s&&o.jsx("span",{className:"mr-1 px-1 bg-gray-100 dark:bg-gray-800 text-slate-400 dark:text-slate-200",children:">_"}),a&&o.jsx("span",{className:"mr-1 px-1 bg-gray-100 text-slate-400",children:a}),b,!d&&o.jsx("span",{className:"select-none",children:"..."})]}):o.jsx("div",{dangerouslySetInnerHTML:{__html:N.value},className:"note-content"})}),N.value&&o.jsx(hl,{className:"flex flex-row absolute top-0 right-0 z-100 select-none",value:S.value,onValueChange:_=>{S.value=_==="markdown"?"markdown":"html"},children:o.jsxs(Yo,{className:"self-center px-1 py-1 bg-slate-200 dark:bg-slate-900 opacity-60 hover:opacity-100 animate-in fade-in",children:[o.jsx(jr,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:"HTML"}),o.jsx(jr,{value:"markdown",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:"Markdown"})]})})]}):null}finally{m.f()}},ka=v.memo(Hbe);function Bbe(t){switch(t){case"codemirror/mode/apl/apl":case"codemirror/mode/apl/apl.js":return ke(()=>import("./apl-Dkzkd4xY.js").then(e=>e.a),[]);case"codemirror/mode/asciiarmor/asciiarmor":case"codemirror/mode/asciiarmor/asciiarmor.js":return ke(()=>import("./asciiarmor-DZKamzVQ.js").then(e=>e.a),[]);case"codemirror/mode/asn.1/asn.1":case"codemirror/mode/asn.1/asn.1.js":return ke(()=>import("./asn.1-Dat20KhL.js").then(e=>e.a),[]);case"codemirror/mode/asterisk/asterisk":case"codemirror/mode/asterisk/asterisk.js":return ke(()=>import("./asterisk-BCp80GNB.js").then(e=>e.a),[]);case"codemirror/mode/brainfuck/brainfuck":case"codemirror/mode/brainfuck/brainfuck.js":return ke(()=>import("./brainfuck-CwZ2kEYl.js").then(e=>e.b),[]);case"codemirror/mode/clike/clike":case"codemirror/mode/clike/clike.js":return ke(()=>import("./clike-Cm0RcWKo.js").then(e=>e.c),[]);case"codemirror/mode/clojure/clojure":case"codemirror/mode/clojure/clojure.js":return ke(()=>import("./clojure-Bg-4hFPz.js").then(e=>e.c),[]);case"codemirror/mode/cmake/cmake":case"codemirror/mode/cmake/cmake.js":return ke(()=>import("./cmake-Dsf4E-la.js").then(e=>e.c),[]);case"codemirror/mode/cobol/cobol":case"codemirror/mode/cobol/cobol.js":return ke(()=>import("./cobol-BXRkK6zg.js").then(e=>e.c),[]);case"codemirror/mode/coffeescript/coffeescript":case"codemirror/mode/coffeescript/coffeescript.js":return ke(()=>import("./coffeescript-BapwGZ39.js").then(e=>e.c),[]);case"codemirror/mode/commonlisp/commonlisp":case"codemirror/mode/commonlisp/commonlisp.js":return ke(()=>import("./commonlisp-DFQTlDNM.js").then(e=>e.c),[]);case"codemirror/mode/crystal/crystal":case"codemirror/mode/crystal/crystal.js":return ke(()=>import("./crystal-BzGsEzVm.js").then(e=>e.c),[]);case"codemirror/mode/css/css":case"codemirror/mode/css/css.js":return ke(()=>import("./css-BBinNfwf.js").then(e=>e.c),[]);case"codemirror/mode/cypher/cypher":case"codemirror/mode/cypher/cypher.js":return ke(()=>import("./cypher-DnK9prxn.js").then(e=>e.c),[]);case"codemirror/mode/d/d":case"codemirror/mode/d/d.js":return ke(()=>import("./d-Dqfx6v1R.js").then(e=>e.d),[]);case"codemirror/mode/dart/dart":case"codemirror/mode/dart/dart.js":return ke(()=>import("./dart-CgLLyi75.js").then(e=>e.d),__vite__mapDeps([0,1]));case"codemirror/mode/diff/diff":case"codemirror/mode/diff/diff.js":return ke(()=>import("./diff-CDR0L1Bi.js").then(e=>e.d),[]);case"codemirror/mode/django/django":case"codemirror/mode/django/django.js":return ke(()=>import("./django-CAJIKadS.js").then(e=>e.d),__vite__mapDeps([2,3,4,5]));case"codemirror/mode/dockerfile/dockerfile":case"codemirror/mode/dockerfile/dockerfile.js":return ke(()=>import("./dockerfile-BsWaMR8a.js").then(e=>e.d),[]);case"codemirror/mode/dtd/dtd":case"codemirror/mode/dtd/dtd.js":return ke(()=>import("./dtd-DCDEnrGF.js").then(e=>e.d),[]);case"codemirror/mode/dylan/dylan":case"codemirror/mode/dylan/dylan.js":return ke(()=>import("./dylan-BcXu4hoO.js").then(e=>e.d),[]);case"codemirror/mode/ebnf/ebnf":case"codemirror/mode/ebnf/ebnf.js":return ke(()=>import("./ebnf-WJynPQc5.js").then(e=>e.e),[]);case"codemirror/mode/ecl/ecl":case"codemirror/mode/ecl/ecl.js":return ke(()=>import("./ecl-DVDI5EoC.js").then(e=>e.e),[]);case"codemirror/mode/eiffel/eiffel":case"codemirror/mode/eiffel/eiffel.js":return ke(()=>import("./eiffel-DVeuhHHw.js").then(e=>e.e),[]);case"codemirror/mode/elm/elm":case"codemirror/mode/elm/elm.js":return ke(()=>import("./elm-BmUleA6B.js").then(e=>e.e),[]);case"codemirror/mode/erlang/erlang":case"codemirror/mode/erlang/erlang.js":return ke(()=>import("./erlang-Dc21Wq6s.js").then(e=>e.e),[]);case"codemirror/mode/factor/factor":case"codemirror/mode/factor/factor.js":return ke(()=>import("./factor-CFCB3VKZ.js").then(e=>e.f),[]);case"codemirror/mode/fcl/fcl":case"codemirror/mode/fcl/fcl.js":return ke(()=>import("./fcl-DiPHBFLL.js").then(e=>e.f),[]);case"codemirror/mode/forth/forth":case"codemirror/mode/forth/forth.js":return ke(()=>import("./forth-BCAFCs5n.js").then(e=>e.f),[]);case"codemirror/mode/fortran/fortran":case"codemirror/mode/fortran/fortran.js":return ke(()=>import("./fortran-Dfs_7KJ_.js").then(e=>e.f),[]);case"codemirror/mode/gas/gas":case"codemirror/mode/gas/gas.js":return ke(()=>import("./gas-Diw4JAxZ.js").then(e=>e.g),[]);case"codemirror/mode/gfm/gfm":case"codemirror/mode/gfm/gfm.js":return ke(()=>import("./gfm-Cco98dfQ.js").then(e=>e.g),__vite__mapDeps([6,7,5]));case"codemirror/mode/gherkin/gherkin":case"codemirror/mode/gherkin/gherkin.js":return ke(()=>import("./gherkin-CVk3B-06.js").then(e=>e.g),[]);case"codemirror/mode/go/go":case"codemirror/mode/go/go.js":return ke(()=>import("./go-BD--djXl.js").then(e=>e.g),[]);case"codemirror/mode/groovy/groovy":case"codemirror/mode/groovy/groovy.js":return ke(()=>import("./groovy-Vdd_i6C6.js").then(e=>e.g),[]);case"codemirror/mode/haml/haml":case"codemirror/mode/haml/haml.js":return ke(()=>import("./haml-CeW5HA3f.js").then(e=>e.h),__vite__mapDeps([8,3,4,9]));case"codemirror/mode/handlebars/handlebars":case"codemirror/mode/handlebars/handlebars.js":return ke(()=>import("./handlebars-Dr7kZLUW.js").then(e=>e.h),__vite__mapDeps([10,11]));case"codemirror/mode/haskell/haskell":case"codemirror/mode/haskell/haskell.js":return ke(()=>import("./haskell-BgV3lLn4.js").then(e=>e.h),[]);case"codemirror/mode/haskell-literate/haskell-literate":case"codemirror/mode/haskell-literate/haskell-literate.js":return ke(()=>import("./haskell-literate-CHEBOdHl.js").then(e=>e.h),__vite__mapDeps([12,13]));case"codemirror/mode/haxe/haxe":case"codemirror/mode/haxe/haxe.js":return ke(()=>import("./haxe-DNsF5SKW.js").then(e=>e.h),[]);case"codemirror/mode/htmlembedded/htmlembedded":case"codemirror/mode/htmlembedded/htmlembedded.js":return ke(()=>import("./htmlembedded-BlyrLuUb.js").then(e=>e.h),__vite__mapDeps([14,3,4,11]));case"codemirror/mode/htmlmixed/htmlmixed":case"codemirror/mode/htmlmixed/htmlmixed.js":return ke(()=>import("./htmlmixed-B95nbLbw.js").then(e=>e.h),__vite__mapDeps([15,3,4]));case"codemirror/mode/http/http":case"codemirror/mode/http/http.js":return ke(()=>import("./http-BbFcRzKl.js").then(e=>e.h),[]);case"codemirror/mode/idl/idl":case"codemirror/mode/idl/idl.js":return ke(()=>import("./idl-BcQC4ryb.js").then(e=>e.i),[]);case"codemirror/mode/javascript/javascript":case"codemirror/mode/javascript/javascript.js":return ke(()=>Promise.resolve().then(()=>HU),void 0);case"codemirror/mode/jinja2/jinja2":case"codemirror/mode/jinja2/jinja2.js":return ke(()=>import("./jinja2-Butf2joT.js").then(e=>e.j),[]);case"codemirror/mode/jsx/jsx":case"codemirror/mode/jsx/jsx.js":return ke(()=>import("./jsx-Bz9I5wwK.js").then(e=>e.j),[]);case"codemirror/mode/julia/julia":case"codemirror/mode/julia/julia.js":return ke(()=>import("./julia-DJh7_ujs.js").then(e=>e.j),[]);case"codemirror/mode/livescript/livescript":case"codemirror/mode/livescript/livescript.js":return ke(()=>import("./livescript-dSGalQPv.js").then(e=>e.l),[]);case"codemirror/mode/lua/lua":case"codemirror/mode/lua/lua.js":return ke(()=>import("./lua-Bc5q8xNY.js").then(e=>e.l),[]);case"codemirror/mode/markdown/markdown":case"codemirror/mode/markdown/markdown.js":return ke(()=>import("./markdown-OCeZONgZ.js").then(e=>e.m),__vite__mapDeps([16,7]));case"codemirror/mode/mathematica/mathematica":case"codemirror/mode/mathematica/mathematica.js":return ke(()=>import("./mathematica-CDDpzM0V.js").then(e=>e.m),[]);case"codemirror/mode/mbox/mbox":case"codemirror/mode/mbox/mbox.js":return ke(()=>import("./mbox-jzLxJaqC.js").then(e=>e.m),[]);case"codemirror/mode/mirc/mirc":case"codemirror/mode/mirc/mirc.js":return ke(()=>import("./mirc-CtwyGVUc.js").then(e=>e.m),[]);case"codemirror/mode/mllike/mllike":case"codemirror/mode/mllike/mllike.js":return ke(()=>import("./mllike-V3NkyXRd.js").then(e=>e.m),[]);case"codemirror/mode/modelica/modelica":case"codemirror/mode/modelica/modelica.js":return ke(()=>import("./modelica-CW3W-ueR.js").then(e=>e.m),[]);case"codemirror/mode/mscgen/mscgen":case"codemirror/mode/mscgen/mscgen.js":return ke(()=>import("./mscgen-B_5euvdl.js").then(e=>e.m),[]);case"codemirror/mode/mumps/mumps":case"codemirror/mode/mumps/mumps.js":return ke(()=>import("./mumps-DDizpXWj.js").then(e=>e.m),[]);case"codemirror/mode/nginx/nginx":case"codemirror/mode/nginx/nginx.js":return ke(()=>import("./nginx-CokwOcLu.js").then(e=>e.n),[]);case"codemirror/mode/nsis/nsis":case"codemirror/mode/nsis/nsis.js":return ke(()=>import("./nsis-BIbchEWL.js").then(e=>e.n),[]);case"codemirror/mode/ntriples/ntriples":case"codemirror/mode/ntriples/ntriples.js":return ke(()=>import("./ntriples-CD5PyKsJ.js").then(e=>e.n),[]);case"codemirror/mode/octave/octave":case"codemirror/mode/octave/octave.js":return ke(()=>import("./octave-D8240sr_.js").then(e=>e.o),[]);case"codemirror/mode/oz/oz":case"codemirror/mode/oz/oz.js":return ke(()=>import("./oz-C6s4p2ar.js").then(e=>e.o),[]);case"codemirror/mode/pascal/pascal":case"codemirror/mode/pascal/pascal.js":return ke(()=>import("./pascal-DeeHw5Ia.js").then(e=>e.p),[]);case"codemirror/mode/pegjs/pegjs":case"codemirror/mode/pegjs/pegjs.js":return ke(()=>import("./pegjs-DCLlvpcN.js").then(e=>e.p),[]);case"codemirror/mode/perl/perl":case"codemirror/mode/perl/perl.js":return ke(()=>import("./perl-Dsi39ybF.js").then(e=>e.p),[]);case"codemirror/mode/php/php":case"codemirror/mode/php/php.js":return ke(()=>import("./php-Bcri55Zr.js").then(e=>e.p),__vite__mapDeps([17,3,4,1]));case"codemirror/mode/pig/pig":case"codemirror/mode/pig/pig.js":return ke(()=>import("./pig-BjYWlH9O.js").then(e=>e.p),[]);case"codemirror/mode/powershell/powershell":case"codemirror/mode/powershell/powershell.js":return ke(()=>import("./powershell-kHcVW3U9.js").then(e=>e.p),[]);case"codemirror/mode/properties/properties":case"codemirror/mode/properties/properties.js":return ke(()=>import("./properties-D2cvsqKQ.js").then(e=>e.p),[]);case"codemirror/mode/protobuf/protobuf":case"codemirror/mode/protobuf/protobuf.js":return ke(()=>import("./protobuf-eLCbTUlB.js").then(e=>e.p),[]);case"codemirror/mode/pug/pug":case"codemirror/mode/pug/pug.js":return ke(()=>import("./pug-C1X8HA5I.js").then(e=>e.p),__vite__mapDeps([18,4,3]));case"codemirror/mode/puppet/puppet":case"codemirror/mode/puppet/puppet.js":return ke(()=>import("./puppet-DGkcJ187.js").then(e=>e.p),[]);case"codemirror/mode/python/python":case"codemirror/mode/python/python.js":return ke(()=>import("./python-BjnbAnfP.js").then(e=>e.p),[]);case"codemirror/mode/q/q":case"codemirror/mode/q/q.js":return ke(()=>import("./q-wV2IGHOA.js").then(e=>e.q),[]);case"codemirror/mode/r/r":case"codemirror/mode/r/r.js":return ke(()=>import("./r-CtwjXLKi.js").then(e=>e.r),[]);case"codemirror/mode/rpm/rpm":case"codemirror/mode/rpm/rpm.js":return ke(()=>import("./rpm-DvaNh5EC.js").then(e=>e.r),[]);case"codemirror/mode/rst/rst":case"codemirror/mode/rst/rst.js":return ke(()=>import("./rst-BgE2lSFZ.js").then(e=>e.r),__vite__mapDeps([19,20,21,5]));case"codemirror/mode/ruby/ruby":case"codemirror/mode/ruby/ruby.js":return ke(()=>import("./ruby-T8iJPSUI.js").then(e=>e.r),__vite__mapDeps([22,9]));case"codemirror/mode/rust/rust":case"codemirror/mode/rust/rust.js":return ke(()=>import("./rust-Byet9KWu.js").then(e=>e.r),[]);case"codemirror/mode/sas/sas":case"codemirror/mode/sas/sas.js":return ke(()=>import("./sas-BdJZFkbe.js").then(e=>e.s),[]);case"codemirror/mode/sass/sass":case"codemirror/mode/sass/sass.js":return ke(()=>import("./sass-tfN4X25a.js").then(e=>e.s),__vite__mapDeps([23,4]));case"codemirror/mode/scheme/scheme":case"codemirror/mode/scheme/scheme.js":return ke(()=>import("./scheme-C3f-Cwbv.js").then(e=>e.s),[]);case"codemirror/mode/shell/shell":case"codemirror/mode/shell/shell.js":return ke(()=>import("./shell-DoGyNnBr.js").then(e=>e.s),[]);case"codemirror/mode/sieve/sieve":case"codemirror/mode/sieve/sieve.js":return ke(()=>import("./sieve-SeO9-i72.js").then(e=>e.s),[]);case"codemirror/mode/slim/slim":case"codemirror/mode/slim/slim.js":return ke(()=>import("./slim-Tl-Q-j4B.js").then(e=>e.s),__vite__mapDeps([24,3,4,9]));case"codemirror/mode/smalltalk/smalltalk":case"codemirror/mode/smalltalk/smalltalk.js":return ke(()=>import("./smalltalk-CqDg-kRp.js").then(e=>e.s),[]);case"codemirror/mode/smarty/smarty":case"codemirror/mode/smarty/smarty.js":return ke(()=>import("./smarty-DpI3RVCg.js").then(e=>e.s),[]);case"codemirror/mode/solr/solr":case"codemirror/mode/solr/solr.js":return ke(()=>import("./solr-D_dcLMzq.js").then(e=>e.s),[]);case"codemirror/mode/soy/soy":case"codemirror/mode/soy/soy.js":return ke(()=>import("./soy-BytuNm1O.js").then(e=>e.s),__vite__mapDeps([25,3,4]));case"codemirror/mode/sparql/sparql":case"codemirror/mode/sparql/sparql.js":return ke(()=>import("./sparql-DUUPrbfq.js").then(e=>e.s),[]);case"codemirror/mode/spreadsheet/spreadsheet":case"codemirror/mode/spreadsheet/spreadsheet.js":return ke(()=>import("./spreadsheet-CFOxvsfc.js").then(e=>e.s),[]);case"codemirror/mode/sql/sql":case"codemirror/mode/sql/sql.js":return ke(()=>import("./sql-CHLMUVUy.js").then(e=>e.s),[]);case"codemirror/mode/stex/stex":case"codemirror/mode/stex/stex.js":return ke(()=>import("./stex-i6uttPU4.js").then(e=>e.s),__vite__mapDeps([26,21]));case"codemirror/mode/stylus/stylus":case"codemirror/mode/stylus/stylus.js":return ke(()=>import("./stylus-GmfG-Jww.js").then(e=>e.s),[]);case"codemirror/mode/swift/swift":case"codemirror/mode/swift/swift.js":return ke(()=>import("./swift-BQJ1ngKw.js").then(e=>e.s),[]);case"codemirror/mode/tcl/tcl":case"codemirror/mode/tcl/tcl.js":return ke(()=>import("./tcl-7ytc0wMA.js").then(e=>e.t),[]);case"codemirror/mode/textile/textile":case"codemirror/mode/textile/textile.js":return ke(()=>import("./textile-Ch_jcOiD.js").then(e=>e.t),[]);case"codemirror/mode/tiddlywiki/tiddlywiki":case"codemirror/mode/tiddlywiki/tiddlywiki.js":return ke(()=>import("./tiddlywiki-DuoRHWcr.js").then(e=>e.t),[]);case"codemirror/mode/tiki/tiki":case"codemirror/mode/tiki/tiki.js":return ke(()=>import("./tiki-CF7yociA.js").then(e=>e.t),[]);case"codemirror/mode/toml/toml":case"codemirror/mode/toml/toml.js":return ke(()=>import("./toml-BJrlm4zn.js").then(e=>e.t),[]);case"codemirror/mode/tornado/tornado":case"codemirror/mode/tornado/tornado.js":return ke(()=>import("./tornado-Brtzznv_.js").then(e=>e.t),__vite__mapDeps([27,3,4,5]));case"codemirror/mode/troff/troff":case"codemirror/mode/troff/troff.js":return ke(()=>import("./troff-xTnjp11G.js").then(e=>e.t),[]);case"codemirror/mode/ttcn/ttcn":case"codemirror/mode/ttcn/ttcn.js":return ke(()=>import("./ttcn-JE884fRg.js").then(e=>e.t),[]);case"codemirror/mode/ttcn-cfg/ttcn-cfg":case"codemirror/mode/ttcn-cfg/ttcn-cfg.js":return ke(()=>import("./ttcn-cfg-CuQC0DY2.js").then(e=>e.t),[]);case"codemirror/mode/turtle/turtle":case"codemirror/mode/turtle/turtle.js":return ke(()=>import("./turtle-P2w2lI-D.js").then(e=>e.t),[]);case"codemirror/mode/twig/twig":case"codemirror/mode/twig/twig.js":return ke(()=>import("./twig-C4S06vZo.js").then(e=>e.t),__vite__mapDeps([28,11]));case"codemirror/mode/vb/vb":case"codemirror/mode/vb/vb.js":return ke(()=>import("./vb-mfOpdArb.js").then(e=>e.v),[]);case"codemirror/mode/vbscript/vbscript":case"codemirror/mode/vbscript/vbscript.js":return ke(()=>import("./vbscript-DBfdn2zS.js").then(e=>e.v),[]);case"codemirror/mode/velocity/velocity":case"codemirror/mode/velocity/velocity.js":return ke(()=>import("./velocity-D-BZSocU.js").then(e=>e.v),[]);case"codemirror/mode/verilog/verilog":case"codemirror/mode/verilog/verilog.js":return ke(()=>import("./verilog-CcdiXcVn.js").then(e=>e.v),[]);case"codemirror/mode/vhdl/vhdl":case"codemirror/mode/vhdl/vhdl.js":return ke(()=>import("./vhdl-DWfb__He.js").then(e=>e.v),[]);case"codemirror/mode/vue/vue":case"codemirror/mode/vue/vue.js":return ke(()=>import("./vue-u90QURhz.js").then(e=>e.v),__vite__mapDeps([29,5,30,4,23,31,18,3,10,11]));case"codemirror/mode/wast/wast":case"codemirror/mode/wast/wast.js":return ke(()=>import("./wast-CKgtksML.js").then(e=>e.w),[]);case"codemirror/mode/webidl/webidl":case"codemirror/mode/webidl/webidl.js":return ke(()=>import("./webidl-uFATJbXM.js").then(e=>e.w),[]);case"codemirror/mode/xml/xml":case"codemirror/mode/xml/xml.js":return ke(()=>Promise.resolve().then(()=>UU),void 0);case"codemirror/mode/xquery/xquery":case"codemirror/mode/xquery/xquery.js":return ke(()=>import("./xquery-CTpu4I2E.js").then(e=>e.x),[]);case"codemirror/mode/yacas/yacas":case"codemirror/mode/yacas/yacas.js":return ke(()=>import("./yacas-Dqg9GHs3.js").then(e=>e.y),[]);case"codemirror/mode/yaml/yaml":case"codemirror/mode/yaml/yaml.js":return ke(()=>import("./yaml-BsCobDxz.js").then(e=>e.y),[]);case"codemirror/mode/yaml-frontmatter/yaml-frontmatter":case"codemirror/mode/yaml-frontmatter/yaml-frontmatter.js":return ke(()=>import("./yaml-frontmatter-C-hmifh_.js").then(e=>e.y),__vite__mapDeps([32,33]));case"codemirror/mode/z80/z80":case"codemirror/mode/z80/z80.js":return ke(()=>import("./z80-C5-aDw3k.js").then(e=>e.z),[]);default:return new Promise(function(e,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}const Fb=t=>{if(t){const e=t.replace(/\D/g,"").match(/(\d{0,4})(\d{0,4})(\d{0,4})(\d{0,4})/);return e&&e.length>1?e[2]?"".concat(e[1]," ").concat(e[2]).concat("".concat(e[3]?" ".concat(e[3]):"")).concat("".concat(e[4]?" ".concat(e[4]):"")):e[1]:t}},BD=t=>{var e;return t&&((e=Fb(t))!=null?e:"").replace(/\d(?=(?:\D*\d){4})/g,"•")},Ex=v.forwardRef((E,S)=>{var N=E,{small:t,placeholder:e,label:n,name:r="",autoFocus:s=!1,required:a,ccNumber:i,readOnly:l,onInputBlur:u,showHideCCNumber:d=!1,tooltipContent:p,tooltip:h,prefix:m,error:b,props:C,className:g,classNameInput:w}=N,x=Ne(N,["small","placeholder","label","name","autoFocus","required","ccNumber","readOnly","onInputBlur","showHideCCNumber","tooltipContent","tooltip","prefix","error","props","className","classNameInput"]);const _=v.useRef(null),[P,I]=v.useState(!1),[T,A]=v.useState(i);v.useImperativeHandle(S,()=>_.current);const L=()=>{var O;if(!_.current||!_.current.value)return;const z=(O=Fb(_.current.value))!=null?O:"",Y=z.replace(/(\D)/g,"");_.current.value!==z&&(_.current.value=z),A(Y)};return v.useEffect(()=>{var z;if(_.current&&P){const Y=(z=Fb(T))!=null?z:"";_.current.value=Y}},[T]),v.useEffect(()=>{var z,Y;P&&_.current&&T&&(_.current.value=(z=Fb(T))!=null?z:""),!P&&_.current&&(_.current.value=(Y=BD(T))!=null?Y:"")},[P]),v.useEffect(()=>{_.current&&s&&setTimeout(()=>{var z;(z=_.current)==null||z.focus()},200)},[s]),o.jsxs("div",ae(R({className:Pn("w-full",g)},C),{children:[n&&o.jsx(k7,{label:n,required:a,tooltipContent:p,tooltip:h,className:"mb-0.5 text-slate-400 font-light text-xs ml-1 uppercase"}),o.jsxs("div",{className:"relative",children:[m?o.jsx("span",{className:"text-grey-40 mr-2xsmall",children:m}):null,o.jsx("input",R({className:Pn("bg-grey-5 border-gray-20 px-small py-xsmall rounded rounded-rounded flex w-full items-center border","focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500","remove-number-spinner px-3 leading-base text-grey-90 caret-violet-60 placeholder-grey-40 w-full bg-transparent font-normal outline-none outline-0",{"focus:ring-red-500 focus:border-red-500 border-red-400 dark:focus:ring-red-500 dark:focus:border-red-500 dark:border-red-400":b},t?"h-8":"h-10",{"!pr-8":d},{"text-small":t,"pt-[1px]":t},w),ref:_,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",type:"text",name:r,defaultValue:BD(i),placeholder:e||"".concat(n,"...")||"",onChange:L,onFocus:()=>{l||I(!0)},onBlur:()=>{u&&T&&u(T.trim().replaceAll(" ",""))}},x)),o.jsx("button",{className:"mx-2xsmall text-grey-40 absolute right-2.5 top-0 bottom-0 flex items-center justify-center",onClick:()=>{I(z=>!z)},children:P?o.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:o.jsx("path",{d:"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z",fill:"currentColor",fillRule:"evenodd"})}):o.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:o.jsx("path",{d:"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd"})})})]}),b&&o.jsx("div",{className:Pn("text-sm animate fade-in text-red-400",g),children:o.jsx("p",{children:b})})]}))});Ex.displayName="InputCreditCardField";const Bg=t=>{var e=sn(1);try{const n=Te(13),{id:r,isCopiedOrPasted:s,pastedItemCountDown:a,isCopied:i,pastedText:l,copyOrPasteFieldId:u}=t,{t:d}=Gt();if(u.value!==r||!s)return null;let p;if(a){if(a>0){let b;n[7]!==a||n[8]!==d?(b=d("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:a}),n[7]=a,n[8]=d,n[9]=b):b=n[9],p=b}}else{let b;n[0]===Symbol.for("react.memo_cache_sentinel")?(b=o.jsx(en,{size:14,className:"mr-1"}),n[0]=b):b=n[0];let C;n[1]!==i||n[2]!==d||n[3]!==l?(C=i?d("Copied",{ns:"common"}):l?d("Pasted",{ns:"common"}):"",n[1]=i,n[2]=d,n[3]=l,n[4]=C):C=n[4];let g;n[5]!==C?(g=o.jsxs("span",{className:"flex items-center justify-center text-[10px] uppercase font-semibold text-white pr-1.5 py-0",children:[b,C]}),n[5]=C,n[6]=g):g=n[6],p=g}const h="".concat(a?"ml-1 bg-green-700 dark:bg-green-800 dark:text-white !px-2":"bg-green-700 dark:bg-green-800 dark:text-white"," fade-in-animation py-[2px] whitespace-nowrap");let m;return n[10]!==h||n[11]!==p?(m=o.jsx(te,{className:"w-full h-full border border-green-700 bg-green-100/80 dark:bg-green-800 absolute right-0 top-0 flex items-center justify-center pointer-events-none px-2 !rounded-md z-100 animate-in fade-in transition-opacity",children:o.jsx(St,{className:h,children:p})}),n[10]=h,n[11]=p,n[12]=m):m=n[12],m}finally{e.f()}},UD={Tab:"Tab",Enter:"Enter",TabTab:"2 Tabs",TabTabTab:"3 Tabs",TabEnter:"Tab, Enter",TabTabEnter:"2Tabs, Enter"};function LU({clipId:t,formTemplateOptions:e}){var r,s;var n=sn(1);try{const{t:a}=Gt(),[i,l]=E7({}),[u,d,p]=N7({}),{updateItemById:h}=yl(),m=it(!1),b=it(null),C=it({templateOptions:[],formOptions:{openUrl:null,fields:[]}});v.useEffect(()=>{if(e)try{C.value=JSON.parse(e)}catch(w){console.error(w)}},[e]),v.useEffect(()=>{m.value&&setTimeout(()=>{m.value=!1},1e3)},[m.value]);const g=!!(i||u);return o.jsxs(o.Fragment,{children:[o.jsxs(te,{className:"select-none mb-2",children:[C.value.formOptions.openUrl!=null&&o.jsxs(me,{className:"text-normal w-full gap-2 py-0.5 mb-1 ".concat(C.value.formOptions.isOpenUrlDisabled?"bg-gray-100 dark:bg-gray-900 opacity-70":""),children:[C.value.formOptions.isOpenUrlDisabled?o.jsx(o.Fragment,{children:o.jsxs(re,{className:"!font-semibold pointer-events-none text-slate-500 dark:text-slate-200 border dark:bg-slate-700/80 group hover:text-blue-500 flex items-center bg-gray-200 !text-xs px-2 py-1 rounded-md line-through gap-1",children:[a("Open",{ns:"common"}),o.jsx("span",{className:"overflow-hidden text-ellipsis p-1",children:Dr(C.value.formOptions.openUrl)})]})}):o.jsx(o.Fragment,{children:o.jsxs(re,{className:"!font-semibold text-slate-500 dark:text-slate-200 border dark:bg-slate-700/80 group hover:text-blue-700 dark:hover:text-blue-400 flex items-center bg-gray-200 !text-xs px-2 py-1 rounded-md gap-1",children:[o.jsx("span",{className:"pointer-events-none",children:a("Open",{ns:"common"})}),o.jsxs("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400 overflow-hidden text-ellipsis relative p-1",title:"".concat(a("Open",{ns:"common"})," ").concat(C.value.formOptions.openUrl),onClick:()=>{ji(Dr(C.value.formOptions.openUrl))},children:[Dr(C.value.formOptions.openUrl),o.jsx(Bg,{id:C.value.formOptions.openUrl,isCopiedOrPasted:g,pastedItemCountDown:d,isCopied:i,pastedText:u,copyOrPasteFieldId:b})]})]})}),o.jsxs(me,{children:[o.jsx(Se,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",variant:"ghost",disabled:C.value.formOptions.isOpenUrlDisabled,onClick:w=>{w.preventDefault(),C.value.formOptions.openUrl&&(b.value=C.value.formOptions.openUrl,Tn.value?p(C.value.formOptions.openUrl):l(C.value.formOptions.openUrl))},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:14}):o.jsx(ya,{size:14})})}),o.jsx(Se,{variant:"ghost",size:"mini",title:a("Enable / Disable URL Open",{ns:"dashboard"}),onClick:()=>ge(this,null,function*(){var x;C.value=ae(R({},C.value),{formOptions:ae(R({},C.value.formOptions),{isOpenUrlDisabled:!((x=C.value.formOptions)!=null&&x.isOpenUrlDisabled)})});const w=JSON.stringify(C.value);try{yield h({updatedItem:{formTemplateOptions:w,itemId:t}}),setTimeout(()=>{m.value=!0},300)}catch(S){console.error(S)}}),className:"pl-1 font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:(r=C.value.formOptions)!=null&&r.isOpenUrlDisabled?o.jsx(ba,{size:14}):o.jsx(Va,{size:14})})]})]}),(s=C.value.formOptions)==null?void 0:s.fields.map((w,x)=>{var P,I,T,A,L;const S=w.isLabelOnTop,E=w.isLabelHidden,N=w.type==="section",_=w.type==="textarea";return o.jsxs(me,{className:"".concat(w.type!=="section"?"mb-1":"mt-1"," group ").concat(S?"flex-col items-start":"items-center"," ").concat(_?"!mt-2 !mb-1":""),children:[!E&&o.jsx(o.Fragment,{children:w.label&&w.type!=="section"?o.jsx(re,{className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(S?"!justify-start pl-1":"!justify-end"),children:o.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(S?"text-left":"text-right max-w-[160px]"),children:w.label})}):o.jsx("div",{className:"pr-1 min-w-[80px]"})}),o.jsxs(me,{className:"w-full",children:[o.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:o.jsxs(me,{className:"w-full gap-1 justify-start",children:[w.isDelayOnly||w.isPressKeysOnly?o.jsxs(me,{className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full justify-end mr-1 py-1"),children:[w.isDelayOnly&&o.jsxs(St,{variant:"secondary",className:"pl-2 py-0.5 text-slate-500 whitespace-nowrap",children:[a("Delay",{ns:"common"})," ",w.value]}),w.isPressKeysOnly&&w.pressKeysAfterPaste&&o.jsxs(St,{variant:"secondary",className:"pl-2 py-0.5 text-slate-500 whitespace-nowrap",children:[a("Press",{ns:"common"})," ",UD[w.pressKeysAfterPaste]]})]}):w.type==="password"||w.type==="passwordCode"?o.jsxs(me,{children:[o.jsxs("div",{className:"relative w-full",children:[o.jsx(wn,{small:!0,placeholder:a("Empty",{ns:"common"}),classNameInput:"text-sm border-0 border-b border-gray-200 hover:border-gray-400 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis",disabled:w.isEnable===!1,isPassword:!0,numbersOnly:w.type==="passwordCode",showHidePassword:!0,className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,value:w.value}),o.jsx(Bg,{id:w.id,isCopiedOrPasted:g,pastedItemCountDown:d,isCopied:i,pastedText:u,copyOrPasteFieldId:b})]}),!N&&!w.isDelayOnly&&!w.isPressKeysOnly&&o.jsx(Se,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:w.isEnable===!1||!w.value,variant:"ghost",onClick:z=>{z.preventDefault(),w.value&&(b.value=w.id||null,Tn.value?p(w.value):l(w.value))},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:14}):o.jsx(ya,{size:14})})})]}):w.type==="creditcard"?o.jsxs(me,{children:[o.jsxs("div",{className:"relative w-full",children:[o.jsx(Ex,{small:!0,placeholder:a("Empty",{ns:"common"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none hover:border-gray-400 pl-1.5 nowrap overflow-hidden text-ellipsis",disabled:w.isEnable===!1,className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,ccNumber:w.value}),o.jsx(Bg,{id:w.id,isCopiedOrPasted:g,pastedItemCountDown:d,isCopied:i,pastedText:u,copyOrPasteFieldId:b})]}),!N&&!w.isDelayOnly&&!w.isPressKeysOnly&&o.jsx(Se,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:w.isEnable===!1||!w.value,variant:"ghost",onClick:z=>{z.preventDefault(),w.value&&(b.value=w.id||null,Tn.value?p(w.value):l(w.value))},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:14}):o.jsx(ya,{size:14})})})]}):N?o.jsx("span",{className:"text-sm !font-semibold border-0 nowrap overflow-hidden text-ellipsis !pl-0.5 py-2",children:w.value}):w.type==="textarea"?o.jsxs(me,{children:[o.jsxs("div",{className:"w-full relative",children:[o.jsx(ko,{placeholder:a("Empty",{ns:"common"}),label:"",className:"text-sm font-semibold border-0 border-transparent hover:border-gray-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:w.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:x===((P=C.value.formOptions.fields)==null?void 0:P.length)-1&&C.value.formOptions.fields[x].value==="",maxRows:2,value:w.value,enableEmoji:!1,readOnly:!0,enableEmojiInside:!1}),o.jsx(Bg,{id:w.id,isCopiedOrPasted:g,pastedItemCountDown:d,isCopied:i,pastedText:u,copyOrPasteFieldId:b})]}),!N&&!w.isDelayOnly&&!w.isPressKeysOnly&&o.jsx(Se,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:w.isEnable===!1||!w.value,variant:"ghost",onClick:z=>{z.preventDefault(),w.value&&(b.value=w.id||null,Tn.value?p(w.value):l(w.value))},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:14}):o.jsx(ya,{size:14})})})]}):o.jsxs(me,{children:[o.jsxs("div",{className:"w-full relative",children:[o.jsx(wn,{small:!0,placeholder:a("Empty",{ns:"common"}),autoFocus:x===((I=C.value.formOptions.fields)==null?void 0:I.length)-1&&C.value.formOptions.fields[x].value===""&&C.value.formOptions.fields[x].label!=="Custom",classNameInput:"text-sm border-0 border-b border-gray-200 hover:border-gray-400 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,type:w.type==="number"?"number":"text",className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,value:w.value}),o.jsx(Bg,{id:w.id,isCopiedOrPasted:g,pastedItemCountDown:d,isCopied:i,pastedText:u,copyOrPasteFieldId:b})]}),!N&&!w.isDelayOnly&&!w.isPressKeysOnly&&o.jsx(Se,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:w.isEnable===!1||!w.value,variant:"ghost",onClick:z=>{z.preventDefault(),w.value&&(b.value=w.id||null,Tn.value?p(w.value):l(w.value))},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:14}):o.jsx(ya,{size:14})})})]}),w.isDelayOnly||w.isPressKeysOnly||N?o.jsx(o.Fragment,{}):o.jsx(me,{children:w.pressKeysAfterPaste&&o.jsx(St,{variant:"secondary",className:"p-2 py-0.5 text-slate-500 whitespace-nowrap mr-1",children:UD[w.pressKeysAfterPaste]})})]})}),o.jsx(me,{className:"gap-1",children:!N&&o.jsx(Se,{size:"mini",title:a("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>ge(this,null,function*(){var Y;C.value=ae(R({},C.value),{formOptions:ae(R({},C.value.formOptions),{fields:(Y=C.value.formOptions)==null?void 0:Y.fields.map((O,$)=>$===x?ae(R({},O),{isEnable:!O.isEnable}):O)})});const z=JSON.stringify(C.value);try{yield h({updatedItem:{formTemplateOptions:z,itemId:t}}),setTimeout(()=>{m.value=!0},300)}catch(O){console.error(O)}}),children:(T=C.value.formOptions)!=null&&T.fields&&((L=(A=C.value.formOptions)==null?void 0:A.fields[x])!=null&&L.isEnable)?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})})})]})]},w.id)})]}),m.value&&o.jsx(te,{className:"bg-blue-200 dark:bg-blue-800 text-xs rounded-sm px-1.5 absolute left-1 bottom-1",children:a("Updated",{ns:"common"})})]})}finally{n.f()}}function lk(t){var l,u;const e=Te(7),n=(l=t.width)!=null?l:"24px",r=(u=t.height)!=null?u:"24px";let s,a;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),a=o.jsx("rect",{x:"7.3",y:"7.3",rx:"5",ry:"5",width:"9.3",height:"9.3",className:"opacity-90",stroke:"none",fill:"currentColor"}),e[0]=s,e[1]=a):(s=e[0],a=e[1]);let i;return e[2]!==n||e[3]!==r||e[4]!==t.onClick||e[5]!==t.className?(i=o.jsxs("svg",{width:n,height:r,onClick:t.onClick,className:t.className,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s,a]}),e[2]=n,e[3]=r,e[4]=t.onClick,e[5]=t.className,e[6]=i):i=e[6],i}const Ube=(t,e=[],n=[],r=[],s,a=!1)=>{const i=/\{\{\s*(.*?)\s*\}\}/g;return t.split(i).map((u,d)=>{const p=r.find(h=>{var m;return((m=h.label)==null?void 0:m.toLocaleLowerCase())===u.toLocaleLowerCase()});if(p){const h={label:u,isValueMasked:p.isValueMasked,value:u.toLocaleLowerCase()==="clipboard"?s:p.value,isFound:e.includes(u.toLowerCase()),isMissing:n.includes(u.toLowerCase()),isEnable:p.isEnable},m=a&&h.value;return o.jsx(re,{className:"".concat(h.isEnable?"!text-green-600 dark:!text-green-400":"!text-gray-400 dark:!text-gray-600"," !font-normal inline-flex"),size:"xs",children:m?o.jsx(st,{text:o.jsxs(St,{variant:"outline",className:"".concat(h.isEnable?"!text-green-600 dark:!text-green-400 bg-green-100 dark:bg-green-900 hover:bg-green-100 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"dark:!text-gray-300 text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-normal pr-2.5"),children:[o.jsx(en,{size:12,className:"mr-0.5"}),h.label]}),className:"bg-transparent border-0",side:"top",isCompact:!0,asChild:!0,children:o.jsx(St,{variant:"outline",className:"".concat(h.isEnable?"!text-green-600 dark:!text-green-400 bg-green-100/80 dark:bg-green-900 hover:bg-green-50/80 dark:hover:bg-green-900/70 border-green-100 hover:border-green-200 dark:border-green-800 dark:hover:border-green-700":"dark:!text-gray-600 text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-[14px] !font-normal px-1 rounded-sm"),children:h.isValueMasked?bh(h.value):h.value})}):o.jsx(st,{isDisabled:h.isMissing||!h.value,text:h.value,side:"top",isCompact:!0,asChild:!0,children:o.jsxs(St,{variant:"outline",className:"".concat(h.isEnable?"bg-green-100 dark:bg-green-900 hover:bg-green-100 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-normal pr-2.5"),children:[o.jsx(en,{size:12,className:"mr-0.5"}),h.label]})})},d)}return u})};function RU({value:t,clipId:e,formTemplateOptions:n}){var s;var r=sn(1);try{const{t:a}=Gt(),i=it(Date.now().toString()),l=it(Date.now().toString()),u=it(!1),d=it([]),p=it([]),h=it("text"),m=it("labels"),b=it("template"),C=it(""),g=it(null),[,w,,]=$h({}),[,,x]=zh({}),{updateItemById:S}=yl(),E=it(!1),N=it({templateOptions:[],formOptions:{fields:[]}}),_=Co(l.value,300),P=Co(l.value,1e3),I=v.useCallback(L=>{const z=/{{[^{}]+}}/g;d.value=[],p.value=[];const Y=L.match(z);Y&&Y.forEach((O,$)=>{Y[$]=O.replace(/[\n\r{}]+/g,"").trim(),p.value.push(Y[$].toLocaleLowerCase());const M=N.value.templateOptions.find(W=>{var V;return((V=W.label)==null?void 0:V.toLocaleLowerCase())===Y[$].toLocaleLowerCase()});M?M.isFound=!0:d.value.push(Y[$])})},[N.value.templateOptions]);v.useEffect(()=>{var L;if(n)try{const z=JSON.parse(n);N.value=R(R({},N.value),z),((L=N.value.templateOptions)==null?void 0:L.every(O=>{var $;return(($=N.value.templateOptions)==null?void 0:$.filter(M=>M.label===O.label).length)===1}))||(u.value=!0),I(t)}catch(z){console.log("error",z)}},[n]);const T=v.useCallback(()=>ge(this,null,function*(){try{C.value=yield Ln("run_template_fill",{templateValue:t,templateOptions:N.value.templateOptions,isPreview:!0})}catch(L){console.error(L)}}),[t,N.value.templateOptions]);v.useEffect(()=>{T()},[N.value.templateOptions,t,_]),v.useEffect(()=>{const L=JSON.stringify(N.value);try{S({updatedItem:{formTemplateOptions:L,itemId:e}}),setTimeout(()=>{E.value=!0},300)}catch(z){console.error(z)}},[t,P]),v.useEffect(()=>{const L=Zi("clipboard://clipboard-monitor/update",Y=>ge(this,null,function*(){Y.payload==="clipboard update"&&(g.value=yield vT())}));return ge(this,null,function*(){g.value=yield vT()}),()=>{L.then(Y=>{Y()})}},[]),v.useEffect(()=>{E.value&&setTimeout(()=>{E.value=!1},1e3)},[E.value]);const A=v.useMemo(()=>Ube(t,p.value,d.value,N.value.templateOptions.filter(L=>L.label!==void 0).map(({label:L,isEnable:z,value:Y,isValueMasked:O})=>({label:L,isValueMasked:O,value:Y,isEnable:z})),g.value,m.value==="values"),[t,_,p.value,d.value,N.value.templateOptions,g.value,m.value]);return o.jsxs(o.Fragment,{children:[o.jsxs(te,{className:"select-none mt-1 pb-1",children:[o.jsx(te,{className:"mt-1.5 mb-1",children:o.jsxs(me,{className:"w-full justify-start",children:[o.jsx(Se,{variant:"ghost",size:"mini",onClick:()=>{Ts.value=e!=null?e:null},className:"cursor-pointer hover:bg-transparent ",children:o.jsx(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:a("Edit Template",{ns:"dashboard"})})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{variant:"ghost",size:"mini",className:"cursor-pointer ml-auto hover:bg-transparent !px-2 !py-0",children:o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[a("Fields Value",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsxs(rt,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>{N.value.templateOptions=N.value.templateOptions.map(L=>(L.value="",L)),N.value=ae(R({},N.value),{templateOptions:[...N.value.templateOptions]}),i.value=Date.now().toString(),l.value=Date.now().toString()},children:[o.jsx(re,{className:"mr-2",children:a("Clear All Fields",{ns:"dashboard"})}),o.jsx(sE,{size:14,className:"ml-auto text-slate-400"})]}),o.jsx(kn,{}),o.jsxs(rt,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>{N.value.templateOptions=N.value.templateOptions.map(L=>(L.value=L.defaultValue,L)),N.value=ae(R({},N.value),{templateOptions:[...N.value.templateOptions]}),i.value=Date.now().toString(),l.value=Date.now().toString()},children:[o.jsx(re,{className:"mr-2",children:a("Reset to Defaults",{ns:"dashboard"})}),o.jsx(G2,{size:14,className:"ml-auto text-slate-400"})]}),o.jsx(kn,{}),o.jsxs(rt,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>ge(this,null,function*(){N.value.templateOptions.forEach(z=>{z.defaultValue=z.value});const L=JSON.stringify(N.value);try{yield S({updatedItem:{formTemplateOptions:L,itemId:e}}),setTimeout(()=>{E.value=!0},300)}catch(z){console.error(z)}}),children:[o.jsx(re,{className:"mr-2",children:a("Save as Defaults",{ns:"dashboard"})}),o.jsx(Cz,{size:14,className:"ml-auto text-slate-400"})]})]})]})]})}),(s=N.value.templateOptions)==null?void 0:s.map((L,z)=>{var U,J,H,F,q,X,ne,ee,G;const Y=L.type==="textarea",O=L.isLabelOnTop,$=(U=L.selectOptions)==null?void 0:U.find(Z=>Z===L.value),M=!((J=L.selectOptions)!=null&&J.length),W=!!(L.label&&p.value.includes((H=L.label)==null?void 0:H.toLowerCase())),V=L.isEnable===!1||!W;return o.jsxs(me,{className:"mb-1 group ".concat(O?"flex-col items-start":"items-center"," ").concat(Y?"!mt-2 !mb-1":""),children:[L.label?o.jsx(me,{className:"".concat(V?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(O?"!justify-start pl-1":"!justify-end"," ").concat(W?"":"!text-amber-800 dark:!text-amber-400 opacity-60"),children:o.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(O?"text-left":"text-right max-w-[160px]"),children:L.label})}):o.jsx("div",{className:"pr-1 min-w-[80px]"}),o.jsxs(me,{className:"w-full",children:[o.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(V?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:o.jsx(me,{className:"w-full gap-1",children:L.type==="password"||L.type==="passwordCode"?o.jsx(wn,{small:!0,placeholder:L.type==="passwordCode"?a("Enter code",{ns:"dashboard"}):a("Enter secret value",{ns:"dashboard"}),autoFocus:z===N.value.templateOptions.length-1&&N.value.templateOptions[z].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:V,isPassword:!0,numbersOnly:L.type==="passwordCode",showHidePassword:!0,className:"".concat(L.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:Z=>{L.value=Z.target.value.trim(),l.value=Date.now().toString()},defaultValue:L.value},i.value):L.type==="creditcard"?o.jsx(Ex,{small:!0,placeholder:a("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:V,autoFocus:z===((F=N.value.templateOptions)==null?void 0:F.length)-1&&N.value.templateOptions[z].value==="",className:"".concat(V?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:Z=>{L.value=Z},ccNumber:L.value},i.value):L.type==="textarea"?o.jsx(ko,{placeholder:a("Enter field value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:V?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:z===N.value.templateOptions.length-1&&N.value.templateOptions[z].value===""&&!!N.value.templateOptions[z].label,maxRows:2,value:L.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:Z=>{Z.stopPropagation()},onChange:Z=>{L.value=Z.target.value,l.value=Date.now().toString(),N.value=ae(R({},N.value),{templateOptions:[...N.value.templateOptions]})}},i.value):L.type==="select"?o.jsx(me,{className:"justify-start items-center w-full my-1",children:o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",variant:"ghost",disabled:V,className:"rounded-sm font-semibold hover:bg-transparent px-2 py-1 w-full border border-slate-300 hover:border-blue-500 dark:border-slate-800 dark:hover:border-blue-500 dark:bg-slate-900 dark:hover:bg-slate-900 dark:text-slate-300 dark:hover:text-blue-500",children:o.jsxs(me,{className:"flex items-center justify-start w-full gap-1",children:[o.jsx(re,{className:"!text-slate-700 dark:!text-slate-300 text-ellipsis overflow-hidden !block line-clamp-2",children:M?a("Select is empty",{ns:"common"}):$||a("Select option",{ns:"common"})}),o.jsx(me,{className:"w-[18px] h-[18px] ml-0.5 mr-0",children:o.jsx(Bn,{size:13})})]})})}),o.jsxs(Wn,{sideOffset:12,align:"start",className:"max-w-[300px]",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:M?o.jsx(re,{children:a("Select is empty",{ns:"common"})}):o.jsx(re,{children:a("Select option",{ns:"common"})})}),!M&&o.jsxs(o.Fragment,{children:[o.jsx(kn,{}),(X=(q=N.value.templateOptions[z])==null?void 0:q.selectOptions)==null?void 0:X.map((Z,le)=>o.jsx(Cn,{checked:L.value===Z,onSelect:()=>{L.value=Z,l.value=Date.now().toString(),N.value=ae(R({},N.value),{templateOptions:[...N.value.templateOptions]})},children:o.jsx(re,{className:"text-xs ".concat(L.value===Z?"font-semibold":""),children:Z})},le))]})]})]})}):((ne=L.label)==null?void 0:ne.toLocaleLowerCase())!=="clipboard"?o.jsx(wn,{small:!0,placeholder:a("Enter field value",{ns:"dashboard"}),autoFocus:!!N.value.templateOptions[z].label,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:V,type:L.type==="number"?"number":"text",className:"".concat(V?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:Z=>{L.value=Z.target.value.trim(),l.value=Date.now().toString()},defaultValue:L.value},i.value):o.jsxs(o.Fragment,{children:[o.jsx(wn,{small:!0,value:L.isValueMasked&&g.value?mv(g.value):g.value?g.value:a("This field allows to insert text from clipboard",{ns:"dashboard"}),title:(ee=g.value)!=null?ee:"",autoFocus:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-transparent",disabled:!0,type:"text",className:"".concat(V?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full")}),o.jsx(st,{isCompact:!0,text:a("Mask to hide clipboard value in preview",{ns:"dashboard"}),children:o.jsx(lk,{width:15,height:15,className:"".concat(L.isValueMasked?"text-blue-500 opacity-100":"text-slate-500 opacity-50"," hover:text-blue-500 dark:hover:text-blue-400 hover:opacity-100 cursor-pointer"),onClick:()=>{var Z;N.value=ae(R({},N.value),{templateOptions:[...(Z=N.value.templateOptions)==null?void 0:Z.map((le,se)=>se===z?ae(R({},le),{isValueMasked:!le.isValueMasked}):le)]})}})})]})})}),o.jsx(me,{className:"gap-1 ml-0.5",children:W?o.jsx(Se,{size:"mini",title:a("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>ge(this,null,function*(){var le;N.value=ae(R({},N.value),{templateOptions:[...(le=N.value.templateOptions)==null?void 0:le.map((se,de)=>de===z?ae(R({},se),{isEnable:!se.isEnable}):se)]});const Z=JSON.stringify(N.value);try{yield S({updatedItem:{formTemplateOptions:Z,itemId:e}}),setTimeout(()=>{E.value=!0},300)}catch(se){console.error(se)}}),children:N.value.templateOptions&&((G=N.value.templateOptions[z])!=null&&G.isEnable)?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}):o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",title:a("Not found in the template",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent !text-amber-800 dark:!text-amber-400 opacity-60",children:o.jsx(Ti,{size:14})})}),o.jsx(Wn,{sideOffset:12,align:"center",children:o.jsxs(rt,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onSelect:()=>{var le;N.value=ae(R({},N.value),{templateOptions:[...(le=N.value.templateOptions)==null?void 0:le.filter((se,de)=>de!==z)]});const Z=JSON.stringify(N.value);try{S({updatedItem:{formTemplateOptions:Z,itemId:e}})}catch(se){console.error(se)}},children:[o.jsx(re,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:a("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(kr,{size:13})})]})})]})})]})]},z)}),u.value&&o.jsxs(re,{className:"!text-amber-800 dark:!text-amber-400 text-[13px] my-2 bg-yellow-50 dark:bg-yellow-900 p-2 relative",children:[a("All field labels must be unique to ensure they are correctly used within the template.",{ns:"dashboard"}),o.jsx(In,{className:"absolute top-0 right-0 m-2 bg-yellow-50 dark:bg-yellow-900 z-10 cursor-pointer hover:bg-yellow-100 dark:hover:bg-yellow-800",size:14,onClick:()=>{u.value=!1}})]}),d.value.length>0&&o.jsxs(me,{className:"rounded-md gap-2 my-3 items-start justify-start flex-wrap !text-amber-800 dark:!text-amber-400 text-[13px] bg-yellow-50 dark:bg-amber-950 p-2",children:[o.jsxs(re,{className:"!text-amber-700 dark:!text-amber-500 text-[13px] w-full",children:[o.jsx(Ti,{size:13,className:"mr-1"}),a("Found in template but missing from fields definition",{ns:"common"}),":"]}),d==null?void 0:d.value.map((L,z)=>o.jsx(te,{children:o.jsx(St,{variant:"outline",className:"bg-red-50 !text-red-500 dark:!text-red-400 dark:bg-red-950/80 border-red-100 dark:border-red-900 text-normal px-2",children:L})},z))]}),o.jsxs(o.Fragment,{children:[o.jsxs(me,{className:"gap-1 mt-2",children:[o.jsx(Se,{size:"mini",className:"!text-sm hover:bg-transparent hover:text-blue-500 dark:hover:text-blue-400 border-b-2 ".concat(b.value==="template"?"border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400":"border-transparent text-slate-500 dark:text-slate-400 "," rounded-none px-2 py-0.5"),variant:"ghost",onClick:()=>{b.value="template"},children:a("Template",{ns:"dashboard"})}),C.value&&o.jsx(Se,{size:"mini",variant:"ghost",className:"!text-sm hover:bg-transparent hover:text-blue-500 dark:hover:text-blue-400 border-b-2 ".concat(b.value==="result"?"border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400":"border-transparent text-slate-400 dark:text-slate-400"," rounded-none px-2 py-0.5"),onClick:()=>{b.value="result",T()},children:a("Result",{ns:"dashboard"})})]}),b.value==="template"?o.jsxs(te,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative rounded-md text-sm",children:[e&&o.jsx(mr,{className:"hover:bg-transparent rounded-md dark:text-slate-400 hover:text-green-600 hover:dark:text-green-600 top-3 right-3 absolute z-10",onClick:()=>{Tn.value?x(e):w(e)},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:15}):o.jsx(ya,{size:15})})}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"280px"},autoHide:!1,children:o.jsx(te,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8 pt-3 select-text",children:A})}),o.jsx(hl,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:m.value,onValueChange:L=>{m.value=L==="labels"?"labels":"values"},children:o.jsxs(Yo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[o.jsx(jr,{value:"labels",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:a("Labels",{ns:"dashboard"})}),o.jsx(jr,{value:"values",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:a("Values",{ns:"dashboard"})})]})})]}):b.value==="result"&&C.value&&o.jsxs(te,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative mt-0 rounded-md text-sm",children:[e&&o.jsx(mr,{className:"hover:bg-transparent rounded-md dark:text-slate-400 hover:text-green-600 hover:dark:text-green-600 top-3 right-3 absolute z-10",onClick:()=>{Tn.value?x(e):w(e)},children:o.jsx(st,{text:Tn.value?a("Copy and Paste",{ns:"common"}):a("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:15}):o.jsx(ya,{size:15})})}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"280px"},autoHide:!1,children:o.jsxs(te,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8 pt-3 select-text",children:[o.jsx("div",ae(R({},h.value==="html"&&{dangerouslySetInnerHTML:{__html:Od.sanitize(C.value)}}),{className:"font-normal"})),h.value==="text"&&C.value]})}),o.jsx(hl,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:h.value,onValueChange:L=>{h.value=L==="html"?"html":"text"},children:o.jsxs(Yo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[o.jsx(jr,{value:"text",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:a("Text",{ns:"dashboard"})}),o.jsx(jr,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:a("HTML",{ns:"dashboard"})})]})})]})]})]}),E.value&&o.jsx(te,{className:"bg-blue-200 dark:bg-blue-800 text-xs rounded-sm px-1.5 absolute left-1 bottom-1",children:a("Updated",{ns:"common"})})]})}finally{r.f()}}const Wbe=[qn.Down,qn.Right,qn.Up,qn.Left];function sb(t){if(!t)return!1;const e=t.data.current;return(e==null?void 0:e.type)===Ks||(e==null?void 0:e.type)===Ul||(e==null?void 0:e.type)===Wo}const BC=t=>t.toString().split("::pinned")[0];function _7(t){let e=[];return t.children&&t.children.length>0&&t.children.forEach(n=>{e.push(n.id),e=e.concat(_7(n))}),e}const Z6=(t,{context:{active:e,droppableRects:n,droppableContainers:r,collisionRect:s}})=>{if(Wbe.includes(t.code)){if(t.preventDefault(),!e||!s)return;const a=[];r.getEnabled().forEach(u=>{var h,m,b;if(!u||u!=null&&u.disabled)return;const d=n.get(u.id);if(!d)return;const p=u.data.current;if(p){const{type:C,children:g}=p;if(C==="Column"&&(g==null?void 0:g.length)>0&&((h=e.data.current)==null?void 0:h.type)!=="Column")return}switch(t.code){case qn.Down:if(((m=e.data.current)==null?void 0:m.type)==="Column")return;s.topd.top&&a.push(u);break;case qn.Left:s.left>=d.left+d.width&&a.push(u);break;case qn.Right:s.left+s.width<=d.left&&a.push(u);break}});const i=xQ({active:e,collisionRect:s,droppableRects:n,droppableContainers:a,pointerCoordinates:null}),l=D8(i,"id");if(l!=null){const u=r.get(l),d=u==null?void 0:u.node.current,p=u==null?void 0:u.rect.current;if(d&&p)return{x:p.left,y:p.top}}}};function T7(t,e=!1,n=!1){if(!t||n)return{valuePreview:e&&t?t.substring(0,200).trim()+"...":(t==null?void 0:t.trim())||"No content",morePreviewLines:null,morePreviewChars:null};const r=t.replace(/\r\n/g,"\n");if(r.split("\n").length>=5&&!e){const i=r.split("\n").slice(0,5).join("\n"),l=r.split("\n").length-5;return{valuePreview:Hc.closeTags(i.trim()),morePreviewLines:l>0?l:null,morePreviewChars:l?null:r.length-160}}if(r.length>60&&!e){const a=r.length-60;return{valuePreview:Hc.closeTags(r.substring(0,60).trim())+"...",morePreviewLines:null,morePreviewChars:a>0?a:null}}else{const a=r.trim(),i=a.split("\n"),l=r.split("\n").length-i.length;return e?{valuePreview:a.substring(0,60)+"...",morePreviewLines:null,morePreviewChars:null}:{valuePreview:a,morePreviewLines:l>0?l:null,morePreviewChars:null}}}const WD=t=>t.isBoard!==void 0&&t.type===Ks,Vbe=(t,e)=>{const n=r=>{if(!(!r||!e))for(const s of r){if(s.id===e&&WD(s))return s;if(WD(s)&&s.children){const a=n(s.children);if(a)return a}}};return n(t)};function OU({arrLinks:t=[],clipId:e,isShowLinkedClip:n,detectedLanguage:r,hasEmoji:s,hasMaskedWords:a,imageDataUrl:i,imageHash:l,imagePathFullRes:u,imageScale:d,imageType:p,imageWidthHeight:h,isCode:m,isCommand:b,isWebRequest:C,isWebScraping:g,isExpanded:w,isImage:x,isImageData:S,isLargeView:E,isLink:N,isForm:_,isTemplate:P,isMasked:I,isPath:T,isVideo:A,isMenu:L,isCopyOrPaste:z,isDark:Y,clipName:O,formTemplateOptions:$,commandRequestOutput:M,isCommandRequestRunError:W,commandRequestOutputLastRunAt:V,requestOptions:U,pathType:J,searchTerm:H,value:F=""}){var X,ne,ee,G;var q=sn(1);try{const{t:Z}=Gt(),le=Ds(!1),se=Ds(!1),de=Ds(""),ce=v.useRef(null),{metadataLinkByItemId:pe}=bx(N,e),ve=N&&!!(pe!=null&&pe.linkTitle&&(pe!=null&&pe.linkDomain)),ye=Ds({method:"GET",headers:[],body:"",scrapingRules:[],filters:[],auth:{}}),{valuePreview:be,morePreviewLines:Ee,morePreviewChars:Fe}=T7(F,x||S,E||N||T||b||C||g||_||P);v.useEffect(()=>{if(U)try{const Ke=JSON.parse(U);ye.value=R(R({},ye.value),Ke)}catch(Ke){}},[U]);const qe=F==null?void 0:F.trim();v.useEffect(()=>{w.value&&(se.value=!1)},[w.value]),v.useEffect(()=>{T&&qs("check_path",{path:qe}).then(()=>{de.value=J}).catch(()=>{de.value="Error"})},[T]),v.useEffect(()=>{H&&(w.value=!0)},[H]);const ot=E?"max-h-[600px]":"max-h-[300px]",Ve=qe.length===0;return v.useEffect(()=>{var Ke;n&&((Ke=ce==null?void 0:ce.current)==null||Ke.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[n,ce==null?void 0:ce.current]),o.jsxs(Fh,{className:Pn(z?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900","px-2 pr-1.5 py-1 mb-0.5 mx-1 text-left flex flex-col rounded-md select-auto relative"),children:[o.jsx(te,{className:"mb-0.5",ref:ce,children:T?o.jsx(jx,{theme:Y?ml.vsDark:ml.github,code:qe,language:"path",children:({className:Ke,style:lt,tokens:De,getLineProps:Ye,getTokenProps:dt})=>o.jsx("code",{className:"".concat(Ke," ").concat(de.value==="Error"?" line-through decoration-gray-300":""),style:lt,children:De.map((He,mt)=>o.jsx("div",ae(R({},Ye({line:He})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:He.map((Ue,ht)=>o.jsx("span",ae(R({},dt({token:Ue})),{className:"".concat(de.value==="Error"?"opacity-60":""," select-text"),children:H?ql(Ue.content,H):Ue.content}),ht))}),mt))})}):S?o.jsxs(te,{className:"text-ellipsis self-start text-xs overflow-hidden select-none",children:[o.jsx(te,{className:"flex px-0 py-1 items-center justify-center",children:o.jsx(gl,{src:qe,hasError:le.value,onErrorCallback:()=>{le.value=!0},draggable:!1,decoding:"async",className:"".concat(ot," min-h-10")})}),o.jsx("code",{className:"pb-0.5",children:be})]}):N&&x?o.jsxs(te,{className:"text-ellipsis self-start text-xs overflow-hidden select-none",children:[o.jsx(te,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:o.jsx(gl,{src:Dr(qe),hasError:le.value,onErrorCallback:()=>{le.value=!0},draggable:!1,decoding:"async",className:"".concat(ot," min-h-10")})}),o.jsx("code",{className:"pb-0.5",children:Sh(qe,t)})]}):x?o.jsxs(te,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards select-none",children:[E?o.jsx("img",{decoding:"async",srcSet:u&&i?"".concat(Jf(u),"?").concat(l," ").concat(d,"x"):!i&&!u?ih:L1,src:u&&i?"".concat(Jf(u),"?").concat(l):!i&&!u?ih:L1,className:"rounded-md shadow-sm border border-slate-100 dark:border-slate-600 object-scale-down"},e):o.jsx("img",{src:u&&(p==="webp"||p==="gif")?"".concat(Jf(u),"?").concat(l):i&&u?i:!i&&!u?ih:L1,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),o.jsx(te,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:o.jsxs(te,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:Z("Image size in pixels",{ns:"common"}),children:[h," ",p]})})]}):r&&m&&be?o.jsx(te,{className:"text-ellipsis self-start text-sm w-full select-text",children:o.jsx(ka,{isDark:Y,searchTerm:H,isLargeView:E,isShowMore:w.value||Ee==null,isWrapped:se.value,value:w.value?qe:be,language:r})}):b&&be?o.jsxs(te,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[o.jsx(ka,{isDark:Y,searchTerm:H,isLargeView:E,isCommand:!0,isShowMore:!0,isWrapped:se.value,autoHideScrollbar:!0,value:qe,language:"shell"}),M&&o.jsxs(te,{className:"".concat(W?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-1 rounded-md px-3 mb-1 relative border-0"),children:[o.jsx(ka,{isDark:Y,maxHeight:E?150:100,isLargeView:!1,isShowMore:!0,isWrapped:se.value,value:M,language:"shell"}),V&&o.jsx(te,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:o.jsx(st,{text:"".concat(Z("Last run",{ns:"dashboard"}),": ").concat(Eh(V,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:zd().format(V,"mini-minute-now",{round:"floor"})})})]})]}):(C||g)&&be?o.jsxs(te,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[o.jsx(ka,{isDark:Y,searchTerm:H,isLargeView:E,isShowMore:!0,isWrapped:se.value,value:qe,autoHideScrollbar:!0,webRequestMethod:C?ye.value.method:"URL",language:"shell"}),M&&o.jsxs(te,{className:"".concat(W?"bg-red-50 border-red-100":"bg-green-50 border-green-100"," ").concat(E?"py-1":"py-0"," rounded-md px-3 relative mb-1 border"),children:[o.jsx(ka,{isDark:Y,maxHeight:E?150:100,isLargeView:!1,isShowMore:!0,isWrapped:se.value,value:M,language:W?"text":"json"}),V&&o.jsx(te,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:o.jsx(st,{text:"".concat(Z("Last run",{ns:"dashboard"}),": ").concat(Eh(V,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:zd().format(V,"mini-minute-now",{round:"floor"})})})]})]}):_?o.jsx(te,{className:"self-start text-sm w-full select-text",children:o.jsx(LU,{formTemplateOptions:$,clipId:e})}):P?o.jsx(te,{className:"self-start text-sm w-full select-text",children:o.jsx(RU,{formTemplateOptions:$,clipId:e,value:F})}):Ve?o.jsx("code",{className:"text-gray-300",children:O}):o.jsx(ik,{isExpanded:w.value,isWrapped:(X=se.value)!=null?X:!1,isImageData:S,isMasked:I,isLargeView:E,isCode:m,hasLinkCard:ve,metadataLinkByItemId:pe,isImage:x,trimmedValue:qe,valuePreview:be,morePreviewLines:Ee,isDark:Y,searchTerm:H})}),o.jsxs(me,{className:"justify-between select-none",children:[!(C||b||g)&&M||E?o.jsx(te,{className:"flex flex-row items-center rounded",children:o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{se.value=!se.value},children:o.jsx(st,{text:se.value?Z("No Wrap",{ns:"common"}):Z("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:se.value?o.jsx(c0,{width:20,height:20}):o.jsx(u0,{width:20,height:20})})})}):Ee||Fe?o.jsxs(te,{className:"flex flex-row items-center rounded",children:[o.jsx(te,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{w.value=!w.value},children:o.jsx(st,{text:w.value?"":Z("Show all",{ns:"common"}),isCompact:!0,isDisabled:w.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:w.value?o.jsxs(o.Fragment,{children:["- ",Z("show less",{ns:"common"})]}):Fe?o.jsxs(o.Fragment,{children:["+",Fe," ",Z("chars",{ns:"common"})]}):Ee&&o.jsxs(o.Fragment,{children:["+",Ee," ",Z("lines",{ns:"common"})]})})}),o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{se.value=!se.value},children:o.jsx(st,{text:se.value?Z("No Wrap",{ns:"common"}):Z("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:se.value?o.jsx(c0,{width:20,height:20}):o.jsx(u0,{width:20,height:20})})})]}):o.jsx(te,{}),o.jsxs(te,{className:"flex flex-row gap-1 items-center justify-end ",children:[b&&o.jsx(te,{className:"".concat(W?"bg-red-300 dark:bg-red-800 dark:text-slate-300 text-red-800":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:W?Z("Command error",{ns:"dashboard"}):Z("Type:::Command",{ns:"dashboard"})}),(C||g)&&o.jsxs(me,{className:"gap-1",children:[o.jsxs(te,{className:"".concat(W?"bg-red-300 dark:bg-red-600 dark:text-red-300":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:[C&&o.jsx("span",{children:W?Z("Request error",{ns:"dashboard"}):Z("Type:::Request",{ns:"dashboard"})}),g&&o.jsx("span",{children:W?Z("Error",{ns:"dashboard"}):Z("Type:::Scraper",{ns:"dashboard"})})]}),g&&ye.value.scrapingRules&&((ne=ye.value.scrapingRules)==null?void 0:ne.filter(Ke=>Ke.isEnable).length)>0&&o.jsxs(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Z("Headers",{ns:"dashboard"}),o.jsx("span",{className:"ml-1 font-mono",children:ye.value.headers.filter(Ke=>Ke.isEnable).length})]}),C&&ye.value.headers.filter(Ke=>Ke.isEnable).length>0&&o.jsxs(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Z("Headers",{ns:"dashboard"}),o.jsx("span",{className:"ml-1 font-mono",children:ye.value.headers.filter(Ke=>Ke.isEnable).length})]}),C&&((ee=ye.value.auth)==null?void 0:ee.isEnable)&&o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:(G=ye.value.auth)==null?void 0:G.type}),C&&ye.value.filters.filter(Ke=>Ke.isEnable).length>0&&o.jsxs(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Z("Filters",{ns:"dashboard"}),o.jsx("span",{className:"ml-1 font-mono",children:ye.value.filters.filter(Ke=>Ke.isEnable).length})]})]}),(I||a)&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(a?"px-0.5":"px-1.5"),children:I?Z("Type:::Secret",{ns:"common"}):o.jsx(ec,{size:16})}),r&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r}),N&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:A?Z("Type:::Video",{ns:"common"}):Uc(qe)?Z("Type:::Email",{ns:"common"}):Z("Type:::Link",{ns:"common"})}),T&&de.value&&o.jsx(te,{className:"".concat(de.value==="Error"?"bg-red-300":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:de.value==="Error"?o.jsx(st,{text:Z("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-red-500 bg-red-50 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:de.value}):de.value}),s&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Z("Type:::Emoji",{ns:"common"})}),Ve&&!_&&!x&&o.jsx(te,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:Z("Type:::Empty",{ns:"common"})}),S&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Z("Type:::Image Base64",{ns:"common"})}),_&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Z("Type:::Auto Fill",{ns:"common"})}),L&&o.jsxs(me,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Z("Type:::Menu",{ns:"common"}),o.jsx(ux,{size:11,className:"ml-1"})]})]})]})]})}finally{q.f()}}v.memo(OU);function VD({clipId:t,color:e,isEditOnly:n,isLargeView:r,description:s,borderWidth:a,name:i}){var l=sn(1);try{const{t:u}=Gt(),d=it(!1),p=it(""),h=it(""),{themeDark:m}=Tt(yo),b=m(),{updateItemById:C}=yl(),g=it(tm.value),w=it(!1);return v.useEffect(()=>{d.value=!1,p.value=i!=null?i:"",tm.value=g.value},[g.value]),v.useEffect(()=>{i===u("New Clip",{ns:"dashboard"})&&(g.value=!0)},[i]),v.useEffect(()=>{h.value=s!=null?s:"",tm.value=w.value},[w.value]),v.useEffect(()=>{n&&(g.value=!0)},[n]),v.useEffect(()=>{d.value?Ib.value=!0:Ib.value=!1},[d.value]),v.useEffect(()=>{if(Db.value){if(Db.value=!1,Ib.value=!1,!g.value&&!w.value)return;if(!p.value.length||p.value.length>ld){d.value=!0;return}w.value&&(C({updatedItem:{description:h.value,itemId:t}}),setTimeout(()=>{w.value=!1},200)),d.value||(C({updatedItem:{name:p.value,itemId:t}}),setTimeout(()=>{g.value=!1},200))}},[Db.value]),o.jsx(me,{className:"justify-start w-full",children:g.value?o.jsxs(o.Fragment,{children:[o.jsx(st,{open:d.value,asChild:!0,classNameTrigger:"w-full",text:p.value.length<=V8?u("Too short",{ns:"dashboard"}):u("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:o.jsx(wn,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold w-full min-w-[120px]",placeholder:u("Enter clip name",{ns:"dashboard"}),onBlur:()=>ge(this,null,function*(){(!p.value.length||p.value.length>ld)&&(d.value=!0)}),onKeyDown:x=>ge(this,null,function*(){x.stopPropagation(),x.key==="Escape"?g.value=!1:x.key==="Enter"&&(!p.value.length||p.value.length>ld)?d.value=!0:x.key==="Enter"&&(yield C({updatedItem:{name:p.value,itemId:t}}),setTimeout(()=>{g.value=!1,n&&Of()},300))}),defaultValue:i,onFocus:x=>{i===u("New Clip",{ns:"dashboard"})&&x.target.select()},onChange:x=>{d.value&&x.target.value.length<=ld&&d.value&&x.target.value.length>0&&(d.value=!1),p.value=x.target.value}})}),o.jsxs(me,{className:"ml-1",children:[o.jsx(st,{text:u("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>ge(this,null,function*(){if(!p.value.length||p.value.length>ld){d.value=!0;return}d.value||(yield C({updatedItem:{name:p.value,itemId:t}}),setTimeout(()=>{g.value=!1,n&&Of()},200))}),children:o.jsx(en,{size:18})})})}),o.jsx(st,{text:u("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{g.value=!1,n&&Of()},children:o.jsx(In,{size:18})})})})]})]}):o.jsxs(me,{className:"justify-start mr-1 w-full",children:[!w.value&&o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"min-w-[24px]",children:o.jsx(nk,{color:e!=null?e:null,borderWidth:a,type:Wo,itemId:t,updateById:C})}),o.jsx(re,{className:"text-sm text-ellipsis pl-1 overflow-hidden whitespace-nowrap border-dashed border-b min-w-[40px] border-".concat(e||"slate","-400 hover:border-gray-400"),onClick:()=>{g.value=!0},color:"black",children:i}),o.jsx(te,{onClick:()=>{g.value=!0},className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:o.jsx(st,{text:u("Rename",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(Fd,{size:14})})})]}),o.jsx(te,{title:s&&!w.value?u("Edit Note",{ns:"dashboard"}):void 0,className:"".concat(w.value?"":"ml-1"," pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100"),children:s?o.jsx(gw,{text:w.value?h.value:s,side:"right",isDark:b,align:"end",alignOffset:130,maxWidth:320,sideOffset:-10,asChild:!0,children:o.jsx(Sz,{size:16,onClick:()=>{w.value=!0}})}):o.jsx(st,{text:u("Add note",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,isDisabled:w.value,children:o.jsx(cle,{size:16,onClick:()=>{w.value=!0}})})}),!tm.value&&o.jsxs(me,{className:"ml-auto px-1.5 items-center justify-center",children:[o.jsx(mr,{className:"hover:bg-transparent mr-1.5",onClick:()=>{Bs.value=r?null:t},children:o.jsx(st,{text:u("Close Expand Edit",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(ix,{size:13})})}),o.jsx(mr,{className:"hover:bg-transparent",onClick:()=>{Of()},children:o.jsx(st,{text:u("Close Edit",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(In,{size:18})})})]}),w.value&&o.jsxs(me,{className:"w-full justify-start items-center",children:[o.jsx(ko,{tabIndex:0,enableEmoji:!1,className:"bg-white w-full ml-2 rounded-md text-sm min-w-[120px]",classNameArea:"!pb-1",placeholder:u("Enter clip note",{ns:"dashboard"}),rows:1,autoFocus:!0,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:5,value:h.value,onKeyDown:x=>ge(this,null,function*(){x.stopPropagation(),x.key==="Escape"&&(w.value=!1)}),defaultValue:s!=null?s:"",onChange:x=>{h.value=x.target.value}}),o.jsxs(me,{className:"ml-2",children:[o.jsx(st,{text:u("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>ge(this,null,function*(){yield C({updatedItem:{description:h.value,itemId:t}}),setTimeout(()=>{w.value=!1},200)}),children:o.jsx(en,{size:18})})})}),o.jsx(st,{text:u("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{w.value=!1},children:o.jsx(In,{size:18})})})})]})]})]})})}finally{l.f()}}function $U(t){var l,u;const e=Te(7),n=(l=t.width)!=null?l:"24px",r=(u=t.height)!=null?u:"24px";let s,a;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),a=o.jsx("rect",{x:"6.881",y:"6.83",width:"10.2",height:"10.2",className:"opacity-50",stroke:"none",fill:"currentColor"}),e[0]=s,e[1]=a):(s=e[0],a=e[1]);let i;return e[2]!==n||e[3]!==r||e[4]!==t.className||e[5]!==t.onClick?(i=o.jsxs("svg",{width:n,height:r,className:t.className,onClick:t.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s,a]}),e[2]=n,e[3]=r,e[4]=t.className,e[5]=t.onClick,e[6]=i):i=e[6],i}function zU(t){var l,u;const e=Te(7),n=(l=t.width)!=null?l:"24px",r=(u=t.height)!=null?u:"24px";let s,a;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),a=o.jsx("path",{fill:"currentColor",stroke:"none",d:"m18.4044 17.0597-1.3474 1.3474H8.2988l1.3474-1.3474h8.7582ZM14.52 5.0053l3.811 3.811-.5695.7343-1.0281 1.3106-.6031.7568-.5374.6632-.3597.436-.4222.4997-.2734.3133-.2364.2606-.1994.2081-.4734.4683-.9742.9883-.514.5288-.1854-.0092-.1944-.003c-.3311 0-.699.0257-1.1035.077l-.2536.0356-.2478.0408-.237.0439-.3247.067-.6212.1496-2.021 1.0105-1.3475.3369.3369-1.3474 1.0105-2.0211.032-.076.0564-.1558.0474-.1502.0516-.187a6.8003 6.8003 0 0 0 .1495-.7784 10.6177 10.6177 0 0 0 .088-1.797l.1045-.1176.1065-.1134.497-.5086 1.1954-1.1882.3684-.3535.4097-.3752.3575-.3158.3839-.3296.4103-.3434.4366-.3573.4631-.3711.7442-.5827.529-.4057.5556-.4196.5819-.4335ZM8.7067 12.357a11.8664 11.8664 0 0 1-.036.4396l-.0472.4013a8.6212 8.6212 0 0 1-.112.649l-.1351.572.5888.5408.5814-.0902c.3209-.0649.6365-.1185.9407-.157.1784-.0227.3517-.041.52-.055L8.7067 12.357Zm5.6858-5.5734-.19.144-.7708.5933-.4798.3773-.4525.3626-.425.3476-.3975.3325-.3696.3172-.3416.3015-.4179.383-.3182.3058-.8657.8602 2.861 2.861.1762-.1794.5993-.5981.1285-.1254.174-.181.2194-.2415.2594-.297.412-.4874.3522-.4267.5305-.655.5967-.7486.8638-1.1014-2.1444-2.1445Z"}),e[0]=s,e[1]=a):(s=e[0],a=e[1]);let i;return e[2]!==n||e[3]!==r||e[4]!==t.className||e[5]!==t.onClick?(i=o.jsxs("svg",{width:n,height:r,className:t.className,viewBox:"0 0 24 24",onClick:t.onClick,fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s,a]}),e[2]=n,e[3]=r,e[4]=t.className,e[5]=t.onClick,e[6]=i):i=e[6],i}(function(t,e){(function(n){n(uu)})(function(n){function r(i,l,u){this.orientation=l,this.scroll=u,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=i+"-"+l,this.inner=this.node.appendChild(document.createElement("div"));var d=this;n.on(this.inner,"mousedown",function(h){if(h.which!=1)return;n.e_preventDefault(h);var m=d.orientation=="horizontal"?"pageX":"pageY",b=h[m],C=d.pos;function g(){n.off(document,"mousemove",w),n.off(document,"mouseup",g)}function w(x){if(x.which!=1)return g();d.moveTo(C+(x[m]-b)*(d.total/d.size))}n.on(document,"mousemove",w),n.on(document,"mouseup",g)}),n.on(this.node,"click",function(h){n.e_preventDefault(h);var m=d.inner.getBoundingClientRect(),b;d.orientation=="horizontal"?b=h.clientXm.right?1:0:b=h.clientYm.bottom?1:0,d.moveTo(d.pos+b*d.screen)});function p(h){var m=n.wheelEventPixels(h)[d.orientation=="horizontal"?"x":"y"],b=d.pos;d.moveTo(d.pos+m),d.pos!=b&&n.e_preventDefault(h)}n.on(this.node,"mousewheel",p),n.on(this.node,"DOMMouseScroll",p)}r.prototype.setPos=function(i,l){return i<0&&(i=0),i>this.total-this.screen&&(i=this.total-this.screen),!l&&i==this.pos?!1:(this.pos=i,this.inner.style[this.orientation=="horizontal"?"left":"top"]=i*(this.size/this.total)+"px",!0)},r.prototype.moveTo=function(i){this.setPos(i)&&this.scroll(i,this.orientation)};var s=10;r.prototype.update=function(i,l,u){var d=this.screen!=l||this.total!=i||this.size!=u;d&&(this.screen=l,this.total=i,this.size=u);var p=this.screen*(this.size/this.total);pi.clientWidth+1,p=i.scrollHeight>i.clientHeight+1;return this.vert.node.style.display=p?"block":"none",this.horiz.node.style.display=d?"block":"none",p&&(this.vert.update(i.scrollHeight,i.clientHeight,i.viewHeight-(d?u:0)),this.vert.node.style.bottom=d?u+"px":"0"),d&&(this.horiz.update(i.scrollWidth,i.clientWidth,i.viewWidth-(p?u:0)-i.barLeft),this.horiz.node.style.right=p?u+"px":"0",this.horiz.node.style.left=i.barLeft+"px"),{right:p?u:0,bottom:d?u:0}},a.prototype.setScrollTop=function(i){this.vert.setPos(i)},a.prototype.setScrollLeft=function(i){this.horiz.setPos(i)},a.prototype.clear=function(){var i=this.horiz.node.parentNode;i.removeChild(this.horiz.node),i.removeChild(this.vert.node)},n.scrollbarModel.simple=function(i,l){return new a("CodeMirror-simplescroll",i,l)},n.scrollbarModel.overlay=function(i,l){return new a("CodeMirror-overlayscroll",i,l)}})})();var qD={exports:{}},KD;function qbe(){return KD||(KD=1,function(t,e){(function(n){n(uu)})(function(n){n.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var r=0;r-1&&a.substring(u+1,a.length);if(d)return n.findModeByExtension(d)},n.findModeByName=function(a){a=a.toLowerCase();for(var i=0;i!?|~^@]/,C=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(oe){for(var fe=!1,Xe,Me=!1;(Xe=oe.next())!=null;){if(!fe){if(Xe=="/"&&!Me)return;Xe=="["?Me=!0:Me&&Xe=="]"&&(Me=!1)}fe=!fe&&Xe=="\\"}}var w,x;function S(oe,fe,Xe){return w=oe,x=Xe,fe}function E(oe,fe){var Xe=oe.next();if(Xe=='"'||Xe=="'")return fe.tokenize=N(Xe),fe.tokenize(oe,fe);if(Xe=="."&&oe.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return S("number","number");if(Xe=="."&&oe.match(".."))return S("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Xe))return S(Xe);if(Xe=="="&&oe.eat(">"))return S("=>","operator");if(Xe=="0"&&oe.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return S("number","number");if(/\d/.test(Xe))return oe.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),S("number","number");if(Xe=="/")return oe.eat("*")?(fe.tokenize=_,_(oe,fe)):oe.eat("/")?(oe.skipToEnd(),S("comment","comment")):vn(oe,fe,1)?(g(oe),oe.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),S("regexp","string-2")):(oe.eat("="),S("operator","operator",oe.current()));if(Xe=="`")return fe.tokenize=P,P(oe,fe);if(Xe=="#"&&oe.peek()=="!")return oe.skipToEnd(),S("meta","meta");if(Xe=="#"&&oe.eatWhile(h))return S("variable","property");if(Xe=="<"&&oe.match("!--")||Xe=="-"&&oe.match("->")&&!/\S/.test(oe.string.slice(0,oe.start)))return oe.skipToEnd(),S("comment","comment");if(b.test(Xe))return(Xe!=">"||!fe.lexical||fe.lexical.type!=">")&&(oe.eat("=")?(Xe=="!"||Xe=="=")&&oe.eat("="):/[<>*+\-|&?]/.test(Xe)&&(oe.eat(Xe),Xe==">"&&oe.eat(Xe))),Xe=="?"&&oe.eat(".")?S("."):S("operator","operator",oe.current());if(h.test(Xe)){oe.eatWhile(h);var Me=oe.current();if(fe.lastType!="."){if(m.propertyIsEnumerable(Me)){var _e=m[Me];return S(_e.type,_e.style,Me)}if(Me=="async"&&oe.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return S("async","keyword",Me)}return S("variable","variable",Me)}}function N(oe){return function(fe,Xe){var Me=!1,_e;if(l&&fe.peek()=="@"&&fe.match(C))return Xe.tokenize=E,S("jsonld-keyword","meta");for(;(_e=fe.next())!=null&&!(_e==oe&&!Me);)Me=!Me&&_e=="\\";return Me||(Xe.tokenize=E),S("string","string")}}function _(oe,fe){for(var Xe=!1,Me;Me=oe.next();){if(Me=="/"&&Xe){fe.tokenize=E;break}Xe=Me=="*"}return S("comment","comment")}function P(oe,fe){for(var Xe=!1,Me;(Me=oe.next())!=null;){if(!Xe&&(Me=="`"||Me=="$"&&oe.eat("{"))){fe.tokenize=E;break}Xe=!Xe&&Me=="\\"}return S("quasi","string-2",oe.current())}var I="([{}])";function T(oe,fe){fe.fatArrowAt&&(fe.fatArrowAt=null);var Xe=oe.string.indexOf("=>",oe.start);if(!(Xe<0)){if(p){var Me=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(oe.string.slice(oe.start,Xe));Me&&(Xe=Me.index)}for(var _e=0,ze=!1,Ct=Xe-1;Ct>=0;--Ct){var cn=oe.string.charAt(Ct),zn=I.indexOf(cn);if(zn>=0&&zn<3){if(!_e){++Ct;break}if(--_e==0){cn=="("&&(ze=!0);break}}else if(zn>=3&&zn<6)++_e;else if(h.test(cn))ze=!0;else if(/["'\/`]/.test(cn))for(;;--Ct){if(Ct==0)return;var Mn=oe.string.charAt(Ct-1);if(Mn==cn&&oe.string.charAt(Ct-2)!="\\"){Ct--;break}}else if(ze&&!_e){++Ct;break}}ze&&!_e&&(fe.fatArrowAt=Ct)}}var A={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function L(oe,fe,Xe,Me,_e,ze){this.indented=oe,this.column=fe,this.type=Xe,this.prev=_e,this.info=ze,Me!=null&&(this.align=Me)}function z(oe,fe){if(!d)return!1;for(var Xe=oe.localVars;Xe;Xe=Xe.next)if(Xe.name==fe)return!0;for(var Me=oe.context;Me;Me=Me.prev)for(var Xe=Me.vars;Xe;Xe=Xe.next)if(Xe.name==fe)return!0}function Y(oe,fe,Xe,Me,_e){var ze=oe.cc;for(O.state=oe,O.stream=_e,O.marked=null,O.cc=ze,O.style=fe,oe.lexical.hasOwnProperty("align")||(oe.lexical.align=!0);;){var Ct=ze.length?ze.pop():u?ce:se;if(Ct(Xe,Me)){for(;ze.length&&ze[ze.length-1].lex;)ze.pop()();return O.marked?O.marked:Xe=="variable"&&z(oe,Me)?"variable-2":fe}}}var O={state:null,column:null,marked:null,cc:null};function $(){for(var oe=arguments.length-1;oe>=0;oe--)O.cc.push(arguments[oe])}function M(){return $.apply(null,arguments),!0}function W(oe,fe){for(var Xe=fe;Xe;Xe=Xe.next)if(Xe.name==oe)return!0;return!1}function V(oe){var fe=O.state;if(O.marked="def",!!d){if(fe.context){if(fe.lexical.info=="var"&&fe.context&&fe.context.block){var Xe=U(oe,fe.context);if(Xe!=null){fe.context=Xe;return}}else if(!W(oe,fe.localVars)){fe.localVars=new F(oe,fe.localVars);return}}s.globalVars&&!W(oe,fe.globalVars)&&(fe.globalVars=new F(oe,fe.globalVars))}}function U(oe,fe){if(fe)if(fe.block){var Xe=U(oe,fe.prev);return Xe?Xe==fe.prev?fe:new H(Xe,fe.vars,!0):null}else return W(oe,fe.vars)?fe:new H(fe.prev,new F(oe,fe.vars),!1);else return null}function J(oe){return oe=="public"||oe=="private"||oe=="protected"||oe=="abstract"||oe=="readonly"}function H(oe,fe,Xe){this.prev=oe,this.vars=fe,this.block=Xe}function F(oe,fe){this.name=oe,this.next=fe}var q=new F("this",new F("arguments",null));function X(){O.state.context=new H(O.state.context,O.state.localVars,!1),O.state.localVars=q}function ne(){O.state.context=new H(O.state.context,O.state.localVars,!0),O.state.localVars=null}X.lex=ne.lex=!0;function ee(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}ee.lex=!0;function G(oe,fe){var Xe=function(){var Me=O.state,_e=Me.indented;if(Me.lexical.type=="stat")_e=Me.lexical.indented;else for(var ze=Me.lexical;ze&&ze.type==")"&&ze.align;ze=ze.prev)_e=ze.indented;Me.lexical=new L(_e,O.stream.column(),oe,null,Me.lexical,fe)};return Xe.lex=!0,Xe}function Z(){var oe=O.state;oe.lexical.prev&&(oe.lexical.type==")"&&(oe.indented=oe.lexical.indented),oe.lexical=oe.lexical.prev)}Z.lex=!0;function le(oe){function fe(Xe){return Xe==oe?M():oe==";"||Xe=="}"||Xe==")"||Xe=="]"?$():M(fe)}return fe}function se(oe,fe){return oe=="var"?M(G("vardef",fe),Re,le(";"),Z):oe=="keyword a"?M(G("form"),ve,se,Z):oe=="keyword b"?M(G("form"),se,Z):oe=="keyword d"?O.stream.match(/^\s*$/,!1)?M():M(G("stat"),be,le(";"),Z):oe=="debugger"?M(le(";")):oe=="{"?M(G("}"),ne,Ut,Z,ee):oe==";"?M():oe=="if"?(O.state.lexical.info=="else"&&O.state.cc[O.state.cc.length-1]==Z&&O.state.cc.pop()(),M(G("form"),ve,se,Z,Mt)):oe=="function"?M(mn):oe=="for"?M(G("form"),ne,an,se,ee,Z):oe=="class"||p&&fe=="interface"?(O.marked="keyword",M(G("form",oe=="class"?oe:fe),pn,Z)):oe=="variable"?p&&fe=="declare"?(O.marked="keyword",M(se)):p&&(fe=="module"||fe=="enum"||fe=="type")&&O.stream.match(/^\s*\w/,!1)?(O.marked="keyword",fe=="enum"?M(tt):fe=="type"?M(nn,le("operator"),Pt,le(";")):M(G("form"),Oe,le("{"),G("}"),Ut,Z,Z)):p&&fe=="namespace"?(O.marked="keyword",M(G("form"),ce,se,Z)):p&&fe=="abstract"?(O.marked="keyword",M(se)):M(G("stat"),dt):oe=="switch"?M(G("form"),ve,le("{"),G("}","switch"),ne,Ut,Z,Z,ee):oe=="case"?M(ce,le(":")):oe=="default"?M(le(":")):oe=="catch"?M(G("form"),X,de,se,Z,ee):oe=="export"?M(G("stat"),Ge,Z):oe=="import"?M(G("stat"),pt,Z):oe=="async"?M(se):fe=="@"?M(ce,se):$(G("stat"),ce,le(";"),Z)}function de(oe){if(oe=="(")return M(on,le(")"))}function ce(oe,fe){return ye(oe,fe,!1)}function pe(oe,fe){return ye(oe,fe,!0)}function ve(oe){return oe!="("?$():M(G(")"),be,le(")"),Z)}function ye(oe,fe,Xe){if(O.state.fatArrowAt==O.stream.start){var Me=Xe?Ke:Ve;if(oe=="(")return M(X,G(")"),Qe(on,")"),Z,le("=>"),Me,ee);if(oe=="variable")return $(X,Oe,le("=>"),Me,ee)}var _e=Xe?Fe:Ee;return A.hasOwnProperty(oe)?M(_e):oe=="function"?M(mn,_e):oe=="class"||p&&fe=="interface"?(O.marked="keyword",M(G("form"),Sn,Z)):oe=="keyword c"||oe=="async"?M(Xe?pe:ce):oe=="("?M(G(")"),be,le(")"),Z,_e):oe=="operator"||oe=="spread"?M(Xe?pe:ce):oe=="["?M(G("]"),Bt,Z,_e):oe=="{"?Rt(mt,"}",null,_e):oe=="quasi"?$(qe,_e):oe=="new"?M(lt(Xe)):M()}function be(oe){return oe.match(/[;\}\)\],]/)?$():$(ce)}function Ee(oe,fe){return oe==","?M(be):Fe(oe,fe,!1)}function Fe(oe,fe,Xe){var Me=Xe==!1?Ee:Fe,_e=Xe==!1?ce:pe;if(oe=="=>")return M(X,Xe?Ke:Ve,ee);if(oe=="operator")return/\+\+|--/.test(fe)||p&&fe=="!"?M(Me):p&&fe=="<"&&O.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?M(G(">"),Qe(Pt,">"),Z,Me):fe=="?"?M(ce,le(":"),_e):M(_e);if(oe=="quasi")return $(qe,Me);if(oe!=";"){if(oe=="(")return Rt(pe,")","call",Me);if(oe==".")return M(He,Me);if(oe=="[")return M(G("]"),be,le("]"),Z,Me);if(p&&fe=="as")return O.marked="keyword",M(Pt,Me);if(oe=="regexp")return O.state.lastType=O.marked="operator",O.stream.backUp(O.stream.pos-O.stream.start-1),M(_e)}}function qe(oe,fe){return oe!="quasi"?$():fe.slice(fe.length-2)!="${"?M(qe):M(be,ot)}function ot(oe){if(oe=="}")return O.marked="string-2",O.state.tokenize=P,M(qe)}function Ve(oe){return T(O.stream,O.state),$(oe=="{"?se:ce)}function Ke(oe){return T(O.stream,O.state),$(oe=="{"?se:pe)}function lt(oe){return function(fe){return fe=="."?M(oe?Ye:De):fe=="variable"&&p?M(Pe,oe?Fe:Ee):$(oe?pe:ce)}}function De(oe,fe){if(fe=="target")return O.marked="keyword",M(Ee)}function Ye(oe,fe){if(fe=="target")return O.marked="keyword",M(Fe)}function dt(oe){return oe==":"?M(Z,se):$(Ee,le(";"),Z)}function He(oe){if(oe=="variable")return O.marked="property",M()}function mt(oe,fe){if(oe=="async")return O.marked="property",M(mt);if(oe=="variable"||O.style=="keyword"){if(O.marked="property",fe=="get"||fe=="set")return M(Ue);var Xe;return p&&O.state.fatArrowAt==O.stream.start&&(Xe=O.stream.match(/^\s*:\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+Xe[0].length),M(ht)}else{if(oe=="number"||oe=="string")return O.marked=l?"property":O.style+" property",M(ht);if(oe=="jsonld-keyword")return M(ht);if(p&&J(fe))return O.marked="keyword",M(mt);if(oe=="[")return M(ce,wt,le("]"),ht);if(oe=="spread")return M(pe,ht);if(fe=="*")return O.marked="keyword",M(mt);if(oe==":")return $(ht)}}function Ue(oe){return oe!="variable"?$(ht):(O.marked="property",M(mn))}function ht(oe){if(oe==":")return M(pe);if(oe=="(")return $(mn)}function Qe(oe,fe,Xe){function Me(_e,ze){if(Xe?Xe.indexOf(_e)>-1:_e==","){var Ct=O.state.lexical;return Ct.info=="call"&&(Ct.pos=(Ct.pos||0)+1),M(function(cn,zn){return cn==fe||zn==fe?$():$(oe)},Me)}return _e==fe||ze==fe?M():Xe&&Xe.indexOf(";")>-1?$(oe):M(le(fe))}return function(_e,ze){return _e==fe||ze==fe?M():$(oe,Me)}}function Rt(oe,fe,Xe){for(var Me=3;Me"),Pt);if(oe=="quasi")return $(we,nt)}function We(oe){if(oe=="=>")return M(Pt)}function Je(oe){return oe.match(/[\}\)\]]/)?M():oe==","||oe==";"?M(Je):$(jt,Je)}function jt(oe,fe){if(oe=="variable"||O.style=="keyword")return O.marked="property",M(jt);if(fe=="?"||oe=="number"||oe=="string")return M(jt);if(oe==":")return M(Pt);if(oe=="[")return M(le("variable"),Xt,le("]"),jt);if(oe=="(")return $(hn,jt);if(!oe.match(/[;\}\)\],]/))return M()}function we(oe,fe){return oe!="quasi"?$():fe.slice(fe.length-2)!="${"?M(we):M(Pt,je)}function je(oe){if(oe=="}")return O.marked="string-2",O.state.tokenize=P,M(we)}function Ie(oe,fe){return oe=="variable"&&O.stream.match(/^\s*[?:]/,!1)||fe=="?"?M(Ie):oe==":"?M(Pt):oe=="spread"?M(Ie):$(Pt)}function nt(oe,fe){if(fe=="<")return M(G(">"),Qe(Pt,">"),Z,nt);if(fe=="|"||oe=="."||fe=="&")return M(Pt);if(oe=="[")return M(Pt,le("]"),nt);if(fe=="extends"||fe=="implements")return O.marked="keyword",M(Pt);if(fe=="?")return M(Pt,le(":"),Pt)}function Pe(oe,fe){if(fe=="<")return M(G(">"),Qe(Pt,">"),Z,nt)}function gt(){return $(Pt,Ze)}function Ze(oe,fe){if(fe=="=")return M(Pt)}function Re(oe,fe){return fe=="enum"?(O.marked="keyword",M(tt)):$(Oe,wt,bt,_t)}function Oe(oe,fe){if(p&&J(fe))return O.marked="keyword",M(Oe);if(oe=="variable")return V(fe),M();if(oe=="spread")return M(Oe);if(oe=="[")return Rt(Et,"]");if(oe=="{")return Rt(et,"}")}function et(oe,fe){return oe=="variable"&&!O.stream.match(/^\s*:/,!1)?(V(fe),M(bt)):(oe=="variable"&&(O.marked="property"),oe=="spread"?M(Oe):oe=="}"?$():oe=="["?M(ce,le("]"),le(":"),et):M(le(":"),Oe,bt))}function Et(){return $(Oe,bt)}function bt(oe,fe){if(fe=="=")return M(pe)}function _t(oe){if(oe==",")return M(Re)}function Mt(oe,fe){if(oe=="keyword b"&&fe=="else")return M(G("form","else"),se,Z)}function an(oe,fe){if(fe=="await")return M(an);if(oe=="(")return M(G(")"),dn,Z)}function dn(oe){return oe=="var"?M(Re,fn):oe=="variable"?M(fn):$(fn)}function fn(oe,fe){return oe==")"?M():oe==";"?M(fn):fe=="in"||fe=="of"?(O.marked="keyword",M(ce,fn)):$(ce,fn)}function mn(oe,fe){if(fe=="*")return O.marked="keyword",M(mn);if(oe=="variable")return V(fe),M(mn);if(oe=="(")return M(X,G(")"),Qe(on,")"),Z,$t,se,ee);if(p&&fe=="<")return M(G(">"),Qe(gt,">"),Z,mn)}function hn(oe,fe){if(fe=="*")return O.marked="keyword",M(hn);if(oe=="variable")return V(fe),M(hn);if(oe=="(")return M(X,G(")"),Qe(on,")"),Z,$t,ee);if(p&&fe=="<")return M(G(">"),Qe(gt,">"),Z,hn)}function nn(oe,fe){if(oe=="keyword"||oe=="variable")return O.marked="type",M(nn);if(fe=="<")return M(G(">"),Qe(gt,">"),Z)}function on(oe,fe){return fe=="@"&&M(ce,on),oe=="spread"?M(on):p&&J(fe)?(O.marked="keyword",M(on)):p&&oe=="this"?M(wt,bt):$(Oe,wt,bt)}function Sn(oe,fe){return oe=="variable"?pn(oe,fe):rn(oe,fe)}function pn(oe,fe){if(oe=="variable")return V(fe),M(rn)}function rn(oe,fe){if(fe=="<")return M(G(">"),Qe(gt,">"),Z,rn);if(fe=="extends"||fe=="implements"||p&&oe==",")return fe=="implements"&&(O.marked="keyword"),M(p?Pt:ce,rn);if(oe=="{")return M(G("}"),ut,Z)}function ut(oe,fe){if(oe=="async"||oe=="variable"&&(fe=="static"||fe=="get"||fe=="set"||p&&J(fe))&&O.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return O.marked="keyword",M(ut);if(oe=="variable"||O.style=="keyword")return O.marked="property",M(xe,ut);if(oe=="number"||oe=="string")return M(xe,ut);if(oe=="[")return M(ce,wt,le("]"),xe,ut);if(fe=="*")return O.marked="keyword",M(ut);if(p&&oe=="(")return $(hn,ut);if(oe==";"||oe==",")return M(ut);if(oe=="}")return M();if(fe=="@")return M(ce,ut)}function xe(oe,fe){if(fe=="!"||fe=="?")return M(xe);if(oe==":")return M(Pt,bt);if(fe=="=")return M(pe);var Xe=O.state.lexical.prev,Me=Xe&&Xe.info=="interface";return $(Me?hn:mn)}function Ge(oe,fe){return fe=="*"?(O.marked="keyword",M(Ht,le(";"))):fe=="default"?(O.marked="keyword",M(ce,le(";"))):oe=="{"?M(Qe(ft,"}"),Ht,le(";")):$(se)}function ft(oe,fe){if(fe=="as")return O.marked="keyword",M(le("variable"));if(oe=="variable")return $(pe,ft)}function pt(oe){return oe=="string"?M():oe=="("?$(ce):oe=="."?$(Ee):$(xt,At,Ht)}function xt(oe,fe){return oe=="{"?Rt(xt,"}"):(oe=="variable"&&V(fe),fe=="*"&&(O.marked="keyword"),M(Lt))}function At(oe){if(oe==",")return M(xt,At)}function Lt(oe,fe){if(fe=="as")return O.marked="keyword",M(xt)}function Ht(oe,fe){if(fe=="from")return O.marked="keyword",M(ce)}function Bt(oe){return oe=="]"?M():$(Qe(pe,"]"))}function tt(){return $(G("form"),Oe,le("{"),G("}"),Qe(Kt,"}"),Z,Z)}function Kt(){return $(Oe,bt)}function Zt(oe,fe){return oe.lastType=="operator"||oe.lastType==","||b.test(fe.charAt(0))||/[,.]/.test(fe.charAt(0))}function vn(oe,fe,Xe){return fe.tokenize==E&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(fe.lastType)||fe.lastType=="quasi"&&/\{\s*$/.test(oe.string.slice(0,oe.pos-(Xe||0)))}return{startState:function(oe){var fe={tokenize:E,lastType:"sof",cc:[],lexical:new L((oe||0)-a,0,"block",!1),localVars:s.localVars,context:s.localVars&&new H(null,null,!1),indented:oe||0};return s.globalVars&&typeof s.globalVars=="object"&&(fe.globalVars=s.globalVars),fe},token:function(oe,fe){if(oe.sol()&&(fe.lexical.hasOwnProperty("align")||(fe.lexical.align=!1),fe.indented=oe.indentation(),T(oe,fe)),fe.tokenize!=_&&oe.eatSpace())return null;var Xe=fe.tokenize(oe,fe);return w=="comment"?Xe:(fe.lastType=w=="operator"&&(x=="++"||x=="--")?"incdec":w,Y(fe,Xe,w,x,oe))},indent:function(oe,fe){if(oe.tokenize==_||oe.tokenize==P)return n.Pass;if(oe.tokenize!=E)return 0;var Xe=fe&&fe.charAt(0),Me=oe.lexical,_e;if(!/^\s*else\b/.test(fe))for(var ze=oe.cc.length-1;ze>=0;--ze){var Ct=oe.cc[ze];if(Ct==Z)Me=Me.prev;else if(Ct!=Mt&&Ct!=ee)break}for(;(Me.type=="stat"||Me.type=="form")&&(Xe=="}"||(_e=oe.cc[oe.cc.length-1])&&(_e==Ee||_e==Fe)&&!/^[,\.=+\-*:?[\(]/.test(fe));)Me=Me.prev;i&&Me.type==")"&&Me.prev.type=="stat"&&(Me=Me.prev);var cn=Me.type,zn=Xe==cn;return cn=="vardef"?Me.indented+(oe.lastType=="operator"||oe.lastType==","?Me.info.length+1:0):cn=="form"&&Xe=="{"?Me.indented:cn=="form"?Me.indented+a:cn=="stat"?Me.indented+(Zt(oe,fe)?i||a:0):Me.info=="switch"&&!zn&&s.doubleIndentSwitch!=!1?Me.indented+(/^(?:case|default)\b/.test(fe)?a:2*a):Me.align?Me.column+(zn?0:1):Me.indented+(zn?0:a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:u?null:"/*",blockCommentEnd:u?null:"*/",blockCommentContinue:u?null:" * ",lineComment:u?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:u?"json":"javascript",jsonldMode:l,jsonMode:u,expressionAllowed:vn,skipExpression:function(oe){Y(oe,"atom","atom","true",new n.StringStream("",2,null))}}}),n.registerHelper("wordChars","javascript",/[\w$]/),n.defineMIME("text/javascript","javascript"),n.defineMIME("text/ecmascript","javascript"),n.defineMIME("application/javascript","javascript"),n.defineMIME("application/x-javascript","javascript"),n.defineMIME("application/ecmascript","javascript"),n.defineMIME("application/json",{name:"javascript",json:!0}),n.defineMIME("application/x-json",{name:"javascript",json:!0}),n.defineMIME("application/manifest+json",{name:"javascript",json:!0}),n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),n.defineMIME("text/typescript",{name:"javascript",typescript:!0}),n.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}()),GD.exports}var FU=Kbe();const Gbe=ou(FU),HU=Rw({__proto__:null,default:Gbe},[FU]);var ZD={exports:{}},XD;function Ybe(){return XD||(XD=1,function(t,e){(function(n){n(uu)})(function(n){var r={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},s={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};n.defineMode("xml",function(a,i){var l=a.indentUnit,u={},d=i.htmlMode?r:s;for(var p in d)u[p]=d[p];for(var p in i)u[p]=i[p];var h,m;function b(M,W){function V(H){return W.tokenize=H,H(M,W)}var U=M.next();if(U=="<")return M.eat("!")?M.eat("[")?M.match("CDATA[")?V(w("atom","]]>")):null:M.match("--")?V(w("comment","-->")):M.match("DOCTYPE",!0,!0)?(M.eatWhile(/[\w\._\-]/),V(x(1))):null:M.eat("?")?(M.eatWhile(/[\w\._\-]/),W.tokenize=w("meta","?>"),"meta"):(h=M.eat("/")?"closeTag":"openTag",W.tokenize=C,"tag bracket");if(U=="&"){var J;return M.eat("#")?M.eat("x")?J=M.eatWhile(/[a-fA-F\d]/)&&M.eat(";"):J=M.eatWhile(/[\d]/)&&M.eat(";"):J=M.eatWhile(/[\w\.\-:]/)&&M.eat(";"),J?"atom":"error"}else return M.eatWhile(/[^&<]/),null}b.isInText=!0;function C(M,W){var V=M.next();if(V==">"||V=="/"&&M.eat(">"))return W.tokenize=b,h=V==">"?"endTag":"selfcloseTag","tag bracket";if(V=="=")return h="equals",null;if(V=="<"){W.tokenize=b,W.state=P,W.tagName=W.tagStart=null;var U=W.tokenize(M,W);return U?U+" tag error":"tag error"}else return/[\'\"]/.test(V)?(W.tokenize=g(V),W.stringStartCol=M.column(),W.tokenize(M,W)):(M.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g(M){var W=function(V,U){for(;!V.eol();)if(V.next()==M){U.tokenize=C;break}return"string"};return W.isInAttribute=!0,W}function w(M,W){return function(V,U){for(;!V.eol();){if(V.match(W)){U.tokenize=b;break}V.next()}return M}}function x(M){return function(W,V){for(var U;(U=W.next())!=null;){if(U=="<")return V.tokenize=x(M+1),V.tokenize(W,V);if(U==">")if(M==1){V.tokenize=b;break}else return V.tokenize=x(M-1),V.tokenize(W,V)}return"meta"}}function S(M){return M&&M.toLowerCase()}function E(M,W,V){this.prev=M.context,this.tagName=W||"",this.indent=M.indented,this.startOfLine=V,(u.doNotIndent.hasOwnProperty(W)||M.context&&M.context.noIndent)&&(this.noIndent=!0)}function N(M){M.context&&(M.context=M.context.prev)}function _(M,W){for(var V;;){if(!M.context||(V=M.context.tagName,!u.contextGrabbers.hasOwnProperty(S(V))||!u.contextGrabbers[S(V)].hasOwnProperty(S(W))))return;N(M)}}function P(M,W,V){return M=="openTag"?(V.tagStart=W.column(),I):M=="closeTag"?T:P}function I(M,W,V){return M=="word"?(V.tagName=W.current(),m="tag",z):u.allowMissingTagName&&M=="endTag"?(m="tag bracket",z(M,W,V)):(m="error",I)}function T(M,W,V){if(M=="word"){var U=W.current();return V.context&&V.context.tagName!=U&&u.implicitlyClosed.hasOwnProperty(S(V.context.tagName))&&N(V),V.context&&V.context.tagName==U||u.matchClosing===!1?(m="tag",A):(m="tag error",L)}else return u.allowMissingTagName&&M=="endTag"?(m="tag bracket",A(M,W,V)):(m="error",L)}function A(M,W,V){return M!="endTag"?(m="error",A):(N(V),P)}function L(M,W,V){return m="error",A(M,W,V)}function z(M,W,V){if(M=="word")return m="attribute",Y;if(M=="endTag"||M=="selfcloseTag"){var U=V.tagName,J=V.tagStart;return V.tagName=V.tagStart=null,M=="selfcloseTag"||u.autoSelfClosers.hasOwnProperty(S(U))?_(V,U):(_(V,U),V.context=new E(V,U,J==V.indented)),P}return m="error",z}function Y(M,W,V){return M=="equals"?O:(u.allowMissing||(m="error"),z(M,W,V))}function O(M,W,V){return M=="string"?$:M=="word"&&u.allowUnquoted?(m="string",z):(m="error",z(M,W,V))}function $(M,W,V){return M=="string"?$:z(M,W,V)}return{startState:function(M){var W={tokenize:b,state:P,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(W.baseIndent=M),W},token:function(M,W){if(!W.tagName&&M.sol()&&(W.indented=M.indentation()),M.eatSpace())return null;h=null;var V=W.tokenize(M,W);return(V||h)&&V!="comment"&&(m=null,W.state=W.state(h||V,M,W),m&&(V=m=="error"?V+" error":m)),V},indent:function(M,W,V){var U=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+l;if(U&&U.noIndent)return n.Pass;if(M.tokenize!=C&&M.tokenize!=b)return V?V.match(/^(\s*)/)[0].length:0;if(M.tagName)return u.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+l*(u.multilineTagIndentFactor||1);if(u.alignCDATA&&/$/,blockCommentStart:"",configuration:u.htmlMode?"html":"xml",helperType:u.htmlMode?"html":"xml",skipAttribute:function(M){M.state==O&&(M.state=z)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var W=[],V=M.context;V;V=V.prev)W.push(V.tagName);return W.reverse()}}}),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),ZD.exports}var BU=Ybe();const Zbe=ou(BU),UU=Rw({__proto__:null,default:Zbe},[BU]);(function(t,e){(function(n){n(uu)})(function(n){var r="CodeMirror-activeline",s="CodeMirror-activeline-background",a="CodeMirror-activeline-gutter";n.defineOption("styleActiveLine",!1,function(p,h,m){var b=m==n.Init?!1:m;h!=b&&(b&&(p.off("beforeSelectionChange",d),i(p),delete p.state.activeLines),h&&(p.state.activeLines=[],u(p,p.listSelections()),p.on("beforeSelectionChange",d)))});function i(p){for(var h=0;h2&&_.token&&typeof _.token!="string"){for(var T=2;T-1)return n.Pass;var x=C.indent.length-1,S=m[C.state];e:for(;;){for(var E=0;E{var S;const{options:n={},value:r="",width:s="100%",height:a="100%",isDark:i=!1,isCmd:l=!1,autofocus:u=!0,lineWrapping:d,lineNumbers:p=!0,lazyLoadMode:h=!0}=t,m=v.useRef(null),b=v.useRef(null),C=v.useRef(t),g={tabSize:2,scrollbarStyle:"simple",lineNumbers:p,viewportMargin:1/0,styleActiveLine:!0,lineWrapping:d,autofocus:u,lineNumberFormatter:E=>l?">_":"".concat(E),showCursorWhenSelecting:!0};v.useImperativeHandle(e,()=>({editor:m,textarea:b.current})),C.current=t;function w(){const N=Object.keys(t).filter(P=>/^on+/.test(P)),_={};return N.forEach(P=>{const I=P.slice(2);I&&I[0]&&(_[P]=I.replace(I[0],I[0].toLowerCase()))}),_}function x(_){return ge(this,arguments,function*(E,N={}){if(typeof N=="object"&&window){const P=R1.findModeByName(N.mode||"");h&&P&&P.mode&&(P.mode==="dart"&&(yield ke(()=>import("./clike-Cm0RcWKo.js").then(I=>I.c),[])),yield Qbe("codemirror/mode/".concat(P.mode,"/").concat(P.mode))),P&&(N.mode=P.mime),Object.keys(N).forEach(I=>{(N[I]||N[I]===!1)&&JSON.stringify(N[I])&&E.setOption(I,N[I])})}})}return v.useEffect(()=>{if(!m.current&&b.current){const E=uu.fromTextArea(b.current,R(R({},g),n)),N=w();Object.keys(N).forEach(_=>{E.on(N[_],(...P)=>C.current[_](...P))}),(s||a)&&E.setSize(s,a),m.current=E,x(E,R(R({},g),n))}return()=>{m.current&&(m.current.toTextArea(),m.current=null)}},[b.current]),v.useMemo(()=>{if(!m.current)return;const E=m.current.getValue();r!==void 0&&r!==E&&m.current.setValue(r)},[r,m]),v.useMemo(()=>{m.current&&m.current.setSize(s,a)},[s,a,m]),v.useMemo(()=>{m.current&&x(m.current,R(R({},g),n))},[m,n]),o.jsxs("div",{className:"".concat(i?"code-is-dark":"code-is-light"," w-full"),children:[o.jsx("textarea",{ref:b,defaultValue:r,className:"hidden"}),o.jsx(me,{className:"absolute w-full items-end justify-end h-0",children:o.jsx("div",{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5 relative top-[-16px] right-[36px] select-none",children:(S=n.mode)==null?void 0:S.toString()})})]})});function Qbe(t){switch(t){case"codemirror/mode/apl/apl":case"codemirror/mode/apl/apl.js":return ke(()=>import("./apl-Dkzkd4xY.js").then(e=>e.a),[]);case"codemirror/mode/asciiarmor/asciiarmor":case"codemirror/mode/asciiarmor/asciiarmor.js":return ke(()=>import("./asciiarmor-DZKamzVQ.js").then(e=>e.a),[]);case"codemirror/mode/asn.1/asn.1":case"codemirror/mode/asn.1/asn.1.js":return ke(()=>import("./asn.1-Dat20KhL.js").then(e=>e.a),[]);case"codemirror/mode/asterisk/asterisk":case"codemirror/mode/asterisk/asterisk.js":return ke(()=>import("./asterisk-BCp80GNB.js").then(e=>e.a),[]);case"codemirror/mode/brainfuck/brainfuck":case"codemirror/mode/brainfuck/brainfuck.js":return ke(()=>import("./brainfuck-CwZ2kEYl.js").then(e=>e.b),[]);case"codemirror/mode/clike/clike":case"codemirror/mode/clike/clike.js":return ke(()=>import("./clike-Cm0RcWKo.js").then(e=>e.c),[]);case"codemirror/mode/clojure/clojure":case"codemirror/mode/clojure/clojure.js":return ke(()=>import("./clojure-Bg-4hFPz.js").then(e=>e.c),[]);case"codemirror/mode/cmake/cmake":case"codemirror/mode/cmake/cmake.js":return ke(()=>import("./cmake-Dsf4E-la.js").then(e=>e.c),[]);case"codemirror/mode/cobol/cobol":case"codemirror/mode/cobol/cobol.js":return ke(()=>import("./cobol-BXRkK6zg.js").then(e=>e.c),[]);case"codemirror/mode/coffeescript/coffeescript":case"codemirror/mode/coffeescript/coffeescript.js":return ke(()=>import("./coffeescript-BapwGZ39.js").then(e=>e.c),[]);case"codemirror/mode/commonlisp/commonlisp":case"codemirror/mode/commonlisp/commonlisp.js":return ke(()=>import("./commonlisp-DFQTlDNM.js").then(e=>e.c),[]);case"codemirror/mode/crystal/crystal":case"codemirror/mode/crystal/crystal.js":return ke(()=>import("./crystal-BzGsEzVm.js").then(e=>e.c),[]);case"codemirror/mode/css/css":case"codemirror/mode/css/css.js":return ke(()=>import("./css-BBinNfwf.js").then(e=>e.c),[]);case"codemirror/mode/cypher/cypher":case"codemirror/mode/cypher/cypher.js":return ke(()=>import("./cypher-DnK9prxn.js").then(e=>e.c),[]);case"codemirror/mode/d/d":case"codemirror/mode/d/d.js":return ke(()=>import("./d-Dqfx6v1R.js").then(e=>e.d),[]);case"codemirror/mode/dart/dart":case"codemirror/mode/dart/dart.js":return ke(()=>import("./dart-CgLLyi75.js").then(e=>e.d),__vite__mapDeps([0,1]));case"codemirror/mode/diff/diff":case"codemirror/mode/diff/diff.js":return ke(()=>import("./diff-CDR0L1Bi.js").then(e=>e.d),[]);case"codemirror/mode/django/django":case"codemirror/mode/django/django.js":return ke(()=>import("./django-CAJIKadS.js").then(e=>e.d),__vite__mapDeps([2,3,4,5]));case"codemirror/mode/dockerfile/dockerfile":case"codemirror/mode/dockerfile/dockerfile.js":return ke(()=>import("./dockerfile-BsWaMR8a.js").then(e=>e.d),[]);case"codemirror/mode/dtd/dtd":case"codemirror/mode/dtd/dtd.js":return ke(()=>import("./dtd-DCDEnrGF.js").then(e=>e.d),[]);case"codemirror/mode/dylan/dylan":case"codemirror/mode/dylan/dylan.js":return ke(()=>import("./dylan-BcXu4hoO.js").then(e=>e.d),[]);case"codemirror/mode/ebnf/ebnf":case"codemirror/mode/ebnf/ebnf.js":return ke(()=>import("./ebnf-WJynPQc5.js").then(e=>e.e),[]);case"codemirror/mode/ecl/ecl":case"codemirror/mode/ecl/ecl.js":return ke(()=>import("./ecl-DVDI5EoC.js").then(e=>e.e),[]);case"codemirror/mode/eiffel/eiffel":case"codemirror/mode/eiffel/eiffel.js":return ke(()=>import("./eiffel-DVeuhHHw.js").then(e=>e.e),[]);case"codemirror/mode/elm/elm":case"codemirror/mode/elm/elm.js":return ke(()=>import("./elm-BmUleA6B.js").then(e=>e.e),[]);case"codemirror/mode/erlang/erlang":case"codemirror/mode/erlang/erlang.js":return ke(()=>import("./erlang-Dc21Wq6s.js").then(e=>e.e),[]);case"codemirror/mode/factor/factor":case"codemirror/mode/factor/factor.js":return ke(()=>import("./factor-CFCB3VKZ.js").then(e=>e.f),[]);case"codemirror/mode/fcl/fcl":case"codemirror/mode/fcl/fcl.js":return ke(()=>import("./fcl-DiPHBFLL.js").then(e=>e.f),[]);case"codemirror/mode/forth/forth":case"codemirror/mode/forth/forth.js":return ke(()=>import("./forth-BCAFCs5n.js").then(e=>e.f),[]);case"codemirror/mode/fortran/fortran":case"codemirror/mode/fortran/fortran.js":return ke(()=>import("./fortran-Dfs_7KJ_.js").then(e=>e.f),[]);case"codemirror/mode/gas/gas":case"codemirror/mode/gas/gas.js":return ke(()=>import("./gas-Diw4JAxZ.js").then(e=>e.g),[]);case"codemirror/mode/gfm/gfm":case"codemirror/mode/gfm/gfm.js":return ke(()=>import("./gfm-Cco98dfQ.js").then(e=>e.g),__vite__mapDeps([6,7,5]));case"codemirror/mode/gherkin/gherkin":case"codemirror/mode/gherkin/gherkin.js":return ke(()=>import("./gherkin-CVk3B-06.js").then(e=>e.g),[]);case"codemirror/mode/go/go":case"codemirror/mode/go/go.js":return ke(()=>import("./go-BD--djXl.js").then(e=>e.g),[]);case"codemirror/mode/groovy/groovy":case"codemirror/mode/groovy/groovy.js":return ke(()=>import("./groovy-Vdd_i6C6.js").then(e=>e.g),[]);case"codemirror/mode/haml/haml":case"codemirror/mode/haml/haml.js":return ke(()=>import("./haml-CeW5HA3f.js").then(e=>e.h),__vite__mapDeps([8,3,4,9]));case"codemirror/mode/handlebars/handlebars":case"codemirror/mode/handlebars/handlebars.js":return ke(()=>import("./handlebars-Dr7kZLUW.js").then(e=>e.h),__vite__mapDeps([10,11]));case"codemirror/mode/haskell/haskell":case"codemirror/mode/haskell/haskell.js":return ke(()=>import("./haskell-BgV3lLn4.js").then(e=>e.h),[]);case"codemirror/mode/haskell-literate/haskell-literate":case"codemirror/mode/haskell-literate/haskell-literate.js":return ke(()=>import("./haskell-literate-CHEBOdHl.js").then(e=>e.h),__vite__mapDeps([12,13]));case"codemirror/mode/haxe/haxe":case"codemirror/mode/haxe/haxe.js":return ke(()=>import("./haxe-DNsF5SKW.js").then(e=>e.h),[]);case"codemirror/mode/htmlembedded/htmlembedded":case"codemirror/mode/htmlembedded/htmlembedded.js":return ke(()=>import("./htmlembedded-BlyrLuUb.js").then(e=>e.h),__vite__mapDeps([14,3,4,11]));case"codemirror/mode/htmlmixed/htmlmixed":case"codemirror/mode/htmlmixed/htmlmixed.js":return ke(()=>import("./htmlmixed-B95nbLbw.js").then(e=>e.h),__vite__mapDeps([15,3,4]));case"codemirror/mode/http/http":case"codemirror/mode/http/http.js":return ke(()=>import("./http-BbFcRzKl.js").then(e=>e.h),[]);case"codemirror/mode/idl/idl":case"codemirror/mode/idl/idl.js":return ke(()=>import("./idl-BcQC4ryb.js").then(e=>e.i),[]);case"codemirror/mode/javascript/javascript":case"codemirror/mode/javascript/javascript.js":return ke(()=>Promise.resolve().then(()=>HU),void 0);case"codemirror/mode/jinja2/jinja2":case"codemirror/mode/jinja2/jinja2.js":return ke(()=>import("./jinja2-Butf2joT.js").then(e=>e.j),[]);case"codemirror/mode/jsx/jsx":case"codemirror/mode/jsx/jsx.js":return ke(()=>import("./jsx-Bz9I5wwK.js").then(e=>e.j),[]);case"codemirror/mode/julia/julia":case"codemirror/mode/julia/julia.js":return ke(()=>import("./julia-DJh7_ujs.js").then(e=>e.j),[]);case"codemirror/mode/livescript/livescript":case"codemirror/mode/livescript/livescript.js":return ke(()=>import("./livescript-dSGalQPv.js").then(e=>e.l),[]);case"codemirror/mode/lua/lua":case"codemirror/mode/lua/lua.js":return ke(()=>import("./lua-Bc5q8xNY.js").then(e=>e.l),[]);case"codemirror/mode/markdown/markdown":case"codemirror/mode/markdown/markdown.js":return ke(()=>import("./markdown-OCeZONgZ.js").then(e=>e.m),__vite__mapDeps([16,7]));case"codemirror/mode/mathematica/mathematica":case"codemirror/mode/mathematica/mathematica.js":return ke(()=>import("./mathematica-CDDpzM0V.js").then(e=>e.m),[]);case"codemirror/mode/mbox/mbox":case"codemirror/mode/mbox/mbox.js":return ke(()=>import("./mbox-jzLxJaqC.js").then(e=>e.m),[]);case"codemirror/mode/mirc/mirc":case"codemirror/mode/mirc/mirc.js":return ke(()=>import("./mirc-CtwyGVUc.js").then(e=>e.m),[]);case"codemirror/mode/mllike/mllike":case"codemirror/mode/mllike/mllike.js":return ke(()=>import("./mllike-V3NkyXRd.js").then(e=>e.m),[]);case"codemirror/mode/modelica/modelica":case"codemirror/mode/modelica/modelica.js":return ke(()=>import("./modelica-CW3W-ueR.js").then(e=>e.m),[]);case"codemirror/mode/mscgen/mscgen":case"codemirror/mode/mscgen/mscgen.js":return ke(()=>import("./mscgen-B_5euvdl.js").then(e=>e.m),[]);case"codemirror/mode/mumps/mumps":case"codemirror/mode/mumps/mumps.js":return ke(()=>import("./mumps-DDizpXWj.js").then(e=>e.m),[]);case"codemirror/mode/nginx/nginx":case"codemirror/mode/nginx/nginx.js":return ke(()=>import("./nginx-CokwOcLu.js").then(e=>e.n),[]);case"codemirror/mode/nsis/nsis":case"codemirror/mode/nsis/nsis.js":return ke(()=>import("./nsis-BIbchEWL.js").then(e=>e.n),[]);case"codemirror/mode/ntriples/ntriples":case"codemirror/mode/ntriples/ntriples.js":return ke(()=>import("./ntriples-CD5PyKsJ.js").then(e=>e.n),[]);case"codemirror/mode/octave/octave":case"codemirror/mode/octave/octave.js":return ke(()=>import("./octave-D8240sr_.js").then(e=>e.o),[]);case"codemirror/mode/oz/oz":case"codemirror/mode/oz/oz.js":return ke(()=>import("./oz-C6s4p2ar.js").then(e=>e.o),[]);case"codemirror/mode/pascal/pascal":case"codemirror/mode/pascal/pascal.js":return ke(()=>import("./pascal-DeeHw5Ia.js").then(e=>e.p),[]);case"codemirror/mode/pegjs/pegjs":case"codemirror/mode/pegjs/pegjs.js":return ke(()=>import("./pegjs-DCLlvpcN.js").then(e=>e.p),[]);case"codemirror/mode/perl/perl":case"codemirror/mode/perl/perl.js":return ke(()=>import("./perl-Dsi39ybF.js").then(e=>e.p),[]);case"codemirror/mode/php/php":case"codemirror/mode/php/php.js":return ke(()=>import("./php-Bcri55Zr.js").then(e=>e.p),__vite__mapDeps([17,3,4,1]));case"codemirror/mode/pig/pig":case"codemirror/mode/pig/pig.js":return ke(()=>import("./pig-BjYWlH9O.js").then(e=>e.p),[]);case"codemirror/mode/powershell/powershell":case"codemirror/mode/powershell/powershell.js":return ke(()=>import("./powershell-kHcVW3U9.js").then(e=>e.p),[]);case"codemirror/mode/properties/properties":case"codemirror/mode/properties/properties.js":return ke(()=>import("./properties-D2cvsqKQ.js").then(e=>e.p),[]);case"codemirror/mode/protobuf/protobuf":case"codemirror/mode/protobuf/protobuf.js":return ke(()=>import("./protobuf-eLCbTUlB.js").then(e=>e.p),[]);case"codemirror/mode/pug/pug":case"codemirror/mode/pug/pug.js":return ke(()=>import("./pug-C1X8HA5I.js").then(e=>e.p),__vite__mapDeps([18,4,3]));case"codemirror/mode/puppet/puppet":case"codemirror/mode/puppet/puppet.js":return ke(()=>import("./puppet-DGkcJ187.js").then(e=>e.p),[]);case"codemirror/mode/python/python":case"codemirror/mode/python/python.js":return ke(()=>import("./python-BjnbAnfP.js").then(e=>e.p),[]);case"codemirror/mode/q/q":case"codemirror/mode/q/q.js":return ke(()=>import("./q-wV2IGHOA.js").then(e=>e.q),[]);case"codemirror/mode/r/r":case"codemirror/mode/r/r.js":return ke(()=>import("./r-CtwjXLKi.js").then(e=>e.r),[]);case"codemirror/mode/rpm/rpm":case"codemirror/mode/rpm/rpm.js":return ke(()=>import("./rpm-DvaNh5EC.js").then(e=>e.r),[]);case"codemirror/mode/rst/rst":case"codemirror/mode/rst/rst.js":return ke(()=>import("./rst-BgE2lSFZ.js").then(e=>e.r),__vite__mapDeps([19,20,21,5]));case"codemirror/mode/ruby/ruby":case"codemirror/mode/ruby/ruby.js":return ke(()=>import("./ruby-T8iJPSUI.js").then(e=>e.r),__vite__mapDeps([22,9]));case"codemirror/mode/rust/rust":case"codemirror/mode/rust/rust.js":return ke(()=>import("./rust-Byet9KWu.js").then(e=>e.r),[]);case"codemirror/mode/sas/sas":case"codemirror/mode/sas/sas.js":return ke(()=>import("./sas-BdJZFkbe.js").then(e=>e.s),[]);case"codemirror/mode/sass/sass":case"codemirror/mode/sass/sass.js":return ke(()=>import("./sass-tfN4X25a.js").then(e=>e.s),__vite__mapDeps([23,4]));case"codemirror/mode/scheme/scheme":case"codemirror/mode/scheme/scheme.js":return ke(()=>import("./scheme-C3f-Cwbv.js").then(e=>e.s),[]);case"codemirror/mode/shell/shell":case"codemirror/mode/shell/shell.js":return ke(()=>import("./shell-DoGyNnBr.js").then(e=>e.s),[]);case"codemirror/mode/sieve/sieve":case"codemirror/mode/sieve/sieve.js":return ke(()=>import("./sieve-SeO9-i72.js").then(e=>e.s),[]);case"codemirror/mode/slim/slim":case"codemirror/mode/slim/slim.js":return ke(()=>import("./slim-Tl-Q-j4B.js").then(e=>e.s),__vite__mapDeps([24,3,4,9]));case"codemirror/mode/smalltalk/smalltalk":case"codemirror/mode/smalltalk/smalltalk.js":return ke(()=>import("./smalltalk-CqDg-kRp.js").then(e=>e.s),[]);case"codemirror/mode/smarty/smarty":case"codemirror/mode/smarty/smarty.js":return ke(()=>import("./smarty-DpI3RVCg.js").then(e=>e.s),[]);case"codemirror/mode/solr/solr":case"codemirror/mode/solr/solr.js":return ke(()=>import("./solr-D_dcLMzq.js").then(e=>e.s),[]);case"codemirror/mode/soy/soy":case"codemirror/mode/soy/soy.js":return ke(()=>import("./soy-BytuNm1O.js").then(e=>e.s),__vite__mapDeps([25,3,4]));case"codemirror/mode/sparql/sparql":case"codemirror/mode/sparql/sparql.js":return ke(()=>import("./sparql-DUUPrbfq.js").then(e=>e.s),[]);case"codemirror/mode/spreadsheet/spreadsheet":case"codemirror/mode/spreadsheet/spreadsheet.js":return ke(()=>import("./spreadsheet-CFOxvsfc.js").then(e=>e.s),[]);case"codemirror/mode/sql/sql":case"codemirror/mode/sql/sql.js":return ke(()=>import("./sql-CHLMUVUy.js").then(e=>e.s),[]);case"codemirror/mode/stex/stex":case"codemirror/mode/stex/stex.js":return ke(()=>import("./stex-i6uttPU4.js").then(e=>e.s),__vite__mapDeps([26,21]));case"codemirror/mode/stylus/stylus":case"codemirror/mode/stylus/stylus.js":return ke(()=>import("./stylus-GmfG-Jww.js").then(e=>e.s),[]);case"codemirror/mode/swift/swift":case"codemirror/mode/swift/swift.js":return ke(()=>import("./swift-BQJ1ngKw.js").then(e=>e.s),[]);case"codemirror/mode/tcl/tcl":case"codemirror/mode/tcl/tcl.js":return ke(()=>import("./tcl-7ytc0wMA.js").then(e=>e.t),[]);case"codemirror/mode/textile/textile":case"codemirror/mode/textile/textile.js":return ke(()=>import("./textile-Ch_jcOiD.js").then(e=>e.t),[]);case"codemirror/mode/tiddlywiki/tiddlywiki":case"codemirror/mode/tiddlywiki/tiddlywiki.js":return ke(()=>import("./tiddlywiki-DuoRHWcr.js").then(e=>e.t),[]);case"codemirror/mode/tiki/tiki":case"codemirror/mode/tiki/tiki.js":return ke(()=>import("./tiki-CF7yociA.js").then(e=>e.t),[]);case"codemirror/mode/toml/toml":case"codemirror/mode/toml/toml.js":return ke(()=>import("./toml-BJrlm4zn.js").then(e=>e.t),[]);case"codemirror/mode/tornado/tornado":case"codemirror/mode/tornado/tornado.js":return ke(()=>import("./tornado-Brtzznv_.js").then(e=>e.t),__vite__mapDeps([27,3,4,5]));case"codemirror/mode/troff/troff":case"codemirror/mode/troff/troff.js":return ke(()=>import("./troff-xTnjp11G.js").then(e=>e.t),[]);case"codemirror/mode/ttcn/ttcn":case"codemirror/mode/ttcn/ttcn.js":return ke(()=>import("./ttcn-JE884fRg.js").then(e=>e.t),[]);case"codemirror/mode/ttcn-cfg/ttcn-cfg":case"codemirror/mode/ttcn-cfg/ttcn-cfg.js":return ke(()=>import("./ttcn-cfg-CuQC0DY2.js").then(e=>e.t),[]);case"codemirror/mode/turtle/turtle":case"codemirror/mode/turtle/turtle.js":return ke(()=>import("./turtle-P2w2lI-D.js").then(e=>e.t),[]);case"codemirror/mode/twig/twig":case"codemirror/mode/twig/twig.js":return ke(()=>import("./twig-C4S06vZo.js").then(e=>e.t),__vite__mapDeps([28,11]));case"codemirror/mode/vb/vb":case"codemirror/mode/vb/vb.js":return ke(()=>import("./vb-mfOpdArb.js").then(e=>e.v),[]);case"codemirror/mode/vbscript/vbscript":case"codemirror/mode/vbscript/vbscript.js":return ke(()=>import("./vbscript-DBfdn2zS.js").then(e=>e.v),[]);case"codemirror/mode/velocity/velocity":case"codemirror/mode/velocity/velocity.js":return ke(()=>import("./velocity-D-BZSocU.js").then(e=>e.v),[]);case"codemirror/mode/verilog/verilog":case"codemirror/mode/verilog/verilog.js":return ke(()=>import("./verilog-CcdiXcVn.js").then(e=>e.v),[]);case"codemirror/mode/vhdl/vhdl":case"codemirror/mode/vhdl/vhdl.js":return ke(()=>import("./vhdl-DWfb__He.js").then(e=>e.v),[]);case"codemirror/mode/vue/vue":case"codemirror/mode/vue/vue.js":return ke(()=>import("./vue-u90QURhz.js").then(e=>e.v),__vite__mapDeps([29,5,30,4,23,31,18,3,10,11]));case"codemirror/mode/wast/wast":case"codemirror/mode/wast/wast.js":return ke(()=>import("./wast-CKgtksML.js").then(e=>e.w),[]);case"codemirror/mode/webidl/webidl":case"codemirror/mode/webidl/webidl.js":return ke(()=>import("./webidl-uFATJbXM.js").then(e=>e.w),[]);case"codemirror/mode/xml/xml":case"codemirror/mode/xml/xml.js":return ke(()=>Promise.resolve().then(()=>UU),void 0);case"codemirror/mode/xquery/xquery":case"codemirror/mode/xquery/xquery.js":return ke(()=>import("./xquery-CTpu4I2E.js").then(e=>e.x),[]);case"codemirror/mode/yacas/yacas":case"codemirror/mode/yacas/yacas.js":return ke(()=>import("./yacas-Dqg9GHs3.js").then(e=>e.y),[]);case"codemirror/mode/yaml/yaml":case"codemirror/mode/yaml/yaml.js":return ke(()=>import("./yaml-BsCobDxz.js").then(e=>e.y),[]);case"codemirror/mode/yaml-frontmatter/yaml-frontmatter":case"codemirror/mode/yaml-frontmatter/yaml-frontmatter.js":return ke(()=>import("./yaml-frontmatter-C-hmifh_.js").then(e=>e.y),__vite__mapDeps([32,33]));case"codemirror/mode/z80/z80":case"codemirror/mode/z80/z80.js":return ke(()=>import("./z80-C5-aDw3k.js").then(e=>e.z),[]);default:return new Promise(function(e,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}const Jbe="p",e2e="r",t2e="o",n2e="b",r2e="e",s2e="t",a2e="a",Un=It(null),B0=t2e+e2e+Jbe,Nx=a2e+s2e+r2e+n2e;function o2e(){return Un.value&&Un.value.expires&&Pr().isAfter(Pr(Un.value.expires))}function _x(){return Un.value&&Un.value.expires&&Pr(1718311101899).isAfter(Pr(Un.value.expires),"day")}function WU(){var r;const t=Un.value?Pr(Un.value.expires).diff(Pr(),"days"):null,e=(r=Un.value)!=null&&r.expires?Pr().diff(Pr(Un.value.expires),"days"):null,n=Un.value&&Un.value.expires?Pr(Un.value.expires).format("DD MMMM, YYYY"):"";return{licenseExpInDays:t,licenseExpiresDate:n,licenseExpiredDaysAgo:e}}function i2e(){var n,r;const t=(n=Un.value)!=null&&n.issued?Pr().diff(Pr(Un.value.issued),"days"):null,e=(r=Un.value)!=null&&r.issued?Pr(Un.value.issued).format("DD MMMM, YYYY"):"";return{licenseIssuedDaysAgo:t>0?t:null,licenseIssuedDate:e}}(function(t,e){const n=bw,r=t();for(;;)try{if(parseInt(n(453))/1+parseInt(n(463))/2+-parseInt(n(455))/3*(-parseInt(n(452))/4)+-parseInt(n(456))/5+parseInt(n(457))/6*(parseInt(n(465))/7)+-parseInt(n(451))/8+-parseInt(n(462))/9===e)break;r.push(r.shift())}catch(s){r.push(r.shift())}})(ww,740283);function l2e(t){const e=bw,n=t[e(458)]("")[e(454)]()[e(464)](""),r=Un[e(461)];return r!=null&&r.id&&(r!=null&&r[e(460)])&&Array.isArray(r.features)?r.features[e(459)](n):!1}function bw(t,e){const n=ww();return bw=function(r,s){return r=r-451,n[r]},bw(t,e)}function ww(){const t=["value","19224396aNppYF","989064IhZSmn","join","7LPwpzD","1028336fHlCyR","221084cjBjJp","931447iSDAoO","reverse","39litIBm","1170430ScfMYR","6566718isVFIu","split","includes","features"];return ww=function(){return t},ww()}function Hh(){const t=vl(B0),e=vl(Nx),n=Tx();let r;e:if(t&&!e){if(n){r=!_x();break e}r=!0}else r=!!(e&&!n);return r}function vl(t){var e=sn(2);try{return v.useMemo(()=>l2e(t),[Un.value])}finally{e.f()}}function VU(){var e;let t;return t=(e=Un==null?void 0:Un.value)==null?void 0:e.language,t}function Tx(){const t=Te(1);let e,n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=o2e(),t[0]=n):n=t[0],e=n,e}const Ql=t=>{const e=Te(4),{className:n}=t,r=n===void 0?"":n,s=Hh(),{t:a}=Gt();let i;return e[0]!==s||e[1]!==r||e[2]!==a?(i=!s&&o.jsx(St,{className:"ml-2 ".concat(r),variant:"pro",children:a("Pro",{ns:"common"})}),e[0]=s,e[1]=r,e[2]=a,e[3]=i):i=e[3],i};function qU({id:t}){var e=sn(1);try{const{t:n}=Gt(),r=it(!1),{addImageToItemById:s}=bge(),{uploadImageToItemById:a,uploadImageToItemReset:i}=wge(),l=v.useRef(null),u=v.useRef(null),d=it(!1);v.useEffect(()=>{var g,w,x,S,E,N;const h=_=>{var P;(P=u.current)==null||P.classList.add("bg-blue-50","!border-blue-400"),_.preventDefault(),_.stopPropagation()},m=_=>{var P;(P=u.current)==null||P.classList.remove("bg-blue-50","!border-blue-400"),_.preventDefault(),_.stopPropagation()},b=_=>{var I;_.preventDefault(),_.stopPropagation();const P=(I=_.dataTransfer)==null?void 0:I.files[0];if(!P)i();else{const T=new FileReader,A=P.type;T.readAsArrayBuffer(P),T.onload=L=>ge(this,null,function*(){var Y,O;const z=(Y=L.target)==null?void 0:Y.result;if(z){const $=Array.from(new Uint8Array(z));d.value=!0,requestAnimationFrame(()=>ge(this,null,function*(){try{yield a({itemId:t,buffer:$,fileType:A})}catch(M){console.error("Error during file upload",M)}d.value=!1}))}i(),r.value=!1,(O=l.current)==null||O.close()})}};if(!u.current)return;(g=u.current)==null||g.addEventListener("dragenter",h),(w=u.current)==null||w.addEventListener("dragleave",m),(x=u.current)==null||x.addEventListener("dragover",h),(S=u.current)==null||S.addEventListener("drop",b);const C=(N=(E=u.current)==null?void 0:E.children)!=null?N:[];for(const _ of C)_.addEventListener("dragover",h),_.addEventListener("dragenter",h),_.addEventListener("dragleave",m),_.addEventListener("drop",b);return()=>{var P,I,T,A,L,z;(P=u.current)==null||P.removeEventListener("dragenter",h),(I=u.current)==null||I.removeEventListener("dragleave",m),(T=u.current)==null||T.removeEventListener("dragover",h),(A=u.current)==null||A.removeEventListener("drop",b);const _=(z=(L=u.current)==null?void 0:L.children)!=null?z:[];for(const Y of _)Y.removeEventListener("dragover",h),Y.removeEventListener("dragenter",h),Y.removeEventListener("dragleave",m),Y.removeEventListener("drop",b)}},[u.current]),v.useEffect(()=>{const h=Zi("tauri://file-drop",m=>{var b,C;((b=m.payload)==null?void 0:b.length)>0&&(s({itemId:t,imagePath:m.payload[0]}),r.value=!1,(C=l.current)==null||C.close())});return()=>{h.then(m=>{m()})}},[]);const p=()=>{var h;r.value=!1,i(),(h=l.current)==null||h.close()};return o.jsxs(Ca,{defaultOpen:!1,open:r.value,modal:!0,onOpenChange:h=>{var m;h||(m=l.current)==null||m.close()},children:[o.jsx(Sa,{asChild:!0,children:o.jsx(te,{tabIndex:0,className:"focus:outline-none",children:o.jsx(st,{text:n("Add image",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"p-1.5 border-0 bg-slate-100 flex items-center justify-center hover:bg-slate-50/100 text-slate-400 hover:text-slate-500",onClick:()=>{r.value=!0},children:o.jsx(Mz,{size:26,className:"cursor-pointer"})})})})}),o.jsx(aa,{sideOffset:16,align:"center",autoFocus:!0,onOpenAutoFocus:()=>{setTimeout(()=>{var h,m;(h=u.current)==null||h.focus(),(m=u.current)==null||m.click()},300)},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-72 shadow-xl z-100",onEscapeKeyDown:()=>{p()},onPointerDownOutside:()=>{p()},children:r.value&&o.jsxs(me,{className:"flex-col drop-zone p-1.5 border-2 border-slate-300 border-dashed rounded-md",ref:u,children:[o.jsx(Rn,{h:2}),d.value?o.jsx(ek,{size:"large"}):o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone",children:n("Drop image file here, or use a separate window for drag and drop.",{ns:"dashboard"})}),o.jsx(Rn,{h:5,className:"drop-zone"}),o.jsxs(me,{className:"drop-zone",children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 drop-zone hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{p()},children:n("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-slate-200 drop-zone hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200",onClick:()=>{const h=new ph("drop-image",{skipTaskbar:!0,title:n("Drop Zone",{ns:"common"}),alwaysOnTop:!0,fileDropEnabled:!0,decorations:!0,resizable:!1,minimizable:!1,visible:!1,center:!0,titleBarStyle:"visible",url:"drop-image.html?"+dr.language});h.once(js.WINDOW_CLOSE_REQUESTED,function(){var m;r.value=!1,(m=l==null?void 0:l.current)==null||m.close()}),h.once("tauri://created",function(){h.setCursorVisible(!1),h.setFocus(),h.setSize(new ov(260,260)),h.center(),h.show()}),h.once("tauri://error",function(){var m;(m=l==null?void 0:l.current)==null||m.close()}),l.current=h},children:n("Open Window",{ns:"common"})})]}),o.jsx(Rn,{h:2})]})})]})}finally{e.f()}}function c2e(t){var u,d;const e=Te(8),n=(u=t.width)!=null?u:"24px",r=(d=t.height)!=null?d:"24px";let s,a,i;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("path",{d:"m6.033 4.294-.007 7.865M21.25 10.12v-3c0-1.16-.84-2-2-2h-7m-9 9v2c0 1.05.95 2 2 2h3"}),a=o.jsx("rect",{width:"10",height:"7",x:"11.75",y:"12.707",ry:"2"}),i=o.jsx("path",{d:"m2.25 8.089 7.928.007"}),e[0]=s,e[1]=a,e[2]=i):(s=e[0],a=e[1],i=e[2]);let l;return e[3]!==n||e[4]!==r||e[5]!==t.className||e[6]!==t.onClick?(l=o.jsxs("svg",{width:n,height:r,className:t.className,onClick:t.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[s,a,i]}),e[3]=n,e[4]=r,e[5]=t.className,e[6]=t.onClick,e[7]=l):l=e[7],l}function KU({onCallBack:t}){var e=sn(1);try{const{t:n}=Gt(),r=it(!1),s=v.useRef(null),a=v.useRef(null);v.useEffect(()=>{const l=Zi("tauri://file-drop",u=>{var d,p;((d=u.payload)==null?void 0:d.length)>0&&(t(u.payload[0]),r.value=!1,(p=a.current)==null||p.close())});return()=>{l.then(u=>{u()})}},[]);const i=()=>{var l;r.value=!1,(l=a.current)==null||l.close()};return o.jsxs(Ca,{defaultOpen:!1,open:r.value,modal:!0,onOpenChange:l=>{var u;l||(u=a.current)==null||u.close()},children:[o.jsx(Sa,{asChild:!0,children:o.jsx(te,{tabIndex:0,className:"focus:outline-none",children:o.jsx(st,{text:n("Drag & Drop Path",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1 h-10 w-10 text-slate-400 border-0 hover:text-blue-400 cl",onClick:()=>{r.value=!0},children:o.jsx(c2e,{width:22,height:23,className:"scale-y-[-1]"})})})})})}),o.jsx(aa,{sideOffset:10,align:"center",onOpenAutoFocus:()=>{setTimeout(()=>{var l,u;(l=s.current)==null||l.focus(),(u=s.current)==null||u.click()},300)},className:"bg-gray-100 w-72 shadow-xl p-2",onEscapeKeyDown:()=>{i()},onPointerDownOutside:()=>{i()},children:r.value&&o.jsxs(me,{className:"flex-col p-1 rounded-md",ref:s,children:[o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold",children:n("We need to open a new window where you can drag & drop file, path or application.",{ns:"dashboard"})}),o.jsx(Rn,{h:3}),o.jsxs(me,{children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{i()},children:n("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200",onClick:()=>{const l=new ph("drop-path",{skipTaskbar:!0,title:n("Drop Zone",{ns:"common"}),alwaysOnTop:!0,fileDropEnabled:!0,decorations:!0,resizable:!1,minimizable:!1,visible:!1,center:!0,titleBarStyle:"visible",url:"drop-path.html?"+dr.language});l.once(js.WINDOW_CLOSE_REQUESTED,function(){var u;r.value=!1,(u=a==null?void 0:a.current)==null||u.close()}),l.once("tauri://created",function(){l.setCursorVisible(!1),l.setFocus(),l.setSize(new ov(260,260)),l.center(),l.show()}),l.once("tauri://error",function(){var u;(u=a==null?void 0:a.current)==null||u.close()}),a.current=l},children:n("Open Window",{ns:"common"})})]})]})})]})}finally{e.f()}}const Pl={isCode:!1,isText:!1,isForm:!1,isImage:!1,isCommand:!1,isWebRequest:!1,isWebScraping:!1,isTemplate:!1,isLink:!1,isPath:!1,detectedLanguage:""},u2e=t=>{const e=Te(182),{itemId:n,isCode:r,isImage:s,isText:a,isForm:i,isLink:l,isCommand:u,isWebRequest:d,isTemplate:p,isWebScraping:h,isPath:m,detectedLanguage:b,children:C}=t,{t:g}=Gt(),{CONST:w}=Tt(Cr),{APP_DETECT_LANGUAGES_SUPPORTED:x}=w,{updateItemById:S}=yl();let E;e[0]!==C?(E=o.jsx(Gn,{asChild:!0,children:C}),e[0]=C,e[1]=E):E=e[1];let N;e[2]!==g?(N=g("TypeMenu:::Clip Type",{ns:"common"}),e[2]=g,e[3]=N):N=e[3];let _;e[4]!==N?(_=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{children:N})}),e[4]=N,e[5]=_):_=e[5];let P;e[6]===Symbol.for("react.memo_cache_sentinel")?(P=o.jsx(kn,{}),e[6]=P):P=e[6];const I=!!a;let T;e[7]!==S||e[8]!==n?(T=()=>{S({updatedItem:ae(R({},Pl),{isText:!0,itemId:n})})},e[7]=S,e[8]=n,e[9]=T):T=e[9];const A="".concat(a?"font-semibold":"");let L;e[10]!==g?(L=g("TypeMenu:::Plain Text",{ns:"common"}),e[10]=g,e[11]=L):L=e[11];let z;e[12]!==A||e[13]!==L?(z=o.jsx(re,{className:A,children:L}),e[12]=A,e[13]=L,e[14]=z):z=e[14];let Y;e[15]!==I||e[16]!==T||e[17]!==z?(Y=o.jsx(Cn,{checked:I,onClick:T,children:z}),e[15]=I,e[16]=T,e[17]=z,e[18]=Y):Y=e[18];const O=!!l;let $;e[19]!==S||e[20]!==n?($=()=>{S({updatedItem:ae(R({},Pl),{isLink:!0,itemId:n})})},e[19]=S,e[20]=n,e[21]=$):$=e[21];const M="".concat(l?"font-semibold":"");let W;e[22]!==g?(W=g("TypeMenu:::Link or Email",{ns:"common"}),e[22]=g,e[23]=W):W=e[23];let V;e[24]!==M||e[25]!==W?(V=o.jsx(re,{className:M,children:W}),e[24]=M,e[25]=W,e[26]=V):V=e[26];let U;e[27]!==O||e[28]!==$||e[29]!==V?(U=o.jsx(Cn,{checked:O,onClick:$,children:V}),e[27]=O,e[28]=$,e[29]=V,e[30]=U):U=e[30];const J=!!s;let H;e[31]!==S||e[32]!==n?(H=()=>{S({updatedItem:ae(R({},Pl),{isImage:!0,itemId:n})})},e[31]=S,e[32]=n,e[33]=H):H=e[33];const F="".concat(s?"font-semibold":"");let q;e[34]!==g?(q=g("TypeMenu:::Image",{ns:"common"}),e[34]=g,e[35]=q):q=e[35];let X;e[36]!==F||e[37]!==q?(X=o.jsx(re,{className:F,children:q}),e[36]=F,e[37]=q,e[38]=X):X=e[38];let ne;e[39]!==J||e[40]!==H||e[41]!==X?(ne=o.jsx(Cn,{checked:J,onClick:H,children:X}),e[39]=J,e[40]=H,e[41]=X,e[42]=ne):ne=e[42];const ee=!!m;let G;e[43]!==S||e[44]!==n?(G=()=>{S({updatedItem:ae(R({},Pl),{isPath:!0,itemId:n})})},e[43]=S,e[44]=n,e[45]=G):G=e[45];const Z="".concat(m?"font-semibold":"");let le;e[46]!==g?(le=g("TypeMenu:::File, Path or App",{ns:"common"}),e[46]=g,e[47]=le):le=e[47];let se;e[48]!==Z||e[49]!==le?(se=o.jsx(re,{className:Z,children:le}),e[48]=Z,e[49]=le,e[50]=se):se=e[50];let de;e[51]!==ee||e[52]!==G||e[53]!==se?(de=o.jsx(Cn,{checked:ee,onClick:G,children:se}),e[51]=ee,e[52]=G,e[53]=se,e[54]=de):de=e[54];let ce;e[55]!==r?(ce=r?o.jsx(en,{className:"mr-2 h-4 w-4"}):o.jsx(te,{className:"mr-2 h-4 w-4"}),e[55]=r,e[56]=ce):ce=e[56];const pe="".concat(r?"!font-semibold":"");let ve;e[57]!==g?(ve=g("TypeMenu:::Code Snippet",{ns:"common"}),e[57]=g,e[58]=ve):ve=e[58];let ye;e[59]!==pe||e[60]!==ve?(ye=o.jsxs(re,{className:pe,children:[ve," ..."]}),e[59]=pe,e[60]=ve,e[61]=ye):ye=e[61];let be;e[62]!==ce||e[63]!==ye?(be=o.jsxs(Ws,{children:[ce,ye]}),e[62]=ce,e[63]=ye,e[64]=be):be=e[64];let Ee;e[65]!==b||e[66]!==g?(Ee=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:b?o.jsx(re,{children:eI(b)}):o.jsx(re,{children:g("TypeMenu:::Select Language",{ns:"common"})})}),e[65]=b,e[66]=g,e[67]=Ee):Ee=e[67];let Fe;e[68]===Symbol.for("react.memo_cache_sentinel")?(Fe=o.jsx(kn,{}),e[68]=Fe):Fe=e[68];let qe;e[69]===Symbol.for("react.memo_cache_sentinel")?(qe={height:"auto",maxHeight:"290px"},e[69]=qe):qe=e[69];let ot;if(e[70]!==b||e[71]!==S||e[72]!==n||e[73]!==x){let ut;e[75]!==b||e[76]!==S||e[77]!==n?(ut=xe=>o.jsx(Cn,{checked:b===xe,className:"".concat(b===xe?"font-semibold ":""),onClick:()=>{S({updatedItem:ae(R({},Pl),{isCode:!0,detectedLanguage:xe,itemId:n})})},children:eI(xe)},xe),e[75]=b,e[76]=S,e[77]=n,e[78]=ut):ut=e[78],ot=x.map(ut),e[70]=b,e[71]=S,e[72]=n,e[73]=x,e[74]=ot}else ot=e[74];let Ve;e[79]!==ot?(Ve=o.jsx(or,{className:"code-filter",style:qe,autoHide:!1,children:ot}),e[79]=ot,e[80]=Ve):Ve=e[80];let Ke;e[81]!==Ee||e[82]!==Ve?(Ke=o.jsxs(Vs,{className:"w-40",children:[Ee,Fe,Ve]}),e[81]=Ee,e[82]=Ve,e[83]=Ke):Ke=e[83];let lt;e[84]!==be||e[85]!==Ke?(lt=o.jsxs(na,{children:[be,Ke]}),e[84]=be,e[85]=Ke,e[86]=lt):lt=e[86];const De=!!p;let Ye;e[87]!==S||e[88]!==n?(Ye=()=>{S({updatedItem:ae(R({},Pl),{isTemplate:!0,itemId:n})})},e[87]=S,e[88]=n,e[89]=Ye):Ye=e[89];const dt="".concat(p?"font-semibold":"");let He;e[90]!==g?(He=g("TypeMenu:::Template Fill",{ns:"common"}),e[90]=g,e[91]=He):He=e[91];let mt;e[92]===Symbol.for("react.memo_cache_sentinel")?(mt=o.jsx(Ql,{}),e[92]=mt):mt=e[92];let Ue;e[93]!==dt||e[94]!==He?(Ue=o.jsxs(re,{className:dt,children:[He,mt]}),e[93]=dt,e[94]=He,e[95]=Ue):Ue=e[95];let ht;e[96]!==De||e[97]!==Ye||e[98]!==Ue?(ht=o.jsx(Cn,{checked:De,onClick:Ye,children:Ue}),e[96]=De,e[97]=Ye,e[98]=Ue,e[99]=ht):ht=e[99];const Qe=!!i;let Rt;e[100]!==S||e[101]!==n?(Rt=()=>{S({updatedItem:ae(R({},Pl),{isForm:!0,itemId:n})})},e[100]=S,e[101]=n,e[102]=Rt):Rt=e[102];const Ut="".concat(i?"font-semibold":"");let wt;e[103]!==g?(wt=g("TypeMenu:::Form Auto Fill",{ns:"common"}),e[103]=g,e[104]=wt):wt=e[104];let Xt;e[105]===Symbol.for("react.memo_cache_sentinel")?(Xt=o.jsx(Ql,{}),e[105]=Xt):Xt=e[105];let $t;e[106]!==Ut||e[107]!==wt?($t=o.jsxs(re,{className:Ut,children:[wt,Xt]}),e[106]=Ut,e[107]=wt,e[108]=$t):$t=e[108];let tn;e[109]!==Qe||e[110]!==Rt||e[111]!==$t?(tn=o.jsx(Cn,{checked:Qe,onClick:Rt,children:$t}),e[109]=Qe,e[110]=Rt,e[111]=$t,e[112]=tn):tn=e[112];let Pt;e[113]!==u||e[114]!==d||e[115]!==h?(Pt=u||d||h?o.jsx(en,{className:"mr-2 h-4 w-4"}):o.jsx(te,{className:"mr-2 h-4 w-4"}),e[113]=u,e[114]=d,e[115]=h,e[116]=Pt):Pt=e[116];const We="".concat(u||d||h?"!font-semibold":"");let Je;e[117]!==g?(Je=g("TypeMenu:::Run, Execute",{ns:"common"}),e[117]=g,e[118]=Je):Je=e[118];let jt;e[119]===Symbol.for("react.memo_cache_sentinel")?(jt=o.jsx(Ql,{}),e[119]=jt):jt=e[119];let we;e[120]!==We||e[121]!==Je?(we=o.jsxs(re,{className:We,children:[Je,jt]}),e[120]=We,e[121]=Je,e[122]=we):we=e[122];let je;e[123]!==Pt||e[124]!==we?(je=o.jsxs(Ws,{children:[Pt,we]}),e[123]=Pt,e[124]=we,e[125]=je):je=e[125];const Ie=!!u;let nt;e[126]!==S||e[127]!==n?(nt=()=>{S({updatedItem:ae(R({},Pl),{isCommand:!0,itemId:n})})},e[126]=S,e[127]=n,e[128]=nt):nt=e[128];const Pe="".concat(u?"font-semibold":"");let gt;e[129]!==g?(gt=g("TypeMenu:::Shell Command",{ns:"common"}),e[129]=g,e[130]=gt):gt=e[130];let Ze;e[131]!==Pe||e[132]!==gt?(Ze=o.jsx(re,{className:Pe,children:gt}),e[131]=Pe,e[132]=gt,e[133]=Ze):Ze=e[133];let Re;e[134]!==Ie||e[135]!==nt||e[136]!==Ze?(Re=o.jsx(Cn,{checked:Ie,onClick:nt,children:Ze}),e[134]=Ie,e[135]=nt,e[136]=Ze,e[137]=Re):Re=e[137];const Oe=!!d;let et;e[138]!==S||e[139]!==n?(et=()=>{S({updatedItem:ae(R({},Pl),{isWebRequest:!0,itemId:n})})},e[138]=S,e[139]=n,e[140]=et):et=e[140];const Et="".concat(d?"font-semibold":"");let bt;e[141]!==g?(bt=g("TypeMenu:::Web Request (HTTP)",{ns:"common"}),e[141]=g,e[142]=bt):bt=e[142];let _t;e[143]!==Et||e[144]!==bt?(_t=o.jsx(re,{className:Et,children:bt}),e[143]=Et,e[144]=bt,e[145]=_t):_t=e[145];let Mt;e[146]!==Oe||e[147]!==et||e[148]!==_t?(Mt=o.jsx(Cn,{checked:Oe,onClick:et,children:_t}),e[146]=Oe,e[147]=et,e[148]=_t,e[149]=Mt):Mt=e[149];const an=!!h;let dn;e[150]!==S||e[151]!==n?(dn=()=>{S({updatedItem:ae(R({},Pl),{isWebScraping:!0,itemId:n})})},e[150]=S,e[151]=n,e[152]=dn):dn=e[152];const fn="".concat(h?"font-semibold":"");let mn;e[153]!==g?(mn=g("TypeMenu:::Web Scraper / Parser",{ns:"common"}),e[153]=g,e[154]=mn):mn=e[154];let hn;e[155]!==fn||e[156]!==mn?(hn=o.jsx(re,{className:fn,children:mn}),e[155]=fn,e[156]=mn,e[157]=hn):hn=e[157];let nn;e[158]!==an||e[159]!==dn||e[160]!==hn?(nn=o.jsx(Cn,{checked:an,onClick:dn,children:hn}),e[158]=an,e[159]=dn,e[160]=hn,e[161]=nn):nn=e[161];let on;e[162]!==Re||e[163]!==Mt||e[164]!==nn?(on=o.jsxs(Vs,{className:"w-52",children:[Re,Mt,nn]}),e[162]=Re,e[163]=Mt,e[164]=nn,e[165]=on):on=e[165];let Sn;e[166]!==je||e[167]!==on?(Sn=o.jsxs(na,{children:[je,on]}),e[166]=je,e[167]=on,e[168]=Sn):Sn=e[168];let pn;e[169]!==_||e[170]!==Y||e[171]!==U||e[172]!==ne||e[173]!==de||e[174]!==lt||e[175]!==ht||e[176]!==tn||e[177]!==Sn?(pn=o.jsxs(Wn,{sideOffset:12,align:"center",children:[_,P,Y,U,ne,de,lt,ht,tn,Sn]}),e[169]=_,e[170]=Y,e[171]=U,e[172]=ne,e[173]=de,e[174]=lt,e[175]=ht,e[176]=tn,e[177]=Sn,e[178]=pn):pn=e[178];let rn;return e[179]!==E||e[180]!==pn?(rn=o.jsxs(Kn,{children:[E,pn]}),e[179]=E,e[180]=pn,e[181]=rn):rn=e[181],rn};function eI(t){return t.charAt(0).toUpperCase()+t.slice(1)}function d2e({clipId:t,onComplete:e}){var n=sn(1);try{const{t:r}=Gt(),s=it(!1),a=()=>{s.value=!1,hi.value=null};v.useEffect(()=>()=>{a()},[]);const{currentCollectionId:i}=Tt(Ir),{deleteItemById:l}=U5();return o.jsxs(Ca,{defaultOpen:!1,open:s.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsxs(Se,{variant:"ghost",title:r("Delete Clip",{ns:"dashboard"}),onClick:()=>{s.value=!0,hi.value=t},className:"px-2 h-7 w-full py-0 text-red-500 dark:!text-red-600 hover:text-red-500 bg-transparent hover:bg-red-100 opacity-80 hover:opacity-100",children:[o.jsx(kr,{size:16}),o.jsx(re,{className:"ml-1 !text-red-500 dark:!text-red-600 !font-medium",children:r("Delete",{ns:"common"})})]})}),o.jsx(aa,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{a()},onPointerDownOutside:()=>{a()},children:s.value&&o.jsxs(me,{className:"flex-col",children:[o.jsx(re,{color:"black",size:"sm",className:"!inline-block",children:r("Are you sure you want to delete?",{ns:"dashboard"})}),o.jsx(Rn,{h:3}),o.jsxs(me,{children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a()},children:r("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{l({itemId:t,collectionId:i}),e()},children:r("Delete Clip",{ns:"dashboard"})})]})]})})]})}finally{n.f()}}function f2e(t){const e=Te(12),{isOver:n}=t,{t:r}=Gt(),s=v.useRef(null);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{var h;(h=s.current)==null||h.scrollIntoView({behavior:"auto",block:"center",inline:"nearest"})},e[0]=a):a=e[0];let i;e[1]!==s?(i=[s],e[1]=s,e[2]=i):i=e[2],v.useEffect(a,i);const l="flex flex-row items-center justify-center border-2 my-2 border-dashed rounded-md w-full h-16 ".concat(n?"bg-slate-50/50 dark:bg-slate-700/50 border-blue-400":"bg-slate-50 dark:bg-slate-700 border-slate-200 dark:border-slate-500");let u;e[3]!==n||e[4]!==r?(u=n?r("Drop To Add",{ns:"common"}):o.jsx(Wr,{size:23,className:"".concat(n?"text-blue-400":"text-slate-400")}),e[3]=n,e[4]=r,e[5]=u):u=e[5];let d;e[6]!==u?(d=o.jsx(re,{className:"!text-sm !font-medium !text-blue-500 text-center",children:u}),e[6]=u,e[7]=d):d=e[7];let p;return e[8]!==s||e[9]!==l||e[10]!==d?(p=o.jsx(te,{ref:s,className:l,children:d}),e[8]=s,e[9]=l,e[10]=d,e[11]=p):p=e[11],p}const h2e=v.memo(f2e),tI=["Tab","Enter","TabTab","TabEnter"],Ug={Tab:"Tab",Enter:"Enter",TabTab:"2 Tabs",TabTabTab:"3 Tabs",TabEnter:"Tab, Enter",TabTabEnter:"2Tabs, Enter"},nI=["1s","2s","3s","4s","5s"],GU=["Email","Login","Username","Password","Title","Textarea","Phone","Website","Date","Name","First Name","Last Name","Company","Address","City","State","Zip","Country","Province","Text","Number","Credit Card","CVV Code","Exp. Date","Secret","License Key","Occupation","Gender","Age","Description","Birthdate","API Key","SSN","Custom"];function p2e({showLinkValidationError:t,localOptions:e}){var r,s,a,i,l,u,d,p;var n=sn(1);try{const{t:h}=Gt(),m=it(void 0),b=it(null),C=Co(m.value,300);return v.useEffect(()=>{if(C){if(t.value&&(t.value=void 0),C.length>5){const w=$r().match(C);!w||w.length>1?t.value=!0:t.value=!1}e.value.formOptions||(e.value.formOptions={fields:[],openUrl:null}),e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{openUrl:C})})}},[C]),o.jsxs(te,{className:"select-none mt-1",children:[e.value.formOptions.openUrl!=null&&o.jsxs(me,{className:"text-normal",children:[o.jsx(st,{asChild:!0,text:h("Website URL",{ns:"dashboard"}),isCompact:!0,side:"bottom",children:o.jsx(Se,{variant:"outline",size:"mini",className:"px-2 h-10 pointer-events-none text-slate-500 dark:text-slate-200 border font-semibold text-xs bg-slate-100 dark:bg-slate-700/80 group hover:text-blue-500 mr-1 flex items-center ".concat(((r=e.value.formOptions)==null?void 0:r.isOpenUrlDisabled)===!0?"opacity-70 line-through":""),children:o.jsx("span",{children:h("Open",{ns:"dashboard"})})})}),o.jsx(wn,{defaultValue:(a=(s=e.value.formOptions)==null?void 0:s.openUrl)!=null?a:"",placeholder:h("Enter URL",{ns:"dashboard"}),disabled:(i=e.value.formOptions)==null?void 0:i.isOpenUrlDisabled,classNameInput:"pr-7 text-sm focus:border- ".concat(t.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(t.value===!1?"!border-green-600 !focus:border-green-600":""," ").concat(((l=e.value.formOptions)==null?void 0:l.isOpenUrlDisabled)===!0?"!bg-gray-100 dark:!bg-gray-700 opacity-70":""),suffix:o.jsx(te,{className:"absolute top-3 right-2",children:t.value?o.jsx(st,{text:h("Website URL might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):t.value===!1&&o.jsx(st,{text:h("Website URL is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:g=>{m.value=g.target.value}}),o.jsx(Se,{variant:"ghost",size:"mini",title:h("Open URL Disable / Enable",{ns:"dashboard"}),onClick:()=>{var g;e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{isOpenUrlDisabled:!((g=e.value.formOptions)!=null&&g.isOpenUrlDisabled)})})},className:"".concat((u=e.value.formOptions)!=null&&u.isOpenUrlDisabled?"opacity-70":""," pl-2 h-8 flex items-center hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500"),children:(d=e.value.formOptions)!=null&&d.isOpenUrlDisabled?o.jsx(ba,{size:14}):o.jsx(Va,{size:14})}),o.jsx(Se,{variant:"ghost",size:"mini",title:h("Remove Open URL",{ns:"dashboard"}),onClick:()=>{e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{openUrl:null,isOpenUrlDisabled:!1})})},className:"pl-3 h-10 text-sm font-semibold hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]}),o.jsx(te,{className:"my-2",children:o.jsxs(me,{className:"gap-3 w-full justify-start",children:[o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[h("Add Form Field",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsxs(rt,{className:"text-xs",onClick:()=>{b.value=null,e.value.formOptions||(e.value.formOptions={fields:[]});const g=[...e.value.formOptions.fields];g.push({id:Date.now().toString(),type:"section",pressKeysAfterPaste:qC[0],isEnable:!0,value:""}),e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:g})})},children:[o.jsx(Wr,{size:12,className:"mr-1"}),h("Add Section",{ns:"dashboard"})]}),o.jsx(kn,{}),o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:h("Form Fields",{ns:"dashboard"})})}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:GU.map(g=>o.jsx(rt,{className:"text-xs",onClick:()=>{var S;e.value.formOptions||(e.value.formOptions={fields:[]});const w=[...e.value.formOptions.fields],x=g==="Text"?"text":g==="Number"?"number":g==="Password"||g==="Secret"||g==="API Key"||g==="License Key"||g==="SSN"?"password":g==="CVV Code"?"passwordCode":g==="Textarea"?"textarea":g==="Credit Card"?"creditcard":"text";w.push({id:Date.now().toString(),label:g,type:x,pressKeysAfterPaste:qC[0],isEnable:!0,value:""}),e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:w})}),g==="Custom"&&(b.value=(S=w[w.length-1].id)!=null?S:null)},children:g},g))})]})]}),o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[h("Key Press",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:h("Add Key Press",{ns:"dashboard"})})}),o.jsx(kn,{}),qC.map(g=>o.jsx(rt,{className:"text-xs",onClick:()=>{e.value.formOptions||(e.value.formOptions={fields:[]});const w=[...e.value.formOptions.fields];w.push({id:Date.now().toString(),isPressKeysOnly:!0,isEnable:!0,pressKeysAfterPaste:g}),e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:w})})},children:Ug[g]},g))]})]}),o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[h("Delay",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:h("Add Delay Time",{ns:"dashboard"})})}),o.jsx(kn,{}),nI.map(g=>o.jsxs(rt,{className:"text-xs",onClick:()=>{b.value=null,e.value.formOptions||(e.value.formOptions={fields:[]});const w=[...e.value.formOptions.fields];w.push({id:Date.now().toString(),isDelayOnly:!0,value:g,isEnable:!0}),e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:w})})},children:[g==="1s"&&"1 ".concat(h("Second",{ns:"common"})),g==="2s"&&"2 ".concat(h("Seconds",{ns:"common"})),g==="3s"&&"3 ".concat(h("Seconds",{ns:"common"})),g==="4s"&&"4 ".concat(h("Seconds",{ns:"common"})),g==="5s"&&"5 ".concat(h("Seconds",{ns:"common"}))]},g))]})]}),e.value.formOptions.openUrl==null&&o.jsx(re,{className:"!text-blue-500 hover:underline cursor-pointer text-center",size:"xs",onClick:()=>{e.value.formOptions||(e.value.formOptions={fields:[]}),e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{openUrl:"",isOpenUrlDisabled:!1})})},children:h("Add Open URL",{ns:"dashboard"})})]})}),(p=e.value.formOptions)==null?void 0:p.fields.map((g,w)=>{var P,I,T,A,L,z,Y,O;const x=g.isLabelOnTop,S=g.isLabelHidden,E=g.type==="section",N=g.id===b.value,_=g.type==="textarea";return o.jsxs(me,{className:"".concat(g.type!=="section"?"mb-1":"mt-1"," group ").concat(x?"flex-col items-start":"items-center"," ").concat(_?"!mt-2 !mb-1":""),children:[!S&&o.jsx(o.Fragment,{children:(g.label||N)&&g.type!=="section"?o.jsx(re,{className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(x?"!justify-start pl-1":"!justify-end"),children:N?o.jsxs(me,{className:"whitespace-nowrap pr-1 min-w-[120px] text-left",children:[o.jsx(wn,{defaultValue:g.label,small:!0,placeholder:h("Enter Label",{ns:"dashboard"}),autoFocus:!0,onKeyDown:$=>{($.key==="Enter"||$.key==="Escape")&&(b.value=null,e.value=ae(R({},e.value),{formOptions:R({},e.value.formOptions)}))},onChange:$=>{g.label=$.target.value.trim()}}),o.jsx(Se,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{b.value=null,e.value=ae(R({},e.value),{formOptions:R({},e.value.formOptions)})},title:h("Done Edit",{ns:"common"}),children:o.jsx(en,{size:18})})]}):o.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(x?"text-left":"text-right max-w-[160px]"),children:g.label})}):o.jsx("div",{className:"pr-1 min-w-[80px]"})}),o.jsxs(me,{className:"w-full",children:[o.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:o.jsxs(me,{className:"w-full gap-1",children:[g.isDelayOnly||g.isPressKeysOnly?o.jsxs(me,{className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full justify-end mr-1 py-1"),children:[g.isDelayOnly&&o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(St,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap",children:[h("Delay",{ns:"dashboard"})," ",g.value,o.jsx(Bn,{size:13,className:"ml-0.5 mr-0"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:h("Delay",{ns:"dashboard"})}),o.jsx(kn,{}),nI.map($=>o.jsxs(rt,{className:"text-xs",onClick:()=>{b.value=null,g.value=$,e.value=R({},e.value)},children:[$==="1s"&&"1 Second",$==="2s"&&"2 Seconds",$==="3s"&&"3 Seconds",$==="4s"&&"4 Seconds",$==="5s"&&"5 Seconds"]},$))]})]}),g.isPressKeysOnly&&g.pressKeysAfterPaste&&o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",variant:"ghost",disabled:g.isEnable===!1,title:h("Key Press After",{ns:"dashboard"}),className:"text-sm font-semibold hover:bg-transparent mr-1",children:o.jsxs(St,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap",children:[h("Press",{ns:"dashboard"})," ",Ug[g.pressKeysAfterPaste],o.jsx(Bn,{size:13,className:"ml-0.5 mr-0"})]})})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:h("Key Press",{ns:"dashboard"})})}),o.jsx(kn,{}),tI.map($=>o.jsx(rt,{className:"text-xs",onClick:()=>{g.pressKeysAfterPaste=$,e.value=ae(R({},e.value),{formOptions:R({},e.value.formOptions)})},children:Ug[$]},$)),o.jsx(kn,{}),o.jsxs(rt,{className:"text-xs text-red-400",onClick:()=>{e.value.formOptions.fields=e.value.formOptions.fields.filter($=>$.id!==g.id),e.value=R({},e.value)},children:[o.jsx(re,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:h("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(t0,{className:"ml-auto text-red-400 dark:text-red-600",size:13})})]})]})]})]}):g.type==="password"||g.type==="passwordCode"?o.jsx(wn,{small:!0,placeholder:g.type==="passwordCode"?h("Enter code",{ns:"dashboard"}):h("Enter secret value",{ns:"dashboard"}),autoFocus:w===((P=e.value.formOptions.fields)==null?void 0:P.length)-1&&e.value.formOptions.fields[w].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:g.isEnable===!1,isPassword:!0,numbersOnly:g.type==="passwordCode",showHidePassword:!0,className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:$=>{g.value=$.target.value.trim()},defaultValue:g.value}):g.type==="creditcard"?o.jsx(Ex,{small:!0,placeholder:h("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:g.isEnable===!1,autoFocus:w===((I=e.value.formOptions.fields)==null?void 0:I.length)-1&&e.value.formOptions.fields[w].value==="",className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:$=>{g.value=$},ccNumber:g.value}):E?o.jsx(wn,{small:!0,placeholder:h("Enter section label",{ns:"dashboard"}),classNameInput:"text-sm font-semibold border-b border-0 border-transparent hover:border-gray-200 focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis pl-1.5 dark:!text-slate-300 dark:bg-slate-900",autoFocus:w===((T=e.value.formOptions.fields)==null?void 0:T.length)-1&&e.value.formOptions.fields[w].value==="",onChange:$=>{g.value=$.target.value.trim()},defaultValue:g.value}):g.type==="textarea"?o.jsx(ko,{placeholder:h("Enter field value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:g.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:w===((A=e.value.formOptions.fields)==null?void 0:A.length)-1&&e.value.formOptions.fields[w].value==="",maxRows:2,value:g.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:$=>{$.stopPropagation()},onChange:$=>{g.value=$.target.value,e.value=ae(R({},e.value),{formOptions:R({},e.value.formOptions)})}}):o.jsx(wn,{small:!0,placeholder:h("Enter field value",{ns:"dashboard"}),autoFocus:w===((L=e.value.formOptions.fields)==null?void 0:L.length)-1&&e.value.formOptions.fields[w].value===""&&e.value.formOptions.fields[w].label!=="Custom",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:g.isEnable===!1,type:g.type==="number"?"number":"text",className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:$=>{g.value=$.target.value.trim()},defaultValue:g.value}),g.isDelayOnly||g.isPressKeysOnly||E?o.jsx(o.Fragment,{}):o.jsx(me,{children:o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",variant:"ghost",disabled:g.isEnable===!1,title:h("Key Press After",{ns:"dashboard"}),className:"text-sm font-semibold hover:bg-transparent mr-1",children:g.pressKeysAfterPaste?o.jsxs(St,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap hover:text-blue-500",children:[Ug[g.pressKeysAfterPaste],o.jsx(Bn,{size:13,className:"ml-0.5 mr-0"})]}):o.jsxs(St,{variant:"secondary",className:"pl-1 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap hover:text-blue-500",children:[o.jsx(Wr,{size:13,className:"ml-0.5 mr-0"}),o.jsx(Bn,{size:13,className:"ml-0.5 mr-0"})]})})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:h("Key Press After",{ns:"dashboard"})})}),o.jsx(kn,{}),tI.map($=>o.jsx(rt,{className:"text-xs",onClick:()=>{g.pressKeysAfterPaste=$,e.value=ae(R({},e.value),{formOptions:R({},e.value.formOptions)})},children:Ug[$]},$)),o.jsx(kn,{}),o.jsxs(rt,{className:"text-xs text-red-400",onClick:()=>{g.pressKeysAfterPaste=null,e.value=ae(R({},e.value),{formOptions:R({},e.value.formOptions)})},children:[o.jsx(re,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:h("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(t0,{className:"ml-auto text-red-400 dark:text-red-600",size:13})})]})]})]})})]})}),o.jsxs(me,{className:"gap-1 ml-0.5",children:[g.type!=="section"&&o.jsx(Se,{size:"mini",title:h("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var $;b.value=null,e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:($=e.value.formOptions)==null?void 0:$.fields.map((M,W)=>W===w?ae(R({},M),{isEnable:!M.isEnable}):M)})})},children:(z=e.value.formOptions)!=null&&z.fields&&((O=(Y=e.value.formOptions)==null?void 0:Y.fields[w])!=null&&O.isEnable)?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",title:h("Field Options",{ns:"dashboard"}),variant:"ghost",onClick:()=>{e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:Ur(e.value.formOptions.fields||[],w,w-1)})})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:o.jsx(xl,{size:14})})}),o.jsxs(Wn,{align:"end",children:[o.jsxs(rt,{disabled:w===0,onClick:()=>{e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:Ur(e.value.formOptions.fields||[],w,w-1)})})},className:"text-[13px] py-1",children:[o.jsx(re,{size:"xs",children:h("Move Up",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(fx,{size:13})})]}),o.jsxs(rt,{disabled:e.value.formOptions.fields?w===e.value.formOptions.fields.length-1:!1,onClick:()=>{e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:Ur(e.value.formOptions.fields||[],w,w+1)})})},className:"text-[13px] py-1",children:[o.jsx(re,{size:"xs",children:h("Move Down",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(dx,{size:13})})]}),o.jsx(kn,{}),!E&&!S&&o.jsxs(rt,{onClick:()=>{var $;N?b.value=null:b.value=($=g.id)!=null?$:null},children:[N?o.jsx(re,{size:"xs",children:h("Done Edit",{ns:"common"})}):o.jsx(re,{size:"xs",children:h("Edit Label",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(G2,{size:13})})]}),g.type!=="section"&&o.jsx(o.Fragment,{children:g.isLabelOnTop?o.jsxs(rt,{onClick:()=>{var $;b.value=null,e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:($=e.value.formOptions)==null?void 0:$.fields.map((M,W)=>W===w?ae(R({},M),{isLabelHidden:!1,isLabelOnTop:!1}):M)})})},children:[o.jsx(re,{size:"xs",children:h("Label Left",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(uz,{size:13})})]}):o.jsxs(rt,{onClick:()=>{var $;b.value=null,e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:($=e.value.formOptions)==null?void 0:$.fields.map((M,W)=>W===w?ae(R({},M),{isLabelHidden:!1,isLabelOnTop:!0}):M)})})},children:[o.jsx(re,{size:"xs",children:h("Label Top",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(fz,{size:13})})]})}),S?o.jsxs(rt,{onClick:()=>{var $;b.value=null,e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:($=e.value.formOptions)==null?void 0:$.fields.map((M,W)=>W===w?ae(R({},M),{isLabelHidden:!1}):M)})})},children:[E?o.jsx(re,{size:"xs",children:h("Label Offset",{ns:"dashboard"})}):o.jsx(re,{size:"xs",children:h("Show Label",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(gz,{size:13})})]}):o.jsxs(rt,{onClick:()=>{var $;e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:($=e.value.formOptions)==null?void 0:$.fields.map((M,W)=>W===w?ae(R({},M),{isLabelHidden:!0}):M)})})},children:[E?o.jsx(re,{size:"xs",children:h("Label on Left",{ns:"dashboard"})}):o.jsx(re,{size:"xs",children:h("Hide Label",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(q8,{size:13})})]}),o.jsx(kn,{}),o.jsxs(rt,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onClick:()=>{var $,M;e.value=ae(R({},e.value),{formOptions:ae(R({},e.value.formOptions),{fields:(M=($=e.value.formOptions)==null?void 0:$.fields)==null?void 0:M.filter((W,V)=>V!==w)})})},children:[o.jsx(re,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:h("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(kr,{size:13})})]})]})]})]})]})]},g.id)})]})}finally{n.f()}}function m2e({clipValue:t,templateMissingFields:e,templateFoundFields:n,checkForTemplateFieldsCallback:r,isLargeView:s,localOptions:a}){var l;var i=sn(1);try{const{t:u}=Gt(),d=it(null),p=it(null),h=it(null),m=it(null),b=v.useRef(null),C=it(!1),g=it(Date.now().toString()),w=["text","textarea","select"];return o.jsxs(te,{className:"select-none mt-1",children:[o.jsx(te,{className:"my-2",children:o.jsxs(me,{className:"gap-3 w-full justify-start",children:[o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[u("Add Template Field",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:u("General Fields",{ns:"dashboard"})})}),o.jsx(kn,{}),w.map(x=>o.jsxs(rt,{className:"text-xs",onClick:()=>{var E;d.value=null,a.value.templateOptions||(a.value.templateOptions=[]);const S=a.value.templateOptions.map(N=>{var _,P,I;return(_=N.label)!=null&&_.trim()||(N.label="".concat(N.type&&((P=N.type)==null?void 0:P.charAt(0).toUpperCase())+((I=N.type)==null?void 0:I.slice(1))," ").concat(u("Field",{ns:"dashboard"}))),N});S.push({id:Date.now().toString(),type:x,label:"".concat(x.charAt(0).toUpperCase()+x.slice(1)),isEnable:!0,value:""}),a.value=ae(R({},a.value),{templateOptions:[...S]}),d.value=(E=S[S.length-1].id)!=null?E:null},children:[o.jsx(Wr,{size:12,className:"mr-1"}),u("{{type}} Field",{ns:"dashboard",type:x.charAt(0).toUpperCase()+x.slice(1)})]},x)),o.jsx(kn,{}),o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:u("Common Fields",{ns:"dashboard"})})}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:GU.map(x=>o.jsx(rt,{className:"text-xs",onClick:()=>{var P,I;a.value.templateOptions||(a.value.templateOptions=[]),C.value=!1;const S=[...a.value.templateOptions],E=x==="Text"?"text":x==="Number"?"number":x==="Password"||x==="Secret"||x==="API Key"||x==="License Key"||x==="SSN"?"password":x==="CVV Code"?"passwordCode":x==="Textarea"?"textarea":x==="Credit Card"?"creditcard":"text",N=(P=a.value.templateOptions)==null?void 0:P.every(T=>T.label!==x);N||(C.value=!0);const _=N?x:"".concat(x," ").concat(a.value.templateOptions.length+1);S.push({id:Date.now().toString(),label:_,type:E,isEnable:!0,value:""}),a.value=ae(R({},a.value),{templateOptions:S}),x==="Custom"&&(d.value=(I=S[S.length-1].id)!=null?I:null)},children:x},x))}),o.jsx(kn,{}),o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:o.jsx(re,{children:u("Special Field",{ns:"dashboard"})})}),o.jsxs(rt,{className:"text-xs",onClick:()=>{var E;if(d.value=null,a.value.templateOptions||(a.value.templateOptions=[]),(E=a.value.templateOptions)==null?void 0:E.some(N=>N.label==="Clipboard")){a.value.templateOptions=a.value.templateOptions.map(N=>(N.label==="Clipboard"&&(N.isEnable=!0),N));return}const S=a.value.templateOptions.map(N=>N);S.push({id:Date.now().toString(),type:"text",label:"Clipboard",isEnable:!0,value:""}),a.value=ae(R({},a.value),{templateOptions:[...S]})},children:[o.jsx(Wr,{size:12,className:"mr-1"}),u("Clipboard",{ns:"dashboard"})]})]})]}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{variant:"ghost",size:"mini",className:"cursor-pointer ml-auto hover:bg-transparent !px-2 !py-0",children:o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[u("Fields Value",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})})}),o.jsx(Wn,{sideOffset:12,align:"center",children:o.jsxs(rt,{className:"text-center items-center justify-center py-1 text-xs",onSelect:()=>{a.value.templateOptions=a.value.templateOptions.map(x=>(x.value="",x)),a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]}),g.value=Date.now().toString()},children:[o.jsx(re,{children:u("Clear All Fields",{ns:"dashboard"})}),o.jsx(sE,{size:14,className:"ml-1 text-slate-400"})]})})]})]})}),(l=a.value.templateOptions)==null?void 0:l.map((x,S)=>{var T,A,L,z,Y,O,$,M;const E=x.id===d.value,N=x.type==="textarea",_=x.isLabelOnTop,P=(T=x.selectOptions)==null?void 0:T.find(W=>W===x.value),I=!((A=x.selectOptions)!=null&&A.length);return o.jsxs(me,{className:"mb-1 group ".concat(_?"flex-col items-start":"items-center"," ").concat(N?"!mt-2 !mb-1":""),children:[x.label||E?o.jsx(me,{className:"".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(_?"!justify-start pl-1":"!justify-end"),children:E?o.jsxs(me,{className:"whitespace-nowrap pr-1 min-w-[120px] text-left",children:[o.jsx(wn,{defaultValue:x.label,small:!0,placeholder:u("Enter Label",{ns:"dashboard"}),autoFocus:!0,onKeyDown:W=>{var V;(W.key==="Enter"||W.key==="Escape")&&(d.value=null,C.value=!1,(V=a.value.templateOptions)!=null&&V.every((J,H)=>H!==S?J.label!==x.label:!0)||(x.label="".concat(x.label," ").concat(S+1)),a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]}))},onChange:W=>{x.label=W.target.value.trim()}}),o.jsx(Se,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{d.value=null,a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]})},title:u("Done Edit",{ns:"common"}),children:o.jsx(en,{size:18})})]}):o.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(_?"text-left":"text-right max-w-[160px]"),children:x.label})}):o.jsx("div",{className:"pr-1 min-w-[80px]"}),o.jsxs(me,{className:"w-full",children:[o.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:o.jsx(me,{className:"w-full gap-1",children:x.type==="password"||x.type==="passwordCode"?o.jsx(wn,{small:!0,placeholder:x.type==="passwordCode"?u("Enter code",{ns:"dashboard"}):u("Enter secret value",{ns:"dashboard"}),autoFocus:S===a.value.templateOptions.length-1&&a.value.templateOptions[S].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:x.isEnable===!1,isPassword:!0,numbersOnly:x.type==="passwordCode",showHidePassword:!0,className:"".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:W=>{x.value=W.target.value.trim()},defaultValue:x.value},g.value):x.type==="creditcard"?o.jsx(Ex,{small:!0,placeholder:u("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:x.isEnable===!1,autoFocus:S===((L=a.value.templateOptions)==null?void 0:L.length)-1&&a.value.templateOptions[S].value==="",className:"".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:W=>{x.value=W},ccNumber:x.value},g.value):x.type==="textarea"?o.jsx(ko,{placeholder:u("Enter default value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:x.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:S===a.value.templateOptions.length-1&&a.value.templateOptions[S].value===""&&a.value.templateOptions[S].label!=="Textarea",maxRows:2,value:x.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:W=>{W.stopPropagation()},onChange:W=>{x.value=W.target.value,a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]})}},g.value):x.type==="select"?o.jsx(me,{className:"justify-start items-center w-full my-1",children:p.value!==x.id&&h.value!==x.id?o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",variant:"ghost",disabled:x.isEnable===!1,className:"rounded-sm font-semibold hover:bg-transparent ml-0 px-2 py-1 w-full border border-slate-300 hover:border-blue-500 dark:border-slate-800 dark:hover:border-blue-500 dark:bg-slate-900 dark:hover:bg-slate-900 dark:text-slate-300 dark:hover:text-blue-500",children:o.jsxs(me,{className:"flex items-center justify-start w-full gap-1",children:[o.jsx(re,{className:"!text-slate-700 dark:!text-slate-300 text-ellipsis overflow-hidden !block line-clamp-2",children:I?u("Select is empty",{ns:"common"}):P||u("Select default",{ns:"common"})}),o.jsx(me,{className:"w-[18px] h-[18px] ml-0.5 mr-0",children:o.jsx(Bn,{size:13})})]})})}),o.jsxs(Wn,{sideOffset:12,align:"start",className:"max-w-[300px]",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:I?o.jsx(re,{children:u("Select is empty",{ns:"common"})}):o.jsx(re,{children:u("Select Default Option",{ns:"dashboard"})})}),!I&&o.jsxs(o.Fragment,{children:[o.jsx(kn,{}),(Y=(z=a.value.templateOptions[S])==null?void 0:z.selectOptions)==null?void 0:Y.map((W,V)=>o.jsxs(Cn,{checked:x.value===W,onSelect:()=>{x.value=W,a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]})},children:[o.jsx(re,{className:"text-xs ".concat(x.value===W?"font-semibold":""),children:W}),x.value===W&&o.jsxs(me,{className:"ml-auto gap-2 pl-2 opacity-60 hover:opacity-100",children:[o.jsx(G2,{size:13,className:"cursor-pointer hover:text-blue-500 dark:hover:text-blue-400",onClick:()=>{var U;h.value=null,m.value=W,p.value=(U=x.id)!=null?U:null}}),o.jsx(h6,{size:13,className:"cursor-pointer hover:text-red-500 dark:hover:text-red-400",onClick:U=>{var H,F,q,X,ne;U.stopPropagation();const J=(F=(H=x.selectOptions)==null?void 0:H.indexOf(W))!=null?F:-1;if(x.selectOptions=(q=x.selectOptions)==null?void 0:q.filter(ee=>ee!==W),J!==-1){const ee=(X=x.selectOptions)==null?void 0:X[J-1],G=(ne=x.selectOptions)==null?void 0:ne[J];x.value=ee||G||void 0}a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]})}})]})]},V))]}),o.jsx(kn,{}),o.jsx(rt,{className:"text-center items-center justify-center py-0.5 text-xs",onClick:()=>{var W;I&&(x.selectOptions=[]),m.value=null,p.value=null,h.value=(W=x.id)!=null?W:null},children:o.jsxs(re,{size:"xs",className:"!text-blue-500 dark:!text-blue-400",children:[o.jsx(Wr,{size:13}),I?u("Add First Option",{ns:"common"}):u("Add Option",{ns:"common"})]})})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(wn,{small:!0,placeholder:u("Enter select option",{ns:"dashboard"}),autoFocus:!!a.value.templateOptions[S].label,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:x.isEnable===!1,type:"text",className:"".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),onKeyDown:W=>{var V,U,J;W.key==="Escape"?(m.value&&(x.value=m.value),p.value=null,m.value=null,h.value=null):W.key==="Enter"&&(m.value&&p.value===x.id?x.selectOptions=(V=x.selectOptions)==null?void 0:V.map(H=>H===m.value&&x.value||H):h.value===x.id&&x.value&&!((U=x.selectOptions)!=null&&U.includes(x.value))&&((J=x.selectOptions)==null||J.push(x.value)),a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]}),m.value=null,p.value=null,h.value=null)},onChange:W=>{x.value=W.target.value.trim()},defaultValue:h.value===x.id?"":x.value},g.value),o.jsx(Se,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{var W,V,U;m.value&&p.value===x.id?x.selectOptions=(W=x.selectOptions)==null?void 0:W.map(J=>J===m.value&&x.value||J):h.value===x.id&&x.value&&!((V=x.selectOptions)!=null&&V.includes(x.value))&&((U=x.selectOptions)==null||U.push(x.value)),a.value=ae(R({},a.value),{templateOptions:[...a.value.templateOptions]}),m.value=null,p.value=null,h.value=null},title:h.value===x.id?u("Add Option",{ns:"common"}):u("Done Edit",{ns:"common"}),children:h.value===x.id?o.jsx(Wr,{size:18}):p.value===x.id&&o.jsx(en,{size:18})}),o.jsx(Se,{size:"mini",variant:"ghost",className:"h-8 w-8 text-slate-400 dark:bg-transparent",onClick:()=>{m.value&&(x.value=m.value),p.value=null,m.value=null,h.value=null},title:u("Cancel",{ns:"common"}),children:o.jsx(In,{size:15})})]})}):((O=x.label)==null?void 0:O.toLocaleLowerCase())!=="clipboard"?o.jsx(wn,{small:!0,placeholder:u("Enter default value",{ns:"dashboard"}),autoFocus:a.value.templateOptions[S].label!=="Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:x.isEnable===!1,type:x.type==="number"?"number":"text",className:"".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:W=>{x.value=W.target.value.trim()},defaultValue:x.value},g.value):o.jsxs(o.Fragment,{children:[o.jsx(wn,{small:!0,value:x.isValueMasked?mv(u("This field allows to insert text from clipboard",{ns:"dashboard"})):u("This field allows to insert text from clipboard",{ns:"dashboard"}),title:u("This field allows to insert text from clipboard",{ns:"dashboard"}),autoFocus:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 opacity-100 dark:bg-transparent",disabled:!0,type:"text",className:"".concat(x.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full")}),o.jsx(st,{isCompact:!0,text:u("Mask to hide clipboard value in preview",{ns:"dashboard"}),children:o.jsx(lk,{width:15,height:15,className:"".concat(x.isValueMasked?"text-blue-500 opacity-100":"text-slate-500 opacity-50"," hover:text-blue-500 dark:hover:text-blue-400 hover:opacity-100 cursor-pointer"),onClick:()=>{var W;a.value=ae(R({},a.value),{templateOptions:[...(W=a.value.templateOptions)==null?void 0:W.map((V,U)=>U===S?ae(R({},V),{isValueMasked:!V.isValueMasked}):V)]})}})})]})})}),o.jsxs(me,{className:"gap-1 ml-0.5",children:[x.type!=="section"&&o.jsx(Se,{size:"mini",title:u("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var W;d.value=null,a.value=ae(R({},a.value),{templateOptions:[...(W=a.value.templateOptions)==null?void 0:W.map((V,U)=>U===S?ae(R({},V),{isEnable:!V.isEnable}):V)]})},children:a.value.templateOptions&&(($=a.value.templateOptions[S])!=null&&$.isEnable)?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",title:u("Field Options",{ns:"dashboard"}),variant:"ghost",onClick:()=>{a.value=ae(R({},a.value),{templateOptions:[...Ur(a.value.templateOptions||[],S,S-1)]})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:o.jsx(xl,{size:14})})}),o.jsxs(Wn,{align:"end",children:[o.jsxs(rt,{disabled:S===0,onClick:()=>{a.value=ae(R({},a.value),{templateOptions:[...Ur(a.value.templateOptions||[],S,S-1)]})},className:"text-[13px] py-1",children:[o.jsx(re,{size:"xs",children:u("Move Up",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(fx,{size:13})})]}),o.jsxs(rt,{disabled:a.value.templateOptions?S===a.value.templateOptions.length-1:!1,onClick:()=>{a.value=ae(R({},a.value),{templateOptions:[...Ur(a.value.templateOptions||[],S,S+1)]})},className:"text-[13px] py-1",children:[o.jsx(re,{size:"xs",children:u("Move Down",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(dx,{size:13})})]}),o.jsx(kn,{}),((M=x.label)==null?void 0:M.toLocaleLowerCase())!=="clipboard"&&o.jsxs(rt,{onClick:()=>{var W;E?d.value=null:d.value=(W=x.id)!=null?W:null},children:[E?o.jsx(re,{size:"xs",children:u("Done Edit",{ns:"common"})}):o.jsx(re,{size:"xs",children:u("Edit Label",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(G2,{size:13})})]}),x.isLabelOnTop?o.jsxs(rt,{onClick:()=>{var W;d.value=null,a.value=ae(R({},a.value),{templateOptions:[...(W=a.value.templateOptions)==null?void 0:W.map((V,U)=>U===S?ae(R({},V),{isLabelOnTop:!1}):V)]})},children:[o.jsx(re,{size:"xs",children:u("Label Left",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(uz,{size:13})})]}):o.jsxs(rt,{onClick:()=>{var W;d.value=null,a.value=ae(R({},a.value),{templateOptions:[...(W=a.value.templateOptions)==null?void 0:W.map((V,U)=>U===S?ae(R({},V),{isLabelOnTop:!0}):V)]})},children:[o.jsx(re,{size:"xs",children:u("Label Top",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(fz,{size:13})})]}),o.jsx(kn,{}),o.jsxs(rt,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onClick:()=>{var W;a.value=ae(R({},a.value),{templateOptions:[...(W=a.value.templateOptions)==null?void 0:W.filter((V,U)=>U!==S)]}),r()},children:[o.jsx(re,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:u("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(kr,{size:13})})]})]})]})]})]})]},S)}),C.value&&o.jsxs(re,{className:"!text-amber-800 dark:!text-amber-400 text-[13px] my-2 bg-yellow-50 dark:bg-yellow-900 p-2 relative",children:[u("All field labels must be unique to ensure they are correctly used within the template.",{ns:"dashboard"}),o.jsx(In,{className:"absolute top-0 right-0 m-2 bg-yellow-50 dark:bg-yellow-900 z-10 cursor-pointer hover:bg-yellow-100 dark:hover:bg-yellow-800",size:14,onClick:()=>{C.value=!1}})]}),e.value.length>0&&o.jsxs(me,{className:"rounded-md gap-2 my-3 items-start justify-start flex-wrap !text-amber-800 dark:!text-amber-400 text-[13px] bg-yellow-50 dark:bg-amber-950 p-2",children:[o.jsxs(re,{className:"!text-amber-700 dark:!text-amber-500 text-[13px] w-full",children:[o.jsx(Ti,{size:13,className:"mr-1"}),u("Found in template but missing from fields definition",{ns:"common"}),":"]}),e==null?void 0:e.value.map((x,S)=>o.jsx(te,{className:"cursor-pointer",onClick:()=>{var P;a.value.templateOptions||(a.value.templateOptions=[]),C.value=!1;const E=[...a.value.templateOptions],N=(P=a.value.templateOptions)==null?void 0:P.every(I=>I.label!==x);N||(C.value=!0);const _=N?x:"".concat(x," ").concat(a.value.templateOptions.length+1);E.push({id:Date.now().toString(),label:_,type:"text",isEnable:!0,value:""}),a.value=ae(R({},a.value),{templateOptions:E}),r()},children:o.jsxs(St,{variant:"outline",className:"bg-red-50 dark:bg-red-950/80 hover:bg-blue-50 dark:hover:bg-blue-950/80 border-red-100 dark:border-red-900 hover:border-blue-100 dark:hover:border-blue-800 group text-normal pr-2.5",children:[o.jsx(st,{text:u("Add to template fields",{ns:"common"}),sideOffset:5,isCompact:!0,side:"bottom",children:o.jsxs(me,{className:"group !text-red-500 dark:!text-red-400 hover:!text-blue-500 dark:hover:!text-blue-400 font-semibold mr-0.5",children:[o.jsx(d5,{size:12,className:"mr-0.5 group-hover:block hidden"}),o.jsx(Wr,{size:12,className:"mr-0.5 group-hover:hidden"}),x]})}),o.jsx(st,{text:u("Remove from template",{ns:"common"}),sideOffset:10,isCompact:!0,side:"bottom",children:o.jsx(In,{onClick:E=>{var N;E.preventDefault(),E.stopPropagation(),(N=b.current)==null||N.handleRemoveTemplateField(x)},size:12,className:"ml-0.5 mr-0 hover:!text-red-600 dark:hover:!text-red-500 group-hover:text-blue-300 dark:group-hover:text-blue-400 text-red-300 dark:text-red-400 cursor-pointer"})},S)]})},S))]}),o.jsxs(o.Fragment,{children:[a.value.templateOptions.length>0&&o.jsxs(me,{className:"gap-2 my-3 items-start justify-start flex-wrap",children:[a.value.templateOptions.map((x,S)=>{var E;return!x.label||!x.label.length?null:x.label&&(n!=null&&n.value.includes((E=x.label)==null?void 0:E.toLocaleLowerCase()))?o.jsx(st,{text:x.isEnable?x.label==="Clipboard"?o.jsx(ls,{i18nKey:"Field {{Clipboard}} has been found in the template. This allows you to copy text to the clipboard, and it will be inserted into the template",ns:"common"}):o.jsx(ls,{i18nKey:"Field {{{{name}}}} has been found in the template",ns:"dashboard",values:{name:x.label}}):o.jsx(ls,{i18nKey:"Disabled field {{{{name}}}} has been found in the template",ns:"dashboard",values:{name:x.label}}),isCompact:!0,side:"bottom",children:o.jsx(re,{className:"".concat(x.isEnable?"!text-green-600 dark:!text-green-400":"!text-gray-400 dark:!text-gray-500"," !font-normal group"),size:"xs",children:o.jsxs(St,{variant:"outline",className:"".concat(x.isEnable?"bg-green-100 dark:bg-green-900 hover:bg-green-100/70 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"bg-gray-100 dark:bg-gray-800/70 hover:bg-gray-100/70 dark:hover:bg-gray-700/70 border-gray-200 dark:border-gray-700"," text-normal pr-2.5 group-hover:pr-1.5"),children:[o.jsx(en,{size:12,className:"mr-0.5"}),x.label,o.jsx(st,{text:u("Remove from template",{ns:"common"}),sideOffset:10,isCompact:!0,side:"bottom",children:o.jsx(In,{onClick:()=>{var N;(N=b.current)==null||N.handleRemoveTemplateField(x.label)},size:12,className:"".concat(x.isEnable?"text-green-600 dark:text-green-400":"text-gray-400 dark:text-gray-500"," ml-1 hover:!text-red-600 dark:hover:!text-red-300 group-hover:block animate-in fade-in hidden cursor-pointer")})})]})})},S):o.jsx(st,{text:x.isEnable?x.label==="Clipboard"?o.jsx(ls,{i18nKey:"Add {{Clipboard}} field to template. This allows you to copy text to the clipboard, and it will be inserted into the template",ns:"common"}):o.jsx(ls,{i18nKey:"Add field {{{{name}}}} into the template",ns:"dashboard",values:{name:x.label}}):o.jsx(ls,{i18nKey:"Disabled field {{{{name}}}}",ns:"dashboard",values:{name:x.label}}),isCompact:!0,side:"bottom",children:o.jsx(re,{className:"".concat(x.isEnable?"!text-slate-500 dark:!text-slate-600 hover:!text-blue-500 dark:hover:!text-blue-700 cursor-pointer":"!text-gray-300 dark:!text-gray-600 "," group !font-normal"),size:"xs",onClick:()=>{var N;x.isEnable&&((N=b==null?void 0:b.current)==null||N.handleAddText("{{".concat(x.label,"}}")))},children:o.jsxs(St,{variant:"outline",className:"".concat(x.isEnable?"bg-white dark:bg-slate-300/90 hover:bg-blue-50 dark:hover:bg-blue-300 border-slate-200 dark:border-slate-700 hover:border-blue-200 dark:hover:border-blue-800":"bg-gray-50 dark:bg-gray-800/80 hover:bg-gray-50 dark:hover:bg-gray-800 border-gray-100 dark:border-gray-700"," text-normal pr-2.5"),children:[x.isEnable?o.jsxs(o.Fragment,{children:[o.jsx(wh,{size:12,className:"mr-0.5 group-hover:block hidden"}),o.jsx(Wr,{size:12,className:"mr-0.5 group-hover:hidden"})]}):o.jsx(ba,{size:12,className:"mr-0.5 hover:text-blue-500 cursor-pointer",onClick:N=>{var _;N.preventDefault(),N.stopPropagation(),a.value=ae(R({},a.value),{templateOptions:[...(_=a.value.templateOptions)==null?void 0:_.map((P,I)=>I===S?ae(R({},P),{isEnable:!0}):P)]})}}),x.label]})})},S)}),a.value.templateOptions.length>1&&n.value.length>0&&o.jsx(st,{text:u("Remove all fields from template",{ns:"common"}),isCompact:!0,side:"bottom",children:o.jsx(re,{className:"!text-slate-300 dark:!text-slate-500 hover:!text-red-500 dark:hover:!text-red-500 cursor-pointer !font-normal group",size:"xs",onClick:()=>{var x;(x=b==null?void 0:b.current)==null||x.handleRemoveAllTemplateFields()},children:o.jsx(St,{variant:"outline",className:"dark:bg-slate-300/90 dark:hover:bg-red-100 dark:border-slate-700 dark:hover:border-blue-800 bg-white hover:bg-red-50 border-slate-200 hover:border-red-200 text-normal px-2.5 py-[3px]",children:o.jsx(h6,{size:13})})})})]}),o.jsx(ko,{ref:b,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:"".concat(u("Enter template or drag from history",{ns:"dashboard"}),". ").concat(u("Use double curly brackets for {{field name}}. Use {{clipboard}} to add current clipboard value.",{ns:"dashboard"})),rows:2,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:s?12:6,value:t.value,onKeyDown:x=>{x.stopPropagation()},onChange:x=>{t.value=x.target.value}})]})]})}finally{i.f()}}function g2e({clipId:t,clipValue:e,showLinkValidationError:n,isLargeView:r,isDark:s,webrequestTestOutputObject:a,webrequestLocalOptions:i}){var u,d,p,h,m,b,C,g,w,x,S,E,N,_,P,I,T,A,L,z,Y,O,$,M,W,V;var l=sn(1);try{const{t:U}=Gt(),J=it(!1),H=it(!1),F=it(!1),q=it(!1),{updateItemById:X}=yl(),ne={dotpathjson:U("FILTERED_TYPES:::Dot Path",{ns:"dashboard"}),jsonpath:U("FILTERED_TYPES:::JSON Path",{ns:"dashboard"}),regex:U("FILTERED_TYPES:::RegEx",{ns:"dashboard"}),regexreplace:U("FILTERED_TYPES:::RegEx Replace",{ns:"dashboard"}),removequotes:U("FILTERED_TYPES:::Remove Quotes",{ns:"dashboard"})},ee=G=>ge(this,null,function*(){const{headers:Z,body:le,filters:se}=i.value,de={headers:Z,body:le,filters:se,method:G};yield X({updatedItem:{requestOptions:JSON.stringify({headers:Z,body:le,method:G}),itemId:t}}),i.value=R({},de)});return v.useEffect(()=>{i.value.body||(q.value=!1)},[a.value.body]),o.jsxs(te,{className:"select-none mt-1",children:[o.jsxs(me,{className:"text-normal",children:[o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsxs(Se,{variant:"outline",size:"mini",className:"px-2 pr-1 h-10 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[o.jsx("span",{children:i.value.method}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{onClick:()=>{ee("GET")},children:o.jsx(re,{className:"".concat(i.value.method==="GET"&&"font-semibold"),children:"GET"})}),o.jsx(rt,{textValue:"POST",onClick:()=>{ee("POST")},children:o.jsx(re,{className:"".concat(i.value.method==="POST"&&"font-semibold"),children:"POST"})}),o.jsx(rt,{onClick:()=>{ee("PUT")},children:o.jsx(re,{className:"".concat(i.value.method==="PUT"&&"font-semibold"),children:"PUT"})}),o.jsx(rt,{onClick:()=>{ee("DELETE")},children:o.jsx(re,{className:"".concat(i.value.method==="DELETE"&&"font-semibold"),children:"DELETE"})}),o.jsx(rt,{onClick:()=>{ee("HEAD")},children:o.jsx(re,{className:"".concat(i.value.method==="HEAD"&&"!font-semibold"),children:"HEAD"})})]})]}),o.jsx(wn,{defaultValue:e.value,placeholder:"Enter request url...",classNameInput:"pr-7 text-sm focus:border- ".concat(n.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(n.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:o.jsx(te,{className:"absolute top-3 right-2",children:n.value?o.jsx(st,{text:U("Request url might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):n.value===!1&&o.jsx(st,{text:U("Request url is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:G=>{if(n.value&&(n.value=void 0),G.target.value.length>5){const le=$r().match(G.target.value);!le||le.length>1?n.value=!0:n.value=!1}e.value=G.target.value}})]}),o.jsx(te,{className:"mt-2",children:o.jsxs(me,{className:"gap-4 w-full justify-start",children:[o.jsx(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",onClick:()=>{const G=[...i.value.headers];G.unshift({id:Date.now().toString(),name:"",isEnable:!0,value:""}),i.value=ae(R({},i.value),{headers:G})},title:U("Add Request Header",{ns:"dashboard"}),children:U("Add Header",{ns:"dashboard"})}),o.jsx(me,{children:o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[U("Add Auth",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="Basic Password",i.value=ae(R({},i.value),{auth:ae(R({},i.value.auth),{type:"Basic Password",basicPassword:"",basicUsername:"",isEnable:!0})})},children:o.jsx(re,{className:"".concat(((u=i.value.auth)==null?void 0:u.type)==="Basic Password"&&"font-semibold"),children:U("Basic Auth",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="Bearer Token",i.value=ae(R({},i.value),{auth:ae(R({},i.value.auth),{type:"Bearer Token",bearerToken:"",isEnable:!0})})},children:o.jsx(re,{className:"".concat(((d=i.value.auth)==null?void 0:d.type)==="Bearer Token"&&"font-semibold"),children:U("Bearer Token",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="API Key",i.value=ae(R({},i.value),{auth:ae(R({},i.value.auth),{type:"API Key",apiKey:"",apiValue:"",isEnable:!0})})},children:o.jsx(re,{className:"".concat(((p=i.value.auth)==null?void 0:p.type)==="API Key"&&"font-semibold"),children:U("API Key",{ns:"dashboard"})})})]})]})}),o.jsx(me,{children:o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[U("Add Response Filter",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{onClick:()=>{i.value.filters||(i.value.filters=[]);const G=[...i.value.filters];G.push({id:Date.now().toString(),filterType:"dotpathjson",isEnable:!0,value:""}),i.value=ae(R({},i.value),{filters:G})},children:o.jsx(re,{children:U("FILTERED_TYPES:::Dot Path",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{i.value.filters||(i.value.filters=[]);const G=[...i.value.filters];G.push({id:Date.now().toString(),filterType:"jsonpath",isEnable:!0,value:""}),i.value=ae(R({},i.value),{filters:G})},children:o.jsx(re,{children:U("FILTERED_TYPES:::JSON Path",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{i.value.filters||(i.value.filters=[]);const G=[...i.value.filters];G.push({id:Date.now().toString(),filterType:"regex",isEnable:!0,value:""}),i.value=ae(R({},i.value),{filters:G})},children:o.jsx(re,{children:U("FILTERED_TYPES:::RegEx",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{i.value.filters||(i.value.filters=[]);const G=[...i.value.filters];G.push({id:Date.now().toString(),filterType:"regexreplace",isEnable:!0,replace:"",value:""}),i.value=ae(R({},i.value),{filters:G})},children:o.jsx(re,{children:U("FILTERED_TYPES:::RegEx Replace",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{i.value.filters||(i.value.filters=[]);const G=[...i.value.filters];G.push({id:Date.now().toString(),filterType:"removequotes",isEnable:!0,value:""}),i.value=ae(R({},i.value),{filters:G})},children:o.jsx(re,{children:U("FILTERED_TYPES:::Remove Quotes",{ns:"dashboard"})})})]})]})})]})}),i.value.headers.length>0&&o.jsxs(te,{className:"mt-2",children:[o.jsxs(me,{className:"gap-1 w-full justify-start",children:[o.jsxs(re,{className:"font-semibold",size:"sm",children:[U("Headers",{ns:"dashboard"}),o.jsx(St,{className:"ml-1 py-0",variant:"secondary",children:i.value.headers.length})]}),o.jsxs(Ca,{defaultOpen:!1,open:J.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(Se,{size:"mini",title:U("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{J.value=!0},children:o.jsx(In,{size:16})})}),o.jsx(aa,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{J.value=!1},onPointerDownOutside:()=>{J.value=!1},children:o.jsxs(me,{className:"flex-col gap-3",children:[o.jsx(re,{color:"black",size:"sm",children:U("Confirm to remove headers",{ns:"dashboard"})}),o.jsxs(me,{children:[o.jsx(Se,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{J.value=!1},children:U("Cancel",{ns:"common"})}),o.jsxs(Se,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ae(R({},i.value),{headers:[]}),J.value=!1},children:[U("Remove",{ns:"common"}),o.jsx(St,{variant:"destructive",className:"ml-1 py-[1px]",children:i.value.headers.length})]})]})]})})]})]}),i.value.headers.map((G,Z)=>{var le;return o.jsxs(me,{className:"gap-2 mb-1",children:[o.jsx(wn,{small:!0,defaultValue:G.name,disabled:G.isEnable===!1,onChange:se=>{G.name=se.target.value.trim()},placeholder:U("Name",{ns:"dashboard"}),autoFocus:Z===0,className:"".concat(G.isEnable===!1?"bg-gray-100 opacity-50":""),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(wn,{small:!0,placeholder:U("Value",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:G.isEnable===!1,className:"".concat(G.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:se=>{G.value=se.target.value.trim()},defaultValue:G.value,required:!0}),o.jsx(Se,{size:"mini",title:U("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{i.value=ae(R({},i.value),{headers:i.value.headers.map((se,de)=>de===Z?ae(R({},se),{isEnable:!se.isEnable}):se)})},children:(le=i.value.headers[Z])!=null&&le.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsx(Se,{size:"mini",title:U("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ae(R({},i.value),{headers:i.value.headers.filter((se,de)=>de!==Z)})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]},G.id)})]}),((h=i.value.auth)==null?void 0:h.type)&&o.jsxs(te,{className:"mt-2",children:[o.jsxs(me,{className:"gap-1 w-full justify-start",children:[o.jsxs(re,{className:"font-semibold",size:"sm",children:[U("Auth",{ns:"dashboard"})," (",(m=i.value.auth)==null?void 0:m.type,")"]}),o.jsxs(Ca,{defaultOpen:!1,open:H.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(Se,{size:"mini",title:U("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{H.value=!0},children:o.jsx(In,{size:16})})}),o.jsx(aa,{sideOffset:10,align:"center",className:"w-52",onEscapeKeyDown:()=>{H.value=!1},onPointerDownOutside:()=>{H.value=!1},children:o.jsxs(me,{className:"flex-col gap-3",children:[o.jsx(re,{color:"black",size:"sm",children:U("Confirm to remove Auth",{ns:"dashboard"})}),o.jsxs(me,{children:[o.jsx(Se,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{H.value=!1},children:U("Cancel",{ns:"common"})}),o.jsx(Se,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ae(R({},i.value),{auth:{}}),H.value=!1},children:U("Remove",{ns:"common"})})]})]})})]})]}),((b=i.value.auth)==null?void 0:b.type)==="Bearer Token"&&o.jsxs(me,{className:"gap-2 mb-1",children:[o.jsx(wn,{small:!0,isPassword:!0,showHidePassword:!0,defaultValue:(C=i.value.auth)==null?void 0:C.bearerToken,disabled:((g=i.value.auth)==null?void 0:g.isEnable)===!1,onChange:G=>{i.value.auth||(i.value.auth={}),i.value.auth.bearerToken=G.target.value.trim()},className:"".concat(((w=i.value.auth)==null?void 0:w.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:U("Bearer Token",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(Se,{size:"mini",title:U("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var G;i.value=ae(R({},i.value),{auth:ae(R({},i.value.auth),{isEnable:!((G=i.value.auth)!=null&&G.isEnable)})})},children:(x=i.value.auth)!=null&&x.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsx(Se,{size:"mini",title:U("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ae(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]}),((S=i.value.auth)==null?void 0:S.type)==="API Key"&&o.jsxs(me,{className:"gap-2 mb-1",children:[o.jsx(wn,{small:!0,defaultValue:(E=i.value.auth)==null?void 0:E.apiKey,disabled:((N=i.value.auth)==null?void 0:N.isEnable)===!1,className:"".concat(((_=i.value.auth)==null?void 0:_.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:G=>{i.value.auth||(i.value.auth={}),i.value.auth.apiKey=G.target.value.trim()},placeholder:U("API Key",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(wn,{small:!0,defaultValue:(P=i.value.auth)==null?void 0:P.apiValue,disabled:((I=i.value.auth)==null?void 0:I.isEnable)===!1,className:"".concat(((T=i.value.auth)==null?void 0:T.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:G=>{i.value.auth||(i.value.auth={}),i.value.auth.apiValue=G.target.value.trim()},placeholder:U("API Key's Value",{ns:"dashboard"}),isPassword:!0,showHidePassword:!0,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(Se,{size:"mini",title:U("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var G;i.value=ae(R({},i.value),{auth:ae(R({},i.value.auth),{isEnable:!((G=i.value.auth)!=null&&G.isEnable)})})},children:(A=i.value.auth)!=null&&A.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsx(Se,{size:"mini",title:U("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ae(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]}),((L=i.value.auth)==null?void 0:L.type)==="Basic Password"&&o.jsxs(me,{className:"gap-2 mb-1",children:[o.jsx(wn,{small:!0,defaultValue:(z=i.value.auth)==null?void 0:z.basicUsername,disabled:((Y=i.value.auth)==null?void 0:Y.isEnable)===!1,className:"".concat(((O=i.value.auth)==null?void 0:O.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:G=>{i.value.auth||(i.value.auth={}),i.value.auth.basicUsername=G.target.value.trim()},placeholder:U("Basic Username",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(wn,{small:!0,defaultValue:($=i.value.auth)==null?void 0:$.basicPassword,disabled:((M=i.value.auth)==null?void 0:M.isEnable)===!1,className:"".concat(((W=i.value.auth)==null?void 0:W.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:G=>{i.value.auth||(i.value.auth={}),i.value.auth.basicPassword=G.target.value.trim()},placeholder:U("Basic Password",{ns:"dashboard"}),isPassword:!0,showHidePassword:!0,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(Se,{size:"mini",title:U("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var G;i.value=ae(R({},i.value),{auth:ae(R({},i.value.auth),{isEnable:!((G=i.value.auth)!=null&&G.isEnable)})})},children:(V=i.value.auth)!=null&&V.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsx(Se,{size:"mini",title:U("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ae(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]})]}),i.value.filters.length>0&&o.jsxs(te,{className:"mt-2",children:[o.jsxs(me,{className:"gap-1 w-full justify-start",children:[o.jsxs(re,{className:"font-semibold",size:"sm",children:[U("Response Filters",{ns:"dashboard"}),o.jsx(St,{className:"ml-1 py-0",variant:"secondary",children:i.value.filters.length})]}),o.jsxs(Ca,{defaultOpen:!1,open:F.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(Se,{size:"mini",title:U("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{F.value=!0},children:o.jsx(In,{size:16})})}),o.jsx(aa,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{F.value=!1},onPointerDownOutside:()=>{F.value=!1},children:o.jsxs(me,{className:"flex-col gap-3",children:[o.jsx(re,{color:"black",size:"sm",children:U("Confirm to remove filters",{ns:"dashboard"})}),o.jsxs(me,{children:[o.jsx(Se,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{F.value=!1},children:U("Cancel",{ns:"common"})}),o.jsxs(Se,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ae(R({},i.value),{filters:[]}),F.value=!1},children:[U("Remove",{ns:"common"}),o.jsx(St,{variant:"destructive",className:"ml-1 py-[1px]",children:i.value.filters.length})]})]})]})})]})]}),i.value.filters.map((G,Z)=>{var se;const le=ne[G.filterType];return o.jsxs(me,{className:"gap-1 mb-1",children:[o.jsx(re,{title:"".concat(U("Filter Type",{ns:"dashboard"}),": ").concat(le),className:"".concat(G.isEnable===!1?"bg-gray-100 opacity-50":""," text-[13px] !font-semibold pl-1.5 self-stretch flex !justify-end"),children:o.jsxs("span",{className:"whitespace-nowrap overflow-hidden text-ellipsis w-[120px] text-left block",children:[Z+1,". ",le]})}),G.filterType==="removequotes"?o.jsx(wn,{small:!0,autoFocus:Z===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 !text-slate-600",disabled:!1,className:"".concat(G.isEnable===!1?"bg-gray-100 opacity-50":""," "),readOnly:!0,defaultValue:U("Remove all double quotes",{ns:"dashboard"})}):o.jsx(wn,{small:!0,placeholder:U("Filter's Value",{ns:"dashboard"}),autoFocus:Z===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:G.isEnable===!1,className:"".concat(G.isEnable===!1?"bg-gray-100 opacity-50":""," w-full"),onChange:de=>{G.value=de.target.value.trim()},defaultValue:G.value}),G.filterType==="regexreplace"&&o.jsx(wn,{small:!0,placeholder:U("Replace Value",{ns:"dashboard"}),autoFocus:Z===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:G.isEnable===!1,className:"".concat(G.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:de=>{G.replace=de.target.value.trim()},defaultValue:G.replace}),o.jsx(Se,{size:"mini",title:U("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{i.value=ae(R({},i.value),{filters:i.value.filters.map((de,ce)=>ce===Z?ae(R({},de),{isEnable:!de.isEnable}):de)})},children:(se=i.value.filters[Z])!=null&&se.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",title:U("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ae(R({},i.value),{filters:Ur(i.value.filters,Z,Z-1)})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:o.jsx(xl,{size:14})})}),o.jsxs(Wn,{align:"end",children:[o.jsxs(rt,{disabled:Z===0,onClick:()=>{i.value=ae(R({},i.value),{filters:Ur(i.value.filters,Z,Z-1)})},className:"text-[13px] py-1",children:[o.jsx(re,{children:U("Move Up",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(fx,{size:13})})]}),o.jsxs(rt,{disabled:Z===i.value.filters.length-1,onClick:()=>{i.value=ae(R({},i.value),{filters:Ur(i.value.filters,Z,Z+1)})},className:"text-[13px] py-1",children:[o.jsx(re,{children:U("Move Down",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(dx,{size:13})})]}),o.jsxs(rt,{className:"text-red-500 text-[13px] focus:text-red-500 py-1",onClick:()=>{i.value=ae(R({},i.value),{filters:i.value.filters.filter((de,ce)=>ce!==Z)})},children:[o.jsx(re,{className:"!text-red-500",children:U("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(kr,{size:13})})]})]})]})]},G.id)})]}),(a.value.body||a.value.status)&&o.jsxs(te,{className:"".concat(a.value.status&&a.value.status>=400?"bg-red-50 ":"bg-green-50"," ").concat(r?"py-1":"py-0"," rounded-md px-3 relative mt-2 pt-1 pb-1 select-text min-h-[0px] fade-in animate-in duration-500"),children:[a.value.body&&a.value.filteredBody&&o.jsx(hl,{className:"flex flex-row absolute top-2 right-3 z-10 select-none",value:q.value?"fullBody":"filteredBody",onValueChange:G=>{q.value=G==="fullBody"},children:o.jsxs(Yo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200",children:[o.jsx(jr,{value:"fullBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:U("Full Body Response",{ns:"dashboard"}),children:U("Full",{ns:"dashboard"})}),o.jsx(jr,{value:"filteredBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:U("Filtered Response",{ns:"dashboard"}),children:U("Filtered",{ns:"dashboard"})})]})}),o.jsx(ka,{isDark:s,maxHeight:r?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:a.value.filteredBody&&!q.value?a.value.filteredBody:a.value.body||U("No body returned for response",{ns:"dashboard"}),language:a.value.contentType&&a.value.body&&oM[a.value.contentType.split(";")[0]]||"text"}),o.jsxs(me,{className:"justify-between py-1 pb-1",children:[o.jsx(te,{className:"text-xs rounded-sm px-1.5 select-none bg-slate-300 text-slate-600",children:a.value.contentType&&oM[a.value.contentType.split(";")[0]]}),o.jsx(te,{className:"".concat(a.value.status&&a.value.status>=400?"bg-red-300 text-red-700":"bg-green-300 text-green-700"," text-xs rounded-sm px-1.5 select-none"),children:a.value.status&&a.value.status>=400?"".concat(a.value.hasFiltersError?"filters":a.value.status," error"):"".concat(a.value.status)})]})]})]})}finally{l.f()}}function v2e({clipValue:t,showLinkValidationError:e,isLargeView:n,isDark:r,testOutputObject:s,localOptions:a}){var l,u,d,p,h,m,b,C,g,w,x,S,E,N,_,P,I,T,A,L,z,Y,O,$,M,W,V,U,J,H,F,q,X,ne;var i=sn(1);try{const{t:ee}=Gt(),G=it(!1),Z=it(!1),le={cssselector:ee("RULES_TYPES:::CSS Selector",{ns:"dashboard"}),regexfind:ee("RULES_TYPES:::RegEx Find",{ns:"dashboard"}),regexmatch:ee("RULES_TYPES:::RegEx Match",{ns:"dashboard"}),regexmatchfoundgroup:ee("RULES_TYPES:::RegEx Group Match",{ns:"dashboard"}),regexreplace:ee("RULES_TYPES:::RegEx Replace",{ns:"dashboard"})},se={comma:ee("SEPARATOR_TYPES:::Comma (,)",{ns:"dashboard"}),semicolon:ee("SEPARATOR_TYPES:::Semicolon (;)",{ns:"dashboard"}),space:ee("SEPARATOR_TYPES:::Space (' ')",{ns:"dashboard"}),newline:ee("SEPARATOR_TYPES:::New Line (\\n)",{ns:"dashboard"}),tab:ee("SEPARATOR_TYPES:::Tab (\\t)",{ns:"dashboard"}),pipe:ee("SEPARATOR_TYPES:::Pipe (|)",{ns:"dashboard"})},de={first:ee("RETURN_POSITION_TYPES:::First Only",{ns:"dashboard"}),last:ee("RETURN_POSITION_TYPES:::Last Only",{ns:"dashboard"})};return o.jsxs(te,{className:"select-none mt-1",children:[o.jsxs(me,{className:"text-normal",children:[o.jsx(st,{asChild:!0,text:ee("Website URL",{ns:"dashboard"}),isCompact:!0,side:"bottom",children:o.jsx(Se,{variant:"outline",size:"mini",className:"px-2 h-10 pointer-events-none text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:o.jsx("span",{children:ee("URL",{ns:"dashboard"})})})}),o.jsx(wn,{defaultValue:t.value,placeholder:ee("Enter request url",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(e.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(e.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:o.jsx(te,{className:"absolute top-3 right-2",children:e.value?o.jsx(st,{text:ee("Website URL might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):e.value===!1&&o.jsx(st,{text:ee("Website URL is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:ce=>{if(e.value&&(e.value=void 0),ce.target.value.length>5){const ve=$r().match(ce.target.value);!ve||ve.length>1?e.value=!0:e.value=!1}t.value=ce.target.value}})]}),o.jsx(te,{className:"mt-2",children:o.jsx(me,{className:"gap-4 w-full justify-start",children:o.jsx(me,{children:o.jsxs(Kn,{children:[o.jsx(Gn,{children:o.jsxs(re,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[ee("Add Scraping Rule",{ns:"dashboard"}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{onClick:()=>{a.value.scrapingRules||(a.value.scrapingRules=[]);const ce=[...a.value.scrapingRules];ce.push({id:Date.now().toString(),ruleType:"cssselector",isEnable:!0,value:""}),a.value=ae(R({},a.value),{scrapingRules:ce})},children:o.jsx(re,{children:ee("CSS Selector",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{a.value.scrapingRules||(a.value.scrapingRules=[]);const ce=[...a.value.scrapingRules];ce.push({id:Date.now().toString(),ruleType:"regexfind",isEnable:!0,value:""}),a.value=ae(R({},a.value),{scrapingRules:ce})},children:o.jsx(re,{children:ee("RegEx Find",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{a.value.scrapingRules||(a.value.scrapingRules=[]);const ce=[...a.value.scrapingRules];ce.push({id:Date.now().toString(),ruleType:"regexmatch",isEnable:!0,value:""}),a.value=ae(R({},a.value),{scrapingRules:ce})},children:o.jsx(re,{children:ee("RegEx Match",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{a.value.scrapingRules||(a.value.scrapingRules=[]);const ce=[...a.value.scrapingRules];ce.push({id:Date.now().toString(),ruleType:"regexmatchfoundgroup",isEnable:!0,value:""}),a.value=ae(R({},a.value),{scrapingRules:ce})},children:o.jsx(re,{children:ee("RegEx Match Group",{ns:"dashboard"})})}),o.jsx(rt,{onClick:()=>{a.value.scrapingRules||(a.value.scrapingRules=[]);const ce=[...a.value.scrapingRules];ce.push({id:Date.now().toString(),ruleType:"regexreplace",isEnable:!0,value:""}),a.value=ae(R({},a.value),{scrapingRules:ce})},children:o.jsx(re,{children:ee("RegEx Replace",{ns:"dashboard"})})})]})]})})})}),a.value.scrapingRules&&a.value.scrapingRules.length>0&&o.jsxs(te,{className:"mt-2",children:[o.jsxs(me,{className:"gap-1 w-full justify-start",children:[o.jsxs(re,{className:"font-semibold",size:"sm",children:[ee("Scrapping Rules",{ns:"dashboard"}),o.jsx(St,{className:"ml-1 py-0",variant:"secondary",children:a.value.scrapingRules.length})]}),o.jsxs(Ca,{defaultOpen:!1,open:G.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(Se,{size:"mini",title:ee("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{G.value=!0},children:o.jsx(In,{size:16})})}),o.jsx(aa,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{G.value=!1},onPointerDownOutside:()=>{G.value=!1},children:o.jsxs(me,{className:"flex-col gap-3",children:[o.jsx(re,{color:"black",size:"sm",children:ee("Confirm to remove rules",{ns:"dashboard"})}),o.jsxs(me,{children:[o.jsx(Se,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{G.value=!1},children:ee("Cancel",{ns:"dashboard"})}),o.jsxs(Se,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{a.value=ae(R({},a.value),{scrapingRules:[]}),G.value=!1},children:[ee("Remove",{ns:"dashboard"}),o.jsx(St,{variant:"destructive",className:"ml-1 py-[1px]",children:a.value.scrapingRules.length})]})]})]})})]})]}),a.value.scrapingRules.map((ce,pe)=>{var ye,be;const ve=le[ce.ruleType];return o.jsxs(me,{className:"mb-1 mt-2 items-center",children:[o.jsx(re,{title:"".concat(ee("Rule Type",{ns:"common"}),": ").concat(ve),className:"".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""," text-[13px] !font-semibold pl-1.5 self-stretch flex !justify-end pb-2"),children:o.jsxs("span",{className:"whitespace-nowrap overflow-hidden text-ellipsis w-[120px] text-left block",children:[pe+1,". ",ve]})}),o.jsxs(me,{className:"gap-0.5 flex-col w-full items-start ".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""),children:[o.jsx(me,{className:"w-full gap-1",children:o.jsxs(o.Fragment,{children:[o.jsx(wn,{small:!0,placeholder:ce.ruleType==="cssselector"?"Selector":"Rule's Value",autoFocus:a.value.scrapingRules?pe===((ye=a.value.scrapingRules)==null?void 0:ye.length)-1:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:ce.isEnable===!1,className:"".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""," w-full"),onChange:Ee=>{ce.value=Ee.target.value.trim()},defaultValue:ce.value}),ce.ruleType==="cssselector"&&o.jsx(wn,{small:!0,placeholder:"Find Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:ce.isEnable===!1,className:"max-w-[120px] ".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{ce.filterText=Ee.target.value.trim()},defaultValue:ce.filterText})]})}),o.jsxs(me,{className:"gap-1 mb-1",children:[ce.ruleType==="regexreplace"&&o.jsx(wn,{small:!0,placeholder:"Replace Value",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:ce.isEnable===!1,className:"".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{ce.replace=Ee.target.value.trim()},defaultValue:ce.replace}),ce.ruleType==="cssselector"&&o.jsxs(o.Fragment,{children:[o.jsx(wn,{small:!0,placeholder:"Attribute Name",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:ce.isEnable===!1,className:"max-w-[120px] ".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{ce.returnAttribute=Ee.target.value.trim()},defaultValue:ce.returnAttribute}),o.jsx(wn,{small:!0,placeholder:"Attribute Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:ce.isEnable===!1,className:"max-w-[120px] ".concat(ce.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{ce.returnAttributeText=Ee.target.value.trim()},defaultValue:ce.returnAttributeText})]})]})]}),o.jsxs(me,{className:"gap-1 mb-1 mt-[-12px] ml-2",children:[o.jsx(Se,{size:"mini",title:ee("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Ee;a.value=ae(R({},a.value),{scrapingRules:(Ee=a.value.scrapingRules)==null?void 0:Ee.map((Fe,qe)=>qe===pe?ae(R({},Fe),{isEnable:!Fe.isEnable}):Fe)})},children:a.value.scrapingRules&&((be=a.value.scrapingRules[pe])!=null&&be.isEnable)?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(Se,{size:"mini",title:ee("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{a.value=ae(R({},a.value),{scrapingRules:Ur(a.value.scrapingRules||[],pe,pe-1)})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:o.jsx(xl,{size:14})})}),o.jsxs(Wn,{align:"end",children:[o.jsxs(rt,{disabled:pe===0,onClick:()=>{a.value=ae(R({},a.value),{scrapingRules:Ur(a.value.scrapingRules||[],pe,pe-1)})},className:"text-[13px] py-1",children:[o.jsx(re,{children:ee("Move Up",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(fx,{size:13})})]}),o.jsxs(rt,{disabled:a.value.scrapingRules?pe===a.value.scrapingRules.length-1:!1,onClick:()=>{a.value=ae(R({},a.value),{scrapingRules:Ur(a.value.scrapingRules||[],pe,pe+1)})},className:"text-[13px] py-1",children:[o.jsx(re,{children:ee("Move Down",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(dx,{size:13})})]}),o.jsxs(rt,{className:"text-red-500 text-[13px] focus:text-red-500 py-1",onClick:()=>{var Ee;a.value=ae(R({},a.value),{scrapingRules:(Ee=a.value.scrapingRules)==null?void 0:Ee.filter((Fe,qe)=>qe!==pe)})},children:[o.jsx(re,{className:"!text-red-500",children:ee("Remove",{ns:"common"})}),o.jsx("div",{className:"ml-auto",children:o.jsx(kr,{size:13})})]})]})]})]})]},ce.id)}),a.value.scrapingRules&&a.value.scrapingRules.length>0&&o.jsxs(me,{className:"mt-2 justify-start",children:[o.jsx(Se,{variant:"outline",size:"mini",className:"px-2 h-8 text-[13px] text-slate-500 border-0 font-semibold mr-2 flex items-center",children:o.jsx("span",{className:"whitespace-nowrap",children:ee("Return Result As",{ns:"dashboard"})})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsxs(Se,{variant:"outline",size:"mini",title:ee("Return Type",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[o.jsx("span",{className:"whitespace-nowrap",children:(l=a.value.scrapingOptions)==null?void 0:l.returnType}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:o.jsx(re,{children:ee("Return Type",{ns:"dashboard"})})}),o.jsx(kn,{}),o.jsx(Cn,{checked:((u=a.value.scrapingOptions)==null?void 0:u.returnType)==="Text",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnType:"Text"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsx(re,{className:"".concat(((d=a.value.scrapingOptions)==null?void 0:d.returnType)==="Text"&&"font-semibold"),children:ee("ReturnType:::Text",{ns:"dashboard"})})}),o.jsx(Cn,{checked:((p=a.value.scrapingOptions)==null?void 0:p.returnType)==="Array",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnType:"Array"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsx(re,{className:"".concat(((h=a.value.scrapingOptions)==null?void 0:h.returnType)==="Array"&&"font-semibold"),children:ee("ReturnType:::Array",{ns:"dashboard"})})})]})]}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsxs(Se,{variant:"outline",size:"mini",title:ee("Return Count Limit",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[o.jsxs("span",{className:"whitespace-nowrap",children:[ee("Limit",{ns:"dashboard"}),":",o.jsx("span",{className:"ml-1",children:(m=a.value.scrapingOptions)!=null&&m.returnCount&&a.value.scrapingOptions.returnPosition==null&&a.value.scrapingOptions.returnCount>0?(b=a.value.scrapingOptions)==null?void 0:b.returnCount:((C=a.value.scrapingOptions)==null?void 0:C.returnPosition)!==null?de[(g=a.value.scrapingOptions)==null?void 0:g.returnPosition]:ee("RETURN_POSITION_TYPES:::All",{ns:"dashboard"})})]}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:o.jsx(re,{children:ee("Return Count Limit",{ns:"dashboard"})})}),o.jsx(kn,{}),o.jsx(Cn,{checked:((w=a.value.scrapingOptions)==null?void 0:w.returnCount)==null&&((x=a.value.scrapingOptions)==null?void 0:x.returnPosition)==null,onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnPosition:null,returnCount:null});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsx(re,{className:"".concat(((S=a.value.scrapingOptions)==null?void 0:S.returnCount)==null&&((E=a.value.scrapingOptions)==null?void 0:E.returnPosition)==null&&"font-semibold"),children:ee("All (No Limit)",{ns:"dashboard"})})}),o.jsx(Cn,{checked:((N=a.value.scrapingOptions)==null?void 0:N.returnPosition)=="first",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnCount:null,returnPosition:"first"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsx(re,{className:"".concat(((_=a.value.scrapingOptions)==null?void 0:_.returnPosition)=="first"&&"font-semibold"),children:ee("First Only",{ns:"dashboard"})})}),o.jsx(Cn,{checked:((P=a.value.scrapingOptions)==null?void 0:P.returnPosition)=="last",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnCount:null,returnPosition:"last"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsx(re,{className:"".concat(((I=a.value.scrapingOptions)==null?void 0:I.returnPosition)=="last"&&"font-semibold"),children:ee("Last Only",{ns:"dashboard"})})}),[...Array(5)].map((ce,pe)=>{var ye,be;const ve=pe+1;return o.jsx(Cn,{checked:((ye=a.value.scrapingOptions)==null?void 0:ye.returnCount)===ve,onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const Ee=ae(R({},a.value.scrapingOptions),{returnPosition:null,returnCount:ve});a.value=ae(R({},a.value),{scrapingOptions:Ee})},children:o.jsx(re,{className:"".concat(((be=a.value.scrapingOptions)==null?void 0:be.returnCount)===ve&&"font-semibold"),children:ve})},ve)}),[10,20].map(ce=>{var pe,ve;return o.jsx(Cn,{checked:((pe=a.value.scrapingOptions)==null?void 0:pe.returnCount)===ce,onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ye=ae(R({},a.value.scrapingOptions),{returnPosition:null,returnCount:ce});a.value=ae(R({},a.value),{scrapingOptions:ye})},children:o.jsx(re,{className:"".concat(((ve=a.value.scrapingOptions)==null?void 0:ve.returnCount)===ce&&"font-semibold"),children:ce})},ce)})]})]}),((T=a.value.scrapingOptions)==null?void 0:T.returnType)!=="Array"&&((A=a.value.scrapingOptions)==null?void 0:A.returnPosition)==null&&(((L=a.value.scrapingOptions)==null?void 0:L.returnCount)==null||((z=a.value.scrapingOptions)==null?void 0:z.returnCount)!==1)&&o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsxs(Se,{variant:"outline",size:"mini",title:ee("Text Separator",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[o.jsx("span",{className:"whitespace-nowrap",children:se[(Y=a.value.scrapingOptions)==null?void 0:Y.returnSeparator]}),o.jsx(Bn,{size:12,className:"ml-1"})]})}),o.jsxs(Wn,{sideOffset:12,align:"center",children:[o.jsx(rt,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:o.jsx(re,{children:ee("Text Separator",{ns:"dashboard"})})}),o.jsx(kn,{}),o.jsx(Cn,{checked:((O=a.value.scrapingOptions)==null?void 0:O.returnSeparator)==="newline",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnSeparator:"newline"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsxs(re,{className:"".concat((($=a.value.scrapingOptions)==null?void 0:$.returnSeparator)==="newline"&&"font-semibold"),children:[ee("ReturnSeparator:::New Line",{ns:"dashboard"})," (\\n)"]})}),o.jsx(Cn,{checked:((M=a.value.scrapingOptions)==null?void 0:M.returnSeparator)==="tab",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnSeparator:"tab"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsxs(re,{className:"".concat(((W=a.value.scrapingOptions)==null?void 0:W.returnSeparator)==="tab"&&"font-semibold"),children:[ee("ReturnSeparator:::Tab",{ns:"dashboard"})," (\\t)"]})}),o.jsx(Cn,{checked:((V=a.value.scrapingOptions)==null?void 0:V.returnSeparator)==="comma",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnSeparator:"comma"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsxs(re,{className:"".concat(((U=a.value.scrapingOptions)==null?void 0:U.returnSeparator)==="comma"&&"font-semibold"),children:[ee("ReturnSeparator:::Comma",{ns:"dashboard"})," (,)"]})}),o.jsx(Cn,{checked:((J=a.value.scrapingOptions)==null?void 0:J.returnSeparator)==="semicolon",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnSeparator:"semicolon"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsxs(re,{className:"".concat(((H=a.value.scrapingOptions)==null?void 0:H.returnSeparator)==="semicolon"&&"font-semibold"),children:[ee("ReturnSeparator:::Semicolon",{ns:"dashboard"})," (;)"]})}),o.jsx(Cn,{checked:((F=a.value.scrapingOptions)==null?void 0:F.returnSeparator)==="pipe",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnSeparator:"pipe"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsxs(re,{className:"".concat(((q=a.value.scrapingOptions)==null?void 0:q.returnSeparator)==="pipe"&&"font-semibold"),children:[ee("ReturnSeparator:::Pipe",{ns:"dashboard"})," (|)"]})}),o.jsx(Cn,{checked:((X=a.value.scrapingOptions)==null?void 0:X.returnSeparator)==="space",onClick:()=>{a.value.scrapingOptions||(a.value.scrapingOptions={});const ce=ae(R({},a.value.scrapingOptions),{returnSeparator:"space"});a.value=ae(R({},a.value),{scrapingOptions:ce})},children:o.jsxs(re,{className:"".concat(((ne=a.value.scrapingOptions)==null?void 0:ne.returnSeparator)==="space"&&"font-semibold"),children:[ee("ReturnSeparator:::Space",{ns:"dashboard"})," (' ')"]})})]})]})]})]}),(s.value.body||s.value.status)&&o.jsxs(te,{className:"".concat(s.value.status&&s.value.status>=400?"bg-red-50 ":"bg-green-50"," ").concat(n?"!pb-3 mb-1 !py-3":"py-0 pb-2"," rounded-md px-3 relative mt-2 pt-1 select-text min-h-[0px] fade-in animate-in duration-500"),children:[s.value.body&&s.value.scrappedBody&&o.jsx(hl,{className:"flex flex-row absolute top-2 right-3 z-10 select-none",value:Z.value?"fullBody":"filteredBody",onValueChange:ce=>{Z.value=ce==="fullBody"},children:o.jsxs(Yo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200",children:[o.jsx(jr,{value:"fullBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:ee("Full Body Response",{ns:"dashboard"}),children:ee("Full",{ns:"dashboard"})}),o.jsx(jr,{value:"filteredBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:ee("Filtered Response",{ns:"dashboard"}),children:s.value.foundCount&&s.value.foundCount>1?ee("Found {{foundCount}} results",{ns:"dashboard",foundCount:s.value.foundCount}):ee("Found",{ns:"common"})})]})}),o.jsx(ka,{isDark:r,maxHeight:n?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:s.value.scrappedBody&&!Z.value?s.value.scrappedBody:s.value.body||ee("No body returned for response",{ns:"dashboard"}),language:s.value.body&&Z.value?"html":"text"}),a.value.scrapingRules&&a.value.scrapingRules.length===0&&o.jsxs(re,{className:"text-xs text-yellow-600",children:[ee("You have no rules added",{ns:"dashboard"}),"."]}),s.value.status&&s.value.status>=400&&o.jsx(me,{className:"justify-between py-1 pb-1",children:o.jsxs(te,{className:"text-xs rounded-sm px-1.5 select-none bg-red-300 text-red-700",children:[s.value.status," error"]})})]})]})}finally{i.f()}}function YU({id:t,isMenu:e}){var n=sn(1);try{const r=it(!1),{t:s}=Gt(),a=()=>{r.value=!1,qS.value=null},{deleteClipImageByItemId:i}=Tge();return o.jsxs(Ca,{defaultOpen:!1,open:r.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(te,{tabIndex:0,className:"focus:outline-none",children:o.jsx(st,{text:s("Remove image",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"p-1.5 border-0 bg-red-50/80 flex items-center justify-center hover:bg-red-50/100",onClick:()=>{r.value=!0,qS.value=t},children:o.jsx(kr,{size:20,className:"text-red-600 cursor-pointer"})})})})}),o.jsx(aa,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{a()},onPointerDownOutside:()=>{a()},children:r.value&&o.jsxs(me,{className:"flex-col",children:[e?o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center mb-2 font-semibold",children:s("Are you sure you want to remove image from the menu?",{ns:"menus"})}):o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center mb-2 font-semibold",children:s("Are you sure you want to remove image from the clip?",{ns:"dashboard"})}),o.jsx(re,{color:"black",size:"sm",className:"italic text-center",children:s("This action cannot be undone.",{ns:"dashboard"})}),o.jsx(Rn,{h:3}),o.jsxs(me,{children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a()},children:s("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{i({itemId:t}),a()},children:s("Remove",{ns:"common"})})]})]})})]})}finally{n.f()}}function x2e({clipId:t,isOver:e,value:n,isCode:r,isText:s,isTemplate:a,isForm:i,isImage:l,isDelete:u,isMasked:d,hasEmoji:p,isVideo:h,isCommand:m,isWebRequest:b,isWebScraping:C,isPath:g,isLink:w,isLargeView:x,imageDataUrl:S,isPinned:E,isFavorite:N,requestOptions:_,isShowLinkedClip:P,formTemplateOptions:I,isNewlyCreated:T,isDark:A,detectedLanguage:L,isHistoryDragActive:z,onCancel:Y}){var $,M,W,V,U,J,H,F,q,X,ne,ee;var O=sn(1);try{const{t:G}=Gt(),Z=v.useRef(null),le=it(""),se=it({method:"GET",headers:[],body:"",scrapingRules:[],scrapingOptions:{returnType:"Text",returnSeparator:null,returnCount:null},filters:[],auth:{}}),de=it({templateOptions:[],formOptions:{fields:[]}}),ce=it(""),pe=it(""),ve=it("text"),ye=it({body:null,status:null,hasFiltersError:null,foundCount:null,filteredBody:null,contentType:null}),{metadataLinkByItemId:be,invalidateLinkMetadataByItemId:Ee}=bx(w,t),Fe=(be==null?void 0:be.linkTitle)&&(be==null?void 0:be.linkDomain),qe=Hh(),ot=it(!1),Ve=it([]),Ke=it([]),lt=it(Date.now()),De=it(!1),Ye=it(void 0),dt=it(void 0),He=it(void 0),mt=it(void 0),{updateItemById:Ue}=yl(),ht=v.useRef(null),Qe=Co(le.value,300),Rt=Co(le.value,600),Ut=x?"max-h-[600px]":"max-h-[300px]",wt=it(!1);v.useEffect(()=>{if(_)try{const We=JSON.parse(_);se.value=R(R({},se.value),We)}catch(We){console.log("error",We)}},[_]),v.useEffect(()=>{if(I)try{const We=JSON.parse(I);de.value=R(R({},de.value),We)}catch(We){console.log("error",We)}},[I]),v.useEffect(()=>{le.value=n!=null?n:""},[n]);const Xt=v.useMemo(()=>r?G("Type:::Code Snippet",{ns:"common"}):l?G("Type:::Image",{ns:"common"}):m?G("Type:::Shell Command",{ns:"common"}):b?G("Type:::Web Request (HTTP)",{ns:"common"}):C?G("Type:::Web Scraper / Parser",{ns:"common"}):w?G("Type:::Link or Email",{ns:"common"}):g?G("Type:::File, Path or App",{ns:"common"}):i?G("Type:::Form Auto Fill",{ns:"common"}):a?G("Type:::Template Fill",{ns:"common"}):G("Type:::Plain Text",{ns:"common"}),[r,l,m,b,w,g,i,a,C]);v.useEffect(()=>{if(w){const Je=$r().match(le.value);!Je||Je.length>1?Ye.value=!0:Ye.value=!1}},[w]);const $t=v.useCallback(We=>ge(this,null,function*(){const jt=n===le.value?n:We;g&&jt.length>5&&Ln("check_path",{path:jt}).then(()=>{dt.value=!1}).catch(()=>{dt.value=!0})}),[g]),tn=v.useCallback(We=>{const Je=/{{[^{}]+}}/g;Ve.value=[],Ke.value=[];const jt=We.match(Je);jt&&jt.forEach((we,je)=>{jt[je]=we.replace(/[\n\r{}]+/g,"").trim(),Ke.value.push(jt[je].toLocaleLowerCase());const Ie=de.value.templateOptions.find(nt=>{var Pe;return((Pe=nt.label)==null?void 0:Pe.toLocaleLowerCase())===jt[je].toLocaleLowerCase()});Ie?Ie.isFound=!0:jt[je].toLocaleLowerCase()==="clipboard"?Ve.value.push("Clipboard"):Ve.value.push(jt[je])}),Ve.value=[...new Set(Ve.value)],!jt||jt.length===0||Ve.value.length>0?mt.value=!0:mt.value=!1},[a,de.value.templateOptions]);v.useEffect(()=>{g&&Qe.length>5&&$t(Qe)},[g,Qe]),v.useEffect(()=>{a&&Rt.length>5&&tn(le.value)},[Rt]),v.useEffect(()=>{(Ye.value||dt.value||mt.value||He.value)&&De.value&&(ot.value=!0)},[Ye.value,dt.value,He.value,mt.value,De.value]),v.useEffect(()=>{ye.value.status&&ye.value.status>=400&&De.value&&(ot.value=!0)},[ye.value.status,De.value]);const Pt=(We=!1)=>ge(this,null,function*(){var we,je,Ie,nt,Pe,gt;if(tm.value&&(Db.value=!0,yield new Promise(Ze=>setTimeout(Ze,200))),Ib.value)return;let Je=null;ot.value=!1,De.value=!0,Ye.value=void 0,dt.value=void 0,ye.value={};const jt=le.value.trim();if(We)Je=g?"Error":null;else{if(a)if(tn(le.value),Ve.value.length>0||Ke.value.length===0){mt.value=!0;return}else mt.value=!1;if(i&&((we=de.value.formOptions)!=null&&we.openUrl)&&!((je=de.value.formOptions)!=null&&je.isOpenUrlDisabled)){const Re=$r().match((Ie=de.value.formOptions)==null?void 0:Ie.openUrl);if(!Re||Re.length>1){Ye.value=!0;return}}if(w){const Re=$r().match(jt);if(!Re||Re.length>1){Ye.value=!0;return}}if(g)try{Je=yield Ln("path_type_check",{path:jt})}catch(Ze){Je="Error",dt.value=!0;return}else if(m)try{if(yield Ln("run_shell_command",{execCmd:jt}),(nt=se.value.outputTemplate)!=null&&nt.id&&!((gt=(Pe=se.value.outputTemplate)==null?void 0:Pe.value)!=null&>.includes("{{output}}"))){mt.value=!0;return}}catch(Ze){ce.value=Ze,He.value=!0;return}else if(b)try{const Ze=yield Ln("run_web_request",{request:{url:jt,method:se.value.method,headers:se.value.headers,filters:se.value.filters,body:se.value.body,auth:se.value.auth}});if(ye.value={},Ze.status&&Ze.status>=400){ye.value={body:Ze.body,filteredBody:Ze.filteredBody,hasFiltersError:Ze.hasFiltersError,status:Ze.status,contentType:Ze.contentType};return}}catch(Ze){ye.value={body:Ze,status:500,contentType:null};return}else if(C)try{const Ze=yield Ln("run_web_scraping",{request:{url:jt,method:"GET",scrapingRules:se.value.scrapingRules,scrapingOptions:se.value.scrapingOptions}});if(ye.value={},Ze.status&&Ze.status>=400){ye.value={body:Ze.body,filteredBody:Ze.scrappedBody,hasFiltersError:Ze.hasRulesError,status:Ze.status};return}}catch(Ze){ye.value={body:Ze,status:500,contentType:null};return}}(i||a)&&(a&&de.value.templateOptions.forEach(Ze=>{Ze.defaultValue=Ze.value}),I=JSON.stringify(de.value),yield Ue({updatedItem:{formTemplateOptions:I,isForm:!!i,isTemplate:!!a,itemId:t}})),(b||C||m)&&(_=JSON.stringify(se.value),yield Ue({updatedItem:{requestOptions:_,itemId:t}})),yield Ue({updatedItem:ae(R(R(R(R({value:jt},m?{isCommand:!0}:{}),b?{isWebRequest:!0}:{}),C?{isWebScraping:!0}:{}),Je&&g?{pathType:Je}:{}),{itemId:t})}),setTimeout(()=>{De.value=!1,Y()},200)});return v.useEffect(()=>{var We;P&&((We=Z==null?void 0:Z.current)==null||We.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[P,Z==null?void 0:Z.current]),o.jsx(Fh,{className:Pn("px-2 pr-1.5 py-2 m-0.5 mt-0 pt-0 mx-1 text-left flex flex-row rounded-md select-auto",u&&"bg-red-50 dark:bg-red-900"),children:o.jsxs(te,{className:"w-full mt-0",ref:Z,children:[!z||l&&S?r||L||l||m||w||b||a||C||i||g?g?o.jsxs(me,{className:"relative text-normal",children:[o.jsx(wn,{defaultValue:le.value,placeholder:G("Enter full path to file, folder or application",{ns:"dashboard"}),classNameInput:"pr-10 text-sm focus:border- ".concat(dt.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(dt.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:o.jsx(te,{className:"absolute top-3 right-4",children:dt.value?o.jsx(st,{text:G("File, folder or app path might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):dt.value===!1&&o.jsx(st,{text:G("File, folder or app path is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:We=>{le.value=We.target.value}},lt.value),o.jsx(KU,{onCallBack:We=>{lt.value=Date.now(),le.value=We}})]}):w?o.jsxs(me,{className:"relative text-normal mt-1 flex-col",children:[o.jsx(wn,{defaultValue:le.value,placeholder:G("Enter web link or email",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(Ye.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(Ye.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:o.jsx(te,{className:"absolute top-3 right-2",children:Ye.value?o.jsx(st,{text:G("Web Link or Email might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 dark:text-slate-200 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):Ye.value===!1&&o.jsx(st,{text:G("Web or Email link is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 dark:text-slate-200 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:We=>{if(Ye.value&&(Ye.value=void 0),We.target.value.length>5){const jt=$r().match(We.target.value);!jt||jt.length>1?Ye.value=!0:Ye.value=!1}le.value=We.target.value}}),Fe&&o.jsx(te,{className:"self-start mt-2 mb-0 text-xs w-full select-none overflow-hidden",children:o.jsx(H0,{isDisabled:Dr(($=le.value)==null?void 0:$.trim())!==((M=be==null?void 0:be.linkUrl)==null?void 0:M.trim()),title:be==null?void 0:be.linkTitle,description:be==null?void 0:be.linkDescription,favicon:be==null?void 0:be.linkFavicon,link:be==null?void 0:be.linkUrl,image:be==null?void 0:be.linkImage,domain:be==null?void 0:be.linkDomain})}),l?!Uc(le.value)&&!Ye.value&&o.jsx(te,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:o.jsx(gl,{src:Dr(le.value),hasError:wt.value,onErrorCallback:()=>{wt.value=!0},draggable:!1,decoding:"async",className:"".concat(Ut," min-h-10")})}):o.jsxs(me,{className:"w-full mt-1 justify-start select-none",children:[Uc(le.value)||Ye.value||le.value.length<3?!Uc(le.value)&&o.jsx(Se,{disabled:!0,variant:"ghost",className:"!px-1 !m-0 !h-4",children:Fe?o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[o.jsx(K2,{size:13,className:"mr-1"}),"!",G("Update Link Card",{ns:"dashboard"}),"!"]}):o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[o.jsx(vv,{size:13,className:"mr-1"}),G("Add Link Card",{ns:"dashboard"})]})}):o.jsx(Se,{variant:"ghost",className:"px-1 !m-0 !h-4 hover:bg-transparent",onClick:()=>ge(this,null,function*(){yield Ln("fetch_link_metadata",{url:Dr(le.value),itemId:t}),Ee()}),children:Fe?o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[o.jsx(K2,{size:13,className:"mr-1"}),G("Update Link Card",{ns:"dashboard"})]}):o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[o.jsx(vv,{size:13,className:"mr-1"}),G("Add Link Card",{ns:"dashboard"})]})}),Fe&&o.jsx(Se,{variant:"ghost",className:"px-1 ml-auto !h-4 hover:bg-transparent",onClick:()=>ge(this,null,function*(){yield Ln("delete_link_metadata",{itemId:t}),Ee()}),children:o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[G("Remove",{ns:"common"}),o.jsx(gv,{size:14,className:"ml-1"})]})})]})]}):r?o.jsx(X6,{value:le.value,height:x?"calc(100vh - 280px)":"200px",isDark:A,options:{mode:L!=null?L:"javascript"},onChange:We=>{le.value=We.getValue()}},"code-editor"):l?o.jsxs(te,{className:"px-0 py-1.5 flex items-center justify-center relative",children:[o.jsx("img",{src:S||ih,draggable:!1,decoding:"async",height:"auto",className:"".concat(qS.value===t?"!border-red-400 opacity-70":""," max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-400")}),o.jsx(te,{className:"absolute",children:S?o.jsx(YU,{id:t}):o.jsx(qU,{id:t})})]}):m?o.jsxs(te,{className:"mt-0.5",children:[o.jsx(X6,{value:le.value,height:x?"260px":"70px",isDark:A,isCmd:!0,lineWrapping:!0,options:{mode:"shell"},onChange:We=>{le.value=We.getValue(),ce.value="",He.value=void 0}},"code-editor"),(W=se.value.outputRegexFilter)!=null&&W.id?o.jsxs(te,{className:"mt-2",children:[o.jsx(me,{className:"gap-1 w-full justify-start",children:o.jsx(re,{className:"font-semibold",size:"sm",children:G("Regex Match Group Filter",{ns:"dashboard"})})}),o.jsxs(me,{className:"gap-2 mb-2",children:[o.jsx(wn,{small:!0,defaultValue:(V=se.value.outputRegexFilter)==null?void 0:V.value,disabled:((U=se.value.outputRegexFilter)==null?void 0:U.isEnable)===!1,onChange:We=>{se.value.outputRegexFilter||(se.value.outputRegexFilter={}),se.value.outputRegexFilter.value=We.target.value.trim()},className:"".concat(((J=se.value.outputRegexFilter)==null?void 0:J.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:G("Enter regex for output filer",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(Se,{size:"mini",title:G("Enable / Disable",{ns:"dashboard"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var We;se.value=ae(R({},se.value),{outputRegexFilter:ae(R({},se.value.outputRegexFilter),{isEnable:!((We=se.value.outputRegexFilter)!=null&&We.isEnable)})})},children:(H=se.value.outputRegexFilter)!=null&&H.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsx(Se,{size:"mini",title:G("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{se.value=ae(R({},se.value),{outputRegexFilter:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]})]}):o.jsx(me,{className:"gap-4 w-full justify-start mt-2 mb-1",children:o.jsx(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",onClick:()=>{var We,Je,jt;se.value.outputRegexFilter||(se.value.outputRegexFilter={}),se.value=ae(R({},se.value),{outputRegexFilter:{id:(We=se.value.outputRegexFilter.id)!=null?We:Date.now().toString(),value:(Je=se.value.outputRegexFilter.value)!=null?Je:"",isEnable:(jt=se.value.outputRegexFilter.isEnable)!=null?jt:!0}})},children:G("Add Regex Match Group Filter",{ns:"dashboard"})})}),(F=se.value.outputTemplate)!=null&&F.id?o.jsxs(te,{className:"mt-2",children:[o.jsx(me,{className:"gap-1 w-full justify-start",children:o.jsx(re,{className:"font-semibold",size:"sm",children:G("Output Template",{ns:"dashboard"})})}),mt.value&&o.jsx(re,{className:"!text-yellow-600 text-xs mt-2",children:o.jsx(ls,{i18nKey:"Template should have⠀{{output}}⠀placeholder.",ns:"dashboard"})}),o.jsxs(me,{className:"gap-2 mb-2",children:[o.jsx(wn,{small:!0,defaultValue:(q=se.value.outputTemplate)==null?void 0:q.value,disabled:((X=se.value.outputTemplate)==null?void 0:X.isEnable)===!1,onChange:We=>{se.value.outputTemplate||(se.value.outputTemplate={}),se.value.outputTemplate.value=We.target.value.trim()},className:"".concat(((ne=se.value.outputTemplate)==null?void 0:ne.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:G("Wrap output using {{output}} placeholder",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),o.jsx(Se,{size:"mini",title:G("Enable / Disable",{ns:"dashboard"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var We;se.value=ae(R({},se.value),{outputTemplate:ae(R({},se.value.outputTemplate),{isEnable:!((We=se.value.outputTemplate)!=null&&We.isEnable)})})},children:(ee=se.value.outputTemplate)!=null&&ee.isEnable?o.jsx(Va,{size:14}):o.jsx(ba,{size:14})}),o.jsx(Se,{size:"mini",title:G("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{se.value=ae(R({},se.value),{outputTemplate:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:o.jsx(kr,{size:14})})]})]}):o.jsx(me,{className:"gap-4 w-full justify-start mt-2 mb-1",children:o.jsx(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",onClick:()=>{var We,Je,jt;se.value.outputTemplate||(se.value.outputTemplate={}),se.value=ae(R({},se.value),{outputTemplate:{id:(We=se.value.outputTemplate.id)!=null?We:Date.now().toString(),value:(Je=se.value.outputTemplate.value)!=null?Je:"",isEnable:(jt=se.value.outputTemplate.isEnable)!=null?jt:!0}})},children:G("Add Output Template",{ns:"dashboard"})})}),ce.value&&o.jsxs(te,{className:"".concat(He.value?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," ").concat(x?"py-1":"py-0"," rounded-md px-3 relative"),children:[o.jsx(ka,{isDark:A,maxHeight:x?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:ce.value,language:"shell"}),o.jsx(te,{className:"".concat(He.value?"bg-red-300 dark:bg-red-800":"bg-green-300 dark:bg-green-800"," text-xs rounded-sm px-1.5 absolute right-2 bottom-2 select-none"),children:He.value?G("Command:::error",{ns:"dashboard"}):G("Command:::output",{ns:"dashboard"})})]})]}):b?o.jsx(g2e,{isLargeView:x,clipId:t,clipValue:le,webrequestTestOutputObject:ye,webrequestLocalOptions:se,showLinkValidationError:Ye,isDark:A,requestOptions:_}):C?o.jsx(v2e,{isLargeView:x,clipValue:le,testOutputObject:ye,localOptions:se,showLinkValidationError:Ye,isDark:A,requestOptions:_}):a?o.jsxs(te,{children:[o.jsx(m2e,{clipValue:le,isLargeView:x,checkForTemplateFieldsCallback:()=>{tn(le.value)},templateMissingFields:Ve,templateFoundFields:Ke,localOptions:de}),pe.value&&o.jsxs(te,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative mt-2 rounded-md text-sm",children:[o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:o.jsxs(te,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8",children:[o.jsx("div",ae(R({},ve.value==="html"&&{dangerouslySetInnerHTML:{__html:Od.sanitize(pe.value)}}),{className:"font-normal"})),ve.value==="text"&&pe.value]})}),o.jsx(In,{size:16,className:"absolute right-2 top-2 cursor-pointer opacity-30 hover:opacity-100",onClick:()=>{pe.value=""}}),o.jsx(te,{className:"bg-slate-300 dark:bg-slate-900 text-xs rounded-sm px-1.5 absolute left-2 bottom-2 select-none",children:G("filled template",{ns:"dashboard"})}),o.jsx(hl,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:ve.value,onValueChange:We=>{ve.value=We==="html"?"html":"text"},children:o.jsxs(Yo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[o.jsx(jr,{value:"text",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:G("Text",{ns:"dashboard"})}),o.jsx(jr,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:G("HTML",{ns:"dashboard"})})]})})]})]}):i&&o.jsx(p2e,{isLargeView:x,showLinkValidationError:Ye,localOptions:de}):o.jsxs(o.Fragment,{children:[o.jsxs(te,{className:"text-slate-400 flex gap-1.5 px-0.5 p-1.5 pt-0.5 items-center",children:[o.jsx(st,{isCompact:!0,text:G("Toolbar:::Copy and Paste Formatting",{ns:"common"}),children:o.jsx(xz,{size:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("copy")}})}),o.jsx(st,{isCompact:!0,text:G("Toolbar:::Masked Text Formatting",{ns:"common"}),children:o.jsx(lk,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("mask")}})}),o.jsx(st,{isCompact:!0,text:G("Toolbar:::Blank Text Formatting",{ns:"common"}),children:o.jsx($U,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("blank")}})}),o.jsx(st,{isCompact:!0,text:G("Toolbar:::Hightlight Text Formatting",{ns:"common"}),children:o.jsx(zU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("hl")}})}),o.jsx(st,{isCompact:!0,text:G("Toolbar:::Header Formatting",{ns:"common"}),children:o.jsx(yie,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("h")}})}),o.jsx(st,{isCompact:!0,text:G("Toolbar:::Bold Formatting",{ns:"common"}),children:o.jsx(pae,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("b")}})}),o.jsx(st,{isCompact:!0,text:G("Toolbar:::Italic Formatting",{ns:"common"}),children:o.jsx(Tie,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleAddBBcode("i")}})}),o.jsx("div",{tabIndex:-1,className:"ml-auto mr-0.5",children:o.jsx(st,{isCompact:!0,text:G("Toolbar:::Remove Text Formatting",{ns:"common"}),asChild:!0,children:o.jsx(Nz,{size:17,className:"hover:text-red-500 dark:hover:text-red-700 cursor-pointer",onClick:()=>{var We;(We=ht==null?void 0:ht.current)==null||We.handleRemoveBBcodes(["copy","mask","blank","hl","h","b","i"])}})})})]}),o.jsx(ko,{ref:ht,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:G("Enter value or drag from history",{ns:"dashboard"}),rows:2,autoFocus:T,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:x?12:6,value:le.value,onKeyDown:We=>{We.stopPropagation()},onChange:We=>{le.value=We.target.value}})]}):o.jsx(h2e,{isOver:e}),o.jsx(or,{style:{minWidth:"100%"},forceVisible:!0,className:"dashboard-tabs",children:o.jsxs(me,{className:"w-full justify-start items-center select-none",children:[o.jsxs(me,{className:"items-start mt-2",children:[o.jsx(u2e,{isCode:r,isCommand:m,isWebRequest:b,isWebScraping:C,isLink:w,isPath:g,isText:s,isTemplate:a,isForm:i,isImage:l,itemId:t,detectedLanguage:L,children:o.jsx(te,{children:o.jsx(st,{text:Xt,isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"px-2 h-8 text-slate-500 border-0 dark:hover:bg-slate-900/70 bg-slate-200 dark:bg-slate-800 text-sm group hover:text-blue-500 dark:hover:!text-blue-600",children:r?o.jsxs(o.Fragment,{children:[o.jsx(Z8,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Code",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):l?o.jsxs(o.Fragment,{children:[o.jsx(q2,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Image",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):g?o.jsxs(o.Fragment,{children:[o.jsx(J8,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Path",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):b?o.jsxs(o.Fragment,{children:[o.jsx(bU,{width:16,height:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Request",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):C?o.jsxs(o.Fragment,{children:[o.jsx(wU,{width:16,height:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Scraper",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):m?o.jsxs(o.Fragment,{children:[o.jsx(Dz,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Command",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):w?o.jsxs(o.Fragment,{children:[o.jsx(E0,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Link",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):i?o.jsxs(o.Fragment,{children:[o.jsx(Az,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::AutoFill",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):a?o.jsxs(o.Fragment,{children:[o.jsx(Q8,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Template",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):o.jsxs(o.Fragment,{children:[o.jsx(V2,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:G("Type:::Text",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]})})})})})}),m?o.jsx(st,{text:G("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>ge(this,null,function*(){var We,Je,jt,we,je;try{ce.value=yield Ln("run_shell_command",{execCmd:le.value,outputTemplate:(We=se.value.outputTemplate)!=null&&We.id?se.value.outputTemplate:null,outputRegexFilter:(Je=se.value.outputRegexFilter)!=null&&Je.id?se.value.outputRegexFilter:null}),He.value=!1,mt.value=!!((jt=se.value.outputTemplate)!=null&&jt.id&&!((je=(we=se.value.outputTemplate)==null?void 0:we.value)!=null&&je.includes("{{output}}")))}catch(Ie){ce.value=Ie,He.value=!0}}),children:o.jsx(me,{className:"font-medium text-sm gap-1",children:o.jsx($g,{size:16,className:"text-gray-500"})})})})}):b?o.jsx(st,{text:G("Test Request",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>ge(this,null,function*(){ye.value={};try{ye.value=yield Ln("run_web_request",{request:{url:le.value,method:se.value.method,headers:se.value.headers,filters:se.value.filters,body:se.value.body,auth:se.value.auth}})}catch(We){ye.value={body:We,status:500,contentType:null}}}),children:o.jsx(me,{className:"font-medium text-sm gap-1",children:o.jsx($g,{size:16,className:"text-gray-500"})})})})}):i?o.jsx(st,{text:G("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>ge(this,null,function*(){yield Ln("run_form_fill",{formOptions:de.value.formOptions,firstDelay:1})}),children:o.jsx(me,{className:"font-medium text-sm gap-1",children:o.jsx($g,{size:16,className:"text-gray-500"})})})})}):a?o.jsx(st,{text:G("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>ge(this,null,function*(){try{pe.value=yield Ln("run_template_fill",{templateValue:le.value,templateOptions:de.value.templateOptions,isPreview:!0})}catch(We){console.error(We)}}),children:o.jsx(me,{className:"font-medium text-sm gap-1",children:o.jsx($g,{size:16,className:"text-gray-500"})})})})}):C&&o.jsx(st,{text:G("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>ge(this,null,function*(){ye.value={};try{ye.value=yield Ln("run_web_scraping",{request:{url:le.value,method:"GET",scrapingRules:se.value.scrapingRules,scrapingOptions:se.value.scrapingOptions}})}catch(We){ye.value={body:We,status:500,contentType:null}}}),children:o.jsx(me,{className:"font-medium text-sm gap-1",children:o.jsx($g,{size:16,className:"text-gray-500"})})})})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(st,{text:G("Clip Options",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1 h-8 w-8 text-slate-500 border-0 hover:text-blue-500",children:o.jsx(Ah,{size:16})})})})}),o.jsxs(Wn,{className:"",sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{children:G("Clip Options",{ns:"dashboard"})})}),o.jsx(kn,{}),E?o.jsxs(rt,{onClick:()=>{Ue({updatedItem:{isPinned:!1,itemId:t}})},children:[G("UnPin Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Id,{size:15})})]}):o.jsxs(rt,{onClick:()=>{Ue({updatedItem:{isPinned:!0,itemId:t}})},children:[G("Pin",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Qc,{size:15})})]}),N?o.jsxs(rt,{onClick:()=>{Ue({updatedItem:{isFavorite:!1,itemId:t}})},children:[G("Remove Star",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(m5,{size:15,className:"fill-transparent"})})]}):o.jsxs(rt,{onClick:()=>{Ue({updatedItem:{isFavorite:!0,itemId:t}})},children:[G("Star",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(Lh,{size:15,className:"fill-transparent"})})]}),o.jsx(kn,{}),o.jsxs(rt,{className:d?"font-semibold":"",onClick:We=>{We.preventDefault(),Ue({updatedItem:{isMasked:!d,itemId:t}})},children:[G("Type:::Secret",{ns:"common"}),d&&o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(en,{size:15,className:"fill-transparent"})})]}),o.jsxs(rt,{className:h?"font-semibold":"",onClick:We=>{We.preventDefault(),Ue({updatedItem:{isVideo:!h,itemId:t}})},children:[G("Type:::Video",{ns:"common"}),h&&o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(en,{size:15,className:"fill-transparent"})})]}),o.jsxs(rt,{className:p?"font-semibold":"",onClick:We=>{We.preventDefault(),Ue({updatedItem:{hasEmoji:!p,itemId:t}})},children:[G("Type:::Emoji",{ns:"common"}),p&&o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(en,{size:15,className:"fill-transparent"})})]}),o.jsx(kn,{}),o.jsx(d2e,{clipId:t,onComplete:Y})]})]})]}),o.jsxs(me,{className:"items-end ml-auto mt-1",children:[o.jsx(st,{text:G("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{Y()},children:o.jsx(In,{size:18})})})}),o.jsxs(Ca,{defaultOpen:!1,open:ot.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsxs(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>{!qe&&(m||b||C||a||i)?Ga.value=!0:Pt()},children:[o.jsx(en,{size:18,className:"mr-1"}),G("Save",{ns:"common"}),(m||b||C||a||i)&&o.jsx(Ql,{})]})})}),o.jsx(aa,{sideOffset:16,align:"center",onEscapeKeyDown:()=>{ot.value=!1,De.value=!1},onPointerDownOutside:()=>{ot.value=!1,De.value=!1},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",children:o.jsxs(me,{className:"flex-col p-1.5 rounded-md",children:[o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone text-yellow-600",children:Ye.value?G("Errors:::Please verify your link for any errors, or confirm to save as is.",{ns:"dashboard"}):dt.value?G("Errors:::Please verify your path for any errors, or confirm to save as is.",{ns:"dashboard"}):He.value?G("Errors:::Your command runs with errors, confirm you want to save as is.",{ns:"dashboard"}):ye.value.status&&!ye.value.hasFiltersError&&ye.value.status>=400?G("Errors:::Your request runs with errors, confirm you want to save as is.",{ns:"dashboard"}):ye.value.status&&ye.value.hasFiltersError&&ye.value.status>=400?G("Errors:::Your request has filters error, confirm you want to save as is.",{ns:"dashboard"}):mt.value?Ke.value.length===0?G("Errors:::No fields found in the template.",{ns:"dashboard"})+" "+G("Errors:::Please fix the problem or confirm to save as is.",{ns:"dashboard"}):Ve.value.length>0?G("{{count}} fields found in template but missing from fields definition.",{ns:"dashboard",count:Ve.value.length})+" "+G("Errors:::Please fix the problem or confirm to save as is.",{ns:"dashboard"}):G("Errors:::Your template has errors, confirm you want to save as is.",{ns:"dashboard"}):G("Please confirm to save as is.",{ns:"dashboard"})}),o.jsx(Rn,{h:3}),o.jsxs(me,{className:"mb-1",children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{ot.value=!1,De.value=!1},children:G("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200 whitespace-nowrap",onClick:()=>{Pt(!0)},children:G("Save It!",{ns:"common"})})]})]})})]})]})]})})]})})}finally{O.f()}}const P7=["post","page","media","creditcard","tiktok","kanbanSquare","arrowRight","twitter","facebook","linkedin","twitch","youtube","instagram","slack","dribbble","trello","chrome","codePen","codesandbox","figma","send","check","check2","copy","help","pin","copyDone","star","list","list2","list3","list5","listmusic","listchecks","listCollapse","listOrdered","listTree","listToDo","scrollText","audioLines","audioWaveform","mic","mails","atSign","mail","inbox","archive","container","sendHorizontal","contact","contact2","userRound","circleUser","userSquare","squareUser","userRound2","user","baby","notebook","paperclip","bookUser","nfc","smartphoneNfc","smartphone","graduationCap","apple2","appWindows","alertTriangle","alertCircle","alarmClock","alertOctagon","voicemail","calendarClock","calendarDays","calendarHeart","angry","annoyed","frown","meh","smile","eye","fan","handMetal","heartHandshake","heart","leafyGreen","ribbon","ralad","crown","camera","fingerprint","flame","database","dog","cat","bird","rabbit","fish","fishSymbol","carrot","candy","cherry","dice","biohazard","satellite","satelliteDish","radioTower","radio","wifi","router","bitcoin","dollarSign","circleDollarSign","euro","drum","medal","beer","beef","bell","draftingCompass","trophy","gaugeCircle","gauge","bike","award","trafficCone","tramFront","truck","plane","car","dumbbell","parkingCircle","parkingSquare","msquare","partyPopper","conciergeBell","aperture","areaChart","armchair","arrowUpRightSquare","asteriskSquare","asterisk","keySquare","key","lockKeyhole","lock","shieldCheck","shield","compass","shieldHalf","presentation","folder","folderHeart","folderTree","folderDot","folderGit","folderGit2","folderKey","folderLock","folderKanban","file","fileCode","fileText","fileCode2","fileJson","fileJson2","fileTerminal","fileVideo","fileVideo2","fileVolume","fileHeart","fileImage","fileLock2","fileLock","fileSpreadsheet","fileCog","fileMusic","filePieChart","filePen","fileSearch","fileLineChart","fileSymlink","driveDownload","driveUpload","imageDown","import","music","sheet","pieChart","packageOpen","package","gamepad2","joystick","hammer","lampDesk","lamp","bookOpen","airplay","code2","code","codeSquare","functionSquare","arrowDownCircle","arrowUpCircle","arrowLeftCircle","arrowRightCircle","gem","ghost","rocket","skull","sparkles","puzzle","messageWarning","messageWarning2","dessert","pizza","venetianMask","wand","toyBrick","mountain","milestone","feather","flaskRound","goal","hourglass","axe","gitlab","github2","sprayCcan","gift","swords","fileAudio2","downloadCloud","uploadCloud","upload","download","globe","globe2","hash","highlighter","infinity","lifeBuoy","locateFixed","mapPin","map","magnet","martini","mountainSnow","mousePointer","move3d","network","newspaper","notebook2","notepadText","megaphone","ganttChartSquare","personStanding","plug2","play","plug","plugZap2","plugZap","radiation","quote","tag","speech","spade","shoppingCart","slidersHorizontal","discord","gitHub","npm","pnpm","node","react","tailwind","google","apple","paypal"],zo={logo:t=>o.jsx("svg",ae(R({viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},t),{children:o.jsx("circle",{cx:"12",cy:"12",r:"10"})})),close:In,spinner:Kie,chevronLeft:Tae,chevronRight:j0,trash:kr,post:V2,page:cM,media:q2,settings:Ah,ellipsis:xl,add:Wr,warning:Ti,arrowRight:Xse,help:Hae,twitter:Vce,check:en,check2:Nae,copy:Y8,pin:Qc,pinoff:Id,copyDone:vz,sun:Lce,moon:ple,facebook:yoe,linkedin:$ie,twitch:Wce,youtube:tue,instagram:_ie,slack:pce,dribbble:hoe,trello:Hce,star:Lh,chrome:Aae,codePen:Qae,codesandbox:Jae,figma:koe,image:q2,list:f5,list2:qie,list3:dz,list4:Fse,list5:zse,listmusic:Hie,listchecks:tE,listCollapse:zie,listOrdered:Bie,listTree:Vie,listToDo:Wie,scrollText:rce,scroll:sce,audioLines:eae,audioWaveform:tae,mic:fle,mails:Jie,atSign:Jse,mail:Qie,inbox:Eie,archive:Kse,container:soe,sendHorizontal:ace,send:oce,contact:roe,contact2:noe,userRound:Wae,circleUser:Vae,userSquare:Ice,squareUser:Ace,userRound2:Kce,user:Gce,baby:sae,notebook:Sle,paperclip:Ile,bookUser:gae,nfc:Cle,smartphoneNfc:gce,smartphone:vce,graduationCap:fie,apple2:qse,appWindows:Vse,aLargeSmall:Rse,alertTriangle:Ti,alertCircle:gz,alarmClock:$se,alertOctagon:Nle,voicemail:Zce,calendarClock:xae,calendarDays:yae,calendarHeart:bae,angry:Bse,annoyed:Use,frown:nie,meh:ole,smile:xce,eye:N0,fan:boe,handMetal:gie,heartHandshake:bie,heart:d6,leafyGreen:Rie,ribbon:Xle,ralad:ece,crown:ooe,camera:kae,fingerprint:Hoe,flame:Woe,database:ioe,dog:uoe,cat:Eae,bird:fae,rabbit:Kle,fish:Uoe,fishSymbol:Boe,carrot:jae,candy:Cae,cherry:_ae,dice:coe,biohazard:dae,satellite:nce,satelliteDish:tce,radioTower:Yle,radio:Zle,wifi:Jce,router:Qle,bitcoin:hae,dollarSign:doe,circleDollarSign:zae,euro:xoe,drum:poe,medal:sle,beer:oae,beef:aae,bell:cae,draftingCompass:foe,trophy:Bce,gaugeCircle:Fae,gauge:sie,bike:uae,award:nae,trafficCone:zce,tramFront:Fce,truck:Uce,plane:$le,car:Sae,dumbbell:moe,parkingCircle:Bae,parkingSquare:Dce,msquare:Tce,partyPopper:Ale,conciergeBell:toe,aperture:Wse,areaChart:Gse,armchair:Yse,arrowUpRightSquare:Cce,asteriskSquare:_z,asterisk:Qse,keySquare:Mie,key:Die,lockKeyhole:Yie,lock:Zie,shieldCheck:lce,shield:uce,compass:eoe,shieldHalf:cce,presentation:Wle,folder:e0,folderHeart:Zoe,folderTree:tie,folderDot:Koe,folderGit:Yoe,folderGit2:Goe,folderKey:Qoe,folderLock:Joe,folderKanban:Xoe,file:cM,fileCode:Soe,fileText:V2,fileCode2:Z8,fileJson:_oe,fileJson2:Noe,fileTerminal:Ooe,fileVideo:zoe,fileVideo2:$oe,fileVolume:Foe,fileHeart:joe,fileImage:Eoe,fileLock2:Poe,fileLock:Moe,fileSpreadsheet:Roe,fileCog:X8,fileMusic:Doe,filePieChart:Aoe,filePen:Ioe,fileSearch:Loe,fileLineChart:Toe,fileSymlink:J8,driveDownload:vie,driveUpload:Cz,imageDown:Sie,import:jie,music:ble,sheet:ice,pieChart:Rle,packageOpen:_le,package:Tle,gamepad2:rie,joystick:Pie,hammer:mie,lampDesk:Iie,lamp:Aie,bookOpen:mae,airplay:Ose,code2:Zae,code:Xae,codeSquare:Sce,functionSquare:Pz,arrowDownCircle:Lae,arrowUpCircle:$ae,arrowLeftCircle:Rae,arrowRightCircle:Oae,gem:aie,ghost:oie,rocket:am,skull:hce,sparkles:bce,puzzle:Vle,messageWarning:ile,messageWarning2:ule,dessert:loe,pizza:Ole,venetianMask:Yce,wand:Xce,toyBrick:$ce,mountain:gle,milestone:hle,feather:woe,flaskRound:Voe,goal:die,hourglass:Cie,axe:rae,gitlab:cie,github2:lie,sprayCcan:kce,gift:iie,swords:Rce,fileAudio2:Coe,downloadCloud:Gae,uploadCloud:Yae,upload:qce,download:u6,globe:uie,globe2:goe,hash:xie,highlighter:wie,infinity:Nie,lifeBuoy:Oie,locateFixed:Gie,mapPin:ele,map:tle,magnet:Xie,martini:nle,mountainSnow:mle,mousePointer:Mce,move3d:vle,network:wle,newspaper:kle,notebook2:jle,notepadText:Ele,megaphone:ale,ganttChartSquare:Ece,personStanding:Lle,plug2:Fle,play:zle,plug:Ule,plugZap2:Hle,plugZap:Ble,radiation:Gle,quote:qle,tag:Oce,speech:wce,spade:yce,shoppingCart:dce,slidersHorizontal:mce,kanbanSquare:Nce,creditcard:t=>o.jsxs("svg",ae(R({viewBox:"0 0 24 24",fill:"currentColor",width:t.size,height:t.size},t),{children:[o.jsx("path",{d:"M21.278 3.054H2.722c-.614.003-1.202.249-1.636.683-.434.434-.68 1.022-.683 1.636v13.254c.003.614.249 1.202.683 1.636.434.434 1.022.68 1.636.683h18.556a2.3306 2.3306 0 0 0 1.636-.683c.434-.434.68-1.022.683-1.636V5.373a2.3306 2.3306 0 0 0-.683-1.636 2.3306 2.3306 0 0 0-1.636-.683ZM2.722 5.042h18.556c.088 0 .172.035.234.097.062.062.097.146.097.234v2.982H2.391V5.373c0-.088.035-.172.097-.234a.3307.3307 0 0 1 .234-.097Zm18.556 13.916H2.722a.3307.3307 0 0 1-.234-.097.3307.3307 0 0 1-.097-.234v-8.284h19.218v8.284c0 .088-.035.172-.097.234a.3307.3307 0 0 1-.234.097Z"}),o.jsx("path",{d:"M8.055 14.438H6.204c-.245 0-.48.097-.654.271a.9266.9266 0 0 0-.271.654c0 .245.098.481.271.654.174.174.409.271.654.271h1.851c.246 0 .481-.097.655-.271.173-.173.27-.409.27-.654 0-.245-.097-.481-.27-.654a.9247.9247 0 0 0-.655-.271Zm4.6 0h-1.851c-.245 0-.48.097-.654.271a.9266.9266 0 0 0-.271.654c0 .245.098.481.271.654.174.174.409.271.654.271h1.851c.246 0 .481-.097.655-.271.173-.173.27-.409.27-.654 0-.245-.097-.481-.27-.654a.9247.9247 0 0 0-.655-.271Z"})]})),discord:t=>o.jsx("svg",ae(R({viewBox:"0 0 127.14 96.36",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"})})),gitHub:t=>o.jsx("svg",ae(R({viewBox:"0 0 438.549 438.549",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})})),npm:t=>o.jsx("svg",ae(R({viewBox:"0 0 24 24",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"})})),tiktok:t=>o.jsxs("svg",ae(R({viewBox:"0 0 25 25",width:t.size,height:t.size},t),{fill:"none",stroke:"currentColor",children:[o.jsx("path",{stroke:"currentColor",strokeWidth:"1.8",d:"M23.078 7.077v9.846c0 3.399-2.756 6.155-6.155 6.155H7.077c-3.399 0-6.155-2.756-6.155-6.155V7.077C.922 3.678 3.678.922 7.077.922h9.846c3.399 0 6.155 2.756 6.155 6.155Z"}),o.jsx("path",{stroke:"currentColor",strokeWidth:"1.8",d:"M9.538 12c-2.039 0-3.692 1.653-3.692 3.693 0 2.039 1.653 3.692 3.692 3.692 2.04 0 3.693-1.653 3.693-3.692V4.615c.41 1.231 1.969 3.692 4.923 3.692"})]})),pnpm:t=>o.jsx("svg",ae(R({viewBox:"0 0 24 24",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z"})})),node:t=>o.jsx("svg",ae(R({viewBox:"0 0 16 16",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M 8 1.0234375 C 7.736875 1.0234375 7.4742344 1.0924687 7.2402344 1.2304688 L 2.7402344 3.8789062 C 2.2832344 4.1469063 2 4.642875 2 5.171875 L 2 11.005859 C 2 11.554859 2.29925 12.059266 2.78125 12.322266 L 4.2558594 13.126953 C 4.4828594 13.250953 4.7286094 13.310547 4.9746094 13.310547 C 5.2386094 13.310547 5.4992812 13.239609 5.7382812 13.099609 C 6.1982812 12.826609 6.4726562 12.344594 6.4726562 11.808594 L 6.4726562 5.4648438 L 5.4726562 5.4648438 L 5.4726562 11.808594 C 5.4726562 12.065594 5.3025156 12.195281 5.2285156 12.238281 C 5.1555156 12.281281 4.959375 12.371047 4.734375 12.248047 L 3.2617188 11.445312 C 3.1007187 11.357312 3 11.188859 3 11.005859 L 3 5.171875 C 3 4.995875 3.0940938 4.8302344 3.2460938 4.7402344 L 7.7460938 2.0917969 C 7.9020937 1.9997969 8.0979062 2.0007969 8.2539062 2.0917969 L 12.753906 4.7402344 C 12.904906 4.8302344 13 4.995875 13 5.171875 L 13 11.009766 C 13 11.189766 12.900234 11.359219 12.740234 11.449219 L 8.2402344 13.900391 C 8.0902344 13.980391 7.9097656 13.980391 7.7597656 13.900391 L 6.8808594 13.419922 C 6.7108594 13.629922 6.5 13.810937 6.25 13.960938 C 6.17 14.010938 6.0897656 14.050078 6.0097656 14.080078 L 7.2792969 14.779297 C 7.5092969 14.899297 7.75 14.960938 8 14.960938 C 8.25 14.960938 8.4907031 14.899297 8.7207031 14.779297 L 13.220703 12.320312 C 13.700703 12.060313 14 11.559766 14 11.009766 L 14 5.171875 C 14 4.642875 13.717719 4.1469062 13.261719 3.8789062 L 8.7617188 1.2304688 C 8.5272187 1.0924688 8.263125 1.0234375 8 1.0234375 z M 9.4511719 5.3183594 C 7.8711719 5.3183594 7.0703125 5.8690781 7.0703125 6.9550781 C 7.0703125 8.1850781 8.4869687 8.3680781 9.1679688 8.4550781 C 9.2659688 8.4680781 9.352875 8.4791875 9.421875 8.4921875 L 9.7207031 8.5449219 C 10.760703 8.7189219 11 8.836875 11 9.171875 C 11 9.333875 10.999172 9.8242188 9.4511719 9.8242188 C 8.1381719 9.8242188 7.8691406 9.4346094 7.8691406 8.8496094 L 6.8691406 8.8496094 C 6.8691406 9.7516094 7.3171719 10.824219 9.4511719 10.824219 C 11.557172 10.824219 12 9.925875 12 9.171875 C 12 7.913875 10.777719 7.7076406 9.8867188 7.5566406 L 9.5996094 7.5078125 C 9.5166094 7.4928125 9.4119219 7.4788438 9.2949219 7.4648438 C 8.6589219 7.3828438 8.0703125 7.2650312 8.0703125 6.9570312 C 8.0703125 6.7340313 8.0691719 6.3193594 9.4511719 6.3183594 C 10.370172 6.3183594 10.837891 6.6207969 10.837891 7.2167969 L 11.837891 7.2167969 C 11.837891 6.2997969 11.209172 5.3183594 9.4511719 5.3183594 z"})})),react:t=>o.jsx("svg",ae(R({viewBox:"0 0 24 24",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"})})),tailwind:t=>o.jsx("svg",ae(R({viewBox:"0 0 24 24",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z"})})),google:t=>o.jsx("svg",ae(R({role:"img",viewBox:"0 0 24 24",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})})),apple:t=>o.jsx("svg",ae(R({role:"img",viewBox:"0 0 24 24",width:t.size,height:t.size},t),{children:o.jsx("path",{d:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",fill:"currentColor"})})),paypal:t=>o.jsx("svg",ae(R({viewBox:"0 0 48 48",width:t.size,height:t.size},t),{children:o.jsx("path",{fill:"currentColor",d:"M 12.841797 3.9980469 C 11.545957 3.9980469 10.408459 4.9201856 10.140625 6.1875 A 1.50015 1.50015 0 0 0 10.140625 6.1894531 L 4.3105469 33.863281 A 1.50015 1.50015 0 0 0 4.3105469 33.865234 C 3.9778831 35.447651 5.2380138 37 6.8554688 37 L 13.125 37 L 12.310547 40.865234 C 11.976672 42.448822 13.234312 44 14.853516 44 L 22.5 44 A 1.50015 1.50015 0 0 0 23.96875 42.808594 L 26.140625 32.5 L 32.230469 32.5 C 37.754148 32.5 42.547425 28.631159 43.714844 23.232422 L 43.876953 22.478516 C 45.063149 16.990425 41.185502 11.734909 35.767578 11.072266 C 34.701026 7.0840748 31.068127 3.9980469 26.613281 3.9980469 L 21.273438 3.9980469 L 17.820312 3.9980469 L 12.841797 3.9980469 z M 13.035156 6.9980469 L 17.820312 6.9980469 L 21.273438 6.9980469 L 26.613281 6.9980469 C 29.385425 6.9980469 31.656541 8.678134 32.609375 11 L 19.820312 11 A 1.50015 1.50015 0 0 0 18.351562 12.191406 L 15.996094 23.371094 A 1.50015 1.50015 0 0 0 15.855469 24.035156 L 13.757812 34 L 7.3476562 34 L 13.035156 6.9980469 z M 21.037109 14 L 33.068359 14 C 33.044325 14.280128 33.006713 14.561571 32.945312 14.845703 L 32.78125 15.599609 C 31.908668 19.634872 28.35879 22.5 24.230469 22.5 L 19.246094 22.5 L 21.037109 14 z M 36.056641 14.160156 C 39.449348 14.913351 41.718962 18.266313 40.945312 21.845703 L 40.78125 22.599609 C 39.908668 26.634872 36.35879 29.5 32.230469 29.5 L 24.923828 29.5 A 1.50015 1.50015 0 0 0 23.455078 30.691406 L 21.283203 41 L 15.347656 41 L 16.443359 35.796875 L 16.449219 35.775391 A 1.50015 1.50015 0 0 0 16.451172 35.767578 L 18.613281 25.5 L 24.230469 25.5 C 29.754148 25.5 34.547425 21.631159 35.714844 16.232422 L 35.876953 15.478516 C 35.972548 15.036146 36.024967 14.597251 36.056641 14.160156 z"})})),sunmoon:t=>o.jsxs("svg",ae(R({viewBox:"10.9 10.9 78.2 78.2"},t),{xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fill:"currentColor",d:"M50,89.1c21.56,0,39.1-17.54,39.1-39.1S71.56,10.9,50,10.9c-21.56,0-39.1,17.54-39.1,39.1S28.44,89.1,50,89.1z M50,15.26 c19.16,0,34.74,15.58,34.74,34.74S69.16,84.74,50,84.74S15.26,69.16,15.26,50S30.84,15.26,50,15.26z"}),o.jsx("path",{fill:"currentColor",d:"M80.39,50c0-16.76-13.63-30.39-30.38-30.39v60.77C66.76,80.39,80.39,66.76,80.39,50z"})]})),minimize:t=>o.jsx("svg",ae(R({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},t),{children:o.jsx("path",{fill:"currentColor",d:"M480 480H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"})}))},d0=t=>{const e=Te(7),{name:n,size:r,className:s}=t;if(P7.indexOf(n)===-1){let l;return e[0]!==r||e[1]!==s?(l=o.jsx(vae,{size:r,className:s}),e[0]=r,e[1]=s,e[2]=l):l=e[2],l}const a=zo[n];let i;return e[3]!==a||e[4]!==r||e[5]!==s?(i=o.jsx(a,{size:r,className:s}),e[3]=a,e[4]=r,e[5]=s,e[6]=i):i=e[6],i},_c=t=>{const e=Te(20),{iconVisibility:n,isBoard:r,className:s,description:a,color:i,size:l,icon:u,pathType:d,children:p}=t,h=r===void 0?!1:r,m=i===void 0?"text-slate-500 dark:text-slate-400":i,b=l===void 0?16:l,C=p===void 0?null:p;if(n==="none")return null;if((n==="always"||!n)&&!h){const g="".concat(m);let w;e[0]!==u||e[1]!==m||e[2]!==C?(w=u?o.jsx(d0,{size:16,name:u,className:"".concat(m)}):C,e[0]=u,e[1]=m,e[2]=C,e[3]=w):w=e[3];let x;return e[4]!==g||e[5]!==w?(x=o.jsx("span",{className:g,children:w}),e[4]=g,e[5]=w,e[6]=x):x=e[6],x}if(n==="always"||h){const g="".concat(m),w=a||d,x=!d&&!a;let S;e[7]!==u||e[8]!==m||e[9]!==s||e[10]!==b||e[11]!==C?(S=u?o.jsx(d0,{size:b,name:u,className:"".concat(m," ").concat(s)}):C,e[7]=u,e[8]=m,e[9]=s,e[10]=b,e[11]=C,e[12]=S):S=e[12];let E;e[13]!==w||e[14]!==x||e[15]!==S?(E=o.jsx(st,{isCompact:!0,text:w,isDisabled:x,side:"right",align:"end",alignOffset:30,maxWidth:180,sideOffset:-10,asChild:!0,children:S}),e[13]=w,e[14]=x,e[15]=S,e[16]=E):E=e[16];let N;return e[17]!==g||e[18]!==E?(N=o.jsx("span",{className:g,children:E}),e[17]=g,e[18]=E,e[19]=N):N=e[19],N}return null};/** + * @remix-run/router v1.13.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function es(){return es=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function w2e(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:a=!1}=r,i=s.history,l=as.Pop,u=null,d=p();d==null&&(d=0,i.replaceState(es({},i.state,{idx:d}),""));function p(){return(i.state||{idx:null}).idx}function h(){l=as.Pop;let w=p(),x=w==null?null:w-d;d=w,u&&u({action:l,location:g.location,delta:x})}function m(w,x){l=as.Push;let S=Tv(g.location,w,x);n&&n(S,w),d=p()+1;let E=sI(S,d),N=g.createHref(S);try{i.pushState(E,"",N)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;s.location.assign(N)}a&&u&&u({action:l,location:g.location,delta:1})}function b(w,x){l=as.Replace;let S=Tv(g.location,w,x);n&&n(S,w),d=p();let E=sI(S,d),N=g.createHref(S);i.replaceState(E,"",N),a&&u&&u({action:l,location:g.location,delta:0})}function C(w){let x=s.location.origin!=="null"?s.location.origin:s.location.href,S=typeof w=="string"?w:_h(w);return Hn(x,"No window.location.(origin|href) available to create URL for href: "+S),new URL(S,x)}let g={get action(){return l},get location(){return t(s,i)},listen(w){if(u)throw new Error("A history only accepts one active listener");return s.addEventListener(rI,h),u=w,()=>{s.removeEventListener(rI,h),u=null}},createHref(w){return e(s,w)},createURL:C,encodeLocation(w){let x=C(w);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:m,replace:b,go(w){return i.go(w)}};return g}var os;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(os||(os={}));const k2e=new Set(["lazy","caseSensitive","path","id","index","children"]);function C2e(t){return t.index===!0}function Q6(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((s,a)=>{let i=[...n,a],l=typeof s.id=="string"?s.id:i.join("-");if(Hn(s.index!==!0||!s.children,"Cannot specify children on an index route"),Hn(!r[l],'Found a route id collision on id "'+l+"\". Route id's must be globally unique within Data Router usages"),C2e(s)){let u=es({},s,e(s),{id:l});return r[l]=u,u}else{let u=es({},s,e(s),{id:l,children:void 0});return r[l]=u,s.children&&(u.children=Q6(s.children,e,i,r)),u}})}function lm(t,e,n){n===void 0&&(n="/");let r=typeof e=="string"?du(e):e,s=Gd(r.pathname||"/",n);if(s==null)return null;let a=ZU(t);j2e(a);let i=null;for(let l=0;i==null&&l{let u={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};u.relativePath.startsWith("/")&&(Hn(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let d=Kc([r,u.relativePath]),p=n.concat(u);a.children&&a.children.length>0&&(Hn(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),ZU(a.children,e,p,d)),!(a.path==null&&!a.index)&&e.push({path:d,score:D2e(d,a.index),routesMeta:p})};return t.forEach((a,i)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))s(a,i);else for(let u of XU(a.path))s(a,i,u)}),e}function XU(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let i=XU(r.join("/")),l=[];return l.push(...i.map(u=>u===""?a:[a,u].join("/"))),s&&l.push(...i),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function j2e(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:I2e(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const E2e=/^:\w+$/,N2e=3,_2e=2,T2e=1,P2e=10,M2e=-2,aI=t=>t==="*";function D2e(t,e){let n=t.split("/"),r=n.length;return n.some(aI)&&(r+=M2e),e&&(r+=_2e),n.filter(s=>!aI(s)).reduce((s,a)=>s+(E2e.test(a)?N2e:a===""?T2e:P2e),r)}function I2e(t,e){return t.length===e.length&&t.slice(0,-1).every((r,s)=>r===e[s])?t[t.length-1]-e[e.length-1]:0}function A2e(t,e){let{routesMeta:n}=t,r={},s="/",a=[];for(let i=0;i{let{paramName:m,isOptional:b}=p;if(m==="*"){let g=l[h]||"";i=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const C=l[h];return b&&!C?d[m]=void 0:d[m]=O2e(C||"",m),d},{}),pathname:a,pathnameBase:i,pattern:t}}function L2e(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Nh(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(i,l,u)=>(r.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),r]}function R2e(t){try{return decodeURI(t)}catch(e){return Nh(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function O2e(t,e){try{return decodeURIComponent(t)}catch(n){return Nh(!1,'The value for the URL param "'+e+'" will not be decoded because'+(' the string "'+t+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),t}}function Gd(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function $2e(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:s=""}=typeof t=="string"?du(t):t;return{pathname:n?n.startsWith("/")?n:z2e(n,e):e,search:H2e(r),hash:B2e(s)}}function z2e(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function UC(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function QU(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function ck(t){return QU(t).map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function uk(t,e,n,r){r===void 0&&(r=!1);let s;typeof t=="string"?s=du(t):(s=es({},t),Hn(!s.pathname||!s.pathname.includes("?"),UC("?","pathname","search",s)),Hn(!s.pathname||!s.pathname.includes("#"),UC("#","pathname","hash",s)),Hn(!s.search||!s.search.includes("#"),UC("#","search","hash",s)));let a=t===""||s.pathname==="",i=a?"/":s.pathname,l;if(i==null)l=n;else if(r){let h=e[e.length-1].replace(/^\//,"").split("/");if(i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),h.pop();s.pathname=m.join("/")}l="/"+h.join("/")}else{let h=e.length-1;if(i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),h-=1;s.pathname=m.join("/")}l=h>=0?e[h]:"/"}let u=$2e(s,l),d=i&&i!=="/"&&i.endsWith("/"),p=(a||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||p)&&(u.pathname+="/"),u}const Kc=t=>t.join("/").replace(/\/\/+/g,"/"),F2e=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),H2e=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,B2e=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class M7{constructor(e,n,r,s){s===void 0&&(s=!1),this.status=e,this.statusText=n||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function JU(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const eW=["post","put","patch","delete"],U2e=new Set(eW),W2e=["get",...eW],V2e=new Set(W2e),q2e=new Set([301,302,303,307,308]),K2e=new Set([307,308]),WC={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},G2e={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Wg={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},tW=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Y2e=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),nW="remix-router-transitions";function Z2e(t){const e=t.window?t.window:typeof window!="undefined"?window:void 0,n=typeof e!="undefined"&&typeof e.document!="undefined"&&typeof e.document.createElement!="undefined",r=!n;Hn(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(t.mapRouteProperties)s=t.mapRouteProperties;else if(t.detectErrorBoundary){let we=t.detectErrorBoundary;s=je=>({hasErrorBoundary:we(je)})}else s=Y2e;let a={},i=Q6(t.routes,s,void 0,a),l,u=t.basename||"/",d=es({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_prependBasename:!1},t.future),p=null,h=new Set,m=null,b=null,C=null,g=t.hydrationData!=null,w=lm(i,t.history.location,u),x=null;if(w==null){let we=di(404,{pathname:t.history.location.pathname}),{matches:je,route:Ie}=hI(i);w=je,x={[Ie.id]:we}}let S=!w.some(we=>we.route.lazy)&&(!w.some(we=>we.route.loader)||t.hydrationData!=null),E,N={historyAction:t.history.action,location:t.history.location,matches:w,initialized:S,navigation:WC,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||x,fetchers:new Map,blockers:new Map},_=as.Pop,P=!1,I,T=!1,A=new Map,L=null,z=!1,Y=!1,O=[],$=[],M=new Map,W=0,V=-1,U=new Map,J=new Set,H=new Map,F=new Map,q=new Set,X=new Map,ne=new Map,ee=!1;function G(){if(p=t.history.listen(we=>{let{action:je,location:Ie,delta:nt}=we;if(ee){ee=!1;return}Nh(ne.size===0||nt!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Pe=Xt({currentLocation:N.location,nextLocation:Ie,historyAction:je});if(Pe&&nt!=null){ee=!0,t.history.go(nt*-1),wt(Pe,{state:"blocked",location:Ie,proceed(){wt(Pe,{state:"proceeding",proceed:void 0,reset:void 0,location:Ie}),t.history.go(nt)},reset(){let gt=new Map(N.blockers);gt.set(Pe,Wg),se({blockers:gt})}});return}return ve(je,Ie)}),n){iwe(e,A);let we=()=>lwe(e,A);e.addEventListener("pagehide",we),L=()=>e.removeEventListener("pagehide",we)}return N.initialized||ve(as.Pop,N.location),E}function Z(){p&&p(),L&&L(),h.clear(),I&&I.abort(),N.fetchers.forEach((we,je)=>dt(je)),N.blockers.forEach((we,je)=>Ut(je))}function le(we){return h.add(we),()=>h.delete(we)}function se(we,je){je===void 0&&(je={}),N=es({},N,we);let Ie=[],nt=[];d.v7_fetcherPersist&&N.fetchers.forEach((Pe,gt)=>{Pe.state==="idle"&&(q.has(gt)?nt.push(gt):Ie.push(gt))}),[...h].forEach(Pe=>Pe(N,{deletedFetchers:nt,unstable_viewTransitionOpts:je.viewTransitionOpts,unstable_flushSync:je.flushSync===!0})),d.v7_fetcherPersist&&(Ie.forEach(Pe=>N.fetchers.delete(Pe)),nt.forEach(Pe=>dt(Pe)))}function de(we,je,Ie){var nt,Pe;let{flushSync:gt}=Ie===void 0?{}:Ie,Ze=N.actionData!=null&&N.navigation.formMethod!=null&&Gi(N.navigation.formMethod)&&N.navigation.state==="loading"&&((nt=we.state)==null?void 0:nt._isRedirect)!==!0,Re;je.actionData?Object.keys(je.actionData).length>0?Re=je.actionData:Re=null:Ze?Re=N.actionData:Re=null;let Oe=je.loaderData?fI(N.loaderData,je.loaderData,je.matches||[],je.errors):N.loaderData,et=N.blockers;et.size>0&&(et=new Map(et),et.forEach((_t,Mt)=>et.set(Mt,Wg)));let Et=P===!0||N.navigation.formMethod!=null&&Gi(N.navigation.formMethod)&&((Pe=we.state)==null?void 0:Pe._isRedirect)!==!0;l&&(i=l,l=void 0),z||_===as.Pop||(_===as.Push?t.history.push(we,we.state):_===as.Replace&&t.history.replace(we,we.state));let bt;if(_===as.Pop){let _t=A.get(N.location.pathname);_t&&_t.has(we.pathname)?bt={currentLocation:N.location,nextLocation:we}:A.has(we.pathname)&&(bt={currentLocation:we,nextLocation:N.location})}else if(T){let _t=A.get(N.location.pathname);_t?_t.add(we.pathname):(_t=new Set([we.pathname]),A.set(N.location.pathname,_t)),bt={currentLocation:N.location,nextLocation:we}}se(es({},je,{actionData:Re,loaderData:Oe,historyAction:_,location:we,initialized:!0,navigation:WC,revalidation:"idle",restoreScrollPosition:Je(we,je.matches||N.matches),preventScrollReset:Et,blockers:et}),{viewTransitionOpts:bt,flushSync:gt===!0}),_=as.Pop,P=!1,T=!1,z=!1,Y=!1,O=[],$=[]}function ce(we,je){return ge(this,null,function*(){if(typeof we=="number"){t.history.go(we);return}let Ie=ej(N.location,N.matches,u,d.v7_prependBasename,we,je==null?void 0:je.fromRouteId,je==null?void 0:je.relative),{path:nt,submission:Pe,error:gt}=oI(d.v7_normalizeFormMethod,!1,Ie,je),Ze=N.location,Re=Tv(N.location,nt,je&&je.state);Re=es({},Re,t.history.encodeLocation(Re));let Oe=je&&je.replace!=null?je.replace:void 0,et=as.Push;Oe===!0?et=as.Replace:Oe===!1||Pe!=null&&Gi(Pe.formMethod)&&Pe.formAction===N.location.pathname+N.location.search&&(et=as.Replace);let Et=je&&"preventScrollReset"in je?je.preventScrollReset===!0:void 0,bt=(je&&je.unstable_flushSync)===!0,_t=Xt({currentLocation:Ze,nextLocation:Re,historyAction:et});if(_t){wt(_t,{state:"blocked",location:Re,proceed(){wt(_t,{state:"proceeding",proceed:void 0,reset:void 0,location:Re}),ce(we,je)},reset(){let Mt=new Map(N.blockers);Mt.set(_t,Wg),se({blockers:Mt})}});return}return yield ve(et,Re,{submission:Pe,pendingError:gt,preventScrollReset:Et,replace:je&&je.replace,enableViewTransition:je&&je.unstable_viewTransition,flushSync:bt})})}function pe(){if(Ke(),se({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){ve(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}ve(_||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function ve(we,je,Ie){return ge(this,null,function*(){I&&I.abort(),I=null,_=we,z=(Ie&&Ie.startUninterruptedRevalidation)===!0,We(N.location,N.matches),P=(Ie&&Ie.preventScrollReset)===!0,T=(Ie&&Ie.enableViewTransition)===!0;let nt=l||i,Pe=Ie&&Ie.overrideNavigation,gt=lm(nt,je,u),Ze=(Ie&&Ie.flushSync)===!0;if(!gt){let Mt=di(404,{pathname:je.pathname}),{matches:an,route:dn}=hI(nt);$t(),de(je,{matches:an,loaderData:{},errors:{[dn.id]:Mt}},{flushSync:Ze});return}if(N.initialized&&!Y&&twe(N.location,je)&&!(Ie&&Ie.submission&&Gi(Ie.submission.formMethod))){de(je,{matches:gt},{flushSync:Ze});return}I=new AbortController;let Re=qg(t.history,je,I.signal,Ie&&Ie.submission),Oe,et;if(Ie&&Ie.pendingError)et={[O1(gt).route.id]:Ie.pendingError};else if(Ie&&Ie.submission&&Gi(Ie.submission.formMethod)){let Mt=yield ye(Re,je,Ie.submission,gt,{replace:Ie.replace,flushSync:Ze});if(Mt.shortCircuited)return;Oe=Mt.pendingActionData,et=Mt.pendingActionError,Pe=VC(je,Ie.submission),Ze=!1,Re=new Request(Re.url,{signal:Re.signal})}let{shortCircuited:Et,loaderData:bt,errors:_t}=yield be(Re,je,gt,Pe,Ie&&Ie.submission,Ie&&Ie.fetcherSubmission,Ie&&Ie.replace,Ze,Oe,et);Et||(I=null,de(je,es({matches:gt},Oe?{actionData:Oe}:{},{loaderData:bt,errors:_t})))})}function ye(we,je,Ie,nt,Pe){return ge(this,null,function*(){Pe===void 0&&(Pe={}),Ke();let gt=awe(je,Ie);se({navigation:gt},{flushSync:Pe.flushSync===!0});let Ze,Re=nj(nt,je);if(!Re.route.action&&!Re.route.lazy)Ze={type:os.error,error:di(405,{method:we.method,pathname:je.pathname,routeId:Re.route.id})};else if(Ze=yield Vg("action",we,Re,nt,a,s,u),we.signal.aborted)return{shortCircuited:!0};if(jm(Ze)){let Oe;return Pe&&Pe.replace!=null?Oe=Pe.replace:Oe=Ze.location===N.location.pathname+N.location.search,yield ot(N,Ze,{submission:Ie,replace:Oe}),{shortCircuited:!0}}if($1(Ze)){let Oe=O1(nt,Re.route.id);return(Pe&&Pe.replace)!==!0&&(_=as.Push),{pendingActionData:{},pendingActionError:{[Oe.route.id]:Ze.error}}}if(Ff(Ze))throw di(400,{type:"defer-action"});return{pendingActionData:{[Re.route.id]:Ze.data}}})}function be(we,je,Ie,nt,Pe,gt,Ze,Re,Oe,et){return ge(this,null,function*(){let Et=nt||VC(je,Pe),bt=Pe||gt||gI(Et),_t=l||i,[Mt,an]=iI(t.history,N,Ie,bt,je,Y,O,$,q,H,J,_t,u,Oe,et);if($t(xe=>!(Ie&&Ie.some(Ge=>Ge.route.id===xe))||Mt&&Mt.some(Ge=>Ge.route.id===xe)),V=++W,Mt.length===0&&an.length===0){let xe=ht();return de(je,es({matches:Ie,loaderData:{},errors:et||null},Oe?{actionData:Oe}:{},xe?{fetchers:new Map(N.fetchers)}:{}),{flushSync:Re}),{shortCircuited:!0}}if(!z){an.forEach(Ge=>{let ft=N.fetchers.get(Ge.key),pt=Kg(void 0,ft?ft.data:void 0);N.fetchers.set(Ge.key,pt)});let xe=Oe||N.actionData;se(es({navigation:Et},xe?Object.keys(xe).length===0?{actionData:null}:{actionData:xe}:{},an.length>0?{fetchers:new Map(N.fetchers)}:{}),{flushSync:Re})}an.forEach(xe=>{M.has(xe.key)&&mt(xe.key),xe.controller&&M.set(xe.key,xe.controller)});let dn=()=>an.forEach(xe=>mt(xe.key));I&&I.signal.addEventListener("abort",dn);let{results:fn,loaderResults:mn,fetcherResults:hn}=yield Ve(N.matches,Ie,Mt,an,we);if(we.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",dn),an.forEach(xe=>M.delete(xe.key));let nn=pI(fn);if(nn){if(nn.idx>=Mt.length){let xe=an[nn.idx-Mt.length].key;J.add(xe)}return yield ot(N,nn.result,{replace:Ze}),{shortCircuited:!0}}let{loaderData:on,errors:Sn}=dI(N,Ie,Mt,mn,et,an,hn,X);X.forEach((xe,Ge)=>{xe.subscribe(ft=>{(ft||xe.done)&&X.delete(Ge)})});let pn=ht(),rn=Qe(V),ut=pn||rn||an.length>0;return es({loaderData:on,errors:Sn},ut?{fetchers:new Map(N.fetchers)}:{})})}function Ee(we,je,Ie,nt){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");M.has(we)&&mt(we);let Pe=(nt&&nt.unstable_flushSync)===!0,gt=l||i,Ze=ej(N.location,N.matches,u,d.v7_prependBasename,Ie,je,nt==null?void 0:nt.relative),Re=lm(gt,Ze,u);if(!Re){De(we,je,di(404,{pathname:Ze}),{flushSync:Pe});return}let{path:Oe,submission:et,error:Et}=oI(d.v7_normalizeFormMethod,!0,Ze,nt);if(Et){De(we,je,Et,{flushSync:Pe});return}let bt=nj(Re,Oe);if(P=(nt&&nt.preventScrollReset)===!0,et&&Gi(et.formMethod)){Fe(we,je,Oe,bt,Re,Pe,et);return}H.set(we,{routeId:je,path:Oe}),qe(we,je,Oe,bt,Re,Pe,et)}function Fe(we,je,Ie,nt,Pe,gt,Ze){return ge(this,null,function*(){if(Ke(),H.delete(we),!nt.route.action&&!nt.route.lazy){let ft=di(405,{method:Ze.formMethod,pathname:Ie,routeId:je});De(we,je,ft,{flushSync:gt});return}let Re=N.fetchers.get(we);lt(we,owe(Ze,Re),{flushSync:gt});let Oe=new AbortController,et=qg(t.history,Ie,Oe.signal,Ze);M.set(we,Oe);let Et=W,bt=yield Vg("action",et,nt,Pe,a,s,u);if(et.signal.aborted){M.get(we)===Oe&&M.delete(we);return}if(q.has(we)){lt(we,Vu(void 0));return}if(jm(bt))if(M.delete(we),V>Et){lt(we,Vu(void 0));return}else return J.add(we),lt(we,Kg(Ze)),ot(N,bt,{fetcherSubmission:Ze});if($1(bt)){De(we,je,bt.error);return}if(Ff(bt))throw di(400,{type:"defer-action"});let _t=N.navigation.location||N.location,Mt=qg(t.history,_t,Oe.signal),an=l||i,dn=N.navigation.state!=="idle"?lm(an,N.navigation.location,u):N.matches;Hn(dn,"Didn't find any matches after fetcher action");let fn=++W;U.set(we,fn);let mn=Kg(Ze,bt.data);N.fetchers.set(we,mn);let[hn,nn]=iI(t.history,N,dn,Ze,_t,Y,O,$,q,H,J,an,u,{[nt.route.id]:bt.data},void 0);nn.filter(ft=>ft.key!==we).forEach(ft=>{let pt=ft.key,xt=N.fetchers.get(pt),At=Kg(void 0,xt?xt.data:void 0);N.fetchers.set(pt,At),M.has(pt)&&mt(pt),ft.controller&&M.set(pt,ft.controller)}),se({fetchers:new Map(N.fetchers)});let on=()=>nn.forEach(ft=>mt(ft.key));Oe.signal.addEventListener("abort",on);let{results:Sn,loaderResults:pn,fetcherResults:rn}=yield Ve(N.matches,dn,hn,nn,Mt);if(Oe.signal.aborted)return;Oe.signal.removeEventListener("abort",on),U.delete(we),M.delete(we),nn.forEach(ft=>M.delete(ft.key));let ut=pI(Sn);if(ut){if(ut.idx>=hn.length){let ft=nn[ut.idx-hn.length].key;J.add(ft)}return ot(N,ut.result)}let{loaderData:xe,errors:Ge}=dI(N,N.matches,hn,pn,void 0,nn,rn,X);if(N.fetchers.has(we)){let ft=Vu(bt.data);N.fetchers.set(we,ft)}Qe(fn),N.navigation.state==="loading"&&fn>V?(Hn(_,"Expected pending action"),I&&I.abort(),de(N.navigation.location,{matches:dn,loaderData:xe,errors:Ge,fetchers:new Map(N.fetchers)})):(se({errors:Ge,loaderData:fI(N.loaderData,xe,dn,Ge),fetchers:new Map(N.fetchers)}),Y=!1)})}function qe(we,je,Ie,nt,Pe,gt,Ze){return ge(this,null,function*(){let Re=N.fetchers.get(we);lt(we,Kg(Ze,Re?Re.data:void 0),{flushSync:gt});let Oe=new AbortController,et=qg(t.history,Ie,Oe.signal);M.set(we,Oe);let Et=W,bt=yield Vg("loader",et,nt,Pe,a,s,u);if(Ff(bt)&&(bt=(yield aW(bt,et.signal,!0))||bt),M.get(we)===Oe&&M.delete(we),!et.signal.aborted){if(q.has(we)){lt(we,Vu(void 0));return}if(jm(bt))if(V>Et){lt(we,Vu(void 0));return}else{J.add(we),yield ot(N,bt);return}if($1(bt)){De(we,je,bt.error);return}Hn(!Ff(bt),"Unhandled fetcher deferred data"),lt(we,Vu(bt.data))}})}function ot(we,je,Ie){return ge(this,null,function*(){let{submission:nt,fetcherSubmission:Pe,replace:gt}=Ie===void 0?{}:Ie;je.revalidate&&(Y=!0);let Ze=Tv(we.location,je.location,{_isRedirect:!0});if(Hn(Ze,"Expected a location on the redirect navigation"),n){let _t=!1;if(je.reloadDocument)_t=!0;else if(tW.test(je.location)){const Mt=t.history.createURL(je.location);_t=Mt.origin!==e.location.origin||Gd(Mt.pathname,u)==null}if(_t){gt?e.location.replace(je.location):e.location.assign(je.location);return}}I=null;let Re=gt===!0?as.Replace:as.Push,{formMethod:Oe,formAction:et,formEncType:Et}=we.navigation;!nt&&!Pe&&Oe&&et&&Et&&(nt=gI(we.navigation));let bt=nt||Pe;if(K2e.has(je.status)&&bt&&Gi(bt.formMethod))yield ve(Re,Ze,{submission:es({},bt,{formAction:je.location}),preventScrollReset:P});else{let _t=VC(Ze,nt);yield ve(Re,Ze,{overrideNavigation:_t,fetcherSubmission:Pe,preventScrollReset:P})}})}function Ve(we,je,Ie,nt,Pe){return ge(this,null,function*(){let gt=yield Promise.all([...Ie.map(Oe=>Vg("loader",Pe,Oe,je,a,s,u)),...nt.map(Oe=>Oe.matches&&Oe.match&&Oe.controller?Vg("loader",qg(t.history,Oe.path,Oe.controller.signal),Oe.match,Oe.matches,a,s,u):{type:os.error,error:di(404,{pathname:Oe.path})})]),Ze=gt.slice(0,Ie.length),Re=gt.slice(Ie.length);return yield Promise.all([mI(we,Ie,Ze,Ze.map(()=>Pe.signal),!1,N.loaderData),mI(we,nt.map(Oe=>Oe.match),Re,nt.map(Oe=>Oe.controller?Oe.controller.signal:null),!0)]),{results:gt,loaderResults:Ze,fetcherResults:Re}})}function Ke(){Y=!0,O.push(...$t()),H.forEach((we,je)=>{M.has(je)&&($.push(je),mt(je))})}function lt(we,je,Ie){Ie===void 0&&(Ie={}),N.fetchers.set(we,je),se({fetchers:new Map(N.fetchers)},{flushSync:(Ie&&Ie.flushSync)===!0})}function De(we,je,Ie,nt){nt===void 0&&(nt={});let Pe=O1(N.matches,je);dt(we),se({errors:{[Pe.route.id]:Ie},fetchers:new Map(N.fetchers)},{flushSync:(nt&&nt.flushSync)===!0})}function Ye(we){return d.v7_fetcherPersist&&(F.set(we,(F.get(we)||0)+1),q.has(we)&&q.delete(we)),N.fetchers.get(we)||G2e}function dt(we){let je=N.fetchers.get(we);M.has(we)&&!(je&&je.state==="loading"&&U.has(we))&&mt(we),H.delete(we),U.delete(we),J.delete(we),q.delete(we),N.fetchers.delete(we)}function He(we){if(d.v7_fetcherPersist){let je=(F.get(we)||0)-1;je<=0?(F.delete(we),q.add(we)):F.set(we,je)}else dt(we);se({fetchers:new Map(N.fetchers)})}function mt(we){let je=M.get(we);Hn(je,"Expected fetch controller: "+we),je.abort(),M.delete(we)}function Ue(we){for(let je of we){let Ie=Ye(je),nt=Vu(Ie.data);N.fetchers.set(je,nt)}}function ht(){let we=[],je=!1;for(let Ie of J){let nt=N.fetchers.get(Ie);Hn(nt,"Expected fetcher: "+Ie),nt.state==="loading"&&(J.delete(Ie),we.push(Ie),je=!0)}return Ue(we),je}function Qe(we){let je=[];for(let[Ie,nt]of U)if(nt0}function Rt(we,je){let Ie=N.blockers.get(we)||Wg;return ne.get(we)!==je&&ne.set(we,je),Ie}function Ut(we){N.blockers.delete(we),ne.delete(we)}function wt(we,je){let Ie=N.blockers.get(we)||Wg;Hn(Ie.state==="unblocked"&&je.state==="blocked"||Ie.state==="blocked"&&je.state==="blocked"||Ie.state==="blocked"&&je.state==="proceeding"||Ie.state==="blocked"&&je.state==="unblocked"||Ie.state==="proceeding"&&je.state==="unblocked","Invalid blocker state transition: "+Ie.state+" -> "+je.state);let nt=new Map(N.blockers);nt.set(we,je),se({blockers:nt})}function Xt(we){let{currentLocation:je,nextLocation:Ie,historyAction:nt}=we;if(ne.size===0)return;ne.size>1&&Nh(!1,"A router only supports one blocker at a time");let Pe=Array.from(ne.entries()),[gt,Ze]=Pe[Pe.length-1],Re=N.blockers.get(gt);if(!(Re&&Re.state==="proceeding")&&Ze({currentLocation:je,nextLocation:Ie,historyAction:nt}))return gt}function $t(we){let je=[];return X.forEach((Ie,nt)=>{(!we||we(nt))&&(Ie.cancel(),je.push(nt),X.delete(nt))}),je}function tn(we,je,Ie){if(m=we,C=je,b=Ie||null,!g&&N.navigation===WC){g=!0;let nt=Je(N.location,N.matches);nt!=null&&se({restoreScrollPosition:nt})}return()=>{m=null,C=null,b=null}}function Pt(we,je){return b&&b(we,je.map(nt=>S2e(nt,N.loaderData)))||we.key}function We(we,je){if(m&&C){let Ie=Pt(we,je);m[Ie]=C()}}function Je(we,je){if(m){let Ie=Pt(we,je),nt=m[Ie];if(typeof nt=="number")return nt}return null}function jt(we){a={},l=Q6(we,s,void 0,a)}return E={get basename(){return u},get state(){return N},get routes(){return i},get window(){return e},initialize:G,subscribe:le,enableScrollRestoration:tn,navigate:ce,fetch:Ee,revalidate:pe,createHref:we=>t.history.createHref(we),encodeLocation:we=>t.history.encodeLocation(we),getFetcher:Ye,deleteFetcher:He,dispose:Z,getBlocker:Rt,deleteBlocker:Ut,_internalFetchControllers:M,_internalActiveDeferreds:X,_internalSetRoutes:jt},E}function X2e(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function ej(t,e,n,r,s,a,i){let l,u;if(a){l=[];for(let p of e)if(l.push(p),p.route.id===a){u=p;break}}else l=e,u=e[e.length-1];let d=uk(s||".",ck(l),Gd(t.pathname,n)||t.pathname,i==="path");return s==null&&(d.search=t.search,d.hash=t.hash),(s==null||s===""||s===".")&&u&&u.route.index&&!D7(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:Kc([n,d.pathname])),_h(d)}function oI(t,e,n,r){if(!r||!X2e(r))return{path:n};if(r.formMethod&&!swe(r.formMethod))return{path:n,error:di(405,{method:r.formMethod})};let s=()=>({path:n,error:di(400,{type:"invalid-body"})}),a=r.formMethod||"get",i=t?a.toUpperCase():a.toLowerCase(),l=sW(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Gi(i))return s();let m=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((b,C)=>{let[g,w]=C;return""+b+g+"="+w+"\n"},""):String(r.body);return{path:n,submission:{formMethod:i,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!Gi(i))return s();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:i,formAction:l,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch(m){return s()}}}Hn(typeof FormData=="function","FormData is not available in this environment");let u,d;if(r.formData)u=tj(r.formData),d=r.formData;else if(r.body instanceof FormData)u=tj(r.body),d=r.body;else if(r.body instanceof URLSearchParams)u=r.body,d=uI(u);else if(r.body==null)u=new URLSearchParams,d=new FormData;else try{u=new URLSearchParams(r.body),d=uI(u)}catch(m){return s()}let p={formMethod:i,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(Gi(p.formMethod))return{path:n,submission:p};let h=du(n);return e&&h.search&&D7(h.search)&&u.append("index",""),h.search="?"+u,{path:_h(h),submission:p}}function Q2e(t,e){let n=t;if(e){let r=t.findIndex(s=>s.route.id===e);r>=0&&(n=t.slice(0,r))}return n}function iI(t,e,n,r,s,a,i,l,u,d,p,h,m,b,C){let g=C?Object.values(C)[0]:b?Object.values(b)[0]:void 0,w=t.createURL(e.location),x=t.createURL(s),S=C?Object.keys(C)[0]:void 0,N=Q2e(n,S).filter((P,I)=>{if(P.route.lazy)return!0;if(P.route.loader==null)return!1;if(J2e(e.loaderData,e.matches[I],P)||i.some(L=>L===P.route.id))return!0;let T=e.matches[I],A=P;return lI(P,es({currentUrl:w,currentParams:T.params,nextUrl:x,nextParams:A.params},r,{actionResult:g,defaultShouldRevalidate:a||w.pathname+w.search===x.pathname+x.search||w.search!==x.search||rW(T,A)}))}),_=[];return d.forEach((P,I)=>{if(!n.some(Y=>Y.route.id===P.routeId)||u.has(I))return;let T=lm(h,P.path,m);if(!T){_.push({key:I,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let A=e.fetchers.get(I),L=nj(T,P.path),z=!1;p.has(I)?z=!1:l.includes(I)?z=!0:A&&A.state!=="idle"&&A.data===void 0?z=a:z=lI(L,es({currentUrl:w,currentParams:e.matches[e.matches.length-1].params,nextUrl:x,nextParams:n[n.length-1].params},r,{actionResult:g,defaultShouldRevalidate:a})),z&&_.push({key:I,routeId:P.routeId,path:P.path,matches:T,match:L,controller:new AbortController})}),[N,_]}function J2e(t,e,n){let r=!e||n.route.id!==e.route.id,s=t[n.route.id]===void 0;return r||s}function rW(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function lI(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}function cI(t,e,n){return ge(this,null,function*(){if(!t.lazy)return;let r=yield t.lazy();if(!t.lazy)return;let s=n[t.id];Hn(s,"No route found in manifest");let a={};for(let i in r){let u=s[i]!==void 0&&i!=="hasErrorBoundary";Nh(!u,'Route "'+s.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!u&&!k2e.has(i)&&(a[i]=r[i])}Object.assign(s,a),Object.assign(s,es({},e(s),{lazy:void 0}))})}function Vg(t,e,n,r,s,a,i,l){return ge(this,null,function*(){l===void 0&&(l={});let u,d,p,h=C=>{let g,w=new Promise((x,S)=>g=S);return p=()=>g(),e.signal.addEventListener("abort",p),Promise.race([C({request:e,params:n.params,context:l.requestContext}),w])};try{let C=n.route[t];if(n.route.lazy)if(C){let g,w=yield Promise.all([h(C).catch(x=>{g=x}),cI(n.route,a,s)]);if(g)throw g;d=w[0]}else if(yield cI(n.route,a,s),C=n.route[t],C)d=yield h(C);else if(t==="action"){let g=new URL(e.url),w=g.pathname+g.search;throw di(405,{method:e.method,pathname:w,routeId:n.route.id})}else return{type:os.data,data:void 0};else if(C)d=yield h(C);else{let g=new URL(e.url),w=g.pathname+g.search;throw di(404,{pathname:w})}Hn(d!==void 0,"You defined "+(t==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+t+"` ")+"function. Please return a value or `null`.")}catch(C){u=os.error,d=C}finally{p&&e.signal.removeEventListener("abort",p)}if(rwe(d)){let C=d.status;if(q2e.has(C)){let x=d.headers.get("Location");if(Hn(x,"Redirects returned/thrown from loaders/actions must have a Location header"),!tW.test(x))x=ej(new URL(e.url),r.slice(0,r.indexOf(n)+1),i,!0,x);else if(!l.isStaticRequest){let S=new URL(e.url),E=x.startsWith("//")?new URL(S.protocol+x):new URL(x),N=Gd(E.pathname,i)!=null;E.origin===S.origin&&N&&(x=E.pathname+E.search+E.hash)}if(l.isStaticRequest)throw d.headers.set("Location",x),d;return{type:os.redirect,status:C,location:x,revalidate:d.headers.get("X-Remix-Revalidate")!==null,reloadDocument:d.headers.get("X-Remix-Reload-Document")!==null}}if(l.isRouteRequest)throw{type:u===os.error?os.error:os.data,response:d};let g,w=d.headers.get("Content-Type");return w&&/\bapplication\/json\b/.test(w)?g=yield d.json():g=yield d.text(),u===os.error?{type:u,error:new M7(C,d.statusText,g),headers:d.headers}:{type:os.data,data:g,statusCode:d.status,headers:d.headers}}if(u===os.error)return{type:u,error:d};if(nwe(d)){var m,b;return{type:os.deferred,deferredData:d,statusCode:(m=d.init)==null?void 0:m.status,headers:((b=d.init)==null?void 0:b.headers)&&new Headers(d.init.headers)}}return{type:os.data,data:d}})}function qg(t,e,n,r){let s=t.createURL(sW(e)).toString(),a={signal:n};if(r&&Gi(r.formMethod)){let{formMethod:i,formEncType:l}=r;a.method=i.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(r.json)):l==="text/plain"?a.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?a.body=tj(r.formData):a.body=r.formData}return new Request(s,a)}function tj(t){let e=new URLSearchParams;for(let[n,r]of t.entries())e.append(n,typeof r=="string"?r:r.name);return e}function uI(t){let e=new FormData;for(let[n,r]of t.entries())e.append(n,r);return e}function ewe(t,e,n,r,s){let a={},i=null,l,u=!1,d={};return n.forEach((p,h)=>{let m=e[h].route.id;if(Hn(!jm(p),"Cannot handle redirect results in processLoaderData"),$1(p)){let b=O1(t,m),C=p.error;r&&(C=Object.values(r)[0],r=void 0),i=i||{},i[b.route.id]==null&&(i[b.route.id]=C),a[m]=void 0,u||(u=!0,l=JU(p.error)?p.error.status:500),p.headers&&(d[m]=p.headers)}else Ff(p)?(s.set(m,p.deferredData),a[m]=p.deferredData.data):a[m]=p.data,p.statusCode!=null&&p.statusCode!==200&&!u&&(l=p.statusCode),p.headers&&(d[m]=p.headers)}),r&&(i=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:i,statusCode:l||200,loaderHeaders:d}}function dI(t,e,n,r,s,a,i,l){let{loaderData:u,errors:d}=ewe(e,n,r,s,l);for(let p=0;pr.route.id===e)+1):[...t]).reverse().find(r=>r.route.hasErrorBoundary===!0)||t[0]}function hI(t){let e=t.length===1?t[0]:t.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function di(t,e){let{pathname:n,routeId:r,method:s,type:a}=e===void 0?{}:e,i="Unknown Server Error",l="Unknown @remix-run/router error";return t===400?(i="Bad Request",s&&n&&r?l="You made a "+s+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"?l="defer() is not supported in actions":a==="invalid-body"&&(l="Unable to encode submission body")):t===403?(i="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):t===404?(i="Not Found",l='No route matches URL "'+n+'"'):t===405&&(i="Method Not Allowed",s&&n&&r?l="You made a "+s.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":s&&(l='Invalid request method "'+s.toUpperCase()+'"')),new M7(t||500,i,new Error(l),!0)}function pI(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(jm(n))return{result:n,idx:e}}}function sW(t){let e=typeof t=="string"?du(t):t;return _h(es({},e,{hash:""}))}function twe(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function Ff(t){return t.type===os.deferred}function $1(t){return t.type===os.error}function jm(t){return(t&&t.type)===os.redirect}function nwe(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function rwe(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body!="undefined"}function swe(t){return V2e.has(t.toLowerCase())}function Gi(t){return U2e.has(t.toLowerCase())}function mI(t,e,n,r,s,a){return ge(this,null,function*(){for(let i=0;ih.route.id===u.route.id),p=d!=null&&!rW(d,u)&&(a&&a[u.route.id])!==void 0;if(Ff(l)&&(s||p)){let h=r[i];Hn(h,"Expected an AbortSignal for revalidating fetcher deferred result"),yield aW(l,h,s).then(m=>{m&&(n[i]=m||n[i])})}}})}function aW(t,e,n){return ge(this,null,function*(){if(n===void 0&&(n=!1),!(yield t.deferredData.resolveData(e))){if(n)try{return{type:os.data,data:t.deferredData.unwrappedData}}catch(s){return{type:os.error,error:s}}return{type:os.data,data:t.deferredData.data}}})}function D7(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function nj(t,e){let n=typeof e=="string"?du(e).search:e.search;if(t[t.length-1].route.index&&D7(n||""))return t[t.length-1];let r=QU(t);return r[r.length-1]}function gI(t){let{formMethod:e,formAction:n,formEncType:r,text:s,formData:a,json:i}=t;if(!(!e||!n||!r)){if(s!=null)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:void 0,text:s};if(a!=null)return{formMethod:e,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(i!==void 0)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:i,text:void 0}}}function VC(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function awe(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Kg(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function owe(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function Vu(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function iwe(t,e){try{let n=t.sessionStorage.getItem(nW);if(n){let r=JSON.parse(n);for(let[s,a]of Object.entries(r||{}))a&&Array.isArray(a)&&e.set(s,new Set(a||[]))}}catch(n){}}function lwe(t,e){if(e.size>0){let n={};for(let[r,s]of e)n[r]=[...s];try{t.sessionStorage.setItem(nW,JSON.stringify(n))}catch(r){Nh(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.20.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function kw(){return kw=Object.assign?Object.assign.bind():function(t){for(var e=1;e{i.current=!0}),v.useCallback(function(u,d){if(d===void 0&&(d={}),!i.current)return;if(typeof u=="number"){n.go(u);return}let p=uk(u,JSON.parse(a),s,d.relative==="path");t==null&&e!=="/"&&(p.pathname=p.pathname==="/"?e:Kc([e,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[e,n,a,s,t])}const dwe=v.createContext(null);function fwe(t){let e=v.useContext(fu).outlet;return e&&v.createElement(dwe.Provider,{value:t},e)}function fk(t,e){let{relative:n}=e===void 0?{}:e,{matches:r}=v.useContext(fu),{pathname:s}=bl(),a=JSON.stringify(ck(r));return v.useMemo(()=>uk(t,JSON.parse(a),s,n==="path"),[t,a,s,n])}function hwe(t,e,n){U0()||Hn(!1);let{navigator:r}=v.useContext(Bh),{matches:s}=v.useContext(fu),a=s[s.length-1],i=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let u=bl(),d;if(e){var p;let g=typeof e=="string"?du(e):e;l==="/"||(p=g.pathname)!=null&&p.startsWith(l)||Hn(!1),d=g}else d=u;let h=d.pathname||"/",m=l==="/"?h:h.slice(l.length)||"/",b=lm(t,{pathname:m}),C=xwe(b&&b.map(g=>Object.assign({},g,{params:Object.assign({},i,g.params),pathname:Kc([l,r.encodeLocation?r.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?l:Kc([l,r.encodeLocation?r.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),s,n);return e&&C?v.createElement(dk.Provider,{value:{location:kw({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:as.Pop}},C):C}function pwe(){let t=kwe(),e=JU(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},e),n?v.createElement("pre",{style:s},n):null,null)}const mwe=v.createElement(pwe,null);class gwe extends v.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error?v.createElement(fu.Provider,{value:this.props.routeContext},v.createElement(oW.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vwe(t){let{routeContext:e,match:n,children:r}=t,s=v.useContext(Px);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(fu.Provider,{value:e},r)}function xwe(t,e,n){var r;if(e===void 0&&(e=[]),n===void 0&&(n=null),t==null){var s;if((s=n)!=null&&s.errors)t=n.matches;else return null}let a=t,i=(r=n)==null?void 0:r.errors;if(i!=null){let l=a.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id]));l>=0||Hn(!1),a=a.slice(0,Math.min(a.length,l+1))}return a.reduceRight((l,u,d)=>{let p=u.route.id?i==null?void 0:i[u.route.id]:null,h=null;n&&(h=u.route.errorElement||mwe);let m=e.concat(a.slice(0,d+1)),b=()=>{let C;return p?C=h:u.route.Component?C=v.createElement(u.route.Component,null):u.route.element?C=u.route.element:C=l,v.createElement(vwe,{match:u,routeContext:{outlet:l,matches:m,isDataRoute:n!=null},children:C})};return n&&(u.route.ErrorBoundary||u.route.errorElement||d===0)?v.createElement(gwe,{location:n.location,revalidation:n.revalidation,component:h,error:p,children:b(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):b()},null)}var lW=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(lW||{}),Cw=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(Cw||{});function ywe(t){let e=v.useContext(Px);return e||Hn(!1),e}function bwe(t){let e=v.useContext(I7);return e||Hn(!1),e}function wwe(t){let e=v.useContext(fu);return e||Hn(!1),e}function cW(t){let e=wwe(),n=e.matches[e.matches.length-1];return n.route.id||Hn(!1),n.route.id}function kwe(){var t;let e=v.useContext(oW),n=bwe(Cw.UseRouteError),r=cW(Cw.UseRouteError);return e||((t=n.errors)==null?void 0:t[r])}function Cwe(){let{router:t}=ywe(lW.UseNavigateStable),e=cW(Cw.UseNavigateStable),n=v.useRef(!1);return iW(()=>{n.current=!0}),v.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?t.navigate(s):t.navigate(s,kw({fromRouteId:e},a)))},[t,e])}function Swe(t){let{to:e,replace:n,state:r,relative:s}=t;U0()||Hn(!1);let{matches:a}=v.useContext(fu),{pathname:i}=bl(),l=la(),u=uk(e,ck(a),i,s==="path"),d=JSON.stringify(u);return v.useEffect(()=>l(JSON.parse(d),{replace:n,state:r,relative:s}),[l,d,s,n,r]),null}function A7(t){return fwe(t.context)}function jwe(t){let{basename:e="/",children:n=null,location:r,navigationType:s=as.Pop,navigator:a,static:i=!1}=t;U0()&&Hn(!1);let l=e.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:l,navigator:a,static:i}),[l,a,i]);typeof r=="string"&&(r=du(r));let{pathname:d="/",search:p="",hash:h="",state:m=null,key:b="default"}=r,C=v.useMemo(()=>{let g=Gd(d,l);return g==null?null:{location:{pathname:g,search:p,hash:h,state:m,key:b},navigationType:s}},[l,d,p,h,m,b,s]);return C==null?null:v.createElement(Bh.Provider,{value:u},v.createElement(dk.Provider,{children:n,value:C}))}new Promise(()=>{});function Ewe(t){let e={hasErrorBoundary:t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(e,{element:v.createElement(t.Component),Component:void 0}),t.ErrorBoundary&&Object.assign(e,{errorElement:v.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),e}/** + * React Router DOM v6.20.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function f0(){return f0=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[s]=t[s]);return n}function Nwe(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function _we(t,e){return t.button===0&&(!e||e==="_self")&&!Nwe(t)}const Twe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Pwe=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];function Mwe(t,e){return Z2e({basename:e==null?void 0:e.basename,future:f0({},e==null?void 0:e.future,{v7_prependBasename:!0}),history:y2e({window:e==null?void 0:e.window}),hydrationData:(e==null?void 0:e.hydrationData)||Dwe(),routes:t,mapRouteProperties:Ewe,window:e==null?void 0:e.window}).initialize()}function Dwe(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=f0({},e,{errors:Iwe(e.errors)})),e}function Iwe(t){if(!t)return null;let e=Object.entries(t),n={};for(let[r,s]of e)if(s&&s.__type==="RouteErrorResponse")n[r]=new M7(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let a=window[s.__subType];if(typeof a=="function")try{let i=new a(s.message);i.stack="",n[r]=i}catch(i){}}if(n[r]==null){let a=new Error(s.message);a.stack="",n[r]=a}}else n[r]=s;return n}const dW=v.createContext({isTransitioning:!1}),Awe=v.createContext(new Map),Lwe="startTransition",vI=$w[Lwe],Rwe="flushSync",xI=CX[Rwe];function Owe(t){vI?vI(t):t()}function Gg(t){xI?xI(t):t()}class $we{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function zwe(t){let{fallbackElement:e,router:n,future:r}=t,[s,a]=v.useState(n.state),[i,l]=v.useState(),[u,d]=v.useState({isTransitioning:!1}),[p,h]=v.useState(),[m,b]=v.useState(),[C,g]=v.useState(),w=v.useRef(new Map),{v7_startTransition:x}=r||{},S=v.useCallback(I=>{x?Owe(I):I()},[x]),E=v.useCallback((I,T)=>{let{deletedFetchers:A,unstable_flushSync:L,unstable_viewTransitionOpts:z}=T;A.forEach(O=>w.current.delete(O)),I.fetchers.forEach((O,$)=>{O.data!==void 0&&w.current.set($,O.data)});let Y=n.window==null||typeof n.window.document.startViewTransition!="function";if(!z||Y){L?Gg(()=>a(I)):S(()=>a(I));return}if(L){Gg(()=>{m&&(p&&p.resolve(),m.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:z.currentLocation,nextLocation:z.nextLocation})});let O=n.window.document.startViewTransition(()=>{Gg(()=>a(I))});O.finished.finally(()=>{Gg(()=>{h(void 0),b(void 0),l(void 0),d({isTransitioning:!1})})}),Gg(()=>b(O));return}m?(p&&p.resolve(),m.skipTransition(),g({state:I,currentLocation:z.currentLocation,nextLocation:z.nextLocation})):(l(I),d({isTransitioning:!0,flushSync:!1,currentLocation:z.currentLocation,nextLocation:z.nextLocation}))},[n.window,m,p,w,S]);v.useLayoutEffect(()=>n.subscribe(E),[n,E]),v.useEffect(()=>{u.isTransitioning&&!u.flushSync&&h(new $we)},[u]),v.useEffect(()=>{if(p&&i&&n.window){let I=i,T=p.promise,A=n.window.document.startViewTransition(()=>ge(this,null,function*(){S(()=>a(I)),yield T}));A.finished.finally(()=>{h(void 0),b(void 0),l(void 0),d({isTransitioning:!1})}),b(A)}},[S,i,p,n.window]),v.useEffect(()=>{p&&i&&s.location.key===i.location.key&&p.resolve()},[p,m,s.location,i]),v.useEffect(()=>{!u.isTransitioning&&C&&(l(C.state),d({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),g(void 0))},[u.isTransitioning,C]);let N=v.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:I=>n.navigate(I),push:(I,T,A)=>n.navigate(I,{state:T,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(I,T,A)=>n.navigate(I,{replace:!0,state:T,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),_=n.basename||"/",P=v.useMemo(()=>({router:n,navigator:N,static:!1,basename:_}),[n,N,_]);return v.createElement(v.Fragment,null,v.createElement(Px.Provider,{value:P},v.createElement(I7.Provider,{value:s},v.createElement(Awe.Provider,{value:w.current},v.createElement(dW.Provider,{value:u},v.createElement(jwe,{basename:_,location:s.location,navigationType:s.historyAction,navigator:N},s.initialized?v.createElement(Fwe,{routes:n.routes,state:s}):e))))),null)}function Fwe(t){let{routes:e,state:n}=t;return hwe(e,void 0,n)}const Hwe=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Bwe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,au=v.forwardRef(function(e,n){let{onClick:r,relative:s,reloadDocument:a,replace:i,state:l,target:u,to:d,preventScrollReset:p,unstable_viewTransition:h}=e,m=uW(e,Twe),{basename:b}=v.useContext(Bh),C,g=!1;if(typeof d=="string"&&Bwe.test(d)&&(C=d,Hwe))try{let E=new URL(window.location.href),N=d.startsWith("//")?new URL(E.protocol+d):new URL(d),_=Gd(N.pathname,b);N.origin===E.origin&&_!=null?d=_+N.search+N.hash:g=!0}catch(E){}let w=cwe(d,{relative:s}),x=Wwe(d,{replace:i,state:l,target:u,preventScrollReset:p,relative:s,unstable_viewTransition:h});function S(E){r&&r(E),E.defaultPrevented||x(E)}return v.createElement("a",f0({},m,{href:C||w,onClick:g||a?r:S,ref:n,target:u}))}),Ep=v.forwardRef(function(e,n){let{"aria-current":r="page",caseSensitive:s=!1,className:a="",end:i=!1,style:l,to:u,unstable_viewTransition:d,children:p}=e,h=uW(e,Pwe),m=fk(u,{relative:h.relative}),b=bl(),C=v.useContext(I7),{navigator:g}=v.useContext(Bh),w=C!=null&&Vwe(m)&&d===!0,x=g.encodeLocation?g.encodeLocation(m).pathname:m.pathname,S=b.pathname,E=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;s||(S=S.toLowerCase(),E=E?E.toLowerCase():null,x=x.toLowerCase());const N=x!=="/"&&x.endsWith("/")?x.length-1:x.length;let _=S===x||!i&&S.startsWith(x)&&S.charAt(N)==="/",P=E!=null&&(E===x||!i&&E.startsWith(x)&&E.charAt(x.length)==="/"),I={isActive:_,isPending:P,isTransitioning:w},T=_?r:void 0,A;typeof a=="function"?A=a(I):A=[a,_?"active":null,P?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let L=typeof l=="function"?l(I):l;return v.createElement(au,f0({},h,{"aria-current":T,className:A,ref:n,style:L,to:u,unstable_viewTransition:d}),typeof p=="function"?p(I):p)});var rj;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(rj||(rj={}));var yI;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(yI||(yI={}));function Uwe(t){let e=v.useContext(Px);return e||Hn(!1),e}function Wwe(t,e){let{target:n,replace:r,state:s,preventScrollReset:a,relative:i,unstable_viewTransition:l}=e===void 0?{}:e,u=la(),d=bl(),p=fk(t,{relative:i});return v.useCallback(h=>{if(_we(h,n)){h.preventDefault();let m=r!==void 0?r:_h(d)===_h(p);u(t,{replace:m,state:s,preventScrollReset:a,relative:i,unstable_viewTransition:l})}},[d,u,p,r,s,n,t,a,i,l])}function Vwe(t,e){e===void 0&&(e={});let n=v.useContext(dW);n==null&&Hn(!1);let{basename:r}=Uwe(rj.useViewTransitionState),s=fk(t,{relative:e.relative});if(!n.isTransitioning)return!1;let a=Gd(n.currentLocation.pathname,r)||n.currentLocation.pathname,i=Gd(n.nextLocation.pathname,r)||n.nextLocation.pathname;return J6(s.pathname,i)!=null||J6(s.pathname,a)!=null}function qwe({itemId:t,setShowDetails:e,isLargeView:n,isShowDetails:r,isSelected:s,isPinned:a,isMenu:i,icon:l,iconVisibility:u,isPinnedBoard:d,isFavorite:p,boardId:h,tabId:m,setSelectedItemId:b}){var C=sn(1);try{const{t:g}=Gt(),{updateMovedClips:w}=H5(),{duplicateItem:x}=Ege(),{deleteItemById:S}=U5(),{updateItemById:E}=yl(),{updatePinnedClipsByIds:N}=PB(),{setIsShowPinned:_,isShowPinned:P}=Tt(Is),{createNewItem:I}=B5(),T=la(),{clipItems:A,tabs:L,currentTab:z,setCurrentTab:Y,currentCollectionId:O}=Tt(Ir),$=v.useCallback(()=>us(A,z).filter(H=>H.id!==t),[A,z,t]),M=v.useCallback(()=>us(A,z,h==null?void 0:h.toString()).filter(H=>H.id!==t).sort((H,F)=>H.orderNumber-F.orderNumber),[A,z,t,h]),W=function(H,F=!1){return ge(this,null,function*(){var ee,G;if(!O||!H||!h)return;const q=H.toString(),X=us(A,q);let ne=(ee=X.find(Z=>Z.name===g("Moved Clips Panel",{ns:"dashboard"})))==null?void 0:ee.id;if(!ne){const Z=(G=L.find(ce=>ce.tabId===q))==null?void 0:G.tabColor,le={name:g("Moved Clips Panel",{ns:"dashboard"}),isBoard:!0,tabId:q,color:Z,description:g("Panel for moved or copied items from other tabs",{ns:"dashboard"}),parentId:null,collectionId:O,orderNumber:0},se=yield I({item:le});X.sort((ce,pe)=>ce.orderNumber-pe.orderNumber).unshift(ae(R({},le),{id:se,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1}));const de=X.map((ce,pe)=>({itemId:ce.id,parentId:null,tabId:ce.tabId,collectionId:O,orderNumber:pe}));w({updatedMoveClips:de}),ne=se}if(ne){const Z=ne.toString(),le=F?t:yield x({itemId:t,boardId:Z,tabId:q,collectionId:O});Dd.value=Z;const se=us(A,q.toString(),Z==null?void 0:Z.toString());se.sort((ce,pe)=>ce.orderNumber-pe.orderNumber).unshift({parentId:Z,tabId:q,id:le,type:"clip",orderNumber:0,createdAt:0,value:"",name:""});const de=se.map((ce,pe)=>({itemId:ce.id,parentId:ce.parentId,tabId:ce.tabId,collectionId:O,orderNumber:pe}));Y(q),F?yield w({updatedMoveClips:de}):setTimeout(()=>ge(this,null,function*(){yield w({updatedMoveClips:de}),Ua.value=le}),300)}})},V=function(H,F=!1){return ge(this,null,function*(){if(!O||!H)return;const q=H.toString(),X=z.toString(),ne=F?t:yield x({itemId:t,boardId:q,tabId:X,collectionId:O});Dd.value=q;const ee=us(A,X.toString(),q==null?void 0:q.toString());ee.sort((Z,le)=>Z.orderNumber-le.orderNumber).unshift({parentId:q,tabId:X,id:ne,type:"clip",orderNumber:0,createdAt:0,value:"",name:""});const G=ee.map((Z,le)=>({itemId:Z.id,parentId:Z.parentId,tabId:Z.tabId,collectionId:O,orderNumber:le}));Y(X),F?yield w({updatedMoveClips:G}):setTimeout(()=>ge(this,null,function*(){yield w({updatedMoveClips:G}),Ua.value=ne}),300)})},U=function(ee){return ge(this,arguments,function*({isLast:H,isFirst:F,isAfterItemId:q,moveUp:X,moveDown:ne}){const G=z.toString(),Z=us(A,G,h==null?void 0:h.toString()).sort((ce,pe)=>ce.orderNumber-pe.orderNumber),le=Z.findIndex(ce=>ce.id===t);if(le===-1)return;let se;if(X)se=Math.max(0,le-1);else if(ne)se=Math.min(Z.length-1,le+1);else if(q){const ce=Z.findIndex(pe=>pe.id===q);if(ce===-1)return;se=le>ce?ce+1:ce}else se=F?0:H?Z.length:0;const de=Ur(Z,le,se);if(de&&de.length){const ce=de.map((pe,ve)=>({itemId:pe.id,parentId:pe.parentId,tabId:pe.tabId,collectionId:O,orderNumber:ve}));yield w({updatedMoveClips:ce})}})},J=v.memo(({board:H,itemId:F,level:q,onSelect:X})=>{var ne;return"isBoard"in H&&q<1&&((ne=H.children)!=null&&ne.some(ee=>"isBoard"in ee&&ee.isBoard&&ee.id!==F))?o.jsxs(Fr,{children:[o.jsx(Lr,{onClick:()=>{X(H.id)},children:o.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:H.name})}),o.jsx(Rr,{children:H.children.filter(ee=>ee.id!==F).filter(ee=>ee.type===Ks).map(ee=>o.jsx(J,{board:ee,itemId:F,level:q+1,onSelect:X},ee.id))})]}):o.jsx(Wt,{onSelect:()=>{X(H.id)},children:o.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:H.name})},H.id)});return t==null?null:o.jsx(yx,{children:o.jsxs(O0,{children:[n?o.jsxs(o.Fragment,{children:[o.jsxs(Wt,{onClick:()=>{Bs.value=null},children:[g("Close",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(gv,{size:14})})]}),o.jsx(Qn,{})]}):o.jsxs(o.Fragment,{children:[r?o.jsxs(Wt,{onClick:()=>{e(null)},children:[g("Close",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Ple,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{e(t)},children:[g("Open",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Mle,{size:15})})]}),Bs.value!==t?o.jsxs(Wt,{onClick:()=>{Bs.value=t},children:[g("View",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(ix,{size:14})})]}):o.jsxs(Wt,{onClick:()=>{Bs.value=null},children:[g("Close",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(gv,{size:14})})]}),s?o.jsxs(Wt,{onClick:()=>{b(t)},children:[g("Deselect",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Kae,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{b(t)},children:[g("Select",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(vz,{size:15})})]}),o.jsx(Qn,{})]}),Ts.value!==t?o.jsxs(Wt,{className:"gap-2",onClick:()=>{sd.value=null,Ts.value=t},children:[g("Edit Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(W2,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{Ts.value=null,sd.value=null},children:[g("Close Edit",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(W2,{size:15,className:"ml-1"})})]}),sd.value!==t?o.jsxs(Wt,{className:"gap-2",onClick:()=>{Ts.value=null,sd.value=t},children:[g("Rename",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Fd,{size:13})})]}):o.jsxs(Wt,{onClick:()=>{Ts.value=null,sd.value=null},children:[g("Close Rename",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Fd,{size:13,className:"ml-1"})})]}),o.jsx(Qn,{}),d?o.jsxs(Wt,{onClick:()=>{N({itemIds:[t],isPinned:!1})},children:[g("UnPin Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Id,{size:15})})]}):o.jsx(o.Fragment,{children:a?o.jsxs(Wt,{onClick:()=>{N({itemIds:[t],isPinned:!1})},children:[g("UnPin Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Id,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{!a&&!P&&_(!0),N({itemIds:[t],isPinned:!0})},children:[g("Pin",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Qc,{size:15})})]})}),p?o.jsxs(Wt,{onClick:()=>{E({updatedItem:{isFavorite:!1,itemId:t}})},children:[g("Remove Star",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(m5,{size:15,className:"fill-transparent"})})]}):o.jsxs(Wt,{onClick:()=>{E({updatedItem:{isFavorite:!0,itemId:t}})},children:[g("Star",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(Lh,{size:15,className:"fill-transparent"})})]}),o.jsx(Qn,{}),i?o.jsxs(Wt,{onClick:()=>{T("/menu",{replace:!0}),setTimeout(()=>{ad.value=t.toString()},300)},children:[g("Locate Menu",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(h5,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{T("/menu",{replace:!0}),setTimeout(()=>{Ef.value=t,uo.value=!0},300)},children:[g("Add to Menu",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(rE,{size:15})})]}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("Manage",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsxs(Wt,{onClick:()=>ge(this,null,function*(){if(!O||!m||!h)return;const H=yield x({itemId:t,boardId:h,tabId:m,collectionId:O});Dd.value=h;const F=us(A,m.toString(),h==null?void 0:h.toString());F.sort((X,ne)=>X.orderNumber-ne.orderNumber).unshift({parentId:h,tabId:m,id:H,type:"clip",orderNumber:0,createdAt:0,value:"",name:g("Copy Clip",{ns:"dashboard"})});const q=F.map((X,ne)=>({itemId:X.id,parentId:X.parentId,tabId:X.tabId,collectionId:O,orderNumber:ne}));setTimeout(()=>ge(this,null,function*(){yield w({updatedMoveClips:q}),Ua.value=H}),600)}),children:[g("Duplicate",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(Y8,{size:15})})]}),o.jsxs(Wt,{onClick:()=>{ll.value=h},children:[g("Organize",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(p5,{size:15,className:"fill-transparent"})})]}),o.jsx(Qn,{}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("Position",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsxs(Wt,{onClick:()=>{U({moveUp:!0})},children:[g("Up",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(mz,{size:15,className:"fill-transparent"})})]}),o.jsxs(Wt,{onClick:()=>{U({moveDown:!0})},children:[g("Down",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(hz,{size:15,className:"fill-transparent"})})]}),o.jsx(Qn,{}),M().length>0&&o.jsxs(o.Fragment,{children:[o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("After",{ns:"contextMenus"}),"..."]}),o.jsx(Rr,{children:M().map(H=>o.jsx(J,{board:H,level:0,itemId:t,onSelect:F=>{U({isAfterItemId:F})}},H.id))})]}),o.jsx(Qn,{})]}),o.jsxs(Wt,{onClick:()=>{U({isFirst:!0})},children:[g("Start",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(d5,{size:15,className:"fill-transparent"})})]}),o.jsxs(Wt,{onClick:()=>{U({isLast:!0})},children:[g("End",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(wh,{size:15,className:"fill-transparent"})})]})]})]}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("Copy To",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("CopyTo:::Tab",{ns:"contextMenus"}),"..."]}),o.jsx(Rr,{children:L.map(({tabId:H,tabName:F,tabOrderNumber:q})=>o.jsx(Wt,{onSelect:()=>{W(H)},children:z===H?o.jsx(re,{className:"font-semibold capitalize",children:F||"".concat(g("Tab",{ns:"dashboard"})," ").concat(q+1)}):o.jsx("span",{className:"capitalize",children:F||"".concat(g("Tab",{ns:"dashboard"})," ").concat(q+1)})},H))})]}),us(A,z).filter(H=>H.id!==t).length>0&&o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("CopyTo:::Board",{ns:"contextMenus"}),"..."]}),o.jsx(Rr,{children:$().map(H=>o.jsx(J,{board:H,level:0,itemId:t,onSelect:F=>{V(F)}},H.id))})]})]})]}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("Move To",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("CopyTo:::Tab",{ns:"contextMenus"}),"..."]}),o.jsx(Rr,{children:L.map(({tabId:H,tabName:F,tabOrderNumber:q})=>o.jsx(Wt,{onSelect:()=>{W(H,!0)},children:z===H?o.jsx(re,{className:"font-semibold capitalize",children:F||"".concat(g("Tab",{ns:"dashboard"})," ").concat(q+1)}):o.jsx("span",{className:"capitalize",children:F||"".concat(g("Tab",{ns:"dashboard"})," ").concat(q+1)})},H))})]}),us(A,z).filter(H=>H.id!==t).length>0&&o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("CopyTo:::Board",{ns:"contextMenus"}),"..."]}),o.jsx(Rr,{children:$().map(H=>o.jsx(J,{board:H,level:0,itemId:t,onSelect:F=>{V(F,!0)}},H.id))})]})]})]}),o.jsx(Qn,{}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[g("Clip Icon",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsx(Wt,{disabled:!0,className:"text-center items-center justify-center py-0.5",children:o.jsx(re,{children:g("Icon Visibility",{ns:"contextMenus"})})}),o.jsx(Qn,{}),o.jsx(el,{checked:u==="none",onSelect:()=>{E({updatedItem:{iconVisibility:"none",itemId:t}})},className:u==="none"?"font-semibold":"",children:g("Hide",{ns:"contextMenus"})}),o.jsx(el,{checked:u==="always",onSelect:()=>{E({updatedItem:{iconVisibility:"always",itemId:t}})},className:u==="always"?"font-semibold":"",children:g("Show",{ns:"contextMenus"})}),o.jsxs(Fr,{children:[o.jsxs(Lr,{className:"flex items-center justify-center",children:[l?o.jsx(d0,{size:16,className:"ml-1 mr-2",name:l}):o.jsx(q8,{size:16,className:"ml-1 mr-2 opacity-30"}),g("Custom Icon",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{className:"w-64",children:[o.jsxs(Wt,{disabled:!0,className:"text-center items-center justify-between py-0.5 data-[disabled]:pointer-events-auto",children:[o.jsx(te,{className:"w-6"}),o.jsx(re,{children:g("Select Icon",{ns:"contextMenus"})}),o.jsx(Se,{className:"text-[11px] px-1.5 font-semibold py-0.5 bg-opacity-70",variant:"default",size:"mini",onClick:()=>{E({updatedItem:{icon:"",iconVisibility:"",itemId:t}})},children:g("RESET",{ns:"contextMenus"})})]}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:o.jsx(me,{className:"grid grid-cols-7 gap-0.5",children:P7.map(H=>o.jsx(Wt,{className:"flex items-center justify-center ".concat(l===H?"!bg-gray-200 dark:!bg-gray-600 dark:!text-slate-300":""),onSelect:F=>{F.preventDefault(),E({updatedItem:{icon:H,iconVisibility:"always",itemId:t}})},children:o.jsx(d0,{name:H,size:16})},H))})})]})]})]})]})]})]}),d?o.jsxs(Wt,{onClick:()=>{N({itemIds:[t],isPinned:!1})},children:[o.jsx(re,{className:"!text-orange-600",children:g("UnPin Clip",{ns:"contextMenus"})}),o.jsx("div",{className:"ml-auto ",children:o.jsx(Id,{size:15,className:"!text-orange-600"})})]}):o.jsxs(Wt,{className:hi.value===t?"!bg-red-100 dark:!bg-red-900":"",onClick:H=>{hi.value===t?(S({itemId:t,collectionId:O}),n&&setTimeout(()=>{Bs.value=null},300),hi.value):(H.preventDefault(),hi.value=t,setTimeout(()=>{hi.value=null},3e3))},children:[o.jsx(me,{children:o.jsx(re,{className:"!text-red-500",children:hi.value!==t?g("Delete Clip",{ns:"contextMenus"}):g("Click to Confirm",{ns:"common"})})}),!hi.value&&o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(kr,{size:15,className:"text-red-500"})})]})]})})}finally{C.f()}}const qC=["Tab","Enter","TabTab","TabTabTab","TabEnter","TabTabEnter"];function fW({clip:t,boardColor:e,globalSearchTerm:n,isGlobalSearchBoardsOnly:r,isDragPreview:s,isClipNotesHoverCardsEnabled:a,clipNotesHoverCardsDelayMS:i,clipNotesMaxWidth:l,clipNotesMaxHeight:u,isSelected:d,selectedOrder:p,isShowDetails:h,canReorangeItems:m,isClipDelete:b,isHistoryDragActive:C,isClipEdit:g,isClipNameEditing:w,isPinnedBoard:x,isLargeView:S,isShowOrganizeLayoutValue:E,isDisabledPinnedMoveDown:N,isDisabledPinnedMoveUp:_,isDark:P,closeGlobalSearch:I,onMovePinnedUpDown:T=({})=>{},setShowDetailsItem:A=()=>{},setSelectedItemId:L=()=>{}}){var Y,O,$,M,W,V,U,J,H,F;var z=sn(1);try{const{t:q}=Gt(),X=it(!1),ne=it(!1),ee=it(!1),G=it(""),{updateItemById:Z}=yl(),le=Sxe(),[se,de,ce,pe]=$h({}),[ve,ye,be]=zh({}),Ee=Co(G.value,300),Fe=v.useRef(null),qe=v.useRef(null),ot=(E||m)&&!x,{setNodeRef:Ve,listeners:Ke,isDragging:lt,setActivatorNodeRef:De,isOver:Ye}=l5({transition:null,disabled:!!(ot&&g&&w)||s||!1,id:x?"".concat(t.id,"::pinnedzone"):g?"".concat(t.id,"::dropzone"):t.id,animateLayoutChanges:()=>!1,data:{type:g?"clip::dropzone":"clip",clip:t}}),dt=n&&!r?ql(t.name,n):t.name,He=b||Ec.value&&d,mt=se===t.id,Ue=ve===t.id,ht=pe===t.id,Qe=ve===t.id?ye:void 0,Rt=h&&!x&&Qi.value===t.id,Ut=t.createdAt>Math.floor(Date.now())-60*1e3&&!t.isPinned&&!t.isFavorite,wt=t.color?t.color:e||(x?"orange":"slate"),Xt=t.borderWidth&&t.borderWidth>0,$t=Xt?t.borderWidth:1,tn=Xt?"border-l-".concat(wt,"-400 hover:!border-l-").concat(wt,"-500 dark:border-l-").concat(wt,"-600 dark:hover:!border-l-").concat(wt,"-500"):"",Pt=Jd("relative clip_tour overflow-hidden p-[2px] px-0 hover:shadow-sm !rounded-lg duration-300 bg-".concat(wt,"-50 dark:bg-").concat(wt,"-950 dark:bg-opacity-80 border-").concat(wt,"-200 dark:border-").concat(wt,"-900 ").concat(tn," hover:bg-white dark:hover:bg-").concat(wt,"-950 dark:hover:bg-opacity-60 ").concat(Xt?"border border-l-[".concat($t,"px] "):"border-0"," ").concat(g?"bg-white":""," ").concat(d?"bg-yellow-50 dark:bg-amber-950/80 border-amber-300 hover:border-yellow-300/80 hover:bg-yellow-50/80 dark:hover:bg-yellow-950/80":""," h-full ").concat(He?"border-red-300 bg-red-100 border hover:!bg-red-100 dark:!bg-red-900 border-l-[".concat($t,"px] "):"").concat(mt||Ue?"!border-green-600 !bg-green-50 dark:!bg-green-900 dark:!border-green-700":""," ").concat(x&&!E?"animate-in fade-in":""," ").concat(Rt?"pulse-clip":""," "),{variants:{dragging:{over:"border-2 border-dashed border-blue-400 min-w-[120px]",overlay:"opacity-80 ml-[-2px] mt-[1px] min-w-[120px]"}}});v.useEffect(()=>{var Pe,gt,Ze,Re,Oe,et;!ot&&Dy.value?(Dy.value=null,aC.value=null):lt&&(Dy.value=(Ze=(gt=(Pe=qe==null?void 0:qe.current)==null?void 0:Pe.firstElementChild)==null?void 0:gt.getBoundingClientRect().height)!=null?Ze:null,aC.value=(et=(Oe=(Re=qe==null?void 0:qe.current)==null?void 0:Re.firstElementChild)==null?void 0:Oe.getBoundingClientRect().width)!=null?et:null)},[lt,ot]);const We=v.useMemo(()=>"".concat(t.id,":::").concat(x?"pinned":t.parentId),[t.id,x,t.parentId]),Je=a1.value===We||E||m||ht,jt=!g&&!ne&&(Ut||t.isPinned||t.isFavorite)?"".concat(Ut?q("New",{ns:"common"}):""," ").concat(t.isPinned?q("Pinned",{ns:"common"}):""," ").concat(t.isFavorite?q("Starred",{ns:"common"}):""):void 0,we=v.useMemo(()=>{if(!t.links)return[];if(t.links)try{t.arrLinks=JSON.parse(t.links)}catch(Pe){t.arrLinks=[]}return t.arrLinks},[t.isLink,t.links]);v.useEffect(()=>{ne.value=!1,ee.value=!1},[h]),v.useEffect(()=>{ee.value||(G.value="")},[ee.value]),v.useEffect(()=>{!h||!Rf.value||(Rf.value&&h&&!ee.value?ee.value=!0:Rf.value&&G.value.trim()===""&&(ee.value=!1))},[Rf.value]);const je=w||g,Ie=ee.value||je||E||m,nt=v.useMemo(()=>!!(t.description&&!s&&a&&!je),[t.description,s,a,je]);return o.jsxs(L0,{onOpenChange:Pe=>{X.value=Pe},children:[o.jsx(R0,{disabled:!Je&&!d||!!n,ref:qe,children:o.jsxs(te,{className:"relative",children:[d&&!(mt||Ue)&&o.jsx(St,{variant:"outline",className:"bg-yellow-50 fade-in animate-in border-amber-300 dark:bg-amber-900 dark:border-amber-950/80 border cursor-pointer px-1.5 py-[1px] absolute top-[-10px] left-[-4px] z-100",children:o.jsx(re,{className:"font-mono !text-yellow-500 dark:!text-yellow-300 font-semibold",children:p})}),(mt||Ue)&&!Qe?o.jsx(te,{className:"z-100 w-full flex justify-center fade-in-animation absolute top-[-10px]",children:t.isForm?o.jsxs(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[q("Running",{ns:"common"}),"..."]}):o.jsxs(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[o.jsx(en,{size:14,className:"mr-1"}),mt?q("Copied",{ns:"common"}):Ue?q("Pasted",{ns:"common"}):""]})}):Qe&&ye>0&&o.jsx(te,{className:"z-100 w-full flex justify-center fade-in-animation absolute top-[-10px]",children:t.isForm?o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:q("Run in {{pastingCountDown}}...",{ns:"common",pastingCountDown:ye})}):o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:q("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:ye})})}),o.jsxs(w7,{ref:pl(ot||g?Ve:null),style:s?{height:(Y=Dy.value)!=null?Y:"auto",width:(O=aC.value)!=null?O:"auto"}:{},onMouseEnter:()=>{a1.value=We},onMouseLeave:()=>{a1.value=null},onClick:()=>{a1.value=We},className:Pt({dragging:s?"overlay":lt?"over":void 0}),children:[o.jsxs(xve,ae(R(ae(R({title:jt},le(()=>{g||h||x||(ll.value=t.parentId)})),{onClickCapture:Pe=>{if(Pe.shiftKey){if(Pe.preventDefault(),Pe.stopPropagation(),E||m)return;h?Bs.value===t.id?Bs.value=null:A(null):A(t.id)}},onDoubleClickCapture:Pe=>{if(Ie||Pe.shiftKey){Pe.preventDefault();return}if(Pe.altKey||Pe.metaKey){if(t.isForm){be(t.id,void 0,!0);return}be(t.id)}else de(t.id)},className:"overflow-hidden px-2.5 pr-1 py-1 break-words whitespace-pre-wrap flex gap-2 items-center justify-start flex-row ".concat(ot?"cursor-grab":"cursor-pointer"," ").concat(S?"min-h-[30px]":"")}),ot?Ke:{}),{children:[g?o.jsx(VD,{clipId:t.id,name:t.name,isLargeView:S,description:(W=t.description)!=null?W:null,color:wt,borderWidth:t.borderWidth?t.borderWidth:0}):ee.value&&(($=t.value)!=null&&$.trim())?o.jsxs(me,{className:"w-full text-sm",children:[o.jsx(Hd,{placeholder:"".concat(q("Find in clip",{ns:"dashboard"})," ..."),autoFocus:!0,onKeyDown:Pe=>{Pe.key==="Escape"&&G.value.trim()===""&&(ee.value=!1)},iconLeft:o.jsx(n0,{className:"h-4 w-4"}),classNameInput:"w-full px-[6px] h-6",onChange:Pe=>{G.value=Pe.target.value},className:"text-md ring-offset-0 pl-[6px] pr-[6px] bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8",type:"search"}),o.jsx(mr,{className:"hover:bg-transparent text-slate-500 ml-1.5",children:o.jsx(st,{text:q("Close Find",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(In,{size:18,onClick:()=>{ee.value=!1}})})})]}):o.jsx("div",{className:"text-slate-600 dark:text-slate-300 text-sm line-clamp-3 text-ellipsis ".concat(Ut?"font-semibold":"font-normal"," ").concat(je||Ut?"w-full":""),children:w?o.jsx(VD,{clipId:t.id,name:t.name,isEditOnly:!0,isLargeView:S,description:(M=t.description)!=null?M:null,color:wt,borderWidth:t.borderWidth?t.borderWidth:0}):o.jsxs(gw,{text:t.description,isDisabled:!nt,side:"right",isDark:P,delayDuration:i,align:"end",classNameTrigger:"inline-flex items-start",sideOffset:10,maxWidth:l,maxHeight:u,asChild:!0,children:[we&&we.length===1&&t.isLink?o.jsx("span",{onClick:Pe=>{if(Pe.shiftKey||Ie){Pe.preventDefault();return}ji(Dr(we[0]))},title:we[0],className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:dt}):t.isLink&&t.value?o.jsx("span",{onClick:Pe=>{var Re;if(Pe.shiftKey){Pe.preventDefault();return}const Ze=$r().match((Re=t.value)!=null?Re:"");Ze&&Ze.length===1?ji(Dr(Ze[0].raw)):vo(q("Provided link {{clipValue}} might be invalid!",{ns:"common",clipValue:t.value}),"Warning")},title:t.value,className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:dt}):t.isPath&&t.value?o.jsx("span",{onClick:()=>ge(this,null,function*(){try{yield qs("check_path",{path:t.value}),yield qs("open_path_or_app",{path:t.value})}catch(Pe){vo(q("Provided path {{clipValue}} might be invalid!",{ns:"common",clipValue:t.value}),"Warning")}}),title:t.value,className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:dt}):dt,t.description&&h&&o.jsx(gw,{text:t.description,isDisabled:s,side:"right",isDark:P,delayDuration:300,align:"end",classNameTrigger:"mt-[2px]",sideOffset:10,maxWidth:l,maxHeight:u,asChild:!0,children:o.jsx(Sz,{size:16,className:"opacity-70 hover:opacity-100 ml-1.5 hover:text-yellow-600"})})]})}),!((Je||X.value)&&!je&&!ee.value)&&!je&&o.jsxs("div",{className:"text-secondary-foreground/50 flex flex-row ml-auto self-start items-center justify-end w-[40px] h-5 !mt-0 !p-0",children:[t.isFavorite&&o.jsx(Lh,{className:"absolute text-transparent ".concat(t.isPinned?" fill-orange-400":" fill-yellow-400 "," pointer-events-none right-[4px] top-[4px] animate-in fade-in duration-500"),size:11}),t.isPinned&&!t.isFavorite&&!x?o.jsx(ec,{className:"absolute text-orange-400 pointer-events-none top-[-5px] right-[-5px] animate-in fade-in duration-500",size:28}):Ut&&!t.isFavorite&&o.jsx(ec,{className:"absolute text-green-400 pointer-events-none top-[-5px] right-[-3px] animate-in fade-in duration-500",size:28}),!g&&o.jsx("div",{className:t.isPinned&&!t.isFavorite?"mr-[11px]":Ut?"mr-[14px]":t.isFavorite?"mr-[13px]":"mr-1.5",children:we&&we.length===1&&t.isLink||t.isLink&&t.value?o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::Link",{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:o.jsx(nxe,{className:"ml-1.5",width:15,height:15})}):t.isPath&&t.value?o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::".concat(t.pathType),{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:t.pathType==="Folder"?o.jsx(ixe,{width:16,height:16}):t.pathType==="File"?o.jsx(axe,{width:16,height:16}):t.pathType==="App"?o.jsx(sxe,{width:16,height:16}):(((V=t.pathType)==null?void 0:V.includes("Executable"))||((U=t.pathType)==null?void 0:U.includes("Script")))&&o.jsx(oxe,{width:16,height:16})}):t.isCommand?o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::Shell Command",{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:o.jsx(Dz,{width:16,height:16})}):t.isForm?o.jsx(o.Fragment,{children:o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::Form Auto Fill",{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:o.jsx(Az,{width:16,height:16})})}):t.isTemplate?o.jsx(o.Fragment,{children:o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::Template",{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:o.jsx(Q8,{width:16,height:16})})}):t.isWebRequest?o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::Web Request (HTTP)",{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:o.jsx(bU,{width:16,height:16})}):t.isWebScraping?o.jsx(_c,{icon:t.icon,description:t.description,pathType:q("Type:::Web Scraper / Parser",{ns:"common"}),iconVisibility:t.iconVisibility,isHover:Je,children:o.jsx(wU,{width:16,height:16})}):t.icon&&o.jsx(_c,{icon:t.icon,description:t.description,iconVisibility:t.iconVisibility,isHover:Je})})]}),(Je||X.value)&&!je&&(!m&&!s&&!lt&&!ee.value&&!E?o.jsx(o.Fragment,{children:o.jsxs("div",{className:"self-start justify-end text-secondary-foreground/50 flex ml-auto !mt-0 !p-0 ".concat(h?"":"w-[40px]"," items-center justify-center fade-in-init ").concat(Je||X.value?"fade-in-init-hover":""),children:[o.jsx("div",{}),h&&!ee.value&&!t.isImage&&((J=t.value)==null?void 0:J.trim())&&o.jsx(mr,{className:"hover:bg-transparent hover:text-yellow-600 pr-2",onClick:()=>{ee.value=!0},children:o.jsx(st,{text:q("Find in Clip",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(rxe,{width:16,height:16,className:"cursor-pointer"})})}),h&&t.isImage&&S&&o.jsx(mr,{className:"hover:bg-transparent pr-3",onClick:()=>{Z({updatedItem:{itemId:t.id,imageScale:t.imageScale===1?2:1}})},children:o.jsx(st,{text:q("Image Scale {{ImageScale}}x",{ns:"common",ImageScale:t.imageScale}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsxs(me,{children:[o.jsx(St,{variant:"outline",className:"bg-slate-100 border border-slate-100 cursor-pointer px-1.5 mr-1 py-[1px]",children:o.jsx(re,{className:"font-mono !text-slate-400 font-semibold",children:"".concat(t.imageScale,"x")})}),t.imageScale===1?o.jsx(rue,{width:16,height:16,className:"cursor-pointer"}):o.jsx(nue,{width:16,height:16,className:"cursor-pointer"})]})})}),o.jsx(mr,{className:"hover:bg-transparent hover:text-green-600",onClick:()=>{Tn.value?t.isForm?be(t.id,void 0,!0):be(t.id):de(t.id)},children:t.isForm?o.jsx(st,{text:q("Type:::Run Auto Fill",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ht||Ue&&!Qe?o.jsx(l0,{}):o.jsx(pw,{width:16,height:16})}):t.isWebRequest||t.isWebScraping||t.isCommand?o.jsx(st,{text:Tn.value?q("Run and Paste Response",{ns:"common"}):q("Run and Copy Response",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:16}):ht?o.jsx(l0,{}):o.jsx(pw,{width:16,height:16})}):o.jsx(st,{text:Tn.value?q("Copy and Paste",{ns:"common"}):q("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:16}):o.jsx(ya,{size:16})})}),n?o.jsx(Se,{variant:"ghost",size:"mini",className:"px-1 pr-1 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-blue-500",onClick:()=>{Qi.value=t.id,I==null||I()},ref:Fe,children:o.jsx(st,{text:q("Locate Clip",{ns:"contextMenus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(h5,{size:18})})}):o.jsx(Se,{variant:"ghost",size:"mini",className:"px-1 pr-0 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent dark:hover:bg-transparent hover:text-slate-600 hover:dark:text-slate-300",onClick:()=>{var Ze,Re,Oe;const Pe=(Ze=Fe==null?void 0:Fe.current)==null?void 0:Ze.getBoundingClientRect().x,gt=(Re=Fe==null?void 0:Fe.current)==null?void 0:Re.getBoundingClientRect().y;(Oe=qe==null?void 0:qe.current)==null||Oe.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:Pe,clientY:gt&>+30}))},ref:Fe,children:o.jsx(st,{text:q("Clip Menu",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(xl,{size:18})})})]})}):!ee.value&&o.jsx("div",{className:"text-secondary-foreground/50 flex ml-auto !mt-0 !p-0 pr-2 w-[40px] items-center justify-center",children:s?o.jsx(p5,{size:16}):x?o.jsxs(me,{children:[o.jsx(te,{className:"".concat(_?"cursor-default text-gray-300":"cursor-pointer text-slate-500"," pr-1 flex items-center justify-center"),children:o.jsx(xle,{size:15,onClick:()=>{_||T({itemId:t.id,moveUp:!0})}})}),o.jsx(te,{className:"".concat(N?"cursor-default text-gray-300":"cursor-pointer text-slate-500"," flex items-center justify-center"),children:o.jsx(yle,{size:15,onClick:()=>{N||T({itemId:t.id,moveDown:!0})}})})]}):o.jsx(Se,ae(R({variant:"ghost",size:"mini"},Ke),{"data-drag-handle":!0,ref:De,className:"px-1 text-secondary-foreground/50 ml-auto cursor-grab fade-in animate-in !mt-0 flex hover:bg-transparent",children:o.jsx(st,{text:q("Drag to Move",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(cx,{size:16})})}))}))]})),h&&!g?o.jsx(OU,{isImage:t.isImage,isLink:t.isLink,isShowLinkedClip:Rt,searchTerm:Ee,isVideo:t.isVideo,isPath:t.isPath,isForm:t.isForm,isTemplate:t.isTemplate,isCode:t.isCode,isMenu:t.isMenu,clipName:t.name,isCommand:t.isCommand,isWebRequest:t.isWebRequest,isWebScraping:t.isWebScraping,isExpanded:ne,isCopyOrPaste:mt||Ue,isDark:P,arrLinks:t.arrLinks,isMasked:t.isMasked,hasMaskedWords:t.hasMaskedWords,detectedLanguage:t.detectedLanguage,hasEmoji:t.hasEmoji,pathType:t.pathType,isImageData:t.isImageData,imageHash:t.imageHash,imageType:t.imageType,imageScale:t.imageScale,imagePathFullRes:t.imagePathFullRes,imageDataUrl:t.imageDataUrl,isLargeView:S,formTemplateOptions:t.formTemplateOptions,commandRequestOutput:(H=t.commandRequestOutput)==null?void 0:H.replace("[Err]",""),isCommandRequestRunError:!!((F=t.commandRequestOutput)!=null&&F.startsWith("[Err]")),commandRequestOutputLastRunAt:t.commandRequestLastRunAt,requestOptions:t.requestOptions,imageWidthHeight:t.imageWidth?"".concat(t.imageWidth,"x").concat(t.imageHeight):null,clipId:t.id,value:t.value}):g&&o.jsx(x2e,{value:t.value,isOver:Ye,isLargeView:S,isShowLinkedClip:Rt,isNewlyCreated:Ut,isPinned:t.isPinned,isFavorite:t.isFavorite,isDelete:He,isCode:t.isCode,isImage:t.isImage,isCommand:t.isCommand,isLink:t.isLink,isWebRequest:t.isWebRequest,isWebScraping:t.isWebScraping,requestOptions:t.requestOptions,formTemplateOptions:t.formTemplateOptions,isPath:t.isPath,isVideo:t.isVideo,isMasked:t.isMasked,hasEmoji:t.hasEmoji,imageDataUrl:t.imageDataUrl,isText:t.isText,isTemplate:t.isTemplate,isForm:t.isForm,detectedLanguage:t.detectedLanguage,isDark:P,isHistoryDragActive:C,clipId:t.id,onCancel:()=>{Of()}})]})]})}),o.jsx(qwe,{itemId:t.id,isSelected:d,isPinnedBoard:x,isShowDetails:h,setShowDetails:A,setSelectedItemId:L,icon:t.icon,iconVisibility:t.iconVisibility,isPinned:t.isPinned,isFavorite:t.isFavorite,isMenu:t.isMenu,isLargeView:S,tabId:t.tabId,boardId:t.parentId})]})}finally{z.f()}}const L7=v.memo(fW),sj=v.memo(t=>{var i;const e=Te(34),{board:n,itemId:r,level:s,onSelect:a}=t;if("isBoard"in n&&s<1&&((i=n.children)!=null&&i.some(l=>"isBoard"in l&&l.isBoard&&l.id!==r))){let l;e[0]!==a||e[1]!==n.id?(l=()=>{a(n.id)},e[0]=a,e[1]=n.id,e[2]=l):l=e[2];let u;e[3]!==n.name?(u=o.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:n.name}),e[3]=n.name,e[4]=u):u=e[4];let d;e[5]!==l||e[6]!==u?(d=o.jsx(Lr,{onClick:l,children:u}),e[5]=l,e[6]=u,e[7]=d):d=e[7];let p;if(e[8]!==r||e[9]!==n.children||e[10]!==s||e[11]!==a){let b;e[13]!==r?(b=w=>w.id!==r,e[13]=r,e[14]=b):b=e[14];let C;e[15]===Symbol.for("react.memo_cache_sentinel")?(C=w=>w.type===Ks,e[15]=C):C=e[15];let g;e[16]!==r||e[17]!==s||e[18]!==a?(g=w=>o.jsx(sj,{board:w,itemId:r,level:s+1,onSelect:a},w.id),e[16]=r,e[17]=s,e[18]=a,e[19]=g):g=e[19],p=n.children.filter(b).filter(C).map(g),e[8]=r,e[9]=n.children,e[10]=s,e[11]=a,e[12]=p}else p=e[12];let h;e[20]!==p?(h=o.jsx(Rr,{children:p}),e[20]=p,e[21]=h):h=e[21];let m;return e[22]!==d||e[23]!==h?(m=o.jsxs(Fr,{children:[d,h]}),e[22]=d,e[23]=h,e[24]=m):m=e[24],m}else{let l;e[25]!==a||e[26]!==n.id?(l=()=>{a(n.id)},e[25]=a,e[26]=n.id,e[27]=l):l=e[27];let u;e[28]!==n.name?(u=o.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:n.name}),e[28]=n.name,e[29]=u):u=e[29];let d;return e[30]!==n.id||e[31]!==l||e[32]!==u?(d=o.jsx(Wt,{onSelect:l,children:u},n.id),e[30]=n.id,e[31]=l,e[32]=u,e[33]=d):d=e[33],d}});function Kwe({itemId:t,itemParentId:e,onShowDescriptionChange:n,hasDescription:r,isShowDescription:s,isEdit:a,currentTabLayout:i,iconVisibility:l,icon:u,setEditBoard:d}){var p=sn(1);try{const{clipItems:h,tabs:m,currentTab:b,setClipItems:C,currentCollectionId:g,isBoardHasChildren:w}=Tt(Ir),{t:x}=Gt(),{deleteItemById:S}=U5(),{updateItemById:E}=yl(),{updateMovedClips:N}=H5(),_=v.useMemo(()=>us(h,b).filter(A=>A.id!==t),[h,b,t]),P=v.useCallback(()=>us(h,b,e==null?void 0:e.toString()).filter(A=>A.id!==t).sort((A,L)=>A.orderNumber-L.orderNumber),[h,b,t,e]),I=v.useCallback((A,L)=>{const z=h.find(Y=>Y.itemId===t&&Y.isBoard);if(z&&!A&&L){const O=us(h,b,e==null?void 0:e.toString()).find(F=>F.id===t),$=O?_7(O):[],M=h.filter(F=>F.tabId===L&&F.isBoard&&F.parentId===null).sort((F,q)=>F.orderNumber-q.orderNumber);M.unshift(z);const W=new Map(M.map((F,q)=>[F.itemId,q])),V=new Map($==null?void 0:$.map(F=>[F,!0])),U=[],J=h.map(F=>{const q=W.get(F.itemId);return q!==void 0?(U.push(F.itemId),ae(R({},F),{orderNumber:q,tabId:L,parentId:null})):V!=null&&V.has(F.itemId)?(U.push(F.itemId),ae(R({},F),{tabId:L})):F});C(J);const H=J.filter(F=>U.includes(F.itemId)).map(F=>({itemId:F.itemId,parentId:F.parentId,tabId:F.tabId,collectionId:g,orderNumber:F.orderNumber}));N({updatedMoveClips:H})}else if(z&&A&&!L){const Y=h.filter(W=>W.parentId===A&&W.tabId===b).sort((W,V)=>W.orderNumber-V.orderNumber);Y.unshift(z);const O=new Map(Y.map((W,V)=>[W.itemId,V])),$=h.map(W=>{const V=O.get(W.itemId);return V!==void 0?ae(R({},W),{orderNumber:V,parentId:A.toString()}):W});C($);const M=$.filter(W=>W.parentId===A).map(W=>({itemId:W.itemId,parentId:A,tabId:b,collectionId:g,orderNumber:W.orderNumber}));N({updatedMoveClips:M})}},[t,b]),T=function($){return ge(this,arguments,function*({isLast:A,isFirst:L,isAfterItemId:z,moveUp:Y,moveDown:O}){const M=b.toString(),W=us(h,M,e==null?void 0:e.toString()).sort((H,F)=>H.orderNumber-F.orderNumber),V=W.findIndex(H=>H.id===t);if(V===-1)return;let U;if(Y)U=Math.max(0,V-1);else if(O)U=Math.min(W.length-1,V+1);else if(z){const H=W.findIndex(F=>F.id===z);if(H===-1)return;U=V>H?H+1:H}else U=L?0:A?W.length:0;const J=Ur(W,V,U);if(J&&J.length){const H=J.map((F,q)=>({itemId:F.id,parentId:F.parentId,tabId:F.tabId,collectionId:g,orderNumber:q}));yield N({updatedMoveClips:H})}})};return t==null?null:o.jsx(yx,{children:o.jsxs(O0,{className:"min-w-[150px]",children:[o.jsxs(Wt,{onSelect:()=>{Hl.value=t},children:[x("Add Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(eE,{size:16})})]}),o.jsxs(Wt,{onSelect:()=>{o1.value=t},children:[x("Add Board",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(xv,{size:16})})]}),o.jsx(Qn,{}),Wa.value!==t?o.jsxs(Wt,{onClick:()=>{Wa.value=t,i==="full"&&(Oo.value=!0)},children:[x("View",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(ix,{size:14})})]}):o.jsxs(Wt,{onClick:()=>{Wa.value=null,Oo.value=!1},children:[x("Close View",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(nE,{size:14})})]}),o.jsx(Qn,{}),!a&&o.jsxs(Wt,{onClick:()=>{d(t)},children:[x("Edit Board",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Q8,{size:15,className:"ml-1"})})]}),o.jsx(Qn,{}),o.jsxs(Wt,{onClick:()=>{ll.value=t},children:[x("Organize",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(p5,{size:15,className:"fill-transparent"})})]}),r&&o.jsx(o.Fragment,{children:s?o.jsxs(Wt,{onClick:()=>{n(t,!1)},children:[x("Hide Subtitle",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(lx,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{n(t,!0)},children:[x("Show Subtitle",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(N0,{size:15})})]})}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[x("Board Icon",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsx(el,{checked:l==="none",onSelect:()=>{E({updatedItem:{iconVisibility:"none",itemId:t}})},className:l==="none"?"font-semibold":"",children:x("Hide",{ns:"contextMenus"})}),o.jsx(el,{checked:l==="always",onSelect:()=>{E({updatedItem:{iconVisibility:"always",itemId:t}})},className:l==="always"?"font-semibold":"",children:x("Show",{ns:"contextMenus"})}),o.jsxs(Fr,{children:[o.jsxs(Lr,{className:"flex items-center justify-center",children:[u?o.jsx(d0,{size:16,className:"ml-1 mr-2",name:u}):o.jsx(q8,{size:16,className:"ml-1 mr-2 opacity-30"}),x("Custom Icon",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{className:"w-64",children:[o.jsxs(Wt,{disabled:!0,className:"text-center items-center justify-between py-0.5 data-[disabled]:pointer-events-auto",children:[o.jsx(te,{className:"w-6"}),o.jsx(re,{children:x("Select Icon",{ns:"contextMenus"})}),o.jsx(Se,{className:"text-[11px] px-1.5 font-semibold py-0.5 bg-opacity-70",variant:"default",size:"mini",onClick:()=>{E({updatedItem:{icon:"",iconVisibility:"none",itemId:t}})},children:x("RESET",{ns:"contextMenus"})})]}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:o.jsx(me,{className:"grid grid-cols-7 gap-0.5",children:P7.map(A=>o.jsx(Wt,{className:"flex items-center justify-center ".concat(u===A?"!bg-gray-200 dark:!bg-gray-600 dark:!text-slate-300":""),onSelect:L=>{L.preventDefault(),E({updatedItem:{iconVisibility:"always",icon:A,itemId:t}})},children:o.jsx(d0,{name:A,size:16})},A))})})]})]})]})]}),o.jsx(Qn,{}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[x("Position",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsxs(Wt,{onClick:()=>{T({moveUp:!0})},children:[x("Up",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(mz,{size:15,className:"fill-transparent"})})]}),o.jsxs(Wt,{onClick:()=>{T({moveDown:!0})},children:[x("Down",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(hz,{size:15,className:"fill-transparent"})})]}),o.jsx(Qn,{}),P().length>0&&o.jsxs(o.Fragment,{children:[o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[x("After",{ns:"contextMenus"}),"..."]}),o.jsx(Rr,{children:P().map(A=>o.jsx(sj,{board:A,level:0,itemId:t,onSelect:L=>{T({isAfterItemId:L})}},A.id))})]}),o.jsx(Qn,{})]}),o.jsxs(Wt,{onClick:()=>{T({isFirst:!0})},children:[x("Start",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(d5,{size:15,className:"fill-transparent"})})]}),o.jsxs(Wt,{onClick:()=>{T({isLast:!0})},children:[x("End",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(wh,{size:15,className:"fill-transparent"})})]})]})]}),o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[x("Move To",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[x("MoveTo:::Tab",{ns:"contextMenus"})," ..."]}),o.jsx(Rr,{children:m.map(({tabId:A,tabName:L,tabOrderNumber:z})=>o.jsx(Wt,{onSelect:()=>{I(null,A)},children:b===A?o.jsx(re,{className:"font-semibold capitalize",children:L||"".concat(x("Tab",{ns:"dashboard"})," ").concat(z+1)}):o.jsx("span",{className:"capitalize",children:L||"".concat(x("Tab",{ns:"dashboard"})," ").concat(z+1)})},A))})]}),us(h,b).filter(A=>A.id!==t).length>0&&o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[x("MoveTo:::Board",{ns:"contextMenus"})," ..."]}),o.jsx(Rr,{children:_.map(A=>o.jsx(sj,{board:A,level:0,itemId:t,onSelect:L=>{I(L)}},A.id))})]})]})]}),!w(t)&&o.jsxs(o.Fragment,{children:[o.jsx(Qn,{}),o.jsxs(Wt,{className:Zu.value===t?"!bg-red-100 dark:!bg-red-900":"",onClick:A=>{Zu.value===t?(S({itemId:t,collectionId:g}),Zu.value):(A.preventDefault(),Zu.value=t,setTimeout(()=>{Zu.value=null},3e3))},children:[o.jsx(me,{children:o.jsx(re,{className:"!text-red-500",children:Zu.value!==t?x("Delete Board",{ns:"contextMenus"}):x("Click to Confirm",{ns:"common"})})}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(kr,{size:15,className:"text-red-500"})})]})]})]})})}finally{p.f()}}const Gwe="_TopRow_16h0h_1",Ywe="_BottomRow_16h0h_5",Zwe="_Panel_16h0h_9",Xwe="_PanelContent_16h0h_14",Qwe="_ResizeHandleOuter_16h0h_24",Jwe="_ResizeHandleInner_16h0h_35",e5e="_Button_16h0h_46",t5e="_Icon_16h0h_58",KC={TopRow:Gwe,BottomRow:Ywe,Panel:Zwe,PanelContent:Xwe,ResizeHandleOuter:Qwe,ResizeHandleInner:Jwe,Button:e5e,Icon:t5e};function hW(t){const e=Te(6),{isVertical:n,className:r,id:s}=t,a=n===void 0?!1:n,i=r===void 0?"":r,l="".concat(KC.ResizeHandleOuter," ").concat(i," opacity-0 hover:opacity-100 transition-opacity"),u="".concat(KC.Icon," ").concat(a?"rotate-90":""," text-slate-300 dark:text-slate-500");let d;e[0]!==u?(d=o.jsx("div",{className:KC.ResizeHandleInner,children:o.jsx(kz,{className:u,type:"resize-vertical"})}),e[0]=u,e[1]=d):d=e[1];let p;return e[2]!==l||e[3]!==s||e[4]!==d?(p=o.jsx(Gz,{className:l,id:s,children:d}),e[2]=l,e[3]=s,e[4]=d,e[5]=p):p=e[5],p}function n5e(t){var I;const e=Te(26);let n,r,s,a,i,l,u,d;e[0]!==t?(I=t,{children:u,isLastPanel:n,fixedSize:l,hasPanel:r,hasResizeHandle:s,isVertical:a,isCollapsible:i}=I,d=Ne(I,["children","isLastPanel","fixedSize","hasPanel","hasResizeHandle","isVertical","isCollapsible"]),e[0]=t,e[1]=n,e[2]=r,e[3]=s,e[4]=a,e[5]=i,e[6]=l,e[7]=u,e[8]=d):(n=e[1],r=e[2],s=e[3],a=e[4],i=e[5],l=e[6],u=e[7],d=e[8]);const p=n===void 0?!1:n,h=r===void 0?!0:r,m=s===void 0?!0:s,b=a===void 0?!1:a,C=i===void 0?!1:i,[g,w]=v.useState(l||0);if(!h)return u;const x="".concat(g,"%");let S;e[9]!==x?(S={width:x},e[9]=x,e[10]=S):S=e[10];let E;e[11]!==l?(E=T=>{l||w(T)},e[11]=l,e[12]=E):E=e[12];let N;e[13]!==S||e[14]!==C||e[15]!==E||e[16]!==d||e[17]!==u?(N=o.jsx(Y2,ae(R({style:S,collapsible:C,onResize:E},d),{children:u})),e[13]=S,e[14]=C,e[15]=E,e[16]=d,e[17]=u,e[18]=N):N=e[18];let _;e[19]!==p||e[20]!==m||e[21]!==b?(_=!p&&m&&o.jsx(hW,{isVertical:b}),e[19]=p,e[20]=m,e[21]=b,e[22]=_):_=e[22];let P;return e[23]!==N||e[24]!==_?(P=o.jsxs(o.Fragment,{children:[N,_]}),e[23]=N,e[24]=_,e[25]=P):P=e[25],P}const GC=["max-w-min","max-w-xs","max-w-sm","max-w-md","max-w-[50%]","max-w-prose","max-w-full","max-w-fit"];function pW({board:t,boardColor:e,isDragPreview:n,isSubBoard:r,isDark:s,showDragHandle:a,globalSearchTerm:i,isGlobalSearchBoardsOnly:l,isHistoryDragActive:u,dragOverBoardId:d,panelHeight:p,currentTabLayout:h,selectedItemIds:m,showDetailsItem:b,closeGlobalSearch:C,setShowDetailsItem:g,setCurrentTab:w,setSelectedItemId:x}){var E,N,_,P,I,T,A;var S=sn(1);try{const{t:L}=Gt(),z=v.useMemo(()=>{var He,mt;return(mt=(He=t.children)==null?void 0:He.map(Ue=>Ue.id))!=null?mt:[]},[t]),{updateItemById:Y,updateItemByIdPending:O}=yl(),{isClipNotesHoverCardsEnabled:$,clipNotesHoverCardsDelayMS:M,clipNotesMaxHeight:W,clipNotesMaxWidth:V}=Tt(Cr),U=it(!1),J=v.useRef(null),H=v.useRef(null),F=it(!1),q=it(!1),{isBoardHasChildren:X}=Tt(Ir),ne=v.useRef(null),ee=va.value===Wo,G=oC.value===t.id&&!i,{setNodeRef:Z,listeners:le,isDragging:se}=l5({disabled:u||ee||!!Ts.value||!!Ua.value,id:t.id,data:{type:"board",isSubBoard:r,board:t}}),de=v.useMemo(()=>il.value,[il.value]),ce=t.id===vh.value,pe=t.name===L("Moved Clips Panel",{ns:"dashboard"}),ve=t.id===uv.value,ye=Zu.value===t.id,be=ce||ve,Ee=t.color||e||"slate",Fe=t.borderWidth===0?r?"border":"border-none":t.borderWidth===1?"border":"border-[".concat(t.borderWidth,"px]"),qe=((E=t.layout)==null?void 0:E.startsWith("flex"))||!1,ot=t.layout==="flex-nowrap"||!1,Ve=((N=t.layout)==null?void 0:N.startsWith("grid"))||!1,Ke=parseInt((P=(_=t.layout)==null?void 0:_.split("grid-cols-")[1])!=null?P:"",10)||2,lt=ll.value===t.id&&!i,De=d===t.id,Ye=Wa.value===t.id,dt=Jd("".concat(De?"bg-blue-200 dark:bg-blue-400 border-blue-300 dark:border-blue-300":"".concat(Ji(Ee,"200")," ").concat(Rb(Ee,"300","700"))," h-full flex flex-col ").concat(be?"border-2 min-h-[120px]":"border-0 min-h-[100px]"," px-0.5 py-1 bg-opacity-70 dark:bg-opacity-70 rounded-lg overflow-hidden ").concat(ye?"border-2 border-red-300 bg-red-100":""," ").concat(pe?"border-2 ".concat(Rb(Ee,"300","700")," border-opacity-70 dark:border-opacity-70"):""," ").concat(r?"border-opacity-50 dark:border-opacity-50":"border-opacity-60 dark:border-opacity-60"," ").concat(Fe," ").concat(ee?"hover:bg-blue-100":""," ").concat(G?"pulse-clip":""),{variants:{dragging:{over:"border-2 border-dashed border-blue-400 dark:border-blue-500",overlay:"".concat(Rb(Ee,"300","700")," opacity-70 border-2")}}});return v.useEffect(()=>{var He;G&&((He=ne==null?void 0:ne.current)==null||He.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),setTimeout(()=>{oC.value=null},1e3))},[G,ne==null?void 0:ne.current]),v.useEffect(()=>{se&&r&&(ll.value=t.parentId)},[se,r]),o.jsxs(w7,{ref:pl(ne,Ts.value||Ua.value?null:Z),className:dt({dragging:n?"overlay":se?"over":void 0}),children:[o.jsxs(L0,{onOpenChange:He=>{U.value=He,Zu.value=null},children:[o.jsx(R0,{disabled:be||lt||a,ref:q.value?H:null,children:o.jsxs(yve,ae(R({onMouseEnter:()=>{q.value=!0},onMouseLeave:()=>{q.value=!1},onClick:()=>{q.value=!0},onDoubleClick:()=>{q.value=!0,!be&&(Wa.value!==t.id?(h==="full"&&(Oo.value=!0),Wa.value=t.id):(Wa.value=null,Oo.value=!1))},className:"p-1 px-4 pt-2 pb-0 pr-2 flex flex-row relative board-panel-header_tour"},!de&&!be?le:{}),{children:[be?o.jsx(txe,{boardName:t.name,boardSubtitle:t.description,scrollRef:ne,isNewBoard:ce,boardColor:t.color,boardBorderWidth:(I=t.borderWidth)!=null?I:0,boardId:t.id}):o.jsxs("div",{className:"overflow-hidden",children:[o.jsxs("div",{className:"cursor-default flex items-center",children:[o.jsx(_c,{icon:t.icon,size:17,isBoard:!0,className:"mr-1.5",description:t.showDescription?null:t.description,iconVisibility:t.iconVisibility,isHover:!0,children:pe&&o.jsx(jce,{size:17,className:"mr-1.5"})}),i?o.jsx(re,{color:"black",className:"dark:hover:!text-blue-400 hover:!text-blue-500 cursor-pointer !font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap first-letter:uppercase",onClick:()=>{w==null||w(t.tabId),oC.value=t.id,C==null||C()},children:l?ql(t.name,i):t.name}):o.jsx(re,{color:"black",className:"!font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap first-letter:uppercase",children:t.name}),!t.showDescription&&(!t.icon||t.iconVisibility!=="always")&&o.jsx(st,{text:t.description,className:"!px-2 !py-1",delayDuration:300,isCompact:!0,isDisabled:n||!q.value,sideOffset:10,side:"bottom",children:o.jsx("div",{className:"ml-0.5 pl-1 text-primary/50 cursor-pointer hover:opacity-100 ".concat(q.value?"opacity-80":"opacity-0"),children:o.jsx(dU,{size:17})})})]}),t.description&&t.showDescription&&o.jsx("div",{onClick:()=>{F.value=!F.value},className:"!font-light text-xs cursor-default hover:opacity-100 opacity-70 hover:animate-in ".concat(F.value?"":"line-clamp-2"," mt-0.5"),children:t.description})]}),!be&&o.jsx("div",{className:"flex flex-row ml-auto opacity-0 animate-in fade-in ".concat(q.value||U.value||Ye||a||de||lt?"opacity-100":""," !mt-0"),children:n?o.jsx(p5,{size:18}):o.jsx(me,{className:"flex-row items-start relative",children:de||a?o.jsx(mr,ae(R({},le),{className:"p-1 text-primary/50 h-auto cursor-grab absolute right-0 top-[-3px] hover:".concat(Ji(t.color,"200")),children:o.jsx(cx,{size:18})})):lt?o.jsxs(Se,{variant:"light",size:"mini",className:"px-3 py-0.5 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{ll.value=null},children:[o.jsx(re,{className:"whitespace-nowrap",children:L("Done",{ns:"common"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:14})})]}):!i&&o.jsxs(me,{className:"absolute right-0 top-[-3px] gap-2",children:[o.jsx(Se,{title:L("Board Menu",{ns:"dashboard"}),variant:"ghost",size:"mini",className:"p-1 text-secondary-foreground/50 ".concat(Ji(t.color,"200")," dark:hover:bg-").concat(t.color,"-800 hover:").concat(Ji(t.color,"200")," bg-opacity-80 cursor-pointer rounded-md flex ").concat(Ye?"opacity-0":""," ").concat(q.value?"opacity-100":""),onClick:()=>{var Ue,ht,Qe;const He=(Ue=J==null?void 0:J.current)==null?void 0:Ue.getBoundingClientRect().x,mt=(ht=J==null?void 0:J.current)==null?void 0:ht.getBoundingClientRect().y;(Qe=H==null?void 0:H.current)==null||Qe.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:He&&He+10,clientY:mt&&mt+30}))},ref:J,children:o.jsx(xl,{size:18})}),Ye&&o.jsx(Se,{title:L("Close View",{ns:"contextMenus"}),variant:"ghost",size:"mini",className:"p-1 text-secondary-foreground/50 ".concat(Ji(t.color,"100")," dark:hover:bg-").concat(t.color,"-800 hover:").concat(Ji(t.color,"200")," bg-opacity-100 cursor-pointer rounded-md !mt-0 flex"),onClick:()=>{Wa.value=null,Oo.value=!1},children:o.jsx(In,{size:18})})]})})}),i&&t.tabName&&o.jsx(St,{onClick:()=>{w==null||w(t.tabId),C==null||C()},variant:"secondary",className:"absolute top-0 right-2 rounded-[4px] text-slate-400 hover:text-blue-400 hover:bg-slate-50 cursor-pointer dark:hover:bg-slate-800 dark:text-slate-500 dark:hover:text-blue-500 dark:bg-slate-800",children:t.tabName}),Ye&&o.jsx(ec,{className:"absolute text-".concat(t.color?t.color:"slate","-400 dark:text-").concat(t.color?t.color:"slate","-800 top-[-15px] left-[-5px] animate-in fade-in duration-500"),size:28})]}))}),o.jsx(Kwe,{itemId:t.id,itemParentId:t.parentId,icon:t.icon,currentTabLayout:h,iconVisibility:t.iconVisibility,isEdit:ve,isShowDescription:t.showDescription,hasDescription:!!t.description,setEditBoard:He=>{uv.value=He},onShowDescriptionChange:(He,mt)=>{Y({updatedItem:{showDescription:mt,itemId:He}})}})]}),o.jsxs(Fh,{className:"m-0 p-0 pb-2 pr-3 pl-2 relative h-full",children:[o.jsxs(Kd,{defer:!0,options:{overflow:{x:"hidden"},scrollbars:{theme:s?"os-theme-light":"os-theme-dark",autoHide:"move"}},style:{maxHeight:r||h==="auto"?400:t.showDescription&&t.description&&p?p-(be?156:90):p&&p-(be?126:60)},children:[(u||ee)&&!Ts.value&&!Ua.value&&o.jsx(kve,{board:t,isNewClip:ee,isCreatingClip:Dd.value===t.id}),o.jsx(_2,{items:z,strategy:()=>null,disabled:u||ee,children:((T=t.children)==null?void 0:T.length)&&a5e(t.children,t.layoutSplit||1).map((He,mt)=>He.length>0&&o.jsxs("div",{children:[mt>0&&o.jsx(BE,{className:"mt-2 mb-1 ml-1",color:Ee}),o.jsx(Kd,{defer:!0,style:{width:"100%"},options:{scrollbars:{theme:s?"os-theme-light":"os-theme-dark",autoHide:"move"}},children:o.jsx("div",{className:"".concat(qe?"flex":"grid"," ").concat(ot?"flex-nowrap":"flex-wrap"," justify-normal gap-2.5 items-start mt-2.5 mb-2 ml-2 mr-1 ").concat(Ve?t.layout:""),children:He==null?void 0:He.map(Ue=>{const ht=Ts.value===Ue.id;return o.jsx("div",{className:"".concat(ht||Ua.value===Ue.id?"min-w-[265px] duration-100 ":"min-w-[140px] "," ").concat(t.layoutItemsMaxWidth?t.layoutItemsMaxWidth:ht||Ua.value===Ue.id?"max-w-full":"max-w-fit"," hover:z-100 ").concat(qe?t.layout:""),children:Ue.type===Ks?o.jsx(Sw,{isHistoryDragActive:u,dragOverBoardId:d,isDark:s,board:Ue,boardColor:Ee,showDragHandle:lt||ve,currentTabLayout:h,isSubBoard:!0,selectedItemIds:m,setSelectedItemId:x,showDetailsItem:b,setShowDetailsItem:g}):Ue.type===Wo&&o.jsx(L7,{clip:Ue,boardColor:Ee,isClipNotesHoverCardsEnabled:$&&!de&&!lt,clipNotesHoverCardsDelayMS:M,clipNotesMaxHeight:W,clipNotesMaxWidth:V,globalSearchTerm:i,isGlobalSearchBoardsOnly:l,closeGlobalSearch:C,isDark:s,isClipDelete:hi.value===Ue.id,isClipNameEditing:sd.value===Ue.id,isClipEdit:ht||Ua.value===Ue.id,canReorangeItems:be||lt,isShowOrganizeLayoutValue:de,isHistoryDragActive:u,isShowDetails:b===Ue.id,setShowDetailsItem:g,setSelectedItemId:x,isSelected:m.includes(Ue.id),selectedOrder:m.indexOf(Ue.id)+1})},Ue.id)})})})]},mt))})]}),be&&o.jsxs(o.Fragment,{children:[o.jsx(Rn,{h:11}),o.jsxs(me,{className:"justify-between w-full pl-2 pr-2 mt-2 absolute bottom-1 left-0",children:[o.jsx(bve,{boardName:t.name,isNewBoard:ce,boardId:t.id}),o.jsx(me,{className:"w-full scroll-h-tabs-wrap",children:X(t.id)&&o.jsx(or,{style:{minWidth:"100%"},forceVisible:"y",autoHide:!1,children:o.jsx(hl,{className:"min-w-[280px] flex flex-row mt-[2px]",title:L("Change Layout",{ns:"dashboard"}),activationMode:"manual",value:t.layout||"flex-auto",onValueChange:He=>ge(this,null,function*(){O||(yield Y({updatedItem:{layout:He,itemId:t.id}}))}),children:o.jsxs(me,{className:"w-full",children:[o.jsxs(me,{className:"mr-2",children:[t.layoutSplit>1&&o.jsx(St,{onClick:()=>{Y({updatedItem:{layoutSplit:t.layoutSplit>4?1:t.layoutSplit+1,itemId:t.id}})},variant:"outline",className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-1.5 mr-1",children:o.jsx(re,{className:"font-mono text-slate-400 font-semibold",children:t.layoutSplit})}),o.jsx(Se,{variant:"light",title:L("Vertical Split",{ns:"dashboard"}),onClick:()=>{Y({updatedItem:{layoutSplit:t.layoutSplit>4?1:t.layoutSplit+1,itemId:t.id}})},className:"px-1 py-2 bg-gray-50 hover:bg-gray-200 dark:hover:bg-gray-700 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 h-8 w-8",children:o.jsx(qoe,{size:18,className:"opacity-70"})})]}),o.jsx(me,{className:"mr-0.5",children:o.jsx(St,{variant:"outline",title:L("Layout Max Width",{ns:"dashboard"}),onClick:()=>{let He=GC.findIndex(Ue=>Ue===t.layoutItemsMaxWidth);He===-1?He=0:He=(He+1)%GC.length;const mt=GC[He];Y({updatedItem:{layoutItemsMaxWidth:mt,itemId:t.id}})},className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-2 py-3 h-6 mr-1",children:o.jsx(re,{className:"text-slate-400 font-semibold text-md uppercase",children:t.layoutItemsMaxWidth?(A=t.layoutItemsMaxWidth)==null?void 0:A.replace("max-w-",""):"fit"})})}),o.jsxs(Yo,{className:"self-center text-primary/40",children:[o.jsx(jr,{value:"flex-auto",className:"text-xs px-2 py-1",children:o.jsx(Iz,{size:18,className:"opacity-70"})}),o.jsx(jr,{value:"flex-1",className:"text-xs px-2 py-1",children:o.jsx(Lie,{size:18,className:"opacity-60 transform -scale-y-100"})}),o.jsx(jr,{value:"flex-nowrap",className:"text-xs px-2 py-1",children:o.jsx(Hse,{size:18,className:"opacity-60"})}),o.jsx(jr,{value:"grid-cols-".concat(Ke),className:"text-xs px-2 py-1",children:o.jsx(f6,{size:18,className:"opacity-60",onClick:He=>{He.stopPropagation(),Y({updatedItem:{layout:"grid-cols-".concat(Ke>3?1:Ke+1),itemId:t.id}})}})})]}),Ve&&o.jsx(St,{title:L("Number of columns",{ns:"dashboard"}),onClick:()=>{Y({updatedItem:{layout:"grid-cols-".concat(Ke>3?1:Ke+1),itemId:t.id}})},variant:"outline",className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-1.5 ml-1",children:o.jsx(re,{className:"font-mono text-slate-400 font-semibold",children:Ke})})]})})})}),o.jsx(Se,{variant:"light",title:"".concat(X(t.id)?L("Done",{ns:"common"}):""),onClick:()=>{if(Pc.value){Xr.value=!0;return}Of()},className:"px-2 text-blue-500 animate-in fade-in bg-gray-50 hover:bg-grey-100 cursor-pointer opacity-90 hover:opacity-100 hover:text-blue-600",children:X(t.id)?o.jsx(en,{size:19}):o.jsxs(o.Fragment,{children:[o.jsx(en,{size:19,className:"mr-1"}),L("Done",{ns:"common"})]})})]})]})]})]})}finally{S.f()}}const Sw=v.memo(pW);function r5e(t){const e=Te(25),{board:n,isDragPreview:r,isDark:s,isSubBoard:a,isHistoryDragActive:i,dragOverBoardId:l,onResizeCallBack:u,panelHeight:d,currentTabLayout:p,selectedItemIds:h,showDetailsItem:m,setShowDetailsItem:b,order:C,isLastBoard:g,setSelectedItemId:w}=t;let x;e[0]!==n.id?(x=n.id.toString(),e[0]=n.id,e[1]=x):x=e[1];let S;e[2]!==u?(S=P=>{u==null||u(P)},e[2]=u,e[3]=S):S=e[3];const E=!r;let N;e[4]!==n||e[5]!==C||e[6]!==d||e[7]!==i||e[8]!==l||e[9]!==p||e[10]!==a||e[11]!==h||e[12]!==w||e[13]!==m||e[14]!==b||e[15]!==s||e[16]!==r?(N=o.jsx(Sw,{board:n,boardColor:n.color,order:C,panelHeight:d,isHistoryDragActive:i,dragOverBoardId:l,currentTabLayout:p,isSubBoard:a,selectedItemIds:h,setSelectedItemId:w,showDetailsItem:m,setShowDetailsItem:b,isDark:s,isDragPreview:r},n.id),e[4]=n,e[5]=C,e[6]=d,e[7]=i,e[8]=l,e[9]=p,e[10]=a,e[11]=h,e[12]=w,e[13]=m,e[14]=b,e[15]=s,e[16]=r,e[17]=N):N=e[17];let _;return e[18]!==x||e[19]!==C||e[20]!==S||e[21]!==E||e[22]!==g||e[23]!==N?(_=o.jsx(n5e,{defaultSize:50,isCollapsible:!1,collapsedSize:6,minSize:6,id:x,order:C,className:"board-panel_tour",onResize:S,hasResizeHandle:E,isLastPanel:g,children:N}),e[18]=x,e[19]=C,e[20]=S,e[21]=E,e[22]=g,e[23]=N,e[24]=_):_=e[24],_}const bI=v.memo(r5e);function s5e({children:t}){return t}function a5e(t,e){const n=t.length,r=Math.ceil(n/e),s=Array.from({length:e},()=>[]);return t.forEach((a,i)=>{const l=Math.min(Math.floor(i/r),e-1);s[l].push(a)}),s}var oi=(t=>(t.FOLDER="folder",t.SEPARATOR="separator",t.ITEM="item",t.DISABLED="disabled",t))(oi||{}),tl=(t=>(t.TAB="tab",t.BOARD="board",t.CLIP="clip",t))(tl||{});function o5e(t){const e=Te(3);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.2626 3.26045C7.38219 2.13044 8.33828 1.25 9.5 1.25H14.5C15.6617 1.25 16.6178 2.13044 16.7374 3.26045C17.5005 3.27599 18.1603 3.31546 18.7236 3.41895C19.4816 3.55818 20.1267 3.82342 20.6517 4.34835C21.2536 4.95027 21.5125 5.70814 21.6335 6.60825C21.75 7.47522 21.75 8.57754 21.75 9.94513V16.0549C21.75 17.4225 21.75 18.5248 21.6335 19.3918C21.5125 20.2919 21.2536 21.0497 20.6517 21.6517C20.0497 22.2536 19.2919 22.5125 18.3918 22.6335C17.5248 22.75 16.4225 22.75 15.0549 22.75H8.94513C7.57754 22.75 6.47522 22.75 5.60825 22.6335C4.70814 22.5125 3.95027 22.2536 3.34835 21.6517C2.74643 21.0497 2.48754 20.2919 2.36652 19.3918C2.24996 18.5248 2.24998 17.4225 2.25 16.0549V9.94513C2.24998 8.57754 2.24996 7.47522 2.36652 6.60825C2.48754 5.70814 2.74643 4.95027 3.34835 4.34835C3.87328 3.82342 4.51835 3.55818 5.27635 3.41895C5.83973 3.31546 6.49952 3.27599 7.2626 3.26045ZM7.26496 4.76087C6.54678 4.7762 5.99336 4.81234 5.54735 4.89426C4.98054 4.99838 4.65246 5.16556 4.40901 5.40901C4.13225 5.68577 3.9518 6.07435 3.85315 6.80812C3.75159 7.56347 3.75 8.56458 3.75 10V16C3.75 17.4354 3.75159 18.4365 3.85315 19.1919C3.9518 19.9257 4.13225 20.3142 4.40901 20.591C4.68577 20.8678 5.07435 21.0482 5.80812 21.1469C6.56347 21.2484 7.56458 21.25 9 21.25H15C16.4354 21.25 17.4365 21.2484 18.1919 21.1469C18.9257 21.0482 19.3142 20.8678 19.591 20.591C19.8678 20.3142 20.0482 19.9257 20.1469 19.1919C20.2484 18.4365 20.25 17.4354 20.25 16V10C20.25 8.56458 20.2484 7.56347 20.1469 6.80812C20.0482 6.07434 19.8678 5.68577 19.591 5.40901C19.3475 5.16556 19.0195 4.99838 18.4527 4.89426C18.0066 4.81234 17.4532 4.7762 16.735 4.76087C16.6058 5.88062 15.6544 6.75 14.5 6.75H9.5C8.34559 6.75 7.39424 5.88062 7.26496 4.76087ZM9.5 2.75C9.08579 2.75 8.75 3.08579 8.75 3.5V4.5C8.75 4.91421 9.08579 5.25 9.5 5.25H14.5C14.9142 5.25 15.25 4.91421 15.25 4.5V3.5C15.25 3.08579 14.9142 2.75 14.5 2.75H9.5ZM6.25 10.5C6.25 10.0858 6.58579 9.75 7 9.75H17C17.4142 9.75 17.75 10.0858 17.75 10.5C17.75 10.9142 17.4142 11.25 17 11.25H7C6.58579 11.25 6.25 10.9142 6.25 10.5ZM7.25 14C7.25 13.5858 7.58579 13.25 8 13.25H16C16.4142 13.25 16.75 13.5858 16.75 14C16.75 14.4142 16.4142 14.75 16 14.75H8C7.58579 14.75 7.25 14.4142 7.25 14ZM8.25 17.5C8.25 17.0858 8.58579 16.75 9 16.75H15C15.4142 16.75 15.75 17.0858 15.75 17.5C15.75 17.9142 15.4142 18.25 15 18.25H9C8.58579 18.25 8.25 17.9142 8.25 17.5Z",fill:"currentColor"}),e[0]=n):n=e[0];let r;return e[1]!==t.className?(r=o.jsx("svg",{viewBox:"0 0 25 25",className:t.className,xmlns:"http://www.w3.org/2000/svg",children:n}),e[1]=t.className,e[2]=r):r=e[2],r}const i5e=t=>{var e=sn(1);try{const n=Te(243),{selectedItemIds:r,hasPinnedItemsInSelected:s,hasFavoriteItemsInSelected:a,setSelectedItemIds:i}=t,{deleteItemsByIds:l}=Pge(),{t:u}=Gt();let d;n[0]===Symbol.for("react.memo_cache_sentinel")?(d={},n[0]=d):d=n[0];const[,,,p]=zh(d);let h;n[1]===Symbol.for("react.memo_cache_sentinel")?(h={},n[1]=h):h=n[1];const[,,m]=$h(h),{updateItemByIds:b}=Cge(),{copyPasteSequencePinnedDelay:C,setCopyPasteSequencePinnedDelay:g,copyPasteSequenceIsReversOrder:w,setCopyPasteSequenceIsReversOrder:x}=Tt(Cr),{currentCollectionId:S}=Tt(Ir);let E;n[2]===Symbol.for("react.memo_cache_sentinel")?(E=o.jsx(o5e,{className:"w-[24px]",lightingColor:"white"}),n[2]=E):E=n[2];let N;n[3]!==r.length?(N=r.length>0&&o.jsx(St,{variant:"slate",className:"absolute left-[-12px] top-[-12px]",children:r.length}),n[3]=r.length,n[4]=N):N=n[4];let _;n[5]!==N?(_=o.jsx(Gn,{asChild:!0,className:"animate-in fade-in",children:o.jsxs(Se,{variant:"ghost",size:"mini",className:"ml-1 mr-0.5 px-1.5 py-1 w-[32px] h-[32px] bg-slate-100 dark:bg-slate-900/90 dark:hover:bg-slate-800 bg-opacity-80 text-secondary-foreground/50 cursor-pointer !mt-0 hover:bg-opacity-100 relative rounded-sm",children:[E,N]})}),n[5]=N,n[6]=_):_=n[6];const P=r.length===0;let I;n[7]!==i?(I=()=>{i([])},n[7]=i,n[8]=I):I=n[8];let T;n[9]===Symbol.for("react.memo_cache_sentinel")?(T=o.jsx(G8,{className:"mr-2 h-4 w-4"}),n[9]=T):T=n[9];let A;n[10]!==u?(A=u("Deselect All",{ns:"common"}),n[10]=u,n[11]=A):A=n[11];let L;n[12]!==A?(L=o.jsx(re,{className:"mr-1",children:A}),n[12]=A,n[13]=L):L=n[13];let z;n[14]!==P||n[15]!==I||n[16]!==L?(z=o.jsxs(rt,{disabled:P,onClick:I,children:[T,L]}),n[14]=P,n[15]=I,n[16]=L,n[17]=z):z=n[17];let Y;n[18]===Symbol.for("react.memo_cache_sentinel")?(Y=o.jsx(kn,{}),n[18]=Y):Y=n[18];const O=r.length===0;let $;n[19]!==m||n[20]!==r||n[21]!==i?($=()=>ge(void 0,null,function*(){yield m([...r]),i([])}),n[19]=m,n[20]=r,n[21]=i,n[22]=$):$=n[22];let M;n[23]===Symbol.for("react.memo_cache_sentinel")?(M=o.jsx(ya,{className:"mr-2 h-4 w-4"}),n[23]=M):M=n[23];let W;n[24]!==u?(W=u("Sequence Copy",{ns:"common"}),n[24]=u,n[25]=W):W=n[25];let V;n[26]!==W?(V=o.jsx(re,{className:"mr-1",children:W}),n[26]=W,n[27]=V):V=n[27];let U;n[28]!==O||n[29]!==$||n[30]!==V?(U=o.jsxs(rt,{disabled:O,onClick:$,children:[M,V]}),n[28]=O,n[29]=$,n[30]=V,n[31]=U):U=n[31];const J=r.length===0;let H;n[32]!==p||n[33]!==r||n[34]!==i?(H=()=>ge(void 0,null,function*(){yield p([...r]),i([])}),n[32]=p,n[33]=r,n[34]=i,n[35]=H):H=n[35];let F;n[36]===Symbol.for("react.memo_cache_sentinel")?(F=o.jsx(Ps,{className:"mr-2 h-4 w-4"}),n[36]=F):F=n[36];let q;n[37]!==u?(q=u("Sequence Paste",{ns:"common"}),n[37]=u,n[38]=q):q=n[38];let X;n[39]!==q?(X=o.jsx(re,{className:"mr-1",children:q}),n[39]=q,n[40]=X):X=n[40];let ne;n[41]!==J||n[42]!==H||n[43]!==X?(ne=o.jsxs(rt,{disabled:J,onClick:H,children:[F,X]}),n[41]=J,n[42]=H,n[43]=X,n[44]=ne):ne=n[44];let ee;n[45]===Symbol.for("react.memo_cache_sentinel")?(ee=o.jsx(Qce,{className:"mr-2 h-4 w-4"}),n[45]=ee):ee=n[45];let G;n[46]!==u?(G=u("Next Delay",{ns:"common"}),n[46]=u,n[47]=G):G=n[47];let Z;n[48]!==G?(Z=o.jsx(re,{children:G}),n[48]=G,n[49]=Z):Z=n[49];let le;n[50]!==C?(le=o.jsxs(St,{variant:"slate",className:"ml-auto py-0 bg-slate-200 text-slate-500",children:[C,"s"]}),n[50]=C,n[51]=le):le=n[51];let se;n[52]!==Z||n[53]!==le?(se=o.jsx(Ws,{children:o.jsxs(me,{className:"flex w-full",children:[ee,Z,le]})}),n[52]=Z,n[53]=le,n[54]=se):se=n[54];let de;n[55]!==u?(de=u("Sequence Next Delay",{ns:"common"}),n[55]=u,n[56]=de):de=n[56];let ce;n[57]!==de?(ce=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:de}),n[57]=de,n[58]=ce):ce=n[58];const pe=C===1;let ve;n[59]!==g?(ve=Mn=>{Mn.preventDefault(),g(1)},n[59]=g,n[60]=ve):ve=n[60];let ye;n[61]!==u?(ye=u("second",{ns:"common"}),n[61]=u,n[62]=ye):ye=n[62];let be;n[63]!==ye?(be=o.jsxs(re,{children:["1 ",ye]}),n[63]=ye,n[64]=be):be=n[64];let Ee;n[65]!==pe||n[66]!==ve||n[67]!==be?(Ee=o.jsx(Cn,{checked:pe,onSelect:ve,children:be}),n[65]=pe,n[66]=ve,n[67]=be,n[68]=Ee):Ee=n[68];const Fe=C===2;let qe;n[69]!==g?(qe=Mn=>{Mn.preventDefault(),g(2)},n[69]=g,n[70]=qe):qe=n[70];let ot;n[71]!==u?(ot=u("seconds",{ns:"common"}),n[71]=u,n[72]=ot):ot=n[72];let Ve;n[73]!==ot?(Ve=o.jsxs(re,{children:["2 ",ot]}),n[73]=ot,n[74]=Ve):Ve=n[74];let Ke;n[75]!==Fe||n[76]!==qe||n[77]!==Ve?(Ke=o.jsx(Cn,{checked:Fe,onSelect:qe,children:Ve}),n[75]=Fe,n[76]=qe,n[77]=Ve,n[78]=Ke):Ke=n[78];const lt=C===3;let De;n[79]!==g?(De=Mn=>{Mn.preventDefault(),g(3)},n[79]=g,n[80]=De):De=n[80];let Ye;n[81]!==u?(Ye=u("seconds",{ns:"common"}),n[81]=u,n[82]=Ye):Ye=n[82];let dt;n[83]!==Ye?(dt=o.jsxs(re,{children:["3 ",Ye]}),n[83]=Ye,n[84]=dt):dt=n[84];let He;n[85]!==lt||n[86]!==De||n[87]!==dt?(He=o.jsx(Cn,{checked:lt,onSelect:De,children:dt}),n[85]=lt,n[86]=De,n[87]=dt,n[88]=He):He=n[88];const mt=C===4;let Ue;n[89]!==g?(Ue=Mn=>{Mn.preventDefault(),g(4)},n[89]=g,n[90]=Ue):Ue=n[90];let ht;n[91]!==u?(ht=u("seconds",{ns:"common"}),n[91]=u,n[92]=ht):ht=n[92];let Qe;n[93]!==ht?(Qe=o.jsxs(re,{children:["4 ",ht]}),n[93]=ht,n[94]=Qe):Qe=n[94];let Rt;n[95]!==mt||n[96]!==Ue||n[97]!==Qe?(Rt=o.jsx(Cn,{checked:mt,onSelect:Ue,children:Qe}),n[95]=mt,n[96]=Ue,n[97]=Qe,n[98]=Rt):Rt=n[98];const Ut=C===5;let wt;n[99]!==g?(wt=Mn=>{Mn.preventDefault(),g(5)},n[99]=g,n[100]=wt):wt=n[100];let Xt;n[101]!==u?(Xt=u("seconds",{ns:"common"}),n[101]=u,n[102]=Xt):Xt=n[102];let $t;n[103]!==Xt?($t=o.jsxs(re,{children:["5 ",Xt]}),n[103]=Xt,n[104]=$t):$t=n[104];let tn;n[105]!==Ut||n[106]!==wt||n[107]!==$t?(tn=o.jsx(Cn,{checked:Ut,onSelect:wt,children:$t}),n[105]=Ut,n[106]=wt,n[107]=$t,n[108]=tn):tn=n[108];const Pt=C===10;let We;n[109]!==g?(We=Mn=>{Mn.preventDefault(),g(10)},n[109]=g,n[110]=We):We=n[110];let Je;n[111]!==u?(Je=u("seconds",{ns:"common"}),n[111]=u,n[112]=Je):Je=n[112];let jt;n[113]!==Je?(jt=o.jsxs(re,{children:["10 ",Je]}),n[113]=Je,n[114]=jt):jt=n[114];let we;n[115]!==Pt||n[116]!==We||n[117]!==jt?(we=o.jsx(Cn,{checked:Pt,onSelect:We,children:jt}),n[115]=Pt,n[116]=We,n[117]=jt,n[118]=we):we=n[118];let je;n[119]!==ce||n[120]!==Ee||n[121]!==Ke||n[122]!==He||n[123]!==Rt||n[124]!==tn||n[125]!==we?(je=o.jsxs(Vs,{className:"w-48",children:[ce,Ee,Ke,He,Rt,tn,we]}),n[119]=ce,n[120]=Ee,n[121]=Ke,n[122]=He,n[123]=Rt,n[124]=tn,n[125]=we,n[126]=je):je=n[126];let Ie;n[127]!==se||n[128]!==je?(Ie=o.jsxs(na,{children:[se,je]}),n[127]=se,n[128]=je,n[129]=Ie):Ie=n[129];let nt;n[130]===Symbol.for("react.memo_cache_sentinel")?(nt=o.jsx(fce,{className:"mr-2 h-4 w-4"}),n[130]=nt):nt=n[130];let Pe;n[131]!==u?(Pe=u("Reverse Order",{ns:"common"}),n[131]=u,n[132]=Pe):Pe=n[132];let gt;n[133]!==Pe?(gt=o.jsxs(re,{children:[Pe,"..."]}),n[133]=Pe,n[134]=gt):gt=n[134];const Ze=w?"Yes":"No";let Re;n[135]!==Ze?(Re=o.jsx(St,{className:"ml-auto py-0 bg-slate-200 text-slate-500",variant:"slate",children:Ze}),n[135]=Ze,n[136]=Re):Re=n[136];let Oe;n[137]!==gt||n[138]!==Re?(Oe=o.jsx(Ws,{children:o.jsxs(me,{className:"flex w-full",children:[nt,gt,Re]})}),n[137]=gt,n[138]=Re,n[139]=Oe):Oe=n[139];let et;n[140]!==u?(et=u("Sequence Reverse Order",{ns:"common"}),n[140]=u,n[141]=et):et=n[141];let Et;n[142]!==et?(Et=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{children:et})}),n[142]=et,n[143]=Et):Et=n[143];const bt=!w;let _t;n[144]!==x?(_t=Mn=>{Mn.preventDefault(),x(!1)},n[144]=x,n[145]=_t):_t=n[145];let Mt;n[146]!==u?(Mt=u("No",{ns:"common"}),n[146]=u,n[147]=Mt):Mt=n[147];let an;n[148]!==Mt?(an=o.jsx(re,{children:Mt}),n[148]=Mt,n[149]=an):an=n[149];let dn;n[150]!==bt||n[151]!==_t||n[152]!==an?(dn=o.jsx(Cn,{checked:bt,onSelect:_t,children:an}),n[150]=bt,n[151]=_t,n[152]=an,n[153]=dn):dn=n[153];let fn;n[154]!==x?(fn=Mn=>{Mn.preventDefault(),x(!0)},n[154]=x,n[155]=fn):fn=n[155];let mn;n[156]!==u?(mn=u("Yes",{ns:"common"}),n[156]=u,n[157]=mn):mn=n[157];let hn;n[158]!==mn?(hn=o.jsx(re,{children:mn}),n[158]=mn,n[159]=hn):hn=n[159];let nn;n[160]!==w||n[161]!==fn||n[162]!==hn?(nn=o.jsx(Cn,{checked:w,onSelect:fn,children:hn}),n[160]=w,n[161]=fn,n[162]=hn,n[163]=nn):nn=n[163];let on;n[164]!==Et||n[165]!==dn||n[166]!==nn?(on=o.jsxs(Vs,{className:"w-48",children:[Et,dn,nn]}),n[164]=Et,n[165]=dn,n[166]=nn,n[167]=on):on=n[167];let Sn;n[168]!==Oe||n[169]!==on?(Sn=o.jsxs(na,{children:[Oe,on]}),n[168]=Oe,n[169]=on,n[170]=Sn):Sn=n[170];let pn;n[171]===Symbol.for("react.memo_cache_sentinel")?(pn=o.jsx(kn,{}),n[171]=pn):pn=n[171];let rn;n[172]!==b||n[173]!==r||n[174]!==i?(rn=()=>{b({updatedData:{isPinned:!0},itemIds:r}),i([])},n[172]=b,n[173]=r,n[174]=i,n[175]=rn):rn=n[175];let ut;n[176]===Symbol.for("react.memo_cache_sentinel")?(ut=o.jsx(Qc,{className:"mr-2 h-4 w-4"}),n[176]=ut):ut=n[176];let xe;n[177]!==u?(xe=u("Pin Selected",{ns:"common"}),n[177]=u,n[178]=xe):xe=n[178];let Ge;n[179]!==xe?(Ge=o.jsx(re,{children:xe}),n[179]=xe,n[180]=Ge):Ge=n[180];let ft;n[181]!==rn||n[182]!==Ge?(ft=o.jsxs(rt,{onClick:rn,children:[ut,Ge]}),n[181]=rn,n[182]=Ge,n[183]=ft):ft=n[183];let pt;n[184]!==s||n[185]!==b||n[186]!==r||n[187]!==i||n[188]!==u?(pt=s&&o.jsxs(rt,{onClick:()=>{b({updatedData:{isPinned:!1},itemIds:r}),i([])},children:[o.jsx(Id,{className:"mr-2 h-4 w-4"}),o.jsx(re,{children:u("UnPin Selected",{ns:"common"})})]}),n[184]=s,n[185]=b,n[186]=r,n[187]=i,n[188]=u,n[189]=pt):pt=n[189];let xt;n[190]===Symbol.for("react.memo_cache_sentinel")?(xt=o.jsx(kn,{}),n[190]=xt):xt=n[190];let At;n[191]!==b||n[192]!==r||n[193]!==i?(At=()=>{b({updatedData:{isFavorite:!0},itemIds:r}),i([])},n[191]=b,n[192]=r,n[193]=i,n[194]=At):At=n[194];let Lt;n[195]===Symbol.for("react.memo_cache_sentinel")?(Lt=o.jsx(Lh,{className:"mr-2 h-4 w-4"}),n[195]=Lt):Lt=n[195];let Ht;n[196]!==u?(Ht=u("Star Selected",{ns:"common"}),n[196]=u,n[197]=Ht):Ht=n[197];let Bt;n[198]!==Ht?(Bt=o.jsx(re,{children:Ht}),n[198]=Ht,n[199]=Bt):Bt=n[199];let tt;n[200]!==At||n[201]!==Bt?(tt=o.jsxs(rt,{onClick:At,children:[Lt,Bt]}),n[200]=At,n[201]=Bt,n[202]=tt):tt=n[202];let Kt;n[203]!==a||n[204]!==b||n[205]!==r||n[206]!==i||n[207]!==u?(Kt=a&&o.jsxs(rt,{onClick:()=>{b({updatedData:{isFavorite:!1},itemIds:r}),i([])},children:[o.jsx(m5,{className:"mr-2 h-4 w-4"}),o.jsx(re,{children:u("Remove Selected Star",{ns:"common"})})]}),n[203]=a,n[204]=b,n[205]=r,n[206]=i,n[207]=u,n[208]=Kt):Kt=n[208];let Zt;n[209]===Symbol.for("react.memo_cache_sentinel")?(Zt=o.jsx(kn,{}),n[209]=Zt):Zt=n[209];const vn=r.length===0;let oe;n[210]!==l||n[211]!==r||n[212]!==S||n[213]!==i?(oe=Mn=>ge(void 0,null,function*(){Ec.value?(yield l({itemIds:r,collectionId:S}),setTimeout(()=>{i([]),Ec.value=!1},400)):(Mn.preventDefault(),Ec.value=!0,setTimeout(()=>{Ec.value=!1},3e3))}),n[210]=l,n[211]=r,n[212]=S,n[213]=i,n[214]=oe):oe=n[214];let fe;n[215]===Symbol.for("react.memo_cache_sentinel")?(fe=o.jsx(kr,{className:"mr-2 h-4 w-4 ".concat(Ec.value?"text-red-500":"")}),n[215]=fe):fe=n[215];let Xe;n[216]!==u?(Xe=Ec.value?u("Click to Confirm",{ns:"common"}):u("Delete",{ns:"common"}),n[216]=u,n[217]=Xe):Xe=n[217];let Me;n[218]!==Xe?(Me=o.jsx(re,{className:"mr-1 ".concat(Ec.value?"!text-red-500":""),children:Xe}),n[218]=Xe,n[219]=Me):Me=n[219];let _e;n[220]!==r.length?(_e=r.length>0&&o.jsx(o.Fragment,{children:Ec.value?o.jsx(St,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:r.length}):o.jsx(St,{variant:"secondary",className:"bg-slate-200 text-slate-500 ml-1 py-0 font-semibold",children:r.length})}),n[220]=r.length,n[221]=_e):_e=n[221];let ze;n[222]!==Me||n[223]!==_e?(ze=o.jsxs(me,{className:"text-red-400",children:[Me,_e]}),n[222]=Me,n[223]=_e,n[224]=ze):ze=n[224];let Ct;n[225]!==vn||n[226]!==oe||n[227]!==ze?(Ct=o.jsxs(rt,{disabled:vn,onClick:oe,children:[fe,ze]}),n[225]=vn,n[226]=oe,n[227]=ze,n[228]=Ct):Ct=n[228];let cn;n[229]!==z||n[230]!==U||n[231]!==ne||n[232]!==Ie||n[233]!==Sn||n[234]!==ft||n[235]!==pt||n[236]!==tt||n[237]!==Kt||n[238]!==Ct?(cn=o.jsxs(Wn,{className:"w-52",sideOffset:10,align:"center",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:[z,Y,U,ne,Ie,Sn,pn,ft,pt,xt,tt,Kt,Zt,Ct]}),n[229]=z,n[230]=U,n[231]=ne,n[232]=Ie,n[233]=Sn,n[234]=ft,n[235]=pt,n[236]=tt,n[237]=Kt,n[238]=Ct,n[239]=cn):cn=n[239];let zn;return n[240]!==_||n[241]!==cn?(zn=o.jsxs(Kn,{children:[_,cn]}),n[240]=_,n[241]=cn,n[242]=zn):zn=n[242],zn}finally{e.f()}};function l5e(t){const e=Te(16),{tabId:n}=t,{t:r}=Gt();if(n==null)return null;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{il.value=!0},e[0]=s):s=e[0];let a;e[1]!==r?(a=r("Organize Layout",{ns:"contextMenus"}),e[1]=r,e[2]=a):a=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(Dle,{size:15})}),e[3]=i):i=e[3];let l;e[4]!==a?(l=o.jsxs(Wt,{onClick:s,children:[a,i]}),e[4]=a,e[5]=l):l=e[5];let u;e[6]===Symbol.for("react.memo_cache_sentinel")?(u=o.jsx(Qn,{}),e[6]=u):u=e[6];let d;e[7]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{em.value=!0},e[7]=d):d=e[7];let p;e[8]!==r?(p=r("Edit Tabs",{ns:"contextMenus"}),e[8]=r,e[9]=p):p=e[9];let h;e[10]===Symbol.for("react.memo_cache_sentinel")?(h=o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(eie,{size:15})}),e[10]=h):h=e[10];let m;e[11]!==p?(m=o.jsxs(Wt,{onClick:d,children:[p,h]}),e[11]=p,e[12]=m):m=e[12];let b;return e[13]!==l||e[14]!==m?(b=o.jsx(yx,{children:o.jsxs(O0,{children:[l,u,m]})}),e[13]=l,e[14]=m,e[15]=b):b=e[15],b}const{CLIP:c5e,TAB:wI,BOARD:u5e}=tl;function kI(t){const e=Te(27),{totalTabs:n,onCreateNewItemType:r,isFirstTab:s}=t,{t:a}=Gt(),i=Hh();let l;e[0]!==s||e[1]!==a?(l=o.jsx(Gn,{className:"mr-1.5 rounded-sm flex",asChild:!0,children:s?o.jsx(te,{id:"dashboard-tabs-create-button_tour",className:"flex w-20 group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-800/50 text-slate-500 dark:border-slate-500 dark:text-slate-300 border-slate-300",children:o.jsx(Wr,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})}):o.jsx(Se,{variant:"ghost",id:"dashboard-tabs-create-button_tour",size:"mini",className:"ml-1.5 mr-1 px-1 py-1 w-[30px] bg-slate-100 hover:bg-opacity-100 bg-opacity-80 dark:bg-gray-500/70 dark:hover:bg-slate-500 text-secondary-foreground/50 cursor-pointer !mt-0 flex",children:o.jsx(st,{text:"".concat(a("Add New",{ns:"contextMenus"})," ..."),isDisabled:s,delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(Wr,{size:20})})})}),e[0]=s,e[1]=a,e[2]=l):l=e[2];const u=s?"center":"end",d=s?12:8;let p;e[3]!==s||e[4]!==i||e[5]!==n||e[6]!==r||e[7]!==a?(p=!s&&o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{!i&&n&&n>=2?Ga.value=!0:r(wI)},children:[o.jsx(e0,{size:16,className:"mr-2"}),o.jsx("span",{children:a("Add Tab",{ns:"contextMenus"})}),n&&n>=2&&o.jsx(Ql,{})]}),e[3]=s,e[4]=i,e[5]=n,e[6]=r,e[7]=a,e[8]=p):p=e[8];let h;e[9]!==s||e[10]!==r||e[11]!==a?(h=!s&&o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{r(u5e)},children:[o.jsx(xv,{size:16,className:"mr-2"}),o.jsx("span",{children:a("Add Board",{ns:"contextMenus"})})]}),e[9]=s,e[10]=r,e[11]=a,e[12]=h):h=e[12];let m;e[13]!==s||e[14]!==r||e[15]!==a?(m=s?o.jsxs(o.Fragment,{children:[o.jsx(rt,{disabled:!0,className:"flex justify-center py-0.5 dark:text-gray-400 text-gray-500",children:a("Dashboard",{ns:"contextMenus"})}),o.jsx(kn,{}),o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{r(wI)},children:[o.jsx(e0,{size:16,className:"mr-2"}),o.jsx("span",{children:a("Add First Tab",{ns:"contextMenus"})})]})]}):o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{r(c5e)},children:[o.jsx(eE,{size:16,className:"mr-2"}),o.jsx("span",{children:a("Add Clip",{ns:"contextMenus"})})]}),e[13]=s,e[14]=r,e[15]=a,e[16]=m):m=e[16];let b;e[17]!==u||e[18]!==d||e[19]!==p||e[20]!==h||e[21]!==m?(b=o.jsxs(Wn,{align:u,alignOffset:-28,sideOffset:d,children:[p,h,m]}),e[17]=u,e[18]=d,e[19]=p,e[20]=h,e[21]=m,e[22]=b):b=e[22];let C;return e[23]!==s||e[24]!==l||e[25]!==b?(C=o.jsxs(Kn,{defaultOpen:s,modal:!1,children:[l,b]}),e[23]=s,e[24]=l,e[25]=b,e[26]=C):C=e[26],C}const Hf=1,z1=50;function d5e({tabs:t,selectedItemIds:e,setSelectedItemIds:n,pinnedItemIds:r,currentTab:s,setCurrentTab:a}){var l,u;var i=sn(1);try{const{clipboardHistory:d}=Tt(_i),{t:p}=Gt(),{updateTabById:h}=MB(),m=v.useRef(null),b=v.useRef(null),C=it(!1),{updateMovedClips:g}=H5();v.useEffect(()=>{va.value&&(va.value=null)},[]);const{createNewItem:w}=B5(Hl.value===null),{currentCollectionId:x,clipItems:S}=Tt(Ir),E=(l=t.find(A=>A.tabId===s))==null?void 0:l.tabColor;function N(A,L=null){return ge(this,null,function*(){if(va.value=A,A===tl.BOARD){const z=us(S,s,L?L==null?void 0:L.toString():null),Y={name:p("New Board",{ns:"dashboard"}),isBoard:!0,tabId:s,showDescription:!0,color:E,borderWidth:0,parentId:L,collectionId:x,orderNumber:0},O=yield w({item:Y});z.sort((M,W)=>M.orderNumber-W.orderNumber).unshift(ae(R({},Y),{id:O,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1,description:""}));const $=z.map((M,W)=>({itemId:M.id,parentId:L,tabId:M.tabId,collectionId:x,orderNumber:W}));g({updatedMoveClips:$}),vh.value=O}else A===tl.CLIP&&(va.value=A)})}function _(A,L=null){return ge(this,null,function*(){return new Promise((z,Y)=>ge(this,null,function*(){var H,F,q,X,ne,ee,G,Z,le,se,de,ce,pe,ve,ye,be,Ee,Fe;L||Y("No board id");const O=A?d.find(qe=>qe.historyId===A):null,$=O==null?void 0:O.isImage,M=(H=S.find(qe=>qe.itemId===L))==null?void 0:H.color,W={historyId:A,name:O!=null&&O.value?O.value.substring(0,50).replace(/\n\t/g,"").replace(/\s+/g," ").trim():$?"".concat(p("Image size",{ns:"common"})," (").concat(O==null?void 0:O.imageWidth,"x").concat(O==null?void 0:O.imageHeight,")"):p("New Clip",{ns:"dashboard"}),isClip:!0,value:(F=Sf.value)!=null?F:"",description:null,detectedLanguage:(q=O==null?void 0:O.detectedLanguage)!=null?q:null,isImage:(X=O==null?void 0:O.isImage)!=null?X:!1,imageDataUrl:(ne=O==null?void 0:O.imageDataUrl)!=null?ne:null,imagePathFullRes:(ee=O==null?void 0:O.imagePathFullRes)!=null?ee:null,imageHeight:(G=O==null?void 0:O.imageHeight)!=null?G:null,imageWidth:(Z=O==null?void 0:O.imageWidth)!=null?Z:null,imagePreviewHeight:(le=O==null?void 0:O.imagePreviewHeight)!=null?le:null,isLink:(se=O==null?void 0:O.isLink)!=null?se:!1,links:(de=O==null?void 0:O.links)!=null?de:null,isImageData:(ce=O==null?void 0:O.isImageData)!=null?ce:!1,isMasked:(pe=O==null?void 0:O.isMasked)!=null?pe:!1,isVideo:(ve=O==null?void 0:O.isVideo)!=null?ve:!1,isCode:(ye=O==null?void 0:O.isCode)!=null?ye:!1,isText:(be=O==null?void 0:O.isText)!=null?be:!1,hasEmoji:(Ee=O==null?void 0:O.hasEmoji)!=null?Ee:!1,hasMaskedWords:(Fe=O==null?void 0:O.hasMaskedWords)!=null?Fe:!1,hasMultiLineCopy:!1,tabId:s,showDescription:!1,color:M,borderWidth:2,parentId:L,collectionId:x,createdAt:0,orderNumber:0},V=yield w({item:W});Sf.value&&(Sf.value=null),Dd.value=L;const U=us(S,s,L==null?void 0:L.toString());U.sort((qe,ot)=>qe.orderNumber-ot.orderNumber).unshift(ae(R({},W),{id:V,type:"clip"}));const J=U.map((qe,ot)=>({itemId:qe.id,parentId:qe.parentId,tabId:qe.tabId,collectionId:x,orderNumber:ot}));setTimeout(()=>ge(this,null,function*(){yield g({updatedMoveClips:J}),z(V)}),600)}))})}v.useEffect(()=>{function A(){return ge(this,null,function*(){var z;let L=null;if(Hl.value&&!Dd.value){for(const Y of(z=Qm.value)!=null?z:[null])L=yield _(Y,Hl.value);setTimeout(()=>{Dd.value=null,Hl.value=null,Qm.value=null,Sf.value=null,Ua.value=L},300)}})}A()},[Hl.value]),v.useEffect(()=>{function A(){return ge(this,null,function*(){yield N(tl.BOARD,o1.value),Ab.value=!1,o1.value=null})}(o1.value||Ab.value)&&A()},[o1.value,Ab.value]);const{tabLayoutSplit:P,tabLayout:I}=(u=t.find(A=>A.tabId===s))!=null?u:{},T=t.length===0&&!va.value&&!em.value;return o.jsxs(o.Fragment,{children:[o.jsxs(hl,{className:"flex ".concat(Ji(E)," rounded-lg py-0 mx-1.5 ").concat(T?"flex-col items-center justify-center pb-2 mb-1":"mb-3 mr-3"),onValueChange:A=>{a(A)},value:s,children:[o.jsxs(L0,{onOpenChange:A=>{C.value=A},children:[o.jsxs(R0,{ref:b,className:"flex w-full",disabled:T,children:[!T&&o.jsx(me,{className:"justify-start dashboard-tabs w-full",id:"dashboard-tabs_tour",children:o.jsx(or,{style:{width:"97%"},children:em.value?o.jsxs(Yo,{className:"bg-transparent pr-0.5",children:[t.map(({tabId:A,tabName:L,tabIsHidden:z,tabColor:Y,tabOrderNumber:O})=>A&&!z&&o.jsx(f5e,{tabColor:Y,tabId:A,tabName:L||"".concat(p("Tab",{ns:"dashboard"})," ").concat(O+1),currentTab:s},A)),va.value===tl.TAB?o.jsx(CI,{newTabOrderNumber:t.length+1}):o.jsx(Se,{variant:"outline",size:"mini",title:p("Add a Tab",{ns:"dashboard"}),className:"px-1.5 ml-1 h-8 border-0 opacity-80 hover:opacity-100 hover:text-gray-500 dark:text-gray-200 bg-gray-100 dark:bg-gray-600",onClick:()=>{N(tl.TAB)},children:o.jsx(Wr,{size:18})})]}):o.jsxs(Yo,{className:"bg-transparent pr-0.5",children:[t.map(({tabId:A,tabName:L,tabIsHidden:z,tabOrderNumber:Y})=>A&&!z&&o.jsx(h5e,{tabId:A,currentTabColor:E!=null?E:"slate",tabOrderNumber:Y,tabName:L||"".concat(p("Tab",{ns:"dashboard"})," ").concat(Y+1),currentTab:s},A)),va.value===tl.TAB&&o.jsx(CI,{newTabOrderNumber:t.length+1})]})})}),o.jsx(te,{className:"flex flex-row p-1 !mt-0 mr-0.5",children:il.value?o.jsxs(o.Fragment,{children:[P&&o.jsxs(me,{className:"mr-2",children:[P>1&&o.jsx(St,{onClick:()=>{h({updatedTab:{tabLayoutSplit:P>3?1:P+1,tabId:s}})},variant:"outline",className:"bg-white border border-white dark:bg-slate-500 dark:border-slate-500 cursor-pointer px-1.5 mr-1",children:o.jsx(re,{className:"font-mono text-slate-400 font-semibold",children:P})}),o.jsxs(Se,{variant:"light",title:p("Board Layout Split",{ns:"dashboard"}),onClick:()=>{h({updatedTab:{tabLayoutSplit:P>3?1:P+1,tabId:s}})},className:"px-1 py-2 bg-gray-50 dark:bg-slate-600/90 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 ".concat(P===4?"w-12":"w-8"," h-8"),children:[P===1&&o.jsx(Jle,{size:18,className:"opacity-70"}),P===2&&o.jsx(hie,{size:18,className:"opacity-70"}),P===3&&o.jsx(pie,{size:18,className:"opacity-70"}),P===4&&o.jsxs(o.Fragment,{children:[o.jsx(f6,{size:18,className:"opacity-70"}),o.jsx(f6,{size:18,className:"opacity-70 ml-[-2px]"})]})]})]}),o.jsxs(me,{className:"mr-2",children:[o.jsx(St,{onClick:()=>{h({updatedTab:{tabLayoutSplit:P,tabLayout:I==="full"?"auto":I==="auto"||!I?"full":"auto",tabId:s}})},variant:"outline",className:"bg-white border border-white dark:bg-slate-500 dark:border-slate-500 cursor-pointer px-1.5 mr-1",children:o.jsx(re,{className:"font-mono text-slate-400 font-semibold",children:I||"auto"})}),o.jsxs(Se,{variant:"light",title:p("Board Layout Height",{ns:"dashboard"}),onClick:()=>{h({updatedTab:{tabLayoutSplit:P,tabLayout:I==="full"||!I?"auto":I==="auto"?"full":"auto",tabId:s}})},className:"px-1 py-2 bg-gray-50 dark:bg-slate-600/90 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 w-8 h-8",children:[(I==="auto"||!I)&&o.jsx(Iz,{size:18,className:"opacity-70"}),I==="full"&&o.jsx(ba,{size:18,className:"opacity-70"})]})]}),o.jsxs(Se,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{il.value=!1,ll.value=null},children:[o.jsx(re,{className:"whitespace-nowrap",children:p("Done Organize",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:15})})]})]}):em.value?o.jsxs(Se,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{em.value=!1,ll.value=null},children:[o.jsx(re,{className:"whitespace-nowrap",children:p("Done Edit Tabs",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:15})})]}):va.value===Wo?o.jsxs(Se,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{va.value=null,Sf.value=null},children:[o.jsx(re,{className:"whitespace-nowrap",children:p("Done Create Clip",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:15})})]}):uv.value!=null||Ts.value!=null?o.jsxs(Se,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{uv.value=null,Ts.value=null},children:[o.jsx(re,{className:"whitespace-nowrap",children:p("Done Edit",{ns:"dashboard"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:15})})]}):o.jsxs(o.Fragment,{children:[e.length>0&&o.jsx(te,{className:"animate-in fade-in duration-300",children:o.jsx(i5e,{selectedItemIds:e,hasPinnedItemsInSelected:e.some(A=>r.includes(A)),hasFavoriteItemsInSelected:e.some(A=>{var L;return(L=S.find(z=>z.itemId===A))==null?void 0:L.isFavorite}),setSelectedItemIds:n})}),t.length>0&&o.jsxs(o.Fragment,{children:[o.jsx(kI,{totalTabs:t.length,onCreateNewItemType:N,isFirstTab:!1}),o.jsx(Se,{variant:"ghost",size:"mini",id:"dashboard-tabs-context-menu_tour",className:"px-1 py-1 text-secondary-foreground/50 cursor-pointer !mt-0 flex w-[30px]",onClick:()=>{var z,Y,O;const A=(z=m==null?void 0:m.current)==null?void 0:z.getBoundingClientRect().x,L=(Y=m==null?void 0:m.current)==null?void 0:Y.getBoundingClientRect().y;(O=b==null?void 0:b.current)==null||O.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:A&&A+20,clientY:L&&L+20}))},ref:m,children:o.jsx(st,{text:p("Tabs Menu",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(xl,{size:20})})})]})]})})]}),o.jsx(l5e,{tabId:s})]}),T&&o.jsx(kI,{onCreateNewItemType:N,isFirstTab:!0})]}),T&&o.jsx(re,{className:"text-sm mt-2 !text-slate-500 items-center justify-center mx-1.5 mr-3",children:p("Create Tab",{ns:"dashboard"})})]})}finally{i.f()}}function CI({newTabOrderNumber:t}){var e=sn(1);try{const{t:n}=Gt(),{createNewTab:r}=Age(),{currentCollectionId:s}=Tt(Ir),a=it(!1),i=it(""),l=it(null);return o.jsxs(me,{className:"ml-1.5",children:[o.jsx(te,{className:"w-[22px] mr-1",children:o.jsx(nk,{color:l.value,type:Ul,itemId:null,onColorChange:u=>{l.value=u}})}),o.jsx(st,{open:a.value,text:i.value.length<=Hf?n("Too short",{ns:"dashboard"}):n("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:o.jsx(wn,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[140px]",placeholder:n("Enter tab name",{ns:"dashboard"}),onKeyDown:u=>ge(this,null,function*(){u.stopPropagation(),u.key==="Enter"&&(i.value.length<=Hf||i.value.length>z1)?a.value=!0:u.key==="Enter"&&(yield r({tab:{tabName:i.value,tabColor:l.value,collectionId:s,tabOrderNumber:t}}))}),value:i.value,onChange:u=>{(a.value&&u.target.value.length>Hf&&u.target.value.length<=z1||a.value&&u.target.value.length===0)&&(a.value=!1),i.value=u.target.value}})}),o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:text-blue-300 border-0",onClick:()=>ge(this,null,function*(){a.value||(yield r({tab:{tabName:i.value,tabColor:l.value,collectionId:s,tabOrderNumber:t}}))}),children:o.jsx(st,{text:n("Create tab",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(en,{size:18})})}),o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{va.value=null},children:o.jsx(st,{text:n("Cancel",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(In,{size:18})})})]})}finally{e.f()}}function f5e({tabId:t,tabName:e,tabColor:n,currentTab:r}){var s=sn(1);try{const{t:a}=Gt(),i=it(!1),l=it(""),u=it(!1);if(!e)return null;v.useEffect(()=>{u.value&&(u.value=!1)},[r]);const d=it(!1),p=it(!1),{tabHasBoards:h,setCurrentTab:m}=Tt(Ir),{deleteItemById:b}=Lge(),{updateTabById:C}=MB();return o.jsx(me,{className:"inline-flex items-center whitespace-nowrap rounded-sm px-1.5 pr-2 ".concat(u.value?"":"py-1.5"," ").concat(r===t&&!u.value?"bg-white dark:bg-gray-900/60":""," ").concat(p.value?"bg-red-100/80 dark:bg-red-900/70":""," ").concat(d.value?"bg-yellow-100/80 dark:bg-yellow-900/70":""," text-sm font-medium ring-offset-background transition-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset disabled:pointer-events-none disabled:opacity-50 justify-start max-w-[260px]"),children:u.value?o.jsxs(o.Fragment,{children:[o.jsx(st,{open:i.value,asChild:!0,text:l.value.length<=Hf?a("Too short",{ns:"dashboard"}):a("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:o.jsx(wn,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[120px]",placeholder:a("Enter tab name",{ns:"dashboard"}),onKeyDown:g=>ge(this,null,function*(){g.stopPropagation(),g.key==="Escape"?u.value=!1:g.key==="Enter"&&(l.value.length<=Hf||l.value.length>z1)?i.value=!0:g.key==="Enter"&&(yield C({updatedTab:{tabName:l.value,tabId:t}}),setTimeout(()=>{u.value=!1},200))}),defaultValue:e,onChange:g=>{i.value&&g.target.value.length>Hf&&g.target.value.length<=z1||i.value&&g.target.value.length===0?i.value=!1:(g.target.value.length<=Hf||g.target.value.length>z1)&&(i.value=!0),l.value=g.target.value}})}),o.jsx(st,{text:a("Rename",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:text-blue-300 border-0",onClick:()=>ge(this,null,function*(){i.value||(yield C({updatedTab:{tabName:l.value,tabId:t}}),setTimeout(()=>{u.value=!1},200))}),children:o.jsx(en,{size:18})})})}),o.jsx(st,{text:a("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{u.value=!1},children:o.jsx(In,{size:18})})})})]}):o.jsxs(o.Fragment,{children:[o.jsx(nk,{color:n,itemId:t,onOpen:()=>{m(t)},updateById:C,type:Ul}),o.jsx(te,{className:"text-ellipsis overflow-hidden first-letter:uppercase border-dashed border-b border-gray-400",onClick:g=>{g.preventDefault(),g.stopPropagation,u.value=!0},title:e,children:e}),o.jsx(te,{onClick:()=>{u.value=!0},title:a("Edit tab name",{ns:"dashboard"}),className:"ml-0.5 pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-pointer relative opacity-80 hover:opacity-100",children:o.jsx(Fd,{size:14})}),o.jsxs(Ca,{defaultOpen:!1,open:p.value||d.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(te,{className:"ml-0.5 pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-pointer opacity-70 hover:opacity-100 hover:text-red-500",title:a("Delete tab",{ns:"dashboard"}),onClick:()=>{h(t)?d.value=!0:p.value=!0},children:o.jsx(kr,{size:14})})}),o.jsx(aa,{sideOffset:16,align:"center",className:"p-3 ".concat(d.value?"bg-amber-100 border-amber-200 dark:bg-yellow-800 dark:border-gray-900":"bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950"," w-64"),onEscapeKeyDown:()=>{p.value=!1,d.value=!1},onPointerDownOutside:()=>{p.value=!1,d.value=!1},children:d.value?o.jsxs(me,{className:"flex-col",children:[o.jsx(re,{justify:"left",size:"md",weight:"bold",color:"waning",children:a("Tab is Not Empty",{ns:"dashboard"})}),o.jsx(Rn,{h:1}),o.jsx(re,{color:"black",size:"sm",children:a("You'll need to clear this tab of all boards before it can be deleted.",{ns:"dashboard"})}),o.jsx(Rn,{h:3}),o.jsx(Se,{variant:"secondary",size:"mini",className:"py-1 px-4 bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-700/80",onClick:()=>{d.value=!1},children:a("Got it",{ns:"common"})})]}):p.value&&o.jsxs(me,{className:"flex-col",children:[o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center",children:o.jsx(ls,{i18nKey:"Are you sure you want to delete {{tabName}} tab?",values:{tabName:e},ns:"dashboard"})}),o.jsx(Rn,{h:3}),o.jsxs(me,{children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{p.value=!1},children:o.jsx("div",{children:a("Cancel",{ns:"common"})})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200 whitespace-nowrap",onClick:()=>ge(this,null,function*(){yield b({tabId:t}),em.value=!1,ll.value=null}),children:a("Delete Tab",{ns:"dashboard"})})]})]})})]})]})},t)}finally{s.f()}}function h5e({tabId:t,tabName:e,currentTabColor:n}){var r=sn(1);try{const{setNodeRef:s,listeners:a,transform:i,transition:l,isDragging:u}=l5({id:t,animateLayoutChanges:()=>!1,data:{type:Ul,tabId:t}}),d={transition:l,transform:Ko.Translate.toString(i)},p=n!=="slate"?"dark:data-[state=active]:bg-".concat(n,"-700"):"dark:data-[state=active]:bg-slate-600";return o.jsx(jr,ae(R({value:t,style:d,asChild:u},il.value?{}:a),{ref:s,className:"".concat(p," data-[state=active]:bg-").concat(n,"-50 ").concat(u||Nc.value===t?"border-2 border-dashed border-blue-400 py-1":"transition-none"),children:o.jsxs(me,{className:"justify-start max-w-[260px]",children:[o.jsx(te,{className:"text-ellipsis overflow-hidden first-letter:uppercase",title:e,children:e}),(il.value||u)&&o.jsx(te,ae(R({},a),{className:"pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-grab relative",children:u?o.jsx(pz,{size:14}):o.jsx(cx,{size:14})}))]})}),t)}finally{r.f()}}const Ks="board",Wo="clip",Ul="tab";function p5e({historyDragActive:t,isDark:e,dragOverBoardId:n}){var s,a,i;var r=sn(1);try{let l=function(Re){if(!sb(Re.active))return;Nc.value&&(Nc.value=null);const Oe=Re.active.data.current;(Oe==null?void 0:Oe.type)===Ks?mt(Oe.board):(Oe==null?void 0:Oe.type)===Wo&&ht(Oe.clip)},u=function(Re){var Ge,ft;const{active:Oe,over:et}=Re;if(!et)return;const Et=(et==null?void 0:et.id)==="clips::pinnedzone";if(Oe!=null&&Oe.id&&Et?g(Oe.id):Et||g(null),((Ge=et.data.current)==null?void 0:Ge.type)===Ul&&((ft=Oe==null?void 0:Oe.data.current)==null?void 0:ft.type)!==Ul){const pt=Z.find(({itemId:xt})=>xt===Oe.id);((pt==null?void 0:pt.tabId)!==et.id||ve!==et.id)&&(Nc.value=et.id.toString())}else Nc.value&&(Nc.value=null);if(Et)return;const bt=Oe.id,_t=et.id;if(bt===_t||!sb(Oe)||!sb(et))return;const Mt=Oe.data.current,an=et.data.current,dn=(Mt==null?void 0:Mt.type)===Wo,fn=(Mt==null?void 0:Mt.type)===Ks,mn=(an==null?void 0:an.type)===Wo,hn=(an==null?void 0:an.type)===Ks;if(!dn&&!fn||dn&&hn&&ll.value===_t)return;if(dn&&hn&&!X){const pt=Mt.clip.parentId,xt=Z.filter(({parentId:tt})=>pt==tt).sort((tt,Kt)=>tt.orderNumber-Kt.orderNumber),At=xt.findIndex(({itemId:tt})=>tt===bt),Lt=xt.findIndex(({itemId:tt})=>tt===_t),Ht=xt[At],Bt=xt[Lt];if(Ht&&Bt&&Ht.parentId===Bt.parentId){const tt=Ur(xt,At,Lt),Kt=new Map(tt.map((vn,oe)=>[vn.itemId,oe])),Zt=Z.map(vn=>{const oe=Kt.get(vn.itemId);return oe!==void 0&&(vn.orderNumber=oe),vn});ye(Zt);return}}else if(dn&&mn){const pt=Mt.clip.parentId,xt=Z.filter(({parentId:tt,isClip:Kt})=>pt==tt&&Kt).sort((tt,Kt)=>tt.orderNumber-Kt.orderNumber),At=xt.findIndex(({itemId:tt})=>tt===bt),Lt=xt.findIndex(({itemId:tt})=>tt===_t),Ht=xt[At],Bt=xt[Lt];if(Ht&&Bt&&Ht.parentId===Bt.parentId){const tt=Ur(xt,At,Lt),Kt=new Map(tt.map((vn,oe)=>[vn.itemId,oe])),Zt=Z.map(vn=>{const oe=Kt.get(vn.itemId);return oe!==void 0&&(vn.orderNumber=oe),vn});ye(Zt);return}}else if(fn&&mn){const pt=an.clip.parentId,xt=Z.filter(({parentId:tt})=>pt==tt).sort((tt,Kt)=>tt.orderNumber-Kt.orderNumber),At=xt.findIndex(({itemId:tt})=>tt===bt),Lt=xt.findIndex(({itemId:tt})=>tt===_t),Ht=xt[At],Bt=xt[Lt];if(Ht&&Bt&&Ht.parentId===Bt.parentId){const tt=Ur(xt,At,Lt),Kt=new Map(tt.map((vn,oe)=>[vn.itemId,oe])),Zt=Z.map(vn=>{const oe=Kt.get(vn.itemId);return oe!==void 0&&(vn.orderNumber=oe),vn});ye(Zt);return}}const nn=Z.find(({itemId:pt,isBoard:xt})=>pt===_t&&xt),on=Z.find(({itemId:pt,isClip:xt})=>pt===_t&&xt),Sn=nn==null?void 0:nn.itemId,pn=on==null?void 0:on.itemId,rn=Z.findIndex(({itemId:pt})=>pt===bt),ut=Z[rn],xe=fn?Z[rn]:null;if(Sn&&ut.parentId!==Sn&&!fn){const pt=Z.filter(({parentId:Lt})=>Sn==Lt).sort((Lt,Ht)=>Lt.orderNumber-Ht.orderNumber);ut.parentId=Sn,pt.unshift(ut);const xt=new Map(pt.map((Lt,Ht)=>[Lt.itemId,Ht])),At=Z.map(Lt=>{const Ht=xt.get(Lt.itemId);return Ht!==void 0?ae(R({},Lt),{orderNumber:Ht}):Lt});ye(At);return}if(pn&&(on!=null&&on.parentId)&&ut.parentId!==on.parentId&&!fn){ut.parentId=on.parentId,ut.orderNumber=on.orderNumber;const pt=Z.filter(({parentId:Ht})=>on.parentId==Ht).sort((Ht,Bt)=>Ht.orderNumber-Bt.orderNumber);pt.unshift(ut);const xt=Ur(pt,0,on.orderNumber),At=new Map(xt.map((Ht,Bt)=>[Ht.itemId,Bt])),Lt=Z.map(Ht=>{const Bt=At.get(Ht.itemId);return Bt!==void 0?ae(R({},Ht),{orderNumber:Bt}):Ht});ye(Lt);return}if(Sn&&fn&&xe&&(xe==null?void 0:xe.parentId)!==(nn==null?void 0:nn.parentId)&&Mt.isSubBoard){xe.parentId=Sn;const pt=Z.filter(({parentId:Lt})=>nn.parentId==Lt).sort((Lt,Ht)=>Lt.orderNumber-Ht.orderNumber);pt.unshift(xe);const xt=new Map(pt.map((Lt,Ht)=>[Lt.itemId,Ht])),At=Z.map(Lt=>{const Ht=xt.get(Lt.itemId);return Ht!==void 0?ae(R({},Lt),{orderNumber:Ht}):Lt});ye(At)}if(Sn&&fn&&(xe==null?void 0:xe.parentId)===(nn==null?void 0:nn.parentId)){const pt=Z.filter(({parentId:tt,isBoard:Kt,tabId:Zt})=>(nn==null?void 0:nn.parentId)==tt&&Kt&&Zt===ve).sort((tt,Kt)=>tt.orderNumber-Kt.orderNumber),xt=pt.findIndex(({itemId:tt})=>tt===(xe==null?void 0:xe.itemId)),At=pt.findIndex(({itemId:tt})=>tt===Sn),Lt=Ur(pt,xt,At),Ht=new Map(Lt.map((tt,Kt)=>[tt.itemId,Kt])),Bt=Z.map(tt=>{const Kt=Ht.get(tt.itemId);return Kt!==void 0?ae(R({},tt),{orderNumber:Kt}):tt});ye(Bt)}};JE();const{t:d}=Gt(),{isShowPinned:p,setIsShowPinned:h}=Tt(Is),[m,b]=v.useState(null),[C,g]=v.useState(null),[w,x]=v.useState(null),S=v.useRef(null),E=v.useRef(null),{updateTabs:N}=Ige(),{invalidateCollectionWithClips:_,isCollectionWithClipsLoadingFinished:P,isCollectionWithClipsLoading:I}=e7(),{updateMovedClips:T}=H5(),{movePinnedClipUpDown:A}=Dge(),[,,,L]=zh({}),[,,z]=$h({}),[Y,O]=v.useState([]),[$,M]=v.useState(!1),W=v.useRef(null),V=it(!1),U=it(!1),J=it(!1),H=it([]);v.useEffect(()=>{try{H.value=JSON.parse(localStorage.getItem("expandedPanels")||"[]")}catch(Re){console.error("Failed to load expanded panels",Re)}},[]),v.useEffect(()=>{try{localStorage.setItem("expandedPanels",JSON.stringify(H.value))}catch(Re){console.error("Failed to save expanded panels",Re)}},[H.value.length]);const F=v.useRef({}),q=v.useMemo(()=>{var Re;return E!=null&&E.current&&((Re=E==null?void 0:E.current)==null?void 0:Re.getSize())===0?!1:U.value||V.value},[V.value,U.value,E==null?void 0:E.current]),X=v.useMemo(()=>Tn.value,[Tn.value]),{createNewItem:ne}=B5(),{unPinAllClips:ee}=Mge(),{updatePinnedClipsByIds:G}=PB(),{clipItems:Z,pinnedClips:le,tabs:se,tabsLoaded:de,setCurrentTab:ce,setTabsByOrder:pe,currentTab:ve,setClipItemsDebounced:ye,setClipItems:be,currentCollectionId:Ee}=Tt(Ir),{copyPasteSequencePinnedDelay:Fe,setCopyPasteSequencePinnedDelay:qe,copyPasteSequenceIsReversOrder:ot,setCopyPasteSequenceIsReversOrder:Ve,isClipNotesHoverCardsEnabled:Ke,clipNotesHoverCardsDelayMS:lt,clipNotesMaxHeight:De,clipNotesMaxWidth:Ye}=Tt(Cr),dt=v.useMemo(()=>Z.filter(({parentId:Re,isBoard:Oe,tabId:et})=>Re===null&&Oe&&et===ve).map(Re=>Re.itemId),[Z]);v.useEffect(()=>{le.length===0&&(V.value=!1,U.value=!1)},[le]),v.useEffect(()=>{var Re,Oe;le.length>0?(Re=E==null?void 0:E.current)==null||Re.expand():(Oe=E==null?void 0:E.current)==null||Oe.collapse()},[le,E]);const[He,mt]=v.useState(null),[Ue,ht]=v.useState(null),Qe=v.useCallback(u,[X,He,Ue,Z]),Rt=v.useCallback(Re=>{O(Oe=>Oe.includes(Re)?Oe.filter(Et=>Et!==Re):[...Oe,Re])},[O]),Ut=RS(Jp(cv,{activationConstraint:{tolerance:100,delay:600}}),Jp(lv,{coordinateGetter:Z6})),wt=RS(Jp(cv,{activationConstraint:{tolerance:10,delay:60}}),Jp(lv,{coordinateGetter:Z6})),Xt=v.useMemo(()=>Y.some(Re=>le.some(Oe=>Oe.id===Re)),[Y,le]),$t=v.useMemo(()=>Z.length>0?us(Z,ve):[],[Z,ve]),tn={keyframes({transform:Re}){return $||Nc.value||C?[{opacity:.7},{opacity:0}]:[{opacity:1,transform:Ko.Transform.toString(Re.initial)},{opacity:0,transform:Ko.Transform.toString(R({},Re.final))}]},easing:"ease-out",duration:$?0:300,sideEffects({active:Re,dragOverlay:Oe}){Ue||Nc.value||C?Oe.node.animate([{opacity:.7},{opacity:0}],{duration:300,easing:eh.easing}):Re.node.animate([{opacity:0},{opacity:1}],{duration:eh.duration,easing:eh.easing})}},Pt=v.useMemo(()=>Z.filter(({isClip:Re})=>Re).map(Re=>Re.itemId),[Z,Ue]),We=v.useCallback(Re=>{var bt;const Oe=wQ(Re),et=Oe.length>0?Oe:I8(Re);let Et=D8(et,"id");if(Et!=null){if(Et in Pt){const _t=Z.map(Mt=>Mt.parentId===Et&&Mt.itemId);_t.length>0&&(Et=(bt=KO(ae(R({},Re),{droppableContainers:Re.droppableContainers.filter(Mt=>Mt.id!==Et&&_t.includes(Mt.id))}))[0])==null?void 0:bt.id)}return S.current=Et,[{id:Et}]}return S.current?[{id:S.current}]:[]},[He,Ue,Pt,Z]),Je=v.useMemo(()=>t?s5e:$8,[t]),{tabLayoutSplit:jt=1,tabLayout:we}=(s=se.find(Re=>Re.tabId===ve))!=null?s:{},je=((a=W==null?void 0:W.current)==null?void 0:a.getSizePixels())||0,Ie=((i=E==null?void 0:E.current)==null?void 0:i.getSizePixels())||0;v.useEffect(()=>{if(Qi.value||Ts.value){const Re=Ts.value||Qi.value,Oe=Z.find(et=>et.itemId===Re);Oe!=null&&Oe.tabId&&ce(Oe.tabId),Qi.value&&b(Qi.value),setTimeout(()=>{Qi.value=null},2e3)}},[Qi.value,Ts.value]);const nt=Re=>(F.current[Re]||(F.current[Re]=v.createRef()),F.current[Re]),Pe=v.useMemo(()=>Vbe($t,Wa.value),[Wa.value,$t]),gt=v.useMemo(()=>Oo.value,[Oo.value]);return o.jsxs(Je,{sensors:il.value?wt:Ut,measuring:{droppable:{strategy:gh.Always}},collisionDetection:We,onDragStart:l,onDragCancel:()=>{M(!0),mt(null),ht(null),_(),setTimeout(()=>{M(!1)},300)},onDragEnd:Ze,onDragOver:Qe,children:[o.jsx(_2,{items:dt,strategy:()=>null,children:o.jsxs(Ob,{autoSaveId:"ClipsDashboard",direction:"vertical",className:"flex pt-4 clips-dashboard-panel_tour",children:[p&&o.jsxs(o.Fragment,{children:[o.jsxs(Y2,{collapsible:!0,ref:E,defaultSize:12,id:"pinned-clips",order:1,minSize:4,maxSize:30,className:"flex flex-col ".concat(Ue?C?"bg-orange-200/70 dark:bg-orange-600/70":"bg-orange-100 dark:bg-orange-500/70":"bg-orange-300/40 dark:bg-orange-700/40"," rounded-lg px-2 py-4 pt-3 mx-2 mr-3 relative"),children:[o.jsxs(R6,{id:"clips::pinnedzone",className:"w-full h-full",isActive:!!Ue,children:[Ue&&o.jsx(te,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1.5",children:o.jsx(te,{className:"border-2 ".concat(C?"border-orange-500 dark:border-orange-400":"border-slate-300/80 dark:border-slate-400/80"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:C?o.jsx(re,{className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 !font-medium animate-in fade-in duration-300 text-sm",children:d("Drop to Pin",{ns:"dashboard"})}):o.jsx(Qc,{size:18,className:"text-orange-500/80 dark:!text-orange-400/80 hover:text-orange-400 animate-in fade-in duration-300"})})}),o.jsx(_1,{disableWidth:!0,defaultHeight:Ie-20,children:({height:Re})=>o.jsx(or,{style:{height:Re},onMouseEnter:()=>{V.value=!0},onMouseLeave:()=>{V.value=!1},onClick:()=>{V.value=!0},children:o.jsx(me,{className:"flex flex-wrap justify-normal gap-2 items-start mt-3 mb-1 ml-1 relative ".concat(Ue?"opacity-20":""),children:le.map((Oe,et)=>o.jsx(L7,{clip:Oe,isDark:e,isClipNotesHoverCardsEnabled:Ke,clipNotesHoverCardsDelayMS:lt,clipNotesMaxHeight:De,clipNotesMaxWidth:Ye,isDisabledPinnedMoveUp:et===0,isDisabledPinnedMoveDown:et===le.length-1,onMovePinnedUpDown:Et=>{A(Et)},isShowDetails:w===Oe.id,setShowDetailsItem:x,setSelectedItemId:Rt,isSelected:Y.includes(Oe.id),selectedOrder:Y.indexOf(Oe.id)+1,boardColor:"gray",isShowOrganizeLayoutValue:il.value||J.value,isPinnedBoard:!0},Oe.id))})})})]}),le.length>0&&!Ue&&o.jsxs(me,{className:"justify-between absolute right-0 bottom-1 ".concat(J.value?"px-1":"px-2.5"," w-full"),onMouseEnter:()=>{V.value=!0},onMouseLeave:()=>{V.value=!1},onClick:()=>{V.value=!0},children:[p&&!J.value&&!il.value&&o.jsxs(o.Fragment,{children:[o.jsxs(me,{className:"animate-in fade-in duration-300 ".concat(t||C||!q?"opacity-0":""),children:[o.jsx(mr,{className:"group text-orange-500/80 dark:!text-orange-400/80 hover:text-orange-400 hover:bg-transparent dark:hover:bg-transparent pl-0.5 pr-1 pt-0 ",title:X?d("Sequence Paste",{ns:"common"}):d("Sequence Copy",{ns:"common"}),children:X?o.jsx(Ps,{size:14,onClick:()=>{L(le.map(Re=>Re.id))}}):o.jsx(ya,{size:14,onClick:()=>{z(le.map(Re=>Re.id))}})}),o.jsxs(Kn,{onOpenChange:Re=>{U.value=Re},children:[o.jsx(Gn,{asChild:!0,children:o.jsx(vE,{variant:"outline",title:d("Sequence Delay Next",{ns:"common"}),className:"bg-orange-300/20 border-orange-300/50 dark:bg-orange-900/70 dark:border-orange-800/50 border h-[18px] cursor-pointer px-1.5 ml-1",children:o.jsxs(re,{className:"font-mono !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent font-semibold",children:[Fe,"s"]})})}),o.jsxs(Wn,{className:"w-44",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{size:"xs",children:d("Sequence Copy Paste",{ns:"common"})})}),o.jsx(kn,{}),o.jsxs(na,{children:[o.jsx(Ws,{children:o.jsxs(me,{className:"flex w-full",children:[o.jsxs(re,{size:"xs",children:[d("Delay Next",{ns:"common"}),"..."]}),o.jsxs(St,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[Fe,"s"]})]})}),o.jsxs(Vs,{children:[o.jsx(Cn,{checked:Fe===1,onSelect:()=>{qe(1)},children:o.jsxs(re,{size:"xs",children:["1 ",d("second",{ns:"common"})]})}),o.jsx(Cn,{checked:Fe===2,onSelect:()=>{qe(2)},children:o.jsxs(re,{size:"xs",children:["2 ",d("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:Fe===3,onSelect:()=>{qe(3)},children:o.jsxs(re,{size:"xs",children:["3 ",d("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:Fe===4,onSelect:()=>{qe(4)},children:o.jsxs(re,{size:"xs",children:["4 ",d("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:Fe===5,onSelect:()=>{qe(5)},children:o.jsxs(re,{size:"xs",children:["5 ",d("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:Fe===10,onSelect:()=>{qe(10)},children:o.jsxs(re,{size:"xs",children:["10 ",d("seconds",{ns:"common"})]})})]})]}),o.jsxs(na,{children:[o.jsx(Ws,{children:o.jsxs(me,{className:"flex w-full",children:[o.jsxs(re,{size:"xs",children:[d("Reverse Order",{ns:"common"}),"..."]}),o.jsx(St,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:ot?d("Yes",{ns:"common"}):d("No",{ns:"common"})})]})}),o.jsxs(Vs,{children:[o.jsx(Cn,{checked:!ot,onSelect:()=>{Ve(!1)},children:o.jsx(re,{size:"xs",children:d("No",{ns:"common"})})}),o.jsx(Cn,{checked:ot,onSelect:()=>{Ve(!0)},children:o.jsx(re,{size:"xs",children:d("Yes",{ns:"common"})})})]})]})]})]})]}),o.jsxs(te,{className:"animate-in fade-in duration-300 ".concat(t||C||!q?"opacity-0":""),children:[o.jsx(mr,{title:d("Reorder pinned",{ns:"common"}),onClick:()=>{J.value=!J.value},className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:o.jsx(pz,{size:15})}),o.jsx(mr,{title:Xt?d("Deselect pinned",{ns:"common"}):d("Select pinned",{ns:"common"}),onClick:()=>{const Re=Y.filter(Oe=>le.some(et=>et.id===Oe));O(Xt?Y.filter(Oe=>!Re.includes(Oe)):Y.concat(le.map(Oe=>Oe.id)))},className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:o.jsx(me,{className:"font-medium text-sm gap-1 !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400",children:Xt?o.jsx(f5,{size:15}):o.jsx(tE,{size:17})})}),o.jsx(ZH,{onOpen:Re=>{U.value=Re},onCancel:()=>{setTimeout(()=>{U.value=!1,V.value=!1},300)},onConfirm:()=>{ee({})},buttonClassName:"group !text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0.5 rounded-sm py-0 h-5"})]})]}),J.value&&o.jsxs(Se,{onClick:()=>{J.value=!1},className:"!text-orange-600 dark:!text-orange-300 bg-yellow-400 dark:bg-yellow-800 hover:bg-yellow-400/80 dark:hover:bg-yellow-700/80 px-2 pr-1 mr-0 rounded-sm py-0 h-5 flex items-center justify-center ml-auto",children:[o.jsx(re,{size:"xs",className:"!text-orange-600 dark:!text-orange-300 mr-1",children:d("Done Reorder",{ns:"common"})}),o.jsx(en,{size:15})]})]}),P&&!Ue&&o.jsx(mr,{title:d("Hide Pinned Board",{ns:"common"}),onClick:()=>{h(!1)},className:"hover:underline group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent absolute right-1 top-1.5 px-2 pr-1 rounded-sm",children:o.jsxs(me,{className:"font-medium text-xs gap-1",children:[o.jsxs("span",{children:[le.length>0?le.length:d(" No",{ns:"common"})," ",d("Pinned",{ns:"common",count:le.length})]}),o.jsx(In,{size:14})]})})]}),o.jsx(hW,{isVertical:!0})]}),!I&&de&&o.jsx(_2,{items:se.map(Re=>Re.tabId),disabled:t,strategy:MJ,children:o.jsx(d5e,{tabs:se,selectedItemIds:Y,setSelectedItemIds:O,pinnedItemIds:le.map(Re=>Re.id),currentTab:ve,setCurrentTab:ce})}),o.jsx(Y2,{collapsible:!1,order:2,ref:W,id:"boards",children:je>0&&o.jsx(_1,{disableWidth:!0,defaultHeight:je-20,children:({height:Re})=>o.jsxs(or,{style:{height:Re},children:[Pe?o.jsx(te,{className:"relative",children:o.jsxs(Ob,{style:{height:gt?Re-14:void 0},direction:"horizontal",children:[o.jsx(bI,{board:Pe,isDark:e,panelHeight:Re,isHistoryDragActive:t,dragOverBoardId:n,currentTabLayout:gt?"full":"auto",order:Pe.orderNumber,isLastBoard:!0,showDetailsItem:m,setShowDetailsItem:b,selectedItemIds:Y,setSelectedItemId:Rt},"".concat(ve,"-expanded-").concat(Pe.id)),o.jsx(me,{className:"absolute right-0 w-full bottom-[-13px] z-100",children:o.jsx(Se,{title:Oo.value?d("Collapse View",{ns:"contextMenus"}):d("Expand View",{ns:"contextMenus"}),variant:"ghost",size:"mini",className:"px-1.5 py-1 mr-2 text-secondary-foreground/50 ".concat(Ji(Pe.color,"200")," dark:hover:bg-").concat(Pe.color,"-900 hover:").concat(Ji(Pe.color,"200")," cursor-pointer rounded-md flex items-center justify-center"),onClick:()=>{Oo.value=!Oo.value},children:Oo.value?o.jsx(Iae,{size:20}):o.jsx(Mae,{size:20})})})]},"expaned-board")}):$t.reduce((Oe,et,Et)=>{const bt=Math.floor(Et/jt);return Oe[bt]||(Oe[bt]=[]),Oe[bt].push(et),Oe},[]).map((Oe,et)=>{const Et="".concat(ve,"-").concat(et),bt=nt(Et);return o.jsx(Ob,{ref:bt,autoSaveId:"".concat(ve,"-panel-group-").concat(et),className:"mb-3",style:{height:we==="full"?Re-12:void 0},direction:"horizontal",children:Oe.map((_t,Mt)=>o.jsx(bI,{board:_t,isDark:e,panelHeight:Re,isHistoryDragActive:t,dragOverBoardId:n,currentTabLayout:we==="full"?"full":"auto",order:_t.orderNumber,isLastBoard:Mt===Oe.length-1,showDetailsItem:m,setShowDetailsItem:b,selectedItemIds:Y,setSelectedItemId:Rt},"".concat(ve,"-").concat(et,"-").concat(Mt)))},Et)}),de&&!($t.length&&se.length)&&o.jsxs(o.Fragment,{children:[!$t.length&&se.length>0&&o.jsx(me,{className:"flex items-start justify-center w-full absolute top-4",style:{height:Re},children:o.jsxs(me,{className:"flex-col items-center justify-center",children:[o.jsxs(Kn,{defaultOpen:!0,modal:!1,children:[o.jsx(Gn,{className:"mr-1.5 rounded-sm",asChild:!0,children:o.jsx(te,{className:"flex w-20 group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-700 text-slate-500 dark:border-slate-500 dark:text-slate-300 border-slate-300",children:o.jsx(Wr,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})})}),o.jsxs(Wn,{align:"center",sideOffset:8,children:[o.jsx(rt,{disabled:!0,className:"flex justify-center py-0.5 dark:text-gray-400 text-gray-500",children:d("Dashboard",{ns:"dashboard"})}),o.jsx(kn,{}),o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{Ab.value=!0},children:[o.jsx(xv,{size:16,className:"mr-2"}),o.jsx("span",{children:d("Add First Board",{ns:"dashboard"})})]})]})]}),o.jsx(re,{className:"text-sm mt-4 !text-slate-500",children:d("Create Board",{ns:"dashboard"})})]})}),o.jsx(me,{className:"flex items-center justify-center w-full h-full",style:{height:Re},children:o.jsx(re,{className:"animate-in fade-in duration-600 text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:se.length?d("No Boards",{ns:"dashboard"}):d("No Tabs or Boards",{ns:"dashboard"})})})]})]})})})]})}),o.jsx(lu,{children:o.jsxs(d$,{dropAnimation:tn,children:[He&&o.jsx(pW,{board:He,isDragPreview:!0,isDark:e,currentTabLayout:"auto",selectedItemIds:Y,setSelectedItemId:Rt}),Ue&&o.jsx(fW,{clip:Ue,isDragPreview:!0,isClipNotesHoverCardsEnabled:!1,isDark:e})]})})]});function Ze(Re){return ge(this,null,function*(){var _t,Mt,an,dn,fn,mn,hn,nn,on,Sn,pn;mt(null),ht(null),setTimeout(()=>{Nc.value=null},100);const{active:Oe,over:et}=Re;if(!Oe||!sb(Oe))return;const Et=Oe.id;if((Oe==null?void 0:Oe.id)===C&&setTimeout(()=>ge(this,null,function*(){g(null),yield G({itemIds:[Oe.id],isPinned:!0})}),300),((_t=Oe.data.current)==null?void 0:_t.type)===Ul&&((Mt=et==null?void 0:et.data.current)==null?void 0:Mt.type)===Ul){const rn=et==null?void 0:et.id,ut=se.findIndex(({tabId:xt})=>xt===Et),xe=se.findIndex(({tabId:xt})=>xt===rn),Ge=Ur(se,ut,xe),ft=new Map(Ge.map((xt,At)=>[xt.tabId,At])),pt=se.map(xt=>{const At=ft.get(xt.tabId);return At!==void 0&&(xt.tabOrderNumber=At),xt});pe(pt),yield N({updatedTabs:pt});return}if(((an=et==null?void 0:et.data.current)==null?void 0:an.type)===Ul){const rn=et.id,ut=Z.find(Ge=>Ge.itemId===Et&&Ge.isBoard),xe=Z.find(Ge=>Ge.itemId===Et&&Ge.isClip);if((ut==null?void 0:ut.tabId)===rn||(xe==null?void 0:xe.tabId)===rn||!rn)return;if(ut){const Ge=et.id.toString(),ft=(fn=(dn=Oe.data)==null?void 0:dn.current)==null?void 0:fn.isSubBoard,xt=(ft&&((hn=(mn=Oe.data)==null?void 0:mn.current)!=null&&hn.board.parentId)?us(Z,ve,(on=(nn=Oe.data)==null?void 0:nn.current)==null?void 0:on.board.parentId):us(Z,ve)).find(Zt=>Zt.id===Et);if(!xt)return;const At=xt?_7(xt):[],Lt=Z.filter(Zt=>Zt.tabId===Ge&&Zt.isBoard&&Zt.parentId===null).sort((Zt,vn)=>Zt.orderNumber-vn.orderNumber);if(ft)if(Lt.length===0)Lt.push(ut);else{const Zt=Lt[0].itemId.toString(),vn=Z.filter(ze=>ze.parentId===Zt&&ze.tabId===Ge).sort((ze,Ct)=>ze.orderNumber-Ct.orderNumber);vn.unshift(ut);const oe=new Map(vn.map((ze,Ct)=>[ze.itemId,Ct])),fe=new Map(At==null?void 0:At.map(ze=>[ze,!0])),Xe=[],Me=Z.map(ze=>{const Ct=oe.get(ze.itemId);return Ct!==void 0?(Xe.push(ze.itemId),ae(R({},ze),{orderNumber:Ct,tabId:Ge,parentId:Zt})):fe!=null&&fe.has(ze.itemId)?(Xe.push(ze.itemId),ae(R({},ze),{tabId:Ge})):ze});be(Me);const _e=Me.filter(ze=>Xe.includes(ze.itemId)).map(ze=>({itemId:ze.itemId,parentId:ze.parentId,tabId:Ge,collectionId:Ee,orderNumber:ze.orderNumber}));T({updatedMoveClips:_e}),ce(Ge.toString());return}Lt.unshift(ut);const Ht=new Map(Lt.map((Zt,vn)=>[Zt.itemId,vn])),Bt=new Map(At==null?void 0:At.map(Zt=>[Zt,!0])),tt=Z.map(Zt=>{const vn=Ht.get(Zt.itemId);return vn!==void 0?ae(R({},Zt),{orderNumber:vn,tabId:Ge,parentId:null}):Bt!=null&&Bt.has(Zt.itemId)?ae(R({},Zt),{tabId:Ge}):Zt});be(tt);const Kt=tt.filter(Zt=>(Zt.parentId===null||Zt.parentId===Et||Bt.has(Zt.parentId))&&Zt.tabId===Ge).map(Zt=>({itemId:Zt.itemId,parentId:Zt.parentId,tabId:Zt.tabId,collectionId:Ee,orderNumber:Zt.orderNumber}));T({updatedMoveClips:Kt})}else if(xe){const Ge=et.id.toString(),ft=us(Z,Ge);let pt=(Sn=ft.find(xt=>xt.name===d("Moved Clips Panel",{ns:"dashboard"})))==null?void 0:Sn.id;if(!pt){const xt=(pn=se.find(Bt=>Bt.tabId===Ge))==null?void 0:pn.tabColor,At={name:d("Moved Clips Panel",{ns:"dashboard"}),isBoard:!0,tabId:Ge,color:xt,description:d("Panel for moved or copied items from other tabs",{ns:"dashboard"}),parentId:null,collectionId:Ee,orderNumber:0},Lt=yield ne({item:At});ft.sort((Bt,tt)=>Bt.orderNumber-tt.orderNumber).unshift(ae(R({},At),{id:Lt,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1}));const Ht=ft.map((Bt,tt)=>({itemId:Bt.id,parentId:null,tabId:Bt.tabId,collectionId:Ee,orderNumber:tt}));T({updatedMoveClips:Ht}),pt=Lt}if(pt){const xt=pt.toString(),At=Ge.toString(),Lt=Z.filter(Kt=>Kt.parentId===xt&&Kt.tabId===At).sort((Kt,Zt)=>Kt.orderNumber-Zt.orderNumber);Lt.unshift(xe);const Ht=new Map(Lt.map((Kt,Zt)=>[Kt.itemId,Zt])),Bt=Z.map(Kt=>{const Zt=Ht.get(Kt.itemId);return Zt!==void 0?ae(R({},Kt),{orderNumber:Zt,tabId:At,parentId:xt}):Kt});be(Bt);const tt=Bt.filter(Kt=>Kt.parentId===xt).map(Kt=>({itemId:Kt.itemId,parentId:xt,tabId:At,collectionId:Ee,orderNumber:Kt.orderNumber}));T({updatedMoveClips:tt})}}ce(rn.toString());return}let bt=null;for(let rn=0;rnut.parentId===(bt==null?void 0:bt.parentId)).map(ut=>({itemId:ut.itemId,parentId:ut.parentId,tabId:ut.tabId,collectionId:Ee,orderNumber:ut.orderNumber}));T({updatedMoveClips:rn})}})}}finally{r.f()}}const m5e=v.memo(p5e);function SI(t,e,n,r=!0,s=!1){const a=h=>n.filter(m=>m.tabId===h),i=h=>t.filter(m=>{var g;if(!(m.parentId===h&&m.isClip))return!1;const b=m.name.toLowerCase().includes(e.toLowerCase()),C=!r&&((g=m.value)==null?void 0:g.toLowerCase().includes(e.toLowerCase()));return b||C}).map(m=>ae(R({},m),{type:Wo,id:m.itemId.toString()})),l=h=>t.filter(m=>m.parentId===h&&m.isClip).map(m=>ae(R({},m),{type:Wo,id:m.itemId.toString()})).sort((m,b)=>m.orderNumber-b.orderNumber),u=t.filter(h=>h.isBoard);let d=0;const p=s?u.filter(h=>h.name.toLowerCase().includes(e.toLowerCase())).map(h=>{var b;const m=l(h.itemId.toString());return ae(R({},h),{type:Ks,showDescription:!1,tabName:(b=a(h.tabId)[0])==null?void 0:b.tabName,id:h.itemId.toString(),children:m})}):u.map(h=>{var b;const m=i(h.itemId.toString());return m.length>0?(d=d+m.length,ae(R({},h),{type:Ks,showDescription:!1,tabName:(b=a(h.tabId)[0])==null?void 0:b.tabName,id:h.itemId.toString(),children:m})):null}).filter(h=>h!==null);return{results:p,count:s?p.length:d}}function Pv(t,e,n=!1){const r=s=>t.map(({itemId:a,name:i,parentId:l,orderNumber:u,isActive:d,isDisabled:p,isDeleted:h,isClip:m,isFolder:b,isSeparator:C})=>({id:a,name:i,parentId:l,orderNumber:u,isActive:d,isDisabled:p,isDeleted:h,isClip:m,isFolder:b,isSeparator:C,children:[]})).filter(a=>a.parentId===s).filter(a=>a.isActive||n&&!a.isActive).sort((a,i)=>a.orderNumber-i.orderNumber).map(a=>(a.children=r(a.id),a.children.length===0&&!a.isFolder&&delete a.children,a));return r(e||null)}function aj(){return aj=Object.assign?Object.assign.bind():function(t){for(var e=1;e'),!0):e?t.some(function(n){return e.includes(n)})||t.includes("*"):!0}var C5e=function(e,n,r){r===void 0&&(r=!1);var s=n.alt,a=n.meta,i=n.mod,l=n.shift,u=n.ctrl,d=n.keys,p=e.key,h=e.code,m=e.ctrlKey,b=e.metaKey,C=e.shiftKey,g=e.altKey,w=kd(h),x=p.toLowerCase();if(!r){if(s===!g&&x!=="alt"||l===!C&&x!=="shift")return!1;if(i){if(!b&&!m)return!1}else if(a===!b&&x!=="meta"&&x!=="os"||u===!m&&x!=="ctrl"&&x!=="control")return!1}return d&&d.length===1&&(d.includes(x)||d.includes(w))?!0:d?x5e(d):!d},S5e=v.createContext(void 0),j5e=function(){return v.useContext(S5e)};function yW(t,e){return t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(t).length===Object.keys(e).length&&Object.keys(t).reduce(function(n,r){return n&&yW(t[r],e[r])},!0):t===e}var E5e=v.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),N5e=function(){return v.useContext(E5e)};function _5e(t){var e=v.useRef(void 0);return yW(e.current,t)||(e.current=t),e.current}var jI=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},T5e=typeof window!="undefined"?v.useLayoutEffect:v.useEffect;function Us(t,e,n,r){var s=v.useRef(null),a=v.useRef(!1),i=n instanceof Array?r instanceof Array?void 0:r:n,l=R7(t)?t.join(i==null?void 0:i.splitKey):t,u=n instanceof Array?n:r instanceof Array?r:void 0,d=v.useCallback(e,u!=null?u:[]),p=v.useRef(d);u?p.current=d:p.current=e;var h=_5e(i),m=N5e(),b=m.enabledScopes,C=j5e();return T5e(function(){if(!((h==null?void 0:h.enabled)===!1||!k5e(b,h==null?void 0:h.scopes))){var g=function(N,_){var P;if(_===void 0&&(_=!1),!(w5e(N)&&!xW(N,h==null?void 0:h.enableOnFormTags))&&!(h!=null&&h.ignoreEventWhen!=null&&h.ignoreEventWhen(N))){if(s.current!==null&&document.activeElement!==s.current&&!s.current.contains(document.activeElement)){jI(N);return}(P=N.target)!=null&&P.isContentEditable&&!(h!=null&&h.enableOnContentEditable)||YC(l,h==null?void 0:h.splitKey).forEach(function(I){var T,A=ZC(I,h==null?void 0:h.combinationKey);if(C5e(N,A,h==null?void 0:h.ignoreModifiers)||(T=A.keys)!=null&&T.includes("*")){if(_&&a.current)return;if(y5e(N,A,h==null?void 0:h.preventDefault),!b5e(N,A,h==null?void 0:h.enabled)){jI(N);return}p.current(N,A),_||(a.current=!0)}})}},w=function(N){N.key!==void 0&&(gW(kd(N.code)),((h==null?void 0:h.keydown)===void 0&&(h==null?void 0:h.keyup)!==!0||h!=null&&h.keydown)&&g(N))},x=function(N){N.key!==void 0&&(vW(kd(N.code)),a.current=!1,h!=null&&h.keyup&&g(N,!0))},S=s.current||(i==null?void 0:i.document)||document;return S.addEventListener("keyup",x),S.addEventListener("keydown",w),C&&YC(l,h==null?void 0:h.splitKey).forEach(function(E){return C.addHotkey(ZC(E,h==null?void 0:h.combinationKey,h==null?void 0:h.description))}),function(){S.removeEventListener("keyup",x),S.removeEventListener("keydown",w),C&&YC(l,h==null?void 0:h.splitKey).forEach(function(E){return C.removeHotkey(ZC(E,h==null?void 0:h.combinationKey,h==null?void 0:h.description))})}}},[l,h,b]),s}function P5e({id:t,isSelected:e,deletingMenuItemIds:n,itemParentId:r,isDisabled:s,isImage:a,isClip:i,isSeparator:l,isActive:u,isFolder:d,isOpen:p,setOpenItemId:h,itemOrderNumber:m,hasChildren:b,deselectItemById:C,setSelectedItemIds:g,selectItemById:w}){var x=sn(1);try{const{t:S}=Gt(),{duplicateMenuItem:E}=Nge(),{deleteMenuItemById:N}=TB(),{updateMenuItemById:_}=wx(),{updateMovedMenuItems:P}=t7(),I=la(),{menuItems:T,currentCollectionId:A}=Tt(Ir);return o.jsx(yx,{children:o.jsxs(O0,{className:"w-[150px]",children:[u?i?o.jsxs(o.Fragment,{children:[o.jsx(Wt,{disabled:!0,className:"flex justify-center py-0",children:S("Link To Clip",{ns:"contextMenus"})}),o.jsx(Qn,{})]}):d?o.jsxs(o.Fragment,{children:[o.jsx(Wt,{disabled:!0,className:"flex justify-center py-0",children:S("Submenu",{ns:"contextMenus"})}),o.jsx(Qn,{})]}):l?o.jsxs(o.Fragment,{children:[o.jsx(Wt,{disabled:!0,className:"flex justify-center py-0",children:S("Separator",{ns:"contextMenus"})}),o.jsx(Qn,{})]}):o.jsxs(o.Fragment,{children:[o.jsx(Wt,{disabled:!0,className:"flex justify-center py-0",children:S("Menu",{ns:"contextMenus"})}),o.jsx(Qn,{})]}):o.jsxs(o.Fragment,{children:[o.jsx(Wt,{disabled:!0,className:"flex justify-center py-0",children:S("Menu is Not Active",{ns:"contextMenus"})}),o.jsx(Qn,{}),o.jsxs(Wt,{onClick:()=>{_({updatedItem:{itemId:t,isActive:!0}})},children:[S("Activate",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(N0,{size:15,className:"ml-auto"})})]}),o.jsx(Qn,{})]}),e?o.jsxs(Wt,{onClick:()=>{C==null||C(t)},children:[S("Deselect",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(sE,{size:15})})]}):o.jsxs(Wt,{onClick:()=>{w==null||w(t)},children:[S("Select",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Va,{size:15})})]}),o.jsx(Qn,{}),zs.value!==t&&!i&&o.jsxs(Wt,{disabled:!u||uo.value,onClick:()=>{zs.value=t,cl.value=!0},children:[S("Edit Label",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Fd,{size:14})})]}),!i&&!d&&zs.value!==t&&o.jsxs(Wt,{disabled:!u||uo.value,onClick:()=>{zs.value=t},children:[a?S("Edit Image",{ns:"contextMenus"}):S("Edit Value",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(W2,{size:15})})]}),i&&o.jsxs(o.Fragment,{children:[o.jsxs(Wt,{disabled:!u||uo.value,onClick:()=>{Ts.value=t,Qi.value=t,I("/history",{replace:!0})},children:[S("Edit Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(W2,{size:15})})]}),o.jsxs(Wt,{disabled:!u||uo.value,onClick:()=>{Qi.value=t,I("/history",{replace:!0})},children:[S("Locate Clip",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(h5,{size:15})})]})]}),o.jsx(Qn,{}),o.jsxs(Wt,{disabled:!u,onClick:()=>ge(this,null,function*(){g&&g([t]),uo.value=!0}),children:[S("Add New Item",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(Mz,{size:15})})]}),!i&&o.jsxs(Wt,{disabled:!u,onClick:()=>ge(this,null,function*(){var $;if(!A)return;const L=yield E({itemId:t,parentId:r!=null?r:null,orderNumber:m+2,collectionId:A}),z=Pv(T);z.unshift({name:S("Copy of ",{ns:"common"})+(($=z.find(M=>M.id===t))==null?void 0:$.name),parentId:r!=null?r:null,orderNumber:m+2,id:L});const Y=c6(z,r!=null?r:null,[L],m+2),O=Y==null?void 0:Y.map(({id:M,parentId:W,orderNumber:V})=>({itemId:M,parentId:W,tabId:null,collectionId:A,orderNumber:V}));P({updatedMoveMenuItems:O})}),children:[S("Duplicate",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(Y8,{size:15})})]}),o.jsx(Qn,{}),s?o.jsxs(Wt,{disabled:!u,onClick:()=>{_({updatedItem:{itemId:t,isDisabled:!1}})},children:[S("Make Enabled",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Ez,{size:15,className:"ml-auto"})})]}):o.jsxs(Wt,{disabled:!u,onClick:()=>{_({updatedItem:{itemId:t,isDisabled:!0}}),p&&(h==null||h(null))},children:[S("Make Disabled",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(t0,{size:15,className:"ml-auto"})})]}),o.jsx(Qn,{}),u&&o.jsxs(Wt,{onClick:()=>{_({updatedItem:{itemId:t,isActive:!1}}),p&&(h==null||h(null))},children:[S("Make Inactive",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(lx,{size:15,className:"ml-auto"})})]}),o.jsxs(te,{className:"group",children:[o.jsxs(Wt,{className:Bu.value===t?"!bg-red-100 dark:!bg-red-900":"",disabled:b,onClick:L=>{var z,Y;Bu.value===t?(N({itemId:t,collectionId:A}),n.value=(Y=(z=n.value)==null?void 0:z.filter(O=>O!==t))!=null?Y:[],C==null||C(t),Bu.value):(L.preventDefault(),Bu.value=t,n.value=n.value?[...n.value,t]:[t],setTimeout(()=>{var O,$;Bu.value=null,n.value=($=(O=n.value)==null?void 0:O.filter(M=>M!==t))!=null?$:[]},3e3))},children:[o.jsx(re,{className:"".concat(b?"!text-gray-500":"!text-red-500"),children:Bu.value!==t?S("Delete",{ns:"common"}):S("Click to Confirm",{ns:"common"})}),!Bu.value&&o.jsx("div",{className:"ml-auto pl-3",children:o.jsx(kr,{size:15,className:"".concat(b?"!text-gray-500":"!text-red-500")})})]}),b&&o.jsx(me,{className:"p-0.5",children:o.jsx(re,{className:"!text-gray-400/80 text-[11px] group-hover:!text-amber-500",children:S("Remove Submenus First",{ns:"common"})})})]})]})})}finally{x.f()}}function M5e(){const t=Te(4),{data:e}=Qd("get_clipboard_history_pinned");let n;t[0]!==e?(n=e===void 0?[]:e,t[0]=e,t[1]=n):n=t[1];const r=n;r.forEach(a=>{if(a.links)try{a.arrLinks=JSON.parse(a.links)}catch(i){a.arrLinks=[]}a.hasEmoji&&(a.hasEmoji=lz(a.value))});let s;return t[2]!==r?(s={pinnedClipboardHistory:r},t[2]=r,t[3]=s):s=t[3],s}function D5e(){const t=Te(4),e=Dn();let n;t[0]!==e?(n={onSuccess:a=>{a==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",a)}},t[0]=e,t[1]=n):n=t[1];const{mutate:r}=Jn("update_clipboard_history_by_id",n);let s;return t[2]!==r?(s={updateClipboardHistoryById:r},t[2]=r,t[3]=s):s=t[3],s}function bW(){const t=Te(4),e=Dn();let n;t[0]!==e?(n={onSuccess:a=>{a==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",a)}},t[0]=e,t[1]=n):n=t[1];const{mutate:r}=Jn("update_pinned_clipboard_history_by_ids",n);let s;return t[2]!==r?(s={pinnedClipboardHistoryByIds:r},t[2]=r,t[3]=s):s=t[3],s}function I5e(){const t=Te(4),e=Dn();let n;t[0]!==e?(n={onSuccess:a=>{a==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",a)}},t[0]=e,t[1]=n):n=t[1];const{mutate:r}=Jn("unpin_all_clipboard_history_items",n);let s;return t[2]!==r?(s={unPinAllClipboardHistory:r},t[2]=r,t[3]=s):s=t[3],s}function A5e(){const t=Te(4),e=Dn();let n;t[0]!==e?(n={onSuccess:a=>{a==="ok"?e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]}):console.log("update clipboard error",a)}},t[0]=e,t[1]=n):n=t[1];const{mutate:r}=Jn("move_pinned_item_up_down",n);let s;return t[2]!==r?(s={movePinnedClipboardHistoryUpDown:r},t[2]=r,t[3]=s):s=t[3],s}function wW(){const t=Te(18),e=Dn();let n,r;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=["get_clipboard_history"],r=w=>{const{pageParam:x}=w,{limit:S,offset:E}=x!=null?x:{};return qs("get_clipboard_history",{limit:S===void 0?pC:S,offset:E===void 0?0:E})},t[0]=n,t[1]=r):(n=t[0],r=t[1]);let s;t[2]===Symbol.for("react.memo_cache_sentinel")?(s={queryKey:n,queryFn:r,initialPageParam:{limit:pC,offset:0},getNextPageParam:(w,x)=>{const S=x==null?void 0:x.reduce((E,N)=>{var _;return E+((_=N==null?void 0:N.length)!=null?_:0)},0);return S?{limit:pC,offset:S}:null}},t[2]=s):s=t[2];const{data:a,isLoading:i,isFetched:l,fetchNextPage:u,isFetchingNextPage:d,error:p}=pY(s),{setClipboardHistory:h}=Tt(_i);let m;t[3]!==a||t[4]!==h?(m=()=>{if(Array.isArray(a==null?void 0:a.pages)){const w=!(a!=null&&a.pages.flat().length);h(a==null?void 0:a.pages.flat(),w)}},t[3]=a,t[4]=h,t[5]=m):m=t[5];let b;t[6]!==a?(b=[a],t[6]=a,t[7]=b):b=t[7],v.useEffect(m,b);let C;t[8]!==e?(C=()=>{e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})},t[8]=e,t[9]=C):C=t[9];let g;return t[10]!==a||t[11]!==C||t[12]!==i||t[13]!==l||t[14]!==u||t[15]!==d||t[16]!==p?(g={infiniteClipboardHistory:a,invalidateClipboardHistoryQuery:C,isClipboardInfiniteHistoryLoading:i,isClipboardInfiniteHistoryFetched:l,fetchNextClipboardHistoryPage:u,isClipboardHistoryFetchingNextPage:d,isClipboardInfiniteHistoryError:p},t[10]=a,t[11]=C,t[12]=i,t[13]=l,t[14]=u,t[15]=d,t[16]=p,t[17]=g):g=t[17],g}function L5e(t){const e=Te(23),{query:n,filters:r,codeFilters:s}=t,a=n===void 0?"":n;let i;e[0]!==r?(i=r===void 0?[]:r,e[0]=r,e[1]=i):i=e[1];const l=i;let u;e[2]!==s?(u=s===void 0?[]:s,e[2]=s,e[3]=u):u=e[3];const d=u,p=Dn();let h;e[4]===Symbol.for("react.memo_cache_sentinel")?(h={enabled:!1,refetchOnWindowFocus:!1},e[4]=h):h=e[4];let m;e[5]!==a||e[6]!==l||e[7]!==d?(m={query:a,filters:l,codeFilters:d,useQueryOptions:h},e[5]=a,e[6]=l,e[7]=d,e[8]=m):m=e[8];const{data:b,refetch:C,isLoading:g,isFetched:w,error:x}=Qd("find_clipboard_histories_by_value_or_filters",m),{setClipboardHistory:S}=Tt(_i);let E;e[9]!==b||e[10]!==S?(E=()=>{Array.isArray(b)&&S(b,!0,!0)},e[9]=b,e[10]=S,e[11]=E):E=e[11];let N;e[12]!==b?(N=[b],e[12]=b,e[13]=N):N=e[13],v.useEffect(E,N);let _;e[14]!==p?(_=()=>{p.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})},e[14]=p,e[15]=_):_=e[15];let P;return e[16]!==b||e[17]!==_||e[18]!==C||e[19]!==g||e[20]!==w||e[21]!==x?(P={foundClipboardHistory:b,invalidateFindClipboardHistoryQuery:_,refetchFindClipboardHistory:C,isFoundClipboardHistoryLoading:g,isFlundClipboardHistoryFetched:w,isFoundClipboardHistoryError:x},e[16]=b,e[17]=_,e[18]=C,e[19]=g,e[20]=w,e[21]=x,e[22]=P):P=e[22],P}function O7(){const t=Te(4),e=Dn();let n;t[0]!==e?(n={onSuccess:a=>{a==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("delete clipboard error",a)}},t[0]=e,t[1]=n):n=t[1];const{mutate:r}=Jn("delete_clipboard_history_by_ids",n);let s;return t[2]!==r?(s={deleteClipboardHistoryByIds:r},t[2]=r,t[3]=s):s=t[3],s}function R5e(){const t=Te(4),e=Dn();let n;t[0]!==e?(n={onSuccess:a=>{a==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("clear clipboard error",a)}},t[0]=e,t[1]=n):n=t[1];const{mutate:r}=Jn("clear_clipboard_history_older_than",n);let s;return t[2]!==r?(s={clearClipboardHistoryOlderThan:r},t[2]=r,t[3]=s):s=t[3],s}const{FOLDER:O5e,ITEM:Np,SEPARATOR:$5e,DISABLED:z5e}=oi;function jw({isCreatingMenuItem:t,currentMenuItemId:e,parentId:n,orderNumber:r,showEditMenuItemId:s,isMainCreateMenu:a,isDark:i,isFistItemsCreateMenu:l}){var u=sn(1);try{let d=function(){th(),t.value=!1,od.value=null,Ef.value=null};const{t:p}=Gt(),[h,m]=v.useState(""),[b,C]=v.useState(""),{clipboardHistory:g}=Tt(_i),{fetchNextClipboardHistoryPage:w}=wW(),{collectionWithClips:x,fetchCollectionWithClips:S}=_B(),E=(x==null?void 0:x.clips)||[],N=Co(h,300),_=Co(b,300),P=v.useMemo(()=>N.length<1?E.filter(T=>T.isClip).sort((T,A)=>T.updatedAt&&A.updatedAt?A.updatedAt-T.updatedAt:0).slice(0,50).map(({name:T,itemId:A})=>({name:T.length>50?"".concat(T.substring(0,50),"..."):T,id:A})):E.filter(T=>T.isClip&&T.name.toLowerCase().includes(N.toLowerCase())).sort((T,A)=>T.updatedAt&&A.updatedAt?A.updatedAt-T.updatedAt:0).slice(0,50).map(({name:T,itemId:A})=>({name:T.length>50?"".concat(T.substring(0,50),"..."):T,id:A})),[E,N]),I=v.useMemo(()=>_.length<1?g.sort((T,A)=>A.updatedAt-T.updatedAt).slice(0,50).map(({value:T,historyId:A,isImage:L,imageWidth:z,imageHeight:Y,detectedLanguage:O,isLink:$})=>({isImage:L,isLink:$,detectedLanguage:O,name:T!=null&&T.length&&(T==null?void 0:T.length)>80?"".concat(T==null?void 0:T.substring(0,80),"..."):L?"".concat(p("Image",{ns:"common"})," (").concat(z,"x").concat(Y,")"):T,id:A})):g.filter(T=>{var A;return T!=null&&T.value?(A=T==null?void 0:T.value)==null?void 0:A.toLowerCase().includes(_.toLowerCase()):"Image".toLocaleLowerCase().includes(_.toLowerCase())}).sort((T,A)=>A.updatedAt-T.updatedAt).slice(0,50).map(({value:T,historyId:A,isImage:L,imageWidth:z,imageHeight:Y,detectedLanguage:O,isLink:$})=>({isImage:L,isLink:$,detectedLanguage:O,name:T!=null&&T.length&&(T==null?void 0:T.length)>80?"".concat(T==null?void 0:T.substring(0,80),"..."):L?"".concat(p("Image",{ns:"common"})," (").concat(z,"x").concat(Y,")"):T,value:T,id:A})),[g,_]);return v.useEffect(()=>{g.length||w(),S()},[]),o.jsxs(Kn,{modal:!1,defaultOpen:l,children:[o.jsx(Gn,{asChild:!0,disabled:!!od.value||!!Ef.value||!!jf.value,children:a?o.jsx(o.Fragment,{children:t.value?o.jsxs(Se,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80 py-1.5 absolute top-1 right-1 rounded-sm",onClick:()=>{d()},children:[o.jsx(re,{className:"whitespace-nowrap",children:p("Done Adding",{ns:"common"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:15})})]}):o.jsx(o.Fragment,{children:s.value?o.jsxs(mr,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80 py-1.5 absolute top-1 right-1 rounded-sm",onClick:()=>{d()},children:[o.jsx(re,{className:"whitespace-nowrap",children:p("Done Edit",{ns:"common"})}),o.jsx("div",{className:"ml-auto pl-1.5",children:o.jsx(en,{size:15})})]}):o.jsx(mr,{className:"bg-slate-200 dark:bg-slate-700 dark:hover:bg-slate-700/80 p-1.5 text-slate-500 dark:text-slate-300 rounded-sm flex items-center group absolute top-1 right-1",id:"add-menu-item__tour",onClick:()=>{t.value=!0},children:o.jsx(st,{asChild:!0,side:"bottom",isCompact:!0,sideOffset:12,text:p("Add item",{ns:"menus"}),children:o.jsx(Wr,{size:20,className:"transition-colors group-hover:text-slate-400"})})})})}):o.jsx(te,{id:"add-menu-item__tour",className:"flex group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-700 text-slate-500 dark:border-slate-500 dark:text-slate-300",onClick:()=>{if(!od.value&&!Ef.value&&!jf.value)return;if(jf.value){io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:Np,text:jf.value},jf.value="";return}const T=g.find(({historyId:L})=>L===od.value),A=E.find(({itemId:L})=>L===Ef.value);od.value=null,Ef.value=null,T?io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:Np,clipboardHistoryItem:T,historyId:T.historyId.toString()}:A&&(io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:Np,clipId:A.itemId})},children:o.jsx(Wr,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})})}),o.jsxs(Wn,{align:"center",sideOffset:l?12:0,children:[o.jsx(rt,{disabled:!0,className:"py-0.5 pb-1 flex justify-center border-b border-gray-200 dark:border-gray-600 text-slate-500 dark:text-slate-400",children:l?p("Add First Item",{ns:"menus"}):p("Add Item",{ns:"menus"})}),o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:Np}},children:[o.jsx(f5,{size:16,className:"mr-2"}),o.jsx("span",{children:p("Menu Item",{ns:"menus"})})]}),o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:O5e}},children:[o.jsx(e0,{size:16,className:"mr-2"}),o.jsx("span",{children:p("Submenu",{ns:"menus"})})]}),o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:$5e}},children:[o.jsx(jz,{size:16,className:"mr-2"}),o.jsx("span",{children:p("Separator",{ns:"menus"})})]}),o.jsxs(rt,{className:"outline-none flex items-center",onClick:()=>{io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:z5e}},children:[o.jsx(t0,{size:16,className:"mr-2"}),o.jsx("span",{children:p("Disabled Item",{ns:"menus"})})]}),(I.length>0||P.length>0)&&o.jsx(kn,{}),I.length>0&&o.jsxs(na,{children:[o.jsxs(Ws,{children:[o.jsx(kie,{size:16,className:"mr-2"}),o.jsx("span",{children:p("Recent History",{ns:"common"})})]}),o.jsxs(Vs,{className:"w-60",children:[o.jsx(me,{className:"focus:bg-transparent px-1 py-0.5 pb-1",onKeyDown:T=>T.stopPropagation(),children:o.jsx(Hd,{placeholder:"".concat(p("Find History",{ns:"common"})," ..."),type:"search",autoFocus:!0,onChange:T=>{C(T.target.value)},value:b,iconLeft:o.jsx(n0,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md w-[260px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8"})}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:I.map(({name:T,id:A,isImage:L,detectedLanguage:z,isLink:Y},O)=>o.jsx(rt,{onKeyDown:$=>$.stopPropagation(),className:"".concat(O>0?"border-t":""," border-slate-100 dark:border-slate-800/90 ml-1 rounded-none"),onClick:()=>{io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:Np,clipboardHistoryItem:g.find(({historyId:$})=>$===A),historyId:A}},children:z?o.jsxs(te,{className:"text-sm overflow-hidden text-ellipsis",children:[o.jsx(ka,{isDark:i,searchTerm:"",isLargeView:!1,isShowMore:!1,isWrapped:!0,value:T!=null?T:"",language:z}),o.jsx(St,{variant:"secondary",className:"absolute right-1 bottom-1",children:z})]}):o.jsxs(te,{className:"relative overflow-hidden text-ellipsis",children:[o.jsx("code",{className:"text-sm line-clamp-2",children:T}),L&&o.jsx(St,{variant:"secondary",className:"absolute right-1 bottom-1",children:p("Type:::Image",{ns:"common"})}),Y&&o.jsx(St,{variant:"secondary",className:"absolute right-1 bottom-1",children:p("Type:::Link",{ns:"common"})})]})},A))})]})]}),P.length>0&&o.jsxs(na,{children:[o.jsxs(Ws,{children:[o.jsx(qae,{size:16,className:"mr-2"}),o.jsx("span",{children:p("Link to Clip",{ns:"menus"})})]}),o.jsxs(Vs,{className:"w-52",children:[o.jsx(me,{className:"focus:bg-transparent px-1 py-0.5 pb-1",onKeyDown:T=>T.stopPropagation(),children:o.jsx(Hd,{placeholder:"".concat(p("Find Clip",{ns:"common"})," ..."),type:"search",autoFocus:!0,onChange:T=>{m(T.target.value)},value:h,iconLeft:o.jsx(n0,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md w-[260px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8"})}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:P.map(({id:T,name:A},L)=>o.jsx(rt,{onKeyDown:z=>z.stopPropagation(),className:"".concat(L>0?"border-t":""," border-slate-100 dark:border-slate-800/90 ml-1 rounded-none"),onClick:()=>{io.value={orderNumber:r,currentMenuItemId:e,parentId:n,type:Np,clipId:T}},children:o.jsx("span",{children:A})},T!=null?T:L))})]})]})]})]})}finally{u.f()}}const Yg={isCode:!1,isText:!1,isForm:!1,isImage:!1,isCommand:!1,isWebRequest:!1,isWebScraping:!1,isLink:!1,isPath:!1,detectedLanguage:""},F5e=t=>{const e=Te(97),{itemId:n,isCode:r,isImage:s,isText:a,isLink:i,isPath:l,detectedLanguage:u,children:d}=t,{t:p}=Gt(),{CONST:h}=Tt(Cr),{APP_DETECT_LANGUAGES_SUPPORTED:m}=h,{updateMenuItemById:b}=wx();let C;e[0]!==d?(C=o.jsx(Gn,{asChild:!0,children:d}),e[0]=d,e[1]=C):C=e[1];let g;e[2]!==p?(g=p("Menu Type",{ns:"menus"}),e[2]=p,e[3]=g):g=e[3];let w;e[4]!==g?(w=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{children:g})}),e[4]=g,e[5]=w):w=e[5];let x;e[6]===Symbol.for("react.memo_cache_sentinel")?(x=o.jsx(kn,{}),e[6]=x):x=e[6];const S=!!a;let E;e[7]!==b||e[8]!==n?(E=()=>{b({updatedItem:ae(R({},Yg),{isText:!0,itemId:n})})},e[7]=b,e[8]=n,e[9]=E):E=e[9];const N="".concat(a?"font-semibold":"");let _;e[10]!==p?(_=p("TypeMenu:::Plain Text",{ns:"common"}),e[10]=p,e[11]=_):_=e[11];let P;e[12]!==N||e[13]!==_?(P=o.jsx(re,{className:N,children:_}),e[12]=N,e[13]=_,e[14]=P):P=e[14];let I;e[15]!==S||e[16]!==E||e[17]!==P?(I=o.jsx(Cn,{checked:S,onClick:E,children:P}),e[15]=S,e[16]=E,e[17]=P,e[18]=I):I=e[18];const T=!!i;let A;e[19]!==b||e[20]!==n?(A=()=>{b({updatedItem:ae(R({},Yg),{isLink:!0,itemId:n})})},e[19]=b,e[20]=n,e[21]=A):A=e[21];const L="".concat(i?"font-semibold":"");let z;e[22]!==p?(z=p("TypeMenu:::Link or Email",{ns:"common"}),e[22]=p,e[23]=z):z=e[23];let Y;e[24]!==L||e[25]!==z?(Y=o.jsx(re,{className:L,children:z}),e[24]=L,e[25]=z,e[26]=Y):Y=e[26];let O;e[27]!==T||e[28]!==A||e[29]!==Y?(O=o.jsx(Cn,{checked:T,onClick:A,children:Y}),e[27]=T,e[28]=A,e[29]=Y,e[30]=O):O=e[30];const $=!!s;let M;e[31]!==b||e[32]!==n?(M=()=>{b({updatedItem:ae(R({},Yg),{isImage:!0,itemId:n})})},e[31]=b,e[32]=n,e[33]=M):M=e[33];const W="".concat(s?"font-semibold":"");let V;e[34]!==p?(V=p("TypeMenu:::Image",{ns:"common"}),e[34]=p,e[35]=V):V=e[35];let U;e[36]!==W||e[37]!==V?(U=o.jsx(re,{className:W,children:V}),e[36]=W,e[37]=V,e[38]=U):U=e[38];let J;e[39]!==$||e[40]!==M||e[41]!==U?(J=o.jsx(Cn,{checked:$,onClick:M,children:U}),e[39]=$,e[40]=M,e[41]=U,e[42]=J):J=e[42];const H=!!l;let F;e[43]!==b||e[44]!==n?(F=()=>{b({updatedItem:ae(R({},Yg),{isPath:!0,itemId:n})})},e[43]=b,e[44]=n,e[45]=F):F=e[45];const q="".concat(l?"font-semibold":"");let X;e[46]!==p?(X=p("TypeMenu:::File, Path or App",{ns:"common"}),e[46]=p,e[47]=X):X=e[47];let ne;e[48]!==q||e[49]!==X?(ne=o.jsx(re,{className:q,children:X}),e[48]=q,e[49]=X,e[50]=ne):ne=e[50];let ee;e[51]!==H||e[52]!==F||e[53]!==ne?(ee=o.jsx(Cn,{checked:H,onClick:F,children:ne}),e[51]=H,e[52]=F,e[53]=ne,e[54]=ee):ee=e[54];let G;e[55]!==r?(G=r?o.jsx(en,{className:"mr-2 h-4 w-4"}):o.jsx(te,{className:"mr-2 h-4 w-4"}),e[55]=r,e[56]=G):G=e[56];const Z="".concat(r?"!font-semibold":"");let le;e[57]!==p?(le=p("TypeMenu:::Code Snippet",{ns:"common"}),e[57]=p,e[58]=le):le=e[58];let se;e[59]!==Z||e[60]!==le?(se=o.jsxs(re,{className:Z,children:[le," ..."]}),e[59]=Z,e[60]=le,e[61]=se):se=e[61];let de;e[62]!==G||e[63]!==se?(de=o.jsxs(Ws,{children:[G,se]}),e[62]=G,e[63]=se,e[64]=de):de=e[64];let ce;e[65]!==u||e[66]!==p?(ce=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:u?o.jsx(re,{children:EI(u)}):o.jsx(re,{children:p("Select Language",{ns:"common"})})}),e[65]=u,e[66]=p,e[67]=ce):ce=e[67];let pe;e[68]===Symbol.for("react.memo_cache_sentinel")?(pe=o.jsx(kn,{}),e[68]=pe):pe=e[68];let ve;e[69]===Symbol.for("react.memo_cache_sentinel")?(ve={height:"auto",maxHeight:"290px"},e[69]=ve):ve=e[69];let ye;if(e[70]!==u||e[71]!==b||e[72]!==n||e[73]!==m){let Ve;e[75]!==u||e[76]!==b||e[77]!==n?(Ve=Ke=>o.jsx(Cn,{checked:u===Ke,className:"".concat(u===Ke?"font-semibold ":""),onClick:()=>{b({updatedItem:ae(R({},Yg),{isCode:!0,detectedLanguage:Ke,itemId:n})})},children:EI(Ke)},Ke),e[75]=u,e[76]=b,e[77]=n,e[78]=Ve):Ve=e[78],ye=m.map(Ve),e[70]=u,e[71]=b,e[72]=n,e[73]=m,e[74]=ye}else ye=e[74];let be;e[79]!==ye?(be=o.jsx(or,{className:"code-filter",style:ve,autoHide:!1,children:ye}),e[79]=ye,e[80]=be):be=e[80];let Ee;e[81]!==ce||e[82]!==be?(Ee=o.jsxs(Vs,{className:"w-40",children:[ce,pe,be]}),e[81]=ce,e[82]=be,e[83]=Ee):Ee=e[83];let Fe;e[84]!==de||e[85]!==Ee?(Fe=o.jsxs(na,{children:[de,Ee]}),e[84]=de,e[85]=Ee,e[86]=Fe):Fe=e[86];let qe;e[87]!==w||e[88]!==I||e[89]!==O||e[90]!==J||e[91]!==ee||e[92]!==Fe?(qe=o.jsxs(Wn,{className:"w-48",sideOffset:12,align:"center",children:[w,x,I,O,J,ee,Fe]}),e[87]=w,e[88]=I,e[89]=O,e[90]=J,e[91]=ee,e[92]=Fe,e[93]=qe):qe=e[93];let ot;return e[94]!==C||e[95]!==qe?(ot=o.jsxs(Kn,{children:[C,qe]}),e[94]=C,e[95]=qe,e[96]=ot):ot=e[96],ot};function EI(t){return t.charAt(0).toUpperCase()+t.slice(1)}function H5e({itemId:t,deletingMenuItemIds:e,onComplete:n}){var r=sn(1);try{const{t:s}=Gt(),a=it(!1),i=()=>{a.value=!1,e.value=null},{currentCollectionId:l}=Tt(Ir),{deleteMenuItemById:u}=TB();return o.jsxs(Ca,{defaultOpen:!1,open:a.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsxs(Se,{variant:"ghost",title:s("Delete Clip",{ns:"dashboard"}),onClick:()=>{a.value=!0,e.value=[t]},className:"px-2 h-7 w-full py-0 text-red-500 dark:!text-red-600 hover:text-red-500 bg-transparent hover:bg-red-100 opacity-80 hover:opacity-100",children:[o.jsx(kr,{size:16}),o.jsx(re,{className:"ml-1 !text-red-500 dark:!text-red-600 !font-medium",children:s("Delete",{ns:"common"})})]})}),o.jsx(aa,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{i()},onPointerDownOutside:()=>{i()},children:a.value&&o.jsxs(me,{className:"flex-col",children:[o.jsx(re,{color:"black",size:"sm",className:"!inline-block",children:s("Are you sure you want to delete?",{ns:"common"})}),o.jsx(Rn,{h:3}),o.jsxs(me,{children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{i()},children:s("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200 whitespace-nowrap",onClick:()=>ge(this,null,function*(){yield u({itemId:t,collectionId:l}),n()}),children:s("Delete Menu",{ns:"menus"})})]})]})})]})}finally{r.f()}}function B5e({itemId:t,value:e,isCode:n,detectedLanguage:r,isText:s,isClip:a,isMasked:i,isVideo:l,isImage:u,isDelete:d,hasEmoji:p,isPath:h,imageDataUrl:m,isDark:b,deletingMenuItemIds:C,isLink:g,onCancel:w}){var x=sn(1);try{const{t:S}=Gt(),E=it(""),N=it(!1),_=it(Date.now()),P=it(!1),I=it(void 0),T=it(void 0),A=it(void 0),L=it(void 0),{updateMenuItemById:z}=wx(),Y=v.useRef(null),O=Co(E.value,300),{metadataLinkByItemId:$,invalidateLinkMetadataByItemId:M}=bx(g,t),W=($==null?void 0:$.linkTitle)&&($==null?void 0:$.linkDomain);v.useEffect(()=>{E.value=e!=null?e:""},[e]),v.useEffect(()=>{if(g){const F=$r().match(E.value);!F||F.length>1?I.value=!0:I.value=!1}},[g]);const V=v.useCallback(H=>ge(this,null,function*(){const q=e===E.value?e:H;h&&q.length>5&&Ln("check_path",{path:q}).then(()=>{T.value=!1}).catch(()=>{T.value=!0})}),[h]);v.useEffect(()=>{h&&O.length>5&&V(O)},[h,O]),v.useEffect(()=>{(I.value||T.value||L.value||A.value)&&P.value&&(N.value=!0)},[I.value,T.value,A.value,L.value,P.value]);const U=(H=!1)=>ge(this,null,function*(){if(cl.value){id.value=!0;return}let F=null;if(id.value=!1,N.value=!1,P.value=!0,I.value=void 0,T.value=void 0,H)F=h?"Error":null;else{if(g){const X=$r().match(E.value);if(!X||X.length>1){I.value=!0;return}}if(h)try{F=yield Ln("path_type_check",{path:E.value})}catch(q){F="Error",T.value=!0;return}}yield z({updatedItem:ae(R({value:E.value},F&&h?{pathType:F}:{}),{itemId:t})}),setTimeout(()=>{P.value=!1,w()},200)}),J=v.useMemo(()=>n?S("TypeMenu:::Code Snippet",{ns:"common"}):u?S("TypeMenu:::Image",{ns:"common"}):g?S("TypeMenu:::Link or Email",{ns:"common"}):h?S("TypeMenu:::Link or File, Path or App",{ns:"common"}):S("TypeMenu:::Plain Text",{ns:"common"}),[n,u,g,h]);return o.jsx(Fh,{className:Pn("px-2 pr-1.5 pb-1.5 m-0.5 mt-0 pt-1 mx-1 text-left flex flex-row rounded-md select-auto",d&&"bg-red-50 dark:bg-red-900"),children:o.jsxs(te,{className:"w-full mt-0",children:[a?o.jsx(te,{className:"mt-2",children:o.jsx(me,{className:"gap-1 w-full justify-start",children:o.jsx(re,{className:"font-semibold",size:"sm",children:S("Clip value can't edit",{ns:"menus"})})})}):o.jsx(o.Fragment,{children:u?o.jsxs(te,{className:"px-0 py-1.5 flex items-center justify-center relative",children:[o.jsx("img",{src:m||ih,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-400"}),o.jsx(te,{className:"absolute",children:m?o.jsx(YU,{id:t,isMenu:!0}):o.jsx(qU,{id:t})})]}):h?o.jsxs(me,{className:"relative text-normal",children:[o.jsx(wn,{defaultValue:E.value,placeholder:S("Enter full path to file, folder or application",{ns:"dashboard"}),classNameInput:"pr-10 text-sm focus:border- ".concat(T.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(T.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:o.jsx(te,{className:"absolute top-3 right-4",children:T.value?o.jsx(st,{text:S("File, folder or app path might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):T.value===!1&&o.jsx(st,{text:S("File, folder or app path is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:H=>{E.value=H.target.value}},_.value),o.jsx(KU,{onCallBack:H=>{_.value=Date.now(),E.value=H}})]}):g?o.jsxs(me,{className:"relative text-normal mt-1 flex-col",children:[o.jsx(wn,{defaultValue:E.value,placeholder:S("Enter web link or email",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(I.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(I.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:o.jsx(te,{className:"absolute top-3 right-2",children:I.value?o.jsx(st,{text:S("Web Link or Email might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 dark:text-slate-200 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(Ti,{size:18,className:"text-yellow-500 cursor-pointer"})}):I.value===!1&&o.jsx(st,{text:S("Web or Email link is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 dark:text-slate-200 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:o.jsx(en,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:H=>{if(I.value&&(I.value=void 0),H.target.value.length>5){const q=$r().match(H.target.value);!q||q.length>1?I.value=!0:I.value=!1}E.value=H.target.value}}),W&&o.jsx(te,{className:"self-start mt-2 mb-0 text-xs w-full select-none overflow-hidden",children:o.jsx(H0,{isDisabled:Dr(E.value)!==($==null?void 0:$.linkUrl),title:$==null?void 0:$.linkTitle,description:$==null?void 0:$.linkDescription,favicon:$==null?void 0:$.linkFavicon,link:$==null?void 0:$.linkUrl,image:$==null?void 0:$.linkImage,imageWidth:12,domain:$==null?void 0:$.linkDomain})}),o.jsxs(me,{className:"w-full mt-1 justify-start select-none",children:[Uc(E.value)||I.value||E.value.length<3?!Uc(E.value)&&o.jsx(Se,{disabled:!0,variant:"ghost",className:"!px-1 !m-0 !h-4",children:W?o.jsxs(re,{className:"!text-grey-500",size:"xs",children:[o.jsx(K2,{size:13,className:"mr-1"}),S("Update Link Card",{ns:"dashboard"})]}):o.jsxs(re,{className:"!text-grey-500",size:"xs",children:[o.jsx(vv,{size:13,className:"mr-1"}),S("Add Link Card",{ns:"dashboard"})]})}):o.jsx(Se,{variant:"ghost",className:"px-1 !m-0 !h-4 hover:bg-transparent",onClick:()=>ge(this,null,function*(){yield Ln("fetch_link_metadata",{url:Dr(E.value),itemId:t}),M()}),children:W?o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[o.jsx(K2,{size:13,className:"mr-1"}),S("Update Link Card",{ns:"dashboard"})]}):o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[o.jsx(vv,{size:13,className:"mr-1"}),S("Add Link Card",{ns:"dashboard"})]})}),W&&o.jsx(Se,{variant:"ghost",className:"px-1 ml-auto !h-4 hover:bg-transparent",onClick:()=>ge(this,null,function*(){yield Ln("delete_link_metadata",{itemId:t}),M()}),children:o.jsxs(re,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[S("Remove",{ns:"common"}),o.jsx(gv,{size:14,className:"ml-1"})]})})]})]}):n?o.jsx(X6,{value:E.value,height:"200px",isDark:b,options:{mode:r!=null?r:"javascript"},onChange:H=>{E.value=H.getValue()}},"code-editor"):o.jsxs(o.Fragment,{children:[o.jsxs(te,{className:"text-slate-400 flex gap-1.5 px-0.5 p-1.5 pt-0.5 items-center",children:[o.jsx(st,{isCompact:!0,text:S("Toolbar:::Copy and Paste Formatting",{ns:"common"}),children:o.jsx(xz,{size:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var H;(H=Y==null?void 0:Y.current)==null||H.handleAddBBcode("copy")}})}),o.jsx(st,{isCompact:!0,text:S("Toolbar:::Masked Text Formatting",{ns:"common"}),children:o.jsx(lk,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var H;(H=Y==null?void 0:Y.current)==null||H.handleAddBBcode("mask")}})}),o.jsx(st,{isCompact:!0,text:S("Toolbar:::Blank Text Formatting",{ns:"common"}),children:o.jsx($U,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var H;(H=Y==null?void 0:Y.current)==null||H.handleAddBBcode("blank")}})}),o.jsx(st,{isCompact:!0,text:S("Toolbar:::Hightlight Text Formatting",{ns:"common"}),children:o.jsx(zU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var H;(H=Y==null?void 0:Y.current)==null||H.handleAddBBcode("hl")}})}),o.jsx("div",{tabIndex:-1,className:"ml-auto mr-0.5",children:o.jsx(st,{isCompact:!0,text:S("Toolbar:::Remove Text Formatting",{ns:"common"}),asChild:!0,children:o.jsx(Nz,{size:17,className:"hover:text-red-500 dark:hover:text-red-700 cursor-pointer",onClick:()=>{var H;(H=Y==null?void 0:Y.current)==null||H.handleRemoveBBcodes(["copy","mask","blank","hl","h","b","i"])}})})})]}),o.jsx(ko,{ref:Y,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:"Enter paste value",rows:2,autoFocus:!cl.value,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:6,value:E.value,onKeyDown:H=>{H.stopPropagation()},onChange:H=>{E.value=H.target.value}})]})}),o.jsxs(me,{className:"w-full justify-start items-center select-none",children:[o.jsxs(me,{className:"items-start mt-2",children:[o.jsx(F5e,{isCode:n,isLink:g,isPath:h,isText:s,isImage:u,itemId:t,detectedLanguage:r,children:o.jsx(te,{children:o.jsx(st,{text:J,isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"px-2 h-8 text-slate-500 border-0 dark:hover:bg-slate-800/80 bg-slate-200 dark:bg-slate-800 text-sm group hover:text-blue-500 dark:hover:!text-blue-600",children:n?o.jsxs(o.Fragment,{children:[o.jsx(Z8,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:S("Type:::Code",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):u?o.jsxs(o.Fragment,{children:[o.jsx(q2,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:S("Type:::Image",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):h?o.jsxs(o.Fragment,{children:[o.jsx(J8,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:S("Type:::Path",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):g?o.jsxs(o.Fragment,{children:[o.jsx(E0,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:S("Type:::Link",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]}):o.jsxs(o.Fragment,{children:[o.jsx(V2,{size:16}),o.jsx(re,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:S("Type:::Text",{ns:"common"})}),o.jsx(Bn,{size:12,className:"ml-1"})]})})})})})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(st,{text:S("Menu Options",{ns:"menus"}),isCompact:!0,side:"bottom",asChild:!0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1 h-8 w-8 text-slate-500 border-0 hover:text-blue-500 dark:group-hover:!text-blue-400",children:o.jsx(Ah,{size:16})})})})}),o.jsxs(Wn,{className:"",sideOffset:12,align:"center",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{children:S("Menu Options",{ns:"menus"})})}),o.jsx(kn,{}),o.jsxs(rt,{className:i?"font-semibold":"",onClick:H=>{H.preventDefault(),z({updatedItem:{isMasked:!i,itemId:t}})},children:[S("Type:::Secret",{ns:"common"}),i&&o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(en,{size:15,className:"fill-transparent"})})]}),o.jsxs(rt,{className:l?"font-semibold":"",onClick:H=>{H.preventDefault(),z({updatedItem:{isVideo:!l,itemId:t}})},children:[S("Type:::Video",{ns:"common"}),l&&o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(en,{size:15,className:"fill-transparent"})})]}),o.jsxs(rt,{className:p?"font-semibold":"",onClick:H=>{H.preventDefault(),z({updatedItem:{hasEmoji:!p,itemId:t}})},children:[S("Type:::Emoji",{ns:"common"}),p&&o.jsx("div",{className:"ml-auto pl-2",children:o.jsx(en,{size:15,className:"fill-transparent"})})]}),o.jsx(kn,{}),o.jsx(H5e,{itemId:t,onComplete:w,deletingMenuItemIds:C})]})]})]}),o.jsxs(me,{className:"items-end ml-auto mt-1",children:[o.jsx(st,{text:S("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{w()},children:o.jsx(In,{size:18})})})}),o.jsxs(Ca,{defaultOpen:!1,open:N.value,children:[o.jsx(Sa,{asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsxs(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>{U()},children:[o.jsx(en,{size:18,className:"mr-1"}),S("Save",{ns:"common"})]})})}),o.jsx(aa,{sideOffset:16,align:"center",onEscapeKeyDown:()=>{N.value=!1,P.value=!1},onPointerDownOutside:()=>{N.value=!1,P.value=!1},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",children:o.jsxs(me,{className:"flex-col p-1.5 rounded-md",children:[o.jsx(re,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone text-yellow-600",children:I.value?"Please verify your link for any errors, or confirm to save as is.":T.value?"Please verify your path for any errors, or confirm to save as is.":A.value?"Please verify your command for any errors, or confirm to save as is.":L.value?"Please verify your command output template for any errors, or confirm to save as is.":"Are you sure you want to save this?"}),o.jsx(Rn,{h:3}),o.jsxs(me,{className:"mb-1",children:[o.jsx(Se,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{N.value=!1,P.value=!1},children:S("Cancel",{ns:"common"})}),o.jsx(Se,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200 whitespace-nowrap",onClick:()=>{U(!0)},children:S("Save It!",{ns:"common"})})]})]})})]})]})]})]})})}finally{x.f()}}function U5e({isClip:t,itemId:e,isOpen:n,label:r}){var s=sn(1);try{const{t:a}=Gt(),i=it(!1),l=it(""),{updateMenuItemById:u}=wx(),d=it(cl.value);return v.useEffect(()=>{i.value=!1,l.value=r!=null?r:"",cl.value=d.value,t&&(d.value=!1)},[d.value]),o.jsx(me,{className:"justify-start w-full",children:d.value?o.jsxs(o.Fragment,{children:[o.jsx(st,{open:i.value||id.value,asChild:!0,text:id.value?a("Unsaved label",{ns:"common"}):l.value.length<=V8?a("Too short",{ns:"common"}):a("Too long",{ns:"common"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:o.jsx(wn,{small:!0,autoFocus:cl.value,className:"bg-white rounded-md text-sm font-semibold w-full",placeholder:a("Enter menu label",{ns:"menus"}),onKeyDown:p=>ge(this,null,function*(){p.stopPropagation(),p.key==="Escape"?d.value=!1:p.key==="Enter"&&(!l.value.length||l.value.length>N1)?i.value=!0:p.key==="Enter"&&(yield u({updatedItem:{name:l.value,itemId:e}}),setTimeout(()=>{d.value=!1,n||th()},200))}),defaultValue:r,onFocus:p=>{r!=null&&r.startsWith("New ")&&p.target.select()},onChange:p=>{i.value&&p.target.value.length<=N1&&i.value&&p.target.value.length>0&&(i.value=!1),l.value=p.target.value}})}),o.jsxs(me,{className:"ml-1",children:[o.jsx(st,{text:a("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,isDisabled:id.value,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>ge(this,null,function*(){if(id.value&&(id.value=!1),!l.value.length||l.value.length>N1){i.value=!0;return}i.value||(yield u({updatedItem:{name:l.value,itemId:e}}),setTimeout(()=>{d.value=!1,n||th()},200))}),children:o.jsx(en,{size:18})})})}),o.jsx(st,{text:a("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(te,{tabIndex:0,children:o.jsx(Se,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{d.value=!1,n||th()},children:o.jsx(In,{size:18})})})})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(re,{className:"text-ellipsis !block overflow-hidden whitespace-nowrap ".concat(t?"":"border-dashed border-b border-slate-400 hover:border-gray-400"),onClick:()=>{d.value=!0},color:"black",children:r}),t?o.jsx(te,{className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:o.jsx(st,{text:a("Menu is a link to Clip. You can't edit the label directly",{ns:"menus"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(ux,{size:14})})}):o.jsx(te,{onClick:()=>{d.value=!0},className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:o.jsx(st,{text:a("Rename",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:o.jsx(Fd,{size:14})})})]})})}finally{s.f()}}function kW({triggerProps:t,contentProps:e,isSelected:n,hasMultipleSelectedItems:r,isCreatingMenuItem:s,isFirstItem:a,isLastItem:i,isForm:l,isWebRequest:u,isWebScraping:d,isCommand:p,isSeparator:h,indent:m=0,item:b,hasChildren:C,isOpen:g,isClip:w,showEditMenuItemId:x,onFolderClose:S,onFolderOpen:E,showMultiSelectItems:N,deletingMenuItemIds:_,isClosedFolder:P,setSelectedItemIds:I,deselectItemById:T,selectItemById:A,setOpenItemId:L,globalSearchTerm:z,isDark:Y,closeGlobalSearch:O,id:$,label:M,children:W}){var V=sn(1);try{const{t:U}=Gt(),{isFolder:J,isDisabled:H,isActive:F}=b,q=v.useMemo(()=>{var De,Ye;return(Ye=(De=_.value)==null?void 0:De.includes($))!=null?Ye:!1},[_.value,$]),X=it(!1),ne=s.value&&(a||n&&i),ee=s.value&&(i||n),[G,Z,le,se]=$h({}),[de,ce,pe]=zh({}),ve=v.useRef(null),ye=v.useRef(null),be=b.createdAt&&b.createdAt>Math.floor(Date.now())-60*1e3,Ee=(Iy.value===$||X.value)&&!N.value,Fe=!H&&F&&!J&&!h,qe=x.value===$,ot=G===$,Ve=de===$,Ke=se===$,lt=de===$?ce:void 0;return o.jsxs(o.Fragment,{children:[ne&&o.jsxs(me,{className:Pn("flex flex-col justify-center items-center my-1.5 mb-0 animate-in fade-in duration-300 ease-in-out transition-opacity",m>0&&"ml-[".concat(m*30,"px]")),children:[o.jsx(jw,{isCreatingMenuItem:s,showEditMenuItemId:x,isDark:Y,currentMenuItemId:$,parentId:null,orderNumber:i?b.orderNumber+1:0}),o.jsx("div",{className:"h-[8px] w-[2px] bg-slate-400 opacity-20 dark:opacity-100"})]}),o.jsxs(L0,{onOpenChange:De=>{X.value=De},children:[o.jsx(R0,{ref:ye,disabled:!Ee&&!n||!!z,children:o.jsxs(te,{className:"relative menu-item_tour",children:[(ot||Ve)&&!lt?o.jsx(te,{className:"z-100 w-full flex justify-center fade-in-animation absolute ".concat(a?"top-[-6px]":"top-[-10px]"," ").concat(m>0?"ml-[".concat(m*10,"px]"):""),children:l?o.jsxs(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] mr-[-8px] text-[10px] uppercase font-semibold border-0",children:[U("Running",{ns:"common"}),"..."]}):o.jsxs(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[o.jsx(en,{size:14,className:"mr-1"}),ot?U("Copied",{ns:"common"}):Ve?U("Pasted",{ns:"common"}):""]})}):lt&&ce>0&&o.jsx(te,{className:"z-100 w-full flex justify-center fade-in-animation absolute ".concat(a?"top-[-6px]":"top-[-10px]"," ").concat(m>0?"ml-[".concat(m*10,"px]"):""),children:l?o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:U("Run in {{pastingCountDown}}...",{ns:"common",pastingCountDown:ce})}):o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:U("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:ce})})}),o.jsxs(te,{onMouseEnter:()=>{Iy.value=$!=null?$:null},onMouseLeave:()=>{Iy.value=null},onClick:De=>{if(!N.value){if(De.stopPropagation(),Iy.value=$!=null?$:null,De.shiftKey){if(h)return;if(J){P?E($):S($);return}x.value||L==null||L(g?null:$);return}if(De.metaKey||De.ctrlKey){n?T==null||T($):A==null||A($);return}I==null||I([$])}},className:Pn("rounded-lg border-2 bg-card text-card-foreground shadow-sm flex flex-col","duration-200 ease-in-out transition-none",m>0&&"ml-[".concat(m*30,"px]"),!ee&&!ne?"my-1.5":"",n&&!a&&!i?"mt-1.5":"",a&&ne&&!n?"mb-1.5":"",i&&ee&&!n?"mt-1.5":"",n?"border-slate-400/70 dark:border-slate-600":"dark:border-slate-700/80",q&&"!border-red-400 dark:!border-red-800",Wi.value&&n&&!C&&"!border-red-400 dark:!border-red-800",g?"max-w-[340px] min-w-[270px]":"w-[270px]",qe&&"max-w-[340px] min-w-[340px]",(ot||Ve)&&"!border-green-600 dark:!border-green-700","transition-transform",ad.value===$&&"pulse-clip"),children:[o.jsx(lB,{className:"flex",children:o.jsx(GE,ae(R({onDoubleClickCapture:De=>{if(qe||De.shiftKey||!Fe||X.value){De.preventDefault();return}if(De.altKey||De.metaKey){if(l){pe($,void 0,!0);return}pe($)}else Z($)}},t),{asChild:!0,className:Pn("group bg-white text-slate-600 dark:text-slate-400 dark:bg-slate-900 flex w-full select-none items-center justify-between rounded-md pl-2 pr-1 py-[6px] text-left text-sm font-medium cursor-pointer","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75 items-center justify-between",(n||g)&&"bg-slate-100/90 dark:bg-slate-950/80 dark:text-slate-300",Ee&&!(n||g)&&"!bg-slate-50/60 dark:!bg-slate-950/60",r&&n&&"bg-amber-50 dark:bg-amber-950/80",q&&"!bg-red-50 dark:!bg-red-950",!F&&"not-active-background bg-slate-100 text-slate-400 line-through dark:bg-slate-900 dark:text-slate-600",Wi.value&&n&&!C&&"!bg-red-50 dark:!bg-red-950/80",(ot||Ve)&&"!bg-green-50 dark:!bg-green-900",t==null?void 0:t.className),children:o.jsxs(me,{className:"relative",children:[o.jsxs(me,{className:Pn("mx-1 mr-3 whitespace-nowrap overflow-hidden text-[15px] w-full",N.value&&"ml-0",n||be?"font-semibold":"font-normal",H?"text-gray-500/60":""),children:[N.value&&o.jsx(te,{className:"flex flex-row items-center pr-2.5 z-100",children:o.jsx("input",{type:"checkbox",className:"form-checkbox h-[16px] w-[16px] bg-slate-400",onChange:()=>{n?T==null||T($):A==null||A($)},checked:n},$)}),J&&o.jsx(me,{className:"mr-1.5",children:P?o.jsx(e0,{size:17}):o.jsx(wz,{size:17})}),h?o.jsx("hr",{className:"h-[1px] border-t-0 bg-slate-600 opacity-30 dark:opacity-50 w-full"}):o.jsx(o.Fragment,{children:qe?o.jsx(U5e,{label:M,itemId:$,isOpen:g,isClip:w}):o.jsxs(te,{className:"whitespace-nowrap overflow-hidden text-ellipsis w-full",children:[z?ql(M,z):M,w&&o.jsx(st,{text:U("Menu is a link to a clip",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(ux,{size:13,className:"ml-1.5 inline"})})]})})]}),(Ee||n||g||qe)&&!N.value?o.jsxs(me,{className:"h-[24px]",children:[h?o.jsx(o.Fragment,{children:o.jsx(te,{className:"h-[23px]"})}):o.jsx(me,{className:"gap-1 animate-in fade-in duration-100",children:J?!qe&&o.jsxs(mr,{onClick:()=>{P?E($):S($)},className:Pn("relative w-[24px] h-[24px] mr-1 group-hover:opacity-100 rounded-md transition-opacity text-slate-400 cursor-pointer flex items-center justify-center",g?"opacity-100":"opacity-20"),children:[o.jsx(j0,{size:"18px",className:Pn("absolute transform duration-300 ease-in-out",P?"rotate-0 opacity-1":"rotate-0 opacity-0")}),o.jsx(Bn,{size:"18px",className:Pn("absolute transform duration-300 ease-in-out",P?"rotate-[-90deg] opacity-0":"rotate-0 opacity-1")})]}):!qe&&o.jsxs(o.Fragment,{children:[Fe&&o.jsx(mr,{className:"hover:bg-transparent hover:text-green-600 text-slate-400",onClick:()=>{Tn.value?l?pe($,void 0,!0):pe($):Z($)},children:l?o.jsx(st,{text:U("Type:::Run Auto Fill",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Ke||Ve&&!lt?o.jsx(l0,{}):o.jsx(pw,{width:16,height:16})}):u||d||p?o.jsx(st,{text:Tn.value?U("Run and Paste Response",{ns:"common"}):U("Run and Copy Response",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:16}):Ke?o.jsx(l0,{}):o.jsx(pw,{width:16,height:16})}):o.jsx(st,{text:Tn.value?U("Copy and Paste",{ns:"common"}):U("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Tn.value?o.jsx(Ps,{size:16}):o.jsx(ya,{size:16})})}),H?o.jsx(st,{text:U("Disabled Menu",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(t0,{size:16,className:"opacity-50 mr-1.5"})}):o.jsx(o.Fragment,{children:!x.value&&!z&&o.jsxs(mr,{onClick:De=>{De.stopPropagation(),L==null||L(g?null:$)},className:Pn("relative hover:bg-transparent w-[25px] h-[24px] mr-0 hover:text-slate-500 rounded-md transition-opacity text-slate-400 cursor-pointer flex items-center justify-center"),children:[o.jsx(Pae,{size:"18px",className:Pn("absolute transform duration-300 ease-in-out",g?"rotate-180 opacity-1":"rotate-0 opacity-0")}),o.jsx(Dae,{size:"18px",className:Pn("absolute transform duration-300 ease-in-out",g?"rotate-180 opacity-0":"rotate-0 opacity-1")})]})})]})}),qe?o.jsx(o.Fragment,{children:!cl.value&&o.jsx(mr,{className:"mr-1",onClick:()=>{th()},children:o.jsx(st,{text:U("Close Edit",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(In,{size:18})})})}):z?o.jsx(Se,{variant:"ghost",size:"mini",className:"pl-2 pr-1 text-slate-400 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-blue-500",onClick:()=>{ad.value=$,O==null||O()},ref:ve,children:o.jsx(st,{text:U("Locate Menu",{ns:"contextMenus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(h5,{size:18})})}):o.jsx(Se,{variant:"ghost",size:"mini",className:"pr-0.5 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-slate-600",onClick:De=>{var He,mt,Ue;De.stopPropagation();const Ye=(He=ve==null?void 0:ve.current)==null?void 0:He.getBoundingClientRect().x,dt=(mt=ve==null?void 0:ve.current)==null?void 0:mt.getBoundingClientRect().y;(Ue=ye==null?void 0:ye.current)==null||Ue.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:Ye,clientY:dt&&dt+30}))},ref:ve,children:o.jsx(st,{text:U("Options",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(xl,{size:18})})})]}):o.jsx(te,{className:"h-[24px]"}),be&&o.jsx(ec,{className:"absolute text-green-400 dark:text-green-600 pointer-events-none top-[-5px] right-[-5px] animate-in fade-in duration-500",size:28})]})}))}),o.jsx(YE,ae(R({},e),{className:Pn("overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",q&&"bg-red-50 dark:bg-red-900"),children:W}))]})]})}),(Ee||n)&&o.jsx(P5e,{id:$,isSelected:n,isDisabled:H,setSelectedItemIds:I,isActive:F,hasChildren:C,isClip:w,isImage:b.isImage,isFolder:J,itemParentId:b.parentId,isSeparator:h,setOpenItemId:L,isOpen:g,itemOrderNumber:b.orderNumber,deletingMenuItemIds:_,deselectItemById:T,selectItemById:A})]}),ee&&o.jsxs(me,{className:Pn("flex flex-col justify-center items-center mb-2 mt-0 animate-in fade-in duration-300 ease-in-out transition-opacity",m>0&&"ml-[".concat(m*30,"px]")),children:[o.jsx("div",{className:"h-[8px] w-[2px] bg-slate-400 opacity-20 dark:opacity-100"}),o.jsx(jw,{isCreatingMenuItem:s,showEditMenuItemId:x,currentMenuItemId:$,isDark:Y,parentId:J&&!P?$:b.parentId,orderNumber:J&&P||!J?b.orderNumber+2:0})]})]})}finally{V.f()}}const Mo={CLIPS:"clips",BOARDS:"boards",MENUS:"menus"};function W5e({isDark:t}){var F,q;const{t:e}=Gt(),[n,r]=v.useState(""),[s,a]=v.useState(Mo.CLIPS),i=v.useRef(),l=Ds(null),u=Ds(null),d=Ds(!1),p=Ds(!1),{isWindows:h}=Tt(Is),{setIsAutoCloseOnCopyPaste:m,isAutoCloseOnCopyPaste:b,setIsSearchNameOrLabelOnly:C,isSearchNameOrLabelOnly:g}=Tt(Cr),[w]=$h({}),[x]=zh({}),{clipItems:S,tabs:E,setCurrentTab:N}=Tt(Ir),{collectionWithClips:_,fetchCollectionWithClips:P}=_B(),{collectionWithMenuItems:I,fetchCollectionWithMenuItems:T}=gge(),A=la(),{menuItems:L}=Tt(Ir),z=Co(n,300),[Y,O]=v.useState(!1),$=X=>{var ne;X.preventDefault(),X.stopPropagation(),O(ee=>!ee),(ne=i.current)==null||ne.focus()},M=v.useMemo(()=>z.length>1,[z]),W=v.useMemo(()=>{if(z.length<=1||!Y)return{results:[],count:0};const X=L.length>0?L:(I==null?void 0:I.items)||[],ne=X.length>0?Pv(X,null,!1):[],ee=le=>{var se,de,ce;return le.name.toLowerCase().includes(z.toLowerCase())||(se=le.value)!=null&&se.toLowerCase().includes(z.toLowerCase())&&!g?!0:(ce=(de=le.children)==null?void 0:de.some(ee))!=null?ce:!1},G=(le,se=0)=>{let de=[];return le.forEach(ce=>{var ye;const pe=ee(ce),ve=X.find(be=>be.itemId===ce.id);if(ve&&pe){const be=ae(R({},ve),{indent:se,id:ce.id});if(de.push(be),ce.children&&((ye=ce.children)==null?void 0:ye.length)>0){const Ee=G(ce.children,se+1);de=de.concat(Ee)}}}),de},Z=G(ne);return{results:Z,count:Z.length}},[L,z,Y,I==null?void 0:I.items,g]),V=v.useMemo(()=>{if(z.length<=1||!Y)return{results:[],count:0};const X=S.length>0?S:(_==null?void 0:_.clips)||[];return SI(X,z,E,g)},[S,z,Y,_,g]),U=v.useMemo(()=>{if(z.length<=1||!Y)return{results:[],count:0};const X=S.length>0?S:(_==null?void 0:_.clips)||[];return SI(X,z,E,g,!0)},[S,z,Y,_,g]),J=()=>{A("/history",{replace:!0}),O(!1)},H=()=>{A("/menu",{replace:!0}),O(!1)};return v.useEffect(()=>{Y||(QT.value=n,r(""))},[Y]),v.useEffect(()=>{M&&S.length===0&&P(),M&&L.length===0&&T()},[M,P,T]),v.useEffect(()=>{Y||(QT.value=n,r(""))},[Y]),Us(["meta+k","control+k"],$,{},[]),Us("/",$,{},[]),v.useEffect(()=>{!M||V.count>0?a(Mo.CLIPS):U.count>0?a(Mo.BOARDS):W.count>0&&a(Mo.MENUS)},[V.count,U.count,M]),v.useEffect(()=>{Y&&(w||x)&&b&&setTimeout(()=>{O(!1)},1e3)},[w,x,Y]),o.jsx(o.Fragment,{children:o.jsxs(Ca,{defaultOpen:!1,modal:!1,open:Y,onOpenChange:()=>{O(!Y)},children:[o.jsx(Sa,{asChild:!0,children:o.jsxs(te,{id:"navbar-search_tour",className:"flex flex-row bg-slate-100 dark:bg-slate-800 rounded-md p-0 items-center relative ml-2",children:[o.jsx(Hd,{placeholder:"".concat(e("GlobalSearch:::Search",{ns:"navbar"})," ..."),type:"search",id:"global-search",value:n,onChange:X=>{r(X.target.value)},ref:pl(i),onFocus:()=>{O(!0)},iconLeft:o.jsx(n0,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md min-w-[120px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-800 border-r-0 border-t-0 border-b-0 h-8"}),!Y&&o.jsx(me,{className:"absolute right-2 text-slate-400/90 animate-in animate-out fade-in-out hover:text-slate-500 cursor-pointer",onClick:()=>{var X;O(!0),(X=i.current)==null||X.focus()},title:e("GlobalSearch:::Press / key to search",{ns:"navbar"}),children:o.jsx("svg",{width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"rounded-md flex items-center justify-center bg-slate-50 dark:bg-slate-900/60 p-[2px]",children:o.jsx("line",{x1:"16",x2:"8",y1:"5",y2:"18"})})})]})}),o.jsx(aa,{className:"overflow-hidden bg-gray-50 p-4 py-2 pb-3 pt-2 flex items-center flex-col w-fit rounded-md shadow-lg relative dark:bg-slate-800",sideOffset:4,onOpenAutoFocus:X=>{X.preventDefault()},onInteractOutside:X=>{X.preventDefault()},onCloseAutoFocus:X=>{X.preventDefault(),r(""),document.activeElement.blur()},children:o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"esc-key flex opacity-90 hover:opacity-100 hover:bg-opacity-100 justify-end w-[38px] h-[24px] rounded-sm top-2 left-2 absolute z-50 bg-slate-100/90 dark:bg-slate-900/90 cursor-pointer",onClick:()=>{O(!1)},title:e("Press ESC key to close",{ns:"common"})}),o.jsxs(Kn,{children:[o.jsx(Gn,{asChild:!0,children:o.jsx(te,{className:"flex opacity-90 hover:opacity-100 hover:bg-opacity-100 top-2 right-2 absolute z-50 text-slate-400 bg-slate-100/90 dark:bg-slate-900/90 cursor-pointer",onClick:()=>{O(!1)},title:e("GlobalSearch:::Search Options",{ns:"navbar"}),children:o.jsx(Ah,{size:14})})}),o.jsxs(Wn,{children:[o.jsx(rt,{disabled:!0,className:"p-0 justify-center text-[13px]",children:e("GlobalSearch:::Search Options",{ns:"navbar"})}),o.jsx(kn,{}),o.jsxs(rt,{onClick:X=>{X.preventDefault(),m(!b)},children:[o.jsx(me,{className:"mr-2",children:o.jsx(re,{className:"!text-[13px] mr-1 !font-medium ".concat(b?"":"text-slate-900/50"),children:e("GlobalSearch:::Auto Close on Copy & Paste",{ns:"navbar"})})}),o.jsx(ts,{checked:b,className:"ml-auto"})]}),o.jsxs(rt,{onClick:X=>{X.preventDefault(),C(!g)},children:[o.jsx(me,{className:"mr-2",children:o.jsxs(re,{className:"!text-[13px] mr-1 flex-col !items-start !font-medium ".concat(g?"":"text-slate-900/50"),children:[e("GlobalSearch:::Search Name or Label Only",{ns:"navbar"}),o.jsx("span",{className:"text-muted-foreground opacity-70 !text-[12px] block",children:e("GlobalSearch:::Excludes clip or menu values",{ns:"navbar"})})]})}),o.jsx(ts,{checked:g,className:"ml-auto"})]})," "]})]}),M&&o.jsx(hl,{className:"flex flex-row z-10 select-none pb-1.5 mb-1",value:s,onValueChange:X=>{a(X)},children:o.jsxs(Yo,{className:"self-center px-1 py-1 bg-slate-200 dark:bg-slate-900",children:[o.jsxs(jr,{value:Mo.CLIPS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[e("Clips:::Clips",{ns:"dashboard"}),o.jsx(St,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:V.count>99?"99+":V.count})]}),o.jsxs(jr,{value:Mo.BOARDS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[e("Boards",{ns:"dashboard"}),o.jsx(St,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:U.count>99?"99+":U.count})]}),o.jsxs(jr,{value:Mo.MENUS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[e("Menus",{ns:"menus"}),o.jsx(St,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:W.count>99?"99+":W.count})]})]})}),o.jsxs(or,{className:"flex-col",style:{height:"auto",maxHeight:"calc(100vh - 200px)",width:420},autoHide:!1,children:[s===Mo.CLIPS&&((F=V.results)==null?void 0:F.reduce((X,ne,ee)=>{const G=Math.floor(ee/1);return X[G]||(X[G]=[]),X[G].push(ne),X},[]).map((X,ne)=>o.jsx(te,{className:"mt-1 mb-2",children:X.map((ee,G)=>o.jsx(Sw,{board:ee,isDark:t,closeGlobalSearch:J,setCurrentTab:N,globalSearchTerm:z,isHistoryDragActive:!1,currentTabLayout:"auto",order:ee.orderNumber,isLastBoard:G===X.length-1,selectedItemIds:[],setSelectedItemId:()=>{}},"".concat(ne,"-").concat(G)))},"".concat(ne)))),s===Mo.BOARDS&&((q=U.results)==null?void 0:q.reduce((X,ne,ee)=>{const G=Math.floor(ee/1);return X[G]||(X[G]=[]),X[G].push(ne),X},[]).map((X,ne)=>o.jsx(te,{className:"mt-1 mb-2",children:X.map((ee,G)=>o.jsx(Sw,{board:ee,isDark:t,globalSearchTerm:z,setCurrentTab:N,closeGlobalSearch:J,isHistoryDragActive:!1,isGlobalSearchBoardsOnly:!0,currentTabLayout:"auto",order:ee.orderNumber,isLastBoard:G===X.length-1,selectedItemIds:[],setSelectedItemId:()=>{}},"".concat(ne,"-").concat(G)))},"".concat(ne)))),s===Mo.MENUS&&o.jsx(cB,{type:"single",collapsible:!0,className:"flex items-center flex-col",children:W.results.map((X,ne)=>o.jsx(ZE,{value:X.itemId,children:o.jsx(kW,{label:X.name,globalSearchTerm:z,closeGlobalSearch:H,isLastItem:ne===W.results.length-1,deletingMenuItemIds:l,isFirstItem:ne===0,isDark:t,showEditMenuItemId:u,hasChildren:X.hasChildren,isSeparator:X.isSeparator,showMultiSelectItems:d,hasSelectedItems:!1,id:X.itemId,item:X,isClip:X.isClip,isForm:X.isForm&&X.isClip,isWebRequest:X.isWebRequest&&X.isClip,isWebScraping:X.isWebScraping&&X.isClip,isCommand:X.isCommand&&X.isClip,isCreatingMenuItem:p,indent:X.indent,onFolderClose:()=>{},onFolderOpen:()=>{},isClosedFolder:!1,isSelected:!1,hasMultipleSelectedItems:!1,isOpen:!1,children:o.jsx(o.Fragment,{})})},"".concat(X.itemId)))}),M?o.jsx(o.Fragment,{children:V.count===0&&U.count===0&&W.count===0?o.jsx(te,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:e("GlobalSearch:::Nothing found in clips, boards or menus.",{ns:"navbar"})}):o.jsxs(o.Fragment,{children:[V.count===0&&s===Mo.CLIPS&&o.jsx(te,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:e("GlobalSearch:::Nothing found in clips.",{ns:"navbar"})}),U.count===0&&s===Mo.BOARDS&&o.jsx(te,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:e("GlobalSearch:::Nothing found in boards.",{ns:"navbar"})}),W.count===0&&s===Mo.MENUS&&o.jsx(te,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:e("GlobalSearch:::Nothing found in menus.",{ns:"navbar"})})]})}):o.jsxs(te,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-2 mt-2",children:[e("GlobalSearch:::Type what you looking for",{ns:"navbar"}),"..."]})]}),o.jsx(lu,{children:o.jsx(te,{className:"body-overlay bg-black/30 dark:bg-black/70 rounded-lg ".concat(h?"mb-1 mx-1 !mt-[43px]":""),onClick:()=>{O(!1)}})})]})})]})})}const V5e=1,CW=12e3;let XC=0;function q5e(){return XC=(XC+1)%Number.MAX_VALUE,XC.toString()}const QC=new Map,NI=t=>{if(QC.has(t))return;const e=setTimeout(()=>{QC.delete(t),cm({type:"REMOVE_TOAST",toastId:t})},CW);QC.set(t,e)},K5e=(t,e)=>{switch(e.type){case"ADD_TOAST":return ae(R({},t),{toasts:[e.toast,...t.toasts].slice(0,V5e)});case"UPDATE_TOAST":return ae(R({},t),{toasts:t.toasts.map(n=>n.id===e.toast.id?R(R({},n),e.toast):n)});case"DISMISS_TOAST":{const{toastId:n}=e;return n?NI(n):t.toasts.forEach(r=>{NI(r.id)}),ae(R({},t),{toasts:t.toasts.map(r=>r.id===n||n===void 0?ae(R({},r),{open:!1}):r)})}case"REMOVE_TOAST":return e.toastId===void 0?ae(R({},t),{toasts:[]}):ae(R({},t),{toasts:t.toasts.filter(n=>n.id!==e.toastId)})}},Hb=[];let F1={toasts:[]};function cm(t){F1=K5e(F1,t),Hb.forEach(e=>{e(F1)})}function G5e(e){var t=Ne(e,[]);const n=(t==null?void 0:t.id)||q5e(),r=u=>cm({type:"UPDATE_TOAST",toast:ae(R({},u),{id:n})}),s=()=>{var u;cm({type:"DISMISS_TOAST",toastId:n}),(u=t.onDismiss)==null||u.call(t)};if(t.id&&F1.toasts.some(d=>d.id===t.id))return cm({type:"UPDATE_TOAST",toast:ae(R({},t),{open:!0})}),{id:t.id,dismiss:s,update:r};const l=t,{onDismiss:a}=l,i=Ne(l,["onDismiss"]);return cm({type:"ADD_TOAST",toast:ae(R({duration:t.duration||CW},i),{id:n,open:!0,onOpenChange:u=>{u||s()}})}),{id:n,dismiss:s,update:r}}function Mx(){const t=Te(6),[e,n]=v.useState(F1);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>(Hb.push(n),()=>{const l=Hb.indexOf(n);l>-1&&Hb.splice(l,1)}),t[0]=r):r=t[0];let s;t[1]!==e?(s=[e],t[1]=e,t[2]=s):s=t[2],v.useEffect(r,s);let a;t[3]===Symbol.for("react.memo_cache_sentinel")?(a=l=>cm({type:"DISMISS_TOAST",toastId:l}),t[3]=a):a=t[3];let i;return t[4]!==e?(i=ae(R({},e),{toast:G5e,dismiss:a}),t[4]=e,t[5]=i):i=t[5],i}const SW=t=>{var e=sn(1);try{const n=Te(11),{className:r,showContactForm:s}=t,a=r===void 0?"":r,i=s===void 0?!0:s,l=dr.language==="ru",{themeDark:u}=Tt(yo),d=u(),p=vl(B0),{id:h}=Un.value||{},m="".concat(p?"https://license.pastebar.app/contact/?pro=true&licenseId=".concat(h,"&"):"https://license.pastebar.app/contact/?","source=app&locale=").concat(dr.language,"&dark=").concat(d?"true":"false"),{t:b}=Gt(),C="flex flex-wrap gap-4 justify-center items-center ".concat(a);let g;n[0]===Symbol.for("react.memo_cache_sentinel")?(g=l?o.jsx("div",{className:"flex justify-center",children:o.jsx("a",{href:"https://t.me/pastebar_ru",target:"_blank",title:"Telegram",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:o.jsx("span",{className:"w-7 h-7",children:o.jsx("svg",{fill:"currentColor",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M 26.070313 3.996094 C 25.734375 4.011719 25.417969 4.109375 25.136719 4.21875 L 25.132813 4.21875 C 24.847656 4.332031 23.492188 4.902344 21.433594 5.765625 C 19.375 6.632813 16.703125 7.757813 14.050781 8.875 C 8.753906 11.105469 3.546875 13.300781 3.546875 13.300781 L 3.609375 13.277344 C 3.609375 13.277344 3.25 13.394531 2.875 13.652344 C 2.683594 13.777344 2.472656 13.949219 2.289063 14.21875 C 2.105469 14.488281 1.957031 14.902344 2.011719 15.328125 C 2.101563 16.050781 2.570313 16.484375 2.90625 16.722656 C 3.246094 16.964844 3.570313 17.078125 3.570313 17.078125 L 3.578125 17.078125 L 8.460938 18.722656 C 8.679688 19.425781 9.949219 23.597656 10.253906 24.558594 C 10.433594 25.132813 10.609375 25.492188 10.828125 25.765625 C 10.933594 25.90625 11.058594 26.023438 11.207031 26.117188 C 11.265625 26.152344 11.328125 26.179688 11.390625 26.203125 C 11.410156 26.214844 11.429688 26.21875 11.453125 26.222656 L 11.402344 26.210938 C 11.417969 26.214844 11.429688 26.226563 11.441406 26.230469 C 11.480469 26.242188 11.507813 26.246094 11.558594 26.253906 C 12.332031 26.488281 12.953125 26.007813 12.953125 26.007813 L 12.988281 25.980469 L 15.871094 23.355469 L 20.703125 27.0625 L 20.8125 27.109375 C 21.820313 27.550781 22.839844 27.304688 23.378906 26.871094 C 23.921875 26.433594 24.132813 25.875 24.132813 25.875 L 24.167969 25.785156 L 27.902344 6.65625 C 28.007813 6.183594 28.035156 5.742188 27.917969 5.3125 C 27.800781 4.882813 27.5 4.480469 27.136719 4.265625 C 26.769531 4.046875 26.40625 3.980469 26.070313 3.996094 Z M 25.96875 6.046875 C 25.964844 6.109375 25.976563 6.101563 25.949219 6.222656 L 25.949219 6.234375 L 22.25 25.164063 C 22.234375 25.191406 22.207031 25.25 22.132813 25.308594 C 22.054688 25.371094 21.992188 25.410156 21.667969 25.28125 L 15.757813 20.75 L 12.1875 24.003906 L 12.9375 19.214844 C 12.9375 19.214844 22.195313 10.585938 22.59375 10.214844 C 22.992188 9.84375 22.859375 9.765625 22.859375 9.765625 C 22.886719 9.3125 22.257813 9.632813 22.257813 9.632813 L 10.082031 17.175781 L 10.078125 17.15625 L 4.242188 15.191406 L 4.242188 15.1875 C 4.238281 15.1875 4.230469 15.183594 4.226563 15.183594 C 4.230469 15.183594 4.257813 15.171875 4.257813 15.171875 L 4.289063 15.15625 L 4.320313 15.144531 C 4.320313 15.144531 9.53125 12.949219 14.828125 10.71875 C 17.480469 9.601563 20.152344 8.476563 22.207031 7.609375 C 24.261719 6.746094 25.78125 6.113281 25.867188 6.078125 C 25.949219 6.046875 25.910156 6.046875 25.96875 6.046875 Z"})})})})}):o.jsx("div",{className:"flex justify-center",children:o.jsx("a",{href:"https://discord.gg/RW27D63bZ3",target:"_blank",title:"Discord",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:o.jsx("span",{className:"w-7 h-7",children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 192 192",children:[o.jsx("path",{stroke:"currentColor",strokeWidth:"12",d:"m68 138-8 16c-10.19-4.246-20.742-8.492-31.96-15.8-3.912-2.549-6.284-6.88-6.378-11.548-.488-23.964 5.134-48.056 19.369-73.528 1.863-3.334 4.967-5.778 8.567-7.056C58.186 43.02 64.016 40.664 74 39l6 11s6-2 16-2 16 2 16 2l6-11c9.984 1.664 15.814 4.02 24.402 7.068 3.6 1.278 6.704 3.722 8.567 7.056 14.235 25.472 19.857 49.564 19.37 73.528-.095 4.668-2.467 8.999-6.379 11.548-11.218 7.308-21.769 11.554-31.96 15.8l-8-16m-68-8s20 10 40 10 40-10 40-10"}),o.jsx("ellipse",{cx:"71",cy:"101",fill:"currentColor",rx:"13",ry:"15"}),o.jsx("ellipse",{cx:"121",cy:"101",fill:"currentColor",rx:"13",ry:"15"})]})})})}),n[0]=g):g=n[0];let w;n[1]===Symbol.for("react.memo_cache_sentinel")?(w=o.jsx("div",{className:"flex justify-center",children:o.jsx("a",{href:"https://www.facebook.com/PasteBarApp",target:"_blank",title:"Facebook",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:o.jsx("span",{className:"w-7 h-7",children:o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 21V13.0001M12 13.0001V10.0001C12 8.02404 13.3537 7.03622 15.5 7.18462M12 13.0001L15 13.0001M12 13.0001H9",stroke:"currentColor",strokeWidth:"1.5"})})})})}),n[1]=w):w=n[1];let x;n[2]===Symbol.for("react.memo_cache_sentinel")?(x=o.jsx("div",{className:"flex justify-center",children:o.jsx("a",{href:"https://twitter.com/PasteBar_App",target:"_blank",title:"Twitter",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:o.jsx("span",{className:"w-7 h-7",children:o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M3.50003 4.50005C1.50012 7.99982 2.63692 13.738 7.63684 16.2382C6.52918 17.0001 4.50012 17.9999 2.50012 18.4998C7.00012 20.4999 11.5001 20.9999 16.0001 17.4999C19.4154 14.8436 20.1668 10.1666 20.0001 7.99991L22.5001 5.00023H19.0001C17.5001 3.49991 16.022 3.57155 14.5001 4.00017C12.724 4.50037 11.7934 6.34309 12.0001 8.49991C9.00012 8.99968 6.00012 6.99982 3.50003 4.50005Z",stroke:"currentColor",strokeWidth:"1.5"})})})})}),n[2]=x):x=n[2];let S;n[3]===Symbol.for("react.memo_cache_sentinel")?(S=o.jsx("div",{className:"flex justify-center",children:o.jsx("a",{href:"https://github.com/PasteBar",target:"_blank",title:"GitHub",className:"inline-flex flex-col justify-center items-center p-1.5 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:o.jsx("span",{className:"w-6 h-6",children:o.jsx("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:o.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm3.163 21.783h-.093a.513.513 0 0 1-.382-.14.513.513 0 0 1-.14-.372v-1.406c.006-.467.01-.94.01-1.416a3.693 3.693 0 0 0-.151-1.028 1.832 1.832 0 0 0-.542-.875 8.014 8.014 0 0 0 2.038-.471 4.051 4.051 0 0 0 1.466-.964c.407-.427.71-.943.885-1.506a6.77 6.77 0 0 0 .3-2.13 4.138 4.138 0 0 0-.26-1.476 3.892 3.892 0 0 0-.795-1.284 2.81 2.81 0 0 0 .162-.582c.033-.2.05-.402.05-.604 0-.26-.03-.52-.09-.773a5.309 5.309 0 0 0-.221-.763.293.293 0 0 0-.111-.02h-.11c-.23.002-.456.04-.674.111a5.34 5.34 0 0 0-.703.26 6.503 6.503 0 0 0-.661.343c-.215.127-.405.249-.573.362a9.578 9.578 0 0 0-5.143 0 13.507 13.507 0 0 0-.572-.362 6.022 6.022 0 0 0-.672-.342 4.516 4.516 0 0 0-.705-.261 2.203 2.203 0 0 0-.662-.111h-.11a.29.29 0 0 0-.11.02 5.844 5.844 0 0 0-.23.763c-.054.254-.08.513-.081.773 0 .202.017.404.051.604.033.199.086.394.16.582A3.888 3.888 0 0 0 5.702 10a4.142 4.142 0 0 0-.263 1.476 6.871 6.871 0 0 0 .292 2.12c.181.563.483 1.08.884 1.516.415.422.915.75 1.466.964.653.25 1.337.41 2.033.476a1.828 1.828 0 0 0-.452.633 2.99 2.99 0 0 0-.2.744 2.754 2.754 0 0 1-1.175.27 1.788 1.788 0 0 1-1.065-.3 2.904 2.904 0 0 1-.752-.824 3.1 3.1 0 0 0-.292-.382 2.693 2.693 0 0 0-.372-.343 1.841 1.841 0 0 0-.432-.24 1.2 1.2 0 0 0-.481-.101c-.04.001-.08.005-.12.01a.649.649 0 0 0-.162.02.408.408 0 0 0-.13.06.116.116 0 0 0-.06.1.33.33 0 0 0 .14.242c.093.074.17.131.232.171l.03.021c.133.103.261.214.382.333.112.098.213.209.3.33.09.119.168.246.231.381.073.134.15.288.231.463.188.474.522.875.954 1.145.453.243.961.364 1.476.351.174 0 .349-.01.522-.03.172-.028.343-.057.515-.091v1.743a.5.5 0 0 1-.533.521h-.062a10.286 10.286 0 1 1 6.324 0v.005z"})})})})}),n[3]=S):S=n[3];let E;n[4]!==i||n[5]!==b||n[6]!==m?(E=i&&o.jsx("div",{className:"flex justify-center",children:o.jsx("a",{href:m,target:"_blank",title:b("Contact Form",{ns:"common"}),className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:o.jsx("span",{className:"w-7 h-7",children:o.jsx("svg",{fill:"currentColor",viewBox:"0 0 32 32",children:o.jsx("path",{d:"M26.2 8.5C24 5.3 20.6 3.3 16.9 3H16c-3.7 0-7.2 1.6-9.7 4.3-2.5 2.7-3.6 6.4-3.2 10.1.7 6 5.5 10.8 11.5 11.4.4.2.9.2 1.4.2 2.6 0 5-.7 7.2-2.2.5-.3.6-.9.3-1.4-.3-.5-.9-.6-1.4-.3-2.2 1.4-4.7 2.1-7.3 1.8-5.1-.5-9.1-4.6-9.7-9.7-.4-3.1.6-6.2 2.7-8.5 2.3-2.5 5.6-3.9 9-3.6 3.2.2 6 1.9 7.8 4.6 1.9 2.9 2.4 6.3 1.3 9.6v.1c-.3 1-1.3 1.7-2.4 1.7-1.4 0-2.5-1.1-2.5-2.5V11c0-.6-.4-1-1-1s-1 .4-1 1c-.8-.6-1.9-1-3-1-2.8 0-5 2.2-5 5v2c0 2.8 2.2 5 5 5 1.4 0 2.6-.6 3.5-1.4.7 1.4 2.2 2.4 4 2.4 1.9 0 3.6-1.2 4.3-3.1v-.1c1.3-3.8.7-7.9-1.6-11.3zM19 17c0 1.7-1.3 3-3 3s-3-1.3-3-3v-2c0-1.7 1.3-3 3-3s3 1.3 3 3v2z"})})})})}),n[4]=i,n[5]=b,n[6]=m,n[7]=E):E=n[7];let N;return n[8]!==C||n[9]!==E?(N=o.jsxs("div",{className:C,children:[g,w,x,S,E]}),n[8]=C,n[9]=E,n[10]=N):N=n[10],N}finally{e.f()}};function Y5e(){const t=Te(53),{t:e}=Gt(),{setTheme:n,theme:r}=tk(),{mode:s,setMode:a}=Tt(yo);let i;t[0]!==r||t[1]!==s||t[2]!==a?(i=()=>{r!==s&&a(r)},t[0]=r,t[1]=s,t[2]=a,t[3]=i):i=t[3];let l;t[4]!==r?(l=[r],t[4]=r,t[5]=l):l=t[5],v.useEffect(i,l);let u;t[6]!==r?(u=r==="light"?o.jsx(zo.sun,{size:14,className:"ml-2"}):r==="dark"?o.jsx(zo.moon,{size:14,className:"ml-2"}):o.jsx(zo.sunmoon,{width:12,height:12,className:"ml-2"}),t[6]=r,t[7]=u):u=t[7];const d=u;let p;t[8]!==e?(p=e("Color Theme",{ns:"navbar"}),t[8]=e,t[9]=p):p=t[9];let h;t[10]!==p||t[11]!==d?(h=o.jsxs(bs,{children:[p," ",d]}),t[10]=p,t[11]=d,t[12]=h):h=t[12];const m=r==="light";let b;t[13]!==n?(b=()=>n("light"),t[13]=n,t[14]=b):b=t[14];let C;t[15]===Symbol.for("react.memo_cache_sentinel")?(C=o.jsx("span",{className:"flex tems-end",children:o.jsx(zo.sun,{className:"mr-2",size:17})}),t[15]=C):C=t[15];let g;t[16]!==e?(g=e("Theme:::Light",{ns:"navbar"}),t[16]=e,t[17]=g):g=t[17];let w;t[18]!==g?(w=o.jsx("span",{children:g}),t[18]=g,t[19]=w):w=t[19];let x;t[20]!==m||t[21]!==b||t[22]!==w?(x=o.jsxs(ga,{checked:m,onClick:b,children:[C,w]}),t[20]=m,t[21]=b,t[22]=w,t[23]=x):x=t[23];const S=r==="dark";let E;t[24]!==n?(E=()=>n("dark"),t[24]=n,t[25]=E):E=t[25];let N;t[26]===Symbol.for("react.memo_cache_sentinel")?(N=o.jsx("span",{className:"flex items-end",children:o.jsx(zo.moon,{className:"mr-2",size:15})}),t[26]=N):N=t[26];let _;t[27]!==e?(_=e("Theme:::Dark",{ns:"navbar"}),t[27]=e,t[28]=_):_=t[28];let P;t[29]!==_?(P=o.jsx("span",{children:_}),t[29]=_,t[30]=P):P=t[30];let I;t[31]!==S||t[32]!==E||t[33]!==P?(I=o.jsxs(ga,{checked:S,onClick:E,children:[N,P]}),t[31]=S,t[32]=E,t[33]=P,t[34]=I):I=t[34];const T=r==="system";let A;t[35]!==n?(A=()=>n("system"),t[35]=n,t[36]=A):A=t[36];let L;t[37]===Symbol.for("react.memo_cache_sentinel")?(L=o.jsx("span",{className:"flex w-[1.5rem] items-end",children:o.jsx(zo.sunmoon,{className:"mr-2",width:13,height:13})}),t[37]=L):L=t[37];let z;t[38]!==e?(z=e("Theme:::System",{ns:"navbar"}),t[38]=e,t[39]=z):z=t[39];let Y;t[40]!==z?(Y=o.jsx("span",{children:z}),t[40]=z,t[41]=Y):Y=t[41];let O;t[42]!==T||t[43]!==A||t[44]!==Y?(O=o.jsxs(ga,{checked:T,onClick:A,children:[L,Y]}),t[42]=T,t[43]=A,t[44]=Y,t[45]=O):O=t[45];let $;t[46]!==x||t[47]!==I||t[48]!==O?($=o.jsxs(ws,{children:[x,I,O]}),t[46]=x,t[47]=I,t[48]=O,t[49]=$):$=t[49];let M;return t[50]!==h||t[51]!==$?(M=o.jsxs(Os,{children:[h,$]}),t[50]=h,t[51]=$,t[52]=M):M=t[52],M}const ab=String.fromCharCode,ob={};function hk(t){var e,n;try{const r=eke(t.trim()),s=Z5e(r);return(n=JSON.parse((e=X5e(s))!=null?e:"{}"))!=null?n:{}}catch(r){throw console.error(r),new Error("Error parsing data.")}}(function(t,e){const n=Th,r=t();for(;;)try{if(-parseInt(n(230))/1*(parseInt(n(233))/2)+-parseInt(n(242))/3+parseInt(n(245))/4*(-parseInt(n(234))/5)+-parseInt(n(238))/6+-parseInt(n(229))/7*(parseInt(n(237))/8)+-parseInt(n(243))/9+-parseInt(n(240))/10*(-parseInt(n(246))/11)===e)break;r.push(r.shift())}catch(s){r.push(r.shift())}})(Ew,744619);function Z5e(t){const n=Th,r=Ise+"_1974";let s="";for(let a=0;a>=1,x[r(227)]==0&&(x[r(227)]=e,x[r(231)]=n(x[r(226)]++)),m|=(b>0?1:0)*g,g<<=1;switch(m){case 0:for(m=0,C=Math[r(244)](2,8),g=1;g!=C;)b=x[r(231)]&x.position,x.position>>=1,x[r(227)]==0&&(x[r(227)]=e,x[r(231)]=n(x[r(226)]++)),m|=(b>0?1:0)*g,g<<=1;w=ab(m);break;case 1:for(m=0,C=Math[r(244)](2,16),g=1;g!=C;)b=x[r(231)]&x[r(227)],x[r(227)]>>=1,x[r(227)]==0&&(x[r(227)]=e,x[r(231)]=n(x.index++)),m|=(b>0?1:0)*g,g<<=1;w=ab(m);break;case 2:return""}for(s[3]=w,h=w,d[r(236)](w);;){if(x.index>t)return"";for(m=0,C=Math.pow(2,l),g=1;g!=C;)b=x.val&x[r(227)],x[r(227)]>>=1,x.position==0&&(x[r(227)]=e,x[r(231)]=n(x[r(226)]++)),m|=(b>0?1:0)*g,g<<=1;switch(w=m){case 0:for(m=0,C=Math[r(244)](2,8),g=1;g!=C;)b=x[r(231)]&x.position,x[r(227)]>>=1,x[r(227)]==0&&(x.position=e,x[r(231)]=n(x[r(226)]++)),m|=(b>0?1:0)*g,g<<=1;s[i++]=ab(m),w=i-1,a--;break;case 1:for(m=0,C=Math.pow(2,16),g=1;g!=C;)b=x[r(231)]&x.position,x[r(227)]>>=1,x[r(227)]==0&&(x.position=e,x[r(231)]=n(x[r(226)]++)),m|=(b>0?1:0)*g,g<<=1;s[i++]=ab(m),w=i-1,a--;break;case 2:return d[r(232)]("")}if(a==0&&(a=Math[r(244)](2,l),l++),s[w])u=s[w];else if(w===i)u=h+h.charAt(0);else return null;d[r(236)](u),s[i++]=h+u[r(241)](0),a--,h=u,a==0&&(a=Math[r(244)](2,l),l++)}}function eke(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");const n="=".repeat((4-e.length%4)%4);return e+=n,decodeURIComponent(escape(atob(e)))}function jW(t){const e=Te(5);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=o.jsx("g",{fill:"none",stroke:"#888888",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"matrix(0.166612, 0, 0, 0.166612, 14.40597, 11.442867)"}),e[0]=n):n=e[0];let r,s;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=o.jsx("g",{transform:"matrix(0.764827, 0, 0, 0.764827, 2.823834, 2.82207)",children:o.jsx("path",{d:"M 12.886 0.233 C 14.248 0.233 15.368 1.262 15.514 2.587 L 17.588 2.587 C 18.98 2.587 20.133 3.663 20.229 5.053 L 20.235 5.234 C 20.234 5.673 19.91 6.047 19.474 6.106 L 19.351 6.116 C 18.911 6.116 18.538 5.791 18.479 5.354 L 18.47 5.234 C 18.47 4.794 18.145 4.42 17.707 4.358 L 17.588 4.35 L 15.08 4.35 C 14.588 5.083 13.765 5.52 12.886 5.519 L 8.761 5.519 C 7.881 5.52 7.058 5.083 6.567 4.351 L 4.059 4.35 C 3.617 4.35 3.245 4.677 3.185 5.114 L 3.176 5.234 L 3.176 21.121 C 3.176 21.569 3.508 21.936 3.939 21.995 L 4.059 22.004 L 7.587 22.004 C 8.027 22.004 8.402 22.329 8.463 22.765 L 8.471 22.885 C 8.471 23.372 8.075 23.767 7.587 23.767 L 4.059 23.767 C 2.666 23.768 1.512 22.691 1.418 21.303 L 1.412 21.121 L 1.412 5.234 C 1.412 3.841 2.488 2.687 3.878 2.592 L 4.059 2.587 L 6.133 2.587 C 6.281 1.247 7.412 0.233 8.761 0.233 L 12.886 0.233 Z M 12.886 1.998 L 8.761 1.998 C 8.084 2.023 7.689 2.771 8.048 3.344 C 8.203 3.59 8.47 3.744 8.761 3.754 L 12.886 3.754 C 13.562 3.779 14.011 3.064 13.693 2.465 C 13.535 2.167 13.223 1.986 12.886 1.998 Z",fill:"rgb(255, 193, 49)"})}),s=o.jsx("path",{d:"M 18.086 8.404 C 19.151 8.404 20.034 9.228 20.107 10.289 L 20.111 10.428 L 20.111 18.975 C 20.111 20.04 19.288 20.923 18.224 20.995 L 18.086 21 L 12.238 21 C 11.173 21 10.291 20.176 10.217 19.114 L 10.214 18.975 L 10.214 10.428 C 10.214 9.364 11.037 8.48 12.099 8.408 L 12.238 8.404 L 18.086 8.404 Z M 12.308 12.418 C 12.308 12.418 12.295 12.4 12.318 12.466 C 12.348 12.524 12.407 12.617 12.451 12.661 C 12.49 12.699 12.563 12.743 12.607 12.766 C 12.65 12.78 12.739 12.8 12.794 12.805 L 17.727 12.805 C 17.76 12.804 17.814 12.795 17.848 12.788 C 17.875 12.779 17.93 12.758 17.961 12.743 C 17.992 12.724 18.047 12.685 18.071 12.661 C 18.1 12.632 18.143 12.577 18.163 12.546 C 18.204 12.454 18.253 12.275 18.261 12.177 C 18.248 12.079 18.205 11.926 18.167 11.845 C 18.119 11.778 18.032 11.68 17.968 11.644 C 17.912 11.611 17.801 11.584 17.727 11.578 L 12.794 11.578 C 12.744 11.582 12.663 11.597 12.611 11.615 C 12.563 11.64 12.492 11.686 12.451 11.722 C 12.417 11.758 12.353 11.851 12.317 11.919 C 12.293 11.99 12.267 12.113 12.261 12.19 L 12.308 12.418 Z M 12.308 15.004 C 12.308 15.004 12.295 14.986 12.318 15.052 C 12.348 15.11 12.407 15.203 12.451 15.247 C 12.49 15.285 12.563 15.329 12.607 15.351 C 12.65 15.366 12.739 15.386 12.794 15.39 L 17.727 15.39 C 17.76 15.39 17.814 15.381 17.848 15.374 C 17.875 15.364 17.93 15.344 17.961 15.329 C 17.992 15.309 18.047 15.27 18.071 15.247 C 18.1 15.218 18.143 15.163 18.163 15.132 C 18.204 15.039 18.253 14.86 18.261 14.763 C 18.248 14.665 18.205 14.512 18.167 14.431 C 18.119 14.364 18.032 14.266 17.968 14.229 C 17.912 14.197 17.801 14.17 17.727 14.164 L 12.794 14.164 C 12.744 14.168 12.663 14.183 12.611 14.2 C 12.563 14.226 12.492 14.272 12.451 14.307 C 12.417 14.343 12.353 14.437 12.317 14.505 C 12.293 14.576 12.267 14.699 12.261 14.776 L 12.308 15.004 Z M 12.308 17.589 C 12.308 17.589 12.295 17.571 12.318 17.637 C 12.348 17.695 12.407 17.788 12.451 17.832 C 12.49 17.87 12.563 17.914 12.607 17.937 C 12.65 17.951 12.739 17.971 12.794 17.976 L 17.727 17.976 C 17.76 17.975 17.814 17.966 17.848 17.959 C 17.875 17.95 17.93 17.929 17.961 17.914 C 17.992 17.895 18.047 17.856 18.071 17.832 C 18.1 17.803 18.143 17.748 18.163 17.717 C 18.204 17.625 18.253 17.446 18.261 17.348 C 18.248 17.25 18.205 17.097 18.167 17.016 C 18.119 16.949 18.032 16.851 17.968 16.815 C 17.912 16.782 17.801 16.755 17.727 16.749 L 12.794 16.749 C 12.744 16.753 12.663 16.768 12.611 16.786 C 12.563 16.811 12.492 16.857 12.451 16.893 C 12.417 16.929 12.353 17.022 12.317 17.09 C 12.293 17.161 12.267 17.284 12.261 17.361 L 12.308 17.589 Z",fill:"rgb(36, 200, 219)"}),e[1]=r,e[2]=s):(r=e[1],s=e[2]);let a;return e[3]!==t?(a=o.jsxs("svg",ae(R({color:"accent",height:"8",viewBox:"0 0 24 24"},t),{children:[n,r,s]})),e[3]=t,e[4]=a):a=e[4],a}var tke={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function nke(){var e,n;var t=sn(1);try{const{t:r,i18n:s}=Gt(),[a,i]=v.useState(!1),l=la(),{toast:u}=Mx(),{systemTheme:d}=tk(),{setSystemTheme:p,themeDark:h,deviceId:m}=Tt(yo),{currentCollectionId:b,collections:C}=Tt(Ir),{selectCollectionById:g}=n7(),w=h();v.useEffect(()=>{Ln("is_autostart_enabled").then(Ye=>{i(!!Ye)});const De=S8(({error:Ye,status:dt})=>{tke.TAURI_DEBUG&&(console.log("Updater status",dt),console.log("Updater error",Ye))});return()=>{De.then(Ye=>{Ye()})}},[]),v.useEffect(()=>{d&&(Ln("set_icon",{name:"main",isDark:d==="dark"}),p(d))},[d]);const x=()=>Ss==null?void 0:Ss.minimize(),S=()=>ge(this,null,function*(){(yield Ss==null?void 0:Ss.isMaximized())?Ss==null||Ss.unmaximize():Ss==null||Ss.maximize()}),E=()=>Ss.hide(),N=()=>Ss.close(),{pinnedClips:_}=Tt(Ir),{isShowCollectionNameOnNavBar:P,isShowDisabledCollectionsOnNavBarMenu:I,setIsShowCollectionNameOnNavBar:T,copyPasteDelay:A,setCopyPasteDelay:L,setIsHistoryEnabled:z,isHistoryEnabled:Y,setLicenseKey:O,setUpdaterSkipVersion:$,setUpdaterRemindLater:M,licenseKey:W,relaunchApp:V,checkForUpdate:U,installUpdate:J,appToursCompletedList:H,appToursSkippedList:F,setAppToursCompletedList:q,setAppToursSkippedList:X,setIsHistoryAutoUpdateOnCaputureEnabled:ne,isHistoryAutoUpdateOnCaputureEnabled:ee,setIsShowDisabledCollectionsOnNavBarMenu:G}=Tt(Cr),{fontSize:Z,decreaseFontSize:le,increaseFontSize:se,resetFontSize:de,setIsSwapPanels:ce,isShowPinned:pe,setIsShowPinned:ve,isSwapPanels:ye}=Tt(Is);Us(["alt+b"],()=>{l("/history",{replace:!0})}),Us(["alt+m"],()=>{l("/menu",{replace:!0})}),Us(["alt+l"],()=>{Xi.value=!0}),Us(["alt+p"],()=>{ce(!ye)}),v.useEffect(()=>{if(W)try{const De=hk(W);De&&typeof De.id=="string"&&De.id.length>0&&(Un.value=De)}catch(De){Un.value=null,O(null)}else Un.value=null},[W]);const be=vl(B0),Ee=vl(Nx),Fe=Tx(),qe=Hh(),ot=VU(),{licenseExpInDays:Ve}=v.useMemo(()=>WU(),[Un.value]),Ke=v.useMemo(()=>_x(),[Un.value]),lt=Pr(1718311101899).format("MMMM, YYYY");return v.useEffect(()=>{ot&&mh.map(({code:De})=>De).includes(ot)&&s.language!==ot&&s.changeLanguage(ot)},[ot]),v.useEffect(()=>{window.plausible&&m&&window.plausible("App Start",{props:{deviceId:m,isPro:be,isBeta:Ee,isExpired:Fe}})},[m,be,Fe,Ee,window.plausible]),v.useEffect(()=>{if(Ly.value){const De=u({title:r("Download Completed",{ns:"updater"}),id:"update-download-completed",description:o.jsxs(te,{children:[r("Download Completed Quit and Manually Install",{ns:"updater"}),o.jsxs(me,{className:"justify-between",children:[o.jsx(Se,{autoFocus:!0,className:"bg-green-800 dark:bg-green-700 dark:hover:bg-green-600 hover:bg-green-500 px-4 mt-3 text-white",onClick:N,children:r("Quit PasteBar",{ns:"updater"})}),o.jsx(me,{className:"gap-3",children:o.jsx(Se,{variant:"outline",className:"dark:text-gray-400 px-4 mt-3 text-gray-200 hover:bg-transparent hover:dark:bg-transparent hover:text-gray-50 hover:dark:text-gray-300",onClick:()=>{De.dismiss()},children:r("Cancel",{ns:"common"})})})]})]}),className:"bg-green-600 dark:bg-green-900 text-white",onDismiss:()=>{Ly.value=!1,ai.value=!1,ma.value=!1},duration:0})}else if(ai.value||ma.value){const De=u({title:ai.value?r("Update: Permission Denied",{ns:"updater"}):r("Update Error",{ns:"updater"}),id:ai.value?"update-permission-denied":"update-error",description:o.jsxs(te,{children:[ai.value?r("Permission Denied Message",{ns:"updater"}):r("General Update Error",{ns:"updater"}),o.jsxs(me,{className:"justify-between",children:[o.jsx(Se,{autoFocus:!0,className:"bg-orange-600 dark:bg-orange-700 dark:hover:bg-orange-800 hover:bg-orange-600 px-4 mt-3 text-white",onClick:()=>ge(this,null,function*(){try{up.value=!1,Ig.value=!0,(yield Ln("download_and_execute"))==="ok"?(De.dismiss(),Ly.value=!0):up.value=!0,Ig.value=!1}catch(Ye){up.value=!0,Ig.value=!1,console.error("Download and execute error",Ye)}}),children:up.value?r("Download Error! Try again",{ns:"updater"}):Ig.value?o.jsxs(me,{children:[r("Downloading...",{ns:"updater"}),o.jsx(mC,{className:"animate-spin opacity-75 ml-2",size:"14"})]}):r("Download Update",{ns:"updater"})}),o.jsx(me,{className:"gap-3",children:o.jsx(Se,{variant:"outline",className:"dark:text-gray-400 px-4 mt-3 text-gray-200 hover:bg-transparent hover:dark:bg-transparent hover:text-gray-50 hover:dark:text-gray-300",onClick:()=>{De.dismiss()},children:r("Skip Download",{ns:"updater"})})})]})]}),className:"bg-amber-600 dark:bg-amber-900 text-white",onDismiss:()=>{ai.value=!1,ma.value=!1},duration:0})}},[ai.value,ma.value,Ig.value,up.value,Ly.value,up.value]),o.jsx("div",{"data-tauri-drag-region":!0,className:"h-[41px] absolute top-0 left-0 w-full",id:"navbar-panel_tour",children:o.jsxs(KH,{className:"border-0 !h-full border-b border-slate-200/50 dark:border-slate-500/50 rounded-b-none bg-gray-50 pl-3 hover:bg-white dark:hover:bg-gray-950 active:cursor-move active:bg-white transform duration-300 dark:bg-gray-900 dark:text-slate-300",children:[o.jsx(yp,{children:o.jsx("div",{className:"inline-flex h-fit w-fit items-center text-cyan-500",children:o.jsx(jW,{width:28,height:28,"data-tauri-drag-region":!0})})}),o.jsxs(yp,{children:[o.jsxs(zp,{className:"md m-0 px-2.5 text-sm font-semibold whitespace-nowrap",id:"navbar-pastebar_tour",children:[o.jsx(re,{className:"font-semibold",children:be?Ke?o.jsxs(o.Fragment,{children:[r("PasteBar",{ns:"common"})," ",o.jsx("span",{className:"text-amber-700 dark:text-amber-600 ml-1 opacity-80",children:r("Pro",{ns:"common"})})]}):r("PasteBar Pro",{ns:"common"}):r("PasteBar",{ns:"common"})}),Ee&&o.jsx(re,{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-1.5 rounded-md !text-slate-600 text-xs ml-1.5 mb-0 py-0.5",children:"beta"})]}),o.jsxs(Fp,{children:[o.jsxs(En,{onClick:()=>{WS.value=!0},children:[r("About PasteBar",{ns:"common"}),o.jsx(ss,{children:o.jsxs(st,{text:r("Build on {{buildDate}}",{ns:"common",buildDate:lt}),isCompact:!0,side:"right",children:["v","0.2.3",Ee?"b":""]})})]}),!be&&o.jsxs(o.Fragment,{children:[o.jsx(Zr,{}),o.jsx(En,{onClick:()=>{l("/app-settings/license/register",{replace:!0})},children:r("Register License",{ns:"common"})})]}),be&&Fe&&o.jsxs(o.Fragment,{children:[o.jsx(Zr,{}),o.jsx(En,{onClick:()=>{l("/app-settings/license",{replace:!0})},className:"text-amber-700 dark:text-amber-600",children:r("License Expired",{ns:"common"})})]}),o.jsxs(Os,{children:[o.jsxs(bs,{children:[r("Settings",{ns:"settings"})," ..."]}),o.jsxs(ws,{className:"w-[230px] dark:text-slate-300",children:[o.jsxs(En,{onClick:()=>{l("/app-settings/history",{replace:!0})},children:[r("Clipboard History Settings",{ns:"settings"}),o.jsx(ss,{children:o.jsx(fo,{keys:"ALT+H"})})]}),o.jsxs(En,{onClick:()=>{l("/app-settings/collections",{replace:!0})},children:[r("Manage Collections",{ns:"settings"}),o.jsx(ss,{children:o.jsx(fo,{keys:"ALT+С"})})]}),o.jsx(En,{onClick:()=>{l("/app-settings/preferences",{replace:!0})},children:r("User Preferences",{ns:"settings"})}),o.jsx(En,{onClick:()=>{l("/app-settings/security",{replace:!0})},children:r("Security",{ns:"settings"})}),o.jsxs(En,{onClick:()=>{l("/app-settings/license",{replace:!0})},children:[r("License",{ns:"settings"}),be&&o.jsx(ss,{children:o.jsxs(st,{text:r("Expires on {{licenseExpInDays}}",{ns:"common",licenseExpInDays:Ve}),isCompact:!0,side:"right",children:["Pro",Ee?" (beta)":""]})})]}),o.jsx(Zr,{}),o.jsxs(Os,{children:[o.jsxs(bs,{children:[r("Capture History",{ns:"history"})," ..."]}),o.jsxs(ws,{className:"dark:text-slate-300 text-slate-800",children:[o.jsxs(ga,{checked:Y,onClick:De=>{De.preventDefault(),z(!Y)},children:[o.jsx(re,{className:"mr-2 ".concat(Y?"text-slate-800":"text-slate-900/50"),children:r("Enable Capture History",{ns:"history"})}),o.jsx(ss,{className:"ml-auto",children:o.jsx(fo,{keys:"ALT+H"})})]}),o.jsxs(ga,{checked:ee,onClick:De=>{De.preventDefault(),ne(!ee)},children:[o.jsx(re,{className:"mr-2 ".concat(ee?"text-slate-800":"text-slate-900/50"),children:r("Auto Update on Capture",{ns:"history"})}),o.jsx(ss,{className:"ml-auto",children:o.jsx(fo,{keys:"ALT+A"})})]}),o.jsx(Zr,{}),o.jsxs(En,{onClick:()=>{l("/app-settings/history",{replace:!0})},children:[o.jsx(X8,{className:"mr-2 h-4 w-4"}),r("All History Settings",{ns:"history"})," ..."]})]})]}),o.jsxs(Os,{children:[o.jsx(bs,{children:o.jsxs(o.Fragment,{children:[r("Paste Delay",{ns:"contextMenus"}),"...",A&&o.jsxs(St,{className:"ml-2 py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[A,"s"]})]})}),o.jsxs(ws,{className:"w-[235px] dark:text-slate-300",children:[o.jsx(ga,{checked:A===1,onSelect:()=>{L(1)},children:o.jsxs(re,{children:["1 ",r("second",{ns:"common"})]})}),o.jsx(ga,{checked:A===2,onSelect:()=>{L(2)},children:o.jsxs(re,{children:["2 ",r("seconds",{ns:"common"})]})}),o.jsx(ga,{checked:A===3,onSelect:()=>{L(3)},children:o.jsxs(re,{children:["3 ",r("seconds",{ns:"common"})]})}),o.jsx(ga,{checked:A===4,onSelect:()=>{L(4)},children:o.jsxs(re,{children:["4 ",r("seconds",{ns:"common"})]})}),o.jsx(ga,{checked:A===5,onSelect:()=>{L(5)},children:o.jsxs(re,{children:["5 ",r("seconds",{ns:"common"})]})})]})]}),o.jsx(Zr,{}),o.jsxs(En,{onClick:()=>{window.location.reload()},children:[r("Refresh Application UI",{ns:"settings"}),o.jsx(ss,{children:o.jsx(fo,{keys:"ALT+R"})})]})]})]}),o.jsx(Zr,{}),o.jsxs(En,{onClick:()=>{Xi.value=!0},children:[r("Lock App Screen",{ns:"navbar"}),o.jsx(ss,{className:"ml-1",children:"⌘L"})]}),o.jsxs(En,{onClick:E,children:[r("Close Main Window",{ns:"navbar"}),o.jsx(ss,{children:"⌘W"})]}),o.jsxs(En,{onClick:N,children:[r("Quit",{ns:"common"}),o.jsx(ss,{children:"⌘Q"})]})]})]}),o.jsxs(yp,{children:[o.jsx(zp,{className:"font-normal px-2.5",id:"navbar-view_tour",children:r("View",{ns:"navbar"})}),o.jsxs(Fp,{children:[o.jsxs(En,{onClick:()=>{l("/history",{replace:!0})},children:[r("Clipboard History",{ns:"common"}),o.jsx(ss,{children:"⌘B"})]}),o.jsxs(En,{onClick:()=>{l("/menu",{replace:!0})},children:[r("Paste Menu",{ns:"common"}),o.jsx(ss,{children:"⌘M"})]}),o.jsx(ss,{}),o.jsx(Zr,{}),o.jsxs(Os,{children:[o.jsxs(bs,{children:[r("Options",{ns:"navbar"})," ..."]}),o.jsxs(ws,{className:"w-[235px] dark:text-slate-300",children:[o.jsxs(ga,{checked:ye,onClick:()=>{ce(!ye)},children:[r("Swap Panels Layout",{ns:"navbar"}),o.jsx(ss,{children:"⌘P"})]}),o.jsx(ga,{checked:P,onClick:()=>{T(!P)},children:r("Show Collections Name",{ns:"navbar"})}),o.jsx(ga,{checked:I,onClick:()=>{G(!I)},children:r("Show Disabled Collections",{ns:"settings"})}),o.jsx(Zr,{}),o.jsx(ga,{checked:a,onClick:()=>ge(this,null,function*(){yield Ln("autostart",{enabled:!a}),i(!a)}),children:r("Enable Auto Start",{ns:"settings"})})]})]}),o.jsx(Y5e,{}),o.jsx(Zr,{}),o.jsxs(En,{disabled:Z==="125%",onClick:De=>{De.preventDefault(),se()},children:[r("Increase UI Font Size",{ns:"settings"})," ",o.jsx(Wr,{width:"1em",height:"18",className:"ml-auto"})]}),o.jsxs(En,{disabled:Z==="85%",onClick:De=>{De.preventDefault(),le()},children:[r("Decrease UI Font Size",{ns:"settings"})," ",o.jsx(jz,{width:"1em",height:"18",className:"ml-auto"})]}),o.jsx(En,{disabled:Z==="100%",onClick:De=>{De.preventDefault(),de()},children:r("Reset Font Size",{ns:"settings"})}),o.jsx(Zr,{}),o.jsxs(Os,{children:[o.jsxs(bs,{children:[r("Language",{ns:"navbar"})," ..."]}),o.jsx(ws,{children:mh.map(({code:De,name:Ye,flag:dt})=>o.jsxs(ga,{disabled:ot&&De!==ot,checked:s.language===De,className:"pr-6 ".concat(s.language===De?"font-semibold":""),onClick:()=>{s.changeLanguage(De)},children:[o.jsx("span",{className:"flags mr-3",children:dt})," ",Ye]},De))})]})]})]}),C.length>0&&o.jsxs(yp,{children:[o.jsx(zp,{className:"font-normal min-w-fit px-2.5",id:"navbar-collections_tour",children:o.jsxs(me,{className:"flex justify-start items-center whitespace-nowrap overflow-hidden",children:[o.jsx(_ce,{className:"mr-1.5 text-slate-500",size:18}),o.jsx(te,{className:"overflow-hidden text-ellipsis max-w-[16rem]",children:P?(n=(e=C.find(({collectionId:De})=>De===b))==null?void 0:e.title)!=null?n:r("Collections",{ns:"collections"}):r("Collections",{ns:"collections"})})]})}),o.jsxs(Fp,{forceMount:!0,children:[o.jsx(En,{inset:!0,disabled:!0,className:"py-0.5",children:r("Switch collections",{ns:"collections"})}),o.jsx(Zr,{}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"400px",width:"100%",minWidth:"200px"},autoHide:!1,children:o.jsx(Jme,{value:b!=null?b:"",children:C.filter(({isEnabled:De})=>I||De).sort((De,Ye)=>{if(I){if(De.isEnabled&&!Ye.isEnabled)return-1;if(!De.isEnabled&&Ye.isEnabled)return 1}return De.createdAt-Ye.createdAt}).map(({collectionId:De,isEnabled:Ye,isSelected:dt,title:He})=>o.jsx(GH,{value:De,disabled:!Ye,onClick:()=>{g({selectCollection:{collectionId:De}})},children:o.jsx("span",{className:dt?"font-semibold":"",children:He})},De))})}),o.jsx(Zr,{}),o.jsxs(En,{onClick:()=>{l("/app-settings/collections",{replace:!0})},children:[o.jsx(Ah,{className:"mr-2",size:14}),r("Manage Collections",{ns:"collections"})]}),o.jsxs(En,{onClick:()=>{qe?l("/app-settings/collections/new",{replace:!0}):Ga.value=!0},children:[o.jsx(Wr,{className:"mr-2",size:15}),r("Add Collection",{ns:"collections"}),o.jsx(Ql,{})]})]})]}),o.jsxs("div",{"data-tauri-drag-region":!0,className:"inline-flex h-full w-full items-center justify-center",children:[o.jsx(W5e,{isDark:w}),pe?o.jsx(Se,{onClick:()=>{ve(!1)},id:"navbar-pinned_tour",title:r("Hide Pinned",{ns:"pinned"}),variant:"ghost",className:"relative h-7 focus:outline-none px-2 mx-2 !bg-slate-50 text-slate-400 dark:!bg-slate-900 dark:hover:!bg-slate-800 hover:text-slate-600 dark:text-slate-400",children:o.jsx(zo.pinoff,{className:"h-4 w-4"})}):o.jsxs(Se,{onClick:()=>{ve(!0)},id:"navbar-pinned_tour",title:r("Show Pinned",{ns:"pinned"}),variant:"ghost",className:"relative h-7 focus:outline-none px-2 mx-2 !bg-slate-50 text-slate-400 dark:!bg-slate-900 dark:hover:!bg-slate-800 hover:text-slate-600 dark:text-slate-400",children:[o.jsx(zo.pin,{className:"h-4 w-4"}),_.length>0&&o.jsx(St,{variant:"outline",className:"bg-orange-100 dark:bg-orange-900/80 dark:border-orange-950 border absolute border-orange-50 cursor-pointer px-1.5 left-[30px] top",children:o.jsx(re,{className:"font-mono !text-orange-400 font-semibold",children:_.length})})]})]}),o.jsxs("div",{"data-tauri-drag-region":!0,className:"inline-flex h-full justify-end",children:[D2.value?o.jsxs(yp,{children:[o.jsx(zp,{id:"updater-trigger",onClick:()=>{ai.value&&(ai.value=!1)},className:ma.value?"bg-red-100/70 dark:bg-red-900/70":so.value?"bg-amber-100/70 dark:bg-amber-900/70":"bg-teal-100/70 dark:bg-teal-900/70",children:o.jsx(st,{text:r("Version {{newVersion}} is available",{ns:"updater",newVersion:Ki.value}),sideOffset:16,side:"left",children:o.jsxs(me,{className:"flex justify-start items-center whitespace-nowrap overflow-hidden",children:[o.jsx(te,{className:"overflow-hidden text-ellipsis max-w-[16rem] mr-2 text-[13px]",children:ma.value?o.jsx(re,{children:r("Update Install Error",{ns:"updater"})}):so.value?o.jsx(re,{children:r("Restart to Finish",{ns:"updater"})}):Ao.value?o.jsx(re,{children:r("Installing Update",{ns:"updater"})}):o.jsx(re,{children:r("Update Available",{ns:"updater"})})}),Ao.value?o.jsx(mC,{className:"animate-spin opacity-75 ml-auto",size:"14"}):o.jsx(u6,{size:15})]})})}),o.jsxs(Fp,{className:"".concat(Ao.value||ai.value?"hidden":""),children:[Ao.value?o.jsxs(En,{className:"!font-semibold",onClick:De=>{if(De.preventDefault(),Ao.value){Ao.value=!1,ma.value=!1;return}J()},children:[o.jsx(te,{className:"mr-1",children:r("Downloading...",{ns:"updater"})}),o.jsx(u6,{className:"ml-auto",size:"14"})]}):o.jsx(o.Fragment,{children:be&&Fe?o.jsxs(Os,{children:[o.jsx(bs,{className:"!font-semibold",children:so.value?r("Confirm Restart",{ns:"updater"}):r("Confirm Update",{ns:"updater"})}),o.jsxs(ws,{className:"dark:text-slate-300",children:[o.jsx(En,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap w-[180px] focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:De=>{De.preventDefault(),l("/app-settings/license",{replace:!0})},children:r("Pro license expired. Upgrading removes all Pro features. Renew to updates or use current version forever.",{ns:"updater"})}),o.jsxs(En,{onClick:De=>{De.preventDefault(),so.value?V():J()},children:[ma.value?o.jsx(re,{children:r("Update Install Error",{ns:"updater"})}):so.value?o.jsx(re,{children:r("Restart to Update",{ns:"updater"})}):o.jsx(re,{children:r("Install Update",{ns:"updater"})}),o.jsxs(ss,{className:"ml-auto pl-2",children:["v",Ki.value]})]})]})]}):o.jsxs(En,{className:"!font-semibold",onClick:De=>{De.preventDefault(),so.value?V():(ma.value=!1,Ao.value=!1,U(!0),J())},children:[so.value?r("Restart to Update",{ns:"updater"}):ma.value?r("Try Install Again",{ns:"updater"}):r("Install Update",{ns:"updater"}),o.jsxs(ss,{className:"ml-auto pl-2",children:["v",Ki.value]})]})}),be&&Fe&&o.jsx(En,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:De=>{De.preventDefault(),l("/app-settings/license",{replace:!0})},children:r("Upgrade removes Pro features",{ns:"updater"})}),o.jsx(Zr,{}),nm.value&&o.jsxs(Os,{children:[o.jsxs(bs,{children:[r("View Changes",{ns:"updater"})," ..."]}),o.jsxs(ws,{className:"max-w-[480px] dark:text-slate-300",children:[Ki.value&&o.jsx(En,{disabled:!0,className:"!opacity-60",children:o.jsx(te,{children:o.jsx(te,{className:"text-sm",children:M2.value&&r("Release date {{date}}",{ns:"updater",date:M2.value})})})}),o.jsx(Zr,{}),o.jsx("div",{className:"px-3 py-2",children:o.jsx(Kd,{options:{scrollbars:{theme:w?"os-theme-light":"os-theme-dark",autoHide:"move"}},style:{maxHeight:400,maxWidth:"100%"},children:o.jsx("div",{dangerouslySetInnerHTML:{__html:nm.value},className:"note-content release-notes"})})})]})]}),o.jsxs(En,{onClick:()=>{M()},children:[r("Remind Me Later",{ns:"updater"}),o.jsx(ss,{className:"ml-auto pl-2",children:o.jsx(lae,{size:14})})]}),be&&o.jsxs(o.Fragment,{children:[o.jsx(Zr,{}),o.jsxs(En,{onClick:()=>{$(Ki.value)},children:[r("Skip This Version",{ns:"updater"}),o.jsx(ss,{className:"ml-auto pl-2",children:o.jsx(iae,{size:14})})]})]})]})]}):o.jsxs(yp,{children:[o.jsx(zp,{className:"font-normal px-2.5",id:"navbar-help_tour",children:r("Help",{ns:"help"})}),o.jsxs(Fp,{children:[o.jsxs(Os,{children:[o.jsx(bs,{children:r("App Guided Tours",{ns:"help"})}),o.jsxs(ws,{className:"dark:text-slate-300",children:[o.jsxs(En,{onClick:()=>{rr.value=jn.historyPanelTour},children:[r("Clipboard History Tour",{ns:"help"}),H.includes(jn.historyPanelTour)?o.jsx(St,{variant:"outline",title:r("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:o.jsx(en,{className:"w-3 h-3"})}):F.includes(jn.historyPanelTour)?o.jsx(St,{variant:"outline",title:r("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:o.jsx(In,{className:"w-3 h-3"})}):o.jsx(St,{variant:"outline",className:"ml-1.5 !font-normal",children:"6"})]}),o.jsxs(En,{onClick:()=>{rr.value=jn.dashboardClipsTour},children:[r("Boards and Clips Tour",{ns:"help"}),H.includes(jn.dashboardClipsTour)?o.jsx(St,{variant:"outline",title:r("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:o.jsx(en,{className:"w-3 h-3"})}):F.includes(jn.dashboardClipsTour)?o.jsx(St,{variant:"outline",title:r("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:o.jsx(In,{className:"w-3 h-3"})}):o.jsx(St,{variant:"outline",className:"ml-1.5 !font-normal",children:"8"})]}),o.jsxs(En,{onClick:()=>{rr.value=jn.menuTour},children:[r("Paste Menu Tour",{ns:"help"}),H.includes(jn.menuTour)?o.jsx(St,{variant:"outline",title:r("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:o.jsx(en,{className:"w-3 h-3"})}):F.includes(jn.menuTour)?o.jsx(St,{variant:"outline",title:r("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:o.jsx(In,{className:"w-3 h-3"})}):o.jsx(St,{variant:"outline",className:"ml-1.5 !font-normal",children:"10"})]}),o.jsx(Zr,{}),o.jsxs(En,{onClick:()=>{rr.value=jn.navBarTour},children:[r("Navigation Bar Tour",{ns:"help"}),H.includes(jn.navBarTour)?o.jsx(St,{variant:"outline",title:r("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:o.jsx(en,{className:"w-3 h-3"})}):F.includes(jn.navBarTour)?o.jsx(St,{variant:"outline",title:r("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:o.jsx(In,{className:"w-3 h-3"})}):o.jsx(St,{variant:"outline",className:"ml-1.5 !font-normal",children:"8"})]}),o.jsxs(En,{onClick:()=>{rr.value=jn.settingsTour},children:[r("PasteBar Settings Tour",{ns:"help"}),H.includes(jn.settingsTour)?o.jsx(St,{variant:"outline",title:r("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:o.jsx(en,{className:"w-3 h-3"})}):F.includes(jn.settingsTour)?o.jsx(St,{variant:"outline",title:r("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:o.jsx(In,{className:"w-3 h-3"})}):o.jsx(St,{variant:"outline",className:"ml-1.5 !font-normal",children:"6"})]}),o.jsx(Zr,{}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("Guided Tours Options",{ns:"help"})}),o.jsxs(ws,{className:"dark:text-slate-300",children:[o.jsx(En,{onClick:()=>{const De=Object.values(jn);q([...De])},children:r("Mark All Completed",{ns:"help"})}),o.jsx(En,{onClick:()=>{q([]),X([])},children:r("Reset All Tours",{ns:"help"})})]})]})]})]}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("Feature Highlights",{ns:"help"})}),o.jsxs(ws,{className:"dark:text-slate-300",children:[o.jsxs(Os,{children:[o.jsx(bs,{children:r("Clipboard History",{ns:"help"})}),o.jsx(ws,{className:"dark:text-slate-300",children:r(jn.historyPanelTour,{returnObjects:!0,defaultValue:[],lng:"en",ns:"tours"}).map((De,Ye)=>o.jsx(En,{onClick:()=>{rr.value=jn.historyPanelTour,rd.value=De.element},children:r(De.popover.title,{ns:"help"})},Ye))})]}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("Boards and Clips",{ns:"help"})}),o.jsx(ws,{className:"dark:text-slate-300",children:r(jn.dashboardClipsTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((De,Ye)=>o.jsx(En,{onClick:()=>{rr.value=jn.dashboardClipsTour,rd.value=De.element},children:r(De.popover.title,{ns:"help"})},Ye))})]}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("Paste Menu",{ns:"help"})}),o.jsx(ws,{className:"dark:text-slate-300",children:r(jn.menuTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((De,Ye)=>o.jsx(En,{onClick:()=>{rr.value=jn.menuTour,rd.value=De.element},children:r(De.popover.title,{ns:"help"})},Ye))})]}),o.jsx(Zr,{}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("Navigation Bar",{ns:"help"})}),o.jsx(ws,{className:"dark:text-slate-300",children:r(jn.navBarTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((De,Ye)=>o.jsx(En,{onClick:()=>{rr.value=jn.navBarTour,rd.value=De.element},children:r(De.popover.title,{ns:"help"})},Ye))})]}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("PasteBar Settings",{ns:"help"})}),o.jsx(ws,{className:"dark:text-slate-300",children:r(jn.settingsTour,{returnObjects:!0,defaultValue:[],lng:"en",ns:"tours"}).map((De,Ye)=>o.jsx(En,{onClick:()=>{rr.value=jn.settingsTour,rd.value=De.element},children:r(De.popover.title,{ns:"help"})},Ye))})]})]}),o.jsx(Zr,{}),D2.value?Ao.value?o.jsxs(En,{className:"!font-semibold",onClick:De=>{De.preventDefault(),J()},children:[o.jsx(te,{className:"mr-2",children:r("Installing Update",{ns:"updater"})}),o.jsx(mC,{className:"animate-spin opacity-75 ml-auto",size:"14"})]}):o.jsx(o.Fragment,{children:be&&Fe?o.jsxs(Os,{children:[o.jsx(bs,{className:"!font-semibold",children:so.value?r("Confirm Restart",{ns:"updater"}):r("Confirm Update",{ns:"updater"})}),o.jsxs(ws,{className:"dark:text-slate-300",children:[o.jsx(En,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap w-[180px] focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:De=>{De.preventDefault(),l("/app-settings/license",{replace:!0})},children:r("Pro license expired. Upgrading removes all Pro features. Renew to updates or use current version forever.",{ns:"updater"})}),o.jsxs(En,{onClick:De=>{De.preventDefault(),so.value?V():J()},children:[ma.value?o.jsx(re,{children:r("Update Install Error",{ns:"updater"})}):so.value?o.jsx(re,{children:r("Restart",{ns:"updater"})}):o.jsx(re,{children:r("Install Update",{ns:"updater"})}),o.jsxs(ss,{className:"ml-auto pl-2",children:["v",Ki.value]})]})]})]}):o.jsxs(En,{className:"!font-semibold",onClick:De=>{De.preventDefault(),so.value?V():(ma.value=!1,Ao.value=!1,U(!0),J())},children:[ma.value?o.jsx(re,{children:r("Try Install Again",{ns:"updater"})}):so.value?r("Restart",{ns:"updater"}):r("Install Update",{ns:"updater"}),o.jsxs(ss,{className:"ml-auto pl-2",children:["v",Ki.value]})]})}):o.jsx(En,{onClick:De=>{De.preventDefault(),U(!0)},children:Nf.value?r("No Update Available",{ns:"updater"}):Mc.value?r("Checking for Update...",{ns:"updater"}):r("Check for Update",{ns:"updater"})}),o.jsx(Zr,{}),o.jsxs(Os,{children:[o.jsx(bs,{children:r("Support and Feedback",{ns:"help"})}),o.jsxs(ws,{className:"dark:text-slate-300",children:[o.jsx(En,{onClick:()=>{VS.value=!0},children:be?r("Priority Support Pro Form",{ns:"help"}):r("Contact Us Form",{ns:"help"})}),!be&&o.jsxs(En,{onClick:()=>{Ga.value=!0},children:[r("Priority Support",{ns:"help"}),o.jsx(Ql,{})]}),o.jsx(Zr,{}),o.jsx(En,{disabled:!0,className:"pb-0",children:o.jsxs(re,{className:"text-sm mb-2 flex justify-center items-center w-full",children:[r("Stay in touch",{ns:"common"}),o.jsx(E0,{className:"w-[13px] h-[13px] ml-1"})]})}),o.jsx(En,{children:o.jsx(SW,{className:"!gap-2 grid grid-cols-4 items-center justify-center w-full",showContactForm:!1})})]})]})]})]})]}),o.jsx(Se,{onClick:x,title:r("Window:::Minimize Window",{ns:"navbar"}),variant:"ghost",className:"h-8 focus:outline-none",children:o.jsx(zo.minimize,{className:"h-3 w-3"})}),o.jsx(Se,{onClick:S,title:r("Window:::Maximize Window",{ns:"navbar"}),variant:"ghost",className:"h-8 focus:outline-none",children:o.jsx(rle,{className:"h-4 w-4"})}),o.jsx(Se,{onClick:E,id:"navbar-close-window_tour",variant:"ghost",className:"h-8 focus:outline-none",title:r("Window:::Close Window",{ns:"navbar"}),children:o.jsx(In,{className:"h-4 w-4"})})]})]})})}finally{t.f()}}function rke(t){var a;const e=Te(6);let n,r;e[0]!==t?(a=t,{children:r}=a,n=Ne(a,["children"]),e[0]=t,e[1]=n,e[2]=r):(n=e[1],r=e[2]);let s;return e[3]!==n||e[4]!==r?(s=o.jsx(qve,ae(R({},n),{children:r})),e[3]=n,e[4]=r,e[5]=s):s=e[5],s}function ske(){const t=Te(6);let e;if(t[0]===Symbol.for("react.memo_cache_sentinel")){const h=["Alt","Meta"];e=function(b){return h.includes(b.key)},t[0]=e}else e=t[0];const n=e;let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=function(m){n(m)&&(Tn.value=!0)},t[1]=r):r=t[1];const s=r;let a;t[2]===Symbol.for("react.memo_cache_sentinel")?(a=function(m){n(m)&&(Tn.value=!1)},t[2]=a):a=t[2];const i=a;let l;t[3]===Symbol.for("react.memo_cache_sentinel")?(l=function(){Tn.value=!1},t[3]=l):l=t[3];const u=l;let d,p;return t[4]===Symbol.for("react.memo_cache_sentinel")?(d=()=>(window.addEventListener("keydown",s),window.addEventListener("keyup",i),window.addEventListener("focus",u),()=>{window.removeEventListener("keydown",s),window.removeEventListener("keyup",i),window.removeEventListener("focus",u)}),p=[],t[4]=d,t[5]=p):(d=t[4],p=t[5]),v.useEffect(d,p),Tn}const Ju=It(""),ake=({delay:t=800,onCopied:e=()=>{}})=>{var n=sn(2);try{const{copyPasteSequencePinnedDelay:r,copyPasteSequenceIsReversOrder:s}=Tt(Cr),a=l=>{l&&!Ju.value&&(Ju.value=l,setTimeout(()=>{qs("copy_history_item",{historyId:l}).then(u=>{u==="ok"?requestAnimationFrame(()=>{Ju.value="",e()}):(Ju.value="",console.error("Failed to copy history item",u))}).catch(u=>{Ju.value="",console.error("Failed to copy history item",u)})},t))},i=l=>ge(void 0,null,function*(){s&&(l=l.reverse());for(const u of l)a(u),yield new Promise(d=>setTimeout(d,r*1e3))});return[Ju.value,a,i]}finally{n.f()}},ed=It(""),Zg=It(0),oke=({delay:t=800,onPasted:e=()=>{}})=>{var n=sn(2);try{const{copyPasteDelay:r,copyPasteSequencePinnedDelay:s,copyPasteSequenceIsReversOrder:a}=Tt(Cr),i=v.useRef(),l=(h,m=0)=>new Promise((b,C)=>{qs("copy_paste_history_item",{historyId:h,delay:m}).then(g=>{g==="ok"?b():(ed.value="",console.error("Failed to copy history item",g),C())}).catch(g=>{ed.value="",console.error("Failed to copy history item",g),C()})}),u=v.useCallback((h,m=1e3)=>(clearInterval(i.current),new Promise(b=>{Zg.value=h,i.current=setInterval(()=>{Zg.value>0?(Zg.value===1&&b(),Zg.value-=1):clearInterval(i.current)},m)})),[ed.value]),d=(h,m)=>new Promise(b=>ge(void 0,null,function*(){m=m!=null?m:r,h?(ed.value=h,m>0&&(yield u(m)),yield l(h),setTimeout(()=>{requestAnimationFrame(()=>{e(),b()})},t)):(ed.value="",b())})),p=h=>ge(void 0,null,function*(){a&&(h=h.reverse());for(const m of h)yield d(m,s)});return[ed.value,Zg.value,d,p]}finally{n.f()}},ike=()=>window.__TAURI_INVOKE__;function lke(){return ike()("app_ready")}var ib={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const _I=["mousemove","keydown","scroll","keypress","mousedown"];function cke(){var t=sn(1);try{ske();const e=Dn(),n=la(),r=Tt(Is),s=it(null),a=Tt(Cr),i=Tt(yo),l=Tt(_i),u=v.useRef(),{i18n:d,t:p}=Gt(),{toast:h}=Mx(),m=v.useCallback(Wz(()=>{s.value===null||Xi.value||(Xi.value=!1,u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{Xi.value=!0},s.value))},1e3),[s]);v.useEffect(()=>{Xi.value?a.setIsAppLocked(!0):a.setIsAppLocked(!1)},[Xi.value]),v.useEffect(()=>{lke().then(_=>{var P,I,T,A,L,z,Y,O,$,M,W,V,U,J,H,F,q,X,ne,ee,G,Z,le,se,de,ce,pe,ve,ye,be,Ee,Fe,qe,ot,Ve,Ke,lt,De,Ye,dt,He,mt,Ue,ht,Qe,Rt,Ut,wt,Xt,$t,tn,Pt,We,Je,jt,we,je,Ie;if(_!==null)try{const{constants:nt,settings:Pe,permissionstrusted:gt}=JSON.parse(_),{app_dev_data_dir:Ze,app_data_dir:Re,app_detect_languages_supported:Oe}=nt;if((P=Pe.userSelectedLanguage)!=null&&P.valueText&&((I=Pe.userSelectedLanguage)==null?void 0:I.valueText)!==""&&d.language!==((T=Pe.userSelectedLanguage)==null?void 0:T.valueText)&&d.changeLanguage(Pe.userSelectedLanguage.valueText),((A=Pe.userSelectedLanguage)==null?void 0:A.valueText)===""&&d.resolvedLanguage!=="en"&&d.changeLanguage(d.resolvedLanguage),a.initSettings({appDataDir:ib.TAURI_DEBUG?Ze:Re,appLastUpdateVersion:(L=Pe.appLastUpdateVersion)==null?void 0:L.valueText,appLastUpdateDate:(z=Pe.appLastUpdateDate)==null?void 0:z.valueText,isFirstRun:(Y=Pe.isFirstRun)==null?void 0:Y.valueBool,isFirstRunAfterUpdate:(O=Pe.isFirstRunAfterUpdate)==null?void 0:O.valueBool,isHistoryDetectLanguageEnabled:($=Pe.isHistoryDetectLanguageEnabled)==null?void 0:$.valueBool,historyDetectLanguageMinLines:(M=Pe.historyDetectLanguageMinLines)==null?void 0:M.valueInt,historyExclusionList:(W=Pe.historyExclusionList)==null?void 0:W.valueText,isExclusionListEnabled:(V=Pe.isExclusionListEnabled)==null?void 0:V.valueBool,isAutoMaskWordsListEnabled:(U=Pe.isAutoMaskWordsListEnabled)==null?void 0:U.valueBool,autoMaskWordsList:(J=Pe.autoMaskWordsList)==null?void 0:J.valueText,historyDetectLanguagesPrioritizedList:(H=Pe.historyDetectLanguagesPrioritizedList)==null?void 0:H.valueText.split(","),historyDetectLanguagesEnabledList:(F=Pe.historyDetectLanguagesEnabledList)==null?void 0:F.valueText.split(","),appToursCompletedList:(q=Pe.appToursCompletedList)==null?void 0:q.valueText.split(","),appToursSkippedList:(X=Pe.appToursSkippedList)==null?void 0:X.valueText.split(","),isHistoryAutoUpdateOnCaputureEnabled:(ne=Pe.isHistoryAutoUpdateOnCaputureEnabled)==null?void 0:ne.valueBool,isHistoryEnabled:(ee=Pe.isHistoryEnabled)==null?void 0:ee.valueBool,isAutoClearSettingsEnabled:(G=Pe.isAutoClearSettingsEnabled)==null?void 0:G.valueBool,autoClearSettingsDuration:(Z=Pe.autoClearSettingsDuration)==null?void 0:Z.valueInt,autoClearSettingsDurationType:(le=Pe.autoClearSettingsDurationType)==null?void 0:le.valueText,copyPasteDelay:(se=Pe.copyPasteDelay)==null?void 0:se.valueInt,copyPasteSequencePinnedDelay:(ce=(de=Pe.copyPasteSequencePinnedDelay)==null?void 0:de.valueInt)!=null?ce:3,copyPasteSequenceIsReversOrder:(pe=Pe.copyPasteSequenceIsReversOrder)==null?void 0:pe.valueBool,pasteSequenceEachSeparator:(ve=Pe.pasteSequenceEachSeparator)==null?void 0:ve.valueText,isAutoCloseOnCopyPaste:(ye=Pe.isAutoCloseOnCopyPaste)==null?void 0:ye.valueBool,isAutoPreviewLinkCardsEnabled:(be=Pe.isAutoPreviewLinkCardsEnabled)==null?void 0:be.valueBool,isClipNotesHoverCardsEnabled:(Ee=Pe.isClipNotesHoverCardsEnabled)==null?void 0:Ee.valueBool,clipNotesHoverCardsDelayMS:(Fe=Pe.clipNotesHoverCardsDelayMS)==null?void 0:Fe.valueInt,clipNotesMaxWidth:(qe=Pe.clipNotesMaxWidth)==null?void 0:qe.valueInt,clipNotesMaxHeight:(ot=Pe.clipNotesMaxHeight)==null?void 0:ot.valueInt,isAutoFavoriteOnDoubleCopyEnabled:(Ve=Pe.isAutoFavoriteOnDoubleCopyEnabled)==null?void 0:Ve.valueBool,isIdleScreenAutoLockEnabled:(Ke=Pe.isIdleScreenAutoLockEnabled)==null?void 0:Ke.valueBool,idleScreenAutoLockTimeInMinutes:(lt=Pe.idleScreenAutoLockTimeInMinutes)==null?void 0:lt.valueInt,isShowHistoryCaptureOnLockedScreen:(De=Pe.isShowHistoryCaptureOnLockedScreen)==null?void 0:De.valueBool,screenLockPassCode:(Ye=Pe.screenLockPassCode)==null?void 0:Ye.valueText,screenLockPassCodeLength:(dt=Pe.screenLockPassCodeLength)==null?void 0:dt.valueInt,screenLockRecoveryPasswordMasked:(He=Pe.screenLockRecoveryPasswordMasked)==null?void 0:He.valueText,isAppLocked:(mt=Pe.isAppLocked)==null?void 0:mt.valueBool,isScreenLockPassCodeRequireOnStart:(Ue=Pe.isScreenLockPassCodeRequireOnStart)==null?void 0:Ue.valueBool,isSearchNameOrLabelOnly:(ht=Pe.isSearchNameOrLabelOnly)==null?void 0:ht.valueBool,isSkipAutoStartPrompt:(Qe=Pe.isSkipAutoStartPrompt)==null?void 0:Qe.valueBool,isShowCollectionNameOnNavBar:(Rt=Pe.isShowCollectionNameOnNavBar)==null?void 0:Rt.valueBool,isShowDisabledCollectionsOnNavBarMenu:(Ut=Pe.isShowDisabledCollectionsOnNavBarMenu)==null?void 0:Ut.valueBool,userSelectedLanguage:(wt=Pe.userSelectedLanguage)==null?void 0:wt.valueText,licenseKey:(Xt=Pe.licenseKey)==null?void 0:Xt.valueText,isAppReady:!0}),a.initConstants({APP_DETECT_LANGUAGES_SUPPORTED:Oe}),pT().then(et=>{var Et;et==="Windows_NT"&&((Et=Pe.copyPasteDelay)==null?void 0:Et.valueInt)===0&&a.updateSetting("copyPasteDelay",2)}),($t=Pe.isFirstRun)!=null&&$t.valueBool&&(Ss.setSize(new ov(1105,710)),a.updateSetting("isFirstRun",!1)),(tn=Pe.isIdleScreenAutoLockEnabled)!=null&&tn.valueBool&&((Pt=Pe.idleScreenAutoLockTimeInMinutes)==null?void 0:Pt.valueInt)>0&&(_I.forEach(et=>window.addEventListener(et,m)),s.value=((We=Pe.idleScreenAutoLockTimeInMinutes)==null?void 0:We.valueInt)*1e3*60),((Je=Pe.isAppLocked)!=null&&Je.valueBool||(jt=Pe.isScreenLockPassCodeRequireOnStart)!=null&&jt.valueBool)&&(Xi.value=!0),!((we=Pe.appToursCompletedList)!=null&&we.valueText.split(",").includes(jn.historyPanelTour))&&!((je=Pe.appToursSkippedList)!=null&&je.valueText.split(",").includes(jn.historyPanelTour))&>){const et=h({title:"".concat(p("Welcome to PasteBar",{ns:"help"})," 🎉"),id:"welcome-tour",duration:0,description:o.jsxs(o.Fragment,{children:[p("WelcomeDescription",{ns:"help"}),o.jsx(me,{className:"mt-3",children:p("WelcomeTour",{ns:"help"})}),o.jsxs(me,{className:"justify-between",children:[o.jsx(Se,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{rr.value=jn.historyPanelTour,et==null||et.dismiss()},children:p("Start Tour",{ns:"help"})}),o.jsxs(me,{className:"gap-3",children:[o.jsx(Se,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{et==null||et.dismiss()},children:p("Later",{ns:"help"})}),o.jsx(Se,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{et==null||et.dismiss();const Et=Object.values(jn);a.setAppToursSkippedList([...Et])},children:p("Skip All Tours",{ns:"help"})})]})]})]})})}(Ie=Pe.isSkipAutoStartPrompt)!=null&&Ie.valueBool||qs("is_autostart_enabled").then(et=>ge(this,null,function*(){if(!et&&(yield b2("Start the app at system startup?",{title:"PasteBar auto start",okLabel:"Turn on",cancelLabel:"Later"})))try{yield qs("autostart",{enabled:!0})}catch(bt){console.error(bt)}})),gt===!1&&(P2.value=!0)}catch(nt){console.error(nt)}}),pT().then(_=>{r.setOSType(_)}),Ss.innerSize().then(_=>{const{width:P,height:I}=_;(P<740||I<600)&&Ss.setSize(new ov(750,620))}),i.deviceId===""&&qs("get_device_id").then(_=>{const P=_;i.setDeviceId(P)}),(!ib.TAURI_DEBUG||ib.VITE_ENABLE_DEV_AUTO_UPDATER)&&a.checkForUpdate();const g=Zi("clipboard://clipboard-monitor/update",_=>ge(this,null,function*(){_.payload==="clipboard update"&&(Ju.value&&(yield new Promise(P=>setTimeout(P,600)),Ju.value=""),ed.value&&(yield new Promise(P=>setTimeout(P,600)),ed.value=""),yield e.invalidateQueries({queryKey:["get_clipboard_history"]}),yield e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]}),setTimeout(()=>{l.scrollToTopHistoryList()},100),setTimeout(()=>{e.setQueryData(["get_clipboard_history"],P=>{if(P)return ae(R({},P),{pages:P.pages.slice(0,1),pageParams:P.pageParams.slice(0,1)})})},1e3),qs("build_system_menu"))})),w=Zi("clips://clips-monitor/update",_=>ge(this,null,function*(){_.payload==="update"&&(yield e.invalidateQueries({queryKey:["get_active_collection_with_clips"]}))})),x=Zi("macosx-permissions-modal",_=>ge(this,null,function*(){_.payload==="show"&&(P2.value=!0)})),S=Zi("setting:update",_=>ge(this,null,function*(){const{name:P,value_bool:I}=_.payload;P==="isHistoryEnabled"&&a.updateSetting("isHistoryEnabled",!!I)})),E=Zi("menu:add_first_menu_item",()=>ge(this,null,function*(){n("/menu",{replace:!0})})),N=Zi("scheme-request-received",_=>{const P=_.payload;if(!P)return;const I=new URL(P);if(I.hostname==="activate-license"||I.pathname.includes("activate-license")){const T=I.searchParams.get("key");let A=null,L=null;try{if(L=hk(T),!L)throw new Error("Invalid license key");if(typeof L.id=="string"&&L.id.length>0)A=null;else throw new Error("Invalid license key")}catch(z){return vo(p("License key validation failed. Please try another key.",{ns:"common"}),{title:p("Activation Error",{ns:"common"}),type:"error"}),A=z,!1}if(L.id&&A===null){const z=p("Do you want to activate license below?"),Y=p("Name: {{name}}",{name:L.name}),O=p("Email: {{email}}",{email:L.email}),$=p("License Key: {{key}}",{key:mv(T,10,10,180)});b2("".concat(z,"\n\n").concat(Y,"\n").concat(O,"\n\n").concat($),{title:p("PasteBar Pro License Activation",{ns:"common"}),okLabel:p("Yes, activate",{ns:"common"}),cancelLabel:p("Cancel",{ns:"common"})}).then(M=>{M&&(Jm.value=!1,Ga.value=!1,n("/app-settings/license/register",{replace:!0,state:{ls:T}}))})}}else if(I.hostname==="shared-clip"||I.pathname.includes("shared-clip"))return});return d.on("languageChanged",function(){return ge(this,null,function*(){yield e.invalidateQueries({queryKey:["get_clipboard_history"]})})}),window.addEventListener("contextmenu",_=>{ib.TAURI_DEBUG||_.preventDefault()}),()=>{N.then(_=>{_()}),g.then(_=>{_()}),E.then(_=>{_()}),w.then(_=>{_()}),S.then(_=>{_()}),x.then(_=>{_()}),u.current&&clearTimeout(u.current),_I.forEach(_=>window.removeEventListener(_,m))}},[]);const b=Tt(Is);return v.useEffect(()=>{document.documentElement.style.fontSize=b.fontSize},[b.fontSize]),o.jsx(o.Fragment,{children:o.jsx(rke,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:o.jsx("div",{className:"bg-transparent ".concat(r.isMacOSX?"p-0":"p-1"," rounded-md"),children:o.jsxs("div",{className:"border rounded-lg shadow-window border-gray-100 dark:border-gray-800 relative bg-slate-100",children:[o.jsx(nke,{}),o.jsx(A7,{})]})})})})}finally{t.f()}}function uke(){const t=Te(8),{direction:e,setDirection:n}=Tt(yo);let r;t[0]!==n?(r=u=>{n(u)},t[0]=n,t[1]=r):r=t[1];const s=r;let a,i;t[2]!==e?(a=()=>{if(window===void 0)return;window.document.documentElement.setAttribute("dir",e)},i=[e],t[2]=e,t[3]=a,t[4]=i):(a=t[3],i=t[4]),v.useEffect(a,i);let l;return t[5]!==e||t[6]!==s?(l=[e,s],t[5]=e,t[6]=s,t[7]=l):l=t[7],l}const EW="ToastProvider",[$7,dke,fke]=_0("Toast"),[NW,ZEe]=Na("Toast",[fke]),[hke,pk]=NW(EW),_W=t=>{const{__scopeToast:e,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:a=50,children:i}=t,[l,u]=v.useState(null),[d,p]=v.useState(0),h=v.useRef(!1),m=v.useRef(!1);return v.createElement($7.Provider,{scope:e},v.createElement(hke,{scope:e,label:n,duration:r,swipeDirection:s,swipeThreshold:a,toastCount:d,viewport:l,onViewportChange:u,onToastAdd:v.useCallback(()=>p(b=>b+1),[]),onToastRemove:v.useCallback(()=>p(b=>b-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:m},i))};_W.propTypes={label(t){if(t.label&&typeof t.label=="string"&&!t.label.trim()){const e="Invalid prop `label` supplied to `".concat(EW,"`. Expected non-empty `string`.");return new Error(e)}return null}};const pke="ToastViewport",mke=["F8"],oj="toast.viewportPause",ij="toast.viewportResume",gke=v.forwardRef((t,e)=>{const w=t,{__scopeToast:n,hotkey:r=mke,label:s="Notifications ({hotkey})"}=w,a=Ne(w,["__scopeToast","hotkey","label"]),i=pk(pke,n),l=dke(n),u=v.useRef(null),d=v.useRef(null),p=v.useRef(null),h=v.useRef(null),m=tr(e,h,i.onViewportChange),b=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=i.toastCount>0;v.useEffect(()=>{const x=S=>{var E;r.every(_=>S[_]||S.code===_)&&((E=h.current)===null||E===void 0||E.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),v.useEffect(()=>{const x=u.current,S=h.current;if(C&&x&&S){const E=()=>{if(!i.isClosePausedRef.current){const I=new CustomEvent(oj);S.dispatchEvent(I),i.isClosePausedRef.current=!0}},N=()=>{if(i.isClosePausedRef.current){const I=new CustomEvent(ij);S.dispatchEvent(I),i.isClosePausedRef.current=!1}},_=I=>{!x.contains(I.relatedTarget)&&N()},P=()=>{x.contains(document.activeElement)||N()};return x.addEventListener("focusin",E),x.addEventListener("focusout",_),x.addEventListener("pointermove",E),x.addEventListener("pointerleave",P),window.addEventListener("blur",E),window.addEventListener("focus",N),()=>{x.removeEventListener("focusin",E),x.removeEventListener("focusout",_),x.removeEventListener("pointermove",E),x.removeEventListener("pointerleave",P),window.removeEventListener("blur",E),window.removeEventListener("focus",N)}}},[C,i.isClosePausedRef]);const g=v.useCallback(({tabbingDirection:x})=>{const E=l().map(N=>{const _=N.ref.current,P=[_,...Dke(_)];return x==="forwards"?P:P.reverse()});return(x==="forwards"?E.reverse():E).flat()},[l]);return v.useEffect(()=>{const x=h.current;if(x){const S=E=>{const N=E.altKey||E.ctrlKey||E.metaKey;if(E.key==="Tab"&&!N){const A=document.activeElement,L=E.shiftKey;if(E.target===x&&L){var P;(P=d.current)===null||P===void 0||P.focus();return}const O=g({tabbingDirection:L?"backwards":"forwards"}),$=O.findIndex(M=>M===A);if(JC(O.slice($+1)))E.preventDefault();else{var I,T;L?(I=d.current)===null||I===void 0||I.focus():(T=p.current)===null||T===void 0||T.focus()}}};return x.addEventListener("keydown",S),()=>x.removeEventListener("keydown",S)}},[l,g]),v.createElement(que,{ref:u,role:"region","aria-label":s.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:C?void 0:"none"}},C&&v.createElement(TI,{ref:d,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});JC(x)}}),v.createElement($7.Slot,{scope:n},v.createElement(_n.ol,at({tabIndex:-1},a,{ref:m}))),C&&v.createElement(TI,{ref:p,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});JC(x)}}))}),vke="ToastFocusProxy",TI=v.forwardRef((t,e)=>{const i=t,{__scopeToast:n,onFocusFromOutsideViewport:r}=i,s=Ne(i,["__scopeToast","onFocusFromOutsideViewport"]),a=pk(vke,n);return v.createElement(S5,at({"aria-hidden":!0,tabIndex:0},s,{ref:e,style:{position:"fixed"},onFocus:l=>{var u;const d=l.relatedTarget;!((u=a.viewport)!==null&&u!==void 0&&u.contains(d))&&r()}}))}),mk="Toast",xke="toast.swipeStart",yke="toast.swipeMove",bke="toast.swipeCancel",wke="toast.swipeEnd",kke=v.forwardRef((t,e)=>{const d=t,{forceMount:n,open:r,defaultOpen:s,onOpenChange:a}=d,i=Ne(d,["forceMount","open","defaultOpen","onOpenChange"]),[l=!0,u]=ia({prop:r,defaultProp:s,onChange:a});return v.createElement(jo,{present:n||l},v.createElement(TW,at({open:l},i,{ref:e,onClose:()=>u(!1),onPause:Zs(t.onPause),onResume:Zs(t.onResume),onSwipeStart:Ot(t.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ot(t.onSwipeMove,p=>{const{x:h,y:m}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","move"),p.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(h,"px")),p.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(m,"px"))}),onSwipeCancel:Ot(t.onSwipeCancel,p=>{p.currentTarget.setAttribute("data-swipe","cancel"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ot(t.onSwipeEnd,p=>{const{x:h,y:m}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","end"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(h,"px")),p.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(m,"px")),u(!1)})})))}),[Cke,Ske]=NW(mk,{onClose(){}}),TW=v.forwardRef((t,e)=>{const $=t,{__scopeToast:n,type:r="foreground",duration:s,open:a,onClose:i,onEscapeKeyDown:l,onPause:u,onResume:d,onSwipeStart:p,onSwipeMove:h,onSwipeCancel:m,onSwipeEnd:b}=$,C=Ne($,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),g=pk(mk,n),[w,x]=v.useState(null),S=tr(e,M=>x(M)),E=v.useRef(null),N=v.useRef(null),_=s||g.duration,P=v.useRef(0),I=v.useRef(_),T=v.useRef(0),{onToastAdd:A,onToastRemove:L}=g,z=Zs(()=>{var M;(w==null?void 0:w.contains(document.activeElement))&&((M=g.viewport)===null||M===void 0||M.focus()),i()}),Y=v.useCallback(M=>{!M||M===1/0||(window.clearTimeout(T.current),P.current=new Date().getTime(),T.current=window.setTimeout(z,M))},[z]);v.useEffect(()=>{const M=g.viewport;if(M){const W=()=>{Y(I.current),d==null||d()},V=()=>{const U=new Date().getTime()-P.current;I.current=I.current-U,window.clearTimeout(T.current),u==null||u()};return M.addEventListener(oj,V),M.addEventListener(ij,W),()=>{M.removeEventListener(oj,V),M.removeEventListener(ij,W)}}},[g.viewport,_,u,d,Y]),v.useEffect(()=>{a&&!g.isClosePausedRef.current&&Y(_)},[a,_,g.isClosePausedRef,Y]),v.useEffect(()=>(A(),()=>L()),[A,L]);const O=v.useMemo(()=>w?IW(w):null,[w]);return g.viewport?v.createElement(v.Fragment,null,O&&v.createElement(jke,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},O),v.createElement(Cke,{scope:n,onClose:z},ta.createPortal(v.createElement($7.ItemSlot,{scope:n},v.createElement(Vue,{asChild:!0,onEscapeKeyDown:Ot(l,()=>{g.isFocusedToastEscapeKeyDownRef.current||z(),g.isFocusedToastEscapeKeyDownRef.current=!1})},v.createElement(_n.li,at({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},C,{ref:S,style:R({userSelect:"none",touchAction:"none"},t.style),onKeyDown:Ot(t.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:Ot(t.onPointerDown,M=>{M.button===0&&(E.current={x:M.clientX,y:M.clientY})}),onPointerMove:Ot(t.onPointerMove,M=>{if(!E.current)return;const W=M.clientX-E.current.x,V=M.clientY-E.current.y,U=!!N.current,J=["left","right"].includes(g.swipeDirection),H=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,F=J?H(0,W):0,q=J?0:H(0,V),X=M.pointerType==="touch"?10:2,ne={x:F,y:q},ee={originalEvent:M,delta:ne};U?(N.current=ne,lb(yke,h,ee,{discrete:!1})):PI(ne,g.swipeDirection,X)?(N.current=ne,lb(xke,p,ee,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(W)>X||Math.abs(V)>X)&&(E.current=null)}),onPointerUp:Ot(t.onPointerUp,M=>{const W=N.current,V=M.target;if(V.hasPointerCapture(M.pointerId)&&V.releasePointerCapture(M.pointerId),N.current=null,E.current=null,W){const U=M.currentTarget,J={originalEvent:M,delta:W};PI(W,g.swipeDirection,g.swipeThreshold)?lb(wke,b,J,{discrete:!0}):lb(bke,m,J,{discrete:!0}),U.addEventListener("click",H=>H.preventDefault(),{once:!0})}})})))),g.viewport))):null});TW.propTypes={type(t){if(t.type&&!["foreground","background"].includes(t.type)){const e="Invalid prop `type` supplied to `".concat(mk,"`. Expected `foreground | background`.");return new Error(e)}return null}};const jke=t=>{const d=t,{__scopeToast:e,children:n}=d,r=Ne(d,["__scopeToast","children"]),s=pk(mk,e),[a,i]=v.useState(!1),[l,u]=v.useState(!1);return Pke(()=>i(!0)),v.useEffect(()=>{const p=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(p)},[]),l?null:v.createElement(lu,{asChild:!0},v.createElement(S5,r,a&&v.createElement(v.Fragment,null,s.label," ",n)))},Eke=v.forwardRef((t,e)=>{const s=t,{__scopeToast:n}=s,r=Ne(s,["__scopeToast"]);return v.createElement(_n.div,at({},r,{ref:e}))}),Nke=v.forwardRef((t,e)=>{const s=t,{__scopeToast:n}=s,r=Ne(s,["__scopeToast"]);return v.createElement(_n.div,at({},r,{ref:e}))}),_ke="ToastAction",PW=v.forwardRef((t,e)=>{const s=t,{altText:n}=s,r=Ne(s,["altText"]);return n?v.createElement(DW,{altText:n,asChild:!0},v.createElement(MW,at({},r,{ref:e}))):null});PW.propTypes={altText(t){return t.altText?null:new Error("Missing prop `altText` expected on `".concat(_ke,"`"))}};const Tke="ToastClose",MW=v.forwardRef((t,e)=>{const a=t,{__scopeToast:n}=a,r=Ne(a,["__scopeToast"]),s=Ske(Tke,n);return v.createElement(DW,{asChild:!0},v.createElement(_n.button,at({type:"button"},r,{ref:e,onClick:Ot(t.onClick,s.onClose)})))}),DW=v.forwardRef((t,e)=>{const a=t,{__scopeToast:n,altText:r}=a,s=Ne(a,["__scopeToast","altText"]);return v.createElement(_n.div,at({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},s,{ref:e}))});function IW(t){const e=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&e.push(r.textContent),Mke(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!s)if(a){const i=r.dataset.radixToastAnnounceAlt;i&&e.push(i)}else e.push(...IW(r))}}),e}function lb(t,e,n,{discrete:r}){const s=n.originalEvent.currentTarget,a=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e&&s.addEventListener(t,e,{once:!0}),r?N8(s,a):s.dispatchEvent(a)}const PI=(t,e,n=0)=>{const r=Math.abs(t.x),s=Math.abs(t.y),a=r>s;return e==="left"||e==="right"?a&&r>n:!a&&s>n};function Pke(t=()=>{}){const e=Zs(t);Go(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[e])}function Mke(t){return t.nodeType===t.ELEMENT_NODE}function Dke(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function JC(t){const e=document.activeElement;return t.some(n=>n===e?!0:(n.focus(),document.activeElement!==e))}const Ike=_W,AW=gke,LW=kke,RW=Eke,OW=Nke,$W=PW,zW=MW,Ake=Ike,FW=v.forwardRef((t,e)=>{var l;const n=Te(9);let r,s;n[0]!==t?(l=t,{className:r}=l,s=Ne(l,["className"]),n[0]=t,n[1]=r,n[2]=s):(r=n[1],s=n[2]);let a;n[3]!==r?(a=qt("max-w-[470px] pointer-events-none fixed top-14 right-4 z-[100000] flex max-h-screen w-full px-3 py-2 flex-col",r),n[3]=r,n[4]=a):a=n[4];let i;return n[5]!==e||n[6]!==a||n[7]!==s?(i=o.jsx(AW,R({ref:e,className:a},s)),n[5]=e,n[6]=a,n[7]=s,n[8]=i):i=n[8],i});FW.displayName=AW.displayName;const Lke=Jd("data-[swipe=move]:transition-none group relative pointer-events-auto flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border px-5 py-4 shadow-md data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-10 data-[state=open]:slide-in-from-right-2/3 data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background dark:bg-gray-900 border",success:"bg-green-50 dark:bg-green-950 bg-green-100 dark:bg-green-900",danger:"danger group border-danger bg-danger-foreground text-danger",warning:"warning group border-warning bg-warning text-warning-foreground",info:"info group border-info bg-info text-info-foreground",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),HW=v.forwardRef((t,e)=>{var u;const n=Te(11);let r,s,a;n[0]!==t?(u=t,{className:s,variant:r}=u,a=Ne(u,["className","variant"]),n[0]=t,n[1]=r,n[2]=s,n[3]=a):(r=n[1],s=n[2],a=n[3]);let i;n[4]!==r||n[5]!==s?(i=qt(Lke({variant:r}),s),n[4]=r,n[5]=s,n[6]=i):i=n[6];let l;return n[7]!==e||n[8]!==i||n[9]!==a?(l=o.jsx(LW,R({ref:e,className:i},a)),n[7]=e,n[8]=i,n[9]=a,n[10]=l):l=n[10],l});HW.displayName=LW.displayName;const Rke=v.forwardRef((t,e)=>{var l;const n=Te(9);let r,s;n[0]!==t?(l=t,{className:r}=l,s=Ne(l,["className"]),n[0]=t,n[1]=r,n[2]=s):(r=n[1],s=n[2]);let a;n[3]!==r?(a=qt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-destructive/30 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",r),n[3]=r,n[4]=a):a=n[4];let i;return n[5]!==e||n[6]!==a||n[7]!==s?(i=o.jsx($W,R({ref:e,className:a},s)),n[5]=e,n[6]=a,n[7]=s,n[8]=i):i=n[8],i});Rke.displayName=$W.displayName;const BW=v.forwardRef((t,e)=>{var u;const n=Te(10);let r,s;n[0]!==t?(u=t,{className:r}=u,s=Ne(u,["className"]),n[0]=t,n[1]=r,n[2]=s):(r=n[1],s=n[2]);let a;n[3]!==r?(a=qt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),n[3]=r,n[4]=a):a=n[4];let i;n[5]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx(In,{className:"h-5 w-5"}),n[5]=i):i=n[5];let l;return n[6]!==e||n[7]!==a||n[8]!==s?(l=o.jsx(zW,ae(R({ref:e,className:a,"toast-close":""},s),{children:i})),n[6]=e,n[7]=a,n[8]=s,n[9]=l):l=n[9],l});BW.displayName=zW.displayName;const UW=v.forwardRef((t,e)=>{var l;const n=Te(9);let r,s;n[0]!==t?(l=t,{className:r}=l,s=Ne(l,["className"]),n[0]=t,n[1]=r,n[2]=s):(r=n[1],s=n[2]);let a;n[3]!==r?(a=qt("text-base font-semibold",r),n[3]=r,n[4]=a):a=n[4];let i;return n[5]!==e||n[6]!==a||n[7]!==s?(i=o.jsx(RW,R({ref:e,className:a},s)),n[5]=e,n[6]=a,n[7]=s,n[8]=i):i=n[8],i});UW.displayName=RW.displayName;const WW=v.forwardRef((t,e)=>{var l;const n=Te(9);let r,s;n[0]!==t?(l=t,{className:r}=l,s=Ne(l,["className"]),n[0]=t,n[1]=r,n[2]=s):(r=n[1],s=n[2]);let a;n[3]!==r?(a=qt("text-base",r),n[3]=r,n[4]=a):a=n[4];let i;return n[5]!==e||n[6]!==a||n[7]!==s?(i=o.jsx(OW,R({ref:e,className:a},s)),n[5]=e,n[6]=a,n[7]=s,n[8]=i):i=n[8],i});WW.displayName=OW.displayName;function Oke(){const t=Te(9),{toasts:e}=Mx(),[n,r]=v.useState(null);let s,a;t[0]!==e?(s=()=>{e.length>0?r(e[0]):r(null)},a=[e],t[0]=e,t[1]=s,t[2]=a):(s=t[1],a=t[2]),v.useEffect(s,a);let i;if(t[3]!==e){let d;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=function(p){const x=p,{id:h,title:m,description:b,action:C,duration:g}=x,w=Ne(x,["id","title","description","action","duration"]);return o.jsx(HW,ae(R({duration:g},w),{children:o.jsxs("div",{className:"flex flex-col w-full",children:[o.jsxs("div",{className:"flex justify-start items-center w-full p-2 gap-2 mr-4",children:[o.jsxs("div",{className:"grid gap-1",children:[m&&o.jsx(UW,{children:m}),b&&o.jsx(WW,{children:b})]}),C]}),o.jsx(BW,{})]})}),h)},t[5]=d):d=t[5],i=e.map(d),t[3]=e,t[4]=i}else i=t[4];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(FW,{}),t[6]=l):l=t[6];let u;return t[7]!==i?(u=o.jsxs(Ake,{duration:12e3,children:[i,l]}),t[7]=i,t[8]=u):u=t[8],u}var VW=_5(),e4=function(){},gk=v.forwardRef(function(t,e){var n=v.useRef(null),r=v.useState({onScrollCapture:e4,onWheelCapture:e4,onTouchMoveCapture:e4}),s=r[0],a=r[1],i=t.forwardProps,l=t.children,u=t.className,d=t.removeScrollBar,p=t.enabled,h=t.shards,m=t.sideCar,b=t.noIsolation,C=t.inert,g=t.allowPinchZoom,w=t.as,x=w===void 0?"div":w,S=mx(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=m,N=N5([n,e]),_=br(br({},S),s);return v.createElement(v.Fragment,null,p&&v.createElement(E,{sideCar:VW,removeScrollBar:d,shards:h,noIsolation:b,inert:C,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),i?v.cloneElement(v.Children.only(l),br(br({},_),{ref:N})):v.createElement(x,br({},_,{className:u,ref:N}),l))});gk.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};gk.classNames={fullWidth:sh,zeroRight:rh};var lj=!1;if(typeof window!="undefined")try{var cb=Object.defineProperty({},"passive",{get:function(){return lj=!0,!0}});window.addEventListener("test",cb,cb),window.removeEventListener("test",cb,cb)}catch(t){lj=!1}var _p=lj?{passive:!1}:!1,$ke=function(t){return t.tagName==="TEXTAREA"},qW=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!$ke(t)&&n[e]==="visible")},zke=function(t){return qW(t,"overflowY")},Fke=function(t){return qW(t,"overflowX")},MI=function(t,e){var n=e;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=KW(t,n);if(r){var s=GW(t,n),a=s[1],i=s[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Hke=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},Bke=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},KW=function(t,e){return t==="v"?zke(e):Fke(e)},GW=function(t,e){return t==="v"?Hke(e):Bke(e)},Uke=function(t,e){return t==="h"&&e==="rtl"?-1:1},Wke=function(t,e,n,r,s){var a=Uke(t,window.getComputedStyle(e).direction),i=a*r,l=n.target,u=e.contains(l),d=!1,p=i>0,h=0,m=0;do{var b=GW(t,l),C=b[0],g=b[1],w=b[2],x=g-w-a*C;(C||x)&&KW(t,l)&&(h+=x,m+=C),l=l.parentNode}while(!u&&l!==document.body||u&&(e.contains(l)||e===l));return(p&&(s&&h===0||!s&&i>h)||!p&&(s&&m===0||!s&&-i>m))&&(d=!0),d},ub=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},DI=function(t){return[t.deltaX,t.deltaY]},II=function(t){return t&&"current"in t?t.current:t},Vke=function(t,e){return t[0]===e[0]&&t[1]===e[1]},qke=function(t){return"\n .block-interactivity-".concat(t," {pointer-events: none;}\n .allow-interactivity-").concat(t," {pointer-events: all;}\n")},Kke=0,Tp=[];function Gke(t){var e=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),s=v.useState(Kke++)[0],a=v.useState(function(){return gx()})[0],i=v.useRef(t);v.useEffect(function(){i.current=t},[t]),v.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var g=E5([t.lockRef.current],(t.shards||[]).map(II),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var l=v.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var x=ub(g),S=n.current,E="deltaX"in g?g.deltaX:S[0]-x[0],N="deltaY"in g?g.deltaY:S[1]-x[1],_,P=g.target,I=Math.abs(E)>Math.abs(N)?"h":"v";if("touches"in g&&I==="h"&&P.type==="range")return!1;var T=MI(I,P);if(!T)return!0;if(T?_=I:(_=I==="v"?"h":"v",T=MI(I,P)),!T)return!1;if(!r.current&&"changedTouches"in g&&(E||N)&&(r.current=_),!_)return!0;var A=r.current||_;return Wke(A,w,g,A==="h"?E:N,!0)},[]),u=v.useCallback(function(g){var w=g;if(!(!Tp.length||Tp[Tp.length-1]!==a)){var x="deltaY"in w?DI(w):ub(w),S=e.current.filter(function(_){return _.name===w.type&&_.target===w.target&&Vke(_.delta,x)})[0];if(S&&S.should){w.cancelable&&w.preventDefault();return}if(!S){var E=(i.current.shards||[]).map(II).filter(Boolean).filter(function(_){return _.contains(w.target)}),N=E.length>0?l(w,E[0]):!i.current.noIsolation;N&&w.cancelable&&w.preventDefault()}}},[]),d=v.useCallback(function(g,w,x,S){var E={name:g,delta:w,target:x,should:S};e.current.push(E),setTimeout(function(){e.current=e.current.filter(function(N){return N!==E})},1)},[]),p=v.useCallback(function(g){n.current=ub(g),r.current=void 0},[]),h=v.useCallback(function(g){d(g.type,DI(g),g.target,l(g,t.lockRef.current))},[]),m=v.useCallback(function(g){d(g.type,ub(g),g.target,l(g,t.lockRef.current))},[]);v.useEffect(function(){return Tp.push(a),t.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",u,_p),document.addEventListener("touchmove",u,_p),document.addEventListener("touchstart",p,_p),function(){Tp=Tp.filter(function(g){return g!==a}),document.removeEventListener("wheel",u,_p),document.removeEventListener("touchmove",u,_p),document.removeEventListener("touchstart",p,_p)}},[]);var b=t.removeScrollBar,C=t.inert;return v.createElement(v.Fragment,null,C?v.createElement(a,{styles:qke(s)}):null,b?v.createElement(M5,{gapMode:"margin"}):null)}const Yke=T5(VW,Gke);var YW=v.forwardRef(function(t,e){return v.createElement(gk,br({},t,{ref:e,sideCar:Yke}))});YW.classNames=gk.classNames;const Zke=YW,ZW="Dialog",[XW,XEe]=Na(ZW),[Xke,W0]=XW(ZW),Qke=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:a,modal:i=!0}=t,l=v.useRef(null),u=v.useRef(null),[d=!1,p]=ia({prop:r,defaultProp:s,onChange:a});return v.createElement(Xke,{scope:e,triggerRef:l,contentRef:u,contentId:Ys(),titleId:Ys(),descriptionId:Ys(),open:d,onOpenChange:p,onOpenToggle:v.useCallback(()=>p(h=>!h),[p]),modal:i},n)},Jke="DialogPortal",[QEe,QW]=XW(Jke,{forceMount:void 0}),cj="DialogOverlay",e3e=v.forwardRef((t,e)=>{const n=QW(cj,t.__scopeDialog),i=t,{forceMount:r=n.forceMount}=i,s=Ne(i,["forceMount"]),a=W0(cj,t.__scopeDialog);return a.modal?v.createElement(jo,{present:r||a.open},v.createElement(t3e,at({},s,{ref:e}))):null}),t3e=v.forwardRef((t,e)=>{const a=t,{__scopeDialog:n}=a,r=Ne(a,["__scopeDialog"]),s=W0(cj,n);return v.createElement(Zke,{as:Rd,allowPinchZoom:!0,shards:[s.contentRef]},v.createElement(_n.div,at({"data-state":eV(s.open)},r,{ref:e,style:R({pointerEvents:"auto"},r.style)})))}),Mv="DialogContent",n3e=v.forwardRef((t,e)=>{const n=QW(Mv,t.__scopeDialog),i=t,{forceMount:r=n.forceMount}=i,s=Ne(i,["forceMount"]),a=W0(Mv,t.__scopeDialog);return v.createElement(jo,{present:r||a.open},a.modal?v.createElement(r3e,at({},s,{ref:e})):v.createElement(s3e,at({},s,{ref:e})))}),r3e=v.forwardRef((t,e)=>{const n=W0(Mv,t.__scopeDialog),r=v.useRef(null),s=tr(e,n.contentRef,r);return v.useEffect(()=>{const a=r.current;if(a)return j5(a)},[]),v.createElement(JW,at({},t,{ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ot(t.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Ot(t.onPointerDownOutside,a=>{const i=a.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&a.preventDefault()}),onFocusOutside:Ot(t.onFocusOutside,a=>a.preventDefault())}))}),s3e=v.forwardRef((t,e)=>{const n=W0(Mv,t.__scopeDialog),r=v.useRef(!1),s=v.useRef(!1);return v.createElement(JW,at({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=t.onCloseAutoFocus)===null||i===void 0||i.call(t,a),!a.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),a.preventDefault()}r.current=!1,s.current=!1},onInteractOutside:a=>{var i,l;(i=t.onInteractOutside)===null||i===void 0||i.call(t,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const u=a.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(u))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}}))}),JW=v.forwardRef((t,e)=>{const p=t,{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:a}=p,i=Ne(p,["__scopeDialog","trapFocus","onOpenAutoFocus","onCloseAutoFocus"]),l=W0(Mv,n),u=v.useRef(null),d=tr(e,u);return x5(),v.createElement(v.Fragment,null,v.createElement(y5,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:a},v.createElement(P0,at({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":eV(l.open)},i,{ref:d,onDismiss:()=>l.onOpenChange(!1)}))),!1)});function eV(t){return t?"open":"closed"}const a3e=Qke,o3e=e3e,AI=n3e,tV=()=>{const t=Te(3);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={height:window.innerHeight,width:window.innerWidth},t[0]=e):e=t[0];const[n,r]=v.useState(e);let s,a;return t[1]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{const i=()=>{r({height:window.innerHeight,width:window.innerWidth})};return window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},a=[],t[1]=s,t[2]=a):(s=t[1],a=t[2]),v.useEffect(s,a),n},Dx=v.createContext({portalRef:void 0,onOutsideClick:()=>{},noFooter:!1,isLargeModal:!0}),i3e=t=>{const e=Te(8),{children:n,isNavVisible:r,outOutsideClick:s}=t,a=r===void 0?!0:r;let i;e[0]!==s?(i=s===void 0?()=>{}:s,e[0]=s,e[1]=i):i=e[1];const l=i;let u;e[2]!==l?(u=()=>{l()},e[2]=l,e[3]=u):u=e[3];const d="bg-slate-900/80 fixed ".concat(a?"top-10":"top-0"," bottom-0 left-0 right-0 z-50 grid place-items-center overflow-y-auto");let p;return e[4]!==u||e[5]!==d||e[6]!==n?(p=o.jsx(o3e,{onClick:u,className:d,children:n}),e[4]=u,e[5]=d,e[6]=n,e[7]=p):p=e[7],p},l3e=t=>{const e=Te(9),{children:n,outOutsideClick:r,isLargeModal:s,canClose:a,noFooter:i,positionTop:l}=t,{height:u}=tV(),d=i?u:u-64;let p;e[0]!==d?(p={maxHeight:d},e[0]=d,e[1]=p):p=e[1];const h=p;let m;return e[2]!==a||e[3]!==s||e[4]!==l||e[5]!==h||e[6]!==n||e[7]!==r?(m=a?o.jsx(AI,{style:h,className:"".concat(s?"-mt-5":"-mt-80"," ").concat(l?"!-mt-[100px]":""," min-w-modal rounded-lg outline-none bg-slate-100 dark:bg-slate-800 animate-in fade-in slide-in-from-top-10 duration-300 top-10"),children:n}):o.jsx(AI,{style:h,onPointerDownOutside:b=>{r&&r(),b.preventDefault()},onInteractOutside:b=>{b.preventDefault()},onEscapeKeyDown:b=>{b.preventDefault()},className:"".concat(s?"-mt-5":"-mt-80"," min-w-modal rounded-lg outline-none bg-slate-100 dark:bg-slate-800 animate-in fade-in slide-in-from-top-10 duration-300 top-10"),children:n}),e[2]=a,e[3]=s,e[4]=l,e[5]=h,e[6]=n,e[7]=r,e[8]=m):m=e[8],m},Yn=t=>{const e=Te(26),{open:n,handleClose:r,canClose:s,isNavVisible:a,positionTop:i,noFooter:l,isLargeModal:u,onOutsideClick:d,children:p}=t,h=n===void 0?!0:n,m=s===void 0?!0:s,b=a===void 0?!0:a,C=l===void 0?!1:l,g=u===void 0?!1:u;let w;e[0]!==d?(w=d===void 0?()=>{}:d,e[0]=d,e[1]=w):w=e[1];const x=w,S=v.useRef(null);let E;e[2]!==S||e[3]!==g||e[4]!==x||e[5]!==C?(E={portalRef:S,isLargeModal:g,onOutsideClick:x,noFooter:C},e[2]=S,e[3]=g,e[4]=x,e[5]=C,e[6]=E):E=e[6];let N;e[7]!==m||e[8]!==i||e[9]!==x||e[10]!==p?(N=o.jsx(l3e,{canClose:m,positionTop:i,outOutsideClick:x,isLargeModal:!0,noFooter:!0,children:p}),e[7]=m,e[8]=i,e[9]=x,e[10]=p,e[11]=N):N=e[11];let _;e[12]!==b||e[13]!==x||e[14]!==N?(_=o.jsx(i3e,{isNavVisible:b,outOutsideClick:x,children:N}),e[12]=b,e[13]=x,e[14]=N,e[15]=_):_=e[15];let P;e[16]!==E||e[17]!==_?(P=o.jsx(Dx.Provider,{value:E,children:_}),e[16]=E,e[17]=_,e[18]=P):P=e[18];let I;e[19]!==S||e[20]!==P?(I=o.jsx(lu,{ref:S,children:P}),e[19]=S,e[20]=P,e[21]=I):I=e[21];let T;return e[22]!==h||e[23]!==r||e[24]!==I?(T=o.jsx(a3e,{open:h,onOpenChange:r,children:I}),e[22]=h,e[23]=r,e[24]=I,e[25]=T):T=e[25],T};Yn.Body=({children:t,className:e,style:n})=>{const{isLargeModal:r,onOutsideClick:s}=v.useContext(Dx);return o.jsx("div",{style:n,className:Pn("h-[full]",e,{"max-w-2xl":r,"max-w-md":!r}),onClick:a=>{s&&s(),a.stopPropagation()},children:t})};Yn.Content=({children:t,className:e})=>{const{isLargeModal:n,onOutsideClick:r,noFooter:s}=v.useContext(Dx),{height:a}=tV(),i={maxHeight:s?a:a-90-141};return o.jsx("div",{"data-tauri-drag-region":!0,onClick:()=>{r&&r()},style:i,className:Pn("overflow-y-auto px-8 pt-6",{"w-largeModal pb-7":n,"pb-5":!n},e),children:t})};Yn.Header=({handleClose:t=void 0,children:e,className:n="",canClose:r=!0,isCenter:s=!1})=>{const{onOutsideClick:a}=v.useContext(Dx);return o.jsxs("div",{"data-tauri-drag-region":!0,className:"flex w-full items-center border-0 px-8 py-6 pb-2 ".concat(n),onClick:i=>{a&&a(),i.stopPropagation()},children:[o.jsx("div",{className:"flex flex-grow ".concat(s?"justify-center":""),children:e}),o.jsx("div",{className:"self-end",children:t&&r&&o.jsx(Se,{variant:"ghost",size:"sm",onClick:t,className:"cursor-pointer border-0 p-1.5",children:o.jsx(In,{size:20})})})]})};Yn.Footer=({children:t,className:e})=>{const{isLargeModal:n,onOutsideClick:r}=v.useContext(Dx);return o.jsx("div",{"data-tauri-drag-region":!0,onClick:s=>{r&&r(),s.stopPropagation()},className:Pn("flex w-full px-7 pb-6 pt-2",{"border-grey-20 border-0 pt-4":n},e),children:t})};function c3e({open:t,onClose:e,showUpdateAppIsLatest:n,showUpdateChecking:r}){var s=sn(1);try{const{t:a}=Gt(),{checkForUpdate:i}=Tt(Cr),l=vl(B0),u=vl(Nx),d=Tx(),p=v.useMemo(()=>_x(),[Un.value]),h=Pr(1718311101899).format("MMMM, YYYY");return console.log("showUpdateChecking.value in about pastebar",r.value),o.jsx(Yn,{open:t,handleClose:e,positionTop:!0,children:o.jsxs(Yn.Body,{className:"min-w-[400px] relative",children:[o.jsx(Se,{variant:"link",type:"button",onClick:e,className:"hover:bg-slate-200 px-2 absolute right-1.5 top-1.5 text-slate-400 dark:text-slate-500 hover:text-slate-600 hover:dark:text-slate-400 hover:bg-transparent dark:hover:bg-transparent",children:o.jsx(In,{className:"w-5 h-5"})}),o.jsx(Yn.Content,{children:o.jsxs(me,{className:"w-full flex-col gap-1 mt-1",children:[o.jsx(me,{className:"h-fit w-full items-center",children:o.jsx(jW,{width:80,height:80})}),o.jsx(re,{className:"font-semibold text-2xl",children:l?p?o.jsxs(o.Fragment,{children:[a("PasteBar",{ns:"common"})," ",o.jsx("span",{className:"text-amber-700 dark:text-amber-600 ml-1 opacity-80",children:a("Pro",{ns:"common"})})]}):a("PasteBar Pro",{ns:"common"}):a("PasteBar",{ns:"common"})}),o.jsxs(re,{className:"font-light text-center",children:[a("Version",{ns:"common"}),": ","0.2.3",u&&o.jsx("span",{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md !text-slate-600 text-sm ml-1.5 mb-0 py-0",children:"Beta"})]}),o.jsx(re,{className:"font-light text-center",children:a("Build on {{buildDate}}",{ns:"common",buildDate:h})}),o.jsx("a",{href:"https://".concat(a("www.site",{ns:"common"})),target:"_blank",className:"underline !text-blue-600 dark:!text-blue-400 cursor-pointer",children:a("www.site",{ns:"common"})}),o.jsx(Rn,{h:3}),o.jsxs("div",{className:"flex w-full justify-center items-center gap-x-3",children:[!l&&o.jsx(Se,{variant:"ghost",size:"sm",onClick:()=>{e(),Ga.value=!0,Jm.value=!0},className:"hover:bg-blue-600 hover:text-white dark:bg-gray-700/50 bg-gray-200/50 dark:hover:bg-blue-600",children:d?a("Renew License",{ns:"settings"}):a("Upgrade to Pro",{ns:"common"})}),o.jsx(Se,{variant:"ghost",size:"sm",onClick:()=>{i(!0),n.value=!0},className:"hover:bg-blue-600 hover:text-white dark:bg-gray-700/50 bg-gray-200/50 dark:hover:bg-blue-600",children:n.value?a("No Update Available",{ns:"updater"}):r.value?a("Checking for Update...",{ns:"updater"}):a("Check for Update",{ns:"updater"})})]})]})}),o.jsxs(Yn.Footer,{className:"flex-col items-center !pt-0 !pb-5 relative",children:[o.jsxs(re,{className:"text-sm mb-2 opacity-50 flex justify-center items-center ",children:[a("Stay in touch",{ns:"common"}),o.jsx(E0,{className:"w-[13px] h-[13px] ml-1"})]}),o.jsx(SW,{})]})]})})}finally{s.f()}}function u3e(t){const e=Te(55),{open:n,selectedText:r,onClose:s,onConfirmMenu:a,onConfirmClip:i}=t,{t:l}=Gt(),{themeDark:u}=Tt(yo);let d;e[0]!==u?(d=u(),e[0]=u,e[1]=d):d=e[1];const p=d;let h;e[2]!==l?(h=l("Add to Clips or Menu",{ns:"common"}),e[2]=l,e[3]=h):h=e[3];let m;e[4]!==h?(m=o.jsx("h1",{className:"m-0",children:h}),e[4]=h,e[5]=m):m=e[5];let b;e[6]!==s||e[7]!==m?(b=o.jsx(Yn.Header,{handleClose:s,children:m}),e[6]=s,e[7]=m,e[8]=b):b=e[8];let C;e[9]!==p||e[10]!==r?(C=o.jsx(te,{className:"bg-slate-200/70 dark:bg-slate-900/60 rounded-md border border-slate-200 dark:border-slate-800/70 px-2 pt-1",children:o.jsx(ka,{isDark:p,maxHeight:350,isLargeView:!0,isShowMore:!0,isWrapped:!0,language:"text",value:r})}),e[9]=p,e[10]=r,e[11]=C):C=e[11];let g;e[12]===Symbol.for("react.memo_cache_sentinel")?(g=o.jsx(Rn,{h:4}),e[12]=g):g=e[12];let w;e[13]!==l?(w=l("You can add the selected text to your clips or menu. Please select the option below.",{ns:"collections"}),e[13]=l,e[14]=w):w=e[14];let x;e[15]!==w?(x=o.jsx(re,{className:"font-light",children:w}),e[15]=w,e[16]=x):x=e[16];let S;e[17]!==C||e[18]!==x?(S=o.jsxs(Yn.Content,{className:"!pt-2",children:[C,g,x]}),e[17]=C,e[18]=x,e[19]=S):S=e[19];let E;e[20]!==i||e[21]!==r?(E=()=>{i(r)},e[20]=i,e[21]=r,e[22]=E):E=e[22];let N;e[23]!==l?(N=l("Add Clip",{ns:"common"}),e[23]=l,e[24]=N):N=e[24];let _;e[25]!==E||e[26]!==N?(_=o.jsx(Se,{variant:"light",type:"submit",onClick:E,className:"w-full bg-blue-300 hover:bg-blue-500 hover:text-white dark:bg-blue-700 dark:hover:bg-blue-600",children:N}),e[25]=E,e[26]=N,e[27]=_):_=e[27];let P;e[28]!==a||e[29]!==r?(P=()=>{a(r)},e[28]=a,e[29]=r,e[30]=P):P=e[30];let I;e[31]!==l?(I=l("Add Menu",{ns:"common"}),e[31]=l,e[32]=I):I=e[32];let T;e[33]!==P||e[34]!==I?(T=o.jsx(Se,{variant:"light",type:"submit",onClick:P,className:"w-full bg-blue-300 hover:bg-blue-500 hover:text-white dark:bg-blue-700 dark:hover:bg-blue-600",children:I}),e[33]=P,e[34]=I,e[35]=T):T=e[35];let A;e[36]!==_||e[37]!==T?(A=o.jsxs("div",{className:"flex w-full justify-center gap-x-3",children:[_,T]}),e[36]=_,e[37]=T,e[38]=A):A=e[38];let L;e[39]!==l?(L=l("Cancel",{ns:"common"}),e[39]=l,e[40]=L):L=e[40];let z;e[41]!==s||e[42]!==L?(z=o.jsx("div",{className:"flex w-full justify-center mt-3",children:o.jsx(Se,{variant:"ghost",type:"button",onClick:s,className:"hover:bg-slate-200 dark:hover:bg-slate-900",children:L})}),e[41]=s,e[42]=L,e[43]=z):z=e[43];let Y;e[44]!==A||e[45]!==z?(Y=o.jsxs(Yn.Footer,{className:"flex-col !pt-0 !pb-3",children:[A,z]}),e[44]=A,e[45]=z,e[46]=Y):Y=e[46];let O;e[47]!==b||e[48]!==S||e[49]!==Y?(O=o.jsxs(Yn.Body,{children:[b,S,Y]}),e[47]=b,e[48]=S,e[49]=Y,e[50]=O):O=e[50];let $;return e[51]!==n||e[52]!==s||e[53]!==O?($=o.jsx(Yn,{open:n,handleClose:s,children:O}),e[51]=n,e[52]=s,e[53]=O,e[54]=$):$=e[54],$}function d3e({open:t,onClose:e}){var n=sn(1);try{const{t:r}=Gt(),s=it(!1),{themeDark:a}=Tt(yo),i=a(),{deviceId:l}=Tt(yo),u=vl(B0),{id:d}=Un.value||{},p="".concat(u?"https://license.pastebar.app/contact/?pro=true&deviceId=".concat(l,"&licenseId=").concat(d,"&"):"https://license.pastebar.app/contact/?","source=app&locale=").concat(dr.language,"&dark=").concat(i?"true":"false"),h=()=>{ji(p)};return o.jsx(Yn,{open:t,handleClose:e,isLargeModal:!0,noFooter:!0,children:o.jsxs(Yn.Body,{className:"dark:bg-green-950/30 bg-green-50/30 flex flex-col items-start p-0 relative",style:{height:"calc(100vh - 180px)"},children:[o.jsx(Yn.Content,{className:"!pt-3 mb-0 w-full !pb-2 grow !max-h-700",children:o.jsx("iframe",{src:p,className:"rounded-md border-0 bg-transparent dark:border-slate-800/70",style:{width:520,height:"calc(100vh - 210px)"}})}),o.jsx(Se,{variant:"ghost",type:"button",onClick:()=>{e()},className:"text-slate-300 dark:hover:bg-slate-700 hover:bg-slate-600 absolute top-[-1 px] right-[-63px] w-14",children:o.jsx(In,{size:26})}),o.jsx(me,{className:"items-center w-full gap-1 absolute bottom-[-50px] left-0",children:s.value?o.jsxs(o.Fragment,{children:[o.jsx(Se,{variant:"link",type:"button",onClick:()=>{s.value=!1},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:r("Stay here",{ns:"common"})}),o.jsx(Se,{variant:"link",type:"button",onClick:()=>{s.value=!1,e()},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:r("Close modal and continue in browser",{ns:"common"})})]}):o.jsxs(o.Fragment,{children:[o.jsx(Se,{variant:"ghost",type:"button",onClick:()=>{e()},className:"text-slate-200 dark:hover:bg-slate-700 hover:bg-slate-600 opacity-70 hover:opacity-100 h-10",children:r("Cancel",{ns:"common"})}),o.jsxs(Se,{variant:"link",type:"button",onClick:()=>{h(),s.value=!0},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:[r("Open contact form in browser",{ns:"common"}),o.jsx(E0,{size:16,className:"ml-1.5"})]})]})})]})})}finally{n.f()}}function Nw(t,e){var d;const n=Te(9);let r;n[0]!==t||n[1]!==e?(r=localStorage.getItem(t)?JSON.parse((d=localStorage.getItem(t))!=null?d:"{}"):e,n[0]=t,n[1]=e,n[2]=r):r=n[2];const[s,a]=v.useState(r);let i,l;n[3]!==s||n[4]!==t?(i=()=>{s===null?localStorage.removeItem(t):localStorage.setItem(t,JSON.stringify(s))},l=[s,t],n[3]=s,n[4]=t,n[5]=i,n[6]=l):(i=n[5],l=n[6]),v.useEffect(i,l);let u;return n[7]!==s?(u=[s,a],n[7]=s,n[8]=u):u=n[8],u}function LI({open:t,title:e="Unlock Application Screen",isLockScreen:n=!1,showPasscode:r=!0,onConfirmSuccess:s,onClose:a=()=>{}}){var i=sn(1);try{const{t:l}=Gt(),u=it(r),d=it(!1),p=it(!1),h=it(!1),m=it(!1),b=it(""),C=it(!1),g=it(!1),w=it(!1),x=la(),[,S]=Nw("resetPassCodeNextDelayInSeconds",null),[E,N]=Nw("resetPassCodeGlobalUnsuccessfulTries",0),_=it(0),{isHistoryEnabled:P,setIsHistoryEnabled:I}=Tt(Cr),{screenLockPassCode:T,screenLockPassCodeLength:A,screenLockRecoveryPasswordMasked:L,verifyPassword:z,setScreenLockPassCode:Y,isShowHistoryCaptureOnLockedScreen:O,setScreenLockPassCodeLength:$,verifyStoredPassword:M}=Tt(Cr),W=it(new Array(A).fill(void 0)),V=v.useMemo(()=>h.value,[h.value]),U=J=>{const H=document.querySelector("input[name=field-".concat(J,"]"));H!==null&&H.focus()};return v.useEffect(()=>{if(Hr.value)Hr.value<1?(w.value=!1,W.value=new Array(A).fill(void 0)):w.value=!0;else return},[Hr.value]),v.useEffect(()=>{C.value&&setTimeout(()=>{s()},800)},[C.value]),v.useEffect(()=>{C.value=!1;function J(H){return ge(this,null,function*(){var q;if(g.value)return;const F=W.value.join("");if(yield z(F,H))C.value=!0,Hr.value=0,Lp.value=0,N(0),S(null),g.value=!1;else{if(Lp.value=Lp.value+1,Lp.value===3){const X=(q=parseInt(E,10))!=null?q:0;N(X+1),Hr.value=X>0?lM*X:lM}w.value=!0,C.value=!1,g.value=!1,W.value=new Array(A).fill(void 0),U(0)}})}u.value&&T&&!g.value&&W.value.every(H=>H!==void 0)&&setTimeout(()=>{J(T)},100)},[u.value,W.value,T]),v.useEffect(()=>{U(_.value)},[_.value]),o.jsx(Yn,{open:t,onOutsideClick:()=>{W.value[0]||U(0)},handleClose:a,canClose:!n||!T,isNavVisible:!1,children:o.jsxs(Yn.Body,{className:"bg-emerald-100/20 dark:bg-emerald-800/30",children:[o.jsx(Yn.Header,{handleClose:a,canClose:!n||!T,isCenter:n,children:T?o.jsx("h1",{className:"m-1 opacity-90 ".concat(C.value?"!text-green-600 dark:!text-green-500":w.value?"!text-red-600 dark:!text-red-500":""),children:d.value?l("Forgot passcode ?",{ns:"settings"}):l(e,{ns:"common"})}):o.jsx("h1",{className:"opacity-90",children:l("Passcode is not set",{ns:"settings"})})}),o.jsx(Yn.Content,{className:"!pt-2 justify-center items-center flex flex-col !min-w-[390px]",children:u.value&&!d.value&&T?o.jsxs(o.Fragment,{children:[o.jsx(me,{className:"gap-3 flex-wrap items-start justify-center my-2 flex-row animate-in fade-in duration-700",children:new Array(A).fill(0).map((J,H)=>o.jsx(te,{className:"text-lg px-2 py-2 rounded-md text-slate-600 dark:text-slate-400 bg-slate-300 dark:bg-slate-800 text-center",children:C.value?o.jsx(me,{className:"h-[48px] !w-9 !px-0 !text-[34px] pb-[2px] !border-0 !bg-green-100 dark:!bg-green-900/80",children:o.jsx(en,{size:26,className:"text-green-600 dark:text-green-300"})}):o.jsx(wn,{isPassword:!p.value,name:"field-".concat(H),className:"!w-9 !text-xl",ref:()=>{H===0&&!W.value[0]&&U(0)},disabled:Hr.value>0,autoComplete:"off",numbersOnly:!0,onKeyDown:F=>{(F.metaKey||F.altKey)&&F.code==="KeyH"?I(!P):F.key==="Backspace"&&F.currentTarget.value===""?_.value=H>0?H-1:0:F.key==="ArrowLeft"?(F.preventDefault(),_.value=H>0?H-1:0):F.key==="ArrowRight"&&(F.preventDefault(),_.value=H(F.preventDefault(),!1),maxLength:2,value:W.value[H]||"",classNameInput:"h-[48px] text-center !px-0 !text-[34px] pb-[2px] !border-0\n ".concat(W.value[H]&&!w.value?"!bg-green-100 dark:!bg-green-900/80":w.value?"dark:!bg-red-900/90 !bg-red-300/90":"dark:!bg-slate-800"),onChange:F=>{var X,ne,ee,G;w.value=!1,((ne=(X=F.target)==null?void 0:X.value)==null?void 0:ne.length)>=1&&(F.target.value=F.target.value[((G=(ee=F.target)==null?void 0:ee.value)==null?void 0:G.length)-1],_.value=Hle===H?q?parseInt(q):void 0:Z)}})},H))}),o.jsx(Rn,{h:4}),o.jsxs(me,{className:"font-light ".concat(w.value?"!text-red-600 dark:!text-red-500/90":""),children:[w.value?Hr.value>0?o.jsx(re,{className:"!text-red-600 dark:!text-red-500/90 font-semibold",children:l("Passcode verification is locked.",{ns:"settings"})}):o.jsx(re,{className:"!text-red-600 dark:!text-red-500/90 font-semibold",children:l("Passcode is not valid",{screenLockPassCodeLength:A,ns:"settings"})}):o.jsx(o.Fragment,{children:C.value?o.jsx(re,{className:"!text-green-600 dark:!text-green-500 font-semibold",children:l("Passcode successfully verified",{ns:"settings"})}):o.jsx(re,{children:o.jsx(ls,{i18nKey:"Enter your {{screenLockPassCodeLength}} digits passcode",values:{screenLockPassCodeLength:A},ns:"settings"})})}),!C.value&&Hr.value===0&&o.jsx(o.Fragment,{children:p.value?o.jsx(lx,{className:"cursor-pointer ml-1.5 opacity-60 hover:opacity-100",size:18,onClick:J=>{J.preventDefault(),p.value=!1,U(_.value)}}):o.jsx(N0,{className:"cursor-pointer ml-1.5 opacity-60 hover:opacity-100",size:18,onClick:J=>{J.preventDefault(),p.value=!0,U(_.value)}})})]}),Hr.value>0&&o.jsx(te,{className:"!text-amber-500 dark:!text-amber-600",children:o.jsx(ls,{i18nKey:"Try after {{resetPassCodeNextDelay}} seconds",values:{resetPassCodeNextDelay:Hr.value},ns:"settings"})})]}):d.value&&L?o.jsxs(o.Fragment,{children:[o.jsxs(me,{className:"mb-3 mt-0 gap-2 items-start justify-start",children:[o.jsx(wn,{className:"text-md !w-60",isPassword:!0,autoFocus:!0,showHidePassword:!0,onKeyDown:J=>{J.key==="Enter"&&!h.value&&b.value.length>=6&&(m.value=!1,h.value=!0,setTimeout(()=>{M("screenLockRecoveryPassword",b.value).then(H=>{H?(d.value=!1,Y(null),$(0),b.value=""):m.value=!0,h.value=!1}).catch(H=>{console.error(H),m.value=!0,h.value=!1})},1e3))},errorElement:b.value.length>=6&&m.value?o.jsxs(o.Fragment,{children:[o.jsx(re,{className:"!text-red-400",children:l("Password is incorrect.",{ns:"settings"})}),o.jsx(re,{className:"mt-1 !text-red-400",children:l("Hint: {{screenLockRecoveryPasswordMasked}}",{ns:"settings",screenLockRecoveryPasswordMasked:L})})]}):"",autoComplete:"off",onPaste:J=>(J.preventDefault(),!1),classNameInput:"h-9",placeholder:l("Enter Password",{ns:"common"}),onChange:J=>{m.value=!1,b.value=J.target.value}}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:b.value.length<6,onClick:()=>{!h.value&&b.value.length>=6&&(m.value=!1,h.value=!0,setTimeout(()=>{M("screenLockRecoveryPassword",b.value).then(J=>{J?(d.value=!1,Y(null),$(0),Hr.value=0,Lp.value=0,N(0),S(null),Ui.value&&(clearInterval(Ui.value),Ui.value=null),b.value=""):m.value=!0,h.value=!1}).catch(J=>{console.error(J),m.value=!0,h.value=!1})},600))},className:"min-w-[80px] mt-0.5 text-sm cursor-pointer whitespace-nowrap bg-blue-500 text-slate-50 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200",children:V?o.jsx(l0,{}):l("Reset",{ns:"common"})})]}),o.jsx(re,{className:"mt-1 text-center",children:l("Enter recovery password to reset passcode.",{ns:"settings"})})]}):o.jsx(re,{className:"mt-1 text-center",children:l("Please set up a Passcode and recovery password in Security Settings to enable Screen Lock and ensure better security.",{ns:"settings"})})}),o.jsxs(Yn.Footer,{className:"flex-row !pt-0 !pb-5 justify-center items-center gap-3 relative",children:[!n&&T?o.jsx(Se,{variant:"ghost",size:"sm",onClick:a,className:"hover:bg-slate-200 dark:hover:bg-slate-900",children:l("Cancel",{ns:"common"})}):!T&&o.jsx(Se,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{x("/app-settings/security",{replace:!0}),a()},children:l("Open Security Settings",{ns:"settings"})}),(w.value||d.value)&&L&&T&&o.jsx(o.Fragment,{children:d.value?o.jsx(Se,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{d.value=!1,W.value=new Array(A).fill(void 0)},children:l("Back",{ns:"settings"})}):o.jsx(Se,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{d.value=!0,m.value=!1,h.value=!1,b.value=""},children:l("Forgot?",{ns:"settings"})})}),O&&o.jsx(o.Fragment,{children:o.jsxs(me,{className:"dark:bg-slate-950/90 bg-gray-400/90 absolute bottom-[-100px] rounded-md px-2 py-1 cursor-pointer",onClick:J=>{J.preventDefault(),I(!P)},children:[o.jsxs(me,{className:"mr-1",children:[o.jsx(re,{className:"mr-1 ".concat(P?"!text-slate-800 dark:!text-slate-400":"!text-gray-500 dark:!text-gray-700"),children:l("Capture History",{ns:"history"})}),o.jsx(Yl,{className:P?"opacity-60":"opacity-30",children:o.jsx(fo,{keys:"ALT+H"})})]}),o.jsx(ts,{checked:P,className:P?"opacity-100":"!bg-gray-300 dark:!bg-gray-600 opacity-70"})]})})]})]})})}finally{i.f()}}var z7={};Object.defineProperty(z7,"__esModule",{value:!0});function f3e(t,e){return Math.random()*(e-t)+t}var RI=z7.default=f3e,nV={},F7={},H7={},B7={};(function t(e,n,r,s){var a=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),i=typeof Path2D=="function"&&typeof DOMMatrix=="function",l=function(){if(!e.OffscreenCanvas)return!1;var H=new OffscreenCanvas(1,1),F=H.getContext("2d");F.fillRect(0,0,1,1);var q=H.transferToImageBitmap();try{F.createPattern(q,"no-repeat")}catch(X){return!1}return!0}();function u(){}function d(H){var F=n.exports.Promise,q=F!==void 0?F:e.Promise;return typeof q=="function"?new q(H):(H(u,u),null)}var p=function(H,F){return{transform:function(q){if(H)return q;if(F.has(q))return F.get(q);var X=new OffscreenCanvas(q.width,q.height),ne=X.getContext("2d");return ne.drawImage(q,0,0),F.set(q,X),X},clear:function(){F.clear()}}}(l,new Map),h=function(){var H=Math.floor(16.666666666666668),F,q,X={},ne=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(F=function(ee){var G=Math.random();return X[G]=requestAnimationFrame(function Z(le){ne===le||ne+H-10)&&!(s=r.next()).done;)a.push(s.value)}catch(l){i={error:l}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a},M3e=Vn&&Vn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(F7,"__esModule",{value:!0});var fb=_3e(v),D3e=M3e(H7),I3e=function(t){return t};function A3e(t){var e=t.decorateOptions,n=e===void 0?I3e:e,r=t.Conductor,s=t.autorun,a=t.onInit,i=T3e(t,["decorateOptions","Conductor","autorun","onInit"]),l=P3e((0,fb.useState)(),2),u=l[0],d=l[1],p=(0,fb.useCallback)(function(h){var m=h.confetti;d(function(){return m})},[]);return(0,fb.useEffect)(function(){if(u){var h=new r({confetti:u,decorateOptions:n});return s&&h.run(s),a==null||a({confetti:u,conductor:h}),h.stop}},[u]),fb.default.createElement(D3e.default,uj({onInit:p},i))}F7.default=A3e;var U7={},W7={};Object.defineProperty(W7,"__esModule",{value:!0});var L3e=function(){function t(e){var n=e.confetti,r=e.decorateOptions,s=this;this.interval=null,this.shoot=function(){return s.tickAnimation()},this.run=function(a){var i=a.speed,l=a.delay,u=l===void 0?0:l,d=a.duration;s.interval||setTimeout(function(){s.shoot(),s.interval=setInterval(s.shoot,1e3/Math.min(i,1e3)),d&&setTimeout(s.pause,d)},u)},this.pause=function(){clearInterval(s.interval),s.interval=null},this.stop=function(){s.pause(),s.confetti.reset()},this.confetti=n,this.decorateOptions=r}return t}();W7.default=L3e;var R3e=Vn&&Vn.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(r[a]=s[a])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),O3e=Vn&&Vn.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),s,a=[],i;try{for(;(e===void 0||e-- >0)&&!(s=r.next()).done;)a.push(s.value)}catch(l){i={error:l}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a},$3e=Vn&&Vn.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,s=e.length,a;r div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',C=m.head||m.getElementsByTagName("head")[0],g=m.createElement("style");g.id="detectElementResize",g.type="text/css",t!=null&&g.setAttribute("nonce",t),g.styleSheet?g.styleSheet.cssText=b:g.appendChild(m.createTextNode(b)),C.appendChild(g)}};return{addResizeListener:function(m,b){if(u)m.attachEvent("onresize",b);else{if(!m.__resizeTriggers__){const C=m.ownerDocument,g=ki.getComputedStyle(m);g&&g.position==="static"&&(m.style.position="relative"),d(C),m.__resizeLast__={},m.__resizeListeners__=[],(m.__resizeTriggers__=C.createElement("div")).className="resize-triggers";const w=C.createElement("div");w.className="expand-trigger",w.appendChild(C.createElement("div"));const x=C.createElement("div");x.className="contract-trigger",m.__resizeTriggers__.appendChild(w),m.__resizeTriggers__.appendChild(x),m.appendChild(m.__resizeTriggers__),i(m),m.addEventListener("scroll",l,!0),r&&(m.__resizeTriggers__.__animationListener__=function(E){E.animationName===n&&i(m)},m.__resizeTriggers__.addEventListener(r,m.__resizeTriggers__.__animationListener__))}m.__resizeListeners__.push(b)}},removeResizeListener:function(m,b){if(u)m.detachEvent("onresize",b);else if(m.__resizeListeners__.splice(m.__resizeListeners__.indexOf(b),1),!m.__resizeListeners__.length){m.removeEventListener("scroll",l,!0),m.__resizeTriggers__.__animationListener__&&(m.__resizeTriggers__.removeEventListener(r,m.__resizeTriggers__.__animationListener__),m.__resizeTriggers__.__animationListener__=null);try{m.__resizeTriggers__=!m.removeChild(m.__resizeTriggers__)}catch(C){}}}}}class Ph extends v.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:r,onResize:s}=this.props;if(this._parentNode){var a,i,l,u;const d=window.getComputedStyle(this._parentNode)||{},p=parseFloat((a=d.paddingLeft)!==null&&a!==void 0?a:"0"),h=parseFloat((i=d.paddingRight)!==null&&i!==void 0?i:"0"),m=parseFloat((l=d.paddingTop)!==null&&l!==void 0?l:"0"),b=parseFloat((u=d.paddingBottom)!==null&&u!==void 0?u:"0"),C=this._parentNode.getBoundingClientRect(),g=C.height-m-b,w=C.width-p-h,x=this._parentNode.offsetHeight-m-b,S=this._parentNode.offsetWidth-p-h;(!n&&(this.state.height!==x||this.state.scaledHeight!==g)||!r&&(this.state.width!==S||this.state.scaledWidth!==w))&&(this.setState({height:x,width:S,scaledHeight:g,scaledWidth:w}),typeof s=="function"&&s({height:x,scaledHeight:g,scaledWidth:w,width:S}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:e}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver!="undefined"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=q3e(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const S=this.props,{children:e,defaultHeight:n,defaultWidth:r,disableHeight:s=!1,disableWidth:a=!1,nonce:i,onResize:l,style:u={},tagName:d="div"}=S,p=Ne(S,["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style","tagName"]),{height:h,scaledHeight:m,scaledWidth:b,width:C}=this.state,g={overflow:"visible"},w={};let x=!1;return s||(h===0&&(x=!0),g.height=0,w.height=h,w.scaledHeight=m),a||(C===0&&(x=!0),g.width=0,w.width=C,w.scaledWidth=b),v.createElement(d,R({ref:this._setRef,style:R(R({},g),u)},p),!x&&e(w))}}function HI({registerLicense:t}){var e=sn(1);try{const n=v.useRef(null),{t:r}=Gt(),{state:s}=bl(),{licenseKey:a,setLicenseKey:i,screenLockPassCode:l}=Tt(Cr),u=vl(B0),d=vl(Nx),p=v.useRef(),{returnRoute:h}=Tt(Is),m=Ds(a!=null?a:""),b=Ds(!1),C=Ds(!1),g=Ds(null),w=Un.value,x=({conductor:$})=>{p.current=R({},$)},S=Tx(),E=v.useCallback(()=>{var $;!S&&(($=p==null?void 0:p.current)==null||$.shoot())},[S]),N=$=>ae(R({},$),{drift:RI(.4,.8),startVelocity:RI(15,40),ticks:230}),_=v.useMemo(()=>m.value,[m.value]),P=v.useCallback($=>{if($.length<20){g.value=r("License key is too short.",{ns:"settings"});return}try{const M=hk($);if(!M)return!1;typeof M.id=="string"&&M.id.length>0&&(g.value=null,Un.value=M,m.value!==a&&!Pr().isAfter(Pr(M.expires))&&setTimeout(()=>{E(),setTimeout(()=>{E()},600)},600),i(m.value))}catch(M){return g.value=r("License key is not valid or malformed.",{ns:"settings"}),Un.value=null,console.error("error",M),!1}return!0},[m.value]);v.useEffect(()=>{a&&(m.value=a,P(a))},[a]),v.useEffect(()=>{s!=null&&s.ls&&a!==(s==null?void 0:s.ls)?(m.value=s.ls,P(m.value),vo(r("License key activated successfully.",{ns:"settings"}),{title:r("Activation Success",{ns:"settings"}),type:"info"})):a===(s==null?void 0:s.ls)&&vo(r("License key already activated.",{ns:"settings"}),{title:r("Already Active",{ns:"settings"}),type:"info"})},[s]);const{licenseExpInDays:I,licenseExpiresDate:T,licenseExpiredDaysAgo:A}=v.useMemo(()=>WU(),[Un.value]),{licenseIssuedDate:L,licenseIssuedDaysAgo:z}=v.useMemo(()=>i2e(),[Un.value]),Y=v.useMemo(()=>_x(),[Un.value]),O=v.useMemo(()=>({name:w==null?void 0:w.name,email:w==null?void 0:w.email,devices:w==null?void 0:w.maxDevices,id:w==null?void 0:w.id}),[w]);return v.useEffect(()=>{(lo.value===Lc.removeLicense&&nl.value===Lc.removeLicense||b.value)&&(i(null),Un.value=null,lo.value=null,nl.value=null,C.value=!1,b.value=!1,m.value="")},[nl.value,lo.value,b.value]),v.useMemo(()=>!0,[b.value,C.value,g.value,Un.value]),o.jsx(Ph,{disableWidth:!0,children:({height:$})=>{var M,W,V,U;return $&&o.jsxs(te,{className:"p-4 py-6 select-none min-w-[320px]",children:[o.jsxs(te,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[o.jsx(re,{className:"light",children:r("License Settings",{ns:"settings"})}),u?S?o.jsxs(Se,{variant:"secondary",size:"sm",disabled:_.length<10,onClick:()=>{},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Renew License",{ns:"common"}),o.jsx(am,{size:16,className:"ml-1.5 fill-green-200 dark:fill-green-700"})]}):o.jsxs(Se,{size:"sm",onClick:()=>{E(),setTimeout(()=>{E()},600)},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Thank you for using Pro",{ns:"common"}),o.jsx(d6,{size:18,className:"text-red-400 dark:text-red-600 ml-1 fill-red-500 group-hover:animate-pulse group-hover:fill-red-500 group-hover:scale-125 transition-all duration-300"})]}):o.jsxs(Se,{size:"sm",onClick:()=>{Ga.value=!0,Jm.value=!0},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Upgrade to Pro",{ns:"common"}),o.jsx(am,{size:16,className:"ml-1.5 fill-green-200 dark:fill-green-700"})]})]}),o.jsx(Rn,{h:3}),o.jsxs(or,{style:{maxHeight:$-85},autoHide:!0,children:[!u&&o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:o.jsx(te,{children:r("Free License",{ns:"settings"})})}),o.jsx(sV,{})]}),o.jsxs(pr,{children:[o.jsxs(re,{className:"text-sm text-muted-foreground mt-1 mb-3",children:[r("Thank you again for using PasteBar.",{ns:"settings"}),o.jsx(d6,{size:18,className:"text-red-400 dark:text-red-600 ml-1 fill-red-500 hover:animate-pulse hover:fill-red-500 hover:scale-125 transition-all duration-300"})]}),o.jsxs(Se,{size:"sm",onClick:()=>{Ga.value=!0,Jm.value=!0},className:"dark:text-green-950 mt-1 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-9",children:[r("Upgrade to Pro",{ns:"common"}),o.jsx(am,{size:16,className:"ml-1.5"})]})]})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{children:[u?o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[S?d?o.jsx(te,{className:"text-red-600",children:r("Pro license has expired",{ns:"settings"})}):o.jsx(te,{children:Y?o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"text-red-600 mt-2",children:r("Pro license has expired",{ns:"settings"})}),o.jsxs(te,{className:"text-yellow-700 mt-2 bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md text-md mb-0 py-1.5 !my-2 !block",children:[r("Your Pro license includes 1 year of free upgrades and priority support. However, this application version was released on {{buildDate}}, which occurred after your license expired on {{expiredDate}}. Unfortunately, this version is not compatible with your Pro license. If you wish to continue accessing all available Pro features with your current license, you will need to downgrade the application to the last compatible version released before your license expired. Thank you for using PasteBar! 🙌",{buildDate:Pr(1718311101899).format("DD MMMM, YYYY"),expiredDate:Pr(T).format("DD MMMM, YYYY"),ns:"settings"}),o.jsxs(te,{className:"mt-2",children:[r("To downgrade, please visit: ",{ns:"settings"}),o.jsx("span",{className:"underline cursor-pointer",onClick:()=>{ji("https://www.pastebar.app/releases")},children:"https://www.pastebar.app/releases"})]})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"text-yellow-600 mt-2",children:r("Pro license has expired",{ns:"settings"})}),o.jsx(te,{className:"text-yellow-600 mt-2",children:r("However, you can continue using the current version with access to all available Pro features.",{ns:"settings"})})]})}):o.jsx(te,{className:"text-green-600",children:r("Pro license is activated",{ns:"settings"})}),d&&o.jsx(re,{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-1.5 rounded-md !text-slate-600 text-xs ml-1.5 mb-0 py-0.5",children:"beta"})]}),S?d?o.jsx(re,{className:"text-sm !block",children:o.jsx(ls,{i18nKey:"Your beta license has expired. If you wish to gain access to priority support and all features, please consider upgrade your license to Pro.",values:{name:w==null?void 0:w.name},ns:"settings"})}):o.jsx(re,{className:"text-sm !block",children:o.jsx(ls,{i18nKey:"If you wish to upgrade to the latest version, gain access to priority support and new features, please consider renewing your license.",values:{name:w==null?void 0:w.name},ns:"settings"})}):o.jsx(re,{className:"text-sm !block",children:o.jsx(ls,{i18nKey:"Thank you {{name}} for using Pro license. Your license grants you access to all available features, priority support, and free updates until the license expires. Please find the complete details below.",values:{name:w==null?void 0:w.name},ns:"settings"})}),d?o.jsxs(re,{className:"bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md !text-slate-600 text-xs mb-0 py-1.5 !my-2 !block",children:[r("You have a Beta License. Usually, this is a temporary license that grants access to all current and new beta features. After this license expires, you will not have access to Pro features, and you will need to use a regular Pro license or renew your Beta license.",{ns:"settings"}),o.jsx("br",{}),o.jsx("b",{children:r("Thank you for testing! 🙌",{ns:"settings"})})]}):o.jsx(Rn,{h:2}),O.name&&o.jsxs(re,{className:"text-sm !mt-2",children:[r("Name",{ns:"settings"}),":",o.jsx("strong",{className:"ml-1",children:O.name})]}),O.email&&o.jsxs(re,{className:"text-sm !mt-2",children:[r("Email",{ns:"settings"}),":",o.jsx("strong",{className:"ml-1",children:Tse(O.email)})]}),O.devices&&o.jsxs(re,{className:"text-sm !mt-2",children:[r("Maximum devices",{ns:"settings"}),":",o.jsx("strong",{className:"ml-1",children:O.devices})]}),O.id&&o.jsxs(re,{className:"text-sm !mt-2 gap-1",children:[r("License Id",{ns:"settings"}),":",o.jsx(PU,{id:1,text:mv(O.id,3),copyText:(M=O.id)!=null?M:""})]}),!!(w!=null&&w.language)&&o.jsxs(re,{className:"text-sm !mt-2 gap-1",children:[r("UI Language",{ns:"settings"}),":"," ",(W=mh.find(J=>J.code===(w==null?void 0:w.language)))==null?void 0:W.name]}),L&&o.jsxs(re,{className:"text-sm !mt-2",children:[r("Issued",{ns:"settings"}),":",o.jsx("strong",{className:"ml-1",children:L}),z&&o.jsx(St,{className:"ml-1.5",variant:"secondary",children:r("{{licenseIssuedDaysAgo}} days ago",{ns:"settings",licenseIssuedDaysAgo:z})})]}),T&&!S&&o.jsxs(re,{className:"text-sm !mt-4",children:[r("License expires",{ns:"settings"}),":",o.jsx("strong",{className:"ml-1 text-green-600",children:T}),o.jsx(St,{className:"ml-1.5 whitespace-nowrap",variant:"pro",children:I===0?r("Tomorrow",{ns:"settings"}):r("in {{licenseExpInDays}} days",{ns:"settings",licenseExpInDays:I})})]}),T&&S&&o.jsxs(re,{className:"text-sm !mt-4",children:[r("License expired",{ns:"settings"}),o.jsx("strong",{className:"ml-1 text-red-600",children:T}),o.jsx(St,{className:"ml-1.5 whitespace-nowrap",variant:"destructive",children:A===0?r("Today",{ns:"settings"}):r("{{licenseExpiredDaysAgo}} days ago",{ns:"settings",licenseExpiredDaysAgo:A})})]}),!!(w!=null&&w.language)&&o.jsx(re,{className:"text-sm text-muted-foreground !mt-3 mb-3",children:r("Please note! Your license has support for a single language: {{language}}. If you require multi-language support, please consider upgrading to a full Pro license.",{ns:"settings",language:(V=mh.find(J=>J.code===(w==null?void 0:w.language)))==null?void 0:V.name})})]}):o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:o.jsx(te,{children:r("Register a License",{ns:"settings"})})}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:r('If you have a license key, you can add it here to unlock the Pro version with all available features. Please paste your license below and click "Add License" to upgrade.',{ns:"settings"})})]}),o.jsx(pr,{children:o.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start my-2 flex-col w-full",children:[o.jsx(ko,{className:"text-sm w-full",autoFocus:t,ref:n,label:u?r("License key",{ns:"settings"}):r("Paste your license key below",{ns:"settings"}),isDisabled:u,classNameArea:u?"!border-green-500 dark:!border-green-600 !bg-green-50 dark:!bg-green-950 opacity-80":"",error:(U=g.value)!=null?U:"",rows:3,onChange:J=>{g.value=null,m.value=J.target.value},value:u?mv(_,10,10,100):_,maxRows:3,onPaste:J=>{J.preventDefault(),g.value=null,m.value=J.clipboardData.getData("text"),P(m.value)},enableEmoji:!1}),u?o.jsxs(me,{className:"gap-4",children:[S&&o.jsxs(Se,{size:"sm",className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-9",children:[r("Renew License",{ns:"common"}),o.jsx(am,{size:16,className:"ml-1.5"})]}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:_.length<10,onClick:()=>{if(l){Af.value=!0,lo.value=Lc.removeLicense,Lf.value=r("license remove",{ns:"settings"});return}C.value?b.value=!0:(C.value=!0,setTimeout(()=>{C.value=!1},3e3))},className:"".concat(C.value?"bg-red-500 text-red-100 hover:bg-red-500/80 dark:bg-red-400 hover:dark:bg-red-400/80 dark:text-slate-800":"bg-red-200 text-red-600 hover:bg-red-300/80 dark:bg-red-900 hover:dark:bg-red-900/80 dark:text-slate-200"," h-9"),children:C.value?r("Confirm Remove",{ns:"common"}):S?r("Remove",{ns:"common"}):r("Remove License",{ns:"common"})})]}):o.jsx(Se,{variant:"secondary",size:"sm",disabled:_.length<10,onClick:()=>{P(m.value)},className:"bg-blue-400 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 h-9",children:r("Add License",{ns:"common"})})]})})]})}),o.jsx(Rn,{h:6}),o.jsx(au,{to:h,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:r("Back",{ns:"common"})})}),o.jsx(Rn,{h:4})]}),w&&ta.createPortal(o.jsx(V3e,{onInit:x,decorateOptions:N,style:{position:"fixed",zIndex:9999,pointerEvents:"none",top:40,width:"100%",height:"100%"}}),document.body)]})}})}finally{e.f()}}function sV(){var t=sn(1);try{const{t:e}=Gt(),n=vl(Nx),r=v.useMemo(()=>_x(),[Un.value]);return o.jsxs(o.Fragment,{children:[r&&!n&&o.jsx(te,{className:"text-yellow-700 mt-2 bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 text-sm rounded-md mb-0 py-1.5 !my-2 !block",children:e("Your Pro license and 1 year of free upgrades have expired. This app version, released on {{buildDate}}, is not covered. See License Settings for details.",{buildDate:Pr(1718311101899).format("DD MMMM, YYYY"),ns:"settings"})}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 mb-3",children:e("Thank you for using PasteBar! We hope you're enjoying the free version. If you'd like to unlock all features and support our development, please consider upgrading to Pro version.",{ns:"settings"})}),o.jsxs(me,{className:"flex flex-col items-start justify-start",children:[o.jsx(re,{className:"text-sm text-muted-foreground my-2 mb-1 !block",children:o.jsx(ls,{i18nKey:"By upgrading to PasteBar Pro, you'll gain access to:",ns:"settings"})}),o.jsxs(te,{className:"list-image-none",children:[o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Unlimited Collections",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Create an unlimited number of collections to organize your clips and menus.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Unlimited Tabs per Collection",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Add an unlimited number of tabs within each collection for better organization and easy access.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Auto Lock the Screen on User Inactivity",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Enhance security by automatically locking the application screen after a set period of user inactivity.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Require Screen Unlock at Application Start",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Protect your data by requiring screen unlock authentication whenever the application starts.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Run Terminal or Shell Commands",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Execute terminal or shell commands directly from PasteBar clip and copy the results to the clipboard.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Execute Web Requests",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Send HTTP requests to web APIs or services and copy the response data to the clipboard.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Web Scraping and Parsing",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Scrape and parse websites or API responses using built-in web scraping tools and copy the extracted data to the clipboard.",{ns:"settings"})})]}),o.jsxs(te,{children:[o.jsxs(me,{className:"justify-start items-center",children:[o.jsx(en,{size:18,className:"text-green-600 dark:text-green-500"}),o.jsx(re,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Priority support",{ns:"settings"})})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Get priority email support from us to resolve any issues or questions you may have about PasteBar.",{ns:"settings"})})]})]})]})]})}finally{t.f()}}var K3e={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function G3e({open:t,onClose:e,showProPayments:n}){var r=sn(1);try{const{t:s}=Gt(),a=la(),i=Tx(),l=it(!1),u=it(!1),d=it(!1),{themeDark:p}=Tt(yo),h=p(),{deviceId:m}=Tt(yo),b="".concat(K3e.VITE_LICENSE_SERVER_URL,"/pro?deviceId=").concat(m,"&locale=").concat(dr.language,"&dark=").concat(h?"true":"false"),C=()=>{ji(b)};return v.useEffect(()=>(window.addEventListener("message",g=>{const{data:w}=g;if(!u.value&&w.id==="pro_license_confirmed"&&w.licenseHash){try{const x=hk(w.licenseHash);if(!x)throw new Error("Invalid license key");if(!(typeof x.id=="string"&&x.id.length>0))throw new Error("Invalid license key")}catch(x){return vo(s("License key validation failed. Please try another key.",{ns:"common"}),{title:s("Activation Error",{ns:"common"}),type:"error"}),!1}n.value=!1,Ga.value=!1,u.value=!0,a("/app-settings/license/register",{replace:!0,state:{ls:w.licenseHash}})}}),()=>{window.removeEventListener("message",()=>{})}),[]),o.jsx(Yn,{open:t,handleClose:e,isLargeModal:!0,noFooter:n.value,children:o.jsxs(Yn.Body,{className:"dark:bg-green-950/30 bg-green-50/30 flex flex-col items-start p-0 relative",style:{height:"calc(100vh - 180px)"},children:[!n.value&&o.jsxs(Yn.Header,{handleClose:e,children:[o.jsx("h1",{className:"mt-0.5",children:s("Unlock Pro features",{ns:"common"})}),o.jsx(Se,{variant:"ghost",size:"sm",onClick:()=>{e(),a("/app-settings/license/register",{replace:!0})},className:"hover:bg-green-300 dark:hover:bg-green-900 h-6 py-4 ml-auto",children:i?s("Renew License",{ns:"settings"}):s("Register License",{ns:"common"})})]}),n.value?o.jsx(o.Fragment,{children:o.jsx(Yn.Content,{className:"!pt-3 mb-0 w-full !pb-2 grow !max-h-700",children:o.jsx("iframe",{src:b,className:"rounded-md border-0 bg-transparent dark:border-slate-800/70",style:{width:520,height:"calc(100vh - 210px)"}})})}):o.jsx(Yn.Content,{className:"!pt-2 w-full !pb-2 grow",children:o.jsx(or,{style:{height:"auto",width:520,maxHeight:"calc(100vh - 330px)"},autoHide:!1,children:o.jsx(sV,{})})}),n.value?o.jsxs(o.Fragment,{children:[o.jsx(Se,{variant:"ghost",type:"button",onClick:()=>{n.value=!1,l.value=!1},className:"text-slate-300 dark:hover:bg-slate-700 hover:bg-slate-600 absolute top-[-1 px] right-[-63px] w-14",children:o.jsx(In,{size:26})}),o.jsx(me,{className:"items-center w-full gap-1 absolute bottom-[-50px] left-0",children:d.value?o.jsxs(o.Fragment,{children:[o.jsx(Se,{variant:"link",type:"button",onClick:()=>{d.value=!1},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:s("Stay here",{ns:"common"})}),o.jsx(Se,{variant:"link",type:"button",onClick:()=>{d.value=!1,n.value=!1,e()},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:s("Close modal and continue in browser",{ns:"common"})})]}):o.jsxs(o.Fragment,{children:[o.jsx(Se,{variant:"ghost",type:"button",onClick:()=>{l.value?(n.value=!1,l.value=!1):(l.value=!0,setTimeout(()=>{l.value=!1},3e3))},className:"text-slate-200 dark:hover:bg-slate-700 hover:bg-slate-600 ".concat(l.value?"text-red-400 dark:text-red-500 hover:text-red-500 dark:hover:text-red-400":"opacity-70 hover:opacity-100"," h-10"),children:l.value?s("Are you sure?",{ns:"common"}):s("Cancel",{ns:"common"})}),o.jsxs(Se,{variant:"link",type:"button",onClick:()=>{C(),d.value=!0},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:[s("Open payment in browser",{ns:"common"}),o.jsx(E0,{size:16,className:"ml-1.5"})]})]})})]}):o.jsx(Yn.Footer,{className:"flex !pt-0 !pb-3 justify-start relative",children:o.jsxs(me,{className:"flex w-full justify-center gap-3",children:[o.jsx(Se,{variant:"ghost",type:"button",onClick:e,className:"hover:bg-slate-200 dark:hover:bg-slate-900 opacity-70 hover:opacity-100 h-10",children:s("Not Now",{ns:"common"})}),o.jsxs(Se,{size:"sm",onClick:()=>{n.value=!0},className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-10",children:[i?s("Renew License",{ns:"settings"}):s("Upgrade to Pro",{ns:"common"}),o.jsx(am,{size:16,className:"ml-1.5"})]})]})})]})})}finally{r.f()}}const BI="/assets/pastebar-accessibility-settings-monterey-CdsSxQWR.gif",UI="/assets/pastebar-accessibility-settings-ventura-B5xWaNbv.gif";function Y3e({open:t,onClose:e}){var n=sn(1);try{const{t:r}=Gt(),s=it(!1),a=it(!1),i=it(null),l=it(14);return v.useEffect(()=>{EX().then(u=>{u==="darwin"&&NX().then(p=>{l.value=parseInt(p)});const d=setInterval(()=>ge(this,null,function*(){a.value=yield Ln("check_osx_accessibility_preferences"),a.value&&(i.value=!0,clearInterval(d))}),1e3);return()=>clearInterval(d)})},[]),v.useEffect(()=>{i.value!==null&&i.value&&setTimeout(()=>{e()},2e3)},[i.value]),o.jsx(Yn,{open:t,handleClose:e,isLargeModal:!0,children:o.jsxs(Yn.Body,{className:"dark:bg-green-950/30 bg-green-50/30 relative",children:[o.jsx(Yn.Header,{handleClose:e,children:o.jsx("h1",{className:"font-semibold text-center w-full",children:r("Enable PasteBar in Accessibility Settings",{ns:"common"})})}),i.value!==!0?o.jsxs(Yn.Content,{className:"!pt-2 w-full !pb-2 justify-start items-center flex flex-col gap-3",children:[o.jsx(re,{children:r("Please add PasteBar to the list of apps in",{ns:"common"})}),o.jsx(St,{className:"!flex w-fit text-[16px] px-6 my-2 text-center cursor-pointer ".concat(i.value===!1?"hover:bg-red-600 dark:hover:bg-red-700 bg-red-600 dark:bg-red-700":"hover:bg-green-600 dark:hover:bg-green-700"),variant:"slate",onClick:()=>{s.value=!0,i.value=null,Ln("open_osx_accessibility_preferences")},children:l.value>=13?r("System Settings -> Privacy & Security -> Accessibility",{ns:"common"}):r("System Preferences -> Security & Privacy -> Accessibility",{ns:"common"})}),l.value?o.jsx("img",{src:l.value>=13?UI:BI,draggable:!1,decoding:"async",className:"animate-in fade-in max-w-full max-h-[380px] rounded-xl shadow-sm border border-slate-100 dark:border-slate-700"}):o.jsx(te,{className:"flex items-center w-[580px] h-[380px] justify-center bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"}),i.value===!1?o.jsx(re,{className:"text-sm w-[90%]",color:"danger",children:r("Permission Check Failed: PasteBar has not been successfully added to Accessibility settings. Please grant the required permissions and click Done again.",{ns:"common"})}):o.jsx(re,{className:"text-sm w-[90%]",children:r("This permission ensures PasteBar can access the clipboard and perform copy and paste operations across applications.",{ns:"common"})})]}):o.jsxs(Yn.Content,{className:"!pt-2 w-full !pb-2 justify-start items-center flex flex-col gap-3",children:[o.jsx(re,{children:r("PasteBar was successfuly added to Accessibility settings",{ns:"common"})}),o.jsx(St,{className:"!flex w-fit text-md px-10",variant:"pro",children:r("Success!",{ns:"common"})}),l.value?o.jsxs(me,{className:"relative",children:[o.jsx(en,{size:"182",className:"text-green-500 z-100 dark:bg-green-50/20 bg-green-300/20 rounded-full p-4 absolute animate-in fade-in duration-1000 dark:text-green-500"}),o.jsx("img",{src:l.value>=13?UI:BI,draggable:!1,decoding:"async",className:"opacity-30 max-w-full max-h-[380px] rounded-xl shadow-sm border border-slate-100 dark:border-slate-700"})]}):o.jsx(te,{className:"flex items-center w-[580px] h-[380px] justify-center bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"}),o.jsx(re,{className:"text-sm w-[80%]",children:r("PasteBar application now can access the clipboard and perform copy and paste operations across applications.",{ns:"common"})})]}),o.jsx(Yn.Footer,{className:"flex-col !pt-0 !pb-5",children:i.value?o.jsx("div",{className:"flex w-full justify-center mt-3 gap-3",children:o.jsx(Se,{variant:"ghost",type:"button",onClick:()=>ge(this,null,function*(){e()}),className:"h-10 ".concat(s.value?"dark:text-green-950 text-white bg-blue-500 dark:bg-blue-600 hover:bg-blue-600 dark:hover:bg-blue-700":"hover:bg-slate-200 dark:hover:bg-slate-900"),children:r("Close",{ns:"common"})})}):o.jsxs("div",{className:"flex w-full justify-center mt-3 gap-3",children:[o.jsx(Se,{size:"sm",autoFocus:!0,onClick:()=>{s.value=!0,i.value=null,Ln("open_osx_accessibility_preferences")},className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-10",children:r("Open Accessibility",{ns:"common"})}),o.jsx(Se,{variant:"ghost",type:"button",onClick:()=>ge(this,null,function*(){a.value=yield Ln("check_osx_accessibility_preferences"),i.value=null,a.value?i.value=!0:i.value=!1,s.value=!1}),className:"h-10 ".concat(s.value?"dark:text-green-950 text-white bg-blue-500 dark:bg-blue-600 hover:bg-blue-600 dark:hover:bg-blue-700":"hover:bg-slate-200 dark:hover:bg-slate-900"),children:r("Done",{ns:"common"})})]})}),!i.value&&o.jsx(me,{className:"justify-center items-center bottom-[-45px] absolute w-full",children:o.jsx(Se,{variant:"ghost",size:"sm",onClick:()=>{e()},className:"hover:bg-slate-500 text-slate-400 hover:text-slate-200 dark:text-slate-400 dark:hover:bg-slate-700 h-6 py-4",children:r("Later",{ns:"common"})})})]})})}finally{n.f()}}const Z3e="_visible_1g3i7_1",X3e="_arrow_1g3i7_7",r4={visible:Z3e,arrow:X3e,"empty-data":"_empty-data_1g3i7_20","shared-container":"_shared-container_1g3i7_28"},Q3e=.75,J3e=5,eCe=10,tCe=10,nCe=!0,rCe=!0,sCe=!0,aCe=!1,aV="boarding-popover-item",oCe="boarding-btn-group",oV="boarding-popover-tip",iCe="boarding-popover-title",lCe="boarding-popover-description",cCe="boarding-popover-footer",uCe="boarding-popover-footer-hidden",dCe="boarding-close-btn",fCe="boarding-next-btn",hCe="boarding-prev-btn",pCe="boarding-navigation-btns",WI="boarding-coutout-svg",VI="boarding-highlighted-element",mCe=!0,s4="boarding-no-pointer-events",a4="boarding-strict-pointer-events",Xg="boarding-disabled",qI="boarding-close-only-btn",gCe=(t="")=>{const e=document.createElement("div");e.id=aV,e.className=t+" bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-lg shadow-lg p-4 w-72 dark:text-gray-200 text-gray-800";const n=document.createElement("div");n.classList.add(oV);const r=document.createElement("div");r.classList.add(iCe),r.innerText="Popover Title";const s=document.createElement("div");s.classList.add(lCe),s.innerText="Popover Description";const a=document.createElement("div");a.classList.add(cCe);const i=document.createElement("button");i.classList.add(dCe),i.innerText="Close";const l=document.createElement("span");l.classList.add(oCe,pCe);const u=document.createElement("span");u.classList.add("boarding-footer-counter");const d=document.createElement("button");d.classList.add(hCe),d.innerText="← Previous";const p=document.createElement("button");return p.classList.add(fCe),p.innerText="Next →",l.appendChild(d),l.appendChild(p),a.appendChild(i),a.appendChild(u),a.appendChild(l),e.appendChild(n),e.appendChild(r),e.appendChild(s),e.appendChild(a),{popoverWrapper:e,popoverTip:n,popoverTitle:r,popoverDescription:s,popoverFooter:a,popoverPrevBtn:d,popoverNextBtn:p,popoverCloseBtn:i,popoverFooterCounter:u,popoverFooterBtnGroup:l}};function Pp(t,e,n,r){return(t/=r/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e}function iV(t,e,n){const r=(a,i)=>{const l=a.target;t.contains(l)&&((!n||n(l))&&a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation(),i==null||i(a))};document.addEventListener("pointerdown",r,!0),document.addEventListener("mousedown",r,!0),document.addEventListener("pointerup",r,!0),document.addEventListener("mouseup",r,!0),document.addEventListener("click",a=>{r(a,e)},!0)}function vCe(t){(!t||!("nodeType"in t&&t.nodeType===1&&typeof t.nodeName=="string"))&&console.error("Html Element expected")}function kf(t,e){return typeof e=="undefined"?t:e}function Fo(t){t||console.error("Variable was expected to not be falsy, but isntead was: ".concat(t))}function xCe(t){const e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function lV(t,e){!t||xCe(t)||t.scrollIntoView(e)}class yCe{constructor({options:e,highlightDomElement:n,popover:r}){kt(this,"options");kt(this,"highlightDomElement");kt(this,"popover");kt(this,"lastKnownDomRect");this.highlightDomElement=n,this.options=e,this.popover=r}isSame(e){return!e||!e.highlightDomElement?!1:e.highlightDomElement===this.highlightDomElement}getElement(){return this.highlightDomElement}getPopover(){return this.popover}getStrictClickHandling(){return this.options.strictClickHandling}onDeselected(){var e,n,r;(e=this.popover)==null||e.hide(),this.getElement().classList.remove(VI),(r=(n=this.options).onDeselected)==null||r.call(n,this)}onBeforeHighlighted(){var e,n;(n=(e=this.options).onBeforeHighlighted)==null||n.call(e,this)}onHighlighted(){var e,n,r;this.options.scrollIntoViewOptions!=="no-scroll"&&lV(this.highlightDomElement,this.options.scrollIntoViewOptions),(e=this.popover)==null||e.show(this),this.getElement().classList.add(VI),(r=(n=this.options).onHighlighted)==null||r.call(n,this)}getCustomPadding(){return this.options.padding}getCustomRadius(){return this.options.radius}onNext(){var e,n;(n=(e=this.options).onNext)==null||n.call(e,this)}onPrevious(){var e,n;(n=(e=this.options).onPrevious)==null||n.call(e,this)}getDOMRect(){const e=this.getElement(),n=e.getBoundingClientRect();return e.isConnected?(this.lastKnownDomRect=n,n):this.lastKnownDomRect||n}}function cV({hightlightBox:t,padding:e=0,radius:n=0}){const r=window.innerWidth,s=window.innerHeight,a=t.width+e*2,i=t.height+e*2,l=Math.min(n,a/2,i/2),u=Math.floor(Math.max(l,0)),d=t.x-e+u,p=t.y-e,h=a-u*2,m=i-u*2;return"M".concat(r,",0L0,0L0,").concat(s,"L").concat(r,",").concat(s,"L").concat(r,",0Z\n M").concat(d,",").concat(p," h").concat(h," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",").concat(u," v").concat(m," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",").concat(u," h-").concat(h," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",-").concat(u," v-").concat(m," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",-").concat(u," z")}function bCe({hightlightBox:t,padding:e=0,fillColor:n="rgb(0,0,0)",opacity:r=1,animated:s=!0}){const a=window.innerWidth,i=window.innerHeight,l=document.createElementNS("http://www.w3.org/2000/svg","svg");l.classList.add(WI),s&&l.classList.add("".concat(WI,"-animated")),l.setAttribute("viewBox","0 0 ".concat(a," ").concat(i)),l.setAttribute("xmlSpace","preserve"),l.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),l.setAttribute("version","1.1"),l.setAttribute("preserveAspectRatio","xMinYMin slice"),l.style.fillRule="evenodd",l.style.clipRule="evenodd",l.style.strokeLinejoin="round",l.style.strokeMiterlimit="2",l.style.zIndex="10000";const u=document.createElementNS("http://www.w3.org/2000/svg","path");return u.setAttribute("d",cV({hightlightBox:t,padding:e})),u.style.fill=n,u.style.opacity="".concat(r),u.style.pointerEvents="auto",u.style.cursor="default",l.appendChild(u),l}let wCe=class{constructor(e){kt(this,"options");kt(this,"cutoutSVGElement");kt(this,"currentTransitionInProgress");kt(this,"activeSvgCutoutDefinition");kt(this,"highlightElemRect");kt(this,"currentHighlightedElement");kt(this,"previouslyHighlightedElement");this.options=R({opacity:Q3e},e)}highlight(e){e.isSame(this.currentHighlightedElement)||(e.onBeforeHighlighted(),this.currentHighlightedElement&&!this.currentHighlightedElement.isSame(this.previouslyHighlightedElement)&&this.currentHighlightedElement.onDeselected(),this.startElementTracking(this.currentHighlightedElement||e,e),this.previouslyHighlightedElement=this.currentHighlightedElement,this.currentHighlightedElement=e,e.onHighlighted())}clear(e=!1,n){var r,s,a;this.currentHighlightedElement&&((s=(r=this.options).onReset)==null||s.call(r,this.currentHighlightedElement,n)),(a=this.currentHighlightedElement)==null||a.onDeselected(),this.currentHighlightedElement=void 0,this.previouslyHighlightedElement=void 0,this.cancelElementTracking(),this.options.animate&&!e?this.unmountCutoutElement():this.unmountCutoutElement()}startElementTracking(e,n){const s=Date.now(),a=()=>{const i=Date.now()-s;this.currentTransitionInProgress===a&&(this.options.animate&&i<400?this.transitionCutoutToPosition(i,400,e,n):this.trackElementOnScreen(),this.refreshSvgAndPopover(),window.requestAnimationFrame(a))};this.currentTransitionInProgress=a,window.requestAnimationFrame(a)}transitionCutoutToPosition(e,n,r,s){const a=this.activeSvgCutoutDefinition?ae(R({},this.activeSvgCutoutDefinition),{hightlightBox:R({},this.activeSvgCutoutDefinition.hightlightBox)}):{hightlightBox:r.getDOMRect(),padding:r.getCustomPadding(),radius:r.getCustomRadius()},i=s.getDOMRect(),l=kf(this.options.padding,s.getCustomPadding()),u=kf(this.options.radius,s.getCustomRadius()),d=kf(this.options.padding,a.padding),p=kf(this.options.radius,a.radius),h=Pp(e,a.hightlightBox.x,i.x-a.hightlightBox.x,n),m=Pp(e,a.hightlightBox.y,i.y-a.hightlightBox.y,n),b=Pp(e,a.hightlightBox.width,i.width-a.hightlightBox.width,n),C=Pp(e,a.hightlightBox.height,i.height-a.hightlightBox.height,n),g=Pp(e,d,l-d,n),w=Pp(e,p,u-p,n),x={hightlightBox:{x:h,y:m,width:b,height:C},padding:g,radius:w};this.activeSvgCutoutDefinition=x,this.updateCutoutPosition(x)}cancelElementTracking(){this.currentTransitionInProgress=void 0,this.activeSvgCutoutDefinition=void 0,this.highlightElemRect=void 0}trackElementOnScreen(){if(this.currentHighlightedElement){const e=this.currentHighlightedElement.getDOMRect();if(JSON.stringify(e)!==JSON.stringify(this.highlightElemRect)){const n={hightlightBox:{x:e.x,y:e.y,width:e.width,height:e.height},padding:kf(this.options.padding,this.currentHighlightedElement.getCustomPadding()),radius:kf(this.options.radius,this.currentHighlightedElement.getCustomRadius())};this.updateCutoutPosition(n),this.activeSvgCutoutDefinition=n}this.highlightElemRect=e}}refreshSvgAndPopover(){var r;Fo(this.cutoutSVGElement),Fo(this.currentHighlightedElement);const e=window.innerWidth,n=window.innerHeight;this.cutoutSVGElement.setAttribute("viewBox","0 0 ".concat(e," ").concat(n)),(r=this.currentHighlightedElement.getPopover())==null||r.refresh()}getOverlayElement(){return this.cutoutSVGElement}mountCutoutElement(e){if(this.cutoutSVGElement){console.error("Already mounted SVG");return}const n=bCe(e);this.cutoutSVGElement=n,document.body.appendChild(n),iV(this.cutoutSVGElement,r=>{r.target.tagName==="path"&&this.options.onOverlayClick()})}unmountCutoutElement(){this.cutoutSVGElement&&(document.body.removeChild(this.cutoutSVGElement),this.cutoutSVGElement=void 0)}updateCutoutPosition(e){const n={hightlightBox:e.hightlightBox,padding:e.padding,opacity:this.options.opacity,radius:e.radius,animated:this.options.animate};if(!this.cutoutSVGElement)this.mountCutoutElement(n);else{const r=this.cutoutSVGElement.firstElementChild;(r==null?void 0:r.tagName)==="path"?r.setAttribute("d",cV(n)):console.error("No existing path found on SVG but we want one :(")}}};const KI=["top","bottom","left","right"];class kCe{constructor(e,n,r,s){kt(this,"highlightElement");kt(this,"popover");kt(this,"padding");kt(this,"finalOffset");this.highlightElement=e,this.popover=n,this.padding=r,this.finalOffset=r+s}setBestPosition(e,n){var a;const r=this.findOptimalPosition(e,n),s=(a=this.popover.getPopoverElements())==null?void 0:a.popoverWrapper;Fo(s),s.style.left=typeof r.left=="number"?"".concat(r.left,"px"):"auto",s.style.right=typeof r.right=="number"?"".concat(r.right,"px"):"auto",s.style.top=typeof r.top=="number"?"".concat(r.top,"px"):"auto",s.style.bottom=typeof r.bottom=="number"?"".concat(r.bottom,"px"):"auto"}getHighlightElemRect(){return this.highlightElement.getDOMRect()}getPopoverDimensions(){const e=this.popover.getPopoverElements(),n=e==null?void 0:e.popoverWrapper.getBoundingClientRect(),r=e==null?void 0:e.popoverTip.getBoundingClientRect();return Fo(n),Fo(r),{width:n.width+this.finalOffset,height:n.height+this.finalOffset,tipSize:r.width}}checkIfSideOptimal(e){const n=this.getPopoverDimensions(),r=this.getHighlightElemRect();switch(e){case"top":const s=r.top-n.height;return{side:"top",value:s,isOptimal:s>=0};case"bottom":const a=window.innerHeight-(r.bottom+n.height);return{side:"bottom",value:a,isOptimal:a>=0};case"left":const i=r.left-n.width;return{side:"left",value:i,isOptimal:i>=0};case"right":const l=window.innerWidth-(r.right+n.width);return{side:"right",value:l,isOptimal:l>=0}}}findOptimalSide(e=0){const n=KI[e],r=this.checkIfSideOptimal(n);return r.isOptimal?r:e===KI.length-1?"none":this.findOptimalSide(e+1)}normalizeAlignment(e,n,r,s,a,i){switch(e){case"start":return Math.max(Math.min(r-this.padding,s-n-i),i);case"end":return Math.max(Math.min(r-n+a+this.padding,s-n-i),i);case"center":const l=r-n/2+a/2;return Math.min(Math.max(i,l),s-i-n)}}findOptimalPosition(e,n){let r;if(n?(r=this.checkIfSideOptimal(n),r.isOptimal||(r=this.findOptimalSide())):r=this.findOptimalSide(),r==="none"){const s=this.getPopoverDimensions();return this.clearPopoverTipPosition(),{left:window.innerWidth/2-(s.width-this.finalOffset)/2,bottom:10}}else{const s=this.getPopoverDimensions(),a=this.getHighlightElemRect(),i={},l=s.width-this.finalOffset,u=s.height-this.finalOffset;switch(r.side){case"top":i.top=Math.min(r.value,window.innerHeight-u-s.tipSize),i.left=this.normalizeAlignment(e,l,a.left,window.innerWidth,a.width,s.tipSize),this.setPopoverTipPosition(e,r.side,a.left,a.width);break;case"bottom":i.bottom=Math.min(r.value,window.innerHeight-u-s.tipSize),i.left=this.normalizeAlignment(e,l,a.left,window.innerWidth,a.width,s.tipSize),this.setPopoverTipPosition(e,r.side,a.left,a.width);break;case"left":i.left=Math.min(r.value,window.innerWidth-l-s.tipSize),i.top=this.normalizeAlignment(e,u,a.top,window.innerHeight,a.height,s.tipSize),this.setPopoverTipPosition(e,r.side,a.top,a.height);break;case"right":i.right=Math.min(r.value,window.innerWidth-l-s.tipSize),i.top=this.normalizeAlignment(e,u,a.top,window.innerHeight,a.height,s.tipSize),this.setPopoverTipPosition(e,r.side,a.top,a.height);break}return i}}clearPopoverTipPosition(){var n;const e=(n=this.popover.getPopoverElements())==null?void 0:n.popoverTip;Fo(e),e.className=oV+" "}setPopoverTipPosition(e,n,r,s){var p,h;const a=(p=this.popover.getPopoverElements())==null?void 0:p.popoverWrapper,i=(h=this.popover.getPopoverElements())==null?void 0:h.popoverTip;Fo(a),Fo(i);let l=n,u=e;const d=a.getBoundingClientRect();switch(n){case"top":r+s<=0?(l="right",u="end"):r+s-d.width<=0&&(u="start"),r>=window.innerWidth?(l="left",u="end"):r+d.width>=window.innerWidth&&(u="end");break;case"bottom":r+s<=0?(l="right",u="start"):r+s-d.width<=0&&(u="start"),r>=window.innerWidth?(l="left",u="start"):r+d.width>=window.innerWidth&&(u="end");break;case"left":r+s<=0?(l="bottom",u="end"):r+s-d.height<=0&&(u="start"),r>=window.innerHeight?(l="top",u="end"):r+d.height>=window.innerHeight&&(u="end");break;case"right":r+s<=0?(l="bottom",u="start"):r+s-d.height<=0&&(u="start"),r>=window.innerHeight?(l="top",u="start"):r+d.height>=window.innerHeight&&(u="end");break}this.clearPopoverTipPosition(),i.classList.add("boarding-tipside-".concat(l),"boarding-tipalign-".concat(u))}}class CCe{constructor(b){kt(this,"options");kt(this,"popover");kt(this,"highlightElement");var C=b,{showButtons:e=!0,disableButtons:n=[],offset:r=tCe,meta:s={},alignment:a="start",closeBtnText:i="Close",doneBtnText:l="Done",okBtnText:u="Ok",startBtnText:d="Next →",nextBtnText:p="Next →",prevBtnText:h="← Previous"}=C,m=Ne(C,["showButtons","disableButtons","offset","meta","alignment","closeBtnText","doneBtnText","okBtnText","startBtnText","nextBtnText","prevBtnText"]);this.options=R({showButtons:e,disableButtons:n,meta:s,offset:r,alignment:a,closeBtnText:i,doneBtnText:l,startBtnText:d,nextBtnText:p,prevBtnText:h,okBtnText:u},m)}hide(){var e;this.popover&&((e=this.popover.popoverWrapper.parentElement)==null||e.removeChild(this.popover.popoverWrapper))}show(e){this.highlightElement=e,this.attachNode(),Fo(this.popover),Fo(this.highlightElement),this.setInitialState(),this.popover.popoverTitle.innerHTML=this.options.title||"",this.popover.popoverDescription.innerHTML=this.options.description||"",this.renderFooter(),this.setPosition(),this.options.scrollIntoViewOptions!=="no-scroll"&&lV(this.popover.popoverWrapper,this.options.scrollIntoViewOptions)}refresh(){this.highlightElement&&this.setPosition()}getPopoverElements(){return this.popover}getShowButtons(){return this.options.showButtons}getDisabledButtons(){return this.options.disableButtons}setInitialState(){Fo(this.popover),this.popover.popoverWrapper.style.left="0",this.popover.popoverWrapper.style.top="0",this.popover.popoverWrapper.style.bottom="",this.popover.popoverWrapper.style.right=""}setPosition(){Fo(this.highlightElement);const e=this.highlightElement.getCustomPadding();new kCe(this.highlightElement,this,kf(this.options.padding,e),this.options.offset).setBestPosition(this.options.alignment,this.options.prefferedSide)}attachNode(){var h,m,b;this.popover&&((h=this.popover.popoverWrapper.parentElement)==null||h.removeChild(this.popover.popoverWrapper));const e=gCe(this.options.className),{popoverWrapper:n,popoverTip:r,popoverTitle:s,popoverDescription:a,popoverFooter:i,popoverPrevBtn:l,popoverNextBtn:u,popoverFooterCounter:d,popoverCloseBtn:p}=e;this.options.animate&&n.classList.add("".concat(aV,"-animated")),(b=(m=this.options).onPopoverRender)==null||b.call(m,e),document.body.appendChild(n),iV(n,C=>{const g=C.target;u.contains(g)&&this.options.onNextClick(),l.contains(g)&&this.options.onPreviousClick(),p.contains(g)&&this.options.onCloseClick()},C=>!a.contains(C)),this.popover={popoverWrapper:n,popoverTip:r,popoverTitle:s,popoverDescription:a,popoverFooter:i,popoverFooterCounter:d,popoverPrevBtn:l,popoverNextBtn:u,popoverCloseBtn:p}}renderFooter(){var r,s,a;Fo(this.popover),this.popover.popoverPrevBtn.innerHTML=this.options.prevBtnText;const e=this.options.closeBtnText;typeof e=="string"&&e!=="x"?this.popover.popoverCloseBtn.innerHTML=e:this.popover.popoverCloseBtn.innerHTML='';const n=this.options.totalCount&&this.options.totalCount!==1;if(!this.options.showButtons){this.popover.popoverFooter.classList.add(uCe),this.popover.popoverFooter.style.display="none";return}n?(this.popover.popoverNextBtn.style.display="inline-block",this.popover.popoverPrevBtn.style.display="inline-block",this.popover.popoverCloseBtn.classList.remove(qI)):(this.popover.popoverNextBtn.style.display="none",this.popover.popoverPrevBtn.style.display="none",this.popover.popoverCloseBtn.classList.add(qI)),Array.isArray(this.options.showButtons)&&(this.options.showButtons.includes("next")||(this.popover.popoverNextBtn.style.display="none"),this.options.showButtons.includes("previous")||(this.popover.popoverPrevBtn.style.display="none"),this.options.showButtons.includes("close")||(this.popover.popoverCloseBtn.style.display="none")),this.popover.popoverFooter.style.display="flex",this.options.disableButtons.includes("close")&&this.popover.popoverCloseBtn.classList.add(Xg),this.options.disableButtons.includes("next")&&this.popover.popoverNextBtn.classList.add(Xg),this.options.isFirst&&this.options.totalCount>1?(this.popover.popoverPrevBtn.classList.add(Xg),this.popover.popoverFooterCounter.innerHTML="".concat(this.options.currentIndex+1,"/").concat(this.options.totalCount),this.popover.popoverNextBtn.innerHTML="".concat(this.options.nextBtnText)):this.options.isLast||this.options.currentIndex+1===this.options.totalCount?(this.popover.popoverNextBtn.innerHTML=this.options.doneBtnText,this.popover.popoverNextBtn.style.display="inline-block",this.popover.popoverFooterCounter.innerHTML=""):(this.options.disableButtons.includes("previous")?this.popover.popoverPrevBtn.classList.add(Xg):this.popover.popoverPrevBtn.classList.remove(Xg),this.popover.popoverFooterCounter.innerHTML="".concat(this.options.currentIndex+1,"/").concat(this.options.totalCount),this.popover.popoverNextBtn.innerHTML="".concat(this.options.nextBtnText)),(r=this.popover)!=null&&r.popoverNextBtn&&((a=(s=this.popover)==null?void 0:s.popoverNextBtn)==null||a.focus())}}class SCe{constructor(e){kt(this,"isActivated");kt(this,"currentStep");kt(this,"options");kt(this,"steps");kt(this,"lastMovementRequested");kt(this,"currentMovePrevented");kt(this,"overlay");const h=R({},e),{strictClickHandling:n=mCe,animate:r=nCe,padding:s=eCe,radius:a=J3e,scrollIntoViewOptions:i={behavior:"auto",block:"center"},allowClose:l=rCe,keyboardControl:u=sCe,overlayClickNext:d=aCe}=h,p=Ne(h,["strictClickHandling","animate","padding","radius","scrollIntoViewOptions","allowClose","keyboardControl","overlayClickNext"]);this.options=R({strictClickHandling:n,animate:r,padding:s,radius:a,scrollIntoViewOptions:i,allowClose:l,keyboardControl:u,overlayClickNext:d},p),this.isActivated=!1,this.steps=[],this.currentStep=0,this.currentMovePrevented=!1,this.overlay=new wCe({animate:this.options.animate,padding:this.options.padding,radius:this.options.radius,onReset:this.options.onReset,opacity:this.options.opacity,onOverlayClick:()=>{if(this.options.overlayClickNext){this.next();return}if(this.options.allowClose){this.reset(!1,"cancel");return}}}),this.onKeyUp=this.onKeyUp.bind(this),this.onClick=this.onClick.bind(this)}start(e=0){var n,r;if(this.lastMovementRequested={movement:0,index:e},!this.steps||this.steps.length===0){console.log("There are no steps defined to iterate");return}(r=(n=this.steps[e]).prepareElement)==null||r.call(n,"init"),!this.currentMovePrevented&&this.handleStart(e)}highlight(e){var r;this.lastMovementRequested={movement:1,selector:e};const n=typeof e=="object"&&"element"in e?e:{element:e};(r=n.prepareElement)==null||r.call(n,"init"),!this.currentMovePrevented&&this.handleHighlight(e)}preventMove(){if(this.lastMovementRequested!==void 0)if(this.currentMovePrevented!==this.lastMovementRequested)if(this.currentMovePrevented)console.warn("Tried to call Boarding.preventMove, but move has already been prevented, and not been continued or reset yet");else{const e=R({},this.lastMovementRequested);this.currentMovePrevented=e,this.lastMovementRequested=e}else console.warn("Boarding.preventMove was called multiple times for the same move, which has no effect.");else console.warn("Tried to call Boarding.preventMove before, but no move was requested so far.")}continue(){return ge(this,null,function*(){setTimeout(()=>{if(this.currentMovePrevented===this.lastMovementRequested)switch(this.currentMovePrevented=!1,this.lastMovementRequested.movement){case 0:this.handleStart(this.lastMovementRequested.index);break;case 1:this.handleHighlight(this.lastMovementRequested.selector);break;case 2:this.handleNext();break;case 3:this.moveNext();break;case 4:this.handlePrevious();break;case 5:this.movePrevious();break}else console.warn("Boarding.continue was probably called too late, since the last preventMove was called from a different step (or never called at all).")},0)})}clearMovePrevented(){this.currentMovePrevented=!1}next(){var e,n;this.currentMovePrevented||(this.lastMovementRequested={movement:2,index:this.currentStep},(n=(e=this.steps[this.currentStep+1])==null?void 0:e.prepareElement)==null||n.call(e,"next"),!this.currentMovePrevented&&this.handleNext())}previous(){var e,n;this.currentMovePrevented||(this.lastMovementRequested={movement:4,index:this.currentStep},(n=(e=this.steps[this.currentStep-1])==null?void 0:e.prepareElement)==null||n.call(e,"prev"),!this.currentMovePrevented&&this.handlePrevious())}hasNextStep(){return!!this.steps[this.currentStep+1]}hasPreviousStep(){return!!this.steps[this.currentStep-1]}reset(e=!1,n="cancel"){this.currentStep=0,this.isActivated=!1,this.overlay.clear(e,n),this.removeEventListeners(),document.body.classList.remove(s4,a4),this.lastMovementRequested=void 0,this.currentMovePrevented=!1}hasHighlightedElement(){return!!this.overlay.currentHighlightedElement}getHighlightedElement(){return this.overlay.currentHighlightedElement}getLastHighlightedElement(){return this.overlay.previouslyHighlightedElement}defineSteps(e){this.steps=e}getSteps(){return this.steps}handleStart(e){var r,s,a,i;const n=this.prepareElementFromStep(e);if(!n){console.log("The step with starting index ".concat(e," could not resolve to an element.")),this.currentStep=0,(s=(r=this.options).onStart)==null||s.call(r,void 0),this.next();return}this.currentStep=e,(i=(a=this.options).onStart)==null||i.call(a,n),this.activateBoarding(n)}handleHighlight(e){const n=typeof e=="object"&&"element"in e?e:{element:e},r=this.prepareElementFromStep(n);if(!r){console.log("The step with element ".concat(n.element," could not resolve to an element.")),this.next();return}this.activateBoarding(r)}handleNext(){this.lastMovementRequested={movement:3,index:this.currentStep};const e=this.prepareElementFromStep(this.currentStep);e||console.log("The step with index ".concat(this.currentStep," could not resolve to an element.")),e==null||e.onNext(),!this.currentMovePrevented&&this.moveNext()}handlePrevious(){this.lastMovementRequested={movement:5,index:this.currentStep};const e=this.prepareElementFromStep(this.currentStep);e==null||e.onPrevious(),!this.currentMovePrevented&&this.movePrevious()}moveNext(){const e=this.prepareElementFromStep(this.currentStep+1);if(!e){if(!this.hasNextStep()){this.reset(!1,"finish");return}this.currentStep+=1,this.next();return}this.setStrictClickHandlingRules(e),this.overlay.highlight(e),this.currentStep+=1}movePrevious(){const e=this.prepareElementFromStep(this.currentStep-1);if(!e){if(!this.hasPreviousStep()){this.currentStep=0,this.next();return}this.currentStep-=1,this.previous();return}this.setStrictClickHandlingRules(e),this.overlay.highlight(e),this.currentStep-=1}activateBoarding(e){this.attachEventListeners(),this.isActivated=!0,this.setStrictClickHandlingRules(e),this.overlay.highlight(e)}setStrictClickHandlingRules(e){const n=e.getStrictClickHandling(),r=n===void 0?this.options.strictClickHandling:n;document.body.classList.remove(s4,a4),r==="block-all"?document.body.classList.add(s4):r&&document.body.classList.add(a4)}attachEventListeners(){window.addEventListener("keyup",this.onKeyUp,!1),"ontouchstart"in document.documentElement?window.addEventListener("touchstart",this.onClick,!1):window.addEventListener("click",this.onClick,!1)}removeEventListeners(){window.removeEventListener("keyup",this.onKeyUp,!1),window.removeEventListener("click",this.onClick,!1),window.removeEventListener("touchstart",this.onClick,!1)}onClick(e){if(!this.overlay.currentHighlightedElement)return;vCe(e.target);const s=!this.overlay.currentHighlightedElement.getElement().contains(e.target);if(this.options.strictClickHandling&&s){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation();return}}onKeyUp(e){if(e.preventDefault(),e.stopPropagation(),!this.isActivated||!this.options.keyboardControl)return;if(e.key==="Escape"&&this.options.allowClose){this.reset(!1,"cancel");return}const n=this.getHighlightedElement(),r=n==null?void 0:n.getPopover(),s=r==null?void 0:r.getShowButtons(),a=r==null?void 0:r.getDisabledButtons();s&&(e.key==="ArrowRight"||e.key==="ArrowDown"?!(a!=null&&a.includes("next"))&&(s===!0||s.includes("next"))&&this.next():(e.key==="ArrowLeft"||e.key==="ArrowUp")&&!(a!=null&&a.includes("previous"))&&(s===!0||s.includes("previous"))&&this.previous())}prepareElementFromStep(e){var l;const n=typeof e=="number"?this.steps[e]:e,r=typeof e=="number"?e:0,s=typeof e=="number"?this.steps.length:1;if(n===void 0)return null;const a=typeof n.element=="string"?document.querySelector(n.element):n.element;if(!a)return console.warn("Element to highlight ".concat(n.element," not found")),null;let i=null;if((l=n.popover)!=null&&l.title){const u=[this.options.className,n.popover.className].filter(d=>d).join(" ");i=new CCe({padding:this.options.padding,offset:this.options.offset,animate:this.options.animate,meta:n.meta,scrollIntoViewOptions:n.scrollIntoViewOptions===void 0?this.options.scrollIntoViewOptions:n.scrollIntoViewOptions,title:n.popover.title,description:n.popover.description,prefferedSide:n.popover.prefferedSide||this.options.prefferedSide,alignment:n.popover.alignment||this.options.alignment,showButtons:n.popover.showButtons===void 0?this.options.showButtons:n.popover.showButtons,disableButtons:n.popover.disableButtons===void 0?this.options.disableButtons:n.popover.disableButtons,onPopoverRender:n.popover.onPopoverRender===void 0?this.options.onPopoverRender:n.popover.onPopoverRender,doneBtnText:n.popover.doneBtnText||this.options.doneBtnText,closeBtnText:n.popover.closeBtnText||this.options.closeBtnText,nextBtnText:n.popover.nextBtnText||this.options.nextBtnText,startBtnText:n.popover.startBtnText||this.options.startBtnText,prevBtnText:n.popover.prevBtnText||this.options.prevBtnText,className:u,totalCount:s,currentIndex:r,isFirst:r===0,isLast:s===0||r===s-1,onNextClick:()=>{this.next()},onPreviousClick:()=>{this.previous()},onCloseClick:()=>{this.reset(!1,"cancel")}})}return new yCe({highlightDomElement:a,options:{scrollIntoViewOptions:n.scrollIntoViewOptions===void 0?this.options.scrollIntoViewOptions:n.scrollIntoViewOptions,onBeforeHighlighted:n.onBeforeHighlighted||this.options.onBeforeHighlighted,onHighlighted:n.onHighlighted||this.options.onHighlighted,onDeselected:n.onDeselected||this.options.onDeselected,onNext:n.onNext||this.options.onNext,onPrevious:n.onPrevious||this.options.onPrevious,strictClickHandling:n.strictClickHandling,padding:n.padding,radius:n.radius},popover:i})}}const jCe=t=>{const e=Te(29),{steps:n,options:r,onStart:s,onNext:a,onPrevious:i,onEnd:l,onHighlighted:u,onBeforeHighlighted:d,onDeselected:p}=t,h=v.useRef(null);let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=A=>ge(void 0,null,function*(){return document.getElementById("boardingCSSLink")?Promise.resolve():new Promise((z,Y)=>{const O=document.createElement("link");O.rel="stylesheet",O.id="boardingCSSLink",O.type="text/css",O.href=A,O.onload=()=>{z()},O.onerror=()=>Y(new Error("Failed to load CSS at ".concat(A))),document.head.appendChild(O)})}),e[0]=m):m=e[0];const b=m;let C;e[1]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{const A=document.getElementById("boardingCSSLink");A&&A.remove()},e[1]=C):C=e[1];const g=C;let w;e[2]!==l?(w=(A,L)=>{g(),l&&l(A,L)},e[2]=l,e[3]=w):w=e[3];const x=w;let S;e[4]!==n||e[5]!==r||e[6]!==s||e[7]!==a||e[8]!==i||e[9]!==x||e[10]!==u||e[11]!==d||e[12]!==p?(S=()=>{var L;if(h.current){h.current.defineSteps(n),h.current.isActivated||(L=h.current)==null||L.start();return}const A=new SCe(ae(R({},r),{onStart:s,onNext:a,onPrevious:i,onReset:x,onHighlighted:u,onBeforeHighlighted:d,onDeselected:p}));A.defineSteps(n),h.current=A},e[4]=n,e[5]=r,e[6]=s,e[7]=a,e[8]=i,e[9]=x,e[10]=u,e[11]=d,e[12]=p,e[13]=S):S=e[13];let E;e[14]!==n||e[15]!==r||e[16]!==s||e[17]!==a||e[18]!==i||e[19]!==l||e[20]!==u||e[21]!==d||e[22]!==p?(E=[n,r,s,a,i,l,u,d,p],e[14]=n,e[15]=r,e[16]=s,e[17]=a,e[18]=i,e[19]=l,e[20]=u,e[21]=d,e[22]=p,e[23]=E):E=e[23],v.useEffect(S,E);let N;e[24]===Symbol.for("react.memo_cache_sentinel")?(N=()=>{h.current&&ge(void 0,null,function*(){var L;yield b("/assets/styles/boarding.css"),(L=h.current)==null||L.start()})},e[24]=N):N=e[24];const _=N;let P;e[25]===Symbol.for("react.memo_cache_sentinel")?(P=()=>{g(),h.current&&(h.current.reset(!0),h.current=null)},e[25]=P):P=e[25];const I=P;let T;return e[26]!==_||e[27]!==I?(T={startBoarding:_,resetBoarding:I,boarding:h.current},e[26]=_,e[27]=I,e[28]=T):T=e[28],T},ECe=({tourName:t,element:e,onCompleted:n,onSkipped:r})=>{var a,i;var s=sn(1);try{const{t:l}=Gt(),u=la(),d=bl(),[p,h]=v.useState([]),[m,b]=v.useState(null),[C,g]=v.useState(null),{appToursCompletedList:w,appToursSkippedList:x,setAppToursSkippedList:S}=Tt(Cr),{toast:E}=Mx();v.useEffect(()=>{if(m===t&&!(P!=null&&P.isActivated)){N();return}_();const I=l(t,{returnObjects:!0,defaultValue:[],ns:"tours"}),T=e?I.filter(A=>Array.isArray(e)?e.includes(A.element):e===A.element):I;h(T),b(t)},[t]);const{startBoarding:N,resetBoarding:_,boarding:P}=jCe({steps:p,options:{animate:!0,opacity:.65,padding:8,allowClose:!!e,doneBtnText:e?l("Got It",{ns:"help"}):l("Done",{ns:"help"}),closeBtnText:"x",nextBtnText:l("Next",{ns:"help"}),prevBtnText:l("Previous",{ns:"help"}),showButtons:!0,keyboardControl:!0},onEnd:(I,T)=>{const A=rr.value,Y=Object.values(jn).sort(($,M)=>iM.indexOf($)-iM.indexOf(M)).filter($=>!w.includes($)&&$!==A)[0];rr.value=null;const O=T==="finish";if(e)rd.value=null;else{if(!O){const M=[...x,A];S(M)}const $=E({id:O?"tour-completed":"tour-skipped",title:O?o.jsxs(me,{className:"text-green-600 dark:text-green-500 justify-start items-center",children:[l("Tour Completed",{ns:"help"}),o.jsx(en,{className:"h-5 w-5 ml-2"})]}):o.jsx(te,{className:"text-yellow-600 dark:text-yellow-500",children:l("Tour Skipped",{ns:"help"})}),duration:O?6e3:3e3,description:T==="finish"?Y?o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"text-[14px]",children:o.jsx(ls,{i18nKey:"Great job! You have completed this tour. Ready to see more? Click Skip if you want to explore on your own. All tours always available from the Help > App Guided Tours menu in the navbar.",ns:"help"})}),o.jsxs(me,{className:"justify-between",children:[o.jsx(Se,{autoFocus:!0,className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white whitespace-nowrap",onClick:()=>{$==null||$.dismiss(),rr.value=Y},children:l("Start Next Tour",{ns:"help"})}),o.jsxs(me,{className:"gap-3",children:[o.jsx(Se,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{$==null||$.dismiss()},children:l("Later",{ns:"help"})}),o.jsx(Se,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{_(),r&&A&&r(A),$==null||$.dismiss()},children:l("Skip",{ns:"help"})})]})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"text-[14px]",children:o.jsx(ls,{i18nKey:"Congratulations! You have finished all the tours and now ready to make the most of PasteBar's features. Remember, all tours always available from the Help > App Guided Tours menu in the navbar.",ns:"help"})}),o.jsx(me,{className:"justify-between",children:o.jsx(Se,{autoFocus:!0,className:"bg-green-500 dark:bg-green-700 dark:hover:bg-green-800 hover:bg-green-600 px-4 mt-3 text-white !outline-none",onClick:()=>{$==null||$.dismiss()},children:l("Let's get started",{ns:"help"})})})]}):o.jsxs(te,{className:"text-[15px]",children:[o.jsx(ls,{i18nKey:"Feel free to explore the app on your own. If you need help or want to access the tours later, you can always find them in the Help > App Guided Tours menu in the navigation bar.",ns:"help"}),o.jsx(te,{children:o.jsx(Se,{variant:"outline",autoFocus:!0,className:"text-gray-800 px-4 mt-3",onClick:()=>{_(),$==null||$.dismiss()},children:l("Got It",{ns:"help"})})})]})});n&&O&&n(t)}},onHighlighted:I=>{g(I)}});return Us("esc",()=>{rr.value&&(rr.value=null,rd.value=null,_())}),v.useEffect(()=>{if(!(P!=null&&P.isActivated)){if(d.pathname!=="/history"&&(rr.value===jn.historyPanelTour||rr.value===jn.dashboardClipsTour)){u("/history",{replace:!0});return}if(d.pathname!=="/menu"&&rr.value===jn.menuTour){u("/menu",{replace:!0});return}if(!d.pathname.startsWith("/app-settings")&&rr.value===jn.settingsTour){u("/app-settings/history",{replace:!0});return}rr.value===jn.navBarTour&&N()}},[rr.value]),v.useEffect(()=>{if(!(P!=null&&P.isActivated)){if(d.pathname==="/history"&&(rr.value===jn.historyPanelTour||rr.value===jn.dashboardClipsTour)){N();return}if(d.pathname==="/menu"&&rr.value===jn.menuTour){N();return}if(d.pathname.startsWith("/app-settings")&&rr.value===jn.settingsTour){N();return}return rr.value===jn.navBarTour&&N(),()=>{_()}}},[]),P!=null&&P.isActivated?o.jsx(Se,{className:"boarding-highlighted-element fixed bottom-4 z-[10001] ".concat((i=(a=C==null?void 0:C.popover)==null?void 0:a.options.meta)==null?void 0:i.closeTourCssPosition),onClick:()=>{_()},children:e?o.jsx(o.Fragment,{children:o.jsx(In,{className:"h-5 w-5"})}):o.jsx(o.Fragment,{children:l("Skip Tour",{ns:"help"})})}):null}finally{s.f()}},NCe=(t,e)=>{var r;var n=sn(1);try{const{t:s}=Gt(),a=v.useRef(null),i=v.useRef(null),l=bl(),u=v.useRef(null),{isScrolling:d,isSwapPanels:p}=Tt(Is),{historyListSimpleBar:h,clipboardHistory:m}=Tt(_i),{appToursCompletedList:b,setAppToursCompletedList:C,setAppToursSkippedList:g,isNotTourCompletedOrSkipped:w,appToursSkippedList:x}=Tt(Cr),[S,E]=Nw("resetPassCodeNextDelayInSeconds",null),[,N]=Nw("resetPassCodeGlobalUnsuccessfulTries",0),[_,P]=E7({}),[I,T,A]=N7({}),L=it(!1),z=it(!1),[Y,O]=v.useState({top:0,left:0}),$=v.useRef(I),M=v.useRef(_),W=la(),{toast:V}=Mx(),U=(F,q=0)=>{$.current||M.current||requestAnimationFrame(()=>{const X=a.current?a.current.getBoundingClientRect():new DOMRect(0),ne=F.top-X.top,ee=q>0&&F.left+F.width/2-X.left>q?q/2:F.left+F.width/2-X.left;O({top:ne,left:ee}),L.value=!0})};v.useEffect(()=>{var F;return S&&(Hr.value=(F=parseInt(S,10))!=null?F:0),()=>{Ui.value&&(clearInterval(Ui.value),Ui.value=null),Hr.value>0?(E(Hr.value),Hr.value=0):E(null)}},[]),v.useEffect(()=>{Hr.value>0&&Ui.value==null&&(Ui.value=setInterval(()=>{Hr.value>0?(E(Hr.value),Hr.value-=1):(Ui.value&&clearInterval(Ui.value),N(0),E(null),Hr.value=0,Lp.value=0,Ui.value=null)},1e3))},[Hr.value]),v.useEffect(()=>{var F;_||I||(L.value=!1,(F=window.getSelection())==null||F.removeAllRanges())},[p,m,_,I]),v.useEffect(()=>{$.current=I,M.current=_},[I,_]),v.useEffect(()=>{L.value&&(Sf.value=null,jf.value=null)},[L.value]),Us("esc",()=>{var F;L.value&&(L.value=!1),(F=window.getSelection())==null||F.removeAllRanges()}),Us(["meta+a","control+a"],F=>{F.preventDefault()}),Us(["meta+f","control+f"],F=>{Rf.value=F.type==="keydown",setTimeout(()=>{Rf.value&&(Rf.value=!1)},300)},{enableOnFormTags:!0});const J=$f(F=>{var X,ne;const q=Uu();if(q.text.trim().length&&((X=q.selection)!=null&&X.containsNode(a.current,!0)))try{const G=q.selection.getRangeAt(0).getBoundingClientRect();let Z=0;(ne=h==null?void 0:h.current)!=null&&ne.contains(F.target)&&h.current.getBoundingClientRect().width>0&&(Z=T$.getState().isSwapPanels?0:h.current.getBoundingClientRect().width),U(G,Z)}catch(ee){L.value=!1}else L.value=!1},600,{leading:!1}),H=D$(F=>{var q;if(F.target===(u==null?void 0:u.current)||(q=u.current)!=null&&q.contains(F.target))return!1;L.value&&(L.value=!1)},30,{leading:!0});return v.useEffect(()=>{d&&L.value&&(L.value=!1)},[d]),v.useEffect(()=>{var F,q;return(F=a==null?void 0:a.current)==null||F.addEventListener("mouseup",J),(q=a==null?void 0:a.current)==null||q.addEventListener("click",H),()=>{var X,ne;(X=a==null?void 0:a.current)==null||X.removeEventListener("mouseup",J),(ne=a==null?void 0:a.current)==null||ne.removeEventListener("click",H)}},[a.current]),v.useEffect(()=>{var F;rr.value||(l.pathname==="/menu"?w(jn.menuTour)&&(i.current=V({title:"".concat(s("Welcome to Paste Menu",{ns:"help"})),id:"menu-tour",duration:3e3,description:o.jsxs(te,{children:[s("WelcomeTourDescription",{ns:"help"}),o.jsx(te,{className:"mt-3",children:o.jsx(ls,{i18nKey:"WelcomeTourCanSkip",ns:"help"})}),o.jsxs(me,{className:"justify-between",children:[o.jsx(Se,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{var q;rr.value=jn.menuTour,(q=i.current)==null||q.dismiss()},children:s("Start Tour",{ns:"help"})}),o.jsxs(me,{className:"gap-3",children:[o.jsx(Se,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{var q;(q=i.current)==null||q.dismiss()},children:s("Later",{ns:"help"})}),o.jsx(Se,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{var q;(q=i.current)==null||q.dismiss(),g([...x,jn.menuTour])},children:s("Skip Tour",{ns:"help"})})]})]})]})})):l.pathname.startsWith("/app-settings")&&w(jn.settingsTour)?i.current=V({title:"".concat(s("Welcome to PasteBar Settings",{ns:"help"})),id:"settings-tour",duration:0,description:o.jsxs(te,{children:[s("WelcomeTourDescription",{ns:"help"}),o.jsx(te,{className:"mt-3",children:o.jsx(ls,{i18nKey:"WelcomeTourCanSkip",ns:"help"})}),o.jsxs(me,{className:"justify-between",children:[o.jsx(Se,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{var q;rr.value=jn.settingsTour,(q=i.current)==null||q.dismiss()},children:s("Start Tour",{ns:"help"})}),o.jsxs(me,{className:"gap-3",children:[o.jsx(Se,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{var q;(q=i.current)==null||q.dismiss()},children:s("Later",{ns:"help"})}),o.jsx(Se,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{var q;(q=i.current)==null||q.dismiss(),g([...x,jn.settingsTour])},children:s("Skip Tour",{ns:"help"})})]})]})]})}):(F=i.current)==null||F.dismiss())},[l.pathname]),o.jsxs("div",{ref:pl(e,a),className:"flex flex-col items-center relative",children:[t.children,ta.createPortal(o.jsx(te,{className:Pn(r4["shared-container"],!L.value&&r4.visible),style:R({zIndex:9999},Y),children:L.value&&o.jsxs("button",{ref:u,onClick:F=>{F.stopPropagation()},children:[o.jsx(te,{className:"h-8 text-slate-50 flex items-center justify-center gap-1 px-1.5",children:!_&&!I?o.jsxs(o.Fragment,{children:[Tn.value?o.jsx(Ps,{size:18,onClick:()=>{A(Uu().text)}}):o.jsx(ya,{size:18,onClick:F=>{!F.altKey&&!F.metaKey?P(Uu().text):A(Uu().text)}}),o.jsx(st,{isCompact:!0,side:"right",delayDuration:2e3,sideOffset:10,text:s("Add to clip or menu",{ns:"common"}),children:o.jsx(Wr,{size:18,onClick:()=>{z.value=!0,L.value=!1}})})]}):_?o.jsxs(o.Fragment,{children:[o.jsx(en,{size:16}),o.jsx(re,{className:"text-white text-sm pr-1",children:s("Copied",{ns:"common"})})]}):I&&T===null?o.jsxs(o.Fragment,{children:[o.jsx(en,{size:16}),o.jsx(re,{className:"text-white text-sm pr-1",children:s("Pasted",{ns:"common"})})]}):T!==null&&T>0&&o.jsx(o.Fragment,{children:o.jsx(re,{className:"text-white text-sm px-1",children:s("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:T})})})}),o.jsx(te,{className:r4.arrow})]})}),document.body),z.value&&o.jsx(u3e,{open:((r=Uu().text)==null?void 0:r.length)>0,selectedText:Uu().text,onClose:()=>{z.value=!1,Uu().text?L.value=!0:L.value=!1},onConfirmClip:F=>{W("/history",{replace:!0}),z.value=!1,Oa.value&&(Oa.value=null),setTimeout(()=>{Sf.value=F,va.value=tl.CLIP},300)},onConfirmMenu:F=>{W("/menu",{replace:!0}),z.value=!1,setTimeout(()=>{jf.value=F,uo.value=!0},300)}}),WS.value&&o.jsx(c3e,{open:!0,showUpdateAppIsLatest:Nf,showUpdateChecking:Mc,onClose:()=>{WS.value=!1}}),Af.value&&o.jsx(LI,{title:s("Confirm {{action}}",{ns:"common",action:Lf.value}),open:!0,onClose:()=>{Af.value=!1,Lf.value=null,nl.value=null,lo.value=null},showPasscode:!0,onConfirmSuccess:()=>{Af.value=!1,Lf.value=null,nl.value=lo.value},onConfirmFailed:()=>{Af.value=!1,Lf.value=null,nl.value=null,lo.value=null}}),Ga.value&&o.jsx(G3e,{open:!0,showProPayments:Jm,onClose:()=>{Jm.value||(Ga.value=!1)}}),VS.value&&o.jsx(d3e,{open:!0,onClose:()=>{VS.value=!1}}),P2.value&&o.jsx(Y3e,{open:!0,onClose:()=>{P2.value=!1}}),Xi.value&&o.jsx(LI,{open:!0,showPasscode:!0,isLockScreen:!0,onClose:()=>{Xi.value=!1},onConfirmSuccess:()=>{Xi.value=!1}}),rr.value&&o.jsx(ECe,{tourName:rr.value,onCompleted:F=>{b.includes(F)||C([...b,F])},onSkipped:F=>{x.includes(F)||g([...x,F])},element:rd.value})]})}finally{n.f()}},_Ce=()=>{const{isMacOSX:t,isWindows:e}=Tt(Is);return uke(),o.jsx("div",{className:"flex flex-col bg-slate-100 dark:bg-slate-700 overflow-hidden rounded-b-md mt-[40px]",children:o.jsxs("div",{"data-tauri-drag-region":!0,className:"".concat(t?"h-calc(100vh-40px) p-[14px]":""," ").concat(e?"h-[calc(100vh-50px)] px-[12px] pt-[10px]":""," "),children:[o.jsx(pve,{children:o.jsx(A7,{})}),o.jsx(Oke,{})]})})},vk=v.forwardRef(NCe),TCe=Object.freeze(Object.defineProperty({__proto__:null,Component:_Ce,MainContainer:vk},Symbol.toStringTag,{value:"Module"}));function GI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pj(t,e){return pj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,s){return r.__proto__=s,r},pj(t,e)}function PCe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,pj(t,e)}var YI=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function MCe(t,e){return!!(t===e||YI(t)&&YI(e))}function DCe(t,e){if(t.length!==e.length)return!1;for(var n=0;n=e?t.call(null):s.id=requestAnimationFrame(r)}var s={id:requestAnimationFrame(r)};return s}var i4=-1;function QI(t){if(t===void 0&&(t=!1),i4===-1||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(e),i4=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return i4}var Mp=null;function JI(t){if(t===void 0&&(t=!1),Mp===null||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),s=r.style;return s.width="100px",s.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?Mp="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?Mp="negative":Mp="positive-ascending"),document.body.removeChild(e),Mp}return Mp}var LCe=150,RCe=function(e,n){return e};function uV(t){var e,n=t.getItemOffset,r=t.getEstimatedTotalSize,s=t.getItemSize,a=t.getOffsetForIndexAndAlignment,i=t.getStartIndexForOffset,l=t.getStopIndexForStartIndex,u=t.initInstanceProps,d=t.shouldResetStyleCacheOnItemSizeChange,p=t.validateProps;return e=function(h){PCe(m,h);function m(C){var g;return g=h.call(this,C)||this,g._instanceProps=u(g.props,GI(g)),g._outerRef=void 0,g._resetIsScrollingTimeoutId=null,g.state={instance:GI(g),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof g.props.initialScrollOffset=="number"?g.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},g._callOnItemsRendered=void 0,g._callOnItemsRendered=o4(function(w,x,S,E){return g.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:x,visibleStartIndex:S,visibleStopIndex:E})}),g._callOnScroll=void 0,g._callOnScroll=o4(function(w,x,S){return g.props.onScroll({scrollDirection:w,scrollOffset:x,scrollUpdateWasRequested:S})}),g._getItemStyle=void 0,g._getItemStyle=function(w){var x=g.props,S=x.direction,E=x.itemSize,N=x.layout,_=g._getItemStyleCache(d&&E,d&&N,d&&S),P;if(_.hasOwnProperty(w))P=_[w];else{var I=n(g.props,w,g._instanceProps),T=s(g.props,w,g._instanceProps),A=S==="horizontal"||N==="horizontal",L=S==="rtl",z=A?I:0;_[w]=P={position:"absolute",left:L?void 0:z,right:L?z:void 0,top:A?0:I,height:A?"100%":T,width:A?T:"100%"}}return P},g._getItemStyleCache=void 0,g._getItemStyleCache=o4(function(w,x,S){return{}}),g._onScrollHorizontal=function(w){var x=w.currentTarget,S=x.clientWidth,E=x.scrollLeft,N=x.scrollWidth;g.setState(function(_){if(_.scrollOffset===E)return null;var P=g.props.direction,I=E;if(P==="rtl")switch(JI()){case"negative":I=-E;break;case"positive-descending":I=N-S-E;break}return I=Math.max(0,Math.min(I,N-S)),{isScrolling:!0,scrollDirection:_.scrollOffsetP.clientWidth?QI():0:_=P.scrollHeight>P.clientHeight?QI():0}this.scrollTo(a(this.props,g,w,N,this._instanceProps,_))},b.componentDidMount=function(){var g=this.props,w=g.direction,x=g.initialScrollOffset,S=g.layout;if(typeof x=="number"&&this._outerRef!=null){var E=this._outerRef;w==="horizontal"||S==="horizontal"?E.scrollLeft=x:E.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var g=this.props,w=g.direction,x=g.layout,S=this.state,E=S.scrollOffset,N=S.scrollUpdateWasRequested;if(N&&this._outerRef!=null){var _=this._outerRef;if(w==="horizontal"||x==="horizontal")if(w==="rtl")switch(JI()){case"negative":_.scrollLeft=-E;break;case"positive-ascending":_.scrollLeft=E;break;default:var P=_.clientWidth,I=_.scrollWidth;_.scrollLeft=I-P-E;break}else _.scrollLeft=E;else _.scrollTop=E}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&XI(this._resetIsScrollingTimeoutId)},b.render=function(){var g=this.props,w=g.children,x=g.className,S=g.direction,E=g.height,N=g.innerRef,_=g.innerElementType,P=g.innerTagName,I=g.itemCount,T=g.itemData,A=g.itemKey,L=A===void 0?RCe:A,z=g.layout,Y=g.outerElementType,O=g.outerTagName,$=g.style,M=g.useIsScrolling,W=g.width,V=this.state.isScrolling,U=S==="horizontal"||z==="horizontal",J=U?this._onScrollHorizontal:this._onScrollVertical,H=this._getRangeToRender(),F=H[0],q=H[1],X=[];if(I>0)for(var ne=F;ne<=q;ne++)X.push(v.createElement(w,{data:T,key:L(ne,T),index:ne,isScrolling:M?V:void 0,style:this._getItemStyle(ne)}));var ee=r(this.props,this._instanceProps);return v.createElement(Y||O||"div",{className:x,onScroll:J,ref:this._outerRefSetter,style:at({position:"relative",height:E,width:W,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:S},$)},v.createElement(_||P||"div",{children:X,ref:N,style:{height:U?"100%":ee,pointerEvents:V?"none":void 0,width:U?ee:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var g=this.props.itemCount;if(g>0){var w=this._getRangeToRender(),x=w[0],S=w[1],E=w[2],N=w[3];this._callOnItemsRendered(x,S,E,N)}}if(typeof this.props.onScroll=="function"){var _=this.state,P=_.scrollDirection,I=_.scrollOffset,T=_.scrollUpdateWasRequested;this._callOnScroll(P,I,T)}},b._getRangeToRender=function(){var g=this.props,w=g.itemCount,x=g.overscanCount,S=this.state,E=S.isScrolling,N=S.scrollDirection,_=S.scrollOffset;if(w===0)return[0,0,0,0];var P=i(this.props,_,this._instanceProps),I=l(this.props,P,_,this._instanceProps),T=!E||N==="backward"?Math.max(1,x):1,A=!E||N==="forward"?Math.max(1,x):1;return[Math.max(0,P-T),Math.max(0,Math.min(w-1,I+A)),P,I]},m}(v.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var OCe=function(e,n){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,n.instance},$Ce=50,um=function(e,n,r){var s=e,a=s.itemSize,i=r.itemMetadataMap,l=r.lastMeasuredIndex;if(n>l){var u=0;if(l>=0){var d=i[l];u=d.offset+d.size}for(var p=l+1;p<=n;p++){var h=a(p);i[p]={offset:u,size:h},u+=h}r.lastMeasuredIndex=n}return i[n]},zCe=function(e,n,r){var s=n.itemMetadataMap,a=n.lastMeasuredIndex,i=a>0?s[a].offset:0;return i>=r?dV(e,n,a,0,r):FCe(e,n,Math.max(0,a),r)},dV=function(e,n,r,s,a){for(;s<=r;){var i=s+Math.floor((r-s)/2),l=um(e,i,n).offset;if(l===a)return i;la&&(r=i-1)}return s>0?s-1:0},FCe=function(e,n,r,s){for(var a=e.itemCount,i=1;r=r&&(i=r-1),i>=0){var u=s[i];l=u.offset+u.size}var d=r-i-1,p=d*a;return l+p},HCe=uV({getItemOffset:function(e,n,r){return um(e,n,r).offset},getItemSize:function(e,n,r){return r.itemMetadataMap[n].size},getEstimatedTotalSize:eA,getOffsetForIndexAndAlignment:function(e,n,r,s,a,i){var l=e.direction,u=e.height,d=e.layout,p=e.width,h=l==="horizontal"||d==="horizontal",m=h?p:u,b=um(e,n,a),C=eA(e,a),g=Math.max(0,Math.min(C-m,b.offset)),w=Math.max(0,b.offset-m+b.size+i);switch(r==="smart"&&(s>=w-m&&s<=g+m?r="auto":r="center"),r){case"start":return g;case"end":return w;case"center":return Math.round(w+(g-w)/2);case"auto":default:return s>=w&&s<=g?s:s=x-C&&s<=w+C?r="auto":r="center"),r){case"start":return w;case"end":return x;case"center":{var S=Math.round(x+(w-x)/2);return Sg+Math.floor(C/2)?g:S}case"auto":default:return s>=x&&s<=w?s:sn||s0;){var b=i[0]-1;if(!e(b))i[0]=b;else break}return i}var WCe=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},VCe=function(){function t(e,n){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,s){var a=this.props,i=a.isItemLoaded,l=a.itemCount,u=a.minimumBatchSize,d=u===void 0?10:u,p=a.threshold,h=p===void 0?15:p,m=UCe({isItemLoaded:i,itemCount:l,minimumBatchSize:d,startIndex:Math.max(0,r-h),stopIndex:Math.min(l-1,s+h)});(this._memoizedUnloadedRanges.length!==m.length||this._memoizedUnloadedRanges.some(function(b,C){return m[C]!==b}))&&(this._memoizedUnloadedRanges=m,this._loadUnloadedRanges(m))}},{key:"_loadUnloadedRanges",value:function(r){for(var s=this,a=this.props.loadMoreItems||this.props.loadMoreRows,i=function(d){var p=r[d],h=r[d+1],m=a(p,h);m!=null&&m.then(function(){if(BCe({lastRenderedStartIndex:s._lastRenderedStartIndex,lastRenderedStopIndex:s._lastRenderedStopIndex,startIndex:p,stopIndex:h})){if(s._listRef==null)return;typeof s._listRef.resetAfterIndex=="function"?s._listRef.resetAfterIndex(p,!0):(typeof s._listRef._getItemStyleCache=="function"&&s._listRef._getItemStyleCache(-1),s._listRef.forceUpdate())}})},l=0;l0?ea(V0,--So):0,h0--,ds===10&&(h0=1,yk--),ds}function Vo(){return ds=So2||Iv(ds)>3?"":" "}function c4e(t,e){for(;--e&&Vo()&&!(ds<48||ds>102||ds>57&&ds<65||ds>70&&ds<97););return Ix(t,Bb()+(e<6&&Jl()==32&&Vo()==32))}function gj(t){for(;Vo();)switch(ds){case t:return So;case 34:case 39:t!==34&&t!==39&&gj(ds);break;case 40:t===41&&gj(t);break;case 92:Vo();break}return So}function u4e(t,e){for(;Vo()&&t+ds!==57;)if(t+ds===84&&Jl()===47)break;return"/*"+Ix(e,So-1)+"*"+xk(t===47?t:Vo())}function d4e(t){for(;!Iv(Jl());)Vo();return Ix(t,So)}function f4e(t){return xV(Wb("",null,null,null,[""],t=vV(t),0,[0],t))}function Wb(t,e,n,r,s,a,i,l,u){for(var d=0,p=0,h=i,m=0,b=0,C=0,g=1,w=1,x=1,S=0,E="",N=s,_=a,P=r,I=E;w;)switch(C=S,S=Vo()){case 40:if(C!=108&&ea(I,h-1)==58){mj(I+=lr(Ub(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:I+=Ub(S);break;case 9:case 10:case 13:case 32:I+=l4e(C);break;case 92:I+=c4e(Bb()-1,7);continue;case 47:switch(Jl()){case 42:case 47:hb(h4e(u4e(Vo(),Bb()),e,n),u);break;default:I+="/"}break;case 123*g:l[d++]=$l(I)*x;case 125*g:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+p:x==-1&&(I=lr(I,/\f/g,"")),b>0&&$l(I)-h&&hb(b>32?sA(I+";",r,n,h-1):sA(lr(I," ","")+";",r,n,h-2),u);break;case 59:I+=";";default:if(hb(P=rA(I,e,n,d,p,s,l,E,N=[],_=[],h),a),S===123)if(p===0)Wb(I,e,P,P,N,a,h,l,_);else switch(m===99&&ea(I,3)===110?100:m){case 100:case 108:case 109:case 115:Wb(t,P,P,r&&hb(rA(t,P,P,0,0,s,l,E,s,N=[],h),_),s,_,h,l,r?N:_);break;default:Wb(I,P,P,P,[""],_,0,l,_)}}d=p=b=0,g=x=1,E=I="",h=i;break;case 58:h=1+$l(I),b=C;default:if(g<1){if(S==123)--g;else if(S==125&&g++==0&&i4e()==125)continue}switch(I+=xk(S),S*g){case 38:x=p>0?1:(I+="\f",-1);break;case 44:l[d++]=($l(I)-1)*x,x=1;break;case 64:Jl()===45&&(I+=Ub(Vo())),m=Jl(),p=h=$l(E=I+=d4e(Bb())),S++;break;case 45:C===45&&$l(I)==2&&(g=0)}}return a}function rA(t,e,n,r,s,a,i,l,u,d,p){for(var h=s-1,m=s===0?a:[""],b=G7(m),C=0,g=0,w=0;C0?m[x]+" "+S:lr(S,/&\f/g,m[x])))&&(u[w++]=E);return bk(t,e,n,s===0?q7:l,u,d,p)}function h4e(t,e,n){return bk(t,e,n,hV,xk(o4e()),Dv(t,2,-2),0)}function sA(t,e,n,r){return bk(t,e,n,K7,Dv(t,0,r),Dv(t,r+1,-1),r)}function Em(t,e){for(var n="",r=G7(t),s=0;s6)switch(ea(t,e+1)){case 109:if(ea(t,e+4)!==45)break;case 102:return lr(t,/(.+:)(.+)-([^]+)/,"$1"+ir+"$2-$3$1"+Tw+(ea(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~mj(t,"stretch")?yV(lr(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ea(t,e+1)!==115)break;case 6444:switch(ea(t,$l(t)-3-(~mj(t,"!important")&&10))){case 107:return lr(t,":",":"+ir)+t;case 101:return lr(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ir+(ea(t,14)===45?"inline-":"")+"box$3$1"+ir+"$2$3$1"+pa+"$2box$3")+t}break;case 5936:switch(ea(t,e+11)){case 114:return ir+t+pa+lr(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ir+t+pa+lr(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ir+t+pa+lr(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return ir+t+pa+t+t}return t}var C4e=function(e,n,r,s){if(e.length>-1&&!e.return)switch(e.type){case K7:e.return=yV(e.value,e.length);break;case pV:return Em([Qg(e,{value:lr(e.value,"@","@"+ir)})],s);case q7:if(e.length)return a4e(e.props,function(a){switch(s4e(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Em([Qg(e,{props:[lr(a,/:(read-\w+)/,":"+Tw+"$1")]})],s);case"::placeholder":return Em([Qg(e,{props:[lr(a,/:(plac\w+)/,":"+ir+"input-$1")]}),Qg(e,{props:[lr(a,/:(plac\w+)/,":"+Tw+"$1")]}),Qg(e,{props:[lr(a,/:(plac\w+)/,pa+"input-$1")]})],s)}return""})}},S4e=[C4e],j4e=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var w=g.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var s=e.stylisPlugins||S4e,a={},i,l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var w=g.getAttribute("data-emotion").split(" "),x=1;x=4;++r,s-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var N4e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_4e=/[A-Z]|^ms/g,T4e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bV=function(e){return e.charCodeAt(1)===45},oA=function(e){return e!=null&&typeof e!="boolean"},l4=v4e(function(t){return bV(t)?t:t.replace(_4e,"-$&").toLowerCase()}),iA=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(T4e,function(r,s,a){return zl={name:s,styles:a,next:zl},s})}return N4e[e]!==1&&!bV(e)&&typeof n=="number"&&n!==0?n+"px":n};function Av(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return zl={name:n.name,styles:n.styles,next:zl},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)zl={name:r.name,styles:r.styles,next:zl},r=r.next;var s=n.styles+";";return s}return P4e(t,e,n)}case"function":{if(t!==void 0){var a=zl,i=n(t);return zl=a,Av(t,e,i)}break}}if(e==null)return n;var l=e[n];return l!==void 0?l:n}function P4e(t,e,n){var r="";if(Array.isArray(n))for(var s=0;s to ensure consistent ids are generated between the client and server.");let n=z4e(!!t),r="react-aria".concat(e.prefix);return t||"".concat(r,"-").concat(n)}function H4e(t){let e=Vt.useId(),[n]=v.useState(q4e()),r=n?"react-aria":"react-aria".concat(Pw.prefix);return t||"".concat(r,"-").concat(e)}const B4e=typeof Vt.useId=="function"?H4e:F4e;function U4e(){return!1}function W4e(){return!0}function V4e(t){return()=>{}}function q4e(){return typeof Vt.useSyncExternalStore=="function"?Vt.useSyncExternalStore(V4e,U4e,W4e):v.useContext(O4e)}const K4e=typeof document!="undefined"?Vt.useLayoutEffect:()=>{};let G4e=!!(typeof window!="undefined"&&window.document&&window.document.createElement),fA=new Map;function Y4e(t){let[e,n]=v.useState(t),r=v.useRef(null),s=B4e(e),a=v.useCallback(i=>{r.current=i},[]);return G4e&&fA.set(s,a),K4e(()=>{let i=s;return()=>{fA.delete(i)}},[s]),v.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),s}let Jg=new Map,hA=new Set;function pA(){if(typeof window=="undefined")return;let t=n=>{let r=Jg.get(n.target);r||(r=new Set,Jg.set(n.target,r),n.target.addEventListener("transitioncancel",e)),r.add(n.propertyName)},e=n=>{let r=Jg.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",e),Jg.delete(n.target)),Jg.size===0)){for(let s of hA)s();hA.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",e)}typeof document!="undefined"&&(document.readyState!=="loading"?pA():document.addEventListener("DOMContentLoaded",pA));function Z4e(t,e){const n=v.useRef(!0),r=v.useRef(null);v.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),v.useEffect(()=>{n.current?n.current=!1:(!r.current||e.some((s,a)=>!Object.is(s,r[a])))&&t(),r.current=e},e)}const SV=v.createContext({activity:void 0,id:"",isCollapsed:void 0}),X4e=SV.Provider;function Y7(){return v.useContext(SV)}let vj=null,Bf=null;function Q4e(t,e){switch(t){case"horizontal":return"ew-resize";case"horizontal-max":return e?"e-resize":"w-resize";case"horizontal-min":return e?"w-resize":"e-resize"}}function J4e(){Bf!==null&&(document.head.removeChild(Bf),vj=null,Bf=null)}function eSe(t,e){if(vj===t)return;vj=t;const n=Q4e(t,e);Bf===null&&(Bf=document.createElement("style"),document.head.appendChild(Bf)),Bf.innerHTML="*{cursor: ".concat(n,"!important;}")}const tSe="_PanelGroupWrapper_13ky4_1",nSe="_PanelGroup_13ky4_1",rSe="_Panel_13ky4_1",sSe="_PanelColumn_13ky4_15",aSe="_PanelRow_13ky4_16",oSe="_Centered_13ky4_26",iSe="_ResizeHandle_13ky4_39",lSe="_Overflow_13ky4_42",cSe="_Button_13ky4_53",uSe="_ButtonDisabled_13ky4_54",dSe="_Buttons_13ky4_68",fSe="_Capitalize_13ky4_76",hSe="_WarningBlock_13ky4_80",pSe="_InlineCode_13ky4_87",mSe="_ResizeHandleOuter_13ky4_91",gSe="_ResizeHandleInner_13ky4_104",vSe="_HorizontalIcon_13ky4_135",xSe="_VerticalIcon_13ky4_136",ySe={PanelGroupWrapper:tSe,PanelGroup:nSe,Panel:rSe,PanelColumn:sSe,PanelRow:aSe,Centered:oSe,ResizeHandle:iSe,Overflow:lSe,Button:cSe,ButtonDisabled:uSe,Buttons:dSe,Capitalize:fSe,WarningBlock:hSe,InlineCode:pSe,ResizeHandleOuter:mSe,ResizeHandleInner:gSe,HorizontalIcon:vSe,VerticalIcon:xSe};function mA(t){try{if(typeof localStorage!="undefined")t.getItem=e=>localStorage.getItem(e),t.setItem=(e,n)=>{localStorage.setItem(e,n)};else throw new Error("localStorage not supported in this environment")}catch(e){console.error(e),t.getItem=()=>null,t.setItem=()=>{}}}const d1={getItem:t=>(mA(d1),d1.getItem(t)),setItem:(t,e)=>{mA(d1),d1.setItem(t,e)}};function bSe(t){return typeof t=="number"&&!isNaN(t)}const Il={animation:{duration:{short:"var(--ksv-animation-duration-short)",regular:"var(--ksv-animation-duration-regular)",long:"var(--ksv-animation-duration-long)",xlong:"var(--ksv-animation-duration-xlong)"},easing:{easeInOut:"var(--ksv-animation-easing-ease-in-out)",easeIn:"var(--ksv-animation-easing-ease-in)",easeOut:"var(--ksv-animation-easing-ease-out)"}},size:{alias:{focusRing:"var(--ksv-size-alias-focus-ring)",focusRingGap:"var(--ksv-size-alias-focus-ring-gap)",singleLineHeight:"var(--ksv-size-alias-single-line-height)",singleLineWidth:"var(--ksv-size-alias-single-line-width)"},element:{xsmall:"var(--ksv-size-element-xsmall)",small:"var(--ksv-size-element-small)",regular:"var(--ksv-size-element-regular)",medium:"var(--ksv-size-element-medium)",large:"var(--ksv-size-element-large)",xlarge:"var(--ksv-size-element-xlarge)"},icon:{small:"var(--ksv-size-icon-small)",regular:"var(--ksv-size-icon-regular)",medium:"var(--ksv-size-icon-medium)",large:"var(--ksv-size-icon-large)"},container:{xsmall:"var(--ksv-size-container-xsmall)",small:"var(--ksv-size-container-small)",medium:"var(--ksv-size-container-medium)",large:"var(--ksv-size-container-large)",xlarge:"var(--ksv-size-container-xlarge)"},dialog:{xsmall:"var(--ksv-size-dialog-xsmall)",small:"var(--ksv-size-dialog-small)",medium:"var(--ksv-size-dialog-medium)",large:"var(--ksv-size-dialog-large)"},border:{regular:"var(--ksv-size-border-regular)",medium:"var(--ksv-size-border-medium)",large:"var(--ksv-size-border-large)"},radius:{full:"var(--ksv-size-radius-full)",xsmall:"var(--ksv-size-radius-xsmall)",small:"var(--ksv-size-radius-small)",regular:"var(--ksv-size-radius-regular)",medium:"var(--ksv-size-radius-medium)",large:"var(--ksv-size-radius-large)",xlarge:"var(--ksv-size-radius-xlarge)"},shadow:{small:"var(--ksv-size-shadow-small)",medium:"var(--ksv-size-shadow-medium)",large:"var(--ksv-size-shadow-large)"},space:{xsmall:"var(--ksv-size-space-xsmall)",small:"var(--ksv-size-space-small)",regular:"var(--ksv-size-space-regular)",medium:"var(--ksv-size-space-medium)",large:"var(--ksv-size-space-large)",xlarge:"var(--ksv-size-space-xlarge)",xxlarge:"var(--ksv-size-space-xxlarge)"},scale:{0:"var(--ksv-size-scale-0)",10:"var(--ksv-size-scale-10)",25:"var(--ksv-size-scale-25)",40:"var(--ksv-size-scale-40)",50:"var(--ksv-size-scale-50)",65:"var(--ksv-size-scale-65)",75:"var(--ksv-size-scale-75)",85:"var(--ksv-size-scale-85)",100:"var(--ksv-size-scale-100)",115:"var(--ksv-size-scale-115)",125:"var(--ksv-size-scale-125)",130:"var(--ksv-size-scale-130)",150:"var(--ksv-size-scale-150)",160:"var(--ksv-size-scale-160)",175:"var(--ksv-size-scale-175)",200:"var(--ksv-size-scale-200)",225:"var(--ksv-size-scale-225)",250:"var(--ksv-size-scale-250)",275:"var(--ksv-size-scale-275)",300:"var(--ksv-size-scale-300)",325:"var(--ksv-size-scale-325)",350:"var(--ksv-size-scale-350)",400:"var(--ksv-size-scale-400)",450:"var(--ksv-size-scale-450)",500:"var(--ksv-size-scale-500)",550:"var(--ksv-size-scale-550)",600:"var(--ksv-size-scale-600)",675:"var(--ksv-size-scale-675)",700:"var(--ksv-size-scale-700)",800:"var(--ksv-size-scale-800)",900:"var(--ksv-size-scale-900)",1e3:"var(--ksv-size-scale-1000)",1200:"var(--ksv-size-scale-1200)",1250:"var(--ksv-size-scale-1250)",1600:"var(--ksv-size-scale-1600)",1700:"var(--ksv-size-scale-1700)",2e3:"var(--ksv-size-scale-2000)",2400:"var(--ksv-size-scale-2400)",3e3:"var(--ksv-size-scale-3000)",3400:"var(--ksv-size-scale-3400)",3600:"var(--ksv-size-scale-3600)",4600:"var(--ksv-size-scale-4600)",5e3:"var(--ksv-size-scale-5000)",6e3:"var(--ksv-size-scale-6000)"}},typography:{fontFamily:{base:"var(--ksv-typography-font-family-base)",code:"var(--ksv-typography-font-family-code)"},fontWeight:{regular:"var(--ksv-typography-font-weight-regular)",medium:"var(--ksv-typography-font-weight-medium)",semibold:"var(--ksv-typography-font-weight-semibold)",bold:"var(--ksv-typography-font-weight-bold)"},lineheight:{large:"var(--ksv-typography-lineheight-large)",medium:"var(--ksv-typography-lineheight-medium)",small:"var(--ksv-typography-lineheight-small)"},text:{small:{size:"var(--ksv-typography-text-small-size)",lineheight:"var(--ksv-typography-text-small-lineheight)",baselineTrim:"var(--ksv-typography-text-small-baseline-trim)",capheightTrim:"var(--ksv-typography-text-small-capheight-trim)",capheight:"var(--ksv-typography-text-small-capheight)"},regular:{size:"var(--ksv-typography-text-regular-size)",lineheight:"var(--ksv-typography-text-regular-lineheight)",baselineTrim:"var(--ksv-typography-text-regular-baseline-trim)",capheightTrim:"var(--ksv-typography-text-regular-capheight-trim)",capheight:"var(--ksv-typography-text-regular-capheight)"},medium:{size:"var(--ksv-typography-text-medium-size)",lineheight:"var(--ksv-typography-text-medium-lineheight)",baselineTrim:"var(--ksv-typography-text-medium-baseline-trim)",capheightTrim:"var(--ksv-typography-text-medium-capheight-trim)",capheight:"var(--ksv-typography-text-medium-capheight)"},large:{size:"var(--ksv-typography-text-large-size)",lineheight:"var(--ksv-typography-text-large-lineheight)",baselineTrim:"var(--ksv-typography-text-large-baseline-trim)",capheightTrim:"var(--ksv-typography-text-large-capheight-trim)",capheight:"var(--ksv-typography-text-large-capheight)"}},heading:{small:{size:"var(--ksv-typography-heading-small-size)",lineheight:"var(--ksv-typography-heading-small-lineheight)",baselineTrim:"var(--ksv-typography-heading-small-baseline-trim)",capheightTrim:"var(--ksv-typography-heading-small-capheight-trim)",capheight:"var(--ksv-typography-heading-small-capheight)"},regular:{size:"var(--ksv-typography-heading-regular-size)",lineheight:"var(--ksv-typography-heading-regular-lineheight)",baselineTrim:"var(--ksv-typography-heading-regular-baseline-trim)",capheightTrim:"var(--ksv-typography-heading-regular-capheight-trim)",capheight:"var(--ksv-typography-heading-regular-capheight)"},medium:{size:"var(--ksv-typography-heading-medium-size)",lineheight:"var(--ksv-typography-heading-medium-lineheight)",baselineTrim:"var(--ksv-typography-heading-medium-baseline-trim)",capheightTrim:"var(--ksv-typography-heading-medium-capheight-trim)",capheight:"var(--ksv-typography-heading-medium-capheight)"},large:{size:"var(--ksv-typography-heading-large-size)",lineheight:"var(--ksv-typography-heading-large-lineheight)",baselineTrim:"var(--ksv-typography-heading-large-baseline-trim)",capheightTrim:"var(--ksv-typography-heading-large-capheight-trim)",capheight:"var(--ksv-typography-heading-large-capheight)"}}},color:{alias:{blanket:"var(--ksv-color-alias-blanket)",backgroundIdle:"var(--ksv-color-alias-background-idle)",backgroundDisabled:"var(--ksv-color-alias-background-disabled)",backgroundHovered:"var(--ksv-color-alias-background-hovered)",backgroundFocused:"var(--ksv-color-alias-background-focused)",backgroundPressed:"var(--ksv-color-alias-background-pressed)",backgroundSelected:"var(--ksv-color-alias-background-selected)",backgroundSelectedHovered:"var(--ksv-color-alias-background-selected-hovered)",focusRing:"var(--ksv-color-alias-focus-ring)",borderIdle:"var(--ksv-color-alias-border-idle)",borderHovered:"var(--ksv-color-alias-border-hovered)",borderPressed:"var(--ksv-color-alias-border-pressed)",borderFocused:"var(--ksv-color-alias-border-focused)",borderDisabled:"var(--ksv-color-alias-border-disabled)",borderSelected:"var(--ksv-color-alias-border-selected)",borderInvalid:"var(--ksv-color-alias-border-invalid)",foregroundIdle:"var(--ksv-color-alias-foreground-idle)",foregroundHovered:"var(--ksv-color-alias-foreground-hovered)",foregroundPressed:"var(--ksv-color-alias-foreground-pressed)",foregroundFocused:"var(--ksv-color-alias-foreground-focused)",foregroundDisabled:"var(--ksv-color-alias-foreground-disabled)",foregroundSelected:"var(--ksv-color-alias-foreground-selected)"},background:{canvas:"var(--ksv-color-background-canvas)",surface:"var(--ksv-color-background-surface)",surfaceSecondary:"var(--ksv-color-background-surface-secondary)",surfaceTertiary:"var(--ksv-color-background-surface-tertiary)",inverse:"var(--ksv-color-background-inverse)",accent:"var(--ksv-color-background-accent)",accentEmphasis:"var(--ksv-color-background-accent-emphasis)",positive:"var(--ksv-color-background-positive)",positiveEmphasis:"var(--ksv-color-background-positive-emphasis)",caution:"var(--ksv-color-background-caution)",cautionEmphasis:"var(--ksv-color-background-caution-emphasis)",critical:"var(--ksv-color-background-critical)",criticalEmphasis:"var(--ksv-color-background-critical-emphasis)",pending:"var(--ksv-color-background-pending)",pendingEmphasis:"var(--ksv-color-background-pending-emphasis)",highlight:"var(--ksv-color-background-highlight)",highlightEmphasis:"var(--ksv-color-background-highlight-emphasis)"},border:{muted:"var(--ksv-color-border-muted)",neutral:"var(--ksv-color-border-neutral)",emphasis:"var(--ksv-color-border-emphasis)",accent:"var(--ksv-color-border-accent)",positive:"var(--ksv-color-border-positive)",caution:"var(--ksv-color-border-caution)",critical:"var(--ksv-color-border-critical)",pending:"var(--ksv-color-border-pending)",highlight:"var(--ksv-color-border-highlight)"},foreground:{neutral:"var(--ksv-color-foreground-neutral)",neutralEmphasis:"var(--ksv-color-foreground-neutral-emphasis)",neutralSecondary:"var(--ksv-color-foreground-neutral-secondary)",neutralTertiary:"var(--ksv-color-foreground-neutral-tertiary)",onEmphasis:"var(--ksv-color-foreground-on-emphasis)",inverse:"var(--ksv-color-foreground-inverse)",inverseSecondary:"var(--ksv-color-foreground-inverse-secondary)",accent:"var(--ksv-color-foreground-accent)",positive:"var(--ksv-color-foreground-positive)",caution:"var(--ksv-color-foreground-caution)",critical:"var(--ksv-color-foreground-critical)",pending:"var(--ksv-color-foreground-pending)",highlight:"var(--ksv-color-foreground-highlight)"},shadow:{muted:"var(--ksv-color-shadow-muted)",regular:"var(--ksv-color-shadow-regular)",emphasis:"var(--ksv-color-shadow-emphasis)"},scale:{black:"var(--ksv-color-scale-black)",white:"var(--ksv-color-scale-white)",amber1:"var(--ksv-color-scale-amber1)",amber2:"var(--ksv-color-scale-amber2)",amber3:"var(--ksv-color-scale-amber3)",amber4:"var(--ksv-color-scale-amber4)",amber5:"var(--ksv-color-scale-amber5)",amber6:"var(--ksv-color-scale-amber6)",amber7:"var(--ksv-color-scale-amber7)",amber8:"var(--ksv-color-scale-amber8)",amber9:"var(--ksv-color-scale-amber9)",amber10:"var(--ksv-color-scale-amber10)",amber11:"var(--ksv-color-scale-amber11)",green1:"var(--ksv-color-scale-green1)",green2:"var(--ksv-color-scale-green2)",green3:"var(--ksv-color-scale-green3)",green4:"var(--ksv-color-scale-green4)",green5:"var(--ksv-color-scale-green5)",green6:"var(--ksv-color-scale-green6)",green7:"var(--ksv-color-scale-green7)",green8:"var(--ksv-color-scale-green8)",green9:"var(--ksv-color-scale-green9)",green10:"var(--ksv-color-scale-green10)",green11:"var(--ksv-color-scale-green11)",indigo1:"var(--ksv-color-scale-indigo1)",indigo2:"var(--ksv-color-scale-indigo2)",indigo3:"var(--ksv-color-scale-indigo3)",indigo4:"var(--ksv-color-scale-indigo4)",indigo5:"var(--ksv-color-scale-indigo5)",indigo6:"var(--ksv-color-scale-indigo6)",indigo7:"var(--ksv-color-scale-indigo7)",indigo8:"var(--ksv-color-scale-indigo8)",indigo9:"var(--ksv-color-scale-indigo9)",indigo10:"var(--ksv-color-scale-indigo10)",indigo11:"var(--ksv-color-scale-indigo11)",pink1:"var(--ksv-color-scale-pink1)",pink2:"var(--ksv-color-scale-pink2)",pink3:"var(--ksv-color-scale-pink3)",pink4:"var(--ksv-color-scale-pink4)",pink5:"var(--ksv-color-scale-pink5)",pink6:"var(--ksv-color-scale-pink6)",pink7:"var(--ksv-color-scale-pink7)",pink8:"var(--ksv-color-scale-pink8)",pink9:"var(--ksv-color-scale-pink9)",pink10:"var(--ksv-color-scale-pink10)",pink11:"var(--ksv-color-scale-pink11)",purple1:"var(--ksv-color-scale-purple1)",purple2:"var(--ksv-color-scale-purple2)",purple3:"var(--ksv-color-scale-purple3)",purple4:"var(--ksv-color-scale-purple4)",purple5:"var(--ksv-color-scale-purple5)",purple6:"var(--ksv-color-scale-purple6)",purple7:"var(--ksv-color-scale-purple7)",purple8:"var(--ksv-color-scale-purple8)",purple9:"var(--ksv-color-scale-purple9)",purple10:"var(--ksv-color-scale-purple10)",purple11:"var(--ksv-color-scale-purple11)",red1:"var(--ksv-color-scale-red1)",red2:"var(--ksv-color-scale-red2)",red3:"var(--ksv-color-scale-red3)",red4:"var(--ksv-color-scale-red4)",red5:"var(--ksv-color-scale-red5)",red6:"var(--ksv-color-scale-red6)",red7:"var(--ksv-color-scale-red7)",red8:"var(--ksv-color-scale-red8)",red9:"var(--ksv-color-scale-red9)",red10:"var(--ksv-color-scale-red10)",red11:"var(--ksv-color-scale-red11)",slate1:"var(--ksv-color-scale-slate1)",slate2:"var(--ksv-color-scale-slate2)",slate3:"var(--ksv-color-scale-slate3)",slate4:"var(--ksv-color-scale-slate4)",slate5:"var(--ksv-color-scale-slate5)",slate6:"var(--ksv-color-scale-slate6)",slate7:"var(--ksv-color-scale-slate7)",slate8:"var(--ksv-color-scale-slate8)",slate9:"var(--ksv-color-scale-slate9)",slate10:"var(--ksv-color-scale-slate10)",slate11:"var(--ksv-color-scale-slate11)"}}};function Mw(t,e={}){let{delay:n=0,duration:r="short",easing:s="easeInOut"}=e,a=s==="linear"?"linear":Il.animation.easing[s],i=gA(r);return Array.isArray(t)?t.map(l=>Mw(l,e)).join(", "):"".concat(t," ").concat(i," ").concat(a)+(n?" ".concat(gA(n)):"")}function gA(t){return bSe(t)?"".concat(t,"ms"):Il.animation.duration[t]}const wSe="ksv",vA=kSe("reset");function kSe(t){return"".concat(wSe,":").concat(t)}function Z7(...t){let e=dA(t);return e.includes(vA)?e:dA(vA,e)}function xA(t){return jSe(t)?t.clientX:ESe(t)?t.touches[0].clientX:0}function CSe(t,e,n){return Math.round((t-e)/(n-e)*100)}function X7(t){return"primary-pane-".concat(t)}function jV(t){return"secondary-pane-".concat(t)}function EV(t){return"resize-handle-".concat(t)}function yA(t){return document.getElementById(X7(t))}function SSe(t){return document.getElementById(jV(t))}function bA(t){return document.getElementById(EV(t))}function Dp(t){return"".concat(t,"px")}function jSe(t){return t.type.startsWith("mouse")}function ESe(t){return t.type.startsWith("touch")}const NV="--primary-pane-max-width",NSe="var(".concat(NV,")"),_V="--primary-pane-min-width",_Se="var(".concat(_V,")"),Vb="--primary-pane-width",TSe="var(".concat(Vb,")"),PSe=32,MSe=10,DSe={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},ISe=v.forwardRef(function(e,n){const r=Te(12),{activity:s,id:a,isCollapsed:i}=Y7();let l;r[0]!==a?(l=X7(a),r[0]=a,r[1]=l):l=r[1];let u;r[2]!==a?(u=EV(a),r[2]=a,r[3]=u):u=r[3];const d=i||void 0;let p;r[4]===Symbol.for("react.memo_cache_sentinel")?(p=o.jsx(kz,{className:"".concat(ySe.HorizontalIcon," text-slate-300 dark:text-slate-500"),type:"resize-horizontal",width:"16px"}),r[4]=p):p=r[4];let h;return r[5]!==e||r[6]!==n||r[7]!==l||r[8]!==u||r[9]!==s||r[10]!==d?(h=o.jsx("div",ae(R({},e),{ref:n,"aria-controls":l,"aria-label":"Resize","aria-orientation":"vertical",id:u,role:"separator",tabIndex:0,"data-split-view-resize-handle":!0,"data-split-view-activity":s,"data-split-view-collapsed":d,className:"animate-in panel-resize_tour ".concat(wk({backgroundColor:'var("--tw-red-500")',boxSizing:"border-box",cursor:"ew-resize",flexShrink:0,opacity:0,outline:0,position:"relative",touchAction:"none",animationDuration:"0.3s",transition:Mw("opacity"),userSelect:"none",width:18,zIndex:1,"&[data-split-view-collapsed]:not([data-split-view-activity])":DSe,"&::before":{content:'""',position:"absolute",inset:"calc(".concat(Il.size.space.small," * -1)")},"&::after":{backgroundColor:Il.color.alias.backgroundHovered,content:'""',insetBlock:0,insetInline:"calc(".concat(Il.size.border.medium," * -1)"),opacity:0,position:"absolute",transition:Mw("opacity")},"&:hover":{opacity:1,backgroundColor:Il.color.border.neutral,transitionDelay:Il.animation.duration.regular,"&::after":{opacity:1,transitionDelay:Il.animation.duration.regular}},"&[data-split-view-activity]::after":{backgroundColor:Il.color.background.accentEmphasis,insetInline:"calc(".concat(Il.size.border.regular," * -1)"),opacity:1}})),children:p})),r[5]=e,r[6]=n,r[7]=l,r[8]=u,r[9]=s,r[10]=d,r[11]=h):h=r[11],h});function Q7(t){const e=Te(69),{autoSaveId:n,children:r,defaultSize:s,isCollapsed:a,minSize:i,maxSize:l,onCollapseChange:u,onResize:d,swapPanes:p,reversed:h,storage:m}=t,b=m===void 0?d1:m;let C;e[0]!==p||e[1]!==r?(C=p?[r[1],r[0]]:r,e[0]=p,e[1]=r,e[2]=C):C=e[2];const[g,w]=C,x=Y4e(t.id),[S,E]=v.useState(h),[N,_]=v.useState(!1),[P,I]=v.useState(!1);let T;e[3]!==s||e[4]!==n||e[5]!==b?(T=()=>{let ce=s;if(n){const pe=b.getItem(n);pe&&(ce=Number.parseInt(pe))}return ce},e[3]=s,e[4]=n,e[5]=b,e[6]=T):T=e[6];const[A,L]=v.useState(T),z=v.useRef(null),Y=v.useRef(0),O=v.useRef(0);let $,M;e[7]!==x||e[8]!==h?($=()=>{const ce=bA(x),pe=yA(x),ve=SSe(x);E(h?(ce==null?void 0:ce.previousElementSibling)===pe:(ce==null?void 0:ce.previousElementSibling)===ve)},M=[h,x],e[7]=x,e[8]=h,e[9]=$,e[10]=M):($=e[9],M=e[10]),v.useEffect($,M);let W;e[11]!==d||e[12]!==A?(W=()=>d==null?void 0:d(A),e[11]=d,e[12]=A,e[13]=W):W=e[13];let V;e[14]!==A?(V=[A],e[14]=A,e[15]=V):V=e[15],Z4e(W,V);let U;e[16]!==A||e[17]!==n||e[18]!==b?(U=()=>{var ce;(ce=z.current)==null||ce.style.setProperty(Vb,Dp(A)),O.current=A,n&&b.setItem(n,Dp(A))},e[16]=A,e[17]=n,e[18]=b,e[19]=U):U=e[19];let J;e[20]!==n||e[21]!==d||e[22]!==A||e[23]!==b?(J=[n,d,A,b],e[20]=n,e[21]=d,e[22]=A,e[23]=b,e[24]=J):J=e[24],v.useEffect(U,J);let H;e[25]!==x||e[26]!==a||e[27]!==S||e[28]!==A||e[29]!==s||e[30]!==i||e[31]!==l||e[32]!==u?(H=()=>{const ce=z.current,pe=bA(x),ve=yA(x);if(!ce||!pe||!ve)return;let ye;ye=!1;const be=typeof a=="boolean",Ee=lt=>{lt.preventDefault();let De=xA(lt)-Y.current;S&&(De=De*-1);let Ye=A+De;Math.abs(Ye-s)l&&(dt="horizontal-max"),eSe(dt,!!S)},Fe=()=>{pe.blur(),_(!1),J4e(),ye?(u==null||u(!a),ve.style.removeProperty("width")):L(R4e(O.current,i,l)),ye=!1,document.body.removeEventListener("mousemove",Ee),document.body.removeEventListener("touchmove",Ee),window.removeEventListener("mouseup",Fe),window.removeEventListener("touchend",Fe)},qe=lt=>{"button"in lt&<.button!==0||"touches"in lt&<.touches.length!==1||(_(!0),Y.current=xA(lt),document.body.addEventListener("mousemove",Ee),document.body.addEventListener("touchmove",Ee),window.addEventListener("mouseup",Fe),window.addEventListener("touchend",Fe))},ot=lt=>{if(lt.defaultPrevented)return;const De=Math.round((l-i)/MSe),Ye=()=>L(He=>Math.min(He+De,l)),dt=()=>L(He=>Math.max(He-De,i));e:switch(lt.key){case"Enter":{be&&(lt.preventDefault(),u==null||u(!a));break e}case"Home":{lt.preventDefault(),L(i);break e}case"End":{lt.preventDefault(),L(l);break e}case"ArrowLeft":{lt.preventDefault(),S?Ye():dt();break e}case"ArrowRight":lt.preventDefault(),S?dt():Ye()}},Ve={passive:!0},Ke=lt=>{lt.clientX===Y.current&&L(s)};return pe.addEventListener("contextmenu",Fe),pe.addEventListener("dblclick",Ke),pe.addEventListener("keydown",ot),pe.addEventListener("mousedown",qe,Ve),pe.addEventListener("touchstart",qe,Ve),()=>{pe.removeEventListener("contextmenu",Fe),pe.removeEventListener("dblclick",Ke),pe.removeEventListener("keydown",ot),pe.removeEventListener("mousedown",qe),pe.removeEventListener("touchstart",qe)}},e[25]=x,e[26]=a,e[27]=S,e[28]=A,e[29]=s,e[30]=i,e[31]=l,e[32]=u,e[33]=H):H=e[33];let F;e[34]!==l||e[35]!==i||e[36]!==s||e[37]!==x||e[38]!==S||e[39]!==A||e[40]!==u||e[41]!==a||e[42]!==p?(F=[l,i,s,x,S,A,u,a,p],e[34]=l,e[35]=i,e[36]=s,e[37]=x,e[38]=S,e[39]=A,e[40]=u,e[41]=a,e[42]=p,e[43]=F):F=e[43],v.useEffect(H,F);const q=N?"pointer":P?"keyboard":void 0;let X;e[44]!==x||e[45]!==a||e[46]!==q?(X={id:x,isCollapsed:a,activity:q},e[44]=x,e[45]=a,e[46]=q,e[47]=X):X=e[47];let ne;e[48]!==i||e[49]!==l||e[50]!==s?(ne=Z7(wk({display:"flex",height:"100%",width:"100%",overflow:"hidden",[_V]:Dp(i),[NV]:Dp(l),[Vb]:Dp(s)})),e[48]=i,e[49]=l,e[50]=s,e[51]=ne):ne=e[51];let ee;e[52]!==A||e[53]!==i||e[54]!==l?(ee=CSe(A,i,l),e[52]=A,e[53]=i,e[54]=l,e[55]=ee):ee=e[55];let G,Z;e[56]===Symbol.for("react.memo_cache_sentinel")?(G=()=>I(!1),Z=()=>I(!0),e[56]=G,e[57]=Z):(G=e[56],Z=e[57]);let le;e[58]!==ee?(le=o.jsx(ISe,{"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":ee,onBlur:G,onFocus:Z}),e[58]=ee,e[59]=le):le=e[59];let se;e[60]!==z||e[61]!==ne||e[62]!==g||e[63]!==le||e[64]!==w?(se=o.jsxs("div",{ref:z,className:ne,children:[g,le,w]}),e[60]=z,e[61]=ne,e[62]=g,e[63]=le,e[64]=w,e[65]=se):se=e[65];let de;return e[66]!==X||e[67]!==se?(de=o.jsx(X4e,{value:X,children:se}),e[66]=X,e[67]=se,e[68]=de):de=e[68],de}const J7=v.forwardRef(function(e,n){const r=Te(9),{activity:s,id:a,isCollapsed:i}=Y7();let l;r[0]!==a?(l=X7(a),r[0]=a,r[1]=l):l=r[1];const u=i||void 0;let d;r[2]===Symbol.for("react.memo_cache_sentinel")?(d=Z7(wk({containerType:"inline-size",overflow:"hidden",width:"clamp(".concat(_Se,",").concat(TSe,",").concat(NSe,")"),maxWidth:"calc(100% - 100px)","&[data-split-view-collapsed]":{visibility:"hidden",width:0},"&:not([data-split-view-activity])":{transition:Mw("width")},"&[data-split-view-activity=pointer]":{pointerEvents:"none"}})),r[2]=d):d=r[2];let p;return r[3]!==n||r[4]!==l||r[5]!==s||r[6]!==u||r[7]!==e.children?(p=o.jsx("div",{ref:n,id:l,"data-split-pane":"primary","data-split-view-activity":s,"data-split-view-collapsed":u,className:d,children:e.children}),r[3]=n,r[4]=l,r[5]=s,r[6]=u,r[7]=e.children,r[8]=p):p=r[8],p}),eN=v.forwardRef(function(e,n){const r=Te(8),{id:s,activity:a}=Y7();let i;r[0]!==s?(i=jV(s),r[0]=s,r[1]=i):i=r[1];let l;r[2]===Symbol.for("react.memo_cache_sentinel")?(l=Z7(wk({containerType:"inline-size",flex:"1 1 0",minWidth:"100px",overflow:"hidden","&[data-split-view-activity=pointer]":{pointerEvents:"none"}})),r[2]=l):l=r[2];let u;return r[3]!==n||r[4]!==i||r[5]!==a||r[6]!==e.children?(u=o.jsx("div",{ref:n,id:i,"data-split-pane":"secondary","data-split-view-activity":a,className:l,children:e.children}),r[3]=n,r[4]=i,r[5]=a,r[6]=e.children,r[7]=u):u=r[7],u});function ASe(t){const e=Te(8),{id:n}=t;let r;e[0]!==n?(r={id:n},e[0]=n,e[1]=r):r=e[1];const{setNodeRef:s,isOver:a}=i5(r),i="flex flex-row items-center justify-center py-1.5 px-3 border-2 border-dashed rounded-md w-[260px] ".concat(a?"border-red-600":"border-slate-300 dark:border-slate-600");let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(re,{children:" "}),e[2]=l):l=e[2];let u;e[3]===Symbol.for("react.memo_cache_sentinel")?(u=o.jsx(kr,{size:15,className:"text-red-400 dark:text-red-700"}),e[3]=u):u=e[3];let d;e[4]===Symbol.for("react.memo_cache_sentinel")?(d=o.jsx(re,{children:" "}),e[4]=d):d=e[4];let p;return e[5]!==s||e[6]!==i?(p=o.jsxs("div",{ref:s,className:i,children:[l,u,d]}),e[5]=s,e[6]=i,e[7]=p):p=e[7],p}function TV(t){var e=sn(1);try{const n=Te(243),{historyId:r,value:s,arrLinks:a,isImage:i,isText:l,isImageData:u,isLargeView:d,isMasked:p,isPinned:h,isFavorite:m,detectedLanguage:b,invalidateClipboardHistoryQuery:C,generateLinkMetaData:g,removeLinkMetaData:w,isSelected:x,hasLinkCard:S,setSavingItem:E,setLargeViewItemId:N,setSelectHistoryItem:_,onCopyPaste:P}=t;let I;n[0]!==C?(I=C===void 0?()=>{}:C,n[0]=C,n[1]=I):I=n[1];const T=I;let A;n[2]!==g?(A=g===void 0?()=>Promise.resolve():g,n[2]=g,n[3]=A):A=n[3];const L=A;let z;n[4]!==w?(z=w===void 0?()=>Promise.resolve():w,n[4]=w,n[5]=z):z=n[5];const Y=z,{t:O}=Gt(),$=Dn(),{copyPasteDelay:M,setCopyPasteDelay:W,historyDetectLanguagesEnabledList:V}=Tt(Cr),{deleteClipboardHistoryItem:U}=Tt(_i),{updateClipboardHistoryById:J}=D5e(),{deleteClipboardHistoryByIds:H}=O7(),{pinnedClipboardHistoryByIds:F}=bW(),q=la();let X;n[6]!==O?(X=Ct=>{vo(O("Errors:::Something went wrong! {{err}} Please try again.",{ns:"common",err:Ct}),"Error")},n[6]=O,n[7]=X):X=n[7];const ne=X;if(r==null)return null;let ee;n[8]!==_||n[9]!==r?(ee=()=>{_(r)},n[8]=_,n[9]=r,n[10]=ee):ee=n[10];let G;n[11]!==x||n[12]!==O?(G=x?o.jsxs(o.Fragment,{children:[O("Deselect",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Pce,{size:15})})]}):o.jsxs(o.Fragment,{children:[O("Select",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(Tz,{size:15})})]}),n[11]=x,n[12]=O,n[13]=G):G=n[13];let Z;n[14]!==ee||n[15]!==G?(Z=o.jsx(Wt,{onClick:ee,children:G}),n[14]=ee,n[15]=G,n[16]=Z):Z=n[16];let le;n[17]!==P||n[18]!==r?(le=()=>{P(r)},n[17]=P,n[18]=r,n[19]=le):le=n[19];let se;n[20]!==O?(se=O("Copy & Paste",{ns:"contextMenus"}),n[20]=O,n[21]=se):se=n[21];const de=M>0?"delay ".concat(M,"s"):"no delay";let ce;n[22]!==de?(ce=o.jsx(me,{className:"text-gray-800 relative",children:o.jsx(te,{className:"py-0 px-2 font-normal pr-2",children:o.jsx(re,{className:"text-xs text-gray-400/80",children:de})})}),n[22]=de,n[23]=ce):ce=n[23];let pe;n[24]===Symbol.for("react.memo_cache_sentinel")?(pe=o.jsx(Ps,{size:15}),n[24]=pe):pe=n[24];let ve;n[25]!==ce?(ve=o.jsxs(me,{className:"ml-auto",children:[ce,pe]}),n[25]=ce,n[26]=ve):ve=n[26];let ye;n[27]!==le||n[28]!==se||n[29]!==ve?(ye=o.jsxs(Wt,{onClick:le,children:[se,ve]}),n[27]=le,n[28]=se,n[29]=ve,n[30]=ye):ye=n[30];let be;n[31]!==O?(be=O("Paste Delay",{ns:"contextMenus"}),n[31]=O,n[32]=be):be=n[32];let Ee;n[33]!==be?(Ee=o.jsxs(Lr,{children:[be," ..."]}),n[33]=be,n[34]=Ee):Ee=n[34];const Fe=M===1;let qe;n[35]!==W||n[36]!==P||n[37]!==r?(qe=()=>{W(1),P(r,1)},n[35]=W,n[36]=P,n[37]=r,n[38]=qe):qe=n[38];let ot;n[39]!==O?(ot=O("second",{ns:"common"}),n[39]=O,n[40]=ot):ot=n[40];let Ve;n[41]!==ot?(Ve=o.jsxs(re,{children:["1 ",ot]}),n[41]=ot,n[42]=Ve):Ve=n[42];let Ke;n[43]!==Fe||n[44]!==qe||n[45]!==Ve?(Ke=o.jsx(el,{checked:Fe,onSelect:qe,children:Ve}),n[43]=Fe,n[44]=qe,n[45]=Ve,n[46]=Ke):Ke=n[46];const lt=M===2;let De;n[47]!==W||n[48]!==P||n[49]!==r?(De=()=>{W(2),P(r,2)},n[47]=W,n[48]=P,n[49]=r,n[50]=De):De=n[50];let Ye;n[51]!==O?(Ye=O("seconds",{ns:"common"}),n[51]=O,n[52]=Ye):Ye=n[52];let dt;n[53]!==Ye?(dt=o.jsxs(re,{children:["2 ",Ye]}),n[53]=Ye,n[54]=dt):dt=n[54];let He;n[55]!==lt||n[56]!==De||n[57]!==dt?(He=o.jsx(el,{checked:lt,onSelect:De,children:dt}),n[55]=lt,n[56]=De,n[57]=dt,n[58]=He):He=n[58];const mt=M===3;let Ue;n[59]!==W||n[60]!==P||n[61]!==r?(Ue=()=>{W(3),P(r,3)},n[59]=W,n[60]=P,n[61]=r,n[62]=Ue):Ue=n[62];let ht;n[63]!==O?(ht=O("seconds",{ns:"common"}),n[63]=O,n[64]=ht):ht=n[64];let Qe;n[65]!==ht?(Qe=o.jsxs(re,{children:["3 ",ht]}),n[65]=ht,n[66]=Qe):Qe=n[66];let Rt;n[67]!==mt||n[68]!==Ue||n[69]!==Qe?(Rt=o.jsx(el,{checked:mt,onSelect:Ue,children:Qe}),n[67]=mt,n[68]=Ue,n[69]=Qe,n[70]=Rt):Rt=n[70];const Ut=M===4;let wt;n[71]!==W||n[72]!==P||n[73]!==r?(wt=()=>{W(4),P(r,4)},n[71]=W,n[72]=P,n[73]=r,n[74]=wt):wt=n[74];let Xt;n[75]!==O?(Xt=O("seconds",{ns:"common"}),n[75]=O,n[76]=Xt):Xt=n[76];let $t;n[77]!==Xt?($t=o.jsxs(re,{children:["4 ",Xt]}),n[77]=Xt,n[78]=$t):$t=n[78];let tn;n[79]!==Ut||n[80]!==wt||n[81]!==$t?(tn=o.jsx(el,{checked:Ut,onSelect:wt,children:$t}),n[79]=Ut,n[80]=wt,n[81]=$t,n[82]=tn):tn=n[82];const Pt=M===5;let We;n[83]!==W||n[84]!==P||n[85]!==r?(We=()=>{W(5),P(r,5)},n[83]=W,n[84]=P,n[85]=r,n[86]=We):We=n[86];let Je;n[87]!==O?(Je=O("seconds",{ns:"common"}),n[87]=O,n[88]=Je):Je=n[88];let jt;n[89]!==Je?(jt=o.jsxs(re,{children:["5 ",Je]}),n[89]=Je,n[90]=jt):jt=n[90];let we;n[91]!==Pt||n[92]!==We||n[93]!==jt?(we=o.jsx(el,{checked:Pt,onSelect:We,children:jt}),n[91]=Pt,n[92]=We,n[93]=jt,n[94]=we):we=n[94];let je;n[95]!==Ke||n[96]!==He||n[97]!==Rt||n[98]!==tn||n[99]!==we?(je=o.jsxs(Rr,{children:[Ke,He,Rt,tn,we]}),n[95]=Ke,n[96]=He,n[97]=Rt,n[98]=tn,n[99]=we,n[100]=je):je=n[100];let Ie;n[101]!==Ee||n[102]!==je?(Ie=o.jsxs(Fr,{children:[Ee,je]}),n[101]=Ee,n[102]=je,n[103]=Ie):Ie=n[103];let nt;n[104]===Symbol.for("react.memo_cache_sentinel")?(nt=o.jsx(Qn,{}),n[104]=nt):nt=n[104];let Pe;n[105]!==N||n[106]!==d||n[107]!==r?(Pe=()=>{N(d?null:r)},n[105]=N,n[106]=d,n[107]=r,n[108]=Pe):Pe=n[108];let gt;n[109]!==d||n[110]!==O?(gt=d?O("Close",{ns:"contextMenus"}):O("View",{ns:"contextMenus"}),n[109]=d,n[110]=O,n[111]=gt):gt=n[111];let Ze;n[112]!==d?(Ze=o.jsx("div",{className:"ml-auto",children:d?o.jsx(nE,{size:15}):o.jsx(ix,{size:15})}),n[112]=d,n[113]=Ze):Ze=n[113];let Re;n[114]!==Pe||n[115]!==gt||n[116]!==Ze?(Re=o.jsxs(Wt,{onClick:Pe,children:[gt,Ze]}),n[114]=Pe,n[115]=gt,n[116]=Ze,n[117]=Re):Re=n[117];let Oe;n[118]===Symbol.for("react.memo_cache_sentinel")?(Oe=o.jsx(Qn,{}),n[118]=Oe):Oe=n[118];let et;n[119]!==a||n[120]!==s||n[121]!==i||n[122]!==S||n[123]!==L||n[124]!==r||n[125]!==T||n[126]!==O||n[127]!==Y?(et=(a==null?void 0:a.length)>0&&o.jsxs(o.Fragment,{children:[a[0]===s&&!i&&!S&&o.jsxs(Wt,{onClick:()=>ge(this,null,function*(){yield L(r,Dr(a[0])),T()}),children:[O("Add Link Card",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(xv,{size:15})})]}),S&&o.jsxs(Wt,{onClick:()=>ge(this,null,function*(){yield Y(r),T()}),children:[O("Remove Link Card",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(xv,{size:15})})]})]}),n[119]=a,n[120]=s,n[121]=i,n[122]=S,n[123]=L,n[124]=r,n[125]=T,n[126]=O,n[127]=Y,n[128]=et):et=n[128];let Et;n[129]!==F||n[130]!==r||n[131]!==h||n[132]!==$?(Et=()=>ge(this,null,function*(){yield F({historyIds:[r],isPinned:!h}),yield $.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})}),n[129]=F,n[130]=r,n[131]=h,n[132]=$,n[133]=Et):Et=n[133];let bt;n[134]!==h||n[135]!==O?(bt=h?O("UnPin",{ns:"contextMenus"}):O("Pin",{ns:"contextMenus"}),n[134]=h,n[135]=O,n[136]=bt):bt=n[136];let _t;n[137]!==h?(_t=o.jsx("div",{className:"ml-auto",children:h?o.jsx(Id,{size:15}):o.jsx(Qc,{size:15})}),n[137]=h,n[138]=_t):_t=n[138];let Mt;n[139]!==Et||n[140]!==bt||n[141]!==_t?(Mt=o.jsxs(Wt,{onClick:Et,children:[bt,_t]}),n[139]=Et,n[140]=bt,n[141]=_t,n[142]=Mt):Mt=n[142];let an;n[143]!==J||n[144]!==r||n[145]!==m||n[146]!==$?(an=()=>ge(this,null,function*(){yield J({historyId:r,updatedData:{isFavorite:!m,historyId:r}}),yield $.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})}),n[143]=J,n[144]=r,n[145]=m,n[146]=$,n[147]=an):an=n[147];let dn;n[148]!==m||n[149]!==O?(dn=m?O("Remove Star",{ns:"contextMenus"}):O("Star",{ns:"contextMenus"}),n[148]=m,n[149]=O,n[150]=dn):dn=n[150];let fn;n[151]!==m?(fn=o.jsx("div",{className:"ml-auto",children:m?o.jsx(m5,{size:15}):o.jsx(Lh,{size:15})}),n[151]=m,n[152]=fn):fn=n[152];let mn;n[153]!==an||n[154]!==dn||n[155]!==fn?(mn=o.jsxs(Wt,{onClick:an,children:[dn,fn]}),n[153]=an,n[154]=dn,n[155]=fn,n[156]=mn):mn=n[156];let hn;n[157]===Symbol.for("react.memo_cache_sentinel")?(hn=o.jsx(Qn,{}),n[157]=hn):hn=n[157];let nn;n[158]!==O?(nn=O("Add to",{ns:"contextMenus"}),n[158]=O,n[159]=nn):nn=n[159];let on;n[160]!==nn?(on=o.jsxs(Lr,{children:[nn," ..."]}),n[160]=nn,n[161]=on):on=n[161];let Sn;n[162]!==r?(Sn=()=>{va.value=tl.CLIP,Qm.value=[r]},n[162]=r,n[163]=Sn):Sn=n[163];let pn;n[164]!==O?(pn=O("AddTo:::Clip on Board",{ns:"contextMenus"}),n[164]=O,n[165]=pn):pn=n[165];let rn;n[166]===Symbol.for("react.memo_cache_sentinel")?(rn=o.jsx("div",{className:"ml-auto",children:o.jsx(eE,{size:15})}),n[166]=rn):rn=n[166];let ut;n[167]!==Sn||n[168]!==pn?(ut=o.jsxs(Wt,{onClick:Sn,children:[pn,rn]}),n[167]=Sn,n[168]=pn,n[169]=ut):ut=n[169];let xe;n[170]!==q||n[171]!==r?(xe=()=>{q("/menu",{replace:!0}),setTimeout(()=>{od.value=r.toString(),uo.value=!0},300)},n[170]=q,n[171]=r,n[172]=xe):xe=n[172];let Ge;n[173]!==O?(Ge=O("AddTo:::Paste Menu",{ns:"contextMenus"}),n[173]=O,n[174]=Ge):Ge=n[174];let ft;n[175]===Symbol.for("react.memo_cache_sentinel")?(ft=o.jsx("div",{className:"ml-auto",children:o.jsx(rE,{size:15})}),n[175]=ft):ft=n[175];let pt;n[176]!==xe||n[177]!==Ge?(pt=o.jsxs(Wt,{onClick:xe,children:[Ge,ft]}),n[176]=xe,n[177]=Ge,n[178]=pt):pt=n[178];let xt;n[179]!==ut||n[180]!==pt?(xt=o.jsxs(Rr,{className:"w-28",children:[ut,pt]}),n[179]=ut,n[180]=pt,n[181]=xt):xt=n[181];let At;n[182]!==on||n[183]!==xt?(At=o.jsxs(Fr,{children:[on,xt]}),n[182]=on,n[183]=xt,n[184]=At):At=n[184];let Lt;n[185]===Symbol.for("react.memo_cache_sentinel")?(Lt=o.jsx(Qn,{}),n[185]=Lt):Lt=n[185];let Ht;n[186]!==a||n[187]!==b||n[188]!==l||n[189]!==J||n[190]!==r||n[191]!==p||n[192]!==O?(Ht=(a==null?void 0:a.length)>0&&!b||l&&o.jsxs(o.Fragment,{children:[o.jsxs(Wt,{onClick:()=>{J({historyId:r,updatedData:{isMasked:!p,historyId:r}})},children:[p?O("Unmask Secret",{ns:"contextMenus"}):O("Mask Secret",{ns:"contextMenus"}),o.jsx("div",{className:"ml-auto",children:o.jsx(_z,{size:15})})]}),o.jsx(Qn,{})]}),n[186]=a,n[187]=b,n[188]=l,n[189]=J,n[190]=r,n[191]=p,n[192]=O,n[193]=Ht):Ht=n[193];let Bt;n[194]!==b||n[195]!==O||n[196]!==J||n[197]!==r||n[198]!==V?(Bt=b&&o.jsxs(o.Fragment,{children:[o.jsxs(Fr,{children:[o.jsxs(Lr,{children:[O("Detected Language",{ns:"contextMenus"})," ..."]}),o.jsxs(Rr,{children:[V.map(Ct=>o.jsx(el,{checked:b===Ct,onSelect:()=>{J({historyId:r,updatedData:{detectedLanguage:Ct,isCode:!0,historyId:r}})},children:o.jsx(re,{children:Ct})},Ct)),o.jsx(Qn,{}),o.jsxs(Wt,{onSelect:()=>{J({historyId:r,updatedData:{isCode:!1,isText:!0,historyId:r}})},children:[o.jsx(voe,{size:16,className:"mr-2"}),o.jsx(re,{children:O("not a code",{ns:"contextMenus"})})]})]})]}),o.jsx(Qn,{})]}),n[194]=b,n[195]=O,n[196]=J,n[197]=r,n[198]=V,n[199]=Bt):Bt=n[199];let tt;n[200]!==i||n[201]!==u||n[202]!==r||n[203]!==E||n[204]!==ne||n[205]!==O?(tt=(i||u)&&o.jsxs(Wt,{onClick:()=>{Ln("save_to_file_history_item",{historyId:r,asImage:!0}).then(Ct=>{Ct==="saved"?(E(r),setTimeout(()=>{E(null)},1600)):Ct!=="cancel"&&(ne(O("Errors:::Cant save image file",{ns:"common"})),console.error(O("Errors:::Failed to save image file",{ns:"common"}),Ct))}).catch(()=>{ne(O("Errors:::Cant save image file",{ns:"common"}))})},children:[O("Save as Image File",{ns:"contextMenus"})," ...",o.jsx("div",{className:"ml-auto",children:o.jsx(wh,{size:15})})]}),n[200]=i,n[201]=u,n[202]=r,n[203]=E,n[204]=ne,n[205]=O,n[206]=tt):tt=n[206];let Kt;n[207]!==i||n[208]!==a||n[209]!==r||n[210]!==E||n[211]!==ne||n[212]!==O?(Kt=!(i&&!(a!=null&&a.length))&&o.jsxs(Wt,{onClick:()=>{Ln("save_to_file_history_item",{historyId:r}).then(Ct=>{Ct==="saved"?(E(r),setTimeout(()=>{E(null)},1600)):Ct!=="cancel"&&ne(O("Errors:::Cant save to file",{ns:"common"}))}).catch(()=>{ne(O("Errors:::Cant save to file",{ns:"common"}))})},children:[O("Save as Text File",{ns:"contextMenus"}),"...",o.jsx("div",{className:"ml-auto",children:o.jsx(wh,{size:15})})]}),n[207]=i,n[208]=a,n[209]=r,n[210]=E,n[211]=ne,n[212]=O,n[213]=Kt):Kt=n[213];let Zt;n[214]===Symbol.for("react.memo_cache_sentinel")?(Zt=o.jsx(Qn,{}),n[214]=Zt):Zt=n[214];const vn=Yu.value===r?"!bg-red-100 dark:!bg-red-950":"";let oe;n[215]!==r||n[216]!==H||n[217]!==U?(oe=Ct=>ge(this,null,function*(){Ct.preventDefault(),Yu.value===r?(yield H({historyIds:[r]}),U(r),Yu.value=null):(Ct.preventDefault(),Yu.value=r,setTimeout(()=>{Yu.value=null},3e3))}),n[215]=r,n[216]=H,n[217]=U,n[218]=oe):oe=n[218];let fe;n[219]!==r||n[220]!==O?(fe=Yu.value!==r?O("Delete",{ns:"common"}):O("Click to Confirm",{ns:"common"}),n[219]=r,n[220]=O,n[221]=fe):fe=n[221];let Xe;n[222]!==fe?(Xe=o.jsx(me,{children:o.jsx(re,{className:"!text-red-500 dark:!text-red-600",children:fe})}),n[222]=fe,n[223]=Xe):Xe=n[223];let Me;n[224]===Symbol.for("react.memo_cache_sentinel")?(Me=o.jsx("div",{className:"ml-auto",children:o.jsx(kr,{className:"h-4 w-4 text-red-500 dark:!text-red-600"})}),n[224]=Me):Me=n[224];let _e;n[225]!==vn||n[226]!==oe||n[227]!==Xe?(_e=o.jsxs(Wt,{className:vn,onClick:oe,children:[Xe,Me]}),n[225]=vn,n[226]=oe,n[227]=Xe,n[228]=_e):_e=n[228];let ze;return n[229]!==Z||n[230]!==ye||n[231]!==Ie||n[232]!==Re||n[233]!==et||n[234]!==Mt||n[235]!==mn||n[236]!==At||n[237]!==Ht||n[238]!==Bt||n[239]!==tt||n[240]!==Kt||n[241]!==_e?(ze=o.jsx(yx,{children:o.jsxs(O0,{className:"w-[190px]",children:[Z,ye,Ie,nt,Re,Oe,et,Mt,mn,hn,At,Lt,Ht,Bt,tt,Kt,Zt,_e]})}),n[229]=Z,n[230]=ye,n[231]=Ie,n[232]=Re,n[233]=et,n[234]=Mt,n[235]=mn,n[236]=At,n[237]=Ht,n[238]=Bt,n[239]=tt,n[240]=Kt,n[241]=_e,n[242]=ze):ze=n[242],ze}finally{e.f()}}function LSe({index:t,style:e,clipboard:n,isDark:r,searchTerm:s,isPinnedTop:a=!1,isPinnedTopFirst:i=!1,isDisabledPinnedMoveUp:l=!1,isDisabledPinnedMoveDown:u=!1,isExpanded:d=!1,isSelected:p=!1,isWrapText:h=!1,isDeleting:m=!1,isOverPinned:b=!1,isLinkCardPreviewEnabled:C=!0,selectedItemsCount:g=0,timeAgo:w=null,showTimeAgo:x=!1,showSelectHistoryItems:S,isCopied:E,isPasted:N,isSaved:_,isLargeView:P=!1,largeViewItemId:I,setSavingItem:T=()=>{},setLargeViewItemId:A=()=>{},pastingCountDown:L,onCopyPaste:z=()=>{},onCopy:Y=()=>{},invalidateClipboardHistoryQuery:O=()=>{},generateLinkMetaData:$,removeLinkMetaData:M=()=>Promise.resolve(),isBrokenImage:W=!1,setExpanded:V=()=>{},onMovePinnedUpDown:U=({})=>{},setWrapText:J=()=>{},setBrokenImageItem:H=()=>{},setSelectHistoryItem:F=()=>{},isDragPreview:q=!1,setRowHeight:X=()=>{}}){var ee,G,Z,le,se,de,ce,pe,ve,ye,be,Ee,Fe,qe,ot,Ve;var ne=sn(1);try{const{t:Ke}=Gt(),lt=v.useRef(null),De=v.useRef(null),Ye=v.useRef(null),dt=E||N||_,He=it(!1),mt=it(!1),Ue=a?Cf.value==="".concat(n==null?void 0:n.historyId,"::pinned")&&!q&&!dt||mt.value:Cf.value===(n==null?void 0:n.historyId)&&!dt&&!q||mt.value,{setNodeRef:ht,listeners:Qe,isDragging:Rt}=c$({disabled:q&&!(Ue||p),data:{isPinned:a},id:a?"".concat(n==null?void 0:n.historyId,"::pinned"):(ee=n==null?void 0:n.historyId)!=null?ee:"id"});if(v.useLayoutEffect(()=>{var We;(We=lt.current)!=null&&We.clientHeight&&He.value&&t!==void 0&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{lt!=null&<.current&&X(t,(lt==null?void 0:lt.current.clientHeight)+4)})})},[He.value,(G=lt.current)==null?void 0:G.clientHeight,X,w,x,t]),v.useEffect(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t!==void 0&&(lt!=null&<.current)&&X(t,(lt==null?void 0:lt.current.clientHeight)+4)})})},[d,h]),!n)return null;const Ut=v.useMemo(()=>{var We,Je,jt;return!n.isFavorite&&!n.isPinned?"":(We=lt==null?void 0:lt.current)!=null&&We.clientHeight&&(((Je=lt==null?void 0:lt.current)==null?void 0:Je.clientHeight)<=42&&!x||((jt=lt==null?void 0:lt.current)==null?void 0:jt.clientHeight)<=72&&x)?a&&!n.isFavorite?"":"mr-4":""},[(Z=lt==null?void 0:lt.current)==null?void 0:Z.clientHeight,x,a,n.isFavorite,n.isPinned]),wt=(se=(le=n==null?void 0:n.value)==null?void 0:le.trim())!=null?se:"",Xt=(n==null?void 0:n.isLink)&&((de=n==null?void 0:n.linkMetadata)==null?void 0:de.linkTitle)&&((ce=n==null?void 0:n.linkMetadata)==null?void 0:ce.linkDomain),$t=t===0&&n.updatedAt>Date.now()-i_,tn=i?"top-[5px]":"top-[-10px]",Pt="".concat(!a&&b&&!$t?"bg-orange-50 dark:!bg-transparent":m?"bg-red-50 dark:bg-red-950/80":mt.value?"bg-slate-100 dark:bg-slate-900 ".concat($t?"bg-teal-50/80 dark:bg-sky-900/80":""):dt?"dark:bg-green-950/80":_?"dark:bg-sky-950/80":p?"bg-yellow-50 dark:bg-amber-950/80":$t?"bg-teal-50/90 dark:bg-sky-950":"bg-white dark:bg-slate-950/80");return o.jsx(te,ae(R({style:ae(R({},e),{opacity:(m||b)&&!q?1:Rt||q?.7:void 0}),ref:q&&!(Ue||p)?null:ht},p||Ue?Qe:{}),{children:o.jsxs(te,{ref:lt,children:[x&&o.jsx(te,{className:"flex justify-center text-gray-400 text-xs ".concat(t===0?"pt-0":"pt-2"),children:w}),o.jsxs(L0,{onOpenChange:We=>{mt.value=We,Yu.value=null},children:[o.jsx(R0,{ref:Ue||p?Ye:null,children:o.jsxs(te,{className:"relative select-none history-item",children:[o.jsx(te,{className:"rounded-md justify-start duration-300 relative px-3 py-1 hover:shadow-sm shadow-none border-2 flex flex-col ".concat(t===0&&n.updatedAt>Date.now()-i_&&!dt&&!m&&!p?"bg-teal-50 hover:border-slate-300 dark:bg-sky-900/40 dark:hover:border-slate-700 hover:bg-teal-50/90 hover:dark:bg-sky-950":m&&!q?"border-red-400 bg-red-50 dark:bg-red-950/80 dark:border-red-900/80 dark:hover:border-red-800":mt.value?"bg-slate-100 dark:bg-slate-950/80 border-slate-300 dark:border-slate-600":_&&!q?"bg-sky-50 border-sky-600 dark:bg-sky-950/80 dark:border-sky-900/80 dark:hover:border-sky-800":dt&&!q?"bg-green-50 border-green-600 dark:bg-green-950/80 dark:border-green-800":p?"bg-amber-50 border-amber-300 dark:bg-amber-950/80 dark:border-amber-900/80 hover:border-amber-300/80 dark:hover:border-amber-800 hover:bg-amber-50/80 ".concat(a?"!border dark:!bg-amber-950":""):"hover:bg-white dark:hover:bg-slate-950/80 ".concat(P?"border-slate-500 bg-white dark:bg-slate-950 hover:dark:border-slate-500":"".concat(!a&&b?"border-orange-300 dark:border-orange-400/80 dark:bg-orange-900/80 bg-orange-50":a?"bg-slate-50 dark:!bg-slate-900 dark:hover:!bg-slate-950 hover:!border-orange-300/90 border-orange-300/50 dark:!border-orange-800/60 dark:hover:!border-orange-900":"bg-slate-50 hover:border-slate-300 dark:border-slate-800")," dark:hover:border-slate-700 dark:bg-slate-900 ").concat(q?"dark:border-slate-700":"")),onClickCapture:We=>{var Je,jt;We.shiftKey?(We.preventDefault(),We.stopPropagation(),(Je=window.getSelection())==null||Je.removeAllRanges(),A(P?null:n.historyId)):I&&!P?((jt=window.getSelection())==null||jt.removeAllRanges(),A(n.historyId)):Cf.value=a?"".concat(n.historyId,"::pinned"):n.historyId},onMouseEnter:()=>{Cf.value=a?"".concat(n.historyId,"::pinned"):n.historyId},onMouseLeave:()=>{Cf.value=null},onDoubleClickCapture:We=>{Uu().text.trim()||(We.altKey||We.metaKey?z(n.historyId):Y(n.historyId))},children:o.jsxs(te,{className:"".concat(S?"flex flex-row -ml-1":""),children:[S&&!q&&o.jsx(te,{className:"flex flex-row items-center pr-2 z-100",children:o.jsx("input",{type:"checkbox",className:"form-checkbox h-[16px] w-[16px] bg-slate-400",onChange:()=>{F(n.historyId)},checked:p})}),n.isImageData?o.jsxs(te,{className:"text-ellipsis self-start text-xs w-full _select-text overflow-hidden cursor-pointer",children:[o.jsx(te,{className:"flex px-0 py-1 items-center justify-center w-full",children:o.jsx(gl,{src:wt,hasError:W,onErrorCallback:()=>{H(n.historyId)},draggable:!1,decoding:"async",onLoad:()=>{He.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}),o.jsx("code",{className:"pb-0.5",children:s?FC(n.value,s):o.jsx("span",{children:n.valuePreview})})]}):n.isLink&&n.isImage?o.jsxs(te,{className:"text-ellipsis self-start text-xs w-full _select-text cursor-pointer overflow-hidden",children:[o.jsx(te,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center w-full",children:o.jsx(gl,{src:Dr(wt),hasError:W,height:n.imageHeight,onErrorCallback:()=>{H(n.historyId)},draggable:!1,decoding:"async",onLoad:()=>{He.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}),o.jsx("code",{className:"pb-0.5",children:s?FC(wt,s):Sh(wt,n.arrLinks)})]}):n.isImage&&n.imageDataUrl?o.jsx(te,{className:"px-0 py-1.5 flex items-center justify-center w-full",children:o.jsx("img",{src:n.imageDataUrl,draggable:!1,decoding:"async",height:n.imageHeight,onLoad:()=>{He.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}):n.detectedLanguage&&n.valuePreview?o.jsxs(te,{ref:We=>{We&&(He.value=!0)},className:"text-ellipsis self-start text-sm w-full overflow-hidden",children:[o.jsx(jx,{theme:r?ml.vsDark:ml.github,code:d?wt:n.valuePreview.trim(),language:n.detectedLanguage,children:({className:We,style:Je,tokens:jt,getLineProps:we,getTokenProps:je})=>o.jsx("code",{className:"".concat(We),style:Je,children:jt.map((Ie,nt)=>{const Pe=nt===jt.length-1&&n.valueMorePreviewLines&&!d;return o.jsxs("div",ae(R({},we({line:Ie})),{className:"".concat(h?"whitespace-pre-wrap":"whitespace-pre"," overflow-hidden text-ellipsis"),children:[Ie.map((gt,Ze)=>o.jsx("span",ae(R({},je({token:gt})),{className:"_select-text cursor-pointer",children:s?ql(gt.content,s):gt.content}),Ze)),Pe&&o.jsx("span",{className:"select-none",children:"..."})]}),nt)})})}),n.valueMorePreviewLines&&o.jsxs(te,{className:"select-none",children:[" "," "," "]})]}):o.jsxs(te,{ref:We=>{We&&(He.value=!0)},className:"text-ellipsis self-start text-sm w-full overflow-hidden",children:[Xt&&o.jsx(te,{className:"self-start mt-1.5 mb-1 text-xs w-full overflow-hidden",children:o.jsx(H0,{title:(pe=n.linkMetadata)==null?void 0:pe.linkTitle,description:(ve=n.linkMetadata)==null?void 0:ve.linkDescription,favicon:(ye=n.linkMetadata)==null?void 0:ye.linkFavicon,link:(Ee=(be=n==null?void 0:n.linkMetadata)==null?void 0:be.linkUrl)!=null?Ee:null,image:(Fe=n.linkMetadata)==null?void 0:Fe.linkImage,historyId:n.historyId,domain:(qe=n.linkMetadata)==null?void 0:qe.linkDomain})}),d?o.jsxs("code",{className:"justify-start cursor-pointer",children:[s?ql(wt,s):Sh(wt,n.arrLinks),n.valueMorePreviewChars&&o.jsxs(te,{className:"select-none",children:[" "," "," "]})]}):o.jsxs("code",{className:"justify-start cursor-pointer",children:[s?FC(wt!=null?wt:"",s):vve({previewLinkCard:!Xt&&C,value:(Ve=(ot=n.valuePreview)==null?void 0:ot.trim())!=null?Ve:"",links:n.arrLinks,itemId:null,historyId:n.historyId}),n.valueMorePreviewChars&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"select-none",children:"..."}),o.jsxs(te,{className:"select-none",children:[" "," "," "]})]})]})]}),(n.valueMorePreviewLines||n.valueMorePreviewChars)&&o.jsxs(te,{className:"absolute left-1 bottom-1 flex flex-row items-center rounded mb-[2px] pl-0.5 ".concat(Pt),children:[o.jsx(te,{className:"text-xs text-muted-foreground px-1 cursor-pointer",onClick:()=>{V(n.historyId,!d)},children:o.jsx(st,{text:d?"":Ke("Show all",{ns:"common"}),isCompact:!0,isDisabled:d||q,delayDuration:2e3,side:"bottom",sideOffset:10,children:d?o.jsxs(o.Fragment,{children:["- ",Ke("show less",{ns:"common"})]}):n!=null&&n.valueMorePreviewChars?o.jsxs(o.Fragment,{children:["+",n.valueMorePreviewChars," ",Ke("chars",{ns:"common"})]}):o.jsxs(o.Fragment,{children:["+",n.valueMorePreviewLines," ",Ke("lines",{ns:"common"})]})})}),d&&o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 cursor-pointer",onClick:()=>J(n.historyId,!h),children:o.jsx(st,{text:h?Ke("No Wrap",{ns:"common"}):Ke("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:h?o.jsx(c0,{width:20,height:20}):o.jsx(u0,{width:20,height:20})})})]}),n.isImage&&!n.isLink&&o.jsx(te,{className:"absolute left-1 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5 z-100",children:o.jsxs(te,{className:"text-xs text-muted-foreground px-1.5 rounded ".concat(Pt),title:Ke("Image size in pixels",{ns:"common"}),children:[n.imageWidth,"x",n.imageHeight]})}),o.jsxs(o.Fragment,{children:[n.isFavorite&&o.jsx(Lh,{className:"absolute text-transparent z-100 ".concat(n.isPinned?"fill-orange-400 dark:fill-orange-500/60":"fill-yellow-400 dark:fill-yellow-500/70"," pointer-events-none right-[4px] top-[3px]"),size:12}),n.isPinned&&!n.isFavorite&&!a&&o.jsx(ec,{className:"absolute text-orange-400 dark:text-orange-500/60 pointer-events-none top-[-5px] right-[-5px] z-auto",size:28})]}),o.jsx(te,{className:"absolute right-1 bottom-1 flex flex-row gap-1 items-center pb-0 pl-0.5 mb-[2px] rounded",children:Ue||p?o.jsxs("div",{className:"flex ".concat(Pt),children:[a?o.jsxs(me,{className:"text-xs text-muted-foreground rounded px-1",children:[o.jsx(st,{text:Ke("Move Up",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:q||l,side:"bottom",sideOffset:10,children:o.jsx(te,{className:"".concat(l?"cursor-default text-gray-300 dark:text-gray-800":"cursor-pointer text-slate-500"," px-1 flex items-center justify-center"),children:o.jsx(fx,{size:14,onClick:()=>{l||U({historyId:n.historyId,moveUp:!0})}})})}),o.jsx(st,{text:Ke("Move Down",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:q||u,side:"bottom",sideOffset:10,children:o.jsx(te,{className:"".concat(u?"cursor-default text-gray-300 dark:text-gray-800":"cursor-pointer text-slate-500"," px-1 flex items-center justify-center"),children:o.jsx(dx,{size:14,onClick:()=>{u||U({historyId:n.historyId,moveDown:!0})}})})})]}):n.timeAgoShort&&o.jsx(te,{className:"text-xs text-muted-foreground rounded px-1",children:o.jsx(st,{text:Eh(n.updatedAt,"PPpp"),delayDuration:2e3,isCompact:!0,isDisabled:q,side:"bottom",sideOffset:10,children:n.timeAgoShort})}),o.jsx(st,{text:Tn.value?Ke("Copy and Paste",{ns:"common"}):Ke("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:q,side:"bottom",sideOffset:10,children:o.jsx(te,{className:"text-xs cursor-pointer text-slate-500 hover:text-green-700 px-1 border-0 flex items-center justify-center",children:Tn.value?o.jsx(Ps,{size:14,onClick:()=>{z(n.historyId)}}):o.jsx(ya,{size:14,onClick:()=>{Y(n.historyId)}})})}),o.jsx(st,{text:Ke("Drag",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:q,side:"bottom",sideOffset:10,children:o.jsx(te,ae(R({className:"text-xs cursor-move text-slate-500 px-1 border-0 flex items-center justify-center"},Qe),{children:o.jsx(cx,{size:16})}))}),o.jsx(st,{text:Ke("Action Menu",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:q,side:"bottom",sideOffset:10,children:o.jsx(te,{ref:De,className:"text-xs px-1 cursor-pointer text-slate-500 pl-0 pr-0 flex items-center justify-center",children:o.jsx(xl,{size:16,onClick:()=>{var We,Je,jt;(jt=Ye==null?void 0:Ye.current)==null||jt.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:(We=De==null?void 0:De.current)==null?void 0:We.getBoundingClientRect().x,clientY:(Je=De==null?void 0:De.current)==null?void 0:Je.getBoundingClientRect().y}))}})})})]},"hover-panel"):o.jsxs("div",{className:"".concat(Ut),children:[n.hasMaskedWords&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-0.5",children:o.jsx(ec,{size:16})}),n.isMasked&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Ke("Type:::Secret",{ns:"common"})}),n.detectedLanguage&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:n.detectedLanguage}),n.isLink&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:n.isVideo?Ke("Type:::Video",{ns:"common"}):Uc(wt)?Ke("Type:::Email",{ns:"common"}):Ke("Type:::Link",{ns:"common"})}),n.hasEmoji&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Ke("Type:::Emoji",{ns:"common"})}),n.isImageData&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Ke("Type:::Image Base64",{ns:"common"})})]},"labels-panel")}),g>1&&o.jsx(te,{className:"absolute left-[-12px] top-[-12px] flex",children:o.jsx(St,{variant:m?"destructive":"default",children:g})})]})}),_?o.jsx(te,{className:"absolute z-50 w-full ".concat(tn," flex justify-center fade-in-animation"),children:o.jsxs(St,{variant:"default",className:"bg-sky-700 dark:bg-sky-800 dark:text-blue-200 pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold",children:[o.jsx(wh,{size:14,className:"mr-1"}),Ke("Saved",{ns:"common"})]})}):dt&&!L?o.jsx(te,{className:"absolute z-50 w-full ".concat(tn," flex justify-center fade-in-animation"),children:o.jsxs(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 _mr-[-6px] text-[10px] uppercase font-semibold",children:[o.jsx(en,{size:14,className:"mr-1"}),E?Ke("Copied",{ns:"common"}):N?Ke("Pasted",{ns:"common"}):""]})}):P?o.jsx(te,{className:"absolute z-50 w-full ".concat(tn," flex justify-center"),children:o.jsxs(St,{variant:"default",className:"px-3 dark:bg-slate-600 hover:bg-slate-500/100 pr-2.5",children:[o.jsx(re,{className:"mr-1 bg-slate-500 dark:bg-slate-600 pointer-events-none dark:!text-slate-300",color:"muted",children:Ke("In View",{ns:"common"})}),o.jsx(In,{size:14,className:"cursor-pointer dark:text-slate-300",onClick:()=>{A(null)}})]})}):L&&L>0&&o.jsx(te,{className:"absolute z-50 w-full ".concat(tn," flex justify-center"),children:o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold",children:Ke("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:L})})})]})}),o.jsx(TV,{historyId:n.historyId,isMasked:n.isMasked,setSavingItem:T,value:n.value,isImage:n.isImage,isText:n.isText,isPinned:n.isPinned,isFavorite:n.isFavorite,isImageData:n.isImageData,detectedLanguage:n.detectedLanguage,setLargeViewItemId:A,isLargeView:P,arrLinks:n.arrLinks,hasLinkCard:Xt,isSelected:p,invalidateClipboardHistoryQuery:O,generateLinkMetaData:$,removeLinkMetaData:M,setSelectHistoryItem:F,onCopyPaste:z})]})]})}))}finally{ne.f()}}const d4=v.memo(LSe);function RSe({clipboard:t,isDark:e,searchTerm:n,isSelected:r=!1,isDeleting:s=!1,timeAgo:a=null,isCopied:i,isPasted:l,isSaved:u,setSavingItem:d=()=>{},setLargeViewItemId:p=()=>{},pastingCountDown:h=null,onCopyPaste:m=()=>{},onCopy:b=()=>{},invalidateClipboardHistoryQuery:C=()=>{},generateLinkMetaData:g=()=>Promise.resolve(),removeLinkMetaData:w=()=>Promise.resolve(),isBrokenImage:x=!1,setBrokenImageItem:S=()=>{},setSelectHistoryItem:E=()=>{}}){var _,P,I,T,A,L,z,Y,O;var N=sn(1);try{const{t:$}=Gt(),M=it(!1),[W,V]=v.useState(!1),U=v.useRef(null),J=v.useRef(null),H=(P=(_=t==null?void 0:t.value)==null?void 0:_.trim())!=null?P:"",F=(t==null?void 0:t.isLink)&&((I=t==null?void 0:t.linkMetadata)==null?void 0:I.linkTitle)&&((T=t==null?void 0:t.linkMetadata)==null?void 0:T.linkDomain),q=i||l||u;return t?o.jsxs(te,{className:"max-w-full max-h-full select-none",children:[o.jsx(te,{className:"flex justify-center text-gray-400 text-xs my-2",children:a}),o.jsxs(L0,{onOpenChange:X=>{M.value=X},children:[o.jsx(R0,{ref:J,children:o.jsxs(te,{className:"select-none relative",children:[o.jsx(te,{className:"rounded-md min-w-[300px] dark:border-slate-700 justify-start duration-300 px-2.5 py-1.5 hover:shadow-sm shadow-none border-2 flex flex-col ".concat(s?"border-red-400 bg-red-50 dark:bg-red-950/80 dark:border-red-900/80 dark:hover:border-red-800":M.value?"bg-slate-100 dark:bg-slate-950/80 border-slate-300 dark:border-slate-600":u?"bg-sky-50 border-sky-600 dark:bg-sky-950/80 dark:border-sky-900/80 hover:border-sky-300/80 dark:hover:border-sky-800":q?"bg-green-50 border-green-600 dark:bg-green-950/80 dark:border-green-800":r?"bg-amber-50 border-amber-300 dark:bg-amber-950/80 dark:border-amber-900/80 dark:hover:border-amber-800 hover:border-amber-300/80 hover:bg-amber-50/80":"bg-white border-slate-300 dark:hover:border-slate-700 dark:bg-slate-900"),children:o.jsxs(te,{children:[t.isImageData?o.jsxs(te,{className:"text-ellipsis self-start text-xs w-full select-text overflow-hidden",children:[o.jsx(te,{className:"flex px-0 py-1 items-center justify-center",children:o.jsx(gl,{src:H,hasError:x,decoding:"async",onErrorCallback:()=>{S(t.historyId)},className:"min-h-20 object-scale-down animate-in fade-in duration-300 border-slate-100 dark:border-slate-700"},t.historyId)}),o.jsx("code",{className:"pb-0.5",children:n?ql(t.valuePreview,n):o.jsx("span",{children:t.valuePreview})})]}):t.isLink&&t.isImage?o.jsxs(te,{className:"text-ellipsis self-start text-xs w-full select-text overflow-hidden",children:[o.jsx(te,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:o.jsx(gl,{src:Dr(H),hasError:x,height:t.imageHeight,decoding:"async",onErrorCallback:()=>{S(t.historyId)},className:"min-h-20 object-scale-down animate-in fade-in duration-300 border-slate-100 dark:border-slate-700"},t.historyId)}),o.jsx("code",{className:"pb-0.5",children:n?ql(H,n):Sh(H,t.arrLinks)})]}):t.isImage&&t.imagePathFullRes?o.jsx(te,{className:"px-0 py-1.5 flex items-center justify-center",children:o.jsx("img",{decoding:"async",srcSet:"".concat(Jf(t.imagePathFullRes)," 2x"),src:Jf(t.imagePathFullRes),className:"min-h-20 rounded-md shadow-sm border border-slate-100 dark:border-slate-700 object-scale-down animate-in fade-in duration-300"},t.historyId)}):t.detectedLanguage&&t.valuePreview?o.jsx(te,{className:"text-ellipsis self-start text-sm w-full p-1.5 animate-in fade-in",children:o.jsx(jx,{theme:e?ml.vsDark:ml.github,code:H,language:t.detectedLanguage,children:({className:X,style:ne,tokens:ee,getLineProps:G,getTokenProps:Z})=>o.jsx(Kd,{options:{overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:e?"os-theme-light":"os-theme-dark",autoHide:"never"}},style:{maxWidth:"100%"},children:o.jsx("code",{className:"".concat(X),style:ne,children:ee.map((le,se)=>o.jsx("div",ae(R({},G({line:le})),{className:"".concat(W?"whitespace-pre-wrap":"whitespace-pre"," overflow-hidden text-ellipsis"),children:le.map((de,ce)=>o.jsx("span",ae(R({},Z({token:de})),{className:"select-text",children:n?ql(de.content,n):de.content}),ce))}),se))})})})},t.historyId):o.jsxs(te,{className:"text-ellipsis self-start text-sm w-full overflow-hidden animate-in fade-in",children:[F&&o.jsx(te,{className:"self-start mt-1.5 mb-1 text-xs w-full select-text overflow-hidden",children:o.jsx(H0,{title:(A=t.linkMetadata)==null?void 0:A.linkTitle,description:(L=t.linkMetadata)==null?void 0:L.linkDescription,favicon:(z=t.linkMetadata)==null?void 0:z.linkFavicon,link:t==null?void 0:t.arrLinks[0],image:(Y=t.linkMetadata)==null?void 0:Y.linkImage,domain:(O=t.linkMetadata)==null?void 0:O.linkDomain})}),o.jsxs("code",{className:"justify-start select-text ".concat(W?"whitespace-break-spaces":"whitespace-normal"),children:[n?ql(H,n):Sh(H,t.arrLinks),t.valueMorePreviewChars&&o.jsxs(te,{className:"select-none",children:[" "," "," "]})]})]},t.historyId),o.jsx(te,{className:"flex flex-row gap-1 items-center mt-1",children:o.jsx(te,{className:"flex flex-row gap-1 items-center pb-1 ml-auto",children:o.jsxs(o.Fragment,{children:[!t.isImage&&o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 ml-1.5 cursor-pointer",onClick:()=>V(!W),children:o.jsx(st,{text:W?$("No Wrap",{ns:"common"}):$("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:W?o.jsx(dz,{width:20,height:20,strokeWidth:1.5}):o.jsx(eue,{width:20,height:20,strokeWidth:1.5})})}),t.isImage&&!t.isLink&&o.jsxs(te,{className:"flex flex-row gap-1 rounded items-center",children:[o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:$("Type:::Image",{ns:"common"})}),o.jsxs(te,{className:"text-[11px] text-muted-foreground px-1 pt-0.5",children:[t.imageWidth,"x",t.imageHeight]})]}),(t.isMasked||t.hasMaskedWords)&&o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(t.hasMaskedWords?"px-1":"px-1.5"),children:t.isMasked?$("Type:::Secret",{ns:"common"}):o.jsx(st,{text:$("Found Masked Words",{ns:"common"}),delayDuration:600,isCompact:!0,side:"bottom",sideOffset:6,children:o.jsx(ec,{size:18})})}),t.detectedLanguage&&o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:t.detectedLanguage}),t.isLink&&o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:t.isVideo?$("Type:::Video",{ns:"common"}):$("Type:::Link",{ns:"common"})}),t.hasEmoji&&o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:$("Type:::Emoji",{ns:"common"})}),t.isImageData&&o.jsx(te,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:$("Type:::Image Base64",{ns:"common"})}),o.jsx(st,{text:$("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(te,{className:"text-xs cursor-pointer hover:text-green-700 text-slate-500 px-0 ml-1.5 border-0 flex items-center justify-center",children:Tn.value?o.jsx(Ps,{size:18,onClick:()=>{m(t.historyId)}}):o.jsx(ya,{size:18,onClick:()=>{b(t.historyId)}})})}),o.jsx(st,{text:$("Action Menu",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:o.jsx(te,{ref:U,className:"text-xs cursor-pointer text-slate-500 pl-2 pr-0 flex items-center justify-center",children:o.jsx(xl,{size:18,onClick:()=>{var X,ne,ee;(ee=J==null?void 0:J.current)==null||ee.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:(X=U==null?void 0:U.current)==null?void 0:X.getBoundingClientRect().x,clientY:(ne=U==null?void 0:U.current)==null?void 0:ne.getBoundingClientRect().y}))}})})})]})})})]})}),u?o.jsx(te,{className:"absolute z-50 w-full top-[-13px] flex justify-center animate-in fade-in-500 duration-500",children:o.jsxs(St,{variant:"default",className:"dark:bg-sky-800 dark:text-blue-200 pointer-events-none px-2",children:[o.jsx(wh,{size:14,className:"mr-1"}),$("Saved",{ns:"common"})]})}):q&&h===null?o.jsx(te,{className:"absolute z-50 w-full top-[-13px] animate-in fade-in-500 duration-500 slide-in-from-bottom-1 flex justify-center",children:o.jsxs(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 pr-4",children:[o.jsx(en,{size:14,className:"mr-1"}),i?$("Copied",{ns:"common"}):l?$("Pasted",{ns:"common"}):""]})}):h!==null&&h>0&&o.jsx(te,{className:"absolute z-50 w-full top-[-13px] slide-in-from-bottom-1 flex justify-center",children:o.jsx(St,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 pl-3",children:h&&h>0&&$("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:h})})})]})}),o.jsx(TV,{historyId:t.historyId,isPinned:t.isPinned,isFavorite:t.isFavorite,isMasked:t.isMasked,detectedLanguage:t.detectedLanguage,setSavingItem:d,value:t.value,isImage:t.isImage,isText:t.isText,isImageData:t.isImageData,setLargeViewItemId:p,isLargeView:!0,arrLinks:t.arrLinks,hasLinkCard:F,isSelected:r,invalidateClipboardHistoryQuery:C,generateLinkMetaData:g,removeLinkMetaData:w,setSelectHistoryItem:E,onCopyPaste:m})]}),o.jsx(te,{className:"flex justify-center text-gray-400 text-xs my-2",children:o.jsxs(St,{variant:"outline",className:"bg-slate-100 px-2 pl-2.5 text-slate-400 cursor-pointer hover:bg-slate-300 dark:bg-slate-500 dark:text-slate-800 hover:dark:bg-slate-400",onClick:()=>{p(null),Bs.value=null},children:[$("Close",{ns:"common"}),o.jsx(In,{size:14,className:"ml-1"})]})})]}):null}finally{N.f()}}const OSe=v.memo(RSe);function $Se(t){const e=Te(6);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=o.jsx("path",{fill:"currentColor",d:"M19.14 29.714H8.502a4.27 4.27 0 0 1-4.271-4.271V14.934C.821 13.47.273 8.863 3.247 6.641a4.822 4.822 0 0 1 6.685.892h9.207a4.27 4.27 0 0 1 4.271 4.271v13.639a4.27 4.27 0 0 1-4.27 4.271ZM6.162 6.904c-2.778 0-4.515 3.007-3.125 5.414 1.388 2.405 4.862 2.405 6.251 0a3.622 3.622 0 0 0 .484-1.805 3.614 3.614 0 0 0-3.61-3.609Zm16.029 4.9a3.052 3.052 0 0 0-3.051-3.052h-8.492c1.264 3.166-1.078 6.606-4.486 6.59a4.963 4.963 0 0 1-.71-.07v10.171a3.05 3.05 0 0 0 3.05 3.05H19.14a3.05 3.05 0 0 0 3.051-3.05V11.804ZM18.788 23.24a.609.609 0 0 0-.61-.609H9.465a.61.61 0 0 0 0 1.219h8.713a.61.61 0 0 0 .61-.61Zm0-4.616a.61.61 0 0 0-.61-.61H9.465a.61.61 0 0 0 0 1.219h8.713a.61.61 0 0 0 .61-.609Zm0-4.616a.609.609 0 0 0-.61-.609h-5.806a.609.609 0 1 0 0 1.219h5.806a.61.61 0 0 0 .61-.61Zm-12.017-1.7v-1.795a.61.61 0 0 0-.609-.611h-1.32a.611.611 0 0 0 0 1.22h.71v1.186a.61.61 0 0 0 1.219 0Z",transform:"rotate(180 12.364 17.455)"}),e[0]=n):n=e[0];const r="".concat(t.lightingColor||"white");let s;e[1]!==r?(s=o.jsx("path",{stroke:"currentColor",fill:r,d:"M7.992 4.719h5.81c.399 0 .723.323.723.724v1.678a.724.724 0 0 1-.723.724h-5.81a.724.724 0 0 1-.724-.724V5.443c0-.401.323-.724.724-.724Z",transform:"translate(.006 -.486)"}),e[1]=r,e[2]=s):s=e[2];let a;return e[3]!==t.className||e[4]!==s?(a=o.jsxs("svg",{className:t.className,xmlns:"http://www.w3.org/2000/svg",viewBox:"0.294 3.317 24.273 26.397",children:[n,s]}),e[3]=t.className,e[4]=s,e[5]=a):a=e[5],a}const zSe=t=>{const e=Te(364),{selectedHistoryItems:n,setShowSelectHistoryItems:r,isDeleting:s,onDelete:a,setIsDeleting:i,isDark:l,setSelectHistoryItem:u,setSelectedHistoryItems:d,showSelectHistoryItems:p}=t,{t:h}=Gt(),{deleteClipboardHistoryByIds:m}=O7(),{clearClipboardHistoryOlderThan:b}=R5e(),C=la(),{isHistoryEnabled:g,setIsHistoryEnabled:w,isHistoryAutoUpdateOnCaputureEnabled:x,setIsHistoryAutoUpdateOnCaputureEnabled:S}=Tt(Cr),{deleteClipboardHistoryItems:E}=Tt(_i);let N;e[0]===Symbol.for("react.memo_cache_sentinel")?(N=["alt+s"],e[0]=N):N=e[0];let _;e[1]!==r||e[2]!==p?(_=()=>{r(!p)},e[1]=r,e[2]=p,e[3]=_):_=e[3],Us(N,_);let P;e[4]===Symbol.for("react.memo_cache_sentinel")?(P=["control+s"],e[4]=P):P=e[4];let I;e[5]!==u?(I=()=>{Cf.value&&u(Cf.value)},e[5]=u,e[6]=I):I=e[6],Us(P,I);let T;e[7]===Symbol.for("react.memo_cache_sentinel")?(T=["alt+h"],e[7]=T):T=e[7];let A;e[8]!==w||e[9]!==g?(A=()=>{w(!g)},e[8]=w,e[9]=g,e[10]=A):A=e[10],Us(T,A);let L;e[11]===Symbol.for("react.memo_cache_sentinel")?(L=["alt+a"],e[11]=L):L=e[11];let z;e[12]!==S||e[13]!==x?(z=()=>{S(!x)},e[12]=S,e[13]=x,e[14]=z):z=e[14],Us(L,z);let Y,O;e[15]===Symbol.for("react.memo_cache_sentinel")?(Y=["alt+u"],O=()=>{W8.getState().updateClipboardHistory()},e[15]=Y,e[16]=O):(Y=e[15],O=e[16]),Us(Y,O);let $;e[17]===Symbol.for("react.memo_cache_sentinel")?($=["alt+d"],e[17]=$):$=e[17];let M;e[18]!==d?(M=()=>{d([])},e[18]=d,e[19]=M):M=e[19],Us($,M);let W;e[20]!==h||e[21]!==b||e[22]!==d||e[23]!==r||e[24]!==i||e[25]!==a?(W=(Ta,ti)=>ge(void 0,null,function*(){const q0={days:ti==="1"?h("Day",{ns:"calendar"}):h("Days",{ns:"calendar"}),weeks:ti==="1"?h("Week",{ns:"calendar"}):h("Weeks",{ns:"calendar"}),months:ti==="1"?h("Month",{ns:"calendar"}):h("Months",{ns:"calendar"}),year:ti==="1"?h("Year",{ns:"calendar"}):h("Years",{ns:"calendar"})},ni=ti==="0"&&Ta==="days",Nk=ni?h("Do you really want to remove ALL clipboard history items?",{ns:"history"}):h("Do you want to remove clipboard history items older than {{olderThen}} {{durationType}}",{ns:"history",olderThen:ti,durationType:q0[Ta]});if(yield b2(Nk,{title:h("{{isAll}} Clipboard History",{ns:"history",isAll:ni?h("Clear All",{ns:"history"}):h("Clear",{ns:"history"})}).trim(),okLabel:h("{{isAll}} Clipboard History",{ns:"history",isAll:ni?h("Clear All",{ns:"history"}):h("Clear",{ns:"history"})}).trim(),cancelLabel:h("Cancel",{ns:"common"})}))try{if(ni&&!(yield b2(h("Please confirm your action!",{ns:"common"}),{title:h("Confirm Clear All History",{ns:"history"}),okLabel:h("Confirm",{ns:"common"}),cancelLabel:h("Cancel",{ns:"common"})})))return;yield b({durationType:Ta,olderThen:ti}),setTimeout(()=>{d([]),r(!1),i(!1),a(ni)},400),yield vo(h("All done! History's been cleared.",{ns:"history"}),"Success")}catch(Ax){console.error(Ax),yield vo(h("Something goes wrong! Please try again.",{ns:"common"}),"Error")}}),e[20]=h,e[21]=b,e[22]=d,e[23]=r,e[24]=i,e[25]=a,e[26]=W):W=e[26];const V=W,U=l?"#0f182a":"#f1f5f9";let J;e[27]!==U?(J=o.jsx($Se,{className:"w-5 max-w-[22px] min-w-[16px] stroke-[1.3px]",lightingColor:U}),e[27]=U,e[28]=J):J=e[28];let H;e[29]!==n.length?(H=n.length>0&&o.jsx(St,{variant:"slate",className:"absolute left-[-10px] top-[-10px]",children:n.length}),e[29]=n.length,e[30]=H):H=e[30];let F;e[31]!==J||e[32]!==H?(F=o.jsx(Gn,{asChild:!0,children:o.jsxs(Se,{variant:"light",id:"history-menu-button_tour",className:"w-10 text-slate-400 hover:text-slate-500 hover:dark:text-slate-400 dark:text-slate-500 bg-slate-100 p-1 relative hover:bg-slate-100/70 dark:bg-slate-900 dark:hover:bg-slate-700/70",children:[J,H]})}),e[31]=J,e[32]=H,e[33]=F):F=e[33];let q;e[34]!==p||e[35]!==r||e[36]!==h?(q=p?o.jsxs(rt,{onClick:()=>{r(!1)},children:[o.jsx(bz,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-2",children:h("Hide Muli Select",{ns:"common"})}),o.jsx(Yl,{children:o.jsx(fo,{keys:"ALT+S"})})]}):o.jsxs(rt,{onClick:()=>{r(!0)},children:[o.jsx(yz,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-2",children:h("Multi Select",{ns:"common"})}),o.jsx(Yl,{children:o.jsx(fo,{keys:"ALT+S"})})]}),e[34]=p,e[35]=r,e[36]=h,e[37]=q):q=e[37];const X=n.length===0;let ne;e[38]!==d?(ne=()=>{d([])},e[38]=d,e[39]=ne):ne=e[39];let ee;e[40]===Symbol.for("react.memo_cache_sentinel")?(ee=o.jsx(G8,{className:"mr-2 h-4 w-4"}),e[40]=ee):ee=e[40];let G;e[41]!==h?(G=h("Deselect All",{ns:"common"}),e[41]=h,e[42]=G):G=e[42];let Z;e[43]!==G?(Z=o.jsx(re,{className:"mr-1",children:G}),e[43]=G,e[44]=Z):Z=e[44];let le;e[45]===Symbol.for("react.memo_cache_sentinel")?(le=o.jsx(Yl,{children:o.jsx(fo,{keys:"ALT+D"})}),e[45]=le):le=e[45];let se;e[46]!==X||e[47]!==ne||e[48]!==Z?(se=o.jsxs(rt,{disabled:X,onClick:ne,children:[ee,Z,le]}),e[46]=X,e[47]=ne,e[48]=Z,e[49]=se):se=e[49];let de;e[50]===Symbol.for("react.memo_cache_sentinel")?(de=o.jsx(kn,{}),e[50]=de):de=e[50];const ce=n.length===0;let pe;e[51]!==n||e[52]!==d?(pe=()=>{va.value=tl.CLIP,Qm.value=Array.from(new Set([...n])),setTimeout(()=>{d([])},400)},e[51]=n,e[52]=d,e[53]=pe):pe=e[53];let ve;e[54]===Symbol.for("react.memo_cache_sentinel")?(ve=o.jsx(aoe,{className:"mr-2 h-4 w-4"}),e[54]=ve):ve=e[54];let ye;e[55]!==h?(ye=h("Add to Board",{ns:"dashboard"}),e[55]=h,e[56]=ye):ye=e[56];let be;e[57]!==ye?(be=o.jsx(re,{children:ye}),e[57]=ye,e[58]=be):be=e[58];let Ee;e[59]!==ce||e[60]!==pe||e[61]!==be?(Ee=o.jsxs(rt,{disabled:ce,onClick:pe,children:[ve,be]}),e[59]=ce,e[60]=pe,e[61]=be,e[62]=Ee):Ee=e[62];let Fe;e[63]===Symbol.for("react.memo_cache_sentinel")?(Fe=o.jsx(kn,{}),e[63]=Fe):Fe=e[63];const qe=n.length===0;let ot;e[64]!==s||e[65]!==m||e[66]!==n||e[67]!==a||e[68]!==E||e[69]!==d||e[70]!==r||e[71]!==i?(ot=Ta=>ge(void 0,null,function*(){s?(yield m({historyIds:n}),setTimeout(()=>{a(),E(n),d([]),r(!1),i(!1)},400)):(Ta.preventDefault(),i(!0),setTimeout(()=>{i(!1)},3e3))}),e[64]=s,e[65]=m,e[66]=n,e[67]=a,e[68]=E,e[69]=d,e[70]=r,e[71]=i,e[72]=ot):ot=e[72];const Ve="mr-2 h-4 w-4 ".concat(s?"text-red-500":"");let Ke;e[73]!==Ve?(Ke=o.jsx(kr,{className:Ve}),e[73]=Ve,e[74]=Ke):Ke=e[74];const lt="mr-1 ".concat(s?"!text-red-500":"");let De;e[75]!==s||e[76]!==h?(De=s?h("Click to Confirm",{ns:"common"}):h("Delete",{ns:"common"}),e[75]=s,e[76]=h,e[77]=De):De=e[77];let Ye;e[78]!==lt||e[79]!==De?(Ye=o.jsx(re,{className:lt,children:De}),e[78]=lt,e[79]=De,e[80]=Ye):Ye=e[80];let dt;e[81]!==n.length||e[82]!==s?(dt=n.length>0&&o.jsx(o.Fragment,{children:s?o.jsx(St,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:n.length}):o.jsx(St,{variant:"slateSecondary",className:"bg-slate-200 text-slate-500 ml-1 py-0 font-semibold",children:n.length})}),e[81]=n.length,e[82]=s,e[83]=dt):dt=e[83];let He;e[84]!==Ye||e[85]!==dt?(He=o.jsxs(me,{children:[Ye,dt]}),e[84]=Ye,e[85]=dt,e[86]=He):He=e[86];let mt;e[87]!==qe||e[88]!==ot||e[89]!==Ke||e[90]!==He?(mt=o.jsxs(rt,{disabled:qe,onClick:ot,children:[Ke,He]}),e[87]=qe,e[88]=ot,e[89]=Ke,e[90]=He,e[91]=mt):mt=e[91];let Ue;e[92]===Symbol.for("react.memo_cache_sentinel")?(Ue=o.jsx(wae,{className:"mr-2 h-4 w-4"}),e[92]=Ue):Ue=e[92];let ht;e[93]!==h?(ht=h("Clear History",{ns:"history"}),e[93]=h,e[94]=ht):ht=e[94];let Qe;e[95]!==ht?(Qe=o.jsxs(Ws,{children:[Ue,o.jsxs(re,{children:[ht," ..."]})]}),e[95]=ht,e[96]=Qe):Qe=e[96];let Rt;e[97]!==h?(Rt=h("Days",{ns:"calendar"}),e[97]=h,e[98]=Rt):Rt=e[98];let Ut;e[99]!==Rt?(Ut=o.jsx(Ws,{children:o.jsx(re,{children:Rt})}),e[99]=Rt,e[100]=Ut):Ut=e[100];let wt;e[101]!==V?(wt=()=>{V("days","1")},e[101]=V,e[102]=wt):wt=e[102];let Xt;e[103]!==h?(Xt=h("Day",{ns:"calendar"}),e[103]=h,e[104]=Xt):Xt=e[104];let $t;e[105]!==Xt?($t=o.jsxs(re,{className:"font-semibold mr-1",children:["1 ",Xt]}),e[105]=Xt,e[106]=$t):$t=e[106];let tn;e[107]!==h?(tn=h("and older",{ns:"calendar"}),e[107]=h,e[108]=tn):tn=e[108];let Pt;e[109]!==wt||e[110]!==$t||e[111]!==tn?(Pt=o.jsxs(rt,{onClick:wt,children:[$t,tn]}),e[109]=wt,e[110]=$t,e[111]=tn,e[112]=Pt):Pt=e[112];let We;e[113]!==V?(We=()=>{V("days","3")},e[113]=V,e[114]=We):We=e[114];let Je;e[115]!==h?(Je=h("Days",{ns:"calendar"}),e[115]=h,e[116]=Je):Je=e[116];let jt;e[117]!==Je?(jt=o.jsxs(re,{className:"font-semibold mr-1",children:["3 ",Je]}),e[117]=Je,e[118]=jt):jt=e[118];let we;e[119]!==h?(we=h("and older",{ns:"calendar"}),e[119]=h,e[120]=we):we=e[120];let je;e[121]!==We||e[122]!==jt||e[123]!==we?(je=o.jsxs(rt,{onClick:We,children:[jt,we]}),e[121]=We,e[122]=jt,e[123]=we,e[124]=je):je=e[124];let Ie;e[125]!==V?(Ie=()=>{V("days","5")},e[125]=V,e[126]=Ie):Ie=e[126];let nt;e[127]!==h?(nt=h("Days",{ns:"calendar"}),e[127]=h,e[128]=nt):nt=e[128];let Pe;e[129]!==nt?(Pe=o.jsxs(re,{className:"font-semibold mr-1",children:["5 ",nt]}),e[129]=nt,e[130]=Pe):Pe=e[130];let gt;e[131]!==h?(gt=h("and older",{ns:"calendar"}),e[131]=h,e[132]=gt):gt=e[132];let Ze;e[133]!==Ie||e[134]!==Pe||e[135]!==gt?(Ze=o.jsxs(rt,{onClick:Ie,children:[Pe,gt]}),e[133]=Ie,e[134]=Pe,e[135]=gt,e[136]=Ze):Ze=e[136];let Re;e[137]!==V?(Re=()=>{V("days","7")},e[137]=V,e[138]=Re):Re=e[138];let Oe;e[139]!==h?(Oe=h("Days",{ns:"calendar"}),e[139]=h,e[140]=Oe):Oe=e[140];let et;e[141]!==Oe?(et=o.jsxs(re,{className:"font-semibold mr-1",children:["7 ",Oe]}),e[141]=Oe,e[142]=et):et=e[142];let Et;e[143]!==h?(Et=h("and older",{ns:"calendar"}),e[143]=h,e[144]=Et):Et=e[144];let bt;e[145]!==Re||e[146]!==et||e[147]!==Et?(bt=o.jsxs(rt,{onClick:Re,children:[et,Et]}),e[145]=Re,e[146]=et,e[147]=Et,e[148]=bt):bt=e[148];let _t;e[149]!==Pt||e[150]!==je||e[151]!==Ze||e[152]!==bt?(_t=o.jsxs(Vs,{children:[Pt,je,Ze,bt]}),e[149]=Pt,e[150]=je,e[151]=Ze,e[152]=bt,e[153]=_t):_t=e[153];let Mt;e[154]!==Ut||e[155]!==_t?(Mt=o.jsxs(na,{children:[Ut,_t]}),e[154]=Ut,e[155]=_t,e[156]=Mt):Mt=e[156];let an;e[157]!==h?(an=h("Weeks",{ns:"calendar"}),e[157]=h,e[158]=an):an=e[158];let dn;e[159]!==an?(dn=o.jsx(Ws,{children:o.jsx(re,{children:an})}),e[159]=an,e[160]=dn):dn=e[160];let fn;e[161]!==V?(fn=()=>{V("weeks","1")},e[161]=V,e[162]=fn):fn=e[162];let mn;e[163]!==h?(mn=h("Week",{ns:"calendar"}),e[163]=h,e[164]=mn):mn=e[164];let hn;e[165]!==mn?(hn=o.jsxs(re,{className:"font-semibold mr-1",children:["1 ",mn]}),e[165]=mn,e[166]=hn):hn=e[166];let nn;e[167]!==h?(nn=h("and older",{ns:"calendar"}),e[167]=h,e[168]=nn):nn=e[168];let on;e[169]!==fn||e[170]!==hn||e[171]!==nn?(on=o.jsxs(rt,{onClick:fn,children:[hn,nn]}),e[169]=fn,e[170]=hn,e[171]=nn,e[172]=on):on=e[172];let Sn;e[173]!==V?(Sn=()=>{V("weeks","2")},e[173]=V,e[174]=Sn):Sn=e[174];let pn;e[175]!==h?(pn=h("Weeks",{ns:"calendar"}),e[175]=h,e[176]=pn):pn=e[176];let rn;e[177]!==pn?(rn=o.jsxs(re,{className:"font-semibold mr-1",children:["2 ",pn]}),e[177]=pn,e[178]=rn):rn=e[178];let ut;e[179]!==h?(ut=h("and older",{ns:"calendar"}),e[179]=h,e[180]=ut):ut=e[180];let xe;e[181]!==Sn||e[182]!==rn||e[183]!==ut?(xe=o.jsxs(rt,{onClick:Sn,children:[rn,ut]}),e[181]=Sn,e[182]=rn,e[183]=ut,e[184]=xe):xe=e[184];let Ge;e[185]!==V?(Ge=()=>{V("weeks","3")},e[185]=V,e[186]=Ge):Ge=e[186];let ft;e[187]!==h?(ft=h("Weeks",{ns:"calendar"}),e[187]=h,e[188]=ft):ft=e[188];let pt;e[189]!==ft?(pt=o.jsxs(re,{className:"font-semibold mr-1",children:["3 ",ft]}),e[189]=ft,e[190]=pt):pt=e[190];let xt;e[191]!==h?(xt=h("and older",{ns:"calendar"}),e[191]=h,e[192]=xt):xt=e[192];let At;e[193]!==Ge||e[194]!==pt||e[195]!==xt?(At=o.jsxs(rt,{onClick:Ge,children:[pt,xt]}),e[193]=Ge,e[194]=pt,e[195]=xt,e[196]=At):At=e[196];let Lt;e[197]!==V?(Lt=()=>{V("weeks","4")},e[197]=V,e[198]=Lt):Lt=e[198];let Ht;e[199]!==h?(Ht=h("Weeks",{ns:"calendar"}),e[199]=h,e[200]=Ht):Ht=e[200];let Bt;e[201]!==Ht?(Bt=o.jsxs(re,{className:"font-semibold mr-1",children:["4 ",Ht]}),e[201]=Ht,e[202]=Bt):Bt=e[202];let tt;e[203]!==h?(tt=h("and older",{ns:"calendar"}),e[203]=h,e[204]=tt):tt=e[204];let Kt;e[205]!==Lt||e[206]!==Bt||e[207]!==tt?(Kt=o.jsxs(rt,{onClick:Lt,children:[Bt,tt]}),e[205]=Lt,e[206]=Bt,e[207]=tt,e[208]=Kt):Kt=e[208];let Zt;e[209]!==on||e[210]!==xe||e[211]!==At||e[212]!==Kt?(Zt=o.jsxs(Vs,{children:[on,xe,At,Kt]}),e[209]=on,e[210]=xe,e[211]=At,e[212]=Kt,e[213]=Zt):Zt=e[213];let vn;e[214]!==dn||e[215]!==Zt?(vn=o.jsxs(na,{children:[dn,Zt]}),e[214]=dn,e[215]=Zt,e[216]=vn):vn=e[216];let oe;e[217]!==h?(oe=h("Months",{ns:"calendar"}),e[217]=h,e[218]=oe):oe=e[218];let fe;e[219]!==oe?(fe=o.jsx(Ws,{children:o.jsx(re,{children:oe})}),e[219]=oe,e[220]=fe):fe=e[220];let Xe;e[221]!==V?(Xe=()=>{V("months","1")},e[221]=V,e[222]=Xe):Xe=e[222];let Me;e[223]!==h?(Me=h("Month",{ns:"calendar"}),e[223]=h,e[224]=Me):Me=e[224];let _e;e[225]!==Me?(_e=o.jsxs(re,{className:"font-semibold mr-1",children:["1 ",Me]}),e[225]=Me,e[226]=_e):_e=e[226];let ze;e[227]!==h?(ze=h("and older",{ns:"calendar"}),e[227]=h,e[228]=ze):ze=e[228];let Ct;e[229]!==Xe||e[230]!==_e||e[231]!==ze?(Ct=o.jsxs(rt,{onClick:Xe,children:[_e,ze]}),e[229]=Xe,e[230]=_e,e[231]=ze,e[232]=Ct):Ct=e[232];let cn;e[233]!==V?(cn=()=>{V("months","2")},e[233]=V,e[234]=cn):cn=e[234];let zn;e[235]!==h?(zn=h("Months",{ns:"calendar"}),e[235]=h,e[236]=zn):zn=e[236];let Mn;e[237]!==zn?(Mn=o.jsxs(re,{className:"font-semibold mr-1",children:["2 ",zn]}),e[237]=zn,e[238]=Mn):Mn=e[238];let Kr;e[239]!==h?(Kr=h("and older",{ns:"calendar"}),e[239]=h,e[240]=Kr):Kr=e[240];let yn;e[241]!==cn||e[242]!==Mn||e[243]!==Kr?(yn=o.jsxs(rt,{onClick:cn,children:[Mn,Kr]}),e[241]=cn,e[242]=Mn,e[243]=Kr,e[244]=yn):yn=e[244];let Gr;e[245]!==V?(Gr=()=>{V("months","3")},e[245]=V,e[246]=Gr):Gr=e[246];let Ii;e[247]!==h?(Ii=h("Months",{ns:"calendar"}),e[247]=h,e[248]=Ii):Ii=e[248];let _o;e[249]!==Ii?(_o=o.jsxs(re,{className:"font-semibold mr-1",children:["3 ",Ii]}),e[249]=Ii,e[250]=_o):_o=e[250];let hs;e[251]!==h?(hs=h("and older",{ns:"calendar"}),e[251]=h,e[252]=hs):hs=e[252];let sc;e[253]!==Gr||e[254]!==_o||e[255]!==hs?(sc=o.jsxs(rt,{onClick:Gr,children:[_o,hs]}),e[253]=Gr,e[254]=_o,e[255]=hs,e[256]=sc):sc=e[256];let ac;e[257]!==V?(ac=()=>{V("months","6")},e[257]=V,e[258]=ac):ac=e[258];let Jo;e[259]!==h?(Jo=h("Months",{ns:"calendar"}),e[259]=h,e[260]=Jo):Jo=e[260];let wl;e[261]!==Jo?(wl=o.jsxs(re,{className:"font-semibold mr-1",children:["6 ",Jo]}),e[261]=Jo,e[262]=wl):wl=e[262];let oc;e[263]!==h?(oc=h("and older",{ns:"calendar"}),e[263]=h,e[264]=oc):oc=e[264];let kl;e[265]!==ac||e[266]!==wl||e[267]!==oc?(kl=o.jsxs(rt,{onClick:ac,children:[wl,oc]}),e[265]=ac,e[266]=wl,e[267]=oc,e[268]=kl):kl=e[268];let ic;e[269]!==Ct||e[270]!==yn||e[271]!==sc||e[272]!==kl?(ic=o.jsxs(Vs,{children:[Ct,yn,sc,kl]}),e[269]=Ct,e[270]=yn,e[271]=sc,e[272]=kl,e[273]=ic):ic=e[273];let lc;e[274]!==fe||e[275]!==ic?(lc=o.jsxs(na,{children:[fe,ic]}),e[274]=fe,e[275]=ic,e[276]=lc):lc=e[276];let cc;e[277]!==h?(cc=h("Years",{ns:"calendar"}),e[277]=h,e[278]=cc):cc=e[278];let uc;e[279]!==cc?(uc=o.jsx(Ws,{children:o.jsx(re,{children:cc})}),e[279]=cc,e[280]=uc):uc=e[280];let hu;e[281]!==V?(hu=()=>{V("year","1")},e[281]=V,e[282]=hu):hu=e[282];let pu;e[283]!==h?(pu=h("Year",{ns:"calendar"}),e[283]=h,e[284]=pu):pu=e[284];let dc;e[285]!==pu?(dc=o.jsxs(re,{className:"font-semibold mr-1",children:["1 ",pu]}),e[285]=pu,e[286]=dc):dc=e[286];let ca;e[287]!==h?(ca=h("and older",{ns:"calendar"}),e[287]=h,e[288]=ca):ca=e[288];let mu;e[289]!==hu||e[290]!==dc||e[291]!==ca?(mu=o.jsxs(rt,{onClick:hu,children:[dc,ca]}),e[289]=hu,e[290]=dc,e[291]=ca,e[292]=mu):mu=e[292];let gu;e[293]!==V?(gu=()=>{V("year","2")},e[293]=V,e[294]=gu):gu=e[294];let Ai;e[295]!==h?(Ai=h("Years",{ns:"calendar"}),e[295]=h,e[296]=Ai):Ai=e[296];let ei;e[297]!==Ai?(ei=o.jsxs(re,{className:"font-semibold mr-1",children:["2 ",Ai]}),e[297]=Ai,e[298]=ei):ei=e[298];let vu;e[299]!==h?(vu=h("and older",{ns:"calendar"}),e[299]=h,e[300]=vu):vu=e[300];let xu;e[301]!==gu||e[302]!==ei||e[303]!==vu?(xu=o.jsxs(rt,{onClick:gu,children:[ei,vu]}),e[301]=gu,e[302]=ei,e[303]=vu,e[304]=xu):xu=e[304];let yu;e[305]!==V?(yu=()=>{V("year","3")},e[305]=V,e[306]=yu):yu=e[306];let bu;e[307]!==h?(bu=h("Years",{ns:"calendar"}),e[307]=h,e[308]=bu):bu=e[308];let Cl;e[309]!==bu?(Cl=o.jsxs(re,{className:"font-semibold mr-1",children:["3 ",bu]}),e[309]=bu,e[310]=Cl):Cl=e[310];let fc;e[311]!==h?(fc=h("and older",{ns:"calendar"}),e[311]=h,e[312]=fc):fc=e[312];let wu;e[313]!==yu||e[314]!==Cl||e[315]!==fc?(wu=o.jsxs(rt,{onClick:yu,children:[Cl,fc]}),e[313]=yu,e[314]=Cl,e[315]=fc,e[316]=wu):wu=e[316];let hc;e[317]!==mu||e[318]!==xu||e[319]!==wu?(hc=o.jsxs(Vs,{children:[mu,xu,wu]}),e[317]=mu,e[318]=xu,e[319]=wu,e[320]=hc):hc=e[320];let pc;e[321]!==uc||e[322]!==hc?(pc=o.jsxs(na,{children:[uc,hc]}),e[321]=uc,e[322]=hc,e[323]=pc):pc=e[323];let mc;e[324]===Symbol.for("react.memo_cache_sentinel")?(mc=o.jsx(kn,{}),e[324]=mc):mc=e[324];let Li;e[325]!==V?(Li=()=>{V("days","0")},e[325]=V,e[326]=Li):Li=e[326];let Sl;e[327]!==h?(Sl=h("Clear All History",{ns:"history"}),e[327]=h,e[328]=Sl):Sl=e[328];let gc;e[329]!==Sl?(gc=o.jsx(re,{className:"font-semibold",children:Sl}),e[329]=Sl,e[330]=gc):gc=e[330];let vc;e[331]!==Li||e[332]!==gc?(vc=o.jsx(rt,{onClick:Li,children:gc}),e[331]=Li,e[332]=gc,e[333]=vc):vc=e[333];let xc;e[334]===Symbol.for("react.memo_cache_sentinel")?(xc=o.jsx(kn,{}),e[334]=xc):xc=e[334];let ku;e[335]!==C?(ku=()=>{C("/app-settings/history",{replace:!0})},e[335]=C,e[336]=ku):ku=e[336];let sf;e[337]===Symbol.for("react.memo_cache_sentinel")?(sf=o.jsx(X8,{className:"mr-2 h-4 w-4"}),e[337]=sf):sf=e[337];let As;e[338]!==h?(As=h("Auto-Clear Settings",{ns:"history"}),e[338]=h,e[339]=As):As=e[339];let Cu;e[340]!==As?(Cu=o.jsxs(re,{children:[As," ..."]}),e[340]=As,e[341]=Cu):Cu=e[341];let Su;e[342]!==ku||e[343]!==Cu?(Su=o.jsxs(rt,{onClick:ku,children:[sf,Cu]}),e[342]=ku,e[343]=Cu,e[344]=Su):Su=e[344];let jl;e[345]!==Mt||e[346]!==vn||e[347]!==lc||e[348]!==pc||e[349]!==vc||e[350]!==Su?(jl=o.jsxs(Vs,{children:[Mt,vn,lc,pc,mc,vc,xc,Su]}),e[345]=Mt,e[346]=vn,e[347]=lc,e[348]=pc,e[349]=vc,e[350]=Su,e[351]=jl):jl=e[351];let yc;e[352]!==Qe||e[353]!==jl?(yc=o.jsxs(na,{children:[Qe,jl]}),e[352]=Qe,e[353]=jl,e[354]=yc):yc=e[354];let _a;e[355]!==q||e[356]!==se||e[357]!==Ee||e[358]!==mt||e[359]!==yc?(_a=o.jsx(Wn,{sideOffset:10,align:"start",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:o.jsxs(xH,{children:[q,se,de,Ee,Fe,mt,yc]})}),e[355]=q,e[356]=se,e[357]=Ee,e[358]=mt,e[359]=yc,e[360]=_a):_a=e[360];let ju;return e[361]!==F||e[362]!==_a?(ju=o.jsxs(Kn,{children:[F,_a]}),e[361]=F,e[362]=_a,e[363]=ju):ju=e[363],ju},f4={STARRED:"starred",PINNED:"pinned",TEXT:"text",LINK:"link",IMAGE:"image",VIDEO:"video",EMOJI:"emoji",SECRET:"secret",CODE:"code"},FSe=t=>{const e=Te(42),{historyFilters:n,setHistoryFilters:r,codeFilters:s,avaliableCodeLanguages:a,setCodeFilters:i,children:l}=t,{t:u}=Gt();let d;e[0]!==r||e[1]!==n?(d=(L,z)=>{if(z){r([L]);return}n.includes(L)?r(n.filter(Y=>Y!==L)):r([...n,L])},e[0]=r,e[1]=n,e[2]=d):d=e[2];const p=d;let h;e[3]!==i||e[4]!==s?(h=(L,z)=>{if(z){i([L]);return}s.includes(L)?i(s.filter(Y=>Y!==L)):i([...s,L])},e[3]=i,e[4]=s,e[5]=h):h=e[5];const m=h;let b;e[6]!==n||e[7]!==i?(b=()=>{n.includes(f4.CODE)||i([])},e[6]=n,e[7]=i,e[8]=b):b=e[8];let C;e[9]!==n?(C=[n],e[9]=n,e[10]=C):C=e[10],v.useEffect(b,C);const{isSwapPanels:g}=Tt(Is);let w;e[11]!==l?(w=o.jsx(Gn,{asChild:!0,children:l}),e[11]=l,e[12]=w):w=e[12];const x=!n.length;let S;e[13]!==r?(S=L=>{L.preventDefault(),L.stopPropagation(),r([])},e[13]=r,e[14]=S):S=e[14];let E;e[15]!==n.length||e[16]!==u?(E=n.length?o.jsxs(me,{className:"justify-between items-center w-full",children:[o.jsx(te,{className:"w-6 h-4"}),o.jsx(re,{children:u("Filters:::Clear Filters",{ns:"history"})}),o.jsx(In,{className:"w-6 h-4"})]}):o.jsx(re,{children:u("Filters:::Select Filters",{ns:"history"})}),e[15]=n.length,e[16]=u,e[17]=E):E=e[17];let N;e[18]!==x||e[19]!==S||e[20]!==E?(N=o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:x,onClick:S,children:E}),e[18]=x,e[19]=S,e[20]=E,e[21]=N):N=e[21];let _;e[22]===Symbol.for("react.memo_cache_sentinel")?(_=o.jsx(kn,{}),e[22]=_):_=e[22];let P;e[23]!==p||e[24]!==u||e[25]!==n?(P=Object.values(f4).map((L,z)=>o.jsxs(te,{children:[z===2&&o.jsx(kn,{},"separator"),o.jsxs(rt,{onClick:Y=>{Y.preventDefault(),p(L)},children:[o.jsx(D6,{label:u("Filters:::".concat(HSe(L)),{ns:"history"}),checked:n.includes(L)}),o.jsx(Yl,{children:o.jsx(te,{onClick:Y=>{Y.preventDefault(),Y.stopPropagation(),p(L,!0)},className:"cursor-pointer hover:underline",children:o.jsx(fo,{keys:"only"})})})]})]},L)),e[23]=p,e[24]=u,e[25]=n,e[26]=P):P=e[26];let I;e[27]!==n||e[28]!==u||e[29]!==s||e[30]!==g||e[31]!==i||e[32]!==m||e[33]!==a?(I=n.includes(f4.CODE)&&o.jsxs(na,{children:[o.jsxs(Ws,{noRightIcon:g,disabled:!1,children:[o.jsx(Pz,{className:"mr-2 h-4 w-4"}),o.jsx(re,{children:u("Filters:::Language Filters",{ns:"history"})}),s.length>0&&o.jsx(St,{className:"ml-auto py-0",children:s.length})]}),o.jsxs(Vs,{className:"w-48",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!s.length,onClick:L=>{L.preventDefault(),L.stopPropagation(),i([])},children:s.length?o.jsxs(me,{className:"justify-between items-center w-full",children:[o.jsx(te,{className:"w-6 h-4"}),o.jsx(re,{children:u("Filters:::Clear Filters",{ns:"history"})}),o.jsx(In,{className:"w-6 h-4"})]}):o.jsx(re,{children:u("Filters:::Language Filters",{ns:"history"})})}),o.jsx(kn,{}),o.jsx(or,{className:"code-filter",style:{height:"auto",maxHeight:"190px"},autoHide:!1,children:a.map(L=>o.jsxs(rt,{onClick:z=>{z.preventDefault(),m(L)},children:[o.jsx(D6,{label:L,checked:s.includes(L)}),o.jsx(Yl,{children:o.jsx(te,{onClick:z=>{z.preventDefault(),z.stopPropagation(),m(L,!0)},className:"cursor-pointer hover:underline",children:o.jsx(fo,{keys:"only"})})})]},L))})]})]}),e[27]=n,e[28]=u,e[29]=s,e[30]=g,e[31]=i,e[32]=m,e[33]=a,e[34]=I):I=e[34];let T;e[35]!==N||e[36]!==P||e[37]!==I?(T=o.jsxs(Wn,{className:"w-52",sideOffset:12,align:"center",children:[N,_,P,I]}),e[35]=N,e[36]=P,e[37]=I,e[38]=T):T=e[38];let A;return e[39]!==w||e[40]!==T?(A=o.jsxs(Kn,{children:[w,T]}),e[39]=w,e[40]=T,e[41]=A):A=e[41],A};function HSe(t){return t.charAt(0).toUpperCase()+t.slice(1)}function PV({clipId:t,isDark:e,isHistoryDragActive:n}){var s,a,i,l;var r=sn(1);try{e7();const{t:u}=Gt(),{clipItems:d}=Tt(Ir),p=v.useMemo(()=>{if(Bs.value){const b=d.find(({itemId:C})=>C===t);if(b)return b;Bs.value=null}},[t,d]),[h,m]=v.useMemo(()=>{var b,C;return[(p==null?void 0:p.createdAt)&&zd().format((b=p.createdAt)!=null?b:0,{round:"floor"}),(p==null?void 0:p.updatedAt)&&zd().format((C=p.updatedAt)!=null?C:0,{round:"floor"})]},[p]);return p==null?null:o.jsx(o.Fragment,{children:o.jsxs(te,{className:"max-w-full max-h-full ".concat(Ts.value===t&&!p.isCode&&!p.isImage?"min-w-[80%]":""),children:[o.jsxs(te,{className:"flex justify-center text-gray-400 text-xs my-2 gap-1",children:[o.jsx(st,{text:"".concat(u("Created",{ns:"common"}),": ").concat(Eh((s=p.createdAt)!=null?s:0,"PPpp")),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:h}),m!==h&&o.jsxs(st,{text:"".concat(u("Updated",{ns:"common"}),": ").concat(Eh((a=p.updatedAt)!=null?a:0,"PPpp")),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:["(",m,")"]})]}),o.jsx(te,{className:"text-gray-400 text-xs mb-1 mt-2",children:o.jsx(L7,{clip:ae(R({},p),{type:"clip",id:t,createdAt:(i=p.createdAt)!=null?i:0,tabId:(l=p.tabId)!=null?l:null}),boardColor:p.color,isDark:e,isClipNameEditing:sd.value===t,isClipDelete:hi.value===t,isClipEdit:Ts.value===t,isShowOrganizeLayoutValue:!1,isHistoryDragActive:n,isShowDetails:!0,isLargeView:!0,isSelected:!1})}),o.jsx(te,{className:"flex justify-center text-gray-400 text-xs my-2",children:o.jsxs(St,{variant:"outline",className:"bg-slate-100 px-2 pl-2.5 text-slate-400 cursor-pointer hover:bg-slate-300 dark:bg-slate-500 dark:text-slate-800 hover:dark:bg-slate-400",onClick:()=>{Bs.value=null},children:[u("Close",{ns:"common"}),o.jsx(In,{size:14,className:"ml-1"})]})})]})})}finally{r.f()}}v.memo(PV);const wA="trash",BSe=()=>ge(void 0,null,function*(){window.Prism=yt,yield Promise.all([ke(()=>import("./prism-json-xwnKirkR.js"),[]),ke(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),ke(()=>import("./prism-java-Bz0cy7o8.js"),[]),ke(()=>import("./prism-c-BI05wwL9.js"),[]),ke(()=>import("./prism-css-Cp0aSgQ4.js"),[]),ke(()=>import("./prism-csharp-aZJd74Dz.js"),[]),ke(()=>import("./prism-php-Y_bwvUTe.js"),[]),ke(()=>import("./prism-regex-DCddBNSB.js"),[]),ke(()=>import("./prism-ruby-pgU1Zfy6.js"),[]),ke(()=>import("./prism-shell-session-C8ifCaAv.js"),[]),ke(()=>import("./prism-sql-AgAyy5H_.js"),[]),ke(()=>import("./prism-uri-BQNPRq5q.js"),[]),ke(()=>import("./prism-yaml-Chm5ZdEN.js"),[]),ke(()=>import("./prism-markdown-4MKFcK2x.js"),[]),ke(()=>import("./prism-dart-MjriiaMt.js"),[]),ke(()=>import("./prism-path-CC2I6U-X.js"),[])]),yt.languages.shell=yt.languages["shell-session"]});function USe(){var t=sn(1);try{let e=function(Me){return Sn.current[Me]||60},n=function(Me,_e){var ze,Ct;(ze=on.current)!=null&&ze.resetAfterIndex&&((Ct=on.current)==null||Ct.resetAfterIndex(0)),Sn.current=ae(R({},Sn.current),{[Me]:_e})};const[r,s,a]=ake({}),[i,l,u,d]=oke({}),[p,h]=v.useState(null),{updateItemValueByHistoryId:m}=kge(),{pinnedClipboardHistoryByIds:b}=bW(),{unPinAllClipboardHistory:C}=I5e(),{movePinnedClipboardHistoryUpDown:g}=A5e(),[w,x]=v.useState([]),[S,E]=v.useState([]),N=v.useRef(null),[_,P]=v.useState(!1),I=v.useRef(null),[T,A]=v.useState(null),[L,z]=v.useState([]),[Y,O]=v.useState(null),[$,M]=v.useState(null),[W,V]=v.useState(null),[U,J]=v.useState(null),[H,F]=v.useState([]),[q,X]=v.useState([]),[ne,ee]=v.useState([]),[G,Z]=v.useState(!1),[le,se]=v.useState(!1),{setIsScrolling:de,isShowHistoryPinned:ce,setIsShowHistoryPinned:pe,isSwapPanels:ve,panelSize:ye,getDefaultPanelWidth:be,setPanelSize:Ee,setReturnRoute:Fe}=Tt(Is),{isHistoryEnabled:qe,setIsHistoryEnabled:ot,isHistoryAutoUpdateOnCaputureEnabled:Ve,isAutoPreviewLinkCardsEnabled:Ke,historyDetectLanguagesEnabledList:lt,copyPasteSequencePinnedDelay:De,setCopyPasteSequencePinnedDelay:Ye,copyPasteSequenceIsReversOrder:dt,setCopyPasteSequenceIsReversOrder:He,setIsHistoryAutoUpdateOnCaputureEnabled:mt}=Tt(Cr),{t:Ue}=Gt(),{themeDark:ht}=Tt(yo),{ref:Qe,height:Rt}=YCe(),Ut=it(!1),wt=it(!1),Xt=v.useMemo(()=>wt.value||Ut.value,[Ut.value,wt.value]),{pinnedClipboardHistory:$t}=M5e(),tn=ht(),{setHistoryListSimpleBar:Pt,scrollToTopHistoryList:We,updateClipboardHistory:Je,deleteClipboardHistoryItem:jt,deleteClipboardHistoryItems:we,generateLinkMetaData:je,removeLinkMetaData:Ie}=Tt(_i),[nt,Pe]=v.useState(!1),gt=bl(),Ze=la(),{isClipboardInfiniteHistoryLoading:Re,isClipboardHistoryFetchingNextPage:Oe,infiniteClipboardHistory:et,invalidateClipboardHistoryQuery:Et,fetchNextClipboardHistoryPage:bt}=wW(),{deleteClipboardHistoryByIds:_t}=O7(),{clipboardHistory:Mt,newClipboardHistoryCount:an,foundClipboardHistory:dn}=Tt(_i),[fn,mn]=v.useState(""),[hn,nn]=v.useState(""),on=v.useRef(null),Sn=v.useRef({}),pn=v.useRef(null),rn=Co(fn,300),ut=v.useMemo(()=>rn.length>1||w.length>0,[rn,w]),xe=v.useMemo(()=>Tn.value,[Tn.value]),Ge=v.useMemo(()=>ne.some(Me=>$t.some(_e=>_e.historyId===Me)),[ne,$t]),ft=v.useMemo(()=>i,[i]),pt=v.useMemo(()=>r,[r]),xt=ut?dn:Mt,{refetchFindClipboardHistory:At}=L5e({query:rn,filters:w,codeFilters:S}),Lt=v.useCallback(()=>{ut&&Ve&&At()},[ut,Ve]);v.useEffect(()=>{const Me=Zi("clipboard://clipboard-monitor/update",_e=>{_e.payload==="clipboard update"&&Lt()});return()=>{Me.then(_e=>{_e()})}},[Lt]),v.useEffect(()=>{od.value=null,ll.value=null;const Me=()=>ge(this,null,function*(){yield BSe()});Fe(gt.pathname),il.value=!1,Me(),Pe(!0)},[]),v.useEffect(()=>{r&&ne.includes(r)&&ee(Me=>Me.filter(_e=>_e!==r)),i&&ne.includes(i)&&ee(Me=>Me.filter(_e=>_e!==i))},[r,i]),v.useEffect(()=>{N&&Pt(N)},[N]),v.useEffect(()=>{$t.length===0&&(Ut.value=!1,wt.value=!1)},[$t]),v.useEffect(()=>{(rn.length>1||w.length>0||S.length>0)&&At()},[rn,w,S]),v.useEffect(()=>{var Me;!((Me=I.current)!=null&&Me.setDisableScroll)||!N.current||(T?(I.current.setDisableScroll(!0),N.current.style.overflow="hidden"):(I.current.setDisableScroll(!1),N.current.style.overflow="visible"))},[T]);const Ht=()=>ge(this,null,function*(){Oe||(yield bt({cancelRefetch:!1}))}),Bt=RS(Jp(cv,{activationConstraint:{tolerance:10,delay:300}}),Jp(lv,{coordinateGetter:Z6})),tt={keyframes({transform:Me}){return T&&(Y===T||W||U||$)?[{opacity:.7},{opacity:0}]:[{opacity:1,transform:Ko.Transform.toString(Me.initial)},{opacity:0,transform:Ko.Transform.toString(ae(R({},Me.final),{x:Me.final.x+5,y:Me.final.y+5}))}]},easing:"ease-out",duration:300,sideEffects({active:Me,dragOverlay:_e}){T&&(Y===T||W===T||$===T)?_e.node.animate([{opacity:.7},{opacity:0}],{duration:300,easing:eh.easing}):Me.node.animate([{opacity:0},{opacity:1}],{duration:eh.duration,easing:eh.easing})}},Kt=v.useCallback(Me=>{ee(_e=>_e.includes(Me)?_e.filter(Ct=>Ct!==Me):[..._e,Me])},[ee]),Zt=v.useCallback(Me=>{z(_e=>_e.includes(Me)?_e.filter(Ct=>Ct!==Me):[..._e,Me])},[z]),vn=v.useCallback((Me,_e)=>{F(ze=>_e?[...ze,Me]:ze.filter(Ct=>Ct!==Me))},[F]),oe=v.useCallback((Me,_e)=>{X(ze=>_e?[...ze,Me]:ze.filter(Ct=>Ct!==Me))},[X]),fe=v.useMemo(()=>{if(Oa.value){const Me=xt.find(_e=>_e.historyId===Oa.value);if(Me)return Bs.value&&(Bs.value=null),Me;Oa.value=null}},[Oa.value,xt]),Xe=Me=>Me===Yu.value||Me===Y||!!Y&&!!T&&ne.includes(Me)||_&&ne.includes(Me);return o.jsx(vk,{children:o.jsx($8,{sensors:Bt,collisionDetection:I8,autoScroll:{layoutShiftCompensation:!1,acceleration:1},measuring:{droppable:{strategy:gh.Always}},onDragStart:({active:Me})=>{var _e;A(Me.id),se(Me.id&&((_e=Me.data.current)==null?void 0:_e.isPinned))},onDragOver:({active:Me,over:_e})=>{const ze=_e==null?void 0:_e.data.current,Ct=(ze==null?void 0:ze.type)===Ks,cn=(ze==null?void 0:ze.type)==="clip::dropzone",zn=(_e==null?void 0:_e.id)==="history::pinnedzone";Me!=null&&Me.id&&zn&&!le?M(Me.id):zn||M(null),(_e==null?void 0:_e.id)===wA?O(Me.id):Ct&&(_e!=null&&_e.id)?V(_e==null?void 0:_e.id):cn&&(_e!=null&&_e.id)?J(_e==null?void 0:_e.id):(O(null),V(null),J(null))},onDragCancel:()=>(A(null),O(null),V(null),J(null),!0),onDragEnd:_e=>ge(this,[_e],function*({active:Me}){var Ct;const ze=(Ct=Me==null?void 0:Me.data.current)==null?void 0:Ct.isPinned;if((Me==null?void 0:Me.id)===$)setTimeout(()=>ge(this,null,function*(){M(null),ee([]),A(null),!ze&&(yield b({historyIds:ne.length>0?Array.from(new Set([...ne,Me.id])):[Me.id],isPinned:!0}))}),300);else if((Me==null?void 0:Me.id)===Y){const cn=ze?BC(Me.id):Me.id;yield _t({historyIds:ne.length>0?Array.from(new Set([...ne,cn])):[cn]}),setTimeout(()=>{ne.length>0?we(Array.from(new Set([...ne,cn]))):Array.from(new Set([...ne,cn])).forEach(zn=>{jt(zn)}),Lt(),M(null),O(null),V(null),J(null),ee([]),A(null)},600)}else if(Me!=null&&Me.id&&W){const cn=ze?BC(Me.id):Me.id;Hl.value=W,Qm.value=ne.length>0?Array.from(new Set([...ne,cn])):[cn],setTimeout(()=>{V(null),A(null),ee([])},400)}else if(Me!=null&&Me.id&&U){const cn=ze?BC(Me.id):Me.id,zn=U.toString().replace("::dropzone",""),Mn=cn?xt.find(Kr=>Kr.historyId===cn):null;zn&&(Mn!=null&&Mn.historyId)&&(yield m({historyId:Mn.historyId,itemId:zn})),setTimeout(()=>{J(null),A(null)},400)}else Hl.value=null,setTimeout(()=>{M(null),V(null),O(null),A(null)},300)}),children:o.jsxs(Q7,{minSize:260,maxSize:700,defaultSize:be(),swapPanes:ve,onResize:Ee,autoSaveId:"app-main-panel",children:[o.jsx(J7,{children:o.jsx(te,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] pb-6 pt-4 px-3 pr-3",children:o.jsx(_1,{disableWidth:!0,children:({height:Me})=>{var _e;return nt&&Me&&Me>0&&o.jsxs(te,{className:"flex flex-col h-[calc(100vh-95px)] relative",id:"side-panel_tour",children:[o.jsx(te,{className:"flex flex-row bg-slate-100 dark:bg-slate-700 rounded-md p-0 items-center h-[40px] mb-3",id:"history-find_tour",children:T&&$t.length===0?o.jsx(R6,{id:"history::pinnedzone",className:"w-full h-full",isActive:!!T,children:o.jsx(te,{ref:$?null:Qe,className:"".concat($?"!bg-orange-100 dark:!bg-orange-500/40":""," ").concat(T?"":"animate-in fade-in"," py-1 bg-orange-50 dark:bg-orange-800/40 mt-0 my-2 rounded-md relative w-full h-full"),children:T&&o.jsx(te,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1",children:o.jsx(te,{className:"border-2 ".concat($?"border-orange-400 dark:border-orange-500":"border-slate-200 dark:border-slate-500"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:$?o.jsx(re,{className:"!text-orange-400 dark:text-orange-500 !font-medium animate-in fade-in duration-300 text-sm",children:Ue("Drop to Pin",{ns:"dashboard"})}):o.jsx(Qc,{size:18,className:"text-orange-300 dark:text-orange-500 animate-in fade-in duration-300"})})})})}):o.jsxs(o.Fragment,{children:[o.jsx(Hd,{placeholder:"".concat(Ue("Find in history",{ns:"dashboard"}),"..."),autoFocus:fn.length>0,type:"search",onChange:ze=>{mn(ze.target.value)},value:fn,ref:pn,iconLeft:o.jsx(n0,{className:"h-4 w-4"}),classNameInput:"w-full pr-0",className:"text-md ring-offset-0 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0"},"search-history"),o.jsx(FSe,{setHistoryFilters:x,historyFilters:w,avaliableCodeLanguages:lt,codeFilters:S,setCodeFilters:E,children:o.jsxs(Se,{variant:"ghost",className:"relative cursor-pointer px-1 mr-2",children:[o.jsx(Fie,{size:20,className:"".concat(w.length?"text-blue-500 hover:text-blue-500/70":"text-slate-400 hover:text-slate-400/70"," ")}),w.length>0&&o.jsx(St,{className:"absolute right-[-10px] top-[-10px] bg-blue-500 hover:bg-blue-500",children:w.length})]})})]})}),ut?o.jsx(te,{className:"cursor-pointer absolute top-[49px] animate-in fade-in fade-out flex justify-center w-full pointer-events-none",children:o.jsx(st,{text:Ue("Clear found results and filters",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",onClick:()=>{var ze;mn(""),x([]),E([]),pn!=null&&pn.current&&pn.current.value&&(pn.current.value="",(ze=pn==null?void 0:pn.current)==null||ze.focus())},sideOffset:10,children:o.jsx(re,{className:"text-xs text-center dark:text-slate-800 bg-blue-200 dark:bg-blue-400 rounded-full px-3 cursor-pointer pointer-events-auto",children:xt.length?o.jsxs(o.Fragment,{children:[xt.length<100?xt.length:"100+"," ",Ue("found",{ns:"common"})]}):o.jsx(o.Fragment,{children:Ue("Nothing found",{ns:"common"})})})})}):$t.length>0&&o.jsx(R6,{id:"history::pinnedzone",isActive:!!T&&!le,children:o.jsxs(te,{onMouseEnter:()=>{Ut.value=!0},onMouseLeave:()=>{Ut.value=!1},onClick:()=>{Ut.value=!0},ref:$?null:Qe,className:"".concat($?"!bg-orange-100 dark:!bg-orange-500/40":""," ").concat(T?ce?"":"min-h-[32px]":"animate-in fade-in"," ").concat(ce?"py-2":"py-1"," px-2 pb-0 bg-orange-200/70 dark:bg-orange-900/60 mt-0 my-2 rounded-md relative"),children:[T&&!le&&o.jsx(te,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1",children:o.jsx(te,{className:"border-2 ".concat($?"border-orange-400 dark:border-orange-500":"border-slate-200 dark:border-slate-500"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:$?o.jsx(re,{className:"!text-orange-400 dark:!text-orange-500 !font-medium animate-in fade-in duration-300 text-sm",children:Ue("Drop to Pin",{ns:"dashboard"})}):o.jsx(Qc,{size:18,className:"text-orange-300 dark:text-orange-500 animate-in fade-in duration-300"})})}),o.jsx(Kd,{defer:!0,style:{maxHeight:200},options:{overflow:{x:"hidden",y:"scroll"},scrollbars:{theme:tn?"os-theme-light":"os-theme-dark",autoHide:"move"}},children:o.jsx(te,{className:"flex flex-col gap-1 relative ".concat(T&&!le?"opacity-20":""),children:ce&&$t.sort((ze,Ct)=>ze.pinnedOrderNumber-Ct.pinnedOrderNumber).map((ze,Ct)=>{const cn=ze.historyId;return o.jsx(te,{children:o.jsx(d4,{isPinnedTop:!0,isPinnedTopFirst:Ct===0,isDisabledPinnedMoveUp:Ct===0,isDisabledPinnedMoveDown:Ct===$t.length-1,onMovePinnedUpDown:zn=>{g(zn)},isLinkCardPreviewEnabled:Ke,isLargeView:cn===Oa.value,largeViewItemId:Oa.value,setLargeViewItemId:zn=>{Oa.value=zn},setSelectHistoryItem:Kt,onCopy:s,onCopyPaste:u,pastingCountDown:cn===ft?l:void 0,isPasted:cn===ft,isCopied:cn===pt,isSaved:cn===p,setSavingItem:h,isDeleting:Xe(cn),isSelected:ne.includes(cn),setBrokenImageItem:Zt,isBrokenImage:L.includes(cn),showTimeAgo:!1,isExpanded:H.includes(cn),isWrapText:q.includes(cn),searchTerm:ut?rn:"",showSelectHistoryItems:G,invalidateClipboardHistoryQuery:()=>{Et(),Lt()},setExpanded:vn,setWrapText:oe,isDark:tn,setRowHeight:n,clipboard:ze,removeLinkMetaData:Ie,generateLinkMetaData:je})},cn)})})}),o.jsxs(me,{className:"justify-between",children:[ce?o.jsxs(me,{className:"animate-in fade-in duration-300 ".concat(T&&!le||!Xt?"opacity-0":""),children:[o.jsx(mr,{className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent pl-0.5 pr-1 pt-0 ",title:xe?Ue("Sequence Paste",{ns:"common"}):Ue("Sequence Copy",{ns:"common"}),children:xe?o.jsx(Ps,{size:14,onClick:()=>{d($t.map(({historyId:ze})=>ze))}}):o.jsx(ya,{size:14,onClick:()=>{a($t.map(({historyId:ze})=>ze))}})}),o.jsxs(Kn,{onOpenChange:ze=>{wt.value=ze},children:[o.jsx(Gn,{asChild:!0,children:o.jsx(vE,{variant:"outline",title:Ue("Sequence Delay Next",{ns:"common"}),className:"bg-orange-300/20 border-orange-300/50 dark:bg-orange-900/70 dark:border-orange-800/50 border h-[18px] cursor-pointer px-1.5 ml-1",children:o.jsxs(re,{className:"font-mono !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent font-semibold",children:[De,"s"]})})}),o.jsxs(Wn,{className:"w-44",children:[o.jsx(rt,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o.jsx(re,{size:"xs",children:Ue("Sequence Copy Paste",{ns:"common"})})}),o.jsx(kn,{}),o.jsxs(na,{children:[o.jsx(Ws,{children:o.jsxs(me,{className:"flex w-full",children:[o.jsxs(re,{size:"xs",children:[Ue("Delay Next",{ns:"common"}),"..."]}),o.jsxs(St,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[De,"s"]})]})}),o.jsxs(Vs,{children:[o.jsx(Cn,{checked:De===1,onSelect:()=>{Ye(1)},children:o.jsxs(re,{size:"xs",children:["1 ",Ue("second",{ns:"common"})]})}),o.jsx(Cn,{checked:De===2,onSelect:()=>{Ye(2)},children:o.jsxs(re,{size:"xs",children:["2 ",Ue("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:De===3,onSelect:()=>{Ye(3)},children:o.jsxs(re,{size:"xs",children:["3 ",Ue("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:De===4,onSelect:()=>{Ye(4)},children:o.jsxs(re,{size:"xs",children:["4 ",Ue("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:De===5,onSelect:()=>{Ye(5)},children:o.jsxs(re,{size:"xs",children:["5 ",Ue("seconds",{ns:"common"})]})}),o.jsx(Cn,{checked:De===10,onSelect:()=>{Ye(10)},children:o.jsxs(re,{size:"xs",children:["10 ",Ue("seconds",{ns:"common"})]})})]})]}),o.jsxs(na,{children:[o.jsx(Ws,{children:o.jsxs(me,{className:"flex w-full",children:[o.jsxs(re,{size:"xs",children:[Ue("Reverse Order",{ns:"common"}),"..."]}),o.jsx(St,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:dt?Ue("Yes",{ns:"common"}):Ue("No",{ns:"common"})})]})}),o.jsxs(Vs,{children:[o.jsx(Cn,{checked:!dt,onSelect:()=>{He(!1)},children:o.jsx(re,{size:"xs",children:Ue("No",{ns:"common"})})}),o.jsx(Cn,{checked:dt,onSelect:()=>{He(!0)},children:o.jsx(re,{size:"xs",children:Ue("Yes",{ns:"common"})})})]})]})]})]})]}):o.jsx(te,{}),!T&&o.jsxs(mr,{className:"hover:underline ".concat(ce?"h-[30px]":"h-[26px]"," group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent ").concat(ce?"":"pb-1"),title:ce?Ue("Hide pinned history",{ns:"history"}):Ue("View pinned history",{ns:"history"}),onClick:()=>{pe(!ce)},children:[o.jsxs(re,{className:"!font-medium text-xs !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 mr-1",children:[$t.length," ",Ue("Pinned",{ns:"common",count:$t.length})]}),ce?o.jsx(d5,{size:13,className:"group-hover:opacity-100 opacity-0"}):o.jsx(Zse,{size:13,className:"group-hover:opacity-100 opacity-0"})]}),ce?o.jsxs(te,{className:"animate-in fade-in duration-300 ".concat(T&&!le||!Xt?"opacity-0":""),children:[o.jsx(mr,{title:Ge?Ue("Deselect pinned",{ns:"common"}):Ue("Select pinned",{ns:"common"}),className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:o.jsx(me,{className:"font-medium text-sm gap-1 !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400",children:Ge?o.jsx(f5,{size:15,onClick:()=>{const ze=ne.filter(Ct=>$t.some(cn=>cn.historyId===Ct));ee(ne.filter(Ct=>!ze.includes(Ct)))}}):o.jsx(tE,{size:17,onClick:()=>{ee(ne.concat($t.map(ze=>ze.historyId)))}})})}),o.jsx(ZH,{onOpen:ze=>{wt.value=ze},onCancel:()=>{setTimeout(()=>{wt.value=!1,Ut.value=!1},300)},onConfirm:()=>ge(this,null,function*(){yield C({})}),buttonClassName:"group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0.5 rounded-sm py-0 h-5"})]}):o.jsx(te,{})]})]})}),xt.length>0||ut?o.jsx(or,{style:{height:Me-(ut?115:$t.length===0?85:Rt?Rt+103:85)},ref:ze=>{I.current=ze},onScroll:(ze,Ct)=>{de(Ct)},className:"animate-in fade-in mr-[-10px] ".concat(ut?"mt-[20px]":""),children:({scrollableNodeRef:ze,contentNodeRef:Ct})=>o.jsxs("div",{className:"pr-[10px] relative h-full",id:"history-list_tour",children:[hn&&o.jsx(te,{className:"".concat(an>0?"top-9":"top-1"," absolute z-100 animate-in fade-in fade-out duration-300 flex justify-center w-full ml-[-5px] pointer-events-none"),children:o.jsx(st,{text:Ue("Scroll to Top",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"bottom",asChild:!0,sideOffset:10,children:o.jsx(mr,{className:"pointer-events-auto rounded-full bg-slate-300 dark:bg-slate-600 hover:bg-slate-200 hover:dark:bg-slate-700",onClick:()=>{We(!0)},children:o.jsx(re,{className:"text-mute text-xs text-center px-3",children:hn})})})}),an>0&&!ut&&o.jsx(te,{className:"absolute top-2 z-100 ml-[-5px] cursor-pointer animate-in fade-in fade-out duration-300 flex justify-center w-full pointer-events-none",children:o.jsx(st,{text:Ue("Update history list",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:3,children:o.jsx(mr,{className:"pointer-events-auto",onClick:()=>{Je()},children:o.jsxs(re,{className:"text-xs text-center dark:text-slate-800 bg-blue-200 dark:bg-blue-400 rounded-full px-3 cursor-pointer pointer-events-auto",children:["+ ",an," ",Ue("new clips",{ns:"dashboard"})]})})})}),!qe&&!ut&&o.jsxs(te,{className:"absolute bottom-2 z-100 ml-[-5px] animate-in fade-in fade-out duration-300 flex flex-col justify-center items-center w-full pointer-events-none",children:[o.jsx(st,{text:Ue("Turn on history capture",{ns:"dashboard"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:6,children:o.jsx(mr,{className:"pointer-events-auto",onClick:()=>{ot(!0)},children:o.jsx(re,{className:"text-xs text-center bg-yellow-200 dark:bg-yellow-800 rounded-full px-3 cursor-pointer pointer-events-auto",children:Ue("History capture is off",{ns:"dashboard"})})})}),xt.length>0&&o.jsxs(re,{className:"text-xs text-center bg-slate-100 dark:bg-slate-700 rounded-full px-3 mt-2",children:[Ue("Last update",{ns:"dashboard"}),":"," ",xt[0].timeAgo]})]}),qe&&!ut&&!Ve&&o.jsx(te,{className:"absolute bottom-2 z-100 ml-[-5px] animate-in fade-in fade-out duration-300 flex flex-col justify-center items-center w-full pointer-events-none",children:o.jsx(st,{text:Ue("Turn On auto update",{ns:"dashboard"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:10,children:o.jsx(mr,{className:"pointer-events-auto",onClick:()=>{mt(!0)},children:o.jsx(re,{className:"text-xs text-center bg-yellow-200 dark:bg-yellow-800 rounded-full px-3 cursor-pointer pointer-events-auto",children:Ue("Auto update is Off",{ns:"dashboard"})})})})}),o.jsx(KCe,{isItemLoaded:cn=>cno.jsx(HCe,{overscanCount:10,height:Me-(ut?60:85),itemCount:xt.length,width:"100%",itemSize:e,itemKey:Mn=>{var Kr;return(Kr=xt[Mn].historyId)!=null?Kr:"id-${index}"},onItemsRendered:Mn=>{if(Mn.visibleStartIndex>10){const Kr=xt[Mn.visibleStartIndex];Kr!=null&&Kr.timeAgo?hn!==Kr.timeAgo&&nn(Kr.timeAgo):nn("")}else hn&&nn("");!rn&&cn(Mn)},ref:pl(on,zn),outerRef:pl(N,ze),innerRef:Ct,children:({index:Mn,style:Kr})=>{const yn=xt[Mn],{historyId:Gr,showTimeAgo:Ii,timeAgo:_o}=yn;return o.jsx(d4,{isLargeView:Gr===Oa.value,largeViewItemId:Oa.value,isLinkCardPreviewEnabled:Ke,setLargeViewItemId:hs=>{Oa.value=hs},setSelectHistoryItem:Kt,onCopy:s,onCopyPaste:u,pastingCountDown:Gr===ft?l:void 0,isPasted:Gr===ft,isCopied:Gr===pt,isSaved:Gr===p,setSavingItem:h,isDeleting:Xe(Gr),isOverPinned:Gr===$||!!$&&!!T&&ne.includes(Gr),isSelected:ne.includes(Gr),setBrokenImageItem:Zt,isBrokenImage:L.includes(Gr),showTimeAgo:Ii,timeAgo:_o,isExpanded:H.includes(Gr),isWrapText:q.includes(Gr),searchTerm:ut?rn:"",showSelectHistoryItems:G,invalidateClipboardHistoryQuery:()=>{Et(),Lt()},setExpanded:vn,setWrapText:oe,isDark:tn,setRowHeight:n,clipboard:yn,removeLinkMetaData:Ie,generateLinkMetaData:je,index:Mn,style:Kr},Gr)}})})]})}):!Re&&((_e=et==null?void 0:et.pages)==null?void 0:_e.flat().length)===0&&o.jsx(me,{style:{height:Me-85},className:"flex items-center flex-col gap-3 justify-center",children:o.jsx(re,{className:"animate-in fade-in duration-600 text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:Ue("No Clipboard History",{ns:"dashboard"})})}),o.jsx(lu,{children:o.jsx(d$,{dropAnimation:tt,children:T?o.jsx(d4,{index:1,isWrapText:q.includes(T),isExpanded:H.includes(T),style:{zIndex:999},showSelectHistoryItems:G,setSelectHistoryItem:Kt,isDark:tn,isBrokenImage:L.includes(T),setBrokenImageItem:Zt,isDragPreview:!0,isDeleting:T===Y||!!Y&&ne.includes(T),selectedItemsCount:ne.length&&ne.includes(T)?ne.length:ne.length+1,clipboard:xt.find(ze=>le?ze.historyId===T.toString().split("::pinned")[0]:ze.historyId===T)}):null})}),o.jsx(te,{className:"flex-1 mt-2"}),o.jsxs(hl,{className:"min-w-full flex flex-row justify-center h-10 items-center gap-2",value:gt.pathname,onValueChange:ze=>{Ze(ze,{replace:!0})},children:[!T&&o.jsx(zSe,{isDeleting:_,isDark:tn,setIsDeleting:P,setSelectHistoryItem:Kt,onDelete:(ze=!1)=>{var Ct;ze&&(mn(""),x([]),E([]),pn!=null&&pn.current&&pn.current.value&&(pn.current.value="",(Ct=pn==null?void 0:pn.current)==null||Ct.focus())),Lt()},showSelectHistoryItems:G,setSelectedHistoryItems:ee,setShowSelectHistoryItems:Z,selectedHistoryItems:ne}),o.jsx(Yo,{className:"self-center",id:"tabs-history_tour",children:T?o.jsx(jr,{value:"",className:"p-0.5",children:o.jsx(ASe,{id:wA})}):o.jsxs(o.Fragment,{children:[o.jsx(jr,{value:"/history",className:"min-w-[90px]",children:yeMe&&Me>0&&o.jsx(te,{className:"p-2 pt-0 py-4 pr-0 pb-0 m-0 select-none",children:o.jsx(or,{style:{height:Me-20},onScroll:(_e,ze)=>{de(ze)},children:o.jsx(me,{style:{height:Me-20},className:"flex items-start flex-col justify-start p-0",children:o.jsx(m5e,{historyDragActive:!!T,isDark:tn,dragOverBoardId:W})})})})})}):o.jsx(te,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.7]",children:o.jsx(_1,{disableWidth:!0,children:({height:Me})=>Me&&Me>0&&o.jsxs(te,{className:"p-4 py-3 select-auto relative pt-5 mt-3",children:[o.jsx(Se,{variant:"ghost",className:"z-10 px-2 absolute top-[-2px] right-[10px] text-slate-400 cursor-pointer hover:bg-slate-100 dark:text-slate-500 hover:dark:bg-slate-700",onClick:()=>{Bs.value=null,Oa.value=null},children:o.jsx(In,{size:22})}),o.jsx(or,{style:{height:Me-40},autoHide:!1,onScroll:(_e,ze)=>{de(ze)},children:o.jsxs(me,{style:{height:Me-85},children:[Bs.value&&o.jsx(PV,{clipId:Bs.value,isHistoryDragActive:!!T,isDark:tn}),fe&&o.jsx(OSe,{setLargeViewItemId:_e=>{Oa.value=_e},setSelectHistoryItem:Kt,onCopy:s,onCopyPaste:u,pastingCountDown:fe.historyId===ft?l:null,isPasted:fe.historyId===ft,isCopied:fe.historyId===pt,isSaved:fe.historyId===p,setSavingItem:h,isDeleting:fe.historyId===Y||!!Y&&!!T&&ne.includes(fe.historyId)||_&&ne.includes(fe.historyId),isSelected:ne.includes(fe.historyId),setBrokenImageItem:Zt,isBrokenImage:L.includes(fe.historyId),showTimeAgo:fe.showTimeAgo,timeAgo:fe.timeAgo,searchTerm:ut?rn:"",invalidateClipboardHistoryQuery:()=>{Et(),Lt()},setExpanded:vn,isDark:tn,clipboard:fe,removeLinkMetaData:Ie,generateLinkMetaData:je})]})})]})})})})]},ve?"swap":"no-swap")})})}finally{t.f()}}class MV{constructor(e){kt(this,"root");this.root=WSe(e)}get data(){var e,n;return(n=(e=this.root.children)==null?void 0:e.map(r=>r.data))!=null?n:[]}create(e){const n=e.parentId?this.find(e.parentId):this.root;if(!n)return null;n.addChild(e.data,e.index)}move(e){const n=this.find(e.id),r=e.parentId?this.find(e.parentId):this.root;!n||!r||(r.addChild(n.data,e.index),n.drop())}update(e){const n=this.find(e.id);n&&n.update(e.changes)}drop(e){const n=this.find(e.id);n&&n.drop()}find(e,n=this.root){if(!n)return null;if(n.id===e)return n;if(n.children){for(let r of n.children){const s=this.find(e,r);if(s)return s}return null}return null}}function WSe(t){const e=new DV({id:"ROOT"},null);return e.children=t.map(n=>tN(n,e)),e}function tN(t,e){const n=new DV(t,e);return t.children&&(n.children=t.children.map(r=>tN(r,n))),n}class DV{constructor(e,n){kt(this,"id");kt(this,"children");this.data=e,this.parent=n,this.id=e.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(e,n){var s,a;const r=tN(e,this);this.children=(s=this.children)!=null?s:[],this.children.splice(n,0,r),this.data.children=(a=this.data.children)!=null?a:[],this.data.children.splice(n,0,e)}removeChild(e){var n,r;(n=this.children)==null||n.splice(e,1),(r=this.data.children)==null||r.splice(e,1)}update(e){if(this.hasParent()){const n=this.childIndex;this.parent.addChild(R(R({},this.data),e),n),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let VSe=0;function qSe(t){const[e,n]=v.useState(t),r=v.useMemo(()=>new MV(e),[e]);return[e,{onMove:d=>{for(const p of d.dragIds)r.move({id:p,parentId:d.parentId,index:d.index});n(r.data)},onRename:({name:d,id:p})=>{r.update({id:p,changes:{name:d}}),n(r.data)},onCreate:({parentId:d,index:p,type:h})=>{const m={id:"simple-tree-id-".concat(VSe++),name:""};return h==="internal"&&(m.children=[]),r.create({parentId:d,index:p,data:m}),n(r.data),m},onDelete:d=>{d.ids.forEach(p=>r.drop({id:p})),n(r.data)}}]}function KSe(t){if(t.initialData&&t.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(t.initialData&&(t.onCreate||t.onDelete||t.onMove||t.onRename))throw new Error("React Arborist Tree => You passed the initialData prop along with a data handler.\nUse the data prop if you want to provide your own handlers.");if(t.initialData){const[e,n]=qSe(t.initialData);return ae(R(R({},t),n),{data:e})}else return t}const IV=v.createContext({dragDropManager:void 0});function $a(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var kA=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),h4=function(){return Math.random().toString(36).substring(7).split("").join(".")},Dw={INIT:"@@redux/INIT"+h4(),REPLACE:"@@redux/REPLACE"+h4(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h4()}};function GSe(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function nN(t,e,n){var r;if(typeof e=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error($a(0));if(typeof e=="function"&&typeof n=="undefined"&&(n=e,e=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error($a(1));return n(nN)(t,e)}if(typeof t!="function")throw new Error($a(2));var s=t,a=e,i=[],l=i,u=!1;function d(){l===i&&(l=i.slice())}function p(){if(u)throw new Error($a(3));return a}function h(g){if(typeof g!="function")throw new Error($a(4));if(u)throw new Error($a(5));var w=!0;return d(),l.push(g),function(){if(w){if(u)throw new Error($a(6));w=!1,d();var S=l.indexOf(g);l.splice(S,1),i=null}}}function m(g){if(!GSe(g))throw new Error($a(7));if(typeof g.type=="undefined")throw new Error($a(8));if(u)throw new Error($a(9));try{u=!0,a=s(a,g)}finally{u=!1}for(var w=i=l,x=0;xr&&r[s]?r[s]:n||null,t)}function QSe(t,e){return t.filter(n=>n!==e)}function AV(t){return typeof t=="object"}function JSe(t,e){const n=new Map,r=a=>{n.set(a,n.has(a)?n.get(a)+1:1)};t.forEach(r),e.forEach(r);const s=[];return n.forEach((a,i)=>{a===1&&s.push(i)}),s}function e6e(t,e){return t.filter(n=>e.indexOf(n)>-1)}const rN="dnd-core/INIT_COORDS",kk="dnd-core/BEGIN_DRAG",sN="dnd-core/PUBLISH_DRAG_SOURCE",Ck="dnd-core/HOVER",Sk="dnd-core/DROP",jk="dnd-core/END_DRAG";function SA(t,e){return{type:rN,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}const t6e={type:rN,payload:{clientOffset:null,sourceClientOffset:null}};function n6e(t){return function(n=[],r={publishSource:!0}){const{publishSource:s=!0,clientOffset:a,getSourceClientOffset:i}=r,l=t.getMonitor(),u=t.getRegistry();t.dispatch(SA(a)),r6e(n,l,u);const d=o6e(n,l);if(d==null){t.dispatch(t6e);return}let p=null;if(a){if(!i)throw new Error("getSourceClientOffset must be defined");s6e(i),p=i(d)}t.dispatch(SA(a,p));const m=u.getSource(d).beginDrag(l,d);if(m==null)return;a6e(m),u.pinSource(d);const b=u.getSourceType(d);return{type:kk,payload:{itemType:b,item:m,sourceId:d,clientOffset:a||null,sourceClientOffset:p||null,isSourcePublic:!!s}}}}function r6e(t,e,n){$n(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(r){$n(n.getSource(r),"Expected sourceIds to be registered.")})}function s6e(t){$n(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function a6e(t){$n(AV(t),"Item must be an object.")}function o6e(t,e){let n=null;for(let r=t.length-1;r>=0;r--)if(e.canDragSource(t[r])){n=t[r];break}return n}function i6e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l6e(t){for(var e=1;e{const u=d6e(i,l,s,r),d={type:Sk,payload:{dropResult:l6e({},n,u)}};t.dispatch(d)})}}function u6e(t){$n(t.isDragging(),"Cannot call drop while not dragging."),$n(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function d6e(t,e,n,r){const s=n.getTarget(t);let a=s?s.drop(r,t):void 0;return f6e(a),typeof a=="undefined"&&(a=e===0?{}:r.getDropResult()),a}function f6e(t){$n(typeof t=="undefined"||AV(t),"Drop result must either be an object or undefined.")}function h6e(t){const e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function p6e(t){return function(){const n=t.getMonitor(),r=t.getRegistry();m6e(n);const s=n.getSourceId();return s!=null&&(r.getSource(s,!0).endDrag(n,s),r.unpinSource()),{type:jk}}}function m6e(t){$n(t.isDragging(),"Cannot call endDrag while not dragging.")}function xj(t,e){return e===null?t===null:Array.isArray(t)?t.some(n=>n===e):t===e}function g6e(t){return function(n,{clientOffset:r}={}){v6e(n);const s=n.slice(0),a=t.getMonitor(),i=t.getRegistry(),l=a.getItemType();return y6e(s,i,l),x6e(s,a,i),b6e(s,a,i),{type:Ck,payload:{targetIds:s,clientOffset:r||null}}}}function v6e(t){$n(Array.isArray(t),"Expected targetIds to be an array.")}function x6e(t,e,n){$n(e.isDragging(),"Cannot call hover while not dragging."),$n(!e.didDrop(),"Cannot call hover after drop.");for(let r=0;r=0;r--){const s=t[r],a=e.getTargetType(s);xj(a,n)||t.splice(r,1)}}function b6e(t,e,n){t.forEach(function(r){n.getTarget(r).hover(e,r)})}function w6e(t){return function(){if(t.getMonitor().isDragging())return{type:sN}}}function k6e(t){return{beginDrag:n6e(t),publishDragSource:w6e(t),hover:g6e(t),drop:c6e(t),endDrag:p6e(t)}}class C6e{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:n}=this.store;function r(a){return(...i)=>{const l=a.apply(e,i);typeof l!="undefined"&&n(l)}}const s=k6e(this);return Object.keys(s).reduce((a,i)=>{const l=s[i];return a[i]=r(l),a},{})}dispatch(e){this.store.dispatch(e)}constructor(e,n){this.isSetUp=!1,this.handleRefCountChange=()=>{const r=this.store.getState().refCount>0;this.backend&&(r&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!r&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=n,e.subscribe(this.handleRefCountChange)}}function S6e(t,e){return{x:t.x+e.x,y:t.y+e.y}}function LV(t,e){return{x:t.x-e.x,y:t.y-e.y}}function j6e(t){const{clientOffset:e,initialClientOffset:n,initialSourceClientOffset:r}=t;return!e||!n||!r?null:LV(S6e(e,r),n)}function E6e(t){const{clientOffset:e,initialClientOffset:n}=t;return!e||!n?null:LV(e,n)}const H1=[],aN=[];H1.__IS_NONE__=!0;aN.__IS_ALL__=!0;function N6e(t,e){return t===H1?!1:t===aN||typeof e=="undefined"?!0:e6e(e,t).length>0}class _6e{subscribeToStateChange(e,n={}){const{handlerIds:r}=n;$n(typeof e=="function","listener must be a function."),$n(typeof r=="undefined"||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let s=this.store.getState().stateId;const a=()=>{const i=this.store.getState(),l=i.stateId;try{l===s||l===s+1&&!N6e(i.dirtyHandlerIds,r)||e()}finally{s=l}};return this.store.subscribe(a)}subscribeToOffsetChange(e){$n(typeof e=="function","listener must be a function.");let n=this.store.getState().dragOffset;const r=()=>{const s=this.store.getState().dragOffset;s!==n&&(n=s,e())};return this.store.subscribe(r)}canDragSource(e){if(!e)return!1;const n=this.registry.getSource(e);return $n(n,"Expected to find a valid source. sourceId=".concat(e)),this.isDragging()?!1:n.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const n=this.registry.getTarget(e);if($n(n,"Expected to find a valid target. targetId=".concat(e)),!this.isDragging()||this.didDrop())return!1;const r=this.registry.getTargetType(e),s=this.getItemType();return xj(r,s)&&n.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;const n=this.registry.getSource(e,!0);if($n(n,"Expected to find a valid source. sourceId=".concat(e)),!this.isDragging()||!this.isSourcePublic())return!1;const r=this.registry.getSourceType(e),s=this.getItemType();return r!==s?!1:n.isDragging(this,e)}isOverTarget(e,n={shallow:!1}){if(!e)return!1;const{shallow:r}=n;if(!this.isDragging())return!1;const s=this.registry.getTargetType(e),a=this.getItemType();if(a&&!xj(s,a))return!1;const i=this.getTargetIds();if(!i.length)return!1;const l=i.indexOf(e);return r?l===i.length-1:l>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return j6e(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return E6e(this.store.getState().dragOffset)}constructor(e,n){this.store=e,this.registry=n}}const jA=typeof global!="undefined"?global:self,RV=jA.MutationObserver||jA.WebKitMutationObserver;function OV(t){return function(){const n=setTimeout(s,0),r=setInterval(s,50);function s(){clearTimeout(n),clearInterval(r),t()}}}function T6e(t){let e=1;const n=new RV(t),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){e=-e,r.data=e}}const P6e=typeof RV=="function"?T6e:OV;class M6e{enqueueTask(e){const{queue:n,requestFlush:r}=this;n.length||(r(),this.flushing=!0),n[n.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.indexthis.capacity){for(let r=0,s=e.length-this.index;r{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=P6e(this.flush),this.requestErrorThrow=OV(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class D6e{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,n){this.onError=e,this.release=n,this.task=null}}class I6e{create(e){const n=this.freeTasks,r=n.length?n.pop():new D6e(this.onError,s=>n[n.length]=s);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}const $V=new M6e,A6e=new I6e($V.registerPendingError);function L6e(t){$V.enqueueTask(A6e.create(t))}const oN="dnd-core/ADD_SOURCE",iN="dnd-core/ADD_TARGET",lN="dnd-core/REMOVE_SOURCE",Ek="dnd-core/REMOVE_TARGET";function R6e(t){return{type:oN,payload:{sourceId:t}}}function O6e(t){return{type:iN,payload:{targetId:t}}}function $6e(t){return{type:lN,payload:{sourceId:t}}}function z6e(t){return{type:Ek,payload:{targetId:t}}}function F6e(t){$n(typeof t.canDrag=="function","Expected canDrag to be a function."),$n(typeof t.beginDrag=="function","Expected beginDrag to be a function."),$n(typeof t.endDrag=="function","Expected endDrag to be a function.")}function H6e(t){$n(typeof t.canDrop=="function","Expected canDrop to be a function."),$n(typeof t.hover=="function","Expected hover to be a function."),$n(typeof t.drop=="function","Expected beginDrag to be a function.")}function yj(t,e){if(e&&Array.isArray(t)){t.forEach(n=>yj(n,!1));return}$n(typeof t=="string"||typeof t=="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var gi;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(gi||(gi={}));let B6e=0;function U6e(){return B6e++}function W6e(t){const e=U6e().toString();switch(t){case gi.SOURCE:return"S".concat(e);case gi.TARGET:return"T".concat(e);default:throw new Error("Unknown Handler Role: ".concat(t))}}function EA(t){switch(t[0]){case"S":return gi.SOURCE;case"T":return gi.TARGET;default:throw new Error("Cannot parse handler ID: ".concat(t))}}function NA(t,e){const n=t.entries();let r=!1;do{const{done:s,value:[,a]}=n.next();if(a===e)return!0;r=!!s}while(!r);return!1}class V6e{addSource(e,n){yj(e),F6e(n);const r=this.addHandler(gi.SOURCE,e,n);return this.store.dispatch(R6e(r)),r}addTarget(e,n){yj(e,!0),H6e(n);const r=this.addHandler(gi.TARGET,e,n);return this.store.dispatch(O6e(r)),r}containsHandler(e){return NA(this.dragSources,e)||NA(this.dropTargets,e)}getSource(e,n=!1){return $n(this.isSourceId(e),"Expected a valid source ID."),n&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return $n(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return $n(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return $n(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return EA(e)===gi.SOURCE}isTargetId(e){return EA(e)===gi.TARGET}removeSource(e){$n(this.getSource(e),"Expected an existing source."),this.store.dispatch($6e(e)),L6e(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){$n(this.getTarget(e),"Expected an existing target."),this.store.dispatch(z6e(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const n=this.getSource(e);$n(n,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=n}unpinSource(){$n(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,n,r){const s=W6e(e);return this.types.set(s,n),e===gi.SOURCE?this.dragSources.set(s,r):e===gi.TARGET&&this.dropTargets.set(s,r),s}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const q6e=(t,e)=>t===e;function K6e(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function G6e(t,e,n=q6e){if(t.length!==e.length)return!1;for(let r=0;r0||!G6e(n,r)))return H1;const i=r[r.length-1],l=n[n.length-1];return i!==l&&(i&&s.push(i),l&&s.push(l)),s}function Z6e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X6e(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function uje(t,e){if(t==null)return{};var n={},r=Object.keys(t),s,a;for(a=0;a=0)&&(n[s]=t[s]);return n}let TA=0;const qb=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var dje=v.memo(function(e){var{children:n}=e,r=cje(e,["children"]);const[s,a]=fje(r);return v.useEffect(()=>{if(a){const i=zV();return++TA,()=>{--TA===0&&(i[qb]=null)}}},[]),o.jsx(IV.Provider,{value:s,children:n})});function fje(t){if("manager"in t)return[{dragDropManager:t.manager},!1];const e=hje(t.backend,t.context,t.options,t.debugMode),n=!t.context;return[e,n]}function hje(t,e=zV(),n,r){const s=e;return s[qb]||(s[qb]={dragDropManager:ije(t,e,n,r)}),s[qb]}function zV(){return typeof global!="undefined"?global:window}var pje=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,s,a;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(s=r;s--!==0;)if(!t(e[s],n[s]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(a=Object.keys(e),r=a.length,r!==Object.keys(n).length)return!1;for(s=r;s--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[s]))return!1;for(s=r;s--!==0;){var i=a[s];if(!t(e[i],n[i]))return!1}return!0}return e!==e&&n!==n};const mje=ou(pje),Mh=typeof window!="undefined"?v.useLayoutEffect:v.useEffect;function FV(t,e,n){const[r,s]=v.useState(()=>e(t)),a=v.useCallback(()=>{const i=e(t);mje(r,i)||(s(i),n&&n())},[r,t,n]);return Mh(a),[r,a]}function gje(t,e,n){const[r,s]=FV(t,e,n);return Mh(function(){const i=t.getHandlerId();if(i!=null)return t.subscribeToStateChange(s,{handlerIds:[i]})},[t,s]),r}function HV(t,e,n){return gje(e,t||(()=>({})),()=>n.reconnect())}function BV(t,e){const n=[...e||[]];return e==null&&typeof t!="function"&&n.push(t),v.useMemo(()=>typeof t=="function"?t():t,n)}function vje(t){return v.useMemo(()=>t.hooks.dragSource(),[t])}function xje(t){return v.useMemo(()=>t.hooks.dragPreview(),[t])}let p4=!1,m4=!1;class yje{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){$n(!p4,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p4=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{p4=!1}}isDragging(){if(!this.sourceId)return!1;$n(!m4,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return m4=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{m4=!1}}subscribeToStateChange(e,n){return this.internalMonitor.subscribeToStateChange(e,n)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,n){return this.internalMonitor.isOverTarget(e,n)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let g4=!1;class bje{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,n){return this.internalMonitor.subscribeToStateChange(e,n)}canDrop(){if(!this.targetId)return!1;$n(!g4,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return g4=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{g4=!1}}isOver(e){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,e):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function wje(t,e,n){const r=n.getRegistry(),s=r.addTarget(t,e);return[s,()=>r.removeTarget(s)]}function kje(t,e,n){const r=n.getRegistry(),s=r.addSource(t,e);return[s,()=>r.removeSource(s)]}function bj(t,e,n,r){let s=n?n.call(r,t,e):void 0;if(s!==void 0)return!!s;if(t===e)return!0;if(typeof t!="object"||!t||typeof e!="object"||!e)return!1;const a=Object.keys(t),i=Object.keys(e);if(a.length!==i.length)return!1;const l=Object.prototype.hasOwnProperty.bind(e);for(let u=0;u, or turn it into a ")+"drag source or a drop target itself.")}function Sje(t){return(e=null,n=null)=>{if(!v.isValidElement(e)){const a=e;return t(a,n),a}const r=e;return Cje(r),jje(r,n?a=>t(a,n):t)}}function UV(t){const e={};return Object.keys(t).forEach(n=>{const r=t[n];if(n.endsWith("Ref"))e[n]=t[n];else{const s=Sje(r);e[n]=()=>s}}),e}function PA(t,e){typeof t=="function"?t(e):t.current=e}function jje(t,e){const n=t.ref;return $n(typeof n!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?v.cloneElement(t,{ref:r=>{PA(n,r),PA(e,r)}}):v.cloneElement(t,{ref:e})}class Eje{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return n&&this.disconnectDragSource(),this.handlerId?e?(n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),n):(this.lastConnectedDragSource=e,n):n}reconnectDragPreview(e=!1){const n=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(r&&this.disconnectDragPreview(),!!this.handlerId){if(!n){this.lastConnectedDragPreview=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=n,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,n,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!bj(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!bj(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=UV({dragSource:(n,r)=>{this.clearDragSource(),this.dragSourceOptions=r||null,wj(n)?this.dragSourceRef=n:this.dragSourceNode=n,this.reconnectDragSource()},dragPreview:(n,r)=>{this.clearDragPreview(),this.dragPreviewOptions=r||null,wj(n)?this.dragPreviewRef=n:this.dragPreviewNode=n,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class Nje{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!bj(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=UV({dropTarget:(n,r)=>{this.clearDropTarget(),this.dropTargetOptions=r,wj(n)?this.dropTargetRef=n:this.dropTargetNode=n,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function Uh(){const{dragDropManager:t}=v.useContext(IV);return $n(t!=null,"Expected drag drop context"),t}function _je(t,e){const n=Uh(),r=v.useMemo(()=>new Eje(n.getBackend()),[n]);return Mh(()=>(r.dragSourceOptions=t||null,r.reconnect(),()=>r.disconnectDragSource()),[r,t]),Mh(()=>(r.dragPreviewOptions=e||null,r.reconnect(),()=>r.disconnectDragPreview()),[r,e]),r}function Tje(){const t=Uh();return v.useMemo(()=>new yje(t),[t])}class Pje{beginDrag(){const e=this.spec,n=this.monitor;let r=null;return typeof e.item=="object"?r=e.item:typeof e.item=="function"?r=e.item(n):r={},r!=null?r:null}canDrag(){const e=this.spec,n=this.monitor;return typeof e.canDrag=="boolean"?e.canDrag:typeof e.canDrag=="function"?e.canDrag(n):!0}isDragging(e,n){const r=this.spec,s=this.monitor,{isDragging:a}=r;return a?a(s):n===e.getSourceId()}endDrag(){const e=this.spec,n=this.monitor,r=this.connector,{end:s}=e;s&&s(n.getItem(),n),r.reconnect()}constructor(e,n,r){this.spec=e,this.monitor=n,this.connector=r}}function Mje(t,e,n){const r=v.useMemo(()=>new Pje(t,e,n),[e,n]);return v.useEffect(()=>{r.spec=t},[t]),r}function Dje(t){return v.useMemo(()=>{const e=t.type;return $n(e!=null,"spec.type must be defined"),e},[t])}function Ije(t,e,n){const r=Uh(),s=Mje(t,e,n),a=Dje(t);Mh(function(){if(a!=null){const[l,u]=kje(a,s,r);return e.receiveHandlerId(l),n.receiveHandlerId(l),u}},[r,e,n,s,a])}function Aje(t,e){const n=BV(t,e);$n(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const r=Tje(),s=_je(n.options,n.previewOptions);return Ije(n,r,s),[HV(n.collect,r,s),vje(s),xje(s)]}function Lje(t){const n=Uh().getMonitor(),[r,s]=FV(n,t);return v.useEffect(()=>n.subscribeToOffsetChange(s)),v.useEffect(()=>n.subscribeToStateChange(s)),r}function Rje(t){return v.useMemo(()=>t.hooks.dropTarget(),[t])}function Oje(t){const e=Uh(),n=v.useMemo(()=>new Nje(e.getBackend()),[e]);return Mh(()=>(n.dropTargetOptions=t||null,n.reconnect(),()=>n.disconnectDropTarget()),[t]),n}function $je(){const t=Uh();return v.useMemo(()=>new bje(t),[t])}function zje(t){const{accept:e}=t;return v.useMemo(()=>($n(t.accept!=null,"accept must be defined"),Array.isArray(e)?e:[e]),[e])}class Fje{canDrop(){const e=this.spec,n=this.monitor;return e.canDrop?e.canDrop(n.getItem(),n):!0}hover(){const e=this.spec,n=this.monitor;e.hover&&e.hover(n.getItem(),n)}drop(){const e=this.spec,n=this.monitor;if(e.drop)return e.drop(n.getItem(),n)}constructor(e,n){this.spec=e,this.monitor=n}}function Hje(t,e){const n=v.useMemo(()=>new Fje(t,e),[e]);return v.useEffect(()=>{n.spec=t},[t]),n}function Bje(t,e,n){const r=Uh(),s=Hje(t,e),a=zje(t);Mh(function(){const[l,u]=wje(a,s,r);return e.receiveHandlerId(l),n.receiveHandlerId(l),u},[r,e,s,n,a.map(i=>i.toString()).join("|")])}function WV(t,e){const n=BV(t,e),r=$je(),s=Oje(n.options);return Bje(n,r,s),[HV(n.collect,r,s),Rje(s)]}const VV=v.createContext(null);function eo(){const t=v.useContext(VV);if(t===null)throw new Error("No Tree Api Provided");return t}const qV=v.createContext(null);function Uje(){const t=v.useContext(qV);if(t===null)throw new Error("Provide a NodesContext");return t}const KV=v.createContext(null);function Wje(){const t=v.useContext(KV);if(t===null)throw new Error("Provide a DnDContext");return t}const GV=v.createContext(0);function cN(){v.useContext(GV)}const Vje={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},qje=t=>{if(!t)return{display:"none"};const{x:e,y:n}=t;return{transform:"translate(".concat(e,"px, ").concat(n,"px)")}},Kje=t=>{if(!t)return{display:"none"};const{x:e,y:n}=t;return{transform:"translate(".concat(e+10,"px, ").concat(n+10,"px)")}};function YV(t){const e=Te(13),{offset:n,mouse:r,id:s,dragIds:a,isDragging:i}=t;let l;e[0]!==s||e[1]!==a?(l=o.jsx(Xje,{id:s,dragIds:a}),e[0]=s,e[1]=a,e[2]=l):l=e[2];let u;e[3]!==n||e[4]!==l?(u=o.jsx(Yje,{offset:n,children:l}),e[3]=n,e[4]=l,e[5]=u):u=e[5];let d;e[6]!==r||e[7]!==a.length?(d=o.jsx(Zje,{mouse:r,count:a.length}),e[6]=r,e[7]=a.length,e[8]=d):d=e[8];let p;return e[9]!==i||e[10]!==u||e[11]!==d?(p=o.jsxs(Gje,{isDragging:i,children:[u,d]}),e[9]=i,e[10]=u,e[11]=d,e[12]=p):p=e[12],p}const Gje=v.memo(function(e){const n=Te(2);if(!e.isDragging)return null;let r;return n[0]!==e.children?(r=o.jsx("div",{style:Vje,children:e.children}),n[0]=e.children,n[1]=r):r=n[1],r});function Yje(t){const e=Te(5);let n;e[0]!==t.offset?(n=qje(t.offset),e[0]=t.offset,e[1]=n):n=e[1];let r;return e[2]!==n||e[3]!==t.children?(r=o.jsx("div",{className:"row preview",style:n,children:t.children}),e[2]=n,e[3]=t.children,e[4]=r):r=e[4],r}function Zje(t){const e=Te(5),{count:n,mouse:r}=t;if(n>1){let s;e[0]!==r?(s=Kje(r),e[0]=r,e[1]=s):s=e[1];let a;return e[2]!==s||e[3]!==n?(a=o.jsx("div",{className:"selected-count",style:s,children:n}),e[2]=s,e[3]=n,e[4]=a):a=e[4],a}else return null}const Xje=v.memo(function(e){const n=Te(9),r=eo();let s;n[0]!==r||n[1]!==e.id?(s=r.get(e.id),n[0]=r,n[1]=e.id,n[2]=s):s=n[2];const a=s;if(!a)return null;const i=a.level*r.indent;let l;n[3]!==i?(l={paddingLeft:i,opacity:.5,background:"transparent"},n[3]=i,n[4]=l):l=n[4];let u;return n[5]!==r||n[6]!==a||n[7]!==l?(u=o.jsx(r.renderNode,{preview:!0,node:a,style:l,tree:r}),n[5]=r,n[6]=a,n[7]=l,n[8]=u):u=n[8],u});function Qje(){const t=Te(10),e=eo();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=h=>({offset:h.getSourceClientOffset(),mouse:h.getClientOffset(),item:h.getItem(),isDragging:h.isDragging()}),t[0]=n):n=t[0];const{offset:r,mouse:s,item:a,isDragging:i}=Lje(n),l=e.props.renderDragPreview||YV,u=(a==null?void 0:a.id)||null;let d;t[1]!==a?(d=(a==null?void 0:a.dragIds)||[],t[1]=a,t[2]=d):d=t[2];let p;return t[3]!==l||t[4]!==r||t[5]!==s||t[6]!==u||t[7]!==d||t[8]!==i?(p=o.jsx(l,{offset:r,mouse:s,id:u,dragIds:d,isDragging:i}),t[3]=l,t[4]=r,t[5]=s,t[6]=u,t[7]=d,t[8]=i,t[9]=p):p=t[9],p}const Lv=t=>{var e;return{nodes:{open:{filtered:{},unfiltered:(e=t==null?void 0:t.initialOpenState)!=null?e:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,idWillReceiveDrop:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},p0={cursor(t){return{type:"DND_CURSOR",cursor:t}},dragStart(t,e){return{type:"DND_DRAG_START",id:t,dragIds:e}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(t,e){return{type:"DND_HOVERING",parentId:t,index:e}}};function Jje(t=Lv().dnd,e){switch(e.type){case"DND_CURSOR":return ae(R({},t),{cursor:e.cursor});case"DND_DRAG_START":return ae(R({},t),{dragId:e.id,dragIds:e.dragIds});case"DND_DRAG_END":return Lv().dnd;case"DND_HOVERING":return ae(R({},t),{parentId:e.parentId,index:e.index});default:return t}}function ZV(t,e,n){return Math.max(Math.min(t,n),e)}function XV(t){return t&&t.isLeaf}function QV(t){return t&&t.isInternal&&!t.isOpen}const JV=(t,e)=>{let n=t;for(;n;){if(n.id===e.id)return!0;n=n.parent}return!1},eq=t=>{if(!t.parent)throw Error("Node does not have a parent");return t.parent.children.findIndex(e=>e.id===t.id)};function e8e(){}function uN(t,e){if(!t)return null;if(t.id===e)return t;if(t.children)for(let n of t.children){const r=uN(n,e);if(r)return r}return null}function Iw(t,e){if(e(t),t.children)for(let n of t.children)Iw(n,e)}function tq(t){const e=rq(t);let n;for(let r=0;r=0?t[e-1]:t[t.length-1]}function rq(t){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(e=>e===t||!t.contains(e))}function f1(t,e){return typeof e=="boolean"?e:typeof e=="string"?t[e]:e(t)}function sq(t){return t===null?null:_f(t)}function _f(t){return typeof t=="string"?t:t.id}function r8e(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}function aq(t,...e){if(t)return t(...e)}function oq(t){return new Promise((e,n)=>{let r=0;function s(){r+=1,r===100&&n(),t()?e():setTimeout(s,10)}s()})}function iq(t){var n,r;const e=t.focusedNode;return e?e.isOpen?0:e.parent?e.childIndex+1:0:(r=(n=t.root.children)==null?void 0:n.length)!=null?r:0}function lq(t){const e=t.focusedNode;return e?e.isOpen?e.id:e.parent&&!e.parent.isRoot?e.parent.id:null:null}const s8e=Object.freeze(Object.defineProperty({__proto__:null,access:f1,bound:ZV,dfs:uN,focusNextElement:tq,focusPrevElement:nq,getInsertIndex:iq,getInsertParentId:lq,identify:_f,identifyNull:sq,indexOf:eq,isClosed:QV,isDecendent:JV,isItem:XV,mergeRefs:r8e,noop:e8e,safeRun:aq,waitFor:oq,walk:Iw},Symbol.toStringTag,{value:"Module"}));function a8e(t,e){const n=t.getBoundingClientRect(),r=e.x-Math.round(n.x),s=e.y-Math.round(n.y),a=n.height,i=su&&se;)n=n.parent;const r=((a=n.parent)==null?void 0:a.id)||null,s=eq(n)+1;return{parentId:r,index:s}}function cq(t){var l;const e=a8e(t.element,t.offset),{node:n,nextNode:r,prevNode:s}=t,[a,i]=o8e(n,s,r,e);if(n&&n.isInternal&&e.inMiddle)return{drop:v4(n.id,0),cursor:l8e(n.id)};if(!a)return{drop:v4((l=i==null?void 0:i.parent)==null?void 0:l.id,0),cursor:x4(0,0)};if(XV(a)||QV(a)){const u=i8e(e,a,i,t.indent);return{drop:c8e(a,u),cursor:x4(a.rowIndex+1,u)}}return{drop:v4(a==null?void 0:a.id,0),cursor:x4(a.rowIndex+1,a.level+1)}}function u8e(){const t=Te(3),e=eo();let n,r;t[0]!==e?(n=()=>({accept:"NODE",canDrop:(a,i)=>i.isOver({shallow:!0})?e.canDrop():!1,hover:(a,i)=>{if(!i.isOver({shallow:!0}))return;const l=i.getClientOffset();if(!e.listEl.current||!l)return;const{cursor:u,drop:d}=cq({element:e.listEl.current,offset:l,indent:e.indent,node:null,prevNode:e.visibleNodes[e.visibleNodes.length-1],nextNode:null});d&&e.dispatch(p0.hovering(d.parentId,d.index)),i.canDrop()?u&&e.showCursor(u):e.hideCursor()}}),r=[e],t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const[,s]=WV(n,r);s(e.listEl)}function d8e(t){return u8e(),t.children}function uq(t){let e=null;return()=>(e==null&&(e=t()),e)}function f8e(t,e){return t.filter(n=>n!==e)}function h8e(t,e){const n=new Set,r=a=>n.add(a);t.forEach(r),e.forEach(r);const s=[];return n.forEach(a=>s.push(a)),s}class p8e{enter(e){const n=this.entered.length,r=s=>this.isNodeInDocument(s)&&(!s.contains||s.contains(e));return this.entered=h8e(this.entered.filter(r),[e]),n===0&&this.entered.length>0}leave(e){const n=this.entered.length;return this.entered=f8e(this.entered.filter(this.isNodeInDocument),e),n>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class m8e{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn("Browser doesn't allow reading \"".concat(e,'" until the drop event.')),null}})})}loadDataTransfer(e){if(e){const n={};Object.keys(this.config.exposeProperties).forEach(r=>{const s=this.config.exposeProperties[r];s!=null&&(n[r]={value:s(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,n)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,n){return n===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const dq="__NATIVE_FILE__",fq="__NATIVE_URL__",hq="__NATIVE_TEXT__",pq="__NATIVE_HTML__",MA=Object.freeze(Object.defineProperty({__proto__:null,FILE:dq,HTML:pq,TEXT:hq,URL:fq},Symbol.toStringTag,{value:"Module"}));function y4(t,e,n){const r=e.reduce((s,a)=>s||t.getData(a),"");return r!=null?r:n}const kj={[dq]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[pq]:{exposeProperties:{html:(t,e)=>y4(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[fq]:{exposeProperties:{urls:(t,e)=>y4(t,e,"").split("\n"),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[hq]:{exposeProperties:{text:(t,e)=>y4(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function g8e(t,e){const n=kj[t];if(!n)throw new Error("native type ".concat(t," has no configuration"));const r=new m8e(n);return r.loadDataTransfer(e),r}function b4(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(kj).filter(n=>{const r=kj[n];return r!=null&&r.matchesTypes?r.matchesTypes.some(s=>e.indexOf(s)>-1):!1})[0]||null}const v8e=uq(()=>/firefox/i.test(navigator.userAgent)),mq=uq(()=>!!window.safari);class DA{interpolate(e){const{xs:n,ys:r,c1s:s,c2s:a,c3s:i}=this;let l=n.length-1;if(e===n[l])return r[l];let u=0,d=i.length-1,p;for(;u<=d;){p=Math.floor(.5*(u+d));const b=n[p];if(be)d=p-1;else return r[p]}l=Math.max(0,d);const h=e-n[l],m=h*h;return r[l]+s[l]*h+a[l]*m+i[l]*h*m}constructor(e,n){const{length:r}=e,s=[];for(let b=0;be[b]{let P=new DA([0,.5,1],[u.y,u.y/p*C,u.y+C-p]).interpolate(m);return mq()&&a&&(P+=(window.devicePixelRatio-1)*C),P},w=()=>new DA([0,.5,1],[u.x,u.x/d*b,u.x+b-d]).interpolate(h),{offsetX:x,offsetY:S}=s,E=x===0||x,N=S===0||S;return{x:E?x:w(),y:N?S:g()}}class k8e{get window(){if(this.globalContext)return this.globalContext;if(typeof window!="undefined")return window}get document(){var e;return!((e=this.globalContext)===null||e===void 0)&&e.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}constructor(e,n){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=n}}function C8e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function IA(t){for(var e=1;e{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,n,r){this.sourceNodes.set(e,n),this.sourceNodeOptions.set(e,r);const s=i=>this.handleDragStart(i,e),a=i=>this.handleSelectStart(i);return n.setAttribute("draggable","true"),n.addEventListener("dragstart",s),n.addEventListener("selectstart",a),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),n.removeEventListener("dragstart",s),n.removeEventListener("selectstart",a),n.setAttribute("draggable","false")}}connectDropTarget(e,n){const r=i=>this.handleDragEnter(i,e),s=i=>this.handleDragOver(i,e),a=i=>this.handleDrop(i,e);return n.addEventListener("dragenter",r),n.addEventListener("dragover",s),n.addEventListener("drop",a),()=>{n.removeEventListener("dragenter",r),n.removeEventListener("dragover",s),n.removeEventListener("drop",a)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(e);return IA({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(e);return IA({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(MA).some(n=>MA[n]===e)}beginDragNativeItem(e,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=g8e(e,n),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;const n=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var r;return(r=this.rootElement)===null||r===void 0?void 0:r.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},n)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)===null||e===void 0||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,n){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}handleDragEnter(e,n){this.dragEnterTargetIds.unshift(n)}handleDragOver(e,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}handleDrop(e,n){this.dropTargetIds.unshift(n)}constructor(e,n,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=s=>{const a=this.sourceNodes.get(s);return a&&gq(a)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=s=>!!(s&&this.document&&this.document.body&&this.document.body.contains(s)),this.endDragIfSourceWasRemovedFromDOM=()=>{const s=this.currentDragSourceNode;s==null||this.isNodeInDocument(s)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=s=>{this.hoverRafId===null&&typeof requestAnimationFrame!="undefined"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(s||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame!="undefined"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=s=>{if(s.defaultPrevented)return;const{dragStartSourceIds:a}=this;this.dragStartSourceIds=null;const i=pb(s);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(a||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:i});const{dataTransfer:l}=s,u=b4(l);if(this.monitor.isDragging()){if(l&&typeof l.setDragImage=="function"){const p=this.monitor.getSourceId(),h=this.sourceNodes.get(p),m=this.sourcePreviewNodes.get(p)||h;if(m){const{anchorX:b,anchorY:C,offsetX:g,offsetY:w}=this.getCurrentSourcePreviewNodeOptions(),E=w8e(h,m,i,{anchorX:b,anchorY:C},{offsetX:g,offsetY:w});l.setDragImage(m,E.x,E.y)}}try{l==null||l.setData("application/json",{})}catch(p){}this.setCurrentDragSourceNode(s.target);const{captureDraggingState:d}=this.getCurrentSourcePreviewNodeOptions();d?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(u)this.beginDragNativeItem(u);else{if(l&&!l.types&&(s.target&&!s.target.hasAttribute||!s.target.hasAttribute("draggable")))return;s.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=s=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var a;(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(s.dataTransfer)}if(!this.enterLeaveCounter.enter(s.target)||this.monitor.isDragging())return;const{dataTransfer:l}=s,u=b4(l);u&&this.beginDragNativeItem(u,l)},this.handleTopDragEnter=s=>{const{dragEnterTargetIds:a}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=s.altKey,a.length>0&&this.actions.hover(a,{clientOffset:pb(s)}),a.some(l=>this.monitor.canDropOnTarget(l))&&(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=s=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var a;(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(s.dataTransfer)}},this.handleTopDragOver=s=>{const{dragOverTargetIds:a}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="none");return}this.altKeyPressed=s.altKey,this.lastClientOffset=pb(s),this.scheduleHover(a),(a||[]).some(l=>this.monitor.canDropOnTarget(l))?(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?s.preventDefault():(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=s=>{this.isDraggingNativeItem()&&s.preventDefault(),this.enterLeaveCounter.leave(s.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=s=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var a;s.preventDefault(),(a=this.currentNativeSource)===null||a===void 0||a.loadDataTransfer(s.dataTransfer)}else b4(s.dataTransfer)&&s.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=s=>{const{dropTargetIds:a}=this;this.dropTargetIds=[],this.actions.hover(a,{clientOffset:pb(s)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=s=>{const a=s.target;typeof a.dragDrop=="function"&&(a.tagName==="INPUT"||a.tagName==="SELECT"||a.tagName==="TEXTAREA"||a.isContentEditable||(s.preventDefault(),a.dragDrop()))},this.options=new k8e(n,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new p8e(this.isNodeInDocument)}}let mb;function j8e(){return mb||(mb=new Image,mb.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),mb}const E8e=function(e,n,r){return new S8e(e,n,r)},vq=v.forwardRef(function(e,n){var m,b,C,g,w;const r=Te(10);let s,a;r[0]!==e?(m=e,{style:s}=m,a=Ne(m,["style"]),r[0]=e,r[1]=s,r[2]=a):(s=r[1],a=r[2]);const i=eo(),l=(C=(b=i.props.padding)!=null?b:i.props.paddingTop)!=null?C:0,u=(w=(g=i.props.padding)!=null?g:i.props.paddingBottom)!=null?w:0,d="".concat(parseFloat(s.height)+l+u,"px");let p;r[3]!==s||r[4]!==d?(p=ae(R({},s),{height:d}),r[3]=s,r[4]=d,r[5]=p):p=r[5];let h;return r[6]!==n||r[7]!==p||r[8]!==a?(h=o.jsx("div",R({ref:n,style:p},a)),r[6]=n,r[7]=p,r[8]=a,r[9]=h):h=r[9],h});function N8e(){var p,h;const t=Te(7),e=eo(),r=Wje().cursor;if(!r||r.type!=="line")return null;const s=e.indent,a=e.rowHeight*r.index+((h=(p=e.props.padding)!=null?p:e.props.paddingTop)!=null?h:0),i=s*r.level,l=e.renderCursor;let u;t[0]!==a||t[1]!==i||t[2]!==s?(u={top:a,left:i,indent:s},t[0]=a,t[1]=i,t[2]=s,t[3]=u):u=t[3];let d;return t[4]!==l||t[5]!==u?(d=o.jsx(l,R({},u)),t[4]=l,t[5]=u,t[6]=d):d=t[6],d}const xq=v.forwardRef(function(e,n){var p;const r=Te(11);let s,a;r[0]!==e?(p=e,{children:a}=p,s=Ne(p,["children"]),r[0]=e,r[1]=s,r[2]=a):(s=r[1],a=r[2]);const i=eo();let l;r[3]!==i?(l=h=>{h.currentTarget===h.target&&i.deselectAll()},r[3]=i,r[4]=l):l=r[4];let u;r[5]===Symbol.for("react.memo_cache_sentinel")?(u=o.jsx(_8e,{}),r[5]=u):u=r[5];let d;return r[6]!==n||r[7]!==s||r[8]!==l||r[9]!==a?(d=o.jsxs("div",ae(R({ref:n},s),{onClick:l,children:[u,a]})),r[6]=n,r[7]=s,r[8]=l,r[9]=a,r[10]=d):d=r[10],d}),_8e=()=>{const t=Te(5),e=eo(),n=e.visibleNodes.length*e.rowHeight;let r;t[0]!==n?(r={height:n,width:"100%",position:"absolute",left:"0",right:"0"},t[0]=n,t[1]=r):r=t[1];let s;t[2]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx(N8e,{}),t[2]=s):s=t[2];let a;return t[3]!==r?(a=o.jsx("div",{style:r,children:s}),t[3]=r,t[4]=a):a=t[4],a};class Aw{constructor(e){kt(this,"tree");kt(this,"id");kt(this,"data");kt(this,"level");kt(this,"children");kt(this,"parent");kt(this,"isDraggable");kt(this,"rowIndex");kt(this,"handleClick",e=>{e.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():e.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())});this.tree=e.tree,this.id=e.id,this.data=e.data,this.level=e.level,this.children=e.children,this.parent=e.parent,this.isDraggable=e.isDraggable,this.rowIndex=e.rowIndex}get isRoot(){return this.id===Rv}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.tree.closedFolderIds.length>0?!this.tree.closedFolderIds.includes(this.id):this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.tree.closedFolderIds.length>0?this.tree.closedFolderIds.includes(this.id):this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var e;return this.isSelected&&!((e=this.prev)!=null&&e.isSelected)}get isSelectedEnd(){var e;return this.isSelected&&!((e=this.next)!=null&&e.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(e=>e.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var n,r;const e=this.childIndex;return(r=(n=this.parent)==null?void 0:n.children[e+1])!=null?r:null}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(e){this.tree.submit(this,e)}reset(){this.tree.reset()}clone(){return new Aw(R({},this))}edit(){return this.tree.edit(this)}}const Rv="ROOT";function AA(t){var s;function e(a,i,l){const u=t.accessId(a),d=new Aw({tree:t,data:a,level:i,parent:l,id:u,children:null,isDraggable:t.isDraggable(a),rowIndex:null}),p=t.accessChildren(a);return p&&(d.children=p.map(h=>e(h,i+1,d))),d}const n=new Aw({tree:t,id:Rv,data:{id:Rv},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),r=(s=t.props.data)!=null?s:[];return n.children=r.map(a=>e(a,0,n)),n}function T8e(t){const e=Te(11),n=eo(),r=n.selectedIds;let s;e[0]!==t.isDraggable||e[1]!==t.id||e[2]!==n||e[3]!==r?(s=()=>({canDrag:()=>t.isDraggable,type:"NODE",item:()=>{const h=n.isSelected(t.id)?Array.from(r):[t.id];return n.dispatch(p0.dragStart(t.id,h)),{id:t.id}},end:()=>{n.hideCursor();const{parentId:h,index:m,dragIds:b}=n.state.dnd;n.canDrop()&&(aq(n.props.onMove,{dragIds:b,parentId:h===Rv?null:h,index:m,dragNodes:n.dragNodes,parentNode:n.get(h)}),n.open(h)),n.dispatch(p0.dragEnd())}}),e[0]=t.isDraggable,e[1]=t.id,e[2]=n,e[3]=r,e[4]=s):s=e[4];let a;e[5]!==r||e[6]!==t?(a=[r,t],e[5]=r,e[6]=t,e[7]=a):a=e[7];const[i,l,u]=Aje(s,a);let d,p;return e[8]!==u?(d=()=>{u(j8e())},p=[u],e[8]=u,e[9]=d,e[10]=p):(d=e[9],p=e[10]),v.useEffect(d,p),l}function P8e(t,e){const n=Te(8),r=eo();let s;n[0]!==r||n[1]!==t.current||n[2]!==e?(s=()=>({accept:"NODE",canDrop:()=>r.canDrop(),hover:(u,d)=>{const p=d.getClientOffset();if(!t.current||!p)return;const{cursor:h,drop:m}=cq({element:t.current,offset:p,indent:r.indent,node:e,prevNode:e.prev,nextNode:e.next});m&&r.dispatch(p0.hovering(m.parentId,m.index)),d.canDrop()?h&&r.showCursor(h):r.hideCursor()},drop:(u,d)=>{if(!d.canDrop())return null}}),n[0]=r,n[1]=t.current,n[2]=e,n[3]=s):s=n[3];let a;n[4]!==e||n[5]!==t.current||n[6]!==r.props?(a=[e,t.current,r.props],n[4]=e,n[5]=t.current,n[6]=r.props,n[7]=a):a=n[7];const[i,l]=WV(s,a);return l}function M8e(t){const e=eo(),n=e.at(t);if(!n)throw new Error("Could not find node for index: ".concat(t));return v.useMemo(()=>{const r=n.clone();return e.visibleNodes[t]=r,r},[...Object.values(n.state),n])}const yq=v.memo(function({index:e,style:n}){cN(),Uje();const r=eo(),s=M8e(e),a=v.useRef(null),i=T8e(s),l=P8e(a,s),u=v.useCallback(g=>{a.current=g,l(g)},[l]),d=r.indent*s.level,p=v.useMemo(()=>({paddingLeft:d}),[d]),h=v.useMemo(()=>{var g,w;return ae(R({},n),{top:parseFloat(n.top)+((w=(g=r.props.padding)!=null?g:r.props.paddingTop)!=null?w:0)})},[n,r.props.padding,r.props.paddingTop]),m={role:"treeitem","aria-level":s.level,"aria-selected":s.isSelected,style:h,tabIndex:-1,className:r.props.rowClassName};v.useEffect(()=>{var g;!s.isEditing&&s.isFocused&&((g=a.current)==null||g.focus({preventScroll:!0}))},[s.isEditing,s.isFocused,a.current]);const b=r.renderNode,C=r.renderRow;return o.jsx(C,{node:s,innerRef:u,attrs:m,children:o.jsx(b,{node:s,tree:r,style:p,dragHandle:i})},s.id)});let LA="",RA=null;function bq(){const t=Te(30);cN();const e=eo();let n;t[0]!==e.width?(n={width:e.width,minHeight:0,minWidth:0},t[0]=e.width,t[1]=n):n=t[1];let r,s,a;t[2]!==e?(r=h=>{h.currentTarget.contains(h.relatedTarget)||e.onFocus()},s=h=>{h.currentTarget.contains(h.relatedTarget)||e.onBlur()},a=h=>{var b;if(e.isEditing)return;if(h.key==="Backspace"){if(!e.props.onDelete)return;const C=Array.from(e.selectedIds);if(C.length>1){let g=e.mostRecentNode;for(;g&&g.isSelected;)g=g.nextSibling;g||(g=e.lastNode),e.focus(g,{scroll:!1}),e.delete(Array.from(C))}else{const g=e.focusedNode;if(g){const w=g.nextSibling,x=g.parent;e.focus(w||x,{scroll:!1}),e.delete(g)}}return}if(h.key==="Tab"&&!h.shiftKey){h.preventDefault(),tq(h.currentTarget);return}if(h.key==="Tab"&&h.shiftKey){h.preventDefault(),nq(h.currentTarget);return}if(h.key==="ArrowDown"){h.preventDefault();const C=e.nextNode;if(h.metaKey){e.select(e.focusedNode),e.activate(e.focusedNode);return}else if(!h.shiftKey||e.props.disableMultiSelection){e.focus(C);return}else{if(!C)return;const g=e.focusedNode;g?g.isSelected?e.selectContiguous(C):e.selectMulti(C):e.focus(e.firstNode);return}}if(h.key==="ArrowUp"){h.preventDefault();const C=e.prevNode;if(!h.shiftKey||e.props.disableMultiSelection){e.focus(C);return}else{if(!C)return;const g=e.focusedNode;g?g.isSelected?e.selectContiguous(C):e.selectMulti(C):e.focus(e.lastNode);return}}if(h.key==="ArrowRight"){const C=e.focusedNode;if(!C)return;C.isInternal&&C.isOpen?e.focus(e.nextNode):C.isInternal&&e.open(C.id);return}if(h.key==="ArrowLeft"){const C=e.focusedNode;if(!C||C.isRoot)return;C.isInternal&&C.isOpen?e.close(C.id):(b=C.parent)!=null&&b.isRoot||e.focus(C.parent);return}if(h.key==="a"&&h.metaKey&&!e.props.disableMultiSelection){h.preventDefault(),e.selectAll();return}if(h.key==="a"&&!h.metaKey&&e.props.onCreate){e.createLeaf();return}if(h.key==="A"&&!h.metaKey){if(!e.props.onCreate)return;e.createInternal();return}if(h.key==="Home"){h.preventDefault(),e.focus(e.firstNode);return}if(h.key==="End"){h.preventDefault(),e.focus(e.lastNode);return}if(h.key==="Enter"){const C=e.focusedNode;if(!C||!C.isEditable||!e.props.onRename)return;setTimeout(()=>{C&&e.edit(C)});return}if(h.key===" "){h.preventDefault();const C=e.focusedNode;if(!C)return;C.isLeaf?(C.select(),C.activate()):C.toggle();return}if(h.key==="*"){const C=e.focusedNode;if(!C)return;e.openSiblings(C);return}if(h.key==="PageUp"){h.preventDefault(),e.pageUp();return}h.key==="PageDown"&&(h.preventDefault(),e.pageDown()),clearTimeout(RA),RA=setTimeout(()=>{LA=""},300);const m=e.visibleNodes.find(C=>{const g=C.data.name;return typeof g=="string"?g.toLowerCase().includes(LA.toLowerCase()):!1});m&&e.focus(m.id)},t[2]=e,t[3]=r,t[4]=s,t[5]=a):(r=t[3],s=t[4],a=t[5]);const i=e.visibleNodes.length*e.rowHeight;let l;t[6]!==e.visibleNodes?(l=h=>{var m;return((m=e.visibleNodes[h])==null?void 0:m.id)||h},t[6]=e.visibleNodes,t[7]=l):l=t[7];let u;t[8]!==e?(u=e.onItemsRendered.bind(e),t[8]=e,t[9]=u):u=t[9];let d;t[10]!==e.props.className||t[11]!==e.props.onScroll||t[12]!==e.listEl||t[13]!==e.visibleNodes.length||t[14]!==e.width||t[15]!==e.rowHeight||t[16]!==e.overscanCount||t[17]!==e.list||t[18]!==i||t[19]!==l||t[20]!==u?(d=o.jsx(fV,{className:e.props.className,outerRef:e.listEl,itemCount:e.visibleNodes.length,height:i,width:e.width,itemSize:e.rowHeight,overscanCount:e.overscanCount,itemKey:l,outerElementType:xq,innerElementType:vq,onScroll:e.props.onScroll,onItemsRendered:u,ref:e.list,children:yq}),t[10]=e.props.className,t[11]=e.props.onScroll,t[12]=e.listEl,t[13]=e.visibleNodes.length,t[14]=e.width,t[15]=e.rowHeight,t[16]=e.overscanCount,t[17]=e.list,t[18]=i,t[19]=l,t[20]=u,t[21]=d):d=t[21];let p;return t[22]!==n||t[23]!==e.props.onContextMenu||t[24]!==e.props.onClick||t[25]!==r||t[26]!==s||t[27]!==a||t[28]!==d?(p=o.jsx("div",{style:n,onContextMenu:e.props.onContextMenu,onClick:e.props.onClick,tabIndex:0,onFocus:r,onBlur:s,onKeyDown:a,children:d}),t[22]=n,t[23]=e.props.onContextMenu,t[24]=e.props.onClick,t[25]=r,t[26]=s,t[27]=a,t[28]=d,t[29]=p):p=t[29],p}const D8e={display:"flex",alignItems:"center",zIndex:1},I8e={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},A8e={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},L8e=Vt.memo(function(e){const n=Te(10),{top:r,left:s,indent:a}=e,i=r-2+"px",l=s+"px",u=a+"px";let d;n[0]!==i||n[1]!==l||n[2]!==u?(d={position:"absolute",pointerEvents:"none",top:i,left:l,right:u},n[0]=i,n[1]=l,n[2]=u,n[3]=d):d=n[3];const p=d;let h;n[4]!==p?(h=R(R({},D8e),p),n[4]=p,n[5]=h):h=n[5];let m;n[6]===Symbol.for("react.memo_cache_sentinel")?(m=o.jsx("div",{style:R({},A8e)}),n[6]=m):m=n[6];let b;n[7]===Symbol.for("react.memo_cache_sentinel")?(b=o.jsx("div",{style:R({},I8e)}),n[7]=b):b=n[7];let C;return n[8]!==h?(C=o.jsxs("div",{style:h,children:[m,b]}),n[8]=h,n[9]=C):C=n[9],C});function R8e(t){const e=Te(12);let n;e[0]!==t.node?(n=l=>{l.stopPropagation(),t.node.toggle()},e[0]=t.node,e[1]=n):n=e[1];const r=t.node.isLeaf?"🌳":t.node.isOpen?"🗁":"🗀";let s;e[2]!==n||e[3]!==r?(s=o.jsx("span",{onClick:n,children:r}),e[2]=n,e[3]=r,e[4]=s):s=e[4];let a;e[5]!==t?(a=t.node.isEditing?o.jsx($8e,R({},t)):o.jsx(O8e,R({},t)),e[5]=t,e[6]=a):a=e[6];let i;return e[7]!==t.dragHandle||e[8]!==t.style||e[9]!==s||e[10]!==a?(i=o.jsxs("div",{ref:t.dragHandle,style:t.style,children:[s," ",a]}),e[7]=t.dragHandle,e[8]=t.style,e[9]=s,e[10]=a,e[11]=i):i=e[11],i}function O8e(t){const e=Te(2);let n;return e[0]!==t.node.data.name?(n=o.jsx(o.Fragment,{children:o.jsx("span",{children:t.node.data.name})}),e[0]=t.node.data.name,e[1]=n):n=e[1],n}function $8e(t){const e=Te(10),{node:n}=t,r=v.useRef();let s,a;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{var d,p;(d=r.current)==null||d.focus(),(p=r.current)==null||p.select()},a=[],e[0]=s,e[1]=a):(s=e[0],a=e[1]),v.useEffect(s,a);let i,l;e[2]!==n?(i=()=>n.reset(),l=d=>{var p;d.key==="Escape"&&n.reset(),d.key==="Enter"&&n.submit(((p=r.current)==null?void 0:p.value)||"")},e[2]=n,e[3]=i,e[4]=l):(i=e[3],l=e[4]);let u;return e[5]!==r||e[6]!==n.data.name||e[7]!==i||e[8]!==l?(u=o.jsx("input",{ref:r,defaultValue:n.data.name,onBlur:i,onKeyDown:l}),e[5]=r,e[6]=n.data.name,e[7]=i,e[8]=l,e[9]=u):u=e[9],u}function z8e(t){const e=Te(6),{node:n,attrs:r,innerRef:s,children:a}=t;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=u=>u.stopPropagation(),e[0]=i):i=e[0];let l;return e[1]!==r||e[2]!==s||e[3]!==n.handleClick||e[4]!==a?(l=o.jsx("div",ae(R({},r),{ref:s,onFocus:i,onClick:n.handleClick,children:a})),e[1]=r,e[2]=s,e[3]=n.handleClick,e[4]=a,e[5]=l):l=e[5],l}const OA=t=>t.reduce((e,n,r)=>(e[n.id]=r,e),{});function $A(t){return t.isFiltered?H8e(t.root,t.isMatch.bind(t)):F8e(t.root)}function F8e(t){const e=[];function n(r){var s;r.level>=0&&e.push(r),r.isOpen&&((s=r.children)==null||s.forEach(n))}return n(t),e.forEach(wq),e}function H8e(t,e){const n={},r=[];function s(i){if(!i.isRoot&&e(i)){n[i.id]=!0;let u=i.parent;for(;u;)n[u.id]=!0,u=u.parent}if(i.children)for(let u of i.children)s(u)}function a(i){var l;i.level>=0&&n[i.id]&&r.push(i),i.isOpen&&((l=i.children)==null||l.forEach(a))}return s(t),a(t),r.forEach(wq),r}function wq(t,e){t.rowIndex=e}function w4(t){return{type:"EDIT",id:t}}function B8e(t={id:null},e){return e.type==="EDIT"?ae(R({},t),{id:e.id}):t}function Ap(t){return{type:"FOCUS",id:t}}function U8e(){return{type:"TREE_BLUR"}}function W8e(t={id:null,treeFocused:!1},e){return e.type==="FOCUS"?ae(R({},t),{id:e.id,treeFocused:!0}):e.type==="TREE_BLUR"?ae(R({},t),{treeFocused:!1}):t}const Cj={open(t,e){return{type:"VISIBILITY_OPEN",id:t,filtered:e}},close(t,e){return{type:"VISIBILITY_CLOSE",id:t,filtered:e}},toggle(t,e){return{type:"VISIBILITY_TOGGLE",id:t,filtered:e}},clear(t){return{type:"VISIBILITY_CLEAR",filtered:t}}};function zA(t={},e){if(e.type==="VISIBILITY_OPEN")return ae(R({},t),{[e.id]:!0});if(e.type==="VISIBILITY_CLOSE")return ae(R({},t),{[e.id]:!1});if(e.type==="VISIBILITY_TOGGLE"){const n=t[e.id];return ae(R({},t),{[e.id]:!n})}else return e.type==="VISIBILITY_CLEAR"?{}:t}function V8e(t={filtered:{},unfiltered:{}},e){return e.type.startsWith("VISIBILITY")?e.filtered?ae(R({},t),{filtered:zA(t.filtered,e)}):ae(R({},t),{unfiltered:zA(t.unfiltered,e)}):t}const ri={clear:()=>({type:"SELECTION_CLEAR"}),only:t=>({type:"SELECTION_ONLY",id:_f(t)}),add:t=>({type:"SELECTION_ADD",ids:(Array.isArray(t)?t:[t]).map(_f)}),remove:t=>({type:"SELECTION_REMOVE",ids:(Array.isArray(t)?t:[t]).map(_f)}),set:t=>R({type:"SELECTION_SET"},t),mostRecent:t=>({type:"SELECTION_MOST_RECENT",id:t===null?null:_f(t)}),anchor:t=>({type:"SELECTION_ANCHOR",id:t===null?null:_f(t)})};function q8e(t=Lv().nodes.selection,e){const n=t.ids;switch(e.type){case"SELECTION_CLEAR":return ae(R({},t),{ids:new Set});case"SELECTION_ONLY":return ae(R({},t),{ids:new Set([e.id])});case"SELECTION_ADD":return e.ids.length===0?t:(e.ids.forEach(r=>n.add(r)),ae(R({},t),{ids:new Set(n)}));case"SELECTION_REMOVE":return e.ids.length===0?t:(e.ids.forEach(r=>n.delete(r)),ae(R({},t),{ids:new Set(n)}));case"SELECTION_SET":return ae(R({},t),{ids:e.ids,mostRecent:e.mostRecent,anchor:e.anchor});case"SELECTION_MOST_RECENT":return ae(R({},t),{mostRecent:e.id});case"SELECTION_ANCHOR":return ae(R({},t),{anchor:e.id});default:return t}}const{safeRun:Rs,identify:Sc,identifyNull:si}=s8e,dm=class dm{constructor(e,n,r,s){kt(this,"root");kt(this,"visibleNodes");kt(this,"visibleStartIndex",0);kt(this,"visibleStopIndex",0);kt(this,"idToIndex");this.store=e,this.props=n,this.list=r,this.listEl=s,this.root=AA(this),this.visibleNodes=$A(this),this.idToIndex=OA(this.visibleNodes)}update(e){this.props=e,this.root=AA(this),this.visibleNodes=$A(this),this.idToIndex=OA(this.visibleNodes)}dispatch(e){return this.store.dispatch(e)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var e;return(e=this.props.width)!=null?e:"100%"}get closedFolderIds(){var e;return(e=this.props.closedFolderItemIds)!=null?e:[]}get height(){var e;return(e=this.props.height)!=null?e:1500}get indent(){var e;return(e=this.props.indent)!=null?e:24}get rowHeight(){var e;return(e=this.props.rowHeight)!=null?e:26}get overscanCount(){var e;return(e=this.props.overscanCount)!=null?e:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var n;const e=(n=this.props.searchMatch)!=null?n:(r,s)=>JSON.stringify(Object.values(r.data)).toLocaleLowerCase().includes(s.toLocaleLowerCase());return r=>e(r,this.searchTerm)}accessChildren(e){var r;const n=this.props.childrenAccessor||"children";return(r=f1(e,n))!=null?r:null}accessId(e){const n=this.props.idAccessor||"id",r=f1(e,n);if(!r)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return r}get firstNode(){var e;return(e=this.visibleNodes[0])!=null?e:null}get lastNode(){var e;return(e=this.visibleNodes[this.visibleNodes.length-1])!=null?e:null}get focusedNode(){var e;return(e=this.get(this.state.nodes.focus.id))!=null?e:null}get mostRecentNode(){var e;return(e=this.get(this.state.nodes.selection.mostRecent))!=null?e:null}get nextNode(){const e=this.indexOf(this.focusedNode);return e===null?null:this.at(e+1)}get prevNode(){const e=this.indexOf(this.focusedNode);return e===null?null:this.at(e-1)}get(e){return e&&e in this.idToIndex&&this.visibleNodes[this.idToIndex[e]]||null}at(e){return this.visibleNodes[e]||null}nodesBetween(e,n){var l;if(e===null||n===null)return[];const r=(l=this.indexOf(e))!=null?l:0,s=this.indexOf(n);if(s===null)return[];const a=Math.min(r,s),i=Math.max(r,s);return this.visibleNodes.slice(a,i+1)}indexOf(e){const n=sq(e);return n?this.idToIndex[n]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return ge(this,arguments,function*(e={}){var i,l;const n=e.parentId===void 0?lq(this):e.parentId,r=(i=e.index)!=null?i:iq(this),s=(l=e.type)!=null?l:"leaf",a=yield Rs(this.props.onCreate,{type:s,parentId:n,index:r,parentNode:this.get(n)});a&&(this.focus(a),setTimeout(()=>{this.edit(a).then(()=>{this.select(a),this.activate(a)})}))})}delete(e){return ge(this,null,function*(){if(!e)return;const r=(Array.isArray(e)?e:[e]).map(Sc),s=r.map(a=>this.get(a)).filter(a=>!!a);yield Rs(this.props.onDelete,{nodes:s,ids:r})})}edit(e){const n=Sc(e);return this.resolveEdit({cancelled:!0}),this.scrollTo(n),this.dispatch(w4(n)),new Promise(r=>{dm.editPromise=r})}submit(e,n){return ge(this,null,function*(){if(!e)return;const r=Sc(e);yield Rs(this.props.onRename,{id:r,name:n,node:this.get(r)}),setTimeout(()=>{this.focus(this.get(r)),this.dispatch(w4(null)),this.resolveEdit({cancelled:!1,value:n}),this.onFocus()},300)})}reset(){this.dispatch(w4(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(e){const n=this.get(si(e));n&&Rs(this.props.onActivate,n)}resolveEdit(e){const n=dm.editPromise;n&&n(e),dm.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let e=[];for(let n of Array.from(this.selectedIds)){const r=this.get(n);r&&e.push(r)}return e}focus(e,n={}){e&&(this.props.selectionFollowsFocus?this.select(e):(this.dispatch(Ap(Sc(e))),n.scroll!==!1&&this.scrollTo(e),this.focusedNode&&Rs(this.props.onFocus,this.focusedNode)))}pageUp(){var a,i;const e=this.visibleStartIndex,r=this.visibleStopIndex-e;let s=(i=(a=this.focusedNode)==null?void 0:a.rowIndex)!=null?i:0;s>e?s=e:s=Math.max(e-r,0),this.focus(this.at(s))}pageDown(){var a,i;const e=this.visibleStartIndex,n=this.visibleStopIndex,r=n-e;let s=(i=(a=this.focusedNode)==null?void 0:a.rowIndex)!=null?i:0;sthis.get(e)).filter(e=>!!e)}canDrop(){var s;const e=(s=this.get(this.state.dnd.parentId))!=null?s:this.root,n=this.dragNodes,r=this.props.disableDrop;for(const a of n)if(!a||!e||a.isInternal&&JV(e,a))return!1;return typeof r=="function"?!r({parentNode:e,dragNodes:this.dragNodes,index:this.state.dnd.index}):typeof r=="string"?!e.data[r]:typeof r=="boolean"?!r:!0}hideCursor(){this.dispatch(p0.cursor({type:"none"}))}showCursor(e){this.dispatch(p0.cursor(e))}open(e){const n=si(e);n&&(this.isOpen(n)||(this.dispatch(Cj.open(n,this.isFiltered)),Rs(this.props.onFolderOpen,n)))}close(e){const n=si(e);n&&this.isOpen(n)&&(this.dispatch(Cj.close(n,this.isFiltered)),Rs(this.props.onFolderClose,n))}toggle(e){const n=si(e);if(n)return this.isOpen(n)?this.close(n):this.open(n)}openParents(e){const n=si(e);if(!n)return;const r=uN(this.root,n);let s=r==null?void 0:r.parent;for(;s;)this.open(s.id),s=s.parent}openSiblings(e){const n=e.parent;if(!n)this.toggle(e.id);else if(n.children){const r=e.isOpen;for(let s of n.children)s.isInternal&&(r?this.close(s.id):this.open(s.id));this.scrollTo(this.focusedNode)}}openAll(){Iw(this.root,e=>{e.isInternal&&e.open()})}closeAll(){Iw(this.root,e=>{e.isInternal&&e.close()})}scrollTo(e,n="smart"){if(!e)return;const r=Sc(e);return this.openParents(r),oq(()=>r in this.idToIndex).then(()=>{var a;const s=this.idToIndex[r];s!==void 0&&((a=this.list.current)==null||a.scrollToItem(s,n))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var e;return!!((e=this.props.searchTerm)!=null&&e.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(e){return e?this.state.nodes.selection.ids.has(e):!1}isOpen(e){var r,s,a;if(!e)return!1;if(e===Rv)return!0;const n=(r=this.props.openByDefault)!=null?r:!0;return this.isFiltered?(s=this.state.nodes.open.filtered[e])!=null?s:!0:(a=this.state.nodes.open.unfiltered[e])!=null?a:n}isEditable(e){const n=this.props.disableEdit||(()=>!1);return!f1(e,n)}isDraggable(e){const n=this.props.disableDrag||(()=>!1);return!f1(e,n)}isDragging(e){const n=si(e);return n?this.state.nodes.drag.id===n:!1}isFocused(e){return this.hasFocus&&this.state.nodes.focus.id===e}isMatch(e){return this.matchFn(e)}willReceiveDrop(e){const n=si(e);return n?n===this.state.nodes.drag.idWillReceiveDrop:!1}onSearchClear(){var e,n;(n=(e=this.props).onSearchClear)==null||n.call(e)}onFocus(){const e=this.focusedNode||this.firstNode;e&&this.dispatch(Ap(e.id))}onBlur(){this.dispatch(U8e())}onItemsRendered(e){this.visibleStartIndex=e.visibleStartIndex,this.visibleStopIndex=e.visibleStopIndex}get renderContainer(){return this.props.renderContainer||bq}get renderRow(){return this.props.renderRow||z8e}get renderNode(){return this.props.children||R8e}get renderDragPreview(){return this.props.renderDragPreview||YV}get renderCursor(){return this.props.renderCursor||L8e}};kt(dm,"editPromise");let Sj=dm;function K8e(t={id:null,idWillReceiveDrop:null},e){switch(e.type){case"DND_DRAG_START":return ae(R({},t),{id:e.id});case"DND_DRAG_END":return ae(R({},t),{id:null});case"DND_CURSOR":const n=e.cursor;return n.type==="highlight"&&n.id!==t.idWillReceiveDrop?ae(R({},t),{idWillReceiveDrop:n.id}):n.type!=="highlight"&&t.idWillReceiveDrop!==null?ae(R({},t),{idWillReceiveDrop:null}):t;default:return t}}const G8e=CA({nodes:CA({focus:W8e,edit:B8e,open:V8e,selection:q8e,drag:K8e}),dnd:Jje}),Y8e=Lv();function Z8e({treeProps:t,imperativeHandle:e,children:n}){const r=v.useRef(null),s=v.useRef(null),a=v.useRef(nN(G8e,Lv(t))),i=zO.useSyncExternalStore(a.current.subscribe,a.current.getState,()=>Y8e),l=v.useMemo(()=>new Sj(a.current,t,r,s),[]),u=v.useRef(0);return v.useMemo(()=>{u.current+=1,l.update(t)},[...Object.values(t),i.nodes.open]),v.useImperativeHandle(e,()=>l),v.useEffect(()=>{l.props.selection?l.select(l.props.selection,{focus:!1}):l.deselectAll()},[l.props.selection]),v.useEffect(()=>{l.props.selectedIds&&l.props.selectedIds.length>0?l.setSelectIds(l.props.selectedIds):l.deselectAll()},[l.props.selectedIds]),v.useEffect(()=>{l.props.searchTerm||a.current.dispatch(Cj.clear(!0))},[l.props.searchTerm]),o.jsx(VV.Provider,{value:l,children:o.jsx(GV.Provider,{value:u.current,children:o.jsx(qV.Provider,{value:i.nodes,children:o.jsx(KV.Provider,{value:i.dnd,children:o.jsx(dje,ae(R({backend:E8e,options:{rootElement:l.props.dndRootElement||void 0}},t.dndManager&&{manager:t.dndManager}),{children:n}))})})})})}function X8e(){const t=Te(2),n=eo().props.renderContainer||bq;let r;return t[0]!==n?(r=o.jsx(o.Fragment,{children:o.jsx(n,{})}),t[0]=n,t[1]=r):r=t[1],r}function Q8e(t,e){const n=Te(5),r=KSe(t);let s;n[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx(d8e,{children:o.jsx(X8e,{})}),n[0]=s):s=n[0];let a;n[1]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx(Qje,{}),n[1]=a):a=n[1];let i;return n[2]!==r||n[3]!==e?(i=o.jsxs(Z8e,{treeProps:r,imperativeHandle:e,children:[s,a]}),n[2]=r,n[3]=e,n[4]=i):i=n[4],i}const J8e=v.forwardRef(Q8e);function kq(){const t=Te(3);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0];const[n,r]=v.useState(e);new MV(n);let s;return t[1]!==n?(s={data:n,setData:r},t[1]=n,t[2]=s):s=t[2],s}function FA(t){const e=Te(37),{children:n}=t,{currentCollectionId:r,collections:s}=Tt(Ir),{selectCollectionById:a}=n7(),i=la(),{t:l}=Gt(),{isShowDisabledCollectionsOnNavBarMenu:u}=Tt(Cr);let d;e[0]!==n?(d=o.jsx(Gn,{className:"flex m-0 p-0",asChild:!0,children:n}),e[0]=n,e[1]=d):d=e[1];let p;e[2]!==l?(p=l("Switch collections",{ns:"collections"}),e[2]=l,e[3]=p):p=e[3];let h;e[4]!==p?(h=o.jsx(rt,{disabled:!0,className:"flex justify-center py-0.5",children:p}),e[4]=p,e[5]=h):h=e[5];let m;e[6]===Symbol.for("react.memo_cache_sentinel")?(m=o.jsx(kn,{}),e[6]=m):m=e[6];let b;e[7]===Symbol.for("react.memo_cache_sentinel")?(b={height:"auto",maxHeight:"400px",width:"100%",minWidth:"200px"},e[7]=b):b=e[7];const C=r!=null?r:"";let g;if(e[8]!==u||e[9]!==s||e[10]!==a){let T;e[12]!==u?(T=z=>{const{isEnabled:Y}=z;return u||Y},e[12]=u,e[13]=T):T=e[13];let A;e[14]!==u?(A=(z,Y)=>{if(u){if(z.isEnabled&&!Y.isEnabled)return-1;if(!z.isEnabled&&Y.isEnabled)return 1}return z.createdAt-Y.createdAt},e[14]=u,e[15]=A):A=e[15];let L;e[16]!==a?(L=z=>{const{collectionId:Y,isEnabled:O,title:$,isSelected:M}=z;return o.jsx(yH,{value:Y,disabled:!O,onClick:()=>{a({selectCollection:{collectionId:Y}})},children:o.jsx("span",{className:M?"font-semibold":"",children:$})},Y)},e[16]=a,e[17]=L):L=e[17],g=s.filter(T).sort(A).map(L),e[8]=u,e[9]=s,e[10]=a,e[11]=g}else g=e[11];let w;e[18]!==C||e[19]!==g?(w=o.jsx(or,{className:"code-filter",style:b,autoHide:!1,children:o.jsx(ame,{value:C,children:g})}),e[18]=C,e[19]=g,e[20]=w):w=e[20];let x;e[21]===Symbol.for("react.memo_cache_sentinel")?(x=o.jsx(kn,{}),e[21]=x):x=e[21];let S;e[22]!==i?(S=()=>{i("/app-settings/collections",{replace:!0})},e[22]=i,e[23]=S):S=e[23];let E;e[24]===Symbol.for("react.memo_cache_sentinel")?(E=o.jsx(Ah,{className:"mr-2",size:14}),e[24]=E):E=e[24];let N;e[25]!==l?(N=l("Manage Collections",{ns:"collections"}),e[25]=l,e[26]=N):N=e[26];let _;e[27]!==S||e[28]!==N?(_=o.jsxs(rt,{onClick:S,children:[E,N]}),e[27]=S,e[28]=N,e[29]=_):_=e[29];let P;e[30]!==h||e[31]!==w||e[32]!==_?(P=o.jsxs(Wn,{forceMount:!0,sideOffset:8,align:"center",children:[h,m,w,x,_]}),e[30]=h,e[31]=w,e[32]=_,e[33]=P):P=e[33];let I;return e[34]!==d||e[35]!==P?(I=o.jsxs(Kn,{children:[d,P]}),e[34]=d,e[35]=P,e[36]=I):I=e[36],I}const eEe="_node_1usvv_1",tEe="_dropCursor_1usvv_55",nEe="_mainContent_1usvv_61",rEe="_mobileWarning_1usvv_68",sEe="_content_1usvv_83",aEe="_sidebar_1usvv_89",Cq={node:eEe,dropCursor:tEe,mainContent:nEe,mobileWarning:rEe,content:sEe,sidebar:aEe};function oEe(t){const e=Te(4),{top:n,left:r}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=Pn(Cq.dropCursor,"border-slate-400 border-dashed border-t-2"),e[0]=s):s=e[0];const a=n-1;let i;return e[1]!==a||e[2]!==r?(i=o.jsx("div",{className:s,style:{top:a,left:r}}),e[1]=a,e[2]=r,e[3]=i):i=e[3],i}const iEe={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},lEe=t=>{if(!t)return{display:"none"};const{x:e,y:n}=t;return{transform:"translate(".concat(e,"px, ").concat(n,"px)")}},cEe=t=>{if(!t)return{display:"none"};const{x:e,y:n}=t;return{transform:"translate(".concat(e+10,"px, ").concat(n+10,"px)")}},uEe=v.memo(function(e){const n=Te(2);if(!e.isDragging)return null;let r;return n[0]!==e.children?(r=o.jsx("div",{style:iEe,children:e.children}),n[0]=e.children,n[1]=r):r=n[1],r});function dEe(t){const e=Te(5);let n;e[0]!==t.offset?(n=lEe(t.offset),e[0]=t.offset,e[1]=n):n=e[1];let r;return e[2]!==n||e[3]!==t.children?(r=o.jsx("div",{className:"row preview",style:n,children:t.children}),e[2]=n,e[3]=t.children,e[4]=r):r=e[4],r}function fEe(t){const e=Te(5),{count:n,mouse:r}=t;if(n>1){let s;e[0]!==r?(s=cEe(r),e[0]=r,e[1]=s):s=e[1];let a;return e[2]!==s||e[3]!==n?(a=o.jsx("div",{className:"selected-count",style:s,children:n}),e[2]=s,e[3]=n,e[4]=a):a=e[4],a}else return null}const hEe=v.memo(function(e){const n=Te(9),r=eo();let s;n[0]!==r||n[1]!==e.id?(s=r.get(e.id),n[0]=r,n[1]=e.id,n[2]=s):s=n[2];const a=s;if(!a)return null;const i=a.level*r.indent;let l;n[3]!==i?(l={paddingLeft:i,opacity:.5,background:"transparent"},n[3]=i,n[4]=l):l=n[4];let u;return n[5]!==r||n[6]!==a||n[7]!==l?(u=o.jsx(r.renderNode,{preview:!0,node:a,style:l,tree:r}),n[5]=r,n[6]=a,n[7]=l,n[8]=u):u=n[8],u});function pEe(t){const e=Te(13),{offset:n,mouse:r,id:s,dragIds:a,isDragging:i}=t;let l;e[0]!==s||e[1]!==a?(l=o.jsx(hEe,{id:s,dragIds:a}),e[0]=s,e[1]=a,e[2]=l):l=e[2];let u;e[3]!==n||e[4]!==l?(u=o.jsx(dEe,{offset:n,children:l}),e[3]=n,e[4]=l,e[5]=u):u=e[5];let d;e[6]!==r||e[7]!==a.length?(d=o.jsx(fEe,{mouse:r,count:a.length}),e[6]=r,e[7]=a.length,e[8]=d):d=e[8];let p;return e[9]!==i||e[10]!==u||e[11]!==d?(p=o.jsxs(uEe,{isDragging:i,children:[u,d]}),e[9]=i,e[10]=u,e[11]=d,e[12]=p):p=e[12],p}function mEe(t){const e=Te(8),{node:n}=t;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=l=>l.currentTarget.select(),e[0]=r):r=e[0];let s,a;e[1]!==n?(s=()=>n.reset(),a=l=>{l.key==="Escape"&&n.reset(),l.key==="Enter"&&n.submit(l.currentTarget.value)},e[1]=n,e[2]=s,e[3]=a):(s=e[2],a=e[3]);let i;return e[4]!==n.data.name||e[5]!==s||e[6]!==a?(i=o.jsx(Hd,{autoFocus:!0,type:"text",classNameInput:"border-0 text-[15px] w-full bg-transparent p-0",className:"!justify-start pl-1 border-0",defaultValue:n.data.name,onFocus:r,onBlur:s,onKeyDown:a}),e[4]=n.data.name,e[5]=s,e[6]=a,e[7]=i):i=e[7],i}function gEe(t){const e=Te(27),{node:n,style:r,dragHandle:s}=t,{t:a}=Gt();let i;e[0]!==n.state?(i=Pn(Cq.node,n.state,"flex items-center w-full transition-all duration-100 ease-in"),e[0]=n.state,e[1]=i):i=e[1];let l;e[2]!==n?(l=()=>n.isInternal&&n.toggle(),e[2]=n,e[3]=l):l=e[3];let u;e[4]!==n.level?(u=n.level>0&&o.jsx("div",{}),e[4]=n.level,e[5]=u):u=e[5];let d;e[6]!==n?(d=!n.isLeaf&&!n.isOpen&&o.jsx(e0,{width:17,height:17,className:"mr-2"}),e[6]=n,e[7]=d):d=e[7];let p;e[8]!==n?(p=!n.isLeaf&&n.isOpen&&o.jsx(wz,{width:17,height:17,className:"mr-2"}),e[8]=n,e[9]=p):p=e[9];let h;e[10]!==d||e[11]!==p?(h=o.jsxs("div",{children:[d,p]}),e[10]=d,e[11]=p,e[12]=h):h=e[12];let m;e[13]!==n||e[14]!==a?(m=o.jsx("div",{className:"flex items-center justify-start w-full overflow-hidden mr-4",children:n.data.isSeparator?o.jsx("hr",{className:"h-[1px] border-t-0 bg-slate-600 opacity-30 dark:opacity-70 w-full"}):o.jsx(o.Fragment,{children:n.isEditing?o.jsx(mEe,{node:n}):o.jsxs("div",{className:"overflow-hidden overflow-ellipsis text-[15px] ".concat(n.data.isDisabled?"text-gray-500/60":""," "),children:[n.data.name,n.data.isClip&&o.jsx("div",{title:a("Menu is a link to a clip",{ns:"menus"}),className:"inline-block",children:o.jsx(ux,{size:13,className:"inline ml-2 mt-[-3px] dark:text-slate-500 text-slate-400"})})]})})}),e[13]=n,e[14]=a,e[15]=m):m=e[15];let b;e[16]!==n?(b=o.jsx(vEe,{node:n}),e[16]=n,e[17]=b):b=e[17];let C;return e[18]!==s||e[19]!==r||e[20]!==i||e[21]!==l||e[22]!==u||e[23]!==h||e[24]!==m||e[25]!==b?(C=o.jsxs("div",{ref:s,style:r,className:i,onClick:l,children:[u,h,m,b]}),e[18]=s,e[19]=r,e[20]=i,e[21]=l,e[22]=u,e[23]=h,e[24]=m,e[25]=b,e[26]=C):C=e[26],C}function vEe(t){const e=Te(3),{node:n}=t;if(n.isLeaf){let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=o.jsx("div",{}),e[0]=s):s=e[0],s}let r;return e[1]!==n.isOpen?(r=n.isOpen?o.jsx(Bn,{width:22,className:"mr-3"}):o.jsx(j0,{width:22,className:"mr-3"}),e[1]=n.isOpen,e[2]=r):r=e[2],r}function xEe(t){var e=sn(1);try{const n=Te(18),{node:r,attrs:s,innerRef:a,children:i}=t,l=k4.value===r.id,{t:u}=Gt();let d;n[0]!==r.id?(d=()=>{k4.value=r.id},n[0]=r.id,n[1]=d):d=n[1];let p;n[2]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{k4.value=null},n[2]=p):p=n[2];const h="".concat(l?"bg-slate-100/90 dark:bg-gray-900/90":""," ").concat(r.isEditing?"border border-blue-400 dark:!bg-slate-900":""," ").concat(r.data.isActive?"":"not-active-background ".concat(r.isEditing?"dark:text-slate-800 bg-slate-800":"line-through dark:text-slate-600 text-slate-400"," dark:bg-slate-900 bg-slate-200")," ").concat(r.isSelected&&!r.isEditing?"dark:!bg-slate-600 dark:!text-slate-50":""," transition-all overflow-hidden");let m;n[3]===Symbol.for("react.memo_cache_sentinel")?(m=w=>w.stopPropagation(),n[3]=m):m=n[3];let b,C;n[4]!==r||n[5]!==u?(b=()=>{if(!r.isEditing){if(r.data.isClip){vo(u("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}r.edit()}},C=w=>{if(r.data.isClip){w.stopPropagation(),vo(u("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}w.key==="Enter"&&r.edit()},n[4]=r,n[5]=u,n[6]=b,n[7]=C):(b=n[6],C=n[7]);let g;return n[8]!==s||n[9]!==r.id||n[10]!==r.handleClick||n[11]!==d||n[12]!==a||n[13]!==h||n[14]!==b||n[15]!==C||n[16]!==i?(g=v.createElement("div",ae(R({},s),{key:r.id,onMouseEnter:d,onMouseLeave:p,ref:a,className:h,onFocus:m,onClick:r.handleClick,onDoubleClickCapture:b,onKeyDown:C}),i),n[8]=s,n[9]=r.id,n[10]=r.handleClick,n[11]=d,n[12]=a,n[13]=h,n[14]=b,n[15]=C,n[16]=i,n[17]=g):g=n[17],g}finally{e.f()}}function yEe(){const t=Te(26),{t:e}=Gt();cN();const n=eo();let r;t[0]!==n.width?(r={width:n.width,minHeight:0,minWidth:0},t[0]=n.width,t[1]=r):r=t[1];let s;t[2]!==n||t[3]!==e?(s=n.isFiltered&&o.jsx("div",{className:"text-slate-400 text-sm rounded-sm mb-1 mt-1 flex items-center justify-center",children:o.jsx(st,{text:e("Clear found results",{ns:"common"}),className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",onClick:()=>{n.onSearchClear()},sideOffset:5,children:o.jsx(re,{className:"text-xs text-center bg-blue-200 rounded-full px-3 cursor-pointer pointer-events-auto",children:n.visibleNodes.length?o.jsxs(o.Fragment,{children:[n.visibleNodes.length<100?n.visibleNodes.length:"100+"," ",e("found",{ns:"common"})]}):o.jsx(o.Fragment,{children:e("Nothing found",{ns:"common"})})})})}),t[2]=n,t[3]=e,t[4]=s):s=t[4];const a=n.visibleNodes.length*n.rowHeight;let i;t[5]!==n.visibleNodes?(i=p=>{var h;return((h=n.visibleNodes[p])==null?void 0:h.id)||p},t[5]=n.visibleNodes,t[6]=i):i=t[6];let l;t[7]!==n?(l=n.onItemsRendered.bind(n),t[7]=n,t[8]=l):l=t[8];let u;t[9]!==n.props.className||t[10]!==n.listEl||t[11]!==n.visibleNodes.length||t[12]!==n.width||t[13]!==n.rowHeight||t[14]!==n.overscanCount||t[15]!==n.list||t[16]!==a||t[17]!==i||t[18]!==l?(u=o.jsx(fV,{className:n.props.className,outerRef:n.listEl,itemCount:n.visibleNodes.length,height:a,width:n.width,itemSize:n.rowHeight,overscanCount:n.overscanCount,itemKey:i,outerElementType:xq,innerElementType:vq,onItemsRendered:l,ref:n.list,children:yq}),t[9]=n.props.className,t[10]=n.listEl,t[11]=n.visibleNodes.length,t[12]=n.width,t[13]=n.rowHeight,t[14]=n.overscanCount,t[15]=n.list,t[16]=a,t[17]=i,t[18]=l,t[19]=u):u=t[19];let d;return t[20]!==r||t[21]!==n.props.onContextMenu||t[22]!==n.props.onClick||t[23]!==s||t[24]!==u?(d=o.jsxs("div",{style:r,onContextMenu:n.props.onContextMenu,onClick:n.props.onClick,tabIndex:0,children:[s,u]}),t[20]=r,t[21]=n.props.onContextMenu,t[22]=n.props.onClick,t[23]=s,t[24]=u,t[25]=d):d=t[25],d}const k4=It(null);function bEe({itemId:t,isExpanded:e,isActive:n,isDisabled:r,isSeparator:s,isCode:a,isImage:i,isImageData:l,isLink:u,isMasked:d,isPath:p,hasMaskedWords:h,hasEmoji:m,isFolder:b,isVideo:C,isDelete:g,detectedLanguage:w,imagePathFullRes:x,imageDataUrl:S,imageHash:E,imageWidthHeight:N,imageType:_,arrLinks:P,isCopyOrPaste:I,pathType:T,menuName:A,isDark:L,value:z=""}){var Y=sn(1);try{const{t:O}=Gt(),$=Ds(!1),{valuePreview:M,morePreviewLines:W,morePreviewChars:V}=T7(z),U=z==null?void 0:z.trim(),J=Ds(!1),H=Ds(""),{metadataLinkByItemId:F}=bx(u,t),q=u&&!!(F!=null&&F.linkTitle&&(F!=null&&F.linkDomain));v.useEffect(()=>{e.value&&($.value=!1)},[e.value]),v.useEffect(()=>{p&&Ln("check_path",{path:U}).then(()=>{H.value=T}).catch(()=>{H.value="Error"})},[p]);const X=U.length===0;return o.jsxs(Fh,{className:Pn(I?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900",g&&"!bg-red-50 dark:!bg-red-900","px-3 pr-2 py-1.5 text-left flex flex-col select-auto relative rounded-md"),children:[o.jsx(te,{className:"mb-0.5 ".concat(n?"":"opacity-40"),children:p?o.jsx(jx,{theme:L?ml.vsDark:ml.github,code:U,language:"path",children:({className:ne,style:ee,tokens:G,getLineProps:Z,getTokenProps:le})=>o.jsx("code",{className:"".concat(ne," ").concat(H.value==="Error"?" line-through decoration-gray-300":""),style:ee,children:G.map((se,de)=>o.jsx("div",ae(R({},Z({line:se})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:se.map((ce,pe)=>o.jsx("span",ae(R({},le({token:ce})),{className:"".concat(H.value==="Error"?"opacity-60":""," select-text"),children:ce.content}),pe))}),de))})}):l?o.jsxs(te,{className:"text-ellipsis self-start text-xs overflow-hidden cursor-pointer",children:[o.jsx(te,{className:"flex px-0 py-1 items-center justify-center",children:o.jsx(gl,{src:U,hasError:J.value,onErrorCallback:()=>{J.value=!0},draggable:!1,decoding:"async",className:"max-h-[200px] min-h-10"})}),o.jsx("code",{className:"pb-0.5 select-none",children:M})]}):u&&i?o.jsxs(te,{className:"text-ellipsis self-start text-xs cursor-pointer overflow-hidden",children:[o.jsx(te,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:o.jsx(gl,{src:Dr(U),hasError:J.value,onErrorCallback:()=>{J.value=!0},draggable:!1,decoding:"async",className:"max-h-[200px] min-h-10"})}),o.jsx("code",{className:"pb-0.5",children:Sh(U,P!=null?P:"")})]}):i?o.jsxs(te,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards",children:[o.jsx("img",{src:x&&(_==="webp"||_==="gif")?"".concat(Jf(x),"?").concat(E):S&&x?S:!S&&!x?ih:L1,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),o.jsx(te,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:o.jsxs(te,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:O("Image size in pixels",{ns:"common"}),children:[N," ",_]})})]}):w&&a&&M?o.jsx(te,{className:"text-ellipsis self-start text-sm w-full select-text",children:o.jsx(ka,{isDark:L,isLargeView:!1,isShowMore:e.value||W==null,isWrapped:$.value,value:e.value?U:M,language:w})}):X?o.jsx(te,{className:"mb-0.5",children:o.jsx(Cv,{className:"self-start text-sm font-normal select-text !text-gray-400",children:A})}):o.jsx(ik,{isExpanded:e.value,isWrapped:$.value,isImageData:l,isLargeView:!1,isCode:a,isMasked:d,isImage:i,isDark:L,trimmedValue:U,valuePreview:M,hasLinkCard:q,metadataLinkByItemId:F,metadataLinkImageWidth:12,morePreviewLines:W,searchTerm:""})}),o.jsxs(me,{className:"justify-between select-none",children:[(W||V)&&n&&!r?o.jsxs(te,{className:"flex flex-row items-center rounded",children:[o.jsx(te,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{e.value=!e.value},children:o.jsx(st,{text:e.value?"":O("Show all",{ns:"common"}),isCompact:!0,isDisabled:e.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:e.value?o.jsxs(o.Fragment,{children:["- ",O("show less",{ns:"common"})]}):V?o.jsxs(o.Fragment,{children:["+",V," ",O("chars",{ns:"common"})]}):W&&o.jsxs(o.Fragment,{children:["+",W," ",O("lines",{ns:"common"})]})})}),o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{$.value=!$.value},children:o.jsx(st,{text:$.value?O("No Wrap",{ns:"common"}):O("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:$.value?o.jsx(c0,{width:20,height:20}):o.jsx(u0,{width:20,height:20})})})]}):n?r?o.jsx(te,{className:"bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-gray-300 text-xs rounded-sm px-1.5",children:O("Disabled",{ns:"common"})}):o.jsx(te,{}):o.jsx(te,{className:"bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-gray-300 text-xs rounded-sm px-1.5",children:O("Inactive",{ns:"common"})}),o.jsxs(te,{className:"flex flex-row gap-1 items-center justify-end ",children:[X&&!s&&!b&&!i?o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:O("Type:::Empty",{ns:"common"})}),o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:O("Type:::Label",{ns:"common"})})]}):s?o.jsx(te,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400v text-xs rounded-sm px-1.5",children:O("Type:::Separator",{ns:"common"})}):b?o.jsx(te,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:O("Type:::Submenu",{ns:"common"})}):i?o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:O("Type:::Image",{ns:"common"})}):w?o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:w}):d||h?o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(h?"px-0.5":"px-1.5"),children:d?O("Type:::Secret",{ns:"common"}):o.jsx(ec,{size:16})}):l?o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:O("Type:::Image Base64",{ns:"common"})}):!u&&!p&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:O("Type:::Text",{ns:"common"})}),u?o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:C?O("Type:::Video",{ns:"common"}):Uc(U)?O("Type:::Email",{ns:"common"}):O("Type:::Link",{ns:"common"})}):p&&H.value?o.jsx(te,{className:"".concat(H.value==="Error"?"bg-red-300 dark:bg-red-800":" text-slate-700 dark:bg-slate-600"," dark:text-slate-300 bg-slate-200 text-xs rounded-sm px-1.5"),children:H.value==="Error"?o.jsx(st,{text:O("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-slate-300 bg-red-50 dark:!bg-red-800 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:H.value}):H.value}):m&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:O("Emoji",{ns:"common"})})]})]})]})}finally{Y.f()}}function Sq({arrLinks:t=[],clipId:e,detectedLanguage:n,hasEmoji:r,hasMaskedWords:s,imageDataUrl:a,imageHash:i,imagePathFullRes:l,imageType:u,imageWidthHeight:d,isCode:p,isCommand:h,isWebRequest:m,isWebScraping:b,isExpanded:C,isImage:g,isImageData:w,isLargeView:x,isLink:S,isForm:E,isTemplate:N,isMasked:_,isPath:P,isVideo:I,isCopyOrPaste:T,isDark:A,isDelete:L,clipName:z,formTemplateOptions:Y,commandRequestOutput:O,isCommandRequestRunError:$,commandRequestOutputLastRunAt:M,requestOptions:W,pathType:V,value:U=""}){var H,F,q;var J=sn(1);try{const{t:X}=Gt(),ne=Ds(!1),ee=Ds(!1),G=Ds(""),{metadataLinkByItemId:Z}=bx(S,e),le=S&&!!(Z!=null&&Z.linkTitle&&(Z!=null&&Z.linkDomain)),se=Ds({method:"GET",headers:[],body:"",scrapingRules:[],filters:[],auth:{}}),{valuePreview:de,morePreviewLines:ce,morePreviewChars:pe}=T7(U,g||w,x||S||P||h||m||b);v.useEffect(()=>{if(W)try{const Ee=JSON.parse(W);se.value=R(R({},se.value),Ee)}catch(Ee){}},[W]);const ve=U==null?void 0:U.trim();v.useEffect(()=>{C.value&&(ee.value=!1)},[C.value]),v.useEffect(()=>{P&&qs("check_path",{path:ve}).then(()=>{G.value=V}).catch(()=>{G.value="Error"})},[P]);const ye=x?"max-h-[600px]":"max-h-[300px]",be=ve.length===0;return o.jsxs(Fh,{className:Pn(T?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900","px-3 pr-2 py-1.5 mx-1 text-left flex flex-col select-auto relative rounded-md",L&&"!bg-red-50 dark:!bg-red-900"),children:[o.jsx(te,{className:"mb-0.5",children:P?o.jsx(jx,{theme:A?ml.vsDark:ml.github,code:ve,language:"path",children:({className:Ee,style:Fe,tokens:qe,getLineProps:ot,getTokenProps:Ve})=>o.jsx("code",{className:"".concat(Ee," ").concat(G.value==="Error"?" line-through decoration-gray-300":""),style:Fe,children:qe.map((Ke,lt)=>o.jsx("div",ae(R({},ot({line:Ke})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:Ke.map((De,Ye)=>o.jsx("span",ae(R({},Ve({token:De})),{className:"".concat(G.value==="Error"?"opacity-60":""," select-text"),children:De.content}),Ye))}),lt))})}):w?o.jsxs(te,{className:"text-ellipsis self-start text-xs overflow-hidden cursor-pointer",children:[o.jsx(te,{className:"flex px-0 py-1 items-center justify-center",children:o.jsx(gl,{src:ve,hasError:ne.value,onErrorCallback:()=>{ne.value=!0},draggable:!1,decoding:"async",className:"".concat(ye," min-h-10")})}),o.jsx("code",{className:"pb-0.5 select-none",children:de})]}):S&&g?o.jsxs(te,{className:"text-ellipsis self-start text-xs cursor-pointer overflow-hidden",children:[o.jsx(te,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:o.jsx(gl,{src:Dr(ve),hasError:ne.value,onErrorCallback:()=>{ne.value=!0},draggable:!1,decoding:"async",className:"".concat(ye," min-h-10")})}),o.jsx("code",{className:"pb-0.5",children:Sh(ve,t)})]}):g?o.jsxs(te,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards",children:[o.jsx("img",{src:l&&(u==="webp"||u==="gif")?"".concat(Jf(l),"?").concat(i):a&&l?a:!a&&!l?ih:L1,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),o.jsx(te,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:o.jsxs(te,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:X("Image size in pixels",{ns:"common"}),children:[d," ",u]})})]}):n&&p&&de?o.jsx(te,{className:"text-ellipsis self-start text-sm w-full select-text",children:o.jsx(ka,{isDark:A,isLargeView:x,isShowMore:C.value||ce==null,isWrapped:ee.value,value:C.value?ve:de,language:n})}):h&&de?o.jsxs(te,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[o.jsx(ka,{isDark:A,isLargeView:x,isCommand:!0,isShowMore:!0,isWrapped:ee.value,autoHideScrollbar:!0,value:ve,language:"shell"}),O&&o.jsxs(te,{className:"".concat($?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-1 rounded-md px-3 mb-1 relative border"),children:[o.jsx(ka,{isDark:A,maxHeight:100,isLargeView:!1,isShowMore:!0,isWrapped:ee.value,value:O,language:"shell"}),M&&o.jsx(te,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:o.jsx(st,{text:"".concat(X("Last run",{ns:"dashboard"}),": ").concat(Eh(M,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:zd().format(M,"mini-minute-now",{round:"floor"})})})]})]}):(m||b)&&de?o.jsxs(te,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[o.jsx(ka,{isDark:A,isLargeView:x,isShowMore:!0,isWrapped:ee.value,value:ve,autoHideScrollbar:!0,webRequestMethod:m?se.value.method:"URL",language:"shell"}),O&&o.jsxs(te,{className:"".concat($?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-0 rounded-md px-3 relative mb-1 border"),children:[o.jsx(ka,{isDark:A,maxHeight:100,isLargeView:!1,isShowMore:!0,isWrapped:ee.value,value:O,language:$?"text":"json"}),M&&o.jsx(te,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:o.jsx(st,{text:"".concat(X("Last run",{ns:"dashboard"}),": ").concat(Eh(M,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:zd().format(M,"mini-minute-now",{round:"floor"})})})]})]}):E?o.jsx(te,{className:"self-start text-sm w-full select-text",children:o.jsx(LU,{formTemplateOptions:Y,clipId:e})}):N?o.jsx(te,{className:"self-start text-sm w-full select-text",children:o.jsx(RU,{formTemplateOptions:Y,clipId:e,value:U})}):be?o.jsx("code",{className:"text-gray-300",children:z}):o.jsx(ik,{isExpanded:C.value,isWrapped:ee.value,isImageData:w,isLargeView:x,isCode:p,isMasked:_,isImage:g,trimmedValue:ve,valuePreview:de,isDark:A,hasLinkCard:le,metadataLinkByItemId:Z,metadataLinkImageWidth:12,morePreviewLines:ce,searchTerm:""})}),o.jsxs(me,{className:"justify-between select-none",children:[(m||h||b)&&O?o.jsx(te,{className:"flex flex-row items-center rounded",children:o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{ee.value=!ee.value},children:o.jsx(st,{text:ee.value?"No Wrap":"Lines Wrap",delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ee.value?o.jsx(c0,{width:20,height:20}):o.jsx(u0,{width:20,height:20})})})}):ce||pe?o.jsxs(te,{className:"flex flex-row items-center rounded",children:[o.jsx(te,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{C.value=!C.value},children:o.jsx(st,{text:C.value?"":X("Show all",{ns:"common"}),isCompact:!0,isDisabled:C.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:C.value?o.jsxs(o.Fragment,{children:["- ",X("show less",{ns:"common"})]}):pe?o.jsxs(o.Fragment,{children:["+",pe," ",X("chars",{ns:"common"})]}):ce&&o.jsxs(o.Fragment,{children:["+",ce," ",X("lines",{ns:"common"})]})})}),o.jsx(te,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{ee.value=!ee.value},children:o.jsx(st,{text:ee.value?X("No Wrap",{ns:"common"}):X("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ee.value?o.jsx(c0,{width:20,height:20}):o.jsx(u0,{width:20,height:20})})})]}):o.jsx(te,{}),o.jsxs(te,{className:"flex flex-row gap-1 items-center justify-end ",children:[h&&o.jsx(te,{className:"".concat($?"bg-red-500 dark:bg-red-800 text-slate-200 dark:text-red-200":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:$?X("Command error",{ns:"dashboard"}):X("Type:::Command",{ns:"dashboard"})}),(m||b)&&o.jsxs(me,{className:"gap-1",children:[o.jsxs(te,{className:"".concat($?"bg-red-500 dark:bg-red-800 text-slate-200 dark:text-red-200":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:[m&&o.jsx("span",{children:$?X("Request error",{ns:"dashboard"}):X("Type:::Request",{ns:"dashboard"})}),b&&o.jsx("span",{children:$?X("Error",{ns:"dashboard"}):X("Type:::Scraper",{ns:"dashboard"})})]}),b&&se.value.scrapingRules&&((H=se.value.scrapingRules)==null?void 0:H.filter(Ee=>Ee.isEnable).length)>0&&o.jsxs(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[X("Headers",{ns:"dashboard"}),o.jsx("span",{className:"ml-1 font-mono",children:se.value.headers.filter(Ee=>Ee.isEnable).length})]}),m&&se.value.headers.filter(Ee=>Ee.isEnable).length>0&&o.jsxs(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[X("Headers",{ns:"dashboard"}),o.jsx("span",{className:"ml-1 font-mono",children:se.value.headers.filter(Ee=>Ee.isEnable).length})]}),m&&((F=se.value.auth)==null?void 0:F.isEnable)&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:(q=se.value.auth)==null?void 0:q.type}),m&&se.value.filters.filter(Ee=>Ee.isEnable).length>0&&o.jsxs(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[X("Filters",{ns:"dashboard"}),o.jsx("span",{className:"ml-1 font-mono",children:se.value.filters.filter(Ee=>Ee.isEnable).length})]})]}),(_||s)&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(s?"px-0.5":"px-1.5"),children:_?X("Type:::Secret",{ns:"common"}):o.jsx(ec,{size:16})}),n&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:n}),S&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:I?X("Type:::Video",{ns:"common"}):Uc(ve)?X("Type:::Email",{ns:"common"}):X("Type:::Link",{ns:"common"})}),P&&G.value&&o.jsx(te,{className:"".concat(G.value==="Error"?"bg-red-300":"bg-slate-200"," text-xs rounded-sm px-1.5"),children:G.value==="Error"?o.jsx(st,{text:X("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-red-500 bg-red-50 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:G.value}):G.value}),r&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:X("Type:::Emoji",{ns:"common"})}),be&&!E&&!g&&o.jsx(te,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:X("Type:::Empty",{ns:"common"})}),w&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:X("Type:::Image Base64",{ns:"common"})}),E&&o.jsx(te,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:X("Type:::Auto Fill",{ns:"common"})}),o.jsxs(me,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[X("Type:::Clip",{ns:"common"}),o.jsx(ux,{size:11,className:"ml-1"})]})]})]})]})}finally{J.f()}}v.memo(Sq);function wEe({isDisabled:t,isActive:e,isMenuEdit:n,isSeparator:r,isMenu:s,isFolder:a,item:i,menuName:l,isDark:u,deletingMenuItemIds:d,isClip:p}){var m,b,C;var h=sn(1);try{const{clipItems:g}=Tt(Ir),w=it(!1),[x]=$h({}),[S]=zh({}),{itemId:E,isImage:N,isImageData:_,isPath:P,isLink:I,isCode:T,isText:A,detectedLanguage:L,imagePathFullRes:z,imageDataUrl:Y,imageHash:O,isMasked:$,isVideo:M,hasMaskedWords:W,hasEmoji:V,imageWidth:U,imageHeight:J,imageType:H,value:F}=i,q=v.useMemo(()=>p?g.find(ee=>ee.itemId===E):null,[p,g,E]),X=v.useMemo(()=>{var ee,G;return(G=(ee=d.value)==null?void 0:ee.includes(E))!=null?G:!1},[d.value,E]),ne=v.useMemo(()=>{if(!q||!q.links)return[];let ee=[];if(q.links)try{ee=JSON.parse(q.links)}catch(G){ee=[]}return ee},[q]);return n?o.jsx(B5e,{isClip:p,itemId:E,value:F,isCode:T,detectedLanguage:L,isText:A,isMenu:s,isImage:N,isMasked:$,isVideo:M,isDelete:X,hasEmoji:V,imageDataUrl:Y,isDark:u,isPath:P,isLink:I,deletingMenuItemIds:d,onCancel:()=>{th()}}):p&&(q==null?void 0:q.itemId)===E?o.jsx(Sq,{isImage:q.isImage,isLink:q.isLink,isVideo:q.isVideo,isPath:q.isPath,isForm:q.isForm,isTemplate:q.isTemplate,isCopyOrPaste:x===E||S===E,isCode:q.isCode,clipName:q.name,isCommand:q.isCommand,isWebRequest:q.isWebRequest,isWebScraping:q.isWebScraping,isExpanded:w,isDark:u,arrLinks:ne,isMasked:q.isMasked,hasMaskedWords:q.hasMaskedWords,detectedLanguage:q.detectedLanguage,hasEmoji:q.hasEmoji,pathType:q.pathType,isImageData:q.isImageData,imageHash:q.imageHash,imageType:q.imageType,imageScale:q.imageScale,imagePathFullRes:q.imagePathFullRes,imageDataUrl:q.imageDataUrl,isLargeView:!1,isDelete:X,formTemplateOptions:q.formTemplateOptions,commandRequestOutput:(m=q.commandRequestOutput)==null?void 0:m.replace("[Err]",""),isCommandRequestRunError:!!((b=q.commandRequestOutput)!=null&&b.startsWith("[Err]")),commandRequestOutputLastRunAt:q.commandRequestLastRunAt,requestOptions:q.requestOptions,imageWidthHeight:q.imageWidth?"".concat(q.imageWidth,"x").concat(q.imageHeight):null,clipId:E,value:q.value}):o.jsx(bEe,{itemId:E,isDark:u,isDisabled:t,isActive:e,isCopyOrPaste:x===E||S===E,isFolder:a,isImageData:_,isCode:T,isSeparator:r,menuName:l,isExpanded:w,isImage:N,isPath:P,isLink:I,isVideo:M,isDelete:X,isMasked:$,hasMaskedWords:W,hasEmoji:V,pathType:i.pathType,detectedLanguage:L,imagePathFullRes:z,imageDataUrl:Y,imageHash:O,imageWidthHeight:U?"".concat(U,"x").concat(J):null,imageType:H,arrLinks:i.links?(C=JSON.parse(i.links))!=null?C:[]:[],value:F})}finally{h.f()}}const kEe=({menuItems:t,selectedItemIds:e,onDelete:n,showMultiSelectItems:r,collectionId:s,setSelectedItemIds:a})=>{var i=sn(1);try{const{t:l}=Gt(),{deleteMenuItemsByIds:u}=_ge(),{updateMenuItemsByIds:d}=Sge();Us(["alt+s"],()=>{r.value=!r.value}),Us(["alt+d"],()=>{a([])});const p=v.useMemo(()=>e.filter(g=>{const w=t.find(({itemId:x})=>x===g);return w&&t.filter(({parentId:x})=>x===w.itemId).length===0}),[e,t]),h=v.useMemo(()=>e.filter(g=>{const w=t.find(({itemId:x})=>x===g);return w&&w.isActive===!1}),[e,t]),m=v.useMemo(()=>e.filter(g=>{const w=t.find(({itemId:x})=>x===g);return w&&w.isActive===!0}),[e,t]),b=v.useMemo(()=>e.filter(g=>{const w=t.find(({itemId:x})=>x===g);return w&&w.isDisabled===!1}),[e,t]),C=v.useMemo(()=>e.filter(g=>{const w=t.find(({itemId:x})=>x===g);return w&&w.isDisabled===!0}),[e,t]);return o.jsxs(Kn,{onOpenChange:()=>{},children:[o.jsx(Gn,{asChild:!0,children:o.jsxs(Se,{variant:"light",id:"menu-icon-menu-button_tour",className:"w-10 text-slate-400 hover:text-slate-500 hover:dark:text-slate-400 dark:text-slate-500 bg-slate-100 p-1 relative hover:bg-slate-100/70 dark:bg-slate-900 dark:hover:bg-slate-700/70",children:[o.jsx(rE,{className:"stroke-[1.3px]",size:22}),e.length>1&&o.jsx(St,{variant:"slate",className:"absolute right-[-10px] top-[-10px]",children:e.length})]})}),o.jsx(Wn,{sideOffset:10,align:"start",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:o.jsxs(xH,{children:[r.value?o.jsxs(rt,{onClick:()=>{r.value=!1},children:[o.jsx(bz,{className:"mr-2 h-4 w-4"}),o.jsx(re,{children:l("Hide Muli Select",{ns:"common"})}),o.jsx(Yl,{children:o.jsx(fo,{keys:"ALT+S"})})]}):o.jsxs(rt,{onClick:()=>{r.value=!0},children:[o.jsx(yz,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-2",children:l("Multi Select",{ns:"common"})}),o.jsx(Yl,{children:o.jsx(fo,{keys:"ALT+S"})})]}),o.jsxs(rt,{disabled:e.length===0,onClick:()=>{a([])},children:[o.jsx(G8,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-1",children:l("Deselect All",{ns:"common"})}),o.jsx(Yl,{children:o.jsx(fo,{keys:"ALT+D"})})]}),o.jsx(kn,{}),o.jsxs(rt,{onClick:()=>{Ln("build_system_menu")},children:[o.jsx(Uie,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-1",children:l("Rebuild Menu",{ns:"common"})})]}),o.jsx(kn,{}),C.length>0&&o.jsxs(rt,{onClick:()=>ge(void 0,null,function*(){yield d({updatedData:{isDisabled:!1},itemIds:e}),a([]),r.value=!1}),children:[o.jsx(Ez,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-1",children:l("Make Enabled",{ns:"common"})}),o.jsx(St,{variant:"slate",className:"ml-1 py-0 font-semibold",children:C.length})]}),b.length>0&&o.jsxs(rt,{onClick:()=>ge(void 0,null,function*(){yield d({updatedData:{isActive:!1},itemIds:e}),a([]),r.value=!1}),children:[o.jsx(t0,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-1",children:l("Make Disabled",{ns:"common"})}),o.jsx(St,{variant:"slate",className:"ml-1 py-0 font-semibold",children:b.length})]}),(b.length>0||C.length>0)&&o.jsx(kn,{}),m.length>0&&o.jsxs(rt,{onClick:()=>ge(void 0,null,function*(){yield d({updatedData:{isActive:!1},itemIds:e}),a([]),r.value=!1}),children:[o.jsx(lx,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-1",children:l("Make Inactive",{ns:"common"})}),o.jsx(St,{variant:"slate",className:"ml-1 py-0 font-semibold",children:m.length})]}),h.length>0&&o.jsxs(rt,{onClick:()=>ge(void 0,null,function*(){yield d({updatedData:{isActive:!0},itemIds:e}),a([]),r.value=!1}),children:[o.jsx(N0,{className:"mr-2 h-4 w-4"}),o.jsx(re,{className:"mr-1",children:l("Make Active",{ns:"common"})}),o.jsx(St,{variant:"slate",className:"ml-1 py-0 font-semibold",children:h.length})]}),(h.length>0||m.length>0)&&o.jsx(kn,{}),o.jsxs(rt,{disabled:p.length===0,onClick:g=>ge(void 0,null,function*(){Wi.value?(yield u({itemIds:p,collectionId:s}),setTimeout(()=>{n(),a([]),r.value=!1,Wi.value=!1},400)):(g.preventDefault(),Wi.value=!0,setTimeout(()=>{Wi.value=!1},3e3))}),children:[o.jsx(kr,{className:"mr-2 h-4 w-4 ".concat(Wi.value?"text-red-500 dark:text-red-600":"")}),o.jsxs(me,{children:[o.jsx(re,{className:"mr-1 ".concat(Wi.value?"!text-red-500 dark:!text-red-600":""),children:Wi.value?l("Click to Confirm",{ns:"common"}):l("Delete",{ns:"common"})}),p.length>0&&o.jsx(o.Fragment,{children:Wi.value?o.jsx(St,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:p.length}):o.jsx(St,{variant:"slate",className:"ml-1 py-0 font-semibold",children:p.length})})]})]})]})})]})}finally{i.f()}};function CEe(){var t=sn(1);try{JE(),e7();const{t:e}=Gt(),n=bl(),r=la(),{updateMenuItemById:s}=wx(),{isSwapPanels:a,setReturnRoute:i,setPanelSize:l,panelSize:u,getDefaultPanelWidth:d}=Tt(Is),{updateMovedMenuItems:p}=t7(),{isCollectionWithItemLoading:h,isCollectionWithItemSuccess:m}=NB(),{currentCollectionId:b,menuItems:C,isMenuLoaded:g,getCurrentCollectionTitle:w}=Tt(Ir),{data:x,setData:S}=kq(),{themeDark:E}=Tt(yo),[N,_]=v.useState(""),[P,I]=v.useState(null),[T,A]=v.useState([""]),[L,z]=v.useState([""]),{createNewItem:Y}=B5(!1),{linkClipIdToMenuItem:O}=jge(!1),$=Co(N,300),M=it(null),W=it(!1),V=it(!1),U=v.useRef(null),J=v.useRef(null),H=E(),F=v.useMemo(()=>g&&!h&&m,[g,h,m]),q=v.useMemo(()=>V.value,[V.value]),X=v.useMemo(()=>C.filter(G=>G.isActive),[C]);v.useEffect(()=>{i(n.pathname),th()},[]),v.useEffect(()=>{var G;zs!=null&&zs.value&&!((G=C==null?void 0:C.find(({itemId:le})=>le===zs.value))!=null&&G.isFolder)&&!cl.value&&I(zs.value)},[zs==null?void 0:zs.value,cl.value]),v.useEffect(()=>{S(C.length>0?Pv(C,null,q):[])},[C,q]);const ne=v.useMemo(()=>C.filter(G=>!G.isActive),[C]),ee=v.useMemo(()=>{const G=le=>{var se,de;return le.name.toLowerCase().includes($.toLowerCase())?!0:(de=(se=le.children)==null?void 0:se.some(G))!=null?de:!1},Z=(le,se=0)=>{let de=[];return le.forEach(ce=>{var ye,be;const pe=G(ce),ve=C.find(Ee=>Ee.itemId===ce.id);if(ve&&pe){const Ee=ae(R({},ve),{indent:se,id:ce.id});if(de.push(Ee),ce.children&&((ye=ce.children)==null?void 0:ye.length)>0&&!L.includes((be=ce.id)!=null?be:"")){const Fe=Z(ce.children,se+1);de=de.concat(Fe)}}}),de};return Z(x)},[x,C,L,q,$]);return v.useEffect(()=>{function G(){return ge(this,null,function*(){var Z,le,se,de,ce,pe,ve,ye,be,Ee,Fe,qe,ot,Ve,Ke,lt,De,Ye;if(io.value){const{type:dt,parentId:He,clipId:mt,historyId:Ue,text:ht="",clipboardHistoryItem:Qe,orderNumber:Rt=0}=io.value,Ut=dt===oi.FOLDER?e("New Submenu",{ns:"menus"}):dt===oi.ITEM?e("New Menu",{ns:"menus"}):dt===oi.DISABLED?e("New Disabled Menu",{ns:"menus"}):"",wt=!!mt,Xt=(Z=ee.filter(({name:we})=>we.startsWith(Ut)).length)!=null?Z:0,$t=Qe==null?void 0:Qe.isImage,tn=Ue&&(Qe!=null&&Qe.historyId)?{historyId:Ue,name:Qe!=null&&Qe.value?Qe.value.substring(0,50).replace(/\n\t/g,"").replace(/\s+/g," ").trim():$t?"".concat(e("Image size",{ns:"common"})," (").concat(Qe==null?void 0:Qe.imageWidth,"x").concat(Qe==null?void 0:Qe.imageHeight,")"):Xt>0?"".concat(Ut," (").concat(Xt,")"):Ut,isClip:!1,isMenu:!0,value:"",isActive:!0,description:null,detectedLanguage:(le=Qe==null?void 0:Qe.detectedLanguage)!=null?le:null,isImage:(se=Qe==null?void 0:Qe.isImage)!=null?se:!1,imageDataUrl:(de=Qe==null?void 0:Qe.imageDataUrl)!=null?de:null,imagePathFullRes:(ce=Qe==null?void 0:Qe.imagePathFullRes)!=null?ce:null,imageHeight:(pe=Qe==null?void 0:Qe.imageHeight)!=null?pe:null,imageWidth:(ve=Qe==null?void 0:Qe.imageWidth)!=null?ve:null,imagePreviewHeight:(ye=Qe==null?void 0:Qe.imagePreviewHeight)!=null?ye:null,isLink:(be=Qe==null?void 0:Qe.isLink)!=null?be:!1,links:(Ee=Qe==null?void 0:Qe.links)!=null?Ee:null,isImageData:(Fe=Qe==null?void 0:Qe.isImageData)!=null?Fe:!1,isMasked:(qe=Qe==null?void 0:Qe.isMasked)!=null?qe:!1,isVideo:(ot=Qe==null?void 0:Qe.isVideo)!=null?ot:!1,isCode:(Ve=Qe==null?void 0:Qe.isCode)!=null?Ve:!1,isText:(Ke=Qe==null?void 0:Qe.isText)!=null?Ke:!1,hasEmoji:(lt=Qe==null?void 0:Qe.hasEmoji)!=null?lt:!1,hasMaskedWords:(De=Qe==null?void 0:Qe.hasMaskedWords)!=null?De:!1,hasMultiLineCopy:!1,showDescription:!1,isDeleted:!1,indent:0,parentId:He!=null?He:null,tabId:null,collectionId:b,createdAt:0,orderNumber:Rt+1}:{name:Xt>0?"".concat(Ut," (").concat(Xt,")"):Ut,isClip:wt,isMenu:!0,value:ht,description:null,isActive:!0,isFolder:dt===oi.FOLDER,isSeparator:dt===oi.SEPARATOR,isDisabled:dt===oi.DISABLED,isText:!0,isDeleted:!1,indent:0,parentId:He!=null?He:null,tabId:null,collectionId:b,createdAt:0,orderNumber:Rt+1},Pt=wt?yield O({clipId:mt,item:tn}):yield Y({item:tn});(Ye=Qe==null?void 0:Qe.linkMetadata)!=null&&Ye.metadataId&&!wt&&(yield Ln("copy_link_metadata_to_new_item_id",{metadataId:Qe.linkMetadata.metadataId,itemId:Pt}));const We=Pv(C,null,!0);We.unshift(ae(R({},tn),{id:Pt}));const Je=c6(We,He!=null?He:null,[Pt],He&&Rt>0?Rt-1:Rt),jt=Je==null?void 0:Je.map(({id:we,parentId:je,orderNumber:Ie})=>({itemId:we,parentId:je,tabId:null,collectionId:b,orderNumber:Ie}));p({updatedMoveMenuItems:jt}),uo.value=!1,io.value=null,A([]),oi.FOLDER!==dt&&oi.DISABLED!==dt&&oi.SEPARATOR!==dt&&I(Pt),oi.SEPARATOR!==dt&&!wt&&(zs.value=Pt,cl.value=!0)}})}G()},[io.value]),v.useEffect(()=>{ad.value&&(I(ad.value),setTimeout(()=>{ad.value=null},2e3))},[ad.value,J==null?void 0:J.current]),v.useEffect(()=>{var G;J!=null&&J.current&&((G=J==null?void 0:J.current)==null||G.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[J==null?void 0:J.current]),o.jsx(vk,{children:o.jsxs(Q7,{minSize:260,maxSize:700,defaultSize:d(),swapPanes:a,onResize:l,autoSaveId:"app-main-panel",children:[o.jsx(J7,{children:o.jsx(te,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] pb-4 pt-4 px-3 pr-3",children:o.jsx(Ph,{disableWidth:!0,children:({height:G})=>G&&G>0&&!h&&b&&o.jsxs(te,{className:"flex flex-col h-[calc(100vh-95px)] relative",id:"side-panel_tour",children:[x.length>0?o.jsx(te,{className:"flex flex-row bg-slate-100 dark:bg-slate-700 rounded-md p-0 items-center h-[40px] mb-2",id:"menu-find_tour",children:o.jsx(Hd,{placeholder:"".concat(e("Find in menu",{ns:"menus"}),"..."),type:"search",ref:U,onChange:Z=>{_(Z.target.value)},iconLeft:o.jsx(n0,{className:"h-4 w-4"}),classNameInput:"w-full pr-0",className:"text-md ring-offset-0 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0"})}):F&&C.length===0&&o.jsx(me,{style:{height:G-85},className:"flex items-center flex-col gap-3 justify-center",children:o.jsx(re,{className:"animate-in fill-mode-forwards fade-in text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:e("No Menu Items",{ns:"menus"})})}),o.jsxs(or,{style:{maxHeight:G-93},autoHide:!0,children:[o.jsx(J8e,{data:x,rowHeight:33,selectedIds:T,closedFolderItemIds:L,renderCursor:oEe,renderContainer:yEe,renderDragPreview:pEe,onMove:({dragIds:Z,index:le,parentId:se})=>{const de=c6(x,se,Z,le),ce=de==null?void 0:de.map(({id:pe,parentId:ve,orderNumber:ye})=>({itemId:pe,parentId:ve,tabId:null,collectionId:b,orderNumber:ye}));p({updatedMoveMenuItems:ce})},onSelect:Z=>{const le=Z.map(de=>de.id);le.length===T.length&&le.every(de=>T.includes(de))||A(le)},onFolderClose:Z=>{z(le=>[...le,Z])},onFolderOpen:Z=>{z(le=>le.filter(se=>se!==Z))},onRename:se=>ge(this,[se],function*({id:Z,name:le}){var ce;if(le.length<1){yield vo(e("Menu label cannot be empty.",{ns:"menus"}),"PasteBar");return}if(le.length>N1){yield vo("".concat(e("Menu label is too long. Max length is",{ns:"menus"})," ").concat(N1,"."),"PasteBar");return}if((ce=C.find(pe=>pe.itemId===Z))==null?void 0:ce.isClip){yield vo(e("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}yield s({updatedItem:{itemId:Z,name:le}})}),onSearchClear:()=>{var Z;_(""),U!=null&&U.current&&(U.current.value="",(Z=U==null?void 0:U.current)==null||Z.focus())},searchMatch:(Z,le)=>{const se=Z.data.name;return typeof se=="string"?se.toLowerCase().includes(le.toLowerCase()):!1},renderRow:xEe,searchTerm:$,disableDrop:()=>!1,children:gEe}),!$&&X.length>1&&x.length>0&&o.jsx(re,{className:"!text-gray-400/80 border-t border-gray-300/70 dark:border-gray-600/70 !block text-center !text-[12px] mt-2 pt-1 whitespace-nowrap overflow-hidden text-ellipsis",children:e("Drag items to reorder, double click to rename",{ns:"menus"})})]}),o.jsx(te,{className:"flex-1 mt-3"}),o.jsxs(hl,{className:"min-w-full flex flex-row justify-center h-10 items-center gap-2",value:n.pathname,onValueChange:Z=>{r(Z,{replace:!0})},children:[o.jsxs(Yo,{className:"self-center",id:"tabs-menu_tour",children:[o.jsx(jr,{value:"/history",className:"min-w-[90px]",children:u{var Z;_(""),U!=null&&U.current&&U.current.value&&(U.current.value="",(Z=U==null?void 0:U.current)==null||Z.focus())},showMultiSelectItems:W,setSelectedItemIds:A,selectedItemIds:T})]})]})})})}),o.jsx(eN,{children:F&&o.jsx(te,{className:"h-[calc(100vh-70px)] select-none flex flex-col bg-slate-50 border shadow-sm rounded-xl dark:bg-gray-900/60 dark:border-gray-800 dark:shadow-slate-700/[.7]",children:o.jsx(Ph,{disableWidth:!0,children:({height:G})=>G&&o.jsxs(te,{className:"p-4 py-4 pb-2 select-auto",id:"menu-main-list_tour",children:[o.jsxs(me,{className:"justify-center relative h-8 pt-2 select-none",children:[ne.length>0&&o.jsx(Se,{variant:"ghost",id:"toggle-inactive-menu-items_tour",className:"bg-slate-200 p-1.5 text-slate-500 dark:bg-slate-700 dark:hover:bg-slate-700/80 dark:text-slate-300 rounded-sm flex items-center group absolute top-1 left-1",onClick:()=>{V.value=!q},children:o.jsx(st,{asChild:!0,side:"bottom",isCompact:!0,sideOffset:12,text:e("Toggle inactive menu items",{ns:"menus"}),children:o.jsxs(te,{className:"relative",children:[q?o.jsx(lx,{size:20,className:"transition-colors group-hover:text-slate-400 dark:group-hover:text-slate-300/80 dark:text-slate-500"}):o.jsx(N0,{size:20,className:"transition-colors group-hover:text-slate-400 dark:group-hover:text-slate-500 dark:text-slate-300/80"}),o.jsx(St,{className:"absolute right-[-16px] top-[-17px] ".concat(q?"bg-slate-400/80 dark:bg-slate-600 text-slate-100 dark:text-slate-400/80":"bg-slate-300/80 dark:bg-slate-700 dark:text-slate-200/80 text-slate-500"),variant:"".concat(q?"default":"outline"),children:ne.length})]})})}),!uo.value||X.length===0?o.jsx(te,{className:"text-[13px] select-none",children:X.length>0?o.jsxs(re,{className:"gap-1",children:[o.jsx("span",{className:"font-semibold",children:X.length}),o.jsxs("span",{children:[ne.length>0?e("active",{ns:"menus"}):""," ",e("menu items in",{ns:"menus"})]}),o.jsx(FA,{children:o.jsx("span",{className:"font-semibold underline cursor-pointer select-none",children:w()})})]}):o.jsxs(re,{className:"gap-1",children:[o.jsx("span",{children:e("No {{hasActive}} menu items in",{ns:"menus",hasActive:ne.length>0?e("active",{ns:"menus"}):""})}),o.jsx(FA,{children:o.jsx("span",{className:"font-semibold underline cursor-pointer",children:w()})})]})}):o.jsx(te,{className:"text-[13px]",children:o.jsx(re,{className:"text-center",children:e("Select item to add a menu after",{ns:"menus"})})}),X.length>0&&o.jsx(jw,{isMainCreateMenu:!0,isDark:H,showEditMenuItemId:zs,isCreatingMenuItem:uo})]}),X.length===0&&o.jsx(me,{className:"mt-6 flex-col select-none",children:o.jsxs(te,{children:[o.jsx(jw,{isFistItemsCreateMenu:!0,isDark:H,showEditMenuItemId:zs,isCreatingMenuItem:uo}),o.jsx(re,{className:"text-sm mt-4 !text-slate-500",children:e("Create Menu",{ns:"menus"})})]})}),o.jsx(Rn,{h:2}),o.jsxs(or,{style:{height:G-75},autoHide:!0,className:"select-none",children:[o.jsx(cB,{type:"single",collapsible:!0,value:P!=null?P:"",className:"flex items-center flex-col select-none",children:ee.map((Z,le)=>Z.itemId&&o.jsx(ZE,{ref:ad.value===Z.itemId?J:null,value:Z.itemId,children:o.jsx(kW,{label:Z.name,setOpenItemId:I,setSelectedItemIds:A,isLastItem:le===ee.length-1,deletingMenuItemIds:M,isFirstItem:le===0,showEditMenuItemId:zs,hasChildren:Z.hasChildren,isSeparator:Z.isSeparator,showMultiSelectItems:W,hasSelectedItems:T.length>0,isDark:H,deselectItemById:se=>{A(T.filter(de=>de!==se))},selectItemById:se=>{A(de=>[...de,se])},id:Z.itemId,item:Z,isClip:Z.isClip,isForm:Z.isForm&&Z.isClip,isWebRequest:Z.isWebRequest&&Z.isClip,isWebScraping:Z.isWebScraping&&Z.isClip,isCommand:Z.isCommand&&Z.isClip,isCreatingMenuItem:uo,indent:Z.indent,onFolderClose:se=>{z(de=>[...de,se])},onFolderOpen:se=>{z(de=>de.filter(ce=>ce!==se))},isClosedFolder:L.includes(Z.itemId),isSelected:T.includes(Z.itemId),hasMultipleSelectedItems:T.length>1,isOpen:P===Z.itemId,children:o.jsx(wEe,{menuName:Z.name,isDisabled:Z.isDisabled,isMenuEdit:zs.value===Z.itemId,isActive:Z.isActive,isDark:H,isMenu:Z.isMenu,isCode:Z.isCode,isSeparator:Z.isSeparator,isFolder:Z.isFolder,isText:Z.isText,isClip:Z.isClip,deletingMenuItemIds:M,item:Z})})},"".concat(Z.itemId)))}),o.jsx(Rn,{h:3})]})]})})})})]},a?"swap":"no-swap")})}finally{t.f()}}function SEe(){const t=Te(37),{returnRoute:e}=Tt(Is),{t:n}=Gt();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=o.jsx(Ah,{className:"mr-2"}),t[0]=r):r=t[0];let s;t[1]!==n?(s=n("PasteBar Settings",{ns:"settings"}),t[1]=n,t[2]=s):s=t[2];let a;t[3]!==s?(a=o.jsx(te,{className:"flex flex-rowrounded-md p-0 items-center justify-end pr-5 h-[40px]",children:o.jsxs(re,{className:"text-lg font-semibold text-center flex items-center",children:[r,s]})}),t[3]=s,t[4]=a):a=t[4];let i;t[5]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx(Rn,{h:3}),t[5]=i):i=t[5];let l;t[6]!==n?(l=o.jsx(Ep,{to:"/app-settings/history",replace:!0,id:"app-settings-history_tour",children:_=>{const{isActive:P}=_;return o.jsx(re,{className:"pr-5 py-3 text-lg justify-end text-right items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(P&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:n("Clipboard History Settings",{ns:"settings"})})}}),t[6]=n,t[7]=l):l=t[7];let u;t[8]!==n?(u=o.jsx(Ep,{to:"/app-settings/collections",replace:!0,id:"app-settings-collections_tour",children:_=>{const{isActive:P}=_;return o.jsx(re,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(P&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:n("Manage Collections",{ns:"settings"})})}}),t[8]=n,t[9]=u):u=t[9];let d;t[10]!==n?(d=o.jsx(Ep,{to:"/app-settings/preferences",replace:!0,id:"app-settings-preferences_tour",children:_=>{const{isActive:P}=_;return o.jsx(re,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(P&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:n("User Preferences",{ns:"settings"})})}}),t[10]=n,t[11]=d):d=t[11];let p;t[12]!==n?(p=o.jsx(Ep,{to:"/app-settings/security",replace:!0,id:"app-settings-security_tour",children:_=>{const{isActive:P}=_;return o.jsx(re,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(P&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:n("Security",{ns:"settings"})})}}),t[12]=n,t[13]=p):p=t[13];let h;t[14]!==n?(h=o.jsx(Ep,{to:"/app-settings/license",replace:!0,id:"app-settings-license_tour",children:_=>{const{isActive:P}=_;return o.jsx(re,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(P&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:n("License",{ns:"settings"})})}}),t[14]=n,t[15]=h):h=t[15];let m;t[16]===Symbol.for("react.memo_cache_sentinel")?(m=o.jsx(Rn,{h:6}),t[16]=m):m=t[16];let b;t[17]===Symbol.for("react.memo_cache_sentinel")?(b=o.jsx(me,{className:"mr-5 justify-end",children:o.jsx(BE,{decorative:!0,className:"bg-gray-300 dark:bg-gray-600"})}),t[17]=b):b=t[17];let C;t[18]===Symbol.for("react.memo_cache_sentinel")?(C=o.jsx(Rn,{h:6}),t[18]=C):C=t[18];let g;t[19]!==n?(g=n("Back",{ns:"common"}),t[19]=n,t[20]=g):g=t[20];let w;t[21]!==g?(w=o.jsx(te,{className:"pr-5 font-right text-right py-3 text-md animate fade-in transition-fonts duration-100",children:o.jsx(Se,{variant:"secondary",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",children:g})}),t[21]=g,t[22]=w):w=t[22];let x;t[23]!==e||t[24]!==w?(x=o.jsx(Ep,{to:e,replace:!0,id:"app-settings-back_tour",children:w}),t[23]=e,t[24]=w,t[25]=x):x=t[25];let S;t[26]!==a||t[27]!==l||t[28]!==u||t[29]!==d||t[30]!==p||t[31]!==h||t[32]!==x?(S=o.jsx(J7,{children:o.jsx(te,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] py-6 px-3 pr-3",children:o.jsxs(te,{className:"animate-in fade-in",children:[a,i,l,u,d,p,h,m,b,C,x]})})}),t[26]=a,t[27]=l,t[28]=u,t[29]=d,t[30]=p,t[31]=h,t[32]=x,t[33]=S):S=t[33];let E;t[34]===Symbol.for("react.memo_cache_sentinel")?(E=o.jsx(eN,{children:o.jsx(te,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-50 border-0 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.7]",children:o.jsx(A7,{})})}),t[34]=E):E=t[34];let N;return t[35]!==S?(N=o.jsx(vk,{children:o.jsx(te,{className:"w-full",children:o.jsxs(Q7,{minSize:290,maxSize:360,defaultSize:290,autoSaveId:"app-main-panel-settings",children:[S,E]})})}),t[35]=S,t[36]=N):N=t[36],N}function jEe(t){const e=Te(19),{id:n,language:r}=t;let s;e[0]!==n?(s={id:n},e[0]=n,e[1]=s):s=e[1];const{attributes:a,listeners:i,setNodeRef:l,transform:u,transition:d,isDragging:p}=l5(s);let h;e[2]!==u?(h=Ko.Transform.toString(u),e[2]=u,e[3]=h):h=e[3];let m;e[4]!==h||e[5]!==d?(m={transform:h,transition:d},e[4]=h,e[5]=d,e[6]=m):m=e[6];const b=m,C=p?"z-100 opacity-70":"z-auto opacity-100";let g;e[7]!==r?(g=o.jsx(me,{className:"items-center justify-center ml-2",children:o.jsx(re,{children:r})}),e[7]=r,e[8]=g):g=e[8];let w;e[9]===Symbol.for("react.memo_cache_sentinel")?(w=o.jsx(Se,{variant:"ghost",size:"sm",className:"opacity-40 hover:opacity-90",children:o.jsx(cx,{size:20})}),e[9]=w):w=e[9];let x;e[10]!==g?(x=o.jsxs(me,{className:"items-center justify-between p-2 border rounded mb-2 dark:bg-slate-900 bg-slate-50",children:[g,w]}),e[10]=g,e[11]=x):x=e[11];let S;return e[12]!==l||e[13]!==b||e[14]!==a||e[15]!==i||e[16]!==C||e[17]!==x?(S=o.jsx("div",ae(R(R({ref:l,style:b},a),i),{className:C,children:x})),e[12]=l,e[13]=b,e[14]=a,e[15]=i,e[16]=C,e[17]=x,e[18]=S):S=e[18],S}function EEe(){const t=Te(64),{isHistoryEnabled:e,setIsHistoryEnabled:n,isHistoryAutoUpdateOnCaputureEnabled:r,setIsHistoryAutoUpdateOnCaputureEnabled:s,setIsExclusionListEnabled:a,historyExclusionList:i,autoMaskWordsList:l,isExclusionListEnabled:u,setHistoryExclusionList:d,setAutoMaskWordsList:p,isAutoMaskWordsListEnabled:h,isAutoPreviewLinkCardsEnabled:m,setIsAutoPreviewLinkCardsEnabled:b,isAutoFavoriteOnDoubleCopyEnabled:C,setIsAutoFavoriteOnDoubleCopyEnabled:g,setIsAutoMaskWordsListEnabled:w,setHistoryDetectLanguagesEnabledList:x,setHistoryDetectLanguagesPrioritizedList:S,setIsHistoryDetectLanguageEnabled:E,isHistoryDetectLanguageEnabled:N,historyDetectLanguagesEnabledList:_,historyDetectLanguagesPrioritizedList:P,historyDetectLanguageMinLines:I,setHistoryDetectLanguageMinLines:T,isAutoClearSettingsEnabled:A,setIsAutoClearSettingsEnabled:L,autoClearSettingsDuration:z,setAutoClearSettingsDuration:Y,autoClearSettingsDurationType:O,setAutoClearSettingsDurationType:$,isAppReady:M,CONST:W}=Tt(Cr),{APP_DETECT_LANGUAGES_SUPPORTED:V}=W,{returnRoute:U}=Tt(Is),{t:J}=Gt(),[H,F]=v.useState(""),[q,X]=v.useState(""),[ne,ee]=v.useState(!1),G=Co(H,300),Z=Co(q,300);let le;t[0]===Symbol.for("react.memo_cache_sentinel")?(le=[],t[0]=le):le=t[0];const[se,de]=v.useState(le);let ce,pe;t[1]!==P||t[2]!==_?(ce=()=>{hC(P)&&!hC(_)?de(_):hC(P)||de(P)},pe=[_,P],t[1]=P,t[2]=_,t[3]=ce,t[4]=pe):(ce=t[3],pe=t[4]),v.useEffect(ce,pe);let ve;t[5]!==M||t[6]!==d||t[7]!==G?(ve=()=>{M&&d(zy(G))},t[5]=M,t[6]=d,t[7]=G,t[8]=ve):ve=t[8];let ye;t[9]!==G||t[10]!==M?(ye=[G,M],t[9]=G,t[10]=M,t[11]=ye):ye=t[11],v.useEffect(ve,ye);let be;t[12]!==M||t[13]!==p||t[14]!==Z?(be=()=>{M&&p(zy(Z))},t[12]=M,t[13]=p,t[14]=Z,t[15]=be):be=t[15];let Ee;t[16]!==Z||t[17]!==M?(Ee=[Z,M],t[16]=Z,t[17]=M,t[18]=Ee):Ee=t[18],v.useEffect(be,Ee);let Fe;t[19]!==M||t[20]!==i||t[21]!==l?(Fe=()=>{M&&(F(i),X(l))},t[19]=M,t[20]=i,t[21]=l,t[22]=Fe):Fe=t[22];let qe;t[23]!==M?(qe=[M],t[23]=M,t[24]=qe):qe=t[24],v.useEffect(Fe,qe);let ot;t[25]===Symbol.for("react.memo_cache_sentinel")?(ot={days:[1,2,3,4,5,6],weeks:[1,2,3],months:[1,3,6,8],year:[1,2]},t[25]=ot):ot=t[25];const Ve=ot;let Ke;t[26]!==J?(Ke=function(dt,He){const Ue={days:dt===1?J("Day",{ns:"calendar"}):J("Days",{ns:"calendar"}),weeks:dt===1?J("Week",{ns:"calendar"}):J("Weeks",{ns:"calendar"}),months:dt===1?J("Month",{ns:"calendar"}):J("Months",{ns:"calendar"}),year:dt===1?J("Year",{ns:"calendar"}):J("Years",{ns:"calendar"})}[He];return"".concat(dt," ").concat(Ue)},t[26]=J,t[27]=Ke):Ke=t[27];const lt=Ke;let De;return t[28]!==J||t[29]!==U||t[30]!==e||t[31]!==n||t[32]!==r||t[33]!==s||t[34]!==C||t[35]!==g||t[36]!==m||t[37]!==b||t[38]!==u||t[39]!==a||t[40]!==d||t[41]!==H||t[42]!==h||t[43]!==w||t[44]!==p||t[45]!==q||t[46]!==ne||t[47]!==N||t[48]!==E||t[49]!==I||t[50]!==T||t[51]!==V||t[52]!==_||t[53]!==x||t[54]!==se||t[55]!==S||t[56]!==A||t[57]!==L||t[58]!==O||t[59]!==$||t[60]!==Y||t[61]!==z||t[62]!==lt?(De=o.jsx(Ph,{disableWidth:!0,children:Ye=>{const{height:dt}=Ye;return dt&&o.jsxs(te,{className:"p-4 py-6 select-none min-w-[320px]",children:[o.jsxs(te,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[o.jsx(re,{className:"light",children:J("Clipboard History Settings",{ns:"settings"})}),o.jsx(au,{to:U,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:J("Back",{ns:"common"})})})]}),o.jsx(Rn,{h:3}),o.jsxs(or,{style:{maxHeight:dt-85},autoHide:!0,children:[o.jsx(te,{className:"animate-in fade-in max-w-xl",children:o.jsxs(cr,{className:"".concat(!e&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Capture History",{ns:"settings"})}),o.jsx(ts,{checked:e,className:"ml-auto",onCheckedChange:()=>{n(!e)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Enable history capture",{ns:"settings"})})})]})}),e&&o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"max-w-xl animate-in fade-in mt-4",children:o.jsxs(cr,{className:"".concat(!r&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Auto-Update on Capture",{ns:"settings"})}),o.jsx(ts,{checked:r,className:"ml-auto",onCheckedChange:()=>{s(!r)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Enable auto update on capture",{ns:"settings"})})})]})}),o.jsx(te,{className:"mt-4 max-w-xl animate-in fade-in",children:o.jsxs(cr,{className:"".concat(!C&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Auto-Star on Double Copy",{ns:"settings"})}),o.jsx(ts,{checked:C,className:"ml-auto",onCheckedChange:()=>{g(!C)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Add a star to the copied text when you copy it twice within 1 second. This allows you to quickly add copied text or links to your favorites and easily find it in the clipboard history.",{ns:"settings"})})})]})}),o.jsx(te,{className:"mt-4 max-w-xl animate-in fade-in",children:o.jsxs(cr,{className:"".concat(!m&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Auto-Preview Link on Hover",{ns:"settings"})}),o.jsx(ts,{checked:m,className:"ml-auto",onCheckedChange:()=>{b(!m)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Create a preview card on link hover in the clipboard history. This allows you to preview the link before opening or pasting it.",{ns:"settings"})})})]})}),o.jsx(te,{className:"max-w-xl animate-in fade-in mt-4",children:o.jsxs(cr,{className:"".concat(!u&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Stop Words List",{ns:"settings"})}),o.jsx(ts,{checked:u,className:"ml-auto",onCheckedChange:()=>{a(!u)}})]}),o.jsxs(pr,{children:[o.jsx(re,{className:"text-sm text-muted-foreground mb-2",children:J("Words or sentences listed below will not be captured in clipboard history if found in the copied text. Case insensitive.",{ns:"settings"})}),o.jsx(ko,{className:"text-sm",isDisabled:!u,label:J("List each word or sentence on a new line.",{ns:"settings"}),placeholder:void 0,rows:5,maxRows:15,enableEmoji:!1,onBlur:()=>{d(zy(H))},onChange:He=>{F(He.target.value)},value:H})]})]})}),o.jsx(te,{className:"max-w-xl animate-in fade-in mt-4",children:o.jsxs(cr,{className:"".concat(!h&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Auto Masking Words List",{ns:"settings"})}),o.jsx(ts,{checked:h,className:"ml-auto",onCheckedChange:()=>{w(!h)}})]}),o.jsxs(pr,{children:[o.jsx(re,{className:"text-sm text-muted-foreground mb-2",children:J("Sensitive words or sentences listed below will automatically be masked if found in the copied text. Case insensitive.",{ns:"settings"})}),o.jsx(ko,{className:"text-sm",label:J("List each word or sentence on a new line.",{ns:"settings"}),placeholder:void 0,isDisabled:!h,rows:5,maxRows:15,enableEmoji:!1,onFocus:()=>{ee(!0)},onBlur:()=>{p(zy(q)),ee(!1)},onChange:He=>{X(He.target.value)},value:ne?q:bh(q)})]})]})}),o.jsx(te,{className:"max-w-xl animate-in fade-in mt-4",children:o.jsxs(cr,{className:"".concat(!N&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Programming Language Detection",{ns:"settings"})}),o.jsx(ts,{checked:N,className:"ml-auto",onCheckedChange:()=>{E(!N)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Enable programming language detection",{ns:"settings"})})})]})})]}),e&&N&&o.jsxs(o.Fragment,{children:[o.jsx(te,{className:"max-w-xl mt-4 animate-in fade-in",children:o.jsxs(cr,{children:[o.jsx(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Minimum number of lines to trigger detection",{ns:"settings"})})}),o.jsx(pr,{children:o.jsx(wn,{className:"text-md !w-36",error:void 0,small:!0,label:J("Number of lines",{ns:"common"}),value:I,onChange:He=>{const mt=He.target.value;if(mt==="")T(0);else{const Ue=parseInt(mt);Ue&&T(Ue)}}})})]})}),o.jsx(te,{className:"mt-4 max-w-2xl animate-in fade-in",children:o.jsxs(cr,{children:[o.jsx(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full",children:[J("Programming Language Selection",{ns:"settings"}),o.jsx(re,{className:"mt-2 text-sm text-muted-foreground",children:J("To ensure the best detection accuracy, please select up to 7 languages. Limiting choices improves precision.",{ns:"settings"})})]})}),o.jsx(pr,{children:o.jsx(te,{className:"grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 py-2",children:V.map((He,mt)=>o.jsx("button",{className:"flex",onClick:()=>{if(_.length>=7&&!_.includes(He))return;x(_.includes(He)?_.filter(ht=>ht!==He):_.concat([He]));const Ue=se.includes(He)?se.filter(ht=>ht!==He):se.concat([He]);de(Ue.filter(Boolean)),S(Ue.filter(Boolean))},children:o.jsx(D6,{label:He,checked:_.includes(He)})},mt))})})]})}),se.length>0&&o.jsx(te,{className:"mt-4 max-w-2xl animate-in fade-in",children:o.jsxs(cr,{children:[o.jsx(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full",children:[J("Prioritize Language Detection",{ns:"settings"}),o.jsx(re,{className:"mt-2 text-sm text-muted-foreground",children:J("Drag and drop to prioritize languages for detection. The higher a language is in the list, the higher its detection priority.",{ns:"settings"})})]})}),o.jsx(pr,{children:o.jsx($8,{collisionDetection:KO,onDragEnd:He=>{const{active:mt,over:Ue}=He;Ue!=null&&Ue.id&&mt.id!==(Ue==null?void 0:Ue.id)&&de(ht=>{const Qe=ht.indexOf(mt.id.toString()),Rt=ht.indexOf(Ue.id.toString()),Ut=Ur(ht,Qe,Rt);return Pse(ht,Ut)||S(Ut),Ut})},children:o.jsx(_2,{items:se,strategy:IJ,children:se.map(He=>He&&o.jsx(jEe,{id:He,language:He},He))})})})]})})]}),o.jsx(te,{className:"mt-4 max-w-xl animate-in fade-in",children:o.jsxs(cr,{className:"".concat(!A&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:J("Auto-Clear Settings",{ns:"settings"})}),o.jsx(ts,{checked:A,className:"ml-auto",onCheckedChange:()=>{L(!A)}})]}),o.jsxs(pr,{children:[o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Configure settings to automatically delete clipboard history items after a specified duration.",{ns:"settings"})}),A&&o.jsxs(me,{className:"mt-6 row justify-start",children:[o.jsx(re,{className:"text-sm text-muted-foreground",children:J("Auto-delete clipboard history after",{ns:"settings"})}),o.jsx(me,{className:"mx-2",children:o.jsxs(BM,{value:O,onValueChange:He=>{$(He),Y(1)},children:[o.jsx(j6,{children:o.jsx(UM,{placeholder:"Select"})}),o.jsxs(E6,{children:[o.jsx($p,{value:"days",children:o.jsx("span",{className:"font-medium",children:J("Days",{ns:"calendar"})})}),o.jsx($p,{value:"weeks",children:o.jsx("span",{className:"font-medium",children:J("Weeks",{ns:"calendar"})})}),o.jsx($p,{value:"months",children:o.jsx("span",{className:"font-medium",children:J("Months",{ns:"calendar"})})}),o.jsx($p,{value:"year",children:o.jsx("span",{className:"font-medium",children:J("Years",{ns:"calendar"})})})]})]})}),o.jsx(me,{children:o.jsxs(BM,{value:z.toString(),onValueChange:He=>{Y(Number(He))},children:[o.jsx(j6,{children:o.jsx(UM,{placeholder:"Select"})}),o.jsx(E6,{children:Ve[O].map(He=>o.jsx($p,{value:He.toString(),children:o.jsx("span",{className:"font-medium whitespace-nowrap",children:lt(He,O)})},He))})]})})]})]})]})}),o.jsx(Rn,{h:6}),o.jsx(au,{to:U,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:J("Back",{ns:"common"})})}),o.jsx(Rn,{h:4})]})]})}}),t[28]=J,t[29]=U,t[30]=e,t[31]=n,t[32]=r,t[33]=s,t[34]=C,t[35]=g,t[36]=m,t[37]=b,t[38]=u,t[39]=a,t[40]=d,t[41]=H,t[42]=h,t[43]=w,t[44]=p,t[45]=q,t[46]=ne,t[47]=N,t[48]=E,t[49]=I,t[50]=T,t[51]=V,t[52]=_,t[53]=x,t[54]=se,t[55]=S,t[56]=A,t[57]=L,t[58]=O,t[59]=$,t[60]=Y,t[61]=z,t[62]=lt,t[63]=De):De=t[63],De}function NEe(t){const e=Te(49),{open:n,onClose:r,setIsDeleteAllItemsInCollection:s,onConfirm:a}=t,{t:i}=Gt();let l;e[0]!==i?(l=i("Confirm Delete",{ns:"common"}),e[0]=i,e[1]=l):l=e[1];let u;e[2]!==l?(u=o.jsx("h1",{className:"m-0",children:l}),e[2]=l,e[3]=u):u=e[3];let d;e[4]!==r||e[5]!==u?(d=o.jsx(Yn.Header,{handleClose:r,children:u}),e[4]=r,e[5]=u,e[6]=d):d=e[6];let p;e[7]!==i?(p=i("Are you sure you want to delete this collection?",{ns:"collections"}),e[7]=i,e[8]=p):p=e[8];let h;e[9]!==p?(h=o.jsx(re,{className:"font-semibold",children:p}),e[9]=p,e[10]=h):h=e[10];let m;e[11]===Symbol.for("react.memo_cache_sentinel")?(m=o.jsx(Rn,{h:3}),e[11]=m):m=e[11];let b;e[12]!==i?(b=i("Deleting the collection will remove it permanently. You can also choose to delete all menu and clips items within the collection by checking the box below.",{ns:"collections"}),e[12]=i,e[13]=b):b=e[13];let C;e[14]!==b?(C=o.jsx(re,{className:"font-light",children:b}),e[14]=b,e[15]=C):C=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=o.jsx(Rn,{h:3}),e[16]=g):g=e[16];let w;e[17]!==s?(w=z=>{s(z)},e[17]=s,e[18]=w):w=e[18];let x;e[19]!==i?(x=i("Delete all menu items within this collection",{ns:"collections"}),e[19]=i,e[20]=x):x=e[20];let S;e[21]!==w||e[22]!==x?(S=o.jsx(lE,{color:"danger",onChange:w,children:x}),e[21]=w,e[22]=x,e[23]=S):S=e[23];let E;e[24]!==h||e[25]!==C||e[26]!==S?(E=o.jsxs(Yn.Content,{children:[h,m,C,g,S]}),e[24]=h,e[25]=C,e[26]=S,e[27]=E):E=e[27];let N;e[28]!==i?(N=i("Cancel",{ns:"common"}),e[28]=i,e[29]=N):N=e[29];let _;e[30]!==r||e[31]!==N?(_=o.jsx(Se,{variant:"ghost",type:"button",onClick:r,children:N}),e[30]=r,e[31]=N,e[32]=_):_=e[32];let P;e[33]!==i?(P=i("Delete Collection",{ns:"collections"}),e[33]=i,e[34]=P):P=e[34];let I;e[35]!==a||e[36]!==P?(I=o.jsx(Se,{variant:"danger",type:"submit",onClick:a,children:P}),e[35]=a,e[36]=P,e[37]=I):I=e[37];let T;e[38]!==_||e[39]!==I?(T=o.jsx(Yn.Footer,{children:o.jsxs("div",{className:"flex w-full justify-end gap-x-2",children:[_,I]})}),e[38]=_,e[39]=I,e[40]=T):T=e[40];let A;e[41]!==d||e[42]!==E||e[43]!==T?(A=o.jsxs(Yn.Body,{children:[d,E,T]}),e[41]=d,e[42]=E,e[43]=T,e[44]=A):A=e[44];let L;return e[45]!==n||e[46]!==r||e[47]!==A?(L=o.jsx(Yn,{open:n,handleClose:r,children:A}),e[45]=n,e[46]=r,e[47]=A,e[48]=L):L=e[48],L}function _Ee(t){const e=Te(20),{showAddNewCollection:n}=t,{t:r}=Gt(),{createNewCollection:s,createNewCollectionSuccess:a}=xge(),[i,l]=v.useState(""),[u,d]=v.useState(!0),[p,h]=v.useState(""),m=la(),b=Hh(),[C,g]=v.useState(n),[w,x]=v.useState(!1);let S;e[0]!==a||e[1]!==m?(S=()=>{a&&(l(""),h(""),g(!1),m("/history",{replace:!0}))},e[0]=a,e[1]=m,e[2]=S):S=e[2];let E;e[3]!==a?(E=[a],e[3]=a,e[4]=E):E=e[4],v.useEffect(S,E);let N;e[5]===Symbol.for("react.memo_cache_sentinel")?(N=()=>{l(""),h(""),d(!0)},e[5]=N):N=e[5];let _;e[6]!==C?(_=[C],e[6]=C,e[7]=_):_=e[7],v.useEffect(N,_);const P="".concat(C?"border-blue-300 border-2":"opacity-80 justify-center items-center bg-transparent border-2 border-dashed border-gray-300 dark:border-gray-700 min-h-[130px]");let I;e[8]!==C||e[9]!==w||e[10]!==r||e[11]!==i||e[12]!==s||e[13]!==p||e[14]!==u||e[15]!==b?(I=C?o.jsxs(o.Fragment,{children:[o.jsx(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:o.jsx(ar,{className:"animate-in fade-in text-md w-full",children:o.jsx(wn,{small:!0,autoFocus:!0,error:w?r("Title too short",{ns:"collections"}):void 0,name:"title",maxLength:50,onKeyDown:A=>{if(A.stopPropagation(),A.key==="Enter"){if(i.length<3){x(!0);return}s({createCollection:{title:i,isSelected:!1,description:p}})}},placeholder:r("Enter collection title",{ns:"collections"}),label:r("Collection Title",{ns:"collections"}),value:i,onChange:A=>{w&&A.target.value.length>3&&x(!1),l(A.target.value)}})})}),o.jsxs(pr,{children:[o.jsx(ko,{enableEmojiInside:!0,enableEmoji:!1,placeholder:r("Add a description for your collection",{ns:"collections"}),rows:2,maxRows:4,maxLength:200,label:r("Description",{ns:"collections"}),value:p,onChange:A=>{h(A.target.value)}}),o.jsx(me,{className:"items-center justify-start mt-2 ml-[-8px]",children:o.jsx(lE,{color:"default",checked:u,classNameLabel:"py-1",onChange:A=>{d(A)},children:o.jsx(Cv,{size:"sm",children:r("Add default menu, tab and board",{ns:"collections"})})})})]}),o.jsxs(xE,{className:"flex flex-row items-center justify-between space-y-0",children:[o.jsx(te,{}),o.jsxs(me,{className:"min-h-[30px]",children:[o.jsx(Se,{size:"xs",variant:"link",onClick:()=>{g(!1)},children:r("Cancel",{ns:"common"})}),o.jsx(Se,{size:"xs",className:"bg-blue-100 text-blue-600 hover:bg-blue-100/50 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-800/50",onClick:()=>ge(this,null,function*(){if(i.length<3){x(!0);return}yield s({addDefaultMenuTabBoard:u,createCollection:{title:i,isSelected:!1,description:p}})}),children:r("Create",{ns:"common"})})]})]})]}):o.jsx(me,{className:"flex-row gap-3",children:o.jsxs(Se,{variant:"ghost",className:"rounded-md hover:dark:bg-blue-700/80 hover:bg-blue-200/80",onClick:()=>{b?g(!0):Ga.value=!0},children:[o.jsx(Wr,{width:20,className:"mr-1"}),o.jsx(Cv,{className:"text-[15px] !font-semibold",children:r("Add Collection",{ns:"collections"})}),o.jsx(Ql,{})]})}),e[8]=C,e[9]=w,e[10]=r,e[11]=i,e[12]=s,e[13]=p,e[14]=u,e[15]=b,e[16]=I):I=e[16];let T;return e[17]!==P||e[18]!==I?(T=o.jsx(cr,{className:P,children:I},"new-collection"),e[17]=P,e[18]=I,e[19]=T):T=e[19],T}function C4({showAddNewCollection:t}){const{t:e}=Gt(),{isShowCollectionNameOnNavBar:n,setIsShowCollectionNameOnNavBar:r}=Tt(Cr);JE(),t7(),NB();const{updateCollectionById:s}=vge(),{selectCollectionById:a}=n7(),{deleteCollectionById:i}=yge(),{currentCollectionId:l,menuItems:u,collections:d}=Tt(Ir),{returnRoute:p}=Tt(Is),h=Hh(),[m,b]=xU({timeout:10,sensitivity:10,interval:20}),{setData:C}=kq(),[g,w]=v.useState(),[x,S]=v.useState(""),[E,N]=v.useState(!1),[_,P]=v.useState(""),I=it(!1),[T,A]=v.useState(null),[L,z]=v.useState(null);return v.useEffect(()=>{var Y;if(T){const O=d.find(({collectionId:$})=>$===T);O&&(S(O.title),P((Y=O.description)!=null?Y:""))}else S(""),z(null),P("")},[T]),v.useEffect(()=>{C(u.length>0?Pv(u):[])},[u,u.length]),o.jsx(Ph,{disableWidth:!0,children:({height:Y})=>Y&&o.jsxs(te,{className:"p-4 py-6 select-auto",children:[o.jsxs(te,{className:"text-xl my-2 flex items-center justify-between px-2",children:[o.jsx(re,{className:"light",children:e("Manage Collections",{ns:"collections"})}),o.jsx(au,{to:p,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),o.jsx(Rn,{h:3}),o.jsxs(or,{style:{maxHeight:Y-85},autoHide:!0,children:[o.jsxs(te,{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-2 animate-in fade-in",children:[o.jsx(_Ee,{showAddNewCollection:t}),d.map(({collectionId:O,title:$,description:M,isEnabled:W})=>{const V=T===O,U=l===O;return o.jsxs(cr,{className:"".concat(U&&"border-teal-500 border-2"," ").concat(!W&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium",children:V?o.jsx(wn,{className:"text-md",error:g?e("Title too short",{ns:"collections"}):void 0,maxLength:50,small:!0,onKeyDown:J=>{if(J.stopPropagation(),J.key==="Enter"){if(x.length<3){w(!0);return}s({updatedCollection:{collectionId:O,title:x,isEnabled:W,description:_}}),setTimeout(()=>{A(null)},100)}},label:e("Collection Title",{ns:"collections"}),placeholder:e("Enter collection title",{ns:"collections"}),value:x,onChange:J=>{g&&J.target.value.length>3&&w(!1),S(J.target.value)}}):o.jsx(re,{className:"".concat(U?W?"text-teal-600 dark:text-teal-600":"text-slate-500 dark:text-slate-300":"hover:text-slate-500"," !font-medium ").concat(W?"cursor-pointer":"text-muted-foreground"),onClick:()=>{W&&!U&&a({selectCollection:{collectionId:O}})},children:$})}),!V&&W&&o.jsx(o.Fragment,{children:U?o.jsx(st,{text:e("Current Collection",{ns:"collections"}),isCompact:!0,children:o.jsx(Tz,{className:"text-teal-600 h-6",size:20})}):o.jsx(Se,{className:"text-sm box",size:"xs",variant:"outline",onClick:()=>{a({selectCollection:{collectionId:O}})},children:e("Select",{ns:"common"})})})]}),o.jsx(pr,{children:V?o.jsx(ko,{className:"text-md",enableEmoji:!1,enableEmojiInside:!0,maxLength:200,rows:2,maxRows:4,label:e("Description",{ns:"collections"}),value:_,onChange:J=>{P(J.target.value)}}):o.jsx(re,{className:"text-sm text-muted-foreground",children:M})}),o.jsxs(xE,{className:"flex flex-row items-center justify-between space-y-0",children:[o.jsx(te,{children:V?U?o.jsx(st,{isCompact:!0,className:"bg-warning-100 dark:bg-warning-800",text:o.jsx(re,{justify:"center",color:"danger",children:e("You need to select a different collection before deleting the current one.",{ns:"collections"})}),delayDuration:300,maxWidth:190,open:m,sideOffset:16,children:o.jsx(Se,{size:"xs",ref:pl(b),variant:"ghost",className:"bg-slate-50 dark:bg-slate-800",children:o.jsx(h6,{size:"16",className:"opacity-20"})})}):o.jsx(Se,{size:"xs",variant:"ghost",onClick:()=>{z(O),I.value=!0},className:"".concat(L?"bg-red-100 dark:bg-red-800 hover:bg-red-100 text-red-600 hover:text-color-dark dark:text-red-200":"bg-red-50/50 dark:bg-red-800 text-red-500 hover:bg-red-100 hover:text-color-dark dark:text-red-200"),children:o.jsx(kr,{size:"16"})}):!U&&o.jsxs(gU,{children:[o.jsx(vU,{asChild:!0,children:o.jsx(te,{children:o.jsx(ts,{checked:W,disabled:U,onCheckedChange:J=>{h?s({updatedCollection:{collectionId:O,isEnabled:J}}):Ga.value=!0}})})}),o.jsx(b7,{children:o.jsx(re,{className:"text-sm",children:W?e("Enabled",{ns:"common"}):e("Disabled",{ns:"common"})})})]})}),o.jsxs(me,{className:"min-h-[30px]",children:[V&&o.jsx(Se,{size:"xs",variant:"link",className:"text-slate-500",onClick:()=>{A(null)},disabled:!W,children:e("Cancel",{ns:"common"})}),W&&o.jsx(Se,{size:"xs",variant:V?"default":"light",className:V?"bg-blue-100 text-blue-600 hover:bg-blue-100/50 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-800/50":"",onClick:()=>{if(!V)A(O);else{if(x.length<3){w(!0);return}s({updatedCollection:{collectionId:O,title:x,isEnabled:W,description:_}}),setTimeout(()=>{A(null)},100)}},disabled:!W,children:V?e("Save",{ns:"common"}):e("Edit",{ns:"common"})})]})]})]},O)})]}),o.jsx(Rn,{h:5}),o.jsx(re,{className:"light",children:e("Collection Options",{ns:"collections"})}),o.jsx(te,{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-2 animate-in fade-in mt-4",children:o.jsxs(cr,{className:"".concat(!n&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium border-red-300 border-1 w-full",children:e("Show collection name on the navbar",{ns:"collections"})}),o.jsx(ts,{checked:n,className:"ml-auto",onCheckedChange:()=>{r(!n)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:e("Display full name of selected collection on the navigation bar",{ns:"collections"})})})]})}),o.jsx(Rn,{h:6})]}),o.jsx(NEe,{open:I.value,setIsDeleteAllItemsInCollection:N,onClose:()=>{I.value=!1,N(!1),z(null)},onConfirm:()=>{L&&(i({deleteCollection:{deleteAllItemsInCollection:E,collectionId:L}}),I.value=!1,N(!1),z(null))}})]})})}function TEe(){var t=sn(1);try{const{t:e}=Gt(),{isIdleScreenAutoLockEnabled:n,setIsIdleScreenAutoLockEnabled:r,idleScreenAutoLockTimeInMinutes:s,setIdleScreenAutoLockTimeInMinutes:a,isShowHistoryCaptureOnLockedScreen:i,setIsShowHistoryCaptureOnLockedScreen:l,isScreenLockPassCodeRequireOnStart:u,setIsScreenLockPassCodeRequireOnStart:d,screenLockPassCode:p,setScreenLockPassCode:h,screenLockPassCodeLength:m,setScreenLockPassCodeLength:b,screenLockRecoveryPasswordMasked:C,hashPassword:g,setScreenLockRecoveryPasswordMasked:w,storePassword:x,verifyStoredPassword:S,deleteStoredPassword:E}=Tt(Cr),{returnRoute:N}=Tt(Is),_=Hh(),P=it(""),I=it(""),T=it(""),A=it(""),L=it(""),z=it(!1),Y=it(!1),O=it(!1),$=it(!1),M=it(!1),W=it(!1),V=it(!1),U=it(!1);v.useEffect(()=>{lo.value===Lc.resetPassword&&nl.value===Lc.resetPassword?(w(null),E("screenLockRecoveryPassword"),lo.value=null,nl.value=null):lo.value===Lc.resetPasscode&&nl.value===Lc.resetPasscode&&(h(null),b(0),lo.value=null,nl.value=null)},[nl.value,lo.value]),v.useEffect(()=>{P.value.length!==0&&!p&&P.value===I.value&&g(P.value).then(X=>{h(X),b(P.value.length),z.value=!1,I.value="",P.value=""})},[P.value,I.value]);const J=v.useMemo(()=>O.value,[O.value]),H=v.useMemo(()=>Hr.value,[Hr.value]);v.useMemo(()=>!0,[I.value,z.value,Y.value,$.value,L.value,M.value,W.value,U.value,V.value]);const F=v.useMemo(()=>T.value.length>=6&&T.value.length<=50&&T.value===A.value,[T.value,A.value]),q=v.useMemo(()=>A.value.length>=T.value.length&&T.value!==A.value,[T.value,A.value]);return o.jsx(Ph,{disableWidth:!0,children:({height:X})=>X&&o.jsxs(te,{className:"p-4 py-6 select-none min-w-[320px]",children:[o.jsxs(te,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[o.jsx(re,{className:"light",children:e("Security Settings",{ns:"settings"})}),o.jsx(au,{to:N,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),o.jsx(Rn,{h:3}),o.jsxs(or,{style:{maxHeight:X-85},autoHide:!0,children:[o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:o.jsx(te,{children:e("Lock Screen Passcode",{ns:"settings"})})}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Set a passcode to unlock the locked screen and protect your data from unauthorized access.",{ns:"settings"})})]}),o.jsxs(pr,{children:[p?o.jsxs(o.Fragment,{children:[o.jsx(me,{className:"gap-5 justify-start flex-wrap",children:new Array(m).fill(0).map((ne,ee)=>o.jsx(te,{className:"text-lg px-4 py-4 rounded-md text-slate-600 dark:text-slate-400 bg-slate-100 dark:bg-slate-800 text-center",children:"●"},ee))}),o.jsx(te,{className:"mt-2 text-green-700 dark:text-green-600",children:o.jsx(ls,{i18nKey:"{{screenLockPassCodeLength}} digits passcode is set.",values:{screenLockPassCodeLength:m},ns:"settings"})})]}):o.jsxs(o.Fragment,{children:[z.value?o.jsxs(me,{className:"gap-3 flex-wrap items-center justify-start my-2",children:[o.jsx(wn,{className:"text-md !w-40",numbersOnly:!0,isPassword:!0,autoComplete:"off",onPaste:ne=>(ne.preventDefault(),!1),autoFocus:!0,placeholder:e("Confirm",{ns:"common"}),label:e("Confirm Passcode",{ns:"common"}),onChange:ne=>{const ee=ne.target.value;I.value=ee}},"confirm-passcode"),o.jsx(Se,{variant:"secondary",size:"sm",onClick:()=>{z.value=!1,I.value="",P.value=""},className:"text-sm bg-gray-200 dark:bg-gray-700 dark:text-slate-200 mt-4 h-9",children:e("Cancel",{ns:"common"})})]}):o.jsxs(me,{className:"gap-3 flex-wrap items-center justify-start my-2",children:[o.jsx(wn,{className:"text-md !w-40",numbersOnly:!0,autoComplete:"off",onPaste:ne=>(ne.preventDefault(),!1),placeholder:e("Enter Passcode",{ns:"common"}),label:e("Digits Only Passcode",{ns:"common"}),onKeyDown:ne=>{ne.key==="Enter"&&(P.value.length>3||P.value.length<11)&&(z.value=!0)},onChange:ne=>{const ee=ne.target.value;P.value=ee}}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:P.value.length<4||P.value.length>10,onClick:()=>{z.value=!0},className:"text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 mt-4 h-9",children:e("Set",{ns:"common"})})]}),z.value?I.value&&P.value&&o.jsx(o.Fragment,{children:I.value&&P.value.length-I.value.length>0?o.jsxs(re,{size:"sm",className:"!text-green-500 dark:!text-green-600",children:[e("Passcode digits remaining",{ns:"settings"}),":",o.jsx("b",{className:"ml-1",children:P.value.length-I.value.length})]}):P.value!==I.value&&o.jsx(re,{size:"sm",className:"!text-red-500 dark:!text-red-400",children:e("Passcode mismatch",{ns:"settings"})})}):o.jsx(o.Fragment,{children:P.value.length>=4&&P.value.length<=10?o.jsxs(re,{size:"sm",className:"!text-green-500 dark:!text-green-600",children:[e("Passcode length",{ns:"settings"}),":",o.jsx("b",{className:"ml-1",children:P.value.length})]}):P.value.length>10?o.jsx(re,{size:"sm",className:"!text-amber-500 dark:!text-amber-600",children:e("Maximum 10 digits",{ns:"settings"})}):P.value.length>0&&P.value.length<4&&o.jsx(re,{size:"sm",className:"!text-amber-500 dark:!text-amber-600",children:e("Minimal 4 digits",{ns:"settings"})})})]}),p&&o.jsx(o.Fragment,{children:o.jsx(Se,{variant:"secondary",size:"sm",onClick:()=>{Af.value=!0,lo.value=Lc.resetPasscode,Lf.value=e("passcode reset",{ns:"settings"})},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset Passcode",{ns:"common"})})})]})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:o.jsx(te,{children:e("Recovery Password for Lock Screen Passcode",{ns:"settings"})})}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Set a recovery password to easily reset your lock screen passcode if forgotten. Your password will be securely stored in your device's OS storage.",{ns:"settings"})})]}),o.jsx(pr,{children:C?o.jsxs(te,{children:[o.jsxs(me,{className:"gap-2 justify-start items-start flex-wrap flex-col my-1",children:[o.jsx(te,{className:"text-lg px-4 py-2 rounded-md text-slate-600 dark:text-slate-400 bg-slate-100 dark:bg-slate-800 text-center",children:o.jsx(re,{className:"text-lg",children:C})}),o.jsx(te,{className:"mt-1 text-green-700 dark:text-green-600",children:e("Recovery password is set.",{ns:"settings"})})]}),J?o.jsxs(te,{className:"mt-2",children:[o.jsx(wn,{className:"text-md !w-60",isPassword:!0,showHidePassword:!0,onKeyDown:ne=>{ne.key==="Enter"&&!W.value&&L.value.length>=6&&(M.value=!1,W.value=!0,S("screenLockRecoveryPassword",L.value).then(ee=>{ee?(O.value=!1,w(null),E("screenLockRecoveryPassword"),L.value=""):M.value=!0,W.value=!1}).catch(()=>{M.value=!0,W.value=!1}))},error:L.value.length>=6&&M.value?e("Password is incorrect",{ns:"settings"}):"",autoComplete:"off",onPaste:ne=>(ne.preventDefault(),!1),classNameInput:"h-9",autoFocus:!0,placeholder:e("Enter Password",{ns:"common"}),label:e("Verify Current Password",{ns:"common"}),onChange:ne=>{M.value=!1,L.value=ne.target.value}},"recovery-reset-password"),o.jsxs(me,{className:"justify-start items-center gap-2 mt-2",children:[o.jsx(Se,{variant:"secondary",size:"sm",disabled:L.value.length<6,onClick:()=>{M.value=!1,W.value=!0,S("screenLockRecoveryPassword",L.value).then(ne=>{ne?(O.value=!1,w(null),E("screenLockRecoveryPassword"),L.value=""):M.value=!0,W.value=!1}).catch(()=>{M.value=!0,W.value=!1})},className:"w-20 text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200",children:W.value?o.jsx(l0,{}):e("Reset",{ns:"common"})}),p&&o.jsx(Se,{variant:"light",size:"sm",onClick:()=>{O.value=!1,Af.value=!0,lo.value=Lc.resetPassword,Lf.value=e("password reset",{ns:"settings"})},className:"text-sm bg-gray-200 dark:bg-gray-700 dark:text-slate-200",children:e("Use Passcode",{ns:"common"})}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:H>0,onClick:()=>{O.value=!1,M.value=!1,L.value=""},className:"text-sm bg-transparent dark:bg-transparent dark:text-slate-200 hover:dark:bg-slate-800",children:e("Cancel",{ns:"common"})})]})]}):o.jsx(Se,{variant:"secondary",size:"sm",onClick:()=>{O.value=!0},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset Password",{ns:"common"})})]}):o.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start my-2 flex-col",children:[o.jsx(wn,{className:"text-md !w-60",isPassword:!0,autoComplete:"off",onPaste:ne=>(ne.preventDefault(),!1),showHidePassword:!0,placeholder:e("Recovery Password",{ns:"common"}),label:e("Enter Recovery Password",{ns:"common"}),classNameInput:T.value.length>=6&&T.value.length<=50?"!border-green-400 !bg-green-100 dark:!border-green-700 dark:!bg-green-950 h-9":"h-9",onChange:ne=>{T.value=ne.target.value}},"recovery-password"),o.jsx(wn,{className:"text-md !w-60",isPassword:!0,showHidePassword:!0,onKeyDown:ne=>{ne.key==="Enter"&&T.value===A.value&&T.value.length>=6&&T.value.length<=50&&x("screenLockRecoveryPassword",T.value).then(()=>{w(bh(T.value)),T.value="",A.value=""})},error:q?e("Passwords do not match",{ns:"settings"}):"",autoComplete:"off",onPaste:ne=>(ne.preventDefault(),!1),classNameInput:!q&&F?"!border-green-400 !bg-green-100 dark:!border-green-700 dark:!bg-green-950 h-9":"h-9",placeholder:e("Confirm Password",{ns:"common"}),label:e("Confirm Password",{ns:"common"}),onChange:ne=>{A.value=ne.target.value}},"recovery-password-confirmation"),o.jsx(Se,{variant:"secondary",size:"sm",disabled:!F,onClick:()=>{T.value===A.value&&x("screenLockRecoveryPassword",T.value).then(()=>{w(bh(T.value)),T.value="",A.value=""})},className:"text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 mt-1 h-9",children:e("Set Password",{ns:"common"})})]})})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!i&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[o.jsx(te,{children:e("Show Clipboard History Capture Control on Lock Screen",{ns:"settings"})}),o.jsx(ts,{checked:i,className:"ml-auto",onCheckedChange:()=>{l(!i)}})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Display clipboard history capture toggle on the locked application screen. This allows you to control history capture settings directly from the lock screen.",{ns:"settings"})})]}),o.jsx(pr,{})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!n&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[o.jsxs(te,{children:[e("Auto Lock the Screen on User Inactivity",{ns:"settings"}),o.jsx(Ql,{})]}),o.jsx(ts,{checked:n,className:"ml-auto",onCheckedChange:()=>{!n&&!_?Ga.value=!0:r(!n)}})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Enable auto lock the application screen after a certain period of inactivity, to prevent unauthorized access to your data.",{ns:"settings"})})]}),o.jsxs(pr,{children:[o.jsx(me,{className:"gap-3 flex-wrap items-start justify-start my-2",children:Dse.map((ne,ee)=>o.jsxs(Se,{variant:"ghost",disabled:!n,onClick:()=>{a(ne)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(s===ne?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 hover:dark:bg-slate-800 px-2 !py-0.5"),children:[ne," ",e("minutes",{ns:"common"})]},ee))}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:s===15,onClick:()=>{a(15)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset",{ns:"common"})})]})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!u&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[o.jsxs(te,{children:[e("Require Screen Unlock at Application Start",{ns:"settings"}),o.jsx(Ql,{})]}),o.jsx(ts,{checked:u,className:"ml-auto",onCheckedChange:()=>{!u&&!_?Ga.value=!0:d(!u)}})]}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Enable screen unlock requirement on app launch for enhanced security, safeguarding data from unauthorized access.",{ns:"settings"})})]}),o.jsx(pr,{})]})}),o.jsx(Rn,{h:6}),o.jsx(au,{to:N,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})}),o.jsx(Rn,{h:4})]})]})})}finally{t.f()}}const PEe='### Example\n\nA third of the distance across the Beach, the meadow ends and sand begins. This slopes gradually up for another third of the distance, to the foot of the sand hills, which seem tumbled into their places by some mighty power, sometimes three tiers of them deep, sometimes two, _and sometimes only one._ A third of the distance across the Beach, the meadow ends and sand begins.\n\nThe outline of this inner shore is most irregular, curving and bending in and out and back upon itself, making coves and points and creeks and channels, and often pushing out in flats with not water enough on them at low tide to wet your ankles.\n\n### Subtitle\n\nThis is another fine paragraph\n\n### Smaller subtitle\n\nThis is a paragraph `with` ~style~ *italic* _italic_ **bold** __bold__\n\n*Hello [PasteBar](https://www.pastebar.app/) lol*\n\nHello [*PasteBar*](https://www.pastebar.app/) lol "cat"\n\nHello from *[PasteBar](https://rsms.me/)* to __everyone__ `reading this`\n\n### Embedded HTML\n\nWith default settings, markdown-wasm allows embedded HTML.\n\n> It has been disabled in this demo for safety reasons, by means of setting `ParseFlags.NO_HTML`.\n> Not setting the `NO_HTML` flag allows embedding HTML like this:\n\n\n\n\n### Block Quotes\n\n> You can insert quotes by\n> preceeding each line with `>`.\n>\n> Blockquotes can also contain line\n> breaks.\n\n\n### Lists\n\n#### Unordered lists\n\n- Unordered\n- Lists\n- Hello\n\n#### Ordered lists\n\n1. Ordered\n2. Lists\n4. Numbers are ignored\n1. Ordered\n\n121) Ordered lists can start\n122) with any number and\n123) use . as well as ) as a separator.\n\n#### Task lists\n\n- [ ] Task 1\n- [x] Task 2\n- [ ] Task 3\n- Regular list item\n\n### Tables\n\n| Column 1 | Column 2 | Column 3 | Column 4\n|----------|:---------|:--------:|---------:\n| default | left | center | right\n\n#### Table of image file types\n\n| Header | Mime type | Extensions | Description\n|---------------------------|--------------|------------|-------------\n| `89 50 4E 47 0D 0A 1A 0A` | image/png | png | PNG image\n| `47 49 46 38 39 61` | image/gif | gif | GIF image\n| `FF D8 FF` | image/jpeg | jpg jpeg | JPEG image\n| `4D 4D 00 2B` | image/tiff | tif tiff | TIFF image\n| `42 4D` | image/bmp | bmp | Bitmap image\n| `00 00 01 00` | image/x-icon | ico | Icon image';function MEe(){const t=Te(39),{t:e}=Gt(),n=VU(),{isSkipAutoStartPrompt:r,setIsSkipAutoStartPrompt:s,isShowCollectionNameOnNavBar:a,setIsShowCollectionNameOnNavBar:i,isClipNotesHoverCardsEnabled:l,setIsClipNotesHoverCardsEnabled:u,clipNotesMaxHeight:d,clipNotesMaxWidth:p,setClipNotesMaxHeight:h,setClipNotesMaxWidth:m,clipNotesHoverCardsDelayMS:b,setClipNotesHoverCardsDelayMS:C,isShowDisabledCollectionsOnNavBarMenu:g,setIsShowDisabledCollectionsOnNavBarMenu:w}=Tt(Cr),{setFontSize:x,fontSize:S,setIsSwapPanels:E,isSwapPanels:N}=Tt(Is),[_,P]=v.useState(!1),{setTheme:I,theme:T}=tk(),{mode:A,setMode:L,themeDark:z}=Tt(yo);let Y;t[0]!==T||t[1]!==A||t[2]!==L?(Y=()=>{T!==A&&L(T)},t[0]=T,t[1]=A,t[2]=L,t[3]=Y):Y=t[3];let O;t[4]!==T?(O=[T],t[4]=T,t[5]=O):O=t[5],v.useEffect(Y,O);let $,M;t[6]===Symbol.for("react.memo_cache_sentinel")?($=()=>{Ln("is_autostart_enabled").then(q=>{P(!!q)})},M=[],t[6]=$,t[7]=M):($=t[6],M=t[7]),v.useEffect($,M);const{returnRoute:W}=Tt(Is);let V;t[8]!==z?(V=z(),t[8]=z,t[9]=V):V=t[9];const U=V;let J;t[10]!==e?(J=function(X){const ne=X/1e3,ee=Number.isInteger(ne)?ne.toString():ne.toFixed(1),G=ne===1?" "+e("second"):" "+e("seconds");return ee+G},t[10]=e,t[11]=J):J=t[11];const H=J;let F;return t[12]!==e||t[13]!==W||t[14]!==_||t[15]!==r||t[16]!==s||t[17]!==x||t[18]!==S||t[19]!==I||t[20]!==T||t[21]!==n||t[22]!==N||t[23]!==E||t[24]!==a||t[25]!==i||t[26]!==g||t[27]!==w||t[28]!==l||t[29]!==u||t[30]!==C||t[31]!==b||t[32]!==H||t[33]!==U||t[34]!==p||t[35]!==d||t[36]!==m||t[37]!==h?(F=o.jsx(Ph,{disableWidth:!0,children:q=>{var ne;const{height:X}=q;return X&&o.jsxs(te,{className:"p-4 py-6 select-none min-w-[320px]",children:[o.jsxs(te,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[o.jsx(re,{className:"light",children:e("User Preferences",{ns:"settings"})}),o.jsx(au,{to:W,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),o.jsx(Rn,{h:3}),o.jsxs(or,{style:{maxHeight:X-85},autoHide:!0,children:[o.jsx(te,{className:"animate-in fade-in max-w-xl",children:o.jsxs(cr,{className:"".concat(!_&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:e("Application Auto Start",{ns:"settings"})}),o.jsx(ts,{checked:_,className:"ml-auto",onCheckedChange:()=>ge(this,null,function*(){yield Ln("autostart",{enabled:!_}),P(!_)})})]}),o.jsxs(pr,{children:[o.jsx(re,{className:"text-sm text-muted-foreground",children:e("Enable application auto start on system boot",{ns:"settings"})}),!_&&o.jsx(me,{className:"items-center justify-start mt-2 ml-[-12px]",children:o.jsx(lE,{color:"default",checked:r,classNameLabel:"py-1",onChange:()=>{s(!r)},children:o.jsx(Cv,{size:"sm",children:e("Skip auto start prompt on app launch",{ns:"settings"})})})})]})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{children:[o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Fonts Scale",{ns:"settings"}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface font size scale",{ns:"settings"})})]}),o.jsx(me,{className:"gap-3 flex-wrap items-start justify-start",children:Rp.map((ee,G)=>o.jsx(Se,{variant:"ghost",onClick:()=>{x(ee)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(S===ee?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-2 !py-0.5"),children:ee},G))})]}),o.jsx(pr,{children:o.jsx(Se,{variant:"secondary",size:"sm",disabled:S==="100%",onClick:()=>{x("100%")},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsx(cr,{children:o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1 mb-4",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Color Theme",{ns:"settings"}),o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface color theme",{ns:"settings"})})]}),o.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start",children:[o.jsxs(Se,{variant:"ghost",onClick:()=>{I("light")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(T==="light"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[o.jsx("span",{className:"flex tems-end",children:o.jsx(zo.sun,{className:"mr-2",size:18})}),o.jsx("span",{children:e("Theme:::Light",{ns:"navbar"})})]}),o.jsxs(Se,{variant:"ghost",onClick:()=>{I("dark")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(T==="dark"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[o.jsx("span",{className:"flex tems-end",children:o.jsx(zo.moon,{className:"mr-2",size:17})}),o.jsx("span",{children:e("Theme:::Dark",{ns:"navbar"})})]}),o.jsxs(Se,{variant:"ghost",onClick:()=>{I("system")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(T==="system"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[o.jsx("span",{className:"tems-end flex w-[1.5rem] ",children:o.jsx(zo.sunmoon,{className:"mr-2",width:14,height:14})}),o.jsx("span",{children:e("Theme:::System",{ns:"navbar"})})]})]})]})})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsx(cr,{children:o.jsxs(sr,{className:"flex flex-col items-start justify-between space-y-0 pb-1 mb-4",children:[o.jsxs(ar,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Language",{ns:"settings"}),n?o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Your License is limited to support for a single {{language}} language",{ns:"settings",language:(ne=mh.find(ee=>{const{code:G}=ee;return G===n}))==null?void 0:ne.name})}):o.jsx(re,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface language",{ns:"settings"})})]}),o.jsx(me,{className:"gap-3 flex-wrap items-start justify-start",children:mh.map(ee=>{const{code:G,name:Z,flag:le}=ee;return o.jsxs(Se,{variant:"ghost",disabled:n&&G!==n,onClick:()=>{dr.changeLanguage(G)},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(dr.language===G?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[o.jsx("span",{className:"flags mr-3",children:le})," ",Z]},G)})})]})})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!N&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:e("Swap Panels Layout",{ns:"common"})}),o.jsx(ts,{checked:N,className:"ml-auto",onCheckedChange:()=>ge(this,null,function*(){E(!N)})})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:e("Switch the layout position of panels in Clipboard History and Paste Menu views",{ns:"settings"})})})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!a&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:e("Show collection name on the navbar",{ns:"settings"})}),o.jsx(ts,{checked:a,className:"ml-auto",onCheckedChange:()=>{i(!a)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:e("Display full name of selected collection on the navigation bar",{ns:"settings"})})})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!g&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:e("Show disabled collections on the navbar list",{ns:"settings"})}),o.jsx(ts,{checked:g,className:"ml-auto",onCheckedChange:()=>{w(!g)}})]}),o.jsx(pr,{children:o.jsx(re,{className:"text-sm text-muted-foreground",children:e("Display disabled collections name on the navigation bar under collections menu",{ns:"settings"})})})]})}),o.jsx(te,{className:"animate-in fade-in max-w-xl mt-4",children:o.jsxs(cr,{className:"".concat(!l&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[o.jsxs(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:e("Enable Clip Title Hover Show with Delay",{ns:"settings"})}),o.jsx(ts,{checked:l,className:"ml-auto",onCheckedChange:()=>{u(!l)}})]}),o.jsxs(pr,{children:[o.jsx(re,{className:"text-sm text-muted-foreground",children:e("This option lets you control the display and timing of hover notes on clips. You can choose to show notes instantly or with a delay to prevent unintended popups.",{ns:"settings"})}),o.jsx(me,{className:"gap-2 flex-wrap items-start justify-start mt-4 mb-4",children:ute.map((ee,G)=>o.jsx(Se,{variant:"ghost",disabled:!l,onClick:()=>{C(ee)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(b===ee?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-2 !py-0.5"),children:H(ee)},G))}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:b===2e3||!l,onClick:()=>{C(2e3)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})]})]})}),o.jsx(te,{className:"max-w-xl mt-4 animate-in fade-in",children:o.jsxs(cr,{children:[o.jsx(sr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:o.jsx(ar,{className:"animate-in fade-in text-md font-medium w-full",children:e("Clip Notes Popup Maximum Dimensions",{ns:"settings"})})}),o.jsxs(pr,{children:[o.jsx(re,{className:"text-sm text-muted-foreground",children:e("This option lets you customize the maximum width and height of the popup that displays clip notes, ensuring it fits comfortably within your desired size.",{ns:"settings"})}),o.jsx(gw,{text:PEe,side:"top",isDark:U,delayDuration:b,classNameTrigger:"inline-flex items-start",sideOffset:0,maxWidth:p,maxHeight:d,asChild:!0,children:o.jsx(re,{className:"text-sm text-muted-foreground mt-3 underline cursor-pointer",children:e("Preview current popup size on hover.",{ns:"settings"})})}),o.jsxs(me,{className:"gap-2 flex-wrap items-start justify-start mt-4 mb-4",children:[iC.map((ee,G)=>{const Z=ee.width===p&&ee.height===d;return o.jsxs(Se,{variant:"ghost",onClick:()=>{m(ee.width),h(ee.height)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(Z?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-4 !py-0.5"),children:[ee.iconSize&&o.jsx(dle,{size:ee.iconSize,className:"mr-2"}),e(ee.title,{ns:"settings"})]},G)}),o.jsxs(Se,{variant:"ghost",onClick:()=>{iC.some(ee=>ee.width===p&&ee.height===d)&&(m(440),h(240))},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(iC.some(ee=>ee.width===p&&ee.height===d)?"":"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300"," dark:text-slate-200 px-4 !py-0.5"),children:[o.jsx(lle,{size:21,className:"mr-2"}),e("Custom",{ns:"settings"})]})]}),o.jsxs(me,{className:"w-full gap-10 my-4 items-start justify-start",children:[o.jsx(wn,{className:"text-md !w-36",type:"number",step:"20",max:800,min:100,error:void 0,small:!0,label:e("Maximum width",{ns:"common"}),value:p,onBlur:()=>{p<100?m(100):p>800&&m(800)},onChange:ee=>{const G=ee.target.value;if(G!==""){const Z=parseInt(G);Z&&m(Z)}}}),o.jsx(wn,{className:"text-md !w-36",type:"number",step:"20",max:600,min:100,error:void 0,small:!0,label:e("Maximum height",{ns:"common"}),value:d,onBlur:()=>{d<100?h(100):d>600&&h(600)},onChange:ee=>{const G=ee.target.value;if(G!==""){const Z=parseInt(G);Z&&h(Z)}}})]}),o.jsx(Se,{variant:"secondary",size:"sm",disabled:p===220&&d===120,onClick:()=>{m(220),h(120)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})]})]})}),o.jsx(Rn,{h:6}),o.jsx(au,{to:W,replace:!0,children:o.jsx(Se,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})}),o.jsx(Rn,{h:4})]})]})}}),t[12]=e,t[13]=W,t[14]=_,t[15]=r,t[16]=s,t[17]=x,t[18]=S,t[19]=I,t[20]=T,t[21]=n,t[22]=N,t[23]=E,t[24]=a,t[25]=i,t[26]=g,t[27]=w,t[28]=l,t[29]=u,t[30]=C,t[31]=b,t[32]=H,t[33]=U,t[34]=p,t[35]=d,t[36]=m,t[37]=h,t[38]=F):F=t[38],F}const DEe=[{index:!0,element:o.jsx(Swe,{to:"history",replace:!0})},{path:"menu",element:o.jsx(CEe,{}),index:!0},{path:"history",element:o.jsx(USe,{})},{path:"app-settings",element:o.jsx(SEe,{}),children:[{path:"collections",element:o.jsx(C4,{})},{path:"collections/new",element:o.jsx(C4,{showAddNewCollection:!0})},{path:"items",element:o.jsx(C4,{})},{path:"history",element:o.jsx(EEe,{})},{path:"preferences",element:o.jsx(MEe,{})},{path:"security",element:o.jsx(TEe,{})},{path:"license",element:o.jsx(HI,{})},{path:"license/register",element:o.jsx(HI,{registerLicense:!0})}]}],IEe=Mwe([{element:o.jsx(cke,{}),children:[{path:"/",lazy:()=>ke(()=>Promise.resolve().then(()=>TCe),void 0),children:DEe}]}]),AEe=new YG({defaultOptions:{mutations:{networkMode:"always"},queries:{networkMode:"always",gcTime:wL?600:1e3*60*60*1,retry:xY,retryDelay:t=>Math.min(2e3*xg(2,t),3e4)}}});SO(document.getElementById("root")).render(o.jsx(v.StrictMode,{children:o.jsxs(eY,{client:AEe,children:[o.jsx(zwe,{router:IEe}),wL&&o.jsx(mY,{initialIsOpen:!1,position:"bottom"})]})}));export{Vt as R,Kbe as a,Xbe as b,uu as c,qbe as d,v as e,ou as g,Ybe as r}; diff --git a/dist-ui/assets/index-Dhld7Ulc.css b/dist-ui/assets/index-Dhld7Ulc.css new file mode 100644 index 00000000..2cddbb19 --- /dev/null +++ b/dist-ui/assets/index-Dhld7Ulc.css @@ -0,0 +1,9 @@ +.CodeMirror{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;direction:ltr;font-size:14px;z-index:0;border-radius:5px;height:auto;background:transparent;position:relative;overflow:hidden}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-gutters{background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px;min-width:25px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-cursor{border-left:2px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}span.cm-header,span.cm-strong{font-weight:700}span.cm-em{font-style:italic}span.cm-link{text-decoration:underline}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#c0dbfd}.code-is-dark{font-weight:350;color:#abb2bf;background-color:#282c34}.code-is-dark .CodeMirror-selected{background-color:#3e4451}.code-is-dark .CodeMirror-gutters{background:#20242a}.code-is-dark .CodeMirror-linenumber{color:#5c6370!important}.code-is-dark .CodeMirror-cursor{border-left:2px solid #aaaaaa!important}.code-is-dark .cm-comment{color:#6a9955}.code-is-dark .cm-builtin,.code-is-dark .cm-keyword{color:#569cd6}.code-is-dark .cm-number{color:#b5cea8}.code-is-dark .cm-def{color:#646695}.code-is-dark .cm-variable,.code-is-dark .cm-attribute{color:#9cdcfe}.code-is-dark .cm-string{color:#ce9178}.code-is-dark .cm-tag{color:#4ec9b0}.code-is-dark .cm-punctuation,.code-is-dark .cm-operator{color:#d4d4d4}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.code-is-dark .CodeMirror-scrollbar-filler,.code-is-dark .CodeMirror-gutter-filler{background-color:#282c34}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper{-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:none}.CodeMirror-code>div{padding-left:3px}.CodeMirror-code>pre{padding-left:8px}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#c0dbfd}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#c0dbfd}.cm-searching{background:#ffa;background:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler,.CodeMirror-overlayscroll .CodeMirror-gutter-filler{display:none}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{position:absolute;background:#bcd;border-radius:3px}.CodeMirror-overlayscroll-horizontal,.CodeMirror-overlayscroll-vertical{position:absolute;z-index:6}.CodeMirror-overlayscroll-horizontal{bottom:0;left:0;height:6px}.CodeMirror-overlayscroll-horizontal div{bottom:0;height:100%}.CodeMirror-overlayscroll-vertical{right:0;top:0;width:6px}.CodeMirror-overlayscroll-vertical div{right:2px;width:100%}.CodeMirror-simplescroll-horizontal div,.CodeMirror-simplescroll-vertical div{position:absolute;background:#ccc;box-sizing:border-box;border:1px solid #bbb;border-radius:2px}.CodeMirror-simplescroll-horizontal,.CodeMirror-simplescroll-vertical{position:absolute;z-index:6;opacity:.4;background:#f4f4f4}.code-is-dark .CodeMirror-simplescroll-horizontal,.code-is-dark .CodeMirror-simplescroll-vertical{background:#282c34}.code-is-dark .CodeMirror-simplescroll-horizontal div,.code-is-dark .CodeMirror-simplescroll-vertical div{background:#424242;border:1px solid #212121}.code-is-dark .CodeMirror-simplescroll-horizontal div{background:#424242;border-bottom:0}.code-is-dark .CodeMirror-simplescroll-horizontal{bottom:-1px}.CodeMirror-simplescroll-horizontal{bottom:1px;left:0;height:8px}.CodeMirror-simplescroll-horizontal div{bottom:0;height:100%}.CodeMirror-simplescroll-vertical{right:1px;top:0;width:8px}.code-is-dark .CodeMirror-simplescroll-vertical{right:0;width:9px}.CodeMirror-simplescroll-vertical div{right:0;width:100%}.CodeMirror-activeline-background{background:#f7f7f9}.code-is-dark .CodeMirror-activeline-background{background-color:#99bbff0a}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link,.code-is-light .cm-link,.code-is-light span.cm-link{text-decoration:underline;color:#00c}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar,.code-is-light .cm-error,.code-is-light span.cm-error{color:red}.code-is-light .cm-header,.code-is-light span.cm-header{color:#00f}.code-is-light .cm-quote,.code-is-light span.cm-quote{color:#090}.code-is-light .cm-keyword,.code-is-light span.cm-keyword{color:#00a4db}.code-is-light .cm-string,.code-is-light .cm-string-2,.code-is-light span.cm-string,.code-is-light span.cm-string-2{color:#e3116c}.code-is-light .cm-comment,.code-is-light span.cm-comment{color:#998}.code-is-light .cm-variable,.code-is-light .cm-variable-2,.code-is-light .cm-variable-3,.code-is-light .cm-property,.code-is-light span.cm-variable,.code-is-light span.cm-variable-2,.code-is-light span.cm-variable-3,.code-is-light span.cm-property{color:#36acaa}.code-is-light .cm-operator,.code-is-light .cm-punctuation,.code-is-light span.cm-operator,.code-is-light span.cm-punctuation{color:#393a34}.code-is-light .cm-def,.code-is-light span.cm-def{color:#d73a49}.code-is-light .cm-atom,.code-is-light .cm-tag,.code-is-light span.cm-atom,.code-is-light span.cm-tag{color:#00009f}.code-is-light .cm-attribute,.code-is-light span.cm-attr,.code-is-light span.cm-attribute,.code-is-light span.cm-hr{color:#00a4db}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}._TopRow_16h0h_1{flex:0 0 auto;text-align:center}._BottomRow_16h0h_5{flex:1 1 auto}._Panel_16h0h_9{display:flex;flex-direction:column}._PanelContent_16h0h_14{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;overflow:hidden;border-radius:.5rem}._ResizeHandleOuter_16h0h_24{flex:0 0 .8em;position:relative;outline:none;--background-color: transparent}._ResizeHandleOuter_16h0h_24[data-resize-handle-active]{--background-color: var(--color-solid-resize-bar-handle)}._ResizeHandleInner_16h0h_35{position:absolute;top:.15em;bottom:.15em;left:.15em;right:.15em;border-radius:.25em;background-color:var(--background-color);transition:background-color .2s linear}._Button_16h0h_46{color:var(--color-default);background-color:var(--color-button-background);border:1px solid var(--color-button-border);border-radius:.25rem;padding:.25rem .5rem;cursor:pointer}._Button_16h0h_46:hover{background-color:var(--color-button-background-hover)}._Icon_16h0h_58{width:14px;height:14px;position:absolute;left:calc(50% - 7px);top:calc(50% - 7px)}:root{--rct-color-tree-bg: #f6f8fa;--rct-color-tree-focus-outline: #0366d6;--rct-color-focustree-item-selected-bg: #e8eaed;--rct-color-focustree-item-selected-text: inherit;--rct-color-focustree-item-focused-border: #0366d6;--rct-color-focustree-item-draggingover-bg: #ebf0f4;--rct-color-focustree-item-draggingover-color: inherit;--rct-color-nonfocustree-item-selected-bg: #e8eaed;--rct-color-nonfocustree-item-selected-text: inherit;--rct-color-nonfocustree-item-focused-border: #dbdbdb;--rct-color-search-highlight-bg: #a2aed2;--rct-color-drag-between-line-bg: #0366d6;--rct-color-arrow: #373a3f;--rct-item-height: 22px;--rct-color-renaming-input-submitbutton-bg: inherit;--rct-color-renaming-input-submitbutton-bg-hover: #0366d6;--rct-color-renaming-input-submitbutton-bg-active: #095fc1;--rct-color-renaming-input-submitbutton-text: inherit;--rct-color-renaming-input-submitbutton-text-hover: #ffffff;--rct-color-renaming-input-submitbutton-text-active: #ffffff}.rct-tree-root{font-family:sans-serif;background-color:var(--rct-color-tree-bg);padding:4px 0}.rct-tree-root-focus{outline:1px solid var(--rct-color-tree-focus-outline)}.rct-tree-item-li{font-size:.8rem;list-style-type:none;padding:0;margin:0}.rct-tree-item-title-container{display:flex;align-items:center;border-top:1px solid transparent;border-bottom:1px solid transparent}.rct-tree-item-button{flex-grow:1;display:flex;align-items:center;box-sizing:border-box;background-color:transparent;font-family:inherit;font-size:inherit;border:none;width:100%;height:var(--rct-item-height);text-align:left;color:inherit;outline:none}.rct-tree-item-arrow{width:10px}.rct-tree-item-arrow svg{width:10px}.rct-tree-item-arrow-path{fill:var(--rct-color-arrow)}.rct-tree-items-container{margin:0;padding:0}.rct-tree-root:not(.rct-tree-root-focus) .rct-tree-item-title-container-selected{background-color:var(--rct-color-nonfocustree-item-selected-bg);color:var(--rct-color-nonfocustree-item-selected-text)}.rct-tree-root.rct-tree-root-focus .rct-tree-item-title-container-selected{background-color:var(--rct-color-focustree-item-selected-bg);color:var(--rct-color-focustree-item-selected-text)}.rct-tree-root.rct-tree-root-focus .rct-tree-item-title-container-focused{outline:none;border-color:var(--rct-color-focustree-item-focused-border)}.rct-tree-root:not(.rct-tree-root-focus) .rct-tree-item-title-container-focused{outline:none;border-color:var(--rct-color-nonfocustree-item-focused-border)}.rct-tree-item-title-container-dragging-over{background-color:var(--rct-color-focustree-item-draggingover-bg);color:var(--rct-color-focustree-item-draggingover-color)}.rct-tree-item-button-search-match{font-style:italic}.rct-tree-item-search-highlight{background-color:var(--rct-color-search-highlight-bg)}.rct-tree-drag-between-line{position:absolute;right:0;top:-2px;height:4px;background-color:var(--rct-color-drag-between-line-bg)}.rct-tree-drag-between-line-top{top:0}.rct-tree-drag-between-line-bottom{top:-4px}.rct-tree-search-input-container{position:absolute;top:0;right:0;width:120px}.rct-tree-search-input{position:fixed;width:120px}.rct-tree-item-renaming-form{flex-grow:1;display:flex}.rct-tree-item-renaming-input{flex-grow:1;background-color:inherit;border:none;color:inherit;outline:none}.rct-tree-item-renaming-submit-button{border:none;background-color:var(--rct-color-renaming-input-submitbutton-bg);border-radius:999px;color:var(--rct-color-renaming-input-submitbutton-text);cursor:pointer}.rct-tree-item-renaming-submit-button:hover{background-color:var(--rct-color-renaming-input-submitbutton-bg-hover);color:var(--rct-color-renaming-input-submitbutton-text-hover)}.rct-tree-item-renaming-submit-button:active{background-color:var(--rct-color-renaming-input-submitbutton-bg-active);color:var(--rct-color-renaming-input-submitbutton-text-active)}:root{--rct-color-tree-bg: transparent;--rct-item-height: 28px;--rct-color-search-highlight-bg: #acccf1;--rct-color-tree-focus-outline: transparent;--rct-item-margin: 1px;--rct-item-padding: 8px;--rct-radius: 4px;--rct-bar-offset: 6px;--rct-bar-width: 4px;--rct-bar-color: #0366d6;--rct-focus-outline: #000000;--rct-color-focustree-item-selected-bg: #f0f2f5;--rct-color-focustree-item-hover-bg: #f0f2f5;--rct-color-focustree-item-hover-text: inherit;--rct-color-focustree-item-active-bg: #e4e6eb;--rct-color-focustree-item-active-text: #4f4f4f;--rct-arrow-size: 10px;--rct-arrow-container-size: 16px;--rct-arrow-padding: 6px;--rct-cursor: pointer;--rct-search-width: 120px;--rct-search-height: 16px;--rct-search-padding: 8px;--rct-search-border: #b4b7bd;--rct-search-border-bottom: #0366d6;--rct-search-bg: #f8f9fa;--rct-search-text: #000000;--rct-search-text-offset: calc(var(--rct-search-padding) * 2 + 16px);--rct-search-container-width: calc(var(--rct-search-width) + var(--rct-search-text-offset) + var(--rct-search-padding) + 2px)}.rct-dark{--rct-color-search-highlight-bg: #2f5381;--rct-bar-color: #1d7be5;--rct-focus-outline: #ffffff;--rct-color-focustree-item-selected-text: #ffffff;--rct-color-focustree-item-selected-bg: #373737;--rct-color-focustree-item-hover-bg: #373737;--rct-color-focustree-item-hover-text: #ffffff;--rct-color-focustree-item-active-bg: #313131;--rct-color-focustree-item-active-text: #ffffff;--rct-color-focustree-item-draggingover-bg: #313131;--rct-color-focustree-item-draggingover-color: #ffffff;--rct-color-arrow: #ffffff;--rct-search-border: #4f4f4f;--rct-search-border-bottom: #1d7be5;--rct-search-bg: #373737;--rct-search-text: #ffffff;--rct-search-text-offset: calc(var(--rct-search-padding) * 2 + 16px)}.rct-tree-item-button{padding:0 var(--rct-item-padding) 0 calc(var(--rct-item-padding) + var(--rct-arrow-container-size) + var(--rct-arrow-padding));margin-left:calc(-1 * var(--rct-arrow-size));cursor:var(--rct-cursor);transition:color .1s ease-out,background-color .1s ease-out}.rct-tree-item-button:focus-visible{outline:2px solid var(--rct-focus-outline)}.rct-tree-item-button:hover{background-color:var(--rct-color-focustree-item-hover-bg);color:var(--rct-color-focustree-item-hover-text)}.rct-tree-item-button:active{background-color:var(--rct-color-focustree-item-active-bg);color:var(--rct-color-focustree-item-active-text)}.rct-tree-item-title-container-selected .rct-tree-item-button{background-color:var(--rct-color-focustree-item-selected-bg);color:var(--rct-color-focustree-item-selected-text)}.rct-tree-item-title-container-selected .rct-tree-item-button:before{content:" ";position:absolute;top:calc(var(--rct-bar-offset) + var(--rct-item-margin));left:calc(-.5 * var(--rct-bar-width));height:calc(var(--rct-item-height) - 2 * var(--rct-bar-offset));width:var(--rct-bar-width);background-color:var(--rct-bar-color);border-radius:99px}.rct-tree-item-button{margin-top:var(--rct-item-margin);margin-bottom:var(--rct-item-margin);position:relative;border-radius:var(--rct-radius)}.rct-tree-item-title-container-dragging-over .rct-tree-item-button{background-color:var(--rct-color-focustree-item-draggingover-bg);color:var(--rct-color-focustree-item-draggingover-color)}.rct-tree-item-title-container{border:none;background-color:unset!important}.rct-tree-item-arrow{z-index:1;margin-right:calc(-1 * var(--rct-arrow-container-size) + var(--rct-arrow-padding));width:var(--rct-arrow-container-size);height:var(--rct-arrow-container-size);display:flex;justify-content:center;align-content:center;border-radius:var(--rct-radius);cursor:var(--rct-cursor)}.rct-tree-item-arrow.rct-tree-item-arrow-isFolder:hover{background-color:var(--rct-color-focustree-item-hover-bg);color:var(--rct-color-focustree-item-hover-text)}.rct-tree-item-arrow svg{width:var(--rct-arrow-size)}.rct-tree-item-renaming-submit-button{border-radius:var(--rct-radius);visibility:hidden}.rct-tree-drag-between-line{border-radius:99px;height:3px}.rct-tree-search-input-container{width:var(--rct-search-container-width)}.rct-tree-search-input{width:var(--rct-search-width);height:var(--rct-search-height);padding:var(--rct-search-padding);padding-left:var(--rct-search-text-offset);margin:0;border:1px solid var(--rct-search-border);border-bottom:2px solid var(--rct-search-border-bottom);border-radius:var(--rct-radius);background-color:var(--rct-search-bg);color:var(--rct-search-text)}.rct-tree-search-input:focus{outline:none}.rct-tree-input-icon{content:url(data:image/svg+xml,%3Csvg%20stroke%3D%22currentColor%22%20fill%3D%22currentColor%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2016%2016%22%20height%3D%221em%22%20width%3D%221em%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);position:fixed;transform:translateY(var(--rct-search-padding)) translate(var(--rct-search-padding));z-index:1}.rct-dark .rct-tree-input-icon{content:url(data:image/svg+xml,%3Csvg%20stroke%3D%22%23ffffff%22%20fill%3D%22%23ffffff%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2016%2016%22%20height%3D%221em%22%20width%3D%221em%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E)}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.dashboard-tabs .simplebar-content-wrapper{margin:0}.dashboard-tabs .simplebar-track.simplebar-horizontal,.scroll-h-tabs-wrap .simplebar-track.simplebar-horizontal{left:0;height:7px}.simplebar-content:before,.simplebar-content:after{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;-moz-user-select:none;user-select:none;-webkit-user-select:none;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:100;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}/*! + * OverlayScrollbars + * Version: 2.4.5 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */.os-size-observer,.os-size-observer-listener{scroll-behavior:auto!important;direction:inherit;pointer-events:none;overflow:hidden;visibility:hidden;box-sizing:border-box}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;left:0;top:0}.os-size-observer{z-index:-1;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;padding:inherit;border:inherit;box-sizing:inherit;margin:-133px;top:0;right:0;bottom:0;left:0;transform:scale(.1)}.os-size-observer:before{content:"";flex:none;box-sizing:inherit;padding:10px;width:10px;height:10px}.os-size-observer-appear{animation:os-size-observer-appear-animation 1ms forwards}.os-size-observer-listener{box-sizing:border-box;position:relative;flex:auto;padding:inherit;border:inherit;margin:-133px;transform:scale(10)}.os-size-observer-listener.ltr{margin-right:-266px;margin-left:0}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{display:block;position:relative;padding:inherit;border:inherit;box-sizing:content-box;flex:auto}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{right:0;bottom:0;overflow:hidden;direction:ltr;flex:none}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{flex:none;box-sizing:border-box;position:relative;max-width:0px;max-height:1px;padding:0;margin:0;border:none;overflow:hidden;z-index:-1;height:0;top:calc(100% + 1px);contain:strict}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-environment{scroll-behavior:auto!important;--os-custom-prop: -1;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:var(--os-custom-prop)}.os-environment div{width:200%;height:200%;margin:10px 0}.os-environment.os-environment-flexbox-glue{display:flex;flex-direction:row;flex-wrap:nowrap;height:auto;width:auto;min-height:200px;min-width:200px}.os-environment.os-environment-flexbox-glue div{flex:auto;width:auto;height:auto;max-height:100%;max-width:100%;margin:0}.os-environment.os-environment-flexbox-glue-max{max-height:200px}.os-environment.os-environment-flexbox-glue-max div{overflow:visible}.os-environment.os-environment-flexbox-glue-max div:before{content:"";display:block;height:999px;width:999px}.os-environment,[data-overlayscrollbars-viewport]{-ms-overflow-style:scrollbar!important}[data-overlayscrollbars-initialize],[data-overlayscrollbars~=scrollbarHidden],[data-overlayscrollbars-viewport~=scrollbarHidden],.os-scrollbar-hidden.os-environment{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar,[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,.os-scrollbar-hidden.os-environment::-webkit-scrollbar,.os-scrollbar-hidden.os-environment::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;align-items:stretch!important;flex-direction:row!important;flex-wrap:nowrap!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{box-sizing:inherit;position:relative;flex:auto!important;height:auto;width:100%;min-width:0;padding:0;margin:0;border:none;z-index:0}[data-overlayscrollbars-viewport]{--os-vaw: 0;--os-vah: 0}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";position:absolute;pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah)}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{overflow:hidden}[data-overlayscrollbars~=host],[data-overlayscrollbars~=viewport]{position:relative}[data-overlayscrollbars~=overflowVisible],[data-overlayscrollbars-padding~=overflowVisible],[data-overlayscrollbars-viewport~=overflowVisible]{overflow:visible}[data-overlayscrollbars-overflow-x=hidden]{overflow-x:hidden}[data-overlayscrollbars-overflow-x=scroll]{overflow-x:scroll}[data-overlayscrollbars-overflow-x=hidden]{overflow-y:hidden}[data-overlayscrollbars-overflow-y=scroll]{overflow-y:scroll}[data-overlayscrollbars~=scrollbarPressed],[data-overlayscrollbars~=scrollbarPressed] [data-overlayscrollbars-viewport]{scroll-behavior:auto!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]{text-overflow:ellipsis}.code-scroll-x [data-overlayscrollbars-contents]{text-overflow:unset}[data-overlayscrollbars-contents]:not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{height:auto!important;width:auto!important}.os-scrollbar{contain:size layout;contain:size layout style;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;pointer-events:none;position:absolute;opacity:0;visibility:hidden}body>.os-scrollbar{position:fixed;z-index:99999}.os-scrollbar-transitionless{transition:none}.os-scrollbar-track{position:relative;direction:ltr!important;padding:0!important;border:none!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{right:auto;left:0}.os-scrollbar-visible,.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0}.os-scrollbar-vertical .os-scrollbar-handle{right:0}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{right:auto;left:0}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}.os-scrollbar{--os-size: 0;--os-padding-perpendicular: 0;--os-padding-axis: 0;--os-track-border-radius: 0;--os-track-bg: none;--os-track-bg-hover: none;--os-track-bg-active: none;--os-track-border: none;--os-track-border-hover: none;--os-track-border-active: none;--os-handle-border-radius: 0;--os-handle-bg: none;--os-handle-bg-hover: none;--os-handle-bg-active: none;--os-handle-border: none;--os-handle-border-hover: none;--os-handle-border-active: none;--os-handle-min-size: 33px;--os-handle-max-size: none;--os-handle-perpendicular-size: 100%;--os-handle-perpendicular-size-hover: 100%;--os-handle-perpendicular-size-active: 100%;--os-handle-interactive-area-offset: 0}.os-scrollbar .os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar .os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar .os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar .os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar .os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-scrollbar .os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar .os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size-horizontal);height:var(--os-size-horizontal)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size-horizontal);right:0}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars~=updating]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;margin-right:-11px;--os-size: 10px;--os-size-horizontal: 8px;--os-padding-perpendicular: 2px;--os-padding-axis: 2px;--os-track-border-radius: 10px;--os-handle-interactive-area-offset: 4px;--os-handle-border-radius: 10px}.os-theme-dark{--os-handle-bg: rgba(0, 0, 0, .24);--os-handle-bg-hover: rgba(0, 0, 0, .35);--os-handle-bg-active: rgba(0, 0, 0, .42)}.os-theme-light{--os-handle-bg: rgba(255, 255, 255, .24);--os-handle-bg-hover: rgba(255, 255, 255, .35);--os-handle-bg-active: rgba(255, 255, 255, .42)}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}:root{--color-solid-resize-bar: rgb(226, 232, 240);--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--card: 0 0% 99.5%;--card-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 217 18.41% 8.5%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--border: 216 34% 17%;--input: 216 34% 17%;--card: 213.91, 16.28%, 9.46%;--card-foreground: 213 31% 91%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}body{overscroll-behavior:none;overflow:hidden;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-user-select:none;-moz-user-select:none;user-select:none;font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-1\.5{bottom:.375rem}.bottom-2{bottom:.5rem}.bottom-4{bottom:1rem}.bottom-\[-100px\]{bottom:-100px}.bottom-\[-13px\]{bottom:-13px}.bottom-\[-45px\]{bottom:-45px}.bottom-\[-50px\]{bottom:-50px}.bottom-full{bottom:100%}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-2\/4{left:50%}.left-\[-10px\]{left:-10px}.left-\[-12px\]{left:-12px}.left-\[-4px\]{left:-4px}.left-\[-5px\]{left:-5px}.left-\[30px\]{left:30px}.right-0{right:0}.right-1{right:.25rem}.right-1\.5{right:.375rem}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.right-4{right:1rem}.right-\[-10px\]{right:-10px}.right-\[-16px\]{right:-16px}.right-\[-3px\]{right:-3px}.right-\[-5px\]{right:-5px}.right-\[-63px\]{right:-63px}.right-\[10px\]{right:10px}.right-\[36px\]{right:36px}.right-\[4px\]{right:4px}.top-0{top:0}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-14{top:3.5rem}.top-2{top:.5rem}.top-2\/4{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[-10px\]{top:-10px}.top-\[-12px\]{top:-12px}.top-\[-13px\]{top:-13px}.top-\[-15px\]{top:-15px}.top-\[-16px\]{top:-16px}.top-\[-17px\]{top:-17px}.top-\[-2px\]{top:-2px}.top-\[-3px\]{top:-3px}.top-\[-5px\]{top:-5px}.top-\[-6px\]{top:-6px}.top-\[1px\]{top:1px}.top-\[3px\]{top:3px}.top-\[49px\]{top:49px}.top-\[4px\]{top:4px}.top-\[5px\]{top:5px}.top-\[60\%\]{top:60%}.top-\[64px\]{top:64px}.top-\[calc\(100\%\+8px\)\]{top:calc(100% + 8px)}.top-full{top:100%}.z-10{z-index:10}.z-100{z-index:100}.z-30{z-index:30}.z-50{z-index:50}.z-\[100000\]{z-index:100000}.z-\[10001\]{z-index:10001}.z-\[1\]{z-index:1}.z-\[60\]{z-index:60}.z-auto{z-index:auto}.\!m-0{margin:0!important}.m-0{margin:0}.m-0\.5{margin:.125rem}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-auto{margin:auto}.\!mx-0{margin-left:0!important;margin-right:0!important}.\!my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-1\.5{margin-top:.375rem;margin-bottom:.375rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-\[1px\]{margin-top:1px;margin-bottom:1px}.\!-mt-\[100px\]{margin-top:-100px!important}.\!mb-1{margin-bottom:.25rem!important}.\!mt-0{margin-top:0!important}.\!mt-2{margin-top:.5rem!important}.\!mt-3{margin-top:.75rem!important}.\!mt-4{margin-top:1rem!important}.\!mt-\[43px\]{margin-top:43px!important}.-ml-1{margin-left:-.25rem}.-mt-0{margin-top:-0px}.-mt-0\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.-mt-5{margin-top:-1.25rem}.-mt-80{margin-top:-20rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[2px\]{margin-bottom:2px}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-\[-12px\]{margin-left:-12px}.ml-\[-2px\]{margin-left:-2px}.ml-\[-5px\]{margin-left:-5px}.ml-\[-8px\]{margin-left:-8px}.ml-\[10px\]{margin-left:10px}.ml-\[120px\]{margin-left:120px}.ml-\[150px\]{margin-left:150px}.ml-\[20px\]{margin-left:20px}.ml-\[30px\]{margin-left:30px}.ml-\[40px\]{margin-left:40px}.ml-\[50px\]{margin-left:50px}.ml-\[60px\]{margin-left:60px}.ml-\[90px\]{margin-left:90px}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[-10px\]{margin-right:-10px}.mr-\[-6px\]{margin-right:-6px}.mr-\[-8px\]{margin-right:-8px}.mr-\[11px\]{margin-right:11px}.mr-\[13px\]{margin-right:13px}.mr-\[14px\]{margin-right:14px}.mr-\[2px\]{margin-right:2px}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-\[-12px\]{margin-top:-12px}.mt-\[-3px\]{margin-top:-3px}.mt-\[1px\]{margin-top:1px}.mt-\[20px\]{margin-top:20px}.mt-\[2px\]{margin-top:2px}.mt-\[40px\]{margin-top:40px}.mt-px{margin-top:1px}.box-border{box-sizing:border-box}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.\!block{display:block!important}.block{display:block}.\!inline-block{display:inline-block!important}.inline-block{display:inline-block}.inline{display:inline}.\!flex{display:flex!important}.flex{display:flex}.\!inline-flex{display:inline-flex!important}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.\!h-4{height:1rem!important}.\!h-full{height:100%!important}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-1\/2{height:50%}.h-1\/3{height:33.333333%}.h-1\/4{height:25%}.h-1\/5{height:20%}.h-1\/6{height:16.666667%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-2\/3{height:66.666667%}.h-2\/4{height:50%}.h-2\/5{height:40%}.h-2\/6{height:33.333333%}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-3\/4{height:75%}.h-3\/5{height:60%}.h-3\/6{height:50%}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-4\/6{height:66.666667%}.h-40{height:10rem}.h-44{height:11rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-52{height:13rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[13px\]{height:13px}.h-\[16px\]{height:16px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[22px\]{height:22px}.h-\[23px\]{height:23px}.h-\[24px\]{height:24px}.h-\[26px\]{height:26px}.h-\[28px\]{height:28px}.h-\[30px\]{height:30px}.h-\[32px\]{height:32px}.h-\[34px\]{height:34px}.h-\[380px\]{height:380px}.h-\[40px\]{height:40px}.h-\[41px\]{height:41px}.h-\[48px\]{height:48px}.h-\[8px\]{height:8px}.h-\[calc\(100vh-50px\)\]{height:calc(100vh - 50px)}.h-\[calc\(100vh-70px\)\]{height:calc(100vh - 70px)}.h-\[calc\(100vh-95px\)\]{height:calc(100vh - 95px)}.h-\[full\]{height:full}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-min{height:-moz-min-content;height:min-content}.h-px{height:1px}.h-screen{height:100vh}.max-h-56{max-height:14rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-\[380px\]{max-height:380px}.max-h-\[600px\]{max-height:600px}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-\[0px\]{min-height:0px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[130px\]{min-height:130px}.min-h-\[30px\]{min-height:30px}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.\!w-36{width:9rem!important}.\!w-40{width:10rem!important}.\!w-60{width:15rem!important}.\!w-9{width:2.25rem!important}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/12{width:8.333333%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-1\/6{width:16.666667%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/12{width:16.666667%}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/12{width:25%}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-3\/6{width:50%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/12{width:33.333333%}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/12{width:41.666667%}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-6\/12{width:50%}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-7\/12{width:58.333333%}.w-72{width:18rem}.w-8{width:2rem}.w-8\/12{width:66.666667%}.w-80{width:20rem}.w-9{width:2.25rem}.w-9\/12{width:75%}.w-96{width:24rem}.w-\[1\.5rem\]{width:1.5rem}.w-\[112px\]{width:112px}.w-\[120px\]{width:120px}.w-\[13px\]{width:13px}.w-\[150px\]{width:150px}.w-\[16px\]{width:16px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20px\]{width:20px}.w-\[22px\]{width:22px}.w-\[230px\]{width:230px}.w-\[235px\]{width:235px}.w-\[24px\]{width:24px}.w-\[25px\]{width:25px}.w-\[260px\]{width:260px}.w-\[270px\]{width:270px}.w-\[280px\]{width:280px}.w-\[28px\]{width:28px}.w-\[2px\]{width:2px}.w-\[30px\]{width:30px}.w-\[32px\]{width:32px}.w-\[34px\]{width:34px}.w-\[37px\]{width:37px}.w-\[380px\]{width:380px}.w-\[38px\]{width:38px}.w-\[400px\]{width:400px}.w-\[40px\]{width:40px}.w-\[580px\]{width:580px}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[90\%\]{width:90%}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-px{width:1px}.w-screen{width:100vw}.\!min-w-\[390px\]{min-width:390px!important}.min-w-\[120px\]{min-width:120px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[140px\]{min-width:140px}.min-w-\[150px\]{min-width:150px}.min-w-\[16px\]{min-width:16px}.min-w-\[200px\]{min-width:200px}.min-w-\[24px\]{min-width:24px}.min-w-\[265px\]{min-width:265px}.min-w-\[270px\]{min-width:270px}.min-w-\[280px\]{min-width:280px}.min-w-\[300px\]{min-width:300px}.min-w-\[320px\]{min-width:320px}.min-w-\[340px\]{min-width:340px}.min-w-\[400px\]{min-width:400px}.min-w-\[40px\]{min-width:40px}.min-w-\[80\%\]{min-width:80%}.min-w-\[80px\]{min-width:80px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[90px\]{min-width:90px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[16rem\]{max-width:16rem}.max-w-\[200px\]{max-width:200px}.max-w-\[22px\]{max-width:22px}.max-w-\[260px\]{max-width:260px}.max-w-\[300px\]{max-width:300px}.max-w-\[340px\]{max-width:340px}.max-w-\[470px\]{max-width:470px}.max-w-\[480px\]{max-width:480px}.max-w-\[50\%\]{max-width:50%}.max-w-\[640px\]{max-width:640px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.max-w-prose{max-width:65ch}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-1\/2{flex-basis:50%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2,.-translate-x-2\/4{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2,.-translate-y-2\/4{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[-90deg\]{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-y-100,.scale-y-\[-1\]{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.select-auto{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.resize{resize:both}.list-none{list-style-type:none}.list-image-none{list-style-image:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.place-items-end{place-items:end}.place-items-center{place-items:center}.\!items-start{align-items:flex-start!important}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-normal{justify-content:normal}.\!justify-start{justify-content:flex-start!important}.justify-start{justify-content:flex-start}.\!justify-end{justify-content:flex-end!important}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.\!gap-2{gap:.5rem!important}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.\!overflow-visible{overflow:visible!important}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.whitespace-break-spaces{white-space:break-spaces}.break-words{overflow-wrap:break-word}.\!rounded-lg{border-radius:var(--radius)!important}.\!rounded-md{border-radius:calc(var(--radius) - 2px)!important}.rounded{border-radius:.25rem}.rounded-\[4px\]{border-radius:4px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-b-md{border-bottom-right-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.\!border{border-width:1px!important}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[0\]{border-width:0}.border-\[0px\]{border-width:0px}.border-\[1px\]{border-width:1px}.border-\[2px\]{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-\[0\]{border-left-width:0}.border-l-\[0px\]{border-left-width:0px}.border-l-\[1px\]{border-left-width:1px}.border-l-\[2px\]{border-left-width:2px}.border-l-\[3px\]{border-left-width:3px}.border-l-\[4px\]{border-left-width:4px}.border-l-\[5px\]{border-left-width:5px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-dashed{border-style:dashed}.border-none{border-style:none}.\!border-blue-400{--tw-border-opacity: 1 !important;border-color:rgb(96 165 250 / var(--tw-border-opacity))!important}.\!border-green-400{--tw-border-opacity: 1 !important;border-color:rgb(74 222 128 / var(--tw-border-opacity))!important}.\!border-green-500{--tw-border-opacity: 1 !important;border-color:rgb(34 197 94 / var(--tw-border-opacity))!important}.\!border-green-600{--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}.\!border-red-400{--tw-border-opacity: 1 !important;border-color:rgb(248 113 113 / var(--tw-border-opacity))!important}.\!border-yellow-600{--tw-border-opacity: 1 !important;border-color:rgb(202 138 4 / var(--tw-border-opacity))!important}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-amber-400{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}.border-amber-50{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-amber-600{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}.border-amber-700{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}.border-amber-900{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}.border-amber-950{--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-blue-50{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}.border-blue-900{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}.border-blue-950{--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}.border-border{border-color:hsl(var(--border))}.border-cyan-100{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}.border-cyan-200{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-cyan-400{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}.border-cyan-50{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-cyan-600{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}.border-cyan-900{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}.border-cyan-950{--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}.border-emerald-400{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}.border-emerald-50{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}.border-emerald-900{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}.border-emerald-950{--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}.border-fuchsia-100{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}.border-fuchsia-200{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}.border-fuchsia-300{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}.border-fuchsia-400{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}.border-fuchsia-50{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}.border-fuchsia-500{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}.border-fuchsia-600{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}.border-fuchsia-700{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}.border-fuchsia-800{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}.border-fuchsia-900{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}.border-fuchsia-950{--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-200\/80{border-color:#e5e7ebcc}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-300\/70{border-color:#d1d5dbb3}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-gray-950{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-green-100{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-green-50{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.border-green-800{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}.border-green-900{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}.border-green-950{--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}.border-grey-20{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-grey-30{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-100{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-indigo-50{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-indigo-700{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}.border-indigo-800{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}.border-indigo-900{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}.border-indigo-950{--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-lime-100{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}.border-lime-200{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-lime-50{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-lime-600{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}.border-lime-700{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}.border-lime-800{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}.border-lime-900{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}.border-lime-950{--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-neutral-200{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}.border-neutral-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}.border-neutral-600{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}.border-neutral-700{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.border-neutral-950{--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}.border-orange-100{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}.border-orange-300\/50{border-color:#fdba7480}.border-orange-400{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}.border-orange-50{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-orange-600{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}.border-orange-700{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}.border-orange-800{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}.border-orange-900{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}.border-orange-950{--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}.border-pink-100{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}.border-pink-200{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}.border-pink-400{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}.border-pink-50{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}.border-pink-800{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}.border-pink-900{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}.border-pink-950{--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-100{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.border-purple-400{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}.border-purple-50{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}.border-purple-800{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}.border-purple-950{--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-red-50{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.border-red-950{--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}.border-rose-100{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}.border-rose-400{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}.border-rose-50{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}.border-rose-500{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}.border-rose-600{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}.border-rose-700{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-rose-900{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}.border-rose-950{--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}.border-sky-100{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}.border-sky-200{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}.border-sky-300{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-sky-50{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}.border-sky-500{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-sky-600{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}.border-sky-700{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}.border-sky-800{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}.border-sky-900{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}.border-sky-950{--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-200\/50{border-color:#e2e8f080}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.border-slate-300\/80{border-color:#cbd5e1cc}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-slate-400\/70{border-color:#94a3b8b3}.border-slate-50{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}.border-slate-500{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-slate-900{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}.border-slate-950{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}.border-stone-100{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}.border-stone-200{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-stone-300{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}.border-stone-400{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}.border-stone-50{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}.border-stone-500{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}.border-stone-600{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}.border-stone-700{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}.border-stone-800{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}.border-stone-900{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}.border-stone-950{--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}.border-teal-100{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}.border-teal-400{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}.border-teal-50{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-teal-600{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}.border-teal-700{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}.border-teal-800{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}.border-teal-900{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}.border-teal-950{--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-violet-100{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}.border-violet-200{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}.border-violet-400{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}.border-violet-50{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}.border-violet-500{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}.border-violet-600{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}.border-violet-700{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}.border-violet-800{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}.border-violet-900{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}.border-violet-950{--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-100{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-yellow-50{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-yellow-700{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.border-yellow-800{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}.border-yellow-900{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}.border-yellow-950{--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}.border-zinc-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-zinc-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-zinc-500{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-zinc-900{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}.border-zinc-950{--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}.border-l-amber-100{--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}.border-l-amber-200{--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}.border-l-amber-300{--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-l-amber-400{--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}.border-l-amber-50{--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-l-amber-600{--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}.border-l-amber-700{--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}.border-l-amber-800{--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}.border-l-amber-900{--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}.border-l-amber-950{--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}.border-l-blue-100{--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}.border-l-blue-200{--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-l-blue-300{--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-l-blue-400{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-l-blue-50{--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-l-blue-600{--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-l-blue-700{--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-l-blue-800{--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}.border-l-blue-900{--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}.border-l-blue-950{--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}.border-l-cyan-100{--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}.border-l-cyan-200{--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}.border-l-cyan-300{--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-l-cyan-400{--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}.border-l-cyan-50{--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}.border-l-cyan-500{--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-l-cyan-600{--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-l-cyan-700{--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-l-cyan-800{--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}.border-l-cyan-900{--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}.border-l-cyan-950{--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}.border-l-emerald-100{--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}.border-l-emerald-200{--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}.border-l-emerald-300{--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}.border-l-emerald-400{--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}.border-l-emerald-50{--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-l-emerald-600{--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-l-emerald-700{--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-l-emerald-800{--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}.border-l-emerald-900{--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}.border-l-emerald-950{--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}.border-l-fuchsia-100{--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}.border-l-fuchsia-200{--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}.border-l-fuchsia-300{--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}.border-l-fuchsia-400{--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}.border-l-fuchsia-50{--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}.border-l-fuchsia-500{--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}.border-l-fuchsia-600{--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}.border-l-fuchsia-700{--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}.border-l-fuchsia-800{--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}.border-l-fuchsia-900{--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}.border-l-fuchsia-950{--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}.border-l-gray-100{--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-l-gray-200{--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-l-gray-300{--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-l-gray-400{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-l-gray-50{--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}.border-l-gray-500{--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-l-gray-600{--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-l-gray-700{--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-l-gray-800{--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-l-gray-900{--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-l-gray-950{--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-l-green-100{--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}.border-l-green-200{--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-l-green-300{--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-l-green-400{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-l-green-50{--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}.border-l-green-500{--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-l-green-600{--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-l-green-700{--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}.border-l-green-800{--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}.border-l-green-900{--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}.border-l-green-950{--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}.border-l-indigo-100{--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}.border-l-indigo-200{--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-l-indigo-300{--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-l-indigo-400{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-l-indigo-50{--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}.border-l-indigo-500{--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-l-indigo-600{--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-l-indigo-700{--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}.border-l-indigo-800{--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}.border-l-indigo-900{--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}.border-l-indigo-950{--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}.border-l-lime-100{--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}.border-l-lime-200{--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}.border-l-lime-300{--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-l-lime-400{--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-l-lime-50{--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}.border-l-lime-500{--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-l-lime-600{--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}.border-l-lime-700{--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}.border-l-lime-800{--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}.border-l-lime-900{--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}.border-l-lime-950{--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}.border-l-neutral-100{--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-l-neutral-200{--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}.border-l-neutral-300{--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-l-neutral-400{--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}.border-l-neutral-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-l-neutral-500{--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}.border-l-neutral-600{--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}.border-l-neutral-700{--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}.border-l-neutral-800{--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}.border-l-neutral-900{--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}.border-l-neutral-950{--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}.border-l-orange-100{--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}.border-l-orange-200{--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}.border-l-orange-300{--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}.border-l-orange-400{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}.border-l-orange-50{--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}.border-l-orange-500{--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-l-orange-600{--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}.border-l-orange-700{--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}.border-l-orange-800{--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}.border-l-orange-900{--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}.border-l-orange-950{--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}.border-l-pink-100{--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}.border-l-pink-200{--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}.border-l-pink-300{--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}.border-l-pink-400{--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}.border-l-pink-50{--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}.border-l-pink-500{--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-l-pink-600{--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}.border-l-pink-700{--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}.border-l-pink-800{--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}.border-l-pink-900{--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}.border-l-pink-950{--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}.border-l-purple-100{--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}.border-l-purple-200{--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}.border-l-purple-300{--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}.border-l-purple-400{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}.border-l-purple-50{--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}.border-l-purple-500{--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-l-purple-600{--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}.border-l-purple-700{--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}.border-l-purple-800{--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}.border-l-purple-900{--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}.border-l-purple-950{--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}.border-l-red-100{--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}.border-l-red-200{--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-l-red-300{--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-l-red-400{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-l-red-50{--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-l-red-600{--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-l-red-700{--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-l-red-800{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-l-red-900{--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}.border-l-red-950{--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}.border-l-rose-100{--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}.border-l-rose-200{--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}.border-l-rose-300{--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}.border-l-rose-400{--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}.border-l-rose-50{--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}.border-l-rose-500{--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}.border-l-rose-600{--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}.border-l-rose-700{--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}.border-l-rose-800{--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-l-rose-900{--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}.border-l-rose-950{--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}.border-l-sky-100{--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}.border-l-sky-200{--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}.border-l-sky-300{--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}.border-l-sky-400{--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-l-sky-50{--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}.border-l-sky-500{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-l-sky-600{--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}.border-l-sky-700{--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}.border-l-sky-800{--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}.border-l-sky-900{--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}.border-l-sky-950{--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}.border-l-slate-100{--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-l-slate-200{--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-l-slate-300{--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}.border-l-slate-400{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-l-slate-50{--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}.border-l-slate-500{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-l-slate-600{--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-l-slate-700{--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-l-slate-800{--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-l-slate-900{--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}.border-l-slate-950{--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}.border-l-stone-100{--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}.border-l-stone-200{--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-l-stone-300{--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}.border-l-stone-400{--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}.border-l-stone-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}.border-l-stone-500{--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}.border-l-stone-600{--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}.border-l-stone-700{--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}.border-l-stone-800{--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}.border-l-stone-900{--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}.border-l-stone-950{--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}.border-l-teal-100{--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}.border-l-teal-200{--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-l-teal-300{--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}.border-l-teal-400{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}.border-l-teal-50{--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}.border-l-teal-500{--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-l-teal-600{--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}.border-l-teal-700{--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}.border-l-teal-800{--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}.border-l-teal-900{--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}.border-l-teal-950{--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-l-violet-100{--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}.border-l-violet-200{--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}.border-l-violet-300{--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}.border-l-violet-400{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}.border-l-violet-50{--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}.border-l-violet-500{--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}.border-l-violet-600{--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}.border-l-violet-700{--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}.border-l-violet-800{--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}.border-l-violet-900{--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}.border-l-violet-950{--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}.border-l-yellow-100{--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}.border-l-yellow-200{--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-l-yellow-300{--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-l-yellow-400{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-l-yellow-50{--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}.border-l-yellow-500{--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-l-yellow-600{--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-l-yellow-700{--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}.border-l-yellow-800{--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}.border-l-yellow-900{--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}.border-l-yellow-950{--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}.border-l-zinc-100{--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}.border-l-zinc-200{--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-l-zinc-300{--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}.border-l-zinc-400{--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-l-zinc-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-l-zinc-500{--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}.border-l-zinc-600{--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}.border-l-zinc-700{--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}.border-l-zinc-800{--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-l-zinc-900{--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}.border-l-zinc-950{--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.border-opacity-40{--tw-border-opacity: .4}.border-opacity-50{--tw-border-opacity: .5}.border-opacity-60{--tw-border-opacity: .6}.border-opacity-70{--tw-border-opacity: .7}.\!bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.\!bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.\!bg-gray-300{--tw-bg-opacity: 1 !important;background-color:rgb(209 213 219 / var(--tw-bg-opacity))!important}.\!bg-green-100{--tw-bg-opacity: 1 !important;background-color:rgb(220 252 231 / var(--tw-bg-opacity))!important}.\!bg-green-50{--tw-bg-opacity: 1 !important;background-color:rgb(240 253 244 / var(--tw-bg-opacity))!important}.\!bg-grey-90{--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}.\!bg-orange-100{--tw-bg-opacity: 1 !important;background-color:rgb(255 237 213 / var(--tw-bg-opacity))!important}.\!bg-red-100{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.\!bg-red-300\/90{background-color:#fca5a5e6!important}.\!bg-red-50{--tw-bg-opacity: 1 !important;background-color:rgb(254 242 242 / var(--tw-bg-opacity))!important}.\!bg-slate-50{--tw-bg-opacity: 1 !important;background-color:rgb(248 250 252 / var(--tw-bg-opacity))!important}.\!bg-slate-50\/60{background-color:#f8fafc99!important}.\!bg-transparent{background-color:transparent!important}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-amber-100\/70{background-color:#fef3c7b3}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.bg-amber-950{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black\/30{background-color:#0000004d}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.bg-cyan-300{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.bg-cyan-400{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.bg-cyan-50{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.bg-cyan-700{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.bg-cyan-900{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.bg-cyan-950{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-emerald-100\/20{background-color:#d1fae533}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.bg-emerald-950{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.bg-fuchsia-100{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.bg-fuchsia-200{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.bg-fuchsia-300{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.bg-fuchsia-400{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.bg-fuchsia-50{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.bg-fuchsia-500{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.bg-fuchsia-700{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.bg-fuchsia-800{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.bg-fuchsia-900{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.bg-fuchsia-950{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-200\/50{background-color:#e5e7eb80}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-400\/90{background-color:#9ca3afe6}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-100\/80{background-color:#dcfce7cc}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-green-300\/20{background-color:#86efac33}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-50\/30{background-color:#f0fdf44d}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.bg-green-800{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.bg-green-950{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.bg-grey-0{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-grey-10{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-grey-20{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-grey-40{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-grey-5{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-grey-70{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-indigo-800{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.bg-indigo-950{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.bg-lime-300{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-lime-50{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.bg-lime-500{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.bg-lime-600{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.bg-lime-700{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.bg-lime-800{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.bg-lime-900{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.bg-lime-950{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-neutral-100{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.bg-neutral-200{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.bg-neutral-600{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.bg-neutral-900{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.bg-neutral-950{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-orange-200{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.bg-orange-200\/70{background-color:#fed7aab3}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.bg-orange-300\/20{background-color:#fdba7433}.bg-orange-300\/40{background-color:#fdba7466}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.bg-orange-700{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.bg-orange-800{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.bg-orange-900{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.bg-orange-950{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-pink-400{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.bg-pink-50{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.bg-pink-800{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.bg-pink-950{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-purple-800{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.bg-purple-950{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-100\/70{background-color:#fee2e2b3}.bg-red-100\/80{background-color:#fee2e2cc}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-50\/50{background-color:#fef2f280}.bg-red-50\/80{background-color:#fef2f2cc}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.bg-red-950{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.bg-rose-200{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.bg-rose-300{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.bg-rose-600{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.bg-rose-700{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.bg-rose-800{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.bg-rose-900{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.bg-rose-950{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.bg-sky-200{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.bg-sky-300{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.bg-sky-50\/70{background-color:#f0f9ffb3}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.bg-sky-800{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.bg-sky-900{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.bg-sky-950{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-100\/90{background-color:#f1f5f9e6}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-200\/70{background-color:#e2e8f0b3}.bg-slate-200\/90{background-color:#e2e8f0e6}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.bg-slate-300\/80{background-color:#cbd5e1cc}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-slate-400\/80{background-color:#94a3b8cc}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-slate-50\/50{background-color:#f8fafc80}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-slate-900\/80{background-color:#0f172acc}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.bg-stone-200{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.bg-stone-300{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.bg-stone-400{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.bg-stone-500{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.bg-stone-600{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.bg-stone-700{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.bg-stone-800{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.bg-stone-900{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.bg-stone-950{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.bg-teal-100\/70{background-color:#ccfbf1b3}.bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.bg-teal-300{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.bg-teal-50\/80{background-color:#f0fdfacc}.bg-teal-50\/90{background-color:#f0fdfae6}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.bg-teal-600{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.bg-teal-800{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.bg-teal-900{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.bg-teal-950{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.bg-violet-200{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.bg-violet-300{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.bg-violet-500{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.bg-violet-800{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.bg-violet-900{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.bg-violet-950{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-100\/80{background-color:#fef9c3cc}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.bg-yellow-800{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.bg-yellow-900{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.bg-yellow-950{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-grey-0{--tw-gradient-to: #FFFFFF var(--tw-gradient-to-position)}.bg-cover{background-size:cover}.fill-blue-500{fill:#3b82f6}.fill-current{fill:currentColor}.fill-green-200{fill:#bbf7d0}.fill-green-600{fill:#16a34a}.fill-orange-400{fill:#fb923c}.fill-primary{fill:hsl(var(--primary))}.fill-red-500{fill:#ef4444}.fill-transparent{fill:transparent}.fill-yellow-400{fill:#facc15}.stroke-current{stroke:currentColor}.stroke-grey-40{stroke:#9ca3af}.stroke-\[1\.3px\]{stroke-width:1.3px}.object-cover{-o-object-fit:cover;object-fit:cover}.object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.\!p-0{padding:0!important}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[14px\]{padding:14px}.p-\[1px\]{padding:1px}.p-\[2px\]{padding:2px}.\!px-0{padding-left:0!important;padding-right:0!important}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!px-1\.5{padding-left:.375rem!important;padding-right:.375rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!py-0{padding-top:0!important;padding-bottom:0!important}.\!py-0\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.\!py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[6px\]{padding-left:6px;padding-right:6px}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[1\.5px\]{padding-top:1.5px;padding-bottom:1.5px}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.py-\[3px\]{padding-top:3px;padding-bottom:3px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.\!pb-1{padding-bottom:.25rem!important}.\!pb-2{padding-bottom:.5rem!important}.\!pb-3{padding-bottom:.75rem!important}.\!pb-5{padding-bottom:1.25rem!important}.\!pl-0{padding-left:0!important}.\!pl-0\.5{padding-left:.125rem!important}.\!pr-8{padding-right:2rem!important}.\!pt-0{padding-top:0!important}.\!pt-2{padding-top:.5rem!important}.\!pt-3{padding-top:.75rem!important}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-1\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-8{padding-bottom:2rem}.pb-\[100px\]{padding-bottom:100px}.pb-\[2px\]{padding-bottom:2px}.pb-px{padding-bottom:1px}.pl-0{padding-left:0}.pl-0\.5{padding-left:.125rem}.pl-1{padding-left:.25rem}.pl-1\.5{padding-left:.375rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pl-\[6px\]{padding-left:6px}.pr-0{padding-right:0}.pr-0\.5{padding-right:.125rem}.pr-1{padding-right:.25rem}.pr-1\.5{padding-right:.375rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pr-\[10px\]{padding-right:10px}.pr-\[6px\]{padding-right:6px}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-\[10px\]{padding-top:10px}.pt-\[140px\]{padding-top:140px}.pt-\[1px\]{padding-top:1px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.align-middle{vertical-align:middle}.\!font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-\[12px\]{font-size:12px!important}.\!text-\[13px\]{font-size:13px!important}.\!text-\[34px\]{font-size:34px!important}.\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[19px\]{font-size:19px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.\!font-bold{font-weight:700!important}.\!font-light{font-weight:300!important}.\!font-medium{font-weight:500!important}.\!font-normal{font-weight:400!important}.\!font-semibold{font-weight:600!important}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.\!text-amber-700{--tw-text-opacity: 1 !important;color:rgb(180 83 9 / var(--tw-text-opacity))!important}.\!text-amber-800{--tw-text-opacity: 1 !important;color:rgb(146 64 14 / var(--tw-text-opacity))!important}.\!text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.\!text-blue-600{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.\!text-gray-300{--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}.\!text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.\!text-gray-400\/80{color:#9ca3afcc!important}.\!text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.\!text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}.\!text-green-600{--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}.\!text-grey-40{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.\!text-orange-400{--tw-text-opacity: 1 !important;color:rgb(251 146 60 / var(--tw-text-opacity))!important}.\!text-orange-500\/80{color:#f97316cc!important}.\!text-orange-600{--tw-text-opacity: 1 !important;color:rgb(234 88 12 / var(--tw-text-opacity))!important}.\!text-red-400{--tw-text-opacity: 1 !important;color:rgb(248 113 113 / var(--tw-text-opacity))!important}.\!text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.\!text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.\!text-slate-300{--tw-text-opacity: 1 !important;color:rgb(203 213 225 / var(--tw-text-opacity))!important}.\!text-slate-400{--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}.\!text-slate-500{--tw-text-opacity: 1 !important;color:rgb(100 116 139 / var(--tw-text-opacity))!important}.\!text-slate-600{--tw-text-opacity: 1 !important;color:rgb(71 85 105 / var(--tw-text-opacity))!important}.\!text-slate-700{--tw-text-opacity: 1 !important;color:rgb(51 65 85 / var(--tw-text-opacity))!important}.\!text-slate-800{--tw-text-opacity: 1 !important;color:rgb(30 41 59 / var(--tw-text-opacity))!important}.\!text-yellow-500{--tw-text-opacity: 1 !important;color:rgb(234 179 8 / var(--tw-text-opacity))!important}.\!text-yellow-600{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity))!important}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-blue-950{--tw-text-opacity: 1;color:rgb(23 37 84 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-cyan-100{--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}.text-cyan-200{--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}.text-cyan-50{--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}.text-cyan-950{--tw-text-opacity: 1;color:rgb(8 51 68 / var(--tw-text-opacity))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity))}.text-emerald-950{--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-fuchsia-100{--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity))}.text-fuchsia-200{--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity))}.text-fuchsia-300{--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity))}.text-fuchsia-400{--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity))}.text-fuchsia-50{--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity))}.text-fuchsia-500{--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity))}.text-fuchsia-600{--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity))}.text-fuchsia-700{--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity))}.text-fuchsia-800{--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity))}.text-fuchsia-900{--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity))}.text-fuchsia-950{--tw-text-opacity: 1;color:rgb(74 4 78 / var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-400\/80{color:#9ca3afcc}.text-gray-400\/90{color:#9ca3afe6}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-500\/60{color:#6b728099}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-100{--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-50{--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-grey-0{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-grey-20{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-grey-30{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-grey-40{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-grey-50{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-grey-90{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}.text-indigo-950{--tw-text-opacity: 1;color:rgb(30 27 75 / var(--tw-text-opacity))}.text-lime-100{--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity))}.text-lime-200{--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}.text-lime-50{--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-lime-600{--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}.text-lime-950{--tw-text-opacity: 1;color:rgb(26 46 5 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.text-neutral-200{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-neutral-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-neutral-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}.text-orange-100{--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}.text-orange-300{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-orange-50{--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-500\/80{color:#f97316cc}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}.text-orange-900{--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity))}.text-orange-950{--tw-text-opacity: 1;color:rgb(67 20 7 / var(--tw-text-opacity))}.text-pink-100{--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity))}.text-pink-200{--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity))}.text-pink-50{--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity))}.text-pink-950{--tw-text-opacity: 1;color:rgb(80 7 36 / var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary\/30{color:hsl(var(--primary) / .3)}.text-primary\/40{color:hsl(var(--primary) / .4)}.text-primary\/50{color:hsl(var(--primary) / .5)}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity))}.text-purple-200{--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity))}.text-purple-300{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}.text-purple-50{--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity))}.text-purple-950{--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}.text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-50{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-red-950{--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}.text-rose-100{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity))}.text-rose-200{--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity))}.text-rose-800{--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity))}.text-rose-900{--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity))}.text-rose-950{--tw-text-opacity: 1;color:rgb(76 5 25 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/50{color:hsl(var(--secondary-foreground) / .5)}.text-sky-100{--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity))}.text-sky-200{--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-sky-50{--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.text-sky-700{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.text-sky-900{--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity))}.text-sky-950{--tw-text-opacity: 1;color:rgb(8 47 73 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-400\/90{color:#94a3b8e6}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-slate-900\/50{color:#0f172a80}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-stone-100{--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity))}.text-stone-200{--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity))}.text-stone-300{--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}.text-stone-50{--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}.text-stone-600{--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity))}.text-stone-700{--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}.text-stone-800{--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity))}.text-stone-900{--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity))}.text-stone-950{--tw-text-opacity: 1;color:rgb(12 10 9 / var(--tw-text-opacity))}.text-teal-100{--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity))}.text-teal-200{--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity))}.text-teal-300{--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}.text-teal-50{--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity))}.text-teal-900{--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity))}.text-teal-950{--tw-text-opacity: 1;color:rgb(4 47 46 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-violet-100{--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity))}.text-violet-200{--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity))}.text-violet-300{--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity))}.text-violet-400{--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity))}.text-violet-50{--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity))}.text-violet-900{--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity))}.text-violet-950{--tw-text-opacity: 1;color:rgb(46 16 101 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-100{--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity))}.text-yellow-200{--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.text-yellow-50{--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}.text-yellow-950{--tw-text-opacity: 1;color:rgb(66 32 6 / var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.text-zinc-900{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}.text-zinc-950{--tw-text-opacity: 1;color:rgb(9 9 11 / var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.decoration-gray-300{-webkit-text-decoration-color:#d1d5db;text-decoration-color:#d1d5db}.decoration-gray-400{-webkit-text-decoration-color:#9ca3af;text-decoration-color:#9ca3af}.decoration-slate-400{-webkit-text-decoration-color:#94a3b8;text-decoration-color:#94a3b8}.\!decoration-dashed{text-decoration-style:dashed!important}.decoration-1{text-decoration-thickness:1px}.\!underline-offset-4{text-underline-offset:4px!important}.underline-offset-4{text-underline-offset:4px}.placeholder-grey-40::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-grey-40::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.\!opacity-60{opacity:.6!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_-2px_12px_0_rgb\(0\,0\,0\,0\.1\)\]{--tw-shadow: 0 -2px 12px 0 rgb(0,0,0,.1);--tw-shadow-colored: 0 -2px 12px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_1px\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_2px\]{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-window{--tw-shadow: 1px 2px 3px 0 rgb(0 0 0 / .1), 0 2px 4px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 1px 2px 3px 0 var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[\#D1D5DB\]{--tw-shadow-color: #D1D5DB;--tw-shadow: var(--tw-shadow-colored)}.shadow-border{--tw-shadow-color: hsl(var(--border));--tw-shadow: var(--tw-shadow-colored)}.shadow-input{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-0{outline-width:0px}.outline-1{outline-width:1px}.outline-4{outline-width:4px}.outline-grey-20{outline-color:#e5e7eb}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-0{--tw-ring-offset-width: 0px}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-brightness-50{--tw-backdrop-brightness: brightness(.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.animate-out{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.fade-in{--tw-enter-opacity: 0}.fade-in-50{--tw-enter-opacity: .5}.fade-in-80{--tw-enter-opacity: .8}.fade-in-90{--tw-enter-opacity: .9}.fade-out{--tw-exit-opacity: 0}.zoom-in-90{--tw-enter-scale: .9}.slide-in-from-bottom{--tw-enter-translate-y: 100%}.slide-in-from-bottom-1{--tw-enter-translate-y: .25rem}.slide-in-from-bottom-10{--tw-enter-translate-y: 2.5rem}.slide-in-from-left{--tw-enter-translate-x: -100%}.slide-in-from-left-1{--tw-enter-translate-x: -.25rem}.slide-in-from-right{--tw-enter-translate-x: 100%}.slide-in-from-top{--tw-enter-translate-y: -100%}.slide-in-from-top-1{--tw-enter-translate-y: -.25rem}.slide-in-from-top-10{--tw-enter-translate-y: -2.5rem}.duration-100{animation-duration:.1s}.duration-1000{animation-duration:1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.duration-700{animation-duration:.7s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\!fill-mode-forwards{animation-fill-mode:forwards!important}.fill-mode-forwards{animation-fill-mode:forwards}.\!scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)!important}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.\!scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track)!important;border-radius:var(--scrollbar-track-radius)!important}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.\!scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))!important}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.\!scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))!important}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.\!scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb)!important;border-radius:var(--scrollbar-thumb-radius)!important}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.\!scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))!important}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.\!scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))!important}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.\!scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner)!important;border-radius:var(--scrollbar-corner-radius)!important}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.\!scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))!important}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.\!scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))!important}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.\!scrollbar{scrollbar-width:auto!important}.scrollbar{scrollbar-width:auto}.\!scrollbar::-webkit-scrollbar{display:block!important;width:var(--scrollbar-width, 16px)!important;height:var(--scrollbar-height, 16px)!important}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.step{counter-increment:step}.step:before{position:absolute;display:inline-flex;height:2rem;width:2rem;align-items:center;justify-content:center;border-radius:9999px;background-color:hsl(var(--muted));text-align:center;text-indent:-1px;font-size:1rem;line-height:1.5rem;font-weight:500;margin-left:-41px;content:counter(step)}@font-face{font-family:Country Flags;src:url(/assets/TwemojiCountryFlags-Bje2crD2.woff2) format("woff2");unicode-range:U+1F1E6-1F1FF,U+1F3F4,U+E0062-E0063,U+E0065,U+E0067,U+E006C,U+E006E,U+E0073-E0074,U+E0077,U+E007F;font-display:swap}@font-face{font-family:Inter;src:url(/assets/Inter-Regular-B0QUfDW0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:500;src:url(/assets/Inter-Medium-B0NFony0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:500;src:url(/assets/Inter-Medium-B0NFony0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:600;src:url(/assets/Inter-SemiBold-_JLwM7Yv.woff2) format("woff2")}@font-face{font-family:SourceCode;src:url(/assets/SourceCodePro-Regular.otf-Chr7uwKk.woff2) format("woff2")}[data-radix-popper-content-wrapper]{z-index:999!important}input::-ms-reveal{display:none}input[type=number]::-webkit-inner-spin-button{display:none}[type=button]{-webkit-appearance:none;-moz-appearance:none}::-webkit-scrollbar{width:0;height:0;background:transparent}::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-track{border-radius:.75rem;background:transparent}.dark ::-webkit-scrollbar-thumb{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}textarea::-webkit-scrollbar{width:8px;height:8px;background:transparent}.flags{font-family:Country Flags}.simplebar-scrollbar:before{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.body-overlay{position:absolute;margin-top:40px;top:0;right:0;bottom:0;left:0;z-index:999;animation:.3s cubic-bezier(.16,1,.3,1) 0s 1 normal none running fadeInOpacity}.note-content{line-height:1.4}.note-content p:last-child{margin-bottom:.1rem}.note-content h1,.note-content h2,.note-content h3,.note-content h4,.note-content h5,.note-content h6,.note-content p,.note-content ul,.note-content ol,.note-content pre,.note-content blockquote,.note-content table,.note-content img,.note-content hr{margin-bottom:.5rem}.note-content b,.note-content strong{font-weight:700}.note-content h1{font-size:1.25rem;font-weight:700;margin-bottom:.25rem}.note-content h2{font-size:1.125rem;font-weight:700;margin-bottom:.25rem}.note-content h3{font-size:1rem;font-weight:700;margin-bottom:.25rem}.note-content h4{font-size:.875rem;font-weight:700;margin-bottom:.25rem}.note-content h5{font-size:.75rem;font-weight:700;margin-bottom:.25rem}.note-content h6{font-size:.625rem;font-weight:700}.note-content a{color:#007bff;text-decoration:underline}.note-content a:hover{text-decoration:none}.note-content ul,.note-content ol{margin-bottom:.5rem;padding-left:1.25rem}.note-content ul li,.note-content ol li{margin-bottom:.15rem;position:relative}.note-content ul{list-style-type:none}.note-content ul li{display:flex;gap:.25rem}.note-content ul li.task-list-item{justify-content:flex-start;item-align:center;margin-left:-.35rem}.note-content ul li.task-list-item input{width:.95rem;height:1rem;margin-top:.15rem}.note-content ul li.task-list-item:before{content:""}.note-content ul li:before{content:"•";padding-right:.15rem;color:#ddd;margin-left:-1rem;vertical-align:middle}.note-content ol{list-style:none;counter-reset:list-counter}.note-content ol li{counter-increment:list-counter;display:flex;gap:.25rem}.note-content ol li:before{content:counter(list-counter) ".";color:#ddd;margin-left:-1rem;text-align:right;vertical-align:middle}.note-content pre,.note-content code{background-color:#f5f5f5;border:1px solid #ddd;padding:0 .25rem;border-radius:.25rem;overflow:auto}.note-content blockquote{padding:.25rem .5rem;border-left:5px solid #ddd;background-color:#f9f9f9;color:#555}.note-content table{width:100%;border-collapse:collapse}.note-content table th,.note-content table td{border:1px solid #ddd;padding:.5rem;text-align:left}.note-content img{max-width:100%;height:auto}.note-content hr{border:none;border-top:1px solid #ccc}.dark .note-content a{color:#4ca3dd;text-decoration:underline}.dark .note-content a:hover{text-decoration:none}.dark .note-content ul li:before,.dark .note-content ol li:before{color:#555}.dark .note-content pre,.dark .note-content code{background-color:#222;border:1px solid #444}.dark .note-content blockquote{border-left:4px solid #444;background-color:#222;color:#bbb}.dark .note-content table th,.dark .note-content table td{border:1px solid #666}.dark .note-content hr{border-top:1px solid #666}div.note-content.release-notes li{font-size:14px;margin:.35rem .35rem .45rem!important}.esc-key{background-image:url("data:image/svg+xml,%3Csvg width='16' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.506 6h3.931V4.986H1.736v-1.39h2.488V2.583H1.736V1.196h2.69V.182H.506V6ZM8.56 1.855h1.18C9.721.818 8.87.102 7.574.102c-1.276 0-2.21.705-2.205 1.762-.003.858.602 1.35 1.585 1.585l.634.159c.633.153.986.335.988.727-.002.426-.406.716-1.03.716-.64 0-1.1-.295-1.14-.878h-1.19c.03 1.259.931 1.91 2.343 1.91 1.42 0 2.256-.68 2.259-1.745-.003-.969-.733-1.483-1.744-1.71l-.523-.125c-.506-.117-.93-.304-.92-.722 0-.375.332-.65.934-.65.588 0 .949.267.994.724ZM15.78 2.219C15.618.875 14.6.102 13.254.102c-1.537 0-2.71 1.086-2.71 2.989 0 1.898 1.153 2.989 2.71 2.989 1.492 0 2.392-.992 2.526-2.063l-1.244-.006c-.117.623-.606.98-1.262.98-.883 0-1.483-.656-1.483-1.9 0-1.21.591-1.9 1.492-1.9.673 0 1.159.389 1.253 1.028h1.244Z' fill='%235b697d'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:57.1428571429% auto}.code-filter .simplebar-content-wrapper{outline:none;margin-right:10px;margin-left:0}.simplebar-content-wrapper{outline:none;margin-right:12px;margin-left:6px}.simplebar-height-auto-observer-wrapper{z-index:1}.animation-pulse-copy{animation:pulse2 2s infinite}.fade-in-init{opacity:0}.fade-in-init-hover{opacity:100%;transition-delay:1.5s;transition-property:opacity;transition-duration:.3s}.fade-in-animation{animation:fadeInAnimation;animation-timing-function:ease-linear;animation-duration:.2s}.fade-in-opacity-with-delay{animation:fadeInOpacityWithDelay;animation-timing-function:ease-in-out;animation-duration:.3s}.search-pulse-animation{display:inline-block;animation:searchPulseAnimation;animation-timing-function:ease-in-out;animation-duration:.3s}@keyframes fadeInAnimation{0%{transform:scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes fadeInOpacityWithDelay{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes searchPulseAnimation{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}@keyframes pulse2{0%{box-shadow:0 0 #e53e3e}70%{box-shadow:0 0 0 10px #e53e3e00}}.pulse-clip{animation:pulseClip 1s 1}.dark .pulse-clip{animation:pulseClipDark 1s 1}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}@keyframes pulseClipDark{50%{opacity:.7;transform:scale(1)}60%{transform:scale(1.05);--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}90%{opacity:1;transform:scale(1)}}@keyframes pulseClip{50%{opacity:.7;transform:scale(1)}60%{transform:scale(1.05);--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}90%{opacity:1;transform:scale(1)}}body,.bg-background,[role=menubar]{-webkit-user-select:none;-moz-user-select:none;user-select:none}code{font-family:SourceCode,source-code-pro,ui-monospace,SFMono-Regular,SF Mono,Menlo,Monaco,Consolas,Courier New,monospace;font-size:.875rem}body [type=button]{-webkit-appearance:none}body[style*="pointer-events: none"] .overflow-auto,body[style*="pointer-events: none"] .overflow-y-auto,body[style*="pointer-events: none"] .overflow-x-auto{overflow:hidden!important}@media (max-width: 640px){.container{padding-left:1rem;padding-right:1rem}}.code-editor-wrapper{font-family:sans-serif;text-align:center}pre.code-editor-pre{text-align:left;margin:1em 0;padding:.5em;overflow:scroll}pre.code-editor-pre .token-line{line-height:1.3em;height:1.3em}.code-editor-line{display:table-row}.code-editor-line-number{display:table-cell;text-align:right;padding-right:1em;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.code-editor-line-content{display:table-cell}.not-active-background{background-size:10px 10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23CCCCCC' stroke-width='0.7' %3E%3Cpath d='M0,20 L20,0 M15,25 L25,15 M-5,5 L5,-5'/%3E%3C/g%3E%3C/svg%3E")}.dark .not-active-background{background-size:10px 10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23333333' stroke-width='0.7' %3E%3Cpath d='M0,20 L20,0 M15,25 L25,15 M-5,5 L5,-5'/%3E%3C/g%3E%3C/svg%3E")}.boarding-coutout-svg,#boarding-popover-item{display:none}.first-letter\:uppercase:first-letter{text-transform:uppercase}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-grey-40::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-grey-40::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-2\/4:before{content:var(--tw-content);left:50%}.before\:top-2\/4:before{content:var(--tw-content);top:50%}.before\:block:before{content:var(--tw-content);display:block}.before\:h-11:before{content:var(--tw-content);height:2.75rem}.before\:w-11:before{content:var(--tw-content);width:2.75rem}.before\:-translate-x-2\/4:before{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:-translate-y-2\/4:before{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-red-500:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.before\:bg-slate-500:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:transition-opacity:before{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\:m-auto:after{content:var(--tw-content);margin:auto}.after\:block:after{content:var(--tw-content);display:block}.after\:h-\[12px\]:after{content:var(--tw-content);height:12px}.after\:w-\[12px\]:after{content:var(--tw-content);width:12px}.after\:content-\[\'\,\'\]:after{--tw-content: ",";content:var(--tw-content)}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.checked\:border-2:checked{border-width:2px}.checked\:border-red-500:checked{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.checked\:border-slate-500:checked{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.checked\:bg-red-500:checked{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.checked\:bg-slate-500:checked{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:border-none:focus-within{border-style:none}.focus-within\:shadow-none:focus-within{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus-within\:shadow-input:focus-within{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.focus-within\:outline:focus-within{outline-style:solid}.focus-within\:outline-4:focus-within{outline-width:4px}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:hidden{display:none}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.group:hover .group-hover\:bg-grey-5{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.group:hover .group-hover\:fill-red-500{fill:#ef4444}.group:hover .group-hover\:pr-1{padding-right:.25rem}.group:hover .group-hover\:pr-1\.5{padding-right:.375rem}.group:hover .group-hover\:\!text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.group:hover .group-hover\:\!text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.group:hover .group-hover\:text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.group:hover .group-hover\:text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.group:hover .group-hover\:text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:visible{visibility:visible}.group.destructive .group-\[\.destructive\]\:border-destructive\/30{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:opacity-100{opacity:1}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:pointer-events-auto[data-disabled]{pointer-events:auto}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-in-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-in-out}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-amber-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=active\]\:bg-blue-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-slate-500[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=active\]\:text-slate-300[data-state=active]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.data-\[state\=active\]\:text-slate-500[data-state=active]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-black[data-state=open]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-10[data-state=closed]{--tw-exit-opacity: .1}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity: .9}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y: -.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x: .25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x: -.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y: .25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y: 2.5rem}.data-\[state\=open\]\:slide-in-from-right-2\/3[data-state=open]{--tw-enter-translate-x: 66.666667%}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:z-100:hover{z-index:100}.hover\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.hover\:animate-pulse:hover{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.hover\:\!border-orange-300\/90:hover{border-color:#fdba74e6!important}.hover\:border-amber-100:hover{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}.hover\:border-amber-200:hover{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}.hover\:border-amber-300:hover{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.hover\:border-amber-300\/80:hover{border-color:#fcd34dcc}.hover\:border-amber-400:hover{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}.hover\:border-amber-50:hover{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}.hover\:border-amber-500:hover{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.hover\:border-amber-600:hover{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}.hover\:border-amber-700:hover{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}.hover\:border-amber-800:hover{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}.hover\:border-amber-900:hover{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}.hover\:border-amber-950:hover{--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}.hover\:border-blue-100:hover{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}.hover\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.hover\:border-blue-400:hover{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:border-blue-50:hover{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-blue-600:hover{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-blue-800:hover{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}.hover\:border-blue-900:hover{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}.hover\:border-blue-950:hover{--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}.hover\:border-cyan-100:hover{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}.hover\:border-cyan-200:hover{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}.hover\:border-cyan-300:hover{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.hover\:border-cyan-400:hover{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}.hover\:border-cyan-50:hover{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}.hover\:border-cyan-500:hover{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.hover\:border-cyan-600:hover{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.hover\:border-cyan-700:hover{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.hover\:border-cyan-800:hover{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}.hover\:border-cyan-900:hover{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}.hover\:border-cyan-950:hover{--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}.hover\:border-emerald-100:hover{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}.hover\:border-emerald-200:hover{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}.hover\:border-emerald-300:hover{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}.hover\:border-emerald-400:hover{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}.hover\:border-emerald-50:hover{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}.hover\:border-emerald-500:hover{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.hover\:border-emerald-600:hover{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.hover\:border-emerald-700:hover{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-emerald-800:hover{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}.hover\:border-emerald-900:hover{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}.hover\:border-emerald-950:hover{--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}.hover\:border-fuchsia-100:hover{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}.hover\:border-fuchsia-200:hover{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}.hover\:border-fuchsia-300:hover{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}.hover\:border-fuchsia-400:hover{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}.hover\:border-fuchsia-50:hover{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}.hover\:border-fuchsia-500:hover{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}.hover\:border-fuchsia-600:hover{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}.hover\:border-fuchsia-700:hover{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}.hover\:border-fuchsia-800:hover{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}.hover\:border-fuchsia-900:hover{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}.hover\:border-fuchsia-950:hover{--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}.hover\:border-gray-100:hover{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-gray-50:hover{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.hover\:border-gray-800:hover{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.hover\:border-gray-900:hover{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-gray-950:hover{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.hover\:border-green-100:hover{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.hover\:border-green-300:hover{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.hover\:border-green-400:hover{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.hover\:border-green-50:hover{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}.hover\:border-green-500:hover{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.hover\:border-green-600:hover{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.hover\:border-green-700:hover{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-green-800:hover{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}.hover\:border-green-900:hover{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}.hover\:border-green-950:hover{--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}.hover\:border-indigo-100:hover{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}.hover\:border-indigo-200:hover{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.hover\:border-indigo-300:hover{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:border-indigo-400:hover{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.hover\:border-indigo-50:hover{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:border-indigo-600:hover{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.hover\:border-indigo-700:hover{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}.hover\:border-indigo-800:hover{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}.hover\:border-indigo-900:hover{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}.hover\:border-indigo-950:hover{--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}.hover\:border-lime-100:hover{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}.hover\:border-lime-200:hover{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}.hover\:border-lime-300:hover{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.hover\:border-lime-400:hover{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.hover\:border-lime-50:hover{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}.hover\:border-lime-500:hover{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.hover\:border-lime-600:hover{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}.hover\:border-lime-700:hover{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}.hover\:border-lime-800:hover{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}.hover\:border-lime-900:hover{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}.hover\:border-lime-950:hover{--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}.hover\:border-neutral-100:hover{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.hover\:border-neutral-200:hover{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.hover\:border-neutral-300:hover{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.hover\:border-neutral-400:hover{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}.hover\:border-neutral-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-neutral-500:hover{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}.hover\:border-neutral-600:hover{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}.hover\:border-neutral-700:hover{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}.hover\:border-neutral-800:hover{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}.hover\:border-neutral-900:hover{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.hover\:border-neutral-950:hover{--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}.hover\:border-orange-100:hover{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}.hover\:border-orange-200:hover{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}.hover\:border-orange-300:hover{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}.hover\:border-orange-400:hover{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}.hover\:border-orange-50:hover{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}.hover\:border-orange-500:hover{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.hover\:border-orange-600:hover{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}.hover\:border-orange-700:hover{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}.hover\:border-orange-800:hover{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}.hover\:border-orange-900:hover{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}.hover\:border-orange-950:hover{--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}.hover\:border-pink-100:hover{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}.hover\:border-pink-200:hover{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}.hover\:border-pink-300:hover{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}.hover\:border-pink-400:hover{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}.hover\:border-pink-50:hover{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}.hover\:border-pink-500:hover{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.hover\:border-pink-600:hover{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}.hover\:border-pink-700:hover{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}.hover\:border-pink-800:hover{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}.hover\:border-pink-900:hover{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}.hover\:border-pink-950:hover{--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}.hover\:border-purple-100:hover{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}.hover\:border-purple-200:hover{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}.hover\:border-purple-300:hover{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.hover\:border-purple-400:hover{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}.hover\:border-purple-50:hover{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}.hover\:border-purple-500:hover{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.hover\:border-purple-600:hover{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}.hover\:border-purple-700:hover{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}.hover\:border-purple-800:hover{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}.hover\:border-purple-900:hover{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}.hover\:border-purple-950:hover{--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}.hover\:border-red-100:hover{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}.hover\:border-red-200:hover{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.hover\:border-red-300:hover{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.hover\:border-red-50:hover{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}.hover\:border-red-500:hover{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.hover\:border-red-600:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.hover\:border-red-700:hover{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-red-800:hover{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.hover\:border-red-900:hover{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.hover\:border-red-950:hover{--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}.hover\:border-rose-100:hover{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}.hover\:border-rose-200:hover{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}.hover\:border-rose-300:hover{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}.hover\:border-rose-400:hover{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}.hover\:border-rose-50:hover{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}.hover\:border-rose-500:hover{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}.hover\:border-rose-600:hover{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}.hover\:border-rose-700:hover{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}.hover\:border-rose-800:hover{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.hover\:border-rose-900:hover{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}.hover\:border-rose-950:hover{--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}.hover\:border-sky-100:hover{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}.hover\:border-sky-200:hover{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}.hover\:border-sky-300:hover{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}.hover\:border-sky-300\/80:hover{border-color:#7dd3fccc}.hover\:border-sky-400:hover{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.hover\:border-sky-50:hover{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}.hover\:border-sky-500:hover{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.hover\:border-sky-600:hover{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}.hover\:border-sky-700:hover{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}.hover\:border-sky-800:hover{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}.hover\:border-sky-900:hover{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}.hover\:border-sky-950:hover{--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}.hover\:border-slate-100:hover{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.hover\:border-slate-200:hover{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.hover\:border-slate-300:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.hover\:border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:border-slate-50:hover{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}.hover\:border-slate-500:hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.hover\:border-slate-600:hover{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.hover\:border-slate-700:hover{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.hover\:border-slate-800:hover{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.hover\:border-slate-900:hover{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}.hover\:border-slate-950:hover{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}.hover\:border-stone-100:hover{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}.hover\:border-stone-200:hover{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.hover\:border-stone-300:hover{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}.hover\:border-stone-400:hover{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}.hover\:border-stone-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}.hover\:border-stone-500:hover{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}.hover\:border-stone-600:hover{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}.hover\:border-stone-700:hover{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}.hover\:border-stone-800:hover{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}.hover\:border-stone-900:hover{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}.hover\:border-stone-950:hover{--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}.hover\:border-teal-100:hover{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}.hover\:border-teal-200:hover{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-teal-300:hover{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}.hover\:border-teal-400:hover{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}.hover\:border-teal-50:hover{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}.hover\:border-teal-500:hover{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.hover\:border-teal-600:hover{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}.hover\:border-teal-700:hover{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}.hover\:border-teal-800:hover{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}.hover\:border-teal-900:hover{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}.hover\:border-teal-950:hover{--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}.hover\:border-violet-100:hover{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}.hover\:border-violet-200:hover{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}.hover\:border-violet-300:hover{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}.hover\:border-violet-400:hover{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}.hover\:border-violet-50:hover{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}.hover\:border-violet-500:hover{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}.hover\:border-violet-600:hover{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}.hover\:border-violet-700:hover{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}.hover\:border-violet-800:hover{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}.hover\:border-violet-900:hover{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}.hover\:border-violet-950:hover{--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}.hover\:border-yellow-100:hover{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}.hover\:border-yellow-200:hover{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.hover\:border-yellow-300:hover{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.hover\:border-yellow-300\/80:hover{border-color:#fde047cc}.hover\:border-yellow-400:hover{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.hover\:border-yellow-50:hover{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}.hover\:border-yellow-500:hover{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.hover\:border-yellow-600:hover{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.hover\:border-yellow-700:hover{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:border-yellow-800:hover{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}.hover\:border-yellow-900:hover{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}.hover\:border-yellow-950:hover{--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}.hover\:border-zinc-100:hover{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.hover\:border-zinc-200:hover{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.hover\:border-zinc-300:hover{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}.hover\:border-zinc-400:hover{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.hover\:border-zinc-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-zinc-500:hover{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.hover\:border-zinc-600:hover{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.hover\:border-zinc-700:hover{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.hover\:border-zinc-800:hover{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.hover\:border-zinc-900:hover{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}.hover\:border-zinc-950:hover{--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}.hover\:border-l-amber-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}.hover\:border-l-amber-200:hover{--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}.hover\:border-l-amber-300:hover{--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}.hover\:border-l-amber-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}.hover\:border-l-amber-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}.hover\:border-l-amber-500:hover{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}.hover\:border-l-amber-600:hover{--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}.hover\:border-l-amber-700:hover{--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}.hover\:border-l-amber-800:hover{--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}.hover\:border-l-amber-900:hover{--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}.hover\:border-l-amber-950:hover{--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}.hover\:border-l-blue-100:hover{--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}.hover\:border-l-blue-200:hover{--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-l-blue-300:hover{--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}.hover\:border-l-blue-400:hover{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:border-l-blue-50:hover{--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}.hover\:border-l-blue-500:hover{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-l-blue-600:hover{--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}.hover\:border-l-blue-700:hover{--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-l-blue-800:hover{--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}.hover\:border-l-blue-900:hover{--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}.hover\:border-l-blue-950:hover{--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}.hover\:border-l-cyan-100:hover{--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}.hover\:border-l-cyan-200:hover{--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}.hover\:border-l-cyan-300:hover{--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}.hover\:border-l-cyan-400:hover{--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}.hover\:border-l-cyan-50:hover{--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}.hover\:border-l-cyan-500:hover{--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}.hover\:border-l-cyan-600:hover{--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}.hover\:border-l-cyan-700:hover{--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}.hover\:border-l-cyan-800:hover{--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}.hover\:border-l-cyan-900:hover{--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}.hover\:border-l-cyan-950:hover{--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}.hover\:border-l-emerald-100:hover{--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}.hover\:border-l-emerald-200:hover{--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}.hover\:border-l-emerald-300:hover{--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}.hover\:border-l-emerald-400:hover{--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}.hover\:border-l-emerald-50:hover{--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}.hover\:border-l-emerald-500:hover{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}.hover\:border-l-emerald-600:hover{--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}.hover\:border-l-emerald-700:hover{--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-l-emerald-800:hover{--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}.hover\:border-l-emerald-900:hover{--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}.hover\:border-l-emerald-950:hover{--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-100:hover{--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-200:hover{--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-300:hover{--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-400:hover{--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-50:hover{--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-500:hover{--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-600:hover{--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-700:hover{--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-800:hover{--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-900:hover{--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-950:hover{--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}.hover\:border-l-gray-100:hover{--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-l-gray-200:hover{--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-l-gray-300:hover{--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-l-gray-400:hover{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-l-gray-50:hover{--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}.hover\:border-l-gray-500:hover{--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-l-gray-600:hover{--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-l-gray-700:hover{--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}.hover\:border-l-gray-800:hover{--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}.hover\:border-l-gray-900:hover{--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-l-gray-950:hover{--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}.hover\:border-l-green-100:hover{--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}.hover\:border-l-green-200:hover{--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}.hover\:border-l-green-300:hover{--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}.hover\:border-l-green-400:hover{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}.hover\:border-l-green-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}.hover\:border-l-green-500:hover{--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}.hover\:border-l-green-600:hover{--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}.hover\:border-l-green-700:hover{--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-l-green-800:hover{--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}.hover\:border-l-green-900:hover{--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}.hover\:border-l-green-950:hover{--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}.hover\:border-l-indigo-100:hover{--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}.hover\:border-l-indigo-200:hover{--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}.hover\:border-l-indigo-300:hover{--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:border-l-indigo-400:hover{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}.hover\:border-l-indigo-50:hover{--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}.hover\:border-l-indigo-500:hover{--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:border-l-indigo-600:hover{--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}.hover\:border-l-indigo-700:hover{--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}.hover\:border-l-indigo-800:hover{--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}.hover\:border-l-indigo-900:hover{--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}.hover\:border-l-indigo-950:hover{--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}.hover\:border-l-lime-100:hover{--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}.hover\:border-l-lime-200:hover{--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}.hover\:border-l-lime-300:hover{--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}.hover\:border-l-lime-400:hover{--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}.hover\:border-l-lime-50:hover{--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}.hover\:border-l-lime-500:hover{--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}.hover\:border-l-lime-600:hover{--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}.hover\:border-l-lime-700:hover{--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}.hover\:border-l-lime-800:hover{--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}.hover\:border-l-lime-900:hover{--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}.hover\:border-l-lime-950:hover{--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}.hover\:border-l-neutral-100:hover{--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}.hover\:border-l-neutral-200:hover{--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}.hover\:border-l-neutral-300:hover{--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}.hover\:border-l-neutral-400:hover{--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}.hover\:border-l-neutral-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-l-neutral-500:hover{--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}.hover\:border-l-neutral-600:hover{--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}.hover\:border-l-neutral-700:hover{--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}.hover\:border-l-neutral-800:hover{--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}.hover\:border-l-neutral-900:hover{--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}.hover\:border-l-neutral-950:hover{--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}.hover\:border-l-orange-100:hover{--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}.hover\:border-l-orange-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}.hover\:border-l-orange-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}.hover\:border-l-orange-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}.hover\:border-l-orange-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}.hover\:border-l-orange-500:hover{--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}.hover\:border-l-orange-600:hover{--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}.hover\:border-l-orange-700:hover{--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}.hover\:border-l-orange-800:hover{--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}.hover\:border-l-orange-900:hover{--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}.hover\:border-l-orange-950:hover{--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}.hover\:border-l-pink-100:hover{--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}.hover\:border-l-pink-200:hover{--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}.hover\:border-l-pink-300:hover{--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}.hover\:border-l-pink-400:hover{--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}.hover\:border-l-pink-50:hover{--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}.hover\:border-l-pink-500:hover{--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}.hover\:border-l-pink-600:hover{--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}.hover\:border-l-pink-700:hover{--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}.hover\:border-l-pink-800:hover{--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}.hover\:border-l-pink-900:hover{--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}.hover\:border-l-pink-950:hover{--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}.hover\:border-l-purple-100:hover{--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}.hover\:border-l-purple-200:hover{--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}.hover\:border-l-purple-300:hover{--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}.hover\:border-l-purple-400:hover{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}.hover\:border-l-purple-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}.hover\:border-l-purple-500:hover{--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}.hover\:border-l-purple-600:hover{--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}.hover\:border-l-purple-700:hover{--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}.hover\:border-l-purple-800:hover{--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}.hover\:border-l-purple-900:hover{--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}.hover\:border-l-purple-950:hover{--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}.hover\:border-l-red-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}.hover\:border-l-red-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}.hover\:border-l-red-300:hover{--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}.hover\:border-l-red-400:hover{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}.hover\:border-l-red-50:hover{--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}.hover\:border-l-red-500:hover{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}.hover\:border-l-red-600:hover{--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}.hover\:border-l-red-700:hover{--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-l-red-800:hover{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.hover\:border-l-red-900:hover{--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}.hover\:border-l-red-950:hover{--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}.hover\:border-l-rose-100:hover{--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}.hover\:border-l-rose-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}.hover\:border-l-rose-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}.hover\:border-l-rose-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}.hover\:border-l-rose-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}.hover\:border-l-rose-500:hover{--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}.hover\:border-l-rose-600:hover{--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}.hover\:border-l-rose-700:hover{--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}.hover\:border-l-rose-800:hover{--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}.hover\:border-l-rose-900:hover{--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}.hover\:border-l-rose-950:hover{--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}.hover\:border-l-sky-100:hover{--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}.hover\:border-l-sky-200:hover{--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}.hover\:border-l-sky-300:hover{--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}.hover\:border-l-sky-400:hover{--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}.hover\:border-l-sky-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}.hover\:border-l-sky-500:hover{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.hover\:border-l-sky-600:hover{--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}.hover\:border-l-sky-700:hover{--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}.hover\:border-l-sky-800:hover{--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}.hover\:border-l-sky-900:hover{--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}.hover\:border-l-sky-950:hover{--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}.hover\:border-l-slate-100:hover{--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}.hover\:border-l-slate-200:hover{--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}.hover\:border-l-slate-300:hover{--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}.hover\:border-l-slate-400:hover{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:border-l-slate-50:hover{--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}.hover\:border-l-slate-500:hover{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.hover\:border-l-slate-600:hover{--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}.hover\:border-l-slate-700:hover{--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}.hover\:border-l-slate-800:hover{--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}.hover\:border-l-slate-900:hover{--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}.hover\:border-l-slate-950:hover{--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}.hover\:border-l-stone-100:hover{--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}.hover\:border-l-stone-200:hover{--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}.hover\:border-l-stone-300:hover{--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}.hover\:border-l-stone-400:hover{--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}.hover\:border-l-stone-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}.hover\:border-l-stone-500:hover{--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}.hover\:border-l-stone-600:hover{--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}.hover\:border-l-stone-700:hover{--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}.hover\:border-l-stone-800:hover{--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}.hover\:border-l-stone-900:hover{--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}.hover\:border-l-stone-950:hover{--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}.hover\:border-l-teal-100:hover{--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}.hover\:border-l-teal-200:hover{--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-l-teal-300:hover{--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}.hover\:border-l-teal-400:hover{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}.hover\:border-l-teal-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}.hover\:border-l-teal-500:hover{--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}.hover\:border-l-teal-600:hover{--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}.hover\:border-l-teal-700:hover{--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}.hover\:border-l-teal-800:hover{--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}.hover\:border-l-teal-900:hover{--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}.hover\:border-l-teal-950:hover{--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}.hover\:border-l-violet-100:hover{--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}.hover\:border-l-violet-200:hover{--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}.hover\:border-l-violet-300:hover{--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}.hover\:border-l-violet-400:hover{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}.hover\:border-l-violet-50:hover{--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}.hover\:border-l-violet-500:hover{--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}.hover\:border-l-violet-600:hover{--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}.hover\:border-l-violet-700:hover{--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}.hover\:border-l-violet-800:hover{--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}.hover\:border-l-violet-900:hover{--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}.hover\:border-l-violet-950:hover{--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}.hover\:border-l-yellow-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}.hover\:border-l-yellow-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}.hover\:border-l-yellow-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}.hover\:border-l-yellow-400:hover{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}.hover\:border-l-yellow-50:hover{--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}.hover\:border-l-yellow-500:hover{--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}.hover\:border-l-yellow-600:hover{--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}.hover\:border-l-yellow-700:hover{--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:border-l-yellow-800:hover{--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}.hover\:border-l-yellow-900:hover{--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}.hover\:border-l-yellow-950:hover{--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}.hover\:border-l-zinc-100:hover{--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}.hover\:border-l-zinc-200:hover{--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}.hover\:border-l-zinc-300:hover{--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}.hover\:border-l-zinc-400:hover{--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}.hover\:border-l-zinc-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-l-zinc-500:hover{--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}.hover\:border-l-zinc-600:hover{--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}.hover\:border-l-zinc-700:hover{--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}.hover\:border-l-zinc-800:hover{--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}.hover\:border-l-zinc-900:hover{--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}.hover\:border-l-zinc-950:hover{--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}.hover\:\!bg-red-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-amber-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.hover\:bg-amber-200:hover{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.hover\:bg-amber-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.hover\:bg-amber-50\/80:hover{background-color:#fffbebcc}.hover\:bg-amber-500:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.hover\:bg-amber-600:hover{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-amber-800:hover{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.hover\:bg-amber-900:hover{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.hover\:bg-amber-950:hover{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-100\/50:hover{background-color:#dbeafe80}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200\/80:hover{background-color:#bfdbfecc}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300\/80:hover{background-color:#93c5fdcc}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-blue-900:hover{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.hover\:bg-blue-950:hover{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.hover\:bg-cyan-100:hover{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.hover\:bg-cyan-200:hover{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.hover\:bg-cyan-300:hover{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.hover\:bg-cyan-400:hover{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.hover\:bg-cyan-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.hover\:bg-cyan-500:hover{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.hover\:bg-cyan-600:hover{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.hover\:bg-cyan-700:hover{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.hover\:bg-cyan-800:hover{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.hover\:bg-cyan-900:hover{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.hover\:bg-cyan-950:hover{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-emerald-100:hover{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.hover\:bg-emerald-200:hover{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.hover\:bg-emerald-300:hover{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.hover\:bg-emerald-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.hover\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.hover\:bg-emerald-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.hover\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.hover\:bg-emerald-900:hover{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.hover\:bg-emerald-950:hover{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-100:hover{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-200:hover{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-300:hover{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-400:hover{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-500:hover{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-600:hover{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-700:hover{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-800:hover{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-900:hover{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-950:hover{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-100\/70:hover{background-color:#f3f4f6b3}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-gray-950:hover{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.hover\:bg-green-100\/70:hover{background-color:#dcfce7b3}.hover\:bg-green-100\/80:hover{background-color:#dcfce7cc}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-green-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.hover\:bg-green-50\/50:hover{background-color:#f0fdf480}.hover\:bg-green-50\/80:hover{background-color:#f0fdf4cc}.hover\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.hover\:bg-green-900:hover{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.hover\:bg-green-950:hover{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.hover\:bg-grey-10:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-grey-5:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.hover\:bg-indigo-300:hover{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-indigo-50:hover{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-indigo-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-indigo-800:hover{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.hover\:bg-indigo-900:hover{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.hover\:bg-indigo-950:hover{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.hover\:bg-lime-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.hover\:bg-lime-200:hover{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.hover\:bg-lime-300:hover{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.hover\:bg-lime-400:hover{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.hover\:bg-lime-50:hover{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.hover\:bg-lime-500:hover{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.hover\:bg-lime-600:hover{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.hover\:bg-lime-700:hover{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.hover\:bg-lime-800:hover{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.hover\:bg-lime-900:hover{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.hover\:bg-lime-950:hover{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-neutral-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.hover\:bg-neutral-300:hover{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.hover\:bg-neutral-400:hover{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.hover\:bg-neutral-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-neutral-500:hover{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.hover\:bg-neutral-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.hover\:bg-neutral-700:hover{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.hover\:bg-neutral-800:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.hover\:bg-neutral-900:hover{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.hover\:bg-neutral-950:hover{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.hover\:bg-orange-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.hover\:bg-orange-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.hover\:bg-orange-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.hover\:bg-orange-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.hover\:bg-orange-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.hover\:bg-orange-500:hover{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.hover\:bg-orange-600:hover{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.hover\:bg-orange-700:hover{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.hover\:bg-orange-900:hover{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.hover\:bg-orange-950:hover{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.hover\:bg-pink-100:hover{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.hover\:bg-pink-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.hover\:bg-pink-300:hover{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.hover\:bg-pink-400:hover{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.hover\:bg-pink-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.hover\:bg-pink-500:hover{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.hover\:bg-pink-600:hover{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.hover\:bg-pink-700:hover{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.hover\:bg-pink-900:hover{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.hover\:bg-pink-950:hover{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-purple-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.hover\:bg-purple-300:hover{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.hover\:bg-purple-400:hover{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.hover\:bg-purple-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.hover\:bg-purple-500:hover{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.hover\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\:bg-purple-700:hover{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.hover\:bg-purple-900:hover{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.hover\:bg-purple-950:hover{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\:bg-red-300\/80:hover{background-color:#fca5a5cc}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.hover\:bg-red-50\/100:hover{background-color:#fef2f2}.hover\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\:bg-red-500\/80:hover{background-color:#ef4444cc}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.hover\:bg-red-900:hover{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.hover\:bg-red-900\/90:hover{background-color:#7f1d1de6}.hover\:bg-red-950:hover{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.hover\:bg-rose-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.hover\:bg-rose-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.hover\:bg-rose-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.hover\:bg-rose-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.hover\:bg-rose-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.hover\:bg-rose-500:hover{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.hover\:bg-rose-600:hover{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.hover\:bg-rose-700:hover{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.hover\:bg-rose-800:hover{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.hover\:bg-rose-900:hover{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.hover\:bg-rose-950:hover{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-sky-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.hover\:bg-sky-200:hover{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.hover\:bg-sky-300:hover{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.hover\:bg-sky-400:hover{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.hover\:bg-sky-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.hover\:bg-sky-600:hover{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.hover\:bg-sky-700:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.hover\:bg-sky-800:hover{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.hover\:bg-sky-900:hover{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.hover\:bg-sky-950:hover{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.hover\:bg-slate-100\/70:hover{background-color:#f1f5f9b3}.hover\:bg-slate-100\/80:hover{background-color:#f1f5f9cc}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\:bg-slate-400:hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.hover\:bg-slate-50:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.hover\:bg-slate-50\/100:hover{background-color:#f8fafc}.hover\:bg-slate-500:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.hover\:bg-slate-500\/100:hover{background-color:#64748b}.hover\:bg-slate-500\/80:hover{background-color:#64748bcc}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:bg-slate-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.hover\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.hover\:bg-slate-900:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.hover\:bg-slate-900\/90:hover{background-color:#0f172ae6}.hover\:bg-slate-950:hover{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.hover\:bg-stone-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.hover\:bg-stone-200:hover{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.hover\:bg-stone-300:hover{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.hover\:bg-stone-400:hover{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.hover\:bg-stone-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.hover\:bg-stone-500:hover{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.hover\:bg-stone-600:hover{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.hover\:bg-stone-700:hover{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.hover\:bg-stone-800:hover{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.hover\:bg-stone-900:hover{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.hover\:bg-stone-950:hover{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.hover\:bg-teal-100:hover{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.hover\:bg-teal-200:hover{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.hover\:bg-teal-300:hover{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.hover\:bg-teal-400:hover{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.hover\:bg-teal-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.hover\:bg-teal-50\/90:hover{background-color:#f0fdfae6}.hover\:bg-teal-500:hover{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.hover\:bg-teal-600:hover{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.hover\:bg-teal-700:hover{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.hover\:bg-teal-800:hover{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.hover\:bg-teal-900:hover{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.hover\:bg-teal-950:hover{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-violet-100:hover{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.hover\:bg-violet-200:hover{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.hover\:bg-violet-300:hover{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.hover\:bg-violet-400:hover{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.hover\:bg-violet-50:hover{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.hover\:bg-violet-500:hover{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.hover\:bg-violet-600:hover{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.hover\:bg-violet-700:hover{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.hover\:bg-violet-800:hover{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.hover\:bg-violet-900:hover{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.hover\:bg-violet-950:hover{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.hover\:bg-yellow-200\/80:hover{background-color:#fef08acc}.hover\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.hover\:bg-yellow-400:hover{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.hover\:bg-yellow-400\/80:hover{background-color:#facc15cc}.hover\:bg-yellow-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.hover\:bg-yellow-50\/80:hover{background-color:#fefce8cc}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.hover\:bg-yellow-600:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.hover\:bg-yellow-900:hover{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.hover\:bg-yellow-950:hover{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.hover\:bg-zinc-100:hover{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.hover\:bg-zinc-200:hover{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.hover\:bg-zinc-300:hover{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.hover\:bg-zinc-400:hover{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.hover\:bg-zinc-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-zinc-500:hover{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.hover\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.hover\:bg-zinc-700:hover{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.hover\:bg-zinc-800:hover{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.hover\:bg-zinc-900:hover{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.hover\:bg-zinc-950:hover{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\:fill-red-500:hover{fill:#ef4444}.hover\:\!text-blue-500:hover{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.hover\:\!text-orange-400:hover{--tw-text-opacity: 1 !important;color:rgb(251 146 60 / var(--tw-text-opacity))!important}.hover\:\!text-orange-500:hover{--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}.hover\:\!text-red-500:hover{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.hover\:\!text-red-600:hover{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-500\/70:hover{color:#3b82f6b3}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-gray-50:hover{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.hover\:text-green-700:hover{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-orange-400:hover{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-primary\/50:hover{color:hsl(var(--primary) / .5)}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-slate-200:hover{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.hover\:text-slate-400\/70:hover{color:#94a3b8b3}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:text-slate-600:hover{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}.hover\:decoration-blue-700:hover{-webkit-text-decoration-color:#1d4ed8;text-decoration-color:#1d4ed8}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.hover\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:animate-in:hover{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.hover\:before\:opacity-5:hover:before{content:var(--tw-content);opacity:.05}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.data-\[state\=active\]\:hover\:text-slate-300:hover[data-state=active]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.data-\[state\=active\]\:hover\:text-slate-500:hover[data-state=active]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.focus\:overflow-auto:focus{overflow:auto}.focus\:border-none:focus{border-style:none}.focus\:border-blue-400:focus{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.focus\:\!bg-amber-100:focus{--tw-bg-opacity: 1 !important;background-color:rgb(254 243 199 / var(--tw-bg-opacity))!important}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-grey-20:focus{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.focus\:bg-grey-5:focus{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:bg-slate-200:focus{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.focus\:bg-transparent:focus{background-color:transparent}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-amber-700:focus{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.focus\:opacity-100:focus{opacity:1}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.focus-visible\:shadow-input:focus-visible{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:cursor-move:active{cursor:move}.active\:bg-grey-0:active,.active\:bg-white:active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:is(.dark .dark\:\!border-green-600){--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-green-700){--tw-border-opacity: 1 !important;border-color:rgb(21 128 61 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-green-800){--tw-border-opacity: 1 !important;border-color:rgb(22 101 52 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-orange-800\/60){border-color:#9a341299!important}:is(.dark .dark\:\!border-red-800){--tw-border-opacity: 1 !important;border-color:rgb(153 27 27 / var(--tw-border-opacity))!important}:is(.dark .dark\:border-amber-100){--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-200){--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-300){--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-400){--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-50){--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-500){--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-600){--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-700){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-800){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-900){--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-900\/80){border-color:#78350fcc}:is(.dark .dark\:border-amber-950){--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-950\/80){border-color:#451a03cc}:is(.dark .dark\:border-blue-100){--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-200){--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-300){--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-400){--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-50){--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-600){--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-700){--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-800){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-900){--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-950){--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-100){--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-200){--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-300){--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-400){--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-50){--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-500){--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-600){--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-700){--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-800){--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-900){--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-950){--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-emerald-100){--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-200){--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-300){--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-400){--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-50){--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-500){--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-600){--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-700){--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-800){--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-900){--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-950){--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-100){--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-200){--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-300){--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-400){--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-50){--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-500){--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-600){--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-700){--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-800){--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-900){--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-950){--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-100){--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-200){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-50){--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600\/70){border-color:#4b5563b3}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700\/80){border-color:#374151cc}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-950){--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-100){--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-200){--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-300){--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-50){--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-600){--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-700){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-800){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-900){--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-950){--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-100){--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-200){--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-300){--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-400){--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-50){--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-500){--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-600){--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-700){--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-800){--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-900){--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-950){--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-100){--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-200){--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-300){--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-400){--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-50){--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-500){--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-600){--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-700){--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-800){--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-900){--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-950){--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-100){--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-200){--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-300){--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-400){--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-50){--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-500){--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-600){--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-950){--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-100){--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-200){--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-300){--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-400){--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-400\/80){border-color:#fb923ccc}:is(.dark .dark\:border-orange-50){--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-500){--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-600){--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-700){--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-800){--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-800\/50){border-color:#9a341280}:is(.dark .dark\:border-orange-900){--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-950){--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-100){--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-200){--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-300){--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-50){--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-600){--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-700){--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-800){--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-900){--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-950){--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-100){--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-200){--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-300){--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-50){--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-600){--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-700){--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-800){--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-900){--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-950){--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-100){--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-200){--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-300){--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-400){--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-50){--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-600){--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-700){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-800){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900\/80){border-color:#7f1d1dcc}:is(.dark .dark\:border-red-950){--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-100){--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-200){--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-300){--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-400){--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-50){--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-500){--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-600){--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-700){--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-800){--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-900){--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-950){--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-100){--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-200){--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-300){--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-400){--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-50){--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-500){--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-600){--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-700){--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-800){--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-900){--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-900\/80){border-color:#0c4a6ecc}:is(.dark .dark\:border-sky-950){--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-100){--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-200){--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-300){--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-400){--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-400\/80){border-color:#94a3b8cc}:is(.dark .dark\:border-slate-50){--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-500){--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-500\/50){border-color:#64748b80}:is(.dark .dark\:border-slate-600){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700\/80){border-color:#334155cc}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-800\/70){border-color:#1e293bb3}:is(.dark .dark\:border-slate-800\/90){border-color:#1e293be6}:is(.dark .dark\:border-slate-900){--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-900\/20){border-color:#0f172a33}:is(.dark .dark\:border-slate-950){--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-100){--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-200){--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-300){--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-400){--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-50){--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-500){--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-600){--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-700){--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-800){--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-900){--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-950){--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-100){--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-200){--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-300){--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-400){--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-50){--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-500){--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-600){--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-700){--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-800){--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-900){--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-950){--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-100){--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-200){--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-300){--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-400){--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-50){--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-500){--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-600){--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-700){--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-800){--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-900){--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-950){--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-100){--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-200){--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-400){--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-50){--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-500){--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-600){--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-700){--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-800){--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-900){--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-950){--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-100){--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-200){--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-300){--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-400){--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-50){--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-500){--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-700){--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-800){--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-900){--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-950){--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-100){--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-200){--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-300){--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-400){--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-50){--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-500){--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-600){--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-700){--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-800){--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-900){--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-950){--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-100){--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-200){--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-300){--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-400){--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-50){--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-500){--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-600){--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-700){--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-800){--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-900){--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-950){--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-100){--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-200){--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-300){--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-400){--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-50){--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-500){--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-600){--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-700){--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-800){--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-900){--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-950){--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-100){--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-200){--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-300){--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-400){--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-50){--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-500){--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-600){--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-700){--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-800){--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-900){--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-950){--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-100){--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-200){--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-300){--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-400){--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-50){--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-500){--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-600){--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-700){--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-800){--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-900){--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-950){--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-100){--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-200){--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-300){--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-400){--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-50){--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-500){--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-600){--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-700){--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-800){--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-900){--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-950){--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-100){--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-200){--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-300){--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-400){--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-50){--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-500){--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-600){--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-700){--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-800){--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-900){--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-950){--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-100){--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-200){--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-300){--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-400){--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-50){--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-500){--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-600){--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-700){--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-800){--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-900){--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-950){--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-100){--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-200){--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-300){--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-400){--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-50){--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-500){--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-600){--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-700){--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-800){--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-900){--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-950){--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-100){--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-200){--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-300){--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-400){--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-500){--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-600){--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-700){--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-800){--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-900){--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-950){--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-100){--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-200){--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-300){--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-400){--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-50){--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-500){--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-600){--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-700){--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-800){--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-900){--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-950){--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-100){--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-200){--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-300){--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-400){--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-50){--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-500){--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-600){--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-700){--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-800){--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-900){--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-950){--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-100){--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-200){--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-300){--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-400){--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-50){--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-500){--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-600){--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-700){--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-800){--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-900){--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-950){--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-100){--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-200){--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-300){--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-400){--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-50){--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-500){--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-600){--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-700){--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-800){--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-900){--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-950){--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-100){--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-200){--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-300){--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-400){--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-50){--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-500){--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-600){--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-700){--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-800){--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-900){--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-950){--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-100){--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-200){--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-300){--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-400){--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-50){--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-500){--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-600){--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-700){--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-800){--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-900){--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-950){--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-100){--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-200){--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-300){--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-400){--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-50){--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-500){--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-600){--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-700){--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-800){--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-900){--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-950){--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-100){--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-200){--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-300){--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-400){--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-500){--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-600){--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-700){--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-800){--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-900){--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-950){--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-100){--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-200){--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-300){--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-400){--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-50){--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-500){--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-600){--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-700){--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-800){--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-900){--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-950){--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-100){--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-200){--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-300){--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-400){--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-50){--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-500){--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-600){--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-700){--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-800){--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-900){--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-950){--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-100){--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-200){--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-300){--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-400){--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-50){--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-500){--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-600){--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-700){--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-800){--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-900){--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-950){--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-100){--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-200){--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-300){--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-400){--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-500){--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-600){--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-700){--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-800){--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-900){--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-950){--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-opacity-40){--tw-border-opacity: .4}:is(.dark .dark\:border-opacity-50){--tw-border-opacity: .5}:is(.dark .dark\:border-opacity-60){--tw-border-opacity: .6}:is(.dark .dark\:border-opacity-70){--tw-border-opacity: .7}:is(.dark .dark\:\!bg-amber-950){--tw-bg-opacity: 1 !important;background-color:rgb(69 26 3 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-600){--tw-bg-opacity: 1 !important;background-color:rgb(75 85 99 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-700){--tw-bg-opacity: 1 !important;background-color:rgb(55 65 81 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-900){--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-green-900){--tw-bg-opacity: 1 !important;background-color:rgb(20 83 45 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-green-900\/80){background-color:#14532dcc!important}:is(.dark .dark\:\!bg-green-950){--tw-bg-opacity: 1 !important;background-color:rgb(5 46 22 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-orange-500\/40){background-color:#f9731666!important}:is(.dark .dark\:\!bg-red-800){--tw-bg-opacity: 1 !important;background-color:rgb(153 27 27 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-900){--tw-bg-opacity: 1 !important;background-color:rgb(127 29 29 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-900\/90){background-color:#7f1d1de6!important}:is(.dark .dark\:\!bg-red-950){--tw-bg-opacity: 1 !important;background-color:rgb(69 10 10 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-950\/80){background-color:#450a0acc!important}:is(.dark .dark\:\!bg-slate-600){--tw-bg-opacity: 1 !important;background-color:rgb(71 85 105 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-800){--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-900){--tw-bg-opacity: 1 !important;background-color:rgb(15 23 42 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-950\/60){background-color:#02061799!important}:is(.dark .dark\:\!bg-transparent){background-color:transparent!important}:is(.dark .dark\:bg-amber-100){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-200){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-300){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-400){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-50){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-500){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-600){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-700){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-800){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-900){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-900\/70){background-color:#78350fb3}:is(.dark .dark\:bg-amber-950){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-950\/80){background-color:#451a03cc}:is(.dark .dark\:bg-black\/70){background-color:#000000b3}:is(.dark .dark\:bg-blue-100){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-300){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-400){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-50){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-800){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-950){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-100){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-200){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-300){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-400){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-50){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-500){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-600){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-700){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-800){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-900){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-950){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-100){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-200){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-300){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-400){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-50){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500\/20){background-color:#10b98133}:is(.dark .dark\:bg-emerald-600){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-700){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-800){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-800\/30){background-color:#065f464d}:is(.dark .dark\:bg-emerald-900){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-950){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-100){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-200){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-300){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-400){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-50){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-500){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-600){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-700){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-800){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-900){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-950){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-100){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-200){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-50){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500\/70){background-color:#6b7280b3}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700\/50){background-color:#37415180}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/70){background-color:#1f2937b3}:is(.dark .dark\:bg-gray-800\/80){background-color:#1f2937cc}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900\/60){background-color:#11182799}:is(.dark .dark\:bg-gray-900\/80){background-color:#111827cc}:is(.dark .dark\:bg-gray-900\/90){background-color:#111827e6}:is(.dark .dark\:bg-gray-950){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-100){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-300){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-400){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-50){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-50\/20){background-color:#f0fdf433}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-700){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900\/40){background-color:#14532d66}:is(.dark .dark\:bg-green-950){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-950\/30){background-color:#052e164d}:is(.dark .dark\:bg-green-950\/80){background-color:#052e16cc}:is(.dark .dark\:bg-indigo-100){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-400){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-50){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-600){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-700){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-800){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-950){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-100){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-200){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-300){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-400){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-50){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-500){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-600){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-700){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-800){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-900){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-950){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-100){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-200){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-300){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-400){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-50){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-500){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-600){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-700){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-950){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-100){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-200){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-300){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-400){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-50){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-500){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-500\/70){background-color:#f97316b3}:is(.dark .dark\:bg-orange-600){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-600\/70){background-color:#ea580cb3}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700\/40){background-color:#c2410c66}:is(.dark .dark\:bg-orange-800){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-800\/40){background-color:#9a341266}:is(.dark .dark\:bg-orange-900){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-900\/40){background-color:#7c2d1266}:is(.dark .dark\:bg-orange-900\/60){background-color:#7c2d1299}:is(.dark .dark\:bg-orange-900\/70){background-color:#7c2d12b3}:is(.dark .dark\:bg-orange-900\/80){background-color:#7c2d12cc}:is(.dark .dark\:bg-orange-950){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-100){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-300){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-400){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-50){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-500){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-700){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-800){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-900){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-950){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-100){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-300){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-400){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-50){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-700){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-800){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-900){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-950){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-100){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-300){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-400){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-50){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500\/20){background-color:#ef444433}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-700){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900\/70){background-color:#7f1d1db3}:is(.dark .dark\:bg-red-950){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-950\/80){background-color:#450a0acc}:is(.dark .dark\:bg-rose-100){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-200){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-300){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-400){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-50){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-500){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-600){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-700){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-800){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-900){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-950){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-100){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-200){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-300){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-400){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-50){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-500){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-600){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-700){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-800){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-900){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-900\/40){background-color:#0c4a6e66}:is(.dark .dark\:bg-sky-900\/80){background-color:#0c4a6ecc}:is(.dark .dark\:bg-sky-950){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-950\/70){background-color:#082f49b3}:is(.dark .dark\:bg-sky-950\/80){background-color:#082f49cc}:is(.dark .dark\:bg-slate-100){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-200){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-300){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-300\/90){background-color:#cbd5e1e6}:is(.dark .dark\:bg-slate-400){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-50){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-500){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-600){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-600\/90){background-color:#475569e6}:is(.dark .dark\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-700\/50){background-color:#33415580}:is(.dark .dark\:bg-slate-700\/80){background-color:#334155cc}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900\/60){background-color:#0f172a99}:is(.dark .dark\:bg-slate-900\/80){background-color:#0f172acc}:is(.dark .dark\:bg-slate-900\/90){background-color:#0f172ae6}:is(.dark .dark\:bg-slate-950){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950\/80){background-color:#020617cc}:is(.dark .dark\:bg-slate-950\/90){background-color:#020617e6}:is(.dark .dark\:bg-stone-100){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-200){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-300){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-400){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-50){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-500){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-600){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-700){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-800){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-900){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-950){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-100){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-200){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-300){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-400){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-50){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-500){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-600){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-700){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-800){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-900){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-900\/70){background-color:#134e4ab3}:is(.dark .dark\:bg-teal-950){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-violet-100){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-200){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-300){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-400){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-50){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-500){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-600){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-700){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-800){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-900){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-950){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-100){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-300){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-400){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-50){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-500){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-700){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-800){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900\/70){background-color:#713f12b3}:is(.dark .dark\:bg-yellow-950){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-100){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-200){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-300){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-400){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-50){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-500){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-600){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-700){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-800){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-900){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-950){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:fill-green-700){fill:#15803d}:is(.dark .dark\:fill-orange-500\/60){fill:#f9731699}:is(.dark .dark\:fill-yellow-500\/70){fill:#eab308b3}:is(.dark .dark\:\!text-amber-400){--tw-text-opacity: 1 !important;color:rgb(251 191 36 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-amber-500){--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-amber-600){--tw-text-opacity: 1 !important;color:rgb(217 119 6 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-blue-400){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-300){--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-500){--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-600){--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-700){--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-400){--tw-text-opacity: 1 !important;color:rgb(74 222 128 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-500){--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-600){--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-orange-300){--tw-text-opacity: 1 !important;color:rgb(253 186 116 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-orange-400\/80){color:#fb923ccc!important}:is(.dark .dark\:\!text-orange-500){--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-400){--tw-text-opacity: 1 !important;color:rgb(248 113 113 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-500){--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-500\/90){color:#ef4444e6!important}:is(.dark .dark\:\!text-red-600){--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-300){--tw-text-opacity: 1 !important;color:rgb(203 213 225 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-400){--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-50){--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-500){--tw-text-opacity: 1 !important;color:rgb(100 116 139 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-600){--tw-text-opacity: 1 !important;color:rgb(71 85 105 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-yellow-300){--tw-text-opacity: 1 !important;color:rgb(253 224 71 / var(--tw-text-opacity))!important}:is(.dark .dark\:text-amber-100){--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-200){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-300){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-400){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-50){--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-500){--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-600){--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-700){--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-800){--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-900){--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-950){--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-100){--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-300){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-50){--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-600){--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-700){--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-900){--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-950){--tw-text-opacity: 1;color:rgb(23 37 84 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-100){--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-200){--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-300){--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-400){--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-50){--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-500){--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-600){--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-700){--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-900){--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-950){--tw-text-opacity: 1;color:rgb(8 51 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-100){--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-200){--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-300){--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-400){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-50){--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-500){--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-600){--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-700){--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-800){--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-900){--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-950){--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-100){--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-200){--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-300){--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-400){--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-50){--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-500){--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-600){--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-700){--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-800){--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-900){--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-950){--tw-text-opacity: 1;color:rgb(74 4 78 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-50){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-700){--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-900){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-950){--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-50){--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-600){--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-700){--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-950){--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-100){--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-200){--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-300){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-400){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-50){--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-700){--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-800){--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-950){--tw-text-opacity: 1;color:rgb(30 27 75 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-100){--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-200){--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-300){--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-400){--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-50){--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-500){--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-600){--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-700){--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-800){--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-900){--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-950){--tw-text-opacity: 1;color:rgb(26 46 5 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-100){--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-300){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-500){--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-600){--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-700){--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-800){--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-900){--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-950){--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-100){--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-300){--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-400){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-50){--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-500){--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-500\/60){color:#f9731699}:is(.dark .dark\:text-orange-600){--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-700){--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-800){--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-900){--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-950){--tw-text-opacity: 1;color:rgb(67 20 7 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-100){--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-200){--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-300){--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-50){--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-600){--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-700){--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-800){--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-950){--tw-text-opacity: 1;color:rgb(80 7 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-100){--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-200){--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-300){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-50){--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-600){--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-700){--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-800){--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-950){--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-100){--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-50){--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-700){--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-950){--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-100){--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-200){--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-300){--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-400){--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-50){--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-500){--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-600){--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-700){--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-800){--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-900){--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-950){--tw-text-opacity: 1;color:rgb(76 5 25 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-100){--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-200){--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-300){--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-400){--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-50){--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-500){--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-600){--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-700){--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-800){--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-900){--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-950){--tw-text-opacity: 1;color:rgb(8 47 73 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-200){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-200\/80){color:#e2e8f0cc}:is(.dark .dark\:text-slate-300){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-300\/80){color:#cbd5e1cc}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400\/80){color:#94a3b8cc}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-600){--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-700){--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-800){--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-900){--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-950){--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-100){--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-200){--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-300){--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-400){--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-50){--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-500){--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-600){--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-700){--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-800){--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-900){--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-950){--tw-text-opacity: 1;color:rgb(12 10 9 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-100){--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-200){--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-300){--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-400){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-50){--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-500){--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-600){--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-700){--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-800){--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-900){--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-950){--tw-text-opacity: 1;color:rgb(4 47 46 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-100){--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-200){--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-300){--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-400){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-50){--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-500){--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-600){--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-700){--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-800){--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-900){--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-950){--tw-text-opacity: 1;color:rgb(46 16 101 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-100){--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-200){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-50){--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-600){--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-700){--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-950){--tw-text-opacity: 1;color:rgb(66 32 6 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-100){--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-200){--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-300){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-400){--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-500){--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-600){--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-700){--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-800){--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-900){--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-950){--tw-text-opacity: 1;color:rgb(9 9 11 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:opacity-100){opacity:1}:is(.dark .dark\:opacity-40){opacity:.4}:is(.dark .dark\:opacity-50){opacity:.5}:is(.dark .dark\:opacity-70){opacity:.7}:is(.dark .dark\:shadow-slate-700\/\[\.7\]){--tw-shadow-color: rgb(51 65 85 / .7);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-slate-700\/\[\.8\]){--tw-shadow-color: rgb(51 65 85 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:before\:bg-red-100):before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:before\:bg-slate-100):before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:checked\:border-red-500:checked){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .group:hover .dark\:group-hover\:\!text-blue-400){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .group:hover .dark\:group-hover\:text-blue-300){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-slate-300\/80){color:#cbd5e1cc}:is(.dark .group:hover .dark\:group-hover\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=checked\]\:bg-slate-300[data-state=checked]){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=unchecked\]\:bg-slate-600[data-state=unchecked]){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:text-slate-200[data-state=active]){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:\!border-orange-900:hover){--tw-border-opacity: 1 !important;border-color:rgb(124 45 18 / var(--tw-border-opacity))!important}:is(.dark .dark\:hover\:border-amber-800:hover){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-blue-500:hover){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-blue-800:hover){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-gray-900:hover){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-green-700:hover){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-orange-500\/70:hover){border-color:#f97316b3}:is(.dark .dark\:hover\:border-red-800:hover){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-red-900:hover){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-sky-800:hover){--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-slate-700:hover){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-blue-500):hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-slate-500):hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:\!bg-slate-800:hover){--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:\!bg-slate-950:hover){--tw-bg-opacity: 1 !important;background-color:rgb(2 6 23 / var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-accent\/80:hover){background-color:hsl(var(--accent) / .8)}:is(.dark .dark\:hover\:bg-amber-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-200:hover){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-500:hover){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-600:hover){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-700:hover){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-800:hover){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-900:hover){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-950:hover){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-100:hover){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-200:hover){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-400:hover){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-50:hover){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-500:hover){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-800\/50:hover){background-color:#1e40af80}:is(.dark .dark\:hover\:bg-blue-900:hover){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-950:hover){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-950\/80:hover){background-color:#172554cc}:is(.dark .dark\:hover\:bg-cyan-100:hover){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-200:hover){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-300:hover){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-400:hover){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-50:hover){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-500:hover){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-600:hover){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-700:hover){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-800:hover){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-900:hover){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-950:hover){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-100:hover){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-200:hover){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-300:hover){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-400:hover){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-50:hover){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-500:hover){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-800:hover){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-900:hover){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-950:hover){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-100:hover){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-200:hover){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-300:hover){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-400:hover){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-50:hover){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-500:hover){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-600:hover){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-700:hover){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-800:hover){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-900:hover){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-950:hover){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-100:hover){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-200:hover){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-300:hover){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-400:hover){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-50:hover){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700\/70:hover){background-color:#374151b3}:is(.dark .dark\:hover\:bg-gray-700\/80:hover){background-color:#374151cc}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-950:hover){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-100:hover){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-200:hover){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-400:hover){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-500:hover){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-800:hover){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-900:hover){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-900\/50:hover){background-color:#14532d80}:is(.dark .dark\:hover\:bg-green-900\/70:hover){background-color:#14532db3}:is(.dark .dark\:hover\:bg-green-900\/80:hover){background-color:#14532dcc}:is(.dark .dark\:hover\:bg-green-950:hover){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-100:hover){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-200:hover){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-300:hover){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-400:hover){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-50:hover){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-500:hover){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-600:hover){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-700:hover){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-900:hover){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-950:hover){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-100:hover){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-200:hover){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-300:hover){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-400:hover){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-50:hover){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-500:hover){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-600:hover){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-700:hover){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-800:hover){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-900:hover){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-950:hover){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-100:hover){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-200:hover){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-300:hover){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-400:hover){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-500:hover){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-600:hover){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-700:hover){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-800:hover){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-900:hover){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-950:hover){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-100:hover){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-500:hover){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-600:hover){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-700:hover){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-800:hover){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-900:hover){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-950:hover){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-100:hover){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-200:hover){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-300:hover){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-400:hover){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-50:hover){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-600:hover){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-800:hover){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-900:hover){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-950:hover){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-100:hover){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-200:hover){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-300:hover){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-400:hover){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-600:hover){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-800:hover){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-900:hover){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-950:hover){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-400:hover){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-50:hover){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-500:hover){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-800:hover){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-900:hover){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-950:hover){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-100:hover){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-500:hover){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-600:hover){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-700:hover){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-800:hover){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-900:hover){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-950:hover){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-100:hover){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-200:hover){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-300:hover){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-400:hover){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-500:hover){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-600:hover){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-700:hover){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-800:hover){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-900:hover){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-950:hover){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-100:hover){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-200:hover){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-300:hover){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-400:hover){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-50:hover){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-500:hover){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-600:hover){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-600\/90:hover){background-color:#475569e6}:is(.dark .dark\:hover\:bg-slate-700:hover){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-700\/70:hover){background-color:#334155b3}:is(.dark .dark\:hover\:bg-slate-700\/80:hover){background-color:#334155cc}:is(.dark .dark\:hover\:bg-slate-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-800\/80:hover){background-color:#1e293bcc}:is(.dark .dark\:hover\:bg-slate-900:hover){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-900\/70:hover){background-color:#0f172ab3}:is(.dark .dark\:hover\:bg-slate-950:hover){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-950\/80:hover){background-color:#020617cc}:is(.dark .dark\:hover\:bg-stone-100:hover){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-200:hover){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-300:hover){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-400:hover){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-500:hover){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-600:hover){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-700:hover){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-800:hover){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-900:hover){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-950:hover){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-100:hover){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-200:hover){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-300:hover){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-400:hover){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-500:hover){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-600:hover){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-700:hover){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-800:hover){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-900:hover){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-950:hover){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .dark\:hover\:bg-violet-100:hover){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-200:hover){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-300:hover){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-400:hover){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-50:hover){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-500:hover){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-600:hover){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-700:hover){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-800:hover){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-900:hover){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-950:hover){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-50:hover){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-500:hover){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-600:hover){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700:hover){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700\/80:hover){background-color:#a16207cc}:is(.dark .dark\:hover\:bg-yellow-800:hover){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-900:hover){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-950:hover){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-950\/80:hover){background-color:#422006cc}:is(.dark .dark\:hover\:bg-zinc-100:hover){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-200:hover){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-300:hover){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-400:hover){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-500:hover){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-600:hover){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-700:hover){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-800:hover){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-900:hover){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-950:hover){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-blue-700\/80):hover{background-color:#1d4ed8cc}:is(.dark .hover\:dark\:bg-gray-700):hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-red-400\/80):hover{background-color:#f87171cc}:is(.dark .hover\:dark\:bg-red-900\/80):hover{background-color:#7f1d1dcc}:is(.dark .hover\:dark\:bg-sky-950):hover{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-400):hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-600):hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-700):hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-800):hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-transparent):hover{background-color:transparent}:is(.dark .dark\:hover\:bg-opacity-60:hover){--tw-bg-opacity: .6}:is(.dark .dark\:hover\:\!text-blue-300:hover){--tw-text-opacity: 1 !important;color:rgb(147 197 253 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-400:hover){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-600:hover){--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-700:hover){--tw-text-opacity: 1 !important;color:rgb(29 78 216 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-orange-300:hover){--tw-text-opacity: 1 !important;color:rgb(253 186 116 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-red-300:hover){--tw-text-opacity: 1 !important;color:rgb(252 165 165 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-red-500:hover){--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:text-blue-400:hover){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-600:hover){--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-200:hover){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-400:hover){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-500:hover){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-700:hover){--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-200:hover){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-gray-300):hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-green-600):hover{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-slate-300):hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-slate-400):hover{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:decoration-blue-400:hover){-webkit-text-decoration-color:#60a5fa;text-decoration-color:#60a5fa}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-red-500:focus){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:bg-slate-800:focus){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .focus\:dark\:\!bg-amber-950):focus{--tw-bg-opacity: 1 !important;background-color:rgb(69 26 3 / var(--tw-bg-opacity))!important}:is(.dark .dark\:focus\:text-slate-200:focus){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .focus\:dark\:text-amber-600):focus{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}:is(.dark .dark\:active\:bg-amber-100:active){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-200:active){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-300:active){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-400:active){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-50:active){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-500:active){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-600:active){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-700:active){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-800:active){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-900:active){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-950:active){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-100:active){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-200:active){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-300:active){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-400:active){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-50:active){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-500:active){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-600:active){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-700:active){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-800:active){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-900:active){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-950:active){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-100:active){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-200:active){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-300:active){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-400:active){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-50:active){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-500:active){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-600:active){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-700:active){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-800:active){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-900:active){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-950:active){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-100:active){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-200:active){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-300:active){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-400:active){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-50:active){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-500:active){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-600:active){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-700:active){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-800:active){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-900:active){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-950:active){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-100:active){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-200:active){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-300:active){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-400:active){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-50:active){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-500:active){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-600:active){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-700:active){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-800:active){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-900:active){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-950:active){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-100:active){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-200:active){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-300:active){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-400:active){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-50:active){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-500:active){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-600:active){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-700:active){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-800:active){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-900:active){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-950:active){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-100:active){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-200:active){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-300:active){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-400:active){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-50:active){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-500:active){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-600:active){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-700:active){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-800:active){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-900:active){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-950:active){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-100:active){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-200:active){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-300:active){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-400:active){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-50:active){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-500:active){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-600:active){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-700:active){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-800:active){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-900:active){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-950:active){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-100:active){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-200:active){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-300:active){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-400:active){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-50:active){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-500:active){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-600:active){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-700:active){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-800:active){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-900:active){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-950:active){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-100:active){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-200:active){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-300:active){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-400:active){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-500:active){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-600:active){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-700:active){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-800:active){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-900:active){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-950:active){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-100:active){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-200:active){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-300:active){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-400:active){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-50:active){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-500:active){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-600:active){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-700:active){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-800:active){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-900:active){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-950:active){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-100:active){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-200:active){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-300:active){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-400:active){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-50:active){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-500:active){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-600:active){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-700:active){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-800:active){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-900:active){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-950:active){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-100:active){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-200:active){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-300:active){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-400:active){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-50:active){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-500:active){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-600:active){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-700:active){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-800:active){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-900:active){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-950:active){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-100:active){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-200:active){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-300:active){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-400:active){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-50:active){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-500:active){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-600:active){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-700:active){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-800:active){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-900:active){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-950:active){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-100:active){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-200:active){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-300:active){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-400:active){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-50:active){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-500:active){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-600:active){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-700:active){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-800:active){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-900:active){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-950:active){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-100:active){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-200:active){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-300:active){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-400:active){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-50:active){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-500:active){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-600:active){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-700:active){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-800:active){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-900:active){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-950:active){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-100:active){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-200:active){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-300:active){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-400:active){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-50:active){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-500:active){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-600:active){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-700:active){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-800:active){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-900:active){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-950:active){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-100:active){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-200:active){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-300:active){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-400:active){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-500:active){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-600:active){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-700:active){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-800:active){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-900:active){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-950:active){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-100:active){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-200:active){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-300:active){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-400:active){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-50:active){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-500:active){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-600:active){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-700:active){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-800:active){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-900:active){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-950:active){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-100:active){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-200:active){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-300:active){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-400:active){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-50:active){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-500:active){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-600:active){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-700:active){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-800:active){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-900:active){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-950:active){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-100:active){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-200:active){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-300:active){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-400:active){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-50:active){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-500:active){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-600:active){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-700:active){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-800:active){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-900:active){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-950:active){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-100:active){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-200:active){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-300:active){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-400:active){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-500:active){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-600:active){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-700:active){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-800:active){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-900:active){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-950:active){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-lg{max-width:32rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:zoom-in-90{--tw-enter-scale: .9}.sm\:slide-in-from-bottom-0,.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open]{--tw-enter-translate-y: 0px}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:block{display:block}.md\:hidden{display:none}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1024px){.lg\:block{display:block}.lg\:hidden{display:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width: 1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\:has\(svg\)\]\:pl-11:has(svg){padding-left:2.75rem}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}._visible_1g3i7_1{opacity:0;transform:translate(-20%,60%);pointer-events:none}._arrow_1g3i7_7{content:"";position:absolute;left:50%;transform:translate(-50%);bottom:-4px;width:0;height:0;border:5px solid transparent;--tw-border-opacity: 1;border-top-color:rgb(71 85 105 / var(--tw-border-opacity));border-bottom:0}._empty-data_1g3i7_20{pointer-events:none;padding:0 10px;font-family:sans-serif;line-height:1.5;letter-spacing:1}._shared-container_1g3i7_28{position:absolute;transform:translate(-20%,40%);z-index:999;--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity));box-shadow:0 9px 28px 8px #0000000d;transition:opacity .3s,transform .3s;border-radius:calc(var(--radius) - 2px)}._PanelGroupWrapper_13ky4_1{height:20rem}._PanelGroup_13ky4_1{font-size:2rem}._Panel_13ky4_1{display:flex;flex-direction:row;font-size:2rem}._PanelColumn_13ky4_15,._PanelRow_13ky4_16{display:flex}._PanelColumn_13ky4_15{flex-direction:column}._PanelRow_13ky4_16{flex-direction:row}._Centered_13ky4_26{flex:1 1 auto;display:flex;align-items:center;justify-content:center;background-color:var(--color-panel-background);border-radius:.5rem;overflow:auto;font-size:1rem;padding:.5rem;word-break:break-all}._Overflow_13ky4_42{width:100%;height:100%;overflow:auto;padding:1rem;scrollbar-width:thin;scrollbar-color:var(--color-scroll-thumb) transparent}._Button_13ky4_53,._ButtonDisabled_13ky4_54{background-color:var(--color-button-background);color:var(--color-default);border:none;border-radius:.5rem;padding:.25rem .5rem}._Button_13ky4_53:hover{background-color:var(--color-button-background-hover)}._ButtonDisabled_13ky4_54{opacity:.5}._Buttons_13ky4_68{display:flex;flex-direction:row;align-items:center;gap:1ch;margin-bottom:1rem}._Capitalize_13ky4_76{text-transform:capitalize}._WarningBlock_13ky4_80{display:inline-block;background:var(--color-warning-background);padding:.25em 1ch;border-radius:.5rem}._InlineCode_13ky4_87{margin-right:1.5ch}._ResizeHandleOuter_13ky4_91{flex:0 0 1.25rem;display:flex;justify-content:stretch;align-items:stretch;padding:.4rem;padding-top:0;padding-bottom:0;outline:none;--background-color: transparent}._ResizeHandleOuter_13ky4_91[data-resize-handle-active],._ResizeHandleInner_13ky4_104[data-collapsed]{--background-color: var(--color-solid-resize-bar)}@media (max-width: 500px){._ResizeHandleOuter_13ky4_91{flex:0 0 2.5rem}}._ResizeHandleInner_13ky4_104{flex:1;border-radius:.75rem;background-color:var(--background-color);transition:background-color .2s linear;position:relative}._ResizeHandleInner_13ky4_104:after{height:.75rem;width:.75rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:var(--color-solid-resize-bar);position:absolute;left:calc(50% - .5rem);top:calc(50% - .5rem)}._HorizontalIcon_13ky4_135,._VerticalIcon_13ky4_136{position:absolute;left:calc(50% - 8px);top:calc(50% - .5rem)}._ResizeHandleOuter_13ky4_91[data-panel-group-direction=horizontal] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-panel-group-direction=vertical] ._VerticalIcon_13ky4_136{display:block}._ResizeHandleOuter_13ky4_91[data-panel-group-direction=vertical] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-panel-group-direction=horizontal] ._VerticalIcon_13ky4_136,._ResizeHandleOuter_13ky4_91[data-resize-handle-active] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-resize-handle-active] ._VerticalIcon_13ky4_136{display:none}[role=treeitem]:has(._node_1usvv_1){border-radius:8px;padding:0 4px;cursor:pointer;font-weight:400;-webkit-user-select:none;-moz-user-select:none;user-select:none}[role=treeitem]:has(._node_1usvv_1):focus-visible{background-color:#fff3;outline:none}[role=treeitem][aria-selected=true]:has(._node_1usvv_1):focus-visible{background-color:#cbd5e1e6;outline:none}[role=treeitem][aria-selected=true]:has(._node_1usvv_1){background-color:#cbd5e1e6;font-weight:600}[role=treeitem]:has(._node_1usvv_1.willReceiveDrop){background-color:#fff6;border:2px dashed}._node_1usvv_1{margin:0 12px 0 8px;height:100%;white-space:nowrap}._node_1usvv_1 span:nth-child(1){width:20px;display:flex}._node_1usvv_1 span:nth-child(2){margin-right:18px;display:flex;align-items:center}._node_1usvv_1 span:nth-child(3){flex:1;overflow:hidden;text-overflow:ellipsis}._dropCursor_1usvv_55{width:100%;height:18px;position:absolute}._mainContent_1usvv_61{flex:1;display:flex;min-height:0;gap:8px}._mobileWarning_1usvv_68{background:var(--primaryColor);color:#fff;padding:1em;font-weight:700;text-align:center;border-radius:4px;display:none}@media screen and (max-width: 600px){._mainContent_1usvv_61{flex-direction:column;padding-right:0}._content_1usvv_83{order:1;margin:6px}._sidebar_1usvv_89{order:2;height:80vh;width:100%}._mobileWarning_1usvv_68{display:block}} diff --git a/dist-ui/assets/jinja2-Butf2joT.js b/dist-ui/assets/jinja2-Butf2joT.js new file mode 100644 index 00000000..e71a9779 --- /dev/null +++ b/dist-ui/assets/jinja2-Butf2joT.js @@ -0,0 +1 @@ +import{g as b,c as p}from"./index-BLHgoTgd.js";function k(t,u){for(var r=0;ro[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(t,u){(function(r){r(p)})(function(r){r.defineMode("jinja2",function(){var o=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],l=/^[+\-*&%=<>!?|~^]/,c=/^[:\[\(\{]/,f=["true","false"],a=/^(\d[+\-\*\/])?\d+(\.\d+)?/;o=new RegExp("(("+o.join(")|(")+"))\\b"),f=new RegExp("(("+f.join(")|(")+"))\\b");function d(e,n){var i=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(f))return"atom";if(e.match(a))return"number"}if(n.sign){if(n.sign=!1,e.match(f))return"atom";if(e.match(a))return"number"}if(n.instring)return i==n.instring&&(n.instring=!1),e.next(),"string";if(i=="'"||i=='"')return n.instring=i,e.next(),"string";if(n.inbraces>0&&i==")")e.next(),n.inbraces--;else if(i=="(")e.next(),n.inbraces++;else if(n.inbrackets>0&&i=="]")e.next(),n.inbrackets--;else if(i=="[")e.next(),n.inbrackets++;else{if(!n.lineTag&&(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}")))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(c))n.sign=!0;else{if(e.column()==1&&n.lineTag&&e.match(o))return"keyword";if(e.eat(" ")||e.sol()){if(e.match(o))return"keyword";if(e.match(f))return"atom";if(e.match(a))return"number";e.sol()&&e.next()}else e.next()}}return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(i=e.eat(/\{|%/))return n.intag=i,n.inbraces=0,n.inbrackets=0,i=="{"&&(n.intag="}"),e.eat("-"),"tag"}else if(e.eat("#")){if(e.peek()=="#")return e.skipToEnd(),"comment";if(!e.eol())return n.intag=!0,n.lineTag=!0,n.inbraces=0,n.inbrackets=0,"tag"}e.next()}return{startState:function(){return{tokenize:d,inbrackets:0,inbraces:0}},token:function(e,n){var i=n.tokenize(e,n);return e.eol()&&n.lineTag&&!n.instring&&n.inbraces==0&&n.inbrackets==0&&(n.intag=!1,n.lineTag=!1),i},blockCommentStart:"{#",blockCommentEnd:"#}",lineComment:"##"}}),r.defineMIME("text/jinja2","jinja2")})})();var g=s.exports;const h=b(g),x=k({__proto__:null,default:h},[g]);export{x as j}; diff --git a/dist-ui/assets/jsx-Bz9I5wwK.js b/dist-ui/assets/jsx-Bz9I5wwK.js new file mode 100644 index 00000000..43e33951 --- /dev/null +++ b/dist-ui/assets/jsx-Bz9I5wwK.js @@ -0,0 +1 @@ +import{g as b,c as w,r as S,a as E}from"./index-BLHgoTgd.js";function O(l,v){for(var r=0;rs[u]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(l,v){(function(r){r(w,S(),E())})(function(r){function s(i,c,a,o){this.state=i,this.mode=c,this.depth=a,this.prev=o}function u(i){return new s(r.copyState(i.mode,i.state),i.mode,i.depth,i.prev&&u(i.prev))}r.defineMode("jsx",function(i,c){var a=r.getMode(i,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=r.getMode(i,c&&c.base||"javascript");function j(e){var n=e.tagName;e.tagName=null;var t=a.indent(e,"","");return e.tagName=n,t}function g(e,n){return n.context.mode==a?x(e,n,n.context):y(e,n,n.context)}function x(e,n,t){if(t.depth==2)return e.match(/^.*?\*\//)?t.depth=1:e.skipToEnd(),"comment";if(e.peek()=="{"){a.skipAttribute(t.state);var f=j(t.state),p=t.state.context;if(p&&e.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?f-=i.indentUnit:t.prev.state.lexical&&(f=t.prev.state.lexical.indented)}else t.depth==1&&(f+=i.indentUnit);return n.context=new s(r.startState(o,f),o,0,n.context),null}if(t.depth==1){if(e.peek()=="<")return a.skipAttribute(t.state),n.context=new s(r.startState(a,j(t.state)),a,0,n.context),null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.depth=2,g(e,n)}var h=a.token(e,t.state),d=e.current(),k;return/\btag\b/.test(h)?/>$/.test(d)?t.state.context?t.depth=0:n.context=n.context.prev:/^-1&&e.backUp(d.length-k),h}function y(e,n,t){if(e.peek()=="<"&&!e.match(/^<([^<>]|<[^>]*>)+,\s*>/,!1)&&o.expressionAllowed(e,t.state))return n.context=new s(r.startState(a,o.indent(t.state,"","")),a,0,n.context),o.skipExpression(t.state),null;var f=o.token(e,t.state);if(!f&&t.depth!=null){var p=e.current();p=="{"?t.depth++:p=="}"&&--t.depth==0&&(n.context=n.context.prev)}return f}return{startState:function(){return{context:new s(r.startState(o),o)}},copyState:function(e){return{context:u(e.context)}},token:g,indent:function(e,n,t){return e.context.mode.indent(e.context.state,n,t)},innerMode:function(e){return e.context}}},"xml","javascript"),r.defineMIME("text/jsx","jsx"),r.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var m=T.exports;const N=b(m),M=O({__proto__:null,default:N},[m]);export{M as j}; diff --git a/dist-ui/assets/julia-DJh7_ujs.js b/dist-ui/assets/julia-DJh7_ujs.js new file mode 100644 index 00000000..96948734 --- /dev/null +++ b/dist-ui/assets/julia-DJh7_ujs.js @@ -0,0 +1 @@ +import{g as H,c as J}from"./index-BLHgoTgd.js";function K(p,s){for(var u=0;uf[t]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var Q={exports:{}};(function(p,s){(function(u){u(J)})(function(u){u.defineMode("julia",function(f,t){function o(n,e,i){return typeof i=="undefined"&&(i=""),typeof e=="undefined"&&(e="\\b"),new RegExp("^"+i+"(("+n.join(")|(")+"))"+e)}var b="\\\\[0-7]{1,3}",m="\\\\x[A-Fa-f0-9]{1,2}",y="\\\\[abefnrtv0%?'\"\\\\]",x="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",h=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],E=t.operators||o(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),z=t.delimiters||/^[;,()[\]{}]/,_=t.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,A=o([b,m,y,x],"'"),j=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],C=["end","else","elseif","catch","finally"],d=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],v=["true","false","nothing","NaN","Inf"];u.registerHelper("hintWords","julia",d.concat(v));var w=o(j),D=o(C),P=o(d),T=o(v),O=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,S=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,B=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,$=o(h,"","@"),G=o(h,"",":");function k(n){return n.nestedArrays>0}function I(n){return n.nestedGenerators>0}function F(n,e){return typeof e=="undefined"&&(e=0),n.scopes.length<=e?null:n.scopes[n.scopes.length-(e+1)]}function a(n,e){if(n.match("#=",!1))return e.tokenize=N,e.tokenize(n,e);var i=e.leavingExpr;if(n.sol()&&(i=!1),e.leavingExpr=!1,i&&n.match(/^'+/))return"operator";if(n.match(/\.{4,}/))return"error";if(n.match(/\.{1,3}/))return"operator";if(n.eatSpace())return null;var r=n.peek();if(r==="#")return n.skipToEnd(),"comment";if(r==="["&&(e.scopes.push("["),e.nestedArrays++),r==="("&&(e.scopes.push("("),e.nestedGenerators++),k(e)&&r==="]"){for(;e.scopes.length&&F(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&F(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(k(e)){if(e.lastToken=="end"&&n.match(":"))return"operator";if(n.match("end"))return"number"}var c;if((c=n.match(w,!1))&&e.scopes.push(c[0]),n.match(D,!1)&&e.scopes.pop(),n.match(/^::(?![:\$])/))return e.tokenize=Z,e.tokenize(n,e);if(!i&&(n.match(S)||n.match(G)))return"builtin";if(n.match(E))return"operator";if(n.match(/^\.?\d/,!1)){var U=RegExp(/^im\b/),l=!1;if(n.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(l=!0),n.match(/^0x[0-9a-f_]+/i)&&(l=!0),n.match(/^0b[01_]+/i)&&(l=!0),n.match(/^0o[0-7_]+/i)&&(l=!0),n.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(l=!0),n.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(l=!0),l)return n.match(U),e.leavingExpr=!0,"number"}if(n.match("'"))return e.tokenize=R,e.tokenize(n,e);if(n.match(B))return e.tokenize=q(n.current()),e.tokenize(n,e);if(n.match(O)||n.match($))return"meta";if(n.match(z))return null;if(n.match(P))return"keyword";if(n.match(T))return"builtin";var W=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return n.match(_)?W?n.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(n.next(),"error")}function Z(n,e){return n.match(/.*?(?=[,;{}()=\s]|$)/),n.match("{")?e.nestedParameters++:n.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?n.match(/.*?(?={|})/)||n.next():e.nestedParameters==0&&(e.tokenize=a),"builtin"}function N(n,e){return n.match("#=")&&e.nestedComments++,n.match(/.*?(?=(#=|=#))/)||n.skipToEnd(),n.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=a)),"comment"}function R(n,e){var i=!1,r;if(n.match(A))i=!0;else if(r=n.match(/\\u([a-f0-9]{1,4})(?=')/i)){var c=parseInt(r[1],16);(c<=55295||c>=57344)&&(i=!0,n.next())}else if(r=n.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var c=parseInt(r[1],16);c<=1114111&&(i=!0,n.next())}return i?(e.leavingExpr=!0,e.tokenize=a,"string"):(n.match(/^[^']+(?=')/)||n.skipToEnd(),n.match("'")&&(e.tokenize=a),"error")}function q(n){n.substr(-3)==='"""'?n='"""':n.substr(-1)==='"'&&(n='"');function e(i,r){if(i.eat("\\"))i.next();else{if(i.match(n))return r.tokenize=a,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return e}var M={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(n,e){var i=e.tokenize(n,e),r=n.current();return r&&i&&(e.lastToken=r),i},indent:function(n,e){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(n.scopes.length+i)*f.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};return M}),u.defineMIME("text/x-julia","julia")})})();var g=Q.exports;const V=H(g),Y=K({__proto__:null,default:V},[g]);export{Y as j}; diff --git a/dist-ui/assets/livescript-dSGalQPv.js b/dist-ui/assets/livescript-dSGalQPv.js new file mode 100644 index 00000000..2700afe1 --- /dev/null +++ b/dist-ui/assets/livescript-dSGalQPv.js @@ -0,0 +1 @@ +import{g as b,c as E}from"./index-BLHgoTgd.js";function A(l,d){for(var g=0;gn[i]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var q={exports:{}};(function(l,d){(function(g){g(E)})(function(g){g.defineMode("livescript",function(){var w=function(e,t){var a=t.next||"start";if(a){t.next=t.next;var p=s[a];if(p.splice){for(var y=0;y|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+n+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",x={token:"string",regex:".+"},s={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"identifier",regex:n+"\\s*:(?![:=])"},{token:"variable",regex:n},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:n,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},x],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},x],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},x],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},x],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},x],words:[{token:"string",regex:".*?\\]>",next:"key"},x]};for(var f in s){var c=s[f];if(c.splice)for(var k=0,m=c.length;ko[l]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(c,f){(function(a){a(D)})(function(a){a.defineMode("lua",function(o,l){var u=o.indentUnit;function b(e){return new RegExp("^(?:"+e.join("|")+")","i")}function s(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=s(l.specials||[]),k=s(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),x=s(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),w=s(["function","if","repeat","do","\\(","{"]),y=s(["end","until","\\)","}"]),E=b(["end","until","\\)","}","else","elseif"]);function p(e){for(var n=0;e.eat("=");)++n;return e.eat("["),n}function g(e,n){var t=e.next();return t=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(n.cur=m(p(e),"comment"))(e,n):(e.skipToEnd(),"comment"):t=='"'||t=="'"?(n.cur=_(t))(e,n):t=="["&&/[\[=]/.test(e.peek())?(n.cur=m(p(e),"string"))(e,n):/\d/.test(t)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(t)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function m(e,n){return function(t,r){for(var i=null,d;(d=t.next())!=null;)if(i==null)d=="]"&&(i=0);else if(d=="=")++i;else if(d=="]"&&i==e){r.cur=g;break}else i=null;return n}}function _(e){return function(n,t){for(var r=!1,i;(i=n.next())!=null&&!(i==e&&!r);)r=!r&&i=="\\";return r||(t.cur=g),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:g}},token:function(e,n){if(e.eatSpace())return null;var t=n.cur(e,n),r=e.current();return t=="variable"&&(x.test(r)?t="keyword":k.test(r)?t="builtin":v.test(r)&&(t="variable-2")),t!="comment"&&t!="string"&&(w.test(r)?++n.indentDepth:y.test(r)&&--n.indentDepth),t},indent:function(e,n){var t=E.test(n);return e.basecol+u*(e.indentDepth-(t?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),a.defineMIME("text/x-lua","lua")})})();var h=S.exports;const R=j(h),T=O({__proto__:null,default:R},[h]);export{T as l}; diff --git a/dist-ui/assets/markdown-D5Xfw3y-.js b/dist-ui/assets/markdown-D5Xfw3y-.js new file mode 100644 index 00000000..a4c970e1 --- /dev/null +++ b/dist-ui/assets/markdown-D5Xfw3y-.js @@ -0,0 +1 @@ +import{c as fi,r as oi,d as hi}from"./index-BLHgoTgd.js";var O={exports:{}},z;function ki(){return z||(z=1,function(ci,ti){(function(c){c(fi,oi(),hi())})(function(c){c.defineMode("markdown",function(I,u){var k=c.getMode(I,"text/html"),H=k.name=="null";function U(n){if(c.findModeByName){var i=c.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var l=c.getMode(I,n);return l.name=="null"?null:l}u.highlightFormatting===void 0&&(u.highlightFormatting=!1),u.maxBlockquoteDepth===void 0&&(u.maxBlockquoteDepth=0),u.taskLists===void 0&&(u.taskLists=!1),u.strikethrough===void 0&&(u.strikethrough=!1),u.emoji===void 0&&(u.emoji=!1),u.fencedCodeBlockHighlighting===void 0&&(u.fencedCodeBlockHighlighting=!0),u.fencedCodeBlockDefaultMode===void 0&&(u.fencedCodeBlockDefaultMode="text/plain"),u.xml===void 0&&(u.xml=!0),u.tokenTypeOverrides===void 0&&(u.tokenTypeOverrides={});var f={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var B in f)f.hasOwnProperty(B)&&u.tokenTypeOverrides[B]&&(f[B]=u.tokenTypeOverrides[B]);var W=/^([*\-_])(?:\s*\1){2,}\s*$/,P=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,R=/^\[(x| )\](?=\s)/i,X=u.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,G=/^ {0,3}(?:\={1,}|-{2,})\s*$/,J=/^[^#!\[\]*_\\<>` "'(~:]+/,K=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Q=/^\s*\[[^\]]+?\]:.*$/,F=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,V=" ";function b(n,i,l){return i.f=i.inline=l,l(n,i)}function y(n,i,l){return i.f=i.block=l,l(n,i)}function Y(n){return!n||!/\S/.test(n.string)}function j(n){if(n.linkTitle=!1,n.linkHref=!1,n.linkText=!1,n.em=!1,n.strong=!1,n.strikethrough=!1,n.quote=0,n.indentedCode=!1,n.f==S){var i=H;if(!i){var l=c.innerMode(k,n.htmlState);i=l.mode.name=="xml"&&l.state.tagStart===null&&!l.state.context&&l.state.tokenize.isInText}i&&(n.f=d,n.block=A,n.htmlState=null)}return n.trailingSpace=0,n.trailingSpaceNewLine=!1,n.prevLine=n.thisLine,n.thisLine={stream:null},null}function A(n,i){var l=n.column()===i.indentation,o=Y(i.prevLine.stream),r=i.indentedCode,g=i.prevLine.hr,L=i.list!==!1,a=(i.listStack[i.listStack.length-1]||0)+3;i.indentedCode=!1;var D=i.indentation;if(i.indentationDiff===null&&(i.indentationDiff=i.indentation,L)){for(i.list=null;D=4&&(r||i.prevLine.fencedCodeEnd||i.prevLine.header||o))return n.skipToEnd(),i.indentedCode=!0,f.code;if(n.eatSpace())return null;if(l&&i.indentation<=a&&(t=n.match(X))&&t[1].length<=6)return i.quote=0,i.header=t[1].length,i.thisLine.header=!0,u.highlightFormatting&&(i.formatting="header"),i.f=i.inline,e(i);if(i.indentation<=a&&n.eat(">"))return i.quote=l?1:i.quote+1,u.highlightFormatting&&(i.formatting="quote"),n.eatSpace(),e(i);if(!h&&!i.setext&&l&&i.indentation<=a&&(t=n.match(P))){var T=t[1]?"ol":"ul";return i.indentation=D+n.current().length,i.list=!0,i.quote=0,i.listStack.push(i.indentation),i.em=!1,i.strong=!1,i.code=!1,i.strikethrough=!1,u.taskLists&&n.match(R,!1)&&(i.taskList=!0),i.f=i.inline,u.highlightFormatting&&(i.formatting=["list","list-"+T]),e(i)}else{if(l&&i.indentation<=a&&(t=n.match(K,!0)))return i.quote=0,i.fencedEndRE=new RegExp(t[1]+"+ *$"),i.localMode=u.fencedCodeBlockHighlighting&&U(t[2]||u.fencedCodeBlockDefaultMode),i.localMode&&(i.localState=c.startState(i.localMode)),i.f=i.block=Z,u.highlightFormatting&&(i.formatting="code-block"),i.code=-1,e(i);if(i.setext||(!p||!L)&&!i.quote&&i.list===!1&&!i.code&&!h&&!Q.test(n.string)&&(t=n.lookAhead(1))&&(t=t.match(G)))return i.setext?(i.header=i.setext,i.setext=0,n.skipToEnd(),u.highlightFormatting&&(i.formatting="header")):(i.header=t[0].charAt(0)=="="?1:2,i.setext=i.header),i.thisLine.header=!0,i.f=i.inline,e(i);if(h)return n.skipToEnd(),i.hr=!0,i.thisLine.hr=!0,f.hr;if(n.peek()==="[")return b(n,i,ni)}return b(n,i,i.inline)}function S(n,i){var l=k.token(n,i.htmlState);if(!H){var o=c.innerMode(k,i.htmlState);(o.mode.name=="xml"&&o.state.tagStart===null&&!o.state.context&&o.state.tokenize.isInText||i.md_inside&&n.current().indexOf(">")>-1)&&(i.f=d,i.block=A,i.htmlState=null)}return l}function Z(n,i){var l=i.listStack[i.listStack.length-1]||0,o=i.indentation=n.quote?i.push(f.formatting+"-"+n.formatting[l]+"-"+n.quote):i.push("error"))}if(n.taskOpen)return i.push("meta"),i.length?i.join(" "):null;if(n.taskClosed)return i.push("property"),i.length?i.join(" "):null;if(n.linkHref?i.push(f.linkHref,"url"):(n.strong&&i.push(f.strong),n.em&&i.push(f.em),n.strikethrough&&i.push(f.strikethrough),n.emoji&&i.push(f.emoji),n.linkText&&i.push(f.linkText),n.code&&i.push(f.code),n.image&&i.push(f.image),n.imageAltText&&i.push(f.imageAltText,"link"),n.imageMarker&&i.push(f.imageMarker)),n.header&&i.push(f.header,f.header+"-"+n.header),n.quote&&(i.push(f.quote),!u.maxBlockquoteDepth||u.maxBlockquoteDepth>=n.quote?i.push(f.quote+"-"+n.quote):i.push(f.quote+"-"+u.maxBlockquoteDepth)),n.list!==!1){var o=(n.listStack.length-1)%3;o?o===1?i.push(f.list2):i.push(f.list3):i.push(f.list1)}return n.trailingSpaceNewLine?i.push("trailing-space-new-line"):n.trailingSpace&&i.push("trailing-space-"+(n.trailingSpace%2?"a":"b")),i.length?i.join(" "):null}function C(n,i){if(n.match(J,!0))return e(i)}function d(n,i){var l=i.text(n,i);if(typeof l!="undefined")return l;if(i.list)return i.list=null,e(i);if(i.taskList){var o=n.match(R,!0)[1]===" ";return o?i.taskOpen=!0:i.taskClosed=!0,u.highlightFormatting&&(i.formatting="task"),i.taskList=!1,e(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&n.match(/^#+$/,!0))return u.highlightFormatting&&(i.formatting="header"),e(i);var r=n.next();if(i.linkTitle){i.linkTitle=!1;var g=r;r==="("&&(g=")"),g=(g+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var L="^\\s*(?:[^"+g+"\\\\]+|\\\\\\\\|\\\\.)"+g;if(n.match(new RegExp(L),!0))return f.linkHref}if(r==="`"){var a=i.formatting;u.highlightFormatting&&(i.formatting="code"),n.eatWhile("`");var D=n.current().length;if(i.code==0&&(!i.quote||D==1))return i.code=D,e(i);if(D==i.code){var p=e(i);return i.code=0,p}else return i.formatting=a,e(i)}else if(i.code)return e(i);if(r==="\\"&&(n.next(),u.highlightFormatting)){var h=e(i),t=f.formatting+"-escape";return h?h+" "+t:t}if(r==="!"&&n.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,u.highlightFormatting&&(i.formatting="image"),e(i);if(r==="["&&i.imageMarker&&n.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,u.highlightFormatting&&(i.formatting="image"),e(i);if(r==="]"&&i.imageAltText){u.highlightFormatting&&(i.formatting="image");var h=e(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=N,h}if(r==="["&&!i.image)return i.linkText&&n.match(/^.*?\]/)||(i.linkText=!0,u.highlightFormatting&&(i.formatting="link")),e(i);if(r==="]"&&i.linkText){u.highlightFormatting&&(i.formatting="link");var h=e(i);return i.linkText=!1,i.inline=i.f=n.match(/\(.*?\)| ?\[.*?\]/,!1)?N:d,h}if(r==="<"&&n.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=_,u.highlightFormatting&&(i.formatting="link");var h=e(i);return h?h+=" ":h="",h+f.linkInline}if(r==="<"&&n.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=_,u.highlightFormatting&&(i.formatting="link");var h=e(i);return h?h+=" ":h="",h+f.linkEmail}if(u.xml&&r==="<"&&n.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var T=n.string.indexOf(">",n.pos);if(T!=-1){var ei=n.string.substring(n.start,T);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ei)&&(i.md_inside=!0)}return n.backUp(1),i.htmlState=c.startState(k),y(n,i,S)}if(u.xml&&r==="<"&&n.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if(r==="*"||r==="_"){for(var q=1,m=n.pos==1?" ":n.string.charAt(n.pos-2);q<3&&n.eat(r);)q++;var E=n.peek()||" ",w=!/\s/.test(E)&&(!F.test(E)||/\s/.test(m)||F.test(m)),M=!/\s/.test(m)&&(!F.test(m)||/\s/.test(E)||F.test(E)),x=null,v=null;if(q%2&&(!i.em&&w&&(r==="*"||!M||F.test(m))?x=!0:i.em==r&&M&&(r==="*"||!w||F.test(E))&&(x=!1)),q>1&&(!i.strong&&w&&(r==="*"||!M||F.test(m))?v=!0:i.strong==r&&M&&(r==="*"||!w||F.test(E))&&(v=!1)),v!=null||x!=null){u.highlightFormatting&&(i.formatting=x==null?"strong":v==null?"em":"strong em"),x===!0&&(i.em=r),v===!0&&(i.strong=r);var p=e(i);return x===!1&&(i.em=!1),v===!1&&(i.strong=!1),p}}else if(r===" "&&(n.eat("*")||n.eat("_"))){if(n.peek()===" ")return e(i);n.backUp(1)}if(u.strikethrough){if(r==="~"&&n.eatWhile(r)){if(i.strikethrough){u.highlightFormatting&&(i.formatting="strikethrough");var p=e(i);return i.strikethrough=!1,p}else if(n.match(/^[^\s]/,!1))return i.strikethrough=!0,u.highlightFormatting&&(i.formatting="strikethrough"),e(i)}else if(r===" "&&n.match("~~",!0)){if(n.peek()===" ")return e(i);n.backUp(2)}}if(u.emoji&&r===":"&&n.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,u.highlightFormatting&&(i.formatting="emoji");var ri=e(i);return i.emoji=!1,ri}return r===" "&&(n.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),e(i)}function _(n,i){var l=n.next();if(l===">"){i.f=i.inline=d,u.highlightFormatting&&(i.formatting="link");var o=e(i);return o?o+=" ":o="",o+f.linkInline}return n.match(/^[^>]+/,!0),f.linkInline}function N(n,i){if(n.eatSpace())return null;var l=n.next();return l==="("||l==="["?(i.f=i.inline=ii(l==="("?")":"]"),u.highlightFormatting&&(i.formatting="link-string"),i.linkHref=!0,e(i)):"error"}var s={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ii(n){return function(i,l){var o=i.next();if(o===n){l.f=l.inline=d,u.highlightFormatting&&(l.formatting="link-string");var r=e(l);return l.linkHref=!1,r}return i.match(s[n]),l.linkHref=!0,e(l)}}function ni(n,i){return n.match(/^([^\]\\]|\\.)*\]:/,!1)?(i.f=ui,n.next(),u.highlightFormatting&&(i.formatting="link"),i.linkText=!0,e(i)):b(n,i,d)}function ui(n,i){if(n.match("]:",!0)){i.f=i.inline=li,u.highlightFormatting&&(i.formatting="link");var l=e(i);return i.linkText=!1,l}return n.match(/^([^\]\\]|\\.)+/,!0),f.linkText}function li(n,i){return n.eatSpace()?null:(n.match(/^[^\s]+/,!0),n.peek()===void 0?i.linkTitle=!0:n.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),i.f=i.inline=d,f.linkHref+" url")}var $={startState:function(){return{f:A,prevLine:{stream:null},thisLine:{stream:null},block:A,htmlState:null,indentation:0,inline:d,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(n){return{f:n.f,prevLine:n.prevLine,thisLine:n.thisLine,block:n.block,htmlState:n.htmlState&&c.copyState(k,n.htmlState),indentation:n.indentation,localMode:n.localMode,localState:n.localMode?c.copyState(n.localMode,n.localState):null,inline:n.inline,text:n.text,formatting:!1,linkText:n.linkText,linkTitle:n.linkTitle,linkHref:n.linkHref,code:n.code,em:n.em,strong:n.strong,strikethrough:n.strikethrough,emoji:n.emoji,header:n.header,setext:n.setext,hr:n.hr,taskList:n.taskList,list:n.list,listStack:n.listStack.slice(0),quote:n.quote,indentedCode:n.indentedCode,trailingSpace:n.trailingSpace,trailingSpaceNewLine:n.trailingSpaceNewLine,md_inside:n.md_inside,fencedEndRE:n.fencedEndRE}},token:function(n,i){if(i.formatting=!1,n!=i.thisLine.stream){if(i.header=0,i.hr=!1,n.match(/^\s*$/,!0))return j(i),null;if(i.prevLine=i.thisLine,i.thisLine={stream:n},i.taskList=!1,i.trailingSpace=0,i.trailingSpaceNewLine=!1,!i.localState&&(i.f=i.block,i.f!=S)){var l=n.match(/^\s*/,!0)[0].replace(/\t/g,V).length;if(i.indentation=l,i.indentationDiff=null,l>0)return null}}return i.f(n,i)},innerMode:function(n){return n.block==S?{state:n.htmlState,mode:k}:n.localState?{state:n.localState,mode:n.localMode}:{state:n,mode:$}},indent:function(n,i,l){return n.block==S&&k.indent?k.indent(n.htmlState,i,l):n.localState&&n.localMode.indent?n.localMode.indent(n.localState,i,l):c.Pass},blankLine:j,getType:e,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return $},"xml"),c.defineMIME("text/markdown","markdown"),c.defineMIME("text/x-markdown","markdown")})}()),O.exports}export{ki as r}; diff --git a/dist-ui/assets/markdown-OCeZONgZ.js b/dist-ui/assets/markdown-OCeZONgZ.js new file mode 100644 index 00000000..4d603c03 --- /dev/null +++ b/dist-ui/assets/markdown-OCeZONgZ.js @@ -0,0 +1 @@ +import{g as s}from"./index-BLHgoTgd.js";import{r as i}from"./markdown-D5Xfw3y-.js";function c(t,a){for(var o=0;or[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const m=s(f),d=c({__proto__:null,default:m},[f]);export{d as m}; diff --git a/dist-ui/assets/markdown/markdown.d.ts b/dist-ui/assets/markdown/markdown.d.ts new file mode 100644 index 00000000..638fd826 --- /dev/null +++ b/dist-ui/assets/markdown/markdown.d.ts @@ -0,0 +1,88 @@ +/** + * parse reads markdown source at s and converts it to HTML. + * When output is a byte array, it will be a reference. + */ +export function parse(s :Source, o? :ParseOptions & { bytes? :never|false }) :string +export function parse(s :Source, o? :ParseOptions & { bytes :true }) :Uint8Array + +/** Markdown source code can be provided as a JavaScript string or UTF8 encoded data */ +type Source = string | ArrayLike + +/** Options for the parse function */ +export interface ParseOptions { + /** Customize parsing. Defaults to ParseFlags.DEFAULT */ + parseFlags? :ParseFlags + + /** Select output format. Defaults to "html" */ + format? : "html" | "xhtml" + + /** + * bytes=true causes parse() to return the result as a Uint8Array instead of a string. + * + * The returned Uint8Array is only valid until the next call to parse(). + * If you need to keep the returned data around, call Uint8Array.slice() to make a copy, + * as each call to parse() uses the same underlying memory. + * + * This only provides a performance benefit when you never need to convert the output + * to a string. In most cases you're better off leaving this unset or false. + */ + bytes? :boolean + + /** Allow "javascript:" in links */ + allowJSURIs? :boolean + + /** + * Optional callback which if provided is called for each code block. + * langname holds the "language tag", if any, of the block. + * + * The returned value is inserted into the resulting HTML verbatim, without HTML escaping. + * Thus, you should take care of properly escaping any special HTML characters. + * + * If the function returns null or undefined, or an exception occurs, the body will be + * included as-is after going through HTML escaping. + * + * Note that use of this callback has an adverse impact on performance as it casues + * calls and data to be bridged between WASM and JS on every invocation. + */ + onCodeBlock? :(langname :string, body :UTF8Bytes) => Uint8Array|string|null|undefined + + /** @depreceated use "bytes" instead (v1.1.1) */ + asMemoryView? :boolean +} + +/** UTF8Bytes is a Uint8Array representing UTF8 text */ +export interface UTF8Bytes extends Uint8Array { + /** toString returns a UTF8 decoded string (lazily decoded and cached) */ + toString() :string +} + +/** Flags that customize Markdown parsing */ +export enum ParseFlags { + /** In TEXT, collapse non-trivial whitespace into single ' ' */ COLLAPSE_WHITESPACE, + /** Enable $ and $$ containing LaTeX equations. */ LATEX_MATH_SPANS, + /** Disable raw HTML blocks. */ NO_HTML_BLOCKS, + /** Disable raw HTML (inline). */ NO_HTML_SPANS, + /** Disable indented code blocks. (Only fenced code works.) */ NO_INDENTED_CODE_BLOCKS, + /** Do not require space in ATX headers ( ###header ) */ PERMISSIVE_ATX_HEADERS, + /** Recognize e-mails as links even without <...> */ PERMISSIVE_EMAIL_AUTO_LINKS, + /** Recognize URLs as links even without <...> */ PERMISSIVE_URL_AUTO_LINKS, + /** Enable WWW autolinks (without proto; just 'www.') */ PERMISSIVE_WWW_AUTOLINKS, + /** Enable strikethrough extension. */ STRIKETHROUGH, + /** Enable tables extension. */ TABLES, + /** Enable task list extension. */ TASK_LISTS, + /** Enable wiki links extension. */ WIKI_LINKS, + /** Enable underline extension (disables '_' for emphasis) */ UNDERLINE, + + /** Default flags are: + * COLLAPSE_WHITESPACE | + * PERMISSIVE_ATX_HEADERS | + * PERMISSIVE_URL_AUTO_LINKS | + * STRIKETHROUGH | + * TABLES | + * TASK_LISTS + */ + DEFAULT, + + /** Shorthand for NO_HTML_BLOCKS | NO_HTML_SPANS */ + NO_HTML, +} diff --git a/dist-ui/assets/markdown/markdown.js b/dist-ui/assets/markdown/markdown.js new file mode 100644 index 00000000..9544cc77 --- /dev/null +++ b/dist-ui/assets/markdown/markdown.js @@ -0,0 +1,4 @@ +(function(exports){"use strict"; + +var e,n,t,r,o,i,u,a,s,f,c,l,p,d,y,m,h,w,g,A,b,E,_,R,S,v,I,T,U,W,L,M,P,F,O,H,x,k,B,N,C="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"function"==typeof require;let j;if(C)try{j=require("path")}catch(e){}function q(e){throw new Error("wasm abort"+(e?": "+(e.stack||e):""))}"undefined"!=typeof module&&(e=module,module=void 0),(n={preRun:[],postRun:[],print:console.log.bind(console),printErr:console.error.bind(console)}).ready=new Promise(e=>{n.onRuntimeInitialized=(()=>{let n=exports;"function"==typeof define&&define("markdown",n),e(n)})}),C&&j&&(n.locateFile=function(e){return j.join(__dirname,e)}),n.print;let D=n.printErr;for(r in t={},n=void 0!==n?n:{})n.hasOwnProperty(r)&&(t[r]=n[r]);for(r in o=[],i="object"==typeof window,u="function"==typeof importScripts,a="","object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node?(a=u?require("path").dirname(a)+"/":__dirname+"/",s=function(e,n){return l||(l=require("fs")),p||(p=require("path")),e=p.normalize(e),l.readFileSync(e,n?null:"utf8")},c=function(e){var n=s(e,!0);return n.buffer||(n=new Uint8Array(n)),n.buffer,n},f=function(e,n,t){l||(l=require("fs")),p||(p=require("path")),e=p.normalize(e),l.readFile(e,function(e,r){e?t(e):n(r.buffer)})},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),o=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=n),n.inspect=function(){return"[Emscripten Module object]"}):(i||u)&&(u?a=self.location.href:"undefined"!=typeof document&&document.currentScript&&(a=document.currentScript.src),a=0!==a.indexOf("blob:")?a.substr(0,a.lastIndexOf("/")+1):"",s=function(e){var n=new XMLHttpRequest;return n.open("GET",e,!1),n.send(null),n.responseText},u&&(c=function(e){var n=new XMLHttpRequest;return n.open("GET",e,!1),n.responseType="arraybuffer",n.send(null),new Uint8Array(n.response)}),f=function(e,n,t){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?n(r.response):t()},r.onerror=t,r.send(null)}),t)t.hasOwnProperty(r)&&(n[r]=t[r]);function G(e){y.delete(_.get(e)),d.push(e)}function K(e,n){return function(e,n){var t,r,o,i;if(!y)for(y=new WeakMap,t=0;t<_.length;t++)(r=_.get(t))&&y.set(r,t);if(y.has(e))return y.get(e);o=function(){if(d.length)return d.pop();try{_.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return _.length-1}();try{_.set(o,e)}catch(t){if(!(t instanceof TypeError))throw t;i=function(e,n){var t,r,o,i,u,a,s,f,c;if("function"==typeof WebAssembly.Function){for(t={i:"i32",j:"i64",f:"f32",d:"f64"},r={parameters:[],results:"v"==n[0]?[]:[t[n[0]]]},o=1;o0;)"function"!=typeof(t=e.shift())?"number"==typeof(r=t.func)?void 0===t.arg?_.get(r)():_.get(r)(t.arg):r(void 0===t.arg?null:t.arg):t(n)}function Y(e){try{return h.grow(e-g.byteLength+65535>>>16),z(h.buffer),1}catch(e){}}function Q(e){function t(){B||(B=!0,n.calledRun=!0,w||(J(S),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),v.unshift(e);var e;J(v)}()))}e=e||o,I>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),R.unshift(e);var e;J(R)}(),I>0||(n.setStatus?(n.setStatus("Running..."),setTimeout(function(){setTimeout(function(){n.setStatus("")},1),t()},1)):t()))}if(t=null,n.arguments&&(o=n.arguments),n.thisProgram&&n.thisProgram,n.quit&&n.quit,d=[],n.wasmBinary&&(m=n.wasmBinary),n.noExitRuntime||!0,"object"!=typeof WebAssembly&&q("no native wasm support detected"),w=!1,n.INITIAL_MEMORY,R=[],S=[],v=[],0,I=0,T=null,U=null,n.preloadedImages={},n.preloadedAudios={},W="data:application/octet-stream;base64,",V(L="markdown.wasm")||(N=L,L=n.locateFile?n.locateFile(N,a):a+N),M={a:function(e){var n,t,r,o,i=A.length;if((e>>>=0)>2147483648)return!1;for(n=1;n<=4;n*=2)if(t=i*(1+.2/n),t=Math.min(t,e+100663296),Y(Math.min(2147483648,((r=Math.max(e,t))%(o=65536)>0&&(r+=o-r%o),r))))return!0;return!1}},function(){var e={a:M};function t(e,t){var r,o=e.exports;n.asm=o,z((h=n.asm.b).buffer),_=n.asm.i,r=n.asm.c,S.unshift(r),function(e){if(I--,n.monitorRunDependencies&&n.monitorRunDependencies(I),0==I&&(null!==T&&(clearInterval(T),T=null),U)){var t=U;U=null,t()}}()}function r(e){t(e.instance)}function o(n){return function(){if(!m&&(i||u)){if("function"==typeof fetch&&!X(L))return fetch(L,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+L+"'";return e.arrayBuffer()}).catch(function(){return $(L)});if(f)return new Promise(function(e,n){f(L,function(n){e(new Uint8Array(n))},n)})}return Promise.resolve().then(function(){return $(L)})}().then(function(n){return WebAssembly.instantiate(n,e)}).then(n,function(e){D("failed to asynchronously prepare wasm: "+e),q(e)})}if(I++,n.monitorRunDependencies&&n.monitorRunDependencies(I),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return D("Module.instantiateWasm callback failed with error: "+e),!1}m||"function"!=typeof WebAssembly.instantiateStreaming||V(L)||X(L)||"function"!=typeof fetch?o(r):fetch(L,{credentials:"same-origin"}).then(function(n){return WebAssembly.instantiateStreaming(n,e).then(r,function(e){return D("wasm streaming compile failed: "+e),D("falling back to ArrayBuffer instantiation"),o(r)})})}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.c).apply(null,arguments)},P=n._wrealloc=function(){return(P=n._wrealloc=n.asm.d).apply(null,arguments)},F=n._wfree=function(){return(F=n._wfree=n.asm.e).apply(null,arguments)},O=n._WErrGetCode=function(){return(O=n._WErrGetCode=n.asm.f).apply(null,arguments)},H=n._WErrGetMsg=function(){return(H=n._WErrGetMsg=n.asm.g).apply(null,arguments)},x=n._WErrClear=function(){return(x=n._WErrClear=n.asm.h).apply(null,arguments)},k=n._parseUTF8=function(){return(k=n._parseUTF8=n.asm.j).apply(null,arguments)},n.addFunction=K,n.removeFunction=G,U=function e(){B||Q(),B||(U=e)},n.run=Q,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();Q(),n.inspect=(()=>"[asm]"),void 0!==e&&(module=e,e=void 0),Object.defineProperty(exports,"__esModule",{value:!0});class WError extends Error{constructor(e,n,t,r){super(n,t||"wasm",r||0),this.name="WError",this.code=e}}function Z(e,n){const t=P(0,n);return A.set(e,t),t}let ee=0;n.postRun.push(()=>{ee=P(0,4)});const ne="undefined"!=typeof TextEncoder?(()=>{const e=new TextEncoder("utf-8"),n=new TextDecoder("utf-8");return{encode:n=>e.encode(n),decode:e=>n.decode(e)}})():"undefined"!=typeof Buffer?{encode:e=>new Uint8Array(Buffer.from(e,"utf-8")),decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}:{encode:e=>{let n=[];for(let t=0,r=e.length;t!=r;++t)n[t]=255&e.charCodeAt(t);return new Uint8Array(n)},decode:e=>String(e)},te=n.ready,re={COLLAPSE_WHITESPACE:1,PERMISSIVE_ATX_HEADERS:2,PERMISSIVE_URL_AUTO_LINKS:4,PERMISSIVE_EMAIL_AUTO_LINKS:8,NO_INDENTED_CODE_BLOCKS:16,NO_HTML_BLOCKS:32,NO_HTML_SPANS:64,TABLES:256,STRIKETHROUGH:512,PERMISSIVE_WWW_AUTOLINKS:1024,TASK_LISTS:2048,LATEX_MATH_SPANS:4096,WIKI_LINKS:8192,UNDERLINE:16384,DEFAULT:2823,NO_HTML:96},oe=1,ie=2,ue=4;function ae(e){return"string"==typeof e?ne.encode(e):e instanceof Uint8Array?e:new Uint8Array(e)}exports.ready=te,exports.ParseFlags=re,exports.parse=function(e,n){let t=void 0===(n=n||{}).parseFlags?re.DEFAULT:n.parseFlags,r=n.allowJSURIs?ue:0;switch(n.format){case"xhtml":r|=oe|ie;break;case"html":case void 0:case null:case"":r|=oe;break;default:throw new Error(`invalid format "${n.format}"`)}let o=n.onCodeBlock?(i=n.onCodeBlock,K(function(e,n,t,r,o){try{const u=n>0?ne.decode(A.subarray(e,e+n)):"",a=A.subarray(t,t+r);let s=void 0;a.toString=(()=>s||(s=ne.decode(a)));let f=null;if(null===(f=i(u,a))||void 0===f)return-1;let c=ae(f);if(c.length>0){const e=Z(c,c.length);E[o>>2]=e}return c.length}catch(e){return console.error(`error in markdown onCodeBlock callback: ${e.stack||e}`),-1}},"iiiiii")):0;var i;let u=ae(e),a=function(e){let n=e(ee),t=b[ee>>2];if(0==t)return null;let r=A.subarray(t,t+n);return r.heapAddr=t,r}(e=>(function(e,n){const t=function(e){return e instanceof Uint8Array?e:new Uint8Array(e)}(e),r=t.length,o=Z(t,r),i=n(o,r);return function(e){F(e)}(o),i})(u,(n,i)=>k(n,i,t,r,e,o)));return n.onCodeBlock&&G(o),function(){let e=function(){let e=O();if(0!=e){let n=H(),t=0!=n?UTF8ArrayToString(A,n):"";return x(),new WError(e,t)}}();if(e)throw e}(),n.bytes||n.asMemoryView?a:ne.decode(a)};})(typeof exports!='undefined'?exports:this["markdown"]={}) +//# sourceMappingURL=markdown.js.map diff --git a/dist-ui/assets/markdown/markdown.js.map b/dist-ui/assets/markdown/markdown.js.map new file mode 100644 index 00000000..4a261094 --- /dev/null +++ b/dist-ui/assets/markdown/markdown.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/wlib.js","src/md.js"],"names":["orig_module","print","key","arguments_","ENVIRONMENT_IS_WEB","ENVIRONMENT_IS_WORKER","scriptDirectory","nodeFS","nodePath","freeTableIndexes","sig","wasmMemory","ABORT","x","wasmTable","__ATPRERUN__","__ATINIT__","path","require","PathModule","WASMC_IS_NODEJS_LIKE","_","emptyfun","abort","e","Error","stack","Module","preRun","postRun","ready","Promise","resolve","onRuntimeInitialized","exports","define","hasOwnProperty","moduleOverrides","title","window","importScripts","process","versions","node","dirname","__dirname","read_","filename","binary","readBinary","buffer","ret","Uint8Array","err","data","onerror","onload","length","replace","slice","module","self","location","href","document","currentScript","src","indexOf","substr","lastIndexOf","url","xhr","XMLHttpRequest","open","send","responseText","responseType","response","readAsync","status","wrapped","delete","get","index","push","addFunction","func","i","item","functionsInTableMap","WeakMap","set","has","getEmptyTableSlot","pop","grow","RangeError","TypeError","typeNames","type","typeSection","sigRet","sigParam","typeCodes","bytes","WebAssembly","Function","j","f","d","parameters","results","concat","Instance","buf","Int16Array","HEAP32","Int32Array","HEAPU8","Uint16Array","HEAPU32","Uint32Array","Float32Array","Float64Array","multiple","WError","[object Object]","code","message","file","line","super","this","name","mallocbuf","byteArray","offs","_wrealloc","tmpPtr","utf8","TextEncoder","enc","dec","TextDecoder","encode","s","decode","b","Buffer","from","byteOffset","byteLength","toString","asciiBytes","L","charCodeAt","String","ParseFlags","COLLAPSE_WHITESPACE","PERMISSIVE_ATX_HEADERS","PERMISSIVE_URL_AUTO_LINKS","PERMISSIVE_EMAIL_AUTO_LINKS","NO_INDENTED_CODE_BLOCKS","NO_HTML_BLOCKS","NO_HTML_SPANS","TABLES","STRIKETHROUGH","PERMISSIVE_WWW_AUTOLINKS","TASK_LISTS","LATEX_MATH_SPANS","WIKI_LINKS","UNDERLINE","DEFAULT","NO_HTML","OutputFlags","as_byte_array","something","source","options","parseFlags","undefined","outputFlags","allowJSURIs","format","onCodeBlockPtr","onCodeBlock","metaptr","metalen","inptr","inlen","outptr","lang","subarray","body","bodystr","result","resbuf","resptr","console","error","outbuf","fn","len","addr","heapAddr","withOutPtr","u8buf","bytebuf","size","ptr","r","_wfree","free","withTmpBytePtr","_parseUTF8","removeFunction","_WErrGetCode","msgptr","_WErrGetMsg","UTF8ArrayToString","_WErrClear","error_from_wasm","werrCheck","asMemoryView"],"mappings":";;IAQCA,EAyCDC,EAAAA,EAjDAC,EAQCC,EAQGC,EAEAC,EAIJC,EAIGA,EAAAA,EAAAA,EAOHC,EAEIC,ECaHC,EAAAA,EAmDAC,EAUOC,EAAAC,EAoBFC,EAAAA,EAAAA,EAAAA,EAmBJC,EAEAC,EAEAC,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EDhISC,yGAxBX,mBAAAC,QAEA,IAAaC,EACX,GAAAC,EACE,IAAMD,EAAaD,QAAI,QAAY,MAAMG,IAUnCC,SAEFC,EAAOC,GACX,MAAA,IAAUC,MAAE,cAAAD,EAAA,MAAAA,EAAAE,OAAAF,GAAA,KATfxB,oBAAAA,SAAAA,EAAAA,OAAAA,YAAAA,IAiBG2B,GACDC,UACFC,WAAAA,MAAAA,QAAAA,IAAAA,KAAAA,SAAAA,SAAAA,QAAAA,MAAAA,KAAAA,WAOQC,MAAA,IAAYC,QAAAC,IACjBL,EAAOM,qBAAG,MACX,IAAAT,EAAAU,QAAA,mBAAAC,QAAAA,OAAA,WAAAX,GACDQ,EAAWR,OAAAA,GAAAA,IAAAA,EAAAA,WAAAA,SAAAA,GAAAA,OAAAA,EAAAA,KAAAA,UAAAA,KAWZG,EAAA1B,MACD,IAAAA,EAAAA,EAAAA,SA/CA,IAAAC,KA+CAD,KAAAA,OAAAA,IAAAA,EAAAA,KA9CE0B,EAAAS,eAAyBlC,KAAMmC,EAChBnC,GAAMyB,EAAIzB,IAuO3BoC,IAqHEpC,KAxVDC,KAQGC,EAA4B,iBAAAmC,OAE5BlC,EAAgC,mBAADmC,cAInClC,EAA4B,GAF3B,iBAAAmC,SAAA,iBAAAA,QAAAC,UAAA,iBAAAD,QAAAC,SAAAC,MAkBArC,EAAAD,EAAAa,QAAA,QAAA0B,QAAAtC,GAAA,IAAAuC,UAAA,IAAAC,EAAA,SAAAC,EAAAC,GASC,OAHFzC,IAAgBA,EAAUW,QAAW,OACnCV,IAAaA,EAAaU,QAAO,SACjC6B,EAAWvC,EAAS,UAAOuC,GACpBxC,EAAI,aAAAwC,EAAAC,EAAA,KAAA,SAEbC,EAAA,SAAAF,GAAAA,IAAAA,EAAAA,EAAAA,GAAAA,GAuBAG,OAHAC,EAAgBD,SACdC,EAAO,IAAGC,WAACD,IAEbA,EAAAD,OAAAA,GAAAA,EAAAA,SAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,QAAAA,OAAAA,IAAAA,EAAAA,QAAAA,SAAAA,EAAAA,EAAAA,UAAAA,GAkBA3C,EAAgB,SAAAwC,EAAsB,SAAEM,EAAAC,GACtCD,EAAME,EAAQF,GAAYG,EAAAF,EAAAJ,WAG1BT,QAAU,KAAQgB,OAAK,GACdhB,QAAA,KAAA,GAAAiB,QAAA,MAAA,KAEVvD,EAAAsC,QAAA,KAAAkB,MAAA,GACD,oBAAAC,SAAAA,OAAA,QAAAjC,GAAAA,EAAA,QAAA,WAAA,MAAA,gCAAAvB,GAAAC,KAAAA,EAAAC,EAAAuD,KAAAC,SAAAC,KAAA,oBAAAC,UAAAA,SAAAC,gBAAA3D,EAAA0D,SAAAC,cAAAC,KAAA5D,EAAA,IAAAA,EAAA6D,QAAA,SAAA7D,EAAA8D,OAAA,EAAA9D,EAAA+D,YAAA,KAAA,GAAA,GAAAvB,EAAA,SAAAwB,GAAA,IAAAC,EAAA,IAAAC,eAAA,OAAAD,EAAAE,KAAA,MAAAH,GAAA,GAAAC,EAAAG,KAAA,MAAAH,EAAAI,cAAAtE,IAAA4C,EAAA,SAAAqB,GAAA,IAAAC,EAAA,IAAAC,eAAA,OAAAD,EAAAE,KAAA,MAAAH,GAAA,GAAAC,EAAAK,aAAA,cAAAL,EAAAG,KAAA,MAAA,IAAAtB,WAAAmB,EAAAM,YAAAC,EAAA,SAAAR,EAAAd,EAAAD,GAAA,IAAAgB,EAAA,IAAAC,eAAAD,EAAAE,KAAA,MAAAH,GAAA,GAAAC,EAAAK,aAAA,cAAAL,EAAAf,OAAA,WA+H6B,KAA7Be,EAAgBQ,QAAe,GAAAR,EAAAQ,QAAAR,EAAAM,SAC7BrB,EAAUe,EAAGM,UAGXtB,KAEFgB,EAAIhB,QAAMA,EACVgB,EAAIG,KAAA,QAwHGrC,EACLA,EAAiBD,eAASlC,KAAAyB,EAC1BzB,GAASmC,EAAiBnC,IC1QjB8E,SAAAA,EAAAA,GAAAA,EAOMC,OAAInE,EAAQoE,IAAAC,IAAAA,EACdC,KAAAD,GAAAA,SAGhBE,EAAAC,EAAA5E,GAAAA,OAnCU,SAGQ4E,EAAA5E,GAHR,IAML6E,EACAC,EASJrC,EAKEE,EAlBe3C,IACf+E,EACOC,IADGD,EACH,IAAAC,QACLH,EAAA,EAAWA,EAAIzE,EAAW2C,OAAK8B,KAC/BC,EAAK1E,EAAAoE,IAAAK,KAEPE,EAAAE,IAAAH,EAAAD,GAAAA,GAIFE,EAAqBG,IAAAN,GAAQ,OAAAG,EAAAP,IAAAI,GAG7BnC,EAhCD1C,WAIQoF,GAAAA,EAAAA,OAEP,OAAIpF,EAAUqF,MAAAA,IAAAA,EAGbC,KAAA,GAAA,MAAA1C,GAED,KAAIA,aAAc2C,YAAQ,MAAA3C,EAAA,KAGxB,qDAAA,OAEEvC,EAAK2C,OAAA,EAgBLoC,GAAAA,IAAAA,EAEFF,IAAAxC,EAAAmC,GAAAA,MAAAA,GAEF,KAAIjC,aAAQ4C,WAAW,MACrB5C,EAAAA,EDuRoB,SAEOiC,EAAA5E,GAFP,IAIpBwF,EAGHC,ECvVCZ,EAVAa,EACAC,EACAC,EACAC,EAWeC,EAAA5C,ED8UclD,GAC1B,mBAAA+F,YAAAC,SAAA,CAIJ,IAHGR,GACDX,EAAA,MACDoB,EAAM,MACPC,EAAA,MAAAC,EAAA,OAAAV,GAAAW,cAAAC,QAAA,KAAArG,EAAA,OAAAwF,EAAAxF,EAAA,MAAA6E,EAAA,EAAAA,EAAA7E,EAAA+C,SAAA8B,EAAAY,EAAAW,WAAA1B,KAAAc,EAAAxF,EAAA6E,KCnWC,OAAA,IAAAkB,YAAmBC,SAAUP,EAAMb,GAWnB7B,IAThB2C,GAAA,EAAA,EAAyB,EAAA,IACzBC,EAAA3F,EAAAiD,MAAA,EAAA,GACA2C,EAAA5F,EAAAiD,MAAuB,GACvB4C,GACAhB,EAAA,IACAoB,EAAA,IACAC,EAAA,IACAC,EAAA,KAAAT,EAEAhB,KAAgBkB,EAAA7C,QAChB8B,EAAU,EAAAA,EAAAe,EAAA7C,SAAyB8B,EACnCa,EAAShB,KAAAmB,EAAAD,EAA0Bf,KAejB,MAfiBA,KAAAA,EAGnCa,EAAShB,KAAM,GAAAgB,EAAAA,EAAAY,QAAA,EAAAT,EAAAF,KAAAD,EAAA,GAAAA,EAAA3C,OAAA,EAAA+C,EAAA,IAAApD,YAAA,EAAA,GAAA,IAAA,IAAA,EAAA,EAAA,EAAA,GAAA4D,OAAAZ,GAAA,EAAA,EAAA,EAAA,EAAA,IAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,IAAA,EAAA,KAAAxC,EAAA,IAAA6C,YAAA9E,OAAA6E,GAAA,IAAAC,YAAAQ,SAAArD,GAQfpC,GACDoF,EAAAtB,KAGmBpD,QAAA,EAyChBmB,CAAAA,EAAAA,GAGFvC,EAAS6E,IAAExC,EAAA6B,GAAAA,OAAAA,EAAAA,IAAAA,EAAAA,GAAAA,EAWZtE,CAAAA,EAAAA,GA8BKG,SAAAA,EAAAA,GAAAA,EAMCqG,EAAAA,EAAAA,MAAAA,IAAAA,UAAAA,GAAAA,EAED,OAAoB,IAAAC,WAAAD,GAAAA,EACpB,OAAYE,EAAA,IAAAC,WAAAH,GAAAA,EACZ,OAAcI,EAAC,IAAAlE,WAAA8D,GAAAA,EACf,QAAS,IAAAK,YAAAL,GAAAA,EACV,QAAAM,EAAA,IAAAC,YAAAP,GAAAA,EACA,QAAS,IAAAQ,aAAAR,GAAAA,EACZ,QAAY,IAAAS,aAAAT,GASZlG,SAAAA,EAAAA,GAAAA,OAAAA,EAAAA,WAAAA,GAAAA,SAAAA,EAAAA,GAAAA,OAAAA,EAAAA,WAAAA,WAAAA,SAAAA,EAAAA,GAAAA,IAAAA,GAAAA,GAAAA,GAAAA,EAAAA,OAAAA,IAAAA,WAAAA,GAAAA,GAAAA,EAAAA,OAAAA,EAAAA,GAAAA,KAAAA,kDAAAA,MAAAA,GAAAA,EAAAA,IAAAA,SAAAA,EAAAA,GAAAA,IAAAA,IAAAA,EAAAA,EAAAA,EAAAA,OAAAA,GAAAA,mBAAAA,EAAAA,EAAAA,SAAAA,iBAAAA,EAAAA,EAAAA,WAAAA,IAAAA,EAAAA,IAAAA,EAAAA,IAAAA,EAAAA,GAAAA,EAAAA,IAAAA,EAAAA,CAAAA,EAAAA,KAAAA,OAAAA,IAAAA,EAAAA,IAAAA,KAAAA,EAAAA,KAAAA,EAAAA,GAAAA,SAAAA,EAAAA,GAAAA,IAAAA,OAAAA,EAAAA,KAAAA,EAAAA,EAAAA,WAAAA,QAAAA,IAAAA,EAAAA,EAAAA,QAAAA,EAAAA,MAAAA,KAAAA,SAAAA,EAAAA,GAAAA,SAAAA,IAAAA,IAAAA,GAAAA,EAAAA,EAAAA,WAAAA,EAAAA,IAAAA,EAAAA,GAAAA,EAAAA,sBAAAA,EAAAA,uBAAAA,WAAAA,GAAAA,EAAAA,QAAAA,IAAAA,mBAAAA,EAAAA,UAAAA,EAAAA,SAAAA,EAAAA,UAAAA,EAAAA,QAAAA,QAAAA,EAAAA,EAAAA,QAAAA,QAAAA,EAAAA,QAAAA,GAAAA,IAAAA,EAAAA,EAAAA,GAAAA,KAAAA,EAAAA,GAAAA,EAAAA,EAAAA,IAAAA,WAAAA,GAAAA,EAAAA,OAAAA,IAAAA,mBAAAA,EAAAA,SAAAA,EAAAA,QAAAA,EAAAA,SAAAA,EAAAA,OAAAA,QAAAA,EAAAA,EAAAA,OAAAA,QAAAA,EAAAA,QAAAA,GAAAA,IAAAA,EAAAA,EAAAA,GAAAA,GAAAA,EAAAA,IAAAA,EAAAA,WAAAA,EAAAA,UAAAA,cAAAA,WAAAA,WAAAA,WAAAA,WAAAA,EAAAA,UAAAA,KAAAA,GAAAA,KAAAA,IAAAA,MAAAA,GD0M4Bd,EAIf,KAEXyB,EAAO,YAAaxB,EAAcwB,EAAI,WAAAA,EAAA,aAAAA,EAAA,YAItCA,EAAI,MAAgBA,EAAA,KC5TvBlB,KAmDAC,EAAAA,aAAAA,EAAAA,EAAAA,YAAAA,EAAAA,gBAAAA,EAUO,iBAAA+F,aAAAlF,EAAA,mCAAAX,GAME,EA4BIsG,EAAAA,eAOZnG,KAEAC,KAAAA,KAAAA,EAAAA,EAAAA,EAAAA,EAAAA,KAAAA,EAAAA,KAAAA,EAAAA,mBAAAA,EAAAA,mBAAAA,EAAAA,wCAAAA,EAAAA,EAAAA,mBDhISC,ECgITD,EAAAA,ED/HEW,EAAM,WACPA,EAAA,WAAAV,EAAAX,GAAAA,EAAAA,GC8HDU,GAAAA,EAAAA,SAAAA,GAAAA,IAAAA,EAAAA,EA3BeH,EAAA+G,EA2Bf5G,EAAAA,EAAAA,OAAAA,IAAAA,KAAAA,GAAAA,WAAAA,OAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,GAAAA,GAAAA,EAAAA,KAAAA,IAAAA,EAAAA,EAAAA,WAAAA,EAAAA,KAAAA,IAAAA,aA3BeH,EA2BfG,KAAAA,IAAAA,EAAAA,KA3Be4G,EA2Bf5G,OA1BK,IAAAH,GAAA+G,EAAA/G,EAAA+G,GAGD/G,KAuBJG,OAAAA,EAAAA,OAAAA,IAAAA,WAAAA,IAAAA,GAAAA,EAAAA,GAAAA,SAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,QAAAA,EAAAA,IAAAA,EAAAA,GAAAA,EAAAA,EAAAA,IAAAA,GAAAA,QAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,QAAAA,GAAAA,SAAAA,GAAAA,GAAAA,IAAAA,EAAAA,wBAAAA,EAAAA,uBAAAA,GAAAA,GAAAA,IAAAA,OAAAA,IAAAA,cAAAA,GAAAA,EAAAA,MAAAA,GAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,KAAAA,KAAAA,GAAAA,SAAAA,EAAAA,GAAAA,EAAAA,EAAAA,UAAAA,SAAAA,EAAAA,GAAAA,OAAAA,WAAAA,IAAAA,IAAAA,GAAAA,GAAAA,CAAAA,GAAAA,mBAAAA,QAAAA,EAAAA,GAAAA,OAAAA,MAAAA,GAAAA,YAAAA,gBAAAA,KAAAA,SAAAA,GAAAA,IAAAA,EAAAA,GAAAA,KAAAA,uCAAAA,EAAAA,IAAAA,OAAAA,EAAAA,gBAAAA,MAAAA,WAAAA,OAAAA,EAAAA,KAAAA,GAAAA,EAAAA,OAAAA,IAAAA,QAAAA,SAAAA,EAAAA,GAAAA,EAAAA,EAAAA,SAAAA,GAAAA,EAAAA,IAAAA,WAAAA,KAAAA,KAAAA,OAAAA,QAAAA,UAAAA,KAAAA,WAAAA,OAAAA,EAAAA,KAAAA,GAAAA,KAAAA,SAAAA,GAAAA,OAAAA,YAAAA,YAAAA,EAAAA,KAAAA,KAAAA,EAAAA,SAAAA,GAAAA,EAAAA,0CAAAA,GAAAA,EAAAA,KAAAA,GAAAA,IAAAA,EAAAA,wBAAAA,EAAAA,uBAAAA,GAAAA,EAAAA,gBAAAA,IAAAA,OAAAA,EAAAA,gBAAAA,EAAAA,GAAAA,MAAAA,GAAAA,OAAAA,EAAAA,sDAAAA,IAAAA,EAAAA,GAAAA,mBAAAA,YAAAA,sBAAAA,EAAAA,IAAAA,EAAAA,IAAAA,mBAAAA,MAAAA,EAAAA,GAAAA,MAAAA,GAAAA,YAAAA,gBAAAA,KAAAA,SAAAA,GAAAA,OAAAA,YAAAA,qBAAAA,EAAAA,GAAAA,KAAAA,EAAAA,SAAAA,GAAAA,OAAAA,EAAAA,kCAAAA,GAAAA,EAAAA,6CAAAA,EAAAA,OAAAA,GAAAA,EAAAA,mBAAAA,WAAAA,OAAAA,EAAAA,mBAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,EAAAA,UAAAA,WAAAA,OAAAA,EAAAA,EAAAA,UAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,EAAAA,OAAAA,WAAAA,OAAAA,EAAAA,EAAAA,OAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,EAAAA,aAAAA,WAAAA,OAAAA,EAAAA,EAAAA,aAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,EAAAA,YAAAA,WAAAA,OAAAA,EAAAA,EAAAA,YAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,EAAAA,WAAAA,WAAAA,OAAAA,EAAAA,EAAAA,WAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,EAAAA,WAAAA,WAAAA,OAAAA,EAAAA,EAAAA,WAAAA,EAAAA,IAAAA,GAAAA,MAAAA,KAAAA,YAAAA,EAAAA,YAAAA,EAAAA,EAAAA,eAAAA,EAAAA,EAAAA,SAAAA,IAAAA,GAAAA,IAAAA,IAAAA,EAAAA,IAAAA,EAAAA,IAAAA,EAAAA,EAAAA,QAAAA,IAAAA,mBAAAA,EAAAA,UAAAA,EAAAA,SAAAA,EAAAA,UAAAA,EAAAA,QAAAA,OAAAA,GAAAA,EAAAA,QAAAA,KAAAA,GAAAA,IAAAA,EAAAA,QAAAA,KAAAA,cAAAA,IAAAA,IDxJF4C,OAAA5D,EAAAA,OAAAA,GAAAA,OAAAA,eAAAA,QAAAA,cAAAA,OAAAA,UAEa6H,eAAepG,MAC1BqG,YAAYC,EAAMC,EAASC,EAAMC,GAC/BC,MAAMH,EAASC,GAAQ,OAAQC,GAAQ,GACvCE,KAAKC,KAAO,SACZD,KAAKL,KAAOA,GAsChB,SAAgBO,EAAUC,EAAW9E,GACnC,MAAM+E,EAAOC,EAAU,EAAGhF,GAE1B,OADA6D,EAAO3B,IAAI4C,EAAWC,GACfA,EAuGT,IAAIE,GAAS,EAEb/G,EAAOE,QAAQuD,KAAK,KAClBsD,GAASD,EAAU,EAAG,KAmMxB,MAAaE,GAA6B,oBAAfC,YAA6B,MAEtD,MAAMC,EAAM,IAAID,YAAY,SACtBE,EAAM,IAAIC,YAAY,SAC5B,OACEC,OAAQC,GAAKJ,EAAIG,OAAOC,GACxBC,OAAQC,GAAKL,EAAII,OAAOC,KAN4B,GAQhC,oBAAVC,QAEZJ,OAAQC,GAAK,IAAI7F,WAAWgG,OAAOC,KAAKJ,EAAG,UAC3CC,OAAQC,GACNC,OAAOC,KAAKF,EAAEjG,OAAQiG,EAAEG,WAAYH,EAAEI,YAAYC,SAAS,UAG7DR,OAAQC,IACN,IAAIQ,KACJ,IAAK,IAAIlE,EAAI,EAAGmE,EAAIT,EAAExF,OAAQ8B,GAAKmE,IAAKnE,EACtCkE,EAAWlE,GAAK,IAAO0D,EAAEU,WAAWpE,GAEtC,OAAO,IAAInC,WAAWqG,IAExBP,OAAQC,GAAKS,OAAOT,IC1WTrH,GAAQH,EAAOG,MAOf+H,IACXC,oBAA6B,EAC7BC,uBAA6B,EAC7BC,0BAA6B,EAC7BC,4BAA6B,EAC7BC,wBAA6B,GAC7BC,eAA6B,GAC7BC,cAA6B,GAC7BC,OAA6B,IAC7BC,cAA6B,IAC7BC,yBAA6B,KAC7BC,WAA6B,KAC7BC,iBAA6B,KAC7BC,WAA6B,KAC7BC,UAA6B,MAG7BC,QAAS,KAQTC,QAAS,IAILC,GACQ,EADRA,GAEQ,EAFRA,GAGQ,EAoGd,SAASC,GAAcC,GACrB,MAAwB,iBAAbA,EACFrC,GAAKK,OAAOgC,GACjBA,aAAqB5H,WAChB4H,EACF,IAAI5H,WAAW4H,GAAAA,QAAAA,MAAAA,GAAAA,QAAAA,WAAAA,GAAAA,QAAAA,MArGxB,SAAsBC,EAAQC,GAG5B,IAAIC,OACqBC,KAHzBF,EAAUA,OAGAC,WAA2BtB,GAAWe,QAC9CM,EAAQC,WAGNE,EAAcH,EAAQI,YAAcR,GAAyB,EAEjE,OAAQI,EAAQK,QACd,IAAK,QACHF,GAAeP,GAAmBA,GAClC,MAEF,IAAK,OACL,UAAKM,EACL,KAAK,KACL,IAAK,GACHC,GAAeP,GACf,MAEF,QACE,MAAM,IAAIrJ,yBAAyByJ,EAAQK,WAG/C,IAAIC,EAAiBN,EAAQO,aAyBAA,EAzBoCP,EAAQO,YA+B3DpG,EAAY,SAASqG,EAASC,EAASC,EAAOC,EAAOC,GACjE,IAEE,MAAMC,EAAOJ,EAAU,EAAIhD,GAAKO,OAAO5B,EAAO0E,SAASN,EAASA,EAAUC,IAAY,GAGhFM,EAAO3E,EAAO0E,SAASJ,EAAOA,EAAQC,GAC5C,IAAIK,OAAUd,EACda,EAAKzC,SAAW,KAAO0C,IAAYA,EAAUvD,GAAKO,OAAO+C,KAGzD,IAAIE,EAAS,KAGb,GAAe,QAFfA,EAASV,EAAYM,EAAME,UAEOb,IAAXe,EAGrB,OAAQ,EAGV,IAAIC,EAASrB,GAAcoB,GAC3B,GAAIC,EAAO3I,OAAS,EAAG,CAErB,MAAM4I,EAAS/D,EAAU8D,EAAQA,EAAO3I,QAExC+D,EAAQsE,GAAU,GAAyBO,EAI7C,OAAOD,EAAO3I,OACd,MAAOJ,GAEP,OADAiJ,QAAQC,iDAAiDlJ,EAAI3B,OAAO2B,MAC5D,IAET,WAjEqF,EAyB1F,IAA+BoI,EAvB7B,IAAIvE,EAAM6D,GAAcE,GACpBuB,EDiJN,SAA2BC,GACzB,IAAIC,EAAMD,EAAG/D,IACTiE,EAAOvF,EAAOsB,IAAU,GAC5B,GAAY,GAARiE,EACF,OAAO,KAET,IAAIzF,EAAMI,EAAO0E,SAASW,EAAMA,EAAOD,GAEvC,OADAxF,EAAI0F,SAAWD,EACRzF,ECzJM2F,CAAWf,IDU1B,SAA+B5E,EAAKuF,GAClC,MAAMK,EA1DR,SAAwB5F,GACtB,OAAIA,aAAe9D,WACV8D,EAEF,IAAI9D,WAAW8D,GAsDR6F,CAAQ7F,GAChB8F,EAAOF,EAAMrJ,OACbwJ,EAAM3E,EAAUwE,EAAOE,GACvBE,EAAIT,EAAGQ,EAAKD,GAElB,OA3BF,SAAqBC,GACnBE,EAAOF,GAyBPG,CAAKH,GACEC,GChB2BG,CAAenG,EAAK,CAAC0E,EAAOC,IAC5DyB,EAAW1B,EAAOC,EAAOV,EAAYE,EAAaS,EAAQN,KAc5D,OAXIN,EAAQO,aACV8B,EAAe/B,GD/DnB,WACE,IAAInI,EAXN,WACE,IAAI0E,EAAOyF,IACX,GAAY,GAARzF,EAAW,CACb,IAAI0F,EAASC,IACT1F,EAAoB,GAAVyF,EAAcE,kBAAkBrG,EAAQmG,GAAU,GAEhE,OADAG,IACO,IAAI/F,OAAOE,EAAMC,IAKhB6F,GACV,GAAIxK,EACF,MAAMA,EC+DRyK,GAOI5C,EAAQ1E,OAAS0E,EAAQ6C,aACpBvB,EAEF7D,GAAKO,OAAOsD","sourceRoot":".."} \ No newline at end of file diff --git a/dist-ui/assets/markdown/markdown.wasm b/dist-ui/assets/markdown/markdown.wasm new file mode 100755 index 00000000..bcc4a7c4 Binary files /dev/null and b/dist-ui/assets/markdown/markdown.wasm differ diff --git a/dist-ui/assets/mathematica-CDDpzM0V.js b/dist-ui/assets/mathematica-CDDpzM0V.js new file mode 100644 index 00000000..1b95f833 --- /dev/null +++ b/dist-ui/assets/mathematica-CDDpzM0V.js @@ -0,0 +1 @@ +import{g as k,c as x}from"./index-BLHgoTgd.js";function s(u,l){for(var a=0;ai[o]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(u,l){(function(a){a(x)})(function(a){a.defineMode("mathematica",function(i,o){var f="[a-zA-Z\\$][a-zA-Z0-9\\$]*",A="(?:\\d+)",z="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",$="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",p="(?:`(?:`?"+z+")?)",Z=new RegExp("(?:"+A+"(?:\\^\\^"+$+p+"?(?:\\*\\^[+-]?\\d+)?))"),h=new RegExp("(?:"+z+p+"?(?:\\*\\^[+-]?\\d+)?)"),d=new RegExp("(?:`?)(?:"+f+")(?:`(?:"+f+"))*(?:`?)");function m(e,t){var r;return r=e.next(),r==='"'?(t.tokenize=b,t.tokenize(e,t)):r==="("&&e.eat("*")?(t.commentLevel++,t.tokenize=g,t.tokenize(e,t)):(e.backUp(1),e.match(Z,!0,!1)||e.match(h,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(d,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function b(e,t){for(var r,n=!1,c=!1;(r=e.next())!=null;){if(r==='"'&&!c){n=!0;break}c=!c&&r==="\\"}return n&&!c&&(t.tokenize=m),"string"}function g(e,t){for(var r,n;t.commentLevel>0&&(n=e.next())!=null;)r==="("&&n==="*"&&t.commentLevel++,r==="*"&&n===")"&&t.commentLevel--,r=n;return t.commentLevel<=0&&(t.tokenize=m),"comment"}return{startState:function(){return{tokenize:m,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),a.defineMIME("text/x-mathematica",{name:"mathematica"})})})();var v=w.exports;const _=k(v),E=s({__proto__:null,default:_},[v]);export{E as m}; diff --git a/dist-ui/assets/mbox-jzLxJaqC.js b/dist-ui/assets/mbox-jzLxJaqC.js new file mode 100644 index 00000000..6412658a --- /dev/null +++ b/dist-ui/assets/mbox-jzLxJaqC.js @@ -0,0 +1 @@ +import{g as R,c as k}from"./index-BLHgoTgd.js";function S(u,f){for(var n=0;ni[o]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(u,f){(function(n){n(k)})(function(n){var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],o=["Date","Subject","Comments","Keywords","Resent-Date"];n.registerHelper("hintWords","mbox",i.concat(o));var a=/^[ \t]/,p=/^From /,m=new RegExp("^("+i.join("|")+"): "),s=new RegExp("^("+o.join("|")+"): "),v=/^[^:]+:/,b=/^[^ ]+@[^ ]+/,x=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,g=/^.*?(?=<.*>)/;function h(e){return e==="Subject"?"header":"string"}function E(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(a))return null;if(r.inHeader=!1,r.header=null,e.match(p))return r.inHeaders=!0,r.inSeparator=!0,"atom";var t,c=!1;return(t=e.match(s))||(c=!0)&&(t=e.match(m))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=c,r.header=t[1],"atom"):r.inHeaders&&(t=e.match(v))?(r.inHeader=!0,r.emailPermitted=!0,r.header=t[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(b)?"link":(e.match(x)||e.skipToEnd(),"atom");if(r.inHeader){var l=h(r.header);if(r.emailPermitted){if(e.match(H))return l+" link";if(e.match(g))return l}return e.skipToEnd(),l}return e.skipToEnd(),null}n.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:E,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),n.defineMIME("application/mbox","mbox")})})();var d=T.exports;const j=R(d),P=S({__proto__:null,default:j},[d]);export{P as m}; diff --git a/dist-ui/assets/mirc-CtwyGVUc.js b/dist-ui/assets/mirc-CtwyGVUc.js new file mode 100644 index 00000000..b670f914 --- /dev/null +++ b/dist-ui/assets/mirc-CtwyGVUc.js @@ -0,0 +1 @@ +import{g,c as h}from"./index-BLHgoTgd.js";function v(s,l){for(var o=0;ot[n]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(s,l){(function(o){o(h)})(function(o){o.defineMIME("text/mirc","mirc"),o.defineMode("mirc",function(){function t(e){for(var r={},$=e.split(" "),i=0;i<$.length;++i)r[$[i]]=!0;return r}var n=t("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),a=t("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),d=t("if elseif else and not or eq ne in ni for foreach while switch"),m=/[+\-*&%=<>!?^\/\|]/;function p(e,r,$){return r.tokenize=$,$(e,r)}function c(e,r){var $=r.beforeParams;r.beforeParams=!1;var i=e.next();if(/[\[\]{}\(\),\.]/.test(i))return i=="("&&$?r.inParams=!0:i==")"&&(r.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if(i=="\\")return e.eat("\\"),e.eat(/./),"number";if(i=="/"&&e.eat("*"))return p(e,r,k);if(i==";"&&e.match(/ *\( *\(/))return p(e,r,b);if(i==";"&&!r.inParams)return e.skipToEnd(),"comment";if(i=='"')return e.eat(/"/),"keyword";if(i=="$")return e.eatWhile(/[$_a-z0-9A-Z\.:]/),n&&n.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(r.beforeParams=!0,"builtin");if(i=="%")return e.eatWhile(/[^,\s()]/),r.beforeParams=!0,"string";if(m.test(i))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_{}]/);var f=e.current().toLowerCase();return a&&a.propertyIsEnumerable(f)?"keyword":d&&d.propertyIsEnumerable(f)?(r.beforeParams=!0,"keyword"):null}function k(e,r){for(var $=!1,i;i=e.next();){if(i=="/"&&$){r.tokenize=c;break}$=i=="*"}return"comment"}function b(e,r){for(var $=0,i;i=e.next();){if(i==";"&&$==2){r.tokenize=c;break}i==")"?$++:i!=" "&&($=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)}}})})})();var u=w.exports;const y=g(u),q=v({__proto__:null,default:y},[u]);export{q as m}; diff --git a/dist-ui/assets/mllike-V3NkyXRd.js b/dist-ui/assets/mllike-V3NkyXRd.js new file mode 100644 index 00000000..5dfb0c3a --- /dev/null +++ b/dist-ui/assets/mllike-V3NkyXRd.js @@ -0,0 +1 @@ +import{g as x,c as g}from"./index-BLHgoTgd.js";function v(k,u){for(var n=0;nl[i]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(k,u){(function(n){n(g)})(function(n){n.defineMode("mllike",function(l,i){var d={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},f=i.extraWords||{};for(var a in f)f.hasOwnProperty(a)&&(d[a]=i.extraWords[a]);var c=[];for(var b in d)c.push(b);n.registerHelper("hintWords","mllike",c);function y(e,r){var o=e.next();if(o==='"')return r.tokenize=m,r.tokenize(e,r);if(o==="{"&&e.eat("|"))return r.longString=!0,r.tokenize=h,r.tokenize(e,r);if(o==="("&&e.match(/^\*(?!\))/))return r.commentLevel++,r.tokenize=p,r.tokenize(e,r);if(o==="~"||o==="?")return e.eatWhile(/\w/),"variable-2";if(o==="`")return e.eatWhile(/\w/),"quote";if(o==="/"&&i.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return o==="0"&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),o==="0"&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),o==="0"&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var t=e.current();return d.hasOwnProperty(t)?d[t]:"variable"}return null}function m(e,r){for(var o,t=!1,w=!1;(o=e.next())!=null;){if(o==='"'&&!w){t=!0;break}w=!w&&o==="\\"}return t&&!w&&(r.tokenize=y),"string"}function p(e,r){for(var o,t;r.commentLevel>0&&(t=e.next())!=null;)o==="("&&t==="*"&&r.commentLevel++,o==="*"&&t===")"&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=y),"comment"}function h(e,r){for(var o,t;r.longString&&(t=e.next())!=null;)o==="|"&&t==="}"&&(r.longString=!1),o=t;return r.longString||(r.tokenize=y),"string"}return{startState:function(){return{tokenize:y,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:i.slashComments?"//":null}}),n.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),n.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),n.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})})})();var s=W.exports;const z=x(s),_=v({__proto__:null,default:z},[s]);export{_ as m}; diff --git a/dist-ui/assets/modelica-CW3W-ueR.js b/dist-ui/assets/modelica-CW3W-ueR.js new file mode 100644 index 00000000..4be041ea --- /dev/null +++ b/dist-ui/assets/modelica-CW3W-ueR.js @@ -0,0 +1 @@ +import{g as _,c as P}from"./index-BLHgoTgd.js";function W(h,g){for(var r=0;rl[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(h,g){(function(r){r(P)})(function(r){r.defineMode("modelica",function(o,t){var u=o.indentUnit,a=t.keywords||{},p=t.builtin||{},k=t.atoms||{},v=/[;=\(:\),{}.*<>+\-\/^\[\]]/,w=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,s=/[0-9]/,b=/[_a-zA-Z]/;function x(n,e){return n.skipToEnd(),e.tokenize=null,"comment"}function E(n,e){for(var i=!1,f;f=n.next();){if(i&&f=="/"){e.tokenize=null;break}i=f=="*"}return"comment"}function S(n,e){for(var i=!1,f;(f=n.next())!=null;){if(f=='"'&&!i){e.tokenize=null,e.sol=!1;break}i=!i&&f=="\\"}return"string"}function I(n,e){for(n.eatWhile(s);n.eat(s)||n.eat(b););var i=n.current();return e.sol&&(i=="package"||i=="model"||i=="when"||i=="connector")?e.level++:e.sol&&i=="end"&&e.level>0&&e.level--,e.tokenize=null,e.sol=!1,a.propertyIsEnumerable(i)?"keyword":p.propertyIsEnumerable(i)?"builtin":k.propertyIsEnumerable(i)?"atom":"variable"}function O(n,e){for(;n.eat(/[^']/););return e.tokenize=null,e.sol=!1,n.eat("'")?"variable":"error"}function D(n,e){return n.eatWhile(s),n.eat(".")&&n.eatWhile(s),(n.eat("e")||n.eat("E"))&&(n.eat("-")||n.eat("+"),n.eatWhile(s)),e.tokenize=null,e.sol=!1,"number"}return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(n,e){if(e.tokenize!=null)return e.tokenize(n,e);if(n.sol()&&(e.sol=!0),n.eatSpace())return e.tokenize=null,null;var i=n.next();if(i=="/"&&n.eat("/"))e.tokenize=x;else if(i=="/"&&n.eat("*"))e.tokenize=E;else{if(w.test(i+n.peek()))return n.next(),e.tokenize=null,"operator";if(v.test(i))return e.tokenize=null,"operator";if(b.test(i))e.tokenize=I;else if(i=="'"&&n.peek()&&n.peek()!="'")e.tokenize=O;else if(i=='"')e.tokenize=S;else if(s.test(i))e.tokenize=D;else return e.tokenize=null,"error"}return e.tokenize(n,e)},indent:function(n,e){if(n.tokenize!=null)return r.Pass;var i=n.level;return/(algorithm)/.test(e)&&i--,/(equation)/.test(e)&&i--,/(initial algorithm)/.test(e)&&i--,/(initial equation)/.test(e)&&i--,/(end)/.test(e)&&i--,i>0?u*i:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});function l(o){for(var t={},u=o.split(" "),a=0;as[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(i,a){(function(r){r(d)})(function(r){var s={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};r.defineMode("mscgen",function(t,e){var o=s[e&&e.language||"mscgen"];return{startState:l,copyState:m,token:x(o),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),r.defineMIME("text/x-mscgen","mscgen"),r.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),r.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"});function n(t){return new RegExp("^\\b(?:"+t.join("|")+")\\b","i")}function c(t){return new RegExp("^(?:"+t.join("|")+")","i")}function l(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function m(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function x(t){return function(e,o){if(e.match(c(t.brackets),!0,!0))return"bracket";if(!o.inComment){if(e.match(/\/\*[^\*\/]*/,!0,!0))return o.inComment=!0,"comment";if(e.match(c(t.singlecomment),!0,!0))return e.skipToEnd(),"comment"}if(o.inComment)return e.match(/[^\*\/]*\*\//,!0,!0)?o.inComment=!1:e.skipToEnd(),"comment";if(!o.inString&&e.match(/\"(\\\"|[^\"])*/,!0,!0))return o.inString=!0,"string";if(o.inString)return e.match(/[^\"]*\"/,!0,!0)?o.inString=!1:e.skipToEnd(),"string";if(t.keywords&&e.match(n(t.keywords),!0,!0)||e.match(n(t.options),!0,!0)||e.match(n(t.arcsWords),!0,!0)||e.match(c(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&e.match(c(t.operators),!0,!0))return"operator";if(t.constants&&e.match(c(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&e.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(t.attributes!==null&&e.match(n(t.attributes),!0,!0))return"attribute";if(e.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return e.next(),"base"}}})})();var u=f.exports;const k=b(u),h=g({__proto__:null,default:k},[u]);export{h as m}; diff --git a/dist-ui/assets/multiplex-DTs8uP38.js b/dist-ui/assets/multiplex-DTs8uP38.js new file mode 100644 index 00000000..a1e01a4b --- /dev/null +++ b/dist-ui/assets/multiplex-DTs8uP38.js @@ -0,0 +1 @@ +import{c as m}from"./index-BLHgoTgd.js";var g={exports:{}},S;function L(){return S||(S=1,function(s,D){(function(c){c(m)})(function(c){c.multiplexingMode=function(o){var A=Array.prototype.slice.call(arguments,1);function u(i,n,l,e){if(typeof n=="string"){var p=i.indexOf(n,l);return e&&p>-1?p+n.length:p}var v=n.exec(l?i.slice(l):i);return v?v.index+l+(e?v[0].length:0):-1}return{startState:function(){return{outer:c.startState(o),innerActive:null,inner:null,startingInner:!1}},copyState:function(i){return{outer:c.copyState(o,i.outer),innerActive:i.innerActive,inner:i.innerActive&&c.copyState(i.innerActive.mode,i.inner),startingInner:i.startingInner}},token:function(i,n){if(n.innerActive){var r=n.innerActive,e=i.string;if(!r.close&&i.sol())return n.innerActive=n.inner=null,this.token(i,n);var f=r.close&&!n.startingInner?u(e,r.close,i.pos,r.parseDelimiters):-1;if(f==i.pos&&!r.parseDelimiters)return i.match(r.close),n.innerActive=n.inner=null,r.delimStyle&&r.delimStyle+" "+r.delimStyle+"-close";f>-1&&(i.string=e.slice(0,f));var t=r.mode.token(i,n.inner);return f>-1?i.string=e:i.pos>i.start&&(n.startingInner=!1),f==i.pos&&r.parseDelimiters&&(n.innerActive=n.inner=null),r.innerStyle&&(t?t=t+" "+r.innerStyle:t=r.innerStyle),t}else{for(var l=1/0,e=i.string,p=0;po[i]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function($,a){(function(t){t(v)})(function(t){t.defineMode("mumps",function(){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),c=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),l=new RegExp("^[\\.,:]"),f=new RegExp("[()]"),d=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),m=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],s=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],p=o(s),g=o(m);function b(e,r){e.sol()&&(r.label=!0,r.commandMode=0);var n=e.peek();return n==" "||n==" "?(r.label=!1,r.commandMode==0?r.commandMode=1:(r.commandMode<0||r.commandMode==2)&&(r.commandMode=0)):n!="."&&r.commandMode>0&&(n==":"?r.commandMode=-1:r.commandMode=2),(n==="("||n===" ")&&(r.label=!1),n===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":n=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(c)||e.match(i)?"operator":e.match(l)?null:f.test(n)?(e.next(),"bracket"):r.commandMode>0&&e.match(g)?"variable-2":e.match(p)?"builtin":e.match(d)?"variable":n==="$"||n==="^"?(e.next(),"builtin"):n==="@"?(e.next(),"string-2"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}return{startState:function(){return{label:!1,commandMode:0}},token:function(e,r){var n=b(e,r);return r.label?"tag":n}}}),t.defineMIME("text/x-mumps","mumps")})})();var u=k.exports;const w=x(u),E=h({__proto__:null,default:w},[u]);export{E as m}; diff --git a/dist-ui/assets/nginx-CokwOcLu.js b/dist-ui/assets/nginx-CokwOcLu.js new file mode 100644 index 00000000..768106e9 --- /dev/null +++ b/dist-ui/assets/nginx-CokwOcLu.js @@ -0,0 +1 @@ +import{g as v,c as k}from"./index-BLHgoTgd.js";function z(l,u){for(var a=0;an[s]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(l,u){(function(a){a(k)})(function(a){a.defineMode("nginx",function(n){function s(_){for(var t={},r=_.split(" "),e=0;e*\/]/.test(e)?i(null,"select-op"):/[;{}:\[\]]/.test(e)?i(null,e):(_.eatWhile(/[\w\\\-]/),i("variable","variable"))}function d(_,t){for(var r=!1,e;(e=_.next())!=null;){if(r&&e=="/"){t.tokenize=p;break}r=e=="*"}return i("comment","comment")}function m(_,t){for(var r=0,e;(e=_.next())!=null;){if(r>=2&&e==">"){t.tokenize=p;break}r=e=="-"?r+1:0}return i("comment","comment")}function b(_){return function(t,r){for(var e=!1,f;(f=t.next())!=null&&!(f==_&&!e);)e=!e&&f=="\\";return e||(r.tokenize=p),i("string","string")}}return{startState:function(_){return{tokenize:p,baseIndent:_||0,stack:[]}},token:function(_,t){if(_.eatSpace())return null;o=null;var r=t.tokenize(_,t),e=t.stack[t.stack.length-1];return o=="hash"&&e=="rule"?r="atom":r=="variable"&&(e=="rule"?r="number":(!e||e=="@media{")&&(r="tag")),e=="rule"&&/^[\{\};]$/.test(o)&&t.stack.pop(),o=="{"?e=="@media"?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):o=="}"?t.stack.pop():o=="@media"?t.stack.push("@media"):e=="{"&&o!="comment"&&t.stack.push("rule"),r},indent:function(_,t){var r=_.stack.length;return/^\}/.test(t)&&(r-=_.stack[_.stack.length-1]=="rule"?2:1),_.baseIndent+r*x},electricChars:"}"}}),a.defineMIME("text/x-nginx-conf","nginx")})})();var h=w.exports;const q=v(h),j=z({__proto__:null,default:q},[h]);export{j as n}; diff --git a/dist-ui/assets/no-image-CF2LzJv7.png b/dist-ui/assets/no-image-CF2LzJv7.png new file mode 100644 index 00000000..7b82b046 Binary files /dev/null and b/dist-ui/assets/no-image-CF2LzJv7.png differ diff --git a/dist-ui/assets/nsis-BIbchEWL.js b/dist-ui/assets/nsis-BIbchEWL.js new file mode 100644 index 00000000..43d0d3d7 --- /dev/null +++ b/dist-ui/assets/nsis-BIbchEWL.js @@ -0,0 +1 @@ +import{g as s,c as l,b as S}from"./index-BLHgoTgd.js";function d(i,r){for(var e=0;et[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var I={exports:{}};(function(i,r){(function(e){e(l,S())})(function(e){e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\!\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})})();var a=I.exports;const E=s(a),g=d({__proto__:null,default:E},[a]);export{g as n}; diff --git a/dist-ui/assets/ntriples-CD5PyKsJ.js b/dist-ui/assets/ntriples-CD5PyKsJ.js new file mode 100644 index 00000000..5fe7fd99 --- /dev/null +++ b/dist-ui/assets/ntriples-CD5PyKsJ.js @@ -0,0 +1 @@ +import{g as B,c as P}from"./index-BLHgoTgd.js";function s(f,l){for(var R=0;Re[I]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var N={exports:{}};(function(f,l){(function(R){R(P)})(function(R){R.defineMode("ntriples",function(){var e={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function I(r,n){var i=r.location,_;i==e.PRE_SUBJECT&&n=="<"?_=e.WRITING_SUB_URI:i==e.PRE_SUBJECT&&n=="_"?_=e.WRITING_BNODE_URI:i==e.PRE_PRED&&n=="<"?_=e.WRITING_PRED_URI:i==e.PRE_OBJ&&n=="<"?_=e.WRITING_OBJ_URI:i==e.PRE_OBJ&&n=="_"?_=e.WRITING_OBJ_BNODE:i==e.PRE_OBJ&&n=='"'?_=e.WRITING_OBJ_LITERAL:i==e.WRITING_SUB_URI&&n==">"||i==e.WRITING_BNODE_URI&&n==" "?_=e.PRE_PRED:i==e.WRITING_PRED_URI&&n==">"?_=e.PRE_OBJ:i==e.WRITING_OBJ_URI&&n==">"||i==e.WRITING_OBJ_BNODE&&n==" "||i==e.WRITING_OBJ_LITERAL&&n=='"'||i==e.WRITING_LIT_LANG&&n==" "||i==e.WRITING_LIT_TYPE&&n==">"?_=e.POST_OBJ:i==e.WRITING_OBJ_LITERAL&&n=="@"?_=e.WRITING_LIT_LANG:i==e.WRITING_OBJ_LITERAL&&n=="^"?_=e.WRITING_LIT_TYPE:n==" "&&(i==e.PRE_SUBJECT||i==e.PRE_PRED||i==e.PRE_OBJ||i==e.POST_OBJ)?_=i:i==e.POST_OBJ&&n=="."?_=e.PRE_SUBJECT:_=e.ERROR,r.location=_}return{startState:function(){return{location:e.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(r,n){var i=r.next();if(i=="<"){I(n,i);var _="";return r.eatWhile(function(t){return t!="#"&&t!=">"?(_+=t,!0):!1}),n.uris.push(_),r.match("#",!1)||(r.next(),I(n,">")),"variable"}if(i=="#"){var u="";return r.eatWhile(function(t){return t!=">"&&t!=" "?(u+=t,!0):!1}),n.anchors.push(u),"variable-2"}if(i==">")return I(n,">"),"variable";if(i=="_"){I(n,i);var o="";return r.eatWhile(function(t){return t!=" "?(o+=t,!0):!1}),n.bnodes.push(o),r.next(),I(n," "),"builtin"}if(i=='"')return I(n,i),r.eatWhile(function(t){return t!='"'}),r.next(),r.peek()!="@"&&r.peek()!="^"&&I(n,'"'),"string";if(i=="@"){I(n,"@");var T="";return r.eatWhile(function(t){return t!=" "?(T+=t,!0):!1}),n.langs.push(T),r.next(),I(n," "),"string-2"}if(i=="^"){r.next(),I(n,"^");var E="";return r.eatWhile(function(t){return t!=">"?(E+=t,!0):!1}),n.types.push(E),r.next(),I(n,">"),"variable"}i==" "&&I(n,i),i=="."&&I(n,i)}}}),R.defineMIME("application/n-triples","ntriples"),R.defineMIME("application/n-quads","ntriples"),R.defineMIME("text/n-triples","ntriples")})})();var O=N.exports;const p=B(O),J=s({__proto__:null,default:p},[O]);export{J as n}; diff --git a/dist-ui/assets/octave-D8240sr_.js b/dist-ui/assets/octave-D8240sr_.js new file mode 100644 index 00000000..67dc4358 --- /dev/null +++ b/dist-ui/assets/octave-D8240sr_.js @@ -0,0 +1 @@ +import{g as k,c as E}from"./index-BLHgoTgd.js";function w(u,a){for(var t=0;tr[i]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(u,a){(function(t){t(E)})(function(t){t.defineMode("octave",function(){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var i=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),c=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),s=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),d=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=new RegExp("^((>>=)|(<<=))"),g=new RegExp("^[\\]\\)]"),h=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),x=r(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),v=r(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function l(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=o,"operator"):(n.tokenize=o,o(e,n))}function b(e,n){return e.match(/^.*%}/)?(n.tokenize=o,"comment"):(e.skipToEnd(),"comment")}function o(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=b,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=o,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(r(["nan","NaN","inf","Inf"])))return"number";var f=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":e.match(v)?"keyword":e.match(x)?"builtin":e.match(h)?"variable":e.match(i)||e.match(s)?"operator":e.match(c)||e.match(d)||e.match(m)?null:e.match(g)?(n.tokenize=l,null):(e.next(),"error")}return{startState:function(){return{tokenize:o}},token:function(e,n){var f=n.tokenize(e,n);return(f==="number"||f==="variable")&&(n.tokenize=l),f},lineComment:"%",fold:"indent"}}),t.defineMIME("text/x-octave","octave")})})();var p=y.exports;const z=k(p),R=w({__proto__:null,default:z},[p]);export{R as o}; diff --git a/dist-ui/assets/overlay-Dtk6ZH6S.js b/dist-ui/assets/overlay-Dtk6ZH6S.js new file mode 100644 index 00000000..8e9abf4c --- /dev/null +++ b/dist-ui/assets/overlay-Dtk6ZH6S.js @@ -0,0 +1 @@ +import{c as y}from"./index-BLHgoTgd.js";var a={exports:{}},v;function f(){return v||(v=1,function(c,s){(function(e){e(y)})(function(e){e.overlayMode=function(r,u,i){return{startState:function(){return{base:e.startState(r),overlay:e.startState(u),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(o){return{base:e.copyState(r,o.base),overlay:e.copyState(u,o.overlay),basePos:o.basePos,baseCur:null,overlayPos:o.overlayPos,overlayCur:null}},token:function(o,n){return(o!=n.streamSeen||Math.min(n.basePos,n.overlayPos)u[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(a,l){(function(i){i(P)})(function(i){i.defineMode("oz",function(u){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var f=/[\^@!\|<>#~\.\*\-\+\\/,=]/,v=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,x=/(:::)|(\.\.\.)|(=<:)|(>=:)/,s=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],p=["end"],b=o(["true","false","nil","unit"]),y=o(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),w=o(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),h=o(s),k=o(p);function c(e,n){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(x)||e.match(v))return"operator";if(e.match(b))return"atom";var t=e.match(w);if(t)return n.doInCurrentLine?n.doInCurrentLine=!1:n.currentIndent++,t[0]=="proc"||t[0]=="fun"?n.tokenize=I:t[0]=="class"?n.tokenize=S:t[0]=="meth"&&(n.tokenize=E),"keyword";if(e.match(h)||e.match(y))return"keyword";if(e.match(k))return n.currentIndent--,"keyword";var r=e.next();if(r=='"'||r=="'")return n.tokenize=A(r),n.tokenize(e,n);if(/[~\d]/.test(r)){if(r=="~")if(/^[0-9]/.test(e.peek())){if(e.next()=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}else return null;return r=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return r=="%"?(e.skipToEnd(),"comment"):r=="/"&&e.eat("*")?(n.tokenize=m,m(e,n)):f.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function S(e,n){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=c,"variable-3")}function E(e,n){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=c,"def")}function I(e,n){return e.eatSpace()?null:!n.hasPassedFirstStage&&e.eat("{")?(n.hasPassedFirstStage=!0,"bracket"):n.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),n.hasPassedFirstStage=!1,n.tokenize=c,"def"):(n.tokenize=c,null)}function m(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=c;break}t=r=="*"}return"comment"}function A(e){return function(n,t){for(var r=!1,d,z=!1;(d=n.next())!=null;){if(d==e&&!r){z=!0;break}r=!r&&d=="\\"}return(z||!r)&&(t.tokenize=c),"string"}}function C(){var e=s.concat(p);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}return{startState:function(){return{tokenize:c,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,n){return e.sol()&&(n.doInCurrentLine=0),n.tokenize(e,n)},indent:function(e,n){var t=n.replace(/^\s+|\s+$/g,"");return t.match(k)||t.match(h)||t.match(/(\[])/)?u.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*u.indentUnit},fold:"indent",electricInput:C(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}}),i.defineMIME("text/x-oz","oz")})})();var g=_.exports;const j=F(g),$=O({__proto__:null,default:j},[g]);export{$ as o}; diff --git a/dist-ui/assets/pascal-DeeHw5Ia.js b/dist-ui/assets/pascal-DeeHw5Ia.js new file mode 100644 index 00000000..93d0446b --- /dev/null +++ b/dist-ui/assets/pascal-DeeHw5Ia.js @@ -0,0 +1 @@ +import{g,c as h}from"./index-BLHgoTgd.js";function x(c,u){for(var o=0;oi[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(c,u){(function(o){o(h)})(function(o){o.defineMode("pascal",function(){function i(r){for(var t={},e=r.split(" "),n=0;n!?|\/]/;function b(r,t){var e=r.next();if(e=="#"&&t.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return t.tokenize=v(e),t.tokenize(r,t);if(e=="("&&r.eat("*"))return t.tokenize=p,p(r,t);if(e=="{")return t.tokenize=d,d(r,t);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(f.test(e))return r.eatWhile(f),"operator";r.eatWhile(/[\w\$_]/);var n=r.current();return a.propertyIsEnumerable(n)?"keyword":l.propertyIsEnumerable(n)?"atom":"variable"}function v(r){return function(t,e){for(var n=!1,s,m=!1;(s=t.next())!=null;){if(s==r&&!n){m=!0;break}n=!n&&s=="\\"}return(m||!n)&&(e.tokenize=null),"string"}}function p(r,t){for(var e=!1,n;n=r.next();){if(n==")"&&e){t.tokenize=null;break}e=n=="*"}return"comment"}function d(r,t){for(var e;e=r.next();)if(e=="}"){t.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(r,t){if(r.eatSpace())return null;var e=(t.tokenize||b)(r,t);return e=="comment"||e=="meta",e},electricChars:"{}"}}),o.defineMIME("text/x-pascal","pascal")})})();var k=y.exports;const w=g(k),E=x({__proto__:null,default:w},[k]);export{E as p}; diff --git a/dist-ui/assets/pastebar-accessibility-settings-monterey-CdsSxQWR.gif b/dist-ui/assets/pastebar-accessibility-settings-monterey-CdsSxQWR.gif new file mode 100644 index 00000000..7878d1f7 Binary files /dev/null and b/dist-ui/assets/pastebar-accessibility-settings-monterey-CdsSxQWR.gif differ diff --git a/dist-ui/assets/pastebar-accessibility-settings-ventura-B5xWaNbv.gif b/dist-ui/assets/pastebar-accessibility-settings-ventura-B5xWaNbv.gif new file mode 100644 index 00000000..a2cc4359 Binary files /dev/null and b/dist-ui/assets/pastebar-accessibility-settings-ventura-B5xWaNbv.gif differ diff --git a/dist-ui/assets/pegjs-DCLlvpcN.js b/dist-ui/assets/pegjs-DCLlvpcN.js new file mode 100644 index 00000000..88c76310 --- /dev/null +++ b/dist-ui/assets/pegjs-DCLlvpcN.js @@ -0,0 +1 @@ +import{g,c as h,a as d}from"./index-BLHgoTgd.js";function C(c,t){for(var i=0;il[r]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(c,t){(function(i){i(h,d())})(function(i){i.defineMode("pegjs",function(l){var r=i.getMode(l,"javascript");function o(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(e,n){if(!n.inString&&!n.inComment&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.inString=!0),!n.inString&&!n.inComment&&e.match("/*")&&(n.inComment=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}else if(n.inComment){for(;n.inComment&&!e.eol();)e.match("*/")?n.inComment=!1:e.match(/^.[^\*]*/);return"comment"}else if(n.inCharacterClass)for(;n.inCharacterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||(n.inCharacterClass=!1);else{if(e.peek()==="[")return e.next(),n.inCharacterClass=!0,"bracket";if(e.match("//"))return e.skipToEnd(),"comment";if(n.braced||e.peek()==="{"){n.localState===null&&(n.localState=i.startState(r));var u=r.token(e,n.localState),p=e.current();if(!u)for(var f=0;fl[R]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(d,c){(function(E){E(P)})(function(E){E.defineMode("perl",function(){var $={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},u="string-2",f=/[goseximacplud]/;function r(n,i,o,p,_){return i.chain=null,i.style=null,i.tail=null,i.tokenize=function(e,T){for(var S=!1,I,N=0;I=e.next();){if(I===o[N]&&!S)return o[++N]!==void 0?(T.chain=o[N],T.style=p,T.tail=_):_&&e.eatWhile(_),T.tokenize=g,p;S=!S&&I=="\\"}return p},i.tokenize(n,i)}function O(n,i,o){return i.tokenize=function(p,_){return p.string==o&&(_.tokenize=g),p.skipToEnd(),"string"},i.tokenize(n,i)}function g(n,i){if(n.eatSpace())return null;if(i.chain)return r(n,i,i.chain,i.style,i.tail);if(n.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(n.match(/^<<(?=[_a-zA-Z])/))return n.eatWhile(/\w/),O(n,i,n.current().substr(2));if(n.sol()&&n.match(/^\=item(?!\w)/))return O(n,i,"=cut");var o=n.next();if(o=='"'||o=="'"){if(R(n,3)=="<<"+o){var p=n.pos;n.eatWhile(/\w/);var _=n.current().substr(1);if(_&&n.eat(o))return O(n,i,_);n.pos=p}return r(n,i,[o],"string")}if(o=="q"){var e=l(n,-2);if(!(e&&/\w/.test(e))){if(e=l(n,0),e=="x"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],u,f);if(e=="[")return t(n,2),r(n,i,["]"],u,f);if(e=="{")return t(n,2),r(n,i,["}"],u,f);if(e=="<")return t(n,2),r(n,i,[">"],u,f);if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],u,f)}else if(e=="q"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],"string");if(e=="[")return t(n,2),r(n,i,["]"],"string");if(e=="{")return t(n,2),r(n,i,["}"],"string");if(e=="<")return t(n,2),r(n,i,[">"],"string");if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],"string")}else if(e=="w"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],"bracket");if(e=="[")return t(n,2),r(n,i,["]"],"bracket");if(e=="{")return t(n,2),r(n,i,["}"],"bracket");if(e=="<")return t(n,2),r(n,i,[">"],"bracket");if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],"bracket")}else if(e=="r"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],u,f);if(e=="[")return t(n,2),r(n,i,["]"],u,f);if(e=="{")return t(n,2),r(n,i,["}"],u,f);if(e=="<")return t(n,2),r(n,i,[">"],u,f);if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],u,f)}else if(/[\^'"!~\/(\[{<]/.test(e)){if(e=="(")return t(n,1),r(n,i,[")"],"string");if(e=="[")return t(n,1),r(n,i,["]"],"string");if(e=="{")return t(n,1),r(n,i,["}"],"string");if(e=="<")return t(n,1),r(n,i,[">"],"string");if(/[\^'"!~\/]/.test(e))return r(n,i,[n.eat(e)],"string")}}}if(o=="m"){var e=l(n,-2);if(!(e&&/\w/.test(e))&&(e=n.eat(/[(\[{<\^'"!~\/]/),e)){if(/[\^'"!~\/]/.test(e))return r(n,i,[e],u,f);if(e=="(")return r(n,i,[")"],u,f);if(e=="[")return r(n,i,["]"],u,f);if(e=="{")return r(n,i,["}"],u,f);if(e=="<")return r(n,i,[">"],u,f)}}if(o=="s"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="y"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="t"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat("r"),e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e)))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="`")return r(n,i,[o],"variable-2");if(o=="/")return/~\s*$/.test(R(n))?r(n,i,[o],u,f):"operator";if(o=="$"){var p=n.pos;if(n.eatWhile(/\d/)||n.eat("{")&&n.eatWhile(/\d/)&&n.eat("}"))return"variable-2";n.pos=p}if(/[$@%]/.test(o)){var p=n.pos;if(n.eat("^")&&n.eat(/[A-Z]/)||!/[@$%&]/.test(l(n,-2))&&n.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var e=n.current();if($[e])return"variable-2"}n.pos=p}if(/[$@%&]/.test(o)&&(n.eatWhile(/[\w$]/)||n.eat("{")&&n.eatWhile(/[\w$]/)&&n.eat("}"))){var e=n.current();return $[e]?"variable-2":"variable"}if(o=="#"&&l(n,-2)!="$")return n.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(o)){var p=n.pos;if(n.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),$[n.current()])return"operator";n.pos=p}if(o=="_"&&n.pos==1){if(A(n,6)=="_END__")return r(n,i,["\0"],"comment");if(A(n,7)=="_DATA__")return r(n,i,["\0"],"variable-2");if(A(n,7)=="_C__")return r(n,i,["\0"],"string")}if(/\w/.test(o)){var p=n.pos;if(l(n,-2)=="{"&&(l(n,0)=="}"||n.eatWhile(/\w/)&&l(n,0)=="}"))return"string";n.pos=p}if(/[A-Z]/.test(o)){var T=l(n,-2),p=n.pos;if(n.eatWhile(/[A-Z_]/),/[\da-z]/.test(l(n,0)))n.pos=p;else{var e=$[n.current()];return e?(e[1]&&(e=e[0]),T!=":"?e==1?"keyword":e==2?"def":e==3?"atom":e==4?"operator":e==5?"variable-2":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(o)){var T=l(n,-2);n.eatWhile(/\w/);var e=$[n.current()];return e?(e[1]&&(e=e[0]),T!=":"?e==1?"keyword":e==2?"def":e==3?"atom":e==4?"operator":e==5?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:g,chain:null,style:null,tail:null}},token:function(n,i){return(i.tokenize||g)(n,i)},lineComment:"#"}}),E.registerHelper("wordChars","perl",/[\w$]/),E.defineMIME("text/x-perl","perl");function l($,u){return $.string.charAt($.pos+(u||0))}function R($,u){if(u){var f=$.pos-u;return $.string.substr(f>=0?f:0,u)}else return $.string.substr(0,$.pos-1)}function A($,u){var f=$.string.length,r=f-$.pos+1;return $.string.substr($.pos,u&&u=(r=$.string.length-1)?$.pos=r:$.pos=f}})})();var v=k.exports;const D=h(v),y=b({__proto__:null,default:D},[v]);export{y as p}; diff --git a/dist-ui/assets/php-Bcri55Zr.js b/dist-ui/assets/php-Bcri55Zr.js new file mode 100644 index 00000000..6ff0b0f6 --- /dev/null +++ b/dist-ui/assets/php-Bcri55Zr.js @@ -0,0 +1 @@ +import{g as x,c as S}from"./index-BLHgoTgd.js";import{r as z}from"./htmlmixed-DMkIMe4i.js";import{a as j}from"./clike-Cm0RcWKo.js";function E(g,f){for(var i=0;ia[o]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(g,f){(function(i){i(S,z(),j)})(function(i){function a(t){for(var _={},l=t.split(" "),s=0;s\w/,!1)&&(_.tokenize=o([[["->",null]],[[/[\w]+/,"variable"]]],l,s)),"variable-2";for(var n=!1;!t.eol()&&(n||s===!1||!t.match("{$",!1)&&!t.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!n&&t.match(l)){_.tokenize=null,_.tokStack.pop(),_.tokStack.pop();break}n=t.next()=="\\"&&!n}return"string"}var y="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally readonly match",h="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",q="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";i.registerHelper("hintWords","php",[y,h,q].join(" ").split(" ")),i.registerHelper("wordChars","php",/[\w$]/);var k={name:"clike",helperType:"php",keywords:a(y),blockKeywords:a("catch do else elseif for foreach if switch try while finally"),defKeywords:a("class enum function interface namespace trait"),atoms:a(h),builtin:a(q),multiLineStrings:!0,hooks:{$:function(t){return t.eatWhile(/[\w\$_]/),"variable-2"},"<":function(t,_){var l;if(l=t.match(/^<<\s*/)){var s=t.eat(/['"]/);t.eatWhile(/[\w\.]/);var n=t.current().slice(l[0].length+(s?2:1));if(s&&t.eat(s),n)return(_.tokStack||(_.tokStack=[])).push(n,0),_.tokenize=c(n,s!="'"),"string"}return!1},"#":function(t){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"},"/":function(t){if(t.eat("/")){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"}return!1},'"':function(t,_){return(_.tokStack||(_.tokStack=[])).push('"',0),_.tokenize=c('"'),"string"},"{":function(t,_){return _.tokStack&&_.tokStack.length&&_.tokStack[_.tokStack.length-1]++,!1},"}":function(t,_){return _.tokStack&&_.tokStack.length>0&&!--_.tokStack[_.tokStack.length-1]&&(_.tokenize=c(_.tokStack[_.tokStack.length-2])),!1}}};i.defineMode("php",function(t,_){var l=i.getMode(t,_&&_.htmlMode||"text/html"),s=i.getMode(t,k);function n(r,e){var p=e.curMode==s;if(r.sol()&&e.pending&&e.pending!='"'&&e.pending!="'"&&(e.pending=null),p)return p&&e.php.tokenize==null&&r.match("?>")?(e.curMode=l,e.curState=e.html,e.php.context.prev||(e.php=null),"meta"):s.token(r,e.curState);if(r.match(/^<\?\w*/))return e.curMode=s,e.php||(e.php=i.startState(s,l.indent(e.html,"",""))),e.curState=e.php,"meta";if(e.pending=='"'||e.pending=="'"){for(;!r.eol()&&r.next()!=e.pending;);var m="string"}else if(e.pending&&r.pos/.test(u)?e.pending=b[0]:e.pending={end:r.pos,style:m},r.backUp(u.length-d)),m}return{startState:function(){var r=i.startState(l),e=_.startOpen?i.startState(s):null;return{html:r,php:e,curMode:_.startOpen?s:l,curState:_.startOpen?e:r,pending:null}},copyState:function(r){var e=r.html,p=i.copyState(l,e),m=r.php,u=m&&i.copyState(s,m),d;return r.curMode==l?d=p:d=u,{html:p,php:u,curMode:r.curMode,curState:d,pending:r.pending}},token:n,indent:function(r,e,p){return r.curMode!=s&&/^\s*<\//.test(e)||r.curMode==s&&/^\?>/.test(e)?l.indent(r.html,e,p):r.curMode.indent(r.curState,e,p)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(r){return{state:r.curState,mode:r.curMode}}}},"htmlmixed","clike"),i.defineMIME("application/x-httpd-php","php"),i.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),i.defineMIME("text/x-php",k)})})();var v=M.exports;const $=x(v),N=E({__proto__:null,default:$},[v]);export{N as p}; diff --git a/dist-ui/assets/pig-BjYWlH9O.js b/dist-ui/assets/pig-BjYWlH9O.js new file mode 100644 index 00000000..970cea14 --- /dev/null +++ b/dist-ui/assets/pig-BjYWlH9O.js @@ -0,0 +1 @@ +import{g as s,c as G}from"./index-BLHgoTgd.js";function M(S,u){for(var n=0;nT[r]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(S,u){(function(n){n(G)})(function(n){n.defineMode("pig",function(T,r){var E=r.keywords,i=r.builtins,R=r.types,o=r.multiLineStrings,N=/[*+\-%<>=&?:\/!|]/;function A(e,O,t){return O.tokenize=t,t(e,O)}function f(e,O){for(var t=!1,I;I=e.next();){if(I=="/"&&t){O.tokenize=L;break}t=I=="*"}return"comment"}function a(e){return function(O,t){for(var I=!1,l,p=!1;(l=O.next())!=null;){if(l==e&&!I){p=!0;break}I=!I&&l=="\\"}return(p||!(I||o))&&(t.tokenize=L),"error"}}function L(e,O){var t=e.next();return t=='"'||t=="'"?A(e,O,a(t)):/[\[\]{}\(\),;\.]/.test(t)?null:/\d/.test(t)?(e.eatWhile(/[\w\.]/),"number"):t=="/"?e.eat("*")?A(e,O,f):(e.eatWhile(N),"operator"):t=="-"?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(N),"operator"):N.test(t)?(e.eatWhile(N),"operator"):(e.eatWhile(/[\w\$_]/),E&&E.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":i&&i.propertyIsEnumerable(e.current().toUpperCase())?"variable-2":R&&R.propertyIsEnumerable(e.current().toUpperCase())?"variable-3":"variable")}return{startState:function(){return{tokenize:L,startOfLine:!0}},token:function(e,O){if(e.eatSpace())return null;var t=O.tokenize(e,O);return t}}}),function(){function T(R){for(var o={},N=R.split(" "),A=0;Ai[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var V={exports:{}};(function(l,f){(function(u){u(W)})(function(u){u.defineMode("powershell",function(){function i(e,r){r=r||{};for(var n=r.prefix!==void 0?r.prefix:"^",o=r.suffix!==void 0?r.suffix:"\\b",t=0;t/,y=i([x,E],{suffix:""}),w=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,M=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,R=/[A-Z]:|%|\?/i,I=i([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),j=i([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),z=i([R,I,j],{suffix:c}),m={keyword:h,number:w,operator:y,builtin:z,punctuation:k,identifier:M};function a(e,r){var n=r.returnStack[r.returnStack.length-1];if(n&&n.shouldReturnFrom(r))return r.tokenize=n.tokenize,r.returnStack.pop(),r.tokenize(e,r);if(e.eatSpace())return null;if(e.eat("("))return r.bracketNesting+=1,"punctuation";if(e.eat(")"))return r.bracketNesting-=1,"punctuation";for(var o in m)if(e.match(m[o]))return o;var t=e.next();if(t==="'")return O(e,r);if(t==="$")return S(e,r);if(t==='"')return d(e,r);if(t==="<"&&e.eat("#"))return r.tokenize=v,v(e,r);if(t==="#")return e.skipToEnd(),"comment";if(t==="@"){var b=e.eat(/["']/);if(b&&e.eol())return r.tokenize=p,r.startQuote=b[0],p(e,r);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(s))return S(e,r)}return"error"}function O(e,r){for(var n;(n=e.peek())!=null;)if(e.next(),n==="'"&&!e.eat("'"))return r.tokenize=a,"string";return"error"}function d(e,r){for(var n;(n=e.peek())!=null;){if(n==="$")return r.tokenize=D,"string";if(e.next(),n==="`"){e.next();continue}if(n==='"'&&!e.eat('"'))return r.tokenize=a,"string"}return"error"}function D(e,r){return g(e,r,d)}function T(e,r){return r.tokenize=p,r.startQuote='"',p(e,r)}function A(e,r){return g(e,r,T)}function g(e,r,n){if(e.match("$(")){var o=r.bracketNesting;return r.returnStack.push({shouldReturnFrom:function(t){return t.bracketNesting===o},tokenize:n}),r.tokenize=a,r.bracketNesting+=1,"punctuation"}else return e.next(),r.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),r.tokenize=S,r.tokenize(e,r)}function v(e,r){for(var n=!1,o;(o=e.next())!=null;){if(n&&o==">"){r.tokenize=a;break}n=o==="#"}return"comment"}function S(e,r){var n=e.peek();return e.eat("{")?(r.tokenize=P,P(e,r)):n!=null&&n.match(s)?(e.eatWhile(s),r.tokenize=a,"variable-2"):(r.tokenize=a,"error")}function P(e,r){for(var n;(n=e.next())!=null;)if(n==="}"){r.tokenize=a;break}return"variable-2"}function p(e,r){var n=r.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))r.tokenize=a;else if(n==='"')for(;!e.eol();){var o=e.peek();if(o==="$")return r.tokenize=A,"string";e.next(),o==="`"&&e.next()}else e.skipToEnd();return"string"}var F={startState:function(){return{returnStack:[],bracketNesting:0,tokenize:a}},token:function(e,r){return r.tokenize(e,r)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"};return F}),u.defineMIME("application/x-powershell","powershell")})})();var C=V.exports;const N=H(C),J=L({__proto__:null,default:N},[C]);export{J as p}; diff --git a/dist-ui/assets/prism-c-BI05wwL9.js b/dist-ui/assets/prism-c-BI05wwL9.js new file mode 100644 index 00000000..673941a6 --- /dev/null +++ b/dist-ui/assets/prism-c-BI05wwL9.js @@ -0,0 +1 @@ +Prism.languages.c=Prism.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|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.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},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.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:Prism.languages.c}}}});Prism.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 Prism.languages.c.boolean; diff --git a/dist-ui/assets/prism-csharp-aZJd74Dz.js b/dist-ui/assets/prism-csharp-aZJd74Dz.js new file mode 100644 index 00000000..d58c8af1 --- /dev/null +++ b/dist-ui/assets/prism-csharp-aZJd74Dz.js @@ -0,0 +1 @@ +(function(t){function r(n,u){return n.replace(/<<(\d+)>>/g,function(d,F){return"(?:"+u[+F]+")"})}function e(n,u,d){return RegExp(r(n,u),d||"")}function l(n,u){for(var d=0;d>/g,function(){return"(?:"+n+")"});return n.replace(/<>/g,"[^\\s\\S]")}var s={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function p(n){return"\\b(?:"+n.trim().replace(/ /g,"|")+")\\b"}var k=p(s.typeDeclaration),g=RegExp(p(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),C=p(s.typeDeclaration+" "+s.contextual+" "+s.other),K=p(s.type+" "+s.typeDeclaration+" "+s.other),b=l(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=l(/\((?:[^()]|<>)*\)/.source,2),o=/@?\b[A-Za-z_]\w*\b/.source,f=r(/<<0>>(?:\s*<<1>>)?/.source,[o,b]),i=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[C,f]),y=/\[\s*(?:,\s*)*\]/.source,T=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[i,y]),z=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[b,h,y]),j=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[z]),c=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[j,i,y]),a={keyword:g,punctuation:/[<>()?,.:[\]]/},m=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,w=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:e(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:e(/(^|[^@$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:e(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[i]),lookbehind:!0,inside:a},{pattern:e(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[o,c]),lookbehind:!0,inside:a},{pattern:e(/(\busing\s+)<<0>>(?=\s*=)/.source,[o]),lookbehind:!0},{pattern:e(/(\b<<0>>\s+)<<1>>/.source,[k,f]),lookbehind:!0,inside:a},{pattern:e(/(\bcatch\s*\(\s*)<<0>>/.source,[i]),lookbehind:!0,inside:a},{pattern:e(/(\bwhere\s+)<<0>>/.source,[o]),lookbehind:!0},{pattern:e(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[T]),lookbehind:!0,inside:a},{pattern:e(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[c,K,o]),inside:a}],keyword:g,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:e(/([(,]\s*)<<0>>(?=\s*:)/.source,[o]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:e(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[o]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:e(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:a},"return-type":{pattern:e(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[c,i]),inside:a,alias:"class-name"},"constructor-invocation":{pattern:e(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[c]),lookbehind:!0,inside:a,alias:"class-name"},"generic-method":{pattern:e(/<<0>>\s*<<1>>(?=\s*\()/.source,[o,b]),inside:{function:e(/^<<0>>/.source,[o]),generic:{pattern:RegExp(b),alias:"class-name",inside:a}}},"type-list":{pattern:e(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[k,f,o,c,g.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:e(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,h]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:g,"class-name":{pattern:RegExp(c),greedy:!0,inside:a},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var x=w+"|"+m,E=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),S=l(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[E]),2),R=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[i,S]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:e(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[R,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:e(/^<<0>>(?=\s*:)/.source,[R]),alias:"keyword"},"attribute-arguments":{pattern:e(/\(<<0>>*\)/.source,[S]),inside:t.languages.csharp},"class-name":{pattern:RegExp(i),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var v=/:[^}\r\n]+/.source,$=l(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[E]),2),I=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[$,v]),_=l(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[x]),2),B=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[_,v]);function D(n,u){return{interpolation:{pattern:e(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[n]),lookbehind:!0,inside:{"format-string":{pattern:e(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[u,v]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:e(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:D(I,$)},{pattern:e(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[B]),lookbehind:!0,greedy:!0,inside:D(B,_)}],char:{pattern:RegExp(m),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp})(Prism); diff --git a/dist-ui/assets/prism-css-Cp0aSgQ4.js b/dist-ui/assets/prism-css-Cp0aSgQ4.js new file mode 100644 index 00000000..f602c12e --- /dev/null +++ b/dist-ui/assets/prism-css-Cp0aSgQ4.js @@ -0,0 +1 @@ +(function(s){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;s.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,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:/[(){};:,]/},s.languages.css.atrule.inside.rest=s.languages.css;var t=s.languages.markup;t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))})(Prism); diff --git a/dist-ui/assets/prism-dart-MjriiaMt.js b/dist-ui/assets/prism-dart-MjriiaMt.js new file mode 100644 index 00000000..4244e8b1 --- /dev/null +++ b/dist-ui/assets/prism-dart-MjriiaMt.js @@ -0,0 +1 @@ +(function(e){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],t=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(t+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[a,{pattern:RegExp(t+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(Prism); diff --git a/dist-ui/assets/prism-java-Bz0cy7o8.js b/dist-ui/assets/prism-java-Bz0cy7o8.js new file mode 100644 index 00000000..6a07aef2 --- /dev/null +++ b/dist-ui/assets/prism-java-Bz0cy7o8.js @@ -0,0 +1 @@ +(function(t){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,s=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,e={pattern:RegExp(/(^|[^\w.])/.source+s+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[e,{pattern:RegExp(/(^|[^\w.])/.source+s+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:e.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+s+/[A-Z]\w*\b/.source),lookbehind:!0,inside:e.inside}],keyword:n,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":e,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+s+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:e.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+s+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:e.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism); diff --git a/dist-ui/assets/prism-json-xwnKirkR.js b/dist-ui/assets/prism-json-xwnKirkR.js new file mode 100644 index 00000000..81219ceb --- /dev/null +++ b/dist-ui/assets/prism-json-xwnKirkR.js @@ -0,0 +1 @@ +Prism.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"}};Prism.languages.webmanifest=Prism.languages.json; diff --git a/dist-ui/assets/prism-markdown-4MKFcK2x.js b/dist-ui/assets/prism-markdown-4MKFcK2x.js new file mode 100644 index 00000000..b15e371a --- /dev/null +++ b/dist-ui/assets/prism-markdown-4MKFcK2x.js @@ -0,0 +1 @@ +(function(e){var f=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function d(n){return n=n.replace(//g,function(){return f}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+n+")")}var g=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,p=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return g}),c=/\|?[ \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("^"+p+c+"(?:"+p+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+p+c+")(?:"+p+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(g),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+p+")"+c+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+p+"$"),inside:{"table-header":{pattern:RegExp(g),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:d(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:d(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:d(/(~~?)(?:(?!~))+\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:d(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.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(n){["url","bold","italic","strike","code-snippet"].forEach(function(t){n!==t&&(e.languages.markdown[n].inside.content.inside[t]=e.languages.markdown[t])})}),e.hooks.add("after-tokenize",function(n){if(n.language!=="markdown"&&n.language!=="md")return;function t(i){if(!(!i||typeof i=="string"))for(var r=0,u=i.length;r",quot:'"'},_=String.fromCodePoint||String.fromCharCode;function m(n){var t=n.replace(h,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(i,r){if(r=r.toLowerCase(),r[0]==="#"){var u;return r[1]==="x"?u=parseInt(r.slice(2),16):u=Number(r.slice(1)),_(u)}else{var o=k[r];return o||i}}),t}e.languages.md=e.languages.markdown})(Prism); diff --git a/dist-ui/assets/prism-markup-templating-Ct1xsyfA.js b/dist-ui/assets/prism-markup-templating-Ct1xsyfA.js new file mode 100644 index 00000000..ec3c85f4 --- /dev/null +++ b/dist-ui/assets/prism-markup-templating-Ct1xsyfA.js @@ -0,0 +1 @@ +(function(u){function s(r,a){return"___"+r.toUpperCase()+a+"___"}Object.defineProperties(u.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,a,c,e){if(r.language===a){var f=r.tokenStack=[];r.code=r.code.replace(c,function(n){if(typeof e=="function"&&!e(n))return n;for(var i=f.length,t;r.code.indexOf(t=s(a,i))!==-1;)++i;return f[i]=n,t}),r.grammar=u.languages.markup}}},tokenizePlaceholders:{value:function(r,a){if(r.language!==a||!r.tokenStack)return;r.grammar=u.languages[a];var c=0,e=Object.keys(r.tokenStack);function f(n){for(var i=0;i=e.length);i++){var t=n[i];if(typeof t=="string"||t.content&&typeof t.content=="string"){var p=e[c],y=r.tokenStack[p],g=typeof t=="string"?t:t.content,h=s(a,p),l=g.indexOf(h);if(l>-1){++c;var d=g.substring(0,l),v=new u.Token(a,u.tokenize(y,r.grammar),"language-"+a,y),k=g.substring(l+h.length),o=[];d&&o.push.apply(o,f([d])),o.push(v),k&&o.push.apply(o,f([k])),typeof t=="string"?n.splice.apply(n,[i,1].concat(o)):t.content=o}}else t.content&&f(t.content)}return n}f(r.tokens)}}})})(Prism); diff --git a/dist-ui/assets/prism-path-CC2I6U-X.js b/dist-ui/assets/prism-path-CC2I6U-X.js new file mode 100644 index 00000000..66e9bc49 --- /dev/null +++ b/dist-ui/assets/prism-path-CC2I6U-X.js @@ -0,0 +1 @@ +Prism.languages.path={slash:{pattern:/[\/\\]/,alias:"cdata"},property:{pattern:/[\w\s-]+(?=[\/\\])/,lookbehind:!0,greedy:!0,alias:"folder"},string:{pattern:/\.(html|css|js|ts|json|md|svg|png|jpg|gif|woff2|exe|com|app|sh|bat|rs|txt|docx|xlsx|pptx|pdf|psd|mp3|mp4|avi|mov|mkv|flac|wav|ai|eps|zip|rar|7z|tar\.gz|deb|pkg|dmg)$/,inside:{punctuation:/^\./},alias:"extension"},selector:{pattern:/[\w\s\-\(\)]+(?=\.[\w-]+$|$)/,lookbehind:!0,greedy:!0,alias:"filename"}}; diff --git a/dist-ui/assets/prism-php-Y_bwvUTe.js b/dist-ui/assets/prism-php-Y_bwvUTe.js new file mode 100644 index 00000000..fe7c8c72 --- /dev/null +++ b/dist-ui/assets/prism-php-Y_bwvUTe.js @@ -0,0 +1 @@ +(function(e){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,r=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,s=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:r,punctuation:s};var l={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},o=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:l}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:l}}];e.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:i,operator:r,punctuation:s}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){if(/<\?/.test(t.code)){var u=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(t,"php",u)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})})(Prism); diff --git a/dist-ui/assets/prism-regex-DCddBNSB.js b/dist-ui/assets/prism-regex-DCddBNSB.js new file mode 100644 index 00000000..8b0e05f5 --- /dev/null +++ b/dist-ui/assets/prism-regex-DCddBNSB.js @@ -0,0 +1 @@ +(function(n){var e={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,s={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},t="(?:[^\\\\-]|"+a.source+")",p=RegExp(t+"-"+t),r={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:p,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":e,"char-set":i,escape:a}},"special-escape":e,"char-set":s,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":r}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",t=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+t),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+t+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby})(Prism); diff --git a/dist-ui/assets/prism-shell-session-C8ifCaAv.js b/dist-ui/assets/prism-shell-session-C8ifCaAv.js new file mode 100644 index 00000000..fcef5970 --- /dev/null +++ b/dist-ui/assets/prism-shell-session-C8ifCaAv.js @@ -0,0 +1 @@ +(function(s){var e=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");s.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return e}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:s.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},s.languages["sh-session"]=s.languages.shellsession=s.languages["shell-session"]})(Prism); diff --git a/dist-ui/assets/prism-sql-AgAyy5H_.js b/dist-ui/assets/prism-sql-AgAyy5H_.js new file mode 100644 index 00000000..a95a56fd --- /dev/null +++ b/dist-ui/assets/prism-sql-AgAyy5H_.js @@ -0,0 +1 @@ +Prism.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:/[;[\]()`,.]/}; diff --git a/dist-ui/assets/prism-uri-BQNPRq5q.js b/dist-ui/assets/prism-uri-BQNPRq5q.js new file mode 100644 index 00000000..64714fe1 --- /dev/null +++ b/dist-ui/assets/prism-uri-BQNPRq5q.js @@ -0,0 +1 @@ +Prism.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}};Prism.languages.url=Prism.languages.uri; diff --git a/dist-ui/assets/prism-yaml-Chm5ZdEN.js b/dist-ui/assets/prism-yaml-Chm5ZdEN.js new file mode 100644 index 00000000..2b9d7cfa --- /dev/null +++ b/dist-ui/assets/prism-yaml-Chm5ZdEN.js @@ -0,0 +1 @@ +(function(r){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",d=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function e(i,u){u=(u||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return i});return RegExp(p,u)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+d+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:e(/\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:e(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:e(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:e(o),lookbehind:!0,greedy:!0},number:{pattern:e(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml})(Prism); diff --git a/dist-ui/assets/properties-D2cvsqKQ.js b/dist-ui/assets/properties-D2cvsqKQ.js new file mode 100644 index 00000000..6d19ad1c --- /dev/null +++ b/dist-ui/assets/properties-D2cvsqKQ.js @@ -0,0 +1 @@ +import{g as u,c}from"./index-BLHgoTgd.js";function s(r,f){for(var o=0;oi[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(r,f){(function(o){o(c)})(function(o){o.defineMode("properties",function(){return{token:function(i,e){var n=i.sol()||e.afterSection,p=i.eol();if(e.afterSection=!1,n&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),p&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),n)for(;i.eatSpace(););var t=i.next();return n&&(t==="#"||t==="!"||t===";")?(e.position="comment",i.skipToEnd(),"comment"):n&&t==="["?(e.afterSection=!0,i.skipTo("]"),i.eat("]"),"header"):t==="="||t===":"?(e.position="quote",null):(t==="\\"&&e.position==="quote"&&i.eol()&&(e.nextMultiline=!0),e.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),o.defineMIME("text/x-properties","properties"),o.defineMIME("text/x-ini","properties")})})();var l=x.exports;const d=u(l),M=s({__proto__:null,default:d},[l]);export{M as p}; diff --git a/dist-ui/assets/protobuf-eLCbTUlB.js b/dist-ui/assets/protobuf-eLCbTUlB.js new file mode 100644 index 00000000..8d95a973 --- /dev/null +++ b/dist-ui/assets/protobuf-eLCbTUlB.js @@ -0,0 +1 @@ +import{g as c,c as d}from"./index-BLHgoTgd.js";function s(f,i){for(var t=0;tn[r]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(f,i){(function(t){t(d)})(function(t){function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],o=n(r);t.registerHelper("hintWords","protobuf",r);var a=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function p(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(o)?"keyword":e.match(a)?"variable":(e.next(),null)}t.defineMode("protobuf",function(){return{token:p,fold:"brace"}}),t.defineMIME("text/x-protobuf","protobuf")})})();var u=l.exports;const b=c(u),g=s({__proto__:null,default:b},[u]);export{g as p}; diff --git a/dist-ui/assets/pug-C1X8HA5I.js b/dist-ui/assets/pug-C1X8HA5I.js new file mode 100644 index 00000000..2d986789 --- /dev/null +++ b/dist-ui/assets/pug-C1X8HA5I.js @@ -0,0 +1 @@ +import{g as un,c as cn,a as fn}from"./index-BLHgoTgd.js";import{a as ln}from"./css-BBinNfwf.js";import{r as on}from"./htmlmixed-DMkIMe4i.js";function an(l,o){for(var r=0;ru[t]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var pn={exports:{}};(function(l,o){(function(r){r(cn,fn(),ln,on())})(function(r){r.defineMode("pug",function(u){var t="keyword",f="meta",j="builtin",b="qualifier",h={"{":"}","(":")","[":"]"},c=r.getMode(u,"javascript");function a(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=r.startState(c),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}a.prototype.copy=function(){var n=new a;return n.javaScriptLine=this.javaScriptLine,n.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,n.javaScriptArguments=this.javaScriptArguments,n.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,n.isInterpolating=this.isInterpolating,n.interpolationNesting=this.interpolationNesting,n.jsState=r.copyState(c,this.jsState),n.innerMode=this.innerMode,this.innerMode&&this.innerState&&(n.innerState=r.copyState(this.innerMode,this.innerState)),n.restOfLine=this.restOfLine,n.isIncludeFiltered=this.isIncludeFiltered,n.isEach=this.isEach,n.lastTag=this.lastTag,n.scriptType=this.scriptType,n.isAttrs=this.isAttrs,n.attrsNest=this.attrsNest.slice(),n.inAttributeName=this.inAttributeName,n.attributeIsType=this.attributeIsType,n.attrValue=this.attrValue,n.indentOf=this.indentOf,n.indentToken=this.indentToken,n.innerModeForLine=this.innerModeForLine,n};function L(n,i){if(n.sol()&&(i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1),i.javaScriptLine){if(i.javaScriptLineExcludesColon&&n.peek()===":"){i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1;return}var e=c.token(n,i.jsState);return n.eol()&&(i.javaScriptLine=!1),e||!0}}function y(n,i){if(i.javaScriptArguments){if(i.javaScriptArgumentsDepth===0&&n.peek()!=="("){i.javaScriptArguments=!1;return}if(n.peek()==="("?i.javaScriptArgumentsDepth++:n.peek()===")"&&i.javaScriptArgumentsDepth--,i.javaScriptArgumentsDepth===0){i.javaScriptArguments=!1;return}var e=c.token(n,i.jsState);return e||!0}}function A(n){if(n.match(/^yield\b/))return"keyword"}function x(n){if(n.match(/^(?:doctype) *([^\n]+)?/))return f}function s(n,i){if(n.match("#{"))return i.isInterpolating=!0,i.interpolationNesting=0,"punctuation"}function T(n,i){if(i.isInterpolating){if(n.peek()==="}"){if(i.interpolationNesting--,i.interpolationNesting<0)return n.next(),i.isInterpolating=!1,"punctuation"}else n.peek()==="{"&&i.interpolationNesting++;return c.token(n,i.jsState)||!0}}function k(n,i){if(n.match(/^case\b/))return i.javaScriptLine=!0,t}function O(n,i){if(n.match(/^when\b/))return i.javaScriptLine=!0,i.javaScriptLineExcludesColon=!0,t}function N(n){if(n.match(/^default\b/))return t}function w(n,i){if(n.match(/^extends?\b/))return i.restOfLine="string",t}function E(n,i){if(n.match(/^append\b/))return i.restOfLine="variable",t}function I(n,i){if(n.match(/^prepend\b/))return i.restOfLine="variable",t}function F(n,i){if(n.match(/^block\b *(?:(prepend|append)\b)?/))return i.restOfLine="variable",t}function D(n,i){if(n.match(/^include\b/))return i.restOfLine="string",t}function M(n,i){if(n.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&n.match("include"))return i.isIncludeFiltered=!0,t}function C(n,i){if(i.isIncludeFiltered){var e=d(n,i);return i.isIncludeFiltered=!1,i.restOfLine="string",e}}function V(n,i){if(n.match(/^mixin\b/))return i.javaScriptLine=!0,t}function _(n,i){if(n.match(/^\+([-\w]+)/))return n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),"variable";if(n.match("+#{",!1))return n.next(),i.mixinCallAfter=!0,s(n,i)}function m(n,i){if(i.mixinCallAfter)return i.mixinCallAfter=!1,n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),!0}function P(n,i){if(n.match(/^(if|unless|else if|else)\b/))return i.javaScriptLine=!0,t}function q(n,i){if(n.match(/^(- *)?(each|for)\b/))return i.isEach=!0,t}function $(n,i){if(i.isEach){if(n.match(/^ in\b/))return i.javaScriptLine=!0,i.isEach=!1,t;if(n.sol()||n.eol())i.isEach=!1;else if(n.next()){for(;!n.match(/^ in\b/,!1)&&n.next(););return"variable"}}}function z(n,i){if(n.match(/^while\b/))return i.javaScriptLine=!0,t}function R(n,i){var e;if(e=n.match(/^(\w(?:[-:\w]*\w)?)\/?/))return i.lastTag=e[1].toLowerCase(),i.lastTag==="script"&&(i.scriptType="application/javascript"),"tag"}function d(n,i){if(n.match(/^:([\w\-]+)/)){var e;return u&&u.innerModes&&(e=u.innerModes(n.current().substring(1))),e||(e=n.current().substring(1)),typeof e=="string"&&(e=r.getMode(u,e)),p(n,i,e),"atom"}}function Y(n,i){if(n.match(/^(!?=|-)/))return i.javaScriptLine=!0,"punctuation"}function B(n){if(n.match(/^#([\w-]+)/))return j}function H(n){if(n.match(/^\.([\w-]+)/))return b}function J(n,i){if(n.peek()=="(")return n.next(),i.isAttrs=!0,i.attrsNest=[],i.inAttributeName=!0,i.attrValue="",i.attributeIsType=!1,"punctuation"}function S(n,i){if(i.isAttrs){if(h[n.peek()]&&i.attrsNest.push(h[n.peek()]),i.attrsNest[i.attrsNest.length-1]===n.peek())i.attrsNest.pop();else if(n.eat(")"))return i.isAttrs=!1,"punctuation";if(i.inAttributeName&&n.match(/^[^=,\)!]+/))return(n.peek()==="="||n.peek()==="!")&&(i.inAttributeName=!1,i.jsState=r.startState(c),i.lastTag==="script"&&n.current().trim().toLowerCase()==="type"?i.attributeIsType=!0:i.attributeIsType=!1),"attribute";var e=c.token(n,i.jsState);if(i.attributeIsType&&e==="string"&&(i.scriptType=n.current().toString()),i.attrsNest.length===0&&(e==="string"||e==="variable"||e==="keyword"))try{return Function("","var x "+i.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),i.inAttributeName=!0,i.attrValue="",n.backUp(n.current().length),S(n,i)}catch(sn){}return i.attrValue+=n.current(),e||!0}}function K(n,i){if(n.match(/^&attributes\b/))return i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0,"keyword"}function U(n){if(n.sol()&&n.eatSpace())return"indent"}function W(n,i){if(n.match(/^ *\/\/(-)?([^\n]*)/))return i.indentOf=n.indentation(),i.indentToken="comment","comment"}function Z(n){if(n.match(/^: */))return"colon"}function G(n,i){if(n.match(/^(?:\| ?| )([^\n]+)/))return"string";if(n.match(/^(<[^\n]*)/,!1))return p(n,i,"htmlmixed"),i.innerModeForLine=!0,v(n,i,!0)}function Q(n,i){if(n.eat(".")){var e=null;return i.lastTag==="script"&&i.scriptType.toLowerCase().indexOf("javascript")!=-1?e=i.scriptType.toLowerCase().replace(/"|'/g,""):i.lastTag==="style"&&(e="css"),p(n,i,e),"dot"}}function X(n){return n.next(),null}function p(n,i,e){e=r.mimeModes[e]||e,e=u.innerModes&&u.innerModes(e)||e,e=r.mimeModes[e]||e,e=r.getMode(u,e),i.indentOf=n.indentation(),e&&e.name!=="null"?i.innerMode=e:i.indentToken="string"}function v(n,i,e){if(n.indentation()>i.indentOf||i.innerModeForLine&&!n.sol()||e)return i.innerMode?(i.innerState||(i.innerState=i.innerMode.startState?r.startState(i.innerMode,n.indentation()):{}),n.hideFirstChars(i.indentOf+2,function(){return i.innerMode.token(n,i.innerState)||!0})):(n.skipToEnd(),i.indentToken);n.sol()&&(i.indentOf=1/0,i.indentToken=null,i.innerMode=null,i.innerState=null)}function nn(n,i){if(n.sol()&&(i.restOfLine=""),i.restOfLine){n.skipToEnd();var e=i.restOfLine;return i.restOfLine="",e}}function en(){return new a}function tn(n){return n.copy()}function rn(n,i){var e=v(n,i)||nn(n,i)||T(n,i)||C(n,i)||$(n,i)||S(n,i)||L(n,i)||y(n,i)||m(n,i)||A(n)||x(n)||s(n,i)||k(n,i)||O(n,i)||N(n)||w(n,i)||E(n,i)||I(n,i)||F(n,i)||D(n,i)||M(n,i)||V(n,i)||_(n,i)||P(n,i)||q(n,i)||z(n,i)||R(n,i)||d(n,i)||Y(n,i)||B(n)||H(n)||J(n,i)||K(n,i)||U(n)||G(n,i)||W(n,i)||Z(n)||Q(n,i)||X(n);return e===!0?null:e}return{startState:en,copyState:tn,token:rn}},"javascript","css","htmlmixed"),r.defineMIME("text/x-pug","pug"),r.defineMIME("text/x-jade","pug")})})();var g=pn.exports;const hn=un(g),gn=an({__proto__:null,default:hn},[g]);export{g as a,gn as p}; diff --git a/dist-ui/assets/puppet-DGkcJ187.js b/dist-ui/assets/puppet-DGkcJ187.js new file mode 100644 index 00000000..72ddaf80 --- /dev/null +++ b/dist-ui/assets/puppet-DGkcJ187.js @@ -0,0 +1 @@ +import{g as _,c as v}from"./index-BLHgoTgd.js";function b(f,l){for(var o=0;ot[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(f,l){(function(o){o(v)})(function(o){o.defineMode("puppet",function(){var t={},u=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function c(e,n){for(var i=n.split(" "),a=0;a.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),r=e.next();if(r==="$")return e.match(u)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),p(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):a?(e.match(/(\s+)?\w+/),"tag"):i&&t.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),t[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):h?(e.match(/(\s+)?[@]{1,2}/),"special"):r=="#"?(e.skipToEnd(),"comment"):r=="'"||r=='"'?(n.pending=r,p(e,n)):r=="{"||r=="}"?"bracket":r=="/"?(e.match(/^[^\/]*\//),"variable-3"):r.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):r=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:g(e,n)}}}),o.defineMIME("text/x-puppet","puppet")})})();var d=k.exports;const w=_(d),y=b({__proto__:null,default:w},[d]);export{y as p}; diff --git a/dist-ui/assets/python-BjnbAnfP.js b/dist-ui/assets/python-BjnbAnfP.js new file mode 100644 index 00000000..29391fae --- /dev/null +++ b/dist-ui/assets/python-BjnbAnfP.js @@ -0,0 +1 @@ +import{g as J,c as K}from"./index-BLHgoTgd.js";function M(k,_){for(var c=0;c<_.length;c++){const p=_[c];if(typeof p!="string"&&!Array.isArray(p)){for(const y in p)if(y!=="default"&&!(y in k)){const b=Object.getOwnPropertyDescriptor(p,y);b&&Object.defineProperty(k,y,b.get?b:{enumerable:!0,get:()=>p[y]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(k,_){(function(c){c(K)})(function(c){function p(a){return new RegExp("^(("+a.join(")|(")+"))\\b")}var y=p(["and","or","not","is"]),b=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],m=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];c.registerHelper("hintWords","python",b.concat(m).concat(["exec","print"]));function f(a){return a.scopes[a.scopes.length-1]}c.defineMode("python",function(a,l){for(var h="error",B=l.delimiters||l.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,v=[l.singleOperators,l.doubleOperators,l.doubleDelimiters,l.tripleDelimiters,l.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],x=0;xi?A(n):t0&&I(e,n)&&(u+=" "+h),u}}return E(e,n)}function E(e,n,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var t=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(t=!0),e.match(/^0b[01_]+/i)&&(t=!0),e.match(/^0o[0-7_]+/i)&&(t=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),t=!0),e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}if(e.match(O)){var u=e.current().toLowerCase().indexOf("f")!==-1;return u?(n.tokenize=P(e.current(),n.tokenize),n.tokenize(e,n)):(n.tokenize=$(e.current(),n.tokenize),n.tokenize(e,n))}for(var o=0;o=0;)e=e.substr(1);var r=e.length==1,i="string";function t(o){return function(d,z){var j=E(d,z,!0);return j=="punctuation"&&(d.current()=="{"?z.tokenize=t(o+1):d.current()=="}"&&(o>1?z.tokenize=t(o-1):z.tokenize=u)),j}}function u(o,d){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return i}else{if(o.match(e))return d.tokenize=n,i;if(o.match("{{"))return i;if(o.match("{",!1))return d.tokenize=t(0),o.current()?i:d.tokenize(o,d);if(o.match("}}"))return i;if(o.match("}"))return h;o.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;d.tokenize=n}return i}return u.isString=!0,u}function $(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(u,o){for(;!u.eol();)if(u.eatWhile(/[^'"\\]/),u.eat("\\")){if(u.next(),r&&u.eol())return i}else{if(u.match(e))return o.tokenize=n,i;u.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;o.tokenize=n}return i}return t.isString=!0,t}function A(e){for(;f(e).type!="py";)e.scopes.pop();e.scopes.push({offset:f(e).offset+a.indentUnit,type:"py",align:null})}function U(e,n,r){var i=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;n.scopes.push({offset:n.indent+S,type:r,align:i})}function I(e,n){for(var r=e.indentation();n.scopes.length>1&&f(n).offset>r;){if(f(n).type!="py")return!0;n.scopes.pop()}return f(n).offset!=r}function Z(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&i=="@")return e.match(w,!1)?"meta":F?"operator":h;if(/\S/.test(i)&&(n.beginningOfLine=!1),(r=="variable"||r=="builtin")&&n.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(n.dedent=!0),i=="lambda"&&(n.lambda=!0),i==":"&&!n.lambda&&f(n).type=="py"&&e.match(/^\s*(?:#|$)/,!1)&&A(n),i.length==1&&!/string|comment/.test(r)){var t="[({".indexOf(i);if(t!=-1&&U(e,n,"])}".slice(t,t+1)),t="])}".indexOf(i),t!=-1)if(f(n).type==i)n.indent=n.scopes.pop().offset-S;else return h}return n.dedent&&e.eol()&&f(n).type=="py"&&n.scopes.length>1&&n.scopes.pop(),r}var W={startState:function(e){return{tokenize:T,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=Z(e,n);return i&&i!="comment"&&(n.lastToken=i=="keyword"||i=="punctuation"?e.current():i),i=="punctuation"&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?i+" "+h:i},indent:function(e,n){if(e.tokenize!=T)return e.tokenize.isString?c.Pass:0;var r=f(e),i=r.type==n.charAt(0)||r.type=="py"&&!e.dedent&&/^(else:|elif |except |finally:)/.test(n);return r.align!=null?r.align-(i?1:0):r.offset-(i?S:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};return W}),c.defineMIME("text/x-python","python");var R=function(a){return a.split(" ")};c.defineMIME("text/x-cython",{name:"python",extra_keywords:R("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var L=H.exports;const q=J(L),Q=M({__proto__:null,default:q},[L]);export{L as a,Q as p}; diff --git a/dist-ui/assets/q-wV2IGHOA.js b/dist-ui/assets/q-wV2IGHOA.js new file mode 100644 index 00000000..32c63419 --- /dev/null +++ b/dist-ui/assets/q-wV2IGHOA.js @@ -0,0 +1 @@ +import{g as w,c as j}from"./index-BLHgoTgd.js";function z(f,s){for(var c=0;cl[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(f,s){(function(c){c(j)})(function(c){c.defineMode("q",function(l){var u=l.indentUnit,i,a=g(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),k=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function g(e){return new RegExp("^("+e.join("|")+")$")}function d(e,n){var o=e.sol(),t=e.next();if(i=null,o){if(t=="/")return(n.tokenize=m)(e,n);if(t=="\\")return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(n.tokenize=y)(e):n.tokenize=d,"comment"):(n.tokenize=d,"builtin")}if(/\s/.test(t))return e.peek()=="/"?(e.skipToEnd(),"comment"):"whitespace";if(t=='"')return(n.tokenize=b)(e,n);if(t=="`")return e.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if(t=="."&&/\d/.test(e.peek())||/\d/.test(t)){var r=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?r="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\da-fA-F]*/)||e.match(/^[01]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(r="number"),r&&(!(t=e.peek())||k.test(t))?r:(e.next(),"error")}return/[A-Za-z]|\./.test(t)?(e.eatWhile(/[A-Za-z._\d]/),a.test(e.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(t)||/[{}\(\[\]\)]/.test(t)?null:"error"}function m(e,n){return e.skipToEnd(),/\/\s*$/.test(e.current())?(n.tokenize=h)(e,n):n.tokenize=d,"comment"}function h(e,n){var o=e.sol()&&e.peek()=="\\";return e.skipToEnd(),o&&/^\\\s*$/.test(e.current())&&(n.tokenize=d),"comment"}function y(e){return e.skipToEnd(),"comment"}function b(e,n){for(var o=!1,t,r=!1;t=e.next();){if(t=='"'&&!o){r=!0;break}o=!o&&t=="\\"}return r&&(n.tokenize=d),"string"}function p(e,n,o){e.context={prev:e.context,indent:e.indent,col:o,type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:d,context:null,indent:0,col:0}},token:function(e,n){e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation());var o=n.tokenize(e,n);if(o!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),i=="(")p(n,")",e.column());else if(i=="[")p(n,"]",e.column());else if(i=="{")p(n,"}",e.column());else if(/[\]\}\)]/.test(i)){for(;n.context&&n.context.type=="pattern";)x(n);n.context&&i==n.context.type&&x(n)}else i=="."&&n.context&&n.context.type=="pattern"?x(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?p(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return o},indent:function(e,n){var o=n&&n.charAt(0),t=e.context;if(/[\]\}]/.test(o))for(;t&&t.type=="pattern";)t=t.prev;var r=t&&o==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(r?0:1):t.indent+(r?0:u):0}}}),c.defineMIME("text/x-q","q")})})();var v=E.exports;const q=w(v),T=z({__proto__:null,default:q},[v]);export{T as q}; diff --git a/dist-ui/assets/r-CtwjXLKi.js b/dist-ui/assets/r-CtwjXLKi.js new file mode 100644 index 00000000..4d759633 --- /dev/null +++ b/dist-ui/assets/r-CtwjXLKi.js @@ -0,0 +1 @@ +import{g as S,c as U}from"./index-BLHgoTgd.js";function z(a,d){for(var o=0;of[l]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(a,d){(function(o){o(U)})(function(o){o.registerHelper("wordChars","r",/[\w.]/),o.defineMode("r",function(f){function l(e){for(var n={},r=0;r=!&|~$:]/,i;function s(e,n){i=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=L(r),"string";if(r=="`")return e.match(/[^`]+`/),"variable-3";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var t=e.current();return A.propertyIsEnumerable(t)?"atom":N.propertyIsEnumerable(t)?(I.propertyIsEnumerable(t)&&!e.match(/\s*if(\s+|$)/,!1)&&(i="block"),"keyword"):w.propertyIsEnumerable(t)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"operator variable-2"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)?"operator arrow":r=="="&&n.ctx.argList?"arg-is":y.test(r)?r=="$"?"operator dollar":(e.eatWhile(y),"operator"):/[\(\){}\[\];]/.test(r)?(i=r,r==";"?"semi":null):null}function L(e){return function(n,r){if(n.eat("\\")){var t=n.next();return t=="x"?n.match(/^[a-f0-9]{2}/i):(t=="u"||t=="U")&&n.eat("{")&&n.skipTo("}")?n.next():t=="u"?n.match(/^[a-f0-9]{4}/i):t=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(t)&&n.match(/^[0-7]{1,2}/),"string-2"}else{for(var u;(u=n.next())!=null;){if(u==e){r.tokenize=s;break}if(u=="\\"){n.backUp(1);break}}return"string"}}}var h=1,x=2,v=4;function p(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function m(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function b(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:s,ctx:{type:"top",indent:-f.indentUnit,flags:x},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&(n.ctx.flags&3||(n.ctx.flags|=x),n.ctx.flags&v&&b(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&!(n.ctx.flags&x)&&m(n,h),(i==";"||i=="{"||i=="}")&&n.ctx.type=="block"&&b(n),i=="{"?p(n,"}",e):i=="("?(p(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):i=="["?p(n,"]",e):i=="block"?p(n,"block",e):i==n.ctx.type?b(n):n.ctx.type=="block"&&r!="comment"&&m(n,v),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n){if(e.tokenize!=s)return 0;var r=n&&n.charAt(0),t=e.ctx,u=r==t.type;return t.flags&v&&(t=t.prev),t.type=="block"?t.indent+(r=="{"?0:f.indentUnit):t.flags&h?t.column+(u?0:1):t.indent+(u?0:f.indentUnit)},lineComment:"#"}}),o.defineMIME("text/x-rsrc","r")})})();var _=O.exports;const j=S(_),$=z({__proto__:null,default:j},[_]);export{$ as r}; diff --git a/dist-ui/assets/rpm-DvaNh5EC.js b/dist-ui/assets/rpm-DvaNh5EC.js new file mode 100644 index 00000000..9593f23a --- /dev/null +++ b/dist-ui/assets/rpm-DvaNh5EC.js @@ -0,0 +1 @@ +import{g as s,c as d}from"./index-BLHgoTgd.js";function g(a,f){for(var e=0;en[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(a,f){(function(e){e(d)})(function(e){e.defineMode("rpm-changes",function(){var n=/^-+$/,t=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;return{token:function(i){return i.sol()&&(i.match(n)||i.match(t))?"tag":i.match(c)?"string":(i.next(),null)}}}),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",function(){var n=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,t=/^[a-zA-Z0-9()]+:/,c=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,i=/^%(ifnarch|ifarch|if)/,l=/^%(else|endif)/,u=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,o){var h=r.peek();if(h=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(t))return"header";if(r.match(c))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(l))return"keyword";if(r.match(i))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(r.match(u))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(o.controlFlow=!1)}if(r.match(n))return r.eol()&&(o.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return o.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(o.controlFlow=!1),"def"):(r.next(),null)}}}),e.defineMIME("text/x-rpm-spec","rpm-spec")})})();var p=m.exports;const w=s(p),x=g({__proto__:null,default:w},[p]);export{x as r}; diff --git a/dist-ui/assets/rst-BgE2lSFZ.js b/dist-ui/assets/rst-BgE2lSFZ.js new file mode 100644 index 00000000..2125413a --- /dev/null +++ b/dist-ui/assets/rst-BgE2lSFZ.js @@ -0,0 +1 @@ +import{g as oe,c as ie}from"./index-BLHgoTgd.js";import{a as ae}from"./python-BjnbAnfP.js";import{r as le}from"./stex-Bbn0un2S.js";import{r as fe}from"./overlay-Dtk6ZH6S.js";function ue(A,N){for(var f=0;fp[i]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var te={exports:{}};(function(A,N){(function(f){f(ie,ae,le(),fe())})(function(f){f.defineMode("rst",function(p,i){var x=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,b=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,w=/^``[^`\s](?:[^`]*[^`\s])``/,u=/^(?:[\d]+(?:[\.,]\d+)*)/,E=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,m=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,T="[Hh][Tt][Tt][Pp][Ss]?://",P="(?:[\\d\\w.-]+)\\.(?:\\w{2,6})",t="(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*",y=new RegExp("^"+T+P+t),R={token:function(l){if(l.match(x)&&l.match(/\W+|$/,!1))return"strong";if(l.match(b)&&l.match(/\W+|$/,!1))return"em";if(l.match(w)&&l.match(/\W+|$/,!1))return"string-2";if(l.match(u))return"number";if(l.match(E))return"positive";if(l.match(m))return"negative";if(l.match(y))return"link";for(;l.next()!=null&&!(l.match(x,!1)||l.match(b,!1)||l.match(w,!1)||l.match(u,!1)||l.match(E,!1)||l.match(m,!1)||l.match(y,!1)););return null}},W=f.getMode(p,i.backdrop||"rst-base");return f.overlayMode(W,R,!0)},"python","stex"),f.defineMode("rst-base",function(p){function i(n){var e=Array.prototype.slice.call(arguments,1);return n.replace(/{(\d+)}/g,function(r,j){return typeof e[j]!="undefined"?e[j]:r})}var x=f.getMode(p,"python"),b=f.getMode(p,"stex"),w="\\s+",u="(?:\\s*|\\W|$)",E=new RegExp(i("^{0}",u)),m="(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",T=new RegExp(i("^{0}",m)),P="(?:[^\\W\\d_](?:[\\w\\s!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",t=i("(?:{0}|`{1}`)",m,P),y="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",R="(?:[^\\`]+)",W=new RegExp(i("^{0}",R)),l=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),L=new RegExp(i("^\\.\\.{0}",w)),q=new RegExp(i("^_{0}:{1}|^__:{1}",t,u)),s=new RegExp(i("^{0}::{1}",t,u)),S=new RegExp(i("^\\|{0}\\|{1}{2}::{3}",y,w,t,u)),M=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]{1}",t,u)),z=new RegExp(i("^\\[{0}\\]{1}",t,u)),O=new RegExp(i("^\\|{0}\\|",y)),H=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]_",t)),B=new RegExp(i("^\\[{0}\\]_",t)),G=new RegExp(i("^{0}__?",t)),g=new RegExp(i("^`{0}`_",R)),_=new RegExp(i("^:{0}:`{1}`{2}",m,R,u)),k=new RegExp(i("^`{1}`:{0}:{2}",m,R,u)),$=new RegExp(i("^:{0}:{1}",m,u)),J=new RegExp(i("^{0}",t)),K=new RegExp(i("^::{0}",u)),X=new RegExp(i("^\\|{0}\\|",y)),Q=new RegExp(i("^{0}",w)),U=new RegExp(i("^{0}",t)),V=new RegExp(i("^::{0}",u)),Y=new RegExp("^_"),Z=new RegExp(i("^{0}|_",t)),C=new RegExp(i("^:{0}",u)),ee=new RegExp("^::\\s*$"),ne=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");function o(n,e){var r=null;if(n.sol()&&n.match(ne,!1))c(e,I,{mode:x,local:f.startState(x)});else if(n.sol()&&n.match(L))c(e,h),r="meta";else if(n.sol()&&n.match(l))c(e,o),r="header";else if(v(e)==_||n.match(_,!1))switch(d(e)){case 0:c(e,o,a(_,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a(_,2)),n.match(T),r="keyword",n.current().match(/^(?:math|latex)/)&&(e.tmp_stex=!0);break;case 2:c(e,o,a(_,3)),n.match(/^:`/),r="meta";break;case 3:if(e.tmp_stex&&(e.tmp_stex=void 0,e.tmp={mode:b,local:f.startState(b)}),e.tmp){if(n.peek()=="`"){c(e,o,a(_,4)),e.tmp=void 0;break}r=e.tmp.mode.token(n,e.tmp.local);break}c(e,o,a(_,4)),n.match(W),r="string";break;case 4:c(e,o,a(_,5)),n.match(/^`/),r="meta";break;case 5:c(e,o,a(_,6)),n.match(E);break;default:c(e,o)}else if(v(e)==k||n.match(k,!1))switch(d(e)){case 0:c(e,o,a(k,1)),n.match(/^`/),r="meta";break;case 1:c(e,o,a(k,2)),n.match(W),r="string";break;case 2:c(e,o,a(k,3)),n.match(/^`:/),r="meta";break;case 3:c(e,o,a(k,4)),n.match(T),r="keyword";break;case 4:c(e,o,a(k,5)),n.match(/^:/),r="meta";break;case 5:c(e,o,a(k,6)),n.match(E);break;default:c(e,o)}else if(v(e)==$||n.match($,!1))switch(d(e)){case 0:c(e,o,a($,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a($,2)),n.match(T),r="keyword";break;case 2:c(e,o,a($,3)),n.match(/^:/),r="meta";break;case 3:c(e,o,a($,4)),n.match(E);break;default:c(e,o)}else if(v(e)==O||n.match(O,!1))switch(d(e)){case 0:c(e,o,a(O,1)),n.match(X),r="variable-2";break;case 1:c(e,o,a(O,2)),n.match(/^_?_?/)&&(r="link");break;default:c(e,o)}else if(n.match(H))c(e,o),r="quote";else if(n.match(B))c(e,o),r="quote";else if(n.match(G))c(e,o),(!n.peek()||n.peek().match(/^\W$/))&&(r="link");else if(v(e)==g||n.match(g,!1))switch(d(e)){case 0:!n.peek()||n.peek().match(/^\W$/)?c(e,o,a(g,1)):n.match(g);break;case 1:c(e,o,a(g,2)),n.match(/^`/),r="link";break;case 2:c(e,o,a(g,3)),n.match(W);break;case 3:c(e,o,a(g,4)),n.match(/^`_/),r="link";break;default:c(e,o)}else n.match(ee)?c(e,re):n.next()&&c(e,o);return r}function h(n,e){var r=null;if(v(e)==S||n.match(S,!1))switch(d(e)){case 0:c(e,h,a(S,1)),n.match(X),r="variable-2";break;case 1:c(e,h,a(S,2)),n.match(Q);break;case 2:c(e,h,a(S,3)),n.match(U),r="keyword";break;case 3:c(e,h,a(S,4)),n.match(V),r="meta";break;default:c(e,o)}else if(v(e)==s||n.match(s,!1))switch(d(e)){case 0:c(e,h,a(s,1)),n.match(J),r="keyword",n.current().match(/^(?:math|latex)/)?e.tmp_stex=!0:n.current().match(/^python/)&&(e.tmp_py=!0);break;case 1:c(e,h,a(s,2)),n.match(K),r="meta",(n.match(/^latex\s*$/)||e.tmp_stex)&&(e.tmp_stex=void 0,c(e,I,{mode:b,local:f.startState(b)}));break;case 2:c(e,h,a(s,3)),(n.match(/^python\s*$/)||e.tmp_py)&&(e.tmp_py=void 0,c(e,I,{mode:x,local:f.startState(x)}));break;default:c(e,o)}else if(v(e)==q||n.match(q,!1))switch(d(e)){case 0:c(e,h,a(q,1)),n.match(Y),n.match(Z),r="link";break;case 1:c(e,h,a(q,2)),n.match(C),r="meta";break;default:c(e,o)}else n.match(M)||n.match(z)?(c(e,o),r="quote"):(n.eatSpace(),n.eol()?c(e,o):(n.skipToEnd(),c(e,ce),r="comment"));return r}function ce(n,e){return D(n,e,"comment")}function re(n,e){return D(n,e,"meta")}function D(n,e,r){return n.eol()||n.eatSpace()?(n.skipToEnd(),r):(c(e,o),null)}function I(n,e){return e.ctx.mode&&e.ctx.local?n.sol()?(n.eatSpace()||c(e,o),null):e.ctx.mode.token(n,e.ctx.local):(c(e,o),null)}function a(n,e,r,j){return{phase:n,stage:e,mode:r,local:j}}function c(n,e,r){n.tok=e,n.ctx=r||{}}function d(n){return n.ctx.stage||0}function v(n){return n.ctx.phase}return{startState:function(){return{tok:o,ctx:a(void 0,0)}},copyState:function(n){var e=n.ctx,r=n.tmp;return e.local&&(e={mode:e.mode,local:f.copyState(e.mode,e.local)}),r&&(r={mode:r.mode,local:f.copyState(r.mode,r.local)}),{tok:n.tok,ctx:e,tmp:r}},innerMode:function(n){return n.tmp?{state:n.tmp.local,mode:n.tmp.mode}:n.ctx.mode?{state:n.ctx.local,mode:n.ctx.mode}:null},token:function(n,e){return e.tok(n,e)}}},"python","stex"),f.defineMIME("text/x-rst","rst")})})();var F=te.exports;const xe=oe(F),ke=ue({__proto__:null,default:xe},[F]);export{ke as r}; diff --git a/dist-ui/assets/ruby-DNoS9cWB.js b/dist-ui/assets/ruby-DNoS9cWB.js new file mode 100644 index 00000000..cdfce364 --- /dev/null +++ b/dist-ui/assets/ruby-DNoS9cWB.js @@ -0,0 +1 @@ +import{c as I}from"./index-BLHgoTgd.js";var z={exports:{}},_;function Z(){return _||(_=1,function(A,q){(function(d){d(I)})(function(d){function h(c){for(var f={},u=0,p=c.length;u]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return f=n,null;if(n=="-"&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var a=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!a&&(f="."),"operator"}else return null}}}function E(e){for(var i=e.pos,n=0,r,t=!1,o=!1;(r=e.next())!=null;)if(o)o=!1;else{if("[{(".indexOf(r)>-1)n++;else if("]})".indexOf(r)>-1){if(n--,n<0)break}else if(r=="/"&&n==0){t=!0;break}o=r=="\\"}return e.backUp(e.pos-i),t}function v(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=v(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=v(e+1));return p(i,n)}}function W(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,p(i,n))}}function k(e,i,n,r){return function(t,o){var l=!1,a;for(o.context.type==="read-quoted-paused"&&(o.context=o.context.prev,t.eat("}"));(a=t.next())!=null;){if(a==e&&(r||!l)){o.tokenize.pop();break}if(n&&a=="#"&&!l){if(t.eat("{")){e=="}"&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(v());break}else if(/[@\$]/.test(t.peek())){o.tokenize.push(W());break}}l=!l&&a=="\\"}return i}}function L(e,i){return function(n,r){return i&&n.eatSpace(),n.match(e)?r.tokenize.pop():n.skipToEnd(),"string"}}function T(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[p],indented:0,context:{type:"top",indented:-c.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){f=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),r,t=f;if(n=="ident"){var o=e.current();n=i.lastTok=="."?"property":y.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(t=o,s.propertyIsEnumerable(o)?r="indent":g.propertyIsEnumerable(o)?r="dedent":((o=="if"||o=="unless")&&e.column()==e.indentation()||o=="do"&&i.context.indentedr[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=u();const c=s(f),b=i({__proto__:null,default:c},[f]);export{b as r}; diff --git a/dist-ui/assets/rust-Byet9KWu.js b/dist-ui/assets/rust-Byet9KWu.js new file mode 100644 index 00000000..7e78cece --- /dev/null +++ b/dist-ui/assets/rust-Byet9KWu.js @@ -0,0 +1 @@ +import{g as a,c as u,b as g}from"./index-BLHgoTgd.js";function x(n,o){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(n,o){(function(e){e(u,g())})(function(e){e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust")})})();var i=f.exports;const m=a(i),l=x({__proto__:null,default:m},[i]);export{l as r}; diff --git a/dist-ui/assets/sas-BdJZFkbe.js b/dist-ui/assets/sas-BdJZFkbe.js new file mode 100644 index 00000000..2c4e939a --- /dev/null +++ b/dist-ui/assets/sas-BdJZFkbe.js @@ -0,0 +1 @@ +import{g as b,c as g}from"./index-BLHgoTgd.js";function v(p,d){for(var i=0;ir[a]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(p,d){(function(i){i(g)})(function(i){i.defineMode("sas",function(){var r={},a={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator",in:"operator",ne:"operator",or:"operator"},l=/(<=|>=|!=|<>)/,m=/[=\(:\),{}.*<>+\-\/^\[\]]/;function o(e,t,s){if(s)for(var c=t.split(" "),n=0;nc[i]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var F={exports:{}};(function(w,a){(function(u){u($,M)})(function(u){u.defineMode("sass",function(c){var i=u.mimeModes["text/css"],d=i.propertyKeywords||{},O=i.colorKeywords||{},T=i.valueKeywords||{},j=i.fontProperties||{};function A(r){return new RegExp("^"+r.join("|"))}var K=["true","false","null","auto"],s=new RegExp("^"+K.join("|")),L=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],z=A(L),R=/^::?[a-zA-Z_][\w\-]*/,t;function f(r){return!r.peek()||r.match(/\s+$/,!1)}function b(r,n){var e=r.peek();return e===")"?(r.next(),n.tokenizer=p,"operator"):e==="("?(r.next(),r.eatSpace(),"operator"):e==="'"||e==='"'?(n.tokenizer=g(r.next()),"string"):(n.tokenizer=g(")",!1),"string")}function H(r,n){return function(e,o){return e.sol()&&e.indentation()<=r?(o.tokenizer=p,p(e,o)):(n&&e.skipTo("*/")?(e.next(),e.next(),o.tokenizer=p):e.skipToEnd(),"comment")}}function g(r,n){n==null&&(n=!0);function e(o,k){var h=o.next(),x=o.peek(),v=o.string.charAt(o.pos-2),y=h!=="\\"&&x===r||h===r&&v!=="\\";return y?(h!==r&&n&&o.next(),f(o)&&(k.cursorHalf=0),k.tokenizer=p,"string"):h==="#"&&x==="{"?(k.tokenizer=P(e),o.next(),"operator"):"string"}return e}function P(r){return function(n,e){return n.peek()==="}"?(n.next(),e.tokenizer=r,"operator"):p(n,e)}}function l(r){if(r.indentCount==0){r.indentCount++;var n=r.scopes[0].offset,e=n+c.indentUnit;r.scopes.unshift({offset:e})}}function C(r){r.scopes.length!=1&&r.scopes.shift()}function p(r,n){var e=r.peek();if(r.match("/*"))return n.tokenizer=H(r.indentation(),!0),n.tokenizer(r,n);if(r.match("//"))return n.tokenizer=H(r.indentation(),!1),n.tokenizer(r,n);if(r.match("#{"))return n.tokenizer=P(p),"operator";if(e==='"'||e==="'")return r.next(),n.tokenizer=g(e),"string";if(n.cursorHalf){if(e==="#"&&(r.next(),r.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||r.match(/^-?[0-9\.]+/))return f(r)&&(n.cursorHalf=0),"number";if(r.match(/^(px|em|in)\b/))return f(r)&&(n.cursorHalf=0),"unit";if(r.match(s))return f(r)&&(n.cursorHalf=0),"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=b,f(r)&&(n.cursorHalf=0),"atom";if(e==="$")return r.next(),r.eatWhile(/[\w-]/),f(r)&&(n.cursorHalf=0),"variable-2";if(e==="!")return r.next(),n.cursorHalf=0,r.match(/^[\w]+/)?"keyword":"operator";if(r.match(z))return f(r)&&(n.cursorHalf=0),"operator";if(r.eatWhile(/[\w-]/))return f(r)&&(n.cursorHalf=0),t=r.current().toLowerCase(),T.hasOwnProperty(t)?"atom":O.hasOwnProperty(t)?"keyword":d.hasOwnProperty(t)?(n.prevProp=r.current().toLowerCase(),"property"):"tag";if(f(r))return n.cursorHalf=0,null}else{if(e==="-"&&r.match(/^-\w+-/))return"meta";if(e==="."){if(r.next(),r.match(/^[\w-]+/))return l(n),"qualifier";if(r.peek()==="#")return l(n),"tag"}if(e==="#"){if(r.next(),r.match(/^[\w-]+/))return l(n),"builtin";if(r.peek()==="#")return l(n),"tag"}if(e==="$")return r.next(),r.eatWhile(/[\w-]/),"variable-2";if(r.match(/^-?[0-9\.]+/))return"number";if(r.match(/^(px|em|in)\b/))return"unit";if(r.match(s))return"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=b,"atom";if(e==="="&&r.match(/^=[\w-]+/))return l(n),"meta";if(e==="+"&&r.match(/^\+[\w-]+/))return"variable-3";if(e==="@"&&r.match("@extend")&&(r.match(/\s*[\w]/)||C(n)),r.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return l(n),"def";if(e==="@")return r.next(),r.eatWhile(/[\w-]/),"def";if(r.eatWhile(/[\w-]/))if(r.match(/ *: *[\w-\+\$#!\("']/,!1)){t=r.current().toLowerCase();var o=n.prevProp+"-"+t;return d.hasOwnProperty(o)?"property":d.hasOwnProperty(t)?(n.prevProp=t,"property"):j.hasOwnProperty(t)?"property":"tag"}else return r.match(/ *:/,!1)?(l(n),n.cursorHalf=1,n.prevProp=r.current().toLowerCase(),"property"):(r.match(/ *,/,!1)||l(n),"tag");if(e===":")return r.match(R)?"variable-3":(r.next(),n.cursorHalf=1,"operator")}return r.match(z)?"operator":(r.next(),null)}function S(r,n){r.sol()&&(n.indentCount=0);var e=n.tokenizer(r,n),o=r.current();if((o==="@return"||o==="}")&&C(n),e!==null){for(var k=r.pos-o.length,h=k+c.indentUnit*n.indentCount,x=[],v=0;vo[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,u){(function(a){a(K)})(function(a){a.defineMode("scheme",function(){var o="builtin",t="comment",d="string",b="symbol",s="atom",v="number",y="bracket",N=2;function k(e){for(var n={},i=e.split(" "),l=0;linteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),O=k("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function Q(e,n,i){this.indent=e,this.type=n,this.prev=i}function p(e,n,i){e.indentStack=new Q(n,i,e.indentStack)}function _(e){e.indentStack=e.indentStack.prev}var I=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),$=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),j=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function B(e){return e.match(I)}function D(e){return e.match($)}function m(e,n){return n===!0&&e.backUp(1),e.match(R)}function U(e){return e.match(j)}function E(e,n){for(var i,l=!1;(i=e.next())!=null;){if(i==n.token&&!l){n.state.mode=!1;break}l=!l&&i=="\\"}}return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,n){if(n.indentStack==null&&e.sol()&&(n.indentation=e.indentation()),e.eatSpace())return null;var i=null;switch(n.mode){case"string":E(e,{token:'"',state:n}),i=d;break;case"symbol":E(e,{token:"|",state:n}),i=b;break;case"comment":for(var l,S=!1;(l=e.next())!=null;){if(l=="#"&&S){n.mode=!1;break}S=l=="|"}i=t;break;case"s-expr-comment":if(n.mode=!1,e.peek()=="("||e.peek()=="[")n.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),i=t;break}default:var r=e.next();if(r=='"')n.mode="string",i=d;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof n.sExprQuote!="number"&&(n.sExprQuote=0),i=s):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),i=s);else if(r=="|")n.mode="symbol",i=b;else if(r=="#")if(e.eat("|"))n.mode="comment",i=t;else if(e.eat(/[tf]/i))i=s;else if(e.eat(";"))n.mode="s-expr-comment",i=t;else{var c=null,h=!1,q=!0;e.eat(/[ei]/i)?h=!0:e.backUp(1),e.match(/^#b/i)?c=B:e.match(/^#o/i)?c=D:e.match(/^#x/i)?c=U:e.match(/^#d/i)?c=m:e.match(/^[-+0-9.]/,!1)?(q=!1,c=m):h||e.eat("#"),c!=null&&(q&&!h&&e.match(/^#[ei]/i),c(e)&&(i=v))}else if(/^[-+0-9.]/.test(r)&&m(e,!0))i=v;else if(r==";")e.skipToEnd(),i=t;else if(r=="("||r=="["){for(var g="",x=e.column(),M;(M=e.eat(/[^\s\(\[\;\)\]]/))!=null;)g+=M;g.length>0&&O.propertyIsEnumerable(g)?p(n,x+N,r):(e.eatSpace(),e.eol()||e.peek()==";"?p(n,x+1,r):p(n,x+e.current().length,r)),e.backUp(e.current().length-1),typeof n.sExprComment=="number"&&n.sExprComment++,typeof n.sExprQuote=="number"&&n.sExprQuote++,i=y}else r==")"||r=="]"?(i=y,n.indentStack!=null&&n.indentStack.type==(r==")"?"(":"[")&&(_(n),typeof n.sExprComment=="number"&&--n.sExprComment==0&&(i=t,n.sExprComment=!1),typeof n.sExprQuote=="number"&&--n.sExprQuote==0&&(i=s,n.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),w&&w.propertyIsEnumerable(e.current())?i=o:i="variable")}return typeof n.sExprComment=="number"?t:typeof n.sExprQuote=="number"?s:i},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},fold:"brace-paren",closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),a.defineMIME("text/x-scheme","scheme")})})();var C=z.exports;const L=A(C),F=P({__proto__:null,default:L},[C]);export{F as s}; diff --git a/dist-ui/assets/shell-DoGyNnBr.js b/dist-ui/assets/shell-DoGyNnBr.js new file mode 100644 index 00000000..f52f678b --- /dev/null +++ b/dist-ui/assets/shell-DoGyNnBr.js @@ -0,0 +1 @@ +import{g as E,c as S}from"./index-BLHgoTgd.js";function m(p,d){for(var i=0;if[l]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(p,d){(function(i){i(S)})(function(i){i.defineMode("shell",function(){var f={};function l(e,n){for(var r=0;r1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=k(r,r=="("?"quote":r=="{"?"def":"string"),h(e,n)):(/\d/.test(r)||e.eatWhile(/\w/),n.tokens.shift(),"def")};function y(e){return function(n,r){return n.sol()&&n.string==e&&r.tokens.shift(),n.skipToEnd(),"string-2"}}function h(e,n){return(n.tokens[0]||b)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return h(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),i.defineMIME("text/x-sh","shell"),i.defineMIME("application/x-sh","shell")})})();var w=O.exports;const j=E(w),_=m({__proto__:null,default:j},[w]);export{_ as s}; diff --git a/dist-ui/assets/sieve-SeO9-i72.js b/dist-ui/assets/sieve-SeO9-i72.js new file mode 100644 index 00000000..105d1954 --- /dev/null +++ b/dist-ui/assets/sieve-SeO9-i72.js @@ -0,0 +1 @@ +import{g as _,c as b}from"./index-BLHgoTgd.js";function y(c,p){for(var i=0;iu[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,p){(function(i){i(b)})(function(i){i.defineMode("sieve",function(u){function o(e){for(var n={},r=e.split(" "),t=0;tl[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var mn={exports:{}};(function(h,g){(function(t){t(an,xn(),zn())})(function(t){t.defineMode("slim",function(l){var c=t.getMode(l,{name:"htmlmixed"}),f=t.getMode(l,"ruby"),w={html:c,ruby:f},D={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},U=function(n){var e=[];for(var i in n)e.push(i);return new RegExp("^("+e.join("|")+"):")}(D),L={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},q={"{":"}","[":"]","(":")"},m="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",y=m+"\\-0-9·̀-ͯ‿-⁀",N=new RegExp("^[:"+m+"](?::["+y+"]|["+y+"]*)"),Q=new RegExp("^[:"+m+"][:\\."+y+"]*(?=\\s*=)"),V=new RegExp("^[:"+m+"][:\\."+y+"]*"),W=/^\.-?[_a-zA-Z]+[\w\-]*/,H=/^#[_a-zA-Z]+[\w\-]*/;function Z(n,e,i){var u=function(r,o){return o.tokenize=e,r.pos-1&&(e.tokenize=Z(n.pos,e.tokenize,r),n.backUp(o.length-k-u)),r}function F(n,e){n.stack={parent:n.stack,style:"continuation",indented:e,tokenize:n.line},n.line=n.tokenize}function A(n){n.line==n.tokenize&&(n.line=n.stack.tokenize,n.stack=n.stack.parent)}function G(n,e){return function(i,u){if(A(u),i.match(/^\\$/))return F(u,n),"lineContinuation";var r=e(i,u);return i.eol()&&i.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&i.backUp(1),r}}function J(n,e){return function(i,u){A(u);var r=e(i,u);return i.eol()&&i.current().match(/,$/)&&F(u,n),r}}function M(n,e){return function(i,u){var r=i.peek();return r==n&&u.rubyState.tokenize.length==1?(i.next(),u.tokenize=e,"closeAttributeTag"):a(i,u)}}function d(n){var e,i=function(u,r){if(r.rubyState.tokenize.length==1&&!r.rubyState.context.prev){if(u.backUp(1),u.eatSpace())return r.rubyState=e,r.tokenize=n,n(u,r);u.next()}return a(u,r)};return function(u,r){return e=r.rubyState,r.rubyState=t.startState(f),r.tokenize=i,a(u,r)}}function a(n,e){return f.token(n,e.rubyState)}function K(n,e){return n.match(/^\\$/)?"lineContinuation":s(n,e)}function s(n,e){return n.match(/^#\{/)?(e.tokenize=M("}",e.tokenize),null):B(n,e,/[^\\]#\{/,1,c.token(n,e.htmlState))}function X(n){return function(e,i){var u=K(e,i);return e.eol()&&(i.tokenize=n),u}}function O(n,e,i){return e.stack={parent:e.stack,style:"html",indented:n.column()+i,tokenize:e.line},e.line=e.tokenize=s,null}function T(n,e){return n.skipToEnd(),e.stack.style}function Y(n,e){return e.stack={parent:e.stack,style:"comment",indented:e.indented+1,tokenize:e.line},e.line=T,T(n,e)}function p(n,e){return n.eat(e.stack.endQuote)?(e.line=e.stack.line,e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,null):n.match(V)?(e.tokenize=nn,"slimAttribute"):(n.next(),null)}function nn(n,e){return n.match(/^==?/)?(e.tokenize=en,null):p(n,e)}function en(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=j(i,"string",!0,!1,p),n.next(),e.tokenize(n,e)):i=="["?d(p)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=p,"keyword"):d(p)(n,e)}function un(n,e,i){return n.stack={parent:n.stack,style:"wrapper",indented:n.indented+1,tokenize:i,line:n.line,endQuote:e},n.line=n.tokenize=p,null}function rn(n,e){if(n.match(/^#\{/))return e.tokenize=M("}",e.tokenize),null;var i=new t.StringStream(n.string.slice(e.stack.indented),n.tabSize);i.pos=n.pos-e.stack.indented,i.start=n.start-e.stack.indented,i.lastColumnPos=n.lastColumnPos-e.stack.indented,i.lastColumnValue=n.lastColumnValue-e.stack.indented;var u=e.subMode.token(i,e.subState);return n.pos=i.pos+e.stack.indented,u}function tn(n,e){return e.stack.indented=n.column(),e.line=e.tokenize=rn,e.tokenize(n,e)}function on(n){var e=D[n],i=t.mimeModes[e];if(i)return t.getMode(l,i);var u=t.modes[e];return u?u(l,{name:e}):t.getMode(l,"null")}function ln(n){return w.hasOwnProperty(n)?w[n]:w[n]=on(n)}function cn(n,e){var i=ln(n),u=t.startState(i);return e.subMode=i,e.subState=u,e.stack={parent:e.stack,style:"sub",indented:e.indented+1,tokenize:e.line},e.line=e.tokenize=tn,"slimSubmode"}function fn(n,e){return n.skipToEnd(),"slimDoctype"}function kn(n,e){var i=n.peek();if(i=="<")return(e.tokenize=X(e.tokenize))(n,e);if(n.match(/^[|']/))return O(n,e,1);if(n.match(/^\/(!|\[\w+])?/))return Y(n,e);if(n.match(/^(-|==?[<>]?)/))return e.tokenize=G(n.column(),J(n.column(),a)),"slimSwitch";if(n.match(/^doctype\b/))return e.tokenize=fn,"keyword";var u=n.match(U);return u?cn(u[1],e):R(n,e)}function E(n,e){return e.startOfLine?kn(n,e):R(n,e)}function R(n,e){return n.eat("*")?(e.tokenize=d(_),null):n.match(N)?(e.tokenize=_,"slimTag"):x(n,e)}function _(n,e){return n.match(/^(<>?|>e.indented&&e.last!="slimSubmode";)e.line=e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,e.subMode=null,e.subState=null;if(n.eatSpace())return null;var i=e.tokenize(n,e);return e.startOfLine=!1,i&&(e.last=i),L.hasOwnProperty(i)?L[i]:i},blankLine:function(n){if(n.subMode&&n.subMode.blankLine)return n.subMode.blankLine(n.subState)},innerMode:function(n){return n.subMode?{state:n.subState,mode:n.subMode}:{state:n,mode:C}}};return C},"htmlmixed","ruby"),t.defineMIME("text/x-slim","slim"),t.defineMIME("application/x-slim","slim")})})();var I=mn.exports;const yn=pn(I),wn=hn({__proto__:null,default:yn},[I]);export{wn as s}; diff --git a/dist-ui/assets/smalltalk-CqDg-kRp.js b/dist-ui/assets/smalltalk-CqDg-kRp.js new file mode 100644 index 00000000..47ce7a73 --- /dev/null +++ b/dist-ui/assets/smalltalk-CqDg-kRp.js @@ -0,0 +1 @@ +import{g as m,c as g}from"./index-BLHgoTgd.js";function y(c,p){for(var a=0;al[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(c,p){(function(a){a(g)})(function(a){a.defineMode("smalltalk",function(l){var o=/[+\-\/\\*~<>=@%|&?!.,:;^]/,s=/true|false|nil|self|super|thisContext/,u=function(e,n){this.next=e,this.parent=n},f=function(e,n,t){this.name=e,this.context=n,this.eos=t},d=function(){this.context=new u(x,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};d.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/l.indentUnit-this.indentation:0};var x=function(e,n,t){var i=new f(null,n,!1),r=e.next();return r==='"'?i=h(e,new u(h,n)):r==="'"?i=v(e,new u(v,n)):r==="#"?e.peek()==="'"?(e.next(),i=b(e,new u(b,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string-2":i.name="meta":r==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string-2"):r==="|"&&t.expectVariable?i.context=new u(w,n):/[\[\]{}()]/.test(r)?(i.name="bracket",i.eos=/[\[{(]/.test(r),r==="["?t.indentation++:r==="]"&&(t.indentation=Math.max(0,t.indentation-1))):o.test(r)?(e.eatWhile(o),i.name="operator",i.eos=r!==";"):/\d/.test(r)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(r)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?s.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},h=function(e,n){return e.eatWhile(/[^"]/),new f("comment",e.eat('"')?n.parent:n,!0)},v=function(e,n){return e.eatWhile(/[^']/),new f("string",e.eat("'")?n.parent:n,!1)},b=function(e,n){return e.eatWhile(/[^']/),new f("string-2",e.eat("'")?n.parent:n,!1)},w=function(e,n){var t=new f(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};return{startState:function(){return new d},token:function(e,n){if(n.userIndent(e.indentation()),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e){e.userIndent(0)},indent:function(e,n){var t=e.context.next===x&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+t)*l.indentUnit},electricChars:"]"}}),a.defineMIME("text/x-stsrc",{name:"smalltalk"})})})();var k=W.exports;const C=m(k),S=y({__proto__:null,default:C},[k]);export{S as s}; diff --git a/dist-ui/assets/smarty-DpI3RVCg.js b/dist-ui/assets/smarty-DpI3RVCg.js new file mode 100644 index 00000000..cda13d16 --- /dev/null +++ b/dist-ui/assets/smarty-DpI3RVCg.js @@ -0,0 +1 @@ +import{g as D,c as O}from"./index-BLHgoTgd.js";function _(v,k){for(var o=0;oa[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(v,k){(function(o){o(O)})(function(o){o.defineMode("smarty",function(a,u){var d=u.rightDelimiter||"}",c=u.leftDelimiter||"{",b=u.version||2,p=o.getMode(a,u.baseMode||"null"),y=["debug","extends","function","include","literal"],f={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/},h;function n(e,t){return h=t,e}function I(e,t,r){return t.tokenize=r,r(e,t)}function w(e,t){return t==null&&(t=e.pos),b===3&&c=="{"&&(t==e.string.length||/\s/.test(e.string.charAt(t)))}function s(e,t){for(var r=e.string,l=e.pos;;){var i=r.indexOf(c,l);if(l=i+c.length,i==-1||!w(e,i+c.length))break}if(i==e.pos)return e.match(c),e.eat("*")?I(e,t,S("comment","*"+d)):(t.depth++,t.tokenize=z,h="startTag","tag");i>-1&&(e.string=r.slice(0,i));var g=p.token(e,t.base);return i>-1&&(e.string=r),g}function z(e,t){if(e.match(d,!0))return b===3?(t.depth--,t.depth<=0&&(t.tokenize=s)):t.tokenize=s,n("tag",null);if(e.match(c,!0))return t.depth++,n("tag","startTag");var r=e.next();if(r=="$")return e.eatWhile(f.validIdentifier),n("variable-2","variable");if(r=="|")return n("operator","pipe");if(r==".")return n("operator","property");if(f.stringChar.test(r))return t.tokenize=x(r),n("string","string");if(f.operatorChars.test(r))return e.eatWhile(f.operatorChars),n("operator","operator");if(r=="["||r=="]")return n("bracket","bracket");if(r=="("||r==")")return n("bracket","operator");if(/\d/.test(r))return e.eatWhile(/\d/),n("number","number");if(t.last=="variable"){if(r=="@")return e.eatWhile(f.validIdentifier),n("property","property");if(r=="|")return e.eatWhile(f.validIdentifier),n("qualifier","modifier")}else{if(t.last=="pipe")return e.eatWhile(f.validIdentifier),n("qualifier","modifier");if(t.last=="whitespace")return e.eatWhile(f.validIdentifier),n("attribute","modifier")}if(t.last=="property")return e.eatWhile(f.validIdentifier),n("property",null);if(/\s/.test(r))return h="whitespace",null;var l="";r!="/"&&(l+=r);for(var i=null;i=e.eat(f.validIdentifier);)l+=i;for(var g=0,W=y.length;gi[f]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(l,c){(function(o){o(z)})(function(o){o.defineMode("solr",function(){var i=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function k(e){return parseFloat(e).toString()===e}function g(e){return function(t,r){for(var n=!1,a;(a=t.next())!=null&&!(a==e&&!n);)n=!n&&a=="\\";return n||(r.tokenize=s),"string"}}function d(e){return function(t,r){var n="operator";return e=="+"?n+=" positive":e=="-"?n+=" negative":e=="|"?t.eat(/\|/):e=="&"?t.eat(/\&/):e=="^"&&(n+=" boost"),r.tokenize=s,n}}function v(e){return function(t,r){for(var n=e;(e=t.peek())&&e.match(i)!=null;)n+=t.next();return r.tokenize=s,u.test(n)?"operator":k(n)?"number":t.peek()==":"?"field":"string"}}function s(e,t){var r=e.next();return r=='"'?t.tokenize=g(r):f.test(r)?t.tokenize=d(r):i.test(r)&&(t.tokenize=v(r)),t.tokenize!=s?t.tokenize(e,t):null}return{startState:function(){return{tokenize:s}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),o.defineMIME("text/x-solr","solr")})})();var p=b.exports;const y=x(p),m=O({__proto__:null,default:y},[p]);export{m as s}; diff --git a/dist-ui/assets/soy-BytuNm1O.js b/dist-ui/assets/soy-BytuNm1O.js new file mode 100644 index 00000000..083369f9 --- /dev/null +++ b/dist-ui/assets/soy-BytuNm1O.js @@ -0,0 +1 @@ +import{g as P,c as F}from"./index-BLHgoTgd.js";import{r as z}from"./htmlmixed-DMkIMe4i.js";function D(v,g){for(var l=0;lo[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(v,g){(function(l){l(F,z())})(function(l){var o={noEndTag:!0,soyState:"param-def"},i={alias:{noEndTag:!0},delpackage:{noEndTag:!0},namespace:{noEndTag:!0,soyState:"namespace-def"},"@attribute":o,"@attribute?":o,"@param":o,"@param?":o,"@inject":o,"@inject?":o,"@state":o,template:{soyState:"templ-def",variableScope:!0},extern:{soyState:"param-def"},export:{soyState:"export"},literal:{},msg:{},fallbackmsg:{noEndTag:!0,reduceIndent:!0},select:{},plural:{},let:{soyState:"var-def"},if:{},javaimpl:{},jsimpl:{},elseif:{noEndTag:!0,reduceIndent:!0},else:{noEndTag:!0,reduceIndent:!0},switch:{},case:{noEndTag:!0,reduceIndent:!0},default:{noEndTag:!0,reduceIndent:!0},foreach:{variableScope:!0,soyState:"for-loop"},ifempty:{noEndTag:!0,reduceIndent:!0},for:{variableScope:!0,soyState:"for-loop"},call:{soyState:"templ-ref"},param:{soyState:"param-ref"},print:{noEndTag:!0},deltemplate:{soyState:"templ-def",variableScope:!0},delcall:{soyState:"templ-ref"},log:{},element:{variableScope:!0},velog:{},const:{soyState:"const-def"}},h=Object.keys(i).filter(function(r){return!i[r].noEndTag||i[r].reduceIndent});l.defineMode("soy",function(r){var x=l.getMode(r,"text/plain"),b={html:l.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:x,text:x,uri:x,trusted_resource_uri:x,css:l.getMode(r,"text/css"),js:l.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};function f(n){return n[n.length-1]}function E(n,e,t){if(n.sol()){for(var u=0;u]=?)/)?"operator":(t=n.match(/^\$([\w]+)/))?j(e.variables,t[1],!e.lookupVariables):(t=n.match(/^\w+/))?/^(?:as|and|or|not|in|if)$/.test(t[0])?"keyword":null:(n.next(),null)}return{startState:function(){return{soyState:[],variables:S(null,"ij"),scopes:null,indent:0,quoteKind:null,context:null,lookupVariables:!0,localStates:[{mode:b.html,state:l.startState(b.html)}]}},copyState:function(n){return{tag:n.tag,soyState:n.soyState.concat([]),variables:n.variables,context:n.context,indent:n.indent,quoteKind:n.quoteKind,lookupVariables:n.lookupVariables,localStates:n.localStates.map(function(e){return{mode:e.mode,state:l.copyState(e.mode,e.state)}})}},token:function(n,e){var t;switch(f(e.soyState)){case"comment":if(n.match(/^.*?\*\//)?e.soyState.pop():n.skipToEnd(),!e.context||!e.context.scope)for(var u=/@param\??\s+(\S+)/g,d=n.current(),t;t=u.exec(d);)e.variables=S(e.variables,t[1]);return"comment";case"string":var t=n.match(/^.*?(["']|\\[\s\S])/);return t?t[1]==e.quoteKind&&(e.quoteKind=null,e.soyState.pop()):n.skipToEnd(),"string"}if(!e.soyState.length||f(e.soyState)!="literal"){if(n.match(/^\/\*/))return e.soyState.push("comment"),"comment";if(n.match(n.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment"}switch(f(e.soyState)){case"templ-def":return(t=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(e.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(t=n.match(/(\.?[a-zA-Z_][a-zA-Z_0-9]+)+/))?(e.soyState.pop(),t[0][0]=="."?"variable-2":"variable"):(t=n.match(/^\$([\w]+)/))?(e.soyState.pop(),j(e.variables,t[1],!e.lookupVariables)):(n.next(),null);case"namespace-def":return(t=n.match(/^\.?([\w\.]+)/))?(e.soyState.pop(),"variable"):(n.next(),null);case"param-def":return(t=n.match(/^\*/))?(e.soyState.pop(),e.soyState.push("param-type"),"type"):(t=n.match(/^\w+/))?(e.variables=S(e.variables,t[0]),e.soyState.pop(),e.soyState.push("param-type"),"def"):(n.next(),null);case"param-ref":return(t=n.match(/^\w+/))?(e.soyState.pop(),"property"):(n.next(),null);case"open-parentheses":return n.match(/[)]/)?(e.soyState.pop(),null):m(n,e);case"param-type":var a=n.peek();return"}]=>,".indexOf(a)!=-1?(e.soyState.pop(),null):a=="["?(e.soyState.push("param-type-record"),null):a=="("?(e.soyState.push("param-type-template"),null):a=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var a=n.peek();return a=="]"?(e.soyState.pop(),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"property"):(n.next(),null);case"param-type-parameter":return n.match(/^[>]/)?(e.soyState.pop(),null):n.match(/^[<,]/)?(e.soyState.push("param-type"),null):(n.next(),null);case"param-type-template":return n.match(/[>]/)?(e.soyState.pop(),e.soyState.push("param-type"),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"def"):(n.next(),null);case"var-def":return(t=n.match(/^\$([\w]+)/))?(e.variables=S(e.variables,t[1]),e.soyState.pop(),"def"):(n.next(),null);case"for-loop":return n.match(/\bin\b/)?(e.soyState.pop(),"keyword"):n.peek()=="$"?(e.soyState.push("var-def"),null):(n.next(),null);case"record-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("record-key"),null):(n.next(),null);case"map-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("map-value"),null):(n.next(),null);case"list-literal":return n.match("]")?(e.soyState.pop(),e.lookupVariables=!0,w(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):m(n,e);case"record-key":return n.match(/[\w]+/)?"property":n.match(/^[:]/)?(e.soyState.pop(),null):(n.next(),null);case"map-value":return n.peek()==")"||n.peek()==","||n.match(/^[:)]/)?(e.soyState.pop(),null):m(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*r.indentUnit,null):n.match(/\w+(?=\s+as\b)/)?"variable":(t=n.match(/\w+/))?/\b(from|as)\b/.test(t[0])?"keyword":"def":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):(n.next(),null);case"tag":var p,c;e.tag===void 0?(p=!0,c=""):(p=e.tag[0]=="/",c=p?e.tag.substring(1):e.tag);var y=i[c];if(n.match(/^\/?}/)){var I=n.current()=="/}";return I&&!p&&w(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=S(null,"ij"),e.indent=0):e.indent-=r.indentUnit*(I||h.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==c&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var U=t[1];e.context.kind=U;var $=b[U]||b.html,s=f(e.localStates);s.mode.indent&&(e.indent+=s.mode.indent(s.state,"","")),e.localStates.push({mode:$,state:l.startState($)})}return"attribute"}return m(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):m(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):E(n,e,/\{\/literal}/);case"export":if(t=n.match(/\w+/)){if(e.soyState.pop(),t=="const")return e.soyState.push("const-def"),"keyword";if(t=="extern")return e.soyState.push("param-def"),"keyword"}else n.next();return null;case"const-def":return n.match(/^\w+/)?(e.soyState.pop(),"def"):(n.next(),null)}if(n.match("{literal}"))return e.indent+=r.indentUnit,e.soyState.push("literal"),e.context=new k(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var q=e.tag;e.tag=t[1];var p=e.tag[0]=="/",V=!!i[e.tag],c=p?e.tag.substring(1):e.tag,y=i[c];e.tag!="/switch"&&(e.indent+=((p||y&&y.reduceIndent)&&q!="switch"?1:2)*r.indentUnit),e.soyState.push("tag");var T=!1;if(y){if(p||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(V||!p))e.context=new k(e.context,e.tag,y.variableScope?e.variables:null);else if(p){var K=c=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=c&&!K)T=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var s=f(e.localStates);s.mode.indent&&(e.indent-=s.mode.indent(s.state,"",""))}w(e)}}}else p&&(T=!0);return(T?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*r.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match(""))return e.indent-=1*r.indentUnit,"keyword"}return E(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var u=n.indent,d=f(n.soyState);if(d=="comment")return l.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(u-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(u-=r.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(u-=r.indentUnit),/^\{\/switch\b/.test(e)&&(u-=r.indentUnit)}var a=f(n.localStates);return u&&a.mode.indent&&(u+=a.mode.indent(a.state,e,t)),u},innerMode:function(n){return n.soyState.length&&f(n.soyState)!="literal"?null:f(n.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),l.registerHelper("wordChars","soy",/[\w$]/),l.registerHelper("hintWords","soy",Object.keys(i).concat(["css","debugger"])),l.defineMIME("text/x-soy","soy")})})();var O=H.exports;const Z=P(O),B=D({__proto__:null,default:Z},[O]);export{B as s}; diff --git a/dist-ui/assets/sparql-DUUPrbfq.js b/dist-ui/assets/sparql-DUUPrbfq.js new file mode 100644 index 00000000..1fbd5012 --- /dev/null +++ b/dist-ui/assets/sparql-DUUPrbfq.js @@ -0,0 +1 @@ +import{g as w,c as k}from"./index-BLHgoTgd.js";function C(a,p){for(var i=0;iu[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(a,p){(function(i){i(k)})(function(i){i.defineMode("sparql",function(u){var c=u.indentUnit,o;function d(n){return new RegExp("^(?:"+n.join("|")+")$","i")}var h=d(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),m=d(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),y=/[*+\-<>=&|\^\/!\?]/,x="[A-Za-z_\\-0-9]",b=new RegExp("[A-Za-z]"),D=new RegExp("(("+x+"|\\.)*("+x+"))?:");function F(n,e){var t=n.next();if(o=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variable-2");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=_(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(y.test(t))return"operator";if(t==":")return g(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(b.test(t)&&n.match(D))return g(n),"atom";n.eatWhile(/[_\w\d]/);var r=n.current();return h.test(r)?"builtin":m.test(r)?"keyword":"variable"}function g(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function _(n){return function(e,t){for(var r=!1,l;(l=e.next())!=null;){if(l==n&&!r){t.tokenize=F;break}r=!r&&l=="\\"}return"string"}}function f(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function s(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:F,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")f(e,")",n.column());else if(o=="[")f(e,"]",n.column());else if(o=="{")f(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)s(e);e.context&&o==e.context.type&&(s(e),o=="}"&&e.context&&e.context.type=="pattern"&&s(e))}else o=="."&&e.context&&e.context.type=="pattern"?s(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?f(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var l=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(l?0:1):r.indent+(l?0:c):0},lineComment:"#"}}),i.defineMIME("application/sparql-query","sparql")})})();var v=E.exports;const z=w(v),A=C({__proto__:null,default:z},[v]);export{A as s}; diff --git a/dist-ui/assets/spreadsheet-CFOxvsfc.js b/dist-ui/assets/spreadsheet-CFOxvsfc.js new file mode 100644 index 00000000..d18e6c2f --- /dev/null +++ b/dist-ui/assets/spreadsheet-CFOxvsfc.js @@ -0,0 +1 @@ +import{g as o,c as a}from"./index-BLHgoTgd.js";function f(c,i){for(var r=0;re[t]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(c,i){(function(r){r(a)})(function(r){r.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(t.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(t.stringType=e.peek(),e.next(),t.stack.unshift("string")),t.stack[0]){case"string":for(;t.stack[0]==="string"&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;t.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":["[","]","(",")","{","}"].indexOf(n)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-spreadsheet","spreadsheet")})})();var s=u.exports;const p=o(s),h=f({__proto__:null,default:p},[s]);export{h as s}; diff --git a/dist-ui/assets/sql-CHLMUVUy.js b/dist-ui/assets/sql-CHLMUVUy.js new file mode 100644 index 00000000..b96b46de --- /dev/null +++ b/dist-ui/assets/sql-CHLMUVUy.js @@ -0,0 +1 @@ +import{g as $,c as O}from"./index-BLHgoTgd.js";function A(h,y){for(var i=0;iu[d]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}};(function(h,y){(function(i){i(O)})(function(i){i.defineMode("sql",function(n,o){var f=o.client||{},g=o.atoms||{false:!0,true:!0,null:!0},Q=o.builtin||e(w),F=o.keywords||e(p),k=o.operatorChars||/^[*+\-%<>!=&|~^\/]/,s=o.support||{},q=o.hooks||{},C=o.dateSQL||{date:!0,time:!0,timestamp:!0},L=o.backslashStringEscapes!==!1,I=o.brackets||/^[\{}\(\)\[\]]/,z=o.punctuation||/^[;.,:]/;function b(t,a){var r=t.next();if(q[r]){var l=q[r](t,a);if(l!==!1)return l}if(s.hexNumber&&(r=="0"&&t.match(/^[xX][0-9a-fA-F]+/)||(r=="x"||r=="X")&&t.match(/^'[0-9a-fA-F]*'/)))return"number";if(s.binaryNumber&&((r=="b"||r=="B")&&t.match(/^'[01]*'/)||r=="0"&&t.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return t.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),s.decimallessFloat&&t.match(/^\.(?!\.)/),"number";if(r=="?"&&(t.eatSpace()||t.eol()||t.eat(";")))return"variable-3";if(r=="'"||r=='"'&&s.doubleQuote)return a.tokenize=j(r),a.tokenize(t,a);if((s.nCharCast&&(r=="n"||r=="N")||s.charsetCast&&r=="_"&&t.match(/[a-z][a-z0-9]*/i))&&(t.peek()=="'"||t.peek()=='"'))return"keyword";if(s.escapeConstant&&(r=="e"||r=="E")&&(t.peek()=="'"||t.peek()=='"'&&s.doubleQuote))return a.tokenize=function(_,E){return(E.tokenize=j(_.next(),!0))(_,E)},"keyword";if(s.commentSlashSlash&&r=="/"&&t.eat("/"))return t.skipToEnd(),"comment";if(s.commentHash&&r=="#"||r=="-"&&t.eat("-")&&(!s.commentSpaceRequired||t.eat(" ")))return t.skipToEnd(),"comment";if(r=="/"&&t.eat("*"))return a.tokenize=v(1),a.tokenize(t,a);if(r=="."){if(s.zerolessFloat&&t.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(t.match(/^\.+/))return null;if(t.match(/^[\w\d_$#]+/))return"variable-2"}else{if(k.test(r))return t.eatWhile(k),"operator";if(I.test(r))return"bracket";if(z.test(r))return t.eatWhile(z),"punctuation";if(r=="{"&&(t.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||t.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";t.eatWhile(/^[_\w\d]/);var m=t.current().toLowerCase();return C.hasOwnProperty(m)&&(t.match(/^( )+'[^']*'/)||t.match(/^( )+"[^"]*"/))?"number":g.hasOwnProperty(m)?"atom":Q.hasOwnProperty(m)?"type":F.hasOwnProperty(m)?"keyword":f.hasOwnProperty(m)?"builtin":null}}function j(t,a){return function(r,l){for(var m=!1,_;(_=r.next())!=null;){if(_==t&&!m){l.tokenize=b;break}m=(L||a)&&!m&&_=="\\"}return"string"}}function v(t){return function(a,r){var l=a.match(/^.*?(\/\*|\*\/)/);return l?l[1]=="/*"?r.tokenize=v(t+1):t>1?r.tokenize=v(t-1):r.tokenize=b:a.skipToEnd(),"comment"}}function S(t,a,r){a.context={prev:a.context,indent:t.indentation(),col:t.column(),type:r}}function M(t){t.indent=t.context.indent,t.context=t.context.prev}return{startState:function(){return{tokenize:b,context:null}},token:function(t,a){if(t.sol()&&a.context&&a.context.align==null&&(a.context.align=!1),a.tokenize==b&&t.eatSpace())return null;var r=a.tokenize(t,a);if(r=="comment")return r;a.context&&a.context.align==null&&(a.context.align=!0);var l=t.current();return l=="("?S(t,a,")"):l=="["?S(t,a,"]"):a.context&&a.context.type==l&&M(a),r},indent:function(t,a){var r=t.context;if(!r)return i.Pass;var l=a.charAt(0)==r.type;return r.align?r.col+(l?0:1):r.indent+(l?0:n.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:s.commentSlashSlash?"//":s.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:o}});function u(n){for(var o;(o=n.next())!=null;)if(o=="`"&&!n.eat("`"))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null}function d(n){for(var o;(o=n.next())!=null;)if(o=='"'&&!n.eat('"'))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null}function c(n){return n.eat("@")&&(n.match("session."),n.match("local."),n.match("global.")),n.eat("'")?(n.match(/^.*'/),"variable-2"):n.eat('"')?(n.match(/^.*"/),"variable-2"):n.eat("`")?(n.match(/^.*`/),"variable-2"):n.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function x(n){return n.eat("N")?"atom":n.match(/^[a-zA-Z.#!?]/)?"variable-2":null}var p="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function e(n){for(var o={},f=n.split(" "),g=0;g!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:e("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":c}}),i.defineMIME("text/x-mysql",{name:"sql",client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(p+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":c,"`":u,"\\":x}}),i.defineMIME("text/x-mariadb",{name:"sql",client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(p+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":c,"`":u,"\\":x}}),i.defineMIME("text/x-sqlite",{name:"sql",client:e("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:e(p+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:e("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:e("date time timestamp datetime"),support:e("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":c,":":c,"?":c,$:c,'"':d,"`":u}}),i.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:e("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:e("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:e("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:e("commentSlashSlash decimallessFloat"),hooks:{}}),i.defineMIME("text/x-plsql",{name:"sql",client:e("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:e("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:e("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:e("date time timestamp"),support:e("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),i.defineMIME("text/x-hive",{name:"sql",keywords:e("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:e("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:e("date timestamp"),support:e("doubleQuote binaryNumber hexNumber")}),i.defineMIME("text/x-pgsql",{name:"sql",client:e("source"),keywords:e(p+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),i.defineMIME("text/x-gql",{name:"sql",keywords:e("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:e("false true"),builtin:e("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),i.defineMIME("text/x-gpsql",{name:"sql",client:e("source"),keywords:e("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),i.defineMIME("text/x-sparksql",{name:"sql",keywords:e("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:e("abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with"),atoms:e("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:e("date time timestamp"),support:e("doubleQuote zerolessFloat")}),i.defineMIME("text/x-esper",{name:"sql",client:e("source"),keywords:e("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:e("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("time"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber")}),i.defineMIME("text/x-trino",{name:"sql",keywords:e("abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with"),builtin:e("array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone"),atoms:e("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:e("date time timestamp zone"),support:e("decimallessFloat zerolessFloat hexNumber")})})})();var N=P.exports;const T=$(N),W=A({__proto__:null,default:T},[N]);export{W as s}; diff --git a/dist-ui/assets/stex-Bbn0un2S.js b/dist-ui/assets/stex-Bbn0un2S.js new file mode 100644 index 00000000..7e63c5b5 --- /dev/null +++ b/dist-ui/assets/stex-Bbn0un2S.js @@ -0,0 +1 @@ +import{c as S}from"./index-BLHgoTgd.js";var s={exports:{}},k;function A(){return k||(k=1,function(v,w){(function(l){l(S)})(function(l){l.defineMode("stex",function(B,b){function d(t,e){t.cmdState.push(e)}function g(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function x(t){var e=t.cmdState.pop();e&&e.closeBracket()}function y(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var i=e[n];if(i.name!="DEFAULT")return i}return{styleIdentifier:function(){return null}}}function a(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var r={};r.importmodule=a("importmodule","tag",["string","builtin"]),r.documentclass=a("documentclass","tag",["","atom"]),r.usepackage=a("usepackage","tag",["atom"]),r.begin=a("begin","tag",["atom"]),r.end=a("end","tag",["atom"]),r.label=a("label","tag",["atom"]),r.ref=a("ref","tag",["atom"]),r.eqref=a("eqref","tag",["atom"]),r.cite=a("cite","tag",["atom"]),r.bibitem=a("bibitem","tag",["atom"]),r.Bibitem=a("Bibitem","tag",["atom"]),r.RBibitem=a("RBibitem","tag",["atom"]),r.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function f(t,e){t.f=e}function o(t,e){var n;if(t.match(/^\\[a-zA-Z@]+/)){var i=t.current().slice(1);return n=r.hasOwnProperty(i)?r[i]:r.DEFAULT,n=new n,d(e,n),f(e,p),n.style}if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return f(e,function(c,m){return h(c,m,"\\]")}),"keyword";if(t.match("\\("))return f(e,function(c,m){return h(c,m,"\\)")}),"keyword";if(t.match("$$"))return f(e,function(c,m){return h(c,m,"$$")}),"keyword";if(t.match("$"))return f(e,function(c,m){return h(c,m,"$")}),"keyword";var u=t.next();if(u=="%")return t.skipToEnd(),"comment";if(u=="}"||u=="]"){if(n=g(e),n)n.closeBracket(u),f(e,p);else return"error";return"bracket"}else return u=="{"||u=="["?(n=r.DEFAULT,n=new n,d(e,n),"bracket"):/\d/.test(u)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),n=y(e),n.name=="begin"&&(n.argument=t.current()),n.styleIdentifier())}function h(t,e,n){if(t.eatSpace())return null;if(n&&t.match(n))return f(e,o),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variable-2";if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/]/)||t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var i=t.next();return i=="{"||i=="}"||i=="["||i=="]"||i=="("||i==")"?"bracket":i=="%"?(t.skipToEnd(),"comment"):"error"}function p(t,e){var n=t.peek(),i;return n=="{"||n=="["?(i=g(e),i.openBracket(n),t.eat(n),f(e,o),"bracket"):/[ \t\r]/.test(n)?(t.eat(n),null):(f(e,o),x(e),o(t,e))}return{startState:function(){var t=b.inMathMode?function(e,n){return h(e,n)}:o;return{cmdState:[],f:t}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=o,t.cmdState.length=0},lineComment:"%"}}),l.defineMIME("text/x-stex","stex"),l.defineMIME("text/x-latex","stex")})}()),s.exports}export{A as r}; diff --git a/dist-ui/assets/stex-i6uttPU4.js b/dist-ui/assets/stex-i6uttPU4.js new file mode 100644 index 00000000..6e9f9bff --- /dev/null +++ b/dist-ui/assets/stex-i6uttPU4.js @@ -0,0 +1 @@ +import{g as f}from"./index-BLHgoTgd.js";import{r as i}from"./stex-Bbn0un2S.js";function c(r,n){for(var o=0;oe[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as s}; diff --git a/dist-ui/assets/styles/boarding.css b/dist-ui/assets/styles/boarding.css new file mode 100644 index 00000000..331e0a16 --- /dev/null +++ b/dist-ui/assets/styles/boarding.css @@ -0,0 +1,270 @@ +.boarding-coutout-svg-animated, +div#boarding-popover-item.boarding-popover-item-animated { + animation: boardingFadeIn 0.4s; +} + +body .boarding-coutout-svg { + display: block; + pointer-events: none; + cursor: not-allowed; + position: absolute; + border-radius: 10px; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +body.boarding-strict-pointer-events, +body.boarding-strict-pointer-events + *:not(.boarding-highlighted-element *):not(#boarding-popover-item *):not( + .boarding-highlighted-element + ):not(#boarding-popover-item):not(.boarding-coutout-svg path), +body.boarding-no-pointer-events, +body.boarding-no-pointer-events + *:not(.boarding-highlighted-element *):not(#boarding-popover-item *):not( + .boarding-highlighted-element + ):not(#boarding-popover-item):not(.boarding-coutout-svg):not( + .boarding-coutout-svg path + ) { + pointer-events: none !important; +} +/* enable pointer-events where it makes sense */ +div#boarding-popover-item, +.boarding-coutout-svg path, +body.boarding-strict-pointer-events .boarding-highlighted-element, +body.boarding-no-pointer-events .boarding-coutout-svg { + pointer-events: auto !important; +} + +/* popover */ +div#boarding-popover-item { + --boarding-popover-padding: 10px; + --boarding-popover-tip-padding: 15px; + padding: var(--boarding-popover-padding); + padding-left: 15px; + padding-right: 15px; + display: block; + position: fixed; + z-index: 1000000000; +} + +/* tip */ +.dark div#boarding-popover-item .boarding-popover-tip { + border: 6px solid; + content: ''; + position: absolute; + border-color: rgb(70, 81, 97); +} + +div#boarding-popover-item .boarding-popover-tip { + border: 6px solid rgb(249 250 251); + content: ''; + position: absolute; + border-color: rgb(249 250 251); +} + +div#boarding-popover-item + .boarding-popover-tip:not([class^='boarding-tipside-']):not( + [class^='boarding-tipalign-'] + ):not([class*=' boarding-tipalign-']):not([class*=' boarding-tipalign-']) { + display: none; +} + +/* tb */ +div#boarding-popover-item .boarding-popover-tip.boarding-tipside-top { + top: 100%; + border-right-color: transparent; + border-bottom-color: transparent; + border-left-color: transparent; +} +div#boarding-popover-item .boarding-popover-tip.boarding-tipside-bottom { + bottom: 100%; + border-left-color: transparent; + border-top-color: transparent; + border-right-color: transparent; +} +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-top.boarding-tipalign-center, +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-bottom.boarding-tipalign-center { + left: 50%; + margin-left: -5px; +} +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-top.boarding-tipalign-start, +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-bottom.boarding-tipalign-start { + left: var(--boarding-popover-tip-padding); +} +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-top.boarding-tipalign-end, +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-bottom.boarding-tipalign-end { + right: var(--boarding-popover-tip-padding); +} + +div#boarding-popover-item .boarding-footer-counter { + font-size: 0.85rem; + color: #999; +} + +/* lr */ +div#boarding-popover-item .boarding-popover-tip.boarding-tipside-left { + left: 100%; + margin-top: 5px; + border-right-color: transparent; + border-bottom-color: transparent; + border-top-color: transparent; +} +div#boarding-popover-item .boarding-popover-tip.boarding-tipside-right { + right: 100%; + margin-top: 5px; + border-left-color: transparent; + border-bottom-color: transparent; + border-top-color: transparent; +} +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-left.boarding-tipalign-center, +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-right.boarding-tipalign-center { + top: 50%; + margin-top: -5px; +} +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-left.boarding-tipalign-start, +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-right.boarding-tipalign-start { + top: var(--boarding-popover-tip-padding); +} +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-left.boarding-tipalign-end, +div#boarding-popover-item + .boarding-popover-tip.boarding-tipside-right.boarding-tipalign-end { + bottom: var(--boarding-popover-tip-padding); +} + +@keyframes boardingFadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +/* Boarding theme */ + +div#boarding-popover-item { + margin: 0; + border-radius: 5px; + min-width: 250px; + max-width: 300px; + box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); +} +div#boarding-popover-item .boarding-popover-footer { + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 10px; +} +div#boarding-popover-item .boarding-popover-footer button { + display: inline-block; + padding: 3px 10px; + text-decoration: none; + cursor: pointer; + outline: 0; +} + +div#boarding-popover-item .boarding-popover-footer button.boarding-disabled { + cursor: default; + pointer-events: none; +} +div#boarding-popover-item .boarding-popover-footer .boarding-close-btn { + position: absolute; + color: #999; + top: 4px; + right: 0; +} +.dark div#boarding-popover-item .boarding-popover-footer .boarding-close-btn { + color: #cccc; +} + +.dark div#boarding-popover-item .boarding-popover-footer .boarding-close-btn:hover { + color: #fff; +} + +div#boarding-popover-item .boarding-popover-footer .boarding-close-btn:hover { + color: #333; +} + +div#boarding-popover-item .boarding-popover-footer .boarding-btn-group { + display: flex; + gap: 10px; + justify-content: end; +} + +div#boarding-popover-item .boarding-btn-group button { + border-radius: 6px; + padding: 3px 12px; + border: 1px solid transparent; +} + +div#boarding-popover-item .boarding-btn-group button:hover { + border: 1px solid #007bff; +} + +div#boarding-popover-item .boarding-btn-group button.boarding-prev-btn { + opacity: 0.8; + color: #0056b3; +} + +.dark div#boarding-popover-item .boarding-btn-group button.boarding-prev-btn { + opacity: 0.8; + color: #007bff; +} + +div#boarding-popover-item .boarding-btn-group button.boarding-prev-btn.boarding-disabled { + display: none !important; +} + +div#boarding-popover-item .boarding-btn-group button.boarding-prev-btn:hover { + opacity: 1; + color: #0056b3; + border: 1px solid #0056b3; +} + +.dark div#boarding-popover-item .boarding-btn-group button.boarding-prev-btn:hover { + opacity: 1; + color: #007bff; + border: 1px solid #007bff; +} + +button.boarding-next-btn, +div#boarding-popover-item .boarding-btn-group button.boarding-next-btn { + color: #fff; + background-color: #0056b3; +} + +button.boarding-next-btn, +div#boarding-popover-item .boarding-btn-group button.boarding-next-btn:hover { + background-color: #007bff; +} + +div#boarding-popover-item .boarding-popover-title { + color: #0056b3; + font-size: 16px; + font-weight: bold; + margin-top: 2px; + margin-bottom: 6px; +} + +.dark div#boarding-popover-item .boarding-popover-title { + color: #70b5ff; +} + +div#boarding-popover-item .boarding-popover-description { + font-size: 0.95rem; + margin-bottom: 0; + font-weight: normal; +} diff --git a/dist-ui/assets/stylus-GmfG-Jww.js b/dist-ui/assets/stylus-GmfG-Jww.js new file mode 100644 index 00000000..28b5a923 --- /dev/null +++ b/dist-ui/assets/stylus-GmfG-Jww.js @@ -0,0 +1 @@ +import{g as ye,c as ze}from"./index-BLHgoTgd.js";function je(K,O){for(var w=0;wy[v]})}}}return Object.freeze(Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}))}var qe={exports:{}};(function(K,O){(function(w){w(ze)})(function(w){w.defineMode("stylus",function(g){for(var c=g.indentUnit,x="",te=p(y),B=/^(a|b|i|s|col|em)$/i,ae=p(W),le=p(I),ce=p(U),se=p(N),de=p(v),ue=Z(v),fe=p(R),pe=p(C),he=p(T),ge=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,be=Z(F),me=p(X),A=new RegExp(/^\-(moz|ms|o|webkit)-/i),ke=p(Y),E="",s={},b,z,D,t;x.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),e.context.line.firstWord=E?E[0].replace(/^\s*/,""):"",e.context.line.indent=i.indentation(),b=i.peek(),i.match("//"))return i.skipToEnd(),["comment","comment"];if(i.match("/*"))return e.tokenize=M,M(i,e);if(b=='"'||b=="'")return i.next(),e.tokenize=V(b),e.tokenize(i,e);if(b=="@")return i.next(),i.eatWhile(/[\w\\-]/),["def",i.current()];if(b=="#"){if(i.next(),i.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(i.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return i.match(A)?["meta","vendor-prefixes"]:i.match(/^-?[0-9]?\.?[0-9]/)?(i.eatWhile(/[a-z%]/i),["number","unit"]):b=="!"?(i.next(),[i.match(/^(important|optional)/i)?"keyword":"operator","important"]):b=="."&&i.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:i.match(ue)?(i.peek()=="("&&(e.tokenize=ve),["property","word"]):i.match(/^[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","mixin"]):i.match(/^(\+|-)[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","block-mixin"]):i.string.match(/^\s*&/)&&i.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:i.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(i.backUp(1),["variable-3","reference"]):i.match(/^&{1}\s*$/)?["variable-3","reference"]:i.match(be)?["operator","operator"]:i.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?i.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!m(i.current())?(i.match("."),["variable-2","variable-name"]):["variable-2","word"]:i.match(ge)?["operator",i.current()]:/[:;,{}\[\]\(\)]/.test(b)?(i.next(),[null,b]):(i.next(),[null,null])}function M(i,e){for(var r=!1,n;(n=i.next())!=null;){if(r&&n=="/"){e.tokenize=null;break}r=n=="*"}return["comment","comment"]}function V(i){return function(e,r){for(var n=!1,l;(l=e.next())!=null;){if(l==i&&!n){i==")"&&e.backUp(1);break}n=!n&&l=="\\"}return(l==i||!n&&i!=")")&&(r.tokenize=null),["string","string"]}}function ve(i,e){return i.next(),i.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=V(")"),[null,"("]}function H(i,e,r,n){this.type=i,this.indent=e,this.prev=r,this.line=n||{firstWord:"",indent:0}}function o(i,e,r,n){return n=n>=0?n:c,i.context=new H(r,e.indentation()+n,i.context),r}function j(i,e){var r=i.context.indent-c;return e=e||!1,i.context=i.context.prev,e&&(i.context.indent=r),i.context.type}function xe(i,e,r){return s[r.context.type](i,e,r)}function S(i,e,r,n){for(var l=n||1;l>0;l--)r.context=r.context.prev;return xe(i,e,r)}function m(i){return i.toLowerCase()in te}function q(i){return i=i.toLowerCase(),i in ae||i in he}function $(i){return i.toLowerCase()in me}function G(i){return i.toLowerCase().match(A)}function _(i){var e=i.toLowerCase(),r="variable-2";return m(i)?r="tag":$(i)?r="block-keyword":q(i)?r="property":e in ce||e in ke?r="atom":e=="return"||e in se?r="keyword":i.match(/^[A-Z]/)&&(r="string"),r}function J(i,e){return a(e)&&(i=="{"||i=="]"||i=="hash"||i=="qualifier")||i=="block-mixin"}function Q(i,e){return i=="{"&&e.match(/^\s*\$?[\w-]+/i,!1)}function ee(i,e){return i==":"&&e.match(/^[a-z-]+/,!1)}function P(i){return i.sol()||i.string.match(new RegExp("^\\s*"+ne(i.current())))}function a(i){return i.eol()||i.match(/^\s*$/,!1)}function d(i){var e=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r=typeof i=="string"?i.match(e):i.string.match(e);return r?r[0].replace(/^\s*/,""):""}return s.block=function(i,e,r){if(i=="comment"&&P(e)||i==","&&a(e)||i=="mixin")return o(r,e,"block",0);if(Q(i,e))return o(r,e,"interpolation");if(a(e)&&i=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(e.string)&&!m(d(e)))return o(r,e,"block",0);if(J(i,e))return o(r,e,"block");if(i=="}"&&a(e))return o(r,e,"block",0);if(i=="variable-name")return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||$(d(e))?o(r,e,"variableName"):o(r,e,"variableName",0);if(i=="=")return!a(e)&&!$(d(e))?o(r,e,"block",0):o(r,e,"block");if(i=="*"&&(a(e)||e.match(/\s*(,|\.|#|\[|:|{)/,!1)))return t="tag",o(r,e,"block");if(ee(i,e))return o(r,e,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(i))return o(r,e,a(e)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(i))return o(r,e,"keyframes");if(/@extends?/.test(i))return o(r,e,"extend",0);if(i&&i.charAt(0)=="@")return e.indentation()>0&&q(e.current().slice(1))?(t="variable-2","block"):/(@import|@require|@charset)/.test(i)?o(r,e,"block",0):o(r,e,"block");if(i=="reference"&&a(e))return o(r,e,"block");if(i=="(")return o(r,e,"parens");if(i=="vendor-prefixes")return o(r,e,"vendorPrefixes");if(i=="word"){var n=e.current();if(t=_(n),t=="property")return P(e)?o(r,e,"block",0):(t="atom","block");if(t=="tag"){if(/embed|menu|pre|progress|sub|table/.test(n)&&q(d(e))||e.string.match(new RegExp("\\[\\s*"+n+"|"+n+"\\s*\\]")))return t="atom","block";if(B.test(n)&&(P(e)&&e.string.match(/=/)||!P(e)&&!e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!m(d(e))))return t="variable-2",$(d(e))?"block":o(r,e,"block",0);if(a(e))return o(r,e,"block")}if(t=="block-keyword")return t="keyword",e.current(/(if|unless)/)&&!P(e)?"block":o(r,e,"block");if(n=="return")return o(r,e,"block",0);if(t=="variable-2"&&e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return o(r,e,"block")}return r.context.type},s.parens=function(i,e,r){if(i=="(")return o(r,e,"parens");if(i==")")return r.context.prev.type=="parens"?j(r):e.string.match(/^[a-z][\w-]*\(/i)&&a(e)||$(d(e))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(d(e))||!e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&m(d(e))?o(r,e,"block"):e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||e.string.match(/^\s*(\(|\)|[0-9])/)||e.string.match(/^\s+[a-z][\w-]*\(/i)||e.string.match(/^\s+[\$-]?[a-z]/i)?o(r,e,"block",0):a(e)?o(r,e,"block"):o(r,e,"block",0);if(i&&i.charAt(0)=="@"&&q(e.current().slice(1))&&(t="variable-2"),i=="word"){var n=e.current();t=_(n),t=="tag"&&B.test(n)&&(t="variable-2"),(t=="property"||n=="to")&&(t="atom")}return i=="variable-name"?o(r,e,"variableName"):ee(i,e)?o(r,e,"pseudo"):r.context.type},s.vendorPrefixes=function(i,e,r){return i=="word"?(t="property",o(r,e,"block",0)):j(r)},s.pseudo=function(i,e,r){return q(d(e.string))?S(i,e,r):(e.match(/^[a-z-]+/),t="variable-3",a(e)?o(r,e,"block"):j(r))},s.atBlock=function(i,e,r){if(i=="(")return o(r,e,"atBlock_parens");if(J(i,e))return o(r,e,"block");if(Q(i,e))return o(r,e,"interpolation");if(i=="word"){var n=e.current().toLowerCase();if(/^(only|not|and|or)$/.test(n)?t="keyword":de.hasOwnProperty(n)?t="tag":pe.hasOwnProperty(n)?t="attribute":fe.hasOwnProperty(n)?t="property":le.hasOwnProperty(n)?t="string-2":t=_(e.current()),t=="tag"&&a(e))return o(r,e,"block")}return i=="operator"&&/^(not|and|or)$/.test(e.current())&&(t="keyword"),r.context.type},s.atBlock_parens=function(i,e,r){if(i=="{"||i=="}")return r.context.type;if(i==")")return a(e)?o(r,e,"block"):o(r,e,"atBlock");if(i=="word"){var n=e.current().toLowerCase();return t=_(n),/^(max|min)/.test(n)&&(t="property"),t=="tag"&&(B.test(n)?t="variable-2":t="atom"),r.context.type}return s.atBlock(i,e,r)},s.keyframes=function(i,e,r){return e.indentation()=="0"&&(i=="}"&&P(e)||i=="]"||i=="hash"||i=="qualifier"||m(e.current()))?S(i,e,r):i=="{"?o(r,e,"keyframes"):i=="}"?P(e)?j(r,!0):o(r,e,"keyframes"):i=="unit"&&/^[0-9]+\%$/.test(e.current())?o(r,e,"keyframes"):i=="word"&&(t=_(e.current()),t=="block-keyword")?(t="keyword",o(r,e,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(i)?o(r,e,a(e)?"block":"atBlock"):i=="mixin"?o(r,e,"block",0):r.context.type},s.interpolation=function(i,e,r){return i=="{"&&j(r)&&o(r,e,"block"),i=="}"?e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||e.string.match(/^\s*[a-z]/i)&&m(d(e))?o(r,e,"block"):!e.string.match(/^(\{|\s*\&)/)||e.match(/\s*[\w-]/,!1)?o(r,e,"block",0):o(r,e,"block"):i=="variable-name"?o(r,e,"variableName",0):(i=="word"&&(t=_(e.current()),t=="tag"&&(t="atom")),r.context.type)},s.extend=function(i,e,r){return i=="["||i=="="?"extend":i=="]"?j(r):i=="word"?(t=_(e.current()),"extend"):j(r)},s.variableName=function(i,e,r){return i=="string"||i=="["||i=="]"||e.current().match(/^(\.|\$)/)?(e.current().match(/^\.[\w-]+/i)&&(t="variable-2"),"variableName"):S(i,e,r)},{startState:function(i){return{tokenize:null,state:"block",context:new H("block",i||0,null)}},token:function(i,e){return!e.tokenize&&i.eatSpace()?null:(z=(e.tokenize||we)(i,e),z&&typeof z=="object"&&(D=z[1],z=z[0]),t=z,e.state=s[e.state](D,i,e),t)},indent:function(i,e,r){var n=i.context,l=e&&e.charAt(0),h=n.indent,L=d(e),k=r.match(/^\s*/)[0].replace(/\t/g,x).length,u=i.context.prev?i.context.prev.line.firstWord:"",f=i.context.prev?i.context.prev.line.indent:k;return n.prev&&(l=="}"&&(n.type=="block"||n.type=="atBlock"||n.type=="keyframes")||l==")"&&(n.type=="parens"||n.type=="atBlock_parens")||l=="{"&&n.type=="at")?h=n.indent-c:/(\})/.test(l)||(/@|\$|\d/.test(l)||/^\{/.test(e)||/^\s*\/(\/|\*)/.test(e)||/^\s*\/\*/.test(u)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e)||/^(\+|-)?[a-z][\w-]*\(/i.test(e)||/^return/.test(e)||$(L)?h=k:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||m(L)?/\,\s*$/.test(u)?h=f:/^\s+/.test(r)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(u)||m(u))?h=k<=f?f:f+c:h=k:!/,\s*$/.test(r)&&(G(L)||q(L))&&($(u)?h=k<=f?f:f+c:/^\{/.test(u)?h=k<=f?k:f+c:G(u)||q(u)?h=k>=f?f:k:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(u)||/=\s*$/.test(u)||m(u)||/^\$[\w-\.\[\]\'\"]/.test(u)?h=f+c:h=k)),h},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"indent"}});var y=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],v=["domain","regexp","url-prefix","url"],C=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],R=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],W=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],I=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],T=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],N=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","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","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],U=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],F=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],X=["for","if","else","unless","from","to"],Y=["null","true","false","href","title","type","not-allowed","readonly","disabled"],re=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],oe=y.concat(v,C,R,W,I,N,U,T,F,X,Y,re);function Z(g){return g=g.sort(function(c,x){return x>c}),new RegExp("^(("+g.join(")|(")+"))\\b")}function p(g){for(var c={},x=0;xu[f]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(p,d){(function(c){c(F)})(function(c){function u(e){for(var t={},n=0;n~^?!",y=":;,.(){}[]",w=/^\-?0b[01][01_]*/,k=/^\-?0o[0-7][0-7_]*/,b=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,z=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,m=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,A=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,O=/^\#[A-Za-z]+/,I=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function s(e,t,n){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var r=e.peek();if(r=="/"){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(v),v(e,t)}if(e.match(O))return"builtin";if(e.match(I))return"attribute";if(e.match(w)||e.match(k)||e.match(b)||e.match(z))return"number";if(e.match(A))return"property";if(g.indexOf(r)>-1)return e.next(),"operator";if(y.indexOf(r)>-1)return e.next(),e.match(".."),"punctuation";var i;if(i=e.match(/("""|"|')/)){var o=C.bind(null,i[0]);return t.tokenize.push(o),o(e,t)}if(e.match(m)){var a=e.current();return _.hasOwnProperty(a)?"variable-2":x.hasOwnProperty(a)?"atom":f.hasOwnProperty(a)?(l.hasOwnProperty(a)&&(t.prev="define"),"keyword"):n=="define"?"def":"variable"}return e.next(),null}function S(){var e=0;return function(t,n,r){var i=s(t,n,r);if(i=="punctuation"){if(t.current()=="(")++e;else if(t.current()==")"){if(e==0)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}}return i}}function C(e,t,n){for(var r=e.length==1,i,o=!1;i=t.peek();)if(o){if(t.next(),i=="(")return n.tokenize.push(S()),"string";o=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),o=i=="\\"}return r&&n.tokenize.pop(),"string"}function v(e,t){for(var n;n=e.next();)if(n==="/"&&e.eat("*"))t.tokenize.push(v);else if(n==="*"&&e.eat("/")){t.tokenize.pop();break}return"comment"}function P(e,t,n){this.prev=e,this.align=t,this.indented=n}function $(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new P(e.context,n,e.indented)}function E(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}c.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(t,n){var r=n.prev;n.prev=null;var i=n.tokenize[n.tokenize.length-1]||s,o=i(t,n,r);if(!o||o=="comment"?n.prev=r:n.prev||(n.prev=o),o=="punctuation"){var a=/[\(\[\{]|([\]\)\}])/.exec(t.current());a&&(a[1]?E:$)(n,t)}return o},indent:function(t,n){var r=t.context;if(!r)return 0;var i=/^[\]\}\)]/.test(n);return r.align!=null?r.align-(i?1:0):r.indented+(i?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),c.defineMIME("text/x-swift","swift")})})();var h=j.exports;const N=U(h),T=Z({__proto__:null,default:N},[h]);export{T as s}; diff --git a/dist-ui/assets/tcl-7ytc0wMA.js b/dist-ui/assets/tcl-7ytc0wMA.js new file mode 100644 index 00000000..49a17e4c --- /dev/null +++ b/dist-ui/assets/tcl-7ytc0wMA.js @@ -0,0 +1 @@ +import{g as x,c as y}from"./index-BLHgoTgd.js";function v(c,s){for(var o=0;oa[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(c,s){(function(o){o(y)})(function(o){o.defineMode("tcl",function(){function a(r){for(var t={},n=r.split(" "),e=0;e!?^\/\|]/;function p(r,t,n){return t.tokenize=n,n(r,t)}function u(r,t){var n=t.beforeParams;t.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&t.inParams)return p(r,t,b(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&n?t.inParams=!0:e==")"&&(t.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?p(r,t,g):e=="#"&&r.match(/ *\[ *\[/)?p(r,t,h):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),t.beforeParams=!0,"builtin";if(d.test(e))return r.eatWhile(d),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var f=r.current().toLowerCase();return i&&i.propertyIsEnumerable(f)?"keyword":l&&l.propertyIsEnumerable(f)?(t.beforeParams=!0,"keyword"):null}function b(r){return function(t,n){for(var e=!1,f,m=!1;(f=t.next())!=null;){if(f==r&&!e){m=!0;break}e=!e&&f=="\\"}return m&&(n.tokenize=u),"string"}}function g(r,t){for(var n=!1,e;e=r.next();){if(e=="#"&&n){t.tokenize=u;break}n=e=="*"}return"comment"}function h(r,t){for(var n=0,e;e=r.next();){if(e=="#"&&n==2){t.tokenize=u;break}e=="]"?n++:e!=" "&&(n=0)}return"meta"}return{startState:function(){return{tokenize:u,beforeParams:!1,inParams:!1}},token:function(r,t){return r.eatSpace()?null:t.tokenize(r,t)},lineComment:"#"}}),o.defineMIME("text/x-tcl","tcl")})})();var k=_.exports;const w=x(k),E=v({__proto__:null,default:w},[k]);export{E as t}; diff --git a/dist-ui/assets/textile-Ch_jcOiD.js b/dist-ui/assets/textile-Ch_jcOiD.js new file mode 100644 index 00000000..652cc9c4 --- /dev/null +++ b/dist-ui/assets/textile-Ch_jcOiD.js @@ -0,0 +1 @@ +import{g as R,c as w}from"./index-BLHgoTgd.js";function A(y,m){for(var c=0;cu[d]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(y,m){(function(c){c(w)})(function(c){var u={addition:"positive",attributes:"attribute",bold:"strong",cite:"keyword",code:"atom",definitionList:"number",deletion:"negative",div:"punctuation",em:"em",footnote:"variable",footCite:"qualifier",header:"header",html:"comment",image:"string",italic:"em",link:"link",linkDefinition:"link",list1:"variable-2",list2:"variable-3",list3:"keyword",notextile:"string-2",pre:"operator",p:"property",quote:"bracket",span:"quote",specialChar:"tag",strong:"strong",sub:"builtin",sup:"builtin",table:"variable-3",tableHeading:"operator"};function d(t,e){e.mode=r.newLayout,e.tableHeading=!1,e.layoutType==="definitionList"&&e.spanningLayout&&t.match(l("definitionListEnd"),!1)&&(e.spanningLayout=!1)}function b(t,e,i){if(i==="_")return t.eat("_")?f(t,e,"italic",/__/,2):f(t,e,"em",/_/,1);if(i==="*")return t.eat("*")?f(t,e,"bold",/\*\*/,2):f(t,e,"strong",/\*/,1);if(i==="[")return t.match(/\d+\]/)&&(e.footCite=!0),a(e);if(i==="("){var o=t.match(/^(r|tm|c)\)/);if(o)return p(e,u.specialChar)}if(i==="<"&&t.match(/(\w+)[^>]+>[^<]+<\/\1>/))return p(e,u.html);if(i==="?"&&t.eat("?"))return f(t,e,"cite",/\?\?/,2);if(i==="="&&t.eat("="))return f(t,e,"notextile",/==/,2);if(i==="-"&&!t.eat("-"))return f(t,e,"deletion",/-/,1);if(i==="+")return f(t,e,"addition",/\+/,1);if(i==="~")return f(t,e,"sub",/~/,1);if(i==="^")return f(t,e,"sup",/\^/,1);if(i==="%")return f(t,e,"span",/%/,1);if(i==="@")return f(t,e,"code",/@/,1);if(i==="!"){var s=f(t,e,"image",/(?:\([^\)]+\))?!/,1);return t.match(/^:\S+/),s}return a(e)}function f(t,e,i,o,s){var g=t.pos>s?t.string.charAt(t.pos-s-1):null,h=t.peek();if(e[i]){if((!h||/\W/.test(h))&&g&&/\S/.test(g)){var L=a(e);return e[i]=!1,L}}else(!g||/\W/.test(g))&&h&&/\S/.test(h)&&t.match(new RegExp("^.*\\S"+o.source+"(?:\\W|$)"),!1)&&(e[i]=!0,e.mode=r.attributes);return a(e)}function a(t){var e=v(t);if(e)return e;var i=[];return t.layoutType&&i.push(u[t.layoutType]),i=i.concat(x(t,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),t.layoutType==="header"&&i.push(u.header+"-"+t.header),i.length?i.join(" "):null}function v(t){var e=t.layoutType;switch(e){case"notextile":case"code":case"pre":return u[e];default:return t.notextile?u.notextile+(e?" "+u[e]:""):null}}function p(t,e){var i=v(t);if(i)return i;var o=a(t);return e?o?o+" "+e:e:o}function x(t){for(var e=[],i=1;i]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(t){switch(t){case"drawTable":return n.makeRe("^",n.single.drawTable,"$");case"html":return n.makeRe("^",n.single.html,"(?:",n.single.html,")*","$");case"linkDefinition":return n.makeRe("^",n.single.linkDefinition,"$");case"listLayout":return n.makeRe("^",n.single.list,l("allAttributes"),"*\\s+");case"tableCellAttributes":return n.makeRe("^",n.choiceRe(n.single.tableCellAttributes,l("allAttributes")),"+\\.");case"type":return n.makeRe("^",l("allTypes"));case"typeLayout":return n.makeRe("^",l("allTypes"),l("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return n.makeRe("^",l("allAttributes"),"+");case"allTypes":return n.choiceRe(n.single.div,n.single.foot,n.single.header,n.single.bc,n.single.bq,n.single.notextile,n.single.pre,n.single.table,n.single.para);case"allAttributes":return n.choiceRe(n.attributes.selector,n.attributes.css,n.attributes.lang,n.attributes.align,n.attributes.pad);default:return n.makeRe("^",n.single[t])}},makeRe:function(){for(var t="",e=0;ec[f]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(d,k){(function(o){o(O)})(function(o){o.defineMode("tiddlywiki",function(){var c={},f={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},l=/[\w_\-]/i,p=/^\-\-\-\-+$/,w=/^\/\*\*\*$/,b=/^\*\*\*\/$/,y=/^<<<$/,g=/^\/\/\{\{\{$/,v=/^\/\/\}\}\}$/,x=/^$/,m=/^$/,S=/^\{\{\{$/,$=/^\}\}\}$/,_=/.*?\}\}\}/;function u(e,n,r){return n.tokenize=r,r(e,n)}function i(e,n){var r=e.sol(),t=e.peek();if(n.block=!1,r&&/[<\/\*{}\-]/.test(t)){if(e.match(S))return n.block=!0,u(e,n,h);if(e.match(y))return"quote";if(e.match(w)||e.match(b)||e.match(g)||e.match(v)||e.match(x)||e.match(m))return"comment";if(e.match(p))return"hr"}if(e.next(),r&&/[\/\*!#;:>|]/.test(t)){if(t=="!")return e.skipToEnd(),"header";if(t=="*")return e.eatWhile("*"),"comment";if(t=="#")return e.eatWhile("#"),"comment";if(t==";")return e.eatWhile(";"),"comment";if(t==":")return e.eatWhile(":"),"comment";if(t==">")return e.eatWhile(">"),"quote";if(t=="|")return"header"}if(t=="{"&&e.match("{{"))return u(e,n,h);if(/[hf]/i.test(t)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if(t=='"')return"string";if(t=="~"||/[\[\]]/.test(t)&&e.match(t))return"brace";if(t=="@")return e.eatWhile(l),"link";if(/\d/.test(t))return e.eatWhile(/\d/),"number";if(t=="/"){if(e.eat("%"))return u(e,n,z);if(e.eat("/"))return u(e,n,C)}if(t=="_"&&e.eat("_"))return u(e,n,T);if(t=="-"&&e.eat("-")){if(e.peek()!=" ")return u(e,n,W);if(e.peek()==" ")return"brace"}return t=="'"&&e.eat("'")?u(e,n,E):t=="<"&&e.eat("<")?u(e,n,j):(e.eatWhile(/[\w\$_]/),c.propertyIsEnumerable(e.current())?"keyword":null)}function z(e,n){for(var r=!1,t;t=e.next();){if(t=="/"&&r){n.tokenize=i;break}r=t=="%"}return"comment"}function E(e,n){for(var r=!1,t;t=e.next();){if(t=="'"&&r){n.tokenize=i;break}r=t=="'"}return"strong"}function h(e,n){var r=n.block;return r&&e.current()?"comment":!r&&e.match(_)||r&&e.sol()&&e.match($)?(n.tokenize=i,"comment"):(e.next(),"comment")}function C(e,n){for(var r=!1,t;t=e.next();){if(t=="/"&&r){n.tokenize=i;break}r=t=="/"}return"em"}function T(e,n){for(var r=!1,t;t=e.next();){if(t=="_"&&r){n.tokenize=i;break}r=t=="_"}return"underlined"}function W(e,n){for(var r=!1,t;t=e.next();){if(t=="-"&&r){n.tokenize=i;break}r=t=="-"}return"strikethrough"}function j(e,n){if(e.current()=="<<")return"macro";var r=e.next();return r?r==">"&&e.peek()==">"?(e.next(),n.tokenize=i,"macro"):(e.eatWhile(/[\w\$_]/),f.propertyIsEnumerable(e.current())?"keyword":null):(n.tokenize=i,null)}return{startState:function(){return{tokenize:i}},token:function(e,n){if(e.eatSpace())return null;var r=n.tokenize(e,n);return r}}}),o.defineMIME("text/x-tiddlywiki","tiddlywiki")})})();var a=M.exports;const I=A(a),P=B({__proto__:null,default:I},[a]);export{P as t}; diff --git a/dist-ui/assets/tiki-CF7yociA.js b/dist-ui/assets/tiki-CF7yociA.js new file mode 100644 index 00000000..2ad525f3 --- /dev/null +++ b/dist-ui/assets/tiki-CF7yociA.js @@ -0,0 +1 @@ +import{g as A,c as E}from"./index-BLHgoTgd.js";function C(k,x){for(var a=0;al[i]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(k,x){(function(a){a(E)})(function(a){a.defineMode("tiki",function(l){function i(e,t,n){return function(o,g){for(;!o.eol();){if(o.match(t)){g.tokenize=c;break}o.next()}return n&&(g.tokenize=n),e}}function f(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=c,e}}function c(e,t){function n(P){return t.tokenize=P,P(e,t)}var o=e.sol(),g=e.next();switch(g){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=b,"tag";case"_":if(e.eat("_"))return n(i("strong","__",c));break;case"'":if(e.eat("'"))return n(i("em","''",c));break;case"(":if(e.eat("("))return n(i("variable-2","))",c));break;case"[":return n(i("variable-3","]",c));case"|":if(e.eat("|"))return n(i("comment","||"));break;case"-":if(e.eat("="))return n(i("header string","=-",c));if(e.eat("-"))return n(i("error tw-deleted","--",c));break;case"=":if(e.match("=="))return n(i("tw-underline","===",c));break;case":":if(e.eat(":"))return n(i("comment","::"));break;case"^":return n(i("tw-box","^"));case"~":if(e.match("np~"))return n(i("meta","~/np~"));break}if(o)switch(g){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(f("header string"));case"*":case"#":case"+":return n(f("tw-listitem bracket"))}return null}var _=l.indentUnit,h,p;function b(e,t){var n=e.next(),o=e.peek();return n=="}"?(t.tokenize=c,"tag"):n=="("||n==")"?"bracket":n=="="?(p="equals",o==">"&&(e.next(),o=e.peek()),/[\'\"]/.test(o)||(t.tokenize=L()),"operator"):/[\'\"]/.test(n)?(t.tokenize=N(n),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function N(e){return function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=b;break}return"string"}}function L(){return function(e,t){for(;!e.eol();){var n=e.next(),o=e.peek();if(n==" "||n==","||/[ )}]/.test(o)){t.tokenize=b;break}}return"string"}}var r,s;function d(){for(var e=arguments.length-1;e>=0;e--)r.cc.push(arguments[e])}function u(){return d.apply(null,arguments),!0}function w(e,t){var n=r.context&&r.context.noIndent;r.context={prev:r.context,pluginName:e,indent:r.indented,startOfLine:t,noIndent:n}}function z(){r.context&&(r.context=r.context.prev)}function S(e){if(e=="openPlugin")return r.pluginName=h,u(v,j(r.startOfLine));if(e=="closePlugin"){var t=!1;return r.context?(t=r.context.pluginName!=h,z()):t=!0,t&&(s="error"),u(I(t))}else return e=="string"&&((!r.context||r.context.name!="!cdata")&&w("!cdata"),r.tokenize==c&&z()),u()}function j(e){return function(t){return t=="selfclosePlugin"||t=="endPlugin"||t=="endPlugin"&&w(r.pluginName,e),u()}}function I(e){return function(t){return e&&(s="error"),t=="endPlugin"?u():d()}}function v(e){return e=="keyword"?(s="attribute",u(v)):e=="equals"?u(m,v):d()}function m(e){return e=="keyword"?(s="string",u()):e=="string"?u(O):d()}function O(e){return e=="string"?u(O):d()}return{startState:function(){return{tokenize:c,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;s=p=h=null;var n=t.tokenize(e,t);if((n||p)&&n!="comment")for(r=t;;){var o=t.cc.pop()||S;if(o(p||n))break}return t.startOfLine=!1,s||n},indent:function(e,t){var n=e.context;if(n&&n.noIndent)return 0;for(n&&/^{\//.test(t)&&(n=n.prev);n&&!n.startOfLine;)n=n.prev;return n?n.indent+_:0},electricChars:"/"}}),a.defineMIME("text/tiki","tiki")})})();var y=M.exports;const q=A(y),U=C({__proto__:null,default:q},[y]);export{U as t}; diff --git a/dist-ui/assets/toml-BJrlm4zn.js b/dist-ui/assets/toml-BJrlm4zn.js new file mode 100644 index 00000000..3e0767db --- /dev/null +++ b/dist-ui/assets/toml-BJrlm4zn.js @@ -0,0 +1 @@ +import{g as t,c as u}from"./index-BLHgoTgd.js";function p(l,o){for(var r=0;re[n]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(l,o){(function(r){r(u)})(function(r){r.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,n){if(!n.inString&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.inString=!0),e.sol()&&n.inArray===0&&(n.lhs=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}else{if(n.inArray&&e.peek()==="]")return e.next(),n.inArray--,"bracket";if(n.lhs&&e.peek()==="["&&e.skipTo("]"))return e.next(),e.peek()==="]"&&e.next(),"atom";if(e.peek()==="#")return e.skipToEnd(),"comment";if(e.eatSpace())return null;if(n.lhs&&e.eatWhile(function(i){return i!="="&&i!=" "}))return"property";if(n.lhs&&e.peek()==="=")return e.next(),n.lhs=!1,null;if(!n.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!n.lhs&&(e.match("true")||e.match("false")))return"atom";if(!n.lhs&&e.peek()==="[")return n.inArray++,e.next(),"bracket";if(!n.lhs&&e.match(/^\-?\d+(?:\.\d+)?/))return"number";e.eatSpace()||e.next()}return null}}}),r.defineMIME("text/x-toml","toml")})})();var f=c.exports;const g=t(f),x=p({__proto__:null,default:g},[f]);export{x as t}; diff --git a/dist-ui/assets/tornado-Brtzznv_.js b/dist-ui/assets/tornado-Brtzznv_.js new file mode 100644 index 00000000..0b09366b --- /dev/null +++ b/dist-ui/assets/tornado-Brtzznv_.js @@ -0,0 +1 @@ +import{g as d,c as l}from"./index-BLHgoTgd.js";import{r as p}from"./htmlmixed-DMkIMe4i.js";import{r as m}from"./overlay-Dtk6ZH6S.js";function x(u,f){for(var e=0;et[n]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(u,f){(function(e){e(l,p(),m())})(function(e){e.defineMode("tornado:inner",function(){var t=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];t=new RegExp("^(("+t.join(")|(")+"))\\b");function n(r,o){r.eatWhile(/[^\{]/);var i=r.next();if(i=="{"&&(i=r.eat(/\{|%|#/)))return o.tokenize=a(i),"tag"}function a(r){return r=="{"&&(r="}"),function(o,i){var c=o.next();return c==r&&o.eat("}")?(i.tokenize=n,"tag"):o.match(t)?"keyword":r=="#"?"comment":"string"}}return{startState:function(){return{tokenize:n}},token:function(r,o){return o.tokenize(r,o)}}}),e.defineMode("tornado",function(t){var n=e.getMode(t,"text/html"),a=e.getMode(t,"tornado:inner");return e.overlayMode(n,a)}),e.defineMIME("text/x-tornado","tornado")})})();var s=g.exports;const y=d(s),v=x({__proto__:null,default:y},[s]);export{v as t}; diff --git a/dist-ui/assets/troff-xTnjp11G.js b/dist-ui/assets/troff-xTnjp11G.js new file mode 100644 index 00000000..84cdd9f9 --- /dev/null +++ b/dist-ui/assets/troff-xTnjp11G.js @@ -0,0 +1 @@ +import{g as p,c as l}from"./index-BLHgoTgd.js";function d(c,u){for(var n=0;nf[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(c,u){(function(n){n(l)})(function(n){n.defineMode("troff",function(){var f={};function o(t){if(t.eatSpace())return null;var e=t.sol(),i=t.next();if(i==="\\")return t.match("fB")||t.match("fR")||t.match("fI")||t.match("u")||t.match("d")||t.match("%")||t.match("&")?"string":t.match("m[")?(t.skipTo("]"),t.next(),"string"):t.match("s+")||t.match("s-")?(t.eatWhile(/[\d-]/),"string"):((t.match("(")||t.match("*("))&&t.eatWhile(/[\w-]/),"string");if(e&&(i==="."||i==="'")&&t.eat("\\")&&t.eat('"'))return t.skipToEnd(),"comment";if(e&&i==="."){if(t.match("B ")||t.match("I ")||t.match("R "))return"attribute";if(t.match("TH ")||t.match("SH ")||t.match("SS ")||t.match("HP "))return t.skipToEnd(),"quote";if(t.match(/[A-Z]/)&&t.match(/[A-Z]/)||t.match(/[a-z]/)&&t.match(/[a-z]/))return"attribute"}t.eatWhile(/[\w-]/);var h=t.current();return f.hasOwnProperty(h)?f[h]:null}function r(t,e){return(e.tokens[0]||o)(t,e)}return{startState:function(){return{tokens:[]}},token:function(t,e){return r(t,e)}}}),n.defineMIME("text/troff","troff"),n.defineMIME("text/x-troff","troff"),n.defineMIME("application/x-troff","troff")})})();var a=g.exports;const x=p(a),b=d({__proto__:null,default:x},[a]);export{b as t}; diff --git a/dist-ui/assets/ttcn-JE884fRg.js b/dist-ui/assets/ttcn-JE884fRg.js new file mode 100644 index 00000000..6b6089f4 --- /dev/null +++ b/dist-ui/assets/ttcn-JE884fRg.js @@ -0,0 +1 @@ +import{g as N,c as B}from"./index-BLHgoTgd.js";function F(m,g){for(var u=0;uo[a]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(m,g){(function(u){u(B)})(function(u){u.defineMode("ttcn",function(l,i){var p=l.indentUnit,s=i.keywords||{},d=i.builtin||{},h=i.timerOps||{},v=i.portOps||{},M=i.configOps||{},S=i.verdictOps||{},z=i.sutOps||{},L=i.functionOps||{},C=i.verdictConsts||{},_=i.booleanConsts||{},j=i.otherConsts||{},P=i.types||{},W=i.visibilityModifiers||{},T=i.templateMatch||{},U=i.multiLineStrings,$=i.indentStatements!==!1,O=/[+\-*&@=<>!\/]/,c;function A(t,n){var e=t.next();if(e=='"'||e=="'")return n.tokenize=D(e),n.tokenize(t,n);if(/[\[\]{}\(\),;\\:\?\.]/.test(e))return c=e,"punctuation";if(e=="#")return t.skipToEnd(),"atom preprocessor";if(e=="%")return t.eatWhile(/\b/),"atom ttcn3Macros";if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(e=="/"){if(t.eat("*"))return n.tokenize=k,k(t,n);if(t.eat("/"))return t.skipToEnd(),"comment"}if(O.test(e))return e=="@"&&(t.match("try")||t.match("catch")||t.match("lazy"))?"keyword":(t.eatWhile(O),"operator");t.eatWhile(/[\w\$_\xa1-\uffff]/);var r=t.current();return s.propertyIsEnumerable(r)?"keyword":d.propertyIsEnumerable(r)?"builtin":h.propertyIsEnumerable(r)?"def timerOps":M.propertyIsEnumerable(r)?"def configOps":S.propertyIsEnumerable(r)?"def verdictOps":v.propertyIsEnumerable(r)?"def portOps":z.propertyIsEnumerable(r)?"def sutOps":L.propertyIsEnumerable(r)?"def functionOps":C.propertyIsEnumerable(r)?"string verdictConsts":_.propertyIsEnumerable(r)?"string booleanConsts":j.propertyIsEnumerable(r)?"string otherConsts":P.propertyIsEnumerable(r)?"builtin types":W.propertyIsEnumerable(r)?"builtin visibilityModifiers":T.propertyIsEnumerable(r)?"atom templateMatch":"variable"}function D(t){return function(n,e){for(var r=!1,y,E=!1;(y=n.next())!=null;){if(y==t&&!r){var f=n.peek();f&&(f=f.toLowerCase(),(f=="b"||f=="h"||f=="o")&&n.next()),E=!0;break}r=!r&&y=="\\"}return(E||!(r||U))&&(e.tokenize=null),"string"}}function k(t,n){for(var e=!1,r;r=t.next();){if(r=="/"&&e){n.tokenize=null;break}e=r=="*"}return"comment"}function w(t,n,e,r,y){this.indented=t,this.column=n,this.type=e,this.align=r,this.prev=y}function x(t,n,e){var r=t.indented;return t.context&&t.context.type=="statement"&&(r=t.context.indented),t.context=new w(r,n,e,null,t.context)}function b(t){var n=t.context.type;return(n==")"||n=="]"||n=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}return{startState:function(t){return{tokenize:null,context:new w((t||0)-p,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,n){var e=n.context;if(t.sol()&&(e.align==null&&(e.align=!1),n.indented=t.indentation(),n.startOfLine=!0),t.eatSpace())return null;c=null;var r=(n.tokenize||A)(t,n);if(r=="comment")return r;if(e.align==null&&(e.align=!0),(c==";"||c==":"||c==",")&&e.type=="statement")b(n);else if(c=="{")x(n,t.column(),"}");else if(c=="[")x(n,t.column(),"]");else if(c=="(")x(n,t.column(),")");else if(c=="}"){for(;e.type=="statement";)e=b(n);for(e.type=="}"&&(e=b(n));e.type=="statement";)e=b(n)}else c==e.type?b(n):$&&((e.type=="}"||e.type=="top")&&c!=";"||e.type=="statement"&&c=="newstatement")&&x(n,t.column(),"statement");return n.startOfLine=!1,r},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function o(l){for(var i={},p=l.split(" "),s=0;sr[o]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(_,U){(function(C){C(p)})(function(C){C.defineMode("ttcn-cfg",function(o,E){var u=o.indentUnit,l=E.keywords||{},P=E.fileNCtrlMaskOptions||{},L=E.externalCommands||{},a=E.multiLineStrings,s=E.indentStatements!==!1,c=/[\|]/,i;function M(e,n){var t=e.next();if(t=='"'||t=="'")return n.tokenize=D(t),n.tokenize(e,n);if(/[:=]/.test(t))return i=t,"punctuation";if(t=="#")return e.skipToEnd(),"comment";if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(c.test(t))return e.eatWhile(c),"operator";if(t=="[")return e.eatWhile(/[\w_\]]/),"number sectionTitle";e.eatWhile(/[\w\$_]/);var T=e.current();return l.propertyIsEnumerable(T)?"keyword":P.propertyIsEnumerable(T)?"negative fileNCtrlMaskOptions":L.propertyIsEnumerable(T)?"negative externalCommands":"variable"}function D(e){return function(n,t){for(var T=!1,O,f=!1;(O=n.next())!=null;){if(O==e&&!T){var N=n.peek();N&&(N=N.toLowerCase(),(N=="b"||N=="h"||N=="o")&&n.next()),f=!0;break}T=!T&&O=="\\"}return(f||!(T||a))&&(t.tokenize=null),"string"}}function R(e,n,t,T,O){this.indented=e,this.column=n,this.type=t,this.align=T,this.prev=O}function A(e,n,t){var T=e.indented;return e.context&&e.context.type=="statement"&&(T=e.context.indented),e.context=new R(T,n,t,null,e.context)}function I(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new R((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var T=(n.tokenize||M)(e,n);if(T=="comment")return T;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")I(n);else if(i=="{")A(n,e.column(),"}");else if(i=="[")A(n,e.column(),"]");else if(i=="(")A(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=I(n);for(t.type=="}"&&(t=I(n));t.type=="statement";)t=I(n)}else i==t.type?I(n):s&&((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&A(n,e.column(),"statement");return n.startOfLine=!1,T},electricChars:"{}",lineComment:"#",fold:"brace"}});function r(o){for(var E={},u=o.split(" "),l=0;ll[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(f,x){(function(i){i(b)})(function(i){i.defineMode("turtle",function(l){var c=l.indentUnit,o;function a(n){return new RegExp("^(?:"+n.join("|")+")$","i")}a([]);var h=a(["@prefix","@base","a"]),g=/[*+\-<>=&|]/;function v(n,e){var t=n.next();if(o=null,t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=k(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,null;if(t=="#")return n.skipToEnd(),"comment";if(g.test(t))return n.eatWhile(g),null;if(t==":")return"operator";if(n.eatWhile(/[_\w\d]/),n.peek()==":")return"variable-3";var r=n.current();return h.test(r)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var r=n.current()}function k(n){return function(e,t){for(var r=!1,u;(u=e.next())!=null;){if(u==n&&!r){t.tokenize=v;break}r=!r&&u=="\\"}return"string"}}function p(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function d(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:v,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")p(e,")",n.column());else if(o=="[")p(e,"]",n.column());else if(o=="{")p(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)d(e);e.context&&o==e.context.type&&d(e)}else o=="."&&e.context&&e.context.type=="pattern"?d(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?p(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var u=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(u?0:1):r.indent+(u?0:c):0},lineComment:"#"}}),i.defineMIME("text/turtle","turtle")})})();var y=m.exports;const j=w(y),E=s({__proto__:null,default:j},[y]);export{E as t}; diff --git a/dist-ui/assets/twig-C4S06vZo.js b/dist-ui/assets/twig-C4S06vZo.js new file mode 100644 index 00000000..dc56db60 --- /dev/null +++ b/dist-ui/assets/twig-C4S06vZo.js @@ -0,0 +1 @@ +import{g as s,c as p}from"./index-BLHgoTgd.js";import{r as b}from"./multiplex-DTs8uP38.js";function m(u,c){for(var i=0;it[r]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(u,c){(function(i){i(p,b())})(function(i){i.defineMode("twig:inner",function(){var t=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],r=/^[+\-*&%=<>!?|~^]/,o=/^[:\[\(\{]/,l=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],d=/^(\d[+\-\*\/])?\d+(\.\d+)?/;t=new RegExp("(("+t.join(")|(")+"))\\b"),l=new RegExp("(("+l.join(")|(")+"))\\b");function g(e,n){var f=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(l))return"atom";if(e.match(d))return"number"}if(n.sign){if(n.sign=!1,e.match(l))return"atom";if(e.match(d))return"number"}if(n.instring)return f==n.instring&&(n.instring=!1),e.next(),"string";if(f=="'"||f=='"')return n.instring=f,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(r))return n.operator=!0,"operator";if(e.match(o))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(t))return"keyword";if(e.match(l))return"atom";if(e.match(d))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(f=e.eat(/\{|%/))return n.intag=f,f=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{}},token:function(e,n){return g(e,n)}}}),i.defineMode("twig",function(t,r){var o=i.getMode(t,"twig:inner");return!r||!r.base?o:i.multiplexingMode(i.getMode(t,r.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:o,parseDelimiters:!0})}),i.defineMIME("text/x-twig","twig")})})();var a=x.exports;const h=s(a),v=m({__proto__:null,default:h},[a]);export{v as t}; diff --git a/dist-ui/assets/vb-mfOpdArb.js b/dist-ui/assets/vb-mfOpdArb.js new file mode 100644 index 00000000..b389b70a --- /dev/null +++ b/dist-ui/assets/vb-mfOpdArb.js @@ -0,0 +1 @@ +import{g as U,c as $}from"./index-BLHgoTgd.js";function J(a,s){for(var o=0;oc[d]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(a,s){(function(o){o($)})(function(o){o.defineMode("vb",function(c,d){var u="error";function l(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var O=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),R=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),z=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),S=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),_=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),C=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),h=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],g=["else","elseif","case","catch","finally"],y=["next","loop"],b=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],j=l(b),w=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],x=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],F=l(w),T=l(x),A='"',D=l(h),m=l(g),k=l(y),I=l(["end"]),L=l(["do"]);o.registerHelper("hintWords","vb",h.concat(g).concat(y).concat(b).concat(w).concat(x));function p(e,n){n.currentIndent++}function f(e,n){n.currentIndent--}function v(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(t=!0),t)return e.eat(/J/i),"number";var i=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?i=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),i=!0):e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}return e.match(A)?(n.tokenize=K(e.current()),n.tokenize(e,n)):e.match(_)||e.match(S)?null:e.match(z)||e.match(O)||e.match(j)?"operator":e.match(R)?null:e.match(L)?(p(e,n),n.doInCurrentLine=!0,"keyword"):e.match(D)?(n.doInCurrentLine?n.doInCurrentLine=!1:p(e,n),"keyword"):e.match(m)?"keyword":e.match(I)?(f(e,n),f(e,n),"keyword"):e.match(k)?(f(e,n),"keyword"):e.match(T)||e.match(F)?"keyword":e.match(C)?"variable":(e.next(),u)}function K(e){var n=e.length==1,r="string";return function(t,i){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return i.tokenize=v,r;t.eat(/['"]/)}if(n){if(d.singleLineStringErrors)return u;i.tokenize=v}return r}}function P(e,n){var r=n.tokenize(e,n),t=e.current();if(t===".")return r=n.tokenize(e,n),r==="variable"?"variable":u;var i="[({".indexOf(t);return i!==-1&&p(e,n),i="])}".indexOf(t),i!==-1&&f(e,n)?u:r}var H={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:v,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=P(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(k)||r.match(I)||r.match(m)?c.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*c.indentUnit},lineComment:"'"};return H}),o.defineMIME("text/x-vb","vb")})})();var E=M.exports;const W=U(E),B=J({__proto__:null,default:W},[E]);export{B as v}; diff --git a/dist-ui/assets/vbscript-DBfdn2zS.js b/dist-ui/assets/vbscript-DBfdn2zS.js new file mode 100644 index 00000000..60b68cae --- /dev/null +++ b/dist-ui/assets/vbscript-DBfdn2zS.js @@ -0,0 +1 @@ +import{g as Q,c as X}from"./index-BLHgoTgd.js";function ee(b,s){for(var a=0;ao[u]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var re={exports:{}};(function(b,s){(function(a){a(X)})(function(a){a.defineMode("vbscript",function(o,u){var l="error";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var w=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),k=new RegExp("^((<>)|(<=)|(>=))"),O=new RegExp("^[\\.,]"),C=new RegExp("^[\\(\\)]"),I=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),S=["class","sub","select","while","if","function","property","with","for"],E=["else","elseif","case"],j=["next","loop","wend"],D=t(["and","or","not","xor","is","mod","eqv","imp"]),T=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],F=["true","false","nothing","empty","null"],L=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],R=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],v=["WScript","err","debug","RegExp"],z=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],W=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],A=["server","response","request","session","application"],B=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],K=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],d=W.concat(z);v=v.concat(R),o.isASP&&(v=v.concat(A),d=d.concat(K,B));var M=t(T),_=t(F),N=t(L),P=t(v),q=t(d),U='"',Y=t(S),g=t(E),y=t(j),h=t(["end"]),H=t(["do"]),J=t(["on error resume next","exit"]),V=t(["rem"]);function m(e,r){r.currentIndent++}function f(e,r){r.currentIndent--}function p(e,r){if(e.eatSpace())return"space";var n=e.peek();if(n==="'"||e.match(V))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var i=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(i=!0),i)return e.eat(/J/i),"number";var c=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?c=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),c=!0):e.match(/^0(?![\dx])/i)&&(c=!0),c)return e.eat(/L/i),"number"}return e.match(U)?(r.tokenize=$(e.current()),r.tokenize(e,r)):e.match(k)||e.match(w)||e.match(D)?"operator":e.match(O)?null:e.match(C)?"bracket":e.match(J)?(r.doInCurrentLine=!0,"keyword"):e.match(H)?(m(e,r),r.doInCurrentLine=!0,"keyword"):e.match(Y)?(r.doInCurrentLine?r.doInCurrentLine=!1:m(e,r),"keyword"):e.match(g)?"keyword":e.match(h)?(f(e,r),f(e,r),"keyword"):e.match(y)?(r.doInCurrentLine?r.doInCurrentLine=!1:f(e,r),"keyword"):e.match(M)?"keyword":e.match(_)?"atom":e.match(q)?"variable-2":e.match(N)?"builtin":e.match(P)?"variable-2":e.match(I)?"variable":(e.next(),l)}function $(e){var r=e.length==1,n="string";return function(i,c){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return c.tokenize=p,n;i.eat(/['"]/)}if(r){if(u.singleLineStringErrors)return l;c.tokenize=p}return n}}function G(e,r){var n=r.tokenize(e,r),i=e.current();return i==="."?(n=r.tokenize(e,r),i=e.current(),n&&(n.substr(0,8)==="variable"||n==="builtin"||n==="keyword")?((n==="builtin"||n==="keyword")&&(n="variable"),d.indexOf(i.substr(1))>-1&&(n="variable-2"),n):l):n}var Z={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:p,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,r){e.sol()&&(r.currentIndent+=r.nextLineIndent,r.nextLineIndent=0,r.doInCurrentLine=0);var n=G(e,r);return r.lastToken={style:n,content:e.current()},n==="space"&&(n=null),n},indent:function(e,r){var n=r.replace(/^\s+|\s+$/g,"");return n.match(y)||n.match(h)||n.match(g)?o.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*o.indentUnit}};return Z}),a.defineMIME("text/vbscript","vbscript")})})();var x=re.exports;const ne=Q(x),ie=ee({__proto__:null,default:ne},[x]);export{ie as v}; diff --git a/dist-ui/assets/velocity-D-BZSocU.js b/dist-ui/assets/velocity-D-BZSocU.js new file mode 100644 index 00000000..435b6b32 --- /dev/null +++ b/dist-ui/assets/velocity-D-BZSocU.js @@ -0,0 +1 @@ +import{g as m,c as $}from"./index-BLHgoTgd.js";function W(u,p){for(var l=0;lt[a]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(u,p){(function(l){l($)})(function(l){l.defineMode("velocity",function(){function t(n){for(var e={},i=n.split(" "),r=0;r!?:\/|]/;function s(n,e,i){return e.tokenize=i,i(n,e)}function c(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,s(n,e,d(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return s(n,e,d(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,s(n,e,y);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,s(n,e,g);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),h&&h.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(b.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(b),"operator";n.eatWhile(/[\w\$_{}@]/);var o=n.current();return a&&a.propertyIsEnumerable(o)?"keyword":f&&f.propertyIsEnumerable(o)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(f&&f.propertyIsEnumerable(o.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>o.length&&n.string.charAt(n.pos-o.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function d(n){return function(e,i){for(var r=!1,o,k=!1;(o=e.next())!=null;){if(o==n&&!r){k=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,k=!0;break}r=!r&&o=="\\"}return k&&(i.tokenize=c),"string"}}function y(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=c;break}i=r=="*"}return"comment"}function g(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=c;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),l.defineMIME("text/velocity","velocity")})})();var v=T.exports;const x=m(v),P=W({__proto__:null,default:x},[v]);export{P as v}; diff --git a/dist-ui/assets/verilog-CcdiXcVn.js b/dist-ui/assets/verilog-CcdiXcVn.js new file mode 100644 index 00000000..1d0b3533 --- /dev/null +++ b/dist-ui/assets/verilog-CcdiXcVn.js @@ -0,0 +1 @@ +import{g as oe,c as ae}from"./index-BLHgoTgd.js";function ce(S,L){for(var p=0;ph[m]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}var fe={exports:{}};(function(S,L){(function(p){p(ae)})(function(p){p.defineMode("verilog",function(i,l){var a=i.indentUnit,f=l.statementIndentUnit||a,x=l.dontAlignCalls,k=l.compilerDirectivesUseRegularIndentation,z=l.noIndentKeywords||[],_=l.multiLineStrings,v=l.hooks||{};function b(e){for(var t={},n=e.split(" "),r=0;r]/,O=/[\[\]{}()]/,J=/\d[0-9_]*/,Q=/\d*\s*'s?d\s*\d[0-9_]*/i,X=/\d*\s*'s?b\s*[xz01][xz01_]*/i,Y=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,Z=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,U=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,H=/^((`?\w+)|[)}\]])/,M=/[)}\]]/,A=new RegExp("^(`(?:ifdef|ifndef|elsif|else|endif|undef|undefineall|define|include|begin_keywords|celldefine|default|nettype|end_keywords|endcelldefine|line|nounconnected_drive|pragma|resetall|timescale|unconnected_drive))\\b"),ee=/^(`(?:ifdef|ifndef|elsif|else))\b/,W=/^(`(?:elsif|else|endif))\b/,c,d,ne=b("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),u={};for(var I in ne)u[I]="end"+I;u.begin="end",u.casex="endcase",u.casez="endcase",u.do="while",u.fork="join;join_any;join_none",u.covergroup="endgroup",u.macro_begin="macro_end";for(var te in z){var I=z[te];u[I]&&(u[I]=void 0)}var ie=b("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while extern typedef");function j(e,t){var n=e.peek(),r;if(v[n]&&(r=v[n](e,t))!=!1||v.tokenBase&&(r=v.tokenBase(e,t))!=!1)return r;if(/[,;:\.]/.test(n))return c=e.next(),null;if(O.test(n))return c=e.next(),"bracket";if(n=="`")if(e.next(),e.eatWhile(/[\w\$_]/)){var o=e.current();if(d=o,o.startsWith("`uvm_")&&o.endsWith("_begin")){var s=d.substr(0,d.length-5)+"end";u[o]=s,c="newblock"}else{e.eatSpace(),e.peek()=="("&&(c="newmacro");var B=e.current();e.backUp(B.length-o.length)}return"def"}else return null;if(n=="$")return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if(n=="#")return e.next(),e.eatWhile(/[\d_.]/),"def";if(n=="@")return e.next(),e.eatWhile(/[@]/),"def";if(n=='"')return e.next(),t.tokenize=re(n),t.tokenize(e,t);if(n=="/"){if(e.next(),e.eat("*"))return t.tokenize=q,q(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(U)||e.match(Q)||e.match(X)||e.match(Y)||e.match(Z)||e.match(J)||e.match(U))return"number";if(e.eatWhile(E))return c=e.current(),"meta";if(e.eatWhile(/[\w\$_]/)){var o=e.current();return $[o]?(u[o]&&(c="newblock",o==="fork"&&(e.eatSpace(),e.peek()==";"&&(c="newstatement"),e.backUp(e.current().length-o.length))),ie[o]&&(c="newstatement"),d=o,"keyword"):"variable"}return e.next(),null}function re(e){return function(t,n){for(var r=!1,o,s=!1;(o=t.next())!=null;){if(o==e&&!r){s=!0;break}r=!r&&o=="\\"}return(s||!(r||_))&&(n.tokenize=j),"string"}}function q(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=j;break}n=r=="*"}return"comment"}function R(e,t,n,r,o,s){this.indented=e,this.column=t,this.type=n,this.scopekind=r,this.align=o,this.prev=s}function y(e,t,n,r){var o=e.indented,s=new R(o,t,n,r||"",null,e.context);return e.context=s}function w(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function N(e,t){if(e==t)return!0;var n=t.split(";");for(var r in n)if(e==n[r])return!0;return!1}function T(e,t){return e==null?!1:e.scopekind===t?!0:T(e.prev,t)}function le(){var e=[];for(var t in u)if(u[t]){var n=u[t].split(";");for(var r in n)e.push(n[r])}var o=new RegExp("[{}()\\[\\]]|("+e.join("|")+")$");return o}return{electricInput:le(),startState:function(e){var t={tokenize:null,context:new R((e||0)-a,0,"top","top",!1),indented:0,compilerDirectiveIndented:0,startOfLine:!0};return v.startState&&v.startState(t),t},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),v.token){var r=v.token(e,t);if(r!==void 0)return r}if(e.eatSpace())return null;c=null,d=null;var r=(t.tokenize||j)(e,t);if(r=="comment"||r=="meta"||r=="variable")return(c==="="||c==="<=")&&!T(n,"assignment")&&(y(t,e.column()+c.length,"assignment","assignment"),n.align==null&&(n.align=!0)),r;n.align==null&&(n.align=!0);var o=n.type=="assignment"&&M.test(c)&&n.prev&&n.prev.type===c;if(c==n.type||o){if(o&&(n=w(t)),n=w(t),c==")"){if(n&&n.type==="macro")for(n=w(t);n&&(n.type=="statement"||n.type=="assignment");)n=w(t)}else if(c=="}"&&n&&n.type==="statement")for(;n&&n.type=="statement";)n=w(t)}else if((c==";"||c==",")&&(n.type=="statement"||n.type=="assignment")||n.type&&N(d,n.type))for(n=w(t);n&&(n.type=="statement"||n.type=="assignment");)n=w(t);else if(c=="{")y(t,e.column(),"}");else if(c=="[")y(t,e.column(),"]");else if(c=="(")y(t,e.column(),")");else if(n&&n.type=="endcase"&&c==":")y(t,e.column(),"statement","case");else if(c=="newstatement")y(t,e.column(),"statement",d);else if(c=="newblock"){if(!(d=="function"&&n&&(n.type=="statement"||n.type=="endgroup"))){if(!(d=="task"&&n&&n.type=="statement")){if(!(d=="class"&&n&&n.type=="statement")){var s=u[d];y(t,e.column(),s,d)}}}}else(c=="newmacro"||d&&d.match(A))&&(c=="newmacro"&&y(t,e.column(),"macro","macro"),d.match(W)&&(t.compilerDirectiveIndented-=f),d.match(ee)&&(t.compilerDirectiveIndented+=f));return t.startOfLine=!1,r},indent:function(e,t){if(e.tokenize!=j&&e.tokenize!=null)return p.Pass;if(v.indent){var n=v.indent(e);if(n>=0)return n}var r=e.context,o=t&&t.charAt(0);r.type=="statement"&&o=="}"&&(r=r.prev);var s=!1,B=t.match(H);return B&&(s=N(B[0],r.type)),!k&&t.match(A)?t.match(W)?e.compilerDirectiveIndented-f:e.compilerDirectiveIndented:r.type=="statement"?r.indented+(o=="{"?0:f):(M.test(r.type)||r.type=="assignment")&&r.align&&!x?r.column+(s?0:1):r.type==")"&&!s?r.indented+f:r.indented+(s?0:a)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"indent"}}),p.defineMIME("text/x-verilog",{name:"verilog"}),p.defineMIME("text/x-systemverilog",{name:"verilog"});var h={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},m={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},g=3,D=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,P=/^[! ] /,F=/^[! ] */,V=/^\/[\/\*]/;function C(i,l,a){var f=l/g;return"tlv-"+i.tlvIndentationStyle[f]+"-"+a}function G(i){var l;return(l=i.match(D,!1))&&l[2].length>0}p.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(i,l){var a=void 0,f;if(i.sol()&&!l.tlvInBlockComment){i.peek()=="\\"&&(a="def",i.skipToEnd(),i.string.match(/\\SV/)?l.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(l.tlvCodeActive=!0)),l.tlvCodeActive&&i.pos==0&&l.indented==0&&(f=i.match(F,!1))&&(l.indented=f[0].length);var x=l.indented,k=x/g;if(k<=l.tlvIndentationStyle.length){var z=i.string.length==x,_=k*g;if(_0||(l.tlvIndentationStyle[k]=m[b],k++))}if(!z)for(;l.tlvIndentationStyle.length>k;)l.tlvIndentationStyle.pop()}l.tlvNextIndent=x}if(l.tlvCodeActive){var $=!1,f;if(a!==void 0)a+=" "+C(l,0,"scope-ident");else if(i.pos/g0||i.eol())?(a=h[E],i.column()==l.indented&&(a+=" "+C(l,i.column(),"scope-ident"))):(i.backUp(i.current().length-1),a="tlv-default")}else i.match(/^\t+/)?a="tlv-tab":i.match(/^[\[\]{}\(\);\:]+/)?a="meta":(f=i.match(/^[mM]4([\+_])?[\w\d_]*/))?a=f[1]=="+"?"tlv-m4-plus":"tlv-m4":i.match(/^ +/)?i.eol()?a="error":a="tlv-default":i.match(/^[\w\d_]+/)?a="number":(i.next(),a="tlv-default");$&&(a+=" tlv-statement")}else i.match(/^[mM]4([\w\d_]*)/)&&(a="tlv-m4");return a},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}})})})();var K=fe.exports;const de=oe(K),se=ce({__proto__:null,default:de},[K]);export{se as v}; diff --git a/dist-ui/assets/vhdl-DWfb__He.js b/dist-ui/assets/vhdl-DWfb__He.js new file mode 100644 index 00000000..da4cf613 --- /dev/null +++ b/dist-ui/assets/vhdl-DWfb__He.js @@ -0,0 +1 @@ +import{g as C,c as _}from"./index-BLHgoTgd.js";function L(g,b){for(var f=0;fl[a]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(g,b){(function(f){f(_)})(function(f){function l(u){for(var s={},c=u.split(","),d=0;ds[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(r,p){(function(e){e(u,x(),c(),f(),m,g,v,y,d,$)})(function(e){var s={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,a){var i={token:function(l){if(l.match(/^\{\{.*?\}\}/))return"meta mustache";for(;l.next()&&!l.match("{{",!1););return null}};return e.overlayMode(e.getMode(t,a.backdrop||"text/html"),i)}),e.defineMode("vue",function(t){return e.getMode(t,{name:"htmlmixed",tags:s})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})})();var o=h.exports;const E=n(o),A=b({__proto__:null,default:E},[o]);export{A as v}; diff --git a/dist-ui/assets/wast-CKgtksML.js b/dist-ui/assets/wast-CKgtksML.js new file mode 100644 index 00000000..a9faa7c8 --- /dev/null +++ b/dist-ui/assets/wast-CKgtksML.js @@ -0,0 +1 @@ +import{g as i,c as _,b as l}from"./index-BLHgoTgd.js";function x(n,o){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(n,o){(function(e){e(_,l())})(function(e){var t=["align","block","br(_if|_table|_on_(cast|data|func|i31|null))?","call(_indirect|_ref)?","current_memory","\\bdata\\b","catch(_all)?","delegate","drop","elem","else","end","export","\\bextern\\b","\\bfunc\\b","global(\\.(get|set))?","if","import","local(\\.(get|set|tee))?","loop","module","mut","nop","offset","param","result","rethrow","return(_call(_indirect|_ref)?)?","select","start","table(\\.(size|get|set|size|grow|fill|init|copy))?","then","throw","try","type","unreachable","unwind","i(32|64)\\.(store(8|16)|(load(8|16)_[su]))","i64\\.(load32_[su]|store32)","[fi](32|64)\\.(const|load|store)","f(32|64)\\.(abs|add|ceil|copysign|div|eq|floor|[gl][et]|max|min|mul|nearest|neg?|sqrt|sub|trunc)","i(32|64)\\.(a[dn]d|c[lt]z|(div|rem)_[su]|eqz?|[gl][te]_[su]|mul|ne|popcnt|rot[lr]|sh(l|r_[su])|sub|x?or)","i64\\.extend_[su]_i32","i32\\.wrap_i64","i(32|64)\\.trunc_f(32|64)_[su]","f(32|64)\\.convert_i(32|64)_[su]","f64\\.promote_f32","f32\\.demote_f64","f32\\.reinterpret_i32","i32\\.reinterpret_f32","f64\\.reinterpret_i64","i64\\.reinterpret_f64","memory(\\.((atomic\\.(notify|wait(32|64)))|grow|size))?","i64.atomic\\.(load32_u|store32|rmw32\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u)","i(32|64)\\.atomic\\.(load((8|16)_u)?|store(8|16)?|rmw(\\.(a[dn]d|sub|x?or|(cmp)?xchg)|(8|16)\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u))","v128\\.load(8x8|16x4|32x2)_[su]","v128\\.load(8|16|32|64)_splat","v128\\.(load|store)(8|16|32|64)_lane","v128\\.load(32|64)_zero","v128.(load|store|const|not|andnot|and|or|xor|bitselect|any_true)","i(8x16|16x8)\\.(extract_lane_[su]|(add|sub)_sat_[su]|avgr_u)","i(8x16|16x8|32x4|64x2)\\.(neg|add|sub|abs|shl|shr_[su]|all_true|bitmask|eq|ne|[lg][te]_s)","(i(8x16|16x8|32x4|64x2)|f(32x4|64x2)).(splat|replace_lane)","i(8x16|16x8|32x4)\\.(([lg][te]_u)|((min|max)_[su]))","f(32x4|64x2)\\.(neg|add|sub|abs|nearest|eq|ne|[lg][te]|sqrt|mul|div|min|max|ceil|floor|trunc)","[fi](32x4|64x2)\\.extract_lane","i8x16\\.(shuffle|swizzle|popcnt|narrow_i16x8_[su])","i16x8\\.(narrow_i32x4_[su]|mul|extadd_pairwise_i8x16_[su]|q15mulr_sat_s)","i16x8\\.(extend|extmul)_(low|high)_i8x16_[su]","i32x4\\.(mul|dot_i16x8_s|trunc_sat_f64x2_[su]_zero)","i32x4\\.((extend|extmul)_(low|high)_i16x8_|trunc_sat_f32x4_|extadd_pairwise_i16x8_)[su]","i64x2\\.(mul|(extend|extmul)_(low|high)_i32x4_[su])","f32x4\\.(convert_i32x4_[su]|demote_f64x2_zero)","f64x2\\.(promote_low_f32x4|convert_low_i32x4_[su])","\\bany\\b","array\\.len","(array|struct)(\\.(new_(default_)?with_rtt|get(_[su])?|set))?","\\beq\\b","field","i31\\.(new|get_[su])","\\bnull\\b","ref(\\.(([ai]s_(data|func|i31))|cast|eq|func|(is_|as_non_)?null|test))?","rtt(\\.(canon|sub))?"];e.defineSimpleMode("wast",{start:[{regex:/[+\-]?(?:nan(?::0x[0-9a-fA-F]+)?|infinity|inf|0x[0-9a-fA-F]+\.?[0-9a-fA-F]*p[+\/-]?\d+|\d+(?:\.\d*)?[eE][+\-]?\d*|\d+\.\d*|0x[0-9a-fA-F]+|\d+)/,token:"number"},{regex:new RegExp(t.join("|")),token:"keyword"},{regex:/\b((any|data|eq|extern|i31|func)ref|[fi](32|64)|i(8|16))\b/,token:"atom"},{regex:/\$([a-zA-Z0-9_`\+\-\*\/\\\^~=<>!\?@#$%&|:\.]+)/,token:"variable-2"},{regex:/"(?:[^"\\\x00-\x1f\x7f]|\\[nt\\'"]|\\[0-9a-fA-F][0-9a-fA-F])*"/,token:"string"},{regex:/\(;.*?/,token:"comment",next:"comment"},{regex:/;;.*$/,token:"comment"},{regex:/\(/,indent:!0},{regex:/\)/,dedent:!0}],comment:[{regex:/.*?;\)/,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"]}}),e.defineMIME("text/webassembly","wast")})})();var s=u.exports;const d=i(s),f=x({__proto__:null,default:d},[s]);export{f as w}; diff --git a/dist-ui/assets/webidl-uFATJbXM.js b/dist-ui/assets/webidl-uFATJbXM.js new file mode 100644 index 00000000..84468bcc --- /dev/null +++ b/dist-ui/assets/webidl-uFATJbXM.js @@ -0,0 +1 @@ +import{g as T,c as _}from"./index-BLHgoTgd.js";function U(f,c){for(var n=0;nt[a]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,c){(function(n){n(_)})(function(n){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var a=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],l=t(a),u=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],p=t(u),s=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],b=t(s),d=["true","false","Infinity","NaN","null"],v=t(d);n.registerHelper("hintWords","webidl",a.concat(u).concat(s).concat(d));var g=["callback","dictionary","enum","interface"],A=t(g),h=["typedef"],w=t(h),D=/^[:<=>?]/,E=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,x=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,m=/^_?[A-Za-z][0-9A-Z_a-z-]*/,k=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,O=/^"[^"]*"/,j=/^\/\*.*?\*\//,C=/^\/\*.*/,S=/^.*?\*\//;function N(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(S)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(j))return"comment";if(e.match(C))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(E)||e.match(x)))return"number";if(e.match(O))return"string";if(r.startDef&&e.match(m))return"def";if(r.endDef&&e.match(k))return r.endDef=!1,"def";if(e.match(b))return"keyword";if(e.match(p)){var i=r.lastToken,o=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return i===":"||i==="implements"||o==="implements"||o==="="?"builtin":"variable-3"}return e.match(l)?"builtin":e.match(v)?"atom":e.match(m)?"variable":e.match(D)?"operator":(e.next(),null)}n.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var i=N(e,r);if(i){var o=e.current();r.lastToken=o,i==="keyword"?(r.startDef=A.test(o),r.endDef=r.endDef||w.test(o)):r.startDef=!1}return i}}}),n.defineMIME("text/x-webidl","webidl")})})();var y=z.exports;const I=T(y),F=U({__proto__:null,default:I},[y]);export{F as w}; diff --git a/dist-ui/assets/xquery-CTpu4I2E.js b/dist-ui/assets/xquery-CTpu4I2E.js new file mode 100644 index 00000000..d58ac41d --- /dev/null +++ b/dist-ui/assets/xquery-CTpu4I2E.js @@ -0,0 +1 @@ +import{g as j,c as B}from"./index-BLHgoTgd.js";function P(y,k){for(var p=0;pf[l]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(y,k){(function(p){p(B)})(function(p){p.defineMode("xquery",function(){var f=function(){function e(O){return{type:O,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},s={type:"axis_specifier",style:"qualifier"},u={",":i},d=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,a=d.length;r",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,a=g.length;r\"\'\/?]/);)d+=r;return l(e,n,N(d,u))}else{if(t=="{")return x(n,{type:"codeblock"}),null;if(t=="}")return c(n),null;if(w(n))return t==">"?"tag":t=="/"&&e.eat(">")?(c(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return x(n,{type:"comment"}),l(e,n,T);if(!s&&(t==='"'||t==="'"))return l(e,n,b(t));if(t==="$")return l(e,n,E);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return x(n,{type:"paren"}),null;if(t===")")return c(n),null;if(t==="[")return x(n,{type:"bracket"}),null;if(t==="]")return c(n),null;var a=f.propertyIsEnumerable(t)&&f[t];if(s&&t==='"')for(;e.next()!=='"';);if(s&&t==="'")for(;e.next()!=="'";);a||e.eatWhile(/[\w\$_-]/);var v=e.eat(":");!e.eat(":")&&v&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var g=e.current();return a=f.propertyIsEnumerable(g)&&f[g],i&&!a&&(a={type:"function_call",style:"variable def"}),q(n)?(c(n),"variable"):((g=="element"||g=="attribute"||a.type=="axis_specifier")&&x(n,{type:"xmlconstructor"}),a?a.style:"variable")}}function T(e,n){for(var t=!1,i=!1,s=0,u;u=e.next();){if(u==")"&&t)if(s>0)s--;else{c(n);break}else u==":"&&i&&s++;t=u==":",i=u=="("}return"comment"}function b(e,n){return function(t,i){var s;if(C(i)&&t.current()==e)return c(i),n&&(i.tokenize=n),"string";if(x(i,{type:"string",name:e,tokenize:b(e,n)}),t.match("{",!1)&&h(i))return i.tokenize=o,"string";for(;s=t.next();)if(s==e){c(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&h(i))return i.tokenize=o,"string";return"string"}}function E(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=o,"variable"}function N(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return c(i),i.tokenize=o,"tag";if(t.eat("/")||x(i,{type:"tag",name:e,tokenize:o}),t.eat(">"))i.tokenize=o;else return i.tokenize=z,"tag";return"tag"}}function z(e,n){var t=e.next();return t=="/"&&e.eat(">")?(h(n)&&c(n),w(n)&&c(n),"tag"):t==">"?(h(n)&&c(n),"tag"):t=="="?null:t=='"'||t=="'"?l(e,n,b(t,z)):(h(n)||x(n,{type:"attribute",tokenize:z}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(c(n),n.tokenize=o),"attribute")}function A(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=o,"comment"}function _(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=o,"comment"}function D(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=o,"comment meta"}function w(e){return m(e,"tag")}function h(e){return m(e,"attribute")}function q(e){return m(e,"xmlconstructor")}function C(e){return m(e,"string")}function M(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function m(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function x(e,n){e.stack.push(n)}function c(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||o}return{startState:function(){return{tokenize:o,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},blockCommentStart:"(:",blockCommentEnd:":)"}}),p.defineMIME("application/xquery","xquery")})})();var S=$.exports;const W=j(S),X=P({__proto__:null,default:W},[S]);export{X as x}; diff --git a/dist-ui/assets/yacas-Dqg9GHs3.js b/dist-ui/assets/yacas-Dqg9GHs3.js new file mode 100644 index 00000000..b1539643 --- /dev/null +++ b/dist-ui/assets/yacas-Dqg9GHs3.js @@ -0,0 +1 @@ +import{g as T,c as z}from"./index-BLHgoTgd.js";function E(l,s){for(var i=0;ia[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var F={exports:{}};(function(l,s){(function(i){i(z)})(function(i){i.defineMode("yacas",function(a,c){function u(e){for(var r={},n=e.split(" "),o=0;o|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function x(e,r){for(var n,o=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){o=!0;break}t=!t&&n==="\\"}return o&&!t&&(r.tokenize=p),"string"}function S(e,r){for(var n,o;(o=e.next())!=null;){if(n==="*"&&o==="/"){r.tokenize=p;break}n=o}return"comment"}function d(e){var r=null;return e.scopes.length>0&&(r=e.scopes[e.scopes.length-1]),r}return{startState:function(){return{tokenize:p,scopes:[]}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},indent:function(e,r){if(e.tokenize!==p&&e.tokenize!==null)return i.Pass;var n=0;return(r==="]"||r==="];"||r==="}"||r==="};"||r===");")&&(n=-1),(e.scopes.length+n)*a.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),i.defineMIME("text/x-yacas",{name:"yacas"})})})();var v=F.exports;const w=T(v),P=E({__proto__:null,default:w},[v]);export{P as y}; diff --git a/dist-ui/assets/yaml-BsCobDxz.js b/dist-ui/assets/yaml-BsCobDxz.js new file mode 100644 index 00000000..211d959d --- /dev/null +++ b/dist-ui/assets/yaml-BsCobDxz.js @@ -0,0 +1 @@ +import{g as c,c as p}from"./index-BLHgoTgd.js";function s(o,a){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(o,a){(function(n){n(p)})(function(n){n.defineMode("yaml",function(){var r=["true","false","on","off","yes","no"],l=new RegExp("\\b(("+r.join(")|(")+"))$","i");return{token:function(e,i){var f=e.peek(),t=i.escaped;if(i.escaped=!1,f=="#"&&(e.pos==0||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&e.indentation()>i.keyCol)return e.skipToEnd(),"string";if(i.literal&&(i.literal=!1),e.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,e.match("---")||e.match("..."))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return f=="{"?i.inlinePairs++:f=="}"?i.inlinePairs--:f=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!t&&f==",")return e.next(),"meta";if(i.inlinePairs>0&&!t&&f==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,e.next(),"meta";if(i.pairStart){if(e.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(i.inlinePairs==0&&e.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(l))return"keyword"}return!i.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/)?(i.pair=!0,i.keyCol=e.indentation(),"atom"):i.pair&&e.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=f=="\\",e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),n.defineMIME("text/x-yaml","yaml"),n.defineMIME("text/yaml","yaml")})})();var u=y.exports;const d=c(u),g=s({__proto__:null,default:d},[u]);export{u as a,g as y}; diff --git a/dist-ui/assets/yaml-frontmatter-C-hmifh_.js b/dist-ui/assets/yaml-frontmatter-C-hmifh_.js new file mode 100644 index 00000000..98fcc5c5 --- /dev/null +++ b/dist-ui/assets/yaml-frontmatter-C-hmifh_.js @@ -0,0 +1 @@ +import{g,c as v}from"./index-BLHgoTgd.js";import{a as b}from"./yaml-BsCobDxz.js";function k(f,u){for(var n=0;na[r]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(f,u){(function(n){n(v,b)})(function(n){var a=0,r=1,o=2;n.defineMode("yaml-frontmatter",function(s,p){var l=n.getMode(s,"yaml"),m=n.getMode(s,p&&p.base||"gfm");function c(t){return t.state==r?{mode:l,state:t.yaml}:{mode:m,state:t.inner}}return{startState:function(){return{state:a,yaml:null,inner:n.startState(m)}},copyState:function(t){return{state:t.state,yaml:t.yaml&&n.copyState(l,t.yaml),inner:n.copyState(m,t.inner)}},token:function(t,e){if(e.state==a)return t.match("---",!1)?(e.state=r,e.yaml=n.startState(l),l.token(t,e.yaml)):(e.state=o,m.token(t,e.inner));if(e.state==r){var y=t.sol()&&t.match(/(---|\.\.\.)/,!1),i=l.token(t,e.yaml);return y&&(e.state=o,e.yaml=null),i}else return m.token(t,e.inner)},innerMode:c,indent:function(t,e,y){var i=c(t);return i.mode.indent?i.mode.indent(i.state,e,y):n.Pass},blankLine:function(t){var e=c(t);if(e.mode.blankLine)return e.mode.blankLine(e.state)}}})})})();var d=S.exports;const x=g(d),T=k({__proto__:null,default:x},[d]);export{T as y}; diff --git a/dist-ui/assets/z80-C5-aDw3k.js b/dist-ui/assets/z80-C5-aDw3k.js new file mode 100644 index 00000000..7e34d485 --- /dev/null +++ b/dist-ui/assets/z80-C5-aDw3k.js @@ -0,0 +1 @@ +import{g as h,c as z}from"./index-BLHgoTgd.js";function v(c,f){for(var n=0;nl[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(c,f){(function(n){n(z)})(function(n){n.defineMode("z80",function(l,i){var o=i.ez80,u,d;o?(u=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,d=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(u=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,d=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var x=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,p=/^(n?[zc]|p[oe]?|m)\b/i,b=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,s=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,r){if(e.column()||(r.context=0),e.eatSpace())return null;var t;if(e.eatWhile(/\w/))if(o&&e.eat(".")&&e.eatWhile(/\w/),t=e.current(),e.indentation()){if((r.context==1||r.context==4)&&x.test(t))return r.context=4,"var2";if(r.context==2&&p.test(t))return r.context=4,"var3";if(u.test(t))return r.context=1,"keyword";if(d.test(t))return r.context=2,"keyword";if(r.context==4&&s.test(t))return"number";if(b.test(t))return"error"}else return e.match(s)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(t=e.next())&&t!='"';)t=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(r.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}),n.defineMIME("text/x-z80","z80"),n.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})})();var a=g.exports;const y=h(a),w=v({__proto__:null,default:y},[a]);export{w as z}; diff --git a/dist-ui/drop-image.html b/dist-ui/drop-image.html new file mode 100644 index 00000000..6ed9fb4f --- /dev/null +++ b/dist-ui/drop-image.html @@ -0,0 +1,85 @@ + + + + + + PasteBar Drop Zone + + + +
+
Drag and drop image file here
+
+ + + + diff --git a/dist-ui/drop-path.html b/dist-ui/drop-path.html new file mode 100644 index 00000000..05d38899 --- /dev/null +++ b/dist-ui/drop-path.html @@ -0,0 +1,85 @@ + + + + + + PasteBar Drop Zone + + + +
+
Drag and drop an app, file or folder
+
+ + + + diff --git a/dist-ui/index.html b/dist-ui/index.html new file mode 100644 index 00000000..1c6a3d42 --- /dev/null +++ b/dist-ui/index.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + PasteBar App + + + + +
+ + + + diff --git a/dist-ui/ui.version.0.2.3 b/dist-ui/ui.version.0.2.3 new file mode 100644 index 00000000..373f8c6f --- /dev/null +++ b/dist-ui/ui.version.0.2.3 @@ -0,0 +1 @@ +0.2.3 \ No newline at end of file