@skyservice-developers/vue-dev-kit 1.5.9 → 1.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pe={exports:{}};(function(e,r){(function(s,l){var v="1.0.41",_="",C="?",g="function",m="undefined",x="object",R="string",D="major",t="model",a="name",i="type",o="vendor",n="version",E="architecture",z="console",c="mobile",u="tablet",y="smarttv",k="wearable",N="embedded",ee=500,X="Amazon",I="Apple",we="ASUS",be="BlackBerry",H="Browser",K="Chrome",Ve="Edge",G="Firefox",W="Google",fe="Honor",me="Huawei",Fe="Lenovo",Y="LG",te="Microsoft",ie="Motorola",oe="Nvidia",ve="OnePlus",L="Opera",se="OPPO",V="Samsung",_e="Sharp",F="Sony",ae="Xiaomi",ne="Zebra",ge="Facebook",ye="Chromium OS",ke="Mac OS",xe=" Browser",Ue=function(h,w){var p={};for(var f in h)w[f]&&w[f].length%2===0?p[f]=w[f].concat(h[f]):p[f]=h[f];return p},Z=function(h){for(var w={},p=0;p<h.length;p++)w[h[p].toUpperCase()]=h[p];return w},Se=function(h,w){return typeof h===R?U(w).indexOf(U(h))!==-1:!1},U=function(h){return h.toLowerCase()},qe=function(h){return typeof h===R?h.replace(/[^\d\.]/g,_).split(".")[0]:l},re=function(h,w){if(typeof h===R)return h=h.replace(/^\s\s*/,_),typeof w===m?h:h.substring(0,ee)},q=function(h,w){for(var p=0,f,M,O,b,d,T;p<w.length&&!d;){var le=w[p],Oe=w[p+1];for(f=M=0;f<le.length&&!d&&le[f];)if(d=le[f++].exec(h),d)for(O=0;O<Oe.length;O++)T=d[++M],b=Oe[O],typeof b===x&&b.length>0?b.length===2?typeof b[1]==g?this[b[0]]=b[1].call(this,T):this[b[0]]=b[1]:b.length===3?typeof b[1]===g&&!(b[1].exec&&b[1].test)?this[b[0]]=T?b[1].call(this,T,b[2]):l:this[b[0]]=T?T.replace(b[1],b[2]):l:b.length===4&&(this[b[0]]=T?b[3].call(this,T.replace(b[1],b[2])):l):this[b]=T||l;p+=2}},j=function(h,w){for(var p in w)if(typeof w[p]===x&&w[p].length>0){for(var f=0;f<w[p].length;f++)if(Se(w[p][f],h))return p===C?l:p}else if(Se(w[p],h))return p===C?l:p;return w.hasOwnProperty("*")?w["*"]:h},je={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ce={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ee={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[a,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,n],[/opios[\/ ]+([\w\.]+)/i],[n,[a,L+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,L+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[a,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[n,[a,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a,n],[/quark(?:pc)?\/([-\w\.]+)/i],[n,[a,"Quark"]],[/\bddg\/([\w\.]+)/i],[n,[a,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[a,"UC"+H]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[a,"Smart Lenovo "+H]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+H],n],[/\bfocus\/([\w\.]+)/i],[n,[a,G+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+xe]],[/fxios\/([\w\.-]+)/i],[n,[a,G]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+xe],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,V+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[n,[a,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,"Sogou Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a,n],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[a],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[n,a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,ge],n],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[a,n],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[a,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[a,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[a,K+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,K+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android "+H]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,n],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[n,[a,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[n,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[n,j,je]],[/(webkit|khtml)\/([\w\.]+)/i],[a,n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],n],[/(wolvic|librewolf)\/([\w\.]+)/i],[a,n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[a,G+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a,[n,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[a,[n,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[E,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[E,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[E,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[E,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[E,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[E,/ower/,_,U]],[/ sun4\w[;\)]/i],[[E,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[E,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[t,[o,V],[i,u]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[t,[o,V],[i,c]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[t,[o,I],[i,c]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[t,[o,I],[i,u]],[/(macintosh);/i],[t,[o,I]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[t,[o,_e],[i,c]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[t,[o,fe],[i,u]],[/honor([-\w ]+)[;\)]/i],[t,[o,fe],[i,c]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[t,[o,me],[i,u]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[t,[o,me],[i,c]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[t,/_/g," "],[o,ae],[i,u]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[t,/_/g," "],[o,ae],[i,c]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[t,[o,se],[i,c]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[t,[o,j,{OnePlus:["304","403","203"],"*":se}],[i,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[t,[o,"Vivo"],[i,c]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[t,[o,"Realme"],[i,c]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[t,[o,ie],[i,c]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[t,[o,ie],[i,u]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[t,[o,Y],[i,u]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[t,[o,Y],[i,c]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[t,[o,Fe],[i,u]],[/(nokia) (t[12][01])/i],[o,t,[i,u]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[t,/_/g," "],[i,c],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[t,[o,W],[i,u]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[t,[o,W],[i,c]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[t,[o,F],[i,c]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[t,"Xperia Tablet"],[o,F],[i,u]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[t,[o,ve],[i,c]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[t,[o,X],[i,u]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[t,/(.+)/g,"Fire Phone $1"],[o,X],[i,c]],[/(playbook);[-\w\),; ]+(rim)/i],[t,o,[i,u]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[t,[o,be],[i,c]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[t,[o,we],[i,u]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[t,[o,we],[i,c]],[/(nexus 9)/i],[t,[o,"HTC"],[i,u]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[t,/_/g," "],[i,c]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[t,[o,"TCL"],[i,u]],[/(itel) ((\w+))/i],[[o,U],t,[i,j,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[t,[o,"Acer"],[i,u]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[t,[o,"Meizu"],[i,c]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[t,[o,"Ulefone"],[i,c]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[t,[o,"Energizer"],[i,c]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[t,[o,"Cat"],[i,c]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[t,[o,"Smartfren"],[i,c]],[/droid.+; (a(?:015|06[35]|142p?))/i],[t,[o,"Nothing"],[i,c]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[t,[o,"Archos"],[i,u]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[t,[o,"Archos"],[i,c]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,t,[i,u]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,t,[i,c]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,t,[i,u]],[/(surface duo)/i],[t,[o,te],[i,u]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[t,[o,"Fairphone"],[i,c]],[/(u304aa)/i],[t,[o,"AT&T"],[i,c]],[/\bsie-(\w*)/i],[t,[o,"Siemens"],[i,c]],[/\b(rct\w+) b/i],[t,[o,"RCA"],[i,u]],[/\b(venue[\d ]{2,7}) b/i],[t,[o,"Dell"],[i,u]],[/\b(q(?:mv|ta)\w+) b/i],[t,[o,"Verizon"],[i,u]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[t,[o,"Barnes & Noble"],[i,u]],[/\b(tm\d{3}\w+) b/i],[t,[o,"NuVision"],[i,u]],[/\b(k88) b/i],[t,[o,"ZTE"],[i,u]],[/\b(nx\d{3}j) b/i],[t,[o,"ZTE"],[i,c]],[/\b(gen\d{3}) b.+49h/i],[t,[o,"Swiss"],[i,c]],[/\b(zur\d{3}) b/i],[t,[o,"Swiss"],[i,u]],[/\b((zeki)?tb.*\b) b/i],[t,[o,"Zeki"],[i,u]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],t,[i,u]],[/\b(ns-?\w{0,9}) b/i],[t,[o,"Insignia"],[i,u]],[/\b((nxa|next)-?\w{0,9}) b/i],[t,[o,"NextBook"],[i,u]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],t,[i,c]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],t,[i,c]],[/\b(ph-1) /i],[t,[o,"Essential"],[i,c]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[t,[o,"Envizen"],[i,u]],[/\b(trio[-\w\. ]+) b/i],[t,[o,"MachSpeed"],[i,u]],[/\btu_(1491) b/i],[t,[o,"Rotor"],[i,u]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[t,[o,oe],[i,u]],[/(sprint) (\w+)/i],[o,t,[i,c]],[/(kin\.[onetw]{3})/i],[[t,/\./g," "],[o,te],[i,c]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[t,[o,ne],[i,u]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[t,[o,ne],[i,c]],[/smart-tv.+(samsung)/i],[o,[i,y]],[/hbbtv.+maple;(\d+)/i],[[t,/^/,"SmartTV"],[o,V],[i,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,Y],[i,y]],[/(apple) ?tv/i],[o,[t,I+" TV"],[i,y]],[/crkey/i],[[t,K+"cast"],[o,W],[i,y]],[/droid.+aft(\w+)( bui|\))/i],[t,[o,X],[i,y]],[/(shield \w+ tv)/i],[t,[o,oe],[i,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[t,[o,_e],[i,y]],[/(bravia[\w ]+)( bui|\))/i],[t,[o,F],[i,y]],[/(mi(tv|box)-?\w+) bui/i],[t,[o,ae],[i,y]],[/Hbbtv.*(technisat) (.*);/i],[o,t,[i,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,re],[t,re],[i,y]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[t,[i,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,t,[i,z]],[/droid.+; (shield)( bui|\))/i],[t,[o,oe],[i,z]],[/(playstation \w+)/i],[t,[o,F],[i,z]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[t,[o,te],[i,z]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[t,[o,V],[i,k]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,t,[i,k]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[t,[o,se],[i,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[t,[o,I],[i,k]],[/(opwwe\d{3})/i],[t,[o,ve],[i,k]],[/(moto 360)/i],[t,[o,ie],[i,k]],[/(smartwatch 3)/i],[t,[o,F],[i,k]],[/(g watch r)/i],[t,[o,Y],[i,k]],[/droid.+; (wt63?0{2,3})\)/i],[t,[o,ne],[i,k]],[/droid.+; (glass) \d/i],[t,[o,W],[i,k]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,t,[i,k]],[/; (quest( \d| pro)?)/i],[t,[o,ge],[i,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[i,N]],[/(aeobc)\b/i],[t,[o,X],[i,N]],[/(homepod).+mac os/i],[t,[o,I],[i,N]],[/windows iot/i],[[i,N]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[t,[i,c]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[t,[i,u]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,u]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,c]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[t,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,Ve+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[a,n],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[a,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a,n],[/ladybird\//i],[[a,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,n],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a,[n,j,Ce]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,j,Ce],[a,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,ke],[n,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,a],[/(ubuntu) ([\w\.]+) like android/i],[[a,/(.+)/,"$1 Touch"],n],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[a,n],[/\(bb(10);/i],[n,[a,be]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,G+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[a,"watchOS"]],[/crkey\/([\d\.]+)/i],[n,[a,K+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,ye],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a,n],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,n]]},S=function(h,w){if(typeof h===x&&(w=h,h=l),!(this instanceof S))return new S(h,w).getResult();var p=typeof s!==m&&s.navigator?s.navigator:l,f=h||(p&&p.userAgent?p.userAgent:_),M=p&&p.userAgentData?p.userAgentData:l,O=w?Ue(Ee,w):Ee,b=p&&p.userAgent==f;return this.getBrowser=function(){var d={};return d[a]=l,d[n]=l,q.call(d,f,O.browser),d[D]=qe(d[n]),b&&p&&p.brave&&typeof p.brave.isBrave==g&&(d[a]="Brave"),d},this.getCPU=function(){var d={};return d[E]=l,q.call(d,f,O.cpu),d},this.getDevice=function(){var d={};return d[o]=l,d[t]=l,d[i]=l,q.call(d,f,O.device),b&&!d[i]&&M&&M.mobile&&(d[i]=c),b&&d[t]=="Macintosh"&&p&&typeof p.standalone!==m&&p.maxTouchPoints&&p.maxTouchPoints>2&&(d[t]="iPad",d[i]=u),d},this.getEngine=function(){var d={};return d[a]=l,d[n]=l,q.call(d,f,O.engine),d},this.getOS=function(){var d={};return d[a]=l,d[n]=l,q.call(d,f,O.os),b&&!d[a]&&M&&M.platform&&M.platform!="Unknown"&&(d[a]=M.platform.replace(/chrome os/i,ye).replace(/macos/i,ke)),d},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return f},this.setUA=function(d){return f=typeof d===R&&d.length>ee?re(d,ee):d,this},this.setUA(f),this};S.VERSION=v,S.BROWSER=Z([a,n,D]),S.CPU=Z([E]),S.DEVICE=Z([t,o,i,z,c,y,u,k,N]),S.ENGINE=S.OS=Z([a,n]),e.exports&&(r=e.exports=S),r.UAParser=S;var P=typeof s!==m&&(s.jQuery||s.Zepto);if(P&&!P.ua){var Q=new S;P.ua=Q.getResult(),P.ua.get=function(){return Q.getUA()},P.ua.set=function(h){Q.setUA(h);var w=Q.getResult();for(var p in w)P.ua[p]=w[p]}}})(typeof window=="object"?window:Xe)})(pe,pe.exports);var Ke=pe.exports;const Ge=He(Ke);function De(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var e=Ge(navigator.userAgent);if(e.browser.name==="WebKit")return"ios_webview"}catch(r){console.error(r)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function ze(){return De()==="ios_webview"}function Ne(){return De()==="android_webview"}function B(){try{return window.self!==window.top}catch{return!0}}const We=3e3;let Ye=0,J=null;function Ze(){return`req_${++Ye}_${Date.now()}`}function Qe(){return"APP_"+Math.random().toString(36).slice(2,10)}function Je(e){J=e}function he(){return J||(J=Qe()),J}function A(e){B()&&window.parent.postMessage({...e,sender:he(),target:e.target||"DASHBOARD"},"*")}function et(e,r){return B()?new Promise(s=>{const l=Ze(),v=setTimeout(()=>{window.removeEventListener("message",_),s(null)},We);function _(C){const g=C.data;(g==null?void 0:g.type)==="DATA_RESPONSE"&&(g==null?void 0:g.requestId)===l&&(!g.target||g.target===he())&&(clearTimeout(v),window.removeEventListener("message",_),s(g.data??null))}window.addEventListener("message",_),A({type:"DATA_REQUEST",requestId:l,source:e,key:r})}):Promise.resolve(null)}function de(e){return et("localStorage",e)}var tt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("header",{staticClass:"sky-header-container"},[s("div",{staticClass:"topmenubox"},[s("div",{staticClass:"header-left"},[e.shouldShowBackButton?s("button",{staticClass:"btn-back",attrs:{title:e.backButtonTitle},on:{click:e.handleBack}},[s("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]):e._e(),s("div",{ref:"dropdownRef",staticClass:"titleAndDesc"},[s("button",{staticClass:"title-dropdown-toggle",class:{"title-dropdown-toggle-active":e.sortedItems.length},on:{click:e.toggleDropdown}},[e._t("title",function(){return[s("h4",{staticClass:"notPadding"},[s("span",{staticClass:"topmenu-title"},[e._v(e._s(e.title))]),e.sortedItems.length?s("svg",{staticClass:"arrow",class:{open:e.isDropdownOpen},staticStyle:{"flex-shrink":"0"},attrs:{width:"12",height:"12",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})]):e._e()])]})],2),e.isDropdownOpen&&e.sortedItems.length?s("div",{staticClass:"title-dropdown"},[s("div",{staticClass:"title-dropdown-header"},[e._v(e._s(e.dropdownTitle))]),s("div",{staticClass:"title-dropdown-divider"}),e._l(e.sortedItems,function(l,v){return s("div",{key:v,staticClass:"title-dropdown-item",on:{click:function(_){return e.selectItem(l)}}},[s("p",{staticClass:"pageName"},[e._v(e._s(e.capitalize(l.name)))]),s("small",{staticClass:"pageVisit"},[e._v(" ("+e._s(e.visitLabel)+" "+e._s(e.getTimeAgo(l.lastVisit))+") ")])])})],2):e._e(),e._t("subtitle",function(){return[e.subtitle?s("p",{staticClass:"topmenu-description"},[e._v(e._s(e.subtitle))]):e._e()]})],2)]),s("div",{staticClass:"topmenubox-button"},[s("div"),e._t("default"),s("div")],2)])])},it=[];function $(e,r,s,l,v,_,C,g){var m=typeof e=="function"?e.options:e;r&&(m.render=r,m.staticRenderFns=s,m._compiled=!0),l&&(m.functional=!0),_&&(m._scopeId="data-v-"+_);var x;if(C?(x=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),v&&v.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(C)},m._ssrRegister=x):v&&(x=g?function(){v.call(this,(m.functional?this.parent:this).$root.$options.shadowRoot)}:v),x)if(m.functional){m._injectStyles=x;var R=m.render;m.render=function(a,i){return x.call(i),R(a,i)}}else{var D=m.beforeCreate;m.beforeCreate=D?[].concat(D,x):[x]}return{exports:e,options:m}}const ot={name:"Header",props:{title:{type:String,default:""},subtitle:{type:String,default:""},showBackButton:{type:Boolean,default:!0},backButtonTitle:{type:String,default:"Назад"},backEvent:{type:Function,default:null},dropdownItems:{type:Array,default:()=>[]},dropdownTitle:{type:String,default:"Останні відвідані розділи"},visitLabel:{type:String,default:"Останнє відвідування"},trackPageName:{type:String,default:""},trackPagePath:{type:String,default:""},appId:{type:String,default:""}},data(){return{isDropdownOpen:!1,previousRocketMode:null,localStorageItems:[]}},computed:{sortedItems(){return[...this.dropdownItems.length?this.dropdownItems:this.localStorageItems].sort((r,s)=>s.lastVisit-r.lastVisit)},shouldShowBackButton(){return this.backEvent||this.showBackButton&&B()}},created(){Je(this.appId||he()),B()&&(this.trackPageName&&A({type:"trackVisit",name:this.trackPageName,path:this.trackPagePath||`/${this.trackPageName}`}),de("rocketMode").then(e=>{this.previousRocketMode=e,A({type:"setRocketMode",value:!0})}),de("componentStats").then(e=>{e!=null&&this.loadParentComponentStats(e)}))},mounted(){document.addEventListener("click",this.handleClickOutside,!0)},beforeDestroy(){document.removeEventListener("click",this.handleClickOutside,!0),this.restoreRocketMode()},methods:{restoreRocketMode(){if(B()&&this.previousRocketMode!==null){const e=this.previousRocketMode===!0||this.previousRocketMode==="true";A({type:"setRocketMode",value:e})}},findPreviousPage(){return this.sortedItems.find(e=>e.name!==this.trackPageName&&e.path)},loadParentComponentStats(e){try{const r=typeof e=="string"?JSON.parse(e):e;r!=null&&r.pages&&(this.localStorageItems=Object.values(r.pages))}catch{}},async handleBack(){if(this.backEvent)return this.restoreRocketMode(),this.backEvent();let e=this.findPreviousPage();if(!e&&B()){const r=await de("componentStats");r&&(this.loadParentComponentStats(r),e=this.findPreviousPage())}this.restoreRocketMode(),A(e?{type:"navigate",path:e.path}:{type:"exit"})},toggleDropdown(){this.sortedItems.length&&(this.isDropdownOpen=!this.isDropdownOpen)},closeDropdown(){this.isDropdownOpen=!1},selectItem(e){this.$emit("navigate",e.path),B()&&A({type:"navigate",path:e.path}),this.closeDropdown()},capitalize(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""},getTimeAgo(e){const s=Date.now()-e,l=Math.floor(s/1e3),v=Math.floor(l/60),_=Math.floor(v/60),C=Math.floor(_/24);return C>0?`${C}д тому`:_>0?`${_}год тому`:v>0?`${v}хв тому`:`${l}с тому`},handleClickOutside(e){this.$refs.dropdownRef&&!this.$refs.dropdownRef.contains(e.target)&&this.closeDropdown()}}},Te={};var st=$(ot,tt,it,!1,at,"24fdfba4",null,null);function at(e){for(let r in Te)this[r]=Te[r]}const nt=function(){return st.exports}();var rt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("portal",{attrs:{to:e.to}},[e._t("default")],2)},lt=[];const dt={props:{to:{type:String,default:"body"}}},Me={};var ct=$(dt,rt,lt,!1,ut,null,null,null);function ut(e){for(let r in Me)this[r]=Me[r]}const Le=function(){return ct.exports}();var pt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("base-teleport",{attrs:{to:"body"}},[e.isOpen?s("div",{staticClass:"sky-modal-overlay",on:{click:function(l){return l.target!==l.currentTarget?null:e.handleOverlayClick.apply(null,arguments)}}},[s("div",{staticClass:"sky-modal",style:e.modalStyle},[s("div",{staticClass:"sky-modal-header"},[s("button",{staticClass:"sky-modal-back",attrs:{title:e.closeTitle},on:{click:e.close}},[s("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]),s("div",{staticClass:"sky-modal-title-wrapper"},[s("h4",{staticClass:"sky-modal-title"},[e._v(e._s(e.title))]),e.subtitle?s("div",{staticClass:"sky-modal-subtitle"},[e._v(e._s(e.subtitle))]):e._e()])]),s("div",{staticClass:"sky-modal-body"},[e._t("default")],2),e.$slots.footer?s("div",{staticClass:"sky-modal-footer"},[e._t("footer")],2):e._e()])]):e._e()])},ht=[];const wt={components:{BaseTeleport:Le},name:"Modal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},closeTitle:{type:String,default:"Закрити"},closeOnOverlay:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"},value:{type:Boolean,default:!1}},computed:{modalStyle(){return{width:this.width,height:this.height}}},watch:{modelValue(e){e?document.body.style.overflow="hidden":document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown)},computed:{isOpen:{get(){return this.value},set(e){this.$emit("input",e)}}},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.isOpen=!1,this.$emit("close")},handleOverlayClick(){this.closeOnOverlay&&this.close()},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close()}}},$e={};var bt=$(wt,pt,ht,!1,ft,"664a61d1",null,null);function ft(e){for(let r in $e)this[r]=$e[r]}const mt=function(){return bt.exports}();var vt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return e.modelValue?s("div",{staticClass:"sky-dialogbox sky-dialogbox-classic",style:[e.zIndex?{"z-index":e.zIndex}:null]},[s("div",{staticClass:"sky-dialog-overlay"},[s("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[s("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?s("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]),s("button",{staticClass:"sky-dialog-close",attrs:{title:e.closeText},on:{click:e.close}},[s("svg",{attrs:{viewBox:"0 0 16 16",width:"16",height:"16"}},[s("line",{attrs:{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}}),s("line",{attrs:{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"}})])]),s("div",{staticClass:"sky-dialog-clearfix"}),s("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?s("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?s("div",{staticClass:"sky-dialog-footer"},[e._t("buttons")],2):e._e()])])]):e._e()},_t=[];const gt={name:"DialogModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Закрити"},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return ze()}catch{return!1}},isAndroid(){try{return Ne()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const r=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=r+"px"}}}catch{}}}},Ae={};var yt=$(gt,vt,_t,!1,kt,"9d8ed3a8",null,null);function kt(e){for(let r in Ae)this[r]=Ae[r]}const ce=function(){return yt.exports}();var xt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return e.modelValue?s("div",{staticClass:"sky-dialogbox sky-dialogbox-next",style:[e.zIndex?{"z-index":e.zIndex}:null]},[s("div",{staticClass:"sky-dialog-overlay"},[s("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[s("div",{staticClass:"sky-dialog-header"},[s("button",{staticClass:"sky-dialog-back",attrs:{title:e.closeText},on:{click:e.close}},[s("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]),s("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?s("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()])]),s("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?s("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?s("div",{staticClass:"sky-dialog-footer"},[e._t("buttons")],2):e._e()])])]):e._e()},St=[];const Ct={name:"DialogNext",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Назад"},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return ze()}catch{return!1}},isAndroid(){try{return Ne()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const r=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=r+"px"}}}catch{}}}},Be={};var Et=$(Ct,xt,St,!1,Ot,"4c07463d",null,null);function Ot(e){for(let r in Be)this[r]=Be[r]}const ue=function(){return Et.exports}();var Tt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s(e.dialogComponent,{tag:"component",attrs:{title:e.title,subtitle:e.subtitle,"z-index":e.zIndex,"close-text":e.closeText,"close-on-esc":e.closeOnEsc,"has-buttons":!!e.$slots.buttons},on:{close:function(l){return e.$emit("close")},save:function(l){return e.$emit("save")}},scopedSlots:e._u([e.$slots.buttons?{key:"buttons",fn:function(){return[e._t("buttons")]},proxy:!0}:null],null,!0),model:{value:e.isOpen,callback:function(l){e.isOpen=l},expression:"isOpen"}},[e._t("default")],2)},Mt=[];const $t={name:"Dialog",components:{DialogModal:ce,DialogNext:ue},props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:e=>[null,"next","classic"].includes(e)}},data(){return{rocketMode:!0}},computed:{isOpen:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},dialogComponent(){return this.mode==="next"?ue:this.mode==="classic"?ce:this.rocketMode?ue:ce}},mounted(){try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?this.rocketMode=!1:this.rocketMode=!0}catch{this.rocketMode=!0}}},Re={};var At=$($t,Tt,Mt,!1,Bt,null,null,null);function Bt(e){for(let r in Re)this[r]=Re[r]}const Rt=function(){return At.exports}();var It=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("button",e._b({staticClass:"sky-btn",class:[`sky-btn-${e.variant}`,{"sky-btn-block":e.block,"sky-btn-loading":e.loading,"sky-btn-icon":e.icon}],attrs:{disabled:e.disabled||e.loading}},"button",e.$attrs,!1),[e.loading?s("span",{staticClass:"sky-btn-spinner"}):e._e(),e._t("default")],2)},Pt=[];const Dt={name:"SkyButton",inheritAttrs:!1,props:{variant:{type:String,default:"primary",validator:e=>["primary","danger","secondary","outline"].includes(e)},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},block:{type:Boolean,default:!1},icon:{type:Boolean,default:!1}}},Ie={};var zt=$(Dt,It,Pt,!1,Nt,"4ee18038",null,null);function Nt(e){for(let r in Ie)this[r]=Ie[r]}const Lt=function(){return zt.exports}();var Vt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("div",{ref:"root",staticClass:"sky-select",class:{"sky-select-block":e.block,"sky-select-open":e.open,"sky-select-disabled":e.disabled}},[s("button",{staticClass:"sky-select-trigger",attrs:{type:"button",disabled:e.disabled},on:{click:e.toggle,keydown:e.onKeydown}},[s("span",{staticClass:"sky-select-value",class:{"sky-select-placeholder":e.selectedOption===null}},[e._v(" "+e._s(e.selectedOption?e.selectedOption.label:e.placeholder)+" ")]),s("svg",{staticClass:"sky-select-chevron",attrs:{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"}},[s("path",{attrs:{d:"M4 6l4 4 4-4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e.open?s("div",{staticClass:"sky-select-dropdown"},e._l(e.normalizedOptions,function(l,v){return s("div",{key:l.value,staticClass:"sky-select-option",class:{"sky-select-option-selected":l.value===e.value,"sky-select-option-focused":v===e.focusedIdx},on:{click:function(_){return e.select(l)},mouseenter:function(_){e.focusedIdx=v}}},[s("span",[e._v(e._s(l.label))]),l.value===e.value?s("svg",{staticClass:"sky-select-check",attrs:{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"}},[s("path",{attrs:{d:"M3 8l4 4 6-6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})]):e._e()])}),0):e._e()])},Ft=[];const Ut={name:"SkySelect",inheritAttrs:!1,props:{value:{default:null},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},block:{type:Boolean,default:!1}},data(){return{open:!1,focusedIdx:-1}},computed:{normalizedOptions(){return this.options.map(e=>typeof e=="string"?{label:e,value:e}:e)},selectedOption(){return this.normalizedOptions.find(e=>e.value===this.value)??null}},methods:{toggle(){this.disabled||(this.open?this.close():this.openDropdown())},openDropdown(){this.open=!0,this.focusedIdx=this.normalizedOptions.findIndex(e=>e.value===this.value),this.$nextTick(()=>document.addEventListener("mousedown",this.onOutsideClick))},close(){this.open=!1,document.removeEventListener("mousedown",this.onOutsideClick)},select(e){this.$emit("input",e.value),this.close()},onOutsideClick(e){this.$refs.root.contains(e.target)||this.close()},onKeydown(e){if(!this.open){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.openDropdown());return}e.key==="Escape"?this.close():e.key==="ArrowDown"?(e.preventDefault(),this.focusedIdx=Math.min(this.focusedIdx+1,this.normalizedOptions.length-1)):e.key==="ArrowUp"?(e.preventDefault(),this.focusedIdx=Math.max(this.focusedIdx-1,0)):e.key==="Enter"&&(e.preventDefault(),this.focusedIdx>=0&&this.select(this.normalizedOptions[this.focusedIdx]))}},beforeDestroy(){document.removeEventListener("mousedown",this.onOutsideClick)}},Pe={};var qt=$(Ut,Vt,Ft,!1,jt,"73cd1848",null,null);function jt(e){for(let r in Pe)this[r]=Pe[r]}const Xt=function(){return qt.exports}();exports.BaseTeleport=Le;exports.Dialog=Rt;exports.Header=nt;exports.Modal=mt;exports.SkyButton=Lt;exports.SkySelect=Xt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pe={exports:{}};(function(e,r){(function(s,l){var v="1.0.41",m="",C="?",y="function",_="undefined",x="object",A="string",P="major",t="model",n="name",i="type",o="vendor",a="version",E="architecture",D="console",c="mobile",u="tablet",g="smarttv",k="wearable",N="embedded",ee=500,X="Amazon",I="Apple",we="ASUS",be="BlackBerry",H="Browser",K="Chrome",Ve="Edge",G="Firefox",W="Google",fe="Honor",ve="Huawei",Fe="Lenovo",Y="LG",te="Microsoft",ie="Motorola",oe="Nvidia",me="OnePlus",L="Opera",se="OPPO",V="Samsung",_e="Sharp",F="Sony",ne="Xiaomi",ae="Zebra",ye="Facebook",ge="Chromium OS",ke="Mac OS",xe=" Browser",Ue=function(h,w){var p={};for(var f in h)w[f]&&w[f].length%2===0?p[f]=w[f].concat(h[f]):p[f]=h[f];return p},Z=function(h){for(var w={},p=0;p<h.length;p++)w[h[p].toUpperCase()]=h[p];return w},Se=function(h,w){return typeof h===A?U(w).indexOf(U(h))!==-1:!1},U=function(h){return h.toLowerCase()},qe=function(h){return typeof h===A?h.replace(/[^\d\.]/g,m).split(".")[0]:l},re=function(h,w){if(typeof h===A)return h=h.replace(/^\s\s*/,m),typeof w===_?h:h.substring(0,ee)},q=function(h,w){for(var p=0,f,$,O,b,d,T;p<w.length&&!d;){var le=w[p],Oe=w[p+1];for(f=$=0;f<le.length&&!d&&le[f];)if(d=le[f++].exec(h),d)for(O=0;O<Oe.length;O++)T=d[++$],b=Oe[O],typeof b===x&&b.length>0?b.length===2?typeof b[1]==y?this[b[0]]=b[1].call(this,T):this[b[0]]=b[1]:b.length===3?typeof b[1]===y&&!(b[1].exec&&b[1].test)?this[b[0]]=T?b[1].call(this,T,b[2]):l:this[b[0]]=T?T.replace(b[1],b[2]):l:b.length===4&&(this[b[0]]=T?b[3].call(this,T.replace(b[1],b[2])):l):this[b]=T||l;p+=2}},j=function(h,w){for(var p in w)if(typeof w[p]===x&&w[p].length>0){for(var f=0;f<w[p].length;f++)if(Se(w[p][f],h))return p===C?l:p}else if(Se(w[p],h))return p===C?l:p;return w.hasOwnProperty("*")?w["*"]:h},je={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ce={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ee={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[a,[n,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[a,[n,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[n,a],[/opios[\/ ]+([\w\.]+)/i],[a,[n,L+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[a,[n,L+" GX"]],[/\bopr\/([\w\.]+)/i],[a,[n,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[a,[n,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[a,[n,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[n,a],[/quark(?:pc)?\/([-\w\.]+)/i],[a,[n,"Quark"]],[/\bddg\/([\w\.]+)/i],[a,[n,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[a,[n,"UC"+H]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[a,[n,"WeChat"]],[/konqueror\/([\w\.]+)/i],[a,[n,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[a,[n,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[a,[n,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[a,[n,"Smart Lenovo "+H]],[/(avast|avg)\/([\w\.]+)/i],[[n,/(.+)/,"$1 Secure "+H],a],[/\bfocus\/([\w\.]+)/i],[a,[n,G+" Focus"]],[/\bopt\/([\w\.]+)/i],[a,[n,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[a,[n,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[a,[n,"Dolphin"]],[/coast\/([\w\.]+)/i],[a,[n,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[a,[n,"MIUI"+xe]],[/fxios\/([\w\.-]+)/i],[a,[n,G]],[/\bqihoobrowser\/?([\w\.]*)/i],[a,[n,"360"]],[/\b(qq)\/([\w\.]+)/i],[[n,/(.+)/,"$1Browser"],a],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[n,/(.+)/,"$1"+xe],a],[/samsungbrowser\/([\w\.]+)/i],[a,[n,V+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[a,[n,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[n,"Sogou Mobile"],a],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[n,a],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[n],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[a,n],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[n,ye],a],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[n,a],[/\bgsa\/([\w\.]+) .*safari\//i],[a,[n,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[a,[n,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[a,[n,K+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[n,K+" WebView"],a],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[a,[n,"Android "+H]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[n,a],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[a,[n,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[a,n],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[n,[a,j,je]],[/(webkit|khtml)\/([\w\.]+)/i],[n,a],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[n,"Netscape"],a],[/(wolvic|librewolf)\/([\w\.]+)/i],[n,a],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[a,[n,G+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[n,[a,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[n,[a,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[E,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[E,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[E,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[E,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[E,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[E,/ower/,m,U]],[/ sun4\w[;\)]/i],[[E,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[E,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[t,[o,V],[i,u]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[t,[o,V],[i,c]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[t,[o,I],[i,c]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[t,[o,I],[i,u]],[/(macintosh);/i],[t,[o,I]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[t,[o,_e],[i,c]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[t,[o,fe],[i,u]],[/honor([-\w ]+)[;\)]/i],[t,[o,fe],[i,c]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[t,[o,ve],[i,u]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[t,[o,ve],[i,c]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[t,/_/g," "],[o,ne],[i,u]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[t,/_/g," "],[o,ne],[i,c]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[t,[o,se],[i,c]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[t,[o,j,{OnePlus:["304","403","203"],"*":se}],[i,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[t,[o,"Vivo"],[i,c]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[t,[o,"Realme"],[i,c]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[t,[o,ie],[i,c]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[t,[o,ie],[i,u]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[t,[o,Y],[i,u]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[t,[o,Y],[i,c]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[t,[o,Fe],[i,u]],[/(nokia) (t[12][01])/i],[o,t,[i,u]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[t,/_/g," "],[i,c],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[t,[o,W],[i,u]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[t,[o,W],[i,c]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[t,[o,F],[i,c]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[t,"Xperia Tablet"],[o,F],[i,u]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[t,[o,me],[i,c]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[t,[o,X],[i,u]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[t,/(.+)/g,"Fire Phone $1"],[o,X],[i,c]],[/(playbook);[-\w\),; ]+(rim)/i],[t,o,[i,u]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[t,[o,be],[i,c]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[t,[o,we],[i,u]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[t,[o,we],[i,c]],[/(nexus 9)/i],[t,[o,"HTC"],[i,u]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[t,/_/g," "],[i,c]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[t,[o,"TCL"],[i,u]],[/(itel) ((\w+))/i],[[o,U],t,[i,j,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[t,[o,"Acer"],[i,u]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[t,[o,"Meizu"],[i,c]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[t,[o,"Ulefone"],[i,c]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[t,[o,"Energizer"],[i,c]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[t,[o,"Cat"],[i,c]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[t,[o,"Smartfren"],[i,c]],[/droid.+; (a(?:015|06[35]|142p?))/i],[t,[o,"Nothing"],[i,c]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[t,[o,"Archos"],[i,u]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[t,[o,"Archos"],[i,c]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,t,[i,u]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,t,[i,c]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,t,[i,u]],[/(surface duo)/i],[t,[o,te],[i,u]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[t,[o,"Fairphone"],[i,c]],[/(u304aa)/i],[t,[o,"AT&T"],[i,c]],[/\bsie-(\w*)/i],[t,[o,"Siemens"],[i,c]],[/\b(rct\w+) b/i],[t,[o,"RCA"],[i,u]],[/\b(venue[\d ]{2,7}) b/i],[t,[o,"Dell"],[i,u]],[/\b(q(?:mv|ta)\w+) b/i],[t,[o,"Verizon"],[i,u]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[t,[o,"Barnes & Noble"],[i,u]],[/\b(tm\d{3}\w+) b/i],[t,[o,"NuVision"],[i,u]],[/\b(k88) b/i],[t,[o,"ZTE"],[i,u]],[/\b(nx\d{3}j) b/i],[t,[o,"ZTE"],[i,c]],[/\b(gen\d{3}) b.+49h/i],[t,[o,"Swiss"],[i,c]],[/\b(zur\d{3}) b/i],[t,[o,"Swiss"],[i,u]],[/\b((zeki)?tb.*\b) b/i],[t,[o,"Zeki"],[i,u]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],t,[i,u]],[/\b(ns-?\w{0,9}) b/i],[t,[o,"Insignia"],[i,u]],[/\b((nxa|next)-?\w{0,9}) b/i],[t,[o,"NextBook"],[i,u]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],t,[i,c]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],t,[i,c]],[/\b(ph-1) /i],[t,[o,"Essential"],[i,c]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[t,[o,"Envizen"],[i,u]],[/\b(trio[-\w\. ]+) b/i],[t,[o,"MachSpeed"],[i,u]],[/\btu_(1491) b/i],[t,[o,"Rotor"],[i,u]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[t,[o,oe],[i,u]],[/(sprint) (\w+)/i],[o,t,[i,c]],[/(kin\.[onetw]{3})/i],[[t,/\./g," "],[o,te],[i,c]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[t,[o,ae],[i,u]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[t,[o,ae],[i,c]],[/smart-tv.+(samsung)/i],[o,[i,g]],[/hbbtv.+maple;(\d+)/i],[[t,/^/,"SmartTV"],[o,V],[i,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,Y],[i,g]],[/(apple) ?tv/i],[o,[t,I+" TV"],[i,g]],[/crkey/i],[[t,K+"cast"],[o,W],[i,g]],[/droid.+aft(\w+)( bui|\))/i],[t,[o,X],[i,g]],[/(shield \w+ tv)/i],[t,[o,oe],[i,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[t,[o,_e],[i,g]],[/(bravia[\w ]+)( bui|\))/i],[t,[o,F],[i,g]],[/(mi(tv|box)-?\w+) bui/i],[t,[o,ne],[i,g]],[/Hbbtv.*(technisat) (.*);/i],[o,t,[i,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,re],[t,re],[i,g]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[t,[i,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,t,[i,D]],[/droid.+; (shield)( bui|\))/i],[t,[o,oe],[i,D]],[/(playstation \w+)/i],[t,[o,F],[i,D]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[t,[o,te],[i,D]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[t,[o,V],[i,k]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,t,[i,k]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[t,[o,se],[i,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[t,[o,I],[i,k]],[/(opwwe\d{3})/i],[t,[o,me],[i,k]],[/(moto 360)/i],[t,[o,ie],[i,k]],[/(smartwatch 3)/i],[t,[o,F],[i,k]],[/(g watch r)/i],[t,[o,Y],[i,k]],[/droid.+; (wt63?0{2,3})\)/i],[t,[o,ae],[i,k]],[/droid.+; (glass) \d/i],[t,[o,W],[i,k]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,t,[i,k]],[/; (quest( \d| pro)?)/i],[t,[o,ye],[i,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[i,N]],[/(aeobc)\b/i],[t,[o,X],[i,N]],[/(homepod).+mac os/i],[t,[o,I],[i,N]],[/windows iot/i],[[i,N]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[t,[i,c]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[t,[i,u]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,u]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,c]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[t,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[a,[n,Ve+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[n,a],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[a,[n,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[n,a],[/ladybird\//i],[[n,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[a,n]],os:[[/microsoft (windows) (vista|xp)/i],[n,a],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[n,[a,j,Ce]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[a,j,Ce],[n,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[a,/_/g,"."],[n,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[n,ke],[a,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[a,n],[/(ubuntu) ([\w\.]+) like android/i],[[n,/(.+)/,"$1 Touch"],a],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[n,a],[/\(bb(10);/i],[a,[n,be]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[a,[n,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[a,[n,G+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[a,[n,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[a,[n,"watchOS"]],[/crkey\/([\d\.]+)/i],[a,[n,K+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[n,ge],a],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[n,a],[/(sunos) ?([\w\.\d]*)/i],[[n,"Solaris"],a],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[n,a]]},S=function(h,w){if(typeof h===x&&(w=h,h=l),!(this instanceof S))return new S(h,w).getResult();var p=typeof s!==_&&s.navigator?s.navigator:l,f=h||(p&&p.userAgent?p.userAgent:m),$=p&&p.userAgentData?p.userAgentData:l,O=w?Ue(Ee,w):Ee,b=p&&p.userAgent==f;return this.getBrowser=function(){var d={};return d[n]=l,d[a]=l,q.call(d,f,O.browser),d[P]=qe(d[a]),b&&p&&p.brave&&typeof p.brave.isBrave==y&&(d[n]="Brave"),d},this.getCPU=function(){var d={};return d[E]=l,q.call(d,f,O.cpu),d},this.getDevice=function(){var d={};return d[o]=l,d[t]=l,d[i]=l,q.call(d,f,O.device),b&&!d[i]&&$&&$.mobile&&(d[i]=c),b&&d[t]=="Macintosh"&&p&&typeof p.standalone!==_&&p.maxTouchPoints&&p.maxTouchPoints>2&&(d[t]="iPad",d[i]=u),d},this.getEngine=function(){var d={};return d[n]=l,d[a]=l,q.call(d,f,O.engine),d},this.getOS=function(){var d={};return d[n]=l,d[a]=l,q.call(d,f,O.os),b&&!d[n]&&$&&$.platform&&$.platform!="Unknown"&&(d[n]=$.platform.replace(/chrome os/i,ge).replace(/macos/i,ke)),d},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return f},this.setUA=function(d){return f=typeof d===A&&d.length>ee?re(d,ee):d,this},this.setUA(f),this};S.VERSION=v,S.BROWSER=Z([n,a,P]),S.CPU=Z([E]),S.DEVICE=Z([t,o,i,D,c,g,u,k,N]),S.ENGINE=S.OS=Z([n,a]),e.exports&&(r=e.exports=S),r.UAParser=S;var z=typeof s!==_&&(s.jQuery||s.Zepto);if(z&&!z.ua){var Q=new S;z.ua=Q.getResult(),z.ua.get=function(){return Q.getUA()},z.ua.set=function(h){Q.setUA(h);var w=Q.getResult();for(var p in w)z.ua[p]=w[p]}}})(typeof window=="object"?window:Xe)})(pe,pe.exports);var Ke=pe.exports;const Ge=He(Ke);function Pe(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var e=Ge(navigator.userAgent);if(e.browser.name==="WebKit")return"ios_webview"}catch(r){console.error(r)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function De(){return Pe()==="ios_webview"}function Ne(){return Pe()==="android_webview"}function B(){try{return window.self!==window.top}catch{return!0}}const We=3e3;let Ye=0,J=null;function Ze(){return`req_${++Ye}_${Date.now()}`}function Qe(){return"APP_"+Math.random().toString(36).slice(2,10)}function Je(e){J=e}function he(){return J||(J=Qe()),J}function R(e){B()&&window.parent.postMessage({...e,sender:he(),target:e.target||"DASHBOARD"},"*")}function et(e,r){return B()?new Promise(s=>{const l=Ze(),v=setTimeout(()=>{window.removeEventListener("message",m),s(null)},We);function m(C){const y=C.data;(y==null?void 0:y.type)==="DATA_RESPONSE"&&(y==null?void 0:y.requestId)===l&&(!y.target||y.target===he())&&(clearTimeout(v),window.removeEventListener("message",m),s(y.data??null))}window.addEventListener("message",m),R({type:"DATA_REQUEST",requestId:l,source:e,key:r})}):Promise.resolve(null)}function de(e){return et("localStorage",e)}var tt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("header",{staticClass:"sky-header-container"},[s("div",{staticClass:"topmenubox"},[s("div",{staticClass:"header-left"},[e.shouldShowBackButton?s("button",{staticClass:"btn-back",attrs:{title:e.backButtonTitle},on:{click:e.handleBack}},[s("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]):e._e(),s("div",{ref:"dropdownRef",staticClass:"titleAndDesc"},[s("button",{staticClass:"title-dropdown-toggle",class:{"title-dropdown-toggle-active":e.sortedItems.length},on:{click:e.toggleDropdown}},[e._t("title",function(){return[s("h4",{staticClass:"notPadding"},[s("span",{staticClass:"topmenu-title"},[e._v(e._s(e.title))]),e.sortedItems.length?s("svg",{staticClass:"arrow",class:{open:e.isDropdownOpen},staticStyle:{"flex-shrink":"0"},attrs:{width:"12",height:"12",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})]):e._e()])]})],2),e.isDropdownOpen&&e.sortedItems.length?s("div",{staticClass:"title-dropdown"},[s("div",{staticClass:"title-dropdown-header"},[e._v(e._s(e.dropdownTitle))]),s("div",{staticClass:"title-dropdown-divider"}),e._l(e.sortedItems,function(l,v){return s("div",{key:v,staticClass:"title-dropdown-item",on:{click:function(m){return e.selectItem(l)}}},[s("p",{staticClass:"pageName"},[e._v(e._s(e.capitalize(l.name)))]),s("small",{staticClass:"pageVisit"},[e._v(" ("+e._s(e.visitLabel)+" "+e._s(e.getTimeAgo(l.lastVisit))+") ")])])})],2):e._e(),e._t("subtitle",function(){return[e.subtitle?s("p",{staticClass:"topmenu-description"},[e._v(e._s(e.subtitle))]):e._e()]})],2)]),s("div",{staticClass:"topmenubox-button"},[s("div"),e._t("default"),s("div")],2)])])},it=[];function M(e,r,s,l,v,m,C,y){var _=typeof e=="function"?e.options:e;r&&(_.render=r,_.staticRenderFns=s,_._compiled=!0),l&&(_.functional=!0),m&&(_._scopeId="data-v-"+m);var x;if(C?(x=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),v&&v.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(C)},_._ssrRegister=x):v&&(x=y?function(){v.call(this,(_.functional?this.parent:this).$root.$options.shadowRoot)}:v),x)if(_.functional){_._injectStyles=x;var A=_.render;_.render=function(n,i){return x.call(i),A(n,i)}}else{var P=_.beforeCreate;_.beforeCreate=P?[].concat(P,x):[x]}return{exports:e,options:_}}const ot={name:"Header",props:{title:{type:String,default:""},subtitle:{type:String,default:""},showBackButton:{type:Boolean,default:!0},backButtonTitle:{type:String,default:"Назад"},backEvent:{type:Function,default:null},dropdownItems:{type:Array,default:()=>[]},dropdownTitle:{type:String,default:"Останні відвідані розділи"},visitLabel:{type:String,default:"Останнє відвідування"},trackPageName:{type:String,default:""},trackPagePath:{type:String,default:""},appId:{type:String,default:""}},data(){return{isDropdownOpen:!1,previousRocketMode:null,localStorageItems:[]}},computed:{sortedItems(){return[...this.dropdownItems.length?this.dropdownItems:this.localStorageItems].sort((r,s)=>s.lastVisit-r.lastVisit)},shouldShowBackButton(){return this.backEvent||this.showBackButton&&B()}},created(){Je(this.appId||he()),B()&&(this.trackPageName&&R({type:"trackVisit",name:this.trackPageName,path:this.trackPagePath||`/${this.trackPageName}`}),de("rocketMode").then(e=>{this.previousRocketMode=e,R({type:"setRocketMode",value:!0})}),de("componentStats").then(e=>{e!=null&&this.loadParentComponentStats(e)}))},mounted(){document.addEventListener("click",this.handleClickOutside,!0)},beforeDestroy(){document.removeEventListener("click",this.handleClickOutside,!0),this.restoreRocketMode()},methods:{restoreRocketMode(){if(B()&&this.previousRocketMode!==null){const e=this.previousRocketMode===!0||this.previousRocketMode==="true";R({type:"setRocketMode",value:e})}},findPreviousPage(){return this.sortedItems.find(e=>e.name!==this.trackPageName&&e.path)},loadParentComponentStats(e){try{const r=typeof e=="string"?JSON.parse(e):e;r!=null&&r.pages&&(this.localStorageItems=Object.values(r.pages))}catch{}},async handleBack(){if(this.backEvent)return this.restoreRocketMode(),this.backEvent();let e=this.findPreviousPage();if(!e&&B()){const r=await de("componentStats");r&&(this.loadParentComponentStats(r),e=this.findPreviousPage())}this.restoreRocketMode(),R(e?{type:"navigate",path:e.path}:{type:"exit"})},toggleDropdown(){this.sortedItems.length&&(this.isDropdownOpen=!this.isDropdownOpen)},closeDropdown(){this.isDropdownOpen=!1},selectItem(e){this.$emit("navigate",e.path),B()&&R({type:"navigate",path:e.path}),this.closeDropdown()},capitalize(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""},getTimeAgo(e){const s=Date.now()-e,l=Math.floor(s/1e3),v=Math.floor(l/60),m=Math.floor(v/60),C=Math.floor(m/24);return C>0?`${C}д тому`:m>0?`${m}год тому`:v>0?`${v}хв тому`:`${l}с тому`},handleClickOutside(e){this.$refs.dropdownRef&&!this.$refs.dropdownRef.contains(e.target)&&this.closeDropdown()}}},Te={};var st=M(ot,tt,it,!1,nt,"24fdfba4",null,null);function nt(e){for(let r in Te)this[r]=Te[r]}const at=function(){return st.exports}();var rt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("portal",{attrs:{to:e.to}},[e._t("default")],2)},lt=[];const dt={props:{to:{type:String,default:"body"}}},$e={};var ct=M(dt,rt,lt,!1,ut,null,null,null);function ut(e){for(let r in $e)this[r]=$e[r]}const Le=function(){return ct.exports}();var pt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("base-teleport",{attrs:{to:"body"}},[e.isOpen?s("div",{staticClass:"sky-modal-overlay",on:{click:function(l){return l.target!==l.currentTarget?null:e.handleOverlayClick.apply(null,arguments)}}},[s("div",{staticClass:"sky-modal",style:e.modalStyle},[s("div",{staticClass:"sky-modal-header"},[s("button",{staticClass:"sky-modal-back",attrs:{title:e.closeTitle},on:{click:e.close}},[s("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]),s("div",{staticClass:"sky-modal-title-wrapper"},[s("h4",{staticClass:"sky-modal-title"},[e._v(e._s(e.title))]),e.subtitle?s("div",{staticClass:"sky-modal-subtitle"},[e._v(e._s(e.subtitle))]):e._e()])]),s("div",{staticClass:"sky-modal-body"},[e._t("default")],2),e.$slots.footer?s("div",{staticClass:"sky-modal-footer"},[e._t("footer")],2):e._e()])]):e._e()])},ht=[];const wt={components:{BaseTeleport:Le},name:"Modal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},closeTitle:{type:String,default:"Закрити"},closeOnOverlay:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"},value:{type:Boolean,default:!1}},computed:{modalStyle(){return{width:this.width,height:this.height}}},watch:{modelValue(e){e?document.body.style.overflow="hidden":document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown)},computed:{isOpen:{get(){return this.value},set(e){this.$emit("input",e)}}},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.isOpen=!1,this.$emit("close")},handleOverlayClick(){this.closeOnOverlay&&this.close()},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close()}}},Me={};var bt=M(wt,pt,ht,!1,ft,"664a61d1",null,null);function ft(e){for(let r in Me)this[r]=Me[r]}const vt=function(){return bt.exports}();var mt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return e.modelValue?s("div",{staticClass:"sky-dialogbox sky-dialogbox-classic",style:[e.zIndex?{"z-index":e.zIndex}:null]},[s("div",{staticClass:"sky-dialog-overlay"},[s("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[s("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?s("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]),s("button",{staticClass:"sky-dialog-close",attrs:{title:e.closeText},on:{click:e.close}},[s("svg",{attrs:{viewBox:"0 0 16 16",width:"16",height:"16"}},[s("line",{attrs:{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}}),s("line",{attrs:{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"}})])]),s("div",{staticClass:"sky-dialog-clearfix"}),s("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?s("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?s("div",{staticClass:"sky-dialog-footer"},[e._t("buttons")],2):e._e()])])]):e._e()},_t=[];const yt={name:"DialogModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Закрити"},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return De()}catch{return!1}},isAndroid(){try{return Ne()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const r=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=r+"px"}}}catch{}}}},Re={};var gt=M(yt,mt,_t,!1,kt,"9d8ed3a8",null,null);function kt(e){for(let r in Re)this[r]=Re[r]}const ce=function(){return gt.exports}();var xt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return e.modelValue?s("div",{staticClass:"sky-dialogbox sky-dialogbox-next",style:[e.zIndex?{"z-index":e.zIndex}:null]},[s("div",{staticClass:"sky-dialog-overlay"},[s("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[s("div",{staticClass:"sky-dialog-header"},[s("button",{staticClass:"sky-dialog-back",attrs:{title:e.closeText},on:{click:e.close}},[s("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[s("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]),s("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?s("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()])]),s("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?s("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?s("div",{staticClass:"sky-dialog-footer"},[e._t("buttons")],2):e._e()])])]):e._e()},St=[];const Ct={name:"DialogNext",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Назад"},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return De()}catch{return!1}},isAndroid(){try{return Ne()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const r=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=r+"px"}}}catch{}}}},Be={};var Et=M(Ct,xt,St,!1,Ot,"4c07463d",null,null);function Ot(e){for(let r in Be)this[r]=Be[r]}const ue=function(){return Et.exports}();var Tt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s(e.dialogComponent,{tag:"component",attrs:{title:e.title,subtitle:e.subtitle,"z-index":e.zIndex,"close-text":e.closeText,"close-on-esc":e.closeOnEsc,"has-buttons":!!e.$slots.buttons},on:{close:function(l){return e.$emit("close")},save:function(l){return e.$emit("save")}},scopedSlots:e._u([e.$slots.buttons?{key:"buttons",fn:function(){return[e._t("buttons")]},proxy:!0}:null],null,!0),model:{value:e.isOpen,callback:function(l){e.isOpen=l},expression:"isOpen"}},[e._t("default")],2)},$t=[];const Mt={name:"Dialog",components:{DialogModal:ce,DialogNext:ue},props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:e=>[null,"next","classic"].includes(e)}},data(){return{rocketMode:!0}},computed:{isOpen:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},dialogComponent(){return this.mode==="next"?ue:this.mode==="classic"?ce:this.rocketMode?ue:ce}},mounted(){try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?this.rocketMode=!1:this.rocketMode=!0}catch{this.rocketMode=!0}}},Ae={};var Rt=M(Mt,Tt,$t,!1,Bt,null,null,null);function Bt(e){for(let r in Ae)this[r]=Ae[r]}const At=function(){return Rt.exports}();var It=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("button",e._b({staticClass:"sky-btn",class:[`sky-btn-${e.variant}`,{"sky-btn-block":e.block,"sky-btn-loading":e.loading,"sky-btn-icon":e.icon}],attrs:{disabled:e.disabled||e.loading}},"button",e.$attrs,!1),[e.loading?s("span",{staticClass:"sky-btn-spinner"}):e._e(),e._t("default")],2)},zt=[];const Pt={name:"SkyButton",inheritAttrs:!1,props:{variant:{type:String,default:"primary",validator:e=>["primary","danger","secondary","outline"].includes(e)},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},block:{type:Boolean,default:!1},icon:{type:Boolean,default:!1}}},Ie={};var Dt=M(Pt,It,zt,!1,Nt,"4ee18038",null,null);function Nt(e){for(let r in Ie)this[r]=Ie[r]}const Lt=function(){return Dt.exports}();var Vt=function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("div",{ref:"root",staticClass:"sky-select",class:{"sky-select-block":e.block,"sky-select-open":e.open,"sky-select-disabled":e.disabled}},[s("button",{staticClass:"sky-select-trigger",attrs:{type:"button",disabled:e.disabled},on:{click:e.toggle,keydown:e.onKeydown}},[s("span",{staticClass:"sky-select-value",class:{"sky-select-placeholder":e.selectedOption===null}},[e._v(" "+e._s(e.selectedOption?e.selectedOption.label:e.placeholder)+" ")]),s("svg",{staticClass:"sky-select-chevron",attrs:{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"}},[s("path",{attrs:{d:"M4 6l4 4 4-4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e.open?[e.teleport?s("portal",{attrs:{to:"sky-select-portal"}},[s("div",{staticClass:"sky-select-dropdown sky-select-dropdown-teleported",style:e.dropdownStyle},e._l(e.normalizedOptions,function(l,v){return s("div",{key:l.value,staticClass:"sky-select-option",class:{"sky-select-option-selected":l.value===e.value,"sky-select-option-focused":v===e.focusedIdx},on:{click:function(m){return e.select(l)},mouseenter:function(m){e.focusedIdx=v}}},[s("span",[e._v(e._s(l.label))]),l.value===e.value?s("svg",{staticClass:"sky-select-check",attrs:{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"}},[s("path",{attrs:{d:"M3 8l4 4 6-6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})]):e._e()])}),0)]):s("div",{staticClass:"sky-select-dropdown"},e._l(e.normalizedOptions,function(l,v){return s("div",{key:l.value,staticClass:"sky-select-option",class:{"sky-select-option-selected":l.value===e.value,"sky-select-option-focused":v===e.focusedIdx},on:{click:function(m){return e.select(l)},mouseenter:function(m){e.focusedIdx=v}}},[s("span",[e._v(e._s(l.label))]),l.value===e.value?s("svg",{staticClass:"sky-select-check",attrs:{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"}},[s("path",{attrs:{d:"M3 8l4 4 6-6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})]):e._e()])}),0)]:e._e()],2)},Ft=[];const Ut={name:"SkySelect",inheritAttrs:!1,props:{value:{default:null},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},block:{type:Boolean,default:!1},teleport:{type:Boolean,default:!1}},data(){return{open:!1,focusedIdx:-1,dropdownStyle:{}}},computed:{normalizedOptions(){return this.options.map(e=>typeof e=="string"?{label:e,value:e}:e)},selectedOption(){return this.normalizedOptions.find(e=>e.value===this.value)??null}},methods:{calcDropdownStyle(){if(!this.teleport||!this.$refs.root)return;const e=this.$refs.root.getBoundingClientRect();this.dropdownStyle={position:"fixed",top:`${e.bottom+4}px`,left:`${e.left}px`,width:`${e.width}px`,zIndex:"var(--sky-select-dropdown-z-index, 9999)"}},toggle(){this.disabled||(this.open?this.close():this.openDropdown())},openDropdown(){this.open=!0,this.focusedIdx=this.normalizedOptions.findIndex(e=>e.value===this.value),this.calcDropdownStyle(),this.$nextTick(()=>document.addEventListener("mousedown",this.onOutsideClick)),this.teleport&&(window.addEventListener("scroll",this.onScrollOrResize,!0),window.addEventListener("resize",this.onScrollOrResize))},close(){this.open=!1,document.removeEventListener("mousedown",this.onOutsideClick),window.removeEventListener("scroll",this.onScrollOrResize,!0),window.removeEventListener("resize",this.onScrollOrResize)},select(e){this.$emit("input",e.value),this.close()},onOutsideClick(e){this.$refs.root.contains(e.target)||this.close()},onScrollOrResize(){this.calcDropdownStyle()},onKeydown(e){if(!this.open){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.openDropdown());return}e.key==="Escape"?this.close():e.key==="ArrowDown"?(e.preventDefault(),this.focusedIdx=Math.min(this.focusedIdx+1,this.normalizedOptions.length-1)):e.key==="ArrowUp"?(e.preventDefault(),this.focusedIdx=Math.max(this.focusedIdx-1,0)):e.key==="Enter"&&(e.preventDefault(),this.focusedIdx>=0&&this.select(this.normalizedOptions[this.focusedIdx]))}},beforeDestroy(){document.removeEventListener("mousedown",this.onOutsideClick),window.removeEventListener("scroll",this.onScrollOrResize,!0),window.removeEventListener("resize",this.onScrollOrResize)}},ze={};var qt=M(Ut,Vt,Ft,!1,jt,"56478895",null,null);function jt(e){for(let r in ze)this[r]=ze[r]}const Xt=function(){return qt.exports}();exports.BaseTeleport=Le;exports.Dialog=At;exports.Header=at;exports.Modal=vt;exports.SkyButton=Lt;exports.SkySelect=Xt;