(()=>{var e={31528:function(e,t){var n,o,r;!function(i,s){"use strict";"object"==typeof e.exports?e.exports=s():(o=[],void 0===(r="function"==typeof(n=s)?n.apply(t,o):n)||(e.exports=r))}(0,(function(){"use strict";var e=Object.prototype.toString;function t(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function n(e){if(!e)return!0;if(r(e)&&0===e.length)return!0;if("string"!=typeof e){for(var n in e)if(t(e,n))return!1;return!0}return!1}function o(t){return e.call(t)}var r=Array.isArray||function(t){return"[object Array]"===e.call(t)};function i(e){var t=parseInt(e);return t.toString()===e?t:e}function s(e){var s,a,l=function(e){return Object.keys(l).reduce((function(t,n){return"create"===n||"function"==typeof l[n]&&(t[n]=l[n].bind(l,e)),t}),{})};function c(e,t){if(s(e,t))return e[t]}function u(e,t,n,o){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if("string"==typeof t)return u(e,t.split(".").map(i),n,o);var r=t[0],s=a(e,r);return 1===t.length?(void 0!==s&&o||(e[r]=n),s):(void 0===s&&("number"==typeof t[1]?e[r]=[]:e[r]={}),u(e[r],t.slice(1),n,o))}return s=(e=e||{}).includeInheritedProps?function(){return!0}:function(e,n){return"number"==typeof n&&Array.isArray(e)||t(e,n)},a=e.includeInheritedProps?function(e,t){"string"!=typeof t&&"number"!=typeof t&&(t=String(t));var n=c(e,t);if("__proto__"===t||"prototype"===t||"constructor"===t&&"function"==typeof n)throw new Error("For security reasons, object's magic properties cannot be set");return n}:function(e,t){return c(e,t)},l.has=function(n,o){if("number"==typeof o?o=[o]:"string"==typeof o&&(o=o.split(".")),!o||0===o.length)return!!n;for(var s=0;s<o.length;s++){var a=i(o[s]);if(!("number"==typeof a&&r(n)&&a<n.length||(e.includeInheritedProps?a in Object(n):t(n,a))))return!1;n=n[a]}return!0},l.ensureExists=function(e,t,n){return u(e,t,n,!0)},l.set=function(e,t,n,o){return u(e,t,n,o)},l.insert=function(e,t,n,o){var i=l.get(e,t);o=~~o,r(i)||(i=[],l.set(e,t,i)),i.splice(o,0,n)},l.empty=function(e,t){var i,a;if(!n(t)&&(null!=e&&(i=l.get(e,t)))){if("string"==typeof i)return l.set(e,t,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===o(e)}(i))return l.set(e,t,!1);if("number"==typeof i)return l.set(e,t,0);if(r(i))i.length=0;else{if(!function(e){return"object"==typeof e&&"[object Object]"===o(e)}(i))return l.set(e,t,null);for(a in i)s(i,a)&&delete i[a]}}},l.push=function(e,t){var n=l.get(e,t);r(n)||(n=[],l.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},l.coalesce=function(e,t,n){for(var o,r=0,i=t.length;r<i;r++)if(void 0!==(o=l.get(e,t[r])))return o;return n},l.get=function(e,t,n){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if(null==e)return n;if("string"==typeof t)return l.get(e,t.split("."),n);var o=i(t[0]),r=a(e,o);return void 0===r?n:1===t.length?r:l.get(e[o],t.slice(1),n)},l.del=function(e,t){if("number"==typeof t&&(t=[t]),null==e)return e;if(n(t))return e;if("string"==typeof t)return l.del(e,t.split("."));var o=i(t[0]);return a(e,o),s(e,o)?1!==t.length?l.del(e[o],t.slice(1)):(r(e)?e.splice(o,1):delete e[o],e):e},l}var a=s();return a.create=s,a.withInheritedProps=s({includeInheritedProps:!0}),a}))},1271:(e,t,n)=>{var o;
/*!
 * Sizzle CSS Selector Engine v2.3.10
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2023-02-14
 */!function(r){var i,s,a,l,c,u,d,p,f,m,g,h,v,y,b,w,x,A,C,k="sizzle"+1*new Date,E=r.document,S=0,_=0,L=pe(),T=pe(),B=pe(),N=pe(),I=function(e,t){return e===t&&(g=!0),0},D={}.hasOwnProperty,P=[],F=P.pop,M=P.push,O=P.push,R=P.slice,$=function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",V="[\\x20\\t\\r\\n\\f]",U="(?:\\\\[\\da-fA-F]{1,6}"+V+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",q="\\["+V+"*("+U+")(?:"+V+"*([*^$|!~]?=)"+V+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+U+"))|)"+V+"*\\]",H=":("+U+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",K=new RegExp(V+"+","g"),W=new RegExp("^"+V+"+|((?:^|[^\\\\])(?:\\\\.)*)"+V+"+$","g"),z=new RegExp("^"+V+"*,"+V+"*"),G=new RegExp("^"+V+"*([>+~]|"+V+")"+V+"*"),Y=new RegExp(V+"|>"),X=new RegExp(H),Z=new RegExp("^"+U+"$"),J={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),TAG:new RegExp("^("+U+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+V+"*(even|odd|(([+-]|)(\\d*)n|)"+V+"*(?:([+-]|)"+V+"*(\\d+)|))"+V+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+V+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+V+"*((?:-\\d)?\\d*)"+V+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,ee=/^(?:input|select|textarea|button)$/i,te=/^h\d$/i,ne=/^[^{]+\{\s*\[native \w/,oe=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,re=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+V+"?|\\\\([^\\r\\n\\f])","g"),se=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ae=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,le=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ce=function(){h()},ue=ke((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(P=R.call(E.childNodes),E.childNodes),P[E.childNodes.length].nodeType}catch(e){O={apply:P.length?function(e,t){M.apply(e,R.call(t))}:function(e,t){for(var n=e.length,o=0;e[n++]=t[o++];);e.length=n-1}}}function de(e,t,n,o){var r,i,a,l,c,d,f,m=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!o&&(h(t),t=t||v,b)){if(11!==g&&(c=oe.exec(e)))if(r=c[1]){if(9===g){if(!(a=t.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(m&&(a=m.getElementById(r))&&C(t,a)&&a.id===r)return n.push(a),n}else{if(c[2])return O.apply(n,t.getElementsByTagName(e)),n;if((r=c[3])&&s.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(r)),n}if(s.qsa&&!N[e+" "]&&(!w||!w.test(e))&&(1!==g||"object"!==t.nodeName.toLowerCase())){if(f=e,m=t,1===g&&(Y.test(e)||G.test(e))){for((m=re.test(e)&&xe(t.parentNode)||t)===t&&s.scope||((l=t.getAttribute("id"))?l=l.replace(ae,le):t.setAttribute("id",l=k)),i=(d=u(e)).length;i--;)d[i]=(l?"#"+l:":scope")+" "+Ce(d[i]);f=d.join(",")}try{return O.apply(n,m.querySelectorAll(f)),n}catch(t){N(e,!0)}finally{l===k&&t.removeAttribute("id")}}}return p(e.replace(W,"$1"),t,n,o)}function pe(){var e=[];return function t(n,o){return e.push(n+" ")>a.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function fe(e){return e[k]=!0,e}function me(e){var t=v.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ge(e,t){for(var n=e.split("|"),o=n.length;o--;)a.attrHandle[n[o]]=t}function he(e,t){var n=t&&e,o=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(o)return o;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ve(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ye(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function be(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ue(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function we(e){return fe((function(t){return t=+t,fe((function(n,o){for(var r,i=e([],n.length,t),s=i.length;s--;)n[r=i[s]]&&(n[r]=!(o[r]=n[r]))}))}))}function xe(e){return e&&void 0!==e.getElementsByTagName&&e}for(i in s=de.support={},c=de.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},h=de.setDocument=function(e){var t,n,o=e?e.ownerDocument||e:E;return o!=v&&9===o.nodeType&&o.documentElement?(y=(v=o).documentElement,b=!c(v),E!=v&&(n=v.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ce,!1):n.attachEvent&&n.attachEvent("onunload",ce)),s.scope=me((function(e){return y.appendChild(e).appendChild(v.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),s.cssHas=me((function(){try{return v.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),s.attributes=me((function(e){return e.className="i",!e.getAttribute("className")})),s.getElementsByTagName=me((function(e){return e.appendChild(v.createComment("")),!e.getElementsByTagName("*").length})),s.getElementsByClassName=ne.test(v.getElementsByClassName),s.getById=me((function(e){return y.appendChild(e).id=k,!v.getElementsByName||!v.getElementsByName(k).length})),s.getById?(a.filter.ID=function(e){var t=e.replace(ie,se);return function(e){return e.getAttribute("id")===t}},a.find.ID=function(e,t){if(void 0!==t.getElementById&&b){var n=t.getElementById(e);return n?[n]:[]}}):(a.filter.ID=function(e){var t=e.replace(ie,se);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},a.find.ID=function(e,t){if(void 0!==t.getElementById&&b){var n,o,r,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(r=t.getElementsByName(e),o=0;i=r[o++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),a.find.TAG=s.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):s.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,o=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[r++];)1===n.nodeType&&o.push(n);return o}return i},a.find.CLASS=s.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&b)return t.getElementsByClassName(e)},x=[],w=[],(s.qsa=ne.test(v.querySelectorAll))&&(me((function(e){var t;y.appendChild(e).innerHTML="<a id='"+k+"'></a><select id='"+k+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&w.push("[*^$]="+V+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||w.push("\\["+V+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+k+"-]").length||w.push("~="),(t=v.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||w.push("\\["+V+"*name"+V+"*="+V+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||w.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||w.push(".#.+[+~]"),e.querySelectorAll("\\\f"),w.push("[\\r\\n\\f]")})),me((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=v.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&w.push("name"+V+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&w.push(":enabled",":disabled"),y.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&w.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),w.push(",.*:")}))),(s.matchesSelector=ne.test(A=y.matches||y.webkitMatchesSelector||y.mozMatchesSelector||y.oMatchesSelector||y.msMatchesSelector))&&me((function(e){s.disconnectedMatch=A.call(e,"*"),A.call(e,"[s!='']:x"),x.push("!=",H)})),s.cssHas||w.push(":has"),w=w.length&&new RegExp(w.join("|")),x=x.length&&new RegExp(x.join("|")),t=ne.test(y.compareDocumentPosition),C=t||ne.test(y.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,o=t&&t.parentNode;return e===o||!(!o||1!==o.nodeType||!(n.contains?n.contains(o):e.compareDocumentPosition&&16&e.compareDocumentPosition(o)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},I=t?function(e,t){if(e===t)return g=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!s.sortDetached&&t.compareDocumentPosition(e)===n?e==v||e.ownerDocument==E&&C(E,e)?-1:t==v||t.ownerDocument==E&&C(E,t)?1:m?$(m,e)-$(m,t):0:4&n?-1:1)}:function(e,t){if(e===t)return g=!0,0;var n,o=0,r=e.parentNode,i=t.parentNode,s=[e],a=[t];if(!r||!i)return e==v?-1:t==v?1:r?-1:i?1:m?$(m,e)-$(m,t):0;if(r===i)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[o]===a[o];)o++;return o?he(s[o],a[o]):s[o]==E?-1:a[o]==E?1:0},v):v},de.matches=function(e,t){return de(e,null,null,t)},de.matchesSelector=function(e,t){if(h(e),s.matchesSelector&&b&&!N[t+" "]&&(!x||!x.test(t))&&(!w||!w.test(t)))try{var n=A.call(e,t);if(n||s.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return de(t,v,null,[e]).length>0},de.contains=function(e,t){return(e.ownerDocument||e)!=v&&h(e),C(e,t)},de.attr=function(e,t){(e.ownerDocument||e)!=v&&h(e);var n=a.attrHandle[t.toLowerCase()],o=n&&D.call(a.attrHandle,t.toLowerCase())?n(e,t,!b):void 0;return void 0!==o?o:s.attributes||!b?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},de.escape=function(e){return(e+"").replace(ae,le)},de.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},de.uniqueSort=function(e){var t,n=[],o=0,r=0;if(g=!s.detectDuplicates,m=!s.sortStable&&e.slice(0),e.sort(I),g){for(;t=e[r++];)t===e[r]&&(o=n.push(r));for(;o--;)e.splice(n[o],1)}return m=null,e},l=de.getText=function(e){var t,n="",o=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=l(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[o++];)n+=l(t);return n},a=de.selectors={cacheLength:50,createPseudo:fe,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,se),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,se),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||de.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&de.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=u(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,se).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=L[e+" "];return t||(t=new RegExp("(^|"+V+")"+e+"("+V+"|$)"))&&L(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(o){var r=de.attr(o,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(K," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,o,r){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===o&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,m,g=i!==s?"nextSibling":"previousSibling",h=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(h){if(i){for(;g;){for(p=t;p=p[g];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;m=g="only"===e&&!m&&"nextSibling"}return!0}if(m=[s?h.firstChild:h.lastChild],s&&y){for(b=(f=(c=(u=(d=(p=h)[k]||(p[k]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===S&&c[1])&&c[2],p=f&&h.childNodes[f];p=++f&&p&&p[g]||(b=f=0)||m.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[S,f,b];break}}else if(y&&(b=f=(c=(u=(d=(p=t)[k]||(p[k]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===S&&c[1]),!1===b)for(;(p=++f&&p&&p[g]||(b=f=0)||m.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((u=(d=p[k]||(p[k]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[S,b]),p!==t)););return(b-=r)===o||b%o==0&&b/o>=0}}},PSEUDO:function(e,t){var n,o=a.pseudos[e]||a.setFilters[e.toLowerCase()]||de.error("unsupported pseudo: "+e);return o[k]?o(t):o.length>1?(n=[e,e,"",t],a.setFilters.hasOwnProperty(e.toLowerCase())?fe((function(e,n){for(var r,i=o(e,t),s=i.length;s--;)e[r=$(e,i[s])]=!(n[r]=i[s])})):function(e){return o(e,0,n)}):o}},pseudos:{not:fe((function(e){var t=[],n=[],o=d(e.replace(W,"$1"));return o[k]?fe((function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))})):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}})),has:fe((function(e){return function(t){return de(e,t).length>0}})),contains:fe((function(e){return e=e.replace(ie,se),function(t){return(t.textContent||l(t)).indexOf(e)>-1}})),lang:fe((function(e){return Z.test(e||"")||de.error("unsupported lang: "+e),e=e.replace(ie,se).toLowerCase(),function(t){var n;do{if(n=b?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===y},focus:function(e){return e===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:be(!1),disabled:be(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!a.pseudos.empty(e)},header:function(e){return te.test(e.nodeName)},input:function(e){return ee.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:we((function(){return[0]})),last:we((function(e,t){return[t-1]})),eq:we((function(e,t,n){return[n<0?n+t:n]})),even:we((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:we((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:we((function(e,t,n){for(var o=n<0?n+t:n>t?t:n;--o>=0;)e.push(o);return e})),gt:we((function(e,t,n){for(var o=n<0?n+t:n;++o<t;)e.push(o);return e}))}},a.pseudos.nth=a.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})a.pseudos[i]=ve(i);for(i in{submit:!0,reset:!0})a.pseudos[i]=ye(i);function Ae(){}function Ce(e){for(var t=0,n=e.length,o="";t<n;t++)o+=e[t].value;return o}function ke(e,t,n){var o=t.dir,r=t.next,i=r||o,s=n&&"parentNode"===i,a=_++;return t.first?function(t,n,r){for(;t=t[o];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var c,u,d,p=[S,a];if(l){for(;t=t[o];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[o];)if(1===t.nodeType||s)if(u=(d=t[k]||(t[k]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[o]||t;else{if((c=u[i])&&c[0]===S&&c[1]===a)return p[2]=c[2];if(u[i]=p,p[2]=e(t,n,l))return!0}return!1}}function Ee(e){return e.length>1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function Se(e,t,n,o,r){for(var i,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(i=e[a])&&(n&&!n(i,o,r)||(s.push(i),c&&t.push(a)));return s}function _e(e,t,n,o,r,i){return o&&!o[k]&&(o=_e(o)),r&&!r[k]&&(r=_e(r,i)),fe((function(i,s,a,l){var c,u,d,p=[],f=[],m=s.length,g=i||function(e,t,n){for(var o=0,r=t.length;o<r;o++)de(e,t[o],n);return n}(t||"*",a.nodeType?[a]:a,[]),h=!e||!i&&t?g:Se(g,p,e,a,l),v=n?r||(i?e:m||o)?[]:s:h;if(n&&n(h,v,a,l),o)for(c=Se(v,f),o(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(h[f[u]]=d));if(i){if(r||e){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(h[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=r?$(i,d):p[u])>-1&&(i[c]=!(s[c]=d))}}else v=Se(v===s?v.splice(m,v.length):v),r?r(null,s,v,l):O.apply(s,v)}))}function Le(e){for(var t,n,o,r=e.length,i=a.relative[e[0].type],s=i||a.relative[" "],l=i?1:0,c=ke((function(e){return e===t}),s,!0),u=ke((function(e){return $(t,e)>-1}),s,!0),d=[function(e,n,o){var r=!i&&(o||n!==f)||((t=n).nodeType?c(e,n,o):u(e,n,o));return t=null,r}];l<r;l++)if(n=a.relative[e[l].type])d=[ke(Ee(d),n)];else{if((n=a.filter[e[l].type].apply(null,e[l].matches))[k]){for(o=++l;o<r&&!a.relative[e[o].type];o++);return _e(l>1&&Ee(d),l>1&&Ce(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l<o&&Le(e.slice(l,o)),o<r&&Le(e=e.slice(o)),o<r&&Ce(e))}d.push(n)}return Ee(d)}Ae.prototype=a.filters=a.pseudos,a.setFilters=new Ae,u=de.tokenize=function(e,t){var n,o,r,i,s,l,c,u=T[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=a.preFilter;s;){for(i in n&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),n=!1,(o=G.exec(s))&&(n=o.shift(),r.push({value:n,type:o[0].replace(W," ")}),s=s.slice(n.length)),a.filter)!(o=J[i].exec(s))||c[i]&&!(o=c[i](o))||(n=o.shift(),r.push({value:n,type:i,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?de.error(e):T(e,l).slice(0)},d=de.compile=function(e,t){var n,o=[],r=[],i=B[e+" "];if(!i){for(t||(t=u(e)),n=t.length;n--;)(i=Le(t[n]))[k]?o.push(i):r.push(i);i=B(e,function(e,t){var n=t.length>0,o=e.length>0,r=function(r,i,s,l,c){var u,d,p,m=0,g="0",y=r&&[],w=[],x=f,A=r||o&&a.find.TAG("*",c),C=S+=null==x?1:Math.random()||.1,k=A.length;for(c&&(f=i==v||i||c);g!==k&&null!=(u=A[g]);g++){if(o&&u){for(d=0,i||u.ownerDocument==v||(h(u),s=!b);p=e[d++];)if(p(u,i||v,s)){l.push(u);break}c&&(S=C)}n&&((u=!p&&u)&&m--,r&&y.push(u))}if(m+=g,n&&g!==m){for(d=0;p=t[d++];)p(y,w,i,s);if(r){if(m>0)for(;g--;)y[g]||w[g]||(w[g]=F.call(l));w=Se(w)}O.apply(l,w),c&&!r&&w.length>0&&m+t.length>1&&de.uniqueSort(l)}return c&&(S=C,f=x),y};return n?fe(r):r}(r,o)),i.selector=e}return i},p=de.select=function(e,t,n,o){var r,i,s,l,c,p="function"==typeof e&&e,f=!o&&u(e=p.selector||e);if(n=n||[],1===f.length){if((i=f[0]=f[0].slice(0)).length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&b&&a.relative[i[1].type]){if(!(t=(a.find.ID(s.matches[0].replace(ie,se),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(r=J.needsContext.test(e)?0:i.length;r--&&(s=i[r],!a.relative[l=s.type]);)if((c=a.find[l])&&(o=c(s.matches[0].replace(ie,se),re.test(i[0].type)&&xe(t.parentNode)||t))){if(i.splice(r,1),!(e=o.length&&Ce(i)))return O.apply(n,o),n;break}}return(p||d(e,f))(o,t,!b,n,!t||re.test(e)&&xe(t.parentNode)||t),n},s.sortStable=k.split("").sort(I).join("")===k,s.detectDuplicates=!!g,h(),s.sortDetached=me((function(e){return 1&e.compareDocumentPosition(v.createElement("fieldset"))})),me((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ge("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),s.attributes&&me((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ge("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),me((function(e){return null==e.getAttribute("disabled")}))||ge(j,(function(e,t,n){var o;if(!n)return!0===e[t]?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null}));var Te=r.Sizzle;de.noConflict=function(){return r.Sizzle===de&&(r.Sizzle=Te),de},void 0===(o=function(){return de}.call(t,n,t,e))||(e.exports=o)}(window)},93150:function(e,t){var n,o,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e],n=function(e){"use strict";if(!(globalThis.chrome&&globalThis.chrome.runtime&&globalThis.chrome.runtime.id))throw new Error("This script should only be loaded in a browser extension.");if(globalThis.browser&&globalThis.browser.runtime&&globalThis.browser.runtime.id)e.exports=globalThis.browser;else{const t="The message port closed before a response was received.",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t=void 0){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const r=e=>e&&"object"==typeof e&&"function"==typeof e.then,i=(t,n)=>(...o)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):n.singleCallbackArg||o.length<=1&&!1!==n.singleCallbackArg?t.resolve(o[0]):t.resolve(o)},s=e=>1==e?"argument":"arguments",a=(e,t)=>function(n,...o){if(o.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${s(t.minArgs)} for ${e}(), got ${o.length}`);if(o.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${s(t.maxArgs)} for ${e}(), got ${o.length}`);return new Promise(((r,s)=>{if(t.fallbackToNoCallback)try{n[e](...o,i({resolve:r,reject:s},t))}catch(i){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,i),n[e](...o),t.fallbackToNoCallback=!1,t.noCallback=!0,r()}else t.noCallback?(n[e](...o),r()):n[e](...o,i({resolve:r,reject:s},t))}))},l=(e,t,n)=>new Proxy(t,{apply:(t,o,r)=>n.call(o,e,...r)});let c=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},n={})=>{let o=Object.create(null),r={has:(t,n)=>n in e||n in o,get(r,i,s){if(i in o)return o[i];if(!(i in e))return;let d=e[i];if("function"==typeof d)if("function"==typeof t[i])d=l(e,e[i],t[i]);else if(c(n,i)){let t=a(i,n[i]);d=l(e,e[i],t)}else d=d.bind(e);else if("object"==typeof d&&null!==d&&(c(t,i)||c(n,i)))d=u(d,t[i],n[i]);else{if(!c(n,"*"))return Object.defineProperty(o,i,{configurable:!0,enumerable:!0,get:()=>e[i],set(t){e[i]=t}}),d;d=u(d,t[i],n["*"])}return o[i]=d,d},set:(t,n,r,i)=>(n in o?o[n]=r:e[n]=r,!0),defineProperty:(e,t,n)=>Reflect.defineProperty(o,t,n),deleteProperty:(e,t)=>Reflect.deleteProperty(o,t)},i=Object.create(e);return new Proxy(i,r)},d=e=>({addListener(t,n,...o){t.addListener(e.get(n),...o)},hasListener:(t,n)=>t.hasListener(e.get(n)),removeListener(t,n){t.removeListener(e.get(n))}}),p=new o((e=>"function"!=typeof e?e:function(t){const n=u(t,{},{getContent:{minArgs:0,maxArgs:0}});e(n)})),f=new o((e=>"function"!=typeof e?e:function(t,n,o){let i,s,a=!1,l=new Promise((e=>{i=function(t){a=!0,e(t)}}));try{s=e(t,n,i)}catch(e){s=Promise.reject(e)}const c=!0!==s&&r(s);if(!0!==s&&!c&&!a)return!1;const u=e=>{e.then((e=>{o(e)}),(e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})})).catch((e=>{console.error("Failed to send onMessage rejected reply",e)}))};return u(c?s:l),!0})),m=({reject:n,resolve:o},r)=>{e.runtime.lastError?e.runtime.lastError.message===t?o():n(new Error(e.runtime.lastError.message)):r&&r.__mozWebExtensionPolyfillReject__?n(new Error(r.message)):o(r)},g=(e,t,n,...o)=>{if(o.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${s(t.minArgs)} for ${e}(), got ${o.length}`);if(o.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${s(t.maxArgs)} for ${e}(), got ${o.length}`);return new Promise(((e,t)=>{const r=m.bind(null,{resolve:e,reject:t});o.push(r),n.sendMessage(...o)}))},h={devtools:{network:{onRequestFinished:d(p)}},runtime:{onMessage:d(f),onMessageExternal:d(f),sendMessage:g.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:g.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},v={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{"*":v},services:{"*":v},websites:{"*":v}},u(e,h,n)};e.exports=n(chrome)}},void 0===(r="function"==typeof n?n.apply(t,o):n)||(e.exports=r)}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(93150),t=n.n(e);
/**
* @vue/shared v3.4.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
function o(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const r={},i=[],s=()=>{},a=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),m=Array.isArray,g=e=>"[object Map]"===k(e),h=e=>"[object Set]"===k(e),v=e=>"[object Date]"===k(e),y=e=>"function"==typeof e,b=e=>"string"==typeof e,w=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,A=e=>(x(e)||y(e))&&y(e.then)&&y(e.catch),C=Object.prototype.toString,k=e=>C.call(e),E=e=>k(e).slice(8,-1),S=e=>"[object Object]"===k(e),_=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},B=/-(\w)/g,N=T((e=>e.replace(B,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,D=T((e=>e.replace(I,"-$1").toLowerCase())),P=T((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=T((e=>e?`on${P(e)}`:"")),M=(e,t)=>!Object.is(e,t),O=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},R=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},j=e=>{const t=b(e)?Number(e):NaN;return isNaN(t)?e:t};let V;const U=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function q(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=b(o)?z(o):q(o);if(r)for(const e in r)t[e]=r[e]}return t}if(b(e)||x(e))return e}const H=/;(?![^(]*\))/g,K=/:([^]+)/,W=/\/\*[^]*?\*\//g;function z(e){const t={};return e.replace(W,"").split(H).forEach((e=>{if(e){const n=e.split(K);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function G(e){let t="";if(b(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){const o=G(e[n]);o&&(t+=o+" ")}else if(x(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Y="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",X=o(Y);function Z(e){return!!e||""===e}function J(e,t){if(e===t)return!0;let n=v(e),o=v(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=w(e),o=w(t),n||o)return e===t;if(n=m(e),o=m(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=J(e[o],t[o]);return n}(e,t);if(n=x(e),o=x(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!J(e[n],t[n]))return!1}}return String(e)===String(t)}function Q(e,t){return e.findIndex((e=>J(e,t)))}const ee=e=>!(!e||!0!==e.__v_isRef),te=e=>b(e)?e:null==e?"":m(e)||x(e)&&(e.toString===C||!y(e.toString))?ee(e)?te(e.value):JSON.stringify(e,ne,2):String(e),ne=(e,t)=>ee(t)?ne(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[oe(t,o)+" =>"]=n,e)),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>oe(e)))}:w(t)?oe(t):!x(t)||m(t)||S(t)?t:String(t),oe=(e,t="")=>{var n;return w(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let re,ie;class se{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=re,!e&&re&&(this.index=(re.scopes||(re.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=re;try{return re=this,e()}finally{re=t}}else 0}on(){re=this}off(){re=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function ae(e,t=re){t&&t.active&&t.effects.push(e)}class le{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ae(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,he();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(ce(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),ve()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=fe,t=ie;try{return fe=!0,ie=this,this._runnings++,ue(this),this.fn()}finally{de(this),this._runnings--,ie=t,fe=e}}stop(){this.active&&(ue(this),de(this),this.onStop&&this.onStop(),this.active=!1)}}function ce(e){return e.value}function ue(e){e._trackId++,e._depsLength=0}function de(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)pe(e.deps[t],e);e.deps.length=e._depsLength}}function pe(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let fe=!0,me=0;const ge=[];function he(){ge.push(fe),fe=!1}function ve(){const e=ge.pop();fe=void 0===e||e}function ye(){me++}function be(){for(me--;!me&&xe.length;)xe.shift()()}function we(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&pe(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const xe=[];function Ae(e,t,n){ye();for(const n of e.keys()){let o;n._dirtyLevel<t&&(null!=o?o:o=e.get(n)===n._trackId)&&(n._shouldSchedule||(n._shouldSchedule=0===n._dirtyLevel),n._dirtyLevel=t),n._shouldSchedule&&(null!=o?o:o=e.get(n)===n._trackId)&&(n.trigger(),n._runnings&&!n.allowRecurse||2===n._dirtyLevel||(n._shouldSchedule=!1,n.scheduler&&xe.push(n.scheduler)))}be()}const Ce=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ke=new WeakMap,Ee=Symbol(""),Se=Symbol("");function _e(e,t,n){if(fe&&ie){let t=ke.get(e);t||ke.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Ce((()=>t.delete(n)))),we(ie,o)}}function Le(e,t,n,o,r,i){const s=ke.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&m(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!w(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":m(e)?_(n)&&a.push(s.get("length")):(a.push(s.get(Ee)),g(e)&&a.push(s.get(Se)));break;case"delete":m(e)||(a.push(s.get(Ee)),g(e)&&a.push(s.get(Se)));break;case"set":g(e)&&a.push(s.get(Ee))}ye();for(const e of a)e&&Ae(e,4);be()}const Te=o("__proto__,__v_isRef,__isVue"),Be=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(w)),Ne=Ie();function Ie(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=yt(this);for(let e=0,t=this.length;e<t;e++)_e(n,0,e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(yt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){he(),ye();const n=yt(this)[t].apply(this,e);return be(),ve(),n}})),e}function De(e){w(e)||(e=String(e));const t=yt(this);return _e(t,0,e),t.hasOwnProperty(e)}class Pe{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?ut:ct:r?lt:at).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=m(e);if(!o){if(i&&f(Ne,t))return Reflect.get(Ne,t,n);if("hasOwnProperty"===t)return De}const s=Reflect.get(e,t,n);return(w(t)?Be.has(t):Te(t))?s:(o||_e(e,0,t),r?s:Et(s)?i&&_(t)?s:s.value:x(s)?o?pt(s):dt(s):s)}}class Fe extends Pe{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=gt(r);if(ht(n)||gt(n)||(r=yt(r),n=yt(n)),!m(e)&&Et(r)&&!Et(n))return!t&&(r.value=n,!0)}const i=m(e)&&_(t)?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,o);return e===yt(o)&&(i?M(n,r)&&Le(e,"set",t,n):Le(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&Le(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return w(t)&&Be.has(t)||_e(e,0,t),n}ownKeys(e){return _e(e,0,m(e)?"length":Ee),Reflect.ownKeys(e)}}class Me extends Pe{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Oe=new Fe,Re=new Me,$e=new Fe(!0),je=e=>e,Ve=e=>Reflect.getPrototypeOf(e);function Ue(e,t,n=!1,o=!1){const r=yt(e=e.__v_raw),i=yt(t);n||(M(t,i)&&_e(r,0,t),_e(r,0,i));const{has:s}=Ve(r),a=o?je:n?wt:bt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function qe(e,t=!1){const n=this.__v_raw,o=yt(n),r=yt(e);return t||(M(e,r)&&_e(o,0,e),_e(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function He(e,t=!1){return e=e.__v_raw,!t&&_e(yt(e),0,Ee),Reflect.get(e,"size",e)}function Ke(e,t=!1){t||ht(e)||gt(e)||(e=yt(e));const n=yt(this);return Ve(n).has.call(n,e)||(n.add(e),Le(n,"add",e,e)),this}function We(e,t,n=!1){n||ht(t)||gt(t)||(t=yt(t));const o=yt(this),{has:r,get:i}=Ve(o);let s=r.call(o,e);s||(e=yt(e),s=r.call(o,e));const a=i.call(o,e);return o.set(e,t),s?M(t,a)&&Le(o,"set",e,t):Le(o,"add",e,t),this}function ze(e){const t=yt(this),{has:n,get:o}=Ve(t);let r=n.call(t,e);r||(e=yt(e),r=n.call(t,e));o&&o.call(t,e);const i=t.delete(e);return r&&Le(t,"delete",e,void 0),i}function Ge(){const e=yt(this),t=0!==e.size,n=e.clear();return t&&Le(e,"clear",void 0,void 0),n}function Ye(e,t){return function(n,o){const r=this,i=r.__v_raw,s=yt(i),a=t?je:e?wt:bt;return!e&&_e(s,0,Ee),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Xe(e,t,n){return function(...o){const r=this.__v_raw,i=yt(r),s=g(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?je:t?wt:bt;return!t&&_e(i,0,l?Se:Ee),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ze(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Je(){const e={get(e){return Ue(this,e)},get size(){return He(this)},has:qe,add:Ke,set:We,delete:ze,clear:Ge,forEach:Ye(!1,!1)},t={get(e){return Ue(this,e,!1,!0)},get size(){return He(this)},has:qe,add(e){return Ke.call(this,e,!0)},set(e,t){return We.call(this,e,t,!0)},delete:ze,clear:Ge,forEach:Ye(!1,!0)},n={get(e){return Ue(this,e,!0)},get size(){return He(this,!0)},has(e){return qe.call(this,e,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:Ye(!0,!1)},o={get(e){return Ue(this,e,!0,!0)},get size(){return He(this,!0)},has(e){return qe.call(this,e,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:Ye(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Xe(r,!1,!1),n[r]=Xe(r,!0,!1),t[r]=Xe(r,!1,!0),o[r]=Xe(r,!0,!0)})),[e,n,t,o]}const[Qe,et,tt,nt]=Je();function ot(e,t){const n=t?e?nt:tt:e?et:Qe;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const rt={get:ot(!1,!1)},it={get:ot(!1,!0)},st={get:ot(!0,!1)};const at=new WeakMap,lt=new WeakMap,ct=new WeakMap,ut=new WeakMap;function dt(e){return gt(e)?e:ft(e,!1,Oe,rt,at)}function pt(e){return ft(e,!0,Re,st,ct)}function ft(e,t,n,o,r){if(!x(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(E(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function mt(e){return gt(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function gt(e){return!(!e||!e.__v_isReadonly)}function ht(e){return!(!e||!e.__v_isShallow)}function vt(e){return!!e&&!!e.__v_raw}function yt(e){const t=e&&e.__v_raw;return t?yt(t):e}const bt=e=>x(e)?dt(e):e,wt=e=>x(e)?pt(e):e;class xt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new le((()=>e(this._value)),(()=>kt(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=yt(this);return e._cacheable&&!e.effect.dirty||!M(e._value,e._value=e.effect.run())||kt(e,4),Ct(e),e.effect._dirtyLevel>=2&&kt(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function At(e,t,n=!1){let o,r;const i=y(e);i?(o=e,r=s):(o=e.get,r=e.set);return new xt(o,r,i||!r,n)}function Ct(e){var t;fe&&ie&&(e=yt(e),we(ie,null!=(t=e.dep)?t:e.dep=Ce((()=>e.dep=void 0),e instanceof xt?e:void 0)))}function kt(e,t=4,n,o){const r=(e=yt(e)).dep;r&&Ae(r,t)}function Et(e){return!(!e||!0!==e.__v_isRef)}function St(e){return _t(e,!1)}function _t(e,t){return Et(e)?e:new Lt(e,t)}class Lt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:yt(e),this._value=t?e:bt(e)}get value(){return Ct(this),this._value}set value(e){const t=this.__v_isShallow||ht(e)||gt(e);if(e=t?e:yt(e),M(e,this._rawValue)){this._rawValue;this._rawValue=e,this._value=t?e:bt(e),kt(this,4)}}}function Tt(e){return Et(e)?e.value:e}const Bt={get:(e,t,n)=>Tt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Et(r)&&!Et(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Nt(e){return mt(e)?e:new Proxy(e,Bt)}function It(e,t,n,o){try{return o?e(...o):e()}catch(e){Pt(e,t,n)}}function Dt(e,t,n,o){if(y(e)){const r=It(e,t,n,o);return r&&A(r)&&r.catch((e=>{Pt(e,t,n)})),r}if(m(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Dt(e[i],t,n,o));return r}}function Pt(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return he(),It(s,null,10,[e,r,i]),void ve()}!function(e){console.error(e)}(e,0,0,o)}let Ft=!1,Mt=!1;const Ot=[];let Rt=0;const $t=[];let jt=null,Vt=0;const Ut=Promise.resolve();let qt=null;function Ht(e){const t=qt||Ut;return e?t.then(this?e.bind(this):e):t}function Kt(e){Ot.length&&Ot.includes(e,Ft&&e.allowRecurse?Rt+1:Rt)||(null==e.id?Ot.push(e):Ot.splice(function(e){let t=Rt+1,n=Ot.length;for(;t<n;){const o=t+n>>>1,r=Ot[o],i=Xt(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Wt())}function Wt(){Ft||Mt||(Mt=!0,qt=Ut.then(Jt))}function zt(e){m(e)?$t.push(...e):jt&&jt.includes(e,e.allowRecurse?Vt+1:Vt)||$t.push(e),Wt()}function Gt(e,t,n=(Ft?Rt+1:0)){for(0;n<Ot.length;n++){const t=Ot[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;0,Ot.splice(n,1),n--,t()}}}function Yt(e){if($t.length){const e=[...new Set($t)].sort(((e,t)=>Xt(e)-Xt(t)));if($t.length=0,jt)return void jt.push(...e);for(jt=e,Vt=0;Vt<jt.length;Vt++){const e=jt[Vt];0,!1!==e.active&&e()}jt=null,Vt=0}}const Xt=e=>null==e.id?1/0:e.id,Zt=(e,t)=>{const n=Xt(e)-Xt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jt(e){Mt=!1,Ft=!0,Ot.sort(Zt);try{for(Rt=0;Rt<Ot.length;Rt++){const e=Ot[Rt];e&&!1!==e.active&&It(e,e.i,e.i?15:14)}}finally{Rt=0,Ot.length=0,Yt(),Ft=!1,qt=null,(Ot.length||$t.length)&&Jt(e)}}let Qt=null,en=null;function tn(e){const t=Qt;return Qt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Qt,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Er(-1);const r=tn(t);let i;try{i=e(...n)}finally{tn(r),o._d&&Er(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function on(e,t){if(null===Qt)return e;const n=li(Qt),o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,s,a,l=r]=t[e];i&&(y(i)&&(i={mounted:i,updated:i}),i.deep&&rr(s),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function rn(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(he(),Dt(l,n,8,[e.el,a,e,t]),ve())}}const sn=Symbol("_leaveCb"),an=Symbol("_enterCb");function ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Nn((()=>{e.isMounted=!0})),Pn((()=>{e.isUnmounting=!0})),e}const cn=[Function,Array],un={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:cn,onEnter:cn,onAfterEnter:cn,onEnterCancelled:cn,onBeforeLeave:cn,onLeave:cn,onAfterLeave:cn,onLeaveCancelled:cn,onBeforeAppear:cn,onAppear:cn,onAfterAppear:cn,onAppearCancelled:cn},dn=e=>{const t=e.subTree;return t.component?dn(t.component):t},pn={name:"BaseTransition",props:un,setup(e,{slots:t}){const n=Gr(),o=ln();return()=>{const r=t.default&&yn(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){let e=!1;for(const t of r)if(t.type!==yr){0,i=t,e=!0;break}}const s=yt(e),{mode:a}=s;if(o.isLeaving)return gn(i);const l=hn(i);if(!l)return gn(i);let c=mn(l,s,o,n,(e=>c=e));vn(l,c);const u=n.subTree,d=u&&hn(u);if(d&&d.type!==yr&&!Br(l,d)&&dn(n).type!==yr){const e=mn(d,s,o,n);if(vn(d,e),"out-in"===a&&l.type!==yr)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},gn(i);"in-out"===a&&l.type!==yr&&(e.delayLeave=(e,t,n)=>{fn(o,d)[String(d.key)]=d,e[sn]=()=>{t(),e[sn]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function fn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function mn(e,t,n,o,r){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:f,onAfterLeave:g,onLeaveCancelled:h,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:w}=t,x=String(e.key),A=fn(n,e),C=(e,t)=>{e&&Dt(e,o,9,t)},k=(e,t)=>{const n=t[1];C(e,t),m(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:s,persisted:a,beforeEnter(t){let o=l;if(!n.isMounted){if(!i)return;o=v||l}t[sn]&&t[sn](!0);const r=A[x];r&&Br(e,r)&&r.el[sn]&&r.el[sn](),C(o,[t])},enter(e){let t=c,o=u,r=d;if(!n.isMounted){if(!i)return;t=y||c,o=b||u,r=w||d}let s=!1;const a=e[an]=t=>{s||(s=!0,C(t?r:o,[e]),E.delayedLeave&&E.delayedLeave(),e[an]=void 0)};t?k(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[an]&&t[an](!0),n.isUnmounting)return o();C(p,[t]);let i=!1;const s=t[sn]=n=>{i||(i=!0,o(),C(n?h:g,[t]),t[sn]=void 0,A[r]===e&&delete A[r])};A[r]=e,f?k(f,[t,s]):s()},clone(e){const i=mn(e,t,n,o,r);return r&&r(i),i}};return E}function gn(e){if(wn(e))return(e=Mr(e)).children=null,e}function hn(e){if(!wn(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&y(n.default))return n.default()}}function vn(e,t){6&e.shapeFlag&&e.component?vn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function yn(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===hr?(128&s.patchFlag&&r++,o=o.concat(yn(s.children,t,a))):(t||s.type!==yr)&&o.push(null!=a?Mr(s,{key:a}):s)}if(r>1)for(let e=0;e<o.length;e++)o[e].patchFlag=-2;return o}
/*! #__NO_SIDE_EFFECTS__ */const bn=e=>!!e.type.__asyncLoader
/*! #__NO_SIDE_EFFECTS__ */;const wn=e=>e.type.__isKeepAlive;RegExp,RegExp;function xn(e,t){return m(e)?e.some((e=>xn(e,t))):b(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&e.test(t)}function An(e,t){kn(e,"a",t)}function Cn(e,t){kn(e,"da",t)}function kn(e,t,n=zr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ln(t,o,n),n){let e=n.parent;for(;e&&e.parent;)wn(e.parent.vnode)&&En(o,t,n,e),e=e.parent}}function En(e,t,n,o){const r=Ln(t,e,o,!0);Fn((()=>{d(o[t],r)}),n)}function Sn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _n(e){return 128&e.shapeFlag?e.ssContent:e}function Ln(e,t,n=zr,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{he();const r=Zr(n),i=Dt(t,n,e,o);return r(),ve(),i});return o?r.unshift(i):r.push(i),i}}const Tn=e=>(t,n=zr)=>{ni&&"sp"!==e||Ln(e,((...e)=>t(...e)),n)},Bn=Tn("bm"),Nn=Tn("m"),In=Tn("bu"),Dn=Tn("u"),Pn=Tn("bum"),Fn=Tn("um"),Mn=Tn("sp"),On=Tn("rtg"),Rn=Tn("rtc");function $n(e,t=zr){Ln("ec",e,t)}const jn="components";const Vn=Symbol.for("v-ndc");function Un(e,t,n=!0,o=!1){const r=Qt||zr;if(r){const n=r.type;if(e===jn){const e=ci(n,!1);if(e&&(e===t||e===N(t)||e===P(N(t))))return n}const i=qn(r[e]||n[e],t)||qn(r.appContext[e],t);return!i&&o?n:i}}function qn(e,t){return e&&(e[t]||e[N(t)]||e[P(N(t))])}function Hn(e,t,n,o){let r;const i=n&&n[o];if(m(e)||b(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){0,r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(x(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}const Kn=e=>e?Qr(e)?li(e):Kn(e.parent):null,Wn=u(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Kn(e.parent),$root:e=>Kn(e.root),$emit:e=>e.emit,$options:e=>eo(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Kt(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>nr.bind(e)}),zn=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),Gn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(zn(o,t))return a[t]=1,o[t];if(i!==r&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==r&&f(n,t))return a[t]=4,n[t];Xn&&(a[t]=0)}}const d=Wn[t];let p,m;return d?("$attrs"===t&&_e(e.attrs,0,""),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r&&f(n,t)?(a[t]=4,n[t]):(m=c.config.globalProperties,f(m,t)?m[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;return zn(i,t)?(i[t]=n,!0):o!==r&&f(o,t)?(o[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==r&&f(e,a)||zn(t,a)||(l=s[0])&&f(l,a)||f(o,a)||f(Wn,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Yn(e){return m(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Xn=!0;function Zn(e){const t=eo(e),n=e.proxy,o=e.ctx;Xn=!1,t.beforeCreate&&Jn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:g,updated:h,activated:v,deactivated:b,beforeDestroy:w,beforeUnmount:A,destroyed:C,unmounted:k,render:E,renderTracked:S,renderTriggered:_,errorCaptured:L,serverPrefetch:T,expose:B,inheritAttrs:N,components:I,directives:D,filters:P}=t;if(u&&function(e,t){m(e)&&(e=ro(e));for(const n in e){const o=e[n];let r;r=x(o)?"default"in o?fo(o.from||n,o.default,!0):fo(o.from||n):fo(o),Et(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,o,null),a)for(const e in a){const t=a[e];y(t)&&(o[e]=t.bind(n))}if(r){0;const t=r.call(n,n);0,x(t)&&(e.data=dt(t))}if(Xn=!0,i)for(const e in i){const t=i[e],r=y(t)?t.bind(n,n):y(t.get)?t.get.bind(n,n):s;0;const a=!y(t)&&y(t.set)?t.set.bind(n):s,l=di({get:r,set:a});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)Qn(l[e],o,n,e);if(c){const e=y(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(zr){let n=zr.provides;const o=zr.parent&&zr.parent.provides;o===n&&(n=zr.provides=Object.create(o)),n[e]=t}else 0}(t,e[t])}))}function F(e,t){m(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Jn(d,e,"c"),F(Bn,p),F(Nn,f),F(In,g),F(Dn,h),F(An,v),F(Cn,b),F($n,L),F(Rn,S),F(On,_),F(Pn,A),F(Fn,k),F(Mn,T),m(B))if(B.length){const t=e.exposed||(e.exposed={});B.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});E&&e.render===s&&(e.render=E),null!=N&&(e.inheritAttrs=N),I&&(e.components=I),D&&(e.directives=D)}function Jn(e,t,n){Dt(m(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Qn(e,t,n,o){const r=o.includes(".")?or(n,o):()=>n[o];if(b(e)){const n=t[e];y(n)&&er(r,n)}else if(y(e))er(r,e.bind(n));else if(x(e))if(m(e))e.forEach((e=>Qn(e,t,n,o)));else{const o=y(e.handler)?e.handler.bind(n):t[e.handler];y(o)&&er(r,o,e)}else 0}function eo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>to(l,e,s,!0))),to(l,t,s)):l=t,x(t)&&i.set(t,l),l}function to(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&to(e,i,n,!0),r&&r.forEach((t=>to(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=no[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const no={data:oo,props:ao,emits:ao,methods:so,computed:so,beforeCreate:io,created:io,beforeMount:io,mounted:io,beforeUpdate:io,updated:io,beforeDestroy:io,beforeUnmount:io,destroyed:io,unmounted:io,activated:io,deactivated:io,errorCaptured:io,serverPrefetch:io,components:so,directives:so,watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const o in t)n[o]=io(e[o],t[o]);return n},provide:oo,inject:function(e,t){return so(ro(e),ro(t))}};function oo(e,t){return t?e?function(){return u(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function ro(e){if(m(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function io(e,t){return e?[...new Set([].concat(e,t))]:t}function so(e,t){return e?u(Object.create(null),e,t):t}function ao(e,t){return e?m(e)&&m(t)?[...new Set([...e,...t])]:u(Object.create(null),Yn(e),Yn(null!=t?t:{})):t}function lo(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let co=0;function uo(e,t){return function(n,o=null){y(n)||(n=u({},n)),null==o||x(o)||(o=null);const r=lo(),i=new WeakSet;let s=!1;const a=r.app={_uid:co++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:fi,get config(){return r.config},set config(e){0},use:(e,...t)=>(i.has(e)||(e&&y(e.install)?(i.add(e),e.install(a,...t)):y(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){0;const u=Pr(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,li(u.component)}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=po;po=a;try{return e()}finally{po=t}}};return a}}let po=null;function fo(e,t,n=!1){const o=zr||Qt;if(o||po){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:po._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&y(t)?t.call(o&&o.proxy):t}else 0}const mo={},go=()=>Object.create(mo),ho=e=>Object.getPrototypeOf(e)===mo;function vo(e,t,n,o=!1){const r={},i=go();e.propsDefaults=Object.create(null),yo(e,t,r,i);for(const t in e.propsOptions[0])t in r||(r[t]=void 0);n?e.props=o?r:ft(r,!1,$e,it,lt):e.type.props?e.props=r:e.props=i,e.attrs=i}function yo(e,t,n,o){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let r in t){if(L(r))continue;const c=t[r];let u;i&&f(i,u=N(r))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:lr(e.emitsOptions,r)||r in o&&c===o[r]||(o[r]=c,l=!0)}if(s){const t=yt(n),o=a||r;for(let r=0;r<s.length;r++){const a=s[r];n[a]=bo(i,t,a,o[a],e,!f(o,a))}}return l}function bo(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=f(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&y(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=Zr(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==D(n)||(o=!0))}return o}const wo=new WeakMap;function xo(e,t,n=!1){const o=n?wo:t.propsCache,s=o.get(e);if(s)return s;const a=e.props,l={},c=[];let d=!1;if(!y(e)){const o=e=>{d=!0;const[n,o]=xo(e,t,!0);u(l,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return x(e)&&o.set(e,i),i;if(m(a))for(let e=0;e<a.length;e++){0;const t=N(a[e]);Ao(t)&&(l[t]=r)}else if(a){0;for(const e in a){const t=N(e);if(Ao(t)){const n=a[e],o=l[t]=m(n)||y(n)?{type:n}:u({},n);if(o){const e=Eo(Boolean,o.type),n=Eo(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||f(o,"default"))&&c.push(t)}}}}const p=[l,c];return x(e)&&o.set(e,p),p}function Ao(e){return"$"!==e[0]&&!L(e)}function Co(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function ko(e,t){return Co(e)===Co(t)}function Eo(e,t){return m(t)?t.findIndex((t=>ko(t,e))):y(t)&&ko(t,e)?0:-1}const So=e=>"_"===e[0]||"$stable"===e,_o=e=>m(e)?e.map($r):[$r(e)],Lo=(e,t,n)=>{if(t._n)return t;const o=nn(((...e)=>_o(t(...e))),n);return o._c=!1,o},To=(e,t,n)=>{const o=e._ctx;for(const n in e){if(So(n))continue;const r=e[n];if(y(r))t[n]=Lo(0,r,o);else if(null!=r){0;const e=_o(r);t[n]=()=>e}}},Bo=(e,t)=>{const n=_o(t);e.slots.default=()=>n},No=(e,t,n)=>{for(const o in t)(n||"_"!==o)&&(e[o]=t[o])},Io=(e,t,n)=>{const o=e.slots=go();if(32&e.vnode.shapeFlag){const e=t._;e?(No(o,t,n),n&&R(o,"_",e,!0)):To(t,o)}else t&&Bo(e,t)},Do=(e,t,n)=>{const{vnode:o,slots:i}=e;let s=!0,a=r;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:No(i,t,n):(s=!t.$stable,To(t,i)),a=t}else t&&(Bo(e,t),a={default:1});if(s)for(const e in i)So(e)||null!=a[e]||delete i[e]};function Po(e,t,n,o,i=!1){if(m(e))return void e.forEach(((e,r)=>Po(e,t&&(m(t)?t[r]:t),n,o,i)));if(bn(o)&&!i)return;const s=4&o.shapeFlag?li(o.component):o.el,a=i?null:s,{i:l,r:c}=e;const u=t&&t.r,p=l.refs===r?l.refs={}:l.refs,g=l.setupState;if(null!=u&&u!==c&&(b(u)?(p[u]=null,f(g,u)&&(g[u]=null)):Et(u)&&(u.value=null)),y(c))It(c,l,12,[a,p]);else{const t=b(c),o=Et(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:p[c]:c.value;i?m(n)&&d(n,s):m(n)?n.includes(s)||n.push(s):t?(p[c]=[s],f(g,c)&&(g[c]=p[c])):(c.value=[s],e.k&&(p[e.k]=c.value))}else t?(p[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(p[e.k]=a))};a?(r.id=-1,qo(r,n)):r()}else 0}}const Fo=Symbol("_vte"),Mo=e=>e&&(e.disabled||""===e.disabled),Oo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Ro=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,$o=(e,t)=>{const n=e&&e.to;if(b(n)){if(t){return t(n)}return null}return n};function jo(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&o(s,t,n),(!d||Mo(u))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);d&&o(a,t,n)}const Vo={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:m,createText:g,createComment:h}}=c,v=Mo(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g(""),d=t.target=$o(t.props,m),p=t.targetStart=g(""),h=t.targetAnchor=g("");f(e,n,o),f(c,n,o),p[Fo]=h,d&&(f(p,d),f(h,d),"svg"===s||Oo(d)?s="svg":("mathml"===s||Ro(d))&&(s="mathml"));const w=(e,t)=>{16&y&&u(b,e,t,r,i,s,a,l)};v?w(n,c):d&&w(d,h)}else{t.el=e.el,t.targetStart=e.targetStart;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=Mo(e.props),h=g?n:u,y=g?o:f;if("svg"===s||Oo(u)?s="svg":("mathml"===s||Ro(u))&&(s="mathml"),w?(p(e.dynamicChildren,w,h,r,i,s,a),Go(e,t,!0)):l||d(e,t,h,y,r,i,s,a,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):jo(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,m);e&&jo(t,e,null,c,0)}else g&&jo(t,u,f,c,1)}Uo(t)},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e;if(d&&(r(c),r(u)),i&&r(l),16&s){const e=i||!Mo(p);for(let r=0;r<a.length;r++){const i=a[r];o(i,t,n,e,!!i.dynamicChildren)}}},move:jo,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=$o(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Mo(t.props))t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l;else{t.anchor=s(e);let a=l;for(;a;)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,u._lpa=t.targetAnchor&&s(t.targetAnchor);break}c(l,t,u,n,o,r,i)}Uo(t)}return t.anchor&&s(t.anchor)}};function Uo(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const qo=gr;function Ho(e,t){"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(U().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);U().__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:l,createText:c,createComment:u,setText:d,setElementText:p,parentNode:m,nextSibling:g,setScopeId:h=s,insertStaticContent:v}=e,y=(e,t,n,o=null,r=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Br(e,t)&&(o=X(e),K(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case vr:b(e,t,n,o);break;case yr:w(e,t,n,o);break;case br:null==e&&x(t,n,o,s);break;case hr:I(e,t,n,o,r,i,s,a,l);break;default:1&d?C(e,t,n,o,r,i,s,a,l):6&d?P(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,Q)}null!=u&&r&&Po(u,e&&e.ref,i,t||e,!t)},b=(e,t,o,r)=>{if(null==e)n(t.el=c(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},w=(e,t,o,r)=>{null==e?n(t.el=u(t.children||""),o,r):t.el=e.el},x=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o,e.el,e.anchor)},A=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),o(e),e=n;o(t)},C=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?k(t,n,o,r,i,s,a,l):_(e,t,r,i,s,a,l)},k=(e,t,o,r,i,s,c,u)=>{let d,f;const{props:m,shapeFlag:g,transition:h,dirs:v}=e;if(d=e.el=l(e.type,s,m&&m.is,m),8&g?p(d,e.children):16&g&&S(e.children,d,null,r,i,Ko(e,s),c,u),v&&rn(e,null,r,"created"),E(d,e,e.scopeId,c,r),m){for(const e in m)"value"===e||L(e)||a(d,e,null,m[e],s,r);"value"in m&&a(d,"value",null,m.value,s),(f=m.onVnodeBeforeMount)&&qr(f,r,e)}v&&rn(e,null,r,"beforeMount");const y=zo(i,h);y&&h.beforeEnter(d),n(d,t,o),((f=m&&m.onVnodeMounted)||y||v)&&qo((()=>{f&&qr(f,r,e),y&&h.enter(d),v&&rn(e,null,r,"mounted")}),i)},E=(e,t,n,o,r)=>{if(n&&h(e,n),o)for(let t=0;t<o.length;t++)h(e,o[t]);if(r){if(t===r.subTree){const t=r.vnode;E(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},S=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?jr(e[c]):$r(e[c]);y(null,l,t,n,o,r,i,s,a)}},_=(e,t,n,o,i,s,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=16&e.patchFlag;const m=e.props||r,g=t.props||r;let h;if(n&&Wo(n,!1),(h=g.onVnodeBeforeUpdate)&&qr(h,n,t,e),f&&rn(t,e,n,"beforeUpdate"),n&&Wo(n,!0),(m.innerHTML&&null==g.innerHTML||m.textContent&&null==g.textContent)&&p(c,""),d?T(e.dynamicChildren,d,c,n,o,Ko(t,i),s):l||j(e,t,c,null,n,o,Ko(t,i),s,!1),u>0){if(16&u)B(c,m,g,n,i);else if(2&u&&m.class!==g.class&&a(c,"class",null,g.class,i),4&u&&a(c,"style",m.style,g.style,i),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const o=e[t],r=m[o],s=g[o];s===r&&"value"!==o||a(c,o,r,s,i,n)}}1&u&&e.children!==t.children&&p(c,t.children)}else l||null!=d||B(c,m,g,n,i);((h=g.onVnodeUpdated)||f)&&qo((()=>{h&&qr(h,n,t,e),f&&rn(t,e,n,"updated")}),o)},T=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===hr||!Br(l,c)||70&l.shapeFlag)?m(l.el):n;y(l,c,u,null,o,r,i,s,!0)}},B=(e,t,n,o,i)=>{if(t!==n){if(t!==r)for(const r in t)L(r)||r in n||a(e,r,t[r],null,i,o);for(const r in n){if(L(r))continue;const s=n[r],l=t[r];s!==l&&"value"!==r&&a(e,r,l,s,i,o)}"value"in n&&a(e,"value",t.value,n.value,i)}},I=(e,t,o,r,i,s,a,l,u)=>{const d=t.el=e?e.el:c(""),p=t.anchor=e?e.anchor:c("");let{patchFlag:f,dynamicChildren:m,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(d,o,r),n(p,o,r),S(t.children||[],o,p,i,s,a,l,u)):f>0&&64&f&&m&&e.dynamicChildren?(T(e.dynamicChildren,m,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Go(e,t,!0)):j(e,t,o,p,i,s,a,l,u)},P=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):F(t,n,o,r,i,s,l):M(e,t,l)},F=(e,t,n,o,r,i,s)=>{const a=e.component=Wr(e,o,r);if(wn(e)&&(a.ctx.renderer=Q),oi(a,!1,s),a.asyncDep){if(r&&r.registerDep(a,R,s),!e.el){const e=a.subTree=Pr(yr);w(null,e,t,n)}}else R(a,e,t,n,r,i,s)},M=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||pr(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?pr(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!lr(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void $(o,t,n);o.next=t,function(e){const t=Ot.indexOf(e);t>Rt&&Ot.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},R=(e,t,n,o,r,i,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:s,vnode:c}=e;{const n=Yo(e);if(n)return t&&(t.el=c.el,$(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;0,Wo(e,!1),t?(t.el=c.el,$(e,t,a)):t=c,n&&O(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&qr(u,s,t,c),Wo(e,!0);const p=cr(e);0;const f=e.subTree;e.subTree=p,y(f,p,m(f.el),X(f),e,r,i),t.el=p.el,null===d&&fr(e,p.el),o&&qo(o,r),(u=t.props&&t.props.onVnodeUpdated)&&qo((()=>qr(u,s,t,c)),r)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,p=bn(t);if(Wo(e,!1),c&&O(c),!p&&(s=l&&l.onVnodeBeforeMount)&&qr(s,d,t),Wo(e,!0),a&&te){const n=()=>{e.subTree=cr(e),te(a,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const s=e.subTree=cr(e);0,y(null,s,n,o,e,r,i),t.el=s.el}if(u&&qo(u,r),!p&&(s=l&&l.onVnodeMounted)){const e=t;qo((()=>qr(s,d,e)),r)}(256&t.shapeFlag||d&&bn(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&qo(e.a,r),e.isMounted=!0,t=n=o=null}},c=e.effect=new le(l,s,(()=>Kt(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.i=e,u.id=e.uid,Wo(e,!0),u()},$=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=yt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;yo(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=D(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=bo(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(lr(e.emitsOptions,s))continue;const u=t[s];if(l)if(f(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=N(s);r[t]=bo(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&Le(e.attrs,"set","")}(e,t.props,o,n),Do(e,t.children,n),he(),Gt(e),ve()},j=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(128&f)return void q(c,d,n,o,r,i,s,a,l);if(256&f)return void V(c,d,n,o,r,i,s,a,l)}8&m?(16&u&&Y(c,r,i),d!==c&&p(n,d)):16&u?16&m?q(c,d,n,o,r,i,s,a,l):Y(c,r,i,!0):(8&u&&p(n,""),16&m&&S(d,n,o,r,i,s,a,l))},V=(e,t,n,o,r,s,a,l,c)=>{t=t||i;const u=(e=e||i).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?jr(t[f]):$r(t[f]);y(e[f],o,n,null,r,s,a,l,c)}u>d?Y(e,r,s,!0,!1,p):S(t,n,o,r,s,a,l,c,p)},q=(e,t,n,o,r,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],i=t[u]=c?jr(t[u]):$r(t[u]);if(!Br(o,i))break;y(o,i,n,null,r,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],i=t[f]=c?jr(t[f]):$r(t[f]);if(!Br(o,i))break;y(o,i,n,null,r,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,i=e<d?t[e].el:o;for(;u<=f;)y(null,t[u]=c?jr(t[u]):$r(t[u]),n,i,r,s,a,l,c),u++}}else if(u>f)for(;u<=p;)K(e[u],r,s,!0),u++;else{const m=u,g=u,h=new Map;for(u=g;u<=f;u++){const e=t[u]=c?jr(t[u]):$r(t[u]);null!=e.key&&h.set(e.key,u)}let v,b=0;const w=f-g+1;let x=!1,A=0;const C=new Array(w);for(u=0;u<w;u++)C[u]=0;for(u=m;u<=p;u++){const o=e[u];if(b>=w){K(o,r,s,!0);continue}let i;if(null!=o.key)i=h.get(o.key);else for(v=g;v<=f;v++)if(0===C[v-g]&&Br(o,t[v])){i=v;break}void 0===i?K(o,r,s,!0):(C[i-g]=u+1,i>=A?A=i:x=!0,y(o,t[i],n,null,r,s,a,l,c),b++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(C):i;for(v=k.length-1,u=w-1;u>=0;u--){const e=g+u,i=t[e],p=e+1<d?t[e+1].el:o;0===C[u]?y(null,i,n,p,r,s,a,l,c):x&&(v<0||u!==k[v]?H(i,n,p,2):v--)}}},H=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void H(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,Q);if(a===hr){n(s,t,o);for(let e=0;e<c.length;e++)H(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===br)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=g(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),qo((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:f}=e;if(-2===d&&(r=!1),null!=a&&Po(a,null,n,e,!0),null!=f&&(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const m=1&u&&p,g=!bn(e);let h;if(g&&(h=s&&s.onVnodeBeforeUnmount)&&qr(h,t,e),6&u)G(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);m&&rn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Q,o):c&&!c.hasOnce&&(i!==hr||d>0&&64&d)?Y(c,t,n,!1,!0):(i===hr&&384&d||!r&&16&u)&&Y(l,t,n),o&&W(e)}(g&&(h=s&&s.onVnodeUnmounted)||m)&&qo((()=>{h&&qr(h,t,e),m&&rn(e,null,t,"unmounted")}),n)},W=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===hr)return void z(n,r);if(t===br)return void A(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},z=(e,t)=>{let n;for(;e!==t;)n=g(e),o(e),e=n;o(t)},G=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a,m:l,a:c}=e;Xo(l),Xo(c),o&&O(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),a&&qo(a,t),qo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)K(e[s],t,n,o,r)},X=e=>{if(6&e.shapeFlag)return X(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=g(e.anchor||e.el),n=t&&t[Fo];return n?g(n):t};let Z=!1;const J=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Z||(Z=!0,Gt(),Yt(),Z=!1),t._vnode=e},Q={p:y,um:K,m:H,r:W,mt:F,mc:S,pc:j,pbc:T,n:X,o:e};let ee,te;return t&&([ee,te]=t(Q)),{render:J,hydrate:ee,createApp:uo(J,ee)}}function Ko({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Go(e,t,n=!1){const o=e.children,r=t.children;if(m(o)&&m(r))for(let e=0;e<o.length;e++){const t=o[e];let i=r[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&(i=r[e]=jr(r[e]),i.el=t.el),n||-2===i.patchFlag||Go(t,i)),i.type===vr&&(i.el=t.el)}}function Yo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yo(t)}function Xo(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const Zo=Symbol.for("v-scx"),Jo=()=>{{const e=fo(Zo);return e}};const Qo={};function er(e,t,n){return tr(e,t,n)}function tr(e,t,{immediate:n,deep:o,flush:i,once:a,onTrack:l,onTrigger:c}=r){if(t&&a){const e=t;t=(...t)=>{e(...t),S()}}const u=zr,p=e=>!0===o?e:rr(e,!1===o?1:void 0);let f,g,h=!1,v=!1;if(Et(e)?(f=()=>e.value,h=ht(e)):mt(e)?(f=()=>p(e),h=!0):m(e)?(v=!0,h=e.some((e=>mt(e)||ht(e))),f=()=>e.map((e=>Et(e)?e.value:mt(e)?p(e):y(e)?It(e,u,2):void 0))):f=y(e)?t?()=>It(e,u,2):()=>(g&&g(),Dt(e,u,3,[w])):s,t&&o){const e=f;f=()=>rr(e())}let b,w=e=>{g=k.onStop=()=>{It(e,u,4),g=k.onStop=void 0}};if(ni){if(w=s,t?n&&Dt(t,u,3,[f(),v?[]:void 0,w]):f(),"sync"!==i)return s;{const e=Jo();b=e.__watcherHandles||(e.__watcherHandles=[])}}let x=v?new Array(e.length).fill(Qo):Qo;const A=()=>{if(k.active&&k.dirty)if(t){const e=k.run();(o||h||(v?e.some(((e,t)=>M(e,x[t]))):M(e,x)))&&(g&&g(),Dt(t,u,3,[e,x===Qo?void 0:v&&x[0]===Qo?[]:x,w]),x=e)}else k.run()};let C;A.allowRecurse=!!t,"sync"===i?C=A:"post"===i?C=()=>qo(A,u&&u.suspense):(A.pre=!0,u&&(A.id=u.uid),C=()=>Kt(A));const k=new le(f,s,C),E=re,S=()=>{k.stop(),E&&d(E.effects,k)};return t?n?A():x=k.run():"post"===i?qo(k.run.bind(k),u&&u.suspense):k.run(),b&&b.push(S),S}function nr(e,t,n){const o=this.proxy,r=b(e)?e.includes(".")?or(o,e):()=>o[e]:e.bind(o,o);let i;y(t)?i=t:(i=t.handler,n=t);const s=Zr(this),a=tr(r,i.bind(o),n);return s(),a}function or(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function rr(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Et(e))rr(e.value,t,n);else if(m(e))for(let o=0;o<e.length;o++)rr(e[o],t,n);else if(h(e)||g(e))e.forEach((e=>{rr(e,t,n)}));else if(S(e)){for(const o in e)rr(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&rr(e[o],t,n)}return e}const ir=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${N(t)}Modifiers`]||e[`${D(t)}Modifiers`];function sr(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||r;let i=n;const s=t.startsWith("update:"),a=s&&ir(o,t.slice(7));let l;a&&(a.trim&&(i=n.map((e=>b(e)?e.trim():e))),a.number&&(i=n.map($)));let c=o[l=F(t)]||o[l=F(N(t))];!c&&s&&(c=o[l=F(D(t))]),c&&Dt(c,e,6,i);const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Dt(u,e,6,i)}}function ar(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!y(e)){const o=e=>{const n=ar(e,t,!0);n&&(a=!0,u(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(m(i)?i.forEach((e=>s[e]=null)):u(s,i),x(e)&&o.set(e,s),s):(x(e)&&o.set(e,null),null)}function lr(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,D(t))||f(e,t))}function cr(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:d,props:p,data:f,setupState:m,ctx:g,inheritAttrs:h}=e,v=tn(e);let y,b;try{if(4&n.shapeFlag){const e=r||o,t=e;y=$r(u.call(t,e,d,p,m,f,g)),b=a}else{const e=t;0,y=$r(e.length>1?e(p,{attrs:a,slots:s,emit:l}):e(p,null)),b=t.props?a:ur(a)}}catch(t){wr.length=0,Pt(t,e,1),y=Pr(yr)}let w=y;if(b&&!1!==h){const e=Object.keys(b),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(c)&&(b=dr(b,i)),w=Mr(w,b,!1,!0))}return n.dirs&&(w=Mr(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),y=w,tn(v),y}const ur=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},dr=(e,t)=>{const n={};for(const o in e)c(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function pr(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!lr(n,i))return!0}return!1}function fr({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}const mr=e=>e.__isSuspense;function gr(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):zt(e)}const hr=Symbol.for("v-fgt"),vr=Symbol.for("v-txt"),yr=Symbol.for("v-cmt"),br=Symbol.for("v-stc"),wr=[];let xr=null;function Ar(e=!1){wr.push(xr=e?null:[])}function Cr(){wr.pop(),xr=wr[wr.length-1]||null}let kr=1;function Er(e){kr+=e,e<0&&xr&&(xr.hasOnce=!0)}function Sr(e){return e.dynamicChildren=kr>0?xr||i:null,Cr(),kr>0&&xr&&xr.push(e),e}function _r(e,t,n,o,r,i){return Sr(Dr(e,t,n,o,r,i,!0))}function Lr(e,t,n,o,r){return Sr(Pr(e,t,n,o,r,!0))}function Tr(e){return!!e&&!0===e.__v_isVNode}function Br(e,t){return e.type===t.type&&e.key===t.key}const Nr=({key:e})=>null!=e?e:null,Ir=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||Et(e)||y(e)?{i:Qt,r:e,k:t,f:!!n}:e:null);function Dr(e,t=null,n=null,o=0,r=null,i=(e===hr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nr(t),ref:t&&Ir(t),scopeId:en,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Qt};return a?(Vr(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),kr>0&&!s&&xr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&xr.push(l),l}const Pr=Fr;function Fr(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==Vn||(e=yr),Tr(e)){const o=Mr(e,t,!0);return n&&Vr(o,n),kr>0&&!i&&xr&&(6&o.shapeFlag?xr[xr.indexOf(e)]=o:xr.push(o)),o.patchFlag=-2,o}if(ui(e)&&(e=e.__vccOpts),t){t=function(e){return e?vt(e)||ho(e)?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!b(e)&&(t.class=G(e)),x(n)&&(vt(n)&&!m(n)&&(n=u({},n)),t.style=q(n))}return Dr(e,t,n,o,r,b(e)?1:mr(e)?128:(e=>e.__isTeleport)(e)?64:x(e)?4:y(e)?2:0,i,!0)}function Mr(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?Ur(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Nr(c),ref:t&&t.ref?n&&i?m(i)?i.concat(Ir(t)):[i,Ir(t)]:Ir(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==hr?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mr(e.ssContent),ssFallback:e.ssFallback&&Mr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&vn(u,l.clone(u)),u}function Or(e=" ",t=0){return Pr(vr,null,e,t)}function Rr(e="",t=!1){return t?(Ar(),Lr(yr,null,e)):Pr(yr,null,e)}function $r(e){return null==e||"boolean"==typeof e?Pr(yr):m(e)?Pr(hr,null,e.slice()):"object"==typeof e?jr(e):Pr(vr,null,String(e))}function jr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Mr(e)}function Vr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(m(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Vr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||ho(t)?3===o&&Qt&&(1===Qt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Qt}}else y(t)?(t={default:t,_ctx:Qt},n=32):(t=String(t),64&o?(n=16,t=[Or(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ur(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=G([t.class,o.class]));else if("style"===e)t.style=q([t.style,o.style]);else if(l(e)){const n=t[e],r=o[e];!r||n===r||m(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function qr(e,t,n,o=null){Dt(e,t,7,[n,o])}const Hr=lo();let Kr=0;function Wr(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||Hr,s={uid:Kr++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new se(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xo(o,i),emitsOptions:ar(o,i),emit:null,emitted:null,propsDefaults:r,inheritAttrs:o.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=sr.bind(null,s),e.ce&&e.ce(s),s}let zr=null;const Gr=()=>zr||Qt;let Yr,Xr;{const e=U(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Yr=t("__VUE_INSTANCE_SETTERS__",(e=>zr=e)),Xr=t("__VUE_SSR_SETTERS__",(e=>ni=e))}const Zr=e=>{const t=zr;return Yr(e),e.scope.on(),()=>{e.scope.off(),Yr(t)}},Jr=()=>{zr&&zr.scope.off(),Yr(null)};function Qr(e){return 4&e.vnode.shapeFlag}let ei,ti,ni=!1;function oi(e,t=!1,n=!1){t&&Xr(t);const{props:o,children:r}=e.vnode,i=Qr(e);vo(e,o,i,t),Io(e,r,n);const s=i?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gn),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?ai(e):null,r=Zr(e);he();const i=It(o,e,0,[e.props,n]);if(ve(),r(),A(i)){if(i.then(Jr,Jr),t)return i.then((n=>{ri(e,n,t)})).catch((t=>{Pt(t,e,0)}));e.asyncDep=i}else ri(e,i,t)}else ii(e,t)}(e,t):void 0;return t&&Xr(!1),s}function ri(e,t,n){y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=Nt(t)),ii(e,n)}function ii(e,t,n){const o=e.type;if(!e.render){if(!t&&ei&&!o.render){const t=o.template||eo(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:s}=o,a=u(u({isCustomElement:n,delimiters:i},r),s);o.render=ei(t,a)}}e.render=o.render||s,ti&&ti(e)}{const t=Zr(e);he();try{Zn(e)}finally{ve(),t()}}}const si={get:(e,t)=>(_e(e,0,""),e[t])};function ai(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,si),slots:e.slots,emit:e.emit,expose:t}}function li(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nt((t=e.exposed,Object.isExtensible(t)&&R(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in Wn?Wn[n](e):void 0,has:(e,t)=>t in e||t in Wn})):e.proxy;var t}function ci(e,t=!0){return y(e)?e.displayName||e.name:e.name||t&&e.__name}function ui(e){return y(e)&&"__vccOpts"in e}const di=(e,t)=>At(e,0,ni);function pi(e,t,n){const o=arguments.length;return 2===o?x(t)&&!m(t)?Tr(t)?Pr(e,null,[t]):Pr(e,t):Pr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Tr(n)&&(n=[n]),Pr(e,t,n))}const fi="3.4.34",mi="undefined"!=typeof document?document:null,gi=mi&&mi.createElement("template"),hi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?mi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?mi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?mi.createElement(e,{is:n}):mi.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>mi.createTextNode(e),createComment:e=>mi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{gi.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=gi.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vi="transition",yi="animation",bi=Symbol("_vtc"),wi=(e,{slots:t})=>pi(pn,ki(e),t);wi.displayName="Transition";const xi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ai=(wi.props=u({},un,xi),(e,t=[])=>{m(e)?e.forEach((e=>e(...t))):e&&e(...t)}),Ci=e=>!!e&&(m(e)?e.some((e=>e.length>1)):e.length>1);function ki(e){const t={};for(const n in e)n in xi||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:d=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(x(e))return[Ei(e.enter),Ei(e.leave)];{const t=Ei(e);return[t,t]}}(r),h=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:A,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:E=b,onAppearCancelled:S=w}=t,_=(e,t,n)=>{_i(e,t?d:a),_i(e,t?c:s),n&&n()},L=(e,t)=>{e._isLeaving=!1,_i(e,p),_i(e,m),_i(e,f),t&&t()},T=e=>(t,n)=>{const r=e?E:b,s=()=>_(t,e,n);Ai(r,[t,s]),Li((()=>{_i(t,e?l:i),Si(t,e?d:a),Ci(r)||Bi(t,o,h,s)}))};return u(t,{onBeforeEnter(e){Ai(y,[e]),Si(e,i),Si(e,s)},onBeforeAppear(e){Ai(k,[e]),Si(e,l),Si(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>L(e,t);Si(e,p),Si(e,f),Pi(),Li((()=>{e._isLeaving&&(_i(e,p),Si(e,m),Ci(A)||Bi(e,o,v,n))})),Ai(A,[e,n])},onEnterCancelled(e){_(e,!1),Ai(w,[e])},onAppearCancelled(e){_(e,!0),Ai(S,[e])},onLeaveCancelled(e){L(e),Ai(C,[e])}})}function Ei(e){return j(e)}function Si(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[bi]||(e[bi]=new Set)).add(t)}function _i(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[bi];n&&(n.delete(t),n.size||(e[bi]=void 0))}function Li(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ti=0;function Bi(e,t,n,o){const r=e._endId=++Ti,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=Ni(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,p)}function Ni(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${vi}Delay`),i=o(`${vi}Duration`),s=Ii(r,i),a=o(`${yi}Delay`),l=o(`${yi}Duration`),c=Ii(a,l);let u=null,d=0,p=0;t===vi?s>0&&(u=vi,d=s,p=i.length):t===yi?c>0&&(u=yi,d=c,p=l.length):(d=Math.max(s,c),u=d>0?s>c?vi:yi:null,p=u?u===vi?i.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===vi&&/\b(transform|all)(,|$)/.test(o(`${vi}Property`).toString())}}function Ii(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Di(t)+Di(e[n]))))}function Di(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Pi(){return document.body.offsetHeight}const Fi=Symbol("_vod"),Mi=Symbol("_vsh");const Oi=Symbol("");const Ri=/(^|;)\s*display\s*:/;const $i=/\s*!important$/;function ji(e,t,n){if(m(n))n.forEach((n=>ji(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Ui[t];if(n)return n;let o=N(t);if("filter"!==o&&o in e)return Ui[t]=o;o=P(o);for(let n=0;n<Vi.length;n++){const r=Vi[n]+o;if(r in e)return Ui[t]=r}return t}(e,t);$i.test(n)?e.setProperty(D(o),n.replace($i,""),"important"):e[o]=n}}const Vi=["Webkit","Moz","ms"],Ui={};const qi="http://www.w3.org/1999/xlink";function Hi(e,t,n,o,r,i=X(t)){o&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(qi,t.slice(6,t.length)):e.setAttributeNS(qi,t,n):null==n||i&&!Z(n)?e.removeAttribute(t):e.setAttribute(t,i?"":w(n)?String(n):n)}function Ki(e,t,n,o){e.addEventListener(t,n,o)}const Wi=Symbol("_vei");function zi(e,t,n,o,r=null){const i=e[Wi]||(e[Wi]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Gi.test(e)){let n;for(t={};n=e.match(Gi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):D(e.slice(2));return[n,t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Dt(function(e,t){if(m(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Zi(),n}(o,r);Ki(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const Gi=/(?:Once|Passive|Capture)$/;let Yi=0;const Xi=Promise.resolve(),Zi=()=>Yi||(Xi.then((()=>Yi=0)),Yi=Date.now());const Ji=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;
/*! #__NO_SIDE_EFFECTS__ */
"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");const Qi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>O(t,e):t};function es(e){e.target.composing=!0}function ts(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ns=Symbol("_assign"),os={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[ns]=Qi(r);const i=o||r.props&&"number"===r.props.type;Ki(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=$(o)),e[ns](o)})),n&&Ki(e,"change",(()=>{e.value=e.value.trim()})),t||(Ki(e,"compositionstart",es),Ki(e,"compositionend",ts),Ki(e,"change",ts))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},s){if(e[ns]=Qi(s),e.composing)return;const a=null==t?"":t;if((!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:$(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(o&&t===n)return;if(r&&e.value.trim()===a)return}e.value=a}}};const rs={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=h(t);Ki(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?$(ss(e)):ss(e)));e[ns](e.multiple?r?new Set(t):t:t[0]),e._assigning=!0,Ht((()=>{e._assigning=!1}))})),e[ns]=Qi(o)},mounted(e,{value:t,modifiers:{number:n}}){is(e,t)},beforeUpdate(e,t,n){e[ns]=Qi(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||is(e,t)}};function is(e,t,n){const o=e.multiple,r=m(t);if(!o||r||h(t)){for(let n=0,i=e.options.length;n<i;n++){const i=e.options[n],s=ss(i);if(o)if(r){const e=typeof s;i.selected="string"===e||"number"===e?t.some((e=>String(e)===String(s))):Q(t,s)>-1}else i.selected=t.has(s);else if(J(ss(i),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}o||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ss(e){return"_value"in e?e._value:e.value}const as={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ls=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=D(n.key);return t.some((e=>e===o||as[e]===o))?e(n):void 0})},cs=u({patchProp:(e,t,n,o,r,i)=>{const s="svg"===r;"class"===t?function(e,t,n){const o=e[bi];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,s):"style"===t?function(e,t,n){const o=e.style,r=b(n);let i=!1;if(n&&!r){if(t)if(b(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ji(o,t,"")}else for(const e in t)null==n[e]&&ji(o,e,"");for(const e in n)"display"===e&&(i=!0),ji(o,e,n[e])}else if(r){if(t!==n){const e=o[Oi];e&&(n+=";"+e),o.cssText=n,i=Ri.test(n)}}else t&&e.removeAttribute("style");Fi in e&&(e[Fi]=i?o.display:"",e[Mi]&&(o.display="none"))}(e,n,o):l(t)?c(t)||zi(e,t,0,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ji(t)&&y(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ji(t)&&b(n))return!1;return t in e}
/*! #__NO_SIDE_EFFECTS__ */(e,t,o,s))?(!function(e,t,n){if("innerHTML"===t||"textContent"===t){if(null==n)return;return void(e[t]=n)}const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){const r="OPTION"===o?e.getAttribute("value")||"":e.value,i=null==n?"":String(n);return r===i&&"_value"in e||(e.value=i),null==n&&e.removeAttribute(t),void(e._value=n)}let r=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Z(n):null==n&&"string"===o?(n="",r=!0):"number"===o&&(n=0,r=!0)}try{e[t]=n}catch(e){}r&&e.removeAttribute(t)}(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Hi(e,t,o,s,0,"value"!==t)):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),Hi(e,t,o,s))}},hi);let us;function ds(){return us||(us=Ho(cs))}function ps(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function fs(e){if(b(e)){return document.querySelector(e)}return e}var ms={name:"v-remixicon",props:{name:String,title:String,viewBox:{type:String,default:"0 0 24 24"},size:{type:[String,Number],default:24},fill:{type:String,default:"currentColor"},rotate:{type:[Number,String],default:0},path:{type:String,default:""}},setup(e){const t=fo("remixicons"),n=di((()=>{if(e.path)return path;const n=t[e.name];if(void 0!==n)return n;console.error(`[v-remixicon] ${e.name} name of the icon is incorrect`)}));return()=>pi("svg",{viewBox:e.viewBox,fill:e.fill,height:e.size,width:e.size,class:"v-remixicon",xmlns:"http://www.w3.org/2000/svg",style:{transform:e.rotate?`rotate(${e.rotate}deg)`:null}},[e.title?pi("title",{},e.title):null,pi("g",{},[pi("path",{fill:"none",d:"M0 0h24v24H0z"}),pi("path",{"fill-rule":"nonzero",d:n.value})])])}};var gs={install(e,t){e.provide("remixicons",t),e.component(ms.name,ms)}};const hs=(e,t)=>e?`${e}--${t}`:t,vs=!1;function ys(e="",n={},o=""){let r={name:hs(o,e),data:n};return t().runtime.sendMessage(r)}class bs{static sendMessage=ys;constructor(e=""){this.listeners={},this.prefix=e,this.listener=this.listener.bind(this)}on(e,t){return Object.hasOwn(this.listeners,e)?(console.error(`You already added ${e}`),this.on):(this.listeners[hs(this.prefix,e)]=t,this.on)}listener(e,t){try{vs;const n=this.listeners[e.name],o=n&&n.call({message:e,sender:t},e.data,t),r=e.name.split("--")[0];return r&&r!==e.name?r===this.prefix?o?o instanceof Promise?o:Promise.resolve(o):Promise.resolve():void 0:o?o instanceof Promise?o:Promise.resolve(o):Promise.resolve()}catch(e){return Promise.reject(new Error(`Unhandled Background Error: ${String(e)}`))}}sendMessage(e,t){return ys(e,t,this.prefix)}}function ws(e){if("function"==typeof e)return{__type:"function",__value:e.toString()};if(Array.isArray(e))return e.map((e=>ws(e)));if(e&&"object"==typeof e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=ws(e[n]));return t}return e}function xs(e){if(e&&"object"==typeof e){if("function"===e.__type)return new Function("return "+e.__value)();if(Array.isArray(e))return e.map((e=>xs(e)));const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=xs(e[n]));return t}return e}var As=n(31528),Cs=n.n(As);const ks=[{api:()=>t().tabs.get,path:"tabs.get"},{api:()=>chrome.tabs.group,path:"tabs.group"},{api:()=>t().tabs.query,path:"tabs.query"},{api:()=>t().tabs.update,path:"tabs.update"},{api:()=>t().tabs.create,path:"tabs.create"},{api:()=>t().tabs.remove,path:"tabs.remove"},{api:()=>t().tabs.reload,path:"tabs.reload"},{api:()=>t().tabs.goBack,path:"tabs.goBack"},{api:()=>t().tabs.setZoom,path:"tabs.setZoom"},{api:()=>t().tabs.goForward,path:"tabs.goForward"},{api:()=>t().tabs.captureTab,path:"tabs.captureTab"},{api:()=>t().tabs.captureVisibleTab,path:"tabs.captureVisibleTab"},{api:()=>t().tabs.sendMessage,path:"tabs.sendMessage"},{isEvent:!0,api:()=>t().tabs.onRemoved,path:"tabs.onRemoved"},{isEvent:!0,path:"webNavigation.onCreatedNavigationTarget",api:()=>t().webNavigation.onCreatedNavigationTarget},{isEvent:!0,path:"webNavigation.onErrorOccurred",api:()=>t().webNavigation.onErrorOccurred},{path:"webNavigation.getAllFrames",api:()=>t().webNavigation.getAllFrames},{api:()=>t().windows.get,path:"windows.get"},{api:()=>t().windows.update,path:"windows.update"},{api:()=>t().windows.create,path:"windows.create"},{api:()=>t().windows.getAll,path:"windows.getAll"},{api:()=>t().windows.remove,path:"windows.remove"},{api:()=>t().windows.getCurrent,path:"windows.getCurrent"},{isEvent:!0,path:"windows.onRemoved",api:()=>t().windows.onRemoved},{isEvent:!0,path:"storage.onChanged",api:()=>t().storage.onChanged},{api:()=>t().storage.local.get,path:"storage.local.get"},{api:()=>t().storage.local.set,path:"storage.local.set"},{api:()=>t().storage.local.remove,path:"storage.local.remove"},{api:()=>t().proxy.settings.clear,path:"proxy.settings.clear"},{api:()=>t().proxy.settings.set,path:"proxy.settings.set"},{isEvent:!0,path:"debugger.onEvent",api:()=>chrome.debugger.onEvent},{path:"debugger.detach",api:()=>chrome.debugger.detach},{path:"debugger.attach",api:()=>chrome.debugger.attach},{path:"debugger.sendCommand",api:()=>chrome.debugger.sendCommand},{path:"permissions.contains",api:()=>t().permissions.contains},{path:"cookies.get",api:()=>t().cookies?.get},{path:"cookies.getAll",api:()=>t().cookies?.getAll},{path:"cookies.remove",api:()=>t().cookies?.remove},{path:"cookies.set",api:()=>t().cookies?.set},{path:"downloads.search",api:()=>t().downloads?.search},{path:"downloads.download",api:()=>t().downloads?.download},{isEvent:!0,path:"downloads.onCreated",api:()=>t().downloads?.onCreated},{isEvent:!0,path:"downloads.onDeterminingFilename",api:()=>chrome.downloads?.onDeterminingFilename},{isEvent:!0,path:"downloads.onChanged",api:()=>t().downloads?.onChanged},{path:"browserAction.setBadgeText",api:()=>(t().action||t().browserAction).setBadgeText},{path:"notifications.create",api:()=>t().notifications?.create},{path:"extension.isAllowedFileSchemeAccess",api:()=>t().extension.isAllowedFileSchemeAccess}],Es={ON_EVENT:"browser-api:on-browser-event",TOGGLE:"browser-api:toggle-browser-event-listener"};function Ss(e,...t){bs.sendMessage(Es.ON_EVENT,{name:e,args:t},"offscreen")}class _s{static#e;static get instance(){return this.#e||(this.#e=new _s),this.#e}static RuntimeEvents=Es;#t;#n;#o;#r;constructor(){this.#t={},this.#r={},this.#n={},this.#o=new Set}createEventListener(e){if(this.#n[e])return this.#n[e];this.#t[e]||(this.#t[e]=[]);return this.#n[e]={addListener:t=>{this.#t[e].push(t),this.#o.has(e)||bs.sendMessage(Es.TOGGLE,{name:e,type:"add"},"background").then((()=>{this.#o.add(e)}))},hasListener:t=>this.#t[e].includes(t),hasListeners:()=>this.#t[e].length>0,removeListener:t=>{const n=this.#t[e].indexOf(t);-1!==n&&(this.#t[e].splice(n,1),this.#t[e].length>0||(bs.sendMessage(Es.TOGGLE,{name:e,type:"remove"},"background"),delete this.#n[e]))}},this.#n[e]}onBrowserEventListener(e){e.name&&this.#t[e.name]&&this.#t[e.name].forEach((t=>t(...e.args)))}onToggleBrowserEventListener({name:e,type:t}){const n="add"===t;if(n&&this.#r[e])return;if(!n&&!this.#r[e])return;const o=ks.find((t=>t.path===e&&t.isEvent))?.api();if(!ks)return;const r=n?"addListener":"removeListener",i=n?Ss.bind(null,e):this.#r[e];n&&(this.#r[e]=i),o[r](i)}}const Ls=_s,Ts="tabs"in t();function Bs(e,...t){const n=ws(t);return bs.sendMessage("browser-api",{name:e,args:n},"background")}class Ns{static async isContentScriptInjected(e,n){if(!Ts)return Bs("contentScript.isContentScriptInjected",...arguments);try{return await t().tabs.sendMessage(e.tabId,{type:n||"content-script-exists"},{frameId:e.allFrames?void 0:e.frameId}),!0}catch(e){return!1}}static async inject({file:e,target:n,injectImmediately:o,waitUntilInjected:r}){if(!Ts)return Bs("contentScript.inject",...arguments);const i=Object.hasOwn(n,"frameId")&&!n.allFrames?n.frameId:void 0;if(t().tabs.injectContentScript?await t().tabs.executeScript(n.tabId,{file:e,frameId:i,allFrames:n.allFrames}):await t().scripting.executeScript({target:{tabId:n.tabId,allFrames:n.allFrames,frameIds:"number"==typeof i?[i]:void 0},files:[e],injectImmediately:o}),!r)return!0;const s=r.maxTry??3,a=r.timeoutMs??1e3;let l=0;return new Promise((e=>{const t=async()=>{try{if(l>s)return void e(!1);l+=1;if(await Ns.isContentScriptInjected(n,r.messageId))return void e(!0);setTimeout((()=>t()),a)}catch(e){console.error(e),setTimeout((()=>t()),a)}};t()}))}static async isInjected({tabId:e,allFrames:n,frameId:o},r){if(!Ts)return Bs("contentScript.isInjected",...arguments);try{return await t().tabs.sendMessage(e,{type:r||"content-script-exists"},{frameId:n?void 0:o}),!0}catch(e){return!1}}}class Is{static runtimeMessageHandler({args:e,name:t}){const n=xs(e),o=Cs().get(this,t);if(!o)throw new Error(`"${t}" is invalid method`);return n?o(...n):o()}static runtime=t().runtime;static tabs;static proxy;static storage;static windows;static debugger;static webNavigation;static permissions;static downloads;static notifications;static browserAction;static extension;static contentScript=Ns}ks.forEach((e=>{let t;t=Ts?e.api():e.isEvent?Ls.instance.createEventListener(e.path):(...t)=>Bs(e.path,...t),Cs().set(Is,e.path,t)}));function Ds(e,t=!1){const n=e.replace(/(?:^\w|[A-Z]|\b\w)/g,((e,n)=>0!==n||t?e.toUpperCase():e.toLowerCase()));return n.replace(/\s+|[-]/g,"")}function Ps(e,t=200){let n;return(...o)=>(clearTimeout(n),new Promise((r=>{n=setTimeout((()=>{n=null,e(...o),r()}),t)})))}const Fs={trigger:{name:"Trigger",description:"Block where workflow will start executing",icon:"riFlashlightLine",component:"BlockBasic",editComponent:"EditTrigger",category:"general",inputs:0,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["url"],data:{disableBlock:!1,description:"",type:"manual",interval:60,delay:5,date:"",time:"00:00",url:"",shortcut:"",activeInInput:!1,isUrlRegex:!1,days:[],contextMenuName:"",contextTypes:[],parameters:[],preferParamsInTab:!1,observeElement:{selector:"",baseSelector:"",matchPattern:"",targetOptions:{subtree:!1,childList:!0,attributes:!1,attributeFilter:[],characterData:!1},baseElOptions:{subtree:!1,childList:!0,attributes:!1,attributeFilter:[],characterData:!1}}}},"execute-workflow":{name:"Execute workflow",description:"",icon:"riFlowChart",component:"BlockBasic",category:"general",editComponent:"EditExecuteWorkflow",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["globalData"],data:{disableBlock:!1,executeId:"",workflowId:"",globalData:"",description:"",insertAllVars:!1,insertAllGlobalData:!1}},"active-tab":{name:"Active tab",description:"Set current tab that you're in as an active tab",icon:"riWindowLine",component:"BlockBasic",category:"browser",disableEdit:!0,inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1}},"new-tab":{name:"New tab",description:"Create a new tab",icon:"riGlobalLine",component:"BlockBasic",editComponent:"EditNewTab",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["url","userAgent"],data:{disableBlock:!1,description:"",url:"",userAgent:"",active:!0,tabZoom:1,inGroup:!1,waitTabLoaded:!1,updatePrevTab:!1,customUserAgent:!1}},"switch-tab":{name:"Switch tab",description:"Switch active tab",icon:"riArrowLeftRightLine",component:"BlockBasic",editComponent:"EditSwitchTab",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["url","matchPattern","tabTitle"],data:{disableBlock:!1,description:"",url:"",tabIndex:0,tabTitle:"",matchPattern:"",activeTab:!0,createIfNoMatch:!1,findTabBy:"match-patterns"}},"new-window":{name:"New window",description:"Create a new window",icon:"riWindow2Line",component:"BlockBasic",editComponent:"EditNewWindow",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["url"],data:{disableBlock:!1,description:"",top:0,left:0,width:0,url:"",height:0,type:"normal",incognito:!1,windowState:"normal"}},proxy:{name:"Proxy",description:"Set the proxy of the browser",icon:"riShieldKeyholeLine",component:"BlockBasic",category:"browser",editComponent:"EditProxy",inputs:1,outputs:1,maxConnection:1,allowedInputs:!0,refDataKeys:["host","port","scheme"],data:{description:"",disableBlock:!1,scheme:"https",host:"",port:443,bypassList:"",clearProxy:!1}},"go-back":{name:"Go back",description:"Go back to the previous page",icon:"riArrowGoBackLine",component:"BlockBasic",category:"browser",inputs:1,outputs:1,maxConnection:1,disableEdit:!0,allowedInputs:!0,data:{disableBlock:!1}},"forward-page":{name:"Go forward",description:"Go forward to the next page",icon:"riArrowGoForwardLine",component:"BlockBasic",category:"browser",inputs:1,outputs:1,maxConnection:1,disableEdit:!0,allowedInputs:!0,data:{disableBlock:!1}},"close-tab":{name:"Close tab/window",icon:"riCloseCircleLine",component:"BlockBasic",category:"browser",editComponent:"EditCloseTab",inputs:1,outputs:1,maxConnection:1,allowedInputs:!0,refDataKeys:["url"],data:{disableBlock:!1,url:"",description:"",activeTab:!0,closeType:"tab",allWindows:!1}},"take-screenshot":{name:"Take screenshot",description:"Take a screenshot of current active tab",icon:"riImageLine",component:"BlockBasic",category:"browser",editComponent:"EditTakeScreenshot",inputs:1,outputs:1,maxConnection:1,allowedInputs:!0,refDataKeys:["fileName","selector","variableName"],autocomplete:["variableName"],data:{description:"",disableBlock:!1,fileName:"",ext:"png",quality:100,dataColumn:"",variableName:"",selector:"",fullPage:!1,saveToColumn:!1,saveToComputer:!0,assignVariable:!1,captureActiveTab:!0}},"browser-event":{name:"Browser event",description:"Wait until the selected event is triggered",icon:"riLightbulbLine",component:"BlockBasic",category:"browser",editComponent:"EditBrowserEvent",inputs:1,outputs:1,maxConnection:1,allowedInputs:!0,data:{disableBlock:!1,description:"",timeout:1e4,eventName:"tab:loaded",setAsActiveTab:!0,activeTabLoaded:!0,tabLoadedUrl:"",tabUrl:"",fileQuery:""}},"event-click":{name:"Click element",icon:"riCursorLine",component:"BlockBasic",editComponent:"EditInteractionBase",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,multiple:!1}},delay:{name:"Delay",description:"Add delay before executing the next block",icon:"riTimerLine",component:"BlockDelay",editComponent:"EditDelay",category:"general",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["time"],data:{disableBlock:!1,time:500}},"get-text":{name:"Get text",description:"Get text from an element",icon:"riParagraph",component:"BlockBasic",editComponent:"EditGetText",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","variableName","prefixText","suffixText","extraRowValue"],autocomplete:["variableName"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,multiple:!1,regex:"",prefixText:"",suffixText:"",regexExp:[],dataColumn:"",saveData:!0,includeTags:!1,addExtraRow:!1,assignVariable:!1,useTextContent:!1,variableName:"",extraRowValue:"",extraRowDataColumn:""}},"export-data":{name:"Export data",icon:"riDownloadLine",component:"BlockBasic",editComponent:"EditExportData",category:"general",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["name","variableName"],data:{disableBlock:!1,name:"",refKey:"",type:"json",description:"",variableName:"",csvDelimiter:",",addBOMHeader:!0,onConflict:"uniquify",dataToExport:"data-columns"}},"element-scroll":{name:"Scroll element",icon:"riMouseLine",component:"BlockBasic",editComponent:"EditScrollElement",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"html",markEl:!1,multiple:!1,scrollY:0,scrollX:0,incX:!1,incY:!1,smooth:!1,scrollIntoView:!1}},link:{name:"Link",description:"Open link element",icon:"riLink",component:"BlockBasic",editComponent:"EditLink",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,disableMultiple:!0,openInNewTab:!1}},"attribute-value":{name:"Attribute value",description:"Get attribute value of an element",icon:"riBracketsLine",component:"BlockBasic",editComponent:"EditAttributeValue",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","variableName","attributeName","extraRowValue","attributeValue"],autocomplete:["variableName"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,multiple:!1,attributeValue:"",attributeName:"",assignVariable:!1,variableName:"",dataColumn:"",saveData:!0,action:"get",addExtraRow:!1,extraRowValue:"",extraRowDataColumn:""}},forms:{name:"Forms",icon:"riInputCursorMove",description:"Manipulate form(input, select, checkbox, and radio) element",component:"BlockBasic",editComponent:"EditForms",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","variableName","value","optionPosition","delay"],autocomplete:["variableName"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,multiple:!1,selected:!0,clearValue:!0,getValue:!1,saveData:!1,dataColumn:"",selectOptionBy:"value",optionPosition:"1",assignVariable:!1,variableName:"",type:"text-field",value:"",delay:0,events:[]}},"repeat-task":{name:"Repeat task",icon:"riRepeat2Line",component:"BlockRepeatTask",category:"conditions",inputs:1,outputs:2,allowedInputs:!0,maxConnection:1,refDataKeys:["repeatFor"],data:{disableBlock:!1,repeatFor:"1"}},"javascript-code":{name:"JavaScript code",description:"Execute your custom javascript code in a webpage",icon:"riCodeSSlashLine",component:"BlockBasic",editComponent:"EditJavascriptCode",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",timeout:2e4,context:"website",code:'console.log("Hello world!");\nautomaNextBlock()',preloadScripts:[],everyNewTab:!1,runBeforeLoad:!1}},"trigger-event":{name:"Trigger event",description:"Trigger event",icon:"riLightbulbFlashLine",component:"BlockBasic",editComponent:"EditTriggerEvent",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","eventParams.clientX","eventParams.clientY"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"html",markEl:!1,multiple:!1,eventName:"",eventType:"",eventParams:{bubbles:!0,cancelable:!1}}},conditions:{name:"Conditions",description:"Conditional block",icon:"riAB",component:"BlockConditions",editComponent:"EditConditions",category:"conditions",inputs:1,outputs:0,allowedInputs:!0,maxConnection:1,data:{description:"",disableBlock:!1,conditions:[],retryConditions:!1,retryCount:10,retryTimeout:1e3}},"element-exists":{name:"Element exists",description:"Check if an element is exists",icon:"riFocus3Line",component:"BlockElementExists",editComponent:"EditElementExists",category:"conditions",inputs:1,outputs:2,allowedInputs:!0,maxConnection:1,refDataKeys:["selector"],data:{disableBlock:!1,description:"",findBy:"cssSelector",selector:"",tryCount:1,timeout:500,markEl:!1,throwError:!1}},webhook:{name:"HTTP Request",description:"make an HTTP request",icon:"riEarthLine",component:"BlockBasicWithFallback",editComponent:"EditWebhook",category:"general",inputs:1,outputs:2,allowedInputs:!0,maxConnection:1,refDataKeys:["body","url","variableName"],autocomplete:["variableName"],data:{disableBlock:!1,description:"",url:"",body:"{}",headers:[],method:"POST",timeout:1e4,dataPath:"",contentType:"json",variableName:"",assignVariable:!1,saveData:!1,dataColumn:"",responseType:"json"}},"while-loop":{name:"While loop",description:"Execute blocks while the condition is met",icon:"riRefreshFill",component:"BlockBasicWithFallback",editComponent:"EditWhileLoop",category:"conditions",inputs:1,outputs:2,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",conditions:null}},"loop-data":{name:"Loop data",icon:"riRefreshLine",component:"BlockBasic",editComponent:"EditLoopData",category:"conditions",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["maxLoop","loopData","selector","startIndex","variableName","referenceKey","elementSelector"],autocomplete:["variableName","loopId"],data:{disableBlock:!1,loopId:"",maxLoop:0,toNumber:10,fromNumber:1,startIndex:0,loopData:"[]",description:"",variableName:"",referenceKey:"",reverseLoop:!1,elementSelector:"",waitForSelector:!1,waitSelectorTimeout:5e3,resumeLastWorkflow:!1,loopThrough:"data-columns"}},"loop-elements":{name:"Loop elements",icon:"riRestartLine",component:"BlockBasic",editComponent:"EditLoopElements",category:"conditions",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["maxLoop","selector","variableName","elementSelector","actionElSelector"],autocomplete:["loopId"],data:{disableBlock:!1,loopId:"",selector:"",maxLoop:"0",description:"",reverseLoop:!1,actionElSelector:"",findBy:"cssSelector",actionElMaxWaitTime:5,actionPageMaxWaitTime:10,loadMoreAction:"none",scrollToBottom:!0,waitForSelector:!1,waitSelectorTimeout:5e3}},"loop-breakpoint":{name:"Loop breakpoint",description:"To tell where loop data must stop",icon:"riStopLine",component:"BlockLoopBreakpoint",category:"conditions",disableEdit:!0,inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,loopId:"",clearLoop:!1}},"blocks-group":{name:"Blocks group",description:"Grouping blocks",icon:"riFolderZipLine",component:"BlockGroup",category:"general",disableEdit:!0,inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,name:"",blocks:[]}},clipboard:{name:"Clipboard",description:"Get the copied text from the clipboard",icon:"riClipboardLine",component:"BlockBasic",category:"general",editComponent:"EditClipboard",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,autocomplete:["variableName"],refDataKeys:["dataToCopy","variableName"],data:{disableBlock:!1,description:"",type:"get",assignVariable:!1,variableName:"",saveData:!0,dataColumn:"",dataToCopy:"",copySelectedText:!1}},"insert-data":{name:"Insert data",description:"Insert data into table or variable",icon:"riDatabase2Line",component:"BlockBasic",category:"data",editComponent:"EditInsertData",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",dataList:[]}},"switch-to":{name:"Switch frame",description:"Switch between main window and iframe",icon:"riArrowUpDownLine",component:"BlockBasic",editComponent:"EditSwitchTo",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector"],data:{disableBlock:!1,findBy:"cssSelector",selector:"",windowType:"main-window"}},"upload-file":{name:"Upload file",description:'Upload file into <input type="file"> element',icon:"riFileUploadLine",component:"BlockBasic",editComponent:"EditUploadFile",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","filePaths"],data:{disableBlock:!1,findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",filePaths:[]}},"hover-element":{name:"Hover element",description:"Hover over an element",icon:"mdiCursorDefaultClickOutline",component:"BlockBasic",editComponent:"EditInteractionBase",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,multiple:!1}},"save-assets":{name:"Save assets",description:"Save assets (image, video, audio, or file) from an element or URL",icon:"riImageLine",component:"BlockBasic",editComponent:"EditSaveAssets",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","url","filename","variableName"],data:{disableBlock:!1,description:"",findBy:"cssSelector",waitForSelector:!1,waitSelectorTimeout:5e3,selector:"",markEl:!1,multiple:!1,type:"element",url:"",filename:"",saveDownloadIds:!1,onConflict:"uniquify",dataColumn:"",saveData:!0,assignVariable:!1,variableName:"",saveToGDrive:!1}},"press-key":{name:"Press key",description:"Press a key or a combination",icon:"riKeyboardLine",component:"BlockBasic",editComponent:"EditPressKey",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["selector","keys","keysToPress","pressTime"],data:{disableBlock:!1,keys:"",selector:"",pressTime:"0",description:"",keysToPress:"",action:"press-key"}},"handle-dialog":{name:"Handle dialog",description:"Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).",icon:"riChat3Line",component:"BlockBasic",editComponent:"EditHandleDialog",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["promptText"],data:{disableBlock:!1,description:"",accept:!0,promptText:""}},"handle-download":{name:"Handle download",description:"Handle downloaded file",icon:"riFileDownloadLine",component:"BlockBasic",editComponent:"EditHandleDownload",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["filename","downloadId","variableName"],autocomplete:["variableName"],data:{disableBlock:!1,description:"",filename:"",timeout:2e4,onConflict:"uniquify",waitForDownload:!0,dataColumn:"",saveData:!0,assignVariable:!1,variableName:"",downloadId:""}},"reload-tab":{name:"Reload tab",description:"Reload the active tab",icon:"riRestartLine",component:"BlockBasic",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,disableEdit:!0,data:{disableBlock:!1}},"delete-data":{name:"Delete data",description:"Delete table or variable data",icon:"riDeleteBin7Line",editComponent:"EditDeleteData",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",deleteList:[]}},"wait-connections":{name:"Wait connections",description:"Wait for all connections before continuing to the next block",icon:"riTimerFlashLine",editComponent:"EditWaitConnections",component:"BlockBasic",category:"general",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",timeout:1e4,specificFlow:!1,flowBlockId:""}},notification:{name:"Notification",description:"Display a notification",icon:"riNotification3Line",editComponent:"EditNotification",component:"BlockBasic",category:"general",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["message","title","iconUrl","imageUrl"],data:{disableBlock:!1,description:"",message:"",iconUrl:"",imageUrl:"",title:"Hello world!"}},"log-data":{name:"Get log data",description:"Get the latest log data of a workflow",icon:"riFileHistoryLine",editComponent:"EditLogData",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",workflowId:"",dataColumn:"",saveData:!0,assignVariable:!1,variableName:""}},"tab-url":{name:"Get tab URL",description:"Get the tab URL",icon:"riLinksLine",editComponent:"EditTabURL",component:"BlockBasic",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["variableName"],data:{disableBlock:!1,description:"",type:"active-tab",dataColumn:"",saveData:!0,assignVariable:!1,variableName:"",qTitle:"",qMatchPatterns:""}},"slice-variable":{name:"Slice variable",description:"Extracts a section of a variable value",icon:"riSliceLine",editComponent:"EditSliceVariable",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",endIdxEnabled:!1,startIdxEnabled:!0,endIndex:0,startIndex:0,variableName:""}},"increase-variable":{name:"Increase variable",description:"Increase the value of a variable by specific amount",icon:"riIncreaseDecreaseLine",editComponent:"EditIncreaseVariable",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",increaseBy:1,variableName:""}},"regex-variable":{name:"RegEx variable",description:"Matching a variable value against a regular expression",icon:"mdiRegex",editComponent:"EditRegexVariable",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["replaceVal"],data:{disableBlock:!1,method:"match",replaceVal:"",description:"",expression:"",flag:[]}},"data-mapping":{name:"Data mapping",description:"Map data of a variable or table",icon:"riMindMap",editComponent:"EditDataMapping",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",dataSource:"table",sources:[],varSourceName:"",dataColumn:"",saveData:!1,assignVariable:!1,variableName:""}},"sort-data":{name:"Sort data",description:"Sort the items of data",icon:"riSortAsc",editComponent:"EditSortData",component:"BlockBasic",category:"data",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",sortByProperty:!1,itemProperties:[],dataSource:"table",varSourceName:"",dataColumn:"",saveData:!1,assignVariable:!1,variableName:""}},"create-element":{name:"Create element",description:"Create an element and insert it into the page",icon:"riHtml5Line",editComponent:"EditCreateElement",component:"BlockBasic",category:"interaction",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["html","css","selector"],data:{disableBlock:!1,description:"",javascript:"",html:"",css:"",preloadScripts:[],findBy:"cssSelector",insertAt:"after",runBeforeLoad:!1,waitForSelector:!1,waitSelectorTimeout:5e3,selector:"body"}},cookie:{name:"Cookie",description:"Get, set, or remove cookies",icon:"mdiCookieOutline",editComponent:"EditCookie",component:"BlockBasic",category:"browser",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,refDataKeys:["domain","expirationDate","path","sameSite","name","url","value","jsonCode","variableName"],data:{disableBlock:!1,description:"",type:"get",jsonCode:"{\n\n}",useJson:!1,getAll:!1,domain:"",expirationDate:"",path:"",sameSite:"",name:"",url:"",value:"",httpOnly:!1,secure:!1,session:!1,assignVariable:!1,variableName:"",saveData:!0,dataColumn:""}},"block-package":{name:"Block package",description:"Block package",icon:"riHtml5Line",editComponent:"EditPackage",component:"BlockPackage",category:"package",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{}},note:{name:"Note",description:"",icon:"riFileEditLine",component:"BlockNote",category:"general",disableEdit:!0,inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,note:"",drawing:!1,width:280,height:168,color:"white",fontSize:"regular"}},"workflow-state":{name:"Workflow State",description:"Manage workflows states",icon:"riSettings3Line",component:"BlockBasic",editComponent:"EditWorkflowState",category:"general",inputs:1,outputs:1,allowedInputs:!0,maxConnection:1,data:{disableBlock:!1,description:"",type:"stop-current",exceptCurrent:!1,workflowsToStop:[]}},"parameter-prompt":{name:"Parameter prompt",description:"",icon:"riCommandLine",component:"BlockBasic",category:"general",editComponent:"EditParameterPrompt",inputs:1,outputs:1,maxConnection:1,allowedInputs:!0,data:{disableBlock:!1,description:"",timeout:6e4,parameters:[]}}};let Ms,Os,Rs;function $s(e,t){if(Rs=new Date,e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===e.tagName.toLowerCase())return"html";const n={root:document.body,idName:e=>!0,className:e=>!0,tagName:e=>!0,attr:(e,t)=>!1,seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4,timeoutMs:void 0};Ms={...n,...t},Os=function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return e;if(e===t.root)return e.ownerDocument;return e}(Ms.root,n);let o=js(e,"all",(()=>js(e,"two",(()=>js(e,"one",(()=>js(e,"none")))))));if(o){const t=ta(na(o,e));return t.length>0&&(o=t[0]),Us(o)}throw new Error("Selector was not found.")}function js(e,t,n){let o=null,r=[],i=e,s=0;for(;i;){const e=(new Date).getTime()-Rs.getTime();if(void 0!==Ms.timeoutMs&&e>Ms.timeoutMs)throw new Error(`Timeout: Can't find a unique selector after ${e}ms`);let a=Js(Ks(i))||Js(...Ws(i))||Js(...zs(i))||Js(Gs(i))||[{name:"*",penalty:3}];const l=Ys(i);if("all"==t)l&&(a=a.concat(a.filter(Zs).map((e=>Xs(e,l)))));else if("two"==t)a=a.slice(0,1),l&&(a=a.concat(a.filter(Zs).map((e=>Xs(e,l)))));else if("one"==t){const[e]=a=a.slice(0,1);l&&Zs(e)&&(a=[Xs(e,l)])}else"none"==t&&(a=[{name:"*",penalty:3}],l&&(a=[Xs(a[0],l)]));for(let e of a)e.level=s;if(r.push(a),r.length>=Ms.seedMinLength&&(o=Vs(r,n),o))break;i=i.parentElement,s++}return o||(o=Vs(r,n)),!o&&n?n():o}function Vs(e,t){const n=ta(ea(e));if(n.length>Ms.threshold)return t?t():null;for(let e of n)if(Hs(e))return e;return null}function Us(e){let t=e[0],n=t.name;for(let o=1;o<e.length;o++){const r=e[o].level||0;n=t.level===r-1?`${e[o].name} > ${n}`:`${e[o].name} ${n}`,t=e[o]}return n}function qs(e){return e.map((e=>e.penalty)).reduce(((e,t)=>e+t),0)}function Hs(e){const t=Us(e);switch(Os.querySelectorAll(t).length){case 0:throw new Error(`Can't select any node with this selector: ${t}`);case 1:return!0;default:return!1}}function Ks(e){const t=e.getAttribute("id");return t&&Ms.idName(t)?{name:"#"+CSS.escape(t),penalty:0}:null}function Ws(e){const t=Array.from(e.attributes).filter((e=>Ms.attr(e.name,e.value)));return t.map((e=>({name:`[${CSS.escape(e.name)}="${CSS.escape(e.value)}"]`,penalty:.5})))}function zs(e){return Array.from(e.classList).filter(Ms.className).map((e=>({name:"."+CSS.escape(e),penalty:1})))}function Gs(e){const t=e.tagName.toLowerCase();return Ms.tagName(t)?{name:t,penalty:2}:null}function Ys(e){const t=e.parentNode;if(!t)return null;let n=t.firstChild;if(!n)return null;let o=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&o++,n!==e);)n=n.nextSibling;return o}function Xs(e,t){return{name:e.name+`:nth-child(${t})`,penalty:e.penalty+1}}function Zs(e){return"html"!==e.name&&!e.name.startsWith("#")}function Js(...e){const t=e.filter(Qs);return t.length>0?t:null}function Qs(e){return null!=e}function*ea(e,t=[]){if(e.length>0)for(let n of e[0])yield*ea(e.slice(1,e.length),t.concat(n));else yield t}function ta(e){return[...e].sort(((e,t)=>qs(e)-qs(t)))}function*na(e,t,n={counter:0,visited:new Map}){if(e.length>2&&e.length>Ms.optimizedMinLength)for(let o=1;o<e.length-1;o++){if(n.counter>Ms.maxNumberOfTries)return;n.counter+=1;const r=[...e];r.splice(o,1);const i=Us(r);if(n.visited.has(i))return;Hs(r)&&oa(r,t)&&(yield r,n.visited.set(i,!0),yield*na(r,t,n))}}function oa(e,t){return Os.querySelector(Us(e))===t}const ra=["data-testid"],ia=$s;function sa(e,t={}){let n=ia(e,{tagName:()=>!0,attr:(e,t)=>"id"===e||ra.includes(e)&&t,...t});const o=e.tagName.toLowerCase();return n.startsWith(o)||n.includes(" ")||(n=`${o}${n}`),n}function aa({idName:e,tagName:t,className:n,attr:o,attrNames:r}){const i=o?r.split(",").map((e=>e.trim())):["data-testid"];return{idName:()=>e??!0,tagName:()=>t??!0,className:()=>n??!0,attr:e=>i.includes(e)}}function la(e,t){if(!e)return{};const{x:n,y:o,height:r,width:i}=e.getBoundingClientRect(),s={width:i+4,height:r+4,x:n-2,y:o-2};if(t){const t={};Array.from(e.attributes).forEach((({name:e,value:n})=>{"automa-el-list"!==e&&(t[e]=n)})),s.attributes=t,s.tagName=e.tagName}return s}function ca(e,t=document.documentElement){const n=[e];for(;(e=e.parentNode)&&!e.isEqualNode(t);)n.push(e);return n}function ua(e,t=document.body){if(!e)return null;if(""!==e.id)return`id("${e.id}")`;if(e===t)return`//${e.tagName}`;let n=0;const o=e.parentNode.childNodes;for(let t=0;t<o.length;t+=1){const r=o[t];if(r===e)return`${ua(e.parentNode)}/${e.tagName}[${n+1}]`;1===r.nodeType&&r.tagName===e.tagName&&(n+=1)}return null}function da(e,t=50,n=[]){if(0===t||!e||"BODY"===e.tagName)return null;let o=e.tagName.toLowerCase();const{elements:r,index:i}=function(e,t){const n=[e],o=n=>{const o=!t||n.querySelector(t),r=e.tagName===n.tagName;return o&&r};let r=e,i=e,s=1;for(;i=i?.previousElementSibling;)o(i)&&(s+=1,n.unshift(i));for(;r=r?.nextElementSibling;)o(r)&&n.push(r);return{elements:n,index:s}}(e,n.join(" > "));let s=r;return 1!==i&&(o+=`:nth-of-type(${i})`),n.unshift(o),1===s.length&&(s=da(e.parentElement,t-1,n)),s}function pa(e,{frameElement:t,onlyInList:n,selectorSettings:o}={}){if(!e)return[];const r=e.closest("[automa-el-list]");let i=document;if(t&&(i=t.contentDocument),r){if(e.hasAttribute("automa-el-list"))return[];const t=sa(e,{root:r,...o||{},idName:()=>!1}),n=i.querySelectorAll(`[automa-el-list] ${t}`);return Array.from(n)}return n?[]:da(e)||[e]}function fa({list:e,target:t,selectorType:n,frameElement:o,hoveredElements:r,selectorSettings:i}){let s="";const a=i||{},[l]=r,c={...a};let u=document;if(o&&(u=o.contentDocument.body,c.root=u),e){const e=t.closest("[automa-el-list]");if(e){const n=sa(t,{root:e,...a,idName:()=>!1}),o=e.getAttribute("automa-el-list");s=`${o} ${n}`}else{const e=sa(l.parentElement,c);s=`${e} > ${l.tagName.toLowerCase()}`;u.querySelectorAll("[automa-el-list]").forEach((e=>{e.removeAttribute("automa-el-list")})),r.forEach((e=>{e.setAttribute("automa-el-list",s)}))}}else s="css"===n?sa(l,c):ua(l);return s}const ma={__name:"SharedElementHighlighter",props:{items:{type:Object,default:()=>({})},stroke:{type:String,default:null},activeStroke:{type:String,default:null},fill:{type:String,default:null},activeFill:{type:String,default:null}},setup(e){const t=e;function n(e){return Number.isNaN(e)||!e?0:e}function o(e){return e?e.outline?null:e.highlight?t.fill:t.activeFill||t.fill:null}function r(e){return e?e.highlight?t.stroke:t.activeStroke||t.stroke:null}return(t,i)=>(Ar(!0),_r(hr,null,Hn(e.items,((e,t)=>(Ar(),_r("rect",Ur({ref_for:!0},{x:n(e?.x),y:n(e?.y),fill:o(e),stroke:r(e),width:n(e?.width),height:n(e?.height),"stroke-dasharray":e?.outline?"5,5":null},{key:t,"stroke-width":"2"}),null,16)))),128))}},ga=ma,ha={key:0,class:"automa-element-highlighter",style:{height:"100%",width:"100%",top:"0",left:"0","pointer-events":"none",position:"fixed","z-index":"999999"}},va={key:0,id:"automa-selector-overlay",style:{"z-index":"9999999",position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}},ya={__name:"SharedElementSelector",props:{selectorType:{type:String,default:"css"},selectedEls:{type:Array,default:()=>[]},selectorSettings:{type:Object,default:()=>({})},list:Boolean,hide:Boolean,pause:Boolean,disabled:Boolean,onlyInList:Boolean,withAttributes:Boolean},emits:["selected"],setup(e,{emit:t}){const n=e,o=t;let r=null,i=null,s=window.scrollY,a=window.scrollX;const l={x:0,y:0};let c=[];const u=dt({hovered:[],selected:[]}),d=Ps((()=>{if(n.disabled)return;c=[],u.hovered=[];const e=window.scrollY-s,t=window.scrollX-a;u.selected.forEach(((n,o)=>{u.selected[o].x-=t,u.selected[o].y-=e})),a=window.scrollX,s=window.scrollY}),100);function p(e,{withAttribute:t,withElOptions:n}={}){const o=la(e,t);return i&&(o.y+=i.top,o.x+=i.left),n&&"SELECT"===e.tagName&&(o.options=Array.from(e.querySelectorAll("option")).map((e=>({value:e.value,name:e.innerText})))),o}function f(){document.querySelectorAll("[automa-el-list]").forEach((e=>{e.removeAttribute("automa-el-list")}))}function m(e={}){document.querySelectorAll("iframe, frame").forEach((t=>{t.contentWindow.postMessage({...e,type:"automa:reset-element-selector"},"*")}))}function g({clientX:e,clientY:t,target:s},a){const l=s.classList.contains("automa-element-selector");if(n.disabled||l)return;const d=n.list&&"css"===n.selectorType;let{1:g}=document.elementsFromPoint(e,t);if(!g)return;const h=n.onlyInList&&u.selected.length>0;if(["IFRAME","FRAME"].includes(g.tagName)){if("selected"===a&&f(),!g.contentDocument){const{top:o,left:s}=g.getBoundingClientRect(),l={top:o,left:s,clientX:e,clientY:t,onlyInList:h,list:d,type:"automa:get-element-rect",withAttributes:n.withAttributes};return"selected"===a&&Object.assign(l,{click:!0,selectorType:n.selectorType,selectorSettings:yt(n.selectorSettings)}),g.contentWindow.postMessage(l,"*"),r=g,void(i=g.getBoundingClientRect())}{r=g,i=g.getBoundingClientRect();const n=t-i.top,o=e-i.left;g=g.contentDocument.elementFromPoint(o,n)}}else r=null,i=null;let v=[];const y="selected"===a,b=n.withAttributes&&"selected"===a;if(d){const e=pa(g,{onlyInList:h,frameElement:r})||[];"hovered"===a&&(c=e),v=e.map((e=>p(e,{withAttribute:b,withElOptions:y})))}else"hovered"===a&&(c=[g]),v=[p(g,{withAttribute:b,withElOptions:y})];if(u[a]=v,"selected"===a){r||m();const e=aa(n.selectorSettings);let t=fa({target:g,frameElement:r,hoveredElements:c,list:d,selectorType:n.selectorType,selectorSettings:e});if(r){t=`${$s(r,e)} |> ${t}`}const i=v.reduce(((e,t,n)=>("SELECT"!==t.tagName||e.push({...t,elIndex:n}),e)),[]);o("selected",{selector:t,selectElements:i,elements:v,path:ca(g)})}}function h(e){n.pause||(l.x=e.clientX,l.y=e.clientY,g(e,"hovered"))}function v(e){if(n.pause||e.repeat||"Space"!==e.code)return;const{1:t}=document.elementsFromPoint(l.x,l.y);"automa-selector-overlay"!==t.id&&(e.preventDefault(),e.stopPropagation(),g({target:t,clientX:l.x,clientY:l.y},"selected"))}function y(e){"automa-selector-overlay"===e.target.id&&(e.preventDefault(),e.stopPropagation()),g(e,"selected")}function b({data:e}){if("automa:iframe-element-rect"!==e.type)return;if(e.click){const t="css"===n.selectorType?$s(r,{tagName:()=>!0}):ua(r);o("selected",{elements:e.elements,selector:`${t} |> ${e.selector}`})}const t=e.click?"selected":"hovered";u[t]=e.elements}function w(){window.removeEventListener("scroll",d),window.removeEventListener("message",b),document.removeEventListener("keydown",v),window.removeEventListener("mousemove",h),document.removeEventListener("mousedown",y)}return er((()=>[n.list,n.disabled]),(()=>{f(),m({clearCache:!0})})),er((()=>n.selectedEls),(()=>{u.selected=n.selectedEls})),er((()=>n.hide),(()=>{n.hide?w():(window.addEventListener("scroll",d),window.addEventListener("message",b),document.addEventListener("keydown",v),window.addEventListener("mousemove",h),document.addEventListener("mousedown",y))}),{immediate:!0}),Pn(w),(t,n)=>(Ar(),_r(hr,null,[e.disabled?Rr("",!0):(Ar(),_r("svg",ha,[Pr(ga,{items:u.hovered,stroke:"#fbbf24",fill:"rgba(251, 191, 36, 0.1)"},null,8,["items"]),Pr(ga,{items:u.selected,stroke:"#2563EB","active-stroke":"#f87171",fill:"rgba(37, 99, 235, 0.1)","active-fill":"rgba(248, 113, 113, 0.1)"},null,8,["items"])])),(Ar(),Lr(Vo,{to:"html"},[e.disabled?Rr("",!0):(Ar(),_r("div",va))]))],64))}},ba=ya;async function wa(e,n=!0){const{isRecording:o,recording:r}=await t().storage.local.get(["isRecording","recording"]);if(!o||!r)return null;let i=e;return"function"==typeof e?i=e(r):r.flows.push(e),n&&await t().storage.local.set({recording:r}),{recording:r,addedBlock:i}}const xa=Dr("span",{class:"absolute animate-ping rounded-full bg-red-400",style:{height:"80%",width:"80%","animation-duration":"1.3s"}},null,-1),Aa=Dr("p",{class:"ml-2 font-semibold"},"Ollana",-1),Ca=Dr("div",{class:"grow"},null,-1),ka={class:"p-4"},Ea={key:1,class:"leading-tight"},Sa={key:0},_a=Dr("label",{for:"list-id",class:"ml-1",style:{"font-size":"14px"}}," Element list id ",-1),La={class:"flex w-full items-center space-x-2"},Ta=["value"],Ba=Dr("option",{value:"",disabled:"",selected:""},"Select what to do",-1),Na=["value"],Ia=Dr("option",{value:"",selected:"",disabled:""},"Select attribute",-1),Da=["value"],Pa=Dr("label",{for:"variable-name",class:"ml-2 mt-2 text-sm text-gray-600"}," Assign to variable ",-1),Fa=Dr("label",{for:"select-column",class:"ml-2 mt-2 text-sm text-gray-600"}," Insert to table ",-1),Ma=Dr("option",{value:"",selected:""},"Select column [none]",-1),Oa=["value"],Ra=Dr("p",{class:"mt-4",style:{"font-size":"14px"}},[Or(" Press "),Dr("kbd",{class:"bg-box-transparent rounded-md p-1"},"Esc"),Or(" to cancel ")],-1),$a={__name:"App",setup(e){const n={x:0,y:0},o={path:[],cache:new WeakMap},r=St(null),i=St(""),s=dt({listId:"",list:!1,pathIndex:0,status:"idle",isInList:!1,listSelector:"",childSelector:"",isSelecting:!1,selectedElements:[]}),a=dt({yPos:20,dragging:!1,xPos:window.innerWidth-300}),l=dt({blocks:[],column:"",varName:"",attributes:[],activeAttr:"",activeBlock:"",workflowColumns:[]}),c={IMG:["save-assets","attribute-value"],VIDEO:["save-assets","attribute-value"],AUDIO:["save-assets","attribute-value"],default:["get-text","attribute-value"]};function u(){t().runtime.sendMessage({type:"background--recording:stop"})}function d({selector:e,elements:t,path:n}){if(n&&(o.path=n,s.pathIndex=0),function(e){if(!e)return;const t=e.tagName,n=[...c[t]||c.default];-1!==n.indexOf("attribute-value")&&(l.attributes=e.attributes),l.blocks=n}(t[0]),s.selectedElements=t,s.list){if(!s.listSelector)return s.isInList=!1,s.listSelector=e,void(s.childSelector=e);s.isInList=!0,e=e.replace(s.listSelector,"")}s.childSelector=e}function p(){const e=Boolean(l.column),t=Boolean(l.varName),n={id:l.activeBlock,data:{saveData:e,assignVariable:t,waitForSelector:!0,dataColumn:l.column,variableName:l.varName,selector:s.list?s.listSelector:s.childSelector}};if(s.list)if(s.isInList||s.listId){const e=s.isInList?s.childSelector:"";n.data.selector=`{{loopData@${s.listId}}} ${e}`}else n.data.multiple=!0;"attribute-value"===l.activeBlock&&(n.data.attributeName=l.activeAttr),wa(n).then((()=>{l.column="",l.varName="",l.activeAttr=""}))}function f(e){let t="up"===e?s.pathIndex+1:s.pathIndex-1,n=o.path[t];if(("up"!==e||n)&&"BODY"!==n?.tagName){if("down"===e&&!n){const e=o.path[s.pathIndex],r=Array.from(e.children).find((e=>!["STYLE","SCRIPT"].includes(e.tagName)));if(!r)return;n=r,o.path.unshift(r),t=0}s.pathIndex=t,s.selectedElements=[la(n)],s.childSelector=o.cache.has(n)?o.cache.get(n):sa(n)}}function m(){i.value&&(s.listId=Ds(i.value),i.value="",wa({id:"loop-data",description:s.listId,data:{loopThrough:"elements",loopId:s.listId,elementSelector:s.listSelector}}))}function g(e,t){if(e){const e=r.value.getBoundingClientRect(),o=t.clientY-e.top,i=t.clientX-e.left;n.x=i,n.y=o}else n.x=0,n.y=0;a.dragging=e}function h({key:e}){"Escape"===e&&(s.list&&s.listId&&wa({id:"loop-breakpoint",description:s.listId,data:{loopId:s.listId}}),s.listId="",s.list=!1,s.status="idle",s.listSelector="",s.childSelector="",s.parentSelector="",s.isSelecting=!1,s.selectedElements=[],document.querySelectorAll("[automa-el-list]").forEach((e=>{e.removeAttribute("automa-el-list")})),document.querySelectorAll("iframe, frame").forEach((e=>{e.contentWindow.postMessage({type:"automa:reset-element-selector"},"*")})),document.body.removeAttribute("automa-selecting"),window.removeEventListener("keyup",h))}function v(e=!1){s.list=e,s.isSelecting=!0,s.status="selecting",document.body.setAttribute("automa-selecting",""),window.addEventListener("keyup",h)}function y({clientX:e,clientY:t}){a.dragging&&(a.xPos=e-n.x,a.yPos=t-n.y)}return er((()=>s.selectedElements),(()=>{l.column="",l.varName="",l.activeBlock=""})),Nn((()=>{window.addEventListener("mousemove",y),t().storage.local.get(["recording","workflows"]).then((({recording:e,workflows:t})=>{const n=Object.values(t).find((({id:t})=>e.workflowId===t));l.workflowColumns=n?.table||[]}))})),Pn((function(){window.removeEventListener("keyup",h),window.removeEventListener("mousemove",y)})),(e,t)=>{const n=Un(jn,o="v-remixicon",!0,c)||o;var o,c;return Ar(),_r(hr,null,[Dr("div",{ref_key:"rootEl",ref:r,class:"content fixed top-0 left-0 overflow-hidden rounded-lg bg-white text-black shadow-xl",style:q([{"z-index":"99999999","font-size":"16px"},{transform:`translate(${a.xPos}px, ${a.yPos}px)`}])},[Dr("div",{class:G(["hoverable flex select-none items-center px-4 py-2 transition",[a.dragging?"cursor-grabbing":"cursor-grab"]]),onMouseup:t[0]||(t[0]=e=>g(!1,e)),onMousedown:t[1]||(t[1]=e=>g(!0,e))},[Dr("span",{class:"relative flex cursor-pointer items-center justify-center rounded-full bg-red-400",style:{height:"24px",width:"24px"},title:"Stop recording",onClick:u},[Pr(n,{name:"riRecordCircleLine",class:"relative z-10",size:"20"}),xa]),Aa,Ca,Pr(n,{name:"mdiDragHorizontal"})],34),Dr("div",ka,["idle"===s.status?(Ar(),_r(hr,{key:0},[Dr("button",{class:"bg-input w-full rounded-lg px-4 py-2 transition",onClick:t[2]||(t[2]=e=>v())}," Select element "),Dr("button",{class:"bg-input mt-2 w-full rounded-lg px-4 py-2 transition",onClick:t[3]||(t[3]=e=>v(!0))}," Select list element ")],64)):"selecting"===s.status?(Ar(),_r("div",Ea,[0===s.selectedElements.length?(Ar(),_r("p",Sa," Select an element by clicking on it ")):(Ar(),_r(hr,{key:1},[s.list&&!s.listId?(Ar(),_r(hr,{key:0},[_a,on(Dr("input",{id:"list-id","onUpdate:modelValue":t[4]||(t[4]=e=>i.value=e),placeholder:"listId",class:"bg-input w-full rounded-lg px-4 py-2",onKeyup:ls(m,["enter"])},null,544),[[os,i.value]]),Dr("button",{class:G([{"opacity-75 pointer-events-none":!i.value},"mt-2 w-full rounded-lg bg-accent px-4 py-2 text-white"]),onClick:m}," Save ",2)],64)):(Ar(),_r(hr,{key:1},[Dr("div",La,[Dr("input",{value:s.childSelector||s.parentSelector,class:"bg-input w-full rounded-lg px-4 py-2",readonly:""},null,8,Ta),s.list||s.childSelector.includes("|>")?Rr("",!0):(Ar(),_r(hr,{key:0},[Dr("button",{onClick:t[5]||(t[5]=e=>f("up"))},[Pr(n,{name:"riArrowLeftLine",rotate:"90"})]),Dr("button",{onClick:t[6]||(t[6]=e=>f("down"))},[Pr(n,{name:"riArrowLeftLine",rotate:"-90"})])],64))]),on(Dr("select",{"onUpdate:modelValue":t[7]||(t[7]=e=>l.activeBlock=e),class:"bg-input mt-2 w-full rounded-lg px-4 py-2"},[Ba,(Ar(!0),_r(hr,null,Hn(l.blocks,(e=>(Ar(),_r("option",{key:e,value:e},te(Tt(Fs)[e].name),9,Na)))),128))],512),[[rs,l.activeBlock]]),["get-text","attribute-value"].includes(l.activeBlock)?(Ar(),_r(hr,{key:0},["attribute-value"===l.activeBlock?on((Ar(),_r("select",{key:0,"onUpdate:modelValue":t[8]||(t[8]=e=>l.activeAttr=e),class:"bg-input mt-2 block w-full rounded-lg px-4 py-2"},[Ia,(Ar(!0),_r(hr,null,Hn(l.attributes,((e,t)=>(Ar(),_r("option",{key:t,value:t},te(t)+"("+te(e.slice(0,64))+") ",9,Da)))),128))],512)),[[rs,l.activeAttr]]):Rr("",!0),Pa,on(Dr("input",{id:"variable-name","onUpdate:modelValue":t[9]||(t[9]=e=>l.varName=e),placeholder:"Variable name",class:"bg-input w-full rounded-lg px-4 py-2"},null,512),[[os,l.varName]]),Fa,on(Dr("select",{id:"select-column","onUpdate:modelValue":t[10]||(t[10]=e=>l.column=e),class:"bg-input block w-full rounded-lg px-4 py-2"},[Ma,(Ar(!0),_r(hr,null,Hn(l.workflowColumns,(e=>(Ar(),_r("option",{key:e.id,value:e.id},te(e.name),9,Oa)))),128))],512),[[rs,l.column]])],64)):Rr("",!0),l.activeBlock?(Ar(),_r("button",{key:1,class:G([{"pointer-events-none opacity-75":"attribute-value"===l.activeBlock&&!l.activeAttr},"mt-4 block w-full rounded-lg bg-accent px-4 py-2 text-white"]),onClick:p}," Save ",2)):Rr("",!0)],64))],64)),Ra])):Rr("",!0)])],4),s.isSelecting?(Ar(),Lr(ba,{key:0,"selected-els":s.selectedElements,"with-attributes":"","only-in-list":"",list:s.list,pause:s.selectedElements.length>0&&s.list&&!s.listId,onSelected:d},null,8,["selected-els","list","pause"])):Rr("",!0)],64)}}},ja=$a,Va=ja,Ua={riRecordCircleLine:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm0-5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z",riArrowLeftLine:"M7.828 11H20v2H7.828l5.364 5.364-1.414 1.414L4 12l7.778-7.778 1.414 1.414z",mdiDragHorizontal:"M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z"};function qa(e,t=!0){const n=document.createElement("style");return n.textContent=e,t&&n.classList.add("automa-element-selector"),n}function Ha(){const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.setAttribute("id","automa-recording"),e.classList.add("automa-element-selector"),document.body.appendChild(e),async function(e,n=""){try{const o=await fetch(t().runtime.getURL("/elementSelector.css")),r=qa(await o.text()+n,!1);if(e.appendChild(r),!document.head.querySelector(".automa-element-selector")){const e="\n.automa-element-selector { direction: ltr } \n [automa-isDragging] { user-select: none } \n [automa-el-list] {outline: 2px dashed #6366f1;}",n=qa(`@font-face { font-family: "Inter var"; font-weight: 100 900; font-display: swap; font-style: normal; font-named-instance: "Regular"; src: url("${t().runtime.getURL("/Inter-roman-latin.var.woff2")}") format("woff2") }`+e);document.head.appendChild(n)}}catch(e){console.error(e)}}(e.shadowRoot,"\n  #app {\n    font-family: 'Inter var';\n    line-height: 1.5;\n  }\n  .content {\n    width: 250px;\n  }\n").then((()=>{const t=document.createElement("div");t.setAttribute("id","app"),e.shadowRoot.appendChild(t);const n=((...e)=>{const t=ds().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=fs(e);if(!o)return;const r=t._component;y(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,ps(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t})(Va).use(gs,Ua);return n.mount(t),n}))}let Ka=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),"");const Wa=["Control","Alt","Shift","Meta"];let za=!0;const Ga=e=>"automa-recording"===e.id||document.body.hasAttribute("automa-selecting"),Ya=e=>["INPUT","TEXTAREA"].includes(e.tagName);async function Xa(e){try{const t=await wa(e,za);if(!za||!t||!t.addedBlock){let e=null;window.frameElement&&(e=ia(window.frameElement,{root:window.frameElement.ownerDocument})),window.top.postMessage({frameSelector:e,recording:t.recording,type:"automa:record-events"},"*")}}catch(e){console.error(e)}}function Za({target:e}){if(Ga(e))return;const t="INPUT"===e.tagName,n=e.getAttribute("type");if(t&&["checkbox","radio"].includes(n))return;let o=null;const r=sa(e),i="SELECT"===e.tagName,s=e.ariaLabel||e.name;o=t&&"file"===n?{id:"upload-file",description:s,data:{selector:r,waitForSelector:!0,description:s,filePaths:[e.value]}}:i?{id:"forms",data:{selector:r,delay:100,type:"select",clearValue:!0,value:e.value,waitForSelector:!0,description:`Element Name (${s})`}}:{id:"trigger-event",data:{selector:r,eventName:"change",eventType:"event",waitForSelector:!0,eventParams:{bubbles:!0}}},Xa((e=>{const t=e.flows.at(-1);return"upload-file"===o.id&&t&&"event-click"===t.id&&e.flows.pop(),"text-field"===o.data.type&&o.data.selector===t?.data?.selector?null:(e.flows.push(o),o)}))}async function Ja(e){if(Ga(e.target)||e.repeat)return;const t=Ya(e.target),n="Enter"===e.key;let o=!1;if(t){const t=e.target.form&&"INPUT"===e.target.tagName;if(!n||!t)return;e.preventDefault(),await Xa({id:"forms",data:{delay:100,clearValue:!0,type:"text-field",waitForSelector:!0,value:e.target.value,selector:sa(e.target)}}),o=!0}!function({repeat:e,shiftKey:t,metaKey:n,altKey:o,ctrlKey:r,key:i},s){if(e||Wa.includes(i))return;let a=i.length>1||t?Ds(i,!0):i;" "===a?a="Space":"+"===a&&(a="NumpadAdd");const l=[a];t&&l.unshift("Shift"),n&&l.unshift("Meta"),o&&l.unshift("Alt"),r&&l.unshift("Control"),s&&s(l)}(e,(r=>{const i=t&&n?sa(e.target):"",s=r.join("+");Xa((t=>{const n={id:"press-key",description:`Press: ${s}`,data:{keys:s,selector:i}},r=t.flows.at(-1);return r&&"press-key"===r.id&&(r.groupId||(r.groupId=Ka()),n.groupId=r.groupId),t.flows.push(n),o&&setTimeout((()=>{e.target.form.submit()}),500),n}))}))}function Qa(e){const{target:t}=e;if(Ga(t))return;if("INPUT"===t.tagName&&"text"===t.getAttribute("type")||["SELECT","TEXTAREA"].includes(t.tagName))return;let n=!1;const o=sa(t);if("A"===t.tagName){if(e.ctrlKey||e.metaKey)return;if(n=!0,"_blank"===t.getAttribute("target")){e.preventDefault();const n=(t.innerText||t.href)?.slice(0,24)||"";return Xa({id:"link",description:n,data:{selector:o,description:n}}),void window.open(e.target.href,"_blank")}}const r=(t.innerText||t.ariaLabel||t.title)?.slice(0,24)||"";Xa({isClickLink:n,id:"event-click",description:r,data:{selector:o,description:r,waitForSelector:!0}})}const el=Ps((({data:e,source:n})=>{if("automa:record-events"!==e.type)return;let{frameSelector:o}=e;if(!o){document.querySelectorAll("iframe, frame").forEach((e=>{e.contentWindow===n&&(o=ia(e))}))}if(!o)return;const r=e.recording.flows.at(-1);if(!r)return;const i=e.recording.flows.length-1;e.recording.flows[i].data.selector=`${o} |> ${r.data.selector}`,t().storage.local.set({recording:e.recording})}),100),tl=Ps((({target:e})=>{if(Ga(e))return;const t=e===document,n=t?document.documentElement:e,o=t?"html":sa(e);Xa((e=>{const t=e.flows[e.flows.length-1],r=n.scrollTop||n.scrollY||0,i=n.scrollLeft||n.scrollX||0;if(t&&"element-scroll"===t.id)return t.data.scrollY=r,void(t.data.scrollX=i);e.flows.push({id:"element-scroll",data:{selector:o,smooth:!0,scrollY:r,scrollX:i}})}))}),500),nl=Ps((({target:e})=>{const t=e.dataset.automaElSelector;t&&Xa((n=>{const o=n.flows[n.flows.length-1];if(o&&"forms"===o.id&&o.data.selector===t)return void(o.data.value=e.value);const r=(e.ariaLabel||e.name||"").slice(0,12);n.flows.push({id:"forms",data:{selector:t,delay:100,clearValue:!0,type:"text-field",value:e.value,waitForSelector:!0,description:`Text field (${r})`}})}))}),300);function ol({target:e}){Ya(e)&&(e.setAttribute("data-automa-el-selector",sa(e)),e.addEventListener("input",nl))}function rl({target:e}){Ya(e)&&e.removeEventListener("input",nl)}function il(){za&&(window.removeEventListener("message",el),document.removeEventListener("scroll",tl,!0)),document.removeEventListener("click",Qa,!0),document.removeEventListener("change",Za,!0),document.removeEventListener("focusin",ol,!0),document.removeEventListener("keydown",Ja,!0),document.removeEventListener("focusout",rl,!0)}async function sl(e){const{isRecording:n}=await t().storage.local.get("isRecording");return za=e,n&&(za&&(window.addEventListener("message",el),document.addEventListener("scroll",tl,!0)),Ya(document.activeElement)&&ol({target:document.activeElement}),document.addEventListener("click",Qa,!0),document.addEventListener("change",Za,!0),document.addEventListener("focusin",ol,!0),document.addEventListener("keydown",Ja,!0),document.addEventListener("focusout",rl,!0)),il}var al=n(1271),ll=n.n(al);function cl(e,t,n,o=null){e=function(e){function t(){r&&(n.length>0&&/^[~+>]$/.test(n[n.length-1])&&n.push(" "),n.push(r))}var n=[];let o,r,i;const s=[0];let a,l=0;const c=/(?:[^\\]|(?:^|[^\\])(?:\\\\)+)$/,u=/^\s+$/,d=[/\s+|\/\*|["'>~+[(]/g,/\s+|\/\*|["'[\]()]/g,/\s+|\/\*|["'[\]()]/g,null,/\*\//g];for(e=e.trim();;){if(r="",i=d[s[s.length-1]],i.lastIndex=l,o=i.exec(e),!o){r=e.substr(l),t();break}if(a=l,l=i.lastIndex,a<l-o[0].length&&(r=e.substring(a,l-o[0].length)),s[s.length-1]<3){if(t(),"["===o[0])s.push(1);else if("("===o[0])s.push(2);else if(/^["']$/.test(o[0]))s.push(3),d[3]=new RegExp(o[0],"g");else if("/*"===o[0])s.push(4);else if(/^[\])]$/.test(o[0])&&s.length>0)s.pop();else if(/^(?:\s+|[~+>])$/.test(o[0])&&(n.length>0&&!u.test(n[n.length-1])&&0===s[s.length-1]&&n.push(" "),1===s[s.length-1]&&5===n.length&&"="===n[2].charAt(n[2].length-1)&&(n[4]=` ${n[4]}`),u.test(o[0])))continue;n.push(o[0])}else n[n.length-1]+=r,c.test(n[n.length-1])&&(4===s[s.length-1]&&(n.length<2||u.test(n[n.length-2])?n.pop():n[n.length-1]=" ",o[0]=""),s.pop()),n[n.length-1]+=o[0]}return n.join("").trim()}(e);const r=n.querySelector(e);if(document.head.createShadowRoot||document.head.attachShadow){if(!t&&r)return r;return ul(e,",").reduce(((e,r)=>{if(!t&&e)return e;const i=ul(r.replace(/^\s+/g,"").replace(/\s*([>+~]+)\s*/g,"$1")," ").filter((e=>!!e)).map((e=>ul(e,">"))),s=i.length-1,a=function(e=null,t,n=null){let o=[];if(n)o=n;else{const e=function(t){for(let n=0;n<t.length;n++){const r=t[n];o.push(r);const i=fl(r);i&&e(i.querySelectorAll("*"))}},n=fl(t);n&&e(n.querySelectorAll("*")),e(t.querySelectorAll("*"))}return e?o.filter((t=>t.matches(e))):o}(i[s][i[s].length-1],n,o),l=function(e,t,n){return o=>{let r=t,i=o,s=!1;for(;i&&!dl(i);){let t=!0;if(1===e[r].length)t=i.matches(e[r]);else{const o=[].concat(e[r]).reverse();let s=i;for(const e of o){if(!s||!s.matches(e)){t=!1;break}s=pl(s,n)}}if(t&&0===r){s=!0;break}t&&r--,i=pl(i,n)}return s}}(i,s,n);return t?e=e.concat(a.filter(l)):(e=a.find(l))||null}),t?[]:null)}return t?n.querySelectorAll(e):r}function ul(e,t){return e.match(/\\?.|^$/g).reduce(((e,n)=>('"'!==n||e.sQuote?"'"!==n||e.quote?e.quote||e.sQuote||n!==t?e.a[e.a.length-1]+=n:e.a.push(""):(e.sQuote^=1,e.a[e.a.length-1]+=n):(e.quote^=1,e.a[e.a.length-1]+=n),e)),{a:[""]}).a}function dl(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE||e.nodeType===Node.DOCUMENT_NODE}function pl(e,t){const{parentNode:n}=e;return n&&n.host&&11===n.nodeType?n.host:n===t?null:n}const fl=e=>e===document?e:chrome.dom.openOrClosedShadowRoot(e);ll().selectors.pseudos.equal=ll().selectors.createPseudo((function(e){return function(t){return(t.textContent||t.innerText||"").trim()===e}}));const ml=new RegExp([":contains",":header",":parent",":equal"].join("|"));const gl=class{static cssSelector(e,t=document){const n=e.markEl?`${e.selector.trim()}:not([${e.blockIdAttr}])`:e.selector;if(ml.test(n)){const o=ll()(n,t);return o?e.multiple?o:o[0]:null}if(n.includes(">>")){const t=n.replaceAll(">>","");return e.multiple?function(e,t=document,n=null){return cl(e,!0,t,n)}(t):function(e,t=document,n=null){return cl(e,!1,t,n)}(t)}if(e.multiple){const e=t.querySelectorAll(n);return 0===e.length?null:e}return t.querySelector(n)}static xpath(e,t=document){const n=e.multiple?XPathResult.ORDERED_NODE_ITERATOR_TYPE:XPathResult.FIRST_ORDERED_NODE_TYPE;let o=null;const r=t.evaluate(e.selector,t,null,n,null);if(e.multiple){o=[];let e=r.iterateNext();for(;e;)o.push(e),e=r.iterateNext()}else o=r.singleNodeValue;return o}};let hl=[],vl=null;function yl(e,t){const n=la(e,t.withAttributes&&t.click);return n.y+=t.top,n.x+=t.left,n}function bl({data:e}){switch(e.type){case"automa:get-element-rect":!function(e){const[t]=document.elementsFromPoint(e.clientX-e.left,e.clientY-e.top);if(!(t&&t!==vl||e.click))return;const n={elements:[],type:"automa:iframe-element-rect"};if(e.click){if(0===hl.length)return;n.click=!0;const[t]=hl,o=fa({hoveredElements:hl,list:e.list,target:t,selectorType:e.selectorType,selectorSettings:aa(e.selectorSettings||{})});n.selector=o,n.elements=hl.map((t=>yl(t,e)))}else{vl=t;let o=[];if(e.list){const n=pa(t,{onlyInList:e.onlyInList})||[];hl=n,o=n.map((t=>yl(t,e)))}else hl=[t],o=[yl(t,e)];n.elements=o}window.top.postMessage(n,"*")}(e);break;case"automa:reset-element-selector":!function(e){document.querySelectorAll("[automa-el-list]").forEach((e=>{e.removeAttribute("automa-el-list")})),e.clearCache&&(hl=[],vl=null)}(e);break;case"automa:find-element":!function({selector:e,selectorType:t,frameRect:n}){const o={elements:[],type:"automa:selected-elements"};try{const r=gl[t]({multiple:!0,selector:e});o.elements=Array.from(r||[]).map((e=>yl(e,{withAttributes:!0,click:!0,...n})))}catch(e){console.error(e),o.elements=[]}window.top.postMessage(o,"*")}(e)}}(async()=>{try{let e=null;const n=window.self===window.top,o=await sl(n);if(n){if(document.querySelector("#automa-recording"))return;e=await Ha()}else{const e=document.createElement("style");e.textContent="[automa-el-list] {outline: 2px dashed #6366f1;}",document.body.appendChild(e),window.addEventListener("message",bl)}t().runtime.onMessage.addListener((function n({type:r}){"recording:stop"===r&&(e&&e.unmount(),o(),t().runtime.onMessage.removeListener(n))}))}catch(e){console.error(e)}})()})()})();