Files
appco_dist/.output/public/_nuxt/DO-Hb-Mu.js
T

2 lines
87 KiB
JavaScript
Raw Normal View History

2026-02-01 17:38:39 +03:30
import{r as _,bP as be,$ as Re,ae as Fe,o as ye,e as Te,h as D,bs as ke,k as He,a9 as xe}from"./D9_UoUeZ.js";function fe(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function oe(e,t){e===void 0&&(e={}),t===void 0&&(t={});const i=["__proto__","constructor","prototype"];Object.keys(t).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof e[s]>"u"?e[s]=t[s]:fe(t[s])&&fe(e[s])&&Object.keys(t[s]).length>0&&oe(e[s],t[s])})}const Ee={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function j(){const e=typeof document<"u"?document:{};return oe(e,Ee),e}const je={document:Ee,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function B(){const e=typeof window<"u"?window:{};return oe(e,je),e}function $e(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function We(e){const t=e;Object.keys(t).forEach(i=>{try{t[i]=null}catch{}try{delete t[i]}catch{}})}function Pe(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function U(){return Date.now()}function qe(e){const t=B();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}function Ye(e,t){t===void 0&&(t="x");const i=B();let s,n,r;const l=qe(e);return i.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(a=>a.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),t==="x"&&(i.WebKitCSSMatrix?n=r.m41:s.length===16?n=parseFloat(s[12]):n=parseFloat(s[4])),t==="y"&&(i.WebKitCSSMatrix?n=r.m42:s.length===16?n=parseFloat(s[13]):n=parseFloat(s[5])),n||0}function q(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Xe(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function G(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const s=i<0||arguments.length<=i?void 0:arguments[i];if(s!=null&&!Xe(s)){const n=Object.keys(Object(s)).filter(r=>t.indexOf(r)<0);for(let r=0,l=n.length;r<l;r+=1){const a=n[r],o=Object.getOwnPropertyDescriptor(s,a);o!==void 0&&o.enumerable&&(q(e[a])&&q(s[a])?s[a].__swiper__?e[a]=s[a]:G(e[a],s[a]):!q(e[a])&&q(s[a])?(e[a]={},s[a].__swiper__?e[a]=s[a]:G(e[a],s[a])):e[a]=s[a])}}}return e}function Y(e,t,i){e.style.setProperty(t,i)}function Ce(e){let{swiper:t,targetPosition:i,side:s}=e;const n=B(),r=-t.translate;let l=null,a;const o=t.params.speed;t.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(t.cssModeFrameID);const d=i>r?"next":"prev",u=(c,p)=>d==="next"&&c>=p||d==="prev"&&c<=p,f=()=>{a=new Date().getTime(),l===null&&(l=a);const c=Math.max(Math.min((a-l)/o,1),0),p=.5-Math.cos(c*Math.PI)/2;let h=r+p*(i-r);if(u(h,i)&&(h=i),t.wrapperEl.scrollTo({[s]:h}),u(h,i)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s