Files
appco_dist/.output/public/_nuxt/CCp2-DRM.js
T

2 lines
14 KiB
JavaScript
Raw Normal View History

2026-02-01 17:38:39 +03:30
import{ar as Ce,as as _e,at as Me,au as Ve,av as Ie,aw as je,ax as We,ay as qe,az as Ne,r as Te,aA as le,J as X,I as Re,s as He,$ as ie,aB as N,aC as de,ae as De,d as $e,aD as ze,k as C,aE as Ke,aF as Ue,aG as Xe,aH as Ye,C as Ge,aI as fe,aJ as Qe,aK as he,aL as Z,aM as B,aN as me,aO as ge,aP as Ze,aQ as ne,aR as Je}from"./D9_UoUeZ.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"./D7MZVPk2.js";import{i as Le}from"./DbsdAWCo.js";import{S as it,c as ye}from"./CsINcLt-.js";import{a as at}from"./B4u2S65I.js";import{i as lt,b as ot,l as st}from"./DeEeg26y.js";import{i as ut}from"./ddbMuYut.js";import{f as ct}from"./CavPuMrz.js";import{u as dt,F as ce}from"./DGGMJEpV.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 I=n.visualViewport?n.visualViewport.width:innerWidth,L=n.visualViewport?n.visualViewport.height:innerHeight,_=window.scrollX||pageXOffset,T=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,H=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<=I&&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),D=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-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(E===p)x=r==="start"?F:r==="end"?F-L:r==="nearest"?re(T,T+L,L,U,D,T+F,T+F+o,o):F-L/2,z=i==="start"?v:i==="center"?v-I/2:i==="end"?v-I:re(_,_+I,I,$,W,_+v,_+v+l,l),x=Math.max(0,x+T),z=Math.max(0,z+_);else{x=r==="start"?F-s-U:r==="end"?F-y+D+K:r==="nearest"?re(s,y,R,U,D+K,F,F+o,o):F-(s+R/2)+K/2,z=i==="start"?v-S-$:i==="center"?v-(S+H/2)+G/2:i==="end"?v-m+W+G:re(S,m,H,$,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-H/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);++