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

2 lines
14 KiB
JavaScript
Raw Normal View History

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