@skyservice-developers/vue-dev-kit 1.5.5 → 1.5.6

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"});const e=require("vue");var Le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $e(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var me={exports:{}};(function(l,N){(function(m,s){var x="1.0.41",v="",_="?",w="function",y="undefined",S="object",B="string",T="major",o="model",a="name",t="type",i="vendor",n="version",k="architecture",P="console",d="mobile",u="tablet",r="smarttv",f="wearable",V="embedded",R=500,z="Amazon",A="Apple",U="ASUS",we="BlackBerry",K="Browser",Y="Chrome",Pe="Edge",Z="Firefox",J="Google",fe="Honor",pe="Huawei",ze="Lenovo",Q="LG",ie="Microsoft",ne="Motorola",ae="Nvidia",ve="OnePlus",q="Opera",le="OPPO",j="Samsung",ge="Sharp",F="Sony",re="Xiaomi",se="Zebra",he="Facebook",ye="Chromium OS",ke="Mac OS",Ee=" Browser",De=function(p,g){var b={};for(var E in p)g[E]&&g[E].length%2===0?b[E]=g[E].concat(p[E]):b[E]=p[E];return b},ee=function(p){for(var g={},b=0;b<p.length;b++)g[p[b].toUpperCase()]=p[b];return g},xe=function(p,g){return typeof p===B?X(g).indexOf(X(p))!==-1:!1},X=function(p){return p.toLowerCase()},Ie=function(p){return typeof p===B?p.replace(/[^\d\.]/g,v).split(".")[0]:s},de=function(p,g){if(typeof p===B)return p=p.replace(/^\s\s*/,v),typeof g===y?p:p.substring(0,R)},H=function(p,g){for(var b=0,E,D,O,h,c,M;b<g.length&&!c;){var ce=g[b],Be=g[b+1];for(E=D=0;E<ce.length&&!c&&ce[E];)if(c=ce[E++].exec(p),c)for(O=0;O<Be.length;O++)M=c[++D],h=Be[O],typeof h===S&&h.length>0?h.length===2?typeof h[1]==w?this[h[0]]=h[1].call(this,M):this[h[0]]=h[1]:h.length===3?typeof h[1]===w&&!(h[1].exec&&h[1].test)?this[h[0]]=M?h[1].call(this,M,h[2]):s:this[h[0]]=M?M.replace(h[1],h[2]):s:h.length===4&&(this[h[0]]=M?h[3].call(this,M.replace(h[1],h[2])):s):this[h]=M||s;b+=2}},G=function(p,g){for(var b in g)if(typeof g[b]===S&&g[b].length>0){for(var E=0;E<g[b].length;E++)if(xe(g[b][E],p))return b===_?s:b}else if(xe(g[b],p))return b===_?s:b;return g.hasOwnProperty("*")?g["*"]:p},Re={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Se={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"},Ne={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,q+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,q+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,q]],[/\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"+K]],[/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 "+K]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+K],n],[/\bfocus\/([\w\.]+)/i],[n,[a,Z+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,q+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,q+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+Ee]],[/fxios\/([\w\.-]+)/i],[n,[a,Z]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+Ee],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,j+" 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,he],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,Y+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,Y+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android "+K]],[/(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,G,Re]],[/(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,Z+" 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],[[k,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[k,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[k,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[k,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[k,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[k,/ower/,v,X]],[/ sun4\w[;\)]/i],[[k,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[k,X]]],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],[o,[i,j],[t,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],[o,[i,j],[t,d]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[o,[i,A],[t,d]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[o,[i,A],[t,u]],[/(macintosh);/i],[o,[i,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[o,[i,ge],[t,d]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[o,[i,fe],[t,u]],[/honor([-\w ]+)[;\)]/i],[o,[i,fe],[t,d]],[/\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],[o,[i,pe],[t,u]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[o,[i,pe],[t,d]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[o,/_/g," "],[i,re],[t,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],[[o,/_/g," "],[i,re],[t,d]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[o,[i,le],[t,d]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[o,[i,G,{OnePlus:["304","403","203"],"*":le}],[t,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[o,[i,"Vivo"],[t,d]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[o,[i,"Realme"],[t,d]],[/\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],[o,[i,ne],[t,d]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[o,[i,ne],[t,u]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[o,[i,Q],[t,u]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[o,[i,Q],[t,d]],[/(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],[o,[i,ze],[t,u]],[/(nokia) (t[12][01])/i],[i,o,[t,u]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[o,/_/g," "],[t,d],[i,"Nokia"]],[/(pixel (c|tablet))\b/i],[o,[i,J],[t,u]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[o,[i,J],[t,d]],[/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],[o,[i,F],[t,d]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[o,"Xperia Tablet"],[i,F],[t,u]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[o,[i,ve],[t,d]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[o,[i,z],[t,u]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[o,/(.+)/g,"Fire Phone $1"],[i,z],[t,d]],[/(playbook);[-\w\),; ]+(rim)/i],[o,i,[t,u]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[o,[i,we],[t,d]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[o,[i,U],[t,u]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[o,[i,U],[t,d]],[/(nexus 9)/i],[o,[i,"HTC"],[t,u]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[i,[o,/_/g," "],[t,d]],[/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],[o,[i,"TCL"],[t,u]],[/(itel) ((\w+))/i],[[i,X],o,[t,G,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[o,[i,"Acer"],[t,u]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[o,[i,"Meizu"],[t,d]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[o,[i,"Ulefone"],[t,d]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[o,[i,"Energizer"],[t,d]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[o,[i,"Cat"],[t,d]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[o,[i,"Smartfren"],[t,d]],[/droid.+; (a(?:015|06[35]|142p?))/i],[o,[i,"Nothing"],[t,d]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[o,[i,"Archos"],[t,u]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[o,[i,"Archos"],[t,d]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[i,o,[t,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],[i,o,[t,d]],[/(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],[i,o,[t,u]],[/(surface duo)/i],[o,[i,ie],[t,u]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[o,[i,"Fairphone"],[t,d]],[/(u304aa)/i],[o,[i,"AT&T"],[t,d]],[/\bsie-(\w*)/i],[o,[i,"Siemens"],[t,d]],[/\b(rct\w+) b/i],[o,[i,"RCA"],[t,u]],[/\b(venue[\d ]{2,7}) b/i],[o,[i,"Dell"],[t,u]],[/\b(q(?:mv|ta)\w+) b/i],[o,[i,"Verizon"],[t,u]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[o,[i,"Barnes & Noble"],[t,u]],[/\b(tm\d{3}\w+) b/i],[o,[i,"NuVision"],[t,u]],[/\b(k88) b/i],[o,[i,"ZTE"],[t,u]],[/\b(nx\d{3}j) b/i],[o,[i,"ZTE"],[t,d]],[/\b(gen\d{3}) b.+49h/i],[o,[i,"Swiss"],[t,d]],[/\b(zur\d{3}) b/i],[o,[i,"Swiss"],[t,u]],[/\b((zeki)?tb.*\b) b/i],[o,[i,"Zeki"],[t,u]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[i,"Dragon Touch"],o,[t,u]],[/\b(ns-?\w{0,9}) b/i],[o,[i,"Insignia"],[t,u]],[/\b((nxa|next)-?\w{0,9}) b/i],[o,[i,"NextBook"],[t,u]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[i,"Voice"],o,[t,d]],[/\b(lvtel\-)?(v1[12]) b/i],[[i,"LvTel"],o,[t,d]],[/\b(ph-1) /i],[o,[i,"Essential"],[t,d]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[o,[i,"Envizen"],[t,u]],[/\b(trio[-\w\. ]+) b/i],[o,[i,"MachSpeed"],[t,u]],[/\btu_(1491) b/i],[o,[i,"Rotor"],[t,u]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[o,[i,ae],[t,u]],[/(sprint) (\w+)/i],[i,o,[t,d]],[/(kin\.[onetw]{3})/i],[[o,/\./g," "],[i,ie],[t,d]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[o,[i,se],[t,u]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[o,[i,se],[t,d]],[/smart-tv.+(samsung)/i],[i,[t,r]],[/hbbtv.+maple;(\d+)/i],[[o,/^/,"SmartTV"],[i,j],[t,r]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[i,Q],[t,r]],[/(apple) ?tv/i],[i,[o,A+" TV"],[t,r]],[/crkey/i],[[o,Y+"cast"],[i,J],[t,r]],[/droid.+aft(\w+)( bui|\))/i],[o,[i,z],[t,r]],[/(shield \w+ tv)/i],[o,[i,ae],[t,r]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[o,[i,ge],[t,r]],[/(bravia[\w ]+)( bui|\))/i],[o,[i,F],[t,r]],[/(mi(tv|box)-?\w+) bui/i],[o,[i,re],[t,r]],[/Hbbtv.*(technisat) (.*);/i],[i,o,[t,r]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[i,de],[o,de],[t,r]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[o,[t,r]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,r]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[i,o,[t,P]],[/droid.+; (shield)( bui|\))/i],[o,[i,ae],[t,P]],[/(playstation \w+)/i],[o,[i,F],[t,P]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[o,[i,ie],[t,P]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[o,[i,j],[t,f]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[i,o,[t,f]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[o,[i,le],[t,f]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[o,[i,A],[t,f]],[/(opwwe\d{3})/i],[o,[i,ve],[t,f]],[/(moto 360)/i],[o,[i,ne],[t,f]],[/(smartwatch 3)/i],[o,[i,F],[t,f]],[/(g watch r)/i],[o,[i,Q],[t,f]],[/droid.+; (wt63?0{2,3})\)/i],[o,[i,se],[t,f]],[/droid.+; (glass) \d/i],[o,[i,J],[t,f]],[/(pico) (4|neo3(?: link|pro)?)/i],[i,o,[t,f]],[/; (quest( \d| pro)?)/i],[o,[i,he],[t,f]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[i,[t,V]],[/(aeobc)\b/i],[o,[i,z],[t,V]],[/(homepod).+mac os/i],[o,[i,A],[t,V]],[/windows iot/i],[[t,V]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[o,[t,d]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[o,[t,u]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,u]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,d]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[o,[i,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,Pe+"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,G,Se]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,G,Se],[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,we]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,Z+" 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,Y+"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]]},C=function(p,g){if(typeof p===S&&(g=p,p=s),!(this instanceof C))return new C(p,g).getResult();var b=typeof m!==y&&m.navigator?m.navigator:s,E=p||(b&&b.userAgent?b.userAgent:v),D=b&&b.userAgentData?b.userAgentData:s,O=g?De(Ne,g):Ne,h=b&&b.userAgent==E;return this.getBrowser=function(){var c={};return c[a]=s,c[n]=s,H.call(c,E,O.browser),c[T]=Ie(c[n]),h&&b&&b.brave&&typeof b.brave.isBrave==w&&(c[a]="Brave"),c},this.getCPU=function(){var c={};return c[k]=s,H.call(c,E,O.cpu),c},this.getDevice=function(){var c={};return c[i]=s,c[o]=s,c[t]=s,H.call(c,E,O.device),h&&!c[t]&&D&&D.mobile&&(c[t]=d),h&&c[o]=="Macintosh"&&b&&typeof b.standalone!==y&&b.maxTouchPoints&&b.maxTouchPoints>2&&(c[o]="iPad",c[t]=u),c},this.getEngine=function(){var c={};return c[a]=s,c[n]=s,H.call(c,E,O.engine),c},this.getOS=function(){var c={};return c[a]=s,c[n]=s,H.call(c,E,O.os),h&&!c[a]&&D&&D.platform&&D.platform!="Unknown"&&(c[a]=D.platform.replace(/chrome os/i,ye).replace(/macos/i,ke)),c},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 E},this.setUA=function(c){return E=typeof c===B&&c.length>R?de(c,R):c,this},this.setUA(E),this};C.VERSION=x,C.BROWSER=ee([a,n,T]),C.CPU=ee([k]),C.DEVICE=ee([o,i,t,P,d,r,u,f,V]),C.ENGINE=C.OS=ee([a,n]),l.exports&&(N=l.exports=C),N.UAParser=C;var $=typeof m!==y&&(m.jQuery||m.Zepto);if($&&!$.ua){var te=new C;$.ua=te.getResult(),$.ua.get=function(){return te.getUA()},$.ua.set=function(p){te.setUA(p);var g=te.getResult();for(var b in g)$.ua[b]=g[b]}}})(typeof window=="object"?window:Le)})(me,me.exports);var Ue=me.exports;const qe=$e(Ue);function Te(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var l=qe(navigator.userAgent);if(l.browser.name==="WebKit")return"ios_webview"}catch(N){console.error(N)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function Ce(){return Te()==="ios_webview"}function Ae(){return Te()==="android_webview"}function I(){try{return window.self!==window.top}catch{return!0}}const je=3e3;let Fe=0,oe=null;function Xe(){return`req_${++Fe}_${Date.now()}`}function He(){return"APP_"+Math.random().toString(36).slice(2,10)}function Ge(l){oe=l}function be(){return oe||(oe=He()),oe}function L(l){I()&&window.parent.postMessage({...l,sender:be(),target:l.target||"DASHBOARD"},"*")}function Oe(l,N){return I()?new Promise(m=>{const s=Xe(),x=setTimeout(()=>{window.removeEventListener("message",v),m(null)},je);function v(_){const w=_.data;(w==null?void 0:w.type)==="DATA_RESPONSE"&&(w==null?void 0:w.requestId)===s&&(!w.target||w.target===be())&&(clearTimeout(x),window.removeEventListener("message",v),m(w.data??null))}window.addEventListener("message",v),L({type:"DATA_REQUEST",requestId:s,source:l,key:N})}):Promise.resolve(null)}function ue(l){return Oe("localStorage",l)}function We(l){return Oe("window",l)}const W=(l,N)=>{const m=l.__vccOpts||l;for(const[s,x]of N)m[s]=x;return m},Ke={class:"sky-header-container"},Ye={class:"topmenubox"},Ze={class:"header-left"},Je=["title"],Qe={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},et={class:"notPadding"},tt={class:"topmenu-title"},ot={key:0,class:"title-dropdown"},it={class:"title-dropdown-header"},nt=["onClick"],at={class:"pageName"},lt={class:"pageVisit"},rt={key:0,class:"topmenu-description"},st={class:"topmenubox-button"},dt={__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:""}},emits:["back","navigate"],setup(l,{emit:N}){const m=l;Ge(m.appId||be());const s=N,x=e.ref(null),v=e.ref(!1),_=e.ref([]),w=e.ref({});I()&&m.trackPageName&&L({type:"trackVisit",name:m.trackPageName,path:m.trackPagePath||`/${m.trackPageName}`});const y=e.ref(null);I()&&ue("rocketMode").then(r=>{y.value=r,L({type:"setRocketMode",value:!0})}),e.onUnmounted(()=>{P()}),I()&&We("lang").then(r=>{r!=null&&(w.value=r)});function S(r){try{if(!r)return;const f=typeof r=="string"?JSON.parse(r):r;f!=null&&f.pages&&(_.value=Object.values(f.pages))}catch{}}S(localStorage.componentStats),I()&&ue("componentStats").then(r=>{r!=null&&(localStorage.setItem("componentStats",JSON.stringify(r)),S(r))});const B=e.computed(()=>[...m.dropdownItems.length?m.dropdownItems:_.value].sort((f,V)=>V.lastVisit-f.lastVisit)),T=()=>{B.value.length&&(v.value=!v.value)},o=()=>{v.value=!1},a=r=>{s("navigate",r.path),I()&&L({type:"navigate",path:r.path}),o()},t=r=>{if(!r)return"";const f=w.value[r]||r;return f.charAt(0).toUpperCase()+f.slice(1)},i=r=>{const V=Date.now()-r,R=Math.floor(V/1e3),z=Math.floor(R/60),A=Math.floor(z/60),U=Math.floor(A/24);return U>0?`${U}д тому`:A>0?`${A}год тому`:z>0?`${z}хв тому`:`${R}с тому`},n=r=>{x.value&&!x.value.contains(r.target)&&o()};e.onMounted(()=>{document.addEventListener("click",n,!0)}),e.onUnmounted(()=>{document.removeEventListener("click",n,!0)});const k=e.computed(()=>m.backEvent||m.showBackButton&&I()),P=()=>{if(y.value!==null){const r=y.value===!0||y.value==="true";L({type:"setRocketMode",value:r})}},d=()=>B.value.find(r=>r.name!==m.trackPageName&&r.path),u=async()=>{if(m.backEvent)return P(),m.backEvent();let r=d();if(!r&&I()){const f=await ue("componentStats");f&&(S(f),r=d())}P(),L(r?{type:"navigate",path:r.path}:{type:"exit"})};return(r,f)=>(e.openBlock(),e.createElementBlock("header",Ke,[e.createElementVNode("div",Ye,[e.createElementVNode("div",Ze,[k.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn-back",onClick:u,title:l.backButtonTitle},[(e.openBlock(),e.createElementBlock("svg",Qe,[...f[0]||(f[0]=[e.createElementVNode("path",{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"},null,-1)])]))],8,Je)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"dropdownRef",ref:x,class:"titleAndDesc"},[e.createElementVNode("button",{class:e.normalizeClass(["title-dropdown-toggle",{"title-dropdown-toggle-active":B.value.length}]),onClick:T},[e.renderSlot(r.$slots,"title",{},()=>[e.createElementVNode("h4",et,[e.createElementVNode("span",tt,e.toDisplayString(l.title),1),B.value.length?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["arrow",{open:v.value}]),width:"12",height:"12",viewBox:"0 0 451.847 451.847",style:{"flex-shrink":"0"}},[...f[1]||(f[1]=[e.createElementVNode("path",{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"},null,-1)])],2)):e.createCommentVNode("",!0)])],!0)],2),v.value&&B.value.length?(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("div",it,e.toDisplayString(l.dropdownTitle),1),f[2]||(f[2]=e.createElementVNode("div",{class:"title-dropdown-divider"},null,-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(V,R)=>(e.openBlock(),e.createElementBlock("div",{key:R,class:"title-dropdown-item",onClick:z=>a(V)},[e.createElementVNode("p",at,e.toDisplayString(t(V.name)),1),e.createElementVNode("small",lt," ("+e.toDisplayString(l.visitLabel)+" "+e.toDisplayString(i(V.lastVisit))+") ",1)],8,nt))),128))])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"subtitle",{},()=>[l.subtitle?(e.openBlock(),e.createElementBlock("p",rt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],!0)],512)]),e.createElementVNode("div",st,[f[3]||(f[3]=e.createElementVNode("div",null,null,-1)),e.renderSlot(r.$slots,"default",{},void 0,!0),f[4]||(f[4]=e.createElementVNode("div",null,null,-1))])])]))}},ct=W(dt,[["__scopeId","data-v-73761f6b"]]);const ut={key:0,class:"sky-dialog-subtitle"},mt=["title"],bt={key:0,class:"sky-dialog-swipe-area"},wt={__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:"Закрити"},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},emits:["update:modelValue","close","save"],setup(l,{emit:N}){const m=e.useSlots(),s=l,x=N,v=e.ref(null),_=e.ref(null),w=e.ref(0),y=e.computed(()=>{try{return Ce()}catch{return!1}}),S=e.computed(()=>{try{return Ae()}catch{return!1}}),B=e.computed(()=>s.hasButtons!==null?s.hasButtons:!!m.buttons),T=()=>{x("update:modelValue",!1),x("close")},o=n=>{n.key==="Escape"&&s.closeOnEsc&&s.modelValue&&T(),n.key==="Enter"&&s.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(w.value=n.touches[0].clientX)},t=n=>{w.value>0&&w.value<35&&n.changedTouches[0].clientX-w.value>50&&T(),w.value=0},i=()=>{if(!(!S.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const k=n/window.devicePixelRatio;v.value.style.paddingTop=k+"px"}}}catch{}};return e.watch(()=>s.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{i()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",o),window.addEventListener("resize",i)}),e.onUnmounted(()=>{document.removeEventListener("keydown",o),window.removeEventListener("resize",i),document.body.style.overflow=""}),(n,k)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:l.enableAnimation?"dialog-slide":""},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-classic",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-overlay",{"sky-dialog-animate":l.enableAnimation}])},[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",ut,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2),e.createElementVNode("button",{class:"sky-dialog-close",title:l.closeText,onClick:T},[...k[0]||(k[0]=[e.createElementVNode("svg",{viewBox:"0 0 16 16",width:"16",height:"16"},[e.createElementVNode("line",{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}),e.createElementVNode("line",{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"})],-1)])],8,mt),k[1]||(k[1]=e.createElementVNode("div",{class:"sky-dialog-clearfix"},null,-1)),e.createElementVNode("div",{ref_key:"dialogPaper",ref:_,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!B.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",bt)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),B.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sky-dialog-footer",{"sky-dialog-footer-animate":l.enableAnimation}])},[e.renderSlot(n.$slots,"buttons",{},void 0,!0)],2)):e.createCommentVNode("",!0)],512)],2)],4)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},_e=W(wt,[["__scopeId","data-v-25f8ff74"]]);const ft={class:"sky-dialog-header"},pt=["title"],vt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},gt={key:0,class:"sky-dialog-subtitle"},ht={key:0,class:"sky-dialog-swipe-area"},yt={__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:"Назад"},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},emits:["update:modelValue","close","save"],setup(l,{emit:N}){const m=e.useSlots(),s=l,x=N,v=e.ref(null),_=e.ref(null),w=e.ref(0),y=e.computed(()=>{try{return Ce()}catch{return!1}}),S=e.computed(()=>{try{return Ae()}catch{return!1}}),B=e.computed(()=>s.hasButtons!==null?s.hasButtons:!!m.buttons),T=()=>{x("update:modelValue",!1),x("close")},o=n=>{n.key==="Escape"&&s.closeOnEsc&&s.modelValue&&T(),n.key==="Enter"&&s.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(w.value=n.touches[0].clientX)},t=n=>{w.value>0&&w.value<35&&n.changedTouches[0].clientX-w.value>50&&T(),w.value=0},i=()=>{if(!(!S.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const k=n/window.devicePixelRatio;v.value.style.paddingTop=k+"px"}}}catch{}};return e.watch(()=>s.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{i()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",o),window.addEventListener("resize",i)}),e.onUnmounted(()=>{document.removeEventListener("keydown",o),window.removeEventListener("resize",i),document.body.style.overflow=""}),(n,k)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:l.enableAnimation?"dialog-slide":""},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-next",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-overlay",{"sky-dialog-animate":l.enableAnimation}])},[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",ft,[e.createElementVNode("button",{class:"sky-dialog-back",title:l.closeText,onClick:T},[(e.openBlock(),e.createElementBlock("svg",vt,[...k[0]||(k[0]=[e.createElementVNode("path",{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"},null,-1)])]))],8,pt),e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",gt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",{ref_key:"dialogPaper",ref:_,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!B.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",ht)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),B.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sky-dialog-footer",{"sky-dialog-footer-animate":l.enableAnimation}])},[e.renderSlot(n.$slots,"buttons",{},void 0,!0)],2)):e.createCommentVNode("",!0)],512)],2)],4)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},Ve=W(yt,[["__scopeId","data-v-9452cab7"]]),kt={__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:l=>[null,"next","classic"].includes(l)}},emits:["update:modelValue","close","save"],setup(l,{emit:N}){const m=l,s=N,x=e.computed({get:()=>m.modelValue,set:w=>s("update:modelValue",w)}),v=e.ref(!0);e.onMounted(()=>{try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?v.value=!1:v.value=!0}catch{v.value=!0}});const _=e.computed(()=>m.mode==="next"?Ve:m.mode==="classic"?_e:v.value?Ve:_e);return(w,y)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_.value),{modelValue:x.value,"onUpdate:modelValue":y[0]||(y[0]=S=>x.value=S),title:l.title,subtitle:l.subtitle,"z-index":l.zIndex,"close-text":l.closeText,"enable-animation":l.enableAnimation,"close-on-esc":l.closeOnEsc,"has-buttons":!!w.$slots.buttons,onClose:y[1]||(y[1]=S=>w.$emit("close")),onSave:y[2]||(y[2]=S=>w.$emit("save"))},e.createSlots({default:e.withCtx(()=>[e.renderSlot(w.$slots,"default")]),_:2},[w.$slots.buttons?{name:"buttons",fn:e.withCtx(()=>[e.renderSlot(w.$slots,"buttons")]),key:"0"}:void 0]),1064,["modelValue","title","subtitle","z-index","close-text","enable-animation","close-on-esc","has-buttons"]))}},Et={props:{to:{type:String,default:"body"}}};function xt(l,N,m,s,x,v){return e.openBlock(),e.createBlock(e.Teleport,{to:m.to},[e.renderSlot(l.$slots,"default")],8,["to"])}const Me=W(Et,[["render",xt]]);const St={class:"sky-modal-header"},Nt=["title"],Bt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},_t={class:"sky-modal-title-wrapper"},Vt={class:"sky-modal-title"},Tt={key:0,class:"sky-modal-subtitle"},Ct={class:"sky-modal-body"},At={key:0,class:"sky-modal-footer"},Ot={__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%"}},emits:["update:modelValue","close"],setup(l,{emit:N}){const m=l,s=N,x=e.computed(()=>({width:m.width,height:m.height})),v=()=>{s("update:modelValue",!1),s("close")},_=()=>{m.closeOnOverlay&&v()},w=y=>{y.key==="Escape"&&m.closeOnEsc&&m.modelValue&&v()};return e.watch(()=>m.modelValue,y=>{y?document.body.style.overflow="hidden":document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",w)}),e.onUnmounted(()=>{document.removeEventListener("keydown",w),document.body.style.overflow=""}),(y,S)=>(e.openBlock(),e.createBlock(Me,{to:"body"},{default:e.withCtx(()=>[e.createVNode(e.Transition,null,{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-modal-overlay",onClick:e.withModifiers(_,["self"])},[e.createElementVNode("div",{class:"sky-modal",style:e.normalizeStyle(x.value)},[e.createElementVNode("div",St,[e.createElementVNode("button",{class:"sky-modal-back",onClick:v,title:l.closeTitle},[(e.openBlock(),e.createElementBlock("svg",Bt,[...S[0]||(S[0]=[e.createElementVNode("path",{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"},null,-1)])]))],8,Nt),e.createElementVNode("div",_t,[e.createElementVNode("h4",Vt,e.toDisplayString(l.title),1),l.subtitle?(e.openBlock(),e.createElementBlock("div",Tt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ct,[e.renderSlot(y.$slots,"default",{},void 0,!0)]),y.$slots.footer?(e.openBlock(),e.createElementBlock("div",At,[S[1]||(S[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(y.$slots,"footer",{},void 0,!0),S[2]||(S[2]=e.createElementVNode("div",null,null,-1))])):e.createCommentVNode("",!0)],4)])):e.createCommentVNode("",!0)]),_:3})]),_:3}))}},Mt=W(Ot,[["__scopeId","data-v-f35c4457"]]);exports.BaseTeleport=Me;exports.Dialog=kt;exports.Header=ct;exports.Modal=Mt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");var Le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $e(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var me={exports:{}};(function(l,_){(function(m,s){var x="1.0.41",v="",B="?",b="function",y="undefined",S="object",N="string",T="major",o="model",a="name",t="type",i="vendor",n="version",k="architecture",P="console",d="mobile",u="tablet",r="smarttv",p="wearable",V="embedded",R=500,z="Amazon",O="Apple",U="ASUS",be="BlackBerry",K="Browser",Y="Chrome",Pe="Edge",Z="Firefox",J="Google",pe="Honor",fe="Huawei",ze="Lenovo",Q="LG",ie="Microsoft",ne="Motorola",ae="Nvidia",ve="OnePlus",q="Opera",le="OPPO",j="Samsung",ge="Sharp",F="Sony",re="Xiaomi",se="Zebra",he="Facebook",ye="Chromium OS",ke="Mac OS",Ee=" Browser",De=function(f,g){var w={};for(var E in f)g[E]&&g[E].length%2===0?w[E]=g[E].concat(f[E]):w[E]=f[E];return w},ee=function(f){for(var g={},w=0;w<f.length;w++)g[f[w].toUpperCase()]=f[w];return g},xe=function(f,g){return typeof f===N?X(g).indexOf(X(f))!==-1:!1},X=function(f){return f.toLowerCase()},Ie=function(f){return typeof f===N?f.replace(/[^\d\.]/g,v).split(".")[0]:s},de=function(f,g){if(typeof f===N)return f=f.replace(/^\s\s*/,v),typeof g===y?f:f.substring(0,R)},H=function(f,g){for(var w=0,E,D,A,h,c,M;w<g.length&&!c;){var ce=g[w],Ne=g[w+1];for(E=D=0;E<ce.length&&!c&&ce[E];)if(c=ce[E++].exec(f),c)for(A=0;A<Ne.length;A++)M=c[++D],h=Ne[A],typeof h===S&&h.length>0?h.length===2?typeof h[1]==b?this[h[0]]=h[1].call(this,M):this[h[0]]=h[1]:h.length===3?typeof h[1]===b&&!(h[1].exec&&h[1].test)?this[h[0]]=M?h[1].call(this,M,h[2]):s:this[h[0]]=M?M.replace(h[1],h[2]):s:h.length===4&&(this[h[0]]=M?h[3].call(this,M.replace(h[1],h[2])):s):this[h]=M||s;w+=2}},G=function(f,g){for(var w in g)if(typeof g[w]===S&&g[w].length>0){for(var E=0;E<g[w].length;E++)if(xe(g[w][E],f))return w===B?s:w}else if(xe(g[w],f))return w===B?s:w;return g.hasOwnProperty("*")?g["*"]:f},Re={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Se={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"},_e={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,q+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,q+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,q]],[/\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"+K]],[/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 "+K]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+K],n],[/\bfocus\/([\w\.]+)/i],[n,[a,Z+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,q+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,q+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+Ee]],[/fxios\/([\w\.-]+)/i],[n,[a,Z]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+Ee],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,j+" 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,he],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,Y+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,Y+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android "+K]],[/(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,G,Re]],[/(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,Z+" 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],[[k,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[k,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[k,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[k,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[k,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[k,/ower/,v,X]],[/ sun4\w[;\)]/i],[[k,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[k,X]]],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],[o,[i,j],[t,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],[o,[i,j],[t,d]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[o,[i,O],[t,d]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[o,[i,O],[t,u]],[/(macintosh);/i],[o,[i,O]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[o,[i,ge],[t,d]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[o,[i,pe],[t,u]],[/honor([-\w ]+)[;\)]/i],[o,[i,pe],[t,d]],[/\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],[o,[i,fe],[t,u]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[o,[i,fe],[t,d]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[o,/_/g," "],[i,re],[t,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],[[o,/_/g," "],[i,re],[t,d]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[o,[i,le],[t,d]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[o,[i,G,{OnePlus:["304","403","203"],"*":le}],[t,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[o,[i,"Vivo"],[t,d]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[o,[i,"Realme"],[t,d]],[/\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],[o,[i,ne],[t,d]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[o,[i,ne],[t,u]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[o,[i,Q],[t,u]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[o,[i,Q],[t,d]],[/(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],[o,[i,ze],[t,u]],[/(nokia) (t[12][01])/i],[i,o,[t,u]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[o,/_/g," "],[t,d],[i,"Nokia"]],[/(pixel (c|tablet))\b/i],[o,[i,J],[t,u]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[o,[i,J],[t,d]],[/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],[o,[i,F],[t,d]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[o,"Xperia Tablet"],[i,F],[t,u]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[o,[i,ve],[t,d]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[o,[i,z],[t,u]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[o,/(.+)/g,"Fire Phone $1"],[i,z],[t,d]],[/(playbook);[-\w\),; ]+(rim)/i],[o,i,[t,u]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[o,[i,be],[t,d]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[o,[i,U],[t,u]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[o,[i,U],[t,d]],[/(nexus 9)/i],[o,[i,"HTC"],[t,u]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[i,[o,/_/g," "],[t,d]],[/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],[o,[i,"TCL"],[t,u]],[/(itel) ((\w+))/i],[[i,X],o,[t,G,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[o,[i,"Acer"],[t,u]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[o,[i,"Meizu"],[t,d]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[o,[i,"Ulefone"],[t,d]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[o,[i,"Energizer"],[t,d]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[o,[i,"Cat"],[t,d]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[o,[i,"Smartfren"],[t,d]],[/droid.+; (a(?:015|06[35]|142p?))/i],[o,[i,"Nothing"],[t,d]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[o,[i,"Archos"],[t,u]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[o,[i,"Archos"],[t,d]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[i,o,[t,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],[i,o,[t,d]],[/(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],[i,o,[t,u]],[/(surface duo)/i],[o,[i,ie],[t,u]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[o,[i,"Fairphone"],[t,d]],[/(u304aa)/i],[o,[i,"AT&T"],[t,d]],[/\bsie-(\w*)/i],[o,[i,"Siemens"],[t,d]],[/\b(rct\w+) b/i],[o,[i,"RCA"],[t,u]],[/\b(venue[\d ]{2,7}) b/i],[o,[i,"Dell"],[t,u]],[/\b(q(?:mv|ta)\w+) b/i],[o,[i,"Verizon"],[t,u]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[o,[i,"Barnes & Noble"],[t,u]],[/\b(tm\d{3}\w+) b/i],[o,[i,"NuVision"],[t,u]],[/\b(k88) b/i],[o,[i,"ZTE"],[t,u]],[/\b(nx\d{3}j) b/i],[o,[i,"ZTE"],[t,d]],[/\b(gen\d{3}) b.+49h/i],[o,[i,"Swiss"],[t,d]],[/\b(zur\d{3}) b/i],[o,[i,"Swiss"],[t,u]],[/\b((zeki)?tb.*\b) b/i],[o,[i,"Zeki"],[t,u]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[i,"Dragon Touch"],o,[t,u]],[/\b(ns-?\w{0,9}) b/i],[o,[i,"Insignia"],[t,u]],[/\b((nxa|next)-?\w{0,9}) b/i],[o,[i,"NextBook"],[t,u]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[i,"Voice"],o,[t,d]],[/\b(lvtel\-)?(v1[12]) b/i],[[i,"LvTel"],o,[t,d]],[/\b(ph-1) /i],[o,[i,"Essential"],[t,d]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[o,[i,"Envizen"],[t,u]],[/\b(trio[-\w\. ]+) b/i],[o,[i,"MachSpeed"],[t,u]],[/\btu_(1491) b/i],[o,[i,"Rotor"],[t,u]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[o,[i,ae],[t,u]],[/(sprint) (\w+)/i],[i,o,[t,d]],[/(kin\.[onetw]{3})/i],[[o,/\./g," "],[i,ie],[t,d]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[o,[i,se],[t,u]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[o,[i,se],[t,d]],[/smart-tv.+(samsung)/i],[i,[t,r]],[/hbbtv.+maple;(\d+)/i],[[o,/^/,"SmartTV"],[i,j],[t,r]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[i,Q],[t,r]],[/(apple) ?tv/i],[i,[o,O+" TV"],[t,r]],[/crkey/i],[[o,Y+"cast"],[i,J],[t,r]],[/droid.+aft(\w+)( bui|\))/i],[o,[i,z],[t,r]],[/(shield \w+ tv)/i],[o,[i,ae],[t,r]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[o,[i,ge],[t,r]],[/(bravia[\w ]+)( bui|\))/i],[o,[i,F],[t,r]],[/(mi(tv|box)-?\w+) bui/i],[o,[i,re],[t,r]],[/Hbbtv.*(technisat) (.*);/i],[i,o,[t,r]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[i,de],[o,de],[t,r]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[o,[t,r]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,r]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[i,o,[t,P]],[/droid.+; (shield)( bui|\))/i],[o,[i,ae],[t,P]],[/(playstation \w+)/i],[o,[i,F],[t,P]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[o,[i,ie],[t,P]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[o,[i,j],[t,p]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[i,o,[t,p]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[o,[i,le],[t,p]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[o,[i,O],[t,p]],[/(opwwe\d{3})/i],[o,[i,ve],[t,p]],[/(moto 360)/i],[o,[i,ne],[t,p]],[/(smartwatch 3)/i],[o,[i,F],[t,p]],[/(g watch r)/i],[o,[i,Q],[t,p]],[/droid.+; (wt63?0{2,3})\)/i],[o,[i,se],[t,p]],[/droid.+; (glass) \d/i],[o,[i,J],[t,p]],[/(pico) (4|neo3(?: link|pro)?)/i],[i,o,[t,p]],[/; (quest( \d| pro)?)/i],[o,[i,he],[t,p]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[i,[t,V]],[/(aeobc)\b/i],[o,[i,z],[t,V]],[/(homepod).+mac os/i],[o,[i,O],[t,V]],[/windows iot/i],[[t,V]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[o,[t,d]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[o,[t,u]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,u]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,d]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[o,[i,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,Pe+"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,G,Se]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,G,Se],[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,Z+" 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,Y+"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]]},C=function(f,g){if(typeof f===S&&(g=f,f=s),!(this instanceof C))return new C(f,g).getResult();var w=typeof m!==y&&m.navigator?m.navigator:s,E=f||(w&&w.userAgent?w.userAgent:v),D=w&&w.userAgentData?w.userAgentData:s,A=g?De(_e,g):_e,h=w&&w.userAgent==E;return this.getBrowser=function(){var c={};return c[a]=s,c[n]=s,H.call(c,E,A.browser),c[T]=Ie(c[n]),h&&w&&w.brave&&typeof w.brave.isBrave==b&&(c[a]="Brave"),c},this.getCPU=function(){var c={};return c[k]=s,H.call(c,E,A.cpu),c},this.getDevice=function(){var c={};return c[i]=s,c[o]=s,c[t]=s,H.call(c,E,A.device),h&&!c[t]&&D&&D.mobile&&(c[t]=d),h&&c[o]=="Macintosh"&&w&&typeof w.standalone!==y&&w.maxTouchPoints&&w.maxTouchPoints>2&&(c[o]="iPad",c[t]=u),c},this.getEngine=function(){var c={};return c[a]=s,c[n]=s,H.call(c,E,A.engine),c},this.getOS=function(){var c={};return c[a]=s,c[n]=s,H.call(c,E,A.os),h&&!c[a]&&D&&D.platform&&D.platform!="Unknown"&&(c[a]=D.platform.replace(/chrome os/i,ye).replace(/macos/i,ke)),c},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 E},this.setUA=function(c){return E=typeof c===N&&c.length>R?de(c,R):c,this},this.setUA(E),this};C.VERSION=x,C.BROWSER=ee([a,n,T]),C.CPU=ee([k]),C.DEVICE=ee([o,i,t,P,d,r,u,p,V]),C.ENGINE=C.OS=ee([a,n]),l.exports&&(_=l.exports=C),_.UAParser=C;var $=typeof m!==y&&(m.jQuery||m.Zepto);if($&&!$.ua){var te=new C;$.ua=te.getResult(),$.ua.get=function(){return te.getUA()},$.ua.set=function(f){te.setUA(f);var g=te.getResult();for(var w in g)$.ua[w]=g[w]}}})(typeof window=="object"?window:Le)})(me,me.exports);var Ue=me.exports;const qe=$e(Ue);function Te(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var l=qe(navigator.userAgent);if(l.browser.name==="WebKit")return"ios_webview"}catch(_){console.error(_)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function Ce(){return Te()==="ios_webview"}function Oe(){return Te()==="android_webview"}function I(){try{return window.self!==window.top}catch{return!0}}const je=3e3;let Fe=0,oe=null;function Xe(){return`req_${++Fe}_${Date.now()}`}function He(){return"APP_"+Math.random().toString(36).slice(2,10)}function Ge(l){oe=l}function we(){return oe||(oe=He()),oe}function L(l){I()&&window.parent.postMessage({...l,sender:we(),target:l.target||"DASHBOARD"},"*")}function Ae(l,_){return I()?new Promise(m=>{const s=Xe(),x=setTimeout(()=>{window.removeEventListener("message",v),m(null)},je);function v(B){const b=B.data;(b==null?void 0:b.type)==="DATA_RESPONSE"&&(b==null?void 0:b.requestId)===s&&(!b.target||b.target===we())&&(clearTimeout(x),window.removeEventListener("message",v),m(b.data??null))}window.addEventListener("message",v),L({type:"DATA_REQUEST",requestId:s,source:l,key:_})}):Promise.resolve(null)}function ue(l){return Ae("localStorage",l)}function We(l){return Ae("window",l)}const W=(l,_)=>{const m=l.__vccOpts||l;for(const[s,x]of _)m[s]=x;return m},Ke={class:"sky-header-container"},Ye={class:"topmenubox"},Ze={class:"header-left"},Je=["title"],Qe={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},et={class:"notPadding"},tt={class:"topmenu-title"},ot={key:0,class:"title-dropdown"},it={class:"title-dropdown-header"},nt=["onClick"],at={class:"pageName"},lt={class:"pageVisit"},rt={key:0,class:"topmenu-description"},st={class:"topmenubox-button"},dt={__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:""}},emits:["back","navigate"],setup(l,{emit:_}){const m=l;Ge(m.appId||we());const s=_,x=e.ref(null),v=e.ref(!1),B=e.ref([]),b=e.ref({});I()&&m.trackPageName&&L({type:"trackVisit",name:m.trackPageName,path:m.trackPagePath||`/${m.trackPageName}`});const y=e.ref(null);I()&&ue("rocketMode").then(r=>{y.value=r,L({type:"setRocketMode",value:!0})}),e.onUnmounted(()=>{P()}),I()&&We("lang").then(r=>{r!=null&&(b.value=r)});function S(r){try{if(!r)return;const p=typeof r=="string"?JSON.parse(r):r;p!=null&&p.pages&&(B.value=Object.values(p.pages))}catch{}}S(localStorage.componentStats),I()&&ue("componentStats").then(r=>{r!=null&&(localStorage.setItem("componentStats",JSON.stringify(r)),S(r))});const N=e.computed(()=>[...m.dropdownItems.length?m.dropdownItems:B.value].sort((p,V)=>V.lastVisit-p.lastVisit)),T=()=>{N.value.length&&(v.value=!v.value)},o=()=>{v.value=!1},a=r=>{s("navigate",r.path),I()&&L({type:"navigate",path:r.path}),o()},t=r=>{if(!r)return"";const p=b.value[r]||r;return p.charAt(0).toUpperCase()+p.slice(1)},i=r=>{const V=Date.now()-r,R=Math.floor(V/1e3),z=Math.floor(R/60),O=Math.floor(z/60),U=Math.floor(O/24);return U>0?`${U}д тому`:O>0?`${O}год тому`:z>0?`${z}хв тому`:`${R}с тому`},n=r=>{x.value&&!x.value.contains(r.target)&&o()};e.onMounted(()=>{document.addEventListener("click",n,!0)}),e.onUnmounted(()=>{document.removeEventListener("click",n,!0)});const k=e.computed(()=>m.backEvent||m.showBackButton&&I()),P=()=>{if(y.value!==null){const r=y.value===!0||y.value==="true";L({type:"setRocketMode",value:r})}},d=()=>N.value.find(r=>r.name!==m.trackPageName&&r.path),u=async()=>{if(m.backEvent)return P(),m.backEvent();let r=d();if(!r&&I()){const p=await ue("componentStats");p&&(S(p),r=d())}P(),L(r?{type:"navigate",path:r.path}:{type:"exit"})};return(r,p)=>(e.openBlock(),e.createElementBlock("header",Ke,[e.createElementVNode("div",Ye,[e.createElementVNode("div",Ze,[k.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn-back",onClick:u,title:l.backButtonTitle},[(e.openBlock(),e.createElementBlock("svg",Qe,[...p[0]||(p[0]=[e.createElementVNode("path",{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"},null,-1)])]))],8,Je)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"dropdownRef",ref:x,class:"titleAndDesc"},[e.createElementVNode("button",{class:e.normalizeClass(["title-dropdown-toggle",{"title-dropdown-toggle-active":N.value.length}]),onClick:T},[e.renderSlot(r.$slots,"title",{},()=>[e.createElementVNode("h4",et,[e.createElementVNode("span",tt,e.toDisplayString(l.title),1),N.value.length?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["arrow",{open:v.value}]),width:"12",height:"12",viewBox:"0 0 451.847 451.847",style:{"flex-shrink":"0"}},[...p[1]||(p[1]=[e.createElementVNode("path",{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"},null,-1)])],2)):e.createCommentVNode("",!0)])],!0)],2),v.value&&N.value.length?(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("div",it,e.toDisplayString(l.dropdownTitle),1),p[2]||(p[2]=e.createElementVNode("div",{class:"title-dropdown-divider"},null,-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(V,R)=>(e.openBlock(),e.createElementBlock("div",{key:R,class:"title-dropdown-item",onClick:z=>a(V)},[e.createElementVNode("p",at,e.toDisplayString(t(V.name)),1),e.createElementVNode("small",lt," ("+e.toDisplayString(l.visitLabel)+" "+e.toDisplayString(i(V.lastVisit))+") ",1)],8,nt))),128))])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"subtitle",{},()=>[l.subtitle?(e.openBlock(),e.createElementBlock("p",rt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],!0)],512)]),e.createElementVNode("div",st,[p[3]||(p[3]=e.createElementVNode("div",null,null,-1)),e.renderSlot(r.$slots,"default",{},void 0,!0),p[4]||(p[4]=e.createElementVNode("div",null,null,-1))])])]))}},ct=W(dt,[["__scopeId","data-v-73761f6b"]]);const ut={class:"sky-dialog-overlay"},mt={key:0,class:"sky-dialog-subtitle"},wt=["title"],bt={key:0,class:"sky-dialog-swipe-area"},pt={key:0,class:"sky-dialog-footer"},ft={__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}},emits:["update:modelValue","close","save"],setup(l,{emit:_}){const m=e.useSlots(),s=l,x=_,v=e.ref(null),B=e.ref(null),b=e.ref(0),y=e.computed(()=>{try{return Ce()}catch{return!1}}),S=e.computed(()=>{try{return Oe()}catch{return!1}}),N=e.computed(()=>s.hasButtons!==null?s.hasButtons:!!m.buttons),T=()=>{x("update:modelValue",!1),x("close")},o=n=>{n.key==="Escape"&&s.closeOnEsc&&s.modelValue&&T(),n.key==="Enter"&&s.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(b.value=n.touches[0].clientX)},t=n=>{b.value>0&&b.value<35&&n.changedTouches[0].clientX-b.value>50&&T(),b.value=0},i=()=>{if(!(!S.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const k=n/window.devicePixelRatio;v.value.style.paddingTop=k+"px"}}}catch{}};return e.watch(()=>s.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{i()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",o),window.addEventListener("resize",i)}),e.onUnmounted(()=>{document.removeEventListener("keydown",o),window.removeEventListener("resize",i),document.body.style.overflow=""}),(n,k)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-classic",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",ut,[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",mt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2),e.createElementVNode("button",{class:"sky-dialog-close",title:l.closeText,onClick:T},[...k[0]||(k[0]=[e.createElementVNode("svg",{viewBox:"0 0 16 16",width:"16",height:"16"},[e.createElementVNode("line",{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}),e.createElementVNode("line",{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"})],-1)])],8,wt),k[1]||(k[1]=e.createElementVNode("div",{class:"sky-dialog-clearfix"},null,-1)),e.createElementVNode("div",{ref_key:"dialogPaper",ref:B,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!N.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",bt)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),N.value?(e.openBlock(),e.createElementBlock("div",pt,[e.renderSlot(n.$slots,"buttons",{},void 0,!0)])):e.createCommentVNode("",!0)],512)])],4)):e.createCommentVNode("",!0)]))}},Be=W(ft,[["__scopeId","data-v-d76f070e"]]);const vt={class:"sky-dialog-overlay"},gt={class:"sky-dialog-header"},ht=["title"],yt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},kt={key:0,class:"sky-dialog-subtitle"},Et={key:0,class:"sky-dialog-swipe-area"},xt={key:0,class:"sky-dialog-footer"},St={__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}},emits:["update:modelValue","close","save"],setup(l,{emit:_}){const m=e.useSlots(),s=l,x=_,v=e.ref(null),B=e.ref(null),b=e.ref(0),y=e.computed(()=>{try{return Ce()}catch{return!1}}),S=e.computed(()=>{try{return Oe()}catch{return!1}}),N=e.computed(()=>s.hasButtons!==null?s.hasButtons:!!m.buttons),T=()=>{x("update:modelValue",!1),x("close")},o=n=>{n.key==="Escape"&&s.closeOnEsc&&s.modelValue&&T(),n.key==="Enter"&&s.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(b.value=n.touches[0].clientX)},t=n=>{b.value>0&&b.value<35&&n.changedTouches[0].clientX-b.value>50&&T(),b.value=0},i=()=>{if(!(!S.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const k=n/window.devicePixelRatio;v.value.style.paddingTop=k+"px"}}}catch{}};return e.watch(()=>s.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{i()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",o),window.addEventListener("resize",i)}),e.onUnmounted(()=>{document.removeEventListener("keydown",o),window.removeEventListener("resize",i),document.body.style.overflow=""}),(n,k)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-next",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",vt,[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",gt,[e.createElementVNode("button",{class:"sky-dialog-back",title:l.closeText,onClick:T},[(e.openBlock(),e.createElementBlock("svg",yt,[...k[0]||(k[0]=[e.createElementVNode("path",{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"},null,-1)])]))],8,ht),e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",kt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",{ref_key:"dialogPaper",ref:B,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!N.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",Et)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),N.value?(e.openBlock(),e.createElementBlock("div",xt,[e.renderSlot(n.$slots,"buttons",{},void 0,!0)])):e.createCommentVNode("",!0)],512)])],4)):e.createCommentVNode("",!0)]))}},Ve=W(St,[["__scopeId","data-v-8e144f41"]]),_t={__name:"Dialog",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:l=>[null,"next","classic"].includes(l)}},emits:["update:modelValue","close","save"],setup(l,{emit:_}){const m=l,s=_,x=e.computed({get:()=>m.modelValue,set:b=>s("update:modelValue",b)}),v=e.ref(!0);e.onMounted(()=>{try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?v.value=!1:v.value=!0}catch{v.value=!0}});const B=e.computed(()=>m.mode==="next"?Ve:m.mode==="classic"?Be:v.value?Ve:Be);return(b,y)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value),{modelValue:x.value,"onUpdate:modelValue":y[0]||(y[0]=S=>x.value=S),title:l.title,subtitle:l.subtitle,"z-index":l.zIndex,"close-text":l.closeText,"close-on-esc":l.closeOnEsc,"has-buttons":!!b.$slots.buttons,onClose:y[1]||(y[1]=S=>b.$emit("close")),onSave:y[2]||(y[2]=S=>b.$emit("save"))},e.createSlots({default:e.withCtx(()=>[e.renderSlot(b.$slots,"default")]),_:2},[b.$slots.buttons?{name:"buttons",fn:e.withCtx(()=>[e.renderSlot(b.$slots,"buttons")]),key:"0"}:void 0]),1064,["modelValue","title","subtitle","z-index","close-text","close-on-esc","has-buttons"]))}},Nt={props:{to:{type:String,default:"body"}}};function Bt(l,_,m,s,x,v){return e.openBlock(),e.createBlock(e.Teleport,{to:m.to},[e.renderSlot(l.$slots,"default")],8,["to"])}const Me=W(Nt,[["render",Bt]]);const Vt={class:"sky-modal-header"},Tt=["title"],Ct={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},Ot={class:"sky-modal-title-wrapper"},At={class:"sky-modal-title"},Mt={key:0,class:"sky-modal-subtitle"},Pt={class:"sky-modal-body"},zt={key:0,class:"sky-modal-footer"},Dt={__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%"}},emits:["update:modelValue","close"],setup(l,{emit:_}){const m=l,s=_,x=e.computed(()=>({width:m.width,height:m.height})),v=()=>{s("update:modelValue",!1),s("close")},B=()=>{m.closeOnOverlay&&v()},b=y=>{y.key==="Escape"&&m.closeOnEsc&&m.modelValue&&v()};return e.watch(()=>m.modelValue,y=>{y?document.body.style.overflow="hidden":document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",b)}),e.onUnmounted(()=>{document.removeEventListener("keydown",b),document.body.style.overflow=""}),(y,S)=>(e.openBlock(),e.createBlock(Me,{to:"body"},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-modal-overlay",onClick:e.withModifiers(B,["self"])},[e.createElementVNode("div",{class:"sky-modal",style:e.normalizeStyle(x.value)},[e.createElementVNode("div",Vt,[e.createElementVNode("button",{class:"sky-modal-back",onClick:v,title:l.closeTitle},[(e.openBlock(),e.createElementBlock("svg",Ct,[...S[0]||(S[0]=[e.createElementVNode("path",{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"},null,-1)])]))],8,Tt),e.createElementVNode("div",Ot,[e.createElementVNode("h4",At,e.toDisplayString(l.title),1),l.subtitle?(e.openBlock(),e.createElementBlock("div",Mt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Pt,[e.renderSlot(y.$slots,"default",{},void 0,!0)]),y.$slots.footer?(e.openBlock(),e.createElementBlock("div",zt,[S[1]||(S[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(y.$slots,"footer",{},void 0,!0),S[2]||(S[2]=e.createElementVNode("div",null,null,-1))])):e.createCommentVNode("",!0)],4)])):e.createCommentVNode("",!0)]),_:3}))}},It=W(Dt,[["__scopeId","data-v-f18e26e2"]]);exports.BaseTeleport=Me;exports.Dialog=_t;exports.Header=ct;exports.Modal=It;