Files
appco_dist/.output/public/_nuxt/C6Lfa4XD.js
T

2 lines
14 KiB
JavaScript
Raw Normal View History

2026-03-03 20:40:54 +03:30
import{as as _e,at as Ce,au as Me,av as Ve,aw as Te,ax as je,ay as We,az as qe,aA as Ne,r as Ie,aB as le,K as X,J as Re,s as De,a0 as ie,aC as N,aD as de,af as He,d as $e,aE as ze,l as _,aF as Ke,aG as Ue,aH as Xe,aI as Ye,D as Ge,aJ as fe,aK as Qe,aL as he,aM as Z,aN as B,aO as me,aP as ge,aQ as Ze,aR as ne,aS as Je}from"./CE4SaZgW.js";import{t as ve,v as Be,d as ke,_ as et,u as tt,a as nt,c as pe,b as ae,g as be,e as rt}from"./DSWAPs-i.js";import{i as Le}from"./DFL6LqjW.js";import{S as it,c as ye}from"./0N7JoioX.js";import{a as at}from"./BK6U06JP.js";import{i as lt,b as ot,l as st}from"./B0tUBnBT.js";import{i as ut}from"./BQKhYWGC.js";import{f as ct}from"./DZnIL_2I.js";import{u as dt,F as ce}from"./CjPHwh7J.js";function we(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function Fe(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function oe(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Fe(n.overflowY,t)||Fe(n.overflowX,t)||(function(a){var r=(function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}})(a);return!!r&&(r.clientHeight<a.scrollHeight||r.clientWidth<a.scrollWidth)})(e)}return!1}function re(e,t,n,a,r,i,u,h){return i<e&&u>t||i>e&&u<t?0:i<=e&&h<=n||u>=t&&h>=n?i-e-a:u>t&&h<n||i<e&&h>n?u-t+r:0}var Pe=function(e,t){var n=window,a=t.scrollMode,r=t.block,i=t.inline,u=t.boundary,h=t.skipOverflowHiddenElements,b=typeof u=="function"?u:function(Ae){return Ae!==u};if(!we(e))throw new TypeError("Invalid target");for(var O,k,E=document.scrollingElement||document.documentElement,M=[],w=e;we(w)&&b(w);){if((w=(k=(O=w).parentElement)==null?O.getRootNode().host||null:k)===E){M.push(w);break}w!=null&&w===document.body&&oe(w)&&!oe(document.documentElement)||w!=null&&oe(w,h)&&M.push(w)}for(var T=n.visualViewport?n.visualViewport.width:innerWidth,L=n.visualViewport?n.visualViewport.height:innerHeight,C=window.scrollX||pageXOffset,I=window.scrollY||pageYOffset,A=e.getBoundingClientRect(),o=A.height,l=A.width,g=A.top,c=A.right,f=A.bottom,d=A.left,F=r==="start"||r==="nearest"?g:r==="end"?f:g+o/2,v=i==="center"?d+l/2:i==="end"?c:d,P=[],V=0;V<M.length;V++){var p=M[V],j=p.getBoundingClientRect(),R=j.height,D=j.width,s=j.top,m=j.right,y=j.bottom,S=j.left;if(a==="if-needed"&&g>=0&&d>=0&&f<=L&&c<=T&&g>=s&&f<=y&&d>=S&&c<=m)return P;var q=getComputedStyle(p),$=parseInt(q.borderLeftWidth,10),U=parseInt(q.borderTopWidth,10),W=parseInt(q.borderRightWidth,10),H=parseInt(q.borderBottomWidth,10),x=0,z=0,G="offsetWidth"in p?p.offsetWidth-p.clientWidth-$-W:0,K="offsetHeight"in p?p.offsetHeight-p.clientHeight-U-H:0,Q="offsetWidth"in p?p.offsetWidth===0?0:D/p.offsetWidth:0,ee="offsetHeight"in p?p.offsetHeight===0?0:R/p.offsetHeight:0;if(E===p)x=r==="start"?F:r==="end"?F-L:r==="nearest"?re(I,I+L,L,U,H,I+F,I+F+o,o):F-L/2,z=i==="start"?v:i==="center"?v-T/2:i==="end"?v-T:re(C,C+T,T,$,W,C+v,C+v+l,l),x=Math.max(0,x+I),z=Math.max(0,z+C);else{x=r==="start"?F-s-U:r==="end"?F-y+H+K:r==="nearest"?re(s,y,R,U,H+K,F,F+o,o):F-(s+R/2)+K/2,z=i==="start"?v-S-$:i==="center"?v-(S+D/2)+G/2:i==="end"?v-m+W+G:re(S,m,D,$,W+G,v,v+l,l);var te=p.scrollLeft,J=p.scrollTop;F+=J-(x=Math.max(0,Math.min(J+x/ee,p.scrollHeight-R/ee+K))),v+=te-(z=Math.max(0,Math.min(te+z/Q,p.scrollWidth-D/Q+G)))}P.push({el:p,top:x,left:z})}return P};function Se(e){return e===Object(e)&&Object.keys(e).length!==0}function ft(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(a){var r=a.el,i=a.top,u=a.left;r.scroll&&n?r.scroll({top:i,left:u,behavior:t}):(r.scrollTop=i,r.scrollLeft=u)})}function ht(e){return e===!1?{block:"end",inline:"nearest"}:Se(e)?e:{block:"start",inline:"nearest"}}function mt(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(Se(t)&&typeof t.behavior=="function")return t.behavior(n?Pe(e,t):[]);if(n){var a=ht(t);return ft(Pe(e,a),a.behavior)}}function gt(e,t,n){var a=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);+