Greasy Fork is available in English.

iciba划词翻译

小巧简洁实用的划词翻译。选择单词或段落进行查词或翻译,或手动输入文本查词翻译。支持iciba,google字典,google翻译,百度翻译等多个查词翻译接口

目前为 2020-09-27 提交的版本。查看 最新版本

// ==UserScript==
// @name               iciba划词翻译
// @namespace          noe132.com
// @author             noe132
// @include            http://*
// @include            https://*
// @include            file://*
// @exclude            http://www.iciba.com*
// @grant              GM_xmlhttpRequest
// @grant              GM_getValue
// @grant              GM_setValue
// @grant              GM_registerMenuCommand
// @grant              GM.xmlHttpRequest
// @grant              GM.getValue
// @grant              GM.setValue
// @grant              unsafeWindow
// @icon               http://tb.himg.baidu.com/sys/portrait/item/d4346e6f65313332ac06
// @version            4.9.1
// @supportURL         https://github.com/Firefox-Pro-Coding/iciba-translate-userscript
// @description        小巧简洁实用的划词翻译。选择单词或段落进行查词或翻译,或手动输入文本查词翻译。支持iciba,google字典,google翻译,百度翻译等多个查词翻译接口
// ==/UserScript==

// this file was compiled by webpack.

// corejs@3 polyfill bug in tampermonkey env
if (!window.Symbol) {
  window.Symbol = unsafeWindow.Symbol
}

if (typeof GM !== 'undefined' || typeof GM_setValue !== 'undefined') {
(()=>{var e={6419:(e,t,n)=>{e.exports=n(7698)},1511:(e,t,n)=>{e.exports=n(3363)},1128:(e,t,n)=>{e.exports=n(7784)},7766:(e,t,n)=>{e.exports=n(8065)},62:(e,t,n)=>{e.exports=n(9455)},4494:(e,t,n)=>{e.exports=n(9743)},116:(e,t,n)=>{e.exports=n(1955)},4473:(e,t,n)=>{e.exports=n(1577)},426:(e,t,n)=>{e.exports=n(9020)},8914:(e,t,n)=>{e.exports=n(6279)},8580:(e,t,n)=>{e.exports=n(3778)},1643:(e,t,n)=>{e.exports=n(9373)},9301:(e,t,n)=>{e.exports=n(3819)},2991:(e,t,n)=>{e.exports=n(1798)},2366:(e,t,n)=>{e.exports=n(2527)},9291:(e,t,n)=>{e.exports=n(6857)},3649:(e,t,n)=>{e.exports=n(2073)},7149:(e,t,n)=>{e.exports=n(5286)},2762:(e,t,n)=>{e.exports=n(2348)},5843:(e,t,n)=>{e.exports=n(6361)},9340:(e,t,n)=>{e.exports=n(8933)},9392:(e,t,n)=>{e.exports=n(5868)},1942:(e,t,n)=>{e.exports=n(3383)},368:(e,t,n)=>{e.exports=n(7396)},3978:(e,t,n)=>{e.exports=n(1910)},6295:(e,t,n)=>{e.exports=n(6209)},1306:(e,t,n)=>{e.exports=n(3402)},4074:(e,t,n)=>{e.exports=n(9427)},9649:(e,t,n)=>{e.exports=n(2857)},8604:(e,t,n)=>{e.exports=n(4477)},4310:(e,t,n)=>{e.exports=n(9534)},6902:(e,t,n)=>{e.exports=n(3059)},455:(e,t,n)=>{e.exports=n(7795)},4198:(e,t,n)=>{e.exports=n(4888)},3476:(e,t,n)=>{e.exports=n(7460)},3032:(e,t,n)=>{e.exports=n(7989)},6384:(e,t,n)=>{e.exports=n(5519)},5683:(e,t,n)=>{e.exports=n(9447)},4341:(e,t,n)=>{e.exports=n(3685)},3263:(e,t,n)=>{e.exports=n(4710)},9356:(e,t,n)=>{e.exports=n(3799)},8322:()=>{"use strict";Array.prototype.toJSON&&delete Array.prototype.toJSON},1331:(e,t,n)=>{var o=n(5739);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("5c4684f0",o,!0)},8705:(e,t,n)=>{var o=n(9928);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("8178d15c",o,!0)},715:(e,t,n)=>{var o=n(9375);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("1cb6e0d7",o,!0)},8743:(e,t,n)=>{var o=n(7070);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("ab0f2844",o,!0)},3607:(e,t,n)=>{var o=n(5871);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("23174cac",o,!0)},2826:(e,t,n)=>{var o=n(367);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("150fc469",o,!0)},2011:(e,t,n)=>{var o=n(5563);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("50e6cfa0",o,!0)},8553:(e,t,n)=>{var o=n(6559);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("f56c0a24",o,!0)},8184:(e,t,n)=>{var o=n(8471);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("0e844a42",o,!0)},1157:(e,t,n)=>{var o=n(7833);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("fcac37ca",o,!0)},8083:(e,t,n)=>{var o=n(5766);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("2112adf5",o,!0)},8587:(e,t,n)=>{var o=n(8997);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("ecac4060",o,!0)},2535:(e,t,n)=>{var o=n(8217);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("417cadbe",o,!0)},3064:(e,t,n)=>{var o=n(4901);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("588623f0",o,!0)},1540:(e,t,n)=>{var o=n(1392);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("e89ec8a0",o,!0)},9755:(e,t,n)=>{var o=n(7418);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("1b3ee64c",o,!0)},9193:(e,t,n)=>{var o=n(3494);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("4634288c",o,!0)},678:(e,t,n)=>{var o=n(6672);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("1520b9f2",o,!0)},5423:(e,t,n)=>{var o=n(9863);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("06c1ad68",o,!0)},6780:(e,t,n)=>{var o=n(1680);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("55ece907",o,!0)},6880:(e,t,n)=>{var o=n(2752);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("14590f1a",o,!0)},431:(e,t,n)=>{var o=n(3376);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("fc2461d6",o,!0)},3664:(e,t,n)=>{var o=n(4181);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("2336bba8",o,!0)},3132:(e,t,n)=>{var o=n(5849);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("c51921e2",o,!0)},3018:(e,t,n)=>{var o=n(6599);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("e422eb66",o,!0)},593:(e,t,n)=>{var o=n(253);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("0bf4168a",o,!0)},3719:(e,t,n)=>{var o=n(6883);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("ae6fbd3a",o,!0)},555:(e,t,n)=>{var o=n(278);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("4deee03c",o,!0)},9731:(e,t,n)=>{var o=n(7613);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("7577cea0",o,!0)},6495:(e,t,n)=>{var o=n(2824);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("72a5f034",o,!0)},2380:(e,t,n)=>{var o=n(2230);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("fc3d61d4",o,!0)},7763:(e,t,n)=>{var o=n(7413);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("8dc54386",o,!0)},1658:(e,t,n)=>{var o=n(4501);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("1a3f3a81",o,!0)},2581:(e,t,n)=>{var o=n(3780);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("7ec9c0ee",o,!0)},8525:(e,t,n)=>{var o=n(7512);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(8127).Z)("4f5705ee",o,!0)},4493:(e,t,n)=>{n(7971),n(3242);var o=n(4058);e.exports=o.Array.from},4034:(e,t,n)=>{n(2737);var o=n(4058);e.exports=o.Array.isArray},5367:(e,t,n)=>{n(5906);var o=n(5703);e.exports=o("Array").concat},1459:(e,t,n)=>{n(8851);var o=n(5703);e.exports=o("Array").every},6172:(e,t,n)=>{n(290);var o=n(5703);e.exports=o("Array").fill},2383:(e,t,n)=>{n(1501);var o=n(5703);e.exports=o("Array").filter},7671:(e,t,n)=>{n(833);var o=n(5703);e.exports=o("Array").find},6948:(e,t,n)=>{n(2065),n(6986);var o=n(5703);e.exports=o("Array").flatMap},9324:(e,t,n)=>{n(2437);var o=n(5703);e.exports=o("Array").forEach},991:(e,t,n)=>{n(7690);var o=n(5703);e.exports=o("Array").includes},8700:(e,t,n)=>{n(9076);var o=n(5703);e.exports=o("Array").indexOf},5909:(e,t,n)=>{n(6274);var o=n(5703);e.exports=o("Array").keys},3866:(e,t,n)=>{n(8787);var o=n(5703);e.exports=o("Array").map},2999:(e,t,n)=>{n(1876);var o=n(5703);e.exports=o("Array").reduce},4900:(e,t,n)=>{n(186);var o=n(5703);e.exports=o("Array").slice},3824:(e,t,n)=>{n(6026);var o=n(5703);e.exports=o("Array").some},8209:(e,t,n)=>{n(8611);var o=n(5703);e.exports=o("Array").splice},1103:(e,t,n)=>{n(5160);var o=n(4058);e.exports=o.Date.now},6043:(e,t,n)=>{var o=n(5367),r=Array.prototype;e.exports=function(e){var t=e.concat;return e===r||e instanceof Array&&t===r.concat?o:t}},3160:(e,t,n)=>{var o=n(1459),r=Array.prototype;e.exports=function(e){var t=e.every;return e===r||e instanceof Array&&t===r.every?o:t}},446:(e,t,n)=>{var o=n(6172),r=Array.prototype;e.exports=function(e){var t=e.fill;return e===r||e instanceof Array&&t===r.fill?o:t}},2480:(e,t,n)=>{var o=n(2383),r=Array.prototype;e.exports=function(e){var t=e.filter;return e===r||e instanceof Array&&t===r.filter?o:t}},2236:(e,t,n)=>{var o=n(7671),r=Array.prototype;e.exports=function(e){var t=e.find;return e===r||e instanceof Array&&t===r.find?o:t}},1968:(e,t,n)=>{var o=n(6948),r=Array.prototype;e.exports=function(e){var t=e.flatMap;return e===r||e instanceof Array&&t===r.flatMap?o:t}},8557:(e,t,n)=>{var o=n(991),r=n(1631),a=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===a||e instanceof Array&&t===a.includes?o:"string"==typeof e||e===i||e instanceof String&&t===i.includes?r:t}},4570:(e,t,n)=>{var o=n(8700),r=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===r||e instanceof Array&&t===r.indexOf?o:t}},8287:(e,t,n)=>{var o=n(3866),r=Array.prototype;e.exports=function(e){var t=e.map;return e===r||e instanceof Array&&t===r.map?o:t}},8025:(e,t,n)=>{var o=n(2999),r=Array.prototype;e.exports=function(e){var t=e.reduce;return e===r||e instanceof Array&&t===r.reduce?o:t}},9257:(e,t,n)=>{var o=n(454),r=String.prototype;e.exports=function(e){var t=e.repeat;return"string"==typeof e||e===r||e instanceof String&&t===r.repeat?o:t}},9601:(e,t,n)=>{var o=n(4900),r=Array.prototype;e.exports=function(e){var t=e.slice;return e===r||e instanceof Array&&t===r.slice?o:t}},8299:(e,t,n)=>{var o=n(3824),r=Array.prototype;e.exports=function(e){var t=e.some;return e===r||e instanceof Array&&t===r.some?o:t}},8339:(e,t,n)=>{var o=n(8209),r=Array.prototype;e.exports=function(e){var t=e.splice;return e===r||e instanceof Array&&t===r.splice?o:t}},2774:(e,t,n)=>{var o=n(3348),r=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===r||e instanceof String&&t===r.trim?o:t}},4426:(e,t,n)=>{n(2619);var o=n(4058);o.JSON||(o.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return o.JSON.stringify.apply(null,arguments)}},1018:(e,t,n)=>{n(7501),n(5967),n(7971),n(7634);var o=n(4058);e.exports=o.Map},5999:(e,t,n)=>{n(9221);var o=n(4058);e.exports=o.Object.assign},7702:(e,t,n)=>{n(4979);var o=n(4058).Object,r=e.exports=function(e,t){return o.defineProperties(e,t)};o.defineProperties.sham&&(r.sham=!0)},8171:(e,t,n)=>{n(6450);var o=n(4058).Object,r=e.exports=function(e,t,n){return o.defineProperty(e,t,n)};o.defineProperty.sham&&(r.sham=!0)},3081:(e,t,n)=>{n(1078);var o=n(4058);e.exports=o.Object.entries},7699:(e,t,n)=>{n(6274),n(8387);var o=n(4058);e.exports=o.Object.fromEntries},286:(e,t,n)=>{n(6924);var o=n(4058).Object,r=e.exports=function(e,t){return o.getOwnPropertyDescriptor(e,t)};o.getOwnPropertyDescriptor.sham&&(r.sham=!0)},2766:(e,t,n)=>{n(8482);var o=n(4058);e.exports=o.Object.getOwnPropertyDescriptors},3288:(e,t,n)=>{n(9816);var o=n(4058).Object;e.exports=function(e){return o.getOwnPropertyNames(e)}},498:(e,t,n)=>{n(5824);var o=n(4058);e.exports=o.Object.getOwnPropertySymbols},8494:(e,t,n)=>{n(1724);var o=n(4058);e.exports=o.Object.keys},8430:(e,t,n)=>{n(6614);var o=n(4058);e.exports=o.Object.values},8524:(e,t,n)=>{n(4038);var o=n(4058);e.exports=o.parseInt},2956:(e,t,n)=>{n(5967),n(7971),n(7634),n(8881),n(4560),n(4349);var o=n(4058);e.exports=o.Promise},6998:(e,t,n)=>{n(9008),n(5967),n(7971),n(7634);var o=n(4058);e.exports=o.Set},1631:(e,t,n)=>{n(1035);var o=n(5703);e.exports=o("String").includes},454:(e,t,n)=>{n(986);var o=n(5703);e.exports=o("String").repeat},3348:(e,t,n)=>{n(7398);var o=n(5703);e.exports=o("String").trim},9447:(e,t,n)=>{var o=n(4570);e.exports=o},3685:(e,t,n)=>{var o=n(8171);e.exports=o},4710:(e,t,n)=>{var o=n(498);e.exports=o},3799:(e,t,n)=>{var o=n(8494);e.exports=o},3916:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},1851:(e,t,n)=>{var o=n(941);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},8479:e=>{e.exports=function(){}},5743:e=>{e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},6059:(e,t,n)=>{var o=n(941);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},1860:(e,t,n)=>{"use strict";var o=n(9678),r=n(9413),a=n(3057);e.exports=function(e){for(var t=o(this),n=a(t.length),i=arguments.length,s=r(i>1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);c>s;)t[s++]=e;return t}},6837:(e,t,n)=>{"use strict";var o=n(3610).forEach,r=n(4194),a=n(5486),i=r("forEach"),s=a("forEach");e.exports=i&&s?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},1354:(e,t,n)=>{"use strict";var o=n(6843),r=n(9678),a=n(5196),i=n(6782),s=n(3057),l=n(5449),c=n(2902);e.exports=function(e){var t,n,u,d,p,f,v=r(e),g="function"==typeof this?this:Array,m=arguments.length,h=m>1?arguments[1]:void 0,b=void 0!==h,y=c(v),x=0;if(b&&(h=o(h,m>2?arguments[2]:void 0,2)),null==y||g==Array&&i(y))for(n=new g(t=s(v.length));t>x;x++)f=b?h(v[x],x):v[x],l(n,x,f);else for(p=(d=y.call(v)).next,n=new g;!(u=p.call(d)).done;x++)f=b?a(d,h,[u.value,x],!0):u.value,l(n,x,f);return n.length=x,n}},1692:(e,t,n)=>{var o=n(4529),r=n(3057),a=n(9413),i=function(e){return function(t,n,i){var s,l=o(t),c=r(l.length),u=a(i,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3610:(e,t,n)=>{var o=n(6843),r=n(7026),a=n(9678),i=n(3057),s=n(4692),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d;return function(f,v,g,m){for(var h,b,y=a(f),x=r(y),w=o(v,g,3),_=i(x.length),k=0,S=m||s,T=t?S(f,_):n?S(f,0):void 0;_>k;k++)if((p||k in x)&&(b=w(h=x[k],k,y),e))if(t)T[k]=b;else if(b)switch(e){case 3:return!0;case 5:return h;case 6:return k;case 2:l.call(T,h)}else if(u)return!1;return d?-1:c||u?u:T}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},568:(e,t,n)=>{var o=n(5981),r=n(9813),a=n(3385),i=r("species");e.exports=function(e){return a>=51||!o((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4194:(e,t,n)=>{"use strict";var o=n(5981);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},5486:(e,t,n)=>{var o=n(5746),r=n(5981),a=n(7457),i=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(a(s,e))return s[e];t||(t={});var n=[][e],c=!!a(t,"ACCESSORS")&&t.ACCESSORS,u=a(t,0)?t[0]:l,d=a(t,1)?t[1]:void 0;return s[e]=!!n&&!r((function(){if(c&&!o)return!0;var e={length:-1};c?i(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,d)}))}},6499:(e,t,n)=>{var o=n(3916),r=n(9678),a=n(7026),i=n(3057),s=function(e){return function(t,n,s,l){o(n);var c=r(t),u=a(c),d=i(c.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){l=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(l=n(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!0)}},4692:(e,t,n)=>{var o=n(941),r=n(1052),a=n(9813)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},5196:(e,t,n)=>{var o=n(6059);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&o(a.call(e)),t}}},1385:(e,t,n)=>{var o=n(9813)("iterator"),r=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){r=!0}};i[o]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a={};a[o]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},2532:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},9697:(e,t,n)=>{var o=n(2885),r=n(2532),a=n(9813)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},5616:(e,t,n)=>{"use strict";var o=n(5988).f,r=n(9290),a=n(7524),i=n(6843),s=n(5743),l=n(3091),c=n(7771),u=n(4431),d=n(5746),p=n(1647).fastKey,f=n(5402),v=f.set,g=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,o){s(e,u,t),v(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=o&&l(o,e[c],e,n)})),f=g(t),m=function(e,t,n){var o,r,a=f(e),i=h(e,t);return i?i.value=n:(a.last=i={index:r=p(t,!0),key:t,value:n,previous:o=a.last,next:void 0,removed:!1},a.first||(a.first=i),o&&(o.next=i),d?a.size++:e.size++,"F"!==r&&(a.index[r]=i)),e},h=function(e,t){var n,o=f(e),r=p(t);if("F"!==r)return o.index[r];for(n=o.first;n;n=n.next)if(n.key==t)return n};return a(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,n=f(t),o=h(t,e);if(o){var r=o.next,a=o.previous;delete n.index[o.index],o.removed=!0,a&&(a.next=r),r&&(r.previous=a),n.first==o&&(n.first=r),n.last==o&&(n.last=a),d?n.size--:t.size--}return!!o},forEach:function(e){for(var t,n=f(this),o=i(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!h(this,e)}}),a(u.prototype,n?{get:function(e){var t=h(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),d&&o(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=g(t),a=g(o);c(e,t,(function(e,t){v(this,{type:o,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},4683:(e,t,n)=>{"use strict";var o=n(6887),r=n(1899),a=n(1647),i=n(5981),s=n(2029),l=n(3091),c=n(5743),u=n(941),d=n(904),p=n(5988).f,f=n(3610).forEach,v=n(5746),g=n(5402),m=g.set,h=g.getterFor;e.exports=function(e,t,n){var g,b=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),x=b?"set":"add",w=r[e],_=w&&w.prototype,k={};if(v&&"function"==typeof w&&(y||_.forEach&&!i((function(){(new w).entries().next()})))){g=t((function(t,n){m(c(t,g,e),{type:e,collection:new w}),null!=n&&l(n,t[x],t,b)}));var S=h(e);f(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in _)||y&&"clear"==e||s(g.prototype,e,(function(n,o){var r=S(this).collection;if(!t&&y&&!u(n))return"get"==e&&void 0;var a=r[e](0===n?0:n,o);return t?this:a}))})),y||p(g.prototype,"size",{configurable:!0,get:function(){return S(this).collection.size}})}else g=n.getConstructor(t,e,b,x),a.REQUIRED=!0;return d(g,e,!1,!0),k[e]=g,o({global:!0,forced:!0},k),y||n.setStrong(g,e,b),g}},7772:(e,t,n)=>{var o=n(9813)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},4160:(e,t,n)=>{var o=n(5981);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},1046:(e,t,n)=>{"use strict";var o=n(5143).IteratorPrototype,r=n(9290),a=n(1887),i=n(904),s=n(2077),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=r(o,{next:a(1,n)}),i(e,c,!1,!0),s[c]=l,e}},2029:(e,t,n)=>{var o=n(5746),r=n(5988),a=n(1887);e.exports=o?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},1887:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5449:(e,t,n)=>{"use strict";var o=n(6935),r=n(5988),a=n(1887);e.exports=function(e,t,n){var i=o(t);i in e?r.f(e,i,a(0,n)):e[i]=n}},7771:(e,t,n)=>{"use strict";var o=n(6887),r=n(1046),a=n(249),i=n(8929),s=n(904),l=n(2029),c=n(9754),u=n(9813),d=n(2529),p=n(2077),f=n(5143),v=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=u("iterator"),h="keys",b="values",y="entries",x=function(){return this};e.exports=function(e,t,n,u,f,w,_){r(n,t,u);var k,S,T,O=function(e){if(e===f&&I)return I;if(!g&&e in E)return E[e];switch(e){case h:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",A=!1,E=e.prototype,L=E[m]||E["@@iterator"]||f&&E[f],I=!g&&L||O(f),M="Array"==t&&E.entries||L;if(M&&(k=a(M.call(new e)),v!==Object.prototype&&k.next&&(d||a(k)===v||(i?i(k,v):"function"!=typeof k[m]&&l(k,m,x)),s(k,C,!0,!0),d&&(p[C]=x))),f==b&&L&&L.name!==b&&(A=!0,I=function(){return L.call(this)}),d&&!_||E[m]===I||l(E,m,I),p[t]=I,f)if(S={values:O(b),keys:w?I:O(h),entries:O(y)},_)for(T in S)(g||A||!(T in E))&&c(E,T,S[T]);else o({target:t,proto:!0,forced:g||A},S);return S}},6349:(e,t,n)=>{var o=n(4058),r=n(7457),a=n(1477),i=n(5988).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||i(t,e,{value:a.f(e)})}},5746:(e,t,n)=>{var o=n(5981);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1333:(e,t,n)=>{var o=n(1899),r=n(941),a=o.document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},3281:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2749:(e,t,n)=>{var o=n(2861);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},2861:(e,t,n)=>{var o=n(626);e.exports=o("navigator","userAgent")||""},3385:(e,t,n)=>{var o,r,a=n(1899),i=n(2861),s=a.process,l=s&&s.versions,c=l&&l.v8;c?r=(o=c.split("."))[0]+o[1]:i&&(!(o=i.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=i.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},5703:(e,t,n)=>{var o=n(4058);e.exports=function(e){return o[e+"Prototype"]}},6759:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6887:(e,t,n)=>{"use strict";var o=n(1899),r=n(9677).f,a=n(7252),i=n(4058),s=n(6843),l=n(2029),c=n(7457),u=function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,d,p,f,v,g,m,h,b=e.target,y=e.global,x=e.stat,w=e.proto,_=y?o:x?o[b]:(o[b]||{}).prototype,k=y?i:i[b]||(i[b]={}),S=k.prototype;for(p in t)n=!a(y?p:b+(x?".":"#")+p,e.forced)&&_&&c(_,p),v=k[p],n&&(g=e.noTargetGet?(h=r(_,p))&&h.value:_[p]),f=n&&g?g:t[p],n&&typeof v==typeof f||(m=e.bind&&n?s(f,o):e.wrap&&n?u(f):w&&"function"==typeof f?s(Function.call,f):f,(e.sham||f&&f.sham||v&&v.sham)&&l(m,"sham",!0),k[p]=m,w&&(c(i,d=b+"Prototype")||l(i,d,{}),i[d][p]=f,e.real&&S&&!S[p]&&l(S,p,f)))}},5981:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},3092:(e,t,n)=>{"use strict";var o=n(1052),r=n(3057),a=n(6843),i=function(e,t,n,s,l,c,u,d){for(var p,f=l,v=0,g=!!u&&a(u,d,3);v<s;){if(v in n){if(p=g?g(n[v],v,t):n[v],c>0&&o(p))f=i(e,t,p,r(p.length),f,c-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[f]=p}f++}v++}return f};e.exports=i},5602:(e,t,n)=>{var o=n(5981);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},6843:(e,t,n)=>{var o=n(3916);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},626:(e,t,n)=>{var o=n(4058),r=n(1899),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(o[e])||a(r[e]):o[e]&&o[e][t]||r[e]&&r[e][t]}},2902:(e,t,n)=>{var o=n(9697),r=n(2077),a=n(9813)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||r[o(e)]}},1899:(e,t,n)=>{var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||Function("return this")()},7457:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},7748:e=>{e.exports={}},4845:(e,t,n)=>{var o=n(1899);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},5463:(e,t,n)=>{var o=n(626);e.exports=o("document","documentElement")},2840:(e,t,n)=>{var o=n(5746),r=n(5981),a=n(1333);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},7026:(e,t,n)=>{var o=n(5981),r=n(2532),a="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},1302:(e,t,n)=>{var o=n(3030),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},1647:(e,t,n)=>{var o=n(7748),r=n(941),a=n(7457),i=n(5988).f,s=n(9418),l=n(5602),c=s("meta"),u=0,d=Object.isExtensible||function(){return!0},p=function(e){i(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,c)){if(!d(e))return"F";if(!t)return"E";p(e)}return e[c].objectID},getWeakData:function(e,t){if(!a(e,c)){if(!d(e))return!0;if(!t)return!1;p(e)}return e[c].weakData},onFreeze:function(e){return l&&f.REQUIRED&&d(e)&&!a(e,c)&&p(e),e}};o[c]=!0},5402:(e,t,n)=>{var o,r,a,i=n(8019),s=n(1899),l=n(941),c=n(2029),u=n(7457),d=n(4262),p=n(7748),f=s.WeakMap;if(i){var v=new f,g=v.get,m=v.has,h=v.set;o=function(e,t){return h.call(v,e,t),t},r=function(e){return g.call(v,e)||{}},a=function(e){return m.call(v,e)}}else{var b=d("state");p[b]=!0,o=function(e,t){return c(e,b,t),t},r=function(e){return u(e,b)?e[b]:{}},a=function(e){return u(e,b)}}e.exports={set:o,get:r,has:a,enforce:function(e){return a(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},6782:(e,t,n)=>{var o=n(9813),r=n(2077),a=o("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},1052:(e,t,n)=>{var o=n(2532);e.exports=Array.isArray||function(e){return"Array"==o(e)}},7252:(e,t,n)=>{var o=n(5981),r=/#|\.prototype\./,a=function(e,t){var n=s[i(e)];return n==c||n!=l&&("function"==typeof t?o(t):!!t)},i=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},941:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},2529:e=>{e.exports=!0},685:(e,t,n)=>{var o=n(941),r=n(2532),a=n(9813)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},3091:(e,t,n)=>{var o=n(6059),r=n(6782),a=n(3057),i=n(6843),s=n(2902),l=n(5196),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,d){var p,f,v,g,m,h,b,y=i(t,n,u?2:1);if(d)p=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(r(f)){for(v=0,g=a(e.length);g>v;v++)if((m=u?y(o(b=e[v])[0],b[1]):y(e[v]))&&m instanceof c)return m;return new c(!1)}p=f.call(e)}for(h=p.next;!(b=h.call(p)).done;)if("object"==typeof(m=l(p,y,b.value,u))&&m&&m instanceof c)return m;return new c(!1)}).stop=function(e){return new c(!0,e)}},5143:(e,t,n)=>{"use strict";var o,r,a,i=n(249),s=n(2029),l=n(7457),c=n(9813),u=n(2529),d=c("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(r=i(i(a)))!==Object.prototype&&(o=r):p=!0),null==o&&(o={}),u||l(o,d)||s(o,d,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:p}},2077:e=>{e.exports={}},6132:(e,t,n)=>{var o,r,a,i,s,l,c,u,d=n(1899),p=n(9677).f,f=n(2532),v=n(2941).set,g=n(2749),m=d.MutationObserver||d.WebKitMutationObserver,h=d.process,b=d.Promise,y="process"==f(h),x=p(d,"queueMicrotask"),w=x&&x.value;w||(o=function(){var e,t;for(y&&(e=h.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(e){throw r?i():a=void 0,e}}a=void 0,e&&e.enter()},y?i=function(){h.nextTick(o)}:m&&!g?(s=!0,l=document.createTextNode(""),new m(o).observe(l,{characterData:!0}),i=function(){l.data=s=!s}):b&&b.resolve?(c=b.resolve(void 0),u=c.then,i=function(){u.call(c,o)}):i=function(){v.call(d,o)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),r||(r=t,i()),a=t}},9297:(e,t,n)=>{var o=n(1899);e.exports=o.Promise},2497:(e,t,n)=>{var o=n(5981);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},8019:(e,t,n)=>{var o=n(1899),r=n(1302),a=o.WeakMap;e.exports="function"==typeof a&&/native code/.test(r(a))},9520:(e,t,n)=>{"use strict";var o=n(3916),r=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},344:(e,t,n)=>{var o=n(685);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},9806:(e,t,n)=>{var o=n(1899),r=n(4853).trim,a=n(3483),i=o.parseInt,s=/^[+-]?0[Xx]/,l=8!==i(a+"08")||22!==i(a+"0x16");e.exports=l?function(e,t){var n=r(String(e));return i(n,t>>>0||(s.test(n)?16:10))}:i},4420:(e,t,n)=>{"use strict";var o=n(5746),r=n(5981),a=n(4771),i=n(7857),s=n(6760),l=n(9678),c=n(7026),u=Object.assign,d=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||a(u({},t)).join("")!=r}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,d=i.f,p=s.f;r>u;)for(var f,v=c(arguments[u++]),g=d?a(v).concat(d(v)):a(v),m=g.length,h=0;m>h;)f=g[h++],o&&!p.call(v,f)||(n[f]=v[f]);return n}:u},9290:(e,t,n)=>{var o,r=n(6059),a=n(9938),i=n(6759),s=n(7748),l=n(5463),c=n(1333),u=n(4262),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"</"+"script>"},v=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;v=o?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete v.prototype[i[n]];return v()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=r(e),n=new p,p.prototype=null,n[d]=e):n=v(),void 0===t?n:a(n,t)}},9938:(e,t,n)=>{var o=n(5746),r=n(5988),a=n(6059),i=n(4771);e.exports=o?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},5988:(e,t,n)=>{var o=n(5746),r=n(2840),a=n(6059),i=n(6935),s=Object.defineProperty;t.f=o?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},9677:(e,t,n)=>{var o=n(5746),r=n(6760),a=n(1887),i=n(4529),s=n(6935),l=n(7457),c=n(2840),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=i(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return a(!r.f.call(e,t),e[t])}},684:(e,t,n)=>{var o=n(4529),r=n(946).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return r(e)}catch(e){return i.slice()}}(e):r(o(e))}},946:(e,t,n)=>{var o=n(5629),r=n(6759).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},7857:(e,t)=>{t.f=Object.getOwnPropertySymbols},249:(e,t,n)=>{var o=n(7457),r=n(9678),a=n(4262),i=n(4160),s=a("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=r(e),o(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},5629:(e,t,n)=>{var o=n(7457),r=n(4529),a=n(1692).indexOf,i=n(7748);e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)!o(i,n)&&o(s,n)&&c.push(n);for(;t.length>l;)o(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},4771:(e,t,n)=>{var o=n(5629),r=n(6759);e.exports=Object.keys||function(e){return o(e,r)}},6760:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!n.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},8929:(e,t,n)=>{var o=n(6059),r=n(1851);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return o(n),r(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},8810:(e,t,n)=>{var o=n(5746),r=n(4771),a=n(4529),i=n(6760).f,s=function(e){return function(t){for(var n,s=a(t),l=r(s),c=l.length,u=0,d=[];c>u;)n=l[u++],o&&!i.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},5623:(e,t,n)=>{"use strict";var o=n(2885),r=n(9697);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},1136:(e,t,n)=>{var o=n(626),r=n(946),a=n(7857),i=n(6059);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(i(e)),n=a.f;return n?t.concat(n(e)):t}},4058:e=>{e.exports={}},2:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},6584:(e,t,n)=>{var o=n(6059),r=n(941),a=n(9520);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},7524:(e,t,n)=>{var o=n(9754);e.exports=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:o(e,r,t[r],n);return e}},9754:(e,t,n)=>{var o=n(2029);e.exports=function(e,t,n,r){r&&r.enumerable?e[t]=n:o(e,t,n)}},8219:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},4911:(e,t,n)=>{var o=n(1899),r=n(2029);e.exports=function(e,t){try{r(o,e,t)}catch(n){o[e]=t}return t}},4431:(e,t,n)=>{"use strict";var o=n(626),r=n(5988),a=n(9813),i=n(5746),s=a("species");e.exports=function(e){var t=o(e),n=r.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},904:(e,t,n)=>{var o=n(2885),r=n(5988).f,a=n(2029),i=n(7457),s=n(5623),l=n(9813)("toStringTag");e.exports=function(e,t,n,c){if(e){var u=n?e:e.prototype;i(u,l)||r(u,l,{configurable:!0,value:t}),c&&!o&&a(u,"toString",s)}}},4262:(e,t,n)=>{var o=n(8726),r=n(9418),a=o("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},3030:(e,t,n)=>{var o=n(1899),r=n(4911),a="__core-js_shared__",i=o[a]||r(a,{});e.exports=i},8726:(e,t,n)=>{var o=n(2529),r=n(3030);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:o?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},487:(e,t,n)=>{var o=n(6059),r=n(3916),a=n(9813)("species");e.exports=function(e,t){var n,i=o(e).constructor;return void 0===i||null==(n=o(i)[a])?t:r(n)}},4620:(e,t,n)=>{var o=n(8459),r=n(8219),a=function(e){return function(t,n){var a,i,s=String(r(t)),l=o(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},6178:(e,t,n)=>{"use strict";var o=n(8459),r=n(8219);e.exports="".repeat||function(e){var t=String(r(this)),n="",a=o(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},3093:(e,t,n)=>{var o=n(5981),r=n(3483);e.exports=function(e){return o((function(){return!!r[e]()||"​…᠎"!="​…᠎"[e]()||r[e].name!==e}))}},4853:(e,t,n)=>{var o=n(8219),r="["+n(3483)+"]",a=RegExp("^"+r+r+"*"),i=RegExp(r+r+"*$"),s=function(e){return function(t){var n=String(o(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(i,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},2941:(e,t,n)=>{var o,r,a,i=n(1899),s=n(5981),l=n(2532),c=n(6843),u=n(5463),d=n(1333),p=n(2749),f=i.location,v=i.setImmediate,g=i.clearImmediate,m=i.process,h=i.MessageChannel,b=i.Dispatch,y=0,x={},w="onreadystatechange",_=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},k=function(e){return function(){_(e)}},S=function(e){_(e.data)},T=function(e){i.postMessage(e+"",f.protocol+"//"+f.host)};v&&g||(v=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return x[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},o(y),y},g=function(e){delete x[e]},"process"==l(m)?o=function(e){m.nextTick(k(e))}:b&&b.now?o=function(e){b.now(k(e))}:h&&!p?(a=(r=new h).port2,r.port1.onmessage=S,o=c(a.postMessage,a,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||s(T)||"file:"===f.protocol?o=w in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),_(e)}}:function(e){setTimeout(k(e),0)}:(o=T,i.addEventListener("message",S,!1))),e.exports={set:v,clear:g}},9413:(e,t,n)=>{var o=n(8459),r=Math.max,a=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):a(n,t)}},4529:(e,t,n)=>{var o=n(7026),r=n(8219);e.exports=function(e){return o(r(e))}},8459:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},3057:(e,t,n)=>{var o=n(8459),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},9678:(e,t,n)=>{var o=n(8219);e.exports=function(e){return Object(o(e))}},6935:(e,t,n)=>{var o=n(941);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},2885:(e,t,n)=>{var o={};o[n(9813)("toStringTag")]="z",e.exports="[object z]"===String(o)},9418:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},2302:(e,t,n)=>{var o=n(2497);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1477:(e,t,n)=>{var o=n(9813);t.f=o},9813:(e,t,n)=>{var o=n(1899),r=n(8726),a=n(7457),i=n(9418),s=n(2497),l=n(2302),c=r("wks"),u=o.Symbol,d=l?u:u&&u.withoutSetter||i;e.exports=function(e){return a(c,e)||(s&&a(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},3483:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},5906:(e,t,n)=>{"use strict";var o=n(6887),r=n(5981),a=n(1052),i=n(941),s=n(9678),l=n(3057),c=n(5449),u=n(4692),d=n(568),p=n(9813),f=n(3385),v=p("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",h=f>=51||!r((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),b=d("concat"),y=function(e){if(!i(e))return!1;var t=e[v];return void 0!==t?!!t:a(e)};o({target:"Array",proto:!0,forced:!h||!b},{concat:function(e){var t,n,o,r,a,i=s(this),d=u(i,0),p=0;for(t=-1,o=arguments.length;t<o;t++)if(y(a=-1===t?i:arguments[t])){if(p+(r=l(a.length))>g)throw TypeError(m);for(n=0;n<r;n++,p++)n in a&&c(d,p,a[n])}else{if(p>=g)throw TypeError(m);c(d,p++,a)}return d.length=p,d}})},8851:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).every,a=n(4194),i=n(5486),s=a("every"),l=i("every");o({target:"Array",proto:!0,forced:!s||!l},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},290:(e,t,n)=>{var o=n(6887),r=n(1860),a=n(8479);o({target:"Array",proto:!0},{fill:r}),a("fill")},1501:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).filter,a=n(568),i=n(5486),s=a("filter"),l=i("filter");o({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},833:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).find,a=n(8479),i=n(5486),s="find",l=!0,c=i(s);s in[]&&Array(1).find((function(){l=!1})),o({target:"Array",proto:!0,forced:l||!c},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a(s)},2065:(e,t,n)=>{"use strict";var o=n(6887),r=n(3092),a=n(9678),i=n(3057),s=n(3916),l=n(4692);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),o=i(n.length);return s(e),(t=l(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},2437:(e,t,n)=>{"use strict";var o=n(6887),r=n(6837);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},3242:(e,t,n)=>{var o=n(6887),r=n(1354);o({target:"Array",stat:!0,forced:!n(1385)((function(e){Array.from(e)}))},{from:r})},7690:(e,t,n)=>{"use strict";var o=n(6887),r=n(1692).includes,a=n(8479);o({target:"Array",proto:!0,forced:!n(5486)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},9076:(e,t,n)=>{"use strict";var o=n(6887),r=n(1692).indexOf,a=n(4194),i=n(5486),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=a("indexOf"),u=i("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:void 0)}})},2737:(e,t,n)=>{n(6887)({target:"Array",stat:!0},{isArray:n(1052)})},6274:(e,t,n)=>{"use strict";var o=n(4529),r=n(8479),a=n(2077),i=n(5402),s=n(7771),l="Array Iterator",c=i.set,u=i.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:o(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},8787:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).map,a=n(568),i=n(5486),s=a("map"),l=i("map");o({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},1876:(e,t,n)=>{"use strict";var o=n(6887),r=n(6499).left,a=n(4194),i=n(5486),s=a("reduce"),l=i("reduce",{1:0});o({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},186:(e,t,n)=>{"use strict";var o=n(6887),r=n(941),a=n(1052),i=n(9413),s=n(3057),l=n(4529),c=n(5449),u=n(9813),d=n(568),p=n(5486),f=d("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),g=u("species"),m=[].slice,h=Math.max;o({target:"Array",proto:!0,forced:!f||!v},{slice:function(e,t){var n,o,u,d=l(this),p=s(d.length),f=i(e,p),v=i(void 0===t?p:t,p);if(a(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[g])&&(n=void 0):n=void 0,n===Array||void 0===n))return m.call(d,f,v);for(o=new(void 0===n?Array:n)(h(v-f,0)),u=0;f<v;f++,u++)f in d&&c(o,u,d[f]);return o.length=u,o}})},6026:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).some,a=n(4194),i=n(5486),s=a("some"),l=i("some");o({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},8611:(e,t,n)=>{"use strict";var o=n(6887),r=n(9413),a=n(8459),i=n(3057),s=n(9678),l=n(4692),c=n(5449),u=n(568),d=n(5486),p=u("splice"),f=d("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,g=Math.min,m=9007199254740991,h="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!p||!f},{splice:function(e,t){var n,o,u,d,p,f,b=s(this),y=i(b.length),x=r(e,y),w=arguments.length;if(0===w?n=o=0:1===w?(n=0,o=y-x):(n=w-2,o=g(v(a(t),0),y-x)),y+n-o>m)throw TypeError(h);for(u=l(b,o),d=0;d<o;d++)(p=x+d)in b&&c(u,d,b[p]);if(u.length=o,n<o){for(d=x;d<y-o;d++)f=d+n,(p=d+o)in b?b[f]=b[p]:delete b[f];for(d=y;d>y-o+n;d--)delete b[d-1]}else if(n>o)for(d=y-o;d>x;d--)f=d+n-1,(p=d+o-1)in b?b[f]=b[p]:delete b[f];for(d=0;d<n;d++)b[d+x]=arguments[d+2];return b.length=y-o+n,u}})},6986:(e,t,n)=>{n(8479)("flatMap")},5160:(e,t,n)=>{n(6887)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},2619:(e,t,n)=>{var o=n(6887),r=n(626),a=n(5981),i=r("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,u=function(e,t,n){var o=n.charAt(t-1),r=n.charAt(t+1);return l.test(e)&&!c.test(r)||c.test(e)&&!l.test(o)?"\\u"+e.charCodeAt(0).toString(16):e},d=a((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&o({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,n){var o=i.apply(null,arguments);return"string"==typeof o?o.replace(s,u):o}})},7501:(e,t,n)=>{"use strict";var o=n(4683),r=n(5616);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},9221:(e,t,n)=>{var o=n(6887),r=n(4420);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},4979:(e,t,n)=>{var o=n(6887),r=n(5746);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(9938)})},6450:(e,t,n)=>{var o=n(6887),r=n(5746);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(5988).f})},1078:(e,t,n)=>{var o=n(6887),r=n(8810).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},8387:(e,t,n)=>{var o=n(6887),r=n(3091),a=n(5449);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){a(t,e,n)}),void 0,!0),t}})},6924:(e,t,n)=>{var o=n(6887),r=n(5981),a=n(4529),i=n(9677).f,s=n(5746),l=r((function(){i(1)}));o({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(a(e),t)}})},8482:(e,t,n)=>{var o=n(6887),r=n(5746),a=n(1136),i=n(4529),s=n(9677),l=n(5449);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=i(e),r=s.f,c=a(o),u={},d=0;c.length>d;)void 0!==(n=r(o,t=c[d++]))&&l(u,t,n);return u}})},9816:(e,t,n)=>{var o=n(6887),r=n(5981),a=n(684).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},1724:(e,t,n)=>{var o=n(6887),r=n(9678),a=n(4771);o({target:"Object",stat:!0,forced:n(5981)((function(){a(1)}))},{keys:function(e){return a(r(e))}})},5967:()=>{},6614:(e,t,n)=>{var o=n(6887),r=n(8810).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},4038:(e,t,n)=>{var o=n(6887),r=n(9806);o({global:!0,forced:parseInt!=r},{parseInt:r})},4560:(e,t,n)=>{"use strict";var o=n(6887),r=n(3916),a=n(9520),i=n(2),s=n(3091);o({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),o=n.resolve,l=n.reject,c=i((function(){var n=r(t.resolve),a=[],i=0,l=1;s(e,(function(e){var r=i++,s=!1;a.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,a[r]={status:"fulfilled",value:e},--l||o(a))}),(function(e){s||(s=!0,a[r]={status:"rejected",reason:e},--l||o(a))}))})),--l||o(a)}));return c.error&&l(c.value),n.promise}})},4349:(e,t,n)=>{"use strict";var o=n(6887),r=n(2529),a=n(9297),i=n(5981),s=n(626),l=n(487),c=n(6584),u=n(9754);o({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof a||a.prototype.finally||u(a.prototype,"finally",s("Promise").prototype.finally)},8881:(e,t,n)=>{"use strict";var o,r,a,i,s=n(6887),l=n(2529),c=n(1899),u=n(626),d=n(9297),p=n(9754),f=n(7524),v=n(904),g=n(4431),m=n(941),h=n(3916),b=n(5743),y=n(2532),x=n(1302),w=n(3091),_=n(1385),k=n(487),S=n(2941).set,T=n(6132),O=n(6584),C=n(4845),A=n(9520),E=n(2),L=n(5402),I=n(7252),M=n(9813),U=n(3385),z=M("species"),R="Promise",N=L.get,D=L.set,P=L.getterFor(R),V=d,G=c.TypeError,j=c.document,B=c.process,H=u("fetch"),F=A.f,Y=F,q="process"==y(B),$=!!(j&&j.createEvent&&c.dispatchEvent),W="unhandledrejection",K=I(R,(function(){if(!(x(V)!==String(V))){if(66===U)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!V.prototype.finally)return!0;if(U>=51&&/native code/.test(V))return!1;var e=V.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[z]=t,!(e.then((function(){}))instanceof t)})),X=K||!_((function(e){V.all(e).catch((function(){}))})),Z=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;T((function(){for(var r=t.value,a=1==t.state,i=0;o.length>i;){var s,l,c,u=o[i++],d=a?u.ok:u.fail,p=u.resolve,f=u.reject,v=u.domain;try{d?(a||(2===t.rejection&&ne(e,t),t.rejection=1),!0===d?s=r:(v&&v.enter(),s=d(r),v&&(v.exit(),c=!0)),s===u.promise?f(G("Promise-chain cycle")):(l=Z(s))?l.call(s,p,f):p(s)):f(r)}catch(e){v&&!c&&v.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)}))}},Q=function(e,t,n){var o,r;$?((o=j.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),c.dispatchEvent(o)):o={promise:t,reason:n},(r=c["on"+e])?r(o):e===W&&C("Unhandled promise rejection",n)},ee=function(e,t){S.call(c,(function(){var n,o=t.value;if(te(t)&&(n=E((function(){q?B.emit("unhandledRejection",o,e):Q(W,e,o)})),t.rejection=q||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){S.call(c,(function(){q?B.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},oe=function(e,t,n,o){return function(r){e(t,n,r,o)}},re=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,J(e,t,!0))},ae=function(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw G("Promise can't be resolved itself");var r=Z(n);r?T((function(){var o={done:!1};try{r.call(n,oe(ae,e,o,t),oe(re,e,o,t))}catch(n){re(e,o,n,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(V=function(e){b(this,V,R),h(e),o.call(this);var t=N(this);try{e(oe(ae,this,t),oe(re,this,t))}catch(e){re(this,t,e)}},(o=function(e){D(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(V.prototype,{then:function(e,t){var n=P(this),o=F(k(this,V));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=q?B.domain:void 0,n.parent=!0,n.reactions.push(o),0!=n.state&&J(this,n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new o,t=N(e);this.promise=e,this.resolve=oe(ae,e,t),this.reject=oe(re,e,t)},A.f=F=function(e){return e===V||e===a?new r(e):Y(e)},l||"function"!=typeof d||(i=d.prototype.then,p(d.prototype,"then",(function(e,t){var n=this;return new V((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return O(V,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:V}),v(V,R,!1,!0),g(R),a=u(R),s({target:R,stat:!0,forced:K},{reject:function(e){var t=F(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:l||K},{resolve:function(e){return O(l&&this===a?V:this,e)}}),s({target:R,stat:!0,forced:X},{all:function(e){var t=this,n=F(t),o=n.resolve,r=n.reject,a=E((function(){var n=h(t.resolve),a=[],i=0,s=1;w(e,(function(e){var l=i++,c=!1;a.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||o(a))}),r)})),--s||o(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=F(t),o=n.reject,r=E((function(){var r=h(t.resolve);w(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},9008:(e,t,n)=>{"use strict";var o=n(4683),r=n(5616);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},1035:(e,t,n)=>{"use strict";var o=n(6887),r=n(344),a=n(8219);o({target:"String",proto:!0,forced:!n(7772)("includes")},{includes:function(e){return!!~String(a(this)).indexOf(r(e),arguments.length>1?arguments[1]:void 0)}})},7971:(e,t,n)=>{"use strict";var o=n(4620).charAt,r=n(5402),a=n(7771),i="String Iterator",s=r.set,l=r.getterFor(i);a(String,"String",(function(e){s(this,{type:i,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},986:(e,t,n)=>{n(6887)({target:"String",proto:!0},{repeat:n(6178)})},7398:(e,t,n)=>{"use strict";var o=n(6887),r=n(4853).trim;o({target:"String",proto:!0,forced:n(3093)("trim")},{trim:function(){return r(this)}})},5824:(e,t,n)=>{"use strict";var o=n(6887),r=n(1899),a=n(626),i=n(2529),s=n(5746),l=n(2497),c=n(2302),u=n(5981),d=n(7457),p=n(1052),f=n(941),v=n(6059),g=n(9678),m=n(4529),h=n(6935),b=n(1887),y=n(9290),x=n(4771),w=n(946),_=n(684),k=n(7857),S=n(9677),T=n(5988),O=n(6760),C=n(2029),A=n(9754),E=n(8726),L=n(4262),I=n(7748),M=n(9418),U=n(9813),z=n(1477),R=n(6349),N=n(904),D=n(5402),P=n(3610).forEach,V=L("hidden"),G="Symbol",j=U("toPrimitive"),B=D.set,H=D.getterFor(G),F=Object.prototype,Y=r.Symbol,q=a("JSON","stringify"),$=S.f,W=T.f,K=_.f,X=O.f,Z=E("symbols"),J=E("op-symbols"),Q=E("string-to-symbol-registry"),ee=E("symbol-to-string-registry"),te=E("wks"),ne=r.QObject,oe=!ne||!ne.prototype||!ne.prototype.findChild,re=s&&u((function(){return 7!=y(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=$(F,t);o&&delete F[t],W(e,t,n),o&&e!==F&&W(F,t,o)}:W,ae=function(e,t){var n=Z[e]=y(Y.prototype);return B(n,{type:G,tag:e,description:t}),s||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},se=function(e,t,n){e===F&&se(J,t,n),v(e);var o=h(t,!0);return v(n),d(Z,o)?(n.enumerable?(d(e,V)&&e[V][o]&&(e[V][o]=!1),n=y(n,{enumerable:b(0,!1)})):(d(e,V)||W(e,V,b(1,{})),e[V][o]=!0),re(e,o,n)):W(e,o,n)},le=function(e,t){v(e);var n=m(t),o=x(n).concat(pe(n));return P(o,(function(t){s&&!ce.call(n,t)||se(e,t,n[t])})),e},ce=function(e){var t=h(e,!0),n=X.call(this,t);return!(this===F&&d(Z,t)&&!d(J,t))&&(!(n||!d(this,t)||!d(Z,t)||d(this,V)&&this[V][t])||n)},ue=function(e,t){var n=m(e),o=h(t,!0);if(n!==F||!d(Z,o)||d(J,o)){var r=$(n,o);return!r||!d(Z,o)||d(n,V)&&n[V][o]||(r.enumerable=!0),r}},de=function(e){var t=K(m(e)),n=[];return P(t,(function(e){d(Z,e)||d(I,e)||n.push(e)})),n},pe=function(e){var t=e===F,n=K(t?J:m(e)),o=[];return P(n,(function(e){!d(Z,e)||t&&!d(F,e)||o.push(Z[e])})),o};(l||(A((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=M(e),n=function(e){this===F&&n.call(J,e),d(this,V)&&d(this[V],t)&&(this[V][t]=!1),re(this,t,b(1,e))};return s&&oe&&re(F,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return H(this).tag})),A(Y,"withoutSetter",(function(e){return ae(M(e),e)})),O.f=ce,T.f=se,S.f=ue,w.f=_.f=de,k.f=pe,z.f=function(e){return ae(U(e),e)},s&&(W(Y.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),i||A(F,"propertyIsEnumerable",ce,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),P(x(te),(function(e){R(e)})),o({target:G,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Q,t))return Q[t];var n=Y(t);return Q[t]=n,ee[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ue}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),o({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(g(e))}}),q)&&o({target:"JSON",stat:!0,forced:!l||u((function(){var e=Y();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(o=t,(f(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!ie(t))return t}),r[1]=t,q.apply(null,r)}});Y.prototype[j]||C(Y.prototype,j,Y.prototype.valueOf),N(Y,G),I[V]=!0},7634:(e,t,n)=>{n(6274);var o=n(3281),r=n(1899),a=n(9697),i=n(2029),s=n(2077),l=n(9813)("toStringTag");for(var c in o){var u=r[c],d=u&&u.prototype;d&&a(d)!==l&&i(d,l,c),s[c]=s.Array}},1249:(e,t,n)=>{var o=n(6887),r=n(1899),a=n(2861),i=[].slice,s=function(e){return function(t,n){var o=arguments.length>2,r=o?i.call(arguments,2):void 0;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(a)},{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},7698:(e,t,n)=>{var o=n(4493);e.exports=o},3363:(e,t,n)=>{var o=n(4034);e.exports=o},9216:(e,t,n)=>{var o=n(9324);e.exports=o},6668:(e,t,n)=>{var o=n(5909);e.exports=o},7784:(e,t,n)=>{var o=n(1103);e.exports=o},8065:(e,t,n)=>{var o=n(6043);e.exports=o},9455:(e,t,n)=>{var o=n(3160);e.exports=o},9743:(e,t,n)=>{var o=n(446);e.exports=o},1955:(e,t,n)=>{var o=n(2480);e.exports=o},1577:(e,t,n)=>{var o=n(2236);e.exports=o},9020:(e,t,n)=>{var o=n(1968);e.exports=o},6279:(e,t,n)=>{n(7634);var o=n(9216),r=n(9697),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===a||e instanceof Array&&t===a.forEach||i.hasOwnProperty(r(e))?o:t}},3778:(e,t,n)=>{var o=n(8557);e.exports=o},9373:(e,t,n)=>{var o=n(4570);e.exports=o},3819:(e,t,n)=>{n(7634);var o=n(6668),r=n(9697),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===a||e instanceof Array&&t===a.keys||i.hasOwnProperty(r(e))?o:t}},1798:(e,t,n)=>{var o=n(8287);e.exports=o},2527:(e,t,n)=>{var o=n(8025);e.exports=o},6857:(e,t,n)=>{var o=n(9257);e.exports=o},2073:(e,t,n)=>{var o=n(9601);e.exports=o},5286:(e,t,n)=>{var o=n(8299);e.exports=o},2348:(e,t,n)=>{var o=n(8339);e.exports=o},6361:(e,t,n)=>{var o=n(2774);e.exports=o},8933:(e,t,n)=>{var o=n(4426);e.exports=o},5868:(e,t,n)=>{var o=n(1018);e.exports=o},3383:(e,t,n)=>{var o=n(5999);e.exports=o},7396:(e,t,n)=>{var o=n(7702);e.exports=o},1910:(e,t,n)=>{var o=n(8171);e.exports=o},6209:(e,t,n)=>{var o=n(3081);e.exports=o},3402:(e,t,n)=>{var o=n(7699);e.exports=o},9427:(e,t,n)=>{var o=n(286);e.exports=o},2857:(e,t,n)=>{var o=n(2766);e.exports=o},4477:(e,t,n)=>{var o=n(3288);e.exports=o},9534:(e,t,n)=>{var o=n(498);e.exports=o},3059:(e,t,n)=>{var o=n(8494);e.exports=o},7795:(e,t,n)=>{var o=n(8430);e.exports=o},4888:(e,t,n)=>{var o=n(8524);e.exports=o},7460:(e,t,n)=>{var o=n(2956);e.exports=o},7989:(e,t,n)=>{n(1249);var o=n(4058);e.exports=o.setTimeout},5519:(e,t,n)=>{var o=n(6998);e.exports=o},5739:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".the-app[data-v-a11345ba]{font-size:16px;font-weight:400;color:#000;font-family:Roboto,Microsoft Yahei UI,Arial,sans-serif;line-height:1.5}",""]),e.exports=o},9928:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".flex-col{display:flex}.flex-center{justify-content:center;align-items:center}html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:inherit;border:0 solid #e2e8f0}:after,:before{text-decoration:inherit;vertical-align:inherit}*{background-repeat:no-repeat;padding:0;margin:0;box-sizing:border-box}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:initial;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[type=button],[type=reset],[type=submit] [role=button],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:0;border:0}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:initial;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}img{border-style:none}progress{vertical-align:initial}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}.v-ripple__container{border-radius:inherit;width:100%;height:100%;z-index:0;contain:strict}.v-ripple__animation,.v-ripple__container{color:inherit;position:absolute;left:0;top:0;overflow:hidden;pointer-events:none}.v-ripple__animation{border-radius:50%;background:currentColor;opacity:0;will-change:transform,opacity}.v-ripple__animation--enter{transition:none}.v-ripple__animation--in{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .1s cubic-bezier(.4,0,.2,1)}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(.4,0,.2,1)}a{color:#1976d2}",""]),e.exports=o},9375:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scrollable .scroll-bar-track[data-v-5ec67402]{top:3px;width:12px;bottom:3px;z-index:200}.scrollable .scroll-bar-track .scroll-bar-thumb[data-v-5ec67402]{width:6px;height:0;left:3px;top:0;background:rgba(0,0,0,.15);cursor:pointer;transition-property:width,left}.scrollable .scroll-bar-track.moving .scroll-bar-thumb[data-v-5ec67402],.scrollable .scroll-bar-track:hover .scroll-bar-thumb[data-v-5ec67402]{left:2px;width:8px;background:rgba(0,0,0,.25)}",""]),e.exports=o},7070:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".icon[data-v-5a9d8295]{height:24px;width:24px}.icon .ripple[data-v-5a9d8295]{top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;height:48px;width:48px}.icon .ripple.checked[data-v-5a9d8295] .v-ripple__container{color:#1976d2}.icon .ripple .ripple-trigger[data-v-5a9d8295]{top:50%;left:50%;transform:translate(-50%,-50%);height:24px;width:24px;pointer-events:all}.icon .ripple[data-v-5a9d8295] .v-ripple__container{height:48px;width:48px}",""]),e.exports=o},5871:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".input[data-v-3651d216]{width:200px}.input[data-v-3651d216]:focus{outline:2px solid #48f}",""]),e.exports=o},367:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".modal-component[data-v-76591e7d]{background:rgba(0,0,0,.3)}.modal-component.m-enter-from[data-v-76591e7d],.modal-component.m-leave-to[data-v-76591e7d]{background:transparent}.modal-component.m-enter-from .modal-container[data-v-76591e7d],.modal-component.m-leave-to .modal-container[data-v-76591e7d]{opacity:0}.modal-component.m-enter-from .modal-container[data-v-76591e7d]{transform:scale(.9)}.modal-component.m-enter-to[data-v-76591e7d],.modal-component.m-leave-from[data-v-76591e7d]{background:rgba(0,0,0,.3)}",""]),e.exports=o},5563:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".icon[data-v-9b99df3a]{height:24px;width:24px}.icon .ripple[data-v-9b99df3a]{top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;height:48px;width:48px}.icon .ripple.checked[data-v-9b99df3a] .v-ripple__container{color:#1976d2}.icon .ripple .ripple-trigger[data-v-9b99df3a]{top:50%;left:50%;transform:translate(-50%,-50%);height:24px;width:24px;pointer-events:all}.icon .ripple[data-v-9b99df3a] .v-ripple__container{height:48px;width:48px}",""]),e.exports=o},6559:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".track[data-v-629e59a4]{height:32px}.track-left[data-v-629e59a4],.track-right[data-v-629e59a4]{height:2px;width:50%}.notch[data-v-629e59a4]{height:15px;width:15px;top:50%;transform:translate(-50%,-50%);transition-property:width,height}.notch.dragging[data-v-629e59a4]{width:0;height:0}.bubble[data-v-629e59a4]{height:26px;width:26px;top:50%;transform:translate(-50%,-150%) rotate(45deg) scale(0);margin-left:-13px;border-radius:50% 50% 0;transform-origin:100% 100%}.bubble.dragging[data-v-629e59a4]{transform:translate(-50%,-150%) rotate(45deg)}.bubble .text[data-v-629e59a4]{transform:rotate(-45deg)}",""]),e.exports=o},8471:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".i-tabs-items .window-container{width:100%;min-height:100%;transition-property:height;overflow:hidden}.i-tabs-items .vnode-window{width:100%}.i-tabs-items .vnode-window.animating{transition:.3s ease}",""]),e.exports=o},7833:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".i-tabs{-moz-user-select:none;user-select:none}.i-tabs .slider{width:3px;background:hsla(0,0%,100%,.6)}.i-tabs .tab{cursor:pointer;color:hsla(0,0%,100%,.7);line-height:22px;font-weight:500;padding:12px;text-transform:uppercase;transition:color .1s ease}.i-tabs .tab.active{color:#fff}.i-tabs .tab .active-ripple .v-ripple__animation--in{opacity:.25!important}.i-tabs .tab .inactive-ripple .v-ripple__animation--in{opacity:.2}",""]),e.exports=o},5766:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scroll-container[data-v-44ca479e]{max-height:250px}.language-select-box .title-box .cancel-button[data-v-44ca479e]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-44ca479e]:hover{background:#e0e0e0}.language-select-box .language-item[data-v-44ca479e]{cursor:pointer;flex:0 0 33.3333%;padding:1px 0}.language-select-box .language-item.active[data-v-44ca479e]{background:#e8e8e8}.language-select-box .language-item[data-v-44ca479e]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-44ca479e]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-44ca479e]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-44ca479e]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-44ca479e]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-44ca479e]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-44ca479e]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-44ca479e]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-44ca479e]:hover{color:#409eff}",""]),e.exports=o},8997:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scroll-container[data-v-48a39bb0]{max-height:250px}.language-select-box .title-box .cancel-button[data-v-48a39bb0]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-48a39bb0]:hover{background:#e0e0e0}.language-select-box .language-item[data-v-48a39bb0]{cursor:pointer;flex:0 0 33.3333%}.language-select-box .language-item.active[data-v-48a39bb0]{background:#e8e8e8}.language-select-box .language-item[data-v-48a39bb0]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-48a39bb0]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-48a39bb0]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-48a39bb0]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-48a39bb0]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-48a39bb0]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-48a39bb0]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-48a39bb0]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-48a39bb0]:hover{color:#409eff}",""]),e.exports=o},8217:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".google-dict-box[data-v-21539aa9]{font-family:Arial,Microsoft Yahei UI,sans-serif}.google-dict-box[data-v-21539aa9] .entry-link{color:#7fa9d4;cursor:pointer}.scroll-container[data-v-21539aa9]{max-height:250px}.expand-button[data-v-21539aa9]{top:5px;right:5px;height:24px;width:24px;opacity:.3;cursor:pointer;z-index:2}.expand-button.with-scroll-bar[data-v-21539aa9]{right:12px}.expand-button[data-v-21539aa9]:hover{opacity:.6}.expand-button[data-v-21539aa9]:active{opacity:.9}",""]),e.exports=o},4901:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".google-dict-modal[data-v-ea3555cc]{height:100vh;width:80vw;max-width:800px;font-family:Arial,Microsoft Yahei UI,sans-serif}.google-dict-modal[data-v-ea3555cc] .entry-link{color:#7da7d4;cursor:pointer}.fold-control[data-v-ea3555cc]{top:0;left:50%;transform:translate(-50%)}.fold-control .control-btn[data-v-ea3555cc]{height:32px;width:32px}.fold-control .control-btn.disable[data-v-ea3555cc]{pointer-events:none;opacity:.2}.fold-control .control-btn[data-v-ea3555cc]:hover{background-color:#f0f0f0}.fold-control .control-btn:hover .tooltip[data-v-ea3555cc]{opacity:1}.fold-control .control-btn[data-v-ea3555cc]:active{box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.fold-control .tooltip[data-v-ea3555cc]{position:absolute;bottom:-8px;left:50%;transform:translate(-50%,100%);background:rgba(0,0,0,.5);border-radius:4px;color:#fff;font-size:12px;opacity:0;padding:1px 6px;pointer-events:none;transition:.3s cubic-bezier(.4,0,.2,1)}",""]),e.exports=o},1392:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".phonetics-box[data-v-80abc988]{height:20px;line-height:20px;font-family:Noto Sans,Arial,sans-serif}.phonetics-box .play-button[data-v-80abc988]{cursor:pointer;height:20px;width:22px;opacity:.45}.phonetics-box .play-button[data-v-80abc988]:hover{opacity:.7}.phonetics-box .play-button[data-v-80abc988]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},7418:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".entry-item .sense-item-number[data-v-13c640e0]{flex:0 0 30px}",""]),e.exports=o},3494:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".image-loader.loading[data-v-c0604a02]{border-radius:4px;box-shadow:0 0 0 3px #e9f4fb}",""]),e.exports=o},6672:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,'.label-box.size-small[data-v-7e84838f] .label{font-size:12px;padding:1px 4px}.label-box.size-medium[data-v-7e84838f] .label{font-size:12px;padding:2px 6px}.label-box.size-large[data-v-7e84838f] .label{font-size:14px;padding:3px 8px}.label-box.color-plain[data-v-7e84838f] .label{background:#f0f0f0}.label-box.color-lightpink[data-v-7e84838f] .label{background:#fbe0e0}.label-box.color-lightblue[data-v-7e84838f] .label{background:#d7eaf9}.label-box.color-geographic[data-v-7e84838f] .label{background:#ddf7ba;text-transform:uppercase}.label-box.color-register[data-v-7e84838f] .label,.label-box.color-registers[data-v-7e84838f] .label{background:#f0f0f0;text-transform:uppercase}.label-box.color-subject[data-v-7e84838f] .label{background:#f2e0fa;text-transform:uppercase}.label-box .label[data-v-7e84838f]{margin-right:5px}.label-box .label.last[data-v-7e84838f]{margin-right:0}.label-box .label .tooltip[data-v-7e84838f]{right:0;top:50%;z-index:200000;pointer-events:none;padding:0 4px 0 3px;margin-right:-7px;transform:translate(100%,-50%);transition:.12s;background:rgba(0,0,0,.5);filter:drop-shadow(0 0 .5px black);line-height:16px;white-space:nowrap}.label-box .label .tooltip[data-v-7e84838f]:after{content:"";z-index:1;position:absolute;top:50%;left:0;margin-left:1px;transform:translate(-100%,-50%);border:6px solid transparent;border-right-color:rgba(0,0,0,.5)}.label-box .label .tooltip.p-enter[data-v-7e84838f],.label-box .label .tooltip.p-leave-to[data-v-7e84838f]{opacity:0}.label-box .label .tooltip.p-enter-to[data-v-7e84838f],.label-box .label .tooltip.p-leave[data-v-7e84838f]{opacity:1}',""]),e.exports=o},9863:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".sense-item .sense-item-number[data-v-b981c738]{flex:0 0 32px;padding:0 10px 0 0}.sense-item .subsense-item .subsense-number[data-v-b981c738]{font-family:consolas,monospace}",""]),e.exports=o},1680:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".thesaurus-syn-ant .type-synonyms[data-v-180d12bc]{color:#78b07b}.thesaurus-syn-ant .type-antonyms[data-v-180d12bc]{color:#ce8383}.thesaurus-syn-ant .show-more-or-less[data-v-180d12bc]{opacity:.7}",""]),e.exports=o},2752:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scroll-container[data-v-1229a221]{max-height:250px}.language-select-box[data-v-1229a221]{-moz-user-select:none;user-select:none}.language-select-box .title-box .cancel-button[data-v-1229a221]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-1229a221]:hover{background:#e0e0e0}.language-select-box .items-box .language-item[data-v-1229a221]{cursor:pointer;flex:0 0 33.3333%;padding:1px 0}.language-select-box .items-box .language-item.active[data-v-1229a221]{background:#e8e8e8}.language-select-box .items-box .language-item[data-v-1229a221]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-1229a221]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-1229a221]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-1229a221]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-1229a221]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-1229a221]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-1229a221]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-1229a221]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-1229a221]:hover{color:#409eff}",""]),e.exports=o},3376:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scroll-container[data-v-bae3a914]{max-height:250px}.main-box>div[data-v-bae3a914]:first-child{margin-top:0!important}.symbols-box .part-item[data-v-bae3a914]{line-height:20px}",""]),e.exports=o},4181:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".pronunciation-item[data-v-267555b4]{height:20px;flex:0 0 20px;line-height:20px}.pronunciation-item .play-sound[data-v-267555b4]{width:20px;height:20px;cursor:pointer;opacity:.45}.pronunciation-item .play-sound[data-v-267555b4]:hover{opacity:.7}.pronunciation-item .play-sound[data-v-267555b4]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},5849:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scroll-container[data-v-694555b0]{max-height:250px}.language-select-box[data-v-694555b0]{-moz-user-select:none;user-select:none}.language-select-box .title-box .cancel-button[data-v-694555b0]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-694555b0]:hover{background:#e0e0e0}.language-select-box .items-box .language-item[data-v-694555b0]{cursor:pointer;flex:0 0 33.3333%;padding:1px 0}.language-select-box .items-box .language-item.active[data-v-694555b0]{background:#e8e8e8}.language-select-box .items-box .language-item[data-v-694555b0]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-694555b0]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-694555b0]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-694555b0]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-694555b0]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-694555b0]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-694555b0]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-694555b0]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-694555b0]:hover{color:#409eff}",""]),e.exports=o},6599:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,'.scroll-container[data-v-39582728]{max-height:250px}.content-box[data-v-39582728]{font-family:Source Sans Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif}.content-box .row .keyword[data-v-39582728]{text-decoration:underline;cursor:pointer}.content-box .row .keyword.definition-keyword[data-v-39582728]{color:#6cace0}.content-box .row .keyword.example-keyword[data-v-39582728]{color:#99c3e6}.content-box .row .definition[data-v-39582728]{line-height:20px}.content-box .divider[data-v-39582728]{height:1px;width:100%}.content-box .thumb[data-v-39582728]{opacity:.7}.content-box .thumb.thumb-down[data-v-39582728]{transform:translateY(3px) rotate(180deg)}.u-toolip[data-v-39582728]{max-width:280px;padding:5px 8px;z-index:2;transform:translate(calc(-50% + 10px),17px);filter:drop-shadow(0 2px 1px rgba(0,0,0,.15)) drop-shadow(0 2px 1.2px rgba(0,0,0,.16)) drop-shadow(0 1px 2.2px rgba(0,0,0,.12))}.u-toolip .inner-content[data-v-39582728]{max-height:105px;overflow:hidden}.u-toolip .loadin-spinner[data-v-39582728]{margin:6px 0}@keyframes rotate-39582728{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.u-toolip .rotate[data-v-39582728]{animation-name:rotate-39582728;animation-duration:1.2s;animation-timing-function:linear;animation-iteration-count:infinite}.u-toolip[data-v-39582728]:before{position:absolute;content:"";top:-10px;left:50%;transform:translate(-50%) scaleY(1.5) skewX(40deg);transform-origin:50% bottom;border-bottom:10px solid #fff;border-left:10px solid transparent;border-right:10px solid transparent}',""]),e.exports=o},253:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".scroll-container[data-v-d38ce5bc]{max-height:250px}.main-box .play-sound[data-v-d38ce5bc]{width:20px;height:20px;cursor:pointer;opacity:.45}.main-box .play-sound[data-v-d38ce5bc]:hover{opacity:.7}.main-box .play-sound[data-v-d38ce5bc]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},6883:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".toast-box[data-v-22ad7e37]{z-index:2147483647;left:50%;bottom:10%;transform:translate(-50%,-50%);background:rgba(0,0,0,.5);padding:10px 18px;border-radius:6px;transform-origin:left top}.t-enter-from[data-v-22ad7e37],.t-leave-to[data-v-22ad7e37]{opacity:0}.toast-box.t-enter-from[data-v-22ad7e37]{transform:scale(.9) translate(-50%,-50%)}",""]),e.exports=o},278:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".history-window[data-v-6b9c327f]{width:480px;height:560px}",""]),e.exports=o},7613:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".iciba-circle[data-v-b769a32c]{z-index:10000;width:22px;height:22px;opacity:.9}.iciba-circle.circle[data-v-b769a32c]{border-radius:9999px}.iciba-circle[data-v-b769a32c]:not(.has-icon){border:1px solid #0f0f0f;background:#a8c6f0;box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.14),0 0 3px 0 rgba(0,0,0,.12);opacity:.7}.iciba-circle[data-v-b769a32c]:not(.has-icon):active{box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.14),0 0 3px 0 rgba(0,0,0,.12),inset 1px 1px 1px rgba(0,0,0,.4)}.iciba-circle.c-leave-active[data-v-b769a32c]{transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform}.iciba-circle.c-leave-to[data-v-b769a32c]{transform:scale(.9);opacity:0}.iciba-circle.c-leave[data-v-b769a32c]{transform:scale(1);opacity:1}.iciba-circle[data-v-b769a32c]:hover{opacity:1}.iciba-circle[data-v-b769a32c]:active{filter:brightness(.7)}",""]),e.exports=o},2824:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,'.iciba-main-wrap[data-v-b07dfcf8]{z-index:9999}.iciba-main-wrap.m-enter-from[data-v-b07dfcf8]{opacity:0}.iciba-main-wrap.m-enter-from .iciba-main[data-v-b07dfcf8]{transform:translateY(-6px)}.iciba-main-wrap.m-leave-to[data-v-b07dfcf8]{opacity:0}.iciba-main-wrap.m-enter-to[data-v-b07dfcf8],.iciba-main-wrap.m-leave-from[data-v-b07dfcf8]{opacity:1}.iciba-main[data-v-b07dfcf8]{top:0;left:0;width:300px;letter-spacing:0;filter:drop-shadow(0 2px 1.5px rgba(0,0,0,.14)) drop-shadow(0 4px 2.5px rgba(0,0,0,.15)) drop-shadow(0 1px 5px rgba(0,0,0,.12))}.input-box[data-v-b07dfcf8]{height:28px;z-index:1}.input-box .iciba-input-box .search-input[data-v-b07dfcf8]{letter-spacing:0;padding:0 4px 0 7px;line-height:27px;height:27px;z-index:2}.input-box .iciba-input-box .search-input[data-v-b07dfcf8]:focus{outline:none}.input-box .iciba-input-box.focused[data-v-b07dfcf8]:before{content:"";position:absolute;top:1px;left:1px;width:calc(100% - 1px);height:calc(100% - 1px);outline:2px solid #48f;outline-offset:-1px}.input-box .iciba-input-box .input-button[data-v-b07dfcf8]{height:27px;width:27px;z-index:2;opacity:.2}.input-box .iciba-input-box .input-button[data-v-b07dfcf8]:hover{opacity:.6}.input-box .iciba-input-box .input-button[data-v-b07dfcf8]:active{background-position:50% calc(50% + 1px);opacity:.9}.input-box .provider-box[data-v-b07dfcf8]{height:28px}.input-box .provider-box .provider-button[data-v-b07dfcf8]{width:28px;flex:0 0 28px;height:27px;background-color:#f7f7f7}.input-box .provider-box .provider-button[data-v-b07dfcf8]:focus{outline:none}.input-box .provider-box .provider-button[data-v-b07dfcf8]:focus:before{content:"";position:absolute;top:1px;left:0;width:100%;height:calc(100% - 1px);outline:2px solid #48f;outline-offset:-1px}.input-box .provider-box .provider-button[data-v-b07dfcf8]:last-child:focus:before{width:calc(100% - 1px)}.input-box .provider-box .provider-button[data-v-b07dfcf8]:hover{background-color:#fcfcfc}.input-box .provider-box .provider-button[data-v-b07dfcf8]:active{background-position:50% calc(50% + 1px);background-color:#f0f0f0;box-shadow:inset 0 0 6px #aaa}.content-box[data-v-b07dfcf8]{background:#f7f7f7;z-index:2}.content-box .content-item[data-v-b07dfcf8]{padding:7px 10px 10px}.stick-box[data-v-b07dfcf8]{right:0;top:0;transform:translate(100%);background:#eee;height:56px;width:28px;background-color:#f7f7f7;transition-duration:.1s;z-index:0}.stick-box.s-enter[data-v-b07dfcf8],.stick-box.s-leave-to[data-v-b07dfcf8]{transform:translate(0);transition-delay:.3s}.stick-box.s-enter-to[data-v-b07dfcf8],.stick-box.s-leave[data-v-b07dfcf8]{transform:translate(100%)}.stick-box .drag[data-v-b07dfcf8]{cursor:-webkit-grab;cursor:grab}.stick-box .drag[data-v-b07dfcf8],.stick-box .stick[data-v-b07dfcf8]{height:28px;width:28px}.stick-box .stick .i-icon[data-v-b07dfcf8]{transform:rotate(45deg);opacity:.4}.stick-box .stick.pinned .i-icon[data-v-b07dfcf8]{transform:rotate(0);opacity:1}',""]),e.exports=o},2230:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".icon-box[data-v-6b4ed052]{cursor:pointer;height:48px;width:48px}.icon-box[data-v-6b4ed052]:hover{background:#ddd}.check-icon[data-v-6b4ed052]{top:0;right:0;height:20px;width:20px}",""]),e.exports=o},7413:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".setting-window[data-v-26ec9275]{width:580px;height:580px}",""]),e.exports=o},4501:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".default-iciba-circle[data-v-3a3412e4]{border:1px solid #0f0f0f;background:#a8c6f0;box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.14),0 0 3px 0 rgba(0,0,0,.12);border-radius:9999px;opacity:.7}",""]),e.exports=o},3780:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".icon-box-container .icon-item[data-v-be105b76]{height:44px;width:44px}.icon-box-container .icon-item.icon-move[data-v-be105b76]{transition:transform .3s cubic-bezier(.4,0,.2,1)}.icon-box-container .icon-item .mask-box[data-v-be105b76]{z-index:2;border:1px solid #aaa;background:#eee;height:44px;width:44px;border-radius:3px;top:0;left:0}.icon-box-container .icon-item .mask-box.mask-enter-to[data-v-be105b76],.icon-box-container .icon-item .mask-box.mask-leave[data-v-be105b76]{opacity:1}.icon-box-container .icon-item .mask-box.mask-enter[data-v-be105b76],.icon-box-container .icon-item .mask-box.mask-leave-to[data-v-be105b76]{opacity:0}.icon-box-container .icon-item .mask-box.mask-leave-active[data-v-be105b76]{transition-delay:.2s}.icon-box-container .icon-item .icon-box[data-v-be105b76]{z-index:3;height:44px;width:44px}.icon-box-container .icon-item .icon-box .icon.inactive[data-v-be105b76]{opacity:.25}",""]),e.exports=o},7512:(e,t,n)=>{var o=n(3645)(!1);o.push([e.id,".bg-white{background-color:#fff}.bg-blue-700{background-color:#1976d2}.bg-indigo-500{background-color:#3f51b5}.bg-grey-200{background-color:#eee}.bg-grey-300{background-color:#e0e0e0}.bg-grey-400{background-color:#bdbdbd}.bg-grey-500{background-color:#9e9e9e}.bg-bg-5{background-color:#f7f7f7}.hover\\:bg-grey-100:hover{background-color:#f5f5f5}.group:hover .group-hover\\:bg-grey-300,.hover\\:bg-grey-300:hover{background-color:#e0e0e0}.border-grey-300{border-color:#e0e0e0}.border-grey-350{border-color:#d5d5d5}.border-grey-400{border-color:#bdbdbd}.rounded-4{border-radius:4px}.rounded-5{border-radius:5px}.rounded-6{border-radius:6px}.rounded-full{border-radius:9999px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.cursor-pointer{cursor:pointer}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-grow-0{flex-grow:0}.flex-grow{flex-grow:1}.font-mono{font-family:Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-medium{font-weight:500}.font-bold{font-weight:700}.h-0{height:0}.h-auto{height:auto}.text-0{font-size:0}.text-12{font-size:12px}.text-13{font-size:13px}.text-14{font-size:14px}.text-15{font-size:15px}.text-16{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-28{font-size:28px}.leading-snug{line-height:1.375}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.m-2px{margin:2px}.my-1{margin-top:4px;margin-bottom:4px}.my-2{margin-top:8px;margin-bottom:8px}.mx-2{margin-left:8px;margin-right:8px}.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:4px}.mr-1{margin-right:4px}.mb-1{margin-bottom:4px}.ml-1{margin-left:4px}.mt-2{margin-top:8px}.mr-2{margin-right:8px}.mb-2{margin-bottom:8px}.ml-2{margin-left:8px}.mt-4{margin-top:16px}.mr-4{margin-right:16px}.ml-4{margin-left:16px}.mt-5{margin-top:20px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}.mt-12{margin-top:48px}.mt-1px{margin-top:1px}.mt-2px{margin-top:2px}.mb-2px{margin-bottom:2px}.ml-2px{margin-left:2px}.mt-3px{margin-top:3px}.mb-3px{margin-bottom:3px}.mt-5px{margin-top:5px}.mr-5px{margin-right:5px}.ml-5px{margin-left:5px}.mt-6px{margin-top:6px}.-mt-2px{margin-top:-2px}.opacity-75{opacity:.75}.hover\\:opacity-100:hover{opacity:1}.outline-none{outline:0}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.p-2{padding:8px}.p-4{padding:16px}.p-10px{padding:10px}.py-1{padding-top:4px;padding-bottom:4px}.px-1{padding-left:4px;padding-right:4px}.px-2{padding-left:8px;padding-right:8px}.py-3{padding-top:12px;padding-bottom:12px}.px-3{padding-left:12px;padding-right:12px}.py-4{padding-top:16px;padding-bottom:16px}.px-4{padding-left:16px;padding-right:16px}.px-5{padding-left:20px;padding-right:20px}.py-1px{padding-top:1px;padding-bottom:1px}.py-5px{padding-top:5px;padding-bottom:5px}.py-10px{padding-top:10px;padding-bottom:10px}.pt-1{padding-top:4px}.pr-1{padding-right:4px}.pl-1{padding-left:4px}.pt-2{padding-top:8px}.pr-2{padding-right:8px}.pt-4{padding-top:16px}.pt-5{padding-top:20px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pr-7{padding-right:28px}.pb-7{padding-bottom:28px}.pr-12{padding-right:48px}.pt-2px{padding-top:2px}.pr-3px{padding-right:3px}.pr-6px{padding-right:6px}.pl-10px{padding-left:10px}.pr-14px{padding-right:14px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.right-0{right:0}.bottom-0{bottom:0}.top-auto{top:auto}.left-auto{left:auto}.resize{resize:both}.shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.text-center{text-align:center}.text-right{text-align:right}.text-white{color:#fff}.text-gray-800{color:#2d3748}.text-red-400{color:#ef5350}.text-red-500{color:#f44336}.text-orange-400{color:#ffa726}.text-green-600{color:#43a047}.text-blue-500{color:#2196f3}.text-grey-400{color:#bdbdbd}.text-grey-500{color:#9e9e9e}.text-grey-600{color:#757575}.text-grey-700{color:#616161}.text-grey-800{color:#424242}.text-grey-900{color:#212121}.text-primary{color:#409eff}.hover\\:text-grey-600:hover{color:#757575}.italic{font-style:italic}.hover\\:underline:hover{text-decoration:underline}.select-none{-moz-user-select:none;user-select:none}.visible{visibility:visible}.break-words{overflow-wrap:break-word}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-0{width:0}.w-6{width:24px}.w-full{width:100%}.z-20{z-index:20}.transform{--transform-translate-x:0;--transform-translate-y:0;--transform-rotate:0;--transform-skew-x:0;--transform-skew-y:0;--transform-scale-x:1;--transform-scale-y:1;transform:translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y))}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform}.transition-opacity{transition-property:opacity}.transition-transform{transition-property:transform}.ease-linear{transition-timing-function:linear}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}",""]),e.exports=o},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(i=o,s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),a=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([r]).join("\n")}var i,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(r[i]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},8127:(e,t,n)=>{"use strict";function o(e,t){for(var n=[],o={},r=0;r<t.length;r++){var a=t[r],i=a[0],s={id:e+":"+r,css:a[1],media:a[2],sourceMap:a[3]};o[i]?o[i].parts.push(s):n.push(o[i]={id:i,parts:[s]})}return n}n.d(t,{Z:()=>v});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=document.querySelector(".iciba-root").shadowRoot,s=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,r){c=n,d=r||{};var i=o(e,t);return g(i),function(t){for(var n=[],r=0;r<i.length;r++){var s=i[r];(l=a[s.id]).refs--,n.push(l)}t?g(i=o(e,t)):i=[];for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete a[l.id]}}}}function g(e){for(var t=0;t<e.length;t++){var n=e[t],o=a[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(h(n.parts[r]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;r<n.parts.length;r++)i.push(h(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var e=d.insertInto?d.insertInto():i,t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function h(e){var t,n,o=(d.insertInto?d.insertInto():document).querySelector("style["+p+'~="'+e.id+'"]');if(o){if(c)return u;o.parentNode.removeChild(o)}if(f){var r=l++;o=s||(s=m()),t=x.bind(null,o,r,!1),n=x.bind(null,o,r,!0)}else o=m(),t=w.bind(null,o),n=function(){o.parentNode.removeChild(o)};return t(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;t(e=o)}else n()}}var b,y=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function x(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var a=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function w(e,t){var n=t.css,o=t.media,r=t.sourceMap;if(o&&e.setAttribute("media",o),d.ssrId&&e.setAttribute(p,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},2587:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,o,r){n=n||"&",o=o||"=";var a={};if("string"!=typeof e||0===e.length)return a;var i=/\+/g;e=e.split(n);var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,d,p,f,v=e[c].replace(i,"%20"),g=v.indexOf(o);g>=0?(u=v.substr(0,g),d=v.substr(g+1)):(u=v,d=""),p=decodeURIComponent(u),f=decodeURIComponent(d),t(a,p)?Array.isArray(a[p])?a[p].push(f):a[p]=[a[p],f]:a[p]=f}return a}},2361:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,o,r){return n=n||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var a=encodeURIComponent(t(r))+o;return Array.isArray(e[r])?e[r].map((function(e){return a+encodeURIComponent(t(e))})).join(n):a+encodeURIComponent(t(e[r]))})).join(n):r?encodeURIComponent(t(r))+o+encodeURIComponent(t(e)):""}},7673:(e,t,n)=>{"use strict";n(2587),t.stringify=n(2361)}},t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.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";const e=document.createElement("div");e.className="iciba-root",document.body.appendChild(e);const t=(()=>{let t;return t=e.attachShadow?e.attachShadow({mode:"open"}):e.createShadowRoot(),t})();var o=n(2762),a=n.n(o),i=n(1128),s=n.n(i),l=n(5843),c=n.n(l),u=n(6295),d=n.n(u),p=n(2991),f=n.n(p),v=n(3978),g=n.n(v),m=n(8580),h=n.n(m),b=n(7673),y=n(7149),x=n.n(y),w=n(116),_=n.n(w),k=n(4198),S=n.n(k),T=n(62),O=n.n(T),C=n(3032),A=n.n(C),E=n(4494),L=n.n(E),I=n(3476),M=n.n(I),U=n(9340),z=n.n(U),R=n(4473),N=n.n(R),D=n(8914),P=n.n(D),V=n(9291),G=n.n(V),j=n(455),B=n.n(j),H=n(7766),F=n.n(H),Y=(n(8705),n(1331),n(555),n(9731),n(4341)),q=n(9392),$=n.n(q),W=(n(6495),n(5683)),K=(n(8083),n(8587),n(2535),n(3064),n(6880),n(431),n(3664),n(1511)),X=n.n(K),Z=(n(3132),n(3018),n(593),n(715),n(5423),n(6780),n(7763),n(1658),n(8743),n(3607),n(2826),n(2011),n(8553),n(8184),n(1157),n(9755),n(1540),n(9193),n(678),n(2581),n(3719),n(2380),n(3649)),J=n.n(Z);function Q(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const ee=Q("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const te="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ne=Q(te);function oe(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=oe(Te(o)?ie(o):o);if(r)for(const e in r)t[e]=r[e]}return t}if(Ce(e))return e}const re=/;(?![^(]*\))/g,ae=/:(.+)/;function ie(e){const t={};return e.split(re).forEach(e=>{if(e){const n=e.split(ae);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function se(e){let t="";if(Te(e))t=e;else if(we(e))for(let n=0;n<e.length;n++)t+=se(e[n])+" ";else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const le=e=>null==e?"":Ce(e)?JSON.stringify(e,ce,2):String(e),ce=(e,t)=>_e(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:ke(t)?{[`Set(${t.size})`]:[...t.values()]}:!Ce(t)||we(t)||Ie(t)?t:String(t),ue={},de=[],pe=()=>{},fe=()=>!1,ve=/^on[^a-z]/,ge=e=>ve.test(e),me=e=>e.startsWith("onUpdate:"),he=Object.assign,be=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ye=Object.prototype.hasOwnProperty,xe=(e,t)=>ye.call(e,t),we=Array.isArray,_e=e=>"[object Map]"===Le(e),ke=e=>"[object Set]"===Le(e),Se=e=>"function"==typeof e,Te=e=>"string"==typeof e,Oe=e=>"symbol"==typeof e,Ce=e=>null!==e&&"object"==typeof e,Ae=e=>Ce(e)&&Se(e.then)&&Se(e.catch),Ee=Object.prototype.toString,Le=e=>Ee.call(e),Ie=e=>"[object Object]"===Le(e),Me=e=>Te(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Ue=Q("key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ze=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Re=/-(\w)/g,Ne=ze(e=>e.replace(Re,(e,t)=>t?t.toUpperCase():"")),De=/\B([A-Z])/g,Pe=ze(e=>e.replace(De,"-$1").toLowerCase()),Ve=ze(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ge=(e,t)=>e!==t&&(e==e||t==t),je=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Be=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},He=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fe;const Ye=()=>Fe||(Fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),qe=new WeakMap,$e=[];let We;const Ke=Symbol(""),Xe=Symbol("");function Ze(e,t=ue){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!$e.includes(n)){et(n);try{return rt(),$e.push(n),We=n,e()}finally{$e.pop(),at(),We=$e[$e.length-1]}}};return n.id=Qe++,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function Je(e){e.active&&(et(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let Qe=0;function et(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let tt=!0;const nt=[];function ot(){nt.push(tt),tt=!1}function rt(){nt.push(tt),tt=!0}function at(){const e=nt.pop();tt=void 0===e||e}function it(e,t,n){if(!tt||void 0===We)return;let o=qe.get(e);o||qe.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(We)||(r.add(We),We.deps.push(r))}function st(e,t,n,o,r,a){const i=qe.get(e);if(!i)return;const s=new Set,l=e=>{e&&e.forEach(e=>{(e!==We||e.options.allowRecurse)&&s.add(e)})};if("clear"===t)i.forEach(l);else if("length"===n&&we(e))i.forEach((e,t)=>{("length"===t||t>=o)&&l(e)});else switch(void 0!==n&&l(i.get(n)),t){case"add":we(e)?Me(n)&&l(i.get("length")):(l(i.get(Ke)),_e(e)&&l(i.get(Xe)));break;case"delete":we(e)||(l(i.get(Ke)),_e(e)&&l(i.get(Xe)));break;case"set":_e(e)&&l(i.get(Ke))}s.forEach(e=>{e.options.scheduler?e.options.scheduler(e):e()})}const lt=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Oe)),ct=vt(),ut=vt(!1,!0),dt=vt(!0),pt=vt(!0,!0),ft={};function vt(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?jt:Gt).get(n))return n;const a=we(n);if(a&&xe(ft,o))return Reflect.get(ft,o,r);const i=Reflect.get(n,o,r);if(Oe(o)?lt.has(o):"__proto__"===o||"__v_isRef"===o)return i;if(e||it(n,0,o),t)return i;if(Zt(i)){return!a||!Me(o)?i.value:i}return Ce(i)?e?Ft(i):Ht(i):i}}["includes","indexOf","lastIndexOf"].forEach(e=>{const t=Array.prototype[e];ft[e]=function(...e){const n=Kt(this);for(let e=0,t=this.length;e<t;e++)it(n,0,e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(Kt)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{const t=Array.prototype[e];ft[e]=function(...e){ot();const n=t.apply(this,e);return rt(),n}});function gt(e=!1){return function(t,n,o,r){const a=t[n];if(!e&&(o=Kt(o),!we(t)&&Zt(a)&&!Zt(o)))return a.value=o,!0;const i=we(t)&&Me(n)?Number(n)<t.length:xe(t,n),s=Reflect.set(t,n,o,r);return t===Kt(r)&&(i?Ge(o,a)&&st(t,"set",n,o):st(t,"add",n,o)),s}}const mt={get:ct,set:gt(),deleteProperty:function(e,t){const n=xe(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&st(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return Oe(t)&&lt.has(t)||it(e,0,t),n},ownKeys:function(e){return it(e,0,Ke),Reflect.ownKeys(e)}},ht={get:dt,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},bt=he({},mt,{get:ut,set:gt(!0)}),yt=(he({},ht,{get:pt}),e=>Ce(e)?Ht(e):e),xt=e=>Ce(e)?Ft(e):e,wt=e=>e,_t=e=>Reflect.getPrototypeOf(e);function kt(e,t,n=!1,o=!1){const r=Kt(e=e.__v_raw),a=Kt(t);t!==a&&!n&&it(r,0,t),!n&&it(r,0,a);const{has:i}=_t(r),s=n?xt:o?wt:yt;return i.call(r,t)?s(e.get(t)):i.call(r,a)?s(e.get(a)):void 0}function St(e,t=!1){const n=this.__v_raw,o=Kt(n),r=Kt(e);return e!==r&&!t&&it(o,0,e),!t&&it(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Tt(e,t=!1){return e=e.__v_raw,!t&&it(Kt(e),0,Ke),Reflect.get(e,"size",e)}function Ot(e){e=Kt(e);const t=Kt(this),n=_t(t).has.call(t,e),o=t.add(e);return n||st(t,"add",e,e),o}function Ct(e,t){t=Kt(t);const n=Kt(this),{has:o,get:r}=_t(n);let a=o.call(n,e);a||(e=Kt(e),a=o.call(n,e));const i=r.call(n,e),s=n.set(e,t);return a?Ge(t,i)&&st(n,"set",e,t):st(n,"add",e,t),s}function At(e){const t=Kt(this),{has:n,get:o}=_t(t);let r=n.call(t,e);r||(e=Kt(e),r=n.call(t,e));o&&o.call(t,e);const a=t.delete(e);return r&&st(t,"delete",e,void 0),a}function Et(){const e=Kt(this),t=0!==e.size,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Lt(e,t){return function(n,o){const r=this,a=r.__v_raw,i=Kt(a),s=e?xt:t?wt:yt;return!e&&it(i,0,Ke),a.forEach((e,t)=>n.call(o,s(e),s(t),r))}}function It(e,t,n){return function(...o){const r=this.__v_raw,a=Kt(r),i=_e(a),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=r[e](...o),u=t?xt:n?wt:yt;return!t&&it(a,0,l?Xe:Ke),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Mt(e){return function(...t){return"delete"!==e&&this}}const Ut={get(e){return kt(this,e)},get size(){return Tt(this)},has:St,add:Ot,set:Ct,delete:At,clear:Et,forEach:Lt(!1,!1)},zt={get(e){return kt(this,e,!1,!0)},get size(){return Tt(this)},has:St,add:Ot,set:Ct,delete:At,clear:Et,forEach:Lt(!1,!0)},Rt={get(e){return kt(this,e,!0)},get size(){return Tt(this,!0)},has(e){return St.call(this,e,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:Lt(!0,!1)};function Nt(e,t){const n=t?zt:e?Rt:Ut;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(xe(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach(e=>{Ut[e]=It(e,!1,!1),Rt[e]=It(e,!0,!1),zt[e]=It(e,!1,!0)});const Dt={get:Nt(!1,!1)},Pt={get:Nt(!1,!0)},Vt={get:Nt(!0,!1)};const Gt=new WeakMap,jt=new WeakMap;function Bt(e){return e.__v_skip||!Object.isExtensible(e)?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=>Le(e).slice(8,-1))(e))}function Ht(e){return e&&e.__v_isReadonly?e:Yt(e,!1,mt,Dt)}function Ft(e){return Yt(e,!0,ht,Vt)}function Yt(e,t,n,o){if(!Ce(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=t?jt:Gt,a=r.get(e);if(a)return a;const i=Bt(e);if(0===i)return e;const s=new Proxy(e,2===i?o:n);return r.set(e,s),s}function qt(e){return $t(e)?qt(e.__v_raw):!(!e||!e.__v_isReactive)}function $t(e){return!(!e||!e.__v_isReadonly)}function Wt(e){return qt(e)||$t(e)}function Kt(e){return e&&Kt(e.__v_raw)||e}const Xt=e=>Ce(e)?Ht(e):e;function Zt(e){return Boolean(e&&!0===e.__v_isRef)}function Jt(e){return en(e)}class Qt{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:Xt(e)}get value(){return it(Kt(this),0,"value"),this._value}set value(e){Ge(Kt(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:Xt(e),st(Kt(this),"set","value",e))}}function en(e,t=!1){return Zt(e)?e:new Qt(e,t)}const tn={get:(e,t,n)=>function(e){return Zt(e)?e.value:e}(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Zt(r)&&!Zt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};class nn{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=Ze(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,st(Kt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),it(Kt(this),0,"value"),this._value}set value(e){this._setter(e)}}function on(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){an(e,t,n)}return r}function rn(e,t,n,o){if(Se(e)){const r=on(e,t,n,o);return r&&Ae(r)&&r.catch(e=>{an(e,t,n)}),r}const r=[];for(let a=0;a<e.length;a++)r.push(rn(e[a],t,n,o));return r}function an(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,a=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(t[n](e,r,a))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void on(i,null,10,[e,r,a])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let sn=!1,ln=!1;const cn=[];let un=0;const dn=[];let pn=null,fn=0;const vn=[];let gn=null,mn=0;const hn=Promise.resolve();let bn=null,yn=null;function xn(e){const t=bn||hn;return e?t.then(e):t}function wn(e){cn.length&&cn.includes(e,sn&&e.allowRecurse?un+1:un)||e===yn||(cn.push(e),_n())}function _n(){sn||ln||(ln=!0,bn=hn.then(An))}function kn(e,t,n,o){we(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),_n()}function Sn(e){kn(e,gn,vn,mn)}function Tn(e,t=null){if(dn.length){for(yn=t,pn=[...new Set(dn)],dn.length=0,fn=0;fn<pn.length;fn++)pn[fn]();pn=null,fn=0,yn=null,Tn(e,t)}}function On(e){if(vn.length){const e=[...new Set(vn)];if(vn.length=0,gn)return void gn.push(...e);for(gn=e,gn.sort((e,t)=>Cn(e)-Cn(t)),mn=0;mn<gn.length;mn++)gn[mn]();gn=null,mn=0}}const Cn=e=>null==e.id?1/0:e.id;function An(e){ln=!1,sn=!0,Tn(e),cn.sort((e,t)=>Cn(e)-Cn(t));try{for(un=0;un<cn.length;un++){const e=cn[un];e&&on(e,null,14)}}finally{un=0,cn.length=0,On(),sn=!1,bn=null,(cn.length||vn.length)&&An(e)}}new Set;new Map;let En;const Ln=Un("component:added"),In=Un("component:updated"),Mn=Un("component:removed");function Un(e){return t=>{En&&En.emit(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0)}}function zn(e,t,...n){const o=e.vnode.props||ue;__VUE_PROD_DEVTOOLS__&&function(e,t,n){En&&En.emit("component:emit",e.appContext.app,e,t,n)}(e,t,n);let r="on"+Ve(t),a=o[r];if(!a&&t.startsWith("update:")&&(r="on"+Ve(Pe(t)),a=o[r]),!a)if(a=o[r+"Once"],e.emitted){if(e.emitted[r])return}else(e.emitted={})[r]=!0;a&&rn(a,e,6,n)}function Rn(e,t,n=!1){const o=t.app?t.app._uid:-1,r=e.__emits||(e.__emits={}),a=r[o];if(void 0!==a)return a;const i=e.emits;let s={},l=!1;if(__VUE_OPTIONS_API__&&!Se(e)){const o=e=>{l=!0,he(s,Rn(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||l?(we(i)?i.forEach(e=>s[e]=null):he(s,i),r[o]=s):r[o]=null}function Nn(e,t){return!(!e||!ge(t))&&(t=t.replace(/Once$/,""),xe(e,t[2].toLowerCase()+t.slice(3))||xe(e,t.slice(2)))}let Dn=null;function Pn(e){Dn=e}function Vn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:v}=e;let g;Dn=e;try{let e;if(4&n.shapeFlag){const t=r||o;g=Lo(u.call(t,t,d,a,f,p,v)),e=l}else{const n=t;0,g=Lo(n.length>1?n(a,{attrs:l,slots:s,emit:c}):n(a,null)),e=t.props?l:jn(l)}let m=g;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=m;t.length&&(1&n||6&n)&&(i&&t.some(me)&&(e=Bn(e,i)),m=Oo(m,e))}n.dirs&&(m.dirs=n.dirs),n.transition&&(m.transition=n.transition),g=m}catch(t){an(t,e,1),g=So(uo)}return Dn=null,g}function Gn(e){const t=e.filter(e=>!(yo(e)&&e.type===uo&&"v-if"!==e.children));return 1===t.length&&yo(t[0])?t[0]:null}const jn=e=>{let t;for(const n in e)("class"===n||"style"===n||ge(n))&&((t||(t={}))[n]=e[n]);return t},Bn=(e,t)=>{const n={};for(const o in e)me(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Hn(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 a=o[r];if(t[a]!==e[a]&&!Nn(n,a))return!0}return!1}function Fn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}function Yn(e){if(Se(e)&&(e=e()),we(e)){0,e=Gn(e)}return Lo(e)}function qn(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):Sn(e)}let $n=0;const Wn=e=>$n+=e;function Kn(e,t,n={},o){let r=e[t];$n++;const a=(go(),bo(lo,{key:n.key},r?r(n):o?o():[],1===e._?64:-2));return $n--,a}function Xn(e,t=Dn){if(!t)return e;const n=(...n)=>{$n||go(!0);const o=Dn;Pn(t);const r=e(...n);return Pn(o),$n||mo(),r};return n._c=!0,n}let Zn=null;const Jn=[];function Qn(e){Jn.push(Zn=e)}function eo(){Jn.pop(),Zn=Jn[Jn.length-1]||null}function to(e){return t=>Xn((function(){Qn(e);const n=t.apply(this,arguments);return eo(),n}))}const no="components";function oo(e){return io(no,e)||e}const ro=Symbol();function ao(e){return io("directives",e)}function io(e,t,n=!0){const o=Dn||Xr;if(o){const n=o.type;if(e===no){const e=n.displayName||n.name;if(e&&(e===t||e===Ne(t)||e===Ve(Ne(t))))return n}return so(o[e]||n[e],t)||so(o.appContext[e],t)}}function so(e,t){return e&&(e[t]||e[Ne(t)]||e[Ve(Ne(t))])}const lo=Symbol(void 0),co=Symbol(void 0),uo=Symbol(void 0),po=Symbol(void 0),fo=[];let vo=null;function go(e=!1){fo.push(vo=e?null:[])}function mo(){fo.pop(),vo=fo[fo.length-1]||null}let ho=1;function bo(e,t,n,o,r){const a=So(e,t,n,o,r,!0);return a.dynamicChildren=vo||de,mo(),ho>0&&vo&&vo.push(a),a}function yo(e){return!!e&&!0===e.__v_isVNode}function xo(e,t){return e.type===t.type&&e.key===t.key}const wo="__vInternal",_o=({key:e})=>null!=e?e:null,ko=({ref:e})=>null!=e?we(e)?e:{i:Dn,r:e}:null,So=To;function To(e,t=null,n=null,o=0,r=null,a=!1){if(e&&e!==ro||(e=uo),yo(e)){const o=Oo(e,t,!0);return n&&Mo(o,n),o}if(ra(e)&&(e=e.__vccOpts),t){(Wt(t)||wo in t)&&(t=he({},t));let{class:e,style:n}=t;e&&!Te(e)&&(t.class=se(e)),Ce(n)&&(Wt(n)&&!we(n)&&(n=he({},n)),t.style=oe(n))}const i=Te(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Ce(e)?4:Se(e)?2:0;const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_o(t),ref:t&&ko(t),scopeId:Zn,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};if(Mo(s,n),128&i){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=Yn(n.default),r=Yn(n.fallback)):(o=Yn(n),r=Lo(null)),{content:o,fallback:r}}(s);s.ssContent=e,s.ssFallback=t}return ho>0&&!a&&vo&&(o>0||6&i)&&32!==o&&vo.push(s),s}function Oo(e,t,n=!1){const{props:o,ref:r,patchFlag:a}=e,i=t?Uo(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&_o(i),ref:t&&t.ref?n&&r?we(r)?r.concat(ko(t)):[r,ko(t)]:ko(t):r,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==lo?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oo(e.ssContent),ssFallback:e.ssFallback&&Oo(e.ssFallback),el:e.el,anchor:e.anchor}}function Co(e=" ",t=0){return So(co,null,e,t)}function Ao(e,t){const n=So(po,null,e);return n.staticCount=t,n}function Eo(e="",t=!1){return t?(go(),bo(uo,null,e)):So(uo,null,e)}function Lo(e){return null==e||"boolean"==typeof e?So(uo):we(e)?So(lo,null,e):"object"==typeof e?null===e.el?e:Oo(e):So(co,null,String(e))}function Io(e){return null===e.el?e:Oo(e)}function Mo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(we(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Wn(1),Mo(e,n()),n._c&&Wn(-1)))}{n=32;const o=t._;o||wo in t?3===o&&Dn&&(1024&Dn.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Dn}}else Se(t)?(t={default:t,_ctx:Dn},n=32):(t=String(t),64&o?(n=16,t=[Co(t)]):n=8);e.children=t,e.shapeFlag|=n}function Uo(...e){const t=he({},e[0]);for(let n=1;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=se([t.class,o.class]));else if("style"===e)t.style=oe([t.style,o.style]);else if(ge(e)){const n=t[e],r=o[e];n!==r&&(t[e]=n?[].concat(n,o[e]):r)}else t[e]=o[e]}return t}function zo(e,t,n,o=!1){const r={},a={};Be(a,wo,1),Ro(e,t,r,a),n?e.props=o?r:Yt(r,!1,bt,Pt):e.type.props?e.props=r:e.props=a,e.attrs=a}function Ro(e,t,n,o){const[r,a]=e.propsOptions;if(t)for(const a in t){const i=t[a];if(Ue(a))continue;let s;r&&xe(r,s=Ne(a))?n[s]=i:Nn(e.emitsOptions,a)||(o[a]=i)}if(a){const t=Kt(n);for(let o=0;o<a.length;o++){const i=a[o];n[i]=No(r,t,i,t[i],e)}}}function No(e,t,n,o,r){const a=e[n];if(null!=a){const e=xe(a,"default");if(e&&void 0===o){const e=a.default;a.type!==Function&&Se(e)?(Jr(r),o=e(t),Jr(null)):o=e}a[0]&&(xe(t,n)||e?!a[1]||""!==o&&o!==Pe(n)||(o=!0):o=!1)}return o}function Do(e,t,n=!1){const o=t.app?t.app._uid:-1,r=e.__props||(e.__props={}),a=r[o];if(a)return a;const i=e.props,s={},l=[];let c=!1;if(__VUE_OPTIONS_API__&&!Se(e)){const o=e=>{c=!0;const[n,o]=Do(e,t,!0);he(s,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!c)return r[o]=de;if(we(i))for(let e=0;e<i.length;e++){0;const t=Ne(i[e]);jo(t)&&(s[t]=ue)}else if(i){0;for(const e in i){const t=Ne(e);if(jo(t)){const n=i[e],o=s[t]=we(n)||Se(n)?{type:n}:n;if(o){const e=Go(Boolean,o.type),n=Go(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||xe(o,"default"))&&l.push(t)}}}}return r[o]=[s,l]}function Po(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Vo(e,t){return Po(e)===Po(t)}function Go(e,t){if(we(t)){for(let n=0,o=t.length;n<o;n++)if(Vo(t[n],e))return n}else if(Se(t))return Vo(t,e)?0:-1;return-1}function jo(e){return"$"!==e[0]}function Bo(e,t,n=Xr,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ot(),Jr(n);const r=rn(t,n,e,o);return Jr(null),at(),r});return o?r.unshift(a):r.push(a),a}}const Ho=e=>(t,n=Xr)=>!ea&&Bo(e,t,n),Fo=Ho("bm"),Yo=Ho("m"),qo=Ho("bu"),$o=Ho("u"),Wo=Ho("bum"),Ko=Ho("um"),Xo=Ho("rtg"),Zo=Ho("rtc");function Jo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yo(()=>{e.isMounted=!0}),Wo(()=>{e.isUnmounting=!0}),e}const Qo=[Function,Array],er={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Qo,onEnter:Qo,onAfterEnter:Qo,onEnterCancelled:Qo,onBeforeLeave:Qo,onLeave:Qo,onAfterLeave:Qo,onLeaveCancelled:Qo,onBeforeAppear:Qo,onAppear:Qo,onAfterAppear:Qo,onAppearCancelled:Qo},setup(e,{slots:t}){const n=Zr(),o=Jo();let r;return()=>{const a=t.default&&ir(t.default(),!0);if(!a||!a.length)return;const i=Kt(e),{mode:s}=i;const l=a[0];if(o.isLeaving)return or(l);const c=rr(l);if(!c)return or(l);const u=nr(c,i,o,n);ar(c,u);const d=n.subTree,p=d&&rr(d);let f=!1;const{getTransitionKey:v}=c.type;if(v){const e=v();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==uo&&(!xo(c,p)||f)){const e=nr(p,i,o,n);if(ar(p,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},or(l);"in-out"===s&&(e.delayLeave=(e,t,n)=>{tr(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return l}}};function tr(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 nr(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:g,onAppear:m,onAfterAppear:h,onAppearCancelled:b}=t,y=String(e.key),x=tr(n,e),w=(e,t)=>{e&&rn(e,o,9,t)},_={mode:a,persisted:i,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=g||s}t._leaveCb&&t._leaveCb(!0);const a=x[y];a&&xo(e,a)&&a.el._leaveCb&&a.el._leaveCb(),w(o,[t])},enter(e){let t=l,o=c,a=u;if(!n.isMounted){if(!r)return;t=m||l,o=h||c,a=b||u}let i=!1;const s=e._enterCb=t=>{i||(i=!0,w(t?a:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,s),t.length<=1&&s()):s()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let a=!1;const i=t._leaveCb=n=>{a||(a=!0,o(),w(n?v:f,[t]),t._leaveCb=void 0,x[r]===e&&delete x[r])};x[r]=e,p?(p(t,i),p.length<=1&&i()):i()},clone:e=>nr(e,t,n,o)};return _}function or(e){if(sr(e))return(e=Oo(e)).children=null,e}function rr(e){return sr(e)?e.children?e.children[0]:void 0:e}function ar(e,t){6&e.shapeFlag&&e.component?ar(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 ir(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const a=e[r];a.type===lo?(128&a.patchFlag&&o++,n=n.concat(ir(a.children,t))):(t||a.type!==uo)&&n.push(a)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}const sr=e=>e.type.__isKeepAlive;RegExp,RegExp;function lr(e){return e.displayName||e.name}function cr(e,t){return we(e)?e.some(e=>cr(e,t)):Te(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function ur(e,t,n=Xr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Bo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)sr(e.parent.vnode)&&dr(o,t,n,e),e=e.parent}}function dr(e,t,n,o){const r=Bo(t,e,o,!0);Ko(()=>{be(o[t],r)},n)}function pr(e){let t=e.shapeFlag;256&t&&256,512&t&&512,e.shapeFlag=t}function fr(e){return 128&e.shapeFlag?e.ssContent:e}const vr=e=>"_"===e[0]||"$stable"===e,gr=e=>we(e)?e.map(Lo):[Lo(e)],mr=(e,t,n)=>Xn(e=>gr(t(e)),n),hr=(e,t)=>{const n=e._ctx;for(const o in e){if(vr(o))continue;const r=e[o];if(Se(r))t[o]=mr(0,r,n);else if(null!=r){0;const e=gr(r);t[o]=()=>e}}},br=(e,t)=>{const n=gr(t);e.slots.default=()=>n};function yr(e,t){if(null===Dn)return e;const n=Dn.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,a,i,s=ue]=t[e];Se(r)&&(r={mounted:r,updated:r}),o.push({dir:r,instance:n,value:a,oldValue:void 0,arg:i,modifiers:s})}return e}function xr(e,t,n,o){const r=e.dirs,a=t&&t.dirs;for(let i=0;i<r.length;i++){const s=r[i];a&&(s.oldValue=a[i].value);const l=s.dir[o];l&&rn(l,n,8,[e.el,s,e,t])}}function wr(){return{app:null,config:{isNativeTag:fe,performance:!1,globalProperties:{},optionMergeStrategies:{},isCustomElement:fe,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:Object.create(null)}}let _r=0;function kr(e,t){return function(n,o=null){null==o||Ce(o)||(o=null);const r=wr(),a=new Set;let i=!1;const s=r.app={_uid:_r++,_component:n,_props:o,_container:null,_context:r,version:ca,get config(){return r.config},set config(e){0},use:(e,...t)=>(a.has(e)||(e&&Se(e.install)?(a.add(e),e.install(s,...t)):Se(e)&&(a.add(e),e(s,...t))),s),mixin:e=>(__VUE_OPTIONS_API__&&(r.mixins.includes(e)||r.mixins.push(e)),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(a,l){if(!i){const c=So(n,o);return c.appContext=r,l&&t?t(c,a):e(c,a),i=!0,s._container=a,a.__vue_app__=s,__VUE_PROD_DEVTOOLS__&&function(e,t){En&&En.emit("app:init",e,t,{Fragment:lo,Text:co,Comment:uo,Static:po})}(s,ca),c.component.proxy}},unmount(){i&&(e(null,s._container),__VUE_PROD_DEVTOOLS__&&function(e){En&&En.emit("app:unmount",e)}(s))},provide:(e,t)=>(r.provides[e]=t,s)};return s}}const Sr={scheduler:wn,allowRecurse:!0};const Tr=qn,Or=(e,t,n,o,r)=>{if(we(e))return void e.forEach((e,a)=>Or(e,t&&(we(t)?t[a]:t),n,o,r));let a;a=r?4&r.shapeFlag?r.component.proxy:r.el:null;const{i,r:s}=e;const l=t&&t.r,c=i.refs===ue?i.refs={}:i.refs,u=i.setupState;if(null!=l&&l!==s&&(Te(l)?(c[l]=null,xe(u,l)&&(u[l]=null)):Zt(l)&&(l.value=null)),Te(s)){const e=()=>{c[s]=a,xe(u,s)&&(u[s]=a)};a?(e.id=-1,Tr(e,o)):e()}else if(Zt(s)){const e=()=>{s.value=a};a?(e.id=-1,Tr(e,o)):e()}else Se(s)&&on(s,n,12,[a,c])};function Cr(e,t){!function(){let e=!1;"boolean"!=typeof __VUE_OPTIONS_API__&&(e=!0,Ye().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(e=!0,Ye().__VUE_PROD_DEVTOOLS__=!1)}();const{insert:n,remove:o,patchProp:r,forcePatchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=pe,cloneNode:v,insertStaticContent:g}=e,m=(e,t,n,o=null,r=null,a=null,i=!1,s=!1)=>{e&&!xo(e,t)&&(o=B(e),D(e,r,a,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:l,ref:c,shapeFlag:u}=t;switch(l){case co:h(e,t,n,o);break;case uo:b(e,t,n,o);break;case po:null==e&&y(t,n,o,i);break;case lo:C(e,t,n,o,r,a,i,s);break;default:1&u?x(e,t,n,o,r,a,i,s):6&u?A(e,t,n,o,r,a,i,s):(64&u||128&u)&&l.process(e,t,n,o,r,a,i,s,Y)}null!=c&&r&&Or(c,e&&e.ref,r,a,t)},h=(e,t,o,r)=>{if(null==e)n(t.el=s(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},b=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},y=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o)},x=(e,t,n,o,r,a,i,s)=>{i=i||"svg"===t.type,null==e?w(t,n,o,r,a,i,s):S(e,t,r,a,i,s)},w=(e,t,o,a,s,l,c)=>{let d,p;const{type:f,props:g,shapeFlag:m,transition:h,scopeId:b,patchFlag:y,dirs:x}=e;if(e.el&&void 0!==v&&-1===y)d=e.el=v(e.el);else{if(d=e.el=i(e.type,l,g&&g.is),8&m?u(d,e.children):16&m&&k(e.children,d,null,a,s,l&&"foreignObject"!==f,c||!!e.dynamicChildren),x&&xr(e,null,a,"created"),g){for(const t in g)Ue(t)||r(d,t,null,g[t],l,e.children,a,s,j);(p=g.onVnodeBeforeMount)&&Ar(p,a,e)}_(d,b,e,a)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(d,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(d,"__vueParentComponent",{value:a,enumerable:!1})),x&&xr(e,null,a,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&h&&!h.persisted;w&&h.beforeEnter(d),n(d,t,o),((p=g&&g.onVnodeMounted)||w||x)&&Tr(()=>{p&&Ar(p,a,e),w&&h.enter(d),x&&xr(e,null,a,"mounted")},s)},_=(e,t,n,o)=>{if(t&&f(e,t),o){const r=o.type.__scopeId;r&&r!==t&&f(e,r+"-s"),0,n===o.subTree&&_(e,o.vnode.scopeId,o.vnode,o.parent)}},k=(e,t,n,o,r,a,i,s=0)=>{for(let l=s;l<e.length;l++){const s=e[l]=i?Io(e[l]):Lo(e[l]);m(null,s,t,n,o,r,a,i)}},S=(e,t,n,o,i,s)=>{const l=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:p}=t;c|=16&e.patchFlag;const f=e.props||ue,v=t.props||ue;let g;if((g=v.onVnodeBeforeUpdate)&&Ar(g,n,t,e),p&&xr(t,e,n,"beforeUpdate"),c>0){if(16&c)O(l,t,f,v,n,o,i);else if(2&c&&f.class!==v.class&&r(l,"class",null,v.class,i),4&c&&r(l,"style",f.style,v.style,i),8&c){const s=t.dynamicProps;for(let t=0;t<s.length;t++){const c=s[t],u=f[c],d=v[c];(d!==u||a&&a(l,c))&&r(l,c,u,d,i,e.children,n,o,j)}}1&c&&e.children!==t.children&&u(l,t.children)}else s||null!=d||O(l,t,f,v,n,o,i);const m=i&&"foreignObject"!==t.type;d?T(e.dynamicChildren,d,l,n,o,m):s||U(e,t,l,null,n,o,m),((g=v.onVnodeUpdated)||p)&&Tr(()=>{g&&Ar(g,n,t,e),p&&xr(t,e,n,"updated")},o)},T=(e,t,n,o,r,a)=>{for(let i=0;i<t.length;i++){const s=e[i],l=t[i],c=s.type===lo||!xo(s,l)||6&s.shapeFlag||64&s.shapeFlag?d(s.el):n;m(s,l,c,null,o,r,a,!0)}},O=(e,t,n,o,i,s,l)=>{if(n!==o){for(const c in o){if(Ue(c))continue;const u=o[c],d=n[c];(u!==d||a&&a(e,c))&&r(e,c,d,u,l,t.children,i,s,j)}if(n!==ue)for(const a in n)Ue(a)||a in o||r(e,a,n[a],null,l,t.children,i,s,j)}},C=(e,t,o,r,a,i,l,c)=>{const u=t.el=e?e.el:s(""),d=t.anchor=e?e.anchor:s("");let{patchFlag:p,dynamicChildren:f}=t;p>0&&(c=!0),null==e?(n(u,o,r),n(d,o,r),k(t.children,o,d,a,i,l,c)):p>0&&64&p&&f?(T(e.dynamicChildren,f,o,a,i,l),(null!=t.key||a&&t===a.subTree)&&H(e,t,!0)):U(e,t,o,d,a,i,l,c)},A=(e,t,n,o,r,a,i,s)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,s):E(t,n,o,r,a,i,s):L(e,t,s)},E=(e,t,n,o,r,a,i)=>{const s=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Wr,a={uid:Kr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Do(o,r),emitsOptions:Rn(o,r),emit:null,emitted:null,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,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};a.ctx={_:a};a.root=t?t.root:a,a.emit=zn.bind(null,a),__VUE_PROD_DEVTOOLS__&&Ln(a);return a}(e,o,r);if(sr(e)&&(s.ctx.renderer=Y),function(e,t=!1){ea=t;const{props:n,children:o,shapeFlag:r}=e.vnode,a=4&r;zo(e,n,a,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,Be(t,"_",n)):hr(t,e.slots={})}else e.slots={},t&&br(e,t);Be(e.slots,wo,1)})(e,o);const i=a?function(e,t){const n=e.type;0;e.accessCache={},e.proxy=new Proxy(e.ctx,qr),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){return{attrs:e.attrs,slots:e.slots,emit:e.emit}}(e):null;Xr=e,ot();const r=on(o,e,0,[e.props,n]);if(at(),Xr=null,Ae(r)){if(t)return r.then(t=>{ta(e,t)});e.asyncDep=r}else ta(e,r)}else na(e)}(e,t):void 0;ea=!1}(s),s.asyncDep){if(r&&r.registerDep(s,I),!e.el){const e=s.subTree=So(uo);b(null,e,t,n)}}else I(s,e,t,n,r,a,i)},L=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>0))return!(!r&&!s||s&&s.$stable)||o!==i&&(o?!i||Hn(o,i,c):!!i);if(1024&l)return!0;if(16&l)return o?Hn(o,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!Nn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void M(o,t,n);o.next=t,function(e){const t=cn.indexOf(e);t>-1&&(cn[t]=null)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},I=(e,t,n,o,r,a,i)=>{e.update=Ze((function(){if(e.isMounted){let t,{next:n,bu:o,u:s,parent:l,vnode:c}=e,u=n;0,n?M(e,n,i):n=c,n.el=c.el,o&&je(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Ar(t,l,n,c);const p=Vn(e);0;const f=e.subTree;e.subTree=p,e.refs!==ue&&(e.refs={}),m(f,p,d(f.el),B(f),e,r,a),n.el=p.el,null===u&&Fn(e,p.el),s&&Tr(s,r),(t=n.props&&n.props.onVnodeUpdated)&&Tr(()=>{Ar(t,l,n,c)},r),__VUE_PROD_DEVTOOLS__&&In(e)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e;c&&je(c),(i=l&&l.onVnodeBeforeMount)&&Ar(i,d,t);const p=e.subTree=Vn(e);0,s&&$?$(t.el,p,e,r):(m(null,p,n,o,e,r,a),t.el=p.el),u&&Tr(u,r),(i=l&&l.onVnodeMounted)&&Tr(()=>{Ar(i,d,t)},r);const{a:f}=e;f&&256&t.shapeFlag&&Tr(f,r),e.isMounted=!0}}),Sr)},M=(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:a,vnode:{patchFlag:i}}=e,s=Kt(r),[l]=e.propsOptions;if(!(o||i>0)||16&i){let o;Ro(e,t,r,a);for(const a in s)t&&(xe(t,a)||(o=Pe(a))!==a&&xe(t,o))||(l?!n||void 0===n[a]&&void 0===n[o]||(r[a]=No(l,t||ue,a,void 0,e)):delete r[a]);if(a!==s)for(const e in a)t&&xe(t,e)||delete a[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){const i=n[o],c=t[i];if(l)if(xe(a,i))a[i]=c;else{const t=Ne(i);r[t]=No(l,s,t,c,e)}else a[i]=c}}st(e,"set","$attrs")}(e,t.props,o,n),((e,t)=>{const{vnode:n,slots:o}=e;let r=!0,a=ue;if(32&n.shapeFlag){const e=t._;e?1===e?r=!1:he(o,t):(r=!t.$stable,hr(t,o)),a=t}else t&&(br(e,t),a={default:1});if(r)for(const e in o)vr(e)||e in a||delete o[e]})(e,t.children),Tn(void 0,e.update)},U=(e,t,n,o,r,a,i,s=!1)=>{const l=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void R(l,d,n,o,r,a,i,s);if(256&p)return void z(l,d,n,o,r,a,i,s)}8&f?(16&c&&j(l,r,a),d!==l&&u(n,d)):16&c?16&f?R(l,d,n,o,r,a,i,s):j(l,r,a,!0):(8&c&&u(n,""),16&f&&k(d,n,o,r,a,i,s))},z=(e,t,n,o,r,a,i,s)=>{t=t||de;const l=(e=e||de).length,c=t.length,u=Math.min(l,c);let d;for(d=0;d<u;d++){const o=t[d]=s?Io(t[d]):Lo(t[d]);m(e[d],o,n,null,r,a,i,s)}l>c?j(e,r,a,!0,u):k(t,n,o,r,a,i,s,u)},R=(e,t,n,o,r,a,i,s)=>{let l=0;const c=t.length;let u=e.length-1,d=c-1;for(;l<=u&&l<=d;){const o=e[l],c=t[l]=s?Io(t[l]):Lo(t[l]);if(!xo(o,c))break;m(o,c,n,null,r,a,i,s),l++}for(;l<=u&&l<=d;){const o=e[u],l=t[d]=s?Io(t[d]):Lo(t[d]);if(!xo(o,l))break;m(o,l,n,null,r,a,i,s),u--,d--}if(l>u){if(l<=d){const e=d+1,u=e<c?t[e].el:o;for(;l<=d;)m(null,t[l]=s?Io(t[l]):Lo(t[l]),n,u,r,a,i),l++}}else if(l>d)for(;l<=u;)D(e[l],r,a,!0),l++;else{const p=l,f=l,v=new Map;for(l=f;l<=d;l++){const e=t[l]=s?Io(t[l]):Lo(t[l]);null!=e.key&&v.set(e.key,l)}let g,h=0;const b=d-f+1;let y=!1,x=0;const w=new Array(b);for(l=0;l<b;l++)w[l]=0;for(l=p;l<=u;l++){const o=e[l];if(h>=b){D(o,r,a,!0);continue}let c;if(null!=o.key)c=v.get(o.key);else for(g=f;g<=d;g++)if(0===w[g-f]&&xo(o,t[g])){c=g;break}void 0===c?D(o,r,a,!0):(w[c-f]=l+1,c>=x?x=c:y=!0,m(o,t[c],n,null,r,a,i,s),h++)}const _=y?function(e){const t=e.slice(),n=[0];let o,r,a,i,s;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(a=0,i=n.length-1;a<i;)s=(a+i)/2|0,e[n[s]]<l?a=s+1:i=s;l<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,i=n[a-1];for(;a-- >0;)n[a]=i,i=t[i];return n}(w):de;for(g=_.length-1,l=b-1;l>=0;l--){const e=f+l,s=t[e],u=e+1<c?t[e+1].el:o;0===w[l]?m(null,s,n,u,r,a,i):y&&(g<0||l!==_[g]?N(s,n,u,2):g--)}}},N=(e,t,o,r,a=null)=>{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void N(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,Y);if(s===lo){n(i,t,o);for(let e=0;e<c.length;e++)N(c[e],t,o,r);return void n(e.anchor,t,o)}if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(i),n(i,t,o),Tr(()=>l.enter(i),a);else{const{leave:e,delayLeave:r,afterLeave:a}=l,s=()=>n(i,t,o),c=()=>{e(i,()=>{s(),a&&a()})};r?r(i,s,c):c()}else n(i,t,o)},D=(e,t,n,o=!1)=>{const{type:r,props:a,ref:i,children:s,dynamicChildren:l,shapeFlag:c,patchFlag:u,dirs:d}=e;if(null!=i&&t&&Or(i,null,t,n,null),256&c)return void t.ctx.deactivate(e);const p=1&c&&d;let f;if((f=a&&a.onVnodeBeforeUnmount)&&Ar(f,t,e),6&c)G(e.component,n,o);else{if(128&c)return void e.suspense.unmount(n,o);p&&xr(e,null,t,"beforeUnmount"),l&&(r!==lo||u>0&&64&u)?j(l,t,n):16&c&&j(s,t,n),64&c&&e.type.remove(e,Y),o&&P(e)}((f=a&&a.onVnodeUnmounted)||p)&&Tr(()=>{f&&Ar(f,t,e),p&&xr(e,null,t,"unmounted")},n)},P=e=>{const{type:t,el:n,anchor:r,transition:a}=e;if(t===lo)return void V(n,r);const i=()=>{o(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:o}=a,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},V=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},G=(e,t,n)=>{const{bum:o,effects:r,update:a,subTree:i,um:s}=e;if(o&&je(o),r)for(let e=0;e<r.length;e++)Je(r[e]);a&&(Je(a),D(i,e,t,n)),s&&Tr(s,t),Tr(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&Mn(e)},j=(e,t,n,o=!1,r=0)=>{for(let a=r;a<e.length;a++)D(e[a],t,n,o)},B=e=>6&e.shapeFlag?B(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),H=(e,t,n=!1)=>{const o=e.children,r=t.children;if(we(o)&&we(r))for(let e=0;e<o.length;e++){const t=o[e],a=r[e]=Io(r[e]);1&a.shapeFlag&&!a.dynamicChildren&&((a.patchFlag<=0||32===a.patchFlag)&&(a.el=t.el),n||H(t,a))}},F=(e,t)=>{null==e?t._vnode&&D(t._vnode,null,null,!0):m(t._vnode||null,e,t),On(),t._vnode=e},Y={p:m,um:D,m:N,r:P,mt:E,mc:k,pc:U,pbc:T,n:B,o:e};let q,$;return t&&([q,$]=t(Y)),{render:F,hydrate:q,createApp:kr(F,q)}}function Ar(e,t,n,o=null){rn(e,t,7,[n,o])}const Er={};function Lr(e,t,n){return Ir(e,t,n)}function Ir(e,t,{immediate:n,deep:o,flush:r,onTrack:a,onTrigger:i}=ue,s=Xr){let l;const c=Zt(e);if(c?l=()=>e.value:qt(e)?(l=()=>e,o=!0):l=we(e)?()=>e.map(e=>Zt(e)?e.value:qt(e)?Ur(e):Se(e)?on(e,s,2):void 0):Se(e)?t?()=>on(e,s,2):()=>{if(!s||!s.isUnmounted)return u&&u(),on(e,s,3,[d])}:pe,t&&o){const e=l;l=()=>Ur(e())}let u;const d=e=>{u=g.options.onStop=()=>{on(e,s,4)}};let p=we(e)?[]:Er;const f=()=>{if(g.active)if(t){const e=g();(o||c||Ge(e,p))&&(u&&u(),rn(t,s,3,[e,p===Er?void 0:p,d]),p=e)}else g()};let v;f.allowRecurse=!!t,v="sync"===r?f:"post"===r?()=>Tr(f,s&&s.suspense):()=>{!s||s.isMounted?function(e){kn(e,pn,dn,fn)}(f):f()};const g=Ze(l,{lazy:!0,onTrack:a,onTrigger:i,scheduler:v});return oa(g),t?n?f():p=g():"post"===r?Tr(g,s&&s.suspense):g(),()=>{Je(g),s&&be(s.effects,g)}}function Mr(e,t,n){const o=this.proxy;return Ir(Te(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Ur(e,t=new Set){if(!Ce(e)||t.has(e))return e;if(t.add(e),Zt(e))Ur(e.value,t);else if(we(e))for(let n=0;n<e.length;n++)Ur(e[n],t);else if(_e(e))e.forEach((n,o)=>{Ur(e.get(o),t)});else if(ke(e))e.forEach(e=>{Ur(e,t)});else for(const n in e)Ur(e[n],t);return e}function zr(e,t){if(Xr){let n=Xr.provides;const o=Xr.parent&&Xr.parent.provides;o===n&&(n=Xr.provides=Object.create(o)),n[e]=t}else 0}function Rr(e,t,n=!1){const o=Xr||Dn;if(o){const r=o.provides;if(e in r)return r[e];if(arguments.length>1)return n&&Se(t)?t():t}else 0}let Nr=!1;function Dr(e,t,n=[],o=[],r=!1){const{mixins:a,extends:i,data:s,computed:l,methods:c,watch:u,provide:d,inject:p,components:f,directives:v,beforeMount:g,mounted:m,beforeUpdate:h,updated:b,activated:y,deactivated:x,beforeDestroy:w,beforeUnmount:_,destroyed:k,unmounted:S,render:T,renderTracked:O,renderTriggered:C,errorCaptured:A}=t,E=e.proxy,L=e.ctx,I=e.appContext.mixins;r&&T&&e.render===pe&&(e.render=T),r||(Nr=!0,Pr("beforeCreate",t,E,I),Nr=!1,jr(e,I,n,o)),i&&Dr(e,i,n,o,!0),a&&jr(e,a,n,o);if(p)if(we(p))for(let e=0;e<p.length;e++){const t=p[e];L[t]=Rr(t)}else for(const e in p){const t=p[e];Ce(t)?L[e]=Rr(t.from||e,t.default,!0):L[e]=Rr(t)}if(c)for(const e in c){const t=c[e];Se(t)&&(L[e]=t.bind(E))}if(r?s&&n.push(s):(n.length&&n.forEach(t=>Br(e,t,E)),s&&Br(e,s,E)),l)for(const e in l){const t=l[e];0;const n=aa({get:Se(t)?t.bind(E,E):Se(t.get)?t.get.bind(E,E):pe,set:!Se(t)&&Se(t.set)?t.set.bind(E):pe});Object.defineProperty(L,e,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}if(u&&o.push(u),!r&&o.length&&o.forEach(e=>{for(const t in e)Hr(e[t],L,E,t)}),d){const e=Se(d)?d.call(E):d;for(const t in e)zr(t,e[t])}var M;r&&(f&&he(e.components||(e.components=he({},e.type.components)),f),v&&he(e.directives||(e.directives=he({},e.type.directives)),v)),r||Pr("created",t,E,I),g&&Fo(g.bind(E)),m&&Yo(m.bind(E)),h&&qo(h.bind(E)),b&&$o(b.bind(E)),y&&ur(y.bind(E),"a",M),x&&function(e,t){ur(e,"da",t)}(x.bind(E)),A&&((e,t=Xr)=>{Bo("ec",e,t)})(A.bind(E)),O&&Zo(O.bind(E)),C&&Xo(C.bind(E)),_&&Wo(_.bind(E)),S&&Ko(S.bind(E))}function Pr(e,t,n,o){Gr(e,o,n);const{extends:r,mixins:a}=t;r&&Vr(e,r,n),a&&Gr(e,a,n);const i=t[e];i&&i.call(n)}function Vr(e,t,n){t.extends&&Vr(e,t.extends,n);const o=t[e];o&&o.call(n)}function Gr(e,t,n){for(let o=0;o<t.length;o++){const r=t[o].mixins;r&&Gr(e,r,n);const a=t[o][e];a&&a.call(n)}}function jr(e,t,n,o){for(let r=0;r<t.length;r++)Dr(e,t[r],n,o,!0)}function Br(e,t,n){const o=t.call(n,n);Ce(o)&&(e.data===ue?e.data=Ht(o):he(e.data,o))}function Hr(e,t,n,o){const r=o.includes(".")?function(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}}(n,o):()=>n[o];if(Te(e)){const n=t[e];Se(n)&&Lr(r,n)}else if(Se(e))Lr(r,e.bind(n));else if(Ce(e))if(we(e))e.forEach(e=>Hr(e,t,n,o));else{const o=Se(e.handler)?e.handler.bind(n):t[e.handler];Se(o)&&Lr(r,o,e)}else 0}function Fr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:a}=t;a&&Fr(e,a,n),r&&r.forEach(t=>Fr(e,t,n));for(const r in t)o&&xe(o,r)?e[r]=o[r](e[r],t[r],n.proxy,r):e[r]=t[r]}const Yr=he(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=>e.parent&&e.parent.proxy,$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const a=e.appContext.mixins;if(!a.length&&!o&&!r)return t;const i={};return a.forEach(t=>Fr(i,t,e)),Fr(i,t,e),t.__merged=i}(e):e.type,$forceUpdate:e=>()=>wn(e.update),$nextTick:()=>xn,$watch:e=>__VUE_OPTIONS_API__?Mr.bind(e):pe}),qr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:i,type:s,appContext:l}=e;if("__v_skip"===t)return!0;let c;if("$"!==t[0]){const s=i[t];if(void 0!==s)switch(s){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return a[t]}else{if(o!==ue&&xe(o,t))return i[t]=0,o[t];if(r!==ue&&xe(r,t))return i[t]=1,r[t];if((c=e.propsOptions[0])&&xe(c,t))return i[t]=2,a[t];if(n!==ue&&xe(n,t))return i[t]=3,n[t];__VUE_OPTIONS_API__&&Nr||(i[t]=4)}}const u=Yr[t];let d,p;return u?("$attrs"===t&&it(e,0,t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==ue&&xe(n,t)?(i[t]=3,n[t]):(p=l.config.globalProperties,xe(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;if(r!==ue&&xe(r,t))r[t]=n;else if(o!==ue&&xe(o,t))o[t]=n;else if(t in e.props)return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a}},i){let s;return void 0!==n[i]||e!==ue&&xe(e,i)||t!==ue&&xe(t,i)||(s=a[0])&&xe(s,i)||xe(o,i)||xe(Yr,i)||xe(r.config.globalProperties,i)}};const $r=he({},qr,{get(e,t){if(t!==Symbol.unscopables)return qr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!ee(t)});const Wr=wr();let Kr=0;let Xr=null;const Zr=()=>Xr||Dn,Jr=e=>{Xr=e};let Qr,ea=!1;function ta(e,t,n){var o;Se(t)?e.render=t:Ce(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=qt(o=t)?o:new Proxy(o,tn)),na(e)}function na(e,t){const n=e.type;e.render||(Qr&&n.template&&!n.render&&(n.render=Qr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||pe,e.render._rc&&(e.withProxy=new Proxy(e.ctx,$r))),__VUE_OPTIONS_API__&&(Xr=e,Dr(e,n),Xr=null)}function oa(e){Xr&&(Xr.effects||(Xr.effects=[])).push(e)}function ra(e){return Se(e)&&"__vccOpts"in e}function aa(e){const t=function(e){let t,n;return Se(e)?(t=e,n=pe):(t=e.get,n=e.set),new nn(t,n,Se(e)||!e.set)}(e);return oa(t.effect),t}function ia(e){return Se(e)?{setup:e,name:e.name}:e}function sa(e,t,n){const o=arguments.length;return 2===o?Ce(t)&&!we(t)?yo(t)?So(e,null,[t]):So(e,t):So(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&yo(n)&&(n=[n]),So(e,t,n))}Symbol("");function la(e,t){let n;if(we(e)||Te(e)){n=new Array(e.length);for(let o=0,r=e.length;o<r;o++)n[o]=t(e[o],o)}else if("number"==typeof e){n=new Array(e);for(let o=0;o<e;o++)n[o]=t(o+1,o)}else if(Ce(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,a=o.length;r<a;r++){const a=o[r];n[r]=t(e[a],a,r)}}else n=[];return n}const ca="3.0.0",ua="http://www.w3.org/2000/svg",da="undefined"!=typeof document?document:null;let pa,fa;const va={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?da.createElementNS(ua,e):da.createElement(e,n?{is:n}:void 0),createText:e=>da.createTextNode(e),createComment:e=>da.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>da.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?fa||(fa=da.createElementNS(ua,"svg")):pa||(pa=da.createElement("div"));r.innerHTML=e;const a=r.firstChild;let i=a,s=i;for(;i;)s=i,va.insert(i,t,n),i=r.firstChild;return[a,s]}};const ga=/\s*!important$/;function ma(e,t,n){if(we(n))n.forEach(n=>ma(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ba[t];if(n)return n;let o=Ne(t);if("filter"!==o&&o in e)return ba[t]=o;o=Ve(o);for(let n=0;n<ha.length;n++){const r=ha[n]+o;if(r in e)return ba[t]=r}return t}(e,t);ga.test(n)?e.setProperty(Pe(o),n.replace(ga,""),"important"):e[o]=n}}const ha=["Webkit","Moz","ms"],ba={};const ya="http://www.w3.org/1999/xlink";let xa=Date.now;"undefined"!=typeof document&&xa()>document.createEvent("Event").timeStamp&&(xa=()=>performance.now());let wa=0;const _a=Promise.resolve(),ka=()=>{wa=0};function Sa(e,t,n,o){e.addEventListener(t,n,o)}function Ta(e,t,n,o,r=null){const a=e._vei||(e._vei={}),i=a[t];if(o&&i)i.value=o;else{const[n,s]=function(e){let t;if(Oa.test(e)){let n;for(t={};n=e.match(Oa);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){Sa(e,n,a[t]=function(e,t){const n=e=>{(e.timeStamp||xa())>=n.attached-1&&rn(function(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>wa||(_a.then(ka),wa=xa()))(),n}(o,r),s)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,s),a[t]=void 0)}}const Oa=/(?:Once|Passive|Capture)$/;const Ca=/^on[a-z]/;const Aa="transition",Ea="animation",La=(e,{slots:t})=>sa(er,Ua(e),t);La.displayName="Transition";const Ia={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},Ma=La.props=he({},er.props,Ia);function Ua(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:a=t+"-enter-from",enterActiveClass:i=t+"-enter-active",enterToClass:s=t+"-enter-to",appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=t+"-leave-from",leaveActiveClass:p=t+"-leave-active",leaveToClass:f=t+"-leave-to"}=e;const v={};for(const t in e)t in Ia||(v[t]=e[t]);if(!o)return v;const g=function(e){if(null==e)return null;if(Ce(e))return[za(e.enter),za(e.leave)];{const t=za(e);return[t,t]}}(r),m=g&&g[0],h=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:x,onLeave:w,onLeaveCancelled:_,onBeforeAppear:k=b,onAppear:S=y,onAppearCancelled:T=x}=v,O=(e,t,n)=>{Na(e,t?u:s),Na(e,t?c:i),n&&n()},C=(e,t)=>{Na(e,f),Na(e,p),t&&t()},A=e=>(t,o)=>{const r=e?S:y,i=()=>O(t,e,o);r&&r(t,i),Da(()=>{Na(t,e?l:a),Ra(t,e?u:s),r&&r.length>1||(m?setTimeout(i,m):Pa(t,n,i))})};return he(v,{onBeforeEnter(e){b&&b(e),Ra(e,i),Ra(e,a)},onBeforeAppear(e){k&&k(e),Ra(e,c),Ra(e,l)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){const o=()=>C(e,t);Ra(e,p),Ra(e,d),Da(()=>{Na(e,d),Ra(e,f),w&&w.length>1||(h?setTimeout(o,h):Pa(e,n,o))}),w&&w(e,o)},onEnterCancelled(e){O(e,!1),x&&x(e)},onAppearCancelled(e){O(e,!0),T&&T(e)},onLeaveCancelled(e){C(e),_&&_(e)}})}function za(e){return He(e)}function Ra(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function Na(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Da(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function Pa(e,t,n){const{type:o,timeout:r,propCount:a}=Va(e,t);if(!o)return n();const i=o+"end";let s=0;const l=()=>{e.removeEventListener(i,c),n()},c=t=>{t.target===e&&++s>=a&&l()};setTimeout(()=>{s<a&&l()},r+1),e.addEventListener(i,c)}function Va(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),a=o("transitionDuration"),i=Ga(r,a),s=o("animationDelay"),l=o("animationDuration"),c=Ga(s,l);let u=null,d=0,p=0;t===Aa?i>0&&(u=Aa,d=i,p=a.length):t===Ea?c>0&&(u=Ea,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?Aa:Ea:null,p=u?u===Aa?a.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===Aa&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function Ga(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>ja(t)+ja(e[n])))}function ja(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ba(e){return e&&Ba(e.__v_raw)||e}const Ha=new WeakMap,Fa=new WeakMap,Ya={name:"TransitionGroup",props:he({},Ma,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zr(),o=Jo();let r,a;return $o(()=>{if(!r.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach(e=>{e.split(/\s+/).forEach(e=>e&&o.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&o.classList.add(e)),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=Va(o);return r.removeChild(o),a}(r[0].el,n.vnode.el,t))return;r.forEach(qa),r.forEach($a);const o=r.filter(Wa);document.body.offsetHeight,o.forEach(e=>{const n=e.el,o=n.style;Ra(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,Na(n,t))};n.addEventListener("transitionend",r)})}),()=>{const i=Ba(e),s=Ua(i),l=i.tag||lo;r=a,a=t.default?ir(t.default()):[];for(let e=0;e<a.length;e++){const t=a[e];null!=t.key&&ar(t,nr(t,s,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];ar(t,nr(t,s,o,n)),Ha.set(t,t.el.getBoundingClientRect())}return So(l,null,a)}}};function qa(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function $a(e){Fa.set(e,e.el.getBoundingClientRect())}function Wa(e){const t=Ha.get(e),n=Fa.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const Ka=e=>{const t=e.props["onUpdate:modelValue"];return we(t)?e=>je(t,e):t};function Xa(e){e.target.composing=!0}function Za(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Ja={created(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},a){e.value=null==t?"":t,e._assign=Ka(a);const i=r||"number"===e.type;Sa(e,n?"change":"input",t=>{if(t.target.composing)return;let n=e.value;o?n=n.trim():i&&(n=He(n)),e._assign(n)}),o&&Sa(e,"change",()=>{e.value=e.value.trim()}),n||(Sa(e,"compositionstart",Xa),Sa(e,"compositionend",Za),Sa(e,"change",Za))},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ka(r),document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&He(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}};const Qa=["ctrl","shift","alt","meta"],ei={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Qa.some(n=>e[n+"Key"]&&!t.includes(n))},ti=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=ei[t[e]];if(o&&o(n,t))return}return e(n,...o)},ni={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},oi=(e,t)=>n=>{if(!("key"in n))return;const o=Pe(n.key);return t.some(e=>e===o||ni[e]===o)?e(n):void 0},ri={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ai(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),ai(e,!0),o.enter(e)):o.leave(e,()=>{ai(e,!1)}):ai(e,t))},beforeUnmount(e,{value:t}){ai(e,t)}};function ai(e,t){e.style.display=t?e._vod:"none"}const ii=he({patchProp:(e,t,n,o,r=!1,a,i,s,l)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,o,r);break;case"style":!function(e,t,n){const o=e.style;if(n)if(Te(n))t!==n&&(o.cssText=n);else{for(const e in n)ma(o,e,n[e]);if(t&&!Te(t))for(const e in t)null==n[e]&&ma(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:ge(t)?me(t)||Ta(e,t,0,o,i):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&Ca.test(t)&&Se(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t&&"string"==typeof n)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if(Ca.test(t)&&Te(n))return!1;return t in e}(e,t,o,r)?function(e,t,n,o,r,a,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,a),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName)if(""===n&&"boolean"==typeof e[t])e[t]=!0;else if(null==n&&"string"==typeof e[t])e[t]="",e.removeAttribute(t);else try{e[t]=n}catch(e){}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,o,a,i,s,l):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(ya,t.slice(6,t.length)):e.setAttributeNS(ya,t,n);else{const o=ne(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))}},forcePatchProp:(e,t)=>"value"===t},va);let si;function li(){return si||(si=Cr(ii))}const ci=(...e)=>{const t=li().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=ui(e);if(!o)return;const r=t._component;Se(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const a=n(o);return o.removeAttribute("v-cloak"),o.setAttribute("data-v-app",""),a},t};function ui(e){if(Te(e)){return document.querySelector(e)}return e}var di=n(1643),pi=n.n(di),fi=n(6419),vi=n.n(fi),gi=n(368),mi=n.n(gi),hi=n(1306),bi=n.n(hi),yi=n(6902),xi=n.n(yi),wi=n(3263),_i=n(9356);function ki(e,t,n,o,r,a,i,s,l,c,u,d,p,f,v,g,m,h,b,y){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return o(n(t(e)));case 5:return r(o(n(t(e))));case 6:return a(r(o(n(t(e)))));case 7:return i(a(r(o(n(t(e))))));case 8:return s(i(a(r(o(n(t(e)))))));case 9:return l(s(i(a(r(o(n(t(e))))))));case 10:return c(l(s(i(a(r(o(n(t(e)))))))));case 11:return u(c(l(s(i(a(r(o(n(t(e))))))))));case 12:return d(u(c(l(s(i(a(r(o(n(t(e)))))))))));case 13:return p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))));case 14:return f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))));case 15:return v(f(p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))))));case 16:return g(v(f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))))));case 17:return m(g(v(f(p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))))))));case 18:return h(m(g(v(f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))))))));case 19:return b(h(m(g(v(f(p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))))))))));case 20:return y(b(h(m(g(v(f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))))))))))}}var Si=function(e){return"Left"===e._tag},Ti=function(e){return"Right"===e._tag},Oi=function(e){return{_tag:"Left",left:e}},Ci=function(e){return{_tag:"Right",right:e}};var Ai=function(e,t){return ki(e,Mi(t))},Ei=function(e,t){return ki(e,Li(t))},Li=function(e){return function(t){return Si(t)?Oi(e(t.left)):t}},Ii=function(e){return function(t){return Si(t)?t:e(t.right)}},Mi=Ii;var Ui=Ai,zi=Ei;var Ri,Ni=(Ri=function(e,t){return(Ri=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Ri(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Di=function(){return(Di=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Pi=function(){function e(e,t,n,o){this.name=e,this.is=t,this.validate=n,this.encode=o,this.decode=this.decode.bind(this)}return e.prototype.pipe=function(t,n){var o=this;return void 0===n&&(n="pipe("+this.name+", "+t.name+")"),new e(n,t.is,(function(e,n){var r=o.validate(e,n);return Si(r)?r:t.validate(r.right,n)}),this.encode===Vi&&t.encode===Vi?Vi:function(e){return o.encode(t.encode(e))})},e.prototype.asDecoder=function(){return this},e.prototype.asEncoder=function(){return this},e.prototype.decode=function(e){return this.validate(e,[{key:"",type:this,actual:e}])},e}(),Vi=function(e){return e},Gi=function(e,t,n,o){for(var r=e.length,a=Array(r+1),i=0;i<r;i++)a[i]=e[i];return a[r]={key:t,type:n,actual:o},a},ji=Oi,Bi=function(e,t,n){return ji([{value:e,context:t,message:n}])},Hi=Ci,Fi=function(e,t){for(var n=t.length,o=0;o<n;o++)e.push(t[o])},Yi=(new(function(e){function t(){var t=e.call(this,"null",(function(e){return null===e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="NullType",t}return Ni(t,e),t}(Pi)),new(function(e){function t(){var t=e.call(this,"undefined",(function(e){return void 0===e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="UndefinedType",t}return Ni(t,e),t}(Pi))),qi=(new(function(e){function t(){var t=e.call(this,"void",Yi.is,Yi.validate,Vi)||this;return t._tag="VoidType",t}return Ni(t,e),t}(Pi)),new(function(e){function t(){var t=e.call(this,"unknown",(function(e){return!0}),Hi,Vi)||this;return t._tag="UnknownType",t}return Ni(t,e),t}(Pi)),new(function(e){function t(){var t=e.call(this,"string",(function(e){return"string"==typeof e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="StringType",t}return Ni(t,e),t}(Pi))),$i=new(function(e){function t(){var t=e.call(this,"number",(function(e){return"number"==typeof e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="NumberType",t}return Ni(t,e),t}(Pi)),Wi=(new(function(e){function t(){var t=e.call(this,"bigint",(function(e){return"bigint"==typeof e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="BigIntType",t}return Ni(t,e),t}(Pi)),new(function(e){function t(){var t=e.call(this,"boolean",(function(e){return"boolean"==typeof e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="BooleanType",t}return Ni(t,e),t}(Pi))),Ki=new(function(e){function t(){var t=e.call(this,"UnknownArray",Array.isArray,(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="AnyArrayType",t}return Ni(t,e),t}(Pi)),Xi=new(function(e){function t(){var t=e.call(this,"UnknownRecord",(function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Window]"===t}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="AnyDictionaryType",t}return Ni(t,e),t}(Pi)),Zi=(new(function(e){function t(){var t=e.call(this,"Function",(function(e){return"function"==typeof e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="FunctionType",t}return Ni(t,e),t}(Pi)),function(e){function t(t,n,o,r,a,i){var s=e.call(this,t,n,o,r)||this;return s.type=a,s.predicate=i,s._tag="RefinementType",s}return Ni(t,e),t}(Pi)),Ji=(gs($i,(function(e){return Number.isInteger(e)}),"Int"),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.value=a,i._tag="LiteralType",i}Ni(t,e)}(Pi),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.keys=a,i._tag="KeyofType",i}return Ni(t,e),t}(Pi)),Qi=Object.prototype.hasOwnProperty,es=function(e,t){void 0===t&&(t=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(" | "));var n=function(t){return qi.is(t)&&Qi.call(e,t)};return new Ji(t,n,(function(e,t){return n(e)?Hi(e):Bi(e,t)}),Vi,e)},ts=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.runDefinition=a,i._tag="RecursiveType",i}return Ni(t,e),t}(Pi);Object.defineProperty(ts.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var ns=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ArrayType",i}return Ni(t,e),t}(Pi),os=function(e,t){return void 0===t&&(t="Array<"+e.name+">"),new ns(t,(function(t){return Ki.is(t)&&t.every(e.is)}),(function(t,n){var o=Ki.validate(t,n);if(Si(o))return o;for(var r=o.right,a=r.length,i=r,s=[],l=0;l<a;l++){var c=r[l],u=e.validate(c,Gi(n,String(l),e,c));if(Si(u))Fi(s,u.left);else{var d=u.right;d!==c&&(i===r&&(i=r.slice()),i[l]=d)}}return s.length>0?ji(s):Hi(i)}),e.encode===Vi?Vi:function(t){return t.map(e.encode)},e)},rs=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.props=a,i._tag="InterfaceType",i}return Ni(t,e),t}(Pi),as=function(e){return Object.keys(e).map((function(t){return t+": "+e[t].name})).join(", ")},is=function(e){for(var t=0;t<e.length;t++)if(e[t].encode!==Vi)return!1;return!0},ss=function(e){return"{ "+as(e)+" }"},ls=function(e,t){void 0===t&&(t=ss(e));var n=Object.keys(e),o=n.map((function(t){return e[t]})),r=n.length;return new rs(t,(function(e){if(Xi.is(e)){for(var t=0;t<r;t++){var a=n[t],i=e[a];if(void 0===i&&!Qi.call(e,a)||!o[t].is(i))return!1}return!0}return!1}),(function(e,t){var a=Xi.validate(e,t);if(Si(a))return a;for(var i=a.right,s=i,l=[],c=0;c<r;c++){var u=n[c],d=s[u],p=o[c],f=p.validate(d,Gi(t,u,p,d));if(Si(f))Fi(l,f.left);else{var v=f.right;(v!==d||void 0===v&&!Qi.call(s,u))&&(s===i&&(s=Di({},i)),s[u]=v)}}return l.length>0?ji(l):Hi(s)}),is(o)?Vi:function(e){for(var t=Di({},e),a=0;a<r;a++){var i=n[a],s=o[a].encode;s!==Vi&&(t[i]=s(e[i]))}return t},e)},cs=(function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.props=a,i._tag="PartialType",i}Ni(t,e)}(Pi),function(e){return"Partial<"+e+">"});!function(e){function t(t,n,o,r,a,i){var s=e.call(this,t,n,o,r)||this;return s.domain=a,s.codomain=i,s._tag="DictionaryType",s}Ni(t,e)}(Pi);var us=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.types=a,i._tag="UnionType",i}return Ni(t,e),t}(Pi);!function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.types=a,i._tag="IntersectionType",i}Ni(t,e)}(Pi);!function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.types=a,i._tag="TupleType",i}Ni(t,e)}(Pi);(function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ReadonlyType",i}Ni(t,e)})(Pi),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ReadonlyArrayType",i}Ni(t,e)}(Pi),function(e){function t(t,n,o,r,a,i){var s=e.call(this,t,n,o,r,a)||this;return s.tag=i,s}Ni(t,e)}(us);var ds=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ExactType",i}return Ni(t,e),t}(Pi),ps=function(e){switch(e._tag){case"RefinementType":case"ReadonlyType":return ps(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return e.types.reduce((function(e,t){return Object.assign(e,ps(t))}),{})}},fs=function(e,t){for(var n=Object.getOwnPropertyNames(e),o=!1,r={},a=0;a<n.length;a++){var i=n[a];Qi.call(t,i)?r[i]=e[i]:o=!0}return o?r:e},vs=function(e,t){void 0===t&&(t=function(e){return ms(e)?"{| "+as(e.props)+" |}":function(e){return"PartialType"===e._tag}(e)?cs("{| "+as(e.props)+" |}"):"Exact<"+e.name+">"}(e));var n=ps(e);return new ds(t,e.is,(function(t,o){var r=Xi.validate(t,o);if(Si(r))return r;var a=e.validate(t,o);return Si(a)?a:Ci(fs(a.right,n))}),(function(t){return e.encode(fs(t,n))}),e)};new(function(e){function t(){var t=e.call(this,"never",(function(e){return!1}),(function(e,t){return Bi(e,t)}),(function(){throw new Error("cannot encode never")}))||this;return t._tag="NeverType",t}return Ni(t,e),t}(Pi)),new(function(e){function t(){var t=e.call(this,"any",(function(e){return!0}),Hi,Vi)||this;return t._tag="AnyType",t}return Ni(t,e),t}(Pi)),new(function(e){function t(){var t=e.call(this,"object",(function(e){return null!==e&&"object"==typeof e}),(function(e,n){return t.is(e)?Hi(e):Bi(e,n)}),Vi)||this;return t._tag="ObjectType",t}return Ni(t,e),t}(Pi));function gs(e,t,n){var o;return void 0===n&&(n="("+e.name+" | "+(((o=t).displayName||o.name||"<function"+o.length+">")+")")),new Zi(n,(function(n){return e.is(n)&&t(n)}),(function(n,o){var r=e.validate(n,o);if(Si(r))return r;var a=r.right;return t(a)?Hi(a):Bi(a,o)}),e.encode,e,t)}gs($i,Number.isInteger,"Integer"),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.props=a,i._tag="StrictType",i}Ni(t,e)}(Pi);function ms(e){return"InterfaceType"===e._tag}class hs extends Pi{constructor(e,t){super(null!=t?t:"enum",e=>{var t;return!!N()(t=B()(this.enumObject)).call(t,t=>t===e)&&"number"!=typeof this.enumObject[e]},(e,t)=>this.is(e)?Hi(e):Bi(e,t),Vi),this._tag="EnumType",this.enumObject=e}}const bs=(e,t)=>new hs(e,t);var ys=n(9649),xs=n.n(ys),ws=n(426),_s=n.n(ws),ks=n(9301),Ss=n.n(ks),Ts=n(8604),Os=n.n(Ts),Cs=(n(8322),n(4074)),As=n.n(Cs);n(8525);function Es(e,t){e.style.transform=t,e.style.webkitTransform=t}function Ls(e,t){e.style.opacity=t.toString()}function Is(e){return"TouchEvent"===e.constructor.name}var Ms=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.getBoundingClientRect(),r=Is(e)?e.touches[e.touches.length-1]:e,a=r.clientX-o.left,i=r.clientY-o.top,s=0,l=.3;t._ripple&&t._ripple.circle?(l=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt(Math.pow(a-s,2)+Math.pow(i-s,2))/4):s=Math.sqrt(Math.pow(t.clientWidth,2)+Math.pow(t.clientHeight,2))/2;var c=(t.clientWidth-2*s)/2+"px",u=(t.clientHeight-2*s)/2+"px",d=n.center?c:a-s+"px",p=n.center?u:i-s+"px";return{radius:s,scale:l,x:d,y:p,centerX:c,centerY:u}},Us=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t._ripple&&t._ripple.enabled){var o=document.createElement("span"),r=document.createElement("span");o.appendChild(r),o.className="v-ripple__container",n.class&&(o.className+=" "+n.class);var a=Ms(e,t,n),i=a.radius,s=a.scale,l=a.x,c=a.y,u=a.centerX,d=a.centerY,p=2*i+"px";r.className="v-ripple__animation",r.style.width=p,r.style.height=p,t.appendChild(o);var f=window.getComputedStyle(t);f&&"static"===f.position&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Es(r,"translate("+l+", "+c+") scale3d("+s+","+s+","+s+")"),Ls(r,0),r.dataset.activated=String(performance.now()),A()((function(){r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Es(r,"translate("+u+", "+d+") scale3d(1,1,1)"),Ls(r,.25)}),0)}},zs=function(e){if(e&&e._ripple&&e._ripple.enabled){var t=e.getElementsByClassName("v-ripple__animation");if(0!==t.length){var n=t[t.length-1];if(!n.dataset.isHiding){n.dataset.isHiding="true";var o=performance.now()-Number(n.dataset.activated),r=Math.max(250-o,0);A()((function(){n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),Ls(n,0),A()((function(){1===e.getElementsByClassName("v-ripple__animation").length&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode&&e.removeChild(n.parentNode)}),300)}),r)}}}};function Rs(e){return void 0===e||!!e}function Ns(e){var t={},n=e.currentTarget;n&&n._ripple&&!n._ripple.touched&&(Is(e)&&(n._ripple.touched=!0),t.center=n._ripple.centered,n._ripple.class&&(t.class=n._ripple.class),Us(e,n,t))}function Ds(e){var t=e.currentTarget;t&&(window.setTimeout((function(){t._ripple&&(t._ripple.touched=!1)})),zs(t))}function Ps(e,t,n){var o=Rs(t.value);o||zs(e),e._ripple=e._ripple||{},e._ripple.enabled=o;var r=t.value||{};r.center&&(e._ripple.centered=!0),r.class&&(e._ripple.class=t.value.class),r.circle&&(e._ripple.circle=r.circle),o&&!n?(e.addEventListener("touchstart",Ns,{passive:!0}),e.addEventListener("touchend",Ds,{passive:!0}),e.addEventListener("touchcancel",Ds),e.addEventListener("mousedown",Ns),e.addEventListener("mouseup",Ds),e.addEventListener("mouseleave",Ds),e.addEventListener("dragstart",Ds,{passive:!0})):!o&&n&&Vs(e)}function Vs(e){e.removeEventListener("mousedown",Ns),e.removeEventListener("touchstart",Ds),e.removeEventListener("touchend",Ds),e.removeEventListener("touchcancel",Ds),e.removeEventListener("mouseup",Ds),e.removeEventListener("mouseleave",Ds),e.removeEventListener("dragstart",Ds)}const Gs={mounted:function(e,t,n){Ps(e,t,!1),n.context&&n.context.$nextTick((function(){var t=window.getComputedStyle(e);if(t&&"inline"===t.display){var o,r=n.fnOptions?[n.fnOptions,n.context]:[n.componentInstance];console.warn(F()(o=["v-ripple can only be used on block-level elements"]).call(o,r))}}))},unmounted:function(e){delete e._ripple,Vs(e)},updated:function(e,t){t.value!==t.oldValue&&Ps(e,t,Rs(t.oldValue))}};var js=n(4310),Bs=n.n(js);const Hs=e=>{const t=e,n=t.currentTarget;if(!n)return;const o=n;o&&(t.deltaY>0&&o.scrollTop>=o.scrollHeight-o.clientHeight&&t.preventDefault(),t.deltaY<0&&0===o.scrollTop&&t.preventDefault())},Fs={mounted(e){e.addEventListener("wheel",Hs)},unmounted(e){e.removeEventListener("wheel",Hs)}};var Ys=n(1942),qs=n.n(Ys);const $s=to("data-v-5a9d8295");Qn("data-v-5a9d8295");const Ws=So("div",{class:"ripple-trigger absolute"},null,-1),Ks={class:"label text-grey-700"};eo();const Xs=$s((function(e,t,n,o,r,a){const i=oo("i-icon"),s=ao("ripple");return go(),bo("div",{class:"checkbox flex items-center select-none cursor-pointer",onClick:t[1]||(t[1]=(...t)=>e.toggle(...t))},[So("div",{class:["icon relative",{checked:e.props.modelValue,"mr-2":!!e.label}]},[So(i,{size:"100%",svg:e.props.modelValue?e.icon.checked:e.icon.unchecked},null,8,["svg"]),yr(So("div",{class:["ripple absolute rounded-full",{checked:e.props.modelValue}]},[Ws],2),[[s,{center:!0}]])],2),So("div",Ks,le(e.label),1)])})),Zs=ia({name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},label:{type:String,default:""}},setup:(e,t)=>({props:e,icon:{checked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path fill="#1976D2" d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>\n',unchecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#777" d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/><path d="M0 0h24v24H0z" fill="none"/></svg>\n'},toggle:()=>{t.emit("update:modelValue",!e.modelValue)}})});Zs.render=Xs,Zs.__scopeId="data-v-5a9d8295";const Js=Zs;var Qs=n(2366),el=n.n(Qs);const tl=ia({name:"CheckboxLine",props:{modelValue:Boolean,text:String,label:String,nomt:Boolean},setup:(e,t)=>{const n=e=>{t.emit("update:modelValue",e)};return()=>{var o,r,a;return So("div",{class:[!e.nomt&&"mt-6"]},[So(oo("i-checkbox"),Uo({label:null!==(o=e.label)&&void 0!==o?o:"",modelValue:e.modelValue},{"onUpdate:modelValue":n}),null),So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[null===(r=(a=t.slots).default)||void 0===r?void 0:r.call(a),!t.slots.default&&(e.text||"")])])}}});var nl=n(6384),ol=n.n(nl);const rl=ia({props:{modelValue:null},setup:(e,t)=>(zr("radio-group-handle-radio-click",e=>{t.emit("update:modelValue",e)}),zr("radio-group-value",aa(()=>e.modelValue)),()=>{var e,n;return So("div",{class:"radio-group flex-col items-start"},[null===(e=(n=t.slots).default)||void 0===e?void 0:e.call(n)])})}),al=to("data-v-9b99df3a");Qn("data-v-9b99df3a");const il=So("div",{class:"ripple-trigger absolute"},null,-1),sl={class:"label text-grey-600"};eo();const ll=al((function(e,t,n,o,r,a){const i=oo("i-icon"),s=ao("ripple");return go(),bo("div",{class:"radio flex justify-center flex-grow-0 select-none cursor-pointer mr-4 mt-1 mb-1",onClick:t[1]||(t[1]=(...t)=>e.handleClick(...t))},[So("div",{class:["icon relative mr-2",{checked:e.checked}]},[So(i,{size:"100%",svg:e.checked?e.icon.checked:e.icon.unchecked},null,8,["svg"]),yr(So("div",{class:["ripple absolute rounded-full",{checked:e.checked}]},[il],2),[[s,{center:!0}]])],2),So("div",sl,le(e.props.label),1)])})),cl={checked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#1976D2" d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M0 0h24v24H0z" fill="none"/></svg>\n',unchecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#777" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M0 0h24v24H0z" fill="none"/></svg>\n'},ul=ia({props:{modelValue:{type:null},value:{type:null,required:!0},label:{type:String,default:""}},setup:(e,t)=>{const n=Rr("radio-group-handle-radio-click"),o=Rr("radio-group-value",e.modelValue),r=aa(()=>o?o.value===e.value:e.value===e.modelValue);return{handleClick:()=>{t.emit("update:modelValue",e.value),n&&n(e.value)},icon:cl,props:e,checked:r}}});ul.render=ll,ul.__scopeId="data-v-9b99df3a";const dl=ul,pl=to("data-v-629e59a4");Qn("data-v-629e59a4");const fl={class:"slider select-none"},vl={class:"text text-white text-12"};eo();const gl=pl((function(e,t,n,o,r,a){return go(),bo("div",fl,[So("div",{class:"track flex items-center relative",ref:e.refs.track,onClick:t[2]||(t[2]=(...t)=>e.handleTrackClick(...t))},[So("div",{class:"track-left bg-blue-700",style:{width:e.position+"%"}},null,4),So("div",{class:"track-right bg-grey-400",style:{width:100-e.position+"%"}},null,4),So("div",{class:["notch absolute bg-blue-700 rounded-full ease-in-out duration-300",{dragging:e.state.drag.dragging}],style:{left:e.position+"%"},ref:e.refs.notch,onMousedown:t[1]||(t[1]=(...t)=>e.handleNotchMouseDown(...t))},null,38),So("div",{class:["bubble flex flex-center bg-blue-700 absolute ease-in-out duration-300 transition-transform",{dragging:e.state.drag.dragging}],style:{left:e.position+"%"}},[So("div",vl,le(e.state.cachedValue),1)],6)],512)])})),ml=ia({name:"Slider",props:{modelValue:{type:Number,required:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1}},setup:(e,t)=>{const n={track:Jt(),notch:Jt()},o=Ht({drag:{startX:0,dragging:!1,afterDragging:!1},cachedValue:0}),r=t=>{if(!o.drag.dragging||!n.track.value)return;const r=(t.clientX-o.drag.startX)/n.track.value.getBoundingClientRect().width;o.cachedValue=(t=>{let n=e.modelValue+t*(e.max-e.min);n=n<e.min?e.min:n,n=n>e.max?e.max:n;const o=(n-e.min)%e.step;return o&&(o<e.step/2?n-=o:n+=e.step-o),n})(r)},a=()=>{o.drag.dragging=!1,A()(()=>{o.drag.afterDragging=!1}),t.emit("update:modelValue",o.cachedValue)},i=aa(()=>(o.cachedValue-e.min)/(e.max-e.min)*100);return Lr(()=>e.modelValue,()=>{o.cachedValue=e.modelValue},{immediate:!0}),Yo(()=>{window.addEventListener("mousemove",r),window.addEventListener("mouseup",a),o.cachedValue=e.modelValue}),Ko(()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)}),{state:o,refs:n,position:i,handleNotchMouseDown:e=>{o.drag.dragging=!0,o.drag.afterDragging=!0,o.drag.startX=e.clientX},handleTrackClick:r=>{if(r.target===n.notch.value||o.drag.afterDragging||!n.track.value)return;const a=(r.clientX-n.track.value.getBoundingClientRect().left)/n.track.value.getBoundingClientRect().width;t.emit("update:modelValue",(t=>{let n=t*(e.max-e.min)+e.min;const o=(n-e.min)%e.step;return o&&(o<e.step/2?n-=o:n+=e.step-o),n})(a))}}}});ml.render=gl,ml.__scopeId="data-v-629e59a4";const hl=ml,bl=to("data-v-3651d216")((function(e,t,n,o,r,a){return go(),bo("div",null,[So("input",{class:"input py-5px px-2 bg-grey-200 text-grey-800 m-2px",type:"text",value:e.inputString,onKeydown:t[1]||(t[1]=ti((...t)=>e.handleKeyDown(...t),["prevent","stop"]))},null,40,["value"])])})),yl=e=>e>="a"&&e<="z"?e.toUpperCase():e,xl=ia({name:"HotkeyInput",props:{modelValue:{type:null,required:!0}},setup:(e,t)=>{var n;const o=Ht({keys:null!==(n=e.modelValue)&&void 0!==n?n:[],setKeys:[]}),r=e=>{var t;const n=yl(e.key),r=pi()(t=Ss()(o)).call(t,n);var i;-1!==r&&a()(i=Ss()(o)).call(i,r,1)},i=()=>{o.keys=[]},s=aa(()=>{var e;const t=o.setKeys,n=h()(t).call(t,"Control"),r=h()(t).call(t,"Alt"),a=h()(t).call(t,"Shift");return _()(e=[n&&"Control",r&&"Alt",a&&"Shift",..._()(t).call(t,e=>{var t;return!h()(t=["Control","Alt","Shift"]).call(t,e)})]).call(e,Boolean)}),l=aa(()=>{var e;return s.value.length?f()(e=s.value).call(e,e=>"Control"===e?"Ctrl":e).join(" + "):"无"});return Lr(()=>s.value,()=>{t.emit("update:modelValue",s.value)}),Lr(()=>e.modelValue,()=>{var t;e.modelValue&&(O()(t=e.modelValue).call(t,(e,t)=>e===o.setKeys[t])||(o.setKeys=[...e.modelValue]))},{immediate:!0}),Yo(()=>{window.addEventListener("keyup",r),window.addEventListener("blur",i),window.addEventListener("focus",i)}),Ko(()=>{window.removeEventListener("keyup",r),window.removeEventListener("blur",i),window.removeEventListener("focus",i)}),{props:e,state:o,inputString:l,handleKeyDown:e=>{var t;const n=yl(e.key);if(!G()(e)){if("Backspace"===n)return o.keys=[],void(o.setKeys=[]);h()(t=Ss()(o)).call(t,n)||Ss()(o).push(n),o.setKeys=[...Ss()(o)]}},handleKeyUp:r}}});xl.render=bl,xl.__scopeId="data-v-3651d216";const wl=xl;const _l=ia({props:{svg:{type:String,default:""},size:{type:null,default:16},color:{type:String,default:""}},setup:e=>{const t=aa(()=>{if(!e.size)return;const t=S()(""+e.size,10);return""+t==""+e.size?t+"px":e.size}),n=aa(()=>e.color?e.svg.replace(/(fill="#[a-fA-F0-9]{6}")/g,`fill="${e.color}"`):e.svg),o=aa(()=>"data:image/svg+xml;base64,"+window.btoa(n.value));return{computedSize:t,svgContent:n,svgUrl:o}}});_l.render=function(e,t,n,o,r,a){return go(),bo("div",{class:"i-icon flex flex-center",style:{height:e.computedSize,width:e.computedSize}},[So("img",{class:"svg-img flex-1 w-0",src:e.svgUrl,alt:""},null,8,["src"])],4)};const kl=_l,Sl=to("data-v-a11345ba");Qn("data-v-a11345ba");const Tl={class:"the-app"};eo();const Ol=Sl((function(e,t,n,o,r,a){const i=oo("iciba-circle"),s=oo("iciba-main"),l=oo("setting-page"),c=oo("google-dict-modal"),u=oo("history-modal");return go(),bo("div",Tl,[So(i,{ref:e.refs.icibaCircle},null,512),So(s,{"get-iciba-circle":()=>e.refs.icibaCircle.value},null,8,["get-iciba-circle"]),So(l),So(c),So(u)])}));class Cl{constructor(){this.m={}}on(e,t){var n;this.m[e]=null!==(n=this.m[e])&&void 0!==n?n:[],this.m[e].push(t)}off(e,t){if(this.m[e]){var n;const r=pi()(n=this.m[e]).call(n,t);var o;if(-1!==r)a()(o=this.m[e]).call(o,r,1)}}emit(e,t){var n;this.m[e]&&P()(n=this.m[e]).call(n,e=>e(t))}}var Al;!function(e){e[e.TRANSLATE=0]="TRANSLATE",e[e.HOTKEY_SHOW=1]="HOTKEY_SHOW",e[e.HOTKEY_TRANSLATE=2]="HOTKEY_TRANSLATE",e[e.OPEN_SETTING=3]="OPEN_SETTING",e[e.OPEN_HISTORY=4]="OPEN_HISTORY",e[e.OPEN_GOOGLE_DICT_MODAL=5]="OPEN_GOOGLE_DICT_MODAL",e[e.HIDE_CIRCLE=6]="HIDE_CIRCLE"}(Al||(Al={}));const El=new class{constructor(){this.bus=new Cl}on(e){this.bus.on(""+e.event,e.listener)}off(e){this.bus.off(""+e.event,e.listener)}emit(e){return this.bus.emit(""+e.type,e)}},Ll=to("data-v-b07dfcf8");Qn("data-v-b07dfcf8");const Il={class:"input-box flex relative flex-none bg-white"},Ml={class:"provider-box flex border-b border-grey-350"},Ul=So("div",{class:"split border-l border-grey-350"},null,-1),zl={class:"content-box relative"},Rl={key:1,class:"loading-tip content-item text-grey-900"},Nl={key:2,class:"provider-error-message content-item text-grey-900"},Dl={key:3,class:"show-up-tip content-item text-grey-500"},Pl={key:0,class:"stick-box absolute border-l border-grey-350"};eo();const Vl=Ll((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("LoadingText");return go(),bo("div",null,[So("div",{class:"iciba-size-helper fixed top-auto left-auto bottom-0 right-0 w-0 h-0 overflow-hidden",ref:e.refs.sizeHelper},null,512),So(La,{name:"m"},{default:Ll(()=>{return[yr(So("div",{class:"iciba-main-wrap absolute overflow-visible ease-in-out duration-150 transition-opacity",ref:e.refs.icibaMainWrap},[So("div",{class:"iciba-main absolute flex-col items-stretch h-auto text-14 ease-in-out duration-150 transition-transform",onMouseenter:t[10]||(t[10]=t=>e.state.stickBoxVisible=!0),onMouseleave:t[11]||(t[11]=t=>e.state.stickBoxVisible=!1),style:e.mainStyle,ref:e.refs.icibaMain},[So("div",Il,[So("div",{class:["iciba-input-box flex relative flex-auto border-b border-grey-350",{focused:e.state.inputFocused}]},[yr(So("input",{class:"search-input flex-auto text-grey-900",ref:e.refs.icibaSearchInput,size:"1",type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.state.inputText=t),onFocus:t[2]||(t[2]=t=>e.state.inputFocused=!0),onBlur:t[3]||(t[3]=t=>e.state.inputFocused=!1),onKeydownCapture:t[4]||(t[4]=ti(()=>{},["stop"])),onKeypress:t[5]||(t[5]=oi((...t)=>e.m.handleInputEnter(...t),["enter"]))},null,544),[[Ja,e.state.inputText]]),e.store.config.core.history?(go(),bo("div",{key:0,class:"input-button flex flex-center cursor-pointer",onClick:t[6]||(t[6]=(...t)=>e.m.handleOpenHistory(...t))},[So(i,{size:21,svg:e.icon.historyIcon,color:"#aaa"},null,8,["svg"])])):Eo("v-if",!0),So("div",{class:"input-button flex flex-center cursor-pointer",onClick:t[7]||(t[7]=(...t)=>e.m.handleOpenSetting(...t))},[So(i,{svg:e.icon.settingsIcon},null,8,["svg"])])],2),So("div",Ml,[(go(!0),bo(lo,null,la(e.showButtonProviders,t=>(go(),bo(lo,{key:t.id},[Ul,So("button",{onKeydown:oi(n=>e.m.handleTranslateWithProvider(t.id),["enter"]),onClick:n=>e.m.handleTranslateWithProvider(t.id),class:"provider-button flex flex-center relative flex-none"},[So(i,{svg:e.m.getIcon(t)},null,8,["svg"])],40,["onKeydown","onClick"])],64))),128))])]),So("div",zl,[e.translateLoading||e.errorMessage||!e.activeProvider?Eo("v-if",!0):(go(),bo((n=e.activeProvider.view,Te(n)?io(no,n,!1)||n:n||ro),{class:"provider-container",key:e.activeProvider.id})),e.translateLoading?(go(),bo("div",Rl,[So(s)])):Eo("v-if",!0),!e.translateLoading&&e.errorMessage?(go(),bo("div",Nl,le(e.errorMessage),1)):Eo("v-if",!0),e.activeProvider||e.translateLoading||e.errorMessage?Eo("v-if",!0):(go(),bo("div",Dl," 等待输入查词 "))]),So(La,{name:"s"},{default:Ll(()=>[e.store.config.core.showPin?yr((go(),bo("div",Pl,[So("div",{class:"drag flex flex-center border-b border-grey-350",onMousedown:t[8]||(t[8]=(...t)=>e.m.pinDrag.handlePinDragStart(...t))},[So(i,{svg:e.icon.dragIcon},null,8,["svg"])],32),So("div",{class:["stick flex flex-center relative",{pinned:e.store.config.core.pinned}],onClick:t[9]||(t[9]=(...t)=>e.m.pinDrag.handleTogglePinned(...t))},[So(i,{svg:e.icon.pinIcon},null,8,["svg"])],2)],512)),[[ri,e.store.config.core.pinned||e.state.stickBoxVisible]]):Eo("v-if",!0)]),_:1})],36)],512),[[ri,e.visible]])];var n}),_:1})])}));function Gl(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=_i(e);for(o=0;o<a.length;o++)n=a[o],W(t).call(t,n)>=0||(r[n]=e[n]);return r}(e,t);if(wi){var a=wi(e);for(o=0;o<a.length;o++)n=a[o],W(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function jl(e,t,n){return t in e?Y(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}const Hl=(e,t)=>{var n;return(null===(n=GM)||void 0===n?void 0:n.getValue)?M().resolve(GM.getValue(e,t)):GM_getValue?M().resolve(GM_getValue(e,t)):M().resolve(t)},Fl=(e,t)=>{var n;return(null===(n=GM)||void 0===n?void 0:n.setValue)?M().resolve(GM.setValue(e,t)):GM_setValue?(GM_setValue(e,t),M().resolve()):M().resolve()};class Yl extends Error{constructor(e,t){super(e),t&&(this.response=t)}}const ql=e=>{var t,n;const o=null!==(t=null===(n=GM)||void 0===n?void 0:n.xmlHttpRequest)&&void 0!==t?t:GM_xmlhttpRequest;if(!o)throw new Error("not running in greasymonkey or tampermonkey enviroment");return new(M())((t,n)=>{const r=function(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Bl(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Bl(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}({timeout:1e4,ontimeout(e){const t=new Yl("timeout exceeded",e);n(t)},onerror(e){const t=new Yl(`request failed ${e.status} ${e.statusText}`,e);n(t)},onload(e){if(e.status<200||e.status>=300){const t=new Yl("response with status code "+e.status,e);n(t)}t(e)}},e);o(r)})},$l=e=>"object"==typeof e?JSON.parse(z()(e)):e,Wl='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M479 96H262.8l-22.5 87.1-8 57.2 43.3 120.9 7 146.6H479a33 33 0 0 0 32.9-33V129A33 33 0 0 0 479 96z" fill="#e6e6e6"/><path fill="#3a5bbc" d="M368.7 416l-86.3 91.8L252 416l12.4-33.5z"/><path d="M469.6 244.2v-20.9h-79.3v-29.2h-21v29.2H298v20.9h116a458.7 458.7 0 0 1-33 58c-14.2-17.6-23.1-30-23.2-30l-6.2-8.5-16.9 12.2 6.2 8.5c.4.6 10.8 15 27.3 35.3a800.7 800.7 0 0 1-42.6 47l14.7 14.7a861 861 0 0 0 41.4-45.3 836.8 836.8 0 0 0 47.9 52.5l7.4 7.4 14.7-14.8-7.4-7.4a828.1 828.1 0 0 1-49.6-54.8c22.1-31.8 36.5-62 42.2-74.8h32.8z" fill="gray"/><path d="M349.3 357.5l19.4 58.5H32.9A33 33 0 0 1 0 383V37.2a33 33 0 0 1 33-33h199.3L262.7 96l45.7 137.7 41 123.8z" fill="#518ef8"/><path d="M149.3 287.4A77.7 77.7 0 1 1 204.1 155l-14.7 14.7a56.8 56.8 0 1 0 15.6 50.5h-55.7v-20.8h77.6v10.4a77.7 77.7 0 0 1-77.6 77.6z" fill="#fff"/></svg>\n',Kl='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0C114.8 0 0 114.8 0 256s114.8 256 256 256 256-114.8 256-256S397.2 0 256 0z" fill="#303c42"/><path d="M21.3 256A235 235 0 0 1 204.1 27.3l147.6 442.8a233 233 0 0 1-95.7 20.6A235 235 0 0 1 21.3 256z" fill="#42a5f5"/><g fill="#fff"><path d="M392.5 192c-5 17-19.6 45-39.6 70.4a142.9 142.9 0 0 1-23-31.7c-2.2-5.5-8.5-8.1-14-6-5.4 2.3-8 8.5-5.8 14 4.3 10.5 15.6 25.1 28.6 40-6.9 7.2-14 14-21.8 19.7L281.5 192h111z"/><path d="M371 460.4l-47.1-141.2 2.3-1.2c9.3-6.6 18.2-15 26.7-23.9a980.5 980.5 0 0 0 45.2 44.4 10.6 10.6 0 0 0 15.1-.6c4-4.4 3.7-11.1-.7-15.1a973 973 0 0 1-45.4-44.7c24.3-30 42.4-64.3 47.3-86.1h23a10.7 10.7 0 1 0 0-21.3h-74.7V160a10.7 10.7 0 1 0-21.4 0v10.7h-67l-49-147.1c10-1.3 20.3-2.3 30.7-2.3A235 235 0 0 1 490.7 256c0 87.6-48.4 164-119.8 204.4zM245.3 245.3h-74.6a10.7 10.7 0 1 0 0 21.4h63a64.1 64.1 0 0 1-127-10.7 64 64 0 0 1 105.5-48.6 10.7 10.7 0 1 0 14-16.3A85.4 85.4 0 1 0 256 256c0-5.9-4.8-10.7-10.7-10.7z"/></g><path d="M53.5 374A234.6 234.6 0 0 0 256 490.7c34 0 66.4-7.5 95.7-20.6l-21.4-64.3A233 233 0 0 1 53.5 374zM415.9 84.7c16 27.4 26.7 58.3 30.5 91.3 1 1.6 1.6 3.3 1.6 5.3 0 1.5-.3 3-.9 4.2.4 5.7.9 11.4.9 17.2 0 44.5-12.7 86-34.4 121.6a10.5 10.5 0 0 1-8.3 17c-.9 0-1.8-.2-2.7-.5a236.3 236.3 0 0 1-53.8 53.2l22.1 66.4a233.8 233.8 0 0 0 45-375.7z" opacity=".1"/><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="-45.6" y1="639.6" x2="-23.8" y2="629.4" gradientTransform="matrix(21.3333 0 0 -21.3333 996.3 13791.7)"><stop offset="0" stop-color="#fff" stop-opacity=".2"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><path d="M256 0C114.8 0 0 114.8 0 256s114.8 256 256 256 256-114.8 256-256S397.2 0 256 0z" fill="url(#a)"/></svg>\n';var Xl,Zl;!function(e){e.ICIBA="ICIBA",e.GOOGLE_DICT="GOOGLE_DICT",e.GOOGLE_TRANSLATE="GOOGLE_TRANSLATE",e.BAIDU_TRANSLATE="BAIDU_TRANSLATE",e.SOUGOU_TRANSLATE="SOUGOU_TRANSLATE",e.URBAN_DICTIONARY="URBAN_DICTIONARY",e.BING_TRANSLATE="BING_TRANSLATE",e.VOCABULARY="VOCABULARY"}(Zl||(Zl={}));const Jl={[Zl.ICIBA]:"iciba",[Zl.GOOGLE_DICT]:"google字典",[Zl.GOOGLE_TRANSLATE]:"google翻译",[Zl.BAIDU_TRANSLATE]:"百度翻译",[Zl.SOUGOU_TRANSLATE]:"搜狗翻译",[Zl.URBAN_DICTIONARY]:"urban dictionary",[Zl.BING_TRANSLATE]:"bing 翻译",[Zl.VOCABULARY]:"vocabulary"},Ql=f()(Xl=d()(Jl)).call(Xl,([e,t])=>({label:t,key:e})),ec=f()(Ql).call(Ql,e=>e.key);var tc;!function(e){e.GOOGLE_COM="GOOGLE_COM",e.GOOGLE_CN="GOOGLE_CN"}(tc||(tc={}));const nc={[tc.GOOGLE_COM]:"translate.google.com",[tc.GOOGLE_CN]:"translate.google.cn"};var oc;!function(e){e.UNFOLD="0",e.FOLD_THESAURUS="1",e.FOLD_EXAMPLES="2",e.FOLD_SUBSENSE="3"}(oc||(oc={}));const rc={[oc.UNFOLD]:oc.FOLD_THESAURUS,[oc.FOLD_THESAURUS]:oc.FOLD_EXAMPLES,[oc.FOLD_EXAMPLES]:oc.FOLD_SUBSENSE,[oc.FOLD_SUBSENSE]:oc.FOLD_SUBSENSE},ac={[oc.UNFOLD]:oc.UNFOLD,[oc.FOLD_THESAURUS]:oc.UNFOLD,[oc.FOLD_EXAMPLES]:oc.FOLD_THESAURUS,[oc.FOLD_SUBSENSE]:oc.FOLD_EXAMPLES},ic={[oc.UNFOLD]:"展开",[oc.FOLD_SUBSENSE]:"折叠释义子项",[oc.FOLD_EXAMPLES]:"折叠子项和例句",[oc.FOLD_THESAURUS]:"折叠子项、例句和同反义词"};var sc;!function(e){e.DEFAULT="default",e.GOOGLE_TRANSLATE_SQUARE="gtsquare",e.GOOGLE_TRANSLATE_CIRCLE="gtcircle",e.GOOGLE_TRANSLATE_TEXT="gttext",e.MAG_ICON="icondic"}(sc||(sc={}));const lc={[sc.DEFAULT]:"",[sc.GOOGLE_TRANSLATE_SQUARE]:Wl,[sc.GOOGLE_TRANSLATE_CIRCLE]:Kl,[sc.GOOGLE_TRANSLATE_TEXT]:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M56.6 73.2c-14 17.1-22.8 37.9-25.4 59.9-9.5 81.7-9.5 164.2 0 245.8 6.3 53.5 48.4 95.6 101.9 101.9 81.7 9.5 164.2 9.5 245.8 0 22-2.6 42.8-11.4 59.9-25.4L56.6 73.2z" fill="#518ef8"/><path d="M438 458.5c14-17.1 39.9-57.7 42.4-79.7 9.5-81.7 9.5-164.2 0-245.8-6.3-53.5-48.4-95.6-101.9-101.9-81.7-9.5-164.2-9.5-245.8 0-22 2.5-59.1 29.9-76.2 43.9L438 458.5z" fill="#fff"/><path d="M133.3 388H213l12.2 24.3 28.6-14.3-66.3-132.6h-28.6L92.5 398l28.6 14.3 12.2-24.3zm39.8-79.7L197 356h-47.7l23.8-47.7zm166.3-218v17.1h-50.3v32h9.2l36 42-40.7 47.6 24.3 20.8 37.6-43.8 37.6 43.8 24.3-20.8-40.8-47.6 36-42h9.2v-32h-50.3V90.3h-32.1zm16 66.5l-14.9-17.4h29.8l-14.9 17.4z"/><path d="M496.8 131.2c-6.9-61-55-109.1-116-116-82.9-9.7-166.7-9.7-249.6 0-17.2 2-33.8 7.4-48.9 15.8l23.9 23.9c9.1-4 18.8-6.7 28.7-7.8 80.4-9.4 161.7-9.4 242.2 0 46.2 5.2 82.6 41.7 87.9 87.9 9.4 80.4 9.4 161.7 0 242.2-2.4 20.9-11.5 40.6-25.8 56L67.9 61.8c-6.2-6.2-16.4-6.2-22.6 0-.4.4-.7.8-1.1 1.2-16 19.5-26 43.1-29 68.2-9.7 82.9-9.7 166.7 0 249.6 6.9 61 55 109.1 116 116 82.9 9.7 166.7 9.7 249.6 0 60.8-7.2 108.8-55.2 116-116 9.7-82.9 9.7-166.7 0-249.6zM377.1 465c-80.4 9.4-161.7 9.4-242.2 0-46.2-5.2-82.6-41.7-87.9-87.9-9.4-80.4-9.4-161.7 0-242.2 1.5-12.9 5.5-25.4 11.9-36.8l355 355c-11.4 6.3-23.9 10.4-36.8 11.9z"/></svg>',[sc.MAG_ICON]:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M295.3 361.5L432 498.3c18.3 18.3 47.9 18.3 66.2 0 18.3-18.3 18.3-47.9 0-66.2L361.5 295.3l-66.2 66.2z" fill="#5a5a5a"/><path d="M295.3 361.5l33.1-33.1 169.8 169.8c-18.3 18.3-47.9 18.3-66.2 0L295.3 361.5z" fill="#444"/><path d="M218.5 0c-60 0-115 24.5-154.5 64S0 158.5 0 218.5C0 339 98 437 218.5 437c60 0 115-24.5 154.5-64s64-94.5 64-154.5C437.1 98 339.1 0 218.5 0z" fill="#00abe9"/><path d="M64 64l309.1 309.1c-39.5 39.5-94.5 64-154.5 64C98 437.1 0 339.1 0 218.5c0-60 24.5-115 64-154.5z" fill="#0095ff"/><path d="M218.8 62.5c-43-.2-82.1 17.7-110.4 45.9-28.3 28.3-45.9 67.1-45.7 110.2-.2 85.9 70 156.1 156.1 156.1 42.8 0 81.9-17.4 110.2-45.7 28.3-28.3 45.9-67.6 45.9-110.4-.1-86.1-70.3-156.3-156.1-156.1z" fill="#e7e7e7"/><path d="M108.4 108.4l220.5 220.5c-28.3 28.3-67.3 45.7-110.2 45.7-86.1 0-156.3-70.2-156.1-156.1-.1-43 17.5-81.9 45.8-110.1z" fill="#d3d3d8"/></svg>'},cc={[sc.DEFAULT]:"circle",[sc.GOOGLE_TRANSLATE_SQUARE]:"square",[sc.GOOGLE_TRANSLATE_CIRCLE]:"circle",[sc.GOOGLE_TRANSLATE_TEXT]:"square",[sc.MAG_ICON]:"square"};var uc;!function(e){e.STORE="iciba_store",e.SOUGOU_SECCODE="sougou_seccode",e.HISTORY="history"}(uc||(uc={}));class dc extends Pi{constructor(e,t){super(e.name,e=>!0,(n,o)=>{const r=e.validate(n,o);return Ti(r)?r:Hi(t)},e.encode),this.d=t}}const pc=(e,t)=>new dc(e,"function"==typeof t?t():t),fc=e=>{var t;return bi()(f()(t=d()(e.props)).call(t,([e,t])=>[e,t.d]))},vc=bs(Zl,"PROVIDER"),gc=bs(sc,"ICIBA_CIRCLE_ICON"),mc=new Pi("provider-array",e=>Ki.is(e),(e,t)=>{if(!Ki.is(e))return Bi(e,t);let n=_()(e).call(e,e=>h()(ec).call(ec,e));return n=_()(n).call(n,(e,t)=>pi()(n).call(n,e)===t),n=F()(n).call(n,_()(ec).call(ec,e=>!h()(n).call(n,e))),Hi(n)},Vi),hc=ls({providerOrder:pc(mc,()=>[...ec]),defaultProvider:pc(vc,Zl.ICIBA),icibaCircleRightClick:pc(Wi,!0),icibaCircleRightClickProvider:pc(vc,Zl.GOOGLE_TRANSLATE),icibaCircleNoCJK:pc(Wi,!1),useIcibaCircle:pc(Wi,!0),icibaCircleIcon:pc(gc,sc.DEFAULT),pressCtrlToDrag:pc(Wi,!0),pressCtrlToShowCircle:pc(Wi,!1),mouseOverTranslate:pc(Wi,!1),icibaMainInputAutoFocus:pc(Wi,!1),history:pc(Wi,!1),showPin:pc(Wi,!1),pinned:pc(Wi,!1),selectionMaxLengthCut:pc(Wi,!1),selectionMaxLength:pc($i,150),icibaMainWidth:pc($i,300),icibaCircleSize:pc($i,22),icibaCircleOffsetX:pc($i,7),icibaCircleOffsetY:pc($i,7),providerHotkeyAutoFocus:pc(Wi,!1),useHotkeyShowUp:pc(Wi,!1),hotkeyIcibaMainInputAutoFocus:pc(Wi,!0),showUpHotkey:pc(os(qi),()=>[])}),bc=fc(hc),yc={[Zl.ICIBA]:{searchIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 57 57"><path d="M55.1 51.9L41.6 37.8A23 23 0 0 0 24 0a23 23 0 1 0 13.2 41.8L50.8 56a3 3 0 0 0 4.3.1 3 3 0 0 0 0-4.2zM24 6a17 17 0 1 1 0 34 17 17 0 0 1 0-34z" fill="#aaa"/></svg>\n',iciba_1362193:'<svg height="640" viewBox="-52 0 480 480" width="640" xmlns="http://www.w3.org/2000/svg"><path d="M48 48h320v424H48zm0 0" fill="#ffeb99"/><path d="M8 48h40v424H8zm0 0" fill="#9f886a"/><path d="M128 80h160v96H128zm0 0" fill="#ffda44"/><path d="M8 8v40h344V8zm0 0" fill="#605240"/><path d="M16 8h336v16H16zm0 0" fill="#3c3328"/><path d="M8 48h16v424H8zm0 0" fill="#504435"/><g fill="#231f20"><path d="M296 72H120v112h176zm-16 96H136V88h144zm0 0"/><path d="M152 104h112v16H152zm0 0M152 136h32v16h-32zm0 0M200 136h64v16h-64zm0 0"/><path d="M376 16V0H0v480h376V40h-16V16zM16 464V56h24v408zm344 0H56V56h304zM16 40V16h328v24zm0 0"/><path d="M88 352v-48h48v48h16v-72c0-22.089844-17.910156-40-40-40s-40 17.910156-40 40v72zm24-96c13.253906 0 24 10.746094 24 24v8H88v-8c0-13.253906 10.746094-24 24-24zm0 0M248 272c0-17.671875-14.328125-32-32-32h-48v112h48c13.34375.058594 25.3125-8.203125 29.984375-20.703125 4.675781-12.496094 1.066406-26.585937-9.039063-35.296875C243.9375 289.984375 247.972656 281.226562 248 272zm-16 48c0 8.835938-7.164062 16-16 16h-32v-32h32c8.835938 0 16 7.164062 16 16zm-48-32v-32h32c8.835938 0 16 7.164062 16 16s-7.164062 16-16 16zm0 0M264 280v32c0 22.089844 17.910156 40 40 40s40-17.910156 40-40h-16c0 13.253906-10.746094 24-24 24s-24-10.746094-24-24v-32c0-13.253906 10.746094-24 24-24s24 10.746094 24 24h16c0-22.089844-17.910156-40-40-40s-40 17.910156-40 40zm0 0"/></g></svg>\n'},[Zl.GOOGLE_DICT]:{type_0_google:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 70 70"><path fill="#4285F4" d="M35.29 41.41V32H67c.31 1.64.47 3.58.47 5.68 0 7.06-1.93 15.79-8.15 22.01-6.05 6.3-13.78 9.66-24.02 9.66C16.32 69.35.36 53.89.36 34.91.36 15.93 16.32.47 35.3.47c10.5 0 17.98 4.12 23.6 9.49l-6.64 6.64c-4.03-3.78-9.49-6.72-16.97-6.72-13.86 0-24.7 11.17-24.7 25.03 0 13.86 10.84 25.03 24.7 25.03 8.99 0 14.11-3.61 17.39-6.89 2.66-2.66 4.41-6.46 5.1-11.65l-22.49.01z"/></svg>\n',type_2_search_281764:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M113.5 309.4L95.6 376l-65 1.4A254.9 254.9 0 0 1 0 256c0-42.5 10.3-82.5 28.6-117.7l58 10.6 25.4 57.6a152.2 152.2 0 0 0 1.5 103z" fill="#fbbb00"/><path d="M507.5 208.2a256.3 256.3 0 0 1-91.2 247.4l-73-3.7-10.4-64.5c29.9-17.6 53.3-45 65.6-78H261.6V208.3h246z" fill="#518ef8"/><path d="M416.3 455.6a256 256 0 0 1-385.8-78.3l83-67.9a152.2 152.2 0 0 0 219.4 78l83.4 68.2z" fill="#28b446"/><path d="M419.4 59l-83 67.8A152.3 152.3 0 0 0 112 206.5l-83.4-68.2a256 256 0 0 1 390.8-79.4z" fill="#f14336"/></svg>\n',type_3_search_281781:'<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M410 448a245 245 0 0 1-371-75l80-66a146 146 0 0 0 211 75l80 66z" fill="#28b446"/><path d="M498 210a246 246 0 0 1-88 238l-80-66c29-17 51-43 63-75H261v-97h237z" fill="#518ef8"/><path d="M413 67l-80 65a146 146 0 0 0-216 77l-79-66a246 246 0 0 1 375-76z" fill="#f14336"/><path d="M119 307l-80 66a245 245 0 0 1-1-230l80 66a146 146 0 0 0 1 98z" fill="#fbbb00"/><path d="M508 208c-1-5-6-8-10-8H261c-5 0-10 4-10 10v97c0 6 5 10 10 10h116a137 137 0 0 1-121 75 137 137 0 0 1-129-180 136 136 0 0 1 201-71c4 2 8 2 12-1l79-65a10 10 0 0 0 0-16 256 256 0 1 0-3 397 257 257 0 0 0 92-248zM256 20c51 0 100 17 141 47l-65 53a156 156 0 0 0-219 72l-62-52C92 66 170 20 256 20zM20 256c0-34 7-67 21-97l65 53a156 156 0 0 0 1 92l-64 53c-15-32-23-66-23-101zm32 119l63-51a156 156 0 0 0 214 70l65 53a236 236 0 0 1-341-72zm435-70c-11 50-38 96-77 130l-63-52c25-18 45-43 55-72a10 10 0 0 0-9-14H272v-77h217a238 238 0 0 1-2 85z" fill="#333"/></svg>\n',type_4_google_356049:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256.7" cy="256" r="247.9" fill="#ece5dd"/><path d="M256.7 8c-11 0-21.7.8-32.3 2.2a248 248 0 0 1 0 491.6A248 248 0 1 0 256.7 8.1z" fill="#d9cbbd"/><path d="M361.5 182A127.2 127.2 0 0 0 256 127.3c-35.2 0-68 14-92.6 39.3l-5.6 5.9-49.9-42.8 6.2-6.6a194.3 194.3 0 0 1 303.5 24.6l2.3 3.5c1.5 2.2.8 5.3-1.5 6.7l-48.6 28.6a4.7 4.7 0 0 1-6.2-1.4l-2.1-3z" fill="#cd2900"/><path d="M86.2 351a194.3 194.3 0 0 1 16.9-215.2l5.5-7 49.9 42.7-5 6.5a128.7 128.7 0 0 0-11 139.1l4 7.2-55.8 34.5-4.5-7.8z" fill="#ffce00"/><path d="M256 450.6a194.7 194.7 0 0 1-160.8-85.2l-5.1-7.5 55.9-34.5 4.6 6.6A129.1 129.1 0 0 0 256 384.8c34.7 0 68.5-14.4 92.7-39.4l5.7-5.9 49.8 42.8-6.2 6.5a194.3 194.3 0 0 1-142 61.8z" fill="#40a459"/><path d="M353.7 340.4l4.9-6.5a128 128 0 0 0 18.6-34.2h-95.4a4.7 4.7 0 0 1-4.8-4.8v-56.3c0-2.6 2.1-4.7 4.8-4.7h164.1c2.3 0 4.1 1.8 4.2 4l.5 18.2c0 44-14.4 85.4-41.5 119.9l-5.6 7-49.8-42.6z" fill="#1d81ce"/><path d="M458.1 255.8l-.5-21.6a8 8 0 0 0-8.1-7.8h-172a8 8 0 0 0-8 8v64.7a8 8 0 0 0 8 8.1H366a121.4 121.4 0 0 1-231.2-50.5 121.6 121.6 0 0 1 132.8-121.4 8 8 0 0 0 6.4-2.3l.1-.2a8 8 0 0 0-4.8-13.6 137 137 0 0 0-112 41.3L120.4 129c34-36.2 82.2-58.8 135.6-58.8 62.7 0 119.8 30.6 154.5 82.3l-42 24.7a136.8 136.8 0 0 0-53.2-45.2 8 8 0 0 0-9 1.6l-.1.1a8 8 0 0 0 2.1 12.9 121 121 0 0 1 50.9 45.8 8 8 0 0 0 11 2.7l55.7-32.9a8 8 0 0 0 2.8-11.2 202.1 202.1 0 1 0-288.2 270.8 8 8 0 0 0 10.2-.9l.1-.1a8 8 0 0 0-1-12.2 187.5 187.5 0 0 1-47.5-48l41.3-25.5a137.4 137.4 0 0 0 211.3 16.4l36.8 31.5A185.5 185.5 0 0 1 184 427.4a8 8 0 0 0-8.8 1.7l-.1.1a8 8 0 0 0 2.6 13.1A202.3 202.3 0 0 0 458 256v-.2zm-364.3 91a185 185 0 0 1 16-205.6l37 31.6A136.7 136.7 0 0 0 135 321.2l-41.3 25.6zm308.5 23.9L365.5 339a136.8 136.8 0 0 0 20.1-37.3A8 8 0 0 0 378 291h-92.4v-48.5h156l.3 13.6a185 185 0 0 1-39.6 114.6z"/><path d="M437 75C388.7 26.6 324.4 0 256 0S123.3 26.6 75 75C26.6 123.3 0 187.6 0 256s26.6 132.7 75 181c48.3 48.4 112.6 75 181 75s132.7-26.6 181-75c48.4-48.3 75-112.6 75-181s-26.6-132.7-75-181zM256 495.8C123.8 495.8 16.2 388.2 16.2 256S123.8 16.2 256 16.2 495.8 123.8 495.8 256 388.2 495.8 256 495.8z"/></svg>\n'},[Zl.GOOGLE_TRANSLATE]:{type_1_translate_281759:Wl,type_2_translate_281776:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g fill="#e6e6e6"><path d="M376.5 317c-9 12.5-19.4 25-30.8 36.5l-39.4-118.9H423.1s-16.5 41-46.6 82.5z"/><path d="M376.5 317c30.1-41.4 46.6-82.4 46.6-82.4H306.3l-43.8-132.3h207.8a31.6 31.6 0 0 1 31.7 31.6v332.4a31.6 31.6 0 0 1-31.7 31.7H281.4l82.9-88.3-18.6-56.2c11.4-11.4 21.8-24 30.8-36.4z"/></g><path fill="#3a5bbc" d="M364.3 409.7L281.4 498 252 409.7z"/><path d="M345.7 353.5l18.6 56.2H41.7A31.6 31.6 0 0 1 10 378.1V45.7A31.6 31.6 0 0 1 41.7 14h191.6l29.2 88.3 43.8 132.3 39.4 119z" fill="#518ef8"/><path d="M153.5 286.1A74.6 74.6 0 1 1 206.2 159a10 10 0 0 1-14.2 14.2 54.5 54.5 0 1 0 15 48.5h-53.5a10 10 0 0 1 0-20H218a10 10 0 0 1 10 10c0 41.1-33.4 74.5-74.5 74.5z" fill="#fff"/><path d="M470.3 92.2H269.7l-27-81.3a10 10 0 0 0-9.4-6.9H41.7C18.7 4 0 22.7 0 45.7V378c0 23 18.7 41.7 41.7 41.7h203.1l27 81.3a10 10 0 0 0 9.6 6.9h189c23 0 41.6-18.7 41.6-41.7V134c0-23-18.7-41.7-41.7-41.7zM20.1 378.1V45.7c0-12 9.6-21.6 21.6-21.6H226l110 332.3 14.4 43.3H41.7c-12 0-21.6-9.7-21.6-21.6zm387.5-133.5a442 442 0 0 1-31.7 55.8 859.6 859.6 0 0 1-22.2-28.9 10 10 0 1 0-16.2 11.8c.4.6 10.4 14.4 26.3 34-4.6 6-9.2 11.7-14 17l-29.6-89.7h87.4zM266 419.8h75.2l-55.5 59-19.7-59zm226 46.5c0 12-9.6 21.6-21.6 21.6H304.6l67-71.3a9.9 9.9 0 0 0 2.2-10l-16.7-50.4a312 312 0 0 0 19.8-23 803 803 0 0 0 45.8 50.2c2 2 4.5 3 7 3s5.2-1 7.2-3c3.9-4 3.9-10.3 0-14.2a795.9 795.9 0 0 1-47.7-52.6c21.2-30.6 35-59.6 40.5-72h21.5a10 10 0 0 0 0-20H385v-18a10 10 0 0 0-20 0v18h-51.5l-37.1-112.3h194c11.9 0 21.5 9.7 21.5 21.6v332.4z" fill="#333"/></svg>\n',type_2_translate_324121:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M185.8 105.7h277a38.7 38.7 0 0 1 38.7 38.7v318.5a38.7 38.7 0 0 1-38.6 38.7H280.5l-94.7-396z" fill="#fff"/><path fill="#0084ff" d="M361.1 406.3l-80.6 95.2-31.7-95.2z"/><path d="M361.1 406.3h-312a38.7 38.7 0 0 1-38.7-38.7V49.1a38.7 38.7 0 0 1 38.7-38.7h182.4l129.6 396z" fill="#10bafc"/><path d="M462.9 95.2H270.3l-28.8-88a10.5 10.5 0 0 0-10-7.2H49.1C22.1 0 0 22 0 49.1v318.5c0 27.1 22 49.2 49.1 49.2h192.2l29.3 88c1.4 4.3 5.4 7.2 9.9 7.2h182.4c27 0 49.1-22 49.1-49.1V144.4c0-27.1-22-49.2-49.1-49.2zm-442 272.4V49.1A28.3 28.3 0 0 1 49.1 21H224l122.7 375H49.1A28.3 28.3 0 0 1 21 367.6zm390.5-126.2a273 273 0 0 1-31.1 51 285.2 285.2 0 0 1-31.1-51h62.2zm-85 0a268 268 0 0 0 24 45.1c4.5 6.9 10 14.5 16.3 22.5-6 6.7-12.6 13.5-19.8 20.2l-28.8-87.8h8.3zm-63.1 175.4h75.3l-54 63.8-21.3-63.8zm227.8 46a28.3 28.3 0 0 1-28.2 28.3H303l66-77.8a10.4 10.4 0 0 0 1.9-10.9L354 351c9.8-8.5 18.5-17.2 26.3-25.8 17.6 19.4 40.5 40 69.8 57.9a10.4 10.4 0 0 0 14.4-3.5c3-4.9 1.5-11.3-3.5-14.3a297.9 297.9 0 0 1-67-56.2 282.2 282.2 0 0 0 40.2-67.6H465a10.4 10.4 0 0 0 0-21h-75v-17.7a10.4 10.4 0 0 0-20.8 0v17.8h-58l-34-104.4h185.7a28.3 28.3 0 0 1 28.2 28.3v318.5z"/><path d="M147 286.4a77 77 0 0 0 77-77c0-5.7-4.6-10.4-10.4-10.4h-59.2a10.4 10.4 0 1 0 0 21h47.8a56.2 56.2 0 1 1-18.8-53.2 10.4 10.4 0 1 0 13.6-16 77 77 0 1 0-50 135.6zM201.6 351.4H197a10.4 10.4 0 0 0 0 21h4.7a10.4 10.4 0 0 0 0-21zM163.1 351.4H61.6a10.4 10.4 0 0 0 0 21h101.5a10.4 10.4 0 0 0 0-21z"/></svg>\n',type_3_google_814137:Kl},[Zl.BAIDU_TRANSLATE]:{baiduIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><path d="M24.012 33.588c.535 7.65-3.611 14.173-9.264 14.57-5.651.397-10.667-5.483-11.202-13.135-.535-7.65 3.611-14.174 9.264-14.571 5.652-.396 10.668 5.485 11.202 13.136zM62.938 1.874C57.447.473 51.464 5.363 49.576 12.795c-1.895 7.432 1.023 14.592 6.514 15.993 5.49 1.4 11.476-3.488 13.365-10.921 2.459-9.673-5.202-15.659-6.517-15.993zm12.874 25.051c-5.775.086-10.359 5.579-10.232 14.088.127 8.508 4.904 12.387 10.685 12.301 5.772-.086 10.358-4.103 10.233-12.614-.168-11.074-9.303-13.795-10.686-13.775zM33.965 0c-5.496 0-9.951 6.16-9.951 13.756s4.455 13.753 9.951 13.753 9.952-6.157 9.952-13.753S39.461 0 33.965 0zm-1.272 42.72c-3.175 4.56-6.775 9.011-13.762 14.843-6.988 5.832-9.952 9.858-9.952 15.795 0 5.936 3.388 15.795 13.022 15.795s14.292-2.121 21.915-2.121c7.623 0 12.707 2.969 22.339 2.969 9.635 0 13.658-9.117 13.658-15.053 0-5.937-1.672-9.297-9.391-16.072-4.945-4.346-9.138-7.885-15.702-17.002-3.245-4.508-6.987-5.088-10.904-5.088-3.917-.001-8.046 1.377-11.223 5.934z" fill="#2f7fda"/></svg>\n',baiduCircle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 97.75 97.75" width="97.75" height="97.75"><path d="M48.875 0C21.882 0 0 21.883 0 48.875S21.882 97.75 48.875 97.75 97.75 75.867 97.75 48.875 75.868 0 48.875 0zm3.443 25.67c.443-4.104 5.349-10.395 9.277-9.49 3.912.892 7.49 6.093 6.766 10.563-.709 4.477-4.258 10.385-9.799 9.66-5.531-.708-6.783-5.715-6.244-10.733zM40.726 14.393c4.138 0 7.481 4.76 7.481 10.652 0 5.89-3.344 10.657-7.481 10.657-4.141 0-7.493-4.768-7.493-10.657-.001-5.893 3.353-10.652 7.493-10.652zM17.361 39.626s.886-8.766 6.955-9.307c4.82-.422 8.373 4.855 8.742 7.878.22 1.96 1.243 10.928-6.253 12.537-7.482 1.616-10.266-7.048-9.444-11.108zm57.077 37.781c-4.097 9.671-19.086 4.645-19.086 4.645s-5.528-1.782-11.955-.352c-6.412 1.435-11.941.894-11.941.894s-7.503.182-9.642-9.305c-2.136-9.493 7.486-14.691 8.206-15.574.715-.902 5.703-4.297 8.912-9.672 3.218-5.362 12.847-9.662 19.63.896 4.998 7.162 13.561 13.785 13.561 13.785s6.416 5.018 2.315 14.683zm-1.247-22.023c-8.215.179-8.559-5.551-8.559-9.66 0-4.303.875-10.395 7.489-10.395 6.603 0 8.376 6.455 8.376 8.597.002 2.155.901 11.276-7.306 11.458z" fill="#2f7fda"/></svg>\n'},[Zl.SOUGOU_TRANSLATE]:{icon_with_circle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500" height="500"><g fill="none" stroke="#ff7118" stroke-linecap="round" stroke-miterlimit="10" stroke-width="50"><path d="M353.1672 448.22A221.78 221.78 0 0 1 250.5 473.2405c-123.0162 0-222.74-99.7243-222.74-222.74S127.4838 27.76 250.5 27.76s222.7405 99.7238 222.7405 222.74a221.8153 221.8153 0 0 1-23.4442 99.5794M457.1626 409.06a224.0383 224.0383 0 0 1-45.5513 45.7174"/></g><path d="M370.81 171.8827c2.408-5.2836 5.1433-19.1-14.9156-30.9534-18.4142-10.8811-53.506-20.0589-102.8818-18.9367s-87.8482 14.5109-111.6255 33.5328c-50.4591 40.3672-16.0222 71.9518 8.9462 87.3818 19.6869 12.1661 97.7386 38.0449 112.1554 40.9283s33.1588 11.5335 33.1588 24.5087-20.1914 22.6539-43.196 24.8983-81.5761-4.91-100.092-10.24-29.0565.7038-31.5613 8.51c-2.2093 6.885-2.2755 17.4327 18.9368 26.979s102.1805 28.896 165.3809 16.6924 79.347-43.0639 80.3756-64.1039-14.0895-46.15-51.76-62.7017-85.6907-25.81-98.3931-30.4391-30.0962-10.52-29.2546-25.3892 20.62-21.1811 26.9323-22.7241 27.8674-5.5174 56.0153-2.6184 37.6774 7.7007 50.7318 11.0815c18.235 4.722 28.6385-1.1227 31.0468-6.4063z" fill="#ff7118"/></svg>\n',icon_no_circle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500" height="500"><path d="M450.3783 112.4046c4.0106-9.2472 8.5663-33.4293-24.8423-54.1743-30.6693-19.0441-89.1154-35.107-171.3518-33.143S107.8714 50.4843 68.27 83.7762c-84.04 70.65-26.6853 125.93 14.9 152.9349 32.7889 21.293 162.7855 66.586 186.7971 71.6324s55.2266 20.1858 55.2266 42.8949-33.6292 39.6488-71.9439 43.5768-135.8666-8.5926-166.7052-17.9217-48.3946 1.2318-52.566 14.8938c-3.68 12.05-3.79 30.5106 31.54 47.2185s170.1832 50.5742 275.4448 29.2149 132.1545-75.37 133.8678-112.195-23.4665-80.7706-86.2081-109.74-142.72-45.1725-163.8758-53.2742-50.1258-18.4127-48.724-44.436 34.343-37.071 44.8562-39.7716 46.4137-9.6564 93.2947-4.5827 62.7524 13.4778 84.4948 19.3948c30.371 8.2652 47.6987-1.9641 51.7093-11.2114z" fill="#ff7118"/></svg>\n'},[Zl.URBAN_DICTIONARY]:{urbanDictionary:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill-rule="evenodd" clip-rule="evenodd" fill="#445588" d="M77.37 92.08s16.13 16.13 19.36 32.27v45.18c0 12.91-6.45 35.49-6.45 51.63 0 19.36 3.23 25.81 6.45 35.49 3.23 9.68 3.23 9.68 3.23 25.81s-3.23 77.44-3.23 77.44l-3.23 48.4 9.68 22.59 12.91-12.91s3.23 9.68 9.68 19.36c6.45 9.68 32.27 19.36 32.27 19.36l32.27 9.68 103.26-41.95s12.91 9.68 22.59 12.91c9.68 3.23 41.95 19.36 58.08 22.59s25.81 6.45 38.72 6.45 25.81-3.23 38.72-9.68c12.91-3.23 29.04-9.68 29.04-9.68l6.45-38.72-77.44-51.63-16.13 12.91s-6.45-54.86-9.68-83.9c-3.23-29.04-9.68-67.76-9.68-67.76l9.68-6.45s-6.45-51.63-9.68-64.54c0-12.91 6.45-45.18 6.45-51.63 0-6.45 3.23-25.81 3.23-25.81V53.36l-22.59-9.68-25.81 9.68L290.34 34l-41.95 22.59 3.23 25.81h70.99l29.04 19.36v19.36l-9.68 9.68s-3.23 32.27-3.23 54.86c-3.23 22.59-3.23 48.4-6.45 74.22-3.23 32.27-9.68 61.31-19.36 87.12 0 0-38.72 22.59-58.08 32.27-29.04 9.68-54.86 9.68-54.86 9.68l-45.18-19.36c-6.45-41.95-12.91-77.44-16.13-106.48-3.23-9.68-3.23-12.91 0-25.81 0-9.68 6.45-45.18 6.45-45.18l-9.68-9.68s6.45-38.72 9.68-51.63c3.23-12.91 3.23-25.81 6.45-35.49 0-9.68 3.23-19.36 3.23-19.36l-6.45-22.59s-25.81-9.68-38.72-12.91C99.96 37.23 83.83 34 83.83 34H58.02c-9.68 0-25.81 3.23-25.81 3.23L12.84 56.59s3.23 9.68 6.45 12.91l3.23 6.45 9.68 3.23 12.91 16.13s12.91 0 22.59-3.23c-.01 3.23 9.67 0 9.67 0"/></svg>\n'},[Zl.BING_TRANSLATE]:{bingFlat:'<svg class="icon" style="fill: #59a4a6" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7985"><path d="M911.36 426.666667L433.493333 238.933333c-6.826667-3.413333-13.653333 0-17.066666 3.413334-6.826667 6.826667-6.826667 13.653333-6.826667 20.48l102.4 238.933333 10.24 10.24 146.773333 40.96-416.426666 225.28 116.053333-98.986667c3.413333-3.413333 6.826667-6.826667 6.826667-13.653333V102.4c0-6.826667-3.413333-13.653333-10.24-17.066667L126.293333 0c-6.826667 0-13.653333 0-17.066666 3.413333-3.413333 3.413333-6.826667 6.826667-6.826667 13.653334v853.333333c0 3.413333 0 3.413333 3.413333 6.826667l3.413334 3.413333 3.413333 3.413333 238.933333 136.533334c3.413333 0 6.826667 3.413333 6.826667 3.413333 3.413333 0 6.826667 0 10.24-3.413333l546.133333-341.333334c3.413333-3.413333 6.826667-10.24 6.826667-13.653333V443.733333c0-6.826667-3.413333-13.653333-10.24-17.066666z" fill="" p-id="7986"></path></svg>\n',bingGold:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 406.461 406.461"><path fill="#ffba00" d="M160.99 103.038l42.24 97.112 57.635 23.073L42.328 344.616l93.206-95.344V38.963L39.746 0v347.259l96.987 59.202 229.982-137.388v-95.22z"/></svg>\n',bingOutline:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256.636" cy="256.313" r="247.916" fill="#00ab94"/><path d="M136.893 384.254V96.671a2.314 2.314 0 0 1 2.95-2.226l71.901 20.543a2.313 2.313 0 0 1 1.678 2.226v230.649c0 1.818 1.999 2.926 3.541 1.963l78.118-48.824c1.425-.891 1.456-2.957.057-3.889l-28.117-18.744a2.317 2.317 0 0 1-.942-1.29l-20.366-71.281c-.532-1.865 1.326-3.518 3.116-2.772l124.851 52.022a2.314 2.314 0 0 1 1.424 2.136v84.014c0 .832-.447 1.601-1.171 2.012l-150.008 85.25a2.316 2.316 0 0 1-2.187.054l-83.578-42.193a2.317 2.317 0 0 1-1.267-2.067z" fill="#fff"/><path d="M437.019 74.982C388.667 26.628 324.379 0 256 0S123.333 26.628 74.981 74.982C26.628 123.333 0 187.62 0 256s26.628 132.667 74.981 181.019C123.333 485.372 187.62 512 256 512s132.667-26.628 181.019-74.982C485.372 388.667 512 324.379 512 256s-26.628-132.667-74.981-181.018zM256 495.832C123.756 495.832 16.168 388.244 16.168 256S123.756 16.168 256 16.168 495.832 123.756 495.832 256 388.244 495.832 256 495.832z"/><path d="M377.678 248.538l-129.347-53.895a8.096 8.096 0 0 0-9.756 2.853c-1.429 2.035-1.748 4.654-1.065 7.046l21.496 75.236a8.087 8.087 0 0 0 3.289 4.506l21.918 14.613-63.244 39.527v-31.9a8.084 8.084 0 0 0-16.168 0v46.247c0 2.344.9 4.649 2.641 6.219a8.092 8.092 0 0 0 9.728.876l86.232-53.895a8.083 8.083 0 0 0 .199-13.583l-29.864-19.91-16.131-56.457 108.879 45.367v76.138l-143.876 81.765-77.092-38.92v-275.34l59.284 16.938v145.174a8.084 8.084 0 0 0 16.168 0V115.874a8.086 8.086 0 0 0-5.863-7.774l-75.453-21.558a8.093 8.093 0 0 0-8.827 3.106c-1.012 1.414-1.478 3.15-1.478 4.888v290.811a8.085 8.085 0 0 0 4.441 7.217l85.403 43.116a8.082 8.082 0 0 0 7.638-.187l151.734-86.232a8.084 8.084 0 0 0 4.09-7.029V256a8.085 8.085 0 0 0-4.976-7.462z"/></svg>\n',bingRound:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#36930f"/><path d="M197.976 121.624l-68.573-21.361v264.009l146.926 146.926c100.997-7.935 185.507-74.483 219.554-165.644L382.597 232.267l-104.876-30.898-79.745-79.745z" fill="#2a7507"/><g fill="#fff"><path d="M197.976 121.624l-68.573-21.361v264.008l68.573-63.301z"/><path d="M227.867 186.681l26.253 63.298 54.984 25.698-179.701 88.594 68.573 45.466 184.621-103.492v-73.978z"/></g></svg>\n'},[Zl.VOCABULARY]:{logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="108.3592" y1="300.9078" x2="213.5802" y2="491.5423"><stop offset="0" stop-color="#69ac1d"/><stop offset=".1934" stop-color="#599a1c"/><stop offset=".5835" stop-color="#316a19"/><stop offset="1" stop-color="#003016"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="170.5128" y1="250" x2="426.0599" y2="250"><stop offset="0" stop-color="#add099"/><stop offset=".1919" stop-color="#a4cb88"/><stop offset=".572" stop-color="#8bbe5c"/><stop offset="1" stop-color="#6cae23"/></linearGradient><path d="M30 240.753L98.718 200.713 265.984 500 170.513 500z" fill="url(#a)"/><path d="M405.385,0L470,48.253C334.615,250.507,265.984,500,265.984,500h-95.471 C170.513,500,260.769,193.013,405.385,0z" fill="url(#b)"/></svg>\n'}};function xc(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}const wc=function(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=xc(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=xc(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}({},{enableHotkey:pc(Wi,!1),hotkey:pc(os(qi),()=>[])});function _c(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function kc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=_c(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=_c(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const Sc=ls(kc(kc({},wc),{},{display:pc(Wi,!0),icon:pc(es(yc[Zl.ICIBA]),"searchIcon")})),Tc=fc(Sc);function Oc(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Cc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Oc(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Oc(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const Ac=bs(oc,"GOOGLE_DICT_FOLD_STATUS"),Ec=ls(Cc(Cc({},wc),{},{display:pc(Wi,!0),icon:pc(es(yc[Zl.GOOGLE_DICT]),"type_0_google"),foldStatus:pc(Ac,oc.UNFOLD)})),Lc=fc(Ec);var Ic,Mc;!function(e){e.de="de",e.es="es",e.fr="fr",e.it="it",e.ja="ja",e.ru="ru",e.zh="zh-CN",e.en="en"}(Mc||(Mc={}));const Uc={[Mc.de]:"德语",[Mc.es]:"西班牙语",[Mc.fr]:"法语",[Mc.it]:"意大利语",[Mc.ja]:"日语",[Mc.ru]:"俄语",[Mc.en]:"英语",[Mc.zh]:"中文"},zc=f()(Ic=d()(Uc)).call(Ic,([e,t])=>({text:t,key:e}));function Rc(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Rc(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Rc(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const Dc=bs(tc,"GOOGLE_TRANSLATE_HOST"),Pc=bs(Mc,"GOOGLE_LANGUAGES"),Vc=ls(Nc(Nc({},wc),{},{icon:pc(es(yc[Zl.GOOGLE_TRANSLATE]),"type_1_translate_281759"),display:pc(Wi,!0),translateHost:pc(Dc,tc.GOOGLE_COM),targetLanguage:pc(Pc,Mc.zh),secondTargetLanguage:pc(Pc,Mc.en)})),Gc=fc(Vc);var jc,Bc;!function(e){e.de="de",e.fra="fra",e.it="it",e.jp="jp",e.ru="ru",e.spa="spa",e.zh="zh",e.en="en"}(Bc||(Bc={}));const Hc={[Bc.de]:"德语",[Bc.fra]:"法语",[Bc.it]:"意大利语",[Bc.jp]:"日语",[Bc.ru]:"俄语",[Bc.spa]:"西班牙语",[Bc.zh]:"中文",[Bc.en]:"英语"},Fc=f()(jc=d()(Hc)).call(jc,([e,t])=>({text:t,key:e}));function Yc(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function qc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Yc(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Yc(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const $c=bs(Bc,"BAIDU_LANGUAGES"),Wc=ls(qc(qc({},wc),{},{display:pc(Wi,!0),icon:pc(es(yc[Zl.BAIDU_TRANSLATE]),"baiduIcon"),targetLanguage:pc($c,Bc.zh),secondTargetLanguage:pc($c,Bc.en)})),Kc=fc(Wc);var Xc,Zc;!function(e){e.de="de",e.es="es",e.fr="fr",e.it="it",e.ja="ja",e.ru="ru",e.en="en",e.zhs="zh-CHS"}(Zc||(Zc={}));const Jc={[Zc.de]:"德语",[Zc.es]:"西班牙语",[Zc.fr]:"法语",[Zc.it]:"意大利语",[Zc.ja]:"日语",[Zc.ru]:"俄语",[Zc.en]:"英语",[Zc.zhs]:"中文"},Qc=f()(Xc=d()(Jc)).call(Xc,([e,t])=>({text:t,key:e}));function eu(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function tu(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=eu(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=eu(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const nu=bs(Zc,"SOUGOU_LANGUAGES"),ou=ls(tu(tu({},wc),{},{display:pc(Wi,!1),icon:pc(es(yc[Zl.SOUGOU_TRANSLATE]),"icon_with_circle"),targetLanguage:pc(nu,Zc.zhs),secondTargetLanguage:pc(nu,Zc.en)})),ru=fc(ou);function au(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function iu(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=au(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=au(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const su=ls(iu(iu({},wc),{},{display:pc(Wi,!1),icon:pc(es(yc[Zl.URBAN_DICTIONARY]),"urbanDictionary")})),lu=fc(su);var cu,uu;!function(e){e.de="de",e.it="it",e.fr="fr",e.ru="ru",e.ja="ja",e.zh="zh-Hans",e.en="en"}(uu||(uu={}));const du={[uu.de]:"德语",[uu.it]:"意大利语",[uu.fr]:"法语",[uu.ru]:"俄语",[uu.ja]:"日语",[uu.zh]:"中文",[uu.en]:"英语"},pu={ar:["ar-SA","Male","ar-SA-Naayf"],bg:["bg-BG","Male","bg-BG-Ivan"],ca:["ca-ES","Female","ca-ES-HerenaRUS"],cs:["cs-CZ","Male","cs-CZ-Jakub"],da:["da-DK","Female","da-DK-HelleRUS"],de:["de-DE","Female","de-DE-Hedda"],el:["el-GR","Male","el-GR-Stefanos"],en:["en-US","Female","en-US-JessaRUS"],es:["es-ES","Female","es-ES-Laura-Apollo"],fi:["fi-FI","Female","fi-FI-HeidiRUS"],fr:["fr-FR","Female","fr-FR-Julie-Apollo"],he:["he-IL","Male","he-IL-Asaf"],hi:["hi-IN","Female","hi-IN-Kalpana-Apollo"],hr:["hr-HR","Male","hr-HR-Matej"],hu:["hu-HU","Male","hu-HU-Szabolcs"],id:["id-ID","Male","id-ID-Andika"],it:["it-IT","Male","it-IT-Cosimo-Apollo"],ja:["ja-JP","Female","ja-JP-Ayumi-Apollo"],ko:["ko-KR","Female","ko-KR-HeamiRUS"],ms:["ms-MY","Male","ms-MY-Rizwan"],nl:["nl-NL","Female","nl-NL-HannaRUS"],no:["nb-NO","Female","nb-NO-HuldaRUS"],pl:["pl-PL","Female","pl-PL-PaulinaRUS"],pt:["pt-PT","Female","pt-PT-HeliaRUS"],ro:["ro-RO","Male","ro-RO-Andrei"],ru:["ru-RU","Female","ru-RU-Irina-Apollo"],sk:["sk-SK","Male","sk-SK-Filip"],sl:["sl-SL","Male","sl-SI-Lado"],sv:["sv-SE","Female","sv-SE-HedvigRUS"],ta:["ta-IN","Female","ta-IN-Valluvar"],te:["te-IN","Male","te-IN-Chitra"],th:["th-TH","Male","th-TH-Pattara"],tr:["tr-TR","Female","tr-TR-SedaRUS"],vi:["vi-VN","Male","vi-VN-An"],"zh-Hans":["zh-CN","Female","zh-CN-HuihuiRUS"],"zh-Hant":["zh-HK","Female","zh-HK-Tracy-Apollo"]},fu=f()(cu=d()(du)).call(cu,([e,t])=>({text:t,key:e}));function vu(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function gu(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=vu(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=vu(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const mu=bs(uu,"BING_LANGUAGES"),hu=ls(gu(gu({},wc),{},{display:pc(Wi,!1),icon:pc(es(yc[Zl.BING_TRANSLATE]),"bingFlat"),targetLanguage:pc(mu,uu.zh),secondTargetLanguage:pc(mu,uu.en)})),bu=fc(hu);function yu(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function xu(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=yu(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=yu(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const wu=ls(xu(xu({},wc),{},{display:pc(Wi,!1),icon:pc(es(yc[Zl.VOCABULARY]),"logo")})),_u=fc(wu),ku=vs(ls({core:hc,[Zl.ICIBA]:Sc,[Zl.GOOGLE_DICT]:Ec,[Zl.GOOGLE_TRANSLATE]:Vc,[Zl.BAIDU_TRANSLATE]:Wc,[Zl.SOUGOU_TRANSLATE]:ou,[Zl.URBAN_DICTIONARY]:su,[Zl.BING_TRANSLATE]:hu,[Zl.VOCABULARY]:wu})),Su={core:bc,[Zl.ICIBA]:Tc,[Zl.GOOGLE_DICT]:Lc,[Zl.GOOGLE_TRANSLATE]:Gc,[Zl.BAIDU_TRANSLATE]:Kc,[Zl.SOUGOU_TRANSLATE]:ru,[Zl.URBAN_DICTIONARY]:lu,[Zl.BING_TRANSLATE]:bu,[Zl.VOCABULARY]:_u},Tu=(e,t)=>{let n=t,o=Su;for(let t=0;t<e.length-1;t+=1)n=n[e[t]],o=o[e[t]];const r=e[e.length-1];n[r]=$l(o[r])},Ou=(()=>{const e=()=>{const e=z()(t.config);Fl(uc.STORE,e)},t={config:null,loadConfig:async()=>{let n,o,r;try{n=await Hl(uc.STORE,"")}catch(e){n=""}try{o=JSON.parse(n)}catch(e){o={}}X()(o)&&(o={});for(let e=0;e<3;e+=1){if(r=ku.decode(o),"Left"!==r._tag){o=r.right;break}var a;P()(a=r.left).call(a,e=>{var t,n;const r=_()(t=f()(n=e.context).call(n,e=>e.key)).call(t,e=>e);Tu(r,o)})}"Left"===r._tag&&(o=Su),t.config=Ht(o),Lr(()=>t.config,()=>{e()},{deep:!0})}};return t})(),Cu=(e=0)=>{let t=e;return()=>(t+=1,t)};let Au;const Eu=async(e,t=1)=>{Au=Au||new AudioContext,"suspended"===Au.state&&await Au.resume();const n=J()(e).call(e,0),o=await Au.decodeAudioData(n),r=Au.createBufferSource();r.buffer=o;const a=Au.createGain();a.gain.value=t,r.connect(a),a.connect(Au.destination),r.start()},Lu=new($()),Iu=(e,t,n)=>{const o=t instanceof ArrayBuffer?t:null,r="number"==typeof t?t:null!=n?n:1;if(o)return Lu.set(e,o),Eu(o,r),!0;const a=Lu.get(e);return!!a&&(Eu(a,r),!0)};var Mu;!function(e){e[e.PLAY_AUDIO=0]="PLAY_AUDIO"}(Mu||(Mu={}));const Uu=new class{constructor(){this.bus=new Cl}on(e,t){this.bus.on(""+e,t)}off(e,t){this.bus.off(""+e,t)}emit(e){this.bus.emit(""+e.type,e)}},zu=Ht({data:null}),Ru=to("data-v-bae3a914");Qn("data-v-bae3a914");const Nu={class:"r-container flex-col relative text-grey-900"},Du={key:0,class:"symbols-box flex-col items-stretch"},Pu={class:"pronunciation-box flex-col flex-none items-stretch"},Vu={key:0,class:"part-item-part pr-6px text-grey-600 flex-none"},Gu={class:"part-item-meaning-box flex-auto"},ju={key:1,class:"chinese-zi-box mt-1"},Bu={key:2,class:"chinese-ci-box mt-1 leading-normal"},Hu={class:"ciyi-box"},Fu={class:"type-text text-grey-600 pr-1"},Yu={key:0,class:"pr-1 text-grey-500"},qu={key:1,class:"translation-box flex-col items-stretch"},$u={class:"translate-content"},Wu={class:"translate-tip mt-1 text-right text-12 text-grey-500"},Ku=Co(" do you mean? "),Xu={key:0,class:"suggest-box flex flex-wrap items-stretch"};eo();const Zu=Ru((function(e,t,n,o,r,a){const i=oo("iciba-pronunciation"),s=oo("scrollable");return go(),bo("div",Nu,[So(s,{class:"scroll-container"},{default:Ru(({scrollBar:t})=>[e.result?(go(),bo("div",{key:0,class:["main-box flex-col flex-auto text-14 break-words",[t&&"py-10px pl-10px pr-14px",!t&&"p-10px"]]},[e.isBaseInfoBaseInfoNormal(e.result.baseInfo)?(go(),bo(lo,{key:0},[Eo(" symbols "),e.result.baseInfo&&e.result.baseInfo.symbols&&e.result.baseInfo.symbols.length?(go(),bo("div",Du,[(go(!0),bo(lo,null,la(e.result.baseInfo.symbols,(t,n)=>(go(),bo("div",{class:["symbol-item flex-col items-stretch w-full",{"mt-6px":0!==n}],key:n},[Eo(" pronunciation "),So("div",Pu,[Eo(" symbol_mp3 "),e.isSymbolCN(t)&&t.word_symbol?(go(),bo(i,{key:0,ipa:t.word_symbol,onPlay:n=>e.handlePlay(t.symbol_mp3)},null,8,["ipa","onPlay"])):Eo("v-if",!0),e.isSymbolEN(t)?(go(),bo(lo,{key:1},[Eo(" en "),t.ph_en_mp3?(go(),bo(i,{key:0,type:"英",ipa:`[${t.ph_en}]`,onPlay:n=>e.handlePlay(t.ph_en_mp3)},null,8,["ipa","onPlay"])):Eo("v-if",!0),Eo(" am "),t.ph_am_mp3?(go(),bo(i,{key:1,type:"美",ipa:`[${t.ph_am}]`,onPlay:n=>e.handlePlay(t.ph_am_mp3)},null,8,["ipa","onPlay"])):Eo("v-if",!0),Eo(" tts "),!t.ph_tts_mp3||t.ph_en_mp3||t.ph_am_mp3?Eo("v-if",!0):(go(),bo(i,{key:2,type:"TTS",ipa:`[${t.ph_other}]`,onPlay:n=>e.handlePlay(t.ph_tts_mp3)},null,8,["ipa","onPlay"]))],64)):Eo("v-if",!0)]),Eo(" meaning "),t.parts&&t.parts.length?(go(),bo("div",{key:0,class:["part-box flex-col flex-none items-stretch",{"mt-1":t.symbol_mp3||t.word_symbol}]},[(go(!0),bo(lo,null,la(t.parts,(e,t)=>(go(),bo("div",{class:["part-item flex",{"mt-3px":0!==t}],key:t},[e.part?(go(),bo("div",Vu,le(e.part),1)):Eo("v-if",!0),So("div",Gu,[(go(!0),bo(lo,null,la(e.means,(t,n)=>(go(),bo("div",{class:["meaning-item inline",{"pr-3px":n!==e.means.length-1}],key:n},[n===e.means.length-1?(go(),bo(lo,{key:0},[Co(le(t),1)],64)):(go(),bo(lo,{key:1},[Co(le(t)+"; ",1)],64))],2))),128))])],2))),128))],2)):Eo("v-if",!0)],2))),128))])):Eo("v-if",!0),Eo(" chinese zi "),Eo(" 当无baseInfo时才显示 "),e.result.baseInfo&&e.result.baseInfo.symbols&&e.result.baseInfo.symbols.length||!e.result.chinese||!e.result.chinese.zi?Eo("v-if",!0):(go(),bo("div",ju,[(go(!0),bo(lo,null,la(e.result.chinese.zi,(e,t)=>(go(),bo("div",{class:"zi-item",key:t},le(e.hanzi)+" "+le(e.pinyin)+" "+le(e.jieshi),1))),128))])),Eo(" chinese ci "),e.result.chinese&&e.result.chinese.ci&&e.result.chinese.ci.ciyi&&e.result.chinese.ci.ciyi.length?(go(),bo("div",Bu,[So("div",Hu,[(go(!0),bo(lo,null,la(e.normalizeCiyi(e.result.chinese.ci.ciyi),(t,n)=>(go(),bo("div",{class:"ciyi-item",key:n},[So("span",Fu,le(n+1)+". ",1),e.seperateChineseJieshi(t)[0]?(go(),bo("span",Yu,"["+le(e.seperateChineseJieshi(t)[0])+"]",1)):Eo("v-if",!0),So("span",null,le(e.seperateChineseJieshi(t)[1]),1)]))),128))])])):Eo("v-if",!0)],64)):Eo("v-if",!0),Eo(" translation "),e.isBaseInfoTranslate(e.result.baseInfo)&&2===e.result.baseInfo.translate_type&&e.result.baseInfo.translate_result?(go(),bo("div",qu,[So("div",$u,le(e.result.baseInfo.translate_result),1),So("div",Wu,le(e.result.baseInfo.translate_msg.replace(/。$/,"")),1)])):Eo("v-if",!0),Eo(" suggest "),e.isBaseInfoSuggestion(e.result.baseInfo)&&e.result.baseInfo.suggest.length?(go(),bo(lo,{key:2},[Ku,e.isBaseInfoSuggestion(e.result.baseInfo)?(go(),bo("div",Xu,[(go(!0),bo(lo,null,la(e.result.baseInfo.suggest,(t,n)=>(go(),bo("span",{class:"text-blue-500 mr-1 cursor-pointer",onClick:n=>e.handleSuggestionClick(t.key),key:n},le(t.key),9,["onClick"]))),128))])):Eo("v-if",!0)],64)):Eo("v-if",!0)],2)):Eo("v-if",!0)]),_:1})])})),Ju=to("data-v-5ec67402");Qn("data-v-5ec67402");const Qu={class:"scrollable relative flex"},ed={class:"scroll-content flex-col flex-auto overflow-hidden"};eo();const td=Ju((function(e,t,n,o,r,a){const i=ao("no-overscroll");return go(),bo("div",Qu,[So("div",{class:["scroll-bar-track absolute right-0",{moving:e.state.drag.start,hidden:e.state.noScrollBar}]},[e.state.noScrollBar?Eo("v-if",!0):(go(),bo("div",{key:0,class:"scroll-bar-thumb rounded-full flex justify-center absolute ease-in-out duration-100",style:e.thumbStyle,onWheel:t[1]||(t[1]=ti(()=>{},["prevent"])),onMousedown:t[2]||(t[2]=(...t)=>e.handleScrollbarThumbClick(...t))},null,36))],2),So("div",ed,[yr(So("div",{class:"scroll-box flex flex-auto overflow-x-hidden overflow-y-scroll",style:e.scrollBoxStyle,onScroll:t[3]||(t[3]=(...t)=>e.calcScrollbar(...t)),onMouseenter:t[4]||(t[4]=(...t)=>e.calcScrollbar(...t)),ref:e.refs.container},[So("div",{class:"w-full flex-col",ref:e.refs.scrollBox},[Kn(e.$slots,"default",{scrollBar:!e.state.noScrollBar})],512)],36),[[i]])])])}));var nd=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),od="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,rd=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),ad="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(rd):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var id=["top","right","bottom","left","width","height","size","weight"],sd="undefined"!=typeof MutationObserver,ld=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function a(){n&&(n=!1,e()),o&&s()}function i(){ad(a)}function s(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(i,t);r=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){od&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),sd?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){od&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;id.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),cd=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},ud=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||rd},dd=hd(0,0,0,0);function pd(e){return parseFloat(e)||0}function fd(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+pd(e["border-"+n+"-width"])}),0)}function vd(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return dd;var o=ud(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],a=e["padding-"+r];t[r]=pd(a)}return t}(o),a=r.left+r.right,i=r.top+r.bottom,s=pd(o.width),l=pd(o.height);if("border-box"===o.boxSizing&&(Math.round(s+a)!==t&&(s-=fd(o,"left","right")+a),Math.round(l+i)!==n&&(l-=fd(o,"top","bottom")+i)),!function(e){return e===ud(e).document.documentElement}(e)){var c=Math.round(s+a)-t,u=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return hd(r.left,r.top,s,l)}var gd="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof ud(e).SVGGraphicsElement}:function(e){return e instanceof ud(e).SVGElement&&"function"==typeof e.getBBox};function md(e){return od?gd(e)?function(e){var t=e.getBBox();return hd(0,0,t.width,t.height)}(e):vd(e):dd}function hd(e,t,n,o){return{x:e,y:t,width:n,height:o}}var bd=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=hd(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=md(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),yd=function(e,t){var n,o,r,a,i,s,l,c=(o=(n=t).x,r=n.y,a=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),cd(l,{x:o,y:r,width:a,height:i,top:r,right:o+a,bottom:i+r,left:o}),l);cd(this,{target:e,contentRect:c})},xd=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new nd,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof ud(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new bd(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof ud(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new yd(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),wd="undefined"!=typeof WeakMap?new WeakMap:new nd,_d=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ld.getInstance(),o=new xd(t,n,this);wd.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){_d.prototype[e]=function(){var t;return(t=wd.get(this))[e].apply(t,arguments)}}));const kd=void 0!==rd.ResizeObserver?rd.ResizeObserver:_d,Sd=Ht({scrollBarWidth:0,devicePixelRatio:null}),Td=()=>{const e=window.devicePixelRatio;if(null!==e&&Sd.devicePixelRatio===e)return;const n=(()=>{const e=document.createElement("div"),n=e.style;n.overflow="scroll",n.height="100%",n.visibility="hidden",n.width="100px",n.position="absolute",n.top="-9999px",t.append(e);const o=e.offsetWidth;n.overflow="scroll";const r=document.createElement("div");r.style.width="100%",e.appendChild(r);const a=r.offsetWidth;return t.removeChild(e),o-a})();Sd.scrollBarWidth=n},Od=Sd,Cd=()=>{window.addEventListener("resize",Td),Td()},Ad=ia({setup:e=>{const t={container:Jt(),scrollBox:Jt()},n=Ht({drag:{start:!1,startY:0,startScrollTop:0},noScrollBar:!0,scrollbar:{track:{top:0},thumb:{size:"0",position:"0"}}}),o=e=>{if(t.container.value&&n.drag.start){e.preventDefault();const{scrollHeight:o,clientHeight:r}=t.container.value,a=o-r,i=o*((e.clientY-n.drag.startY)/r);let s=n.drag.startScrollTop+i;s>a&&(s=a),s<0&&(s=0),t.container.value.scrollTop=s}},r=()=>{n.drag.start=!1},a=()=>{if(!t.container.value)return;const{scrollTop:e,scrollHeight:o,clientHeight:r}=t.container.value,a=r/o,i=(1-a)*(e/(o-r))*100;n.noScrollBar=a>=1;const s=(100*a).toFixed(4),l=i.toFixed(4);n.scrollbar.track.top!==e&&(n.scrollbar.track.top=e),n.scrollbar.thumb.size!==s&&(n.scrollbar.thumb.size=s),n.scrollbar.thumb.position!==l&&(n.scrollbar.thumb.position=l)},i=aa(()=>({height:n.scrollbar.thumb.size+"%",top:n.scrollbar.thumb.position+"%"})),s=aa(()=>({"margin-right":-Od.scrollBarWidth+"px"}));return Yo(()=>{window.addEventListener("mousemove",o,!1),window.addEventListener("mouseup",r,!1);const e=new kd(a);window.setTimeout(()=>{t.container.value&&e.observe(t.container.value),t.scrollBox.value&&e.observe(t.scrollBox.value)}),a(),Ko(()=>{window.removeEventListener("mousemove",o,!1),window.removeEventListener("mouseup",r,!1),e.disconnect()})}),$o(()=>{a()}),{state:n,refs:t,props:e,thumbStyle:i,scrollBoxStyle:s,calcScrollbar:a,handleScrollbarThumbClick:e=>{e.preventDefault(),t.container.value&&(n.drag.start=!0,n.drag.startY=e.clientY,n.drag.startScrollTop=t.container.value.scrollTop)}}}});Ad.render=td,Ad.__scopeId="data-v-5ec67402";const Ed=Ad,Ld='<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 93.038 93.038"><path d="M46.547 75.521c0 1.639-.947 3.128-2.429 3.823-.573.271-1.187.402-1.797.402-.966 0-1.923-.332-2.696-.973l-23.098-19.14H4.225C1.892 59.635 0 57.742 0 55.409V38.576c0-2.334 1.892-4.226 4.225-4.226h12.303l23.098-19.14c1.262-1.046 3.012-1.269 4.493-.569 1.481.695 2.429 2.185 2.429 3.823l-.001 57.057zm16.237-6.602c-.103.007-.202.011-.304.011-1.116 0-2.192-.441-2.987-1.237l-.565-.567c-1.482-1.479-1.656-3.822-.408-5.504 3.164-4.266 4.834-9.323 4.834-14.628 0-5.706-1.896-11.058-5.484-15.478-1.366-1.68-1.24-4.12.291-5.65l.564-.565c.844-.844 1.975-1.304 3.199-1.231 1.192.06 2.305.621 3.061 1.545 4.977 6.09 7.606 13.484 7.606 21.38 0 7.354-2.325 14.354-6.725 20.24-.735.981-1.859 1.597-3.082 1.684zm17.468 13.057c-.764.903-1.869 1.445-3.052 1.495-.058.002-.117.004-.177.004-1.119 0-2.193-.442-2.988-1.237l-.555-.555c-1.551-1.55-1.656-4.029-.246-5.707 6.814-8.104 10.568-18.396 10.568-28.982 0-11.011-4.019-21.611-11.314-29.847-1.479-1.672-1.404-4.203.17-5.783l.554-.555c.822-.826 1.89-1.281 3.115-1.242 1.163.033 2.263.547 3.036 1.417 8.818 9.928 13.675 22.718 13.675 36.01.002 12.789-4.539 25.213-12.786 34.982z"/></svg>\n',Id=to("data-v-267555b4");Qn("data-v-267555b4");const Md={class:"pronunciation-item flex items-center"},Ud={key:1,class:"ipa text-grey-700 text-12 mr-1"};eo();const zd=Id((function(e,t,n,o,r,a){const i=oo("i-icon");return go(),bo("div",Md,[e.type?(go(),bo("div",{key:0,class:"ipa-type-name text-grey-600 mr-1 text-12",textContent:e.type},null,8,["textContent"])):Eo("v-if",!0),"[]"!==e.ipa?(go(),bo("div",Ud,le(e.ipa),1)):Eo("v-if",!0),So("div",{class:"play-sound flex flex-center",onClick:t[1]||(t[1]=(...t)=>e.handlePlay(...t))},[So(i,{svg:e.icon.play},null,8,["svg"])])])})),Rd=ia({name:"IcibaPronunciation",props:{ipa:{type:String,required:!0},type:{type:String}},components:{Scrollable:Ed},setup:(e,t)=>({props:e,handlePlay:()=>{t.emit("play")},icon:{play:Ld}})});Rd.render=zd,Rd.__scopeId="data-v-267555b4";const Nd=e=>!!e&&"translate_type"in e&&!("translate_result"in e),Dd=e=>!!e&&"translate_type"in e&&"translate_result"in e,Pd=e=>!!e&&"translate_type"in e&&"suggest"in e,Vd=e=>"string"==typeof e?[e]:e,Gd=e=>"word_symbol"in e,jd=e=>!("word_symbol"in e),Bd=ia({name:"IcibaContainer",components:{IcibaPronunciation:Rd,Scrollable:Ed},setup:()=>({icon:{play_speaker_filled_audio_tool_59284:Ld},isBaseInfoBaseInfoNormal:Nd,isBaseInfoTranslate:Dd,isBaseInfoSuggestion:Pd,isSymbolCN:Gd,isSymbolEN:jd,handlePlay:e=>{e&&Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.ICIBA,params:{url:e}})},handleSuggestionClick:e=>{El.emit({type:Al.TRANSLATE,word:e,param:{provider:Zl.ICIBA}})},result:aa(()=>zu.data),seperateChineseJieshi:e=>{const t=/[((](.{1,3})[))](.+)/.exec(e);return t?[t[1],t[2]]:["",e]},normalizeCiyi:Vd})});Bd.render=Zu,Bd.__scopeId="data-v-bae3a914";const Hd=Bd;Uu.on(Mu.PLAY_AUDIO,async e=>{if(e.id!==Zl.ICIBA)return;const t=e.params.url;if(!t)return;if(Iu(t,.6))return;const n=await ql({method:"GET",responseType:"arraybuffer",url:t});Iu(t,n.response,.6)});const Fd={id:Zl.ICIBA,view:Hd,translate:async e=>{const t="http://www.iciba.com/word?w="+encodeURIComponent(e),n=(await ql({method:"GET",url:t,timeout:5e3})).responseText,o=/<script id="__NEXT_DATA__" type="application\/json">(.+?)<\/script>/.exec(n);if(!o)return Oi({message:"数据错误!"});const r=JSON.parse(o[1]).props.initialDvaState.word.wordInfo;return"baesInfo"in r&&(r.baseInfo=r.baesInfo,delete r.baesInfo),"bidce"in r&&(r.bidec=r.bidce,delete r.bidce),Ci(()=>{zu.data=$l(r)})}},Yd=to("data-v-21539aa9");Qn("data-v-21539aa9");const qd={class:"google-dict-box flex-col relative break-words text-grey-900"},$d={class:"google-content-box text-13"},Wd={key:0,class:"dictionary-data-box flex-col items-stretch"},Kd={key:0,class:"entry-box flex-col items-stretch"};eo();const Xd=Yd((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("simple-entry"),l=oo("scrollable");return go(),bo("div",qd,[So(l,{class:"scroll-container"},{default:Yd(n=>[So("div",{class:["google-content-simple relative flex-auto",[n.scrollBar&&"py-10px pl-10px pr-14px",!n.scrollBar&&"p-10px"]]},[e.containerData.data&&e.containerData.data.length?(go(),bo("div",{key:0,class:["expand-button flex flex-center absolute",{"with-scroll-bar":n.scrollBar}],title:"展开",onClick:t[1]||(t[1]=(...t)=>e.handleOpenModal(...t))},[So(i,{svg:e.icon.expand_128456},null,8,["svg"])],2)):Eo("v-if",!0),Eo(" simple result "),So("div",$d,[e.containerData.data&&e.containerData.data.length?(go(),bo("div",Wd,[(go(!0),bo(lo,null,la(e.containerData.data,(e,t)=>(go(),bo("div",{class:"dictionary-data-item",key:t},[Eo(" entry "),e.entries&&e.entries.length?(go(),bo("div",Kd,[(go(!0),bo(lo,null,la(e.entries,(e,t)=>(go(),bo(s,{class:["entry-item",{"-mt-2px":0===t,"border-t border-grey-400 pt-1 mt-4":0!==t}],entry:e,key:t},null,8,["class","entry"]))),128))])):Eo("v-if",!0)]))),128))])):Eo("v-if",!0)])],2)]),_:1})])})),Zd=Ht({data:null,word:""}),Jd=to("data-v-13c640e0");Qn("data-v-13c640e0");const Qd={class:"entry-item flex-col items-stretch leading-snug"},ep={class:"headword flex flex-wrap leading-normal"},tp={class:"headword-word text-16"},np={key:0,class:"headword-graph-index text-12 ml-2px"},op={key:1,class:"sense-list mt-2px flex-col items-stretch"},rp={class:"sense-item-number text-right"},ap={class:"definition-box flex-auto"},ip={key:2,class:"sense-family-box flex-col items-stretch"},sp={key:2,class:"sense-list mt-2px flex-col items-stretch"},lp={class:"sense-item-number text-right pr-2 font-bold"},cp={class:"definition-box flex-auto"},up={key:3,class:"sub-entry-box"};eo();const dp=Jd((function(e,t,n,o,r,a){const i=oo("phonetics"),s=oo("fragment"),l=oo("g-simple-entry");return go(),bo(lo,null,[Eo(" entry item "),So("div",Qd,[Eo(" headword "),So("div",ep,[So("div",tp,le(e.props.entry.syllabifiedHeadword||e.props.entry.headword),1),e.props.entry.homographIndex?(go(),bo("div",np,le(e.props.entry.homographIndex),1)):Eo("v-if",!0)]),Eo(" phonetics "),e.props.entry.phonetics?(go(),bo(i,{key:0,class:"phonetics-box mb-2px",phonetics:e.props.entry.phonetics},null,8,["phonetics"])):Eo("v-if",!0),Eo(" sub-sense-list "),e.props.isSubentry&&e.props.entry.senseFamily&&e.props.entry.senseFamily.senses&&e.props.entry.senseFamily.senses.length?(go(),bo("div",op,[(go(!0),bo(lo,null,la(e.props.entry.senseFamily.senses,(e,t)=>yr((go(),bo("div",{class:"sense-item flex",key:t},[So("div",rp,le(t+1)+".",1),So("div",ap,[So(s,{class:"sense-frag",fragment:e.definition.fragments},null,8,["fragment"])])],512)),[[ri,t<2]])),128))])):Eo("v-if",!0),Eo(" sense-family "),!e.props.isSubentry&&e.props.entry.senseFamilies&&e.props.entry.senseFamilies.length?(go(),bo("div",ip,[(go(!0),bo(lo,null,la(e.props.entry.senseFamilies,(e,t)=>(go(),bo("div",{class:["sense-family-item flex-col items-stretch",{"mt-6px":0!==t}],key:t},[e.partsOfSpeechs?(go(!0),bo(lo,{key:0},la(e.partsOfSpeechs,(e,t)=>(go(),bo("div",{title:e.qualifier,class:"poss italic flex flex-wrap text-grey-600",key:t},le(e.value),9,["title"]))),128)):Eo("v-if",!0),Eo(" phonetics "),e.phonetics?(go(),bo(i,{key:1,class:"phonetics-box mb-2px",phonetics:e.phonetics},null,8,["phonetics"])):Eo("v-if",!0),Eo(" sense-list "),e.senses&&e.senses.length?(go(),bo("div",sp,[(go(!0),bo(lo,null,la(e.senses,(e,t)=>yr((go(),bo("div",{class:"sense-item flex",key:t},[So("div",lp,le(t+1)+". ",1),So("div",cp,[So(s,{class:"sense-frag",fragment:e.definition.fragments},null,8,["fragment"])])],512)),[[ri,t<2]])),128))])):Eo("v-if",!0)],2))),128))])):Eo("v-if",!0),Eo(" sub entries "),e.props.entry.subentries&&e.props.entry.subentries.length?(go(),bo("div",up,[(go(!0),bo(lo,null,la(e.props.entry.subentries,(e,t)=>(go(),bo(l,{class:"sub-entry",entry:e,"is-subentry":!0,key:t},null,8,["entry"]))),128))])):Eo("v-if",!0)])],64)})),pp=to("data-v-80abc988");Qn("data-v-80abc988");const fp={key:0,class:"phonetics-box flex items-center text-grey-700"},vp={class:"phonetics flex"};eo();const gp=pp((function(e,t,n,o,r,a){const i=oo("i-icon");return go(),bo(lo,null,[Eo(" phonetics "),e.props.phonetics&&e.props.phonetics.length?(go(),bo("div",fp,[So("div",vp,le(""+e.props.phonetics.map(e=>`/${e.text}/`).join(" ")),1),(go(!0),bo(lo,null,la(e.props.phonetics.filter(e=>e.oxfordAudio),t=>(go(),bo("div",{class:"pl-1 play-button flex flex-center",key:t.oxfordAudio,onClick:n=>e.handlePlay(t.oxfordAudio)},[So(i,{svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])],8,["onClick"]))),128))])):Eo("v-if",!0)],64)})),mp=ia({name:"GPhonetics",props:{phonetics:null},setup:e=>({icon:{play_speaker_filled_audio_tool_59284:Ld},props:e,handlePlay:e=>{Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.GOOGLE_DICT,params:{url:e}})}})});mp.render=gp,mp.__scopeId="data-v-80abc988";const hp=mp,bp={key:0,class:"fragment-box inline"};const yp=ia({name:"GFragment",props:{fragment:{type:null,required:!0}},setup:e=>({props:e,handleEntryLinkClick:(e,t)=>{El.emit({type:Al.TRANSLATE,word:t,mouseEvent:e,param:{provider:Zl.GOOGLE_DICT}})}})});yp.render=function(e,t,n,o,r,a){return e.props.fragment&&e.props.fragment.length?(go(),bo("div",bp,[(go(!0),bo(lo,null,la(e.props.fragment,(t,n)=>(go(),bo("div",{class:"inline fragment-item",key:n},[t.isEntryLink?(go(),bo("a",{key:0,class:"entry-link",onClick:n=>e.handleEntryLinkClick(n,t.text),innerHTML:t.text},null,8,["onClick","innerHTML"])):(go(),bo("div",{key:1,class:"inline",innerHTML:t.text},null,8,["innerHTML"]))]))),128))])):Eo("v-if",!0)};const xp=yp,wp=ia({name:"GSimpleEntry",components:{phonetics:hp,fragment:xp},props:{entry:{type:null,required:!0},isSubentry:{type:Boolean,default:!1}},setup:e=>({props:e})});wp.render=dp,wp.__scopeId="data-v-13c640e0";const _p=ia({name:"GoogleDictContainer",components:{simpleEntry:wp,Scrollable:Ed},setup:()=>({containerData:Zd,icon:{expand_128456:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.1 26.1" width="512" height="512"><path d="M16 25.042v-2c0-.6.4-1 1-1h1c.4 0 .7-.5.4-.9l-4-4c-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0l4 4c.3.3.9.1.9-.4v-1c0-.6.4-1 1-1h2c.6 0 1 .4 1 1v8c0 .6-.4 1-1 1h-8c-.7.1-1.1-.3-1.1-.9zm-7.1-13.3l-4-4c-.3-.3-.9-.1-.9.4v1c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1v-8c0-.6.4-1 1-1h8c.6 0 1 .4 1 1v2c0 .6-.4 1-1 1H8c-.4 0-.7.5-.4.9l4 4c.4.4.4 1 0 1.4l-1.4 1.4c-.3.3-.9.3-1.3-.1z"/></svg>\n'},handleOpenModal:()=>{El.emit({type:Al.OPEN_GOOGLE_DICT_MODAL,googleDictData:Zd.data})}})});_p.render=Xd,_p.__scopeId="data-v-21539aa9";const kp=_p;function Sp(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Tp(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Sp(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Sp(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const Op={};Uu.on(Mu.PLAY_AUDIO,async e=>{if(e.id!==Zl.GOOGLE_DICT)return;const t="https:"+e.params.url;if(Iu(t,.7))return;const n=await ql({method:"GET",headers:{"upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:t,timeout:5e3});Iu(t,n.response,.7)});const Cp={id:Zl.GOOGLE_DICT,view:kp,translate:async e=>{if(Op[e])return Oi({redirect:Zl.GOOGLE_TRANSLATE,redirectParams:{fromDict:!0}});let t;try{t=await(async(e,t="uk")=>{const n=Tp(Tp({term:e,language:"en"},"uk"===t?{corpus:"en",country:"UK"}:{corpus:"en-US",country:"US"}),{},{key:"AIzaSyA6EEtrDCfBkHV8uU2lgGY-N383ZgAOo7Y"}),o="https://content-dictionaryextension-pa.googleapis.com/v1/dictionaryExtensionData?"+(0,b.stringify)(n);let r;try{r=await ql({method:"GET",headers:{"x-origin":"chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja","x-referer":"chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja"},url:o,timeout:1e4})}catch(e){const t=e,n=t.response.responseText;if(n){var a;const e=JSON.parse(n);if(null==e||null===(a=e.error)||void 0===a?void 0:a.message)throw new Error(e.error.message)}throw new Error(`遇到错误: ${t.message} ${t.response.status}`)}const i=JSON.parse(r.responseText);if(0===Os()(i).length)throw new Error("无查询结果!");return i})(e,"uk")}catch(t){return"Backend Error"===t.message?(Op[e]=!0,Oi({redirect:Zl.GOOGLE_TRANSLATE})):Oi({message:t.message})}return 200!==t.status?Oi({redirect:Zl.GOOGLE_TRANSLATE,redirectParams:{fromDict:!0}}):Ci(()=>{Zd.data=t.dictionaryData,Zd.word=e})}};var Ap="0";var Ep=null,Lp=function(e){return function(){return e}},Ip=function(e,t){for(var n=0;n<t.length-2;n+=3){var o="a"<=(o=t.charAt(n+2))?o.charCodeAt(0)-87:Number(o);o="+"==t.charAt(n+1)?e>>>o:e<<o;e="+"==t.charAt(n)?e+o&4294967295:e^o}return e};const Mp=(e,t)=>{Ap=t;let n=function(e){var t;if(null!==Ep)t=Ep;else{t=Lp(String.fromCharCode(84));var n=Lp(String.fromCharCode(75));(t=[t(),t()])[1]=n(),t=(Ep=Ap||"")||""}var o=Lp(String.fromCharCode(116));n=Lp(String.fromCharCode(107)),(o=[o(),o()])[1]=n(),n="&"+o.join("")+"=",o=t.split("."),t=Number(o[0])||0;for(var r=[],a=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);128>s?r[a++]=s:(2048>s?r[a++]=s>>6|192:(55296==(64512&s)&&i+1<e.length&&56320==(64512&e.charCodeAt(i+1))?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),r[a++]=s>>18|240,r[a++]=s>>12&63|128):r[a++]=s>>12|224,r[a++]=s>>6&63|128),r[a++]=63&s|128)}for(e=t,a=0;a<r.length;a++)e+=r[a],e=Ip(e,"+-a^+6");return e=Ip(e,"+-3^+b+-f"),0>(e^=Number(o[1])||0)&&(e=2147483648+(2147483647&e)),n+((e%=1e6).toString()+".")+(e^t)}(e);return n=n.replace("&tk=",""),n};let Up="0";const zp=async(e,t)=>{await(async e=>{const t=Math.floor(s()()/36e5);if(Number(Up.split(".")[0])===t)return;const n=await ql({method:"GET",url:"https://"+e,timeout:5e3}),o=/tkk:'(.*?)'/.exec(n.responseText);if(!o)throw new Error("failed to get ttk");const r=o[1];void 0!==r&&(Up=r)})(t);return Mp(e,Up)},Rp=to("data-v-1229a221");Qn("data-v-1229a221");const Np={class:"google-translate-box flex-col relative text-grey-900"},Dp={class:"language-select-box w-full"},Pp={class:"title-box flex justify-between"},Vp={class:"items-box flex flex-wrap mt-1"},Gp={class:"translate-content mb-2px"},jp={key:0,class:"google-dict-tip mt-2px mb-3px text-12 text-right text-grey-400"},Bp={class:"bottom-info-box flex justify-between"},Hp={class:"tts-box flex"},Fp=Co(" 源 "),Yp=Co(" 译 "),qp={class:"language-info-box flex"},$p=So("div",{class:"px-1"}," -> ",-1);eo();const Wp=Rp((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("Scrollable");return go(),bo("div",Np,[So(s,{class:"scroll-container"},{default:Rp(({scrollBar:n})=>[So("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[yr(So("div",Dp,[So("div",Pp,[yr(So("div",null,"源语言",512),[[ri,"source"===e.state.type]]),yr(So("div",null,"翻译到",512),[[ri,"target"===e.state.type]]),So("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),yr(So("div",Vp,[(go(!0),bo(lo,null,la(e.languages,t=>(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"source"===e.state.type?t.id===e.containerData.sourceLanguage:t.id===e.containerData.targetLanguage},key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},le(t.name),11,["onClick"]))),128)),"source"===e.state.type?(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"auto"===e.containerData.sourceLanguage},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto"))}," 自动检测 ",2)):Eo("v-if",!0)],512),[[ri,e.state.visible]])],512),[[ri,e.state.visible]]),yr(So("div",Gp,[(go(!0),bo(lo,null,la(e.containerData.data,(e,t)=>(go(),bo(lo,null,[e?(go(),bo("span",{key:t},le(e),1)):Eo("v-if",!0),e?Eo("v-if",!0):(go(),bo("br",{key:t}))],64))),256))],512),[[ri,!e.state.visible]]),e.containerData.fromDict?(go(),bo("div",jp," google字典无结果,以上内容来自谷歌翻译 ")):Eo("v-if",!0),yr(So("div",Bp,[So("div",Hp,[So("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Fp,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),So("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[Yp,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),So("div",qp,[So("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},le(e.getLanguage(e.containerData.detectedLanguage))+" "+le("auto"===e.containerData.sourceLanguage?"(自动检测)":""),1),$p,So("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},le(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[ri,!e.state.visible]])],2)]),_:1})])})),Kp=Ht({data:[],inputText:"",sourceLanguage:"",targetLanguage:"",detectedLanguage:"",fromDict:!1});var Xp;const Zp=f()(Xp=d()(Uc)).call(Xp,([e,t])=>({id:e,name:t})),Jp={play_speaker_filled_audio_tool_59284:Ld},Qp=ia({name:"GoogleTranslateContainer",components:{Scrollable:Ed},setup:()=>{const e=Ht({visible:!1,type:"source"});return{state:e,containerData:Kp,languages:Zp,icon:Jp,getLanguage:e=>Uc[e]||e,handleLanguageSelect:t=>{El.emit({type:Al.TRANSLATE,word:Kp.inputText,param:{provider:Zl.GOOGLE_TRANSLATE,param:{sl:"source"===e.type?t:Kp.sourceLanguage,tl:"target"===e.type?t:Kp.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.GOOGLE_TRANSLATE,params:"source"===e?{word:Kp.inputText,tl:Kp.detectedLanguage}:{word:Kp.data.join(),tl:Kp.targetLanguage}})}}}});Qp.render=Wp,Qp.__scopeId="data-v-1229a221";const ef=Qp;function tf(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function nf(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=tf(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=tf(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const of={client:"webapp",pc:"1",otf:"1",ssel:"0",tsel:"0",kc:"1",dt:["at","bd","ex","ld","md","qca","rw","rm","ss","t","gt"]},rf=()=>nc[Ou.config[Zl.GOOGLE_TRANSLATE].translateHost],af=async(e,t)=>{var n,o,r,a,i,s;let l;try{l=await zp(e,rf())}catch(e){throw new Error(`获取token失败!请检查网络。(${e.message})`)}const c=null!==(n=null==t?void 0:t.sl)&&void 0!==n?n:"auto",u=null!==(o=null==t?void 0:t.tl)&&void 0!==o?o:Ou.config[Zl.GOOGLE_TRANSLATE].targetLanguage,d=nf(nf({},of),{},{sl:c,tl:u,hl:u,tk:l,q:e}),p=`https://${rf()}/translate_a/single?${(0,b.stringify)(d)}`,v=(await ql({method:"GET",headers:{Referer:`https://${rf()}/`,"Cache-Control":"max-age=0","Content-Type":"application/x-www-form-urlencoded;charset=utf-8"},url:p,timeout:5e3,responseType:"json"})).response,g=v[2];if(!t&&g===u&&g===Ou.config[Zl.GOOGLE_TRANSLATE].targetLanguage)return af(e,{sl:c,tl:Ou.config[Zl.GOOGLE_TRANSLATE].secondTargetLanguage});return{result:_s()(r=_()(a=f()(i=v[0]).call(i,e=>e[0]?e[0]:"")).call(a,Boolean)).call(r,e=>e.split("\n")),sl:c,tl:u,dl:g,fromDict:null!==(s=null==t?void 0:t.fromDict)&&void 0!==s&&s}};Uu.on(Mu.PLAY_AUDIO,async e=>{if(e.id!==Zl.GOOGLE_TRANSLATE)return;const t=e.params,n={ie:"UTF-8",total:"1",idx:"0",client:"webapp",prev:"input",q:t.word,tl:t.tl,textlen:t.word.length,tk:await zp(t.word,rf())},o=`https://${rf()}/translate_tts?${(0,b.stringify)(n)}`;if(Iu(o,.8))return;const r=await ql({method:"GET",headers:{Referer:`https://${rf()}/`,Accept:"*/*","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:o,timeout:5e3});Iu(o,r.response,.8)});const sf={id:Zl.GOOGLE_TRANSLATE,view:ef,translate:async(e,t)=>{try{const n=await af(e,t);return Ci(()=>{Kp.data=n.result,Kp.inputText=e,Kp.detectedLanguage=n.dl,Kp.sourceLanguage=n.sl,Kp.targetLanguage=n.tl,Kp.fromDict=n.fromDict})}catch(e){return Oi({message:e.message})}}};var lf="0",cf=null;function uf(e){if(X()(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return vi()(e)}function df(e,t){for(var n=0;n<t.length-2;n+=3){var o=t.charAt(n+2);o=o>="a"?o.charCodeAt(0)-87:Number(o),o="+"===t.charAt(n+1)?e>>>o:e<<o,e="+"===t.charAt(n)?e+o&4294967295:e^o}return e}const pf=(e,t)=>{lf=t;return function(e){var t=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g);if(null===t){var n=e.length;n>30&&(e=""+e.substr(0,10)+e.substr(Math.floor(n/2)-5,10)+e.substr(-10,10))}else{for(var o=e.split(/[\uD800-\uDBFF][\uDC00-\uDFFF]/),r=0,a=o.length,i=[];a>r;r++)""!==o[r]&&i.push.apply(i,uf(o[r].split(""))),r!==a-1&&i.push(t[r]);var s=i.length;s>30&&(e=J()(i).call(i,0,10).join("")+J()(i).call(i,Math.floor(s/2)-5,Math.floor(s/2)+5).join("")+J()(i).call(i,-10).join(""))}String.fromCharCode(103),String.fromCharCode(116),String.fromCharCode(107);for(var l=(null!==cf?cf:(cf=lf||"")||"").split("."),c=Number(l[0])||0,u=Number(l[1])||0,d=[],p=0,f=0;f<e.length;f++){var v=e.charCodeAt(f);128>v?d[p++]=v:(2048>v?d[p++]=v>>6|192:(55296==(64512&v)&&f+1<e.length&&56320==(64512&e.charCodeAt(f+1))?(v=65536+((1023&v)<<10)+(1023&e.charCodeAt(++f)),d[p++]=v>>18|240,d[p++]=v>>12&63|128):d[p++]=v>>12|224,d[p++]=v>>6&63|128),d[p++]=63&v|128)}for(var g=c,m=""+String.fromCharCode(43)+String.fromCharCode(45)+String.fromCharCode(97)+String.fromCharCode(94)+String.fromCharCode(43)+String.fromCharCode(54),h=""+String.fromCharCode(43)+String.fromCharCode(45)+String.fromCharCode(51)+String.fromCharCode(94)+String.fromCharCode(43)+String.fromCharCode(98)+String.fromCharCode(43)+String.fromCharCode(45)+String.fromCharCode(102),b=0;b<d.length;b++)g=df(g+=d[b],m);return g=df(g,h),0>(g^=u)&&(g=2147483648+(2147483647&g)),(g%=1e6).toString()+"."+(g^c)}(e)};let ff="0",vf="";const gf=async(e,t)=>{await(async e=>{if(!e&&vf)return;const t=await ql({method:"GET",url:"https://fanyi.baidu.com/",timeout:5e3}),n=/window\.gtk = '(.*?)'/.exec(t.responseText),o=/token: '(.*?)',/.exec(t.responseText);if(!n)throw new Error("failed to get gtk");if(!o)throw new Error("failed to get common token");const r=n[1],a=o[1];void 0!==r&&(vf=r),void 0!==a&&(ff=a)})(t);return{sign:pf(e,vf),token:ff}},mf=to("data-v-44ca479e");Qn("data-v-44ca479e");const hf={class:"baidu-translate-box flex-col relative text-grey-900"},bf={class:"language-select-box select-none w-full"},yf={class:"title-box flex justify-between"},xf={class:"items-box flex flex-wrap mt-1"},wf={class:"content mb-2px flex-col"},_f={class:"bottom-info-box flex justify-between"},kf={class:"tts-box flex"},Sf=Co(" 源 "),Tf=Co(" 译 "),Of={class:"language-info-box flex"},Cf=So("div",{class:"px-1"}," -> ",-1);eo();const Af=mf((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("scrollable");return go(),bo("div",hf,[So(s,{class:"scroll-container"},{default:mf(({scrollBar:n})=>[So("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[yr(So("div",bf,[So("div",yf,[yr(So("div",null,"源语言",512),[[ri,"source"===e.state.type]]),yr(So("div",null,"翻译到",512),[[ri,"target"===e.state.type]]),So("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),yr(So("div",xf,[(go(!0),bo(lo,null,la(e.languages,t=>(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"source"===e.state.type?t.id===e.containerData.sourceLanguage&&!e.containerData.autoMode:t.id===e.containerData.targetLanguage},key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},le(t.name),11,["onClick"]))),128)),"source"===e.state.type?(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":e.containerData.autoMode},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto"))}," 自动检测 ",2)):Eo("v-if",!0)],512),[[ri,e.state.visible]])],512),[[ri,e.state.visible]]),yr(So("div",wf,[(go(!0),bo(lo,null,la(e.containerData.data,e=>(go(),bo("div",{class:"row",key:e},le(e),1))),128))],512),[[ri,!e.state.visible]]),yr(So("div",_f,[So("div",kf,[So("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Sf,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),So("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[Tf,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),So("div",Of,[So("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},le(e.getLanguage(e.containerData.sourceLanguage))+" "+le(e.containerData.autoMode?"(自动检测)":""),1),Cf,So("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},le(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[ri,!e.state.visible]])],2)]),_:1})])})),Ef=Ht({data:[],inputText:"",autoMode:!1,sourceLanguage:"",targetLanguage:""});var Lf;const If=f()(Lf=d()(Hc)).call(Lf,([e,t])=>({id:e,name:t})),Mf={play_speaker_filled_audio_tool_59284:Ld},Uf=ia({name:"BaiduTranslateContainer",components:{Scrollable:Ed},setup:()=>{const e=Ht({visible:!1,type:"source"});return{state:e,languages:If,icon:Mf,containerData:Ef,getLanguage:e=>Hc[e]||e,handleLanguageSelect:t=>{let n="source"===e.type?t:Ef.sourceLanguage,o="target"===e.type?t:Ef.targetLanguage;("source"===e.type&&t===Ef.targetLanguage||"target"===e.type&&t===Ef.sourceLanguage)&&(n=Ef.targetLanguage,o=Ef.sourceLanguage),El.emit({type:Al.TRANSLATE,word:Ef.inputText,param:{provider:Zl.BAIDU_TRANSLATE,param:{sl:n,tl:o}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.BAIDU_TRANSLATE,params:"source"===e?{word:Ef.inputText,tl:Ef.sourceLanguage}:{word:Ef.data.join(),tl:Ef.targetLanguage}})}}}});Uf.render=Af,Uf.__scopeId="data-v-44ca479e";const zf=Uf;Uu.on(Mu.PLAY_AUDIO,async e=>{if(e.id!==Zl.BAIDU_TRANSLATE)return;const t=e.params,n={lan:t.tl,text:t.word,spd:"zh"===t.tl?5:3,source:"web"},o="https://fanyi.baidu.com/gettts?"+(0,b.stringify)(n);if(Iu(o,.7))return;const r=await ql({method:"GET",headers:{Referer:"https://fanyi.baidu.com/",Accept:"*/*","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:o,timeout:5e3});Iu(o,r.response,.7)});const Rf={id:Zl.BAIDU_TRANSLATE,view:zf,translate:async(e,t)=>{try{const n=!t||"auto"===t.sl,o=!t||n?await(async e=>{var t;const n={query:a()(t=vi()(e)).call(t,0,50).join("")},o=await ql({method:"POST",headers:{referer:"https://fanyi.baidu.com","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},url:"https://fanyi.baidu.com/langdetect",data:(0,b.stringify)(n),timeout:5e3}),r=JSON.parse(o.responseText);if(0===r.error)return r.lan;throw new Error("检测翻译文本语言失败!")})(e):t.sl,r=t?t.tl:Ou.config[Zl.BAIDU_TRANSLATE].targetLanguage!==o?Ou.config[Zl.BAIDU_TRANSLATE].targetLanguage:Ou.config[Zl.BAIDU_TRANSLATE].secondTargetLanguage,i=await(async({word:e,sl:t,tl:n})=>{let o;try{o=await gf(e)}catch(t){o=await gf(e,!0)}const r={from:t,to:n,query:e,transtype:"translang",simple_means_flag:3,sign:o.sign,token:o.token},a=await ql({method:"POST",headers:{referer:"https://fanyi.baidu.com","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","User-Agent":window.navigator.userAgent},url:"https://fanyi.baidu.com/v2transapi",data:(0,b.stringify)(r),timeout:5e3}),i=JSON.parse(a.responseText).trans_result;var s;if(i&&2===i.type&&0===i.status)return f()(s=i.data).call(s,e=>e.dst);throw new Error("翻译出错!")})({word:e,sl:o,tl:r});return Ci(()=>{Ef.data=i,Ef.inputText=e,Ef.autoMode=n,Ef.sourceLanguage=o,Ef.targetLanguage=r})}catch(e){return Oi({message:e.message})}}};var Nf="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),Df=new Uint8Array(16);function Pf(){if(!Nf)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nf(Df)}const Vf=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const Gf=function(e){return"string"==typeof e&&Vf.test(e)};for(var jf=[],Bf=0;Bf<256;++Bf)jf.push((Bf+256).toString(16).substr(1));const Hf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(jf[e[t+0]]+jf[e[t+1]]+jf[e[t+2]]+jf[e[t+3]]+"-"+jf[e[t+4]]+jf[e[t+5]]+"-"+jf[e[t+6]]+jf[e[t+7]]+"-"+jf[e[t+8]]+jf[e[t+9]]+"-"+jf[e[t+10]]+jf[e[t+11]]+jf[e[t+12]]+jf[e[t+13]]+jf[e[t+14]]+jf[e[t+15]]).toLowerCase();if(!Gf(n))throw TypeError("Stringified UUID is invalid");return n};const Ff=function(e,t,n){var o=(e=e||{}).random||(e.rng||Pf)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=o[r];return t}return Hf(o)},Yf=to("data-v-694555b0");Qn("data-v-694555b0");const qf={class:"sougou-translate-box flex-col relative break-words text-grey-900"},$f={class:"language-select-box w-full"},Wf={class:"title-box flex justify-between"},Kf={class:"items-box flex flex-wrap mt-1"},Xf={class:"translate-content mb-2px flex-col"},Zf={class:"bottom-info-box flex justify-between"},Jf={class:"tts-box flex"},Qf=Co(" 源 "),ev=Co(" 译 "),tv={class:"language-info-box flex"},nv=So("div",{class:"px-1"}," -> ",-1);eo();const ov=Yf((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("scrollable");return go(),bo("div",qf,[So(s,{class:"scroll-container"},{default:Yf(({scrollBar:n})=>[So("div",{class:["content-box flex-col flex-auto text-14",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[yr(So("div",$f,[So("div",Wf,[yr(So("div",null,"源语言",512),[[ri,"source"===e.state.type]]),yr(So("div",null,"翻译到",512),[[ri,"target"===e.state.type]]),So("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)}," 取消 ")]),yr(So("div",Kf,[(go(!0),bo(lo,null,la(e.languages,t=>(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"source"===e.state.type?t.id===e.data.sourceLanguage:t.id===e.data.targetLanguage},key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},le(t.name),11,["onClick"]))),128)),"source"===e.state.type?(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"auto"===e.data.sourceLanguage},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto"))}," 自动检测 ",2)):Eo("v-if",!0)],512),[[ri,e.state.visible]])],512),[[ri,e.state.visible]]),yr(So("div",Xf,[(go(!0),bo(lo,null,la(e.data.data,(e,t)=>(go(),bo("div",{class:"row",key:t},le(e),1))),128))],512),[[ri,!e.state.visible]]),yr(So("div",Zf,[So("div",Jf,[So("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Qf,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),So("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[ev,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),So("div",tv,[So("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},le(e.getLanguage("auto"===e.data.sourceLanguage?e.data.detectedLanguage:e.data.sourceLanguage))+" "+le("auto"===e.data.sourceLanguage?"(自动检测)":""),1),nv,So("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},le(e.getLanguage(e.data.targetLanguage)),1)])],512),[[ri,!e.state.visible]])],2)]),_:1})])})),rv=Ht({data:[],inputText:"",sourceLanguage:"",detectedLanguage:"",targetLanguage:""});var av;const iv=f()(av=d()(Jc)).call(av,([e,t])=>({id:e,name:t})),sv={play_speaker_filled_audio_tool_59284:Ld},lv=ia({name:"SougouTranslateContainer",components:{Scrollable:Ed},setup:()=>{const e={visible:!1,type:"source"};return{state:e,data:rv,languages:iv,icon:sv,getLanguage:e=>Jc[e]||e,handleLanguageSelect:t=>{El.emit({type:Al.TRANSLATE,word:rv.inputText,param:{provider:Zl.GOOGLE_TRANSLATE,param:{sl:"source"===e.type?t:rv.sourceLanguage,tl:"target"===e.type?t:rv.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.SOUGOU_TRANSLATE,params:"source"===e?{word:rv.inputText,tl:rv.detectedLanguage}:{word:rv.data.join(),tl:rv.targetLanguage}})}}}});lv.render=ov,lv.__scopeId="data-v-694555b0";const cv=lv;var uv=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&t.rotl(e,8)|4278255360&t.rotl(e,24);for(var n=0;n<e.length;n++)e[n]=t.endian(e[n]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(S()(e.substr(n,2),16));return t},bytesToBase64:function(t){for(var n=[],o=0;o<t.length;o+=3)for(var r=t[o]<<16|t[o+1]<<8|t[o+2],a=0;a<4;a++)8*o+6*a<=8*t.length?n.push(e.charAt(r>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<t.length;r=++o%4)0!=r&&n.push((pi()(e).call(e,t.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|pi()(e).call(e,t.charAt(o))>>>6-2*r);return n}};return t}(),dv={utf8:{stringToBytes:function(e){return pv.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(pv.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}},pv=dv,fv=function(e){return null!=e&&(pv(e)||r(e)||!!e._isBuffer)},vv=function(){var e=uv,t=dv.utf8,n=fv,o=dv.bin,r=function(a,i){a.constructor==String?a=i&&"binary"===i.encoding?o.stringToBytes(a):t.stringToBytes(a):n(a)?a=J()(Array.prototype).call(a,0):X()(a)||(a=a.toString());for(var s=e.bytesToWords(a),l=8*a.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var v=r._ff,g=r._gg,m=r._hh,h=r._ii;for(f=0;f<s.length;f+=16){var b=c,y=u,x=d,w=p;c=v(c,u,d,p,s[f+0],7,-680876936),p=v(p,c,u,d,s[f+1],12,-389564586),d=v(d,p,c,u,s[f+2],17,606105819),u=v(u,d,p,c,s[f+3],22,-1044525330),c=v(c,u,d,p,s[f+4],7,-176418897),p=v(p,c,u,d,s[f+5],12,1200080426),d=v(d,p,c,u,s[f+6],17,-1473231341),u=v(u,d,p,c,s[f+7],22,-45705983),c=v(c,u,d,p,s[f+8],7,1770035416),p=v(p,c,u,d,s[f+9],12,-1958414417),d=v(d,p,c,u,s[f+10],17,-42063),u=v(u,d,p,c,s[f+11],22,-1990404162),c=v(c,u,d,p,s[f+12],7,1804603682),p=v(p,c,u,d,s[f+13],12,-40341101),d=v(d,p,c,u,s[f+14],17,-1502002290),c=g(c,u=v(u,d,p,c,s[f+15],22,1236535329),d,p,s[f+1],5,-165796510),p=g(p,c,u,d,s[f+6],9,-1069501632),d=g(d,p,c,u,s[f+11],14,643717713),u=g(u,d,p,c,s[f+0],20,-373897302),c=g(c,u,d,p,s[f+5],5,-701558691),p=g(p,c,u,d,s[f+10],9,38016083),d=g(d,p,c,u,s[f+15],14,-660478335),u=g(u,d,p,c,s[f+4],20,-405537848),c=g(c,u,d,p,s[f+9],5,568446438),p=g(p,c,u,d,s[f+14],9,-1019803690),d=g(d,p,c,u,s[f+3],14,-187363961),u=g(u,d,p,c,s[f+8],20,1163531501),c=g(c,u,d,p,s[f+13],5,-1444681467),p=g(p,c,u,d,s[f+2],9,-51403784),d=g(d,p,c,u,s[f+7],14,1735328473),c=m(c,u=g(u,d,p,c,s[f+12],20,-1926607734),d,p,s[f+5],4,-378558),p=m(p,c,u,d,s[f+8],11,-2022574463),d=m(d,p,c,u,s[f+11],16,1839030562),u=m(u,d,p,c,s[f+14],23,-35309556),c=m(c,u,d,p,s[f+1],4,-1530992060),p=m(p,c,u,d,s[f+4],11,1272893353),d=m(d,p,c,u,s[f+7],16,-155497632),u=m(u,d,p,c,s[f+10],23,-1094730640),c=m(c,u,d,p,s[f+13],4,681279174),p=m(p,c,u,d,s[f+0],11,-358537222),d=m(d,p,c,u,s[f+3],16,-722521979),u=m(u,d,p,c,s[f+6],23,76029189),c=m(c,u,d,p,s[f+9],4,-640364487),p=m(p,c,u,d,s[f+12],11,-421815835),d=m(d,p,c,u,s[f+15],16,530742520),c=h(c,u=m(u,d,p,c,s[f+2],23,-995338651),d,p,s[f+0],6,-198630844),p=h(p,c,u,d,s[f+7],10,1126891415),d=h(d,p,c,u,s[f+14],15,-1416354905),u=h(u,d,p,c,s[f+5],21,-57434055),c=h(c,u,d,p,s[f+12],6,1700485571),p=h(p,c,u,d,s[f+3],10,-1894986606),d=h(d,p,c,u,s[f+10],15,-1051523),u=h(u,d,p,c,s[f+1],21,-2054922799),c=h(c,u,d,p,s[f+8],6,1873313359),p=h(p,c,u,d,s[f+15],10,-30611744),d=h(d,p,c,u,s[f+6],15,-1560198380),u=h(u,d,p,c,s[f+13],21,1309151649),c=h(c,u,d,p,s[f+4],6,-145523070),p=h(p,c,u,d,s[f+11],10,-1120210379),d=h(d,p,c,u,s[f+2],15,718787259),u=h(u,d,p,c,s[f+9],21,-343485551),c=c+b>>>0,u=u+y>>>0,d=d+x>>>0,p=p+w>>>0}return e.endian([c,u,d,p])};return r._ff=function(e,t,n,o,r,a,i){var s=e+(t&n|~t&o)+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._gg=function(e,t,n,o,r,a,i){var s=e+(t&o|n&~o)+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._hh=function(e,t,n,o,r,a,i){var s=e+(t^n^o)+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._ii=function(e,t,n,o,r,a,i){var s=e+(n^(t|~o))+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._blocksize=16,r._digestsize=16,function(t,n){if(null==t)throw new Error("Illegal argument "+t);var a=e.wordsToBytes(r(t,n));return n&&n.asBytes?a:n&&n.asString?o.bytesToString(a):e.bytesToHex(a)}}();const gv=(e,t,n,o)=>vv(""+n+o+e+t),mv=async()=>{var e;const t=await Hl(uc.SOUGOU_SECCODE,"");if(!t)return"";let n=null;try{n=JSON.parse(t)}catch(e){return""}return(null===(e=n)||void 0===e?void 0:e.seccode)&&s()()-n.time<36e5?n.seccode.toString():""};"https://fanyi.sogou.com"===unsafeWindow.location.origin&&unsafeWindow.addEventListener("load",()=>{try{const e=unsafeWindow.__INITIAL_STATE__.CONFIG.secretCode;Fl(uc.SOUGOU_SECCODE,z()({seccode:e,time:s()()}))}catch(e){}});const hv=async()=>{const e=await mv();return e||(()=>{const e=document.createElement("iframe");return e.src="https://fanyi.sogou.com/",e.style.display="none",document.body.append(e),new(M())(e=>{const t=window.setInterval(async()=>{const n=await mv();n&&(e(n.toString()),window.clearInterval(t))},200)})})()};let bv="";const yv=async(e,t)=>{try{const n=t?t.sl:"auto",o=t?t.tl:Ou.config[Zl.SOUGOU_TRANSLATE].targetLanguage;bv||(bv=await hv());const r=gv(e,bv,n,o),a={from:n,to:o,text:e,client:"pc",fr:"browser_pc",pid:"sogou-dict-vr",dict:"true",word_group:"true",second_query:"true",uuid:Ff(),needQc:"1",s:r},i=(await ql({method:"POST",headers:{Referer:"https://fanyi.sogou.com/","Cache-Control":"max-age=0","Content-Type":"application/x-www-form-urlencoded;charset=utf-8"},url:"https://fanyi.sogou.com/reventondc/translateV2",timeout:5e3,responseType:"json",data:(0,b.stringify)(a).replace(/%20/g,"+")})).response;if(!(i&&i.data&&i.data.translate&&i.data.translate.dit))return Oi({message:"翻译出错"});const s=i.data.detect.detect;if(s===o&&s===Ou.config[Zl.SOUGOU_TRANSLATE].targetLanguage)return yv(e,{sl:n,tl:Ou.config[Zl.SOUGOU_TRANSLATE].secondTargetLanguage});const l=i.data.translate.dit.split("\n");return Ci(()=>{rv.data=l,rv.inputText=e,rv.sourceLanguage=n,rv.targetLanguage=o,rv.detectedLanguage=s})}catch(e){return Oi({message:e.message})}};Uu.on(Mu.PLAY_AUDIO,async e=>{if(e.id!==Zl.SOUGOU_TRANSLATE)return;const t=e.params,n={text:t.word,speed:1,lang:t.tl,from:"translateweb"},o="https://fanyi.sogou.com/reventondc/synthesis?"+(0,b.stringify)(n);if(Iu(o,.7))return;const r=await ql({method:"GET",headers:{Referer:"https://fanyi.sogou.com/",Accept:"*/*","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:o,timeout:5e3});Iu(o,r.response,.7)});const xv={id:Zl.SOUGOU_TRANSLATE,view:cv,translate:yv},wv=to("data-v-39582728");Qn("data-v-39582728");const _v={class:"row flex-col"},kv={class:"index font-bold"},Sv={class:"definition"},Tv={class:"text-12 text-grey-500 mt-1"},Ov={class:"flex mt-1 items-center text-12 text-grey-500"},Cv={class:"mr-2 pr-1 flex flex-none"},Av={class:"flex mr-2 flex-none"},Ev={class:"truncate"},Lv={key:1,class:"inner-content flex flex-center"};eo();const Iv=wv((function(e,t,n,o,r,a){const i=oo("UKeyword"),s=oo("i-icon"),l=oo("scrollable");return go(),bo("div",{class:"urban-dictionary-box flex-col relative text-grey-900",ref:e.refs.container},[So(l,{class:"scroll-container"},{default:wv(({scrollBar:t})=>[So("div",{class:["content-box flex-col flex-auto text-14 break-words",[t&&"py-10px pl-10px pr-14px",!t&&"p-10px"]]},[(go(!0),bo(lo,null,la(e.list,(t,n)=>(go(),bo(lo,{key:n},[So("div",_v,[So("div",kv,le(n+1)+". "+le(t.word),1),So("div",Sv,[(go(!0),bo(lo,null,la(e.extractDefinition(t.definition),(e,t)=>(go(),bo(lo,null,[e.isTag?(go(),bo(i,{content:e.text,class:"keyword definition-keyword",key:t},null,8,["content"])):Eo("v-if",!0),e.isTag?Eo("v-if",!0):(go(),bo("span",{textContent:e.text,key:t},null,8,["textContent"]))],64))),256))]),So("div",Tv,[(go(!0),bo(lo,null,la(e.extractDefinition(t.example),(e,t)=>(go(),bo(lo,null,[e.isTag?(go(),bo(i,{content:e.text,class:"keyword example-keyword",key:t},null,8,["content"])):Eo("v-if",!0),e.isTag?Eo("v-if",!0):(go(),bo("span",{textContent:e.text,key:t},null,8,["textContent"]))],64))),256))]),So("div",Ov,[So("div",Cv,[So(s,{size:"14",class:"thumb-up thumb mr-1",svg:e.icon.like_179655},null,8,["svg"]),Co(" "+le(t.thumbs_up),1)]),So("div",Av,[So(s,{size:"14",color:"#E64C3D",class:"thumb thumb-down mr-1",svg:e.icon.like_179655},null,8,["svg"]),Co(" "+le(t.thumbs_down),1)]),So("div",Ev,le(e.getTime(t.written_on)),1)])]),n!==e.list.length-1?(go(),bo("div",{class:"divider my-2 bg-grey-300",key:n+"-divider"})):Eo("v-if",!0)],64))),128))],2)]),_:1}),(go(!0),bo(lo,null,la(e.state.tooltips,t=>(go(),bo("div",{class:"u-toolip absolute bg-white w-full",key:t.id,style:{top:t.top+"px",left:t.left+"px"}},[t.text?(go(),bo("div",{key:0,class:"inner-content",innerHtml:t.text},null,8,["innerHtml"])):Eo("v-if",!0),t.text?Eo("v-if",!0):(go(),bo("div",Lv,[So(s,{class:"loadin-spinner rotate",size:"24",color:"#79d",svg:e.icon.loading},null,8,["svg"])]))],4))),128))],512)})),Mv=Ht({data:null}),Uv={};var zv;!function(e){e[e.SHOW_TOOLTIP=0]="SHOW_TOOLTIP",e[e.HIDE_TOOLTIP=1]="HIDE_TOOLTIP"}(zv||(zv={}));const Rv=new class{constructor(){this.id=0,this.bus=new Cl}on(e,t){this.bus.on(String(e),t)}off(e,t){this.bus.off(String(e),t)}emit(e,t){this.bus.emit(String(e),t)}genId(){return this.id+=1,this.id}};const Nv=ia({name:"UrbanDictionaryKeyword",props:{content:{type:String,default:""}},setup:e=>{const t={span:Jt()},n=Ht({id:0,visible:!1,visibleTimeout:0});return Yo(()=>{n.id=Rv.genId()}),Lr(()=>n.visible,()=>{if(n.visible){if(t.span.value){const o=t.span.value.getBoundingClientRect();Rv.emit(zv.SHOW_TOOLTIP,{top:o.bottom,left:o.right,id:n.id,text:e.content})}}else Rv.emit(zv.HIDE_TOOLTIP,{id:n.id})}),{props:e,refs:t,handleClick:()=>{El.emit({type:Al.TRANSLATE,word:e.content,param:{provider:Zl.URBAN_DICTIONARY}})},showTooltip:()=>{n.visibleTimeout&&window.clearTimeout(n.visibleTimeout),n.visibleTimeout=window.setTimeout(()=>{n.visible=!0},200)},hideTooltip:()=>{window.clearTimeout(n.visibleTimeout),n.visibleTimeout=0,n.visible=!1}}}});Nv.render=function(e,t,n,o,r,a){return go(),bo("span",{class:"u-keyword relative",ref:e.refs.span,onClick:t[1]||(t[1]=(...t)=>e.handleClick(...t)),onMouseenter:t[2]||(t[2]=(...t)=>e.showTooltip(...t)),onMouseleave:t[3]||(t[3]=(...t)=>e.hideTooltip(...t))},le(e.props.content.trim()),545)};const Dv={loading:'<svg class="icon" viewBox="0 0 1024 1024"\n  xmlns="http://www.w3.org/2000/svg" width="200" height="200">\n  <path fill="#000000" d="M512.511 21.483c-271.163 0-491.028 219.86-491.028 491.028 0 271.173 219.856 491.03 491.028 491.03 26.554 0 48.08-21.527 48.08-48.08 0-26.554-21.526-48.08-48.08-48.08-218.065 0-394.869-176.804-394.869-394.87 0-218.06 176.813-394.869 394.87-394.869 218.065 0 394.869 176.804 394.869 394.87 0 26.553 21.526 48.08 48.08 48.08 26.553 0 48.08-21.527 48.08-48.08 0-271.173-219.857-491.03-491.03-491.03z"/>\n</svg>\n',like_179655:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 485.027 485.027"><path fill="#3C92CA" d="M109.4 459.991H13c-2.1 0-3.9-1.8-3.9-3.9v-248.4c0-2.1 1.8-3.9 3.9-3.9h96.4c2.1 0 3.9 1.8 3.9 3.9v248.4c0 2.1-1.7 3.9-3.9 3.9z"/><path d="M284.6 20.391c-28.2-20.7-67.2-8.8-68.8-8.3-3.8 1.2-6.3 4.7-6.3 8.6v85.8c0 29.1-13.8 53.7-41.1 73.2-21.1 15.1-42.7 21.3-42.9 21.4-.2 0-.3.1-.5.2l-5.1 1.7c-3-4.9-8.3-8.2-14.5-8.2H16.9c-9.3 0-16.9 7.6-16.9 16.9v240.5c0 9.3 7.6 16.9 16.9 16.9h88.6c8 0 14.7-5.6 16.4-13 11.9 12.7 28.8 20.7 47.6 20.7h209.8c44.6 0 73.1-23.3 78.1-64l26.8-170.2c3.9-24.7-6.2-49.7-25.8-63.7-11.1-8-24.2-12.2-37.9-12.2H311.4v-79.6c0-31.2-9-53.6-26.8-66.7zm-180.4 430.5H18.1v-238h86.1v238zm316.3-266.1c9.9 0 19.3 3 27.3 8.8 14 10.1 21.3 28.2 18.4 46.2l-26.7 170.3v.3c-4.9 39.8-35.4 48.2-60.2 48.2H169.5c-26 0-47.1-21.1-47.1-47.1v-190.2l8.3-2.8c2.9-.8 25.2-7.6 47.8-23.7 32.1-22.8 49.1-53.3 49.1-88.2v-78.6c10.4-2 31.3-4 46.4 7.1 12.8 9.4 19.3 26.9 19.3 52v88.7c0 5 4.1 9.1 9.1 9.1h118.1v-.1z"/></svg>\n'},Pv=ia({name:"UrbanDictionaryContainer",components:{Scrollable:Ed,UKeyword:Nv},setup:()=>{const e={container:Jt()},t=Ht({tooltips:[]}),n=n=>{var o;if(!e.container.value)return;const r=e.container.value.getBoundingClientRect();if(N()(o=t.tooltips).call(o,e=>e.id===n.id))return;let a=Uv[n.text];if(!a){const e=ql({method:"GET",url:"https://api.urbandictionary.com/v0/tooltip?term="+encodeURIComponent(n.text),timeout:5e3,responseType:"json"}).then(e=>JSON.parse(e.responseText).string);a={data:e},Uv[n.text]=a}const i={id:n.id,text:"",top:n.top-r.top,left:n.left-r.left};a.data instanceof M()?a.data.then(e=>{a.data=e,i.text=e}).catch(()=>{delete Uv[n.text]}):i.text=a.data,t.tooltips.push(i)},o=e=>{var n;const o=N()(n=t.tooltips).call(n,t=>t.id===e.id);var r,i;o&&a()(r=t.tooltips).call(r,pi()(i=t.tooltips).call(i,o),1)},r=aa(()=>{var e,t;return null!==(e=null===(t=Mv.data)||void 0===t?void 0:t.list)&&void 0!==e?e:[]});return Yo(()=>{Rv.on(zv.SHOW_TOOLTIP,n),Rv.on(zv.HIDE_TOOLTIP,o)}),Ko(()=>{Rv.off(zv.SHOW_TOOLTIP,n),Rv.off(zv.HIDE_TOOLTIP,o)}),{state:t,list:r,refs:e,icon:Dv,extractDefinition:e=>{const t=[],n=e.matchAll(/\[.+?\]/g);let o=0;for(const a of n){var r;a.index!==o&&t.push({text:e.substring(o,a.index),isTag:!1}),t.push({text:J()(r=a[0]).call(r,1,-1),isTag:!0}),o=a.index+a[0].length}return o!==e.length-1&&t.push({text:e.substring(o),isTag:!1}),t},getTime:e=>J()(e).call(e,0,pi()(e).call(e,"T")),showTooltip:n,hideTooltip:o}}});Pv.render=Iv,Pv.__scopeId="data-v-39582728";const Vv=Pv,Gv=e=>t=>t._tag===e,jv=Gv("InterfaceType"),Bv=Gv("PartialType"),Hv=e=>{var t;switch(e._tag){case"RefinementType":case"ReadonlyType":return Hv(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return el()(t=e.types).call(t,(e,t)=>qs()(e,Hv(t)),{})}},Fv=e=>{var t;return f()(t=xi()(e)).call(t,t=>`${t}: ${e[t].name}`).join(", ")},Yv=(e,t)=>{const n=Os()(e),o=Os()(t);return P()(o).call(o,e=>{const t=pi()(n).call(n,e);-1!==t&&a()(n).call(n,t,1)}),n.length?Oi(n):Ci(e)},qv=(e,t=(e=>jv(e)?`{| ${Fv(e.props)} |}`:Bv(e)?`Partial<{| ${Fv(e.props)} |}>`:`Excess<${e.name}>`)(e))=>{const n=Hv(e);return new $v(t,t=>Ti(Yv(t,n))&&e.is(t),(t,o)=>Ui(Xi.validate(t,o),()=>Ui(e.validate(t,o),e=>zi(Yv(e,n),t=>f()(t).call(t,t=>({value:e[t],context:o,message:`excess key "${t}" found`}))))),t=>e.encode(Yv(t,n).right),e)};class $v extends Pi{constructor(e,t,n,o,r){super(e,t,n,o),this.type=r,this._tag="ExcessType"}}const Wv=qv(ls({author:qi,current_vote:qi,defid:$i,definition:qi,example:qi,permalink:qi,sound_urls:os(qi),thumbs_down:$i,thumbs_up:$i,word:qi,written_on:qi})),Kv=(qv(ls({list:os(Wv)})),{id:Zl.URBAN_DICTIONARY,view:Vv,translate:async e=>{try{const t="https://api.urbandictionary.com/v0/define?"+(0,b.stringify)({term:e}),n=await ql({method:"GET",url:t,timeout:5e3}),o=JSON.parse(n.responseText);return Ci(()=>{Mv.data=$l(o)})}catch(e){return Oi({message:e.message})}}}),Xv=to("data-v-48a39bb0");Qn("data-v-48a39bb0");const Zv={class:"bing-translate-box flex-col relative text-grey-900"},Jv={class:"language-select-box select-none w-full"},Qv={class:"title-box flex justify-between"},eg={class:"items-box flex flex-wrap mt-1"},tg={class:"translate-content mb-2px flex-col"},ng={class:"bottom-info-box flex justify-between"},og={class:"tts-box flex"},rg=Co(" 源 "),ag=Co(" 译 "),ig={class:"language-info-box flex"},sg=So("div",{class:"px-1"}," -> ",-1);eo();const lg=Xv((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("Scrollable");return go(),bo("div",Zv,[So(s,{class:"scroll-container"},{default:Xv(({scrollBar:n})=>[So("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[yr(So("div",Jv,[So("div",Qv,[yr(So("div",null,"源语言",512),[[ri,"source"===e.state.type]]),yr(So("div",null,"翻译到",512),[[ri,"target"===e.state.type]]),So("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),yr(So("div",eg,[(go(!0),bo(lo,null,la(e.languages,t=>(go(),bo("div",{class:["language-item text-center text-grey-600 py-1px",{"active text-grey-800":"source"===e.state.type?t.id===e.containerData.sourceLanguage:t.id===e.containerData.targetLanguage}],key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},le(t.name),11,["onClick"]))),128)),"source"===e.state.type?(go(),bo("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"auto-detect"===e.containerData.sourceLanguage},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto-detect"))}," 自动检测 ",2)):Eo("v-if",!0)],512),[[ri,e.state.visible]])],512),[[ri,e.state.visible]]),yr(So("div",tg,[(go(!0),bo(lo,null,la(e.containerData.data,e=>(go(),bo("div",{class:"row",key:e},le(e),1))),128))],512),[[ri,!e.state.visible]]),yr(So("div",ng,[So("div",og,[So("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[rg,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),So("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[ag,So(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),So("div",ig,[So("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},le(e.getLanguage(e.containerData.detectedLanguage))+" "+le("auto-detect"===e.containerData.sourceLanguage?"(自动检测)":""),1),sg,So("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},le(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[ri,!e.state.visible]])],2)]),_:1})])})),cg=Ht({data:[],inputText:"",sourceLanguage:"",targetLanguage:"",detectedLanguage:""});var ug;const dg=f()(ug=d()(du)).call(ug,([e,t])=>({id:e,name:t})),pg={play_speaker_filled_audio_tool_59284:Ld},fg=ia({name:"BingTranslateContainer",components:{Scrollable:Ed},setup:()=>{const e=Ht({visible:!1,type:"source"});return{state:e,containerData:cg,languages:dg,icon:pg,getLanguage:e=>du[e]||e,handleLanguageSelect:t=>{El.emit({type:Al.TRANSLATE,word:cg.inputText,param:{provider:Zl.BING_TRANSLATE,param:{sl:"source"===e.type?t:cg.sourceLanguage,tl:"target"===e.type?t:cg.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.BING_TRANSLATE,params:"source"===e?{word:cg.inputText,tl:cg.detectedLanguage}:{word:cg.data.join(" "),tl:cg.targetLanguage}})}}}});fg.render=lg,fg.__scopeId="data-v-48a39bb0";const vg=fg;let gg=null;const mg=()=>gg||ql({method:"GET",url:"https://cn.bing.com/Translator"}).then(e=>{if(!e)throw new Error("网络错误!");const t=/data-iid="(.+?)"/.exec(e.responseText),n=/IG:"(.+?)"/.exec(e.responseText);if(!t||!n)throw new Error("获取 token 失败!");return gg={iid:t[1],ig:n[1]},gg}),hg={ig:"",iid:"",token:{}},bg=(e,t)=>{if(hg.ig===e&&hg.iid===t)return M().resolve(hg.token);const n=(0,b.stringify)({isVertical:"1",IG:e,IID:t});return ql({method:"POST",url:"https://cn.bing.com/tfetspktok?"+n,responseType:"json"}).then(n=>(hg.ig=e,hg.iid=t,hg.token=n.response,n.response))},yg=Cu(),xg=async(e,t)=>{const n=t?t.sl:"auto-detect",o=t?t.tl:Ou.config[Zl.BING_TRANSLATE].targetLanguage,r=await mg(),a=(0,b.stringify)({text:e,fromLang:n,to:o}),i="https://cn.bing.com/ttranslatev3?"+(0,b.stringify)({isVertical:"1",IG:r.ig,IID:`${r.iid}.${yg()}`}),s=(await ql({method:"POST",url:i,data:a,headers:{"content-type":"application/x-www-form-urlencoded",origin:"https://cn.bing.com",referer:"https://cn.bing.com/Translator"},responseType:"json"})).response[0],l=s.detectedLanguage.language;if(!t&&l===o&&l===Ou.config[Zl.BING_TRANSLATE].targetLanguage)return xg(e,{sl:n,tl:Ou.config[Zl.BING_TRANSLATE].secondTargetLanguage});return{result:s.translations[0].text.split("\n"),sl:n,tl:o,dl:l}};Uu.on(Mu.PLAY_AUDIO,async e=>{var t;if(e.id!==Zl.BING_TRANSLATE)return;const n=e.params,o=J()(t=n.word).call(t,0,100),r="bing-translate-"+`${n.tl}-${o}`;if(h()(o).call(o,"]]>"))return;if(Iu(r,.7))return;const a=await mg(),i=await bg(a.ig,a.iid),s=pu[n.tl];if(!s)return;const[l,c,u]=s,d=`https://${i.region}.tts.speech.microsoft.com/cognitiveservices/v1`,p=`<speak version="1.0" xml:lang="${l}"><voice xml:lang="${l}" xml:gender="${c}" name="${u}"><prosody rate="-10.00%"><![CDATA[${o}]]></prosody></voice></speak>`,f=await ql({method:"POST",headers:{Authorization:"Bearer "+i.token,"X-MICROSOFT-OutputFormat":"audio-16khz-32kbitrate-mono-mp3","Cache-Control":"no-cache","Content-Type":"application/ssml+xml"},responseType:"arraybuffer",url:d,data:p,timeout:5e3});Iu(r,f.response,.7)});const wg={id:Zl.BING_TRANSLATE,view:vg,translate:async(e,t)=>{try{const n=await xg(e,t);return Ci(()=>{cg.data=n.result,cg.inputText=e,cg.detectedLanguage=n.dl,cg.sourceLanguage=n.sl,cg.targetLanguage=n.tl})}catch(e){return Oi({message:e.message})}}},_g=to("data-v-d38ce5bc");Qn("data-v-d38ce5bc");const kg={class:"flex-col relative text-grey-900"},Sg={class:"word flex items-center"},Tg={class:"text-15"},Og={key:0,class:"short-def mt-1"},Cg={key:1,class:"long-def mt-1 pt-2px text-13"},Ag={class:"text-grey-500"},Eg={class:"group-index mt-2px mr-1 flex-none text-grey-700 font-bold"},Lg={class:"group-item-box"};eo();const Ig=_g((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("scrollable");return go(),bo("div",kg,[So(s,{class:"scroll-container"},{default:_g(({scrollBar:n})=>[e.data?(go(),bo("div",{key:0,class:["main-box flex-col flex-auto text-14 text-grey-800 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[So("div",Sg,[So("span",Tg,le(e.data.word),1),e.data.definition.audio?(go(),bo("div",{key:0,class:"play-sound flex flex-center mt-2px ml-1",onClick:t[1]||(t[1]=t=>e.handlePlay(e.data.definition.audio))},[So(i,{svg:e.icon.play},null,8,["svg"])])):Eo("v-if",!0)]),e.data.definition.short?(go(),bo("div",Og,le(e.data.definition.short),1)):Eo("v-if",!0),e.data.definition.long?(go(),bo("div",Cg,[So("span",Ag,le(e.data.definition.long),1)])):Eo("v-if",!0),(go(!0),bo(lo,null,la(e.data.definition.groups,e=>(go(),bo("div",{class:"group-item mt-1 flex text-13",key:e.index},[So("div",Eg,le(e.index+1)+". ",1),So("div",Lg,[(go(!0),bo(lo,null,la(e.group,(e,t)=>(go(),bo("div",{class:"group-def-item flex mt-2px",key:t},[So("div",{class:["group-type px-1 mr-1 self-start flex-none",{"text-blue-500":"adv"===e.type,"text-orange-400":"adj"===e.type,"text-green-600":"v"===e.type,"text-red-400":"n"===e.type}]},le(e.type)+".  ",3),So("div",null,le(e.definition),1)]))),128))])]))),128))],2)):Eo("v-if",!0)]),_:1})])})),Mg=Ht({data:null}),Ug=ia({name:"VocabularyContainer",components:{Scrollable:Ed},setup:()=>{const e=aa(()=>Mg.data);return{icon:{play:Ld},data:e,handlePlay:e=>{e&&Uu.emit({type:Mu.PLAY_AUDIO,id:Zl.VOCABULARY,params:{key:e}})}}}});Ug.render=Ig,Ug.__scopeId="data-v-d38ce5bc";const zg=Ug,Rg=e=>{if(!e)throw new Error;return e};Uu.on(Mu.PLAY_AUDIO,async e=>{if(e.id!==Zl.VOCABULARY)return;const t=e.params.key;if(!t)return;const n=`https://audio.vocab.com/1.0/us/${t}.mp3`;if(Iu(n,.65))return;const o=await ql({method:"GET",headers:{Referer:"https://www.vocabulary.com"},responseType:"arraybuffer",url:n,timeout:5e3});Iu(n,o.response,.65)});const Ng={id:Zl.VOCABULARY,view:zg,translate:async(e,t)=>{try{const t=await(async e=>{var t;const n=(await ql({method:"GET",url:"https://www.vocabulary.com/dictionary/autocomplete?search="+encodeURIComponent(e),headers:{Accept:"*/*",Host:"www.vocabulary.com"}})).responseText,o=document.createElement("div");return o.innerHTML=n,f()(t=vi()(o.querySelectorAll(".suggestions > li"))).call(t,e=>{var t,n,o,r;return{lang:null!==(t=e.getAttribute("lang"))&&void 0!==t?t:"",synsetid:null!==(n=e.getAttribute("synsetid"))&&void 0!==n?n:"",word:null!==(o=e.getAttribute("word"))&&void 0!==o?o:"",freq:null!==(r=e.getAttribute("freq"))&&void 0!==r?r:""}})})(e),n=x()(t).call(t,t=>t.word===e)?e:t[0].word,o=await(async e=>{var t,n,o,r,a,i,s;const l=(await ql({method:"GET",url:`https://www.vocabulary.com/dictionary/definition.ajax?search=${encodeURIComponent(e)}&lang=en`,headers:{Accept:"*/*",Host:"www.vocabulary.com"}})).responseText,u=document.createElement("div");return u.innerHTML=l,{short:null!==(t=null===(n=u.querySelector(".definitionsContainer .section.blurb .short"))||void 0===n||null===(o=n.textContent)||void 0===o?void 0:c()(o).call(o))&&void 0!==t?t:void 0,long:null!==(r=null===(a=u.querySelector(".definitionsContainer .section.blurb .long"))||void 0===a||null===(i=a.textContent)||void 0===i?void 0:c()(i).call(i))&&void 0!==r?r:void 0,audio:Rg(u.querySelector(".dynamictext .audio")).getAttribute("data-audio"),groups:f()(s=vi()(u.querySelectorAll(".definitions .section.definition .group"))).call(s,(e,t)=>{var n,o;return{index:t,group:f()(n=vi()(e.querySelectorAll(".ordinal .sense"))).call(n,e=>{var t,n;return{type:Rg(e.querySelector(".anchor")).textContent,definition:c()(t=null!==(n=Rg(Rg(e.querySelector(".anchor")).nextSibling).textContent)&&void 0!==n?n:"").call(t)}}),family:JSON.parse(null!==(o=Rg(u.querySelector(".section.family vcom\\:wordfamily")).getAttribute("data"))&&void 0!==o?o:"")}})}})(n);return Ci(()=>{Mg.data=$l({word:n,autocomplete:t,definition:o})})}catch(e){return Oi({message:e.message})}}},Dg=qv(ls({word:qi,time:$i,provider:bs(Zl,"PROVIDER")}));function Pg(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Vg(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Pg(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Pg(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const Gg=Ht({list:[]}),jg=async()=>{Gg.list.length=Math.min(Gg.list.length,100),await Fl(uc.HISTORY,z()(Gg.list))},Bg=async()=>{const e=await Hl(uc.HISTORY,"");try{const t=JSON.parse(e);if(!X()(t))throw new Error;Gg.list=el()(t).call(t,(e,t)=>{const n=Dg.decode(t);return Ti(n)&&e.push(n.right),e},[]),Gg.list.length=Math.min(Gg.list.length,100)}catch(e){await jg()}},Hg={state:Gg,loadHistory:Bg,clearHistory:async()=>{Gg.list=[],await jg()},addItem:async e=>{var t;await Bg();const n=s()(),o=N()(t=Gg.list).call(t,t=>t.word===e.word&&n-t.time<6e5);var r,i;o&&a()(r=Gg.list).call(r,pi()(i=Gg.list).call(i,o),1);const l=Gg.list[0];l&&l.word===e.word&&Gg.list.shift(),Gg.list.unshift(Vg(Vg({},e),{},{time:n})),await jg()}},Fg=[Fd,Cp,sf,Rf,xv,Kv,wg,Ng],Yg=Ht({loading:!1,activeTask:null,activeProviderId:null,lastUsedProvider:Zl.ICIBA,errorMessage:""}),qg=Cu(0),$g=async e=>{var t,n,o,r,a;const i=e.param,s=null!==(t=null!==(n=i&&N()(Fg).call(Fg,e=>e.id===i.provider))&&void 0!==n?n:N()(Fg).call(Fg,e=>e.id===Ou.config.core.defaultProvider))&&void 0!==t?t:Fg[0],l=null!==(o=null==i?void 0:i.param)&&void 0!==o?o:null,u=c()(r=e.word).call(r);if(!u)return void(Yg.errorMessage="查询不能为空!");Yg.activeProviderId=null;const d={word:u,provider:s.id,id:qg()};if(Yg.activeTask&&Yg.activeTask.word===d.word&&Yg.activeTask.provider===d.provider)return;Yg.activeTask=d,Yg.loading=!0,Yg.errorMessage="";const p=await s.translate(u,l);(null===(a=Yg.activeTask)||void 0===a?void 0:a.id)===d.id&&(Si(p)&&(p.left.message&&(Yg.errorMessage=`${s.id}: ${p.left.message}`,Yg.loading=!1),p.left.redirect)?await $g({type:Al.TRANSLATE,word:u,param:{provider:p.left.redirect,param:p.left.redirectParams}}):Ti(p)&&(Yg.activeProviderId=s.id,p.right(),Hg.addItem({word:d.word,provider:d.provider}),Yg.loading=!1,Yg.activeTask=null))},Wg={state:Yg,providers:Fg,activeProvider:aa(()=>{var e;return null!==(e=N()(Fg).call(Fg,e=>e.id===Yg.activeProviderId))&&void 0!==e?e:null}),translate:$g,clearActiveProvider:()=>{Yg.activeProviderId=null,Yg.errorMessage=""},removeSelection:()=>{const e=window.getSelection();e&&e.removeAllRanges()}};var Kg;!function(e){e.GENERAL="GENERAL",e.GOOGLE_DICT_MODAL="GOOGLE_DICT_MODAL"}(Kg||(Kg={}));const Xg=(()=>{let e=2147383647;const t=new($());return{gen:n=>{e+=1;const o=e;return t.set(n,o),o},get:e=>{var n;return null!==(n=t.get(e))&&void 0!==n?n:0},isTop:t=>t===e}})(),Zg=e=>{const t="string"==typeof e?e:e.id,n=Ou.config[t].icon;return yc[t][n]},Jg=(e,t)=>{let n=e;if(!n||!t)return!1;for(;n&&n!==t;)n=n.parentNode;return n===t},Qg=e=>{const t=window.getComputedStyle(document.body);let n=0,o=0;return"static"!==t.position&&(t.marginLeft&&"0px"!==t.marginLeft&&(n=Number(t.marginLeft.replace("px",""))),t.marginTop&&"0px"!==t.marginTop&&(o=Number(t.marginTop.replace("px","")))),{top:e.pageY-o,left:e.pageX-n}},em=ia({setup:()=>{let e=0;const t=Ht({dots:3});return Yo(()=>{e=window.setInterval(()=>{t.dots=t.dots>10?3:t.dots+1},300)}),Ko(()=>{window.clearInterval(e)}),()=>So("div",null,[Co("加载中"),G()(".").call(".",t.dots)])}}),tm=Ht({icibaMain:!1,setting:!1,history:!1,googleDictModal:!1}),nm=xi()(tm);P()(nm).call(nm,e=>{Lr(()=>tm[e],()=>{"icibaMain"!==e&&tm[e]&&(e=>{P()(nm).call(nm,t=>{e!==t&&(tm[t]=!1)})})(e)})});const om={state:tm,openIcibaMain:()=>{tm.icibaMain=!0},closeIcibaMain:()=>{tm.icibaMain=!1},openSettings:()=>{tm.setting=!0},closeSettings:()=>{tm.setting=!1},openHistory:()=>{tm.history=!0},closeHistory:()=>{tm.history=!1},openGoogleDictModal:()=>{tm.googleDictModal=!0},closeGoogleDictModal:()=>{tm.googleDictModal=!1}};function rm(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function am(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=rm(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=rm(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const im=ia({name:"IcibaMain",components:{LoadingText:em},props:{getIcibaCircle:{type:null,required:!0}},setup:n=>{const o={icibaMainWrap:Jt(),icibaMain:Jt(),icibaSearchInput:Jt(),sizeHelper:Jt()},r=Ht({inputFocused:!1,inputText:"",stickBoxVisible:!1,drag:{dragging:!1,ignoreCtrl:!1,startPoint:{x:0,y:0},startTransform:{x:0,y:0}},mainStyle:{top:"auto",bottom:"auto",left:"auto",right:"auto"},wrapperStyle:{top:"auto",bottom:"auto",left:"auto",right:"auto",translateX:0,translateY:0,zIndex:0}}),a=()=>{xn(()=>{const e=o.icibaSearchInput.value;if(e){const t=r.inputText.length;e.focus(),e.selectionStart=t,e.selectionEnd=t}})},i=e=>{if(!o.sizeHelper.value)return;const t=o.sizeHelper.value.getBoundingClientRect(),n=t.left-e.clientX,a=t.top-e.clientY;r.mainStyle=am({top:"auto",bottom:"auto",left:"auto",right:"auto"},am(am({},n<Ou.config.core.icibaMainWidth?{right:"0"}:{left:"0"}),a<250?{bottom:"0"}:{top:"0"}));const i=Qg(e);r.wrapperStyle={top:i.top+"px",left:i.left+"px",bottom:"auto",right:"auto",translateX:0,translateY:0,zIndex:Xg.gen(Kg.GENERAL)}},s=(e,t)=>{if(om.state.icibaMain){const t=o.icibaMain.value;if(t){const n=t.getBoundingClientRect();(n.bottom<0||n.top>window.innerHeight)&&i(e)}}else i(e),om.openIcibaMain(),t&&a()},l={onTranslate:e=>{e.mouseEvent&&s(e.mouseEvent,Ou.config.core.icibaMainInputAutoFocus),r.inputText=e.word,Wg.translate(e)},onHotKeyShowUp:async e=>{if(om.state.icibaMain)return i(e.mouseEvent),void(Ou.config.core.hotkeyIcibaMainInputAutoFocus&&a());await new(M())(e=>A()(e,0)),Wg.clearActiveProvider(),i(e.mouseEvent),r.inputText="",om.openIcibaMain(),Ou.config.core.hotkeyIcibaMainInputAutoFocus&&a()},onHotkeyTranslate:e=>{if(om.state.icibaMain)r.inputText=e.word||r.inputText;else{if(!e.word)return;s(e.mouseEvent,Ou.config.core.providerHotkeyAutoFocus),r.inputText=e.word}e.word&&(r.inputText=e.word),Wg.translate({type:Al.TRANSLATE,word:r.inputText,mouseEvent:e.mouseEvent,param:{provider:e.provider}}),Ou.config.core.providerHotkeyAutoFocus&&a()},onGoogleDictModalOpen:()=>{om.closeIcibaMain()},onWindowClick:t=>{t.target===e||Ou.config.core.showPin&&Ou.config.core.pinned||om.closeIcibaMain()},onShadowRootClick:e=>{if(!o.icibaMainWrap.value)return;const t=[Jg(e.target,o.icibaMainWrap.value),Jg(e.target,n.getIcibaCircle().$el),Ou.config.core.showPin&&Ou.config.core.pinned];x()(t).call(t,e=>e)||om.closeIcibaMain()}},c={handleOpenSetting:()=>{om.openSettings()},handleOpenHistory:()=>{om.openHistory()},handleTranslateWithProvider:e=>{Wg.translate({type:Al.TRANSLATE,word:r.inputText,param:{provider:e}})},handleInputEnter:()=>{Wg.translate({type:Al.TRANSLATE,word:r.inputText,param:{provider:Wg.state.lastUsedProvider}})}},u={handleTogglePinned:()=>{Ou.config.core.pinned=!Ou.config.core.pinned},handlePinDragStart:e=>{e.preventDefault(),Wg.removeSelection(),r.drag={dragging:!0,ignoreCtrl:!0,startPoint:{x:e.screenX,y:e.screenY},startTransform:{x:r.wrapperStyle.translateX,y:r.wrapperStyle.translateY}}},handleDragStart:e=>{if(!o.icibaMainWrap.value)return;const t=e;r.drag.ignoreCtrl=!1,Jg(t.target,o.icibaMainWrap.value)&&t.ctrlKey&&Ou.config.core.pressCtrlToDrag&&(Wg.removeSelection(),t.preventDefault(),r.drag={dragging:!0,ignoreCtrl:!1,startPoint:{x:t.screenX,y:t.screenY},startTransform:{x:r.wrapperStyle.translateX,y:r.wrapperStyle.translateY}})},handleDragMove:e=>{const t=e;if(!r.drag.dragging||!r.drag.ignoreCtrl&&!t.ctrlKey)return;const n=t.screenX-r.drag.startPoint.x,o=t.screenY-r.drag.startPoint.y;r.wrapperStyle.translateX=r.drag.startTransform.x+n,r.wrapperStyle.translateY=r.drag.startTransform.y+o},handleDragEnd:()=>{r.drag.dragging=!1}},d=aa(()=>{const e=r.wrapperStyle,{translateX:t,translateY:n}=e;return am(am({},Gl(e,["translateX","translateY"])),{},{transform:`translate(${r.wrapperStyle.translateX}px, ${r.wrapperStyle.translateY}px)`})}),p=aa(()=>am(am({},r.mainStyle),{},{width:Ou.config.core.icibaMainWidth+"px"})),v=aa(()=>{var e,t;return _()(e=f()(t=Ou.config.core.providerOrder).call(t,e=>{var t;return N()(t=Wg.providers).call(t,t=>t.id===e)})).call(e,e=>Ou.config[e.id].display)}),g=aa(()=>om.state.icibaMain);return Lr(()=>d.value,e=>{o.icibaMainWrap.value&&qs()(o.icibaMainWrap.value.style,e)},{deep:!0,immediate:!0}),Yo(()=>{window.addEventListener("mousedown",l.onWindowClick,!0),window.addEventListener("mousemove",u.handleDragMove,!0),window.addEventListener("mouseup",u.handleDragEnd,!0),t.addEventListener("mousedown",u.handleDragStart,!0),t.addEventListener("mousedown",l.onShadowRootClick,!1),t.addEventListener("keyup",u.handleDragEnd,!0),El.on({event:Al.TRANSLATE,listener:l.onTranslate}),El.on({event:Al.OPEN_GOOGLE_DICT_MODAL,listener:l.onGoogleDictModalOpen}),El.on({event:Al.HOTKEY_SHOW,listener:l.onHotKeyShowUp}),El.on({event:Al.HOTKEY_TRANSLATE,listener:l.onHotkeyTranslate})}),{icon:{settingsIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54" width="512" height="512"><path d="M51.22 21h-5.052c-.812 0-1.481-.447-1.792-1.197s-.153-1.54.42-2.114l3.572-3.571c.525-.525.814-1.224.814-1.966 0-.743-.289-1.441-.814-1.967l-4.553-4.553c-1.05-1.05-2.881-1.052-3.933 0l-3.571 3.571c-.475.475-.997.574-1.352.574-.5 0-.997-.196-1.364-.539-.271-.254-.595-.704-.595-1.406V2.78C33 1.247 31.753 0 30.22 0h-6.44C22.247 0 21 1.247 21 2.78v5.052c0 1.218-.997 1.945-1.961 1.945-.354 0-.876-.1-1.351-.574l-3.571-3.571c-1.052-1.052-2.883-1.05-3.933 0l-4.553 4.553c-.525.525-.814 1.224-.814 1.967 0 .742.289 1.44.814 1.966l3.572 3.571c.573.574.73 1.364.42 2.114S8.644 21 7.832 21H2.78C1.247 21 0 22.247 0 23.78v6.438C0 31.752 1.247 33 2.78 33h5.052c.812 0 1.481.447 1.792 1.197s.153 1.54-.42 2.114l-3.572 3.571c-.525.525-.814 1.224-.814 1.966 0 .743.289 1.441.814 1.967l4.553 4.553c1.051 1.051 2.881 1.053 3.933 0l3.571-3.571c.475-.475.997-.574 1.352-.574.963 0 1.96.728 1.96 1.945v5.051C21 52.752 22.247 54 23.78 54h6.439c1.533 0 2.78-1.248 2.78-2.781v-5.051c0-1.218.997-1.945 1.96-1.945.354 0 .877.1 1.352.574l3.571 3.571c1.052 1.052 2.883 1.05 3.933 0l4.553-4.553c.525-.525.814-1.224.814-1.967 0-.742-.289-1.44-.814-1.966l-3.572-3.571c-.573-.574-.73-1.364-.42-2.114S45.356 33 46.168 33h5.052c1.533 0 2.78-1.248 2.78-2.781V23.78c0-1.533-1.247-2.78-2.78-2.78zM34 27c0 3.859-3.141 7-7 7s-7-3.141-7-7 3.141-7 7-7 7 3.141 7 7z" fill="#AAA"/></svg>\n',dragIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#aaa" d="M491.318 235.318H20.682C9.26 235.318 0 244.577 0 256s9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.259 20.682-20.682 0-11.422-9.259-20.682-20.682-20.682zM491.318 78.439H20.682C9.26 78.439 0 87.699 0 99.121c0 11.422 9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.26 20.682-20.682 0-11.422-9.259-20.682-20.682-20.682zM491.318 392.197H20.682C9.26 392.197 0 401.456 0 412.879s9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.259 20.682-20.682s-9.259-20.682-20.682-20.682z"/></svg>\n',pinIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 475.085 475.085" width="475.085" height="475.085"><path fill="#aaa" d="M379.577 247.395c-14.944-18.75-31.833-28.12-50.679-28.12V73.092c9.896 0 18.47-3.616 25.693-10.848 7.238-7.233 10.858-15.802 10.858-25.697 0-9.9-3.62-18.464-10.858-25.697C347.368 3.617 338.795 0 328.898 0H146.179c-9.9 0-18.464 3.617-25.697 10.85-7.234 7.233-10.85 15.796-10.85 25.697 0 9.899 3.616 18.464 10.85 25.697 7.233 7.232 15.8 10.848 25.697 10.848v146.179c-18.844 0-35.734 9.374-50.677 28.123-14.941 18.75-22.414 39.824-22.414 63.242 0 4.948 1.809 9.232 5.426 12.847 3.619 3.613 7.901 5.421 12.85 5.421h115.344l21.698 138.474c.95 5.141 3.996 7.707 9.135 7.707h.291c2.274 0 4.235-.808 5.851-2.423 1.615-1.619 2.614-3.572 2.994-5.855l14.558-137.902h122.482c4.948 0 9.236-1.808 12.847-5.421 3.621-3.614 5.432-7.898 5.432-12.847.003-23.415-7.477-44.492-22.419-63.242zM210.132 210.14c0 2.662-.855 4.849-2.57 6.565-1.713 1.714-3.903 2.57-6.567 2.57-2.662 0-4.853-.855-6.567-2.57-1.713-1.713-2.568-3.903-2.568-6.565V82.233c0-2.664.855-4.858 2.568-6.567 1.714-1.711 3.905-2.568 6.567-2.568 2.664 0 4.854.854 6.567 2.568 1.714 1.712 2.57 3.903 2.57 6.567V210.14z"/></svg>\n',historyIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n  <path fill="#000000" d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path>\n</svg>\n'},state:r,visible:g,refs:o,store:Ou,mainStyle:p,translateLoading:aa(()=>Wg.state.loading),activeProvider:Wg.activeProvider,showButtonProviders:v,errorMessage:aa(()=>Wg.state.errorMessage),m:am({getIcon:Zg,pinDrag:u},c)}}});im.render=Vl,im.__scopeId="data-v-b07dfcf8";const sm=im,lm=to("data-v-b769a32c"),cm=lm((function(e,t,n,o,r,a){const i=oo("i-icon");return go(),bo(La,{name:"c"},{default:lm(()=>[yr(So("div",{class:["iciba-circle absolute select-none overflow-hidden flex flex-center",{"has-icon":!!e.iconUrl,[e.iconType]:!0}],ref:e.refs.circle,style:e.computedStyle,onContextmenu:t[1]||(t[1]=ti(()=>{},["prevent"])),onMouseover:t[2]||(t[2]=(...t)=>e.m.handleSelfMouseover(...t)),onMouseup:t[3]||(t[3]=(...t)=>e.m.handleSelfMouseUp(...t))},[e.iconUrl?(go(),bo(i,{key:0,class:"flex-1",size:!1,svg:e.iconUrl},null,8,["svg"])):Eo("v-if",!0)],38),[[ri,e.state.visible]])]),_:1})}));function um(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}function dm(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=um(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=um(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}const pm=ia({setup:()=>{const n={circle:Jt()},o=Ht({visible:!1,word:"",currentWord:"",zIndex:0,style:{top:"0",left:"0",bottom:"auto",right:"auto"}}),r=async(t,r=!1)=>{if(!r&&t.target===e)return;if(r&&t.target===n.circle.value)return;const a=()=>{o.visible=!1};await new(M())(e=>requestAnimationFrame(e));const i=(()=>{var e;const t=window.getSelection();return t&&String(t)?c()(e=t.toString()).call(e):""})();if(o.currentWord=i,!i)return void a();const s=Ou.config;if(s.core.pressCtrlToShowCircle&&!t.ctrlKey)return void a();if(s.core.selectionMaxLengthCut&&i.length>s.core.selectionMaxLength)return void a();const l=s.core.useHotkeyShowUp&&!!s.core.showUpHotkey.length,u=x()(ec).call(ec,e=>s[e].enableHotkey&&s[e].hotkey.length),d=l||u;if(s.core.useIcibaCircle||!d){if(s.core.icibaCircleNoCJK){var p;if(x()(p=vi()(i)).call(p,e=>e.charCodeAt(0)>669))return void a()}((e,t)=>{o.visible=!0,o.word=t,o.zIndex=Xg.gen(Kg.GENERAL);const n=Qg(e);o.style={top:n.top+Ou.config.core.icibaCircleOffsetY+"px",left:n.left+Ou.config.core.icibaCircleOffsetX+"px"}})(t,i)}},a=e=>{r(e,!0)},i=aa(()=>dm(dm({},o.style),{},{zIndex:o.zIndex,width:Ou.config.core.icibaCircleSize+"px",height:Ou.config.core.icibaCircleSize+"px"})),s=aa(()=>lc[Ou.config.core.icibaCircleIcon]),l=aa(()=>cc[Ou.config.core.icibaCircleIcon]);return Yo(()=>{window.addEventListener("mouseup",r,!0),t.addEventListener("mouseup",a,!0)}),{state:o,refs:n,iconUrl:s,iconType:l,computedStyle:i,m:{handleSelfMouseover:e=>{Ou.config.core.mouseOverTranslate&&(o.visible=!1,El.emit({type:Al.TRANSLATE,mouseEvent:e,word:o.word,param:{provider:Ou.config.core.defaultProvider}}))},handleSelfMouseUp:e=>{A()(()=>{o.visible=!1;let t=Zl.ICIBA;0===e.button?t=Ou.config.core.defaultProvider:2===e.button&&Ou.config.core.icibaCircleRightClick&&(t=Ou.config.core.icibaCircleRightClickProvider),El.emit({type:Al.TRANSLATE,mouseEvent:e,word:o.word,param:{provider:t}}),Wg.removeSelection()})}}}}});pm.render=cm,pm.__scopeId="data-v-b769a32c";const fm=pm,vm=to("data-v-26ec9275");Qn("data-v-26ec9275");const gm={class:"setting-window relative flex bg-white shadow-8 ease-in-out duration-300 overflow-hidden"},mm={class:"bg-indigo-500 flex-none items-center"},hm=Co("设置"),bm=Co("core"),ym=Co("热键"),xm=Co("iciba"),wm=Co("google 字典"),_m=Co("google 翻译"),km=Co("百度翻译"),Sm=Co("搜狗翻译"),Tm=Co("urban"),Om=So("br",null,null,-1),Cm=Co("dictionary"),Am=Co("bing 翻译"),Em=Co("Vocabulary");eo();const Lm=vm((function(e,t,n,o,r,a){const i=oo("i-tab"),s=oo("i-tabs"),l=oo("about"),c=oo("i-tab-item"),u=oo("core-setting"),d=oo("hot-key"),p=oo("iciba"),f=oo("google-dict"),v=oo("google-translate"),g=oo("baidu-translate"),m=oo("sougou-translate"),h=oo("urban-dictionary"),b=oo("bing-translate"),y=oo("vocabulary"),x=oo("i-tabs-items"),w=oo("modal-component"),_=ao("no-overscroll");return go(),bo(w,{open:e.visible,onClose:e.handleCloseSetting},{default:vm(()=>[So("div",gm,[So("div",mm,[So(s,{modelValue:e.state.tab,"onUpdate:modelValue":t[1]||(t[1]=t=>e.state.tab=t),dark:"","slider-color":"rgba(255,255,255,0.8)"},{default:vm(()=>[So(i,null,{default:vm(()=>[hm]),_:1}),So(i,null,{default:vm(()=>[bm]),_:1}),So(i,null,{default:vm(()=>[ym]),_:1}),So(i,null,{default:vm(()=>[xm]),_:1}),So(i,null,{default:vm(()=>[wm]),_:1}),So(i,null,{default:vm(()=>[_m]),_:1}),So(i,null,{default:vm(()=>[km]),_:1}),So(i,null,{default:vm(()=>[Sm]),_:1}),So(i,null,{default:vm(()=>[Tm,Om,Cm]),_:1}),So(i,null,{default:vm(()=>[Am]),_:1}),So(i,null,{default:vm(()=>[Em]),_:1})]),_:1},8,["modelValue"])]),yr(So(x,{class:"tabs-box flex-auto overflow-auto",modelValue:e.state.tab,"onUpdate:modelValue":t[2]||(t[2]=t=>e.state.tab=t)},{default:vm(()=>[So(c,{class:"p-4"},{default:vm(()=>[So(l)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(u)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(d)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(p)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(f)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(v)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(g)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(m)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(h)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(b)]),_:1}),So(c,{class:"p-4"},{default:vm(()=>[So(y)]),_:1})]),_:1},8,["modelValue"]),[[_]])])]),_:1},8,["open","onClose"])}));function Im(e,t){var n=xi()(e);if(Bs()){var o=Bs()(e);t&&(o=_()(o).call(o,(function(t){return As()(e,t).enumerable}))),n.push.apply(n,o)}return n}const Mm=ia({name:"Tabs",props:{modelValue:{type:Number,required:!0},sliderColor:{type:String,default:""}},setup:(e,t)=>{const n=Ht([]),o=Ht({slider:{top:0,height:0},hasArrowButton:!1}),r=aa({get:()=>e.modelValue,set:e=>t.emit("update:modelValue",e)}),a=aa(()=>function(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)P()(n=Im(Object(o),!0)).call(n,(function(t){jl(e,t,o[t])}));else if(xs())mi()(e,xs()(o));else{var r;P()(r=Im(Object(o))).call(r,(function(t){g()(e,t,As()(o,t))}))}}return e}({top:o.slider.top+"px",height:o.slider.height+"px"},e.sliderColor?{color:e.sliderColor}:{}));return Yo(()=>{Lr(()=>e.modelValue,()=>{(()=>{var e,t;const a=n[r.value].getBoundingClientRect().height,i=el()(e=f()(t=_()(n).call(n,(e,t)=>t<r.value)).call(t,e=>e.getBoundingClientRect().height)).call(e,(e,t)=>e+t,0);o.slider={top:i,height:a}})()},{immediate:!0})}),()=>{var e,o,i,s;return So("div",{class:"i-tabs flex-col flex-wrap relative items-stretch"},[So("div",{class:"slider absolute ease-in-out duration-300",style:a.value},null),f()(e=null!==(o=null===(i=(s=t.slots).default)||void 0===i?void 0:i.call(s))&&void 0!==o?o:[]).call(e,(e,t)=>yr(So("div",{ref:e=>{e&&(n[t]=e)},class:{"tab flex flex-center text-14":!0,active:r.value===t},onClick:()=>{r.value=t},key:t},[e]),[[ao("ripple"),{class:r.value===t?"active-ripple":"inactive-ripple"}]]))])}}}),Um={class:"i-tab__div text-center"};const zm={render:function(e,t,n,o,r,a){return go(),bo("div",Um,[Kn(e.$slots,"default")])}},Rm=zm,Nm=ia({props:{modelValue:{type:Number,required:!0},windowClass:{type:String}},setup:(e,t)=>{const n={windows:Ht([]),windowContainer:Jt(),container:Jt()},o=Ht({beforeValue:0,height:0,animating:!1,animatingTimeout:0,windowState:[],scrollTopInterupt:null}),r=()=>{const e=n.container.value;if(!e)return;const t=e.scrollTop;if(!t)return;o.scrollTopInterupt&&o.scrollTopInterupt();const r=performance.now();let a=!1;const i=()=>{const n=performance.now()-r;var o;n>300||a||0!==e.scrollTop&&(e.scrollTop=t-(o=n/300,-.5*(Math.cos(Math.PI*o)-1)*t),window.requestAnimationFrame(i))};o.scrollTopInterupt=()=>{a=!0,o.scrollTopInterupt=null},window.requestAnimationFrame(i)};return Yo(()=>{Lr(()=>e.modelValue,(t,a)=>{o.beforeValue=null!=a?a:0,void 0!==a&&(async()=>{var t;const a=n.windowContainer.value,i=n.windows;if(!a||!i)return;o.animating&&window.clearTimeout(o.animatingTimeout),o.animating=!0;const s=o.beforeValue,l=e.modelValue,c=a.getBoundingClientRect().height;P()(t=o.windowState).call(t,e=>{e.display="none",e.position=void 0,e.transform=""}),o.height=Math.max(i[s].getBoundingClientRect().height,c),o.windowState[s]={position:"absolute",display:"",transform:"",animating:!1},o.windowState[l]={position:"absolute",display:"",transform:l<s?"translate(-100%, 0)":"translate(100%, 0)",animating:!1},await new(M())(e=>xn(e)),r(),o.height=Math.max(i[s].getBoundingClientRect().height,c),o.windowState[s]={position:"absolute",display:"",transform:s<l?"translate(-100%, 0)":"translate(100%, 0)",animating:!0},o.windowState[l]={position:"absolute",display:"",transform:"",animating:!0},o.animatingTimeout=window.setTimeout(()=>{o.animating=!1,o.windowState[s]={position:void 0,display:"none",transform:"",animating:!1},o.windowState[l]={position:void 0,display:"",transform:"",animating:!1},o.height=0},300)})()},{immediate:!0})}),()=>{var r,a,i;const s=null!==(r=null===(a=(i=t.slots).default)||void 0===a?void 0:a.call(i))&&void 0!==r?r:[];return(t=>{var n,r;t!==o.windowState.length&&(o.windowState=f()(n=L()(r=Array(t)).call(r,0)).call(n,(t,n)=>({position:void 0,transform:"",display:e.modelValue===n?"":"none",animating:!1})))})(s.length),So("div",{class:"i-tabs-items",ref:n.container},[So("div",{class:"window-container flex relative ease-in-out duration-300",ref:n.windowContainer,style:{height:o.height?o.height+"px":"auto"}},[...f()(s).call(s,(t,r)=>{var a;if(t.props){const n=t.props;n.index=r,n.current=e.modelValue}return So("div",{ref:e=>{e&&(n.windows[r]=e)},style:{position:o.windowState[r].position,display:o.windowState[r].display,transform:o.windowState[r].transform},key:r,class:{[null!==(a=e.windowClass)&&void 0!==a?a:""]:!0,"vnode-window":!0,animating:o.windowState[r].animating}},[t])})])])}}}),Dm=ia({props:{index:Number,current:Number},setup:(e,t)=>()=>{var n,o,r;const a=null!==(n=null===(o=(r=t.slots).default)||void 0===o?void 0:o.call(r))&&void 0!==n?n:[];return So("div",null,[f()(a).call(a,t=>{if(t.props){t.props.active=e.index===e.current}return t})])}}),Pm=to("data-v-76591e7d");Qn("data-v-76591e7d");const Vm={class:"modal-container flex-col ease-in-out duration-300"};eo();const Gm=Pm((function(e,t,n,o,r,a){return go(),bo(La,{name:"m"},{default:Pm(()=>[e.state.visible?(go(),bo("div",{key:0,class:"modal-component flex flex-center fixed inset-0 ease-in-out duration-300",style:e.modalStyle,onClick:t[1]||(t[1]=ti((...t)=>e.handleCloseModal(...t),["self"]))},[So("div",Vm,[Kn(e.$slots,"default")])],4)):Eo("v-if",!0)]),_:1})})),jm=ia({name:"ModalComponent",props:{open:{type:Boolean,required:!0},onClose:{type:null,required:!0}},setup:e=>{const t=Ht({visible:!1,zIndex:0,bodyOverflowXValue:"",bodyOverflowYValue:""});Lr(()=>e.open,()=>{e.open&&(t.bodyOverflowXValue=document.body.style.overflowX||"",t.bodyOverflowYValue=document.body.style.overflowY||"",t.zIndex=Xg.gen(Kg.GENERAL)),t.visible=e.open});const n=aa(()=>({zIndex:t.zIndex}));return{state:t,modalStyle:n,handleCloseModal:n=>{n.target===n.currentTarget&&(e.onClose(),document.body.style.overflowX=t.bodyOverflowXValue,document.body.style.overflowY=t.bodyOverflowYValue)}}}});jm.render=Gm,jm.__scopeId="data-v-76591e7d";const Bm=jm,Hm={class:"flex-col items-start"},Fm=Ao('<h1 class="text-20 mt-1">iciba划词翻译</h1><div class="text-14 mt-6"><div> 修改设置会自动保存。其他已打开的标签页需要刷新后才会加载新设置。 </div><div class="mt-4"> Greasyfork: <br><a target="_blank" rel="noopener" href="https://greasyfork.org/zh-CN/scripts/6303-iciba%E5%88%92%E8%AF%8D%E7%BF%BB%E8%AF%91"> https://greasyfork.org/zh-CN/scripts/6303-iciba划词翻译 </a></div><div class="mt-4"> Github: <br><a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript"> https://github.com/Firefox-Pro-Coding/iciba-translate-userscript </a></div><div class="mt-4"> Changelog: <br><a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript/releases"> Github Release </a></div><div class="mt-4"> 支持: <br> 如果您喜欢该项目,可以在 <a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript">github repo</a> 点 star,或者把它推荐给其他人 </div><div class="mt-4"> 遇到了任何问题或者错误,有其他建议?打开 <a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript">github repo</a> 提交 <a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript/issues">issue</a></div></div>',2);const Ym=ia({name:"AboutPage"});Ym.render=function(e,t,n,o,r,a){return go(),bo("div",Hm,[Fm])};const qm=Ym,$m=to("data-v-3a3412e4");Qn("data-v-3a3412e4");const Wm={class:"flex-col items-start"},Km=Co(" 选中文字后显示小圆圈 (关闭后"),Xm=So("span",{class:"font-bold"},"仅能使用热键",-1),Zm=Co("查词) "),Jm=So("div",{class:"flex-1 default-iciba-circle"},null,-1),Qm=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 自定义小圆圈图标 ",-1),eh=Co(" 选择文字时,只有 "),th=So("span",{class:"font-bold"},"同时按住ctrl键",-1),nh=Co(" 时才显示小圆圈 "),oh={class:"flex mt-6"},rh={class:"flex-col flex-grow-0 pr-12"},ah=So("div",{class:"text-grey-600 pr-6 mb-2"},"接口",-1),ih={class:"flex-col items-center flex-grow-0"},sh=So("div",{class:"text-grey-600 pr-6 mb-1"},"默认接口",-1),lh={class:"flex-col items-center flex-grow-0"},ch=So("div",{class:"text-grey-600 pr-6 mb-1"},"备选接口",-1),uh={key:0,class:"text-14 text-red-500 mt-2 mb-0"},dh=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" 默认接口:左键点击小圆圈查词接口 "),So("br"),Co(" 备选接口:启用时,右键键点击小圆圈使用此查词接口 ")],-1),ph={class:"text-14 text-grey-400"},fh={class:"flex self-stretch items-center mr-1 mt-6"},vh={class:"mr-4 text-grey-600"},gh=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 小圆圈大小(默认22px) ",-1),mh={class:"flex mt-6"},hh={class:"flex-col justify-around flex-none"},bh={class:"mr-4 text-grey-600"},yh={class:"mr-4 text-grey-600"},xh={class:"flex-col justify-around flex-auto"},wh=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" 小圆圈位置偏移(单位:px) "),So("br"),Co(" 选择文字时,小圆圈偏移鼠标指针右下方的位置。默认 x=7 y=7 ")],-1),_h={class:"flex items-center mr-1 mt-6 self-stretch"},kh={class:"mr-4 text-grey-600"},Sh=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 查词框宽度(单位:px)(默认300px) ",-1);eo();const Th=$m((function(e,t,n,o,r,a){const i=oo("provider-sort"),s=oo("i-checkbox-line"),l=oo("icon-radio-group"),c=oo("i-radio"),u=oo("i-radio-group"),d=oo("foldable"),p=oo("i-slider");return go(),bo("div",Wm,[So(i),So(s,{modelValue:e.form.useIcibaCircle,"onUpdate:modelValue":t[1]||(t[1]=t=>e.form.useIcibaCircle=t),label:"显示小圆圈"},{default:$m(()=>[Km,Xm,Zm]),_:1},8,["modelValue"]),So(d,{fold:!e.form.useIcibaCircle},{default:$m(()=>[So(l,{class:"mt-6",modelValue:e.form.icibaCircleIcon,"onUpdate:modelValue":t[2]||(t[2]=t=>e.form.icibaCircleIcon=t),icons:e.icibaCircleIconOptions},{[e.defaultIconKey]:$m(()=>[Jm]),_:2},1032,["modelValue","icons"]),Qm,So(s,{modelValue:e.form.pressCtrlToShowCircle,"onUpdate:modelValue":t[3]||(t[3]=t=>e.form.pressCtrlToShowCircle=t),label:"仅按住 ctrl 时显示小圆圈"},{default:$m(()=>[eh,th,nh]),_:1},8,["modelValue"]),So(s,{modelValue:e.form.mouseOverTranslate,"onUpdate:modelValue":t[4]||(t[4]=t=>e.form.mouseOverTranslate=t),label:"hover 小圆圈自动点击",text:"鼠标移到小圆圈上自动点击并打开查词窗口"},null,8,["modelValue"]),So(s,{modelValue:e.form.icibaMainInputAutoFocus,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.icibaMainInputAutoFocus=t),label:"自动聚焦输入框",text:"点击小圆圈查词后,自动聚焦到输入框"},null,8,["modelValue"]),So(s,{modelValue:e.form.icibaCircleRightClick,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.icibaCircleRightClick=t),label:"右击小圆圈使用备选接口",text:"右击小圆圈,使用备选接口查词"},null,8,["modelValue"]),So(d,{fold:!e.form.icibaCircleRightClick},{default:$m(()=>[So("div",oh,[So("div",rh,[ah,(go(!0),bo(lo,null,la(e.providerOptions,e=>(go(),bo("div",{class:"option-item text-16 text-grey-600 mb-2",key:e.key},le(e.label),1))),128))]),So("div",ih,[sh,So(u,{class:"mt-0 flex-grow-0",modelValue:e.form.defaultProvider,"onUpdate:modelValue":t[7]||(t[7]=t=>e.form.defaultProvider=t)},{default:$m(()=>[(go(!0),bo(lo,null,la(e.providerOptions,e=>(go(),bo(c,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])]),So("div",lh,[ch,So(u,{class:"mt-0",modelValue:e.form.icibaCircleRightClickProvider,"onUpdate:modelValue":t[8]||(t[8]=t=>e.form.icibaCircleRightClickProvider=t)},{default:$m(()=>[(go(!0),bo(lo,null,la(e.providerOptions,e=>(go(),bo(c,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])])]),e.form.defaultProvider===e.form.icibaCircleRightClickProvider?(go(),bo("p",uh," 默认接口和备选接口请选择不同的选项 ")):Eo("v-if",!0),dh]),_:1},8,["fold"]),So(s,{modelValue:e.form.icibaCircleNoCJK,"onUpdate:modelValue":t[9]||(t[9]=t=>e.form.icibaCircleNoCJK=t),label:"非英语(拉丁)字符不显示小圆圈",text:"划去文字包含中文、日文、韩文等字符时不显示小圆圈"},null,8,["modelValue"])]),_:1},8,["fold"]),So(s,{modelValue:e.form.history,"onUpdate:modelValue":t[10]||(t[10]=t=>e.form.history=t),label:"显示历史记录按钮",text:"在设置按钮旁边显示历史查词记录按钮"},null,8,["modelValue"]),So(s,{modelValue:e.form.pressCtrlToDrag,"onUpdate:modelValue":t[11]||(t[11]=t=>e.form.pressCtrlToDrag=t),label:"按住 Ctrl 拖拽查词框",text:"按住 Ctrl 键可拖拽移动查词框位置"},null,8,["modelValue"]),So(s,{modelValue:e.form.showPin,"onUpdate:modelValue":t[12]||(t[12]=t=>e.form.showPin=t),label:"启用固定图钉",text:"显示固定图钉,可固定查词框使其不自动关闭"},null,8,["modelValue"]),So(d,{fold:!e.form.useIcibaCircle},{default:$m(()=>[So(s,{modelValue:e.form.selectionMaxLengthCut,"onUpdate:modelValue":t[13]||(t[13]=t=>e.form.selectionMaxLengthCut=t),label:"限制最大查词长度",text:"当选择文字超过长度时不显示小圆圈"},null,8,["modelValue"]),So(d,{fold:!e.form.selectionMaxLengthCut},{default:$m(()=>[So(p,{class:"mr-1 mt-2px self-stretch",step:10,min:50,max:500,modelValue:e.form.selectionMaxLength,"onUpdate:modelValue":t[14]||(t[14]=t=>e.form.selectionMaxLength=t)},null,8,["modelValue"]),So("p",ph," 最大查词长度: "+le(e.form.selectionMaxLength)+" (默认值: 150) ",1)]),_:1},8,["fold"]),So("div",fh,[So("div",vh,le(e.form.icibaCircleSize)+"px",1),So(p,{class:"flex-grow",min:10,max:30,step:1,modelValue:e.form.icibaCircleSize,"onUpdate:modelValue":t[15]||(t[15]=t=>e.form.icibaCircleSize=t),"thumb-label":""},null,8,["modelValue"])]),gh,So("div",mh,[So("div",hh,[So("div",bh,"x: "+le(e.form.icibaCircleOffsetX),1),So("div",yh,"y: "+le(e.form.icibaCircleOffsetY),1)]),So("div",xh,[So(p,{class:"flex-grow",min:0,max:30,modelValue:e.form.icibaCircleOffsetX,"onUpdate:modelValue":t[16]||(t[16]=t=>e.form.icibaCircleOffsetX=t),"thumb-label":""},null,8,["modelValue"]),So(p,{class:"flex-grow",min:0,max:30,modelValue:e.form.icibaCircleOffsetY,"onUpdate:modelValue":t[17]||(t[17]=t=>e.form.icibaCircleOffsetY=t),"thumb-label":""},null,8,["modelValue"])])]),wh]),_:1},8,["fold"]),So("div",_h,[So("div",kh,le(e.form.icibaMainWidth)+"px",1),So(p,{class:"flex-grow",min:200,max:500,step:10,modelValue:e.form.icibaMainWidth,"onUpdate:modelValue":t[18]||(t[18]=t=>e.form.icibaMainWidth=t),"thumb-label":""},null,8,["modelValue"])]),Sh])}));const Oh=ia({name:"GFoldable",props:{fold:{type:Boolean,default:!1},duration:{type:Number,default:300}},setup:e=>{const t={root:Jt(),wrapper:Jt()},n=Ht({height:e.fold?"0":"auto"});return Lr(()=>e.fold,()=>{e.fold?t.root.value&&t.wrapper.value&&(n.height="auto",t.root.value.animate([{height:t.wrapper.value.clientHeight+"px"},{height:"0"}],{duration:e.duration,easing:"cubic-bezier(0.4, 0, 0.2, 1)"}),n.height="0"):(()=>{if(!t.root.value||!t.wrapper.value)return;n.height="auto";const o=t.wrapper.value.clientHeight;n.height="0",t.root.value.animate([{height:"0px"},{height:o+"px"}],{duration:e.duration,easing:"cubic-bezier(0.4, 0, 0.2, 1)"}),n.height="auto"})()}),{props:e,refs:t,state:n}}});Oh.render=function(e,t,n,o,r,a){return go(),bo("div",{class:"w-full overflow-hidden",ref:e.refs.root,style:{height:e.state.height}},[So("div",{class:"flex-col",ref:e.refs.wrapper},[Kn(e.$slots,"default")],512)],4)};const Ch=Oh,Ah=to("data-v-6b4ed052");Qn("data-v-6b4ed052");const Eh={class:"icon-radio flex select-none"},Lh={key:1,class:"check-icon absolute rounded-full bg-white text-20"};eo();const Ih=Ah((function(e,t,n,o,r,a){const i=oo("i-icon");return go(),bo("div",Eh,[(go(!0),bo(lo,null,la(e.props.icons,t=>(go(),bo("div",{class:"icon-box flex relative p-2 flex-grow-0",key:t.key,onClick:n=>e.handleSelect(t.key)},[t.icon?(go(),bo(i,{key:0,size:"100%",svg:t.icon},null,8,["svg"])):Eo("v-if",!0),Kn(e.$slots,t.key),t.key===e.props.modelValue?(go(),bo("div",Lh,[So(i,{size:"20",svg:e.checkedIconSvg},null,8,["svg"])])):Eo("v-if",!0)],8,["onClick"]))),128))])})),Mh=ia({props:{modelValue:{type:String,required:!0},icons:{type:null,required:!0}},setup:(e,t)=>({props:e,handleSelect:e=>{t.emit("update:modelValue",e)},checkedIconSvg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 426.667 426.667"><path d="M213.333 0C95.518 0 0 95.514 0 213.333s95.518 213.333 213.333 213.333c117.828 0 213.333-95.514 213.333-213.333S331.157 0 213.333 0zm-39.134 322.918l-93.935-93.931 31.309-31.309 62.626 62.622 140.894-140.898 31.309 31.309-172.203 172.207z" fill="#80bf40"/></svg>\n'})});Mh.render=Ih,Mh.__scopeId="data-v-6b4ed052";const Uh=Mh,zh=to("data-v-be105b76");Qn("data-v-be105b76");const Rh={class:"mask-box absolute ease-in-out duration-200"},Nh={key:0,class:"icon-box absolute rounded-3px flex flex-center"},Dh={class:"text-14 text-grey-400 mt-6px mb-0"},Ph=Co(" 拖拽调整顺序,右键切换显示隐藏"),Vh=So("br",null,null,-1),Gh=Co(" 点击 ");eo();const jh=zh((function(e,t,n,o,r,a){const i=oo("i-icon");return go(),bo("div",{class:"icon-box-wrapper relative",ref:e.refs.container},[So(Ya,{class:"icon-box-container flex ease-linear",name:"icon",tag:"div"},{default:zh(()=>[(go(!0),bo(lo,null,la(e.state.list,n=>(go(),bo("div",{class:["icon-item relative select-none",{mask:n.mask}],style:{zIndex:n.z},onDragstart:t[1]||(t[1]=ti(()=>{},["prevent"])),onMousedown:ti(t=>e.handleDragStart(n),["left"]),onContextmenu:ti(t=>e.handleToggleVisibility(n.id),["right","prevent"]),key:n.id},[So(La,{name:"mask"},{default:zh(()=>[yr(So("div",Rh,null,512),[[ri,n.mask]])]),_:2},1024),(n.mask,go(),bo("div",Nh,[So(i,{class:["icon",{inactive:!e.isProviderVisible(n.id)}],size:"32",svg:n.icon},null,8,["class","svg"])]))],46,["onMousedown","onContextmenu"]))),128))]),_:1}),So("p",Dh,[Ph,Vh,Gh,So("span",{class:"cursor-pointer hover:text-grey-600 hover:underline",onClick:t[2]||(t[2]=(...t)=>e.handleReset(...t))}," 恢复默认排序 ")])],512)})),Bh=ia({name:"ProviderSort",setup:()=>{const e={container:Jt()},t=()=>{var e;return f()(e=Ou.config.core.providerOrder).call(e,e=>({id:e,icon:Zg(e),mask:!1,z:0}))},n=Ht({list:t()}),o={item:null,rects:[],cIndex:0},r=e=>{if(!o.item)return;const t=e.clientX,r=o.cIndex,i=o.rects;let s=0;for(;s<i.length;s+=1){if(s===r)continue;const e=i[s];if(s<r){if(e.right>t)break}else if(e.left>t)break}if(s>r&&(s-=1),s!==r){var l,c;const e=a()(l=n.list).call(l,r,1);a()(c=n.list).call(c,s,0,e[0]),o.cIndex=s}},i=()=>{var e;o.item&&(o.item.mask=!1,o.item=null,Ou.config.core.providerOrder=f()(e=n.list).call(e,e=>e.id))};return Yo(()=>{window.addEventListener("mousemove",r),window.addEventListener("mouseup",i)}),Ko(()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",i)}),{state:n,refs:e,handleDragStart:t=>{var r,a;t.mask=!0,o.item=t,P()(r=n.list).call(r,e=>{e.z=1}),t.z=3,(()=>{var t;e.container.value&&(o.rects=f()(t=vi()(e.container.value.firstElementChild.children)).call(t,e=>{const t=e.getBoundingClientRect();return{left:t.left+0*t.width*.5,right:t.right-0*t.width*.5,width:t.width}}))})(),o.cIndex=pi()(a=n.list).call(a,t)},handleToggleVisibility:e=>{Ou.config[e].display=!Ou.config[e].display},handleReset:()=>{Ou.config.core.providerOrder=[...Su.core.providerOrder],n.list=t()},isProviderVisible:e=>Ou.config[e].display}}});Bh.render=jh,Bh.__scopeId="data-v-be105b76";const Hh=Bh;var Fh;const Yh=f()(Fh=d()(lc)).call(Fh,([e,t])=>({icon:t,key:e})),qh=ia({name:"CoreSettings",props:{active:Boolean},components:{ProviderSort:Hh,IconRadioGroup:Uh,Foldable:Ch},setup:e=>{const t=Ht({keys:[],setKeys:[]}),n=Ou.config.core;let o=null;Lr(()=>[n.defaultProvider,n.icibaCircleRightClickProvider],(e,t)=>{o=t&&e[0]===e[1]?t:null});const r=()=>{e.active&&o&&(n.defaultProvider=o[0],n.icibaCircleRightClickProvider=o[1])},i=e=>e>="a"&&e<="z"?e.toUpperCase():e,s=e=>{var n;const o=i(e.key),r=pi()(n=Ss()(t)).call(n,o);var s;-1!==r&&a()(s=Ss()(t)).call(s,r,1)};Lr(()=>e.active,r),Ko(r);const l=aa(()=>{var e,n;const o=t.setKeys,r=h()(o).call(o,"Control"),a=h()(o).call(o,"Alt"),i=h()(o).call(o,"Shift");return _()(e=[r&&"Ctrl",a&&"Alt",i&&"Shift",...f()(n=_()(o).call(o,e=>{var t;return!h()(t=["Control","Alt","Shift"]).call(t,e)})).call(n,e=>e.toUpperCase())]).call(e,Boolean).join(" + ")});return Yo(()=>{window.addEventListener("keyup",s)}),Ko(()=>{window.removeEventListener("keyup",s)}),{state:t,input:l,form:n,defaultIconKey:sc.DEFAULT,icibaCircleIconOptions:Yh,providerOptions:Ql,handleKeyDown:e=>{var n;const o=i(e.key);G()(e)||h()(n=Ss()(t)).call(n,o)||Ss()(t).push(o),t.setKeys=[...Ss()(t)]},handleKeyUp:s}}});qh.render=Th,qh.__scopeId="data-v-3a3412e4";const $h=qh,Wh={class:"flex-col items-start"},Kh=So("p",{class:"text-14 text-grey-400 mb-0"}," 热键显示查词框 ",-1),Xh=So("p",{class:"text-14 text-grey-400 mt-8 mb-0"}," 快速查词热键(选中文本 或在输入框 快速查词) ",-1),Zh={class:""},Jh=Co(" 使用 快速查词热键后,自动聚焦到输入框 "),Qh=So("p",{class:"text-14 text-grey-400 mt-6 mb-0"}," tips: ",-1);const eb=ia({name:"HotKeySetting",props:{active:Boolean},components:{Foldable:Ch},setup:()=>({providerOptions:Ql,core:Ou.config.core,config:Ou.config})});eb.render=function(e,t,n,o,r,a){const i=oo("i-checkbox-line"),s=oo("i-hotkey-input"),l=oo("foldable"),c=oo("i-checkbox");return go(),bo("div",Wh,[So(i,{class:"mt-1",nomt:"",modelValue:e.core.useHotkeyShowUp,"onUpdate:modelValue":t[1]||(t[1]=t=>e.core.useHotkeyShowUp=t),label:"呼出查词框热键",text:""},null,8,["modelValue"]),So(l,{fold:!e.core.useHotkeyShowUp},{default:Xn(()=>[So(s,{class:"my-1",modelValue:e.core.showUpHotkey,"onUpdate:modelValue":t[2]||(t[2]=t=>e.core.showUpHotkey=t)},null,8,["modelValue"])]),_:1},8,["fold"]),Kh,So(l,{fold:!e.core.useHotkeyShowUp},{default:Xn(()=>[So(i,{modelValue:e.core.hotkeyIcibaMainInputAutoFocus,"onUpdate:modelValue":t[3]||(t[3]=t=>e.core.hotkeyIcibaMainInputAutoFocus=t),label:"呼出查词框时聚焦输入",text:"呼出查词框 后,聚焦到输入框"},null,8,["modelValue"])]),_:1},8,["fold"]),Xh,So("div",Zh,[(go(!0),bo(lo,null,la(e.providerOptions,t=>(go(),bo("div",{class:"mt-2",key:t.key},[So(c,{modelValue:e.config[t.key].enableHotkey,"onUpdate:modelValue":n=>e.config[t.key].enableHotkey=n,label:t.label},null,8,["modelValue","onUpdate:modelValue","label"]),So(l,{fold:!e.config[t.key].enableHotkey},{default:Xn(()=>[So(s,{class:"my-1",modelValue:e.config[t.key].hotkey,"onUpdate:modelValue":n=>e.config[t.key].hotkey=n},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["fold"])]))),128))]),So(i,{class:"mt-6",nomt:"",modelValue:e.core.providerHotkeyAutoFocus,"onUpdate:modelValue":t[4]||(t[4]=t=>e.core.providerHotkeyAutoFocus=t),label:"快速查词热键聚焦输入框"},{default:Xn(()=>[Jh]),_:1},8,["modelValue"]),Qh,(go(),bo(lo,null,la(["选中文字 按下热键查词。","或在输入框输入文字,按下热键使用对应的接口查词。","至少指定一种能打开查词框的方式(小圆圈或热键),否则你会无法打开查词框。","请避免使用和浏览器或操作系统产生冲突的热键。"],(e,t)=>So("p",{class:"text-14 text-grey-400 mt-1 mb-0",key:t},le(t+1)+". "+le(e),1)),64))])};const tb=eb,nb={class:"flex-col items-start"};const ob={class:"flex-col items-start"},rb=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 按钮图标 ",-1),ab={class:"text-14 text-grey-400 mb-0"};const ib=ia({name:"ProviderCommon",props:{icon:String,display:Boolean,enableHotkey:Boolean,hotkey:null,name:String,icons:null},components:{Foldable:Ch,IconRadioGroup:Uh},setup:(e,t)=>({props:e,handleUpdateIcon:e=>{t.emit("update:icon",e)},handleUpdateDisplay:e=>{t.emit("update:display",e)},handleUpdateEnableHotkey:e=>{t.emit("update:enableHotkey",e)},handleUpdateHotkey:e=>{t.emit("update:hotkey",e)}})});ib.render=function(e,t,n,o,r,a){const i=oo("icon-radio-group"),s=oo("i-checkbox-line"),l=oo("i-hotkey-input"),c=oo("foldable");return go(),bo("div",ob,[So(i,{"model-value":e.props.icon,"onUpdate:model-value":t[1]||(t[1]=t=>e.handleUpdateIcon(t)),icons:e.props.icons},null,8,["model-value","icons"]),rb,So(s,{"model-value":e.props.display,"onUpdate:model-value":t[2]||(t[2]=t=>e.handleUpdateDisplay(t)),label:"显示按钮",text:"输入框右侧显示按钮图标"},null,8,["model-value"]),So(s,{"model-value":e.props.enableHotkey,"onUpdate:model-value":t[3]||(t[3]=t=>e.handleUpdateEnableHotkey(t)),label:"启用热键翻译",text:""},null,8,["model-value"]),So(c,{fold:!e.props.enableHotkey},{default:Xn(()=>[So(l,{class:"my-1","model-value":e.props.hotkey,"onUpdate:model-value":t[4]||(t[4]=t=>e.handleUpdateHotkey(t))},null,8,["model-value"])]),_:1},8,["fold"]),So("p",ab," 选中文本后按下热键使用 "+le(e.props.name)+" 查词 ",1)])};const sb=ib;var lb;const cb=f()(lb=d()(yc[Zl.ICIBA])).call(lb,([e,t])=>({icon:t,key:e})),ub=ia({name:"IcibaSettings",components:{ProviderCommon:sb},setup:()=>({form:Ou.config[Zl.ICIBA],iconOptions:cb})});ub.render=function(e,t,n,o,r,a){const i=oo("provider-common");return go(),bo("div",nb,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"iciba",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"])])};const db=ub,pb={class:"flex-col items-start"},fb=Ao('<p class="text-14 text-grey-400 mt-1 mb-0"> 查词详细结果默认折叠状态 </p><p class="text-14 text-grey-400 mt-12 mb-0"> 如果你经常出现 request failed 0,这不是脚本出问题也不是网络问题。 </p><p class="text-14 text-grey-400 mt-1 mb-0"> google 的 api 会在查不到结果时返回 500,而 chrome 检测到 500 后会自动启动 ddos 防御,所有相同的请求会被拦截。 </p><p class="text-14 text-grey-400 mt-1 mb-0"> 添加 chrome 启动参数 --disable-extensions-http-throttling 可以关闭此功能。 </p><p class="text-14 text-grey-400 mt-1 mb-0"> 解决方案是,过一段时间再使用 google 字典,或者避免使用 google 字典查询查不到的单词。 </p>',5),vb=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[So("a",{href:"http://dev.chromium.org/throttling",_target:"blank"},"http://dev.chromium.org/throttling")],-1);var gb,mb;const hb=f()(gb=[oc.UNFOLD,oc.FOLD_SUBSENSE,oc.FOLD_EXAMPLES,oc.FOLD_THESAURUS]).call(gb,e=>({label:ic[e],key:e})),bb=f()(mb=d()(yc[Zl.GOOGLE_DICT])).call(mb,([e,t])=>({icon:t,key:e})),yb=ia({name:"GoogleDictSettings",components:{ProviderCommon:sb},setup:()=>({form:Ou.config[Zl.GOOGLE_DICT],iconOptions:bb,foldOptions:hb})});yb.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-radio"),l=oo("i-radio-group");return go(),bo("div",pb,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"google字典",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So(l,{class:"mt-6",modelValue:e.form.foldStatus,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.foldStatus=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.foldOptions,e=>(go(),bo(s,{key:e.key,label:e.label,value:e.key},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),fb,vb])};const xb=yb,wb={class:"flex-col items-start"},_b=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" google翻译接口域名。 "),So("br"),Co(" translate.google.cn 在国内大部分区域可直接访问 ")],-1),kb={class:"flex mt-6 pt-1"},Sb={class:"flex-col items-start flex-grow-0 pr-12"},Tb=So("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),Ob={class:"flex-col items-center flex-grow-0"},Cb=So("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),Ab={class:"flex-col items-center flex-grow-0"},Eb=So("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),Lb={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Ib=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" 首选语言:默认翻译到的语言 "),So("br"),Co(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1),Mb=So("p",{class:"text-14 text-grey-400 mt-6 mb-0"}," ps:当出现 response with status code 503 时,有可能是触发了验证码。请手动打开google翻译点击验证码。 ",-1);var Ub;const zb=f()(Ub=d()(yc[Zl.GOOGLE_TRANSLATE])).call(Ub,([e,t])=>({icon:t,key:e})),Rb=[{label:nc[tc.GOOGLE_COM],key:tc.GOOGLE_COM},{label:nc[tc.GOOGLE_CN],key:tc.GOOGLE_CN}],Nb=ia({name:"GoogleTranslateSettings",props:{active:Boolean},components:{ProviderCommon:sb},setup:e=>{const t=Ou.config[Zl.GOOGLE_TRANSLATE];let n=null;Lr(()=>[t.targetLanguage,t.secondTargetLanguage],(e,t)=>{n=t&&e[0]===e[1]?t:null});const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return Lr(()=>e.active,o),Ko(o),{form:t,iconOptions:zb,hostOptions:Rb,languageOptions:zc}}});Nb.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-radio"),l=oo("i-radio-group");return go(),bo("div",wb,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"google翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So(l,{class:"mt-6",modelValue:e.form.translateHost,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.translateHost=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.hostOptions,e=>(go(),bo(s,{key:e.key,label:e.label,value:e.key},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),_b,So("div",kb,[So("div",Sb,[Tb,(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},le(e.text),1))),128))]),So("div",Ob,[Cb,So(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.targetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])]),So("div",Ab,[Eb,So(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[7]||(t[7]=t=>e.form.secondTargetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(go(),bo("p",Lb," 首选语言和备选语言请选择不同的选项 ")):Eo("v-if",!0),Ib,Mb])};const Db=Nb,Pb={class:"flex-col items-start"},Vb={class:"flex mt-6 pt-1"},Gb={class:"flex-col items-start flex-grow-0 pr-12"},jb=So("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),Bb={class:"flex-col items-center flex-grow-0"},Hb=So("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),Fb={class:"flex-col items-center flex-grow-0"},Yb=So("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),qb={key:0,class:"text-14 text-red-500 mt-2 mb-0"},$b=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" 首选语言:默认翻译到的语言 "),So("br"),Co(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);var Wb;const Kb=f()(Wb=d()(yc[Zl.BAIDU_TRANSLATE])).call(Wb,([e,t])=>({icon:t,key:e})),Xb=ia({name:"BaiduTranslateSettings",props:{active:Boolean},components:{ProviderCommon:sb},setup:e=>{const t=Ou.config[Zl.BAIDU_TRANSLATE];let n=null;Lr(()=>[t.targetLanguage,t.secondTargetLanguage],(e,t)=>{n=t&&e[0]===e[1]?t:null});const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return Lr(()=>e.active,o),Ko(o),{iconOptions:Kb,form:t,languageOptions:Fc}}});Xb.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-radio"),l=oo("i-radio-group");return go(),bo("div",Pb,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"百度翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So("div",Vb,[So("div",Gb,[jb,(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},le(e.text),1))),128))]),So("div",Bb,[Hb,So(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])]),So("div",Fb,[Yb,So(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(go(),bo("p",qb," 首选语言和备选语言请选择不同的选项 ")):Eo("v-if",!0),$b])};const Zb=Xb,Jb={class:"flex-col items-start"},Qb={class:"flex mt-6 pt-1"},ey={class:"flex-col items-start flex-grow-0 pr-12"},ty=So("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),ny={class:"flex-col items-center flex-grow-0"},oy=So("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),ry={class:"flex-col items-center flex-grow-0"},ay=So("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),iy={key:0,class:"text-14 text-red-500 mt-2 mb-0"},sy=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" 首选语言:默认翻译到的语言 "),So("br"),Co(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);var ly;const cy=f()(ly=d()(yc[Zl.SOUGOU_TRANSLATE])).call(ly,([e,t])=>({icon:t,key:e})),uy=ia({name:"SougouTranslateSettings",props:{active:Boolean},components:{ProviderCommon:sb},setup:e=>{const t=Ou.config[Zl.SOUGOU_TRANSLATE];let n=null;Lr(()=>[t.targetLanguage,t.secondTargetLanguage],(e,t)=>{n=t&&e[0]===e[1]?t:null});const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return Lr(()=>e.active,o),Ko(o),{form:t,iconOptions:cy,languageOptions:Qc}}});uy.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-radio"),l=oo("i-radio-group");return go(),bo("div",Jb,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"搜狗翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So("div",Qb,[So("div",ey,[ty,(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},le(e.text),1))),128))]),So("div",ny,[oy,So(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])]),So("div",ry,[ay,So(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(go(),bo("p",iy," 首选语言和备选语言请选择不同的选项 ")):Eo("v-if",!0),sy])};const dy=uy,py={class:"flex-col items-start"};var fy;const vy=f()(fy=d()(yc[Zl.URBAN_DICTIONARY])).call(fy,([e,t])=>({icon:t,key:e})),gy=ia({name:"UrbanDictionarySettings",components:{ProviderCommon:sb},setup:()=>({form:Ou.config[Zl.URBAN_DICTIONARY],iconOptions:vy})});gy.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-checkbox-line");return go(),bo("div",py,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"urban dictionary",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So(s,{modelValue:e.form.display,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.display=t),label:"显示按钮",text:"在查词框右侧显示按钮"},null,8,["modelValue"])])};const my=gy,hy={class:"flex-col items-start"},by={class:"flex mt-6 pt-1"},yy={class:"flex-col items-start flex-grow-0 pr-12"},xy=So("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),wy={class:"flex-col items-center flex-grow-0"},_y=So("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),ky={class:"flex-col items-center flex-grow-0"},Sy=So("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),Ty={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Oy=So("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[Co(" 首选语言:默认翻译到的语言 "),So("br"),Co(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);var Cy;const Ay=f()(Cy=d()(yc[Zl.BING_TRANSLATE])).call(Cy,([e,t])=>({icon:t,key:e})),Ey=ia({name:"BingTranslateSettings",props:{active:Boolean},components:{ProviderCommon:sb},setup:e=>{const t=Ou.config[Zl.BING_TRANSLATE];let n=null;Lr(()=>[t.targetLanguage,t.secondTargetLanguage],(e,t)=>{n=t&&e[0]===e[1]?t:null});const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return Lr(()=>e.active,o),Ko(o),{form:t,iconOptions:Ay,languageOptions:fu}}});Ey.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-radio"),l=oo("i-radio-group");return go(),bo("div",hy,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"bing翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So("div",by,[So("div",yy,[xy,(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},le(e.text),1))),128))]),So("div",wy,[_y,So(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])]),So("div",ky,[Sy,So(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:Xn(()=>[(go(!0),bo(lo,null,la(e.languageOptions,e=>(go(),bo(s,{key:e.key,label:"",value:e.key},null,8,["value"]))),128))]),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(go(),bo("p",Ty," 首选语言和备选语言请选择不同的选项 ")):Eo("v-if",!0),Oy])};const Ly=Ey,Iy={class:"flex-col items-start"};var My;const Uy=f()(My=d()(yc[Zl.VOCABULARY])).call(My,([e,t])=>({icon:t,key:e})),zy=ia({name:"VocabularySettings",components:{ProviderCommon:sb},setup:()=>({form:Ou.config[Zl.VOCABULARY],iconOptions:Uy})});zy.render=function(e,t,n,o,r,a){const i=oo("provider-common"),s=oo("i-checkbox-line");return go(),bo("div",Iy,[So(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"vocabulary.com",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),So(s,{modelValue:e.form.display,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.display=t),label:"显示按钮",text:"在查词框右侧显示按钮"},null,8,["modelValue"])])};const Ry=ia({name:"SettingPage",components:{ITabs:Mm,ITab:Rm,ITabsItems:Nm,ITabItem:Dm,ModalComponent:Bm,About:qm,CoreSetting:$h,HotKey:tb,Iciba:db,GoogleDict:xb,GoogleTranslate:Db,BaiduTranslate:Zb,SougouTranslate:dy,UrbanDictionary:my,BingTranslate:Ly,Vocabulary:zy},setup:()=>({state:Ht({tab:1}),visible:aa(()=>om.state.setting),handleCloseSetting:()=>{om.closeSettings()}})});Ry.render=Lm,Ry.__scopeId="data-v-26ec9275";const Ny=Ry,Dy=to("data-v-6b9c327f");Qn("data-v-6b9c327f");const Py={class:"history-window flex-col bg-white shadow-8"},Vy=So("div",{class:"px-4 py-3 border-b border-grey-300 font-medium"}," 查词历史记录 ",-1),Gy={class:"flex-col flex-1"},jy={key:0,class:"px-4 py-4 text-grey-400 text-14"},By={key:1,class:"pt-2"},Hy={class:"flex items-center flex-1 w-0"},Fy={class:"text-grey-500 w-6 flex-none"},Yy={class:"flex items-center text-gray-800 text-16 mt-2px truncate"},qy={class:"bg-grey-200 group-hover:bg-grey-300 px-2 rounded-4 truncate leading-relaxed"},$y={class:"flex items-center flex-none text-grey-400 text-14 ml-1"},Wy={class:"ml-2"},Ky={class:"ml-2"},Xy=So("div",{class:"flex-1 w-full"},null,-1),Zy={class:"text-grey-400 text-14 p-4"},Jy=Co(" 这里保存了最近的50条查词记录。 "),Qy=So("div",null," 10分钟内相同的记录会合并为一条。 ",-1),ex={key:0},tx={key:0},nx={key:1},ox=Co(" 确定要清空历史记录? ");eo();const rx=Dy((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("Scrollable"),l=oo("modal-component");return go(),bo(l,{open:e.visible,onClose:e.handleClose},{default:Dy(()=>[So("div",Py,[Vy,So(s,{class:"flex-1 h-0"},{default:Dy(({scrollBar:n})=>[So("div",Gy,[e.list.length?Eo("v-if",!0):(go(),bo("div",jy," 暂无查词历史记录 ")),e.list.length?(go(),bo("div",By)):Eo("v-if",!0),(go(!0),bo(lo,null,la(e.list,(t,o)=>(go(),bo("div",{class:["group flex justify-between items-center mx-2 my-px px-3 py-1 rounded-6 hover:bg-grey-100",{"mr-4":n}],key:o},[So("div",Hy,[So("div",Fy,le(o+1)+". ",1),So("div",{class:"hover:bg-grey-300 p-2 rounded-4 mr-2 ml-1 cursor-pointer",onClick:n=>e.handleItemClick(n,t)},[So(i,{class:"flex-none",svg:e.getIcon(t.provider),size:24},null,8,["svg"])],8,["onClick"]),So("div",Yy,[So("span",qy,le(t.word),1)])]),So("div",$y,[So("div",Wy,le(e.PROVIDER_MAP[t.provider]),1),So("div",Ky,[So("span",{title:e.formatTimeFull(t.time)},le(e.formatTime(t.time)),9,["title"])])])],2))),128)),Xy,So("div",Zy,[So("div",null,[Jy,So("button",{class:"outline-none text-primary hover:underline",onClick:t[1]||(t[1]=(...t)=>e.handleExport(...t))}," 导出到控制台 ")]),Qy,e.list.length?(go(),bo("div",ex,[e.state.showClearConfirm?Eo("v-if",!0):(go(),bo("div",tx,[So("button",{class:"outline-none text-primary hover:underline",onClick:t[2]||(t[2]=(...t)=>e.handleClear(...t))}," 清空历史记录 ")])),e.state.showClearConfirm?(go(),bo("div",nx,[ox,So("button",{class:"outline-none text-primary hover:underline",onClick:t[3]||(t[3]=(...t)=>e.handleClearCancel(...t))}," 取消 "),So("button",{class:"outline-none text-primary hover:underline ml-2",onClick:t[4]||(t[4]=(...t)=>e.handleClearConfirm(...t))}," 确定 ")])):Eo("v-if",!0)])):Eo("v-if",!0)])])]),_:1})])]),_:1},8,["open","onClose"])})),ax=to("data-v-22ad7e37");Qn("data-v-22ad7e37");const ix={key:0,class:"toast-box fixed flex flex-center text-white ease-in-out duration-300"};eo();const sx=ax((function(e,t,n,o,r,a){return go(),bo(La,{name:"t"},{default:ax(()=>[e.state.visible?(go(),bo("div",ix,le(e.props.text),1)):Eo("v-if",!0)]),_:1})})),lx=ia({props:{text:{type:String,default:""},timeout:{type:Number,default:3e3},destroy:{type:Function,required:!0}},setup:e=>{const t=Ht({visible:!1});return Yo(()=>{t.visible=!0,A()(()=>{t.visible=!1,A()(()=>{e.destroy()},3e3)},e.timeout)}),{state:t,props:e}}});lx.render=sx,lx.__scopeId="data-v-22ad7e37";const cx=lx,ux=Cu(),dx=Ht({toasts:[]}),px=cx;(()=>{const e=ia({setup:()=>()=>{var e;return So("div",{class:"toast-container"},[f()(e=dx.toasts).call(e,e=>So(px,{key:e.id,text:e.text,timeout:e.timeout,destroy:e.destroy},null))])}}),n=ci({render:()=>sa(e)}),o=document.createElement("div");n.mount(o),t.appendChild(o)})();const fx=(e,t)=>{var n;const o="string"==typeof e?null!=t?t:3e3:null!==(n=e.timeout)&&void 0!==n?n:3e3,r="string"==typeof e?e:e.text,i={id:ux(),timeout:o,text:r,destroy:()=>{var e,t;const n=pi()(e=dx.toasts).call(e,i);a()(t=dx.toasts).call(t,n,1)}};dx.toasts.push(i)},vx=ia({name:"HistoryModal",components:{ModalComponent:Bm,Scrollable:Ed},setup:()=>{const e=Ht({showClearConfirm:!1}),t=(e,t,n)=>{const o=String(e),r=o.length-n;return r<=0?o:`${G()(t).call(t,r)}${o}`},n=e=>{const n=new Date(e);return`${n.getFullYear()}-${n.getMonth()+1}-${n.getDay()} ${t(n.getHours(),"0",2)}:${t(n.getMinutes(),"0",2)}`};Lr(()=>om.state.history,()=>Hg.loadHistory());const o=aa(()=>Hg.state.list),r=aa(()=>om.state.history);return{PROVIDER_MAP:Jl,state:e,visible:r,list:o,getIcon:Zg,handleClose:()=>{om.closeHistory()},handleExport:async()=>{await Hg.loadHistory(),console.log(z()(Hg.state.list,null,2)),fx({text:"已导出到控制台(F12查看)"})},handleItemClick:(e,t)=>{El.emit({type:Al.TRANSLATE,mouseEvent:e,word:t.word,param:{provider:t.provider}})},handleClear:()=>{e.showClearConfirm=!0},handleClearCancel:()=>{e.showClearConfirm=!1},handleClearConfirm:()=>{e.showClearConfirm=!1,Hg.clearHistory()},formatTime:e=>{const t=s()()-e;return t<6e4?Math.floor(t/1e3)+" 秒前":t<36e5?Math.floor(t/1e3/60)+" 分钟前":t<864e5?Math.floor(t/1e3/60/60)+" 小时前":n(e)},formatTimeFull:n}}});vx.render=rx,vx.__scopeId="data-v-6b9c327f";const gx=vx,mx=to("data-v-ea3555cc");Qn("data-v-ea3555cc");const hx={class:"google-dict-modal flex-col relative shadow-16"},bx={class:"fold-control flex absolute select-none z-20 shadow-2 opacity-75 hover:opacity-100 duration-200 ease-in-out bg-bg-5"},yx=So("div",{class:"tooltip"}," less ",-1),xx=So("div",{class:"split border-l border-grey-400"},null,-1),wx=So("div",{class:"tooltip"}," more ",-1),_x={class:"modal-box flex-col flex-1 h-0 relative text-14 bg-white"},kx={key:0,class:"dictionary-data-box flex-col items-stretch"},Sx={key:0,class:"entry-box flex-col items-stretch"};eo();const Tx=mx((function(e,t,n,o,r,a){const i=oo("i-icon"),s=oo("entry"),l=oo("usage-overtime"),c=oo("scrollable"),u=oo("modal-component");return go(),bo(u,{open:e.visible,onClose:e.handleCloseModal},{default:mx(()=>[So("div",hx,[So("div",bx,[So("div",{class:[{disable:!e.shrinkable},"control-btn flex flex-center relative"],onClick:t[1]||(t[1]=(...t)=>e.handleShrink(...t))},[So(i,{size:"20",svg:e.icon.minus},null,8,["svg"]),yx],2),xx,So("div",{class:[{disable:!e.expandable},"control-btn flex flex-center"],onClick:t[2]||(t[2]=(...t)=>e.handleExpand(...t))},[So(i,{size:"20",svg:e.icon.plus},null,8,["svg"]),wx],2)]),So("div",_x,[So(c,{class:"flex-1 h-0"},{default:mx(({scrollBar:t})=>[So("div",{class:["content-box px-5 pt-5 pb-7",{"pr-5":!t,"pr-7":t}]},[e.state.containerData&&e.state.containerData.length?(go(),bo("div",kx,[(go(!0),bo(lo,null,la(e.state.containerData,t=>(go(),bo("div",{class:"dictionary-data-item",key:e.state.id+t.queryTerm},[Eo(" entry "),Eo(' <div class="entry-box flex-col items-stretch" v-if="false"> '),t.entries&&t.entries.length?(go(),bo("div",Sx,[(go(!0),bo(lo,null,la(t.entries,(e,t)=>(go(),bo(s,{class:{"mt-5":0!==t},entry:e,key:e.entrySeqNo},null,8,["class","entry"]))),128))])):Eo("v-if",!0),Eo(" usage over time "),t.usageOverTimeImage?(go(),bo(l,{key:1,image:t.usageOverTimeImage,term:t.queryTerm},null,8,["image","term"])):Eo("v-if",!0)]))),128))])):Eo("v-if",!0),Eo(' {{#hasWebDefinitions}}\n              <div class="section-name">Web definitions</div>\n              {{#webDefinitions}}\n              <div>\n                <div>{{definition}}</div>\n                <div><a href="{{sourceUrl}}">{{sourceUrl}}</a></div>\n              </div>\n              {{/webDefinitions}}\n              {{/hasWebDefinitions}} ')],2)]),_:1})])])]),_:1},8,["open","onClose"])})),Ox=to("data-v-c0604a02");Qn("data-v-c0604a02");const Cx={key:0,class:"placeholder text-grey-400 font-mono"};eo();const Ax=Ox((function(e,t,n,o,r,a){return go(),bo("div",{class:["image-loader flex justify-center items-center",{loading:!e.state.data}],style:{height:Number(e.props.height)/2+"px",width:Number(e.props.width)/2+"px"}},[e.state.data?Eo("v-if",!0):(go(),bo("span",Cx," loading.... ")),e.state.data?(go(),bo("img",{key:1,style:{height:Number(e.props.height)/2+"px",width:Number(e.props.width)/2+"px"},src:e.state.data},null,12,["src"])):Eo("v-if",!0)],6)})),Ex=ia({name:"GImageLoader",props:{url:{type:String,required:!0},height:{type:[Number,String],required:!0},width:{type:[Number,String],required:!0}},setup:e=>{const t=Ht({data:""}),n=()=>{e.url&&(t.data="",(async e=>{try{const n=(await ql({method:"GET",headers:{Accept:"*/*","Accept-Encoding":"gzip, deflate, br","Accept-Language":"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1","User-Agent":window.navigator.userAgent},responseType:"blob",url:e,timeout:5e3})).response,o=new FileReader;o.readAsDataURL(n),o.onloadend=()=>{t.data=o.result.replace("data:;base64,","data:image/png;base64,")}}catch(e){return M().reject(e)}M().resolve()})(e.url))};return Yo(()=>{n()}),Lr(()=>e.url,()=>{n()}),{props:e,state:t}}});Ex.render=Ax,Ex.__scopeId="data-v-c0604a02";const Lx=Ex,Ix={key:0,class:"usage-overtime mt-4 pt-4 flex-col items-stretch border-t border-grey-400"},Mx={class:"usage-title text-grey-500 text-18"},Ux=Co(" Use over time for "),zx={class:"bg-grey-500 text-white px-1"};const Rx=ia({name:"GUsageOvertime",components:{imageLoader:Lx},props:{image:{type:null,required:!0},term:{type:String,required:!0}},setup:e=>({m:e.image})});Rx.render=function(e,t,n,o,r,a){const i=oo("image-loader");return e.m?(go(),bo("div",Ix,[So("div",Mx,[Ux,So("span",zx,le(e.term),1)]),So("div",{class:"usage-img-wrapper mt-2 overflow-hidden",style:{height:e.m.tablet.height/2+"px",width:e.m.tablet.width/2+"px"}},[So(i,{height:e.m.tablet.height,width:e.m.tablet.width,url:"https://www.gstatic.com/onebox/dictionary/"+e.m.tablet.url},null,8,["height","width","url"])],4)])):Eo("v-if",!0)};const Nx=Rx,Dx={class:"entry-item"},Px={key:0,class:"sub-entry-lemma"},Vx={key:1,class:"triggering-phrases text-grey-400"},Gx={class:"headword flex flex-wrap items-center"},jx={key:0,class:"headword-graph-index text-14 ml-2px"},Bx={key:2,class:"sub-sense-list mt-1 flex-col items-stretch"},Hx={key:3,class:"sense-family-box flex-col items-stretch"},Fx={key:0,class:"poss italic"},Yx={key:1,class:"sense-family-label-set-box mb-1"},qx={key:3,class:"sense-list flex-col items-stretch mt-2px"},$x={key:4,class:"sub-entry-box"};const Wx={key:0,class:"label-set-box text-0 inline"};const Kx=to("data-v-7e84838f");Qn("data-v-7e84838f");const Xx=So("span",{class:"label-split",innerHTML:" "},null,-1),Zx={key:0,class:"tooltip rounded-5 absolute text-white select-none ease-in-out"},Jx=So("span",{class:"label-split text-0",innerHTML:" "},null,-1);eo();const Qx=Kx((function(e,t,n,o,r,a){return e.labels&&e.labels.length?(go(),bo("div",{key:0,class:["label-box inline text-0",[e.colorClass,e.sizeClass]]},[(go(!0),bo(lo,null,la(e.props.labels,(t,n)=>(go(),bo(lo,{key:n},[So("div",{class:["label relative inline-flex text-grey-700",[e.labelClass,n===e.labels.length-1?"last":""]],onMouseover:n=>e.shopTip(t),onMouseleave:n=>e.hideTip(t)},[Co(le(t)+" ",1),Xx,So(La,{name:"p"},{default:Kx(()=>[e.state.tipMap[t]?(go(),bo("div",Zx,le(e.type),1)):Eo("v-if",!0)]),_:2},1024)],42,["onMouseover","onMouseleave"]),Jx],64))),128))],2)):Eo("v-if",!0)})),ew=ia({name:"GLabels",props:{labels:{type:Array,required:!0},type:{type:String,default:"default"},color:{type:String,default:"plain"},size:{type:String,default:"medium"}},setup:e=>{const t=e,n=Ht({tipMap:{}}),o=aa(()=>t.type+"-label"),r=aa(()=>"color-"+t.color),a=aa(()=>"size-"+t.size);return Lr(()=>t.labels,()=>{var e;n.tipMap=bi()(f()(e=t.labels).call(e,e=>[e,n.tipMap[e]||!1]))},{immediate:!0}),{state:n,props:t,labelClass:o,colorClass:r,sizeClass:a,shopTip:e=>{n.tipMap[e]=!0},hideTip:e=>{n.tipMap[e]=!1}}}});ew.render=Qx,ew.__scopeId="data-v-7e84838f";const tw=ew,nw=ia({name:"GLabelSet",components:{labels:tw},props:{labelSet:{type:null,required:!0},size:{type:String,default:"medium"},color:{type:String,default:""}},setup:e=>{const t=aa(()=>{const t=e.labelSet;if(!t)return!1;const n=B()(t);return n.length&&x()(n).call(n,e=>null==e?void 0:e.length)});return{props:e,isValid:t}}});nw.render=function(e,t,n,o,r,a){const i=oo("labels");return e.isValid?(go(),bo("div",Wx,[(go(!0),bo(lo,null,la(Object.keys(e.props.labelSet),t=>(go(),bo(i,{key:t,size:e.props.size,class:"inner-label-box mr-5px",labels:e.props.labelSet[t],type:t,color:e.props.color||t},null,8,["size","labels","type","color"]))),128))])):Eo("v-if",!0)};const ow=nw,rw={key:0,class:"etymology-box mt-4 pt-4 flex-col items-stretch border-t border-grey-400"},aw=So("div",{class:"etymology-title text-grey-500 text-18"},"Origin",-1),iw={key:0,class:"etymology-img-box mt-2"},sw={class:"etymology-text mt-2 text-grey-500"};const lw=ia({name:"GEtymology",components:{fragment:xp,imageLoader:Lx},props:{etymology:{type:null,required:!0}},setup:e=>({props:e})});lw.render=function(e,t,n,o,r,a){const i=oo("image-loader"),s=oo("fragment");return e.props.etymology?(go(),bo("div",rw,[aw,e.props.etymology.images?(go(),bo("div",iw,[So(i,{height:e.props.etymology.images.tablet.height,width:e.props.etymology.images.tablet.width,url:"https://www.gstatic.com/onebox/dictionary/"+e.props.etymology.images.tablet.url},null,8,["height","width","url"])])):Eo("v-if",!0),So("div",sw,[So(s,{class:"etymology-frag",fragment:e.props.etymology.etymology.fragments},null,8,["fragment"])])])):Eo("v-if",!0)};const cw=lw,uw={key:0,class:"dict-note my-2 flex-col items-stretch"},dw={class:"note-type-box flex mb-3px"};const pw=ia({name:"GNote",components:{labels:tw},props:{note:{type:null,required:!0}},setup:e=>({props:e})});pw.render=function(e,t,n,o,r,a){const i=oo("labels");return go(),bo(lo,null,[Eo(" note "),e.props.note?(go(),bo("div",uw,[So("div",dw,[So(i,{class:"note-label-box",color:"plain",size:"large",labels:[e.props.note.type],type:"note"},null,8,["labels"])]),So("div",{class:"note-text text-12 inline text-grey-500",innerHTML:e.props.note.text},null,8,["innerHTML"])])):Eo("v-if",!0)],64)};const fw=pw,vw=to("data-v-b981c738");Qn("data-v-b981c738");const gw={class:"sense-item flex"},mw={class:"sense-item-number text-right font-bold"},hw={class:"sense-item-box flex-col flex-auto items-stretch"},bw={class:"definition-box flex-auto flex-col items-stretch"},yw={class:"difinition"},xw={class:"sense-labels inline"},ww={key:0,class:"subsense-box"},_w={class:"subsense-number pr-2 text-grey-600"},kw={class:"subsense-item-container flex-col flex-auto items-stretch"},Sw={class:"subsense-definition"},Tw=So("span",{class:"split text-0"}," ",-1),Ow={key:0,class:"subsense-labels inline"};eo();const Cw=vw((function(e,t,n,o,r,a){const i=oo("label-set"),s=oo("fragment"),l=oo("labels"),c=oo("example-groups"),u=oo("thesaurus"),d=oo("etymology"),p=oo("foldable");return go(),bo("div",gw,[So("div",mw,le(e.index+1)+". ",1),So("div",hw,[Eo(" difinition "),So("div",bw,[So("div",yw,[Eo(" labelSet "),So(i,{class:"sense-item-label",size:"medium","label-set":e.s.labelSet},null,8,["label-set"]),So(s,{class:"difinition-text sense-frag",fragment:e.s.definition.fragments},null,8,["fragment"]),So("div",xw,[Eo(" domain class "),e.s.domainClasses&&e.s.domainClasses.length?(go(),bo(l,{key:0,class:"ml-5px",color:"lightpink",size:"small",labels:e.s.domainClasses,type:"domain"},null,8,["labels"])):Eo("v-if",!0),Eo(" semantic class "),e.s.semanticClasses&&e.s.semanticClasses.length?(go(),bo(l,{key:1,class:"ml-5px",color:"lightblue",size:"small",labels:e.s.semanticClasses,type:"semantic"},null,8,["labels"])):Eo("v-if",!0)])]),Eo(" example groups "),So(c,{"example-groups":e.combinedGroups},null,8,["example-groups"]),Eo(" thesaurus "),So(u,{"thesaurus-entries":e.s.thesaurusEntries},null,8,["thesaurus-entries"]),Eo(" subsense "),e.s.subsenses&&e.s.subsenses.length?(go(),bo(p,{key:0,fold:e.subSenseFolded},{default:vw(()=>[e.s.subsenses&&e.s.subsenses.length?(go(),bo("div",ww,[(go(!0),bo(lo,null,la(e.sense.subsenses,(e,t)=>(go(),bo("div",{class:"subsense-item flex mt-2px",key:t},[So("div",_w,le(t+1)+") ",1),So("div",kw,[Eo(" definition "),So("div",Sw,[Eo(" label "),So(i,{class:"subsense-definition-label",size:"medium","label-set":e.labelSet},null,8,["label-set"]),Tw,So(s,{class:"subsense-frag",fragment:e.definition.fragments},null,8,["fragment"]),Eo(" etymology "),So(d,{etymology:e.etymology},null,8,["etymology"]),e.domainClasses&&e.domainClasses.length&&e.semanticClasses&&e.semanticClasses.length?(go(),bo("div",Ow,[Eo(" domain class "),e.domainClasses&&e.domainClasses.length?(go(),bo(l,{key:0,class:"ml-5px",color:"lightpink",size:"small",labels:e.domainClasses,type:"domain"},null,8,["labels"])):Eo("v-if",!0),Eo(" semantic class "),e.semanticClasses&&e.semanticClasses.length?(go(),bo(l,{key:1,class:"ml-5px",color:"lightblue",size:"small",labels:e.semanticClasses,type:"semantic"},null,8,["labels"])):Eo("v-if",!0)])):Eo("v-if",!0)]),Eo(" example groups "),So(c,{"example-groups":e.exampleGroups},null,8,["example-groups"]),Eo(" thesaurus "),So(u,{"thesaurus-entries":e.thesaurusEntries},null,8,["thesaurus-entries"])])]))),128))])):Eo("v-if",!0)]),_:1},8,["fold"])):Eo("v-if",!0)]),Eo(" etymology "),So(d,{etymology:e.s.etymology},null,8,["etymology"]),Eo(" note "),Eo(" here could have note. but do not render at end of sense ")])])})),Aw=to("data-v-180d12bc");Qn("data-v-180d12bc");const Ew={class:"thesaurus-box flex-col items-start"},Lw={key:0,class:"show-more-or-less inline cursor-pointer select-none"},Iw=Co(" [less] "),Mw=Co(" [more] "),Uw={class:"thesaurus-box ml-4"};eo();const zw=Aw((function(e,t,n,o,r,a){const i=oo("ThesaurusRow"),s=oo("foldable");return go(),bo(lo,null,[Eo(" thesaurus "),So(s,{fold:e.folded},{default:Aw(()=>[So("div",Ew,[Eo(' <div\n        class="example-box"\n        :key="i"\n        v-if="item.examples"\n      >\n        <div\n          class="example-item mt-1px flex"\n          v-for="(example, eIndex) in item.examples"\n          :key="eIndex"\n        >\n          <div\n            class="example-text flex-auto text-grey-500"\n            v-html="`${addQoute(example)}`"\n          />\n        </div>\n      </div> '),(go(),bo(lo,null,la(["synonyms","antonyms"],t=>(go(),bo(lo,null,[e.combined[t].length?(go(),bo("div",{class:"thesaurus-syn-ant",key:t},[So("div",null,[So("span",{class:{["type-"+t]:!0,"cursor-pointer":e.combined[t].length>1},onClick:n=>e.handleToggleMoreOrLess(e.combined[t])},[Co(le(t)+" ",1),e.combined[t].length>1?(go(),bo("span",Lw,[e.getShowMoreExpanded(e.combined[t])?(go(),bo(lo,{key:0},[Iw],64)):Eo("v-if",!0),e.getShowMoreExpanded(e.combined[t])?Eo("v-if",!0):(go(),bo(lo,{key:1},[Mw],64))])):Eo("v-if",!0)],10,["onClick"])]),So("div",Uw,[So(i,{class:"mt-1px",index:0,item:e.combined[t][0]},null,8,["item"]),e.combined[t].length>1?(go(),bo(s,{key:0,fold:!e.getShowMoreExpanded(e.combined[t])},{default:Aw(()=>[(go(!0),bo(lo,null,la(e.combined[t].slice(1),(e,t)=>(go(),bo(i,{class:"mt-1px",key:t,index:t+1,item:e},null,8,["index","item"]))),128))]),_:2},1032,["fold"])):Eo("v-if",!0)])])):Eo("v-if",!0)],64))),64))])]),_:1},8,["fold"])],64)})),Rw={class:"thesaurus-row flex"},Nw={class:"tw-index text-grey-500 mr-1"},Dw={key:0,class:"nym-split inline pr-3px"};const Pw=ia({name:"GThesaurusRow",components:{Labels:tw,Foldable:Ch},props:{item:{type:null,required:!0},index:{type:Number,required:!0}},setup:e=>({props:e,handleNymClick:(e,t)=>{t.numEntries&&El.emit({type:Al.TRANSLATE,word:t.nym,param:{provider:Zl.GOOGLE_DICT},mouseEvent:e})}})});Pw.render=function(e,t,n,o,r,a){const i=oo("labels");return go(),bo("div",Rw,[So("div",Nw,le(e.props.index+1)+". ",1),So("div",null,[e.props.item.register?(go(),bo(i,{key:0,class:"nym-register mr-1",type:"register",size:"small",labels:[e.props.item.register]},null,8,["labels"])):Eo("v-if",!0),(go(!0),bo(lo,null,la(e.props.item.nyms,(t,n)=>(go(),bo("div",{class:["nym-item inline-flex text-grey-400",{"is-core":t.isCore}],key:n},[So("div",{onClick:n=>e.handleNymClick(n,t),class:[{"entry-link":t.numEntries},"nym-content inline"]},le(t.nym),11,["onClick"]),n!==e.props.item.nyms.length-1?(go(),bo("div",Dw," , ")):Eo("v-if",!0)],2))),128))])])};const Vw=ia({name:"GThesaurus",components:{Labels:tw,Foldable:Ch,ThesaurusRow:Pw},props:{thesaurusEntries:{type:null,default:()=>[]}},setup:e=>{const t=Ht({showMoreSet:[]});Lr(()=>e.thesaurusEntries,()=>{t.showMoreSet=[]},{immediate:!0});const n=aa(()=>{var t,n,o,r,a,i;return{synonyms:_s()(t=_()(n=f()(o=e.thesaurusEntries).call(o,e=>e.synonyms)).call(n,Boolean)).call(t,e=>e),antonyms:_s()(r=_()(a=f()(i=e.thesaurusEntries).call(i,e=>e.antonyms)).call(a,Boolean)).call(r,e=>e)}}),o=aa(()=>Ou.config[Zl.GOOGLE_DICT].foldStatus>=oc.FOLD_THESAURUS);return{t:e.thesaurusEntries,state:t,combined:n,folded:o,addQoute:e=>`"${e}"`,handleToggleMoreOrLess:e=>{var n;const o=pi()(n=t.showMoreSet).call(n,e);var r;-1===o?t.showMoreSet.push(e):a()(r=t.showMoreSet).call(r,o,1)},getShowMoreExpanded:e=>{var n;return h()(n=t.showMoreSet).call(n,e)}}}});Vw.render=zw,Vw.__scopeId="data-v-180d12bc";const Gw=Vw,jw={key:0,class:"example-group-box flex-col items-stretch"},Bw={key:0,class:"example-item-box flex-col items-stretch"};const Hw=ia({name:"GExampleGroups",components:{labels:tw,Foldable:Ch},props:{exampleGroups:{type:null,required:!0}},setup:e=>({props:e,folded:aa(()=>Ou.config[Zl.GOOGLE_DICT].foldStatus>=oc.FOLD_EXAMPLES)})});Hw.render=function(e,t,n,o,r,a){const i=oo("labels"),s=oo("foldable");return go(),bo(lo,null,[Eo(" example group "),So(s,{fold:e.folded},{default:Xn(()=>[e.props.exampleGroups&&e.props.exampleGroups.length?(go(),bo("div",jw,[(go(!0),bo(lo,null,la(e.props.exampleGroups,(e,t)=>(go(),bo("div",{class:"example-group-item flex-col items-stretch",key:t},[e.examples&&e.examples.length?(go(),bo("div",Bw,[(go(!0),bo(lo,null,la(e.examples,(t,n)=>(go(),bo("div",{class:"example-item text-grey-500",key:n},[Eo(" labels "),Eo(" display labels for every example line "),e.registers&&e.registers.length?(go(),bo(i,{key:0,class:"mr-1",color:"registers",labels:e.registers},null,8,["labels"])):Eo("v-if",!0),So("span",{innerHTML:`"${t}"`},null,8,["innerHTML"])]))),128))])):Eo("v-if",!0)]))),128))])):Eo("v-if",!0)]),_:1},8,["fold"])],64)};const Fw=ia({name:"GSenseItem",components:{labels:tw,labelSet:ow,thesaurus:Gw,fragment:xp,etymology:cw,exampleGroups:Hw,Foldable:Ch},props:{sense:{type:null,required:!0},index:{type:Number,required:!0}},setup:e=>{const t=aa(()=>{var t,n,o,r,a;const i=e.sense.exampleGroups,s=e.sense.thesaurusEntries,l=null!=i?i:[],c=f()(t=_()(n=f()(o=_()(r=f()(a=null!=s?s:[]).call(a,e=>e.examples)).call(r,Boolean)).call(o,e=>_()(e).call(e,e=>!N()(l).call(l,t=>{var n;return!t.registers&&h()(n=t.examples).call(n,e)})))).call(n,e=>e.length)).call(t,e=>({examples:e}));return[...l,...c]}),n=aa(()=>Ou.config[Zl.GOOGLE_DICT].foldStatus>=oc.FOLD_SUBSENSE);return{s:e.sense,combinedGroups:t,subSenseFolded:n,store:Ou}}});Fw.render=Cw,Fw.__scopeId="data-v-b981c738";const Yw=Fw,qw={class:"morph-units-box"},$w={class:"morph-units-description inline"},Ww={class:"morph-units-word-form font-bold inline"},Kw=So("div",{class:"morph-units-split inline"},"; ",-1);const Xw=ia({name:"GMorphUnits",props:{morphUnits:{type:null,required:!0}},setup:e=>({props:e})});Xw.render=function(e,t,n,o,r,a){return go(),bo("div",qw,[(go(!0),bo(lo,null,la(e.props.morphUnits,(e,t)=>(go(),bo("div",{class:"morph-units-item inline text-grey-500",title:e.formType.posTag,key:t},[So("div",$w,le(e.formType.description)+" ",1),So("div",Ww,le(e.wordForm),1),Kw],8,["title"]))),128))])};const Zw=ia({name:"GEntry",components:{labels:tw,labelSet:ow,phonetics:hp,etymology:cw,note:fw,senseItem:Yw,morphUnit:Xw},props:{entry:{type:null,required:!0},isSubentry:{type:Boolean,required:!0}},setup:e=>({e:e.entry,isSub:!!e.isSubentry})});Zw.render=function(e,t,n,o,r,a){const i=oo("labels"),s=oo("label-set"),l=oo("phonetics"),c=oo("note"),u=oo("sense-item"),d=oo("morph-unit"),p=oo("etymology"),f=oo("g-entry");return go(),bo(lo,null,[Eo(" entry item "),So("div",Dx,[Eo(" sub-entry-lemma "),e.isSub?(go(),bo("div",Px,[Co(le(e.e.lemma)+" ",1),So(i,{class:"entry-type-label-box",color:"plain",size:"medium",labels:[e.e.type],type:"entry-type"},null,8,["labels"])])):Eo("v-if",!0),Eo(" sub-entry-triggeringPhrases "),e.e.triggeringPhrases?(go(),bo("div",Vx,[(go(!0),bo(lo,null,la(e.e.triggeringPhrases,(t,n)=>(go(),bo("span",{class:"t-phrase-item",key:n},le(t)+le(n!==e.e.triggeringPhrases.length-1?",":""),1))),128))])):Eo("v-if",!0),Eo(" headword "),So("div",Gx,[So("div",{class:"headword-word text-28",title:e.e.locale},le(e.e.syllabifiedHeadword||e.e.headword),9,["title"]),e.e.homographIndex?(go(),bo("div",jx,le(e.e.homographIndex),1)):Eo("v-if",!0),e.e.labelSet?(go(),bo(s,{key:1,class:"entry-label-set ml-2",size:"large","label-set":e.e.labelSet},null,8,["label-set"])):Eo("v-if",!0)]),Eo(" phonetics "),So(l,{class:"phonetics-box mb-1",phonetics:e.e.phonetics},null,8,["phonetics"]),Eo(" labelSet "),Eo(' <div class="entry-label-set-box mt-5px mb-3px" v-if="e.labelSet">\n      <label-set\n        class="entry-label-set"\n        size="large"\n        :label-set="e.labelSet"\n      />\n    </div> '),Eo(" note "),So(c,{note:e.e.note},null,8,["note"]),Eo(" sub-sense-list "),e.isSub&&e.e.senseFamily&&e.e.senseFamily.senses&&e.e.senseFamily.senses.length?(go(),bo("div",Bx,[Eo(" senseFamily labelSet "),So(s,{class:"sense-item-label",size:"medium","label-set":e.e.senseFamily.labelSet},null,8,["label-set"]),(go(!0),bo(lo,null,la(e.e.senseFamily.senses,(e,t)=>(go(),bo(u,{class:["sense-item",{"mt-2":0!==t}],sense:e,index:t,key:t},null,8,["class","sense","index"]))),128))])):Eo("v-if",!0),Eo(" sense-family "),!e.isSub&&e.e.senseFamilies&&e.e.senseFamilies.length?(go(),bo("div",Hx,[(go(!0),bo(lo,null,la(e.e.senseFamilies,(e,t)=>(go(),bo("div",{class:["sense-family-item flex-col items-stretch",{"mt-4":0!==t}],key:t},[Eo(" note "),So(c,{note:e.note},null,8,["note"]),Eo(" poss "),e.partsOfSpeechs&&e.partsOfSpeechs.length?(go(),bo("div",Fx,[(go(!0),bo(lo,null,la(e.partsOfSpeechs,(e,t)=>(go(),bo("div",{class:["pos flex flex-wrap font-bold",{"mt-5px":0!==t}],title:e.qualifier,key:e.value+t},le(e.value),11,["title"]))),128))])):Eo("v-if",!0),Eo(" phonetics "),So(l,{class:"phonetics-box",phonetics:e.phonetics},null,8,["phonetics"]),Eo(" labelSet "),e.labelSet?(go(),bo("div",Yx,[So(s,{class:"sense-family-label-set",size:"medium","label-set":e.labelSet},null,8,["label-set"])])):Eo("v-if",!0),Eo(" morph-units "),e.morphUnits&&e.morphUnits.length?(go(),bo(d,{key:2,"morph-units":e.morphUnits},null,8,["morph-units"])):Eo("v-if",!0),Eo(" sense-list "),e.senses&&e.senses.length?(go(),bo("div",qx,[(go(!0),bo(lo,null,la(e.senses,(e,t)=>(go(),bo(u,{class:"sense-item",sense:e,index:t,key:t},null,8,["sense","index"]))),128))])):Eo("v-if",!0)],2))),128))])):Eo("v-if",!0),Eo(" etymology "),So(p,{etymology:e.e.etymology},null,8,["etymology"]),Eo(" sub entries "),e.e.subentries&&e.e.subentries.length?(go(),bo("div",$x,[(go(!0),bo(lo,null,la(e.e.subentries,(e,t)=>(go(),bo(f,{class:"sub-entry",entry:e,"is-subentry":!0,key:t},null,8,["entry"]))),128))])):Eo("v-if",!0)])],64)};const Jw={minus:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill="none" stroke="#777" stroke-width="30" stroke-linecap="round" stroke-miterlimit="10" d="M74 247h353"/></svg>\n',plus:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill="none" stroke="#777" stroke-width="30" stroke-linecap="round" stroke-miterlimit="10" d="M74 247h353M251 427V74"/></svg>\n'},Qw=ia({name:"GoogleDictModal",components:{ImageLoader:Lx,UsageOvertime:Nx,Entry:Zw,Scrollable:Ed,ModalComponent:Bm},setup:()=>{const e=Ht({containerData:null,id:0}),t=t=>{e.containerData=$l(t.googleDictData),e.id+=1,xn(()=>{om.openGoogleDictModal()})};Yo(()=>{El.on({event:Al.OPEN_GOOGLE_DICT_MODAL,listener:t})});const n=aa(()=>om.state.googleDictModal),o=aa(()=>Ou.config[Zl.GOOGLE_DICT].foldStatus<oc.FOLD_SUBSENSE),r=aa(()=>Ou.config[Zl.GOOGLE_DICT].foldStatus>oc.UNFOLD);return{state:e,visible:n,icon:Jw,shrinkable:o,expandable:r,handleCloseModal:()=>{om.closeGoogleDictModal()},handleShrink:()=>{const e=Ou.config[Zl.GOOGLE_DICT].foldStatus;Ou.config[Zl.GOOGLE_DICT].foldStatus=rc[e]},handleExpand:()=>{const e=Ou.config[Zl.GOOGLE_DICT].foldStatus;Ou.config[Zl.GOOGLE_DICT].foldStatus=ac[e]}}}});Qw.render=Tx,Qw.__scopeId="data-v-ea3555cc";const e_=Qw,t_=e=>e>="a"&&e<="z"?e.toUpperCase():e,n_=new(ol()),o_=[];let r_;const a_=()=>{o_.length=0},i_=[["keydown",e=>{const t=t_(e.key);var n;G()(e)||h()(o_).call(o_,t)||(o_.push(t),r_&&P()(n=vi()(n_)).call(n,t=>t([...o_],r_,()=>e.stopPropagation())))}],["keyup",e=>{const t=t_(e.key);h()(o_).call(o_,t)&&a()(o_).call(o_,pi()(o_).call(o_,t),1)}],["blur",a_],["focus",a_],["mousemove",e=>{r_=e}]];P()(i_).call(i_,e=>{window.addEventListener(e[0],e[1],!0)});const s_=(e,t)=>e.length===t.length&&O()(e).call(e,e=>h()(t).call(t,e)),l_=e=>{n_.add(e)},c_=e=>{n_.delete(e)},u_=s_,d_=e=>{const t=Ou.config,n=N()(ec).call(ec,n=>{const o=t[n];return o.enableHotkey&&s_(e,o.hotkey)});return null!=n?n:null},p_=ia({name:"IcibaAppRoot",components:{IcibaMain:(f_=sm,v_=[Al.TRANSLATE,Al.HOTKEY_SHOW,Al.HOTKEY_TRANSLATE],ia({name:"LazyLoadHoc"+(f_.name?"_"+f_.name:""),setup:(e,t)=>{const n=Ht({load:!1});return Yo(()=>{const e=X()(v_)?v_:[v_],t=o=>{n.load||(n.load=!0,P()(e).call(e,e=>{El.off({event:e,listener:t})}),xn(()=>{El.emit(o)}))};P()(e).call(e,e=>{El.on({event:e,listener:t})})}),()=>n.load&&sa(f_,{props:t.attrs})}})),IcibaCircle:fm,HistoryModal:gx,SettingPage:Ny,GoogleDictModal:e_},setup:()=>{const e={icibaCircle:Jt()};let t=null,n=null;const o=e=>{t=e},r=e=>{n=e},a=(e,o,r)=>{((e,t)=>{if(!Ou.config.core.useHotkeyShowUp)return;u_(Ou.config.core.showUpHotkey,e)&&n&&(t(),El.emit({type:Al.HOTKEY_SHOW,mouseEvent:n}))})(e,r),((e,n)=>{var o,r,a;const i=null!==(o=null===(r=window.getSelection())||void 0===r?void 0:c()(a=r.toString()).call(a))&&void 0!==o?o:"";if(!t)return;const s=d_(e);if(s){const e=t;Wg.removeSelection(),n(),El.emit({type:Al.HIDE_CIRCLE}),El.emit({type:Al.HOTKEY_TRANSLATE,word:i,mouseEvent:e,provider:s})}})(e,r)};return Yo(()=>{window.addEventListener("mouseup",o,!0),window.addEventListener("mousemove",r,!0),Lr(()=>Ou.config.core.useHotkeyShowUp,e=>{e?l_(a):c_(a)},{immediate:!0}),((e,t)=>{GM_registerMenuCommand&&GM_registerMenuCommand(e,t)})("打开iciba划词翻译设置",()=>{El.emit({type:Al.OPEN_SETTING})}),Cd()}),{refs:e}}});var f_,v_;p_.render=Ol,p_.__scopeId="data-v-a11345ba";const g_=p_;(async()=>{await Ou.loadConfig();const e=document.createElement("style");e.innerHTML=".iciba-root{all:initial}",document.head.appendChild(e);const n=ci({render:()=>sa(g_)});n.directive("ripple",Gs),n.directive("no-overscroll",Fs),n.component("i-checkbox-line",tl),n.component("i-checkbox",Js),n.component("i-radio-group",rl),n.component("i-radio",dl),n.component("i-slider",hl),n.component("i-hotkey-input",wl),n.component("i-icon",kl);const o=document.createElement("div");t.appendChild(o),n.mount(o)})()})()})();
}