var ht,A,Un,Le,Gi,Zn,Kn,Jn,Li,bi,xi,Qn,dt={},es=[],rr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ut=Array.isArray;function ue(n,e){for(var t in e)n[t]=e[t];return n}function Ai(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function K(n,e,t){var i,r,a,l={};for(a in e)a=="key"?i=e[a]:a=="ref"?r=e[a]:l[a]=e[a];if(arguments.length>2&&(l.children=arguments.length>3?ht.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(a in n.defaultProps)l[a]==null&&(l[a]=n.defaultProps[a]);return lt(n,l,i,r,null)}function lt(n,e,t,i,r){var a={type:n,props:e,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r??++Un,__i:-1,__u:0};return r==null&&A.vnode!=null&&A.vnode(a),a}function ar(){return{current:null}}function Z(n){return n.children}function fe(n,e){this.props=n,this.context=e}function Ze(n,e){if(e==null)return n.__?Ze(n.__,n.__i+1):null;for(var t;eo&&Le.sort(Kn),n=Le.shift(),o=Le.length,n.__d&&(t=void 0,r=(i=(e=n).__v).__e,a=[],l=[],e.__P&&((t=ue({},i)).__v=i.__v+1,A.vnode&&A.vnode(t),Oi(e.__P,t,i,e.__n,e.__P.namespaceURI,32&i.__u?[r]:null,a,r??Ze(i),!!(32&i.__u),l),t.__v=i.__v,t.__.__k[t.__i]=t,ss(a,t,l),t.__e!=r&&ts(t)));zt.__r=0}function is(n,e,t,i,r,a,l,o,c,d,h){var u,m,p,f,v,b,g=i&&i.__k||es,x=e.length;for(c=lr(t,e,g,c,x),u=0;u0?lt(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=n,l.__b=n.__b+1,o=null,(d=l.__i=or(l,t,c,u))!=-1&&(u--,(o=t[d])&&(o.__u|=2)),o==null||o.__v==null?(d==-1&&(r>h?m--:rc?m--:m++,l.__u|=4))):n.__k[a]=null;if(u)for(a=0;a(c!=null&&(2&c.__u)==0?1:0))for(r=t-1,a=t+1;r>=0||a=0){if((c=e[r])&&(2&c.__u)==0&&l==c.key&&o==c.type)return r;r--}if(a0?n:ut(n)?n.map(rs):ue({},n)}function cr(n,e,t,i,r,a,l,o,c){var d,h,u,m,p,f,v,b=t.props,g=e.props,x=e.type;if(x=="svg"?r="http://www.w3.org/2000/svg":x=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),a!=null){for(d=0;d2&&(o.children=arguments.length>3?ht.call(arguments,2):t),lt(n.type,o,i||n.key,r||n.ref,null)}function pt(n){function e(t){var i,r;return this.getChildContext||(i=new Set,(r={})[e.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(a){this.props.value!=a.value&&i.forEach(function(l){l.__e=!0,yi(l)})},this.sub=function(a){i.add(a);var l=a.componentWillUnmount;a.componentWillUnmount=function(){i&&i.delete(a),l&&l.call(a)}}),t.children}return e.__c="__cC"+Qn++,e.__=n,e.Provider=e.__l=(e.Consumer=function(t,i){return t.children(i)}).contextType=e,e}ht=es.slice,A={__e:function(n,e,t,i){for(var r,a,l;e=e.__;)if((r=e.__c)&&!r.__)try{if((a=r.constructor)&&a.getDerivedStateFromError!=null&&(r.setState(a.getDerivedStateFromError(n)),l=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(n,i||{}),l=r.__d),l)return r.__E=r}catch(o){n=o}throw n}},Un=0,fe.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=ue({},this.state),typeof n=="function"&&(n=n(ue({},t),this.props)),n&&ue(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),yi(this))},fe.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),yi(this))},fe.prototype.render=Z,Le=[],Zn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Kn=function(n,e){return n.__v.__b-e.__v.__b},zt.__r=0,Jn=/(PointerCapture)$|Capture$/i,Li=0,bi=Wi(!1),xi=Wi(!0),Qn=0;var hr=0;function s(n,e,t,i,r,a){e||(e={});var l,o,c=e;if("ref"in c)for(o in c={},e)o=="ref"?l=e[o]:c[o]=e[o];var d={type:n,props:c,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--hr,__i:-1,__u:0,__source:r,__self:a};if(typeof n=="function"&&(l=n.defaultProps))for(o in l)c[o]===void 0&&(c[o]=l[o]);return A.vnode&&A.vnode(d),d}var Se,B,Wt,Xi,Je=0,os=[],H=A,qi=H.__b,Yi=H.__r,Ui=H.diffed,Zi=H.__c,Ki=H.unmount,Ji=H.__;function Qe(n,e){H.__h&&H.__h(B,n,Je||e),Je=0;var t=B.__H||(B.__H={__:[],__h:[]});return n>=t.__.length&&t.__.push({}),t.__[n]}function ne(n){return Je=1,mt(ps,n)}function mt(n,e,t){var i=Qe(Se++,2);if(i.t=n,!i.__c&&(i.__=[t?t(e):ps(void 0,e),function(o){var c=i.__N?i.__N[0]:i.__[0],d=i.t(c,o);c!==d&&(i.__N=[d,i.__[1]],i.__c.setState({}))}],i.__c=B,!B.__f)){var r=function(o,c,d){if(!i.__c.__H)return!0;var h=i.__c.__H.__.filter(function(m){return!!m.__c});if(h.every(function(m){return!m.__N}))return!a||a.call(this,o,c,d);var u=i.__c.props!==o;return h.forEach(function(m){if(m.__N){var p=m.__[0];m.__=m.__N,m.__N=void 0,p!==m.__[0]&&(u=!0)}}),a&&a.call(this,o,c,d)||u};B.__f=!0;var a=B.shouldComponentUpdate,l=B.componentWillUpdate;B.componentWillUpdate=function(o,c,d){if(this.__e){var h=a;a=void 0,r(o,c,d),a=h}l&&l.call(this,o,c,d)},B.shouldComponentUpdate=r}return i.__N||i.__}function Re(n,e){var t=Qe(Se++,3);!H.__s&&Di(t.__H,e)&&(t.__=n,t.u=e,B.__H.__h.push(t))}function Te(n,e){var t=Qe(Se++,4);!H.__s&&Di(t.__H,e)&&(t.__=n,t.u=e,B.__h.push(t))}function $(n){return Je=5,et(function(){return{current:n}},[])}function cs(n,e,t){Je=6,Te(function(){if(typeof n=="function"){var i=n(e());return function(){n(null),i&&typeof i=="function"&&i()}}if(n)return n.current=e(),function(){return n.current=null}},t==null?t:t.concat(n))}function et(n,e){var t=Qe(Se++,7);return Di(t.__H,e)&&(t.__=n(),t.__H=e,t.__h=n),t.__}function ds(n,e){return Je=8,et(function(){return n},e)}function Gt(n){var e=B.context[n.__c],t=Qe(Se++,9);return t.c=n,e?(t.__==null&&(t.__=!0,e.sub(B)),e.props.value):n.__}function hs(n,e){H.useDebugValue&&H.useDebugValue(e?e(n):n)}function us(){var n=Qe(Se++,11);if(!n.__){for(var e=B.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var t=e.__m||(e.__m=[0,0]);n.__="P"+t[0]+"-"+t[1]++}return n.__}function ur(){for(var n;n=os.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(Ot),n.__H.__h.forEach(Ni),n.__H.__h=[]}catch(e){n.__H.__h=[],H.__e(e,n.__v)}}H.__b=function(n){B=null,qi&&qi(n)},H.__=function(n,e){n&&e.__k&&e.__k.__m&&(n.__m=e.__k.__m),Ji&&Ji(n,e)},H.__r=function(n){Yi&&Yi(n),Se=0;var e=(B=n.__c).__H;e&&(Wt===B?(e.__h=[],B.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(e.__h.forEach(Ot),e.__h.forEach(Ni),e.__h=[],Se=0)),Wt=B},H.diffed=function(n){Ui&&Ui(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(os.push(e)!==1&&Xi===H.requestAnimationFrame||((Xi=H.requestAnimationFrame)||pr)(ur)),e.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),Wt=B=null},H.__c=function(n,e){e.some(function(t){try{t.__h.forEach(Ot),t.__h=t.__h.filter(function(i){return!i.__||Ni(i)})}catch(i){e.some(function(r){r.__h&&(r.__h=[])}),e=[],H.__e(i,t.__v)}}),Zi&&Zi(n,e)},H.unmount=function(n){Ki&&Ki(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach(function(i){try{Ot(i)}catch(r){e=r}}),t.__H=void 0,e&&H.__e(e,t.__v))};var Qi=typeof requestAnimationFrame=="function";function pr(n){var e,t=function(){clearTimeout(i),Qi&&cancelAnimationFrame(e),setTimeout(n)},i=setTimeout(t,100);Qi&&(e=requestAnimationFrame(t))}function Ot(n){var e=B,t=n.__c;typeof t=="function"&&(n.__c=void 0,t()),B=e}function Ni(n){var e=B;n.__c=n.__(),B=e}function Di(n,e){return!n||n.length!==e.length||e.some(function(t,i){return t!==n[i]})}function ps(n,e){return typeof e=="function"?e(n):e}let ke,nt;const mr=(n,e)=>{if(ke=void 0,e&&e.type==="click"){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)return n;const t=e.target.closest("a[href]"),i=t&&t.getAttribute("href");if(!t||t.origin!=location.origin||/^#/.test(i)||!/^(_?self)?$/i.test(t.target)||nt&&(typeof nt=="string"?!i.startsWith(nt):!nt.test(i)))return n;ke=!0,e.preventDefault(),e=t.href.replace(location.origin,"")}else typeof e=="string"?ke=!0:e&&e.url?(ke=!e.replace,e=e.url):e=location.pathname+location.search;return ke===!0?history.pushState(null,"",e):ke===!1&&history.replaceState(null,"",e),e},fr=(n,e,t={})=>{n=n.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),t.params||(t.params={});for(let i=0,r,a;i{const a=new URL(e,location.origin),l=a.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:l,query:Object.fromEntries(a.searchParams),route:(o,c)=>t({url:o,replace:c}),wasPush:i}},[e]);return Te(()=>(addEventListener("click",t),addEventListener("popstate",t),()=>{removeEventListener("click",t),removeEventListener("popstate",t)}),[]),K(ft.ctx.Provider,{value:r},n.children)}const gr=Promise.resolve();function ms(n){const[e,t]=mt(N=>N+1,0),{url:i,query:r,wasPush:a,path:l}=vr(),{rest:o=l,params:c={}}=Gt(en),d=$(!1),h=$(l),u=$(0),m=$(),p=$(),f=$(),v=$(!1),b=$();b.current=!1;let g,x,y;ge(n.children).some(N=>{if(fr(o,N.props.path,y={...N.props,path:o,query:r,params:c,rest:""}))return g=wi(N,y);N.props.default&&(x=wi(N,y))});let w=g||x;const _=m.current&&m.current.__u&vt&&m.current.__u&bt,M=m.current&&m.current.__h,C=et(()=>{p.current=m.current,m.current=K(en.Provider,{value:y},w);const N=p.current&&p.current.props.children;return!N||!w||w.type!==N.type||w.props.component!==N.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),u.current++,!0):!1},[i,JSON.stringify(y)]);_?(m.current.__u|=vt,m.current.__u|=bt):M&&(m.current.__h=!0);const S=p.current;return p.current=null,this.__c=(N,E)=>{b.current=!0,p.current=S,n.onLoadStart&&n.onLoadStart(i),d.current=!0;let P=u.current;N.then(()=>{P===u.current&&(p.current=null,m.current&&(E.__h&&(m.current.__h=E.__h),E.__u&bt&&(m.current.__u|=bt),E.__u&vt&&(m.current.__u|=vt)),gr.then(t))})},Te(()=>{const N=this.__v&&this.__v.__e;if(b.current){!v.current&&!f.current&&(f.current=N);return}!v.current&&f.current&&(f.current!==N&&f.current.remove(),f.current=null),v.current=!0,h.current!==l&&(a&&scrollTo(0,0),n.onRouteChange&&n.onRouteChange(i),h.current=l),n.onLoadEnd&&d.current&&n.onLoadEnd(i),d.current=!1},[l,a,e]),C?[K(Xt,{r:m}),K(Xt,{r:p})]:K(Xt,{r:m})}const vt=32,bt=128,Xt=({r:n})=>n.current;ms.Provider=ft;ft.ctx=pt({});const en=pt({}),xt=n=>K(n.component,n),vr=()=>Gt(ft.ctx),tn=A.__b;A.__b=n=>{n.type&&n.type._forwarded&&n.ref&&(n.props.ref=n.ref,n.ref=null),tn&&tn(n)};const nn=A.__e;A.__e=(n,e,t)=>{if(n&&n.then){let i=e;for(;i=i.__;)if(i.__c&&i.__c.__c)return e.__e==null&&(e.__c.__z=[t.__e],e.__e=t.__e,e.__k=t.__k),e.__k||(e.__k=[]),i.__c.__c(n,e)}nn&&nn(n,e,t)};function fs(n,e){for(var t in e)n[t]=e[t];return n}function _i(n,e){for(var t in n)if(t!=="__source"&&!(t in e))return!0;for(var i in e)if(i!=="__source"&&n[i]!==e[i])return!0;return!1}function gs(n,e){var t=e(),i=ne({t:{__:t,u:e}}),r=i[0].t,a=i[1];return Te(function(){r.__=t,r.u=e,qt(r)&&a({t:r})},[n,t,e]),Re(function(){return qt(r)&&a({t:r}),n(function(){qt(r)&&a({t:r})})},[n]),t}function qt(n){var e,t,i=n.u,r=n.__;try{var a=i();return!((e=r)===(t=a)&&(e!==0||1/e==1/t)||e!=e&&t!=t)}catch{return!0}}function vs(n){n()}function bs(n){return n}function xs(){return[!1,vs]}var ys=Te;function Si(n,e){this.props=n,this.context=e}function br(n,e){function t(r){var a=this.props.ref,l=a==r.ref;return!l&&a&&(a.call?a(null):a.current=null),e?!e(this.props,r)||!l:_i(this.props,r)}function i(r){return this.shouldComponentUpdate=t,K(n,r)}return i.displayName="Memo("+(n.displayName||n.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(Si.prototype=new fe).isPureReactComponent=!0,Si.prototype.shouldComponentUpdate=function(n,e){return _i(this.props,n)||_i(this.state,e)};var sn=A.__b;A.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),sn&&sn(n)};var xr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function zi(n){function e(t){var i=fs({},t);return delete i.ref,n(i,t.ref||null)}return e.$$typeof=xr,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(n.displayName||n.name)+")",e}var rn=function(n,e){return n==null?null:ge(ge(n).map(e))},yr={map:rn,forEach:rn,count:function(n){return n?ge(n).length:0},only:function(n){var e=ge(n);if(e.length!==1)throw"Children.only";return e[0]},toArray:ge},wr=A.__e;A.__e=function(n,e,t,i){if(n.then){for(var r,a=e;a=a.__;)if((r=a.__c)&&r.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),r.__c(n,e)}wr(n,e,t,i)};var an=A.unmount;function ws(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),n.__c.__H=null),(n=fs({},n)).__c!=null&&(n.__c.__P===t&&(n.__c.__P=e),n.__c.__e=!0,n.__c=null),n.__k=n.__k&&n.__k.map(function(i){return ws(i,e,t)})),n}function Ns(n,e,t){return n&&t&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(i){return Ns(i,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=t)),n}function It(){this.__u=0,this.o=null,this.__b=null}function _s(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function Nr(n){var e,t,i;function r(a){if(e||(e=n()).then(function(l){t=l.default||l},function(l){i=l}),i)throw i;if(!t)throw e;return K(t,a)}return r.displayName="Lazy",r.__f=!0,r}function st(){this.i=null,this.l=null}A.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&32&n.__u&&(n.type=null),an&&an(n)},(It.prototype=new fe).__c=function(n,e){var t=e.__c,i=this;i.o==null&&(i.o=[]),i.o.push(t);var r=_s(i.__v),a=!1,l=function(){a||(a=!0,t.__R=null,r?r(o):o())};t.__R=l;var o=function(){if(!--i.__u){if(i.state.__a){var c=i.state.__a;i.__v.__k[0]=Ns(c,c.__c.__P,c.__c.__O)}var d;for(i.setState({__a:i.__b=null});d=i.o.pop();)d.forceUpdate()}};i.__u++||32&e.__u||i.setState({__a:i.__b=i.__v.__k[0]}),n.then(l,l)},It.prototype.componentWillUnmount=function(){this.o=[]},It.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=ws(this.__b,t,i.__O=i.__P)}this.__b=null}var r=e.__a&&K(Z,null,n.fallback);return r&&(r.__u&=-33),[K(Z,null,e.__a?null:n.children),r]};var ln=function(n,e,t){if(++t[1]===t[0]&&n.l.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.l.size))for(t=n.i;t;){for(;t.length>3;)t.pop()();if(t[1]>>1,1),e.h.removeChild(r)}}}Ke(K(_r,{context:e.context},n.__v),e.v)}function Tr(n,e){var t=K(Sr,{__v:n,h:e});return t.containerInfo=e,t}(st.prototype=new fe).__a=function(n){var e=this,t=_s(e.__v),i=e.l.get(n);return i[0]++,function(r){var a=function(){e.props.revealOrder?(i.push(r),ln(e,n,i)):r()};t?t(a):a()}},st.prototype.render=function(n){this.i=null,this.l=new Map;var e=ge(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var t=e.length;t--;)this.l.set(e[t],this.i=[1,0,this.i]);return n.children},st.prototype.componentDidUpdate=st.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(e,t){ln(n,t,e)})};var Ss=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Er=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Cr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Pr=/[A-Z0-9]/g,Mr=typeof document<"u",kr=function(n){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(n)};function Lr(n,e,t){return e.__k==null&&(e.textContent=""),Ke(n,e),typeof t=="function"&&t(),n?n.__c:null}function Ar(n,e,t){return ls(n,e),typeof t=="function"&&t(),n?n.__c:null}fe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(fe.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var on=A.event;function Or(){}function Ir(){return this.cancelBubble}function Dr(){return this.defaultPrevented}A.event=function(n){return on&&(n=on(n)),n.persist=Or,n.isPropagationStopped=Ir,n.isDefaultPrevented=Dr,n.nativeEvent=n};var Ri,zr={enumerable:!1,configurable:!0,get:function(){return this.class}},cn=A.vnode;A.vnode=function(n){typeof n.type=="string"&&function(e){var t=e.props,i=e.type,r={},a=i.indexOf("-")===-1;for(var l in t){var o=t[l];if(!(l==="value"&&"defaultValue"in t&&o==null||Mr&&l==="children"&&i==="noscript"||l==="class"||l==="className")){var c=l.toLowerCase();l==="defaultValue"&&"value"in t&&t.value==null?l="value":l==="download"&&o===!0?o="":c==="translate"&&o==="no"?o=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?l="ondblclick":c!=="onchange"||i!=="input"&&i!=="textarea"||kr(t.type)?c==="onfocus"?l="onfocusin":c==="onblur"?l="onfocusout":Cr.test(l)&&(l=c):c=l="oninput":a&&Er.test(l)?l=l.replace(Pr,"-$&").toLowerCase():o===null&&(o=void 0),c==="oninput"&&r[l=c]&&(l="oninputCapture"),r[l]=o}}i=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=ge(t.children).forEach(function(d){d.props.selected=r.value.indexOf(d.props.value)!=-1})),i=="select"&&r.defaultValue!=null&&(r.value=ge(t.children).forEach(function(d){d.props.selected=r.multiple?r.defaultValue.indexOf(d.props.value)!=-1:r.defaultValue==d.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",zr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(n),n.$$typeof=Ss,cn&&cn(n)};var dn=A.__r;A.__r=function(n){dn&&dn(n),Ri=n.__c};var hn=A.diffed;A.diffed=function(n){hn&&hn(n);var e=n.props,t=n.__e;t!=null&&n.type==="textarea"&&"value"in e&&e.value!==t.value&&(t.value=e.value==null?"":e.value),Ri=null};var Rr={ReactCurrentDispatcher:{current:{readContext:function(n){return Ri.__n[n.__c].props.value},useCallback:ds,useContext:Gt,useDebugValue:hs,useDeferredValue:bs,useEffect:Re,useId:us,useImperativeHandle:cs,useInsertionEffect:ys,useLayoutEffect:Te,useMemo:et,useReducer:mt,useRef:$,useState:ne,useSyncExternalStore:gs,useTransition:xs}}};function jr(n){return K.bind(null,n)}function Vt(n){return!!n&&n.$$typeof===Ss}function Fr(n){return Vt(n)&&n.type===Z}function Br(n){return!!n&&!!n.displayName&&(typeof n.displayName=="string"||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function Hr(n){return Vt(n)?wi.apply(null,arguments):n}function $r(n){return!!n.__k&&(Ke(null,n),!0)}function Gr(n){return n&&(n.base||n.nodeType===1&&n)||null}var Vr=function(n,e){return n(e)},Wr=function(n,e){return n(e)},Xr=Z,qr=Vt,X={useState:ne,useId:us,useReducer:mt,useEffect:Re,useLayoutEffect:Te,useInsertionEffect:ys,useTransition:xs,useDeferredValue:bs,useSyncExternalStore:gs,startTransition:vs,useRef:$,useImperativeHandle:cs,useMemo:et,useCallback:ds,useContext:Gt,useDebugValue:hs,version:"18.3.1",Children:yr,render:Lr,hydrate:Ar,unmountComponentAtNode:$r,createPortal:Tr,createElement:K,createContext:pt,createFactory:jr,cloneElement:Hr,createRef:ar,Fragment:Z,isValidElement:Vt,isElement:qr,isFragment:Fr,isMemo:Br,findDOMNode:Gr,Component:fe,PureComponent:Si,memo:br,forwardRef:zi,flushSync:Wr,unstable_batchedUpdates:Vr,StrictMode:Xr,Suspense:It,SuspenseList:st,lazy:Nr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Rr};function un(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function ji(n,e){n===void 0&&(n={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof n[i]>"u"?n[i]=e[i]:un(e[i])&&un(n[i])&&Object.keys(e[i]).length>0&&ji(n[i],e[i])})}const Ts={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 Ee(){const n=typeof document<"u"?document:{};return ji(n,Ts),n}const Yr={document:Ts,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(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function J(){const n=typeof window<"u"?window:{};return ji(n,Yr),n}function Ur(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function Zr(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Ti(n,e){return e===void 0&&(e=0),setTimeout(n,e)}function De(){return Date.now()}function Kr(n){const e=J();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function Jr(n,e){e===void 0&&(e="x");const t=J();let i,r,a;const l=Kr(n);return t.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),a=new t.WebKitCSSMatrix(r==="none"?"":r)):(a=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=a.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?r=a.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function rt(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function Qr(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function ie(){const n=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(a)<0);for(let a=0,l=r.length;aa?"next":"prev",h=(m,p)=>d==="next"&&m>=p||d==="prev"&&m<=p,u=()=>{o=new Date().getTime(),l===null&&(l=o);const m=Math.max(Math.min((o-l)/c,1),0),p=.5-Math.cos(m*Math.PI)/2;let f=a+p*(t-a);if(h(f,t)&&(f=t),e.wrapperEl.scrollTo({[i]:f}),h(f,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:f})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(u)};u()}function ce(n,e){e===void 0&&(e="");const t=J(),i=[...n.children];return t.HTMLSlotElement&&n instanceof HTMLSlotElement&&i.push(...n.assignedElements()),e?i.filter(r=>r.matches(e)):i}function ea(n,e){const t=[e];for(;t.length>0;){const i=t.shift();if(n===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function ta(n,e){const t=J();let i=e.contains(n);return!i&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(n),i||(i=ea(n,e))),i}function Rt(n){try{console.warn(n);return}catch{}}function jt(n,e){e===void 0&&(e=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:Ur(e)),t}function ia(n,e){const t=[];for(;n.previousElementSibling;){const i=n.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function na(n,e){const t=[];for(;n.nextElementSibling;){const i=n.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function _e(n,e){return J().getComputedStyle(n,null).getPropertyValue(e)}function pn(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function sa(n,e){const t=[];let i=n.parentElement;for(;i;)t.push(i),i=i.parentElement;return t}function Yt(n,e){function t(i){i.target===n&&(e.call(n,i),n.removeEventListener("transitionend",t))}e&&n.addEventListener("transitionend",t)}function mn(n,e,t){const i=J();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function ve(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}let Ut;function ra(){const n=J(),e=Ee();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function Cs(){return Ut||(Ut=ra()),Ut}let Zt;function aa(n){let{userAgent:e}=n===void 0?{}:n;const t=Cs(),i=J(),r=i.navigator.platform,a=e||i.navigator.userAgent,l={ios:!1,android:!1},o=i.screen.width,c=i.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/);let h=a.match(/(iPad).*OS\s([\d_]+)/);const u=a.match(/(iPod)(.*OS\s([\d_]+))?/),m=!h&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let f=r==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!h&&f&&t.touch&&v.indexOf(`${o}x${c}`)>=0&&(h=a.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),f=!1),d&&!p&&(l.os="android",l.android=!0),(h||m||u)&&(l.os="ios",l.ios=!0),l}function Ps(n){return n===void 0&&(n={}),Zt||(Zt=aa(n)),Zt}let Kt;function la(){const n=J(),e=Ps();let t=!1;function i(){const o=n.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(n.navigator.userAgent);if(o.includes("Version/")){const[c,d]=o.split("Version/")[1].split(" ")[0].split(".").map(h=>Number(h));t=c<16||c===16&&d<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent),a=i(),l=a||r&&e.ios;return{isSafari:t||a,needPerspectiveFix:t,need3dFix:l,isWebView:r}}function Ms(){return Kt||(Kt=la()),Kt}function oa(n){let{swiper:e,on:t,emit:i}=n;const r=J();let a=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},c=()=>{!e||e.destroyed||!e.initialized||(a=new ResizeObserver(u=>{l=r.requestAnimationFrame(()=>{const{width:m,height:p}=e;let f=m,v=p;u.forEach(b=>{let{contentBoxSize:g,contentRect:x,target:y}=b;y&&y!==e.el||(f=x?x.width:(g[0]||g).inlineSize,v=x?x.height:(g[0]||g).blockSize)}),(f!==m||v!==p)&&o()})}),a.observe(e.el))},d=()=>{l&&r.cancelAnimationFrame(l),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null)},h=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){c();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",h)}),t("destroy",()=>{d(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",h)})}function ca(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const a=[],l=J(),o=function(h,u){u===void 0&&(u={});const m=l.MutationObserver||l.WebkitMutationObserver,p=new m(f=>{if(e.__preventObserver__)return;if(f.length===1){r("observerUpdate",f[0]);return}const v=function(){r("observerUpdate",f[0])};l.requestAnimationFrame?l.requestAnimationFrame(v):l.setTimeout(v,0)});p.observe(h,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:e.isElement||(typeof u.childList>"u"?!0:u).childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),a.push(p)},c=()=>{if(e.params.observer){if(e.params.observeParents){const h=sa(e.hostEl);for(let u=0;u{a.forEach(h=>{h.disconnect()}),a.splice(0,a.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",c),i("destroy",d)}var da={on(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const r=t?"unshift":"push";return n.split(" ").forEach(a=>{i.eventsListeners[a]||(i.eventsListeners[a]=[]),i.eventsListeners[a][r](e)}),i},once(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function r(){i.off(n,r),r.__emitterProxy&&delete r.__emitterProxy;for(var a=arguments.length,l=new Array(a),o=0;o=0&&e.eventsAnyListeners.splice(t,1),e},off(n,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((r,a)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[i].splice(a,1)})}),t},emit(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let e,t,i;for(var r=arguments.length,a=new Array(r),l=0;l{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(d=>{d.apply(i,[c,...t])}),n.eventsListeners&&n.eventsListeners[c]&&n.eventsListeners[c].forEach(d=>{d.apply(i,t)})}),n}};function ha(){const n=this;let e,t;const i=n.el;typeof n.params.width<"u"&&n.params.width!==null?e=n.params.width:e=i.clientWidth,typeof n.params.height<"u"&&n.params.height!==null?t=n.params.height:t=i.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(_e(i,"padding-left")||0,10)-parseInt(_e(i,"padding-right")||0,10),t=t-parseInt(_e(i,"padding-top")||0,10)-parseInt(_e(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))}function ua(){const n=this;function e(E,P){return parseFloat(E.getPropertyValue(n.getDirectionLabel(P))||0)}const t=n.params,{wrapperEl:i,slidesEl:r,size:a,rtlTranslate:l,wrongRTL:o}=n,c=n.virtual&&t.virtual.enabled,d=c?n.virtual.slides.length:n.slides.length,h=ce(r,`.${n.params.slideClass}, swiper-slide`),u=c?n.virtual.slides.length:h.length;let m=[];const p=[],f=[];let v=t.slidesOffsetBefore;typeof v=="function"&&(v=t.slidesOffsetBefore.call(n));let b=t.slidesOffsetAfter;typeof b=="function"&&(b=t.slidesOffsetAfter.call(n));const g=n.snapGrid.length,x=n.slidesGrid.length;let y=t.spaceBetween,w=-v,_=0,M=0;if(typeof a>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*a:typeof y=="string"&&(y=parseFloat(y)),n.virtualSize=-y,h.forEach(E=>{l?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(yt(i,"--swiper-centered-offset-before",""),yt(i,"--swiper-centered-offset-after",""));const C=t.grid&&t.grid.rows>1&&n.grid;C?n.grid.initSlides(h):n.grid&&n.grid.unsetSlides();let S;const N=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(E=>typeof t.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E1&&m.push(n.virtualSize-a)}if(c&&t.loop){const E=f[0]+y;if(t.slidesPerGroup>1){const P=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),L=E*t.slidesPerGroup;for(let O=0;O!t.cssMode||t.loop?!0:L!==h.length-1).forEach(P=>{P.style[E]=`${y}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let E=0;f.forEach(L=>{E+=L+(y||0)}),E-=y;const P=E>a?E-a:0;m=m.map(L=>L<=0?-v:L>P?P+b:L)}if(t.centerInsufficientSlides){let E=0;f.forEach(L=>{E+=L+(y||0)}),E-=y;const P=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(E+P{m[G]=O-L}),p.forEach((O,G)=>{p[G]=O+L})}}if(Object.assign(n,{slides:h,snapGrid:m,slidesGrid:p,slidesSizesGrid:f}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){yt(i,"--swiper-centered-offset-before",`${-m[0]}px`),yt(i,"--swiper-centered-offset-after",`${n.size/2-f[f.length-1]/2}px`);const E=-n.snapGrid[0],P=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(L=>L+E),n.slidesGrid=n.slidesGrid.map(L=>L+P)}if(u!==d&&n.emit("slidesLengthChange"),m.length!==g&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),p.length!==x&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!c&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const E=`${t.containerModifierClass}backface-hidden`,P=n.el.classList.contains(E);u<=t.maxBackfaceHiddenSlides?P||n.el.classList.add(E):P&&n.el.classList.remove(E)}}function pa(n){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let r=0,a;typeof n=="number"?e.setTransition(n):n===!0&&e.setTransition(e.params.speed);const l=o=>i?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{t.push(o)});else for(a=0;ae.slides.length&&!i)break;t.push(l(o))}else t.push(l(e.activeIndex));for(a=0;ar?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function ma(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let i=0;i{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function fa(n){n===void 0&&(n=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:r,snapGrid:a}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let l=-n;r&&(l=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let c=0;c=0&&p<=e.size-e.slidesSizesGrid[c],b=p>=0&&p1&&f<=e.size||p<=0&&f>=e.size;b&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(c)),fn(d,b,t.slideVisibleClass),fn(d,v,t.slideFullyVisibleClass),d.progress=r?-u:u,d.originalProgress=r?-m:m}}function ga(n){const e=this;if(typeof n>"u"){const h=e.rtlTranslate?-1:1;n=e&&e.translate&&e.translate*h||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:a,isEnd:l,progressLoop:o}=e;const c=a,d=l;if(i===0)r=0,a=!0,l=!0;else{r=(n-e.minTranslate())/i;const h=Math.abs(n-e.minTranslate())<1,u=Math.abs(n-e.maxTranslate())<1;a=h||r<=0,l=u||r>=1,h&&(r=0),u&&(r=1)}if(t.loop){const h=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[h],p=e.slidesGrid[u],f=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(n);v>=m?o=(v-m)/f:o=(v+f-p)/f,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:a,isEnd:l}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),a&&!c&&e.emit("reachBeginning toEdge"),l&&!d&&e.emit("reachEnd toEdge"),(c&&!a||d&&!l)&&e.emit("fromEdge"),e.emit("progress",r)}const Jt=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function va(){const n=this,{slides:e,params:t,slidesEl:i,activeIndex:r}=n,a=n.virtual&&t.virtual.enabled,l=n.grid&&t.grid&&t.grid.rows>1,o=u=>ce(i,`.${t.slideClass}${u}, swiper-slide${u}`)[0];let c,d,h;if(a)if(t.loop){let u=r-n.virtual.slidesBefore;u<0&&(u=n.virtual.slides.length+u),u>=n.virtual.slides.length&&(u-=n.virtual.slides.length),c=o(`[data-swiper-slide-index="${u}"]`)}else c=o(`[data-swiper-slide-index="${r}"]`);else l?(c=e.find(u=>u.column===r),h=e.find(u=>u.column===r+1),d=e.find(u=>u.column===r-1)):c=e[r];c&&(l||(h=na(c,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!h&&(h=e[0]),d=ia(c,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(u=>{Jt(u,u===c,t.slideActiveClass),Jt(u,u===h,t.slideNextClass),Jt(u,u===d,t.slidePrevClass)}),n.emitSlidesClasses()}const Dt=(n,e)=>{if(!n||n.destroyed||!n.params)return;const t=()=>n.isElement?"swiper-slide":`.${n.params.slideClass}`,i=e.closest(t());if(i){let r=i.querySelector(`.${n.params.lazyPreloaderClass}`);!r&&n.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Qt=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},Ei=n=>{if(!n||n.destroyed||!n.params)return;let e=n.params.lazyPreloadPrevNext;const t=n.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const i=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),r=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const l=r,o=[l-e];o.push(...Array.from({length:e}).map((c,d)=>l+i+d)),n.slides.forEach((c,d)=>{o.includes(c.column)&&Qt(n,d)});return}const a=r+i-1;if(n.params.rewind||n.params.loop)for(let l=r-e;l<=a+e;l+=1){const o=(l%t+t)%t;(oa)&&Qt(n,o)}else for(let l=Math.max(r-e,0);l<=Math.min(a+e,t-1);l+=1)l!==r&&(l>a||l=e[a]&&i=e[a]&&i=e[a]&&(r=a);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function xa(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:r,activeIndex:a,realIndex:l,snapIndex:o}=e;let c=n,d;const h=p=>{let f=p-e.virtual.slidesBefore;return f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),f};if(typeof c>"u"&&(c=ba(e)),i.indexOf(t)>=0)d=i.indexOf(t);else{const p=Math.min(r.slidesPerGroupSkip,c);d=p+Math.floor((c-p)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===a&&!e.params.loop){d!==o&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(c===a&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=h(c);return}const u=e.grid&&r.grid&&r.grid.rows>1;let m;if(e.virtual&&r.virtual.enabled&&r.loop)m=h(c);else if(u){const p=e.slides.find(v=>v.column===c);let f=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(f)&&(f=Math.max(e.slides.indexOf(p),0)),m=Math.floor(f/r.grid.rows)}else if(e.slides[c]){const p=e.slides[c].getAttribute("data-swiper-slide-index");p?m=parseInt(p,10):m=c}else m=c;Object.assign(e,{previousSnapIndex:o,snapIndex:d,previousRealIndex:l,realIndex:m,previousIndex:a,activeIndex:c}),e.initialized&&Ei(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function ya(n,e){const t=this,i=t.params;let r=n.closest(`.${i.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(n)&&[...e.slice(e.indexOf(n)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(r=o)});let a=!1,l;if(r){for(let o=0;oc?h=c:i&&nl?o="next":a"u"&&(e=a.params.speed);const v=Math.min(a.params.slidesPerGroupSkip,l);let b=v+Math.floor((l-v)/a.params.slidesPerGroup);b>=c.length&&(b=c.length-1);const g=-c[b];if(o.normalizeSlideIndex)for(let C=0;C=N&&S=N&&S=N&&(l=C)}if(a.initialized&&l!==u&&(!a.allowSlideNext&&(m?g>a.translate&&g>a.minTranslate():ga.translate&&g>a.maxTranslate()&&(u||0)!==l))return!1;l!==(h||0)&&t&&a.emit("beforeSlideChangeStart"),a.updateProgress(g);let x;l>u?x="next":l0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[C?"scrollLeft":"scrollTop"]=S})):p[C?"scrollLeft":"scrollTop"]=S,y&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return Es({swiper:a,targetPosition:S,side:C?"left":"top"}),!0;p.scrollTo({[C?"left":"top"]:S,behavior:"smooth"})}return!0}const M=Ms().isSafari;return y&&!r&&M&&a.isElement&&a.virtual.update(!1,!1,l),a.setTransition(e),a.setTranslate(g),a.updateActiveIndex(l),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,i),a.transitionStart(t,x),e===0?a.transitionEnd(t,x):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(S){!a||a.destroyed||S.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(t,x))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function Oa(n,e,t,i){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const a=r.grid&&r.params.grid&&r.params.grid.rows>1;let l=n;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)l=l+r.virtual.slidesBefore;else{let o;if(a){const m=l*r.params.grid.rows;o=r.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===m).column}else o=r.getSlideIndexByData(l);const c=a?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:d}=r.params;let h=r.params.slidesPerView;h==="auto"?h=r.slidesPerViewDynamic():(h=Math.ceil(parseFloat(r.params.slidesPerView,10)),d&&h%2===0&&(h=h+1));let u=c-op.getAttribute("data-swiper-slide-index")*1===m).column}else l=r.getSlideIndexByData(l)}return requestAnimationFrame(()=>{r.slideTo(l,e,t,i)}),r}function Ia(n,e,t){e===void 0&&(e=!0);const i=this,{enabled:r,params:a,animating:l}=i;if(!r||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);let o=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const c=i.activeIndex{i.slideTo(i.activeIndex+c,n,e,t)}),!0}return a.rewind&&i.isEnd?i.slideTo(0,n,e,t):i.slideTo(i.activeIndex+c,n,e,t)}function Da(n,e,t){e===void 0&&(e=!0);const i=this,{params:r,snapGrid:a,slidesGrid:l,rtlTranslate:o,enabled:c,animating:d}=i;if(!c||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);const h=i.virtual&&r.virtual.enabled;if(r.loop){if(d&&!h&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const u=o?i.translate:-i.translate;function m(x){return x<0?-Math.floor(Math.abs(x)):Math.floor(x)}const p=m(u),f=a.map(x=>m(x)),v=r.freeMode&&r.freeMode.enabled;let b=a[f.indexOf(p)-1];if(typeof b>"u"&&(r.cssMode||v)){let x;a.forEach((y,w)=>{p>=y&&(x=w)}),typeof x<"u"&&(b=v?a[x]:a[x>0?x-1:x])}let g=0;if(typeof b<"u"&&(g=l.indexOf(b),g<0&&(g=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),r.rewind&&i.isBeginning){const x=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(x,n,e,t)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(g,n,e,t)}),!0;return i.slideTo(g,n,e,t)}function za(n,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof n>"u"&&(n=i.params.speed),i.slideTo(i.activeIndex,n,e,t)}function Ra(n,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const r=this;if(r.destroyed)return;typeof n>"u"&&(n=r.params.speed);let a=r.activeIndex;const l=Math.min(r.params.slidesPerGroupSkip,a),o=l+Math.floor((a-l)/r.params.slidesPerGroup),c=r.rtlTranslate?r.translate:-r.translate;if(c>=r.snapGrid[o]){const d=r.snapGrid[o],h=r.snapGrid[o+1];c-d>(h-d)*i&&(a+=r.params.slidesPerGroup)}else{const d=r.snapGrid[o-1],h=r.snapGrid[o];c-d<=(h-d)*i&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,n,e,t)}function ja(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,i=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let r=n.clickedIndex,a;const l=n.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(n.animating)return;a=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?rn.slides.length-n.loopedSlides+i/2?(n.loopFix(),r=n.getSlideIndex(ce(t,`${l}[data-swiper-slide-index="${a}"]`)[0]),Ti(()=>{n.slideTo(r)})):n.slideTo(r):r>n.slides.length-i?(n.loopFix(),r=n.getSlideIndex(ce(t,`${l}[data-swiper-slide-index="${a}"]`)[0]),Ti(()=>{n.slideTo(r)})):n.slideTo(r)}else n.slideTo(r)}var Fa={slideTo:Aa,slideToLoop:Oa,slideNext:Ia,slidePrev:Da,slideReset:za,slideToClosest:Ra,slideToClickedSlide:ja};function Ba(n,e){const t=this,{params:i,slidesEl:r}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const a=()=>{ce(r,`.${i.slideClass}, swiper-slide`).forEach((m,p)=>{m.setAttribute("data-swiper-slide-index",p)})},l=t.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(l?i.grid.rows:1),c=t.slides.length%o!==0,d=l&&t.slides.length%i.grid.rows!==0,h=u=>{for(let m=0;m1;h.length"u"?a=d.getSlideIndex(h.find(I=>I.classList.contains(f.slideActiveClass))):N=a;const E=i==="next"||!i,P=i==="prev"||!i;let L=0,O=0;const te=(w?h[a].column:a)+(v&&typeof r>"u"?-g/2+.5:0);if(te=0;F-=1)h[F].column===q&&_.push(F)}else _.push(C-V-1)}}else if(te+g>C-y){O=Math.max(te-(C-y*2),x),S&&(O=Math.max(O,g-C+b+1));for(let I=0;I{q.column===V&&M.push(F)}):M.push(V)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),d.params.effect==="cards"&&h.length{h[I].swiperLoopMoveDOM=!0,p.prepend(h[I]),h[I].swiperLoopMoveDOM=!1}),E&&M.forEach(I=>{h[I].swiperLoopMoveDOM=!0,p.append(h[I]),h[I].swiperLoopMoveDOM=!1}),d.recalcSlides(),f.slidesPerView==="auto"?d.updateSlides():w&&(_.length>0&&P||M.length>0&&E)&&d.slides.forEach((I,V)=>{d.grid.updateSlide(V,I,d.slides)}),f.watchSlidesProgress&&d.updateSlidesOffset(),t){if(_.length>0&&P){if(typeof e>"u"){const I=d.slidesGrid[N],q=d.slidesGrid[N+L]-I;c?d.setTranslate(d.translate-q):(d.slideTo(N+Math.ceil(L),0,!1,!0),r&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-q,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-q))}else if(r){const I=w?_.length/f.grid.rows:_.length;d.slideTo(d.activeIndex+I,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(M.length>0&&E)if(typeof e>"u"){const I=d.slidesGrid[N],q=d.slidesGrid[N-O]-I;c?d.setTranslate(d.translate-q):(d.slideTo(N-O,0,!1,!0),r&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-q,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-q))}else{const I=w?M.length/f.grid.rows:M.length;d.slideTo(d.activeIndex-I,0,!1,!0)}}if(d.allowSlidePrev=u,d.allowSlideNext=m,d.controller&&d.controller.control&&!o){const I={slideRealIndex:e,direction:i,setTranslate:r,activeSlideIndex:a,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(V=>{!V.destroyed&&V.params.loop&&V.loopFix({...I,slideTo:V.params.slidesPerView===f.slidesPerView?t:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...I,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView?t:!1})}d.emit("loopFix")}function $a(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||!t||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const i=[];n.slides.forEach(r=>{const a=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[a]=r}),n.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{t.append(r)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}var Ga={loopCreate:Ba,loopFix:Ha,loopDestroy:$a};function Va(n){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=n?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Wa(){const n=this;n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.isElement&&(n.__preventObserver__=!0),n[n.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1}))}var Xa={setGrabCursor:Va,unsetGrabCursor:Wa};function qa(n,e){e===void 0&&(e=this);function t(i){if(!i||i===Ee()||i===J())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(n);return!r&&!i.getRootNode?null:r||t(i.getRootNode().host)}return t(e)}function gn(n,e,t){const i=J(),{params:r}=n,a=r.edgeSwipeDetection,l=r.edgeSwipeThreshold;return a&&(t<=l||t>=i.innerWidth-l)?a==="prevent"?(e.preventDefault(),!0):!1:!0}function Ya(n){const e=this,t=Ee();let i=n;i.originalEvent&&(i=i.originalEvent);const r=e.touchEventsData;if(i.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(r.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){gn(e,i,i.targetTouches[0].pageX);return}const{params:a,touches:l,enabled:o}=e;if(!o||!a.simulateTouch&&i.pointerType==="mouse"||e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let c=i.target;if(a.touchEventsTarget==="wrapper"&&!ta(c,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const d=!!a.noSwipingClass&&a.noSwipingClass!=="",h=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&h&&(c=h[0]);const u=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!!(i.target&&i.target.shadowRoot);if(a.noSwiping&&(m?qa(u,c):c.closest(u))){e.allowClick=!0;return}if(a.swipeHandler&&!c.closest(a.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const p=l.currentX,f=l.currentY;if(!gn(e,i,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=p,l.startY=f,r.touchStartTime=De(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let v=!0;c.matches(r.focusableElements)&&(v=!1,c.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==c&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!c.matches(r.focusableElements))&&t.activeElement.blur();const b=v&&e.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||b)&&!c.isContentEditable&&i.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function Ua(n){const e=Ee(),t=this,i=t.touchEventsData,{params:r,touches:a,rtlTranslate:l,enabled:o}=t;if(!o||!r.simulateTouch&&n.pointerType==="mouse")return;let c=n;if(c.originalEvent&&(c=c.originalEvent),c.type==="pointermove"&&(i.touchId!==null||c.pointerId!==i.pointerId))return;let d;if(c.type==="touchmove"){if(d=[...c.changedTouches].find(_=>_.identifier===i.touchId),!d||d.identifier!==i.touchId)return}else d=c;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",c);return}const h=d.pageX,u=d.pageY;if(c.preventedByNestedSwiper){a.startX=h,a.startY=u;return}if(!t.allowTouchMove){c.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(a,{startX:h,startY:u,currentX:h,currentY:u}),i.touchStartTime=De());return}if(r.touchReleaseOnEdges&&!r.loop)if(t.isVertical()){if(ua.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(l&&(h>a.startX&&-t.translate<=t.maxTranslate()||h=t.minTranslate()))return;if(!l&&(ha.startX&&t.translate>=t.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==c.target&&c.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&c.target===e.activeElement&&c.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=h,a.currentY=u;const m=a.currentX-a.startX,p=a.currentY-a.startY;if(t.params.threshold&&Math.sqrt(m**2+p**2)"u"){let _;t.isHorizontal()&&a.currentY===a.startY||t.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:m*m+p*p>=25&&(_=Math.atan2(Math.abs(p),Math.abs(m))*180/Math.PI,i.isScrolling=t.isHorizontal()?_>r.touchAngle:90-_>r.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",c),typeof i.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(i.startMoving=!0),i.isScrolling||c.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let f=t.isHorizontal()?m:p,v=t.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(f=Math.abs(f)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),a.diff=f,f*=r.touchRatio,l&&(f=-f,v=-v);const b=t.touchesDirection;t.swipeDirection=f>0?"prev":"next",t.touchesDirection=v>0?"prev":"next";const g=t.params.loop&&!r.cssMode,x=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(g&&x&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const _=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(_)}i.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",c)}if(new Date().getTime(),r._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&b!==t.touchesDirection&&g&&x&&Math.abs(f)>=1){Object.assign(a,{startX:h,startY:u,currentX:h,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=f+i.startTranslate;let y=!0,w=r.resistanceRatio;if(r.touchReleaseOnEdges&&(w=0),f>0?(g&&x&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(y=!1,r.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+f)**w))):f<0&&(g&&x&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),r.threshold>0)if(Math.abs(f)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{i.currentTranslate=i.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Za(n){const e=this,t=e.touchEventsData;let i=n;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].find(_=>_.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:l,touches:o,rtlTranslate:c,slidesGrid:d,enabled:h}=e;if(!h||!l.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&l.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}l.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const u=De(),m=u-t.touchStartTime;if(e.allowClick){const _=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(_&&_[0]||i.target,_),e.emit("tap click",i),m<300&&u-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=De(),Ti(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(l.followFinger?p=c?e.translate:-e.translate:p=-t.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const f=p>=-e.maxTranslate()&&!e.params.loop;let v=0,b=e.slidesSizesGrid[0];for(let _=0;_=d[_]&&p=d[_])&&(v=_,b=d[d.length-1]-d[d.length-2])}let g=null,x=null;l.rewind&&(e.isBeginning?x=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(g=0));const y=(p-d[v])/b,w=vl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?g:v+w):e.slideTo(v)),e.swipeDirection==="prev"&&(y>1-l.longSwipesRatio?e.slideTo(v+w):x!==null&&y<0&&Math.abs(y)>l.longSwipesRatio?e.slideTo(x):e.slideTo(v))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(v+w):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(g!==null?g:v+w),e.swipeDirection==="prev"&&e.slideTo(x!==null?x:v))}}function vn(){const n=this,{params:e,el:t}=n;if(t&&t.offsetWidth===0)return;e.breakpoints&&n.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:a}=n,l=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!o?n.slideTo(n.slides.length-1,0,!1,!0):n.params.loop&&!l?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=r,n.allowSlideNext=i,n.params.watchOverflow&&a!==n.snapGrid&&n.checkOverflow()}function Ka(n){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Ja(){const n=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=n;if(!i)return;n.previousTranslate=n.translate,n.isHorizontal()?n.translate=-e.scrollLeft:n.translate=-e.scrollTop,n.translate===0&&(n.translate=0),n.updateActiveIndex(),n.updateSlidesClasses();let r;const a=n.maxTranslate()-n.minTranslate();a===0?r=0:r=(n.translate-n.minTranslate())/a,r!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function Qa(n){const e=this;Dt(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function el(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const Ls=(n,e)=>{const t=Ee(),{params:i,el:r,wrapperEl:a,device:l}=n,o=!!i.nested,c=e==="on"?"addEventListener":"removeEventListener",d=e;!r||typeof r=="string"||(t[c]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:o}),r[c]("touchstart",n.onTouchStart,{passive:!1}),r[c]("pointerdown",n.onTouchStart,{passive:!1}),t[c]("touchmove",n.onTouchMove,{passive:!1,capture:o}),t[c]("pointermove",n.onTouchMove,{passive:!1,capture:o}),t[c]("touchend",n.onTouchEnd,{passive:!0}),t[c]("pointerup",n.onTouchEnd,{passive:!0}),t[c]("pointercancel",n.onTouchEnd,{passive:!0}),t[c]("touchcancel",n.onTouchEnd,{passive:!0}),t[c]("pointerout",n.onTouchEnd,{passive:!0}),t[c]("pointerleave",n.onTouchEnd,{passive:!0}),t[c]("contextmenu",n.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[c]("click",n.onClick,!0),i.cssMode&&a[c]("scroll",n.onScroll),i.updateOnWindowResize?n[d](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",vn,!0):n[d]("observerUpdate",vn,!0),r[c]("load",n.onLoad,{capture:!0}))};function tl(){const n=this,{params:e}=n;n.onTouchStart=Ya.bind(n),n.onTouchMove=Ua.bind(n),n.onTouchEnd=Za.bind(n),n.onDocumentTouchStart=el.bind(n),e.cssMode&&(n.onScroll=Ja.bind(n)),n.onClick=Ka.bind(n),n.onLoad=Qa.bind(n),Ls(n,"on")}function il(){Ls(this,"off")}var nl={attachEvents:tl,detachEvents:il};const bn=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function sl(){const n=this,{realIndex:e,initialized:t,params:i,el:r}=n,a=i.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const l=Ee(),o=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",c=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?n.el:l.querySelector(i.breakpointsBase),d=n.getBreakpoint(a,o,c);if(!d||n.currentBreakpoint===d)return;const u=(d in a?a[d]:void 0)||n.originalParams,m=bn(n,i),p=bn(n,u),f=n.params.grabCursor,v=u.grabCursor,b=i.enabled;m&&!p?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),n.emitContainerClasses()):!m&&p&&(r.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&u.grid.fill==="column"||!u.grid.fill&&i.grid.fill==="column")&&r.classList.add(`${i.containerModifierClass}grid-column`),n.emitContainerClasses()),f&&!v?n.unsetGrabCursor():!f&&v&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(M=>{if(typeof u[M]>"u")return;const C=i[M]&&i[M].enabled,S=u[M]&&u[M].enabled;C&&!S&&n[M].disable(),!C&&S&&n[M].enable()});const g=u.direction&&u.direction!==i.direction,x=i.loop&&(u.slidesPerView!==i.slidesPerView||g),y=i.loop;g&&t&&n.changeDirection(),ie(n.params,u);const w=n.params.enabled,_=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),b&&!w?n.disable():!b&&w&&n.enable(),n.currentBreakpoint=d,n.emit("_beforeBreakpoint",u),t&&(x?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!y&&_?(n.loopCreate(e),n.updateSlides()):y&&!_&&n.loopDestroy()),n.emit("breakpoint",u)}function rl(n,e,t){if(e===void 0&&(e="window"),!n||e==="container"&&!t)return;let i=!1;const r=J(),a=e==="window"?r.innerHeight:t.clientHeight,l=Object.keys(n).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const c=parseFloat(o.substr(1));return{value:a*c,point:o}}return{value:o,point:o}});l.sort((o,c)=>parseInt(o.value,10)-parseInt(c.value,10));for(let o=0;o{typeof i=="object"?Object.keys(i).forEach(r=>{i[r]&&t.push(e+r)}):typeof i=="string"&&t.push(e+i)}),t}function ol(){const n=this,{classNames:e,params:t,rtl:i,el:r,device:a}=n,l=ll(["initialized",t.direction,{"free-mode":n.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...l),r.classList.add(...e),n.emitContainerClasses()}function cl(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var dl={addClasses:ol,removeClasses:cl};function hl(){const n=this,{isLocked:e,params:t}=n,{slidesOffsetBefore:i}=t;if(i){const r=n.slides.length-1,a=n.slidesGrid[r]+n.slidesSizesGrid[r]+i*2;n.isLocked=n.size>a}else n.isLocked=n.snapGrid.length===1;t.allowSlideNext===!0&&(n.allowSlideNext=!n.isLocked),t.allowSlidePrev===!0&&(n.allowSlidePrev=!n.isLocked),e&&e!==n.isLocked&&(n.isEnd=!1),e!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock")}var ul={checkOverflow:hl},Ci={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function pl(n,e){return function(i){i===void 0&&(i={});const r=Object.keys(i)[0],a=i[r];if(typeof a!="object"||a===null){ie(e,i);return}if(n[r]===!0&&(n[r]={enabled:!0}),r==="navigation"&&n[r]&&n[r].enabled&&!n[r].prevEl&&!n[r].nextEl&&(n[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&n[r]&&n[r].enabled&&!n[r].el&&(n[r].auto=!0),!(r in n&&"enabled"in a)){ie(e,i);return}typeof n[r]=="object"&&!("enabled"in n[r])&&(n[r].enabled=!0),n[r]||(n[r]={enabled:!1}),ie(e,i)}}const ei={eventsEmitter:da,update:wa,translate:Ca,transition:La,slide:Fa,loop:Ga,grabCursor:Xa,events:nl,breakpoints:al,checkOverflow:ul,classes:dl},ti={};let Fi=class ye{constructor(){let e,t;for(var i=arguments.length,r=new Array(i),a=0;a1){const h=[];return l.querySelectorAll(t.el).forEach(u=>{const m=ie({},t,{el:u});h.push(new ye(m))}),h}const o=this;o.__swiper__=!0,o.support=Cs(),o.device=Ps({userAgent:t.userAgent}),o.browser=Ms(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const c={};o.modules.forEach(h=>{h({params:t,swiper:o,extendParams:pl(t,c),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const d=ie({},Ci,c);return o.params=ie({},d,ti,t),o.originalParams=ie({},o.params),o.passedParams=ie({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(h=>{o.on(h,o.params.on[h])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,r=ce(t,`.${i.slideClass}, swiper-slide`),a=pn(r[0]);return pn(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:t,params:i}=e;e.slides=ce(t,`.${i.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const r=i.minTranslate(),l=(i.maxTranslate()-r)*e+r;i.translateTo(l,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const r=e.getSlideClasses(i);t.push({slideEl:i,classNames:r}),e.emit("_slideClass",i,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const i=this,{params:r,slides:a,slidesGrid:l,slidesSizesGrid:o,size:c,activeIndex:d}=i;let h=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let u=a[d]?Math.ceil(a[d].swiperSlideSize):0,m;for(let p=d+1;pc&&(m=!0));for(let p=d-1;p>=0;p-=1)a[p]&&!m&&(u+=a[p].swiperSlideSize,h+=1,u>c&&(m=!0))}else if(e==="current")for(let u=d+1;u=0;u-=1)l[d]-l[u]{l.complete&&Dt(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const l=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(l.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||r()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const i=this,r=i.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${r}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(a=>{e==="vertical"?a.style.width="":a.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):ce(i,r())[0];return!l&&t.params.createElements&&(l=jt("div",t.params.wrapperClass),i.append(l),ce(i,`.${t.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(t,{el:i,wrapperEl:l,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:l,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||_e(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||_e(i,"direction")==="rtl"),wrongRTL:_e(l,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(a=>{a.complete?Dt(t,a):a.addEventListener("load",l=>{Dt(t,l.target)})}),Ei(t),t.initialized=!0,Ei(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const i=this,{params:r,el:a,wrapperEl:l,slides:o}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),a&&typeof a!="string"&&a.removeAttribute("style"),l&&l.removeAttribute("style"),o&&o.length&&o.forEach(c=>{c.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),c.removeAttribute("style"),c.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(c=>{i.off(c)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Zr(i)),i.destroyed=!0),null}static extendDefaults(e){ie(ti,e)}static get extendedDefaults(){return ti}static get defaults(){return Ci}static installModule(e){ye.prototype.__modules__||(ye.prototype.__modules__=[]);const t=ye.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>ye.installModule(t)),ye):(ye.installModule(e),ye)}};Object.keys(ei).forEach(n=>{Object.keys(ei[n]).forEach(e=>{Fi.prototype[e]=ei[n][e]})});Fi.use([oa,ca]);const As=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function je(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"&&!n.__swiper__}function Ue(n,e){const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof n[i]>"u"?n[i]=e[i]:je(e[i])&&je(n[i])&&Object.keys(e[i]).length>0?e[i].__swiper__?n[i]=e[i]:Ue(n[i],e[i]):n[i]=e[i]})}function Os(n){return n===void 0&&(n={}),n.navigation&&typeof n.navigation.nextEl>"u"&&typeof n.navigation.prevEl>"u"}function Is(n){return n===void 0&&(n={}),n.pagination&&typeof n.pagination.el>"u"}function Ds(n){return n===void 0&&(n={}),n.scrollbar&&typeof n.scrollbar.el>"u"}function zs(n){n===void 0&&(n="");const e=n.split(" ").map(i=>i.trim()).filter(i=>!!i),t=[];return e.forEach(i=>{t.indexOf(i)<0&&t.push(i)}),t.join(" ")}function ml(n){return n===void 0&&(n=""),n?n.includes("swiper-wrapper")?n:`swiper-wrapper ${n}`:"swiper-wrapper"}function fl(n){let{swiper:e,slides:t,passedParams:i,changedParams:r,nextEl:a,prevEl:l,scrollbarEl:o,paginationEl:c}=n;const d=r.filter(N=>N!=="children"&&N!=="direction"&&N!=="wrapperClass"),{params:h,pagination:u,navigation:m,scrollbar:p,virtual:f,thumbs:v}=e;let b,g,x,y,w,_,M,C;r.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&!i.thumbs.swiper.destroyed&&h.thumbs&&(!h.thumbs.swiper||h.thumbs.swiper.destroyed)&&(b=!0),r.includes("controller")&&i.controller&&i.controller.control&&h.controller&&!h.controller.control&&(g=!0),r.includes("pagination")&&i.pagination&&(i.pagination.el||c)&&(h.pagination||h.pagination===!1)&&u&&!u.el&&(x=!0),r.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||o)&&(h.scrollbar||h.scrollbar===!1)&&p&&!p.el&&(y=!0),r.includes("navigation")&&i.navigation&&(i.navigation.prevEl||l)&&(i.navigation.nextEl||a)&&(h.navigation||h.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(w=!0);const S=N=>{e[N]&&(e[N].destroy(),N==="navigation"?(e.isElement&&(e[N].prevEl.remove(),e[N].nextEl.remove()),h[N].prevEl=void 0,h[N].nextEl=void 0,e[N].prevEl=void 0,e[N].nextEl=void 0):(e.isElement&&e[N].el.remove(),h[N].el=void 0,e[N].el=void 0))};r.includes("loop")&&e.isElement&&(h.loop&&!i.loop?_=!0:!h.loop&&i.loop?M=!0:C=!0),d.forEach(N=>{if(je(h[N])&&je(i[N]))Object.assign(h[N],i[N]),(N==="navigation"||N==="pagination"||N==="scrollbar")&&"enabled"in i[N]&&!i[N].enabled&&S(N);else{const E=i[N];(E===!0||E===!1)&&(N==="navigation"||N==="pagination"||N==="scrollbar")?E===!1&&S(N):h[N]=i[N]}}),d.includes("controller")&&!g&&e.controller&&e.controller.control&&h.controller&&h.controller.control&&(e.controller.control=h.controller.control),r.includes("children")&&t&&f&&h.virtual.enabled?(f.slides=t,f.update(!0)):r.includes("virtual")&&f&&h.virtual.enabled&&(t&&(f.slides=t),f.update(!0)),r.includes("children")&&t&&h.loop&&(C=!0),b&&v.init()&&v.update(!0),g&&(e.controller.control=h.controller.control),x&&(e.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),e.el.appendChild(c)),c&&(h.pagination.el=c),u.init(),u.render(),u.update()),y&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(h.scrollbar.el=o),p.init(),p.updateSize(),p.setTranslate()),w&&(e.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),a.innerHTML=e.hostEl.constructor.nextButtonSvg,a.part.add("button-next"),e.el.appendChild(a)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),a&&(h.navigation.nextEl=a),l&&(h.navigation.prevEl=l),m.init(),m.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),r.includes("direction")&&e.changeDirection(i.direction,!1),(_||C)&&e.loopDestroy(),(M||C)&&e.loopCreate(),e.update()}function gl(n,e){n===void 0&&(n={}),e===void 0&&(e=!0);const t={on:{}},i={},r={};Ue(t,Ci),t._emitClasses=!0,t.init=!1;const a={},l=As.map(c=>c.replace(/_/,"")),o=Object.assign({},n);return Object.keys(o).forEach(c=>{typeof n[c]>"u"||(l.indexOf(c)>=0?je(n[c])?(t[c]={},r[c]={},Ue(t[c],n[c]),Ue(r[c],n[c])):(t[c]=n[c],r[c]=n[c]):c.search(/on[A-Z]/)===0&&typeof n[c]=="function"?e?i[`${c[2].toLowerCase()}${c.substr(3)}`]=n[c]:t.on[`${c[2].toLowerCase()}${c.substr(3)}`]=n[c]:a[c]=n[c])}),["navigation","pagination","scrollbar"].forEach(c=>{t[c]===!0&&(t[c]={}),t[c]===!1&&delete t[c]}),{params:t,passedParams:r,rest:a,events:i}}function vl(n,e){let{el:t,nextEl:i,prevEl:r,paginationEl:a,scrollbarEl:l,swiper:o}=n;Os(e)&&i&&r&&(o.params.navigation.nextEl=i,o.originalParams.navigation.nextEl=i,o.params.navigation.prevEl=r,o.originalParams.navigation.prevEl=r),Is(e)&&a&&(o.params.pagination.el=a,o.originalParams.pagination.el=a),Ds(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(t)}function bl(n,e,t,i,r){const a=[];if(!e)return a;const l=c=>{a.indexOf(c)<0&&a.push(c)};if(t&&i){const c=i.map(r),d=t.map(r);c.join("")!==d.join("")&&l("children"),i.length!==t.length&&l("children")}return As.filter(c=>c[0]==="_").map(c=>c.replace(/_/,"")).forEach(c=>{if(c in n&&c in e)if(je(n[c])&&je(e[c])){const d=Object.keys(n[c]),h=Object.keys(e[c]);d.length!==h.length?l(c):(d.forEach(u=>{n[c][u]!==e[c][u]&&l(c)}),h.forEach(u=>{n[c][u]!==e[c][u]&&l(c)}))}else n[c]!==e[c]&&l(c)}),a}const xl=n=>{!n||n.destroyed||!n.params.virtual||n.params.virtual&&!n.params.virtual.enabled||(n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.parallax&&n.params.parallax&&n.params.parallax.enabled&&n.parallax.setTranslate())};function Ft(){return Ft=Object.assign?Object.assign.bind():function(n){for(var e=1;e{Rs(t)?e.push(t):t.props&&t.props.children&&js(t.props.children).forEach(i=>e.push(i))}),e}function yl(n){const e=[],t={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return X.Children.toArray(n).forEach(i=>{if(Rs(i))e.push(i);else if(i.props&&i.props.slot&&t[i.props.slot])t[i.props.slot].push(i);else if(i.props&&i.props.children){const r=js(i.props.children);r.length>0?r.forEach(a=>e.push(a)):t["container-end"].push(i)}else t["container-end"].push(i)}),{slides:e,slots:t}}function wl(n,e,t){if(!t)return null;const i=h=>{let u=h;return h<0?u=e.length+h:u>=e.length&&(u=u-e.length),u},r=n.isHorizontal()?{[n.rtlTranslate?"right":"left"]:`${t.offset}px`}:{top:`${t.offset}px`},{from:a,to:l}=t,o=n.params.loop?-e.length:0,c=n.params.loop?e.length*2:e.length,d=[];for(let h=o;h=a&&h<=l&&d.push(e[i(h)]);return d.map((h,u)=>X.cloneElement(h,{swiper:n,style:r,key:h.props.virtualIndex||h.key||`slide-${u}`}))}function ot(n,e){return typeof window>"u"?Re(n,e):Te(n,e)}const xn=pt(null),Nl=pt(null),Oe=zi(function(n,e){let{className:t,tag:i="div",wrapperTag:r="div",children:a,onSwiper:l,...o}=n===void 0?{}:n,c=!1;const[d,h]=ne("swiper"),[u,m]=ne(null),[p,f]=ne(!1),v=$(!1),b=$(null),g=$(null),x=$(null),y=$(null),w=$(null),_=$(null),M=$(null),C=$(null),{params:S,passedParams:N,rest:E,events:P}=gl(o),{slides:L,slots:O}=yl(a),G=()=>{f(!p)};Object.assign(S.on,{_containerClasses(F,oe){h(oe)}});const te=()=>{Object.assign(S.on,P),c=!0;const F={...S};if(delete F.wrapperClass,g.current=new Fi(F),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=L;const oe={cache:!1,slides:L,renderExternal:m,renderExternalUpdate:!1};Ue(g.current.params.virtual,oe),Ue(g.current.originalParams.virtual,oe)}};b.current||te(),g.current&&g.current.on("_beforeBreakpoint",G);const I=()=>{c||!P||!g.current||Object.keys(P).forEach(F=>{g.current.on(F,P[F])})},V=()=>{!P||!g.current||Object.keys(P).forEach(F=>{g.current.off(F,P[F])})};Re(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",G)}),Re(()=>{!v.current&&g.current&&(g.current.emitSlidesClasses(),v.current=!0)}),ot(()=>{if(e&&(e.current=b.current),!!b.current)return g.current.destroyed&&te(),vl({el:b.current,nextEl:w.current,prevEl:_.current,paginationEl:M.current,scrollbarEl:C.current,swiper:g.current},S),l&&!g.current.destroyed&&l(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),ot(()=>{I();const F=bl(N,x.current,L,y.current,oe=>oe.key);return x.current=N,y.current=L,F.length&&g.current&&!g.current.destroyed&&fl({swiper:g.current,slides:L,passedParams:N,changedParams:F,nextEl:w.current,prevEl:_.current,scrollbarEl:C.current,paginationEl:M.current}),()=>{V()}}),ot(()=>{xl(g.current)},[u]);function q(){return S.virtual?wl(g.current,L,u):L.map((F,oe)=>X.cloneElement(F,{swiper:g.current,swiperSlideIndex:oe}))}return X.createElement(i,Ft({ref:b,className:zs(`${d}${t?` ${t}`:""}`)},E),X.createElement(Nl.Provider,{value:g.current},O["container-start"],X.createElement(r,{className:ml(S.wrapperClass)},O["wrapper-start"],q(),O["wrapper-end"]),Os(S)&&X.createElement(X.Fragment,null,X.createElement("div",{ref:_,className:"swiper-button-prev"}),X.createElement("div",{ref:w,className:"swiper-button-next"})),Ds(S)&&X.createElement("div",{ref:C,className:"swiper-scrollbar"}),Is(S)&&X.createElement("div",{ref:M,className:"swiper-pagination"}),O["container-end"]))});Oe.displayName="Swiper";const D=zi(function(n,e){let{tag:t="div",children:i,className:r="",swiper:a,zoom:l,lazy:o,virtualIndex:c,swiperSlideIndex:d,...h}=n===void 0?{}:n;const u=$(null),[m,p]=ne("swiper-slide"),[f,v]=ne(!1);function b(w,_,M){_===u.current&&p(M)}ot(()=>{if(typeof d<"u"&&(u.current.swiperSlideIndex=d),e&&(e.current=u.current),!(!u.current||!a)){if(a.destroyed){m!=="swiper-slide"&&p("swiper-slide");return}return a.on("_slideClass",b),()=>{a&&a.off("_slideClass",b)}}}),ot(()=>{a&&u.current&&!a.destroyed&&p(a.getSlideClasses(u.current))},[a]);const g={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},x=()=>typeof i=="function"?i(g):i,y=()=>{v(!0)};return X.createElement(t,Ft({ref:u,className:zs(`${m}${r?` ${r}`:""}`),"data-swiper-slide-index":c,onLoad:y},h),l&&X.createElement(xn.Provider,{value:g},X.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},x(),o&&!f&&X.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&X.createElement(xn.Provider,{value:g},x(),o&&!f&&X.createElement("div",{className:"swiper-lazy-preloader"})))});D.displayName="SwiperSlide";function _l(){return s("div",{className:"p-[15px] bg-white mt-5 rounded-[8px]",children:[s("div",{className:"flex items-center justify-between pb-[15px] border-b-[1px] border-[#B1B1B1]",children:[s("h3",{className:"text-xl font-bold",children:"Nhà cung cấp trên BestPC - Tại Hà Nội"}),s("div",{className:"flex items-center",children:[s("div",{className:"flex items-center relative border border-[#b1b1b1] mr-[10px] w-[410px] h-[45px] px-[10px] rounded-[4px]",children:[s("i",{className:"icon_2025 map-2"}),s("input",{type:"text",placeholder:"Nhập địa chỉ của bạn để tìm NCC gần nhất",className:"outline-none ml-[5px] h-full w-full"})]}),s("div",{className:"select-sort relative border border-[#b1b1b1] w-[100px] h-[45px] rounded-[4px] overflow-hidden",children:[s("select",{name:"",id:"",className:" appearance-none w-full relative pl-[10px] bg-transparent h-full z-[2]",children:[s("option",{value:"",children:"Sắp xếp"}),s("option",{value:"",children:"Mới"})]}),s("i",{className:"icon_2025 angle-right ml-[5px] absolute right-[7px] top-[12px] z-[1] rotate-[90deg]"})]})]})]}),s("div",{className:"mt-[10px] py-[15px] grid grid-cols-5 text-xl border-b-[1px] border-[#D9D9D9]",children:[s("div",{children:s("b",{children:"Nhà cung cấp"})}),s("div",{children:s("b",{children:"Chính sách vận chuyển"})}),s("div",{children:s("b",{children:"Giá"})}),s("div",{children:s("b",{children:"Sản phẩm"})})]}),s("div",{className:"list ",children:[s("div",{className:"item grid grid-cols-5 py-[10px] border-b-[1px] border-[#D9D9D9]",children:[s("div",{className:"flex items-start supplier",children:[s("div",{className:"logo mr-[10px]",children:[s("div",{className:"w-[70px] h-[70px] p-[10px] block border border-[#F3F3F3] rounded-[4px]",children:s("img",{src:"/assets/images/logo-hacom.png",className:"block w-full h-full object-contain m-[0_auto]",width:"100%",height:"100%",alt:"hacom"})}),s("div",{className:"flex items-center justify-center mt-2",children:[s("i",{className:"icon_2025 map-4"}),s("span",{className:"ml-[5px]",children:"3km"})]})]}),s("div",{children:[s("div",{className:"flex items-center",children:[s("i",{className:"icon-star star4"}),s("span",{className:"ml-[5px] mt-[3px]",children:"4.7"})]}),s("a",{href:"",className:"text-[#1877F2] font-bold",children:"Hanoicomputer"}),s("a",{href:"",className:"text-[#E85933] underline block",children:"Xem 7 cửa hàng"})]})]}),s("div",{className:"ship",children:[s("p",{children:"Miễn phí giao hàng"}),s("p",{children:"Nhận giap hàng và lắp đặt từ 8h00-21:30 các ngày trong tuần kể cả ngày thứ 7, CN"})]}),s("div",{className:"price",children:[s("div",{className:"flex items-center text-base",children:[s("span",{children:"Giá:"}),s("b",{className:"ml-[5px] text-[#D80A00]",children:"9.000.000đ - 20.000.000đ"})]}),s("b",{className:"mt-2",children:"Đã có VAT"})]}),s("div",{className:"",children:[s("p",{className:"name-pro pb-[10px] border-b-[1px] border-[#D9D9D9]",children:"8GB - 9.000.000đ new White"}),s("p",{className:"name-pro py-[10px] border-b-[1px] border-[#D9D9D9]",children:"8GB - 9.000.000đ new White"})]}),s("div",{children:s("a",{href:"",className:"block w-[130px] h-[40px] leading-[40px] m-[auto_0_auto_auto] text-base text-center text-white bg-orange-500 rounded hover:bg-orange-600",children:"Liên hệ ngay"})})]}),s("div",{className:"item grid grid-cols-5 py-[10px] border-b-[1px] border-[#D9D9D9]",children:[s("div",{className:"flex items-start supplier",children:[s("div",{className:"logo mr-[10px]",children:[s("div",{className:"w-[70px] h-[70px] p-[10px] block border border-[#F3F3F3] rounded-[4px]",children:s("img",{src:"/assets/images/logo-hacom.png",className:"block w-full h-full object-contain m-[0_auto]",width:"100%",height:"100%",alt:"hacom"})}),s("div",{className:"flex items-center justify-center mt-2",children:[s("i",{className:"icon_2025 map-4"}),s("span",{className:"ml-[5px]",children:"3km"})]})]}),s("div",{children:[s("div",{className:"flex items-center",children:[s("i",{className:"icon-star star4"}),s("span",{className:"ml-[5px] mt-[3px]",children:"4.7"})]}),s("a",{href:"",className:"text-[#1877F2] font-bold",children:"Hanoicomputer"}),s("a",{href:"",className:"text-[#E85933] underline block",children:"Xem 7 cửa hàng"})]})]}),s("div",{className:"ship",children:[s("p",{children:"Miễn phí giao hàng"}),s("p",{children:"Nhận giap hàng và lắp đặt từ 8h00-21:30 các ngày trong tuần kể cả ngày thứ 7, CN"})]}),s("div",{className:"price",children:[s("div",{className:"flex items-center text-base",children:[s("span",{children:"Giá:"}),s("b",{className:"ml-[5px] text-[#D80A00]",children:"9.000.000đ - 20.000.000đ"})]}),s("b",{className:"mt-2",children:"Đã có VAT"})]}),s("div",{className:"",children:[s("p",{className:"name-pro pb-[10px] border-b-[1px] border-[#D9D9D9]",children:"8GB - 9.000.000đ new White"}),s("p",{className:"name-pro py-[10px] border-b-[1px] border-[#D9D9D9]",children:"8GB - 9.000.000đ new White"})]}),s("div",{children:s("a",{href:"",className:"block w-[130px] h-[40px] leading-[40px] m-[auto_0_auto_auto] text-base text-center text-white bg-orange-500 rounded hover:bg-orange-600",children:"Liên hệ ngay"})})]}),s("div",{className:"item grid grid-cols-5 py-[10px] border-b-[1px] border-[#D9D9D9]",children:[s("div",{className:"flex items-start supplier",children:[s("div",{className:"logo mr-[10px]",children:[s("div",{className:"w-[70px] h-[70px] p-[10px] block border border-[#F3F3F3] rounded-[4px]",children:s("img",{src:"/assets/images/logo-hacom.png",className:"block w-full h-full object-contain m-[0_auto]",width:"100%",height:"100%",alt:"hacom"})}),s("div",{className:"flex items-center justify-center mt-2",children:[s("i",{className:"icon_2025 map-4"}),s("span",{className:"ml-[5px]",children:"3km"})]})]}),s("div",{children:[s("div",{className:"flex items-center",children:[s("i",{className:"icon-star star4"}),s("span",{className:"ml-[5px] mt-[3px]",children:"4.7"})]}),s("a",{href:"",className:"text-[#1877F2] font-bold",children:"Hanoicomputer"}),s("a",{href:"",className:"text-[#E85933] underline block",children:"Xem 7 cửa hàng"})]})]}),s("div",{className:"ship",children:[s("p",{children:"Miễn phí giao hàng"}),s("p",{children:"Nhận giap hàng và lắp đặt từ 8h00-21:30 các ngày trong tuần kể cả ngày thứ 7, CN"})]}),s("div",{className:"price",children:[s("div",{className:"flex items-center text-base",children:[s("span",{children:"Giá:"}),s("b",{className:"ml-[5px] text-[#D80A00]",children:"9.000.000đ - 20.000.000đ"})]}),s("b",{className:"mt-2",children:"Đã có VAT"})]}),s("div",{className:"",children:[s("p",{className:"name-pro pb-[10px] border-b-[1px] border-[#D9D9D9]",children:"8GB - 9.000.000đ new White"}),s("p",{className:"name-pro py-[10px] border-b-[1px] border-[#D9D9D9]",children:"8GB - 9.000.000đ new White"})]}),s("div",{children:s("a",{href:"",className:"block w-[130px] h-[40px] leading-[40px] m-[auto_0_auto_auto] text-base text-center text-white bg-orange-500 rounded hover:bg-orange-600",children:"Liên hệ ngay"})})]})]}),s("a",{href:"",className:"pt-3 block text-center text-[#FF7A00] text-xl hover:text-orange-600",children:"Xem thêm"})]})}const T=(n,e=1e4)=>(n=parseFloat(n+"")||0,Math.round((n+Number.EPSILON)*e)/e),Pi=function(n){if(!(n&&n instanceof Element&&n.offsetParent))return!1;const e=n.scrollHeight>n.clientHeight,t=window.getComputedStyle(n).overflowY,i=t.indexOf("hidden")!==-1,r=t.indexOf("visible")!==-1;return e&&!i&&!r},Bt=function(n,e=void 0){return!(!n||n===document.body||e&&n===e)&&(Pi(n)?n:Bt(n.parentElement,e))},pe=function(n){var e=new DOMParser().parseFromString(n,"text/html").body;if(e.childElementCount>1){for(var t=document.createElement("div");e.firstChild;)t.appendChild(e.firstChild);return t}return e.firstChild},Bi=n=>`${n||""}`.split(" ").filter(e=>!!e),me=(n,e,t)=>{n&&Bi(e).forEach(i=>{n.classList.toggle(i,t||!1)})};class Be{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}}const He={passive:!1};class Sl{constructor(e,{start:t=()=>!0,move:i=()=>{},end:r=()=>{}}){Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=t,this.moveCallback=i,this.endCallback=r;for(const a of["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"])this[a]=this[a].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,He),this.element.addEventListener("touchstart",this.onTouchStart,He),this.element.addEventListener("touchmove",this.onMove,He),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||e.button!==0)return;const t=new Be(e);this.currentPointers.some(i=>i.id===t.id)||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new Be(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){const t=this.currentPointers.slice(),i="changedTouches"in e?Array.from(e.changedTouches||[]).map(a=>new Be(a)):[new Be(e)],r=[];for(const a of i){const l=this.currentPointers.findIndex(o=>o.id===a.id);l<0||(r.push(a),this.currentPointers[l]=a)}r.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&e.button!==0||(this.triggerPointerEnd(e,new Be(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new Be(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){const i=this.currentPointers.findIndex(r=>r.id===t.id);i<0||(this.currentPointers.splice(i,1),this.startPointers.splice(i,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){const e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,He),this.element.removeEventListener("touchstart",this.onTouchStart,He),this.element.removeEventListener("touchmove",this.onMove,He),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}}function yn(n,e){return e?Math.sqrt(Math.pow(e.clientX-n.clientX,2)+Math.pow(e.clientY-n.clientY,2)):0}function wn(n,e){return e?{clientX:(n.clientX+e.clientX)/2,clientY:(n.clientY+e.clientY)/2}:n}const Mi=n=>typeof n=="object"&&n!==null&&n.constructor===Object&&Object.prototype.toString.call(n)==="[object Object]",ee=(n,...e)=>{const t=e.length;for(let i=0;i{const o=Array.isArray(l)?[]:{};n[a]||Object.assign(n,{[a]:o}),Mi(l)?Object.assign(n[a],ee(o,l)):Array.isArray(l)?Object.assign(n,{[a]:[...l]}):Object.assign(n,{[a]:l})})}return n},ii=function(n,e){return n.split(".").reduce((t,i)=>typeof t=="object"?t[i]:void 0,e)};class Ht{constructor(e={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}setOptions(e){this.options=e?ee({},this.constructor.defaults,e):{};for(const[t,i]of Object.entries(this.option("on")||{}))this.on(t,i)}option(e,...t){let i=ii(e,this.options);return i&&typeof i=="function"&&(i=i.call(this,this,...t)),i}optionFor(e,t,i,...r){let a=ii(t,e);var l;typeof(l=a)!="string"||isNaN(l)||isNaN(parseFloat(l))||(a=parseFloat(a)),a==="true"&&(a=!0),a==="false"&&(a=!1),a&&typeof a=="function"&&(a=a.call(this,this,e,...r));let o=ii(t,this.options);return o&&typeof o=="function"?a=o.call(this,this,e,...r,a):a===void 0&&(a=o),a===void 0?i:a}cn(e){const t=this.options.classes;return t&&t[e]||""}localize(e,t=[]){e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,(i,r,a)=>{let l="";return a?l=this.option(`${r[0]+r.toLowerCase().substring(1)}.l10n.${a}`):r&&(l=this.option(`l10n.${r}`)),l||(l=i),l});for(let i=0;ir)}on(e,t){let i=[];typeof e=="string"?i=e.split(" "):Array.isArray(e)&&(i=e),this.events||(this.events=new Map),i.forEach(r=>{let a=this.events.get(r);a||(this.events.set(r,[]),a=[]),a.includes(t)||a.push(t),this.events.set(r,a)})}off(e,t){let i=[];typeof e=="string"?i=e.split(" "):Array.isArray(e)&&(i=e),i.forEach(r=>{const a=this.events.get(r);if(Array.isArray(a)){const l=a.indexOf(t);l>-1&&a.splice(l,1)}})}emit(e,...t){[...this.events.get(e)||[]].forEach(i=>i(this,...t)),e!=="*"&&this.emit("*",e,...t)}}Object.defineProperty(Ht,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(Ht,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class Hi extends Ht{constructor(e={}){super(e),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(e={}){const t=new Map;for(const[i,r]of Object.entries(e)){const a=this.option(i),l=this.plugins[i];l||a===!1?l&&a===!1&&(l.detach(),delete this.plugins[i]):t.set(i,new r(this,a||{}))}for(const[i,r]of t)this.plugins[i]=r,r.attach()}detachPlugins(e){e=e||Object.keys(this.plugins);for(const t of e){const i=this.plugins[t];i&&i.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}}var j;(function(n){n[n.Init=0]="Init",n[n.Error=1]="Error",n[n.Ready=2]="Ready",n[n.Panning=3]="Panning",n[n.Mousemove=4]="Mousemove",n[n.Destroy=5]="Destroy"})(j||(j={}));const be=["a","b","c","d","e","f"],Fs={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},Tl={content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:Fs},Nn='',$i='
'+Nn+Nn+"
",Q=n=>n&&n!==null&&n instanceof Element&&"nodeType"in n,R=(n,e)=>{n&&Bi(e).forEach(t=>{n.classList.remove(t)})},k=(n,e)=>{n&&Bi(e).forEach(t=>{n.classList.add(t)})},wt={a:1,b:0,c:0,d:1,e:0,f:0},El=1e5,Nt=1e4,se="mousemove",_n="drag",Sn="content",re="auto";let ni=null,si=null;class Fe extends Hi{get fits(){return this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1}get isTouchDevice(){return si===null&&(si=window.matchMedia("(hover: none)").matches),si}get isMobile(){return ni===null&&(ni=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),ni}get panMode(){return this.options.panMode!==se||this.isTouchDevice?_n:se}get panOnlyZoomed(){const e=this.options.panOnlyZoomed;return e===re?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||0}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){const{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){const{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){const{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){const{containerRect:e,contentRect:t}=this,i=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,i)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){const e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(const e of be){const t=e=="e"||e==="f"?1e-4:1e-5;if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e,t={},i={}){var r;if(super(t),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:j.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},wt)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},wt)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw new Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({},Fe.Plugins),i)),this.emit("attachPlugins"),this.emit("init");const a=this.content;if(a.addEventListener("load",this.onLoad),a.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));const l=pe($i);!e.contains(a)||a.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(l):this.spinner=((r=a.parentElement)===null||r===void 0?void 0:r.insertBefore(l,a))||null}this.emit("beforeLoad")}else queueMicrotask(()=>{this.enable()})}initContent(){const{container:e}=this,t=this.cn(Sn);let i=this.option(Sn)||e.querySelector(`.${t}`);if(i||(i=e.querySelector("img,picture")||e.firstElementChild,i&&k(i,t)),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),!i)throw new Error("No content found");this.content=i}onLoad(){const{spinner:e,container:t,state:i}=this;e&&(e.remove(),this.spinner=null),this.option("spinner")&&t.classList.remove(this.cn("isLoading")),this.emit("afterLoad"),i===j.Init?this.enable():this.updateMetrics()}onError(){this.state!==j.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=j.Error,this.emit("error"))}getNextScale(e){const{fullScale:t,targetScale:i,coverScale:r,maxScale:a,minScale:l}=this;let o=l;switch(e){case"toggleMax":o=i-l<.5*(a-l)?a:l;break;case"toggleCover":o=i-l<.5*(r-l)?r:l;break;case"toggleZoom":o=i-l<.5*(t-l)?t:l;break;case"iterateZoom":let c=[1,t,a].sort((h,u)=>h-u),d=c.findIndex(h=>h>i+1e-5);o=c[d]||1}return o}attachObserver(){var e;const t=()=>{const{container:i,containerRect:r}=this;return Math.abs(r.width-i.getBoundingClientRect().width)>.1||Math.abs(r.height-i.getBoundingClientRect().height)>.1};this.resizeObserver||window.ResizeObserver===void 0||(this.resizeObserver=new ResizeObserver(()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout(()=>{t()&&this.onResize(),this.updateTimer=null},500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))})),(e=this.resizeObserver)===null||e===void 0||e.observe(this.container)}detachObserver(){var e;(e=this.resizeObserver)===null||e===void 0||e.disconnect()}attachEvents(){const{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new Sl(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(se,this.onMouseMove)}detachEvents(){var e;const{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),(e=this.pointerTracker)===null||e===void 0||e.stop(),this.pointerTracker=null,document.removeEventListener(se,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){this.setTargetForce();const e=this.friction,t=this.option("maxVelocity");for(const i of be)e?(this.velocity[i]*=1-e,t&&!this.isScaling&&(this.velocity[i]=Math.max(Math.min(this.velocity[i],t),-1*t)),this.current[i]+=this.velocity[i]):this.current[i]=this.target[i];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame(()=>this.animate()):this.stop("current")}setTargetForce(){for(const e of be)e==="e"&&this.isBouncingX||e==="f"&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(e=0,t=0){const{current:i}=this,r=i.e+e,a=i.f+t,l=this.getBounds(),{x:o,y:c}=l,d=o.min,h=o.max,u=c.min,m=c.max;let p=0,f=0;return d!==1/0&&rh&&(p=h-r),u!==1/0&&am&&(f=m-a),Math.abs(p)<1e-4&&(p=0),Math.abs(f)<1e-4&&(f=0),Object.assign(Object.assign({},l),{xDiff:p,yDiff:f,inBounds:!p&&!f})}clampTargetBounds(){const{target:e}=this,{x:t,y:i}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),i.min!==1/0&&(e.f=Math.max(e.f,i.min)),i.max!==1/0&&(e.f=Math.min(e.f,i.max))}calculateContentDim(e=this.current){const{content:t,contentRect:i}=this,{fitWidth:r,fitHeight:a,fullWidth:l,fullHeight:o}=i;let c=l,d=o;if(this.option("zoom")||this.angle!==0){const h=!(t instanceof HTMLImageElement)&&(window.getComputedStyle(t).maxWidth==="none"||window.getComputedStyle(t).maxHeight==="none"),u=h?l:r,m=h?o:a,p=this.getMatrix(e),f=new DOMPoint(0,0).matrixTransform(p),v=new DOMPoint(0+u,0).matrixTransform(p),b=new DOMPoint(0+u,0+m).matrixTransform(p),g=new DOMPoint(0,0+m).matrixTransform(p),x=Math.abs(b.x-f.x),y=Math.abs(b.y-f.y),w=Math.abs(g.x-v.x),_=Math.abs(g.y-v.y);c=Math.max(x,w),d=Math.max(y,_)}return{contentWidth:c,contentHeight:d}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===se||this.targetScale{const p=window.getSelection();return p&&p.type==="Range"})()&&!i.closest("button"))return;const r=i.closest("[data-panzoom-action]"),a=i.closest("[data-panzoom-change]"),l=r||a,o=l&&Q(l)?l.dataset:null;if(o){const p=o.panzoomChange,f=o.panzoomAction;if((p||f)&&e.preventDefault(),p){let v={};try{v=JSON.parse(p)}catch{console&&console.warn("The given data was not valid JSON")}return void this.applyChange(v)}if(f)return void(this[f]&&this[f]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();if(i.closest("[data-fancybox]"))return;const c=this.content.getBoundingClientRect(),d=this.dragStart;if(d.time&&!this.canZoomOut()&&(Math.abs(c.x-d.x)>2||Math.abs(c.y-d.y)>2))return;this.dragStart.time=0;const h=p=>{this.option("zoom",e)&&p&&typeof p=="string"&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(p)&&typeof this[p]=="function"&&(e.preventDefault(),this[p]({event:e}))},u=this.option("click",e),m=this.option("dblClick",e);m?(this.clicks++,this.clicks==1&&(this.clickTimer=setTimeout(()=>{this.clicks===1?(this.emit("click",e),!e.defaultPrevented&&u&&h(u)):(this.emit("dblClick",e),e.defaultPrevented||h(m)),this.clicks=0,this.clickTimer=null},350))):(this.emit("click",e),!e.defaultPrevented&&u&&h(u))}addTrackingPoint(e){const t=this.trackingPoints.filter(i=>i.time>Date.now()-100);t.push(e),this.trackingPoints=t}onPointerDown(e,t,i){var r;if(this.option("touch",e)===!1)return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];const a=this.content.getBoundingClientRect();if(this.dragStart={x:a.x,y:a.y,top:a.top,left:a.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===se&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;const l=e.composedPath()[0];if(!i.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(l.nodeName)||l.closest("[contenteditable],[data-selectable],[data-draggable],[data-clickable],[data-panzoom-change],[data-panzoom-action]"))return!1;(r=window.getSelection())===null||r===void 0||r.removeAllRanges()}if(e.type==="mousedown")["A","BUTTON"].includes(l.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit("touchStart",e)),!0}onPointerMove(e,t,i){if(this.option("touch",e)===!1||!this.isDragging||t.length<2&&this.panOnlyZoomed&&T(this.targetScale)<=T(this.minScale)||(this.emit("touchMove",e),e.defaultPrevented))return;this.addTrackingPoint(t[0]);const{content:r}=this,a=wn(i[0],i[1]),l=wn(t[0],t[1]);let o=0,c=0;if(t.length>1){const y=r.getBoundingClientRect();o=a.clientX-y.left-.5*y.width,c=a.clientY-y.top-.5*y.height}const d=yn(i[0],i[1]),h=yn(t[0],t[1]);let u=d?h/d:1,m=l.clientX-a.clientX,p=l.clientY-a.clientY;this.dragOffset.x+=m,this.dragOffset.y+=p,this.dragOffset.time=Date.now()-this.dragStart.time;let f=T(this.targetScale)===T(this.minScale)&&this.option("lockAxis");if(f&&!this.lockedAxis)if(f==="xy"||f==="y"||e.type==="touchmove"){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void e.preventDefault();const y=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=y>45&&y<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,m=0,p=0}else this.lockedAxis=f;if(Bt(e.target,this.content)&&(f="x",this.dragOffset.y=0),f&&f!=="xy"&&this.lockedAxis!==f&&T(this.targetScale)===T(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));const v=this.checkBounds(m,p);this.option("rubberband")?(this.isInfinite!=="x"&&(v.xDiff>0&&m<0||v.xDiff<0&&m>0)&&(m*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*v.xDiff))),this.isInfinite!=="y"&&(v.yDiff>0&&p<0||v.yDiff<0&&p>0)&&(p*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*v.yDiff)))):(v.xDiff&&(m=0),v.yDiff&&(p=0));const b=this.targetScale,g=this.minScale,x=this.maxScale;b<.5*g&&(u=Math.max(u,g)),b>1.5*x&&(u=Math.min(u,x)),this.lockedAxis==="y"&&T(b)===T(g)&&(m=0),this.lockedAxis==="x"&&T(b)===T(g)&&(p=0),this.applyChange({originX:o,originY:c,panX:m,panY:p,scale:u,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,i){if(i.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),Bt(e.target,this.content)&&this.lockedAxis==="y"&&(this.trackingPoints=[]),this.emit("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==j.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;const t=this.isScaling;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const y of be)this.velocity[y]=0;this.target.e=this.current.e,this.target.f=this.current.f,R(this.container,"is-scaling"),R(this.container,"is-animating"),this.isTicking=!1;const{trackingPoints:i}=this,r=i[0],a=i[i.length-1];let l=0,o=0,c=0;a&&r&&(l=a.clientX-r.clientX,o=a.clientY-r.clientY,c=a.time-r.time);const d=((e=window.visualViewport)===null||e===void 0?void 0:e.scale)||1;d!==1&&(l*=d,o*=d);let h=0,u=0,m=0,p=0,f=this.option("decelFriction");const v=this.targetScale;if(c>0){m=Math.abs(l)>3?l/(c/30):0,p=Math.abs(o)>3?o/(c/30):0;const y=this.option("maxVelocity");y&&(m=Math.max(Math.min(m,y),-1*y),p=Math.max(Math.min(p,y),-1*y))}m&&(h=m/(1/(1-f)-1)),p&&(u=p/(1/(1-f)-1)),(this.option("lockAxis")==="y"||this.option("lockAxis")==="xy"&&this.lockedAxis==="y"&&T(v)===this.minScale)&&(h=m=0),(this.option("lockAxis")==="x"||this.option("lockAxis")==="xy"&&this.lockedAxis==="x"&&T(v)===this.minScale)&&(u=p=0);const b=this.dragOffset.x,g=this.dragOffset.y,x=this.option("dragMinThreshold")||0;Math.abs(b)this.maxScale+1e-5)||t&&!h&&!u)&&(f=.35),this.applyChange({panX:h,panY:u,friction:f}),this.emit("decel",m,p,b,g)}onWheel(e){var t=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(a,l){return Math.abs(l)>Math.abs(a)?l:a});const i=Math.max(-1,Math.min(1,t));if(this.emit("wheel",e,i),this.panMode===se||e.defaultPrevented)return;const r=this.option("wheel");r==="pan"?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:2*-e.deltaX,panY:2*-e.deltaY,bounce:!1})):r==="zoom"&&this.option("zoom")!==!1&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){e.key==="Escape"&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}setTransform(){this.emit("beforeTransform");const{current:e,target:t,content:i,contentRect:r}=this,a=Object.assign({},wt);for(const b of be){const g=b=="e"||b==="f"?Nt:El;a[b]=T(e[b],g),Math.abs(t[b]-e[b])<(b=="e"||b==="f"?.51:.001)&&(e[b]=t[b])}let{a:l,b:o,c,d,e:h,f:u}=a,m=`matrix(${l}, ${o}, ${c}, ${d}, ${h}, ${u})`,p=i.parentElement instanceof HTMLPictureElement?i.parentElement:i;if(this.option("transformParent")&&(p=p.parentElement||p),p.style.transform===m)return;p.style.transform=m;const{contentWidth:f,contentHeight:v}=this.calculateContentDim();r.width=f,r.height=v,this.emit("afterTransform")}updateMetrics(e=!1){var t;if(!this||this.state===j.Destroy||this.isContentLoading)return;const i=Math.max(1,((t=window.visualViewport)===null||t===void 0?void 0:t.scale)||1),{container:r,content:a}=this,l=a instanceof HTMLImageElement,o=r.getBoundingClientRect(),c=getComputedStyle(this.container);let d=o.width*i,h=o.height*i;const u=parseFloat(c.paddingTop)+parseFloat(c.paddingBottom),m=d-(parseFloat(c.paddingLeft)+parseFloat(c.paddingRight)),p=h-u;this.containerRect={width:d,height:h,innerWidth:m,innerHeight:p};const f=parseFloat(a.dataset.width||"")||(O=>{let G=0;return G=O instanceof HTMLImageElement?O.naturalWidth:O instanceof SVGElement?O.width.baseVal.value:Math.max(O.offsetWidth,O.scrollWidth),G||0})(a),v=parseFloat(a.dataset.height||"")||(O=>{let G=0;return G=O instanceof HTMLImageElement?O.naturalHeight:O instanceof SVGElement?O.height.baseVal.value:Math.max(O.offsetHeight,O.scrollHeight),G||0})(a);let b=this.option("width",f)||re,g=this.option("height",v)||re;const x=b===re,y=g===re;typeof b!="number"&&(b=f),typeof g!="number"&&(g=v),x&&(b=f*(g/v)),y&&(g=v/(f/b));let w=a.parentElement instanceof HTMLPictureElement?a.parentElement:a;this.option("transformParent")&&(w=w.parentElement||w);const _=w.getAttribute("style")||"";w.style.setProperty("transform","none","important"),l&&(w.style.width="",w.style.height=""),w.offsetHeight;const M=a.getBoundingClientRect();let C=M.width*i,S=M.height*i,N=C,E=S;C=Math.min(C,b),S=Math.min(S,g),l?{width:C,height:S}=((O,G,te,I)=>{const V=te/O,q=I/G,F=Math.min(V,q);return{width:O*=F,height:G*=F}})(b,g,C,S):(C=Math.min(C,b),S=Math.min(S,g));let P=.5*(E-S),L=.5*(N-C);this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:M.top-o.top+P,bottom:o.bottom-M.bottom+P,left:M.left-o.left+L,right:o.right-M.right+L,fitWidth:C,fitHeight:S,width:C,height:S,fullWidth:b,fullHeight:g}),w.style.cssText=_,l&&(w.style.width=`${C}px`,w.style.height=`${S}px`),this.setTransform(),e!==!0&&this.emit("refresh"),this.ignoreBounds||(T(this.targetScale)this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===j.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}calculateBounds(){const{contentWidth:e,contentHeight:t}=this.calculateContentDim(this.target),{targetScale:i,lockedAxis:r}=this,{fitWidth:a,fitHeight:l}=this.contentRect;let o=0,c=0,d=0,h=0;const u=this.option("infinite");if(u===!0||r&&u===r)o=-1/0,d=1/0,c=-1/0,h=1/0;else{let{containerRect:m,contentRect:p}=this,f=T(a*i,Nt),v=T(l*i,Nt),{innerWidth:b,innerHeight:g}=m;if(m.width===f&&(b=m.width),m.width===v&&(g=m.height),e>b){d=.5*(e-b),o=-1*d;let x=.5*(p.right-p.left);o+=x,d+=x}if(a>b&&eg){h=.5*(t-g),c=-1*h;let x=.5*(p.bottom-p.top);c+=x,h+=x}l>g&&tT(r.fitWidth,1)||T(r.height,1)>T(r.fitHeight,1))&&(m=!0)),T(r.width*a,1)T(a),f=!p&&!m&&h&&T(o)w&&(i=w/x)}g=g.scale(i)}g=g.translate(-a,-l).translate(-f,-v).multiply(b),r&&(g=g.rotate(r)),c&&(g=g.scale(-1,1)),d&&(g=g.scale(1,-1));for(const x of be)x!=="e"&&x!=="f"&&(g[x]>this.minScale+1e-5||g[x].1||this.panMode===se||u===!1)&&!h&&this.clampTargetBounds(),m===j.Init?this.animate():this.isResting||(this.state=j.Panning,this.requestTick())}stop(e=!1){if(this.state===j.Init||this.state===j.Destroy)return;const t=this.isTicking;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const i of be)this.velocity[i]=0,e==="current"?this.current[i]=this.target[i]:e==="target"&&(this.target[i]=this.current[i]);this.setTransform(),R(this.container,"is-scaling"),R(this.container,"is-animating"),this.isTicking=!1,this.state=j.Ready,t&&(this.emit("endAnimation"),this.updateControls())}requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),k(this.container,"is-animating"),this.isScaling&&k(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame(()=>this.animate()))}panWithMouse(e,t=this.option("mouseMoveFriction")){if(this.pmme=e,this.panMode!==se||!e||T(this.targetScale)<=T(this.minScale))return;this.emit("mouseMove",e);const{container:i,containerRect:r,contentRect:a}=this,l=r.width,o=r.height,c=i.getBoundingClientRect(),d=(e.clientX||0)-c.left,h=(e.clientY||0)-c.top;let{contentWidth:u,contentHeight:m}=this.calculateContentDim(this.target);const p=this.option("mouseMoveFactor");p>1&&(u!==l&&(u*=p),m!==o&&(m*=p));let f=.5*(u-l)-d/l*100/100*(u-l);f+=.5*(a.right-a.left);let v=.5*(m-o)-h/o*100/100*(m-o);v+=.5*(a.bottom-a.top),this.applyChange({panX:f-this.target.e,panY:v-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===j.Destroy||this.state===j.Init)return;const t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;var i=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(d,h){return Math.abs(h)>Math.abs(d)?h:d});const r=Math.max(-1,Math.min(1,i)),{targetScale:a,maxScale:l,minScale:o}=this;let c=a*(100+45*r)/100;T(c)T(l)&&T(a)>=T(l)?(this.cwd+=Math.abs(r),c=l):(this.cwd=0,c=Math.max(Math.min(c,l),o)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),T(c)!==T(a)&&this.zoomTo(c,{event:e}))}canZoomIn(){return this.option("zoom")&&(T(this.contentRect.width,1)T(this.minScale)}zoomIn(e=1.25,t){this.zoomTo(this.targetScale*e,t)}zoomOut(e=.8,t){this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.getNextScale("toggleZoom"),e)}toggleMax(e){this.zoomTo(this.getNextScale("toggleMax"),e)}toggleCover(e){this.zoomTo(this.getNextScale("toggleCover"),e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(e=1,{friction:t=re,originX:i=re,originY:r=re,event:a}={}){if(this.isContentLoading||this.state===j.Destroy)return;const{targetScale:l,fullScale:o,maxScale:c,coverScale:d}=this;if(this.stop(),this.panMode===se&&(a=this.pmme||a),a||i===re||r===re){const u=this.content.getBoundingClientRect(),m=this.container.getBoundingClientRect(),p=a?a.clientX:m.left+.5*m.width,f=a?a.clientY:m.top+.5*m.height;i=p-u.left-.5*u.width,r=f-u.top-.5*u.height}let h=1;typeof e=="number"?h=e:e==="full"?h=o:e==="cover"?h=d:e==="max"?h=c:e==="fit"?h=1:e==="next"&&(h=this.getNextScale("iterateZoom")),h=h/l||1,t=t===re?h>1?.15:.25:t,this.applyChange({scale:h,originX:i,originY:r,friction:t}),a&&this.panMode===se&&this.panWithMouse(a,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-i.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-i.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){const{container:e}=this,t=this.cn("inFullscreen"),i=this.cn("htmlHasFullscreen");e.classList.toggle(t);const r=e.classList.contains(t);r?(document.documentElement.classList.add(i),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(i),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(r?"enterFS":"exitFS")}getMatrix(e=this.current){const{a:t,b:i,c:r,d:a,e:l,f:o}=e;return new DOMMatrix([t,i,r,a,l,o])}reset(e){if(this.state!==j.Init&&this.state!==j.Destroy){this.stop("current");for(const t of be)this.target[t]=wt[t];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=e===void 0?this.option("friction"):e,this.state=j.Panning,this.requestTick())}}destroy(){this.stop(),this.state=j.Destroy,this.detachEvents(),this.detachObserver();const{container:e,content:t}=this,i=this.option("classes")||{};for(const r of Object.values(i))e.classList.remove(r+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}}Object.defineProperty(Fe,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Tl}),Object.defineProperty(Fe,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});const Tn=function(n,e){let t=!0;return(...i)=>{t&&(t=!1,n(...i),setTimeout(()=>{t=!0},e))}},En=(n,e)=>{let t=[];return n.childNodes.forEach(i=>{i.nodeType!==Node.ELEMENT_NODE||e&&!i.matches(e)||t.push(i)}),t},Cl={viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}};var W;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Destroy=2]="Destroy"})(W||(W={}));const ri=n=>{if(typeof n=="string"||n instanceof HTMLElement)n={html:n};else{const e=n.thumb;e!==void 0&&(typeof e=="string"&&(n.thumbSrc=e),e instanceof HTMLImageElement&&(n.thumbEl=e,n.thumbElSrc=e.src,n.thumbSrc=e.src),delete n.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},n)},Pl=(n={})=>Object.assign({index:-1,slides:[],dim:0,pos:-1},n);class de extends Ht{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}}const Ml={classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'',dynamicFrom:11,maxCount:1/0,minCount:2};class Bs extends de{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;if(!e){e=document.createElement("ul"),k(e,this.cn("list")),e.setAttribute("role","tablist");const t=this.instance.container;t.appendChild(e),k(t,this.cn("hasDots")),this.list=e}return e}refresh(){var e;const t=this.instance.pages.length,i=Math.min(2,this.option("minCount")),r=Math.max(2e3,this.option("maxCount")),a=this.option("dynamicFrom");if(tr)return void this.cleanup();const l=typeof a=="number"&&t>5&&t>=a,o=!this.list||this.isDynamic!==l||this.list.children.length!==t;o&&this.cleanup();const c=this.build();if(me(c,this.cn("isDynamic"),!!l),o)for(let u=0;u=t-1&&a.setAttribute(_t,"")))}addBtn(e){var t;const i=this.instance,r=document.createElement("button");r.setAttribute("tabindex","0"),r.setAttribute("title",i.localize(`{{${e.toUpperCase()}}}`)),k(r,this.cn("button")+" "+this.cn(e===St?"isNext":"isPrev"));const a=i.isRTL?e===St?Cn:St:e;var l;return r.innerHTML=i.localize(this.option(`${a}Tpl`)),r.dataset[`carousel${l=e,l?l.match("^[a-z]")?l.charAt(0).toUpperCase()+l.substring(1):l:""}`]="true",(t=this.container)===null||t===void 0||t.appendChild(r),r}build(){const e=this.instance.container,t=this.cn("container");let{container:i,prev:r,next:a}=this;i||(i=e.querySelector("."+t),this.isDom=!!i),i||(i=document.createElement("div"),k(i,t),e.appendChild(i)),this.container=i,a||(a=i.querySelector("[data-carousel-next]")),a||(a=this.addBtn(St)),this.next=a,r||(r=i.querySelector("[data-carousel-prev]")),r||(r=this.addBtn(Cn)),this.prev=r}cleanup(){this.isDom||(this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove()),this.prev=null,this.next=null,this.container=null,this.isDom=!1}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(Hs,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'',prevTpl:''}});class $s extends de{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){const{nav:e,target:t}=this;e&&t&&(e.options.initialSlide=t.options.initialPage,e.state===W.Ready?this.onNavReady(e):e.on("ready",this.onNavReady),t.state===W.Ready?this.onTargetReady(t):t.on("ready",this.onTargetReady))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,i){this.onNavTouch(e,e.panzoom,i)}onNavTouch(e,t,i){var r,a;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;const l=i.target,{nav:o,target:c}=this;if(!o||!c||!l)return;const d=l.closest("[data-index]");if(i.stopPropagation(),i.preventDefault(),!d)return;const h=parseInt(d.dataset.index||"",10)||0,u=c.getPageForSlide(h),m=o.getPageForSlide(h);o.slideTo(m),c.slideTo(u,{friction:((a=(r=this.nav)===null||r===void 0?void 0:r.plugins)===null||a===void 0?void 0:a.Sync.option("friction"))||0}),this.markSelectedSlide(h)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){var e,t;const{target:i,nav:r}=this;if(!i||!r||r.state!==W.Ready||i.state!==W.Ready)return;const a=(t=(e=i.pages[i.page])===null||e===void 0?void 0:e.slides[0])===null||t===void 0?void 0:t.index,l=r.getPageForSlide(a);this.markSelectedSlide(a),r.slideTo(l,r.prevPage===null&&i.prevPage===null?{friction:0}:void 0)}markSelectedSlide(e){const t=this.nav;t&&t.state===W.Ready&&(this.selectedIndex=e,[...t.slides].map(i=>{i.el&&i.el.classList[i.index===e?"add":"remove"]("is-nav-selected")}))}attach(){const e=this;let t=e.options.target,i=e.options.nav;t?e.addAsNavFor(t):i&&e.addAsTargetFor(i)}detach(){const e=this,t=e.nav,i=e.target;t&&(t.off("ready",e.onNavReady),t.off("createSlide",e.onNavCreateSlide),t.off("Panzoom.click",e.onNavClick),t.off("Panzoom.touchEnd",e.onNavTouch)),e.nav=null,i&&(i.off("ready",e.onTargetReady),i.off("refresh",e.onTargetChange),i.off("change",e.onTargetChange)),e.target=null}}Object.defineProperty($s,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});const kl={Navigation:Hs,Dots:Bs,Sync:$s},Tt="animationend",Pn="isSelected",Et="slide";class ze extends Hi{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===W.Ready}get isInfinite(){let e=!1;const{contentDim:t,viewportDim:i,pages:r,slides:a}=this,l=a[0];return r.length>=2&&l&&t+l.dim>=i&&(e=this.option("infinite")),e}get isRTL(){return this.option("direction")==="rtl"}get isHorizontal(){return this.option("axis")==="x"}constructor(e,t={},i={}){if(super(),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:W.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),typeof e=="string"&&(e=document.querySelector(e)),!e||!Q(e))throw new Error("No Element found");this.container=e,this.slideNext=Tn(this.slideNext.bind(this),150),this.slidePrev=Tn(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=i,queueMicrotask(()=>{this.processOptions()})}processOptions(){var e,t;const i=ee({},ze.defaults,this.userOptions);let r="";const a=i.breakpoints;if(a&&Mi(a))for(const[l,o]of Object.entries(a))window.matchMedia(l).matches&&Mi(o)&&(r+=l,ee(i,o));r===this.bp&&this.state!==W.Init||(this.bp=r,this.state===W.Ready&&(i.initialSlide=((t=(e=this.pages[this.page])===null||e===void 0?void 0:e.slides[0])===null||t===void 0?void 0:t.index)||0),this.state!==W.Init&&this.destroy(),super.setOptions(i),this.option("enabled")===!1?this.attachEvents():setTimeout(()=>{this.init()},0))}init(){this.state=W.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},ze.Plugins),this.userPlugins)),this.emit("attachPlugins"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=W.Ready,this.emit("ready")}initLayout(){const{container:e}=this,t=this.option("classes");k(e,this.cn("container")),me(e,t.isLTR,!this.isRTL),me(e,t.isRTL,this.isRTL),me(e,t.isVertical,!this.isHorizontal),me(e,t.isHorizontal,this.isHorizontal);let i=this.option("viewport")||e.querySelector(`.${t.viewport}`);i||(i=document.createElement("div"),k(i,t.viewport),i.append(...En(e,`.${t.slide}`)),e.prepend(i)),i.addEventListener("scroll",this.onScroll);let r=this.option("track")||e.querySelector(`.${t.track}`);r||(r=document.createElement("div"),k(r,t.track),r.append(...Array.from(i.childNodes))),r.setAttribute("aria-live","polite"),i.contains(r)||i.prepend(r),this.viewport=i,this.track=r,this.emit("initLayout")}initSlides(){const{track:e}=this;if(!e)return;const t=[...this.slides],i=[];[...En(e,`.${this.cn(Et)}`)].forEach(r=>{if(Q(r)){const a=ri({el:r,isDom:!0,index:this.slides.length});i.push(a)}});for(let r of[...this.option("slides",[])||[],...t])i.push(ri(r));this.slides=i;for(let r=0;r!(this.pages.length<2&&!t.options.infinite),bounds:()=>this.getBounds(),maxVelocity:t=>Math.abs(t.target[this.axis]-t.current[this.axis])<2*this.viewportDim?100:0},e)),this.panzoom.on("*",(t,i,...r)=>{this.emit(`Panzoom.${i}`,t,...r)}),this.panzoom.on("decel",this.onDecel),this.panzoom.on("refresh",this.onRefresh),this.panzoom.on("beforeTransform",this.onBeforeTransform),this.panzoom.on("endAnimation",this.onEndAnimation)}attachEvents(){const e=this.container;e&&(e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("slideTo",this.onSlideTo)),window.addEventListener("resize",this.onResize)}createPages(){let e=[];const{contentDim:t,viewportDim:i}=this;let r=this.option("slidesPerPage");r=(r==="auto"||t<=i)&&this.option("fill")!==!1?1/0:parseFloat(r+"");let a=0,l=0,o=0;for(const c of this.slides)(!e.length||l+c.dim-i>.05||o>=r)&&(e.push(Pl()),a=e.length-1,l=0,o=0),e[a].slides.push(c),l+=c.dim+c.gap,o++;return e}processPages(){const e=this.pages,{contentDim:t,viewportDim:i,isInfinite:r}=this,a=this.option("center"),l=this.option("fill"),o=l&&a&&t>i&&!r;if(e.forEach((h,u)=>{var m;h.index=u,h.pos=((m=h.slides[0])===null||m===void 0?void 0:m.pos)||0,h.dim=0;for(const[p,f]of h.slides.entries())h.dim+=f.dim,p=t-.5*i?h.pos=t-i:a&&(h.pos+=-.5*(i-h.dim))}),e.forEach(h=>{l&&!r&&t>i&&(h.pos=Math.max(h.pos,0),h.pos=Math.min(h.pos,t-i)),h.pos=T(h.pos,1e3),h.dim=T(h.dim,1e3),Math.abs(h.pos)<=.1&&(h.pos=0)}),r)return e;const c=[];let d;return e.forEach(h=>{const u=Object.assign({},h);d&&u.pos===d.pos?(d.dim+=u.dim,d.slides=[...d.slides,...u.slides]):(u.index=c.length,d=u,c.push(u))}),c}getPageFromIndex(e=0){const t=this.pages.length;let i;return e=parseInt((e||0).toString())||0,i=this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0),i}getSlideMetrics(e){var t,i;const r=this.isHorizontal?"width":"height";let a=0,l=0,o=e.el;const c=!(!o||o.parentNode);if(o?a=parseFloat(o.dataset[r]||"")||0:(o=document.createElement("div"),o.style.visibility="hidden",(this.track||document.body).prepend(o)),k(o,this.cn(Et)+" "+e.class+" "+e.customClass),a)o.style[r]=`${a}px`,o.style[r==="width"?"height":"width"]="";else{c&&(this.track||document.body).prepend(o),a=o.getBoundingClientRect()[r]*Math.max(1,((t=window.visualViewport)===null||t===void 0?void 0:t.scale)||1);let h=o[this.isHorizontal?"offsetWidth":"offsetHeight"];h-1>a&&(a=h)}const d=getComputedStyle(o);return d.boxSizing==="content-box"&&(this.isHorizontal?(a+=parseFloat(d.paddingLeft)||0,a+=parseFloat(d.paddingRight)||0):(a+=parseFloat(d.paddingTop)||0,a+=parseFloat(d.paddingBottom)||0)),l=parseFloat(d[this.isHorizontal?"marginRight":"marginBottom"])||0,c?(i=o.parentElement)===null||i===void 0||i.removeChild(o):e.el||o.remove(),{dim:T(a,1e3),gap:T(l,1e3)}}getBounds(){const{isInfinite:e,isRTL:t,isHorizontal:i,pages:r}=this;let a={min:0,max:0};if(e)a={min:-1/0,max:1/0};else if(r.length){const l=r[0].pos,o=r[r.length-1].pos;a=t&&i?{min:l,max:o}:{min:-1*o,max:-1*l}}return{x:i?a:{min:0,max:0},y:i?{min:0,max:0}:a}}repositionSlides(){let e,{isHorizontal:t,isRTL:i,isInfinite:r,viewport:a,viewportDim:l,contentDim:o,page:c,pages:d,slides:h,panzoom:u}=this,m=0,p=0,f=0,v=0;u?v=-1*u.current[this.axis]:d[c]&&(v=d[c].pos||0),e=t?i?"right":"left":"top",i&&t&&(v*=-1);for(const y of h){const w=y.el;w?(e==="top"?(w.style.right="",w.style.left=""):w.style.top="",y.index!==m?w.style[e]=p===0?"":`${T(p,1e3)}px`:w.style[e]="",f+=y.dim+y.gap,m++):p+=y.dim+y.gap}if(r&&f&&a){let y=getComputedStyle(a),w="padding",_=t?"Right":"Bottom",M=parseFloat(y[w+(t?"Left":"Top")]);v-=M,l+=M,l+=parseFloat(y[w+_]);for(const C of h)C.el&&(T(C.pos)T(o-l)&&(C.el.style[e]=`${T(p+f,1e3)}px`),T(C.pos+C.gap)>=T(o-l)&&T(C.pos)>T(v+l)&&T(v)1&&(b=d[x[0]],g=d[x[1]]),b&&g){let y=0;for(const w of h)w.el?this.inTransition.has(w.index)&&b.slides.indexOf(w)<0&&(w.el.style[e]=`${T(y+(b.pos-g.pos),1e3)}px`):y+=w.dim+w.gap}}createSlideEl(e){const{track:t,slides:i}=this;if(!t||!e||e.el&&e.el.parentNode)return;const r=e.el||document.createElement("div");k(r,this.cn(Et)),k(r,e.class),k(r,e.customClass);const a=e.html;a&&(a instanceof HTMLElement?r.appendChild(a):r.innerHTML=e.html+"");const l=[];i.forEach((h,u)=>{h.el&&l.push(u)});const o=e.index;let c=null;l.length&&(c=i[l.reduce((h,u)=>Math.abs(u-o)1)return!1;let u=e>o?1:-1;this.isInfinite&&(o===0&&e===c.length-1&&(u=-1),o===c.length-1&&e===0&&(u=1));const m=c[h].pos*(this.isRTL?1:-1);if(o===h&&Math.abs(m-d.target[this.axis])<1)return!1;this.clearTransitions();const p=d.isResting;k(this.container,this.cn("inTransition"));const f=((a=c[o])===null||a===void 0?void 0:a.slides[0])||null,v=((l=c[h])===null||l===void 0?void 0:l.slides[0])||null;this.inTransition.add(v.index),this.createSlideEl(v);let b=f.el,g=v.el;p||t===Et||(t="fadeFast",b=null);const x=this.isRTL?"next":"prev",y=this.isRTL?"prev":"next";return b&&(this.inTransition.add(f.index),f.transition=t,b.addEventListener(Tt,this.onAnimationEnd),b.classList.add(`f-${t}Out`,`to-${u>0?y:x}`)),g&&(v.transition=t,g.addEventListener(Tt,this.onAnimationEnd),g.classList.add(`f-${t}In`,`from-${u>0?x:y}`)),d.current[this.axis]=m,d.target[this.axis]=m,d.requestTick(),this.onChange(h),!0}manageSlideVisiblity(){const e=new Set,t=new Set,i=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(const r of this.slides)i.has(r)?e.add(r):t.add(r);for(const r of this.inTransition)e.add(this.slides[r]);for(const r of e)this.createSlideEl(r),this.lazyLoadSlide(r);for(const r of t)e.has(r)||this.removeSlideEl(r);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;const e="aria-hidden";let t=this.cn(Pn);if(t)for(const i of this.slides){const r=i.el;r&&(r.dataset.index=`${i.index}`,r.classList.contains("f-thumbs__slide")?this.getVisibleSlides(0).has(i)?r.removeAttribute(e):r.setAttribute(e,"true"):this.pages[this.page].slides.includes(i)?(r.classList.contains(t)||(k(r,t),this.emit("selectSlide",i)),r.removeAttribute(e)):(r.classList.contains(t)&&(R(r,t),this.emit("unselectSlide",i)),r.setAttribute(e,"true")))}}flipInfiniteTrack(){const{axis:e,isHorizontal:t,isInfinite:i,isRTL:r,viewportDim:a,contentDim:l}=this,o=this.panzoom;if(!o||!i)return;let c=o.current[e],d=o.target[e]-c,h=0,u=.5*a;r&&t?(c<-u&&(h=-1,c+=l),c>l-u&&(h=1,c-=l)):(c>u&&(h=1,c-=l),c<-l+u&&(h=-1,c+=l)),h&&(o.current[e]=c,o.target[e]=c+d)}lazyLoadImg(e,t){const i=this,r="f-fadeIn",a="is-preloading";let l=!1,o=null;const c=()=>{l||(l=!0,o&&(o.remove(),o=null),R(t,a),t.complete&&(k(t,r),setTimeout(()=>{R(t,r)},350)),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(i.updateMetrics(),i.setViewportHeight()),this.emit("load",e))};k(t,a),t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.addEventListener("error",()=>{c()}),t.addEventListener("load",()=>{c()}),setTimeout(()=>{const d=t.parentNode;d&&e.el&&(t.complete?c():l||(o=pe($i),d.insertBefore(o,t)))},300)}lazyLoadSlide(e){const t=e&&e.el;if(!t)return;const i=new Set;let r=Array.from(t.querySelectorAll("[data-lazy-src],[data-lazy-srcset]"));t.dataset.lazySrc&&r.push(t),r.map(a=>{a instanceof HTMLImageElement?i.add(a):a instanceof HTMLElement&&a.dataset.lazySrc&&(a.style.backgroundImage=`url('${a.dataset.lazySrc}')`,delete a.dataset.lazySrc)});for(const a of i)this.lazyLoadImg(e,a)}onAnimationEnd(e){var t;const i=e.target,r=i?parseInt(i.dataset.index||"",10)||0:-1,a=this.slides[r],l=e.animationName;if(!i||!a||!l)return;const o=!!this.inTransition.has(r)&&a.transition;o&&l.substring(0,o.length+2)===`f-${o}`&&this.inTransition.delete(r),this.inTransition.size||this.clearTransitions(),r===this.page&&(!((t=this.panzoom)===null||t===void 0)&&t.isResting)&&this.emit("settle")}onDecel(e,t=0,i=0,r=0,a=0){if(this.option("dragFree"))return void this.setPageFromPosition();const{isRTL:l,isHorizontal:o,axis:c,pages:d}=this,h=d.length,u=Math.abs(Math.atan2(i,t)/(Math.PI/180));let m=0;if(m=u>45&&u<135?o?0:i:o?t:0,!h)return;let p=this.page,f=l&&o?1:-1;const v=e.current[c]*f;let{pageIndex:b}=this.getPageFromPosition(v);Math.abs(m)>5?(d[p].dim=e&&(this.page+=m.length),this.updateMetrics(),o){const p=((a=this.pages[this.page])===null||a===void 0?void 0:a.pos)||0,f=((l=this.pages[this.page])===null||l===void 0?void 0:l.dim)||0,v=this.pages.length||1,b=this.isRTL?d-f:f-d,g=this.isRTL?c-p:p-c;h&&v===1?(e<=this.page&&(o.current[this.axis]-=b,o.target[this.axis]-=b),o.panTo({[this.isHorizontal?"x":"y"]:-1*p})):g&&e<=this.page&&(o.target[this.axis]-=g,o.current[this.axis]-=g,o.requestTick())}for(const p of m)this.emit("initSlide",p,p.index)}prependSlide(e){this.addSlide(0,e)}appendSlide(e){this.addSlide(this.slides.length,e)}removeSlide(e){const t=this.slides.length;e=(e%t+t)%t;const i=this.slides[e];if(i){this.removeSlideEl(i,!0),this.slides.splice(e,1);for(let r=0;rthis.page?-1:1;let c=-1*a.current.e,d=T((c-o.pos)/(1*o.dim),1e3),h=d,u=d;this.isInfinite&&i!==!0&&(h=T((c-o.pos+l)/(1*o.dim),1e3),u=T((c-o.pos-l)/(1*o.dim),1e3));let m=[d,h,u].reduce(function(p,f){return Math.abs(f)1?1:m<-1?-1:m}setViewportHeight(){const{page:e,pages:t,viewport:i,isHorizontal:r}=this;if(!i||!t[e])return;let a=0;r&&this.track&&(this.track.style.height="auto",t[e].slides.forEach(l=>{l.el&&(a=Math.max(a,l.el.offsetHeight))})),i.style.height=a?`${a}px`:""}getPageForSlide(e){for(const t of this.pages)for(const i of t.slides)if(i.index===e)return t.index;return-1}getVisibleSlides(e=0){var t;const i=new Set;let{panzoom:r,contentDim:a,viewportDim:l,pages:o,page:c}=this;if(l){a=a+((t=this.slides[this.slides.length-1])===null||t===void 0?void 0:t.gap)||0;let d=0;d=r&&r.state!==j.Init&&r.state!==j.Destroy?-1*r.current[this.axis]:o[c]&&o[c].pos||0,this.isInfinite&&(d-=Math.floor(d/a)*a),this.isRTL&&this.isHorizontal&&(d*=-1);const h=d-l*e,u=d+l*(e+1),m=this.isInfinite?[-1,0,1]:[0];for(const p of this.slides)for(const f of m){const v=p.pos+f*a,b=v+p.dim+p.gap;vh&&i.add(p)}}return i}getPageFromPosition(e){const{viewportDim:t,contentDim:i,slides:r,pages:a,panzoom:l}=this,o=a.length,c=r.length,d=r[0],h=r[c-1],u=this.option("center");let m=0,p=0,f=0,v=e===void 0?-1*((l==null?void 0:l.target[this.axis])||0):e;u&&(v+=.5*t),this.isInfinite?(vh.pos+h.dim+.5*h.gap&&(v-=i,f=1)):v=Math.max(d.pos||0,Math.min(v,h.pos));let b=h,g=r.find(x=>{const y=x.pos-.5*b.gap,w=x.pos+x.dim+.5*x.gap;return b=x,v>=y&&v{this.removeSlideEl(c)}),this.detachPlugins(),t&&(t.removeEventListener("scroll",this.onScroll),t.offsetParent&&i&&i.offsetParent&&t.replaceWith(...i.childNodes));for(const[c,d]of Object.entries(l))c!=="container"&&d&&e.classList.remove(d);this.track=null,this.viewport=null,this.page=0,this.slides=[];const o=this.events.get("ready");this.events=new Map,o&&this.events.set("ready",o)}}Object.defineProperty(ze,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:Fe}),Object.defineProperty(ze,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Cl}),Object.defineProperty(ze,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:kl});const Gs=function(n){if(!Q(n))return 0;const e=window.scrollY,t=window.innerHeight,i=e+t,r=n.getBoundingClientRect(),a=r.y+e,l=r.height,o=a+l;if(e>o||io||ai)return 100;let c=l;ai&&(c-=o-i);const d=c/t*100;return Math.round(d)},ct=!(typeof window>"u"||!window.document||!window.document.createElement);let ai;const li=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),Mn=n=>{if(n&&ct){ai===void 0&&document.createElement("div").focus({get preventScroll(){return ai=!0,!1}});try{if(ai)n.focus({preventScroll:!0});else{const e=window.scrollY||document.body.scrollTop,t=window.scrollX||document.body.scrollLeft;n.focus(),document.body.scrollTo({top:e,left:t,behavior:"auto"})}}catch{}}},Vs=()=>{const n=document;let e,t="",i="",r="";return n.fullscreenEnabled?(t="requestFullscreen",i="exitFullscreen",r="fullscreenElement"):n.webkitFullscreenEnabled&&(t="webkitRequestFullscreen",i="webkitExitFullscreen",r="webkitFullscreenElement"),t&&(e={request:function(a=n.documentElement){return t==="webkitRequestFullscreen"?a[t](Element.ALLOW_KEYBOARD_INPUT):a[t]()},exit:function(){return n[r]&&n[i]()},isFullscreen:function(){return n[r]}}),e},ki={animated:!0,autoFocus:!0,backdropClick:"close",Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},closeButton:"auto",closeExisting:!1,commonCaption:!1,compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,contentClick:"toggleZoom",contentDblClick:!1,defaultType:"image",defaultDisplay:"flex",dragToClose:!0,Fullscreen:{autoStart:!1},groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,idle:3500,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Object.assign(Object.assign({},Fs),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),parentEl:null,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,tpl:{closeButton:'',main:``},trapFocus:!0,wheel:"zoom"};var Y,U;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Closing=2]="Closing",n[n.CustomClosing=3]="CustomClosing",n[n.Destroy=4]="Destroy"})(Y||(Y={})),function(n){n[n.Loading=0]="Loading",n[n.Opening=1]="Opening",n[n.Ready=2]="Ready",n[n.Closing=3]="Closing"}(U||(U={}));let kn="",at=!1,Ct=!1,Ae=null;const Ws=()=>{let n="",e="";const t=z.getInstance();if(t){const i=t.carousel,r=t.getSlide();if(i&&r){let a=r.slug||void 0,l=r.triggerEl||void 0;e=a||t.option("slug")||"",!e&&l&&l.dataset&&(e=l.dataset.fancybox||""),e&&e!=="true"&&(n="#"+e+(!a&&i.slides.length>1?"-"+(r.index+1):""))}}return{hash:n,slug:e,index:1}},$t=()=>{const n=new URL(document.URL).hash,e=n.slice(1).split("-"),t=e[e.length-1],i=t&&/^\+?\d+$/.test(t)&&parseInt(e.pop()||"1",10)||1;return{hash:n,slug:e.join("-"),index:i}},Xs=()=>{const{slug:n,index:e}=$t();if(!n)return;let t=document.querySelector(`[data-slug="${n}"]`);if(t&&t.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),z.getInstance())return;const i=document.querySelectorAll(`[data-fancybox="${n}"]`);i.length&&(t=i[e-1],t&&t.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},qs=()=>{if(z.defaults.Hash===!1)return;const n=z.getInstance();if((n==null?void 0:n.options.Hash)===!1)return;const{slug:e,index:t}=$t(),{slug:i}=Ws();n&&(e===i?n.jumpTo(t-1):(at=!0,n.close())),Xs()},Ys=()=>{Ae&&clearTimeout(Ae),queueMicrotask(()=>{qs()})},Ln=()=>{window.addEventListener("hashchange",Ys,!1),setTimeout(()=>{qs()},500)};ct&&(/complete|interactive|loaded/.test(document.readyState)?Ln():document.addEventListener("DOMContentLoaded",Ln));const Pt="is-zooming-in";class Us extends de{onCreateSlide(e,t,i){const r=this.instance.optionFor(i,"src")||"";i.el&&i.type==="image"&&typeof r=="string"&&this.setImage(i,r)}onRemoveSlide(e,t,i){i.panzoom&&i.panzoom.destroy(),i.panzoom=void 0,i.imageEl=void 0}onChange(e,t,i,r){R(this.instance.container,Pt);for(const a of t.slides){const l=a.panzoom;l&&a.index!==i&&l.reset(.35)}}onClose(){var e;const t=this.instance,i=t.container,r=t.getSlide();if(!i||!i.parentElement||!r)return;const{el:a,contentEl:l,panzoom:o,thumbElSrc:c}=r;if(!a||!c||!l||!o||o.isContentLoading||o.state===j.Init||o.state===j.Destroy)return;o.updateMetrics();let d=this.getZoomInfo(r);if(!d)return;this.instance.state=Y.CustomClosing,i.classList.remove(Pt),i.classList.add("is-zooming-out"),l.style.backgroundImage=`url('${c}')`;const h=i.getBoundingClientRect();(((e=window.visualViewport)===null||e===void 0?void 0:e.scale)||1)===1&&Object.assign(i.style,{position:"absolute",top:`${i.offsetTop+window.scrollY}px`,left:`${i.offsetLeft+window.scrollX}px`,bottom:"auto",right:"auto",width:`${h.width}px`,height:`${h.height}px`,overflow:"hidden"});const{x:u,y:m,scale:p,opacity:f}=d;if(f){const v=((b,g,x,y)=>{const w=g-b,_=y-x;return M=>x+((M-b)/w*_||0)})(o.scale,p,1,0);o.on("afterTransform",()=>{l.style.opacity=v(o.scale)+""})}o.on("endAnimation",()=>{t.destroy()}),o.target.a=p,o.target.b=0,o.target.c=0,o.target.d=p,o.panTo({x:u,y:m,scale:p,friction:f?.2:.33,ignoreBounds:!0}),o.isResting&&t.destroy()}setImage(e,t){const i=this.instance;e.src=t,this.process(e,t).then(r=>{const{contentEl:a,imageEl:l,thumbElSrc:o,el:c}=e;if(i.isClosing()||!a||!l)return;a.offsetHeight;const d=!!i.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")&&c){c.addEventListener("contextmenu",m=>{m.preventDefault()});const u=document.createElement("div");k(u,"fancybox-protected"),a.appendChild(u)}if(o&&d){const u=r.contentRect,m=Math.max(u.fullWidth,u.fullHeight);let p=null;!d.opacity&&m>1200&&(p=document.createElement("img"),k(p,"fancybox-ghost"),p.src=o,a.appendChild(p));const f=()=>{p&&(k(p,"f-fadeFastOut"),setTimeout(()=>{p&&(p.remove(),p=null)},200))};(h=o,new Promise((v,b)=>{const g=new Image;g.onload=v,g.onerror=b,g.src=h})).then(()=>{i.hideLoading(e),e.state=U.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then(()=>{f(),this.instance.done(e)},()=>{}),p&&setTimeout(()=>{f()},m>2500?800:200)},()=>{i.hideLoading(e),i.revealContent(e)})}else{const u=this.optionFor(e,"initialSize"),m=this.optionFor(e,"zoom"),p={event:i.prevMouseMoveEvent||i.options.event,friction:m?.12:0};let f=i.optionFor(e,"showClass")||void 0,v=!0;i.isOpeningSlide(e)&&(u==="full"?r.zoomToFull(p):u==="cover"?r.zoomToCover(p):u==="max"?r.zoomToMax(p):v=!1,r.stop("current")),v&&f&&(f=r.isDragging?"f-fadeIn":""),i.hideLoading(e),i.revealContent(e,f)}var h},()=>{i.setError(e,"{{IMAGE_ERROR}}")})}process(e,t){return new Promise((i,r)=>{var a;const l=this.instance,o=e.el;l.clearContent(e),l.showLoading(e);let c=this.optionFor(e,"content");if(typeof c=="string"&&(c=pe(c)),!c||!Q(c)){if(c=document.createElement("img"),c instanceof HTMLImageElement){let d="",h=e.caption;d=typeof h=="string"&&h?h.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${((a=l.carousel)===null||a===void 0?void 0:a.pages.length)||1}`,c.src=t||"",c.alt=d,c.draggable=!1,e.srcset&&c.setAttribute("srcset",e.srcset),this.instance.isOpeningSlide(e)&&(c.fetchPriority="high")}e.sizes&&c.setAttribute("sizes",e.sizes)}k(c,"fancybox-image"),e.imageEl=c,l.setContent(e,c,!1),e.panzoom=new Fe(o,ee({transformParent:!0},this.option("Panzoom")||{},{content:c,width:(d,h)=>l.optionFor(e,"width","auto",h)||"auto",height:(d,h)=>l.optionFor(e,"height","auto",h)||"auto",wheel:()=>{const d=l.option("wheel");return(d==="zoom"||d=="pan")&&d},click:(d,h)=>{var u,m;if(l.isCompact||l.isClosing()||e.index!==((u=l.getSlide())===null||u===void 0?void 0:u.index))return!1;if(h){const f=h.composedPath()[0];if(["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(f.nodeName))return!1}let p=!h||h.target&&((m=e.contentEl)===null||m===void 0?void 0:m.contains(h.target));return l.option(p?"contentClick":"backdropClick")||!1},dblClick:()=>l.isCompact?"toggleZoom":l.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:d=>{i(d)},error:()=>{r()},destroy:()=>{r()}}}))})}zoomIn(e){return new Promise((t,i)=>{const r=this.instance,a=r.container,{panzoom:l,contentEl:o,el:c}=e;l&&l.updateMetrics();const d=this.getZoomInfo(e);if(!(d&&c&&o&&l&&a))return void i();const{x:h,y:u,scale:m,opacity:p}=d,f=()=>{e.state!==U.Closing&&(p&&(o.style.opacity=Math.max(Math.min(1,1-(1-l.scale)/(1-m)),0)+""),l.scale>=1&&l.scale>l.targetScale-.1&&t(l))},v=x=>{(x.scale<.99||x.scale>1.01)&&!x.isDragging||(R(a,Pt),o.style.opacity="",x.off("endAnimation",v),x.off("touchStart",v),x.off("afterTransform",f),t(x))};l.on("endAnimation",v),l.on("touchStart",v),l.on("afterTransform",f),l.on(["error","destroy"],()=>{i()}),l.panTo({x:h,y:u,scale:m,friction:0,ignoreBounds:!0}),l.stop("current");const b={event:l.panMode==="mousemove"?r.prevMouseMoveEvent||r.options.event:void 0},g=this.optionFor(e,"initialSize");k(a,Pt),r.hideLoading(e),g==="full"?l.zoomToFull(b):g==="cover"?l.zoomToCover(b):g==="max"?l.zoomToMax(b):l.reset(.172)})}getZoomInfo(e){const{el:t,imageEl:i,thumbEl:r,panzoom:a}=e,l=this.instance,o=l.container;if(!t||!i||!r||!a||Gs(r)<3||!this.optionFor(e,"zoom")||!o||l.state===Y.Destroy||getComputedStyle(o).getPropertyValue("--f-images-zoom")==="0")return!1;const c=window.visualViewport||null;if((c?c.scale:1)!==1)return!1;let{top:d,left:h,width:u,height:m}=r.getBoundingClientRect(),{top:p,left:f,fitWidth:v,fitHeight:b}=a.contentRect;if(!(u&&m&&v&&b))return!1;const g=a.container.getBoundingClientRect();f+=g.left,p+=g.top;const x=-1*(f+.5*v-(h+.5*u)),y=-1*(p+.5*b-(d+.5*m)),w=u/v;let _=this.option("zoomOpacity")||!1;return _==="auto"&&(_=Math.abs(u/m-v/b)>.1),{x,y,scale:w,opacity:_}}attach(){const e=this,t=e.instance;t.on("Carousel.change",e.onChange),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("close",e.onClose)}detach(){const e=this,t=e.instance;t.off("Carousel.change",e.onChange),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("close",e.onClose)}}Object.defineProperty(Us,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),typeof SuppressedError=="function"&&SuppressedError;const oi="html",An="image",ci="map",xe="youtube",Ce="vimeo",tt="html5video",On=(n,e={})=>{const t=new URL(n),i=new URLSearchParams(t.search),r=new URLSearchParams;for(const[o,c]of[...i,...Object.entries(e)]){let d=c+"";if(o==="t"){let h=d.match(/((\d*)m)?(\d*)s?/);h&&r.set("start",60*parseInt(h[2]||"0")+parseInt(h[3]||"0")+"")}else r.set(o,d)}let a=r+"",l=n.match(/#t=((.*)?\d+s)/);return l&&(a+=`#t=${l[1]}`),a},Ll={ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:``,videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},Al=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo"];class Zs extends de{onBeforeInitSlide(e,t,i){this.processType(i)}onCreateSlide(e,t,i){this.setContent(i)}onClearContent(e,t){t.xhr&&(t.xhr.abort(),t.xhr=null);const i=t.iframeEl;i&&(i.onload=i.onerror=null,i.src="//about:blank",t.iframeEl=null);const r=t.contentEl,a=t.placeholderEl;if(t.type==="inline"&&r&&a)r.classList.remove("fancybox__content"),getComputedStyle(r).getPropertyValue("display")!=="none"&&(r.style.display="none"),setTimeout(()=>{a&&(r&&a.parentNode&&a.parentNode.insertBefore(r,a),a.remove())},0),t.contentEl=void 0,t.placeholderEl=void 0;else for(;t.el&&t.el.firstChild;)t.el.removeChild(t.el.firstChild)}onSelectSlide(e,t,i){i.state===U.Ready&&this.playVideo()}onUnselectSlide(e,t,i){var r,a;if(i.type===tt){try{(a=(r=i.el)===null||r===void 0?void 0:r.querySelector("video"))===null||a===void 0||a.pause()}catch{}return}let l;i.type===Ce?l={method:"pause",value:"true"}:i.type===xe&&(l={event:"command",func:"pauseVideo"}),l&&i.iframeEl&&i.iframeEl.contentWindow&&i.iframeEl.contentWindow.postMessage(JSON.stringify(l),"*"),i.poller&&clearTimeout(i.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach(i=>{i.el&&(this.resizeIframe(i),this.setAspectRatio(i))})}onMessage(e){try{let t=JSON.parse(e.data);if(e.origin==="https://player.vimeo.com"){if(t.event==="ready")for(let i of Array.from(document.getElementsByClassName("fancybox__iframe")))i instanceof HTMLIFrameElement&&i.contentWindow===e.source&&(i.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&t.event==="onReady"){const i=document.getElementById(t.id);i&&(i.dataset.ready="true")}}catch{}}loadAjaxContent(e){const t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);const i=this.instance,r=new XMLHttpRequest;i.showLoading(e),r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&i.state===Y.Ready&&(i.hideLoading(e),r.status===200?i.setContent(e,r.responseText):i.setError(e,r.status===404?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const a=e.ajax||null;r.open(a?"POST":"GET",t+""),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.send(a),e.xhr=r}setInlineContent(e){let t=null;if(Q(e.src))t=e.src;else if(typeof e.src=="string"){const i=e.src.split("#",2).pop();t=i?document.getElementById(i):null}if(t){if(e.type==="clone"||t.closest(".fancybox__slide")){t=t.cloneNode(!0);const i=t.dataset.animationName;i&&(t.classList.remove(i),delete t.dataset.animationName);let r=t.getAttribute("id");r=r?`${r}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",r)}else if(t.parentNode){const i=document.createElement("div");i.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(i,t),e.placeholderEl=i}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){const{src:t,el:i}=e;if(!t||typeof t!="string"||!i)return;i.classList.add("is-loading");const r=this.instance,a=document.createElement("iframe");a.className="fancybox__iframe",a.setAttribute("id",`fancybox__iframe_${r.id}_${e.index}`);for(const[o,c]of Object.entries(this.optionFor(e,"iframeAttr")||{}))a.setAttribute(o,c);a.onerror=()=>{r.setError(e,"{{IFRAME_ERROR}}")},e.iframeEl=a;const l=this.optionFor(e,"preload");if(e.type!=="iframe"||l===!1)return a.setAttribute("src",e.src+""),r.setContent(e,a,!1),this.resizeIframe(e),void r.revealContent(e);r.showLoading(e),a.onload=()=>{if(!a.src.length)return;const o=a.dataset.ready!=="true";a.dataset.ready="true",this.resizeIframe(e),o?r.revealContent(e):r.hideLoading(e)},a.setAttribute("src",t),r.setContent(e,a,!1)}resizeIframe(e){const{type:t,iframeEl:i}=e;if(t===xe||t===Ce)return;const r=i==null?void 0:i.parentElement;if(!i||!r)return;let a=e.autoSize;a===void 0&&(a=this.optionFor(e,"autoSize"));let l=e.width||0,o=e.height||0;l&&o&&(a=!1);const c=r&&r.style;if(e.preload!==!1&&a!==!1&&c)try{const d=window.getComputedStyle(r),h=parseFloat(d.paddingLeft)+parseFloat(d.paddingRight),u=parseFloat(d.paddingTop)+parseFloat(d.paddingBottom),m=i.contentWindow;if(m){const p=m.document,f=p.getElementsByTagName(oi)[0],v=p.body;c.width="",v.style.overflow="hidden",l=l||f.scrollWidth+h,c.width=`${l}px`,v.style.overflow="",c.flex="0 0 auto",c.height=`${v.scrollHeight}px`,o=f.scrollHeight+u}}catch{}if(l||o){const d={flex:"0 1 auto",width:"",height:""};l&&l!=="auto"&&(d.width=`${l}px`),o&&o!=="auto"&&(d.height=`${o}px`),Object.assign(c,d)}}playVideo(){const e=this.instance.getSlide();if(!e)return;const{el:t}=e;if(!t||!t.offsetParent||!this.optionFor(e,"videoAutoplay"))return;if(e.type===tt)try{const r=t.querySelector("video");if(r){const a=r.play();a!==void 0&&a.then(()=>{}).catch(l=>{r.muted=!0,r.play()})}}catch{}if(e.type!==xe&&e.type!==Ce)return;const i=()=>{if(e.iframeEl&&e.iframeEl.contentWindow){let r;if(e.iframeEl.dataset.ready==="true")return r=e.type===xe?{event:"command",func:"playVideo"}:{method:"play",value:"true"},r&&e.iframeEl.contentWindow.postMessage(JSON.stringify(r),"*"),void(e.poller=void 0);e.type===xe&&(r={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(r),"*"))}e.poller=setTimeout(i,250)};i()}processType(e){if(e.html)return e.type=oi,e.src=e.html,void(e.html="");const t=this.instance.optionFor(e,"src","");if(!t||typeof t!="string")return;let i=e.type,r=null;if(r=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const a=this.optionFor(e,xe),{nocookie:l}=a,o=function(u,m){var p={};for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&m.indexOf(f)<0&&(p[f]=u[f]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function"){var v=0;for(f=Object.getOwnPropertySymbols(u);v0?"svembed":"embed"}`,i=ci):(r=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${r[1]}/maps?q=${r[2].replace("query=","q=").replace("api=1","")}&output=embed`,i=ci),i=i||this.instance.option("defaultType"),e.type=i,i===An&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){const t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case oi:this.instance.setContent(e,t);break;case tt:const i=this.option("videoTpl");i&&this.instance.setContent(e,i.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case ci:case xe:case Ce:e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){const t=e.contentEl;if(!(e.el&&t&&e.type&&[xe,Ce,tt].includes(e.type)))return;let i,r=e.width||"auto",a=e.height||"auto";if(r==="auto"||a==="auto"){i=this.optionFor(e,"videoRatio");const d=(i+"").match(/(\d+)\s*\/\s?(\d+)/);i=d&&d.length>2?parseFloat(d[1])/parseFloat(d[2]):parseFloat(i+"")}else r&&a&&(i=r/a);if(!i)return;t.style.aspectRatio="",t.style.width="",t.style.height="",t.offsetHeight;const l=t.getBoundingClientRect(),o=l.width||1,c=l.height||1;t.style.aspectRatio=i+"",i{e.timer=null,e.inHover||e.onTimerEnd()},i),e.emit("set")}clear(){const e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.removeProgressBar()}start(){const e=this;if(e.set(),e.state!==it){if(e.option("pauseOnHover")){const t=e.instance.container;t.addEventListener("mouseenter",e.onMouseEnter,!1),t.addEventListener("mouseleave",e.onMouseLeave,!1)}document.addEventListener("visibilitychange",e.onVisibilityChange,!1),e.emit("start")}}stop(){const e=this,t=e.state,i=e.instance.container;e.clear(),e.state=it,i.removeEventListener("mouseenter",e.onMouseEnter,!1),i.removeEventListener("mouseleave",e.onMouseLeave,!1),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),R(i,"has-autoplay"),t!==it&&e.emit("stop")}pause(){const e=this;e.state===Mt&&(e.state=kt,e.clear(),e.emit(kt))}resume(){const e=this,t=e.instance;if(t.isInfinite||t.page!==t.pages.length-1)if(e.state!==Mt){if(e.state===kt&&!e.inHover){const i=new Event("resume",{bubbles:!0,cancelable:!0});e.emit("resume",i),i.defaultPrevented||e.set()}}else e.set();else e.stop()}toggle(){this.state===Mt||this.state===kt?this.stop():this.start()}attach(){const e=this,t=e.instance;t.on("ready",e.onReady),t.on("Panzoom.startAnimation",e.onChange),t.on("Panzoom.endAnimation",e.onSettle),t.on("Panzoom.touchMove",e.onChange)}detach(){const e=this,t=e.instance;t.off("ready",e.onReady),t.off("Panzoom.startAnimation",e.onChange),t.off("Panzoom.endAnimation",e.onSettle),t.off("Panzoom.touchMove",e.onChange),e.stop()}}Object.defineProperty(Ks,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class Js extends de{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){const t=e.carousel;if(!t)return;const i=e.container;i&&(t.options.Autoplay=ee({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:r=>{var a;i.classList.add("has-slideshow"),((a=e.getSlide())===null||a===void 0?void 0:a.state)!==U.Ready&&r.pause()},stop:()=>{i.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(r,a)=>{var l,o,c;!a||!a.cancelable||((l=e.getSlide())===null||l===void 0?void 0:l.state)===U.Ready&&(!((c=(o=e.carousel)===null||o===void 0?void 0:o.panzoom)===null||c===void 0)&&c.isResting)||a.preventDefault()}}}),t.attachPlugins({Autoplay:Ks}),this.ref=t.plugins.Autoplay)}onReady(e){const t=e.carousel,i=this.ref;i&&t&&this.option("playOnStart")&&(t.isInfinite||t.page{e.isCurrentSlide(t)&&i.stop()}),e.isCurrentSlide(t)&&i.resume()}onKeydown(e,t){var i;const r=this.ref;r&&t===this.option("key")&&((i=document.activeElement)===null||i===void 0?void 0:i.nodeName)!=="BUTTON"&&r.toggle()}attach(){const e=this,t=e.instance;t.on("Carousel.init",e.onPrepare),t.on("Carousel.ready",e.onReady),t.on("done",e.onDone),t.on("keydown",e.onKeydown)}detach(){const e=this,t=e.instance;t.off("Carousel.init",e.onPrepare),t.off("Carousel.ready",e.onReady),t.off("done",e.onDone),t.off("keydown",e.onKeydown)}}Object.defineProperty(Js,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:n=>{var e;return((e=n.instance.container)===null||e===void 0?void 0:e.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||n.instance.container},timeout:3e3}});const Qs={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'',type:"modern"};var we;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Hidden=2]="Hidden"})(we||(we={}));const In="isResting",Lt="thumbWidth",$e="thumbHeight",he="thumbClipWidth";let er=class extends de{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:we.Init})}get isModern(){return this.type==="modern"}onInitSlide(n,e){const t=e.el?e.el.dataset:void 0;t&&(e.thumbSrc=t.thumbSrc||e.thumbSrc||"",e[he]=parseFloat(t[he]||"")||e[he]||0,e[$e]=parseFloat(t.thumbHeight||"")||e[$e]||0),this.addSlide(e)}onInitSlides(){this.build()}onChange(){var n;if(!this.isModern)return;const e=this.container,t=this.instance,i=t.panzoom,r=this.carousel,a=r?r.panzoom:null,l=t.page;if(i&&r&&a){if(i.isDragging){R(e,this.cn(In));let o=((n=r.pages[l])===null||n===void 0?void 0:n.pos)||0;o+=t.getProgress(l)*(this[he]+this.thumbGap);let c=a.getBounds();-1*o>c.x.min&&-1*oparseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+t))||0;this.thumbGap=e("gap"),this.thumbExtraGap=e("extra-gap"),this[Lt]=e("width")||40,this[he]=e("clip-width")||40,this[$e]=e("height")||40}build(){const n=this;if(n.state!==we.Init)return;if(n.isDisabled())return void n.emit("disabled");const e=n.instance,t=e.container,i=n.getSlides(),r=n.option("type");n.type=r;const a=n.option("parentEl"),l=n.cn("container"),o=n.cn("track");let c=a==null?void 0:a.querySelector("."+l);c||(c=document.createElement("div"),k(c,l),a?a.appendChild(c):t.after(c)),k(c,`is-${r}`),k(t,n.cn("hasThumbs")),n.container=c,n.updateProps();let d=c.querySelector("."+o);d||(d=document.createElement("div"),k(d,n.cn("track")),c.appendChild(d)),n.track=d;const h=ee({},{track:d,infinite:!1,center:!0,fill:r==="classic",dragFree:!0,slidesPerPage:1,transition:!1,preload:.25,friction:.12,Panzoom:{maxVelocity:0},Dots:!1,Navigation:!1,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide"}},n.option("Carousel")||{},{Sync:{target:e},slides:i}),u=new e.constructor(c,h);u.on("createSlide",(m,p)=>{n.setProps(p.index),n.emit("createSlide",p,p.el)}),u.on("ready",()=>{n.shiftModern(),n.emit("ready")}),u.on("refresh",()=>{n.shiftModern()}),u.on("Panzoom.click",(m,p,f)=>{n.onClick(f)}),n.carousel=u,n.state=we.Ready}onClick(n){n.preventDefault(),n.stopPropagation();const e=this.instance,{pages:t,page:i}=e,r=v=>{if(v){const b=v.closest("[data-carousel-index]");if(b)return[parseInt(b.dataset.carouselIndex||"",10)||0,b]}return[-1,void 0]},a=(v,b)=>{const g=document.elementFromPoint(v,b);return g?r(g):[-1,void 0]};let[l,o]=r(n.target);if(l>-1)return;const c=this[he],d=n.clientX,h=n.clientY;let[u,m]=a(d-c,h),[p,f]=a(d+c,h);m&&f?(l=Math.abs(d-m.getBoundingClientRect().right)-1&&t[l]&&e.slideTo(l)}getShift(n){var e;const t=this,{instance:i}=t,r=t.carousel;if(!i||!r)return 0;const a=t[Lt],l=t[he],o=t.thumbGap,c=t.thumbExtraGap;if(!(!((e=r.slides[n])===null||e===void 0)&&e.el))return 0;const d=.5*(a-l),h=i.pages.length-1;let u=i.getProgress(0),m=i.getProgress(h),p=i.getProgress(n,!1,!0),f=0,v=d+c+o;const b=u<0&&u>-1,g=m>0&&m<1;return n===0?(f=v*Math.abs(u),g&&u===1&&(f-=v*Math.abs(m))):n===h?(f=v*Math.abs(m)*-1,b&&m===-1&&(f+=v*Math.abs(u))):b||g?(f=-1*v,f+=v*Math.abs(u),f+=v*(1-Math.abs(m))):f=v*p,f}setProps(n){var e;const t=this;if(!t.isModern)return;const{instance:i}=t,r=t.carousel;if(i&&r){const a=(e=r.slides[n])===null||e===void 0?void 0:e.el;if(a&&a.childNodes.length){let l=T(1-Math.abs(i.getProgress(n))),o=T(t.getShift(n));a.style.setProperty("--progress",l?l+"":""),a.style.setProperty("--shift",o+"")}}}shiftModern(){const n=this;if(!n.isModern)return;const{instance:e,track:t}=n,i=e.panzoom,r=n.carousel;if(!(e&&t&&i&&r)||i.state===j.Init||i.state===j.Destroy)return;for(const l of e.slides)n.setProps(l.index);let a=(n[he]+n.thumbGap)*(r.slides.length||0);t.style.setProperty("--width",a+"")}cleanup(){const n=this;n.carousel&&n.carousel.destroy(),n.carousel=null,n.container&&n.container.remove(),n.container=null,n.track&&n.track.remove(),n.track=null,n.state=we.Init,R(n.instance.container,n.cn("hasThumbs"))}attach(){const n=this,e=n.instance;e.on("initSlide",n.onInitSlide),e.state===W.Init?e.on("initSlides",n.onInitSlides):n.onInitSlides(),e.on(["change","Panzoom.afterTransform"],n.onChange),e.on("Panzoom.refresh",n.onRefresh)}detach(){const n=this,e=n.instance;e.off("initSlide",n.onInitSlide),e.off("initSlides",n.onInitSlides),e.off(["change","Panzoom.afterTransform"],n.onChange),e.off("Panzoom.refresh",n.onRefresh),n.cleanup()}};Object.defineProperty(er,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Qs});const Ol=Object.assign(Object.assign({},Qs),{key:"t",showOnStart:!0,parentEl:null}),Dn="is-masked",zn="aria-hidden";class tr extends de{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"hidden",{enumerable:!0,configurable:!0,writable:!0,value:!1})}get isEnabled(){const e=this.ref;return e&&!e.isDisabled()}get isHidden(){return this.hidden}onClick(e,t){t.stopPropagation()}onCreateSlide(e,t){var i,r,a;const l=((a=(r=(i=this.instance)===null||i===void 0?void 0:i.carousel)===null||r===void 0?void 0:r.slides[t.index])===null||a===void 0?void 0:a.type)||"",o=t.el;if(o&&l){let c=`for-${l}`;["video","youtube","vimeo","html5video"].includes(l)&&(c+=" for-video"),k(o,c)}}onInit(){var e;const t=this,i=t.instance,r=i.carousel;if(t.ref||!r)return;const a=t.option("parentEl")||i.footer||i.container;if(!a)return;const l=ee({},t.options,{parentEl:a,classes:{container:"f-thumbs fancybox__thumbs"},Carousel:{Sync:{friction:i.option("Carousel.friction")||0}},on:{ready:o=>{const c=o.container;c&&this.hidden&&(t.refresh(),c.style.transition="none",t.hide(),c.offsetHeight,queueMicrotask(()=>{c.style.transition="",t.show()}))}}});l.Carousel=l.Carousel||{},l.Carousel.on=ee(((e=t.options.Carousel)===null||e===void 0?void 0:e.on)||{},{click:this.onClick,createSlide:this.onCreateSlide}),r.options.Thumbs=l,r.attachPlugins({Thumbs:er}),t.ref=r.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=we.Hidden,t.hidden=!0)}onResize(){var e;const t=(e=this.ref)===null||e===void 0?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){const i=this.option("key");i&&i===t&&this.toggle()}toggle(){const e=this.ref;if(e&&!e.isDisabled())return e.state===we.Hidden?(e.state=we.Init,void e.build()):void(this.hidden?this.show():this.hide())}show(){const e=this.ref;if(!e||e.isDisabled())return;const t=e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(zn),t.classList.remove(Dn),this.hidden=!1)}hide(){const e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add(Dn),t.setAttribute(zn,"true")),this.hidden=!0}refresh(){const e=this.ref;if(!e||!e.state)return;const t=e.container,i=(t==null?void 0:t.firstChild)||null;t&&i&&i.childNodes.length&&(t.style.maxHeight=`${i.getBoundingClientRect().height}px`)}attach(){const e=this,t=e.instance;t.state===Y.Init?t.on("Carousel.init",e.onInit):e.onInit(),t.on("resize",e.onResize),t.on("keydown",e.onKeydown)}detach(){var e;const t=this,i=t.instance;i.off("Carousel.init",t.onInit),i.off("resize",t.onResize),i.off("keydown",t.onKeydown),(e=i.carousel)===null||e===void 0||e.detachPlugins(["Thumbs"]),t.ref=null}}Object.defineProperty(tr,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Ol});const di={panLeft:{icon:'',change:{panX:-100}},panRight:{icon:'',change:{panX:100}},panUp:{icon:'',change:{panY:-100}},panDown:{icon:'',change:{panY:100}},zoomIn:{icon:'',action:"zoomIn"},zoomOut:{icon:'',action:"zoomOut"},toggle1to1:{icon:'',action:"toggleZoom"},toggleZoom:{icon:'',action:"toggleZoom"},iterateZoom:{icon:'',action:"iterateZoom"},rotateCCW:{icon:'',action:"rotateCCW"},rotateCW:{icon:'',action:"rotateCW"},flipX:{icon:'',action:"flipX"},flipY:{icon:'',action:"flipY"},fitX:{icon:'',action:"fitX"},fitY:{icon:'',action:"fitY"},reset:{icon:'',action:"reset"},toggleFS:{icon:'',action:"toggleFS"}};var Ie;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Disabled=2]="Disabled"})(Ie||(Ie={}));const Il={absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'
/
'},download:{tpl:''},prev:{tpl:''},next:{tpl:''},slideshow:{tpl:''},fullscreen:{tpl:''},thumbs:{tpl:''},close:{tpl:''}},parentEl:null},Dl={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Rn="has-toolbar",hi="fancybox__toolbar";class ir extends de{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Ie.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let i=this.option("display"),r=this.option("absolute"),a=this.option("enabled");if(a==="auto"){const d=this.instance.carousel;let h=0;if(d)for(const u of d.slides)(u.panzoom||u.type==="image")&&h++;h||(a=!1)}a||(i=void 0);let l=0;const o={left:[],middle:[],right:[]};if(i)for(const d of["left","middle","right"])for(const h of i[d]){const u=this.createEl(h);u&&((t=o[d])===null||t===void 0||t.push(u),l++)}let c=null;if(l&&(c=this.createContainer()),c){for(const[d,h]of Object.entries(o)){const u=document.createElement("div");k(u,hi+"__column is-"+d);for(const m of h)u.appendChild(m);r!=="auto"||d!=="middle"||h.length||(r=!0),c.appendChild(u)}r===!0&&k(c,"is-absolute"),this.state=Ie.Ready,this.onRefresh()}else this.state=Ie.Disabled}onClick(e){var t,i;const r=this.instance,a=r.getSlide(),l=a==null?void 0:a.panzoom,o=e.target,c=o&&Q(o)?o.dataset:null;if(!c)return;if(c.fancyboxToggleThumbs!==void 0)return e.preventDefault(),e.stopPropagation(),void((t=r.plugins.Thumbs)===null||t===void 0||t.toggle());if(c.fancyboxToggleFullscreen!==void 0)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(c.fancyboxToggleSlideshow!==void 0){e.preventDefault(),e.stopPropagation();const u=(i=r.carousel)===null||i===void 0?void 0:i.plugins.Autoplay;let m=u.isActive;return l&&l.panMode==="mousemove"&&!m&&l.reset(),void(m?u.stop():u.start())}const d=c.panzoomAction,h=c.panzoomChange;if((h||d)&&(e.preventDefault(),e.stopPropagation()),h){let u={};try{u=JSON.parse(h)}catch{}l&&l.applyChange(u)}else d&&l&&l[d]&&l[d]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;const e=this.container;if(!e)return;const t=this.instance.getSlide();if(!t||t.state!==U.Ready)return;const i=t&&!t.error&&t.panzoom;for(const l of e.querySelectorAll("[data-panzoom-action]"))i?(l.removeAttribute("disabled"),l.removeAttribute("tabindex")):(l.setAttribute("disabled",""),l.setAttribute("tabindex","-1"));let r=i&&i.canZoomIn(),a=i&&i.canZoomOut();for(const l of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))r?(l.removeAttribute("disabled"),l.removeAttribute("tabindex")):(l.setAttribute("disabled",""),l.setAttribute("tabindex","-1"));for(const l of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))a?(l.removeAttribute("disabled"),l.removeAttribute("tabindex")):(l.setAttribute("disabled",""),l.setAttribute("tabindex","-1"));for(const l of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){a||r?(l.removeAttribute("disabled"),l.removeAttribute("tabindex")):(l.setAttribute("disabled",""),l.setAttribute("tabindex","-1"));const o=l.querySelector("g");o&&(o.style.display=r?"":"none")}}onDone(e,t){var i;(i=t.panzoom)===null||i===void 0||i.on("afterTransform",()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()}),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){const e=this.instance.container;if(!e)return null;const t=this.option("parentEl")||e;let i=t.querySelector("."+hi);return i||(i=document.createElement("div"),k(i,hi),t.prepend(i)),i.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&k(e,Rn),this.container=i,i}createEl(e){const t=this.instance,i=t.carousel;if(!i||e==="toggleFS"||e==="fullscreen"&&!Vs())return null;let r=null;const a=i.slides.length||0;let l=0,o=0;for(const d of i.slides)(d.panzoom||d.type==="image")&&l++,(d.type==="image"||d.downloadSrc)&&o++;if(a<2&&["infobar","prev","next"].includes(e))return r;if(di[e]!==void 0&&!l||e==="download"&&!o)return null;if(e==="thumbs"){const d=t.plugins.Thumbs;if(!d||!d.isEnabled)return null}if(e==="slideshow"&&(!i.plugins.Autoplay||a<2))return null;if(di[e]!==void 0){const d=di[e];r=document.createElement("button"),r.setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),k(r,"f-button"),d.action&&(r.dataset.panzoomAction=d.action),d.change&&(r.dataset.panzoomChange=JSON.stringify(d.change)),r.appendChild(pe(this.instance.localize(d.icon)))}else{const d=(this.option("items")||[])[e];d&&(r=pe(this.instance.localize(d.tpl)),typeof d.click=="function"&&r.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation(),typeof d.click=="function"&&d.click.call(this,this,h)}))}const c=r==null?void 0:r.querySelector("svg");if(c)for(const[d,h]of Object.entries(Dl))c.getAttribute(d)||c.setAttribute(d,String(h));return r}removeContainer(){const e=this.container;e&&e.remove(),this.container=null,this.state=Ie.Disabled;const t=this.instance.container;t&&R(t,Rn)}attach(){const e=this,t=e.instance;t.on("Carousel.initSlides",e.onReady),t.on("done",e.onDone),t.on(["reveal","Carousel.change"],e.onChange),e.onReady(e.instance)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlides",e.onReady),t.off("done",e.onDone),t.off(["reveal","Carousel.change"],e.onChange),e.removeContainer()}}Object.defineProperty(ir,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Il});const zl={Hash:class extends de{onReady(){at=!1}onChange(n){Ae&&clearTimeout(Ae);const{hash:e}=Ws(),{hash:t}=$t(),i=n.isOpeningSlide(n.getSlide());i&&(kn=t===e?"":t),e&&e!==t&&(Ae=setTimeout(()=>{try{if(n.state===Y.Ready){let r="replaceState";i&&!Ct&&(r="pushState",Ct=!0),window.history[r]({},document.title,window.location.pathname+window.location.search+e)}}catch{}},300))}onClose(n){if(Ae&&clearTimeout(Ae),!at&&Ct)return Ct=!1,at=!1,void window.history.back();if(!at)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(kn||""))}catch{}}attach(){const n=this.instance;n.on("ready",this.onReady),n.on(["Carousel.ready","Carousel.change"],this.onChange),n.on("close",this.onClose)}detach(){const n=this.instance;n.off("ready",this.onReady),n.off(["Carousel.ready","Carousel.change"],this.onChange),n.off("close",this.onClose)}static parseURL(){return $t()}static startFromUrl(){Xs()}static destroy(){window.removeEventListener("hashchange",Ys,!1)}},Html:Zs,Images:Us,Slideshow:Js,Thumbs:tr,Toolbar:ir},jn="with-fancybox",ui="hide-scrollbar",Fn="--fancybox-scrollbar-compensate",Bn="--fancybox-body-margin",pi="aria-hidden",mi="is-using-tab",fi="is-animated",Hn="is-compact",$n="is-loading",gi="is-opening",At="has-caption",Ge="disabled",Pe="tabindex",Gn="download",vi="href",Ve="src",Ne=n=>typeof n=="string",Vn=function(){var n=window.getSelection();return!!n&&n.type==="Range"};let ae,le=null,Me=null,Wn=0,Xn=0,qn=0,Yn=0;const We=new Map;let Rl=0;class z extends Hi{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(e=[],t={},i={}){super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"startedFs",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Y.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),ae||(ae=Vs()),this.id=t.id||++Rl,We.set(this.id,this),this.userSlides=e,this.userPlugins=i,queueMicrotask(()=>{this.init()})}init(){if(this.state===Y.Destroy)return;this.state=Y.Init,this.attachPlugins(Object.assign(Object.assign({},z.Plugins),this.userPlugins)),this.emit("init"),this.emit("attachPlugins"),this.option("hideScrollbar")===!0&&(()=>{if(!ct)return;const t=document,i=t.body,r=t.documentElement;if(i.classList.contains(ui))return;let a=window.innerWidth-r.getBoundingClientRect().width;const l=parseFloat(window.getComputedStyle(i).marginRight);a<0&&(a=0),r.style.setProperty(Fn,`${a}px`),l&&i.style.setProperty(Bn,`${l}px`),i.classList.add(ui)})(),this.initLayout(),this.scale();const e=()=>{this.initCarousel(this.userSlides),this.state=Y.Ready,this.attachEvents(),this.emit("ready"),setTimeout(()=>{this.container&&this.container.setAttribute(pi,"false")},16)};this.option("Fullscreen.autoStart")&&ae&&!ae.isFullscreen()?ae.request().then(()=>{this.startedFs=!0,e()}).catch(()=>e()):e()}initLayout(){var e,t;const i=this.option("parentEl")||document.body,r=pe(this.localize(this.option("tpl.main")||""));if(r){if(r.setAttribute("id",`fancybox-${this.id}`),r.setAttribute("aria-label",this.localize("{{MODAL}}")),r.classList.toggle(Hn,this.isCompact),k(r,this.option("mainClass")||""),k(r,gi),this.container=r,this.footer=r.querySelector(".fancybox__footer"),i.appendChild(r),k(document.documentElement,jn),le&&Me||(le=document.createElement("span"),k(le,"fancybox-focus-guard"),le.setAttribute(Pe,"0"),le.setAttribute(pi,"true"),le.setAttribute("aria-label","Focus guard"),Me=le.cloneNode(),(e=r.parentElement)===null||e===void 0||e.insertBefore(le,r),(t=r.parentElement)===null||t===void 0||t.append(Me)),r.addEventListener("mousedown",a=>{Wn=a.pageX,Xn=a.pageY,R(r,mi)}),this.option("closeExisting"))for(const a of We.values())a.id!==this.id&&a.close();else this.option("animated")&&(k(r,fi),setTimeout(()=>{this.isClosing()||R(r,fi)},350));this.emit("initLayout")}}initCarousel(e){const t=this.container;if(!t)return;const i=t.querySelector(".fancybox__carousel");if(!i)return;const r=this.carousel=new ze(i,ee({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));r.on("*",(a,l,...o)=>{this.emit(`Carousel.${l}`,a,...o)}),r.on(["ready","change"],()=>{this.manageCaption()}),this.on("Carousel.removeSlide",(a,l,o)=>{this.clearContent(o),o.state=void 0}),r.on("Panzoom.touchStart",()=>{var a,l;this.isCompact||this.endIdle(),!((a=document.activeElement)===null||a===void 0)&&a.closest(".f-thumbs")&&((l=this.container)===null||l===void 0||l.focus())}),r.on("settle",()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()}),this.option("dragToClose")&&(r.on("Panzoom.afterTransform",(a,l)=>{const o=this.getSlide();if(o&&Pi(o.el))return;const c=this.container;if(c){const d=Math.abs(l.current.f),h=d<1?"":Math.max(.5,Math.min(1,1-d/l.contentRect.fitHeight*1.5));c.style.setProperty("--fancybox-ts",h?"0s":""),c.style.setProperty("--fancybox-opacity",h+"")}}),r.on("Panzoom.touchEnd",(a,l,o)=>{var c;const d=this.getSlide();if(d&&Pi(d.el)||l.isMobile&&document.activeElement&&["TEXTAREA","INPUT"].indexOf((c=document.activeElement)===null||c===void 0?void 0:c.nodeName)!==-1)return;const h=Math.abs(l.dragOffset.y);l.lockedAxis==="y"&&(h>=200||h>=50&&l.dragOffset.time<300)&&(o&&o.cancelable&&o.preventDefault(),this.close(o,"f-throwOut"+(l.current.f<0?"Up":"Down")))})),r.on("change",a=>{var l;let o=(l=this.getSlide())===null||l===void 0?void 0:l.triggerEl;if(o){const c=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:a.page});o.dispatchEvent(c)}}),r.on(["refresh","change"],a=>{const l=this.container;if(!l)return;for(const d of l.querySelectorAll("[data-fancybox-current-index]"))d.innerHTML=a.page+1;for(const d of l.querySelectorAll("[data-fancybox-count]"))d.innerHTML=a.pages.length;if(!a.isInfinite){for(const d of l.querySelectorAll("[data-fancybox-next]"))a.page0?(d.removeAttribute(Ge),d.removeAttribute(Pe)):(d.setAttribute(Ge,""),d.setAttribute(Pe,"-1"))}const o=this.getSlide();if(!o)return;let c=o.downloadSrc||"";c||o.type!=="image"||o.error||!Ne(o[Ve])||(c=o[Ve]);for(const d of l.querySelectorAll("[data-fancybox-download]")){const h=o.downloadFilename;c?(d.removeAttribute(Ge),d.removeAttribute(Pe),d.setAttribute(vi,c),d.setAttribute(Gn,h||c),d.setAttribute("target","_blank")):(d.setAttribute(Ge,""),d.setAttribute(Pe,"-1"),d.removeAttribute(vi),d.removeAttribute(Gn))}}),this.emit("initCarousel")}attachEvents(){const e=this,t=e.container;if(!t)return;t.addEventListener("click",e.onClick,{passive:!1,capture:!1}),t.addEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",e.onVisibilityChange,!1),document.addEventListener("mousemove",e.onMousemove),e.option("trapFocus")&&document.addEventListener("focus",e.onFocus,!0),window.addEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.addEventListener("scroll",e.onResize),i.addEventListener("resize",e.onResize))}detachEvents(){const e=this,t=e.container;if(!t)return;document.removeEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),t.removeEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),t.removeEventListener("click",e.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",e.onMousemove),window.removeEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.removeEventListener("resize",e.onResize),i.removeEventListener("scroll",e.onResize)),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),document.removeEventListener("focus",e.onFocus,!0)}scale(){const e=this.container;if(!e)return;const t=window.visualViewport,i=Math.max(1,(t==null?void 0:t.scale)||1);let r="",a="",l="";if(t&&i>1){let o=`${t.offsetLeft}px`,c=`${t.offsetTop}px`;r=t.width*i+"px",a=t.height*i+"px",l=`translate3d(${o}, ${c}, 0) scale(${1/i})`}e.style.transform=l,e.style.width=r,e.style.height=a}onClick(e){var t;const{container:i,isCompact:r}=this;if(!i||this.isClosing())return;!r&&this.option("idle")&&this.resetIdle();const a=e.composedPath()[0];if(a.closest(".fancybox-spinner")||a.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(a.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(a.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if(e.type==="click"&&e.detail===0||Math.abs(e.pageX-Wn)>30||Math.abs(e.pageY-Xn)>30)return;const l=document.activeElement;if(Vn()&&l&&i.contains(l))return;if(r&&((t=this.getSlide())===null||t===void 0?void 0:t.type)==="image")return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout(()=>{this.toggleIdle(),this.clickTimer=null},350));if(this.emit("click",e),e.defaultPrevented)return;let o=!1;if(a.closest(".fancybox__content")){if(l){if(l.closest("[contenteditable]"))return;a.matches(li)||l.blur()}if(Vn())return;o=this.option("contentClick")}else a.closest(".fancybox__carousel")&&!a.matches(li)&&(o=this.option("backdropClick"));o==="close"?(e.preventDefault(),this.close(e)):o==="next"?(e.preventDefault(),this.next()):o==="prev"&&(e.preventDefault(),this.prev())}onWheel(e){const t=e.target;let i=this.option("wheel",e);t.closest(".fancybox__thumbs")&&(i="slide");const r=i==="slide",a=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(c,d){return Math.abs(d)>Math.abs(c)?d:c}),l=Math.max(-1,Math.min(1,a)),o=Date.now();this.pwt&&o-this.pwt<300?r&&e.preventDefault():(this.pwt=o,this.emit("wheel",e,l),e.defaultPrevented||(i==="close"?(e.preventDefault(),this.close(e)):i==="slide"&&(Bt(t)||(e.preventDefault(),this[l>0?"prev":"next"]()))))}onScroll(){window.scrollTo(qn,Yn)}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();const t=e.key,i=this.option("keyboard");if(!i)return;const r=e.composedPath()[0],a=document.activeElement&&document.activeElement.classList,l=a&&a.contains("f-button")||r.dataset.carouselPage||r.dataset.carouselIndex;if(t!=="Escape"&&!l&&Q(r)&&(r.isContentEditable||["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(r.nodeName)!==-1)||(e.key==="Tab"?k(this.container,mi):R(this.container,mi),e.ctrlKey||e.altKey||e.shiftKey))return;this.emit("keydown",t,e);const o=i[t];o&&typeof this[o]=="function"&&(e.preventDefault(),this[o]())}onResize(){const e=this.container;if(!e)return;const t=this.isCompact;e.classList.toggle(Hn,t),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){document.visibilityState==="visible"?this.checkFocus():this.endIdle()}manageCloseBtn(e){const t=this.optionFor(e,"closeButton")||!1;if(t==="auto"){const r=this.plugins.Toolbar;if(r&&r.state===Ie.Ready)return}if(!t||!e.contentEl||e.closeBtnEl)return;const i=this.option("tpl.closeButton");if(i){const r=pe(this.localize(i));e.closeBtnEl=e.contentEl.appendChild(r),e.el&&k(e.el,"has-close-btn")}}manageCaption(e=void 0){var t,i;const r="fancybox__caption",a=this.container;if(!a)return;R(a,At);const l=this.isCompact||this.option("commonCaption"),o=!l;if(this.caption&&this.stop(this.caption),o&&this.caption&&(this.caption.remove(),this.caption=null),l&&!this.caption)for(const u of((t=this.carousel)===null||t===void 0?void 0:t.slides)||[])u.captionEl&&(u.captionEl.remove(),u.captionEl=void 0,R(u.el,At),(i=u.el)===null||i===void 0||i.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||l&&!this.isCurrentSlide(e))return;const c=e.el;let d=this.optionFor(e,"caption","");if(!d)return void(l&&this.caption&&this.animate(this.caption,"f-fadeOut",()=>{this.caption&&(this.caption.innerHTML="")}));let h=null;if(o){if(h=e.captionEl||null,c&&!h){const u=r+`_${this.id}_${e.index}`;h=document.createElement("div"),k(h,r),h.setAttribute("id",u),e.captionEl=c.appendChild(h),k(c,At),c.setAttribute("aria-labelledby",u)}}else h=this.caption,h||(h=a.querySelector("."+r)),!h&&(h=document.createElement("div"),h.dataset.fancyboxCaption="",k(h,r),(this.footer||a).prepend(h)),k(a,At),this.caption=h;h&&(h.innerHTML="",Ne(d)||typeof d=="number"?h.innerHTML=d+"":d instanceof HTMLElement&&h.appendChild(d))}checkFocus(e){this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;const i=document.activeElement||null,r=(e==null?void 0:e.target)||null,a=this.container,l=(t=this.carousel)===null||t===void 0?void 0:t.viewport;if(!a||!l||!e&&i&&a.contains(i))return;const o=this.getSlide(),c=o&&o.state===U.Ready?o.el:null;if(!c||c.contains(i)||a===i)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;const d=Array.from(a.querySelectorAll(li));let h=[],u=null;for(let p of d){const f=!p.offsetParent||!!p.closest('[aria-hidden="true"]'),v=c&&c.contains(p),b=!l.contains(p);if(p===a||(v||b)&&!f){h.push(p);const g=p.dataset.origTabindex;g!==void 0&&g&&(p.tabIndex=parseFloat(g)),p.removeAttribute("data-orig-tabindex"),!p.hasAttribute("autoFocus")&&u||(u=p)}else{const g=p.dataset.origTabindex===void 0?p.getAttribute("tabindex")||"":p.dataset.origTabindex;g&&(p.dataset.origTabindex=g),p.tabIndex=-1}}let m=null;e?(!r||h.indexOf(r)<0)&&(m=u||a,h.length&&(i===Me?m=h[0]:this.lastFocus!==a&&i!==le||(m=h[h.length-1]))):m=o&&o.type==="image"?a:u||a,m&&Mn(m),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){const e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){const e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(...e){this.carousel&&this.carousel.slideTo(...e)}isTopmost(){var e;return((e=z.getInstance())===null||e===void 0?void 0:e.id)==this.id}animate(e=null,t="",i){if(!e||!t)return void(i&&i());this.stop(e);const r=a=>{a.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",r),delete e.dataset.animationName,i&&i(),R(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",r),k(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e,t="",i=!0){if(this.isClosing())return;const r=e.el;if(!r)return;let a=null;if(Q(t)?a=t:(a=pe(t+""),Q(a)||(a=document.createElement("div"),a.innerHTML=t+"")),["img","picture","iframe","video","audio"].includes(a.nodeName.toLowerCase())){const l=document.createElement("div");l.appendChild(a),a=l}Q(a)&&e.filter&&!e.error&&(a=a.querySelector(e.filter)),a&&Q(a)?(k(a,"fancybox__content"),e.id&&a.setAttribute("id",e.id),r.classList.add(`has-${e.error?"error":e.type||"unknown"}`),r.prepend(a),a.style.display==="none"&&(a.style.display=""),getComputedStyle(a).getPropertyValue("display")==="none"&&(a.style.display=e.display||this.option("defaultDisplay")||"flex"),e.contentEl=a,i&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){const i=e.el,r=e.contentEl;i&&r&&(this.emit("reveal",e),this.hideLoading(e),e.state=U.Opening,(t=this.isOpeningSlide(e)?t===void 0?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(r,t,()=>{this.done(e)}):this.done(e))}done(e){this.isClosing()||(e.state=U.Ready,this.emit("done",e),k(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask(()=>{var t;(t=e.panzoom)===null||t===void 0||t.updateControls(),this.option("autoFocus")&&this.focus()}),this.isOpeningSlide(e)&&(R(this.container,gi),!this.isCompact&&this.option("idle")&&this.setIdle()))}isCurrentSlide(e){const t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,i;return((t=this.carousel)===null||t===void 0?void 0:t.prevPage)===null&&e&&e.index===((i=this.getSlide())===null||i===void 0?void 0:i.index)}showLoading(e){e.state=U.Loading;const t=e.el;t&&(k(t,$n),this.emit("loading",e),e.spinnerEl||setTimeout(()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===U.Loading){let i=pe($i);k(i,"fancybox-spinner"),e.spinnerEl=i,t.prepend(i),this.animate(i,"f-fadeIn")}},250))}hideLoading(e){const t=e.el;if(!t)return;const i=e.spinnerEl;this.isClosing()?i==null||i.remove():(R(t,$n),i&&this.animate(i,"f-fadeOut",()=>{i.remove()}),e.state===U.Loading&&(this.emit("loaded",e),e.state=U.Ready))}setError(e,t){if(this.isClosing())return;const i=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",i,e),i.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);const r=document.createElement("div");r.classList.add("fancybox-error"),r.innerHTML=this.localize(t||"

{{ERROR}}

"),this.setContent(e,r)}clearContent(e){if(e.state===void 0)return;this.emit("clearContent",e),e.contentEl&&(e.contentEl.remove(),e.contentEl=void 0);const t=e.el;t&&(R(t,"has-error"),R(t,"has-unknown"),R(t,`has-${e.type||"unknown"}`)),e.closeBtnEl&&e.closeBtnEl.remove(),e.closeBtnEl=void 0,e.captionEl&&e.captionEl.remove(),e.captionEl=void 0,e.spinnerEl&&e.spinnerEl.remove(),e.spinnerEl=void 0}getSlide(){var e;const t=this.carousel;return((e=t==null?void 0:t.pages[t==null?void 0:t.page])===null||e===void 0?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const i=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",i,e),i.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const r=()=>{this.proceedClose(e,t)};this.startedFs&&ae&&ae.isFullscreen()?Promise.resolve(ae.exit()).then(()=>r()):r()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(e=!1){const t=()=>{this.clearIdle(),this.idle=!0,k(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const i=this.option("idle");i&&(this.idleTimer=setTimeout(t,i))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,R(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){ae&&(ae.isFullscreen()?ae.exit():ae.request().then(()=>{this.startedFs=!0}))}isClosing(){return[Y.Closing,Y.CustomClosing,Y.Destroy].includes(this.state)}proceedClose(e,t){var i,r;this.state=Y.Closing,this.clearIdle(),this.detachEvents();const a=this.container,l=this.carousel,o=this.getSlide(),c=o&&this.option("placeFocusBack")?o.triggerEl||this.option("triggerEl"):null;if(c&&(Gs(c)?Mn(c):c.focus()),a&&(R(a,gi),k(a,"is-closing"),a.setAttribute(pi,"true"),this.option("animated")&&k(a,fi),a.style.pointerEvents="none"),l){l.clearTransitions(),(i=l.panzoom)===null||i===void 0||i.destroy(),(r=l.plugins.Navigation)===null||r===void 0||r.detach();for(const d of l.slides){d.state=U.Closing,this.hideLoading(d);const h=d.contentEl;h&&this.stop(h);const u=d==null?void 0:d.panzoom;u&&(u.stop(),u.detachEvents(),u.detachObserver()),this.isCurrentSlide(d)||l.emit("removeSlide",d)}}qn=window.scrollX,Yn=window.scrollY,window.addEventListener("scroll",this.onScroll),this.emit("close",e),this.state!==Y.CustomClosing?(t===void 0&&o&&(t=this.optionFor(o,"hideClass")),t&&o?(this.animate(o.contentEl,t,()=>{l&&l.emit("removeSlide",o)}),setTimeout(()=>{this.destroy()},500)):this.destroy()):setTimeout(()=>{this.destroy()},500)}destroy(){var e;if(this.state===Y.Destroy)return;window.removeEventListener("scroll",this.onScroll),this.state=Y.Destroy,(e=this.carousel)===null||e===void 0||e.destroy();const t=this.container;t&&t.remove(),We.delete(this.id);const i=z.getInstance();i?i.focus():(le&&(le.remove(),le=null),Me&&(Me.remove(),Me=null),R(document.documentElement,jn),(()=>{if(!ct)return;const r=document,a=r.body;a.classList.remove(ui),a.style.setProperty(Bn,""),r.documentElement.style.setProperty(Fn,"")})(),this.emit("destroy"))}static bind(e,t,i){if(!ct)return;let r,a="",l={};if(e===void 0?r=document.body:Ne(e)?(r=document.body,a=e,typeof t=="object"&&(l=t||{})):(r=e,Ne(t)&&(a=t),typeof i=="object"&&(l=i||{})),!r||!Q(r))return;a=a||"[data-fancybox]";const o=z.openers.get(r)||new Map;o.set(a,l),z.openers.set(r,o),o.size===1&&r.addEventListener("click",z.fromEvent)}static unbind(e,t){let i,r="";if(Ne(e)?(i=document.body,r=e):(i=e,Ne(t)&&(r=t)),!i)return;const a=z.openers.get(i);a&&r&&a.delete(r),r&&a||(z.openers.delete(i),i.removeEventListener("click",z.fromEvent))}static destroy(){let e;for(;e=z.getInstance();)e.destroy();for(const t of z.openers.keys())t.removeEventListener("click",z.fromEvent);z.openers=new Map}static fromEvent(e){if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const i=t.closest("[data-fancybox-trigger]");if(i){const f=i.dataset.fancyboxTrigger||"",v=document.querySelectorAll(`[data-fancybox="${f}"]`),b=parseInt(i.dataset.fancyboxIndex||"",10)||0;t=v[b]||t}if(!(t&&t instanceof Element))return;let r,a,l,o;if([...z.openers].reverse().find(([f,v])=>!(!f.contains(t)||![...v].reverse().find(([b,g])=>{let x=t.closest(b);return!!x&&(r=f,a=b,l=x,o=g,!0)}))),!r||!a||!l)return;o=o||{},e.preventDefault(),t=l;let c=[],d=ee({},ki,o);d.event=e,d.triggerEl=t,d.delegate=i;const h=d.groupAll,u=d.groupAttr,m=u&&t?t.getAttribute(`${u}`):"";if((!t||m||h)&&(c=[].slice.call(r.querySelectorAll(a))),t&&!h&&(c=m?c.filter(f=>f.getAttribute(`${u}`)===m):[t]),!c.length)return;const p=z.getInstance();return p&&p.options.triggerEl&&c.indexOf(p.options.triggerEl)>-1?void 0:(t&&(d.startIndex=c.indexOf(t)),z.fromNodes(c,d))}static fromSelector(e,t,i){let r=null,a="",l={};if(Ne(e)?(r=document.body,a=e,typeof t=="object"&&(l=t||{})):e instanceof HTMLElement&&Ne(t)&&(r=e,a=t,typeof i=="object"&&(l=i||{})),!r||!a)return!1;const o=z.openers.get(r);return!!o&&(l=ee({},o.get(a)||{},l),!!l&&z.fromNodes(Array.from(r.querySelectorAll(a)),l))}static fromNodes(e,t){t=ee({},ki,t||{});const i=[];for(const r of e){const a=r.dataset||{},l=a[Ve]||r.getAttribute(vi)||r.getAttribute("currentSrc")||r.getAttribute(Ve)||void 0;let o;const c=t.delegate;let d;c&&i.length===t.startIndex&&(o=c instanceof HTMLImageElement?c:c.querySelector("img:not([aria-hidden])")),o||(o=r instanceof HTMLImageElement?r:r.querySelector("img:not([aria-hidden])")),o&&(d=o.currentSrc||o[Ve]||void 0,!d&&o.dataset&&(d=o.dataset.lazySrc||o.dataset[Ve]||void 0));const h={src:l,triggerEl:r,thumbEl:o,thumbElSrc:d,thumbSrc:d};for(const u in a){let m=a[u]+"";m=m!=="false"&&(m==="true"||m),h[u]=m}i.push(h)}return new z(i,t)}static getInstance(e){return e?We.get(e):Array.from(We.values()).reverse().find(t=>!t.isClosing()&&t)||null}static getSlide(){var e;return((e=z.getInstance())===null||e===void 0?void 0:e.getSlide())||null}static show(e=[],t={}){return new z(e,t)}static next(){const e=z.getInstance();e&&e.next()}static prev(){const e=z.getInstance();e&&e.prev()}static close(e=!0,...t){if(e)for(const i of We.values())i.close(...t);else{const i=z.getInstance();i&&i.close(...t)}}}Object.defineProperty(z,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(z,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:ki}),Object.defineProperty(z,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:zl}),Object.defineProperty(z,"openers",{enumerable:!0,configurable:!0,writable:!0,value:new Map});function jl(){const[n,e]=ne(!1),t=$(null),i=$(null);return Re(()=>{const a=t.current;a&&a.scrollHeight>=580&&(i.current.style.display="flex",a.style.height="580px"),z.bind('[data-fancybox="gallery"]')},[]),s("div",{className:"product-information mt-5",children:s("div",{className:"flex gap-[15px]",children:[s("div",{className:"left w-[60%]",children:s("div",{className:"box-desc bg-white p-[12px] rounded-[8px]",children:[s("h3",{className:"title text-2xl block mb-[10px] pb-[10px] border-b-[1px] border-[#B1B1B1] font-bold",children:"Thông tin sản phẩm"}),s("div",{id:"content-desciption",children:s("div",{className:"content nd",ref:t,children:[s("p",{style:"text-align: justify;",children:[s("strong",{children:"Laptop HP Victus 16 R0376TX AY8Z2PA"})," sở hữu chip xử lý Intel Core i7 13700HX cùng VGA RTX 3050 6GB để có được trải nghiệm chơi game, làm việc hiệu quả. Mẫu"," ",s("a",{href:"https://cellphones.com.vn/laptop/hp/victus.html",title:"HP Victus",target:"_blank",children:s("strong",{children:"HP Victus"})})," ","này còn được trang bị màn hình 16 inch FHD 165Hz giúp tái tạo hình ảnh sắc nét, mượt mà. Kèm theo đó là thiết kế bền bỉ, hiện đại để có thể sử dụng ở nhiều không gian."]}),s("h2",{style:"scroll-margin : 154px;",id:"laptop-hp-victus-16-r0376tx-ay8z2pa-hieu-nang-manh-me-hien-thi-an-tuong",children:s("strong",{children:"Laptop HP Victus 16 R0376TX AY8Z2PA - Hiệu năng mạnh mẽ, hiển thị ấn tượng"})}),s("p",{style:"text-align: justify;",children:["HP Victus 16 R0376TX AY8Z2PA với bộ vi xử lý và card đồ họa rời mạnh mẽ sẽ mang tới trải nghiệm chơi game, làm việc mượt mà, hiệu quả. Hãy cùng tìm hiểu thêm những điểm nổi bật mà mẫu laptop gaming của",s("strong",{children:" HP Victus "})," này sở hữu trong bài viết sau."]}),s("h3",{style:"scroll-margin : 154px;",id:"nang-cao-hieu-suat-xu-ly-voi-chip-core-i7-13700hx",children:s("strong",{children:[" ","Nâng cao hiệu suất xử lý với chip Core i7 13700HX"]})}),s("p",{style:"text-align: justify;",children:"Laptop HP Victus 16 R0376TX AY8Z2PA được trang bị con chip xử lý Core i7 13700HX của Intel. Con chip Core i7 16 lõi, 24 luồng này sở hữu khả năng ép xung cực đại lên tới 5GHz để luôn có thể xử lý dữ liệu trong thời gian ngắn. Với bộ nhớ đệm 30MB, hiệu suất xử lý các tác vụ phức tạp của laptop sẽ được giảm đi đáng kể."}),s("p",{style:"text-align: justify;",children:s("img",{src:"https://cdn2.cellphones.com.vn/insecure/rs:fill:0:0/q:90/plain/https://cellphones.com.vn/media/wysiwyg/laptop/HP/Victus/Laptop-hp-victus-16-r0376tx-ay8z2pa-1.jpg",alt:"Cấu hình laptop HP Victus 16 R0376TX AY8Z2PA",loading:"lazy"})}),s("p",{style:"text-align: justify;",children:["Để nâng cao khả năng xử lý đồ hoạ, HP còn trang bị cho phiên bản"," ",s("a",{href:"https://cellphones.com.vn/laptop/hp/victus/victus-16.html",title:"laptop Victus 16",target:"_blank",children:s("strong",{children:"laptop Victus 16"})}),"này card đồ hoạ rời NVIDIA GeForce RTX 3050 6GB GDDR6. Nhờ vậy mà người dùng có thể tự tin trải nghiệm các tựa game với mức cấu hình cao. Không dừng ở đó, các nhu cầu chỉnh sửa hình ảnh, dựng phim, tạo hình 3D,...chuyên nghiệp cũng được thực hiện mượt mà."]}),s("h3",{style:"scroll-margin : 154px;",id:"tich-hop-o-cung-toc-do-cao-cung-dung-luong-ram-lon",children:s("strong",{children:[" ","Tích hợp ổ cứng tốc độ cao cùng dung lượng RAM lớn"," "]})}),s("p",{style:"text-align: justify;",children:"HP Victus 16 R0376TX AY8Z2PA được trang bị sẵn 2 thanh RAM chuẩn DDR5 có tốc độ bus lên tới 4800MT/s. Với tổng dung lượng RAM 16GB, mẫu laptop gaming HP này sẽ đáp ứng tốt nhu cầu đa nhiệm. Không chỉ các tác vụ cơ bản mà nhu cầu đa nhiệm nâng cao trong công việc cũng sẽ được thực hiện mượt mà mà không cần phải nâng cấp cấu hình. Ngoài ra, laptop HP Victus 16 R0376TX AY8Z2PA còn sở hữu một ổ cứng SSD tốc độ cao có dung lượng 512GB. "}),s("p",{style:"text-align: justify;",children:s("img",{src:"https://cdn2.cellphones.com.vn/insecure/rs:fill:0:0/q:90/plain/https://cellphones.com.vn/media/wysiwyg/laptop/HP/Victus/Laptop-hp-victus-16-r0376tx-ay8z2pa-2.jpg",alt:"Cấu hình laptop HP Victus 16 R0376TX AY8Z2PA",loading:"lazy"})}),s("h3",{style:"scroll-margin : 154px;",id:"thiet-ke-hien-dai-ben-bi",children:s("strong",{children:" Thiết kế hiện đại, bền bỉ "})}),s("p",{style:"text-align: justify;",children:"Laptop Victus 16 R0376TX AY8Z2PA được HP thiết kế hướng tới phong cách hiện đại, tối giản. Tuy vậy nhưng sản phẩm vẫn mang đậm dấu ấn gaming với tông màu đen thu hút và mạnh mẽ. Kèm theo đó là một tổng thể chắc chắn, bền bỉ cùng phần bản lề kích thước lớn."}),s("p",{style:"text-align: justify;",children:"Với trọng lượng khoảng 2.31kg, người dùng vẫn có thể tiện lợi mang theo phiên bản laptop HP Victus này mà không gặp bất tiện. So với các mẫu laptop gaming khác, đây được coi là một điểm cộng giúp sản phẩm đáp ứng nhu cầu chơi game ở nhiều không gian của người dùng."}),s("p",{style:"text-align: justify;",children:s("img",{src:"https://cdn2.cellphones.com.vn/insecure/rs:fill:0:0/q:90/plain/https://cellphones.com.vn/media/wysiwyg/laptop/HP/Victus/Laptop-hp-victus-16-r0376tx-ay8z2pa-3.jpg",alt:"Thiết kế laptop HP Victus 16 R0376TX AY8Z2PA",loading:"lazy"})}),s("p",{style:"text-align: justify;",children:"Để hỗ trợ tốt cả nhu cầu chơi game và làm việc, HP đã trang bị cho laptop Victus 16 R0376TX AY8Z2PA bộ bàn phím Full-size. Với phần bàn phím số riêng biệt, người dùng sẽ cải thiện được tốc độ nhập liệu trong khi làm việc. Bàn phím của laptop còn được tích hợp hệ thống đèn nền RGB 1 để hỗ trợ việc gõ phím trong điều kiện thiếu sáng."}),s("h3",{style:"scroll-margin : 154px;",id:"hien-thi-sac-net-va-muot-ma",children:s("strong",{children:" Hiển thị sắc nét và mượt mà "})}),s("p",{style:"text-align: justify;",children:"Laptop HP Victus 16 R0376TX AY8Z2PA sở hữu không giản hiển thị cực lớn khi được trang bị màn hình có kích thước 16.1 inch. Kèm theo đó là độ phân giải FHD (1920 x 1080p) giúp nội dung hiển thị luôn có được độ rõ nét. Nhờ việc sử dụng tấm nền IPS, người dùng còn có thể điều chỉnh góc nghiêng linh hoạt mà không gây ảnh hưởng tới chất lượng hình ảnh."}),s("p",{style:"text-align: justify;",children:s("img",{src:"https://cdn2.cellphones.com.vn/insecure/rs:fill:0:0/q:90/plain/https://cellphones.com.vn/media/wysiwyg/laptop/HP/Victus/Laptop-hp-victus-16-r0376tx-ay8z2pa-4.jpg",alt:"Hiển thị sắc nét và mượt mà",loading:"lazy"})}),s("p",{style:"text-align: justify;",children:"Điểm nổi bật có trên màn hình HP Victus 16 R0376TX AY8Z2PA chính là tần số quét và độ phủ màu. Với độ phủ màu 100% sRGB, mẫu laptop gaming HP này sẽ hỗ trợ người dùng làm các công việc liên quan tới sáng tạo hiệu quả. Tần số quét ở mức 165Hz sẽ giúp màn hình tái hiện các chuyển động một cách uyển chuyển, mượt mà."}),s("p",{style:"text-align: justify;",children:"Ngoài ra, màn hình HP Victus 16 R0376TX AY8Z2PA còn được phủ lớp chống chói và có độ sáng 300 nits để thoải mái sử dụng ở những nơi có ánh sáng mạnh. Với chuẩn Low Blue Light, màn hình còn giảm thiểu lượng ánh sáng xanh phát ra để hạn chế tình trạng mỏi mắt khi sử dụng laptop trong thời gian dài."}),s("h3",{style:"scroll-margin : 154px;",id:"thoi-luong-pin-dai-ket-noi-phong-phu-va-on-dinh",children:s("strong",{children:[" ","Thời lượng pin dài, kết nối phong phú và ổn định"," "]})}),s("p",{style:"text-align: justify;",children:"Laptop HP Victus 16 R0376TX AY8Z2PA được trang bị viên pin Li-ion Polymer 4-cell có dung lượng ở mức 70Wh. Với dung lượng này, viên pin có thể duy trì trạng thái hoạt động cho laptop lên tới nhiều giờ với các tác vụ hỗn hợp. Laptop còn được trang bị bộ nguồn 200W Smart AC power adapter để hỗ trợ sạc pin nhanh 50% trong khoảng 30 phút."}),s("p",{style:"text-align: justify;",children:s("img",{src:"https://cdn2.cellphones.com.vn/insecure/rs:fill:0:0/q:90/plain/https://cellphones.com.vn/media/wysiwyg/laptop/HP/Victus/Laptop-hp-victus-16-r0376tx-ay8z2pa-5.jpg",alt:"Thời lượng pin dài, kết nối phong phú và ổn định",loading:"lazy"})}),s("p",{style:"text-align: justify;",children:"Để hỗ trợ việc liên kết có dây và chia sẻ dữ liệu, HP còn trang bị cho mẫu laptop Victus của hàng đầy đủ các cổng kết nối thông dụng. Hai cạnh bên laptop được tích hợp các cổng USB Type-A, USB Type-C, RJ-45, HDMI 2.1, jack audio 3.5mm và bộ chuyển đổi điện xoay chiều thông minh."}),s("p",{style:"text-align: justify;",children:"Laptop Victus 16 R0376TX AY8Z2PA còn được trang bị card wireless Bluetooth 5.3 và Intel Wi-Fi 6E AX211 (2x2). Điều này sẽ đảm bảo được khả năng kết nối với các thiết bị ngoại vi, kết nối mạng ổn định, nhanh chóng cho laptop."}),s("h2",{style:"scroll-margin : 154px;",id:"mua-laptop-hp-victus-16-r0376tx-ay8z2pa-gia-tot-tai-cellphones",children:s("strong",{children:[" ","Mua laptop HP Victus 16 R0376TX AY8Z2PA giá tốt tại CellphoneS"," "]})}),s("ul",{children:[s("li",{children:["Hãy tới ngay các cửa hàng CellphoneS trên cả nước để trải nghiệm và đặt mua"," ",s("strong",{children:"Laptop HP Victus 16 R0376TX AY8Z2PA "})," . Mẫu laptop gaming HP này còn có mức giá cực kỳ hấp dẫn khi đi kèm nhiều chương trình ưu đãi, hỗ trợ thu cũ - đổi mới,..."]}),s("li",{children:"Với chính sách hỗ trợ trả góp lãi suất thấp, khách hàng sẽ còn dễ dàng sở hữu và trải nghiệm chiếc laptop này. Ngoài ra, CellphoneS còn hỗ trợ giao hàng toàn quốc để khách hàng tiện lợi đặt mua dù ở nơi đâu."})]})]})}),s("a",{href:"javascript:void(0)",ref:i,className:"more-all js-viewmore-content item-btn flex items-center",onClick:()=>{e(l=>!l);const a=t.current;a.classList.toggle("active"),n&&window.scrollTo({top:a.getBoundingClientRect().top+window.scrollY-200,behavior:"smooth"})},children:n?s(Z,{children:[s("span",{children:"Thu gọn"})," ",s("i",{className:"icon_2025 angle-top mt-[10px]"})]}):s(Z,{children:[s("span",{children:"Xem thêm "}),s("i",{className:"icon_2025 angle-bottom"})]})})]})}),s("div",{className:"right w-[40%]",children:s("div",{className:"box-spec bg-white p-[12px] rounded-[8px]",children:[s("h3",{className:"title text-2xl block mb-[10px] pb-[10px] border-b-[1px] border-[#B1B1B1] font-bold",children:"Thông tin chi tiết"}),s("div",{className:"content table",children:s("table",{width:"638",children:s("tbody",{children:[s("tr",{children:[s("td",{children:"Mã sản phẩm"}),s("td",{children:"VA3416WC"})]}),s("tr",{children:[s("td",{children:"Màu sắc"}),s("td",{children:"Đen"})]}),s("tr",{children:[s("td",{children:"Độ sáng"}),s("td",{children:"Max 300cd/m²"})]}),s("tr",{children:[s("td",{children:"Độ tương phản"}),s("td",{children:"3000:1"})]}),s("tr",{children:[s("td",{children:"Màu sắc hiển thị"}),s("td",{children:"16.7M"})]}),s("tr",{children:[s("td",{children:"Màu sắc hỗ trợ"}),s("td",{children:"6500K"})]}),s("tr",{children:[s("td",{children:"Loại màn hình"}),s("td",{children:"Cong R1500"})]}),s("tr",{children:[s("td",{children:"Kích cỡ màn hình"}),s("td",{children:'34"'})]}),s("tr",{children:[s("td",{children:"Tấm nền"}),s("td",{children:"VA"})]}),s("tr",{children:[s("td",{children:"Góc nhìn"}),s("td",{children:"89°/89° (H/V)"})]}),s("tr",{children:[s("td",{children:"Tính năng đặc biệt"}),s("td",{children:[s("br",{}),"1. Flicker-Free Backlight adjustment",s("br",{}),"2. Dynamic Contrast Ratio: DCR",s("br",{}),"3. Adaptive Sync",s("br",{}),"4.FPS/RTS",s("br",{}),"5.PIP/PBP",s("br",{}),"6. PQ",s("br",{}),"7. GAME PLUS"]})]})]})})}),s("div",{id:"content-specification",className:"hidden table",children:s("table",{width:"638",children:s("tbody",{children:[s("tr",{children:[s("td",{children:"Mã sản phẩm"}),s("td",{children:"VA3416WC"})]}),s("tr",{children:[s("td",{children:"Màu sắc"}),s("td",{children:"Đen"})]}),s("tr",{children:[s("td",{children:"Độ sáng"}),s("td",{children:"Max 300cd/m²"})]}),s("tr",{children:[s("td",{children:"Độ tương phản"}),s("td",{children:"3000:1"})]}),s("tr",{children:[s("td",{children:"Màu sắc hiển thị"}),s("td",{children:"16.7M"})]}),s("tr",{children:[s("td",{children:"Màu sắc hỗ trợ"}),s("td",{children:"6500K"})]}),s("tr",{children:[s("td",{children:"Loại màn hình"}),s("td",{children:"Cong R1500"})]}),s("tr",{children:[s("td",{children:"Kích cỡ màn hình"}),s("td",{children:'34"'})]}),s("tr",{children:[s("td",{children:"Tấm nền"}),s("td",{children:"VA"})]}),s("tr",{children:[s("td",{children:"Góc nhìn"}),s("td",{children:"89°/89° (H/V)"})]}),s("tr",{children:[s("td",{children:"Tính năng đặc biệt"}),s("td",{children:[s("br",{}),"1. Flicker-Free Backlight adjustment",s("br",{}),"2. Dynamic Contrast Ratio: DCR",s("br",{}),"3. Adaptive Sync",s("br",{}),"4.FPS/RTS",s("br",{}),"5.PIP/PBP",s("br",{}),"6. PQ",s("br",{}),"7. GAME PLUS"]})]})]})})}),s("a",{href:"#content-specification","data-fancybox":!0,className:"more-all flex items-center justify-center",children:["Xem thêm thông số ",s("i",{className:"icon_2025 angle-bottom"})]})]})})]})})}function Fl({show:n,onClose:e}){return s(Z,{children:[s("div",{id:"backgroundPopup",className:`${n?"active":""}`,onClick:e}),s("div",{className:`box-form-review fixed left-[50%] top-[50%] w-[860px] bg-white rounded-[12px] translate-x-[-50%] translate-y-[-50%] z-[999] p-[20px] ${n?"":"hidden"}`,id:"js-box-review",children:[s("div",{className:"title relative pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("b",{className:"text-center text-xl block",children:"Đánh giá sản phẩm"}),s("a",{href:"javascript:void(0)",onClick:e,id:"js-close-review",className:"absolute right-0 top-0 text-[#808080] text-[22px] ",children:s("i",{class:"icon_2025 close"})})]}),s("div",{className:"info-form-review w-[500px] mx-[auto]",children:[s("a",{href:"",className:"block m-[10px_auto] p-[10px] rounded-[4px] border-[#B1B1B1]",children:s("img",{src:"/assets/images/small-product-detail.png",width:"100%",height:"100%",className:"block w-[100px] h-[100px] m-[0_auto]",alt:""})}),s("a",{href:"",className:"text-center block mb-[10px]",children:'Laptop Gaming Asus TUF FX505GE-BQ037T Core i7-8750H/Win10(15.6" FHD) - Hàng Chính Hãng'}),s("div",{className:"flex justify-center",children:s("div",{className:"rating-selection",children:[s("input",{type:"radio",className:"rating-input",id:"star5",name:"rating",value:"5"}),s("label",{for:"star5",className:"rating-star"}),s("input",{type:"radio",className:"rating-input",id:"star4",name:"rating",value:"4"}),s("label",{for:"star4",className:"rating-star"}),s("input",{type:"radio",className:"rating-input",id:"star3",name:"rating",value:"3"}),s("label",{for:"star3",className:"rating-star"}),s("input",{type:"radio",className:"rating-input",id:"star2",name:"rating",value:"2"}),s("label",{for:"star2",className:"rating-star"}),s("input",{type:"radio",className:"rating-input",id:"star1",name:"rating",value:"1"}),s("label",{for:"star1",className:"rating-star"})]})}),s("div",{className:"clearfix"})]}),s("div",{className:"form-input mt-[20px]",children:[s("input",{type:"text",name:"title",placeholder:"Mời bạn nhập tiêu đề..."}),s("div",{className:"note-error"})]}),s("div",{className:"form-input mt-[10px]",children:[s("textarea",{name:"content",placeholder:"Mời bạn chia sẻ cảm nhận...",id:""}),s("div",{className:"note-error"})]}),s("input",{id:"js-file-upload-id",type:"hidden",value:""}),s("div",{id:"js-container-selector",className:"mt-[10px] flex items-center",children:s("a",{href:"javascript:void(0)",className:"flex items-center",id:"js-select-file",children:[s("i",{className:"icon_2025 upload_image"}),s("span",{className:"text-[#1877F2] ml-[5px]",children:"Gửi ảnh thực tế"}),s("span",{className:"px-[5px]",children:"(tối đa 3 ảnh)"})]})}),s("button",{type:"submit",className:"mt-[15px] w-full h-[45px] bg-[#C8B7FF] rounded-[4px] text-white leading-[45px] hover:bg-[var(--color-global)]",children:"Gửi đánh giá"})]})]})}function Bl(){const[n,e]=ne(!1);return s(Z,{children:[s("div",{className:"p-[15px] bg-white mt-5 rounded-[8px]",children:[s("div",{className:"flex items-center justify-between pb-[15px] border-b-[1px] border-[#B1B1B1]",children:[s("h3",{className:"text-xl font-bold",children:"Thành viên BestPC đánh giá"}),s("div",{className:"select-sort relative border border-[#b1b1b1] h-[45px] rounded-[4px] overflow-hidden",children:[s("select",{name:"",id:"",className:" appearance-none w-full relative p-[0_20px_0_10px] bg-transparent h-full z-[2]",children:[s("option",{value:"",children:"Top review"}),s("option",{value:"",children:"Review mới nhất"})]}),s("i",{className:"icon_2025 angle-right ml-[5px] absolute right-[7px] top-[12px] z-[1] rotate-[90deg]"})]})]}),s("div",{className:"flex gap-[25px]",children:[s("div",{className:"left w-[20%]",children:[s("b",{className:"text-center block pt-[20px] pb-[5px] text-2xl",children:"54 đánh giá"}),s("div",{className:"flex items-center justify-center",children:[s("i",{className:"icon-star star4"}),s("span",{className:"ml-[5px] mt-[3px]",children:"4.8"})]}),s("div",{className:"border-t-[1px] border-[#E4E4E4] pt-[10px] mt-[10px]",children:[s("div",{className:"flex items-center justify-between mb-[10px]",children:[s("i",{className:"icon-star star5"}),s("span",{children:"50 đánh giá"})]}),s("div",{className:"flex items-center justify-between mb-[10px]",children:[s("i",{className:"icon-star star4"}),s("span",{children:"50 đánh giá"})]}),s("div",{className:"flex items-center justify-between mb-[10px]",children:[s("i",{className:"icon-star star3"}),s("span",{children:"50 đánh giá"})]}),s("div",{className:"flex items-center justify-between mb-[10px]",children:[s("i",{className:"icon-star star2"}),s("span",{children:"50 đánh giá"})]}),s("div",{className:"flex items-center justify-between mb-[10px]",children:[s("i",{className:"icon-star star1"}),s("span",{children:"50 đánh giá"})]})]}),s("div",{className:"btn border-t-[1px] border-[#E4E4E4] pt-[10px] mt-[20px]",children:[s("p",{className:"text-center mt-[10px]",children:"Đánh giá của bạn về sản phẩm"}),s("a",{href:"javascript:void(0)",id:"js-show-form",onClick:t=>{t.preventDefault(),e(!0)},className:"block mt-[10px] h-[40px] leading-[40px] text-center text-white bg-[#FF7A00] rounded-[4px]",children:"Gửi đánh giá của bạn về sản phẩm"})]})]}),s("div",{className:"right w-[80%]",children:[s("div",{className:"list-review mt-[15px]",children:[s("div",{className:"item-review flex mb-[15px] pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("div",{className:"w-[80px] mr-[20px]",children:[s("img",{src:"/assets/images/avartar-review-1.png",width:"75px",height:"75px",alt:"avartar"}),s("div",{className:"time mt-[10px]",children:[s("b",{className:"mb-[2px] text-center block",children:"Dino"}),s("p",{className:"text-center",children:"10:00pm 20/02/2025"})]})]}),s("div",{className:"w-[calc(100%-100px)]",children:[s("div",{className:"flex items-center mb-[5px]",children:[s("i",{className:"icon-star star4"}),s("b",{className:"ml-[10px]",children:"Laptop Gaming Asus ROG 16GB"})]}),s("p",{className:"content mb-[5px]",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. I"}),s("div",{className:"flex items-center mb-[10px]",children:[s("a",{href:"/src/assets/images/small-product-detail.png","data-fancybox":"gallery",className:"w-[80px] block mr-[10px]",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})}),s("a",{href:"/src/assets/images/small-product-detail.png",className:"w-[80px] block mr-[10px]","data-fancybox":"gallery",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})}),s("a",{href:"/src/assets/images/small-product-detail.png",className:"w-[80px] block mr-[10px]","data-fancybox":"gallery",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})})]}),s("div",{className:"btn",children:[s("a",{href:"javascript:void(0)",className:"text-[#1877F2] mr-[10px]",children:["Bình luận"," ",s("span",{className:"ml-[3px] text-black",children:"(23)"})]}),s("a",{href:"javascript:void(0)",className:"text-[#1877F2]",children:["Thích ",s("span",{className:"ml-[3px] text-black",children:"(23)"})]})]})]})]}),s("div",{className:"item-review flex mb-[15px] pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("div",{className:"w-[80px] mr-[20px]",children:[s("img",{src:"/assets/images/avartar-review-2.png",width:"75px",height:"75px",alt:"avartar"}),s("div",{className:"time mt-[10px]",children:[s("b",{className:"mb-[2px] text-center block",children:"Dino"}),s("p",{className:"text-center",children:"10:00pm 20/02/2025"})]})]}),s("div",{className:"w-[calc(100%-100px)]",children:[s("div",{className:"flex items-center mb-[5px]",children:[s("i",{className:"icon-star star4"}),s("b",{className:"ml-[10px]",children:"Laptop Gaming Asus ROG 16GB"})]}),s("p",{className:"content mb-[5px]",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. I"}),s("div",{className:"flex items-center mb-[10px]",children:[s("a",{href:"/src/assets/images/small-product-detail.png","data-fancybox":"gallery",className:"w-[80px] block mr-[10px]",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})}),s("a",{href:"/src/assets/images/small-product-detail.png",className:"w-[80px] block mr-[10px]","data-fancybox":"gallery",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})}),s("a",{href:"/src/assets/images/small-product-detail.png",className:"w-[80px] block mr-[10px]","data-fancybox":"gallery",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})})]}),s("div",{className:"btn",children:[s("a",{href:"javascript:void(0)",className:"text-[#1877F2] mr-[10px]",children:["Bình luận"," ",s("span",{className:"ml-[3px] text-black",children:"(23)"})]}),s("a",{href:"javascript:void(0)",className:"text-[#1877F2]",children:["Thích ",s("span",{className:"ml-[3px] text-black",children:"(23)"})]})]})]})]}),s("div",{className:"item-review flex mb-[15px] pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("div",{className:"w-[80px] mr-[20px]",children:[s("img",{src:"/assets/images/avartar-review-3.png",width:"75px",height:"75px",alt:"avartar"}),s("div",{className:"time mt-[10px]",children:[s("b",{className:"mb-[2px] text-center block",children:"Dino"}),s("p",{className:"text-center",children:"10:00pm 20/02/2025"})]})]}),s("div",{className:"w-[calc(100%-100px)]",children:[s("div",{className:"flex items-center mb-[5px]",children:[s("i",{className:"icon-star star4"}),s("b",{className:"ml-[10px]",children:"Laptop Gaming Asus ROG 16GB"})]}),s("p",{className:"content mb-[5px]",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. I"}),s("div",{className:"flex items-center mb-[10px]",children:[s("a",{href:"/src/assets/images/small-product-detail.png","data-fancybox":"gallery",className:"w-[80px] block mr-[10px]",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})}),s("a",{href:"/src/assets/images/small-product-detail.png",className:"w-[80px] block mr-[10px]","data-fancybox":"gallery",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})}),s("a",{href:"/src/assets/images/small-product-detail.png",className:"w-[80px] block mr-[10px]","data-fancybox":"gallery",children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-[100%] block",alt:""})})]}),s("div",{className:"btn",children:[s("a",{href:"javascript:void(0)",className:"text-[#1877F2] mr-[10px]",children:["Bình luận"," ",s("span",{className:"ml-[3px] text-black",children:"(23)"})]}),s("a",{href:"javascript:void(0)",className:"text-[#1877F2]",children:["Thích ",s("span",{className:"ml-[3px] text-black",children:"(23)"})]})]})]})]})]}),s("a",{href:"javascript:void(0)",className:"pt-[15px] text-[#FF7A00] btn-more-review",children:["Xem thêm ",s("span",{children:"23"})," bình luận khác"]})]})]})]}),s(Fl,{show:n,onClose:()=>e(!1)})]})}function Hl(n,e,t,i){return n.params.createElements&&Object.keys(i).forEach(r=>{if(!t[r]&&t.auto===!0){let a=ce(n.el,`.${i[r]}`)[0];a||(a=jt("div",i[r]),a.className=i[r],n.el.append(a)),t[r]=a,e[r]=a}}),t}function Xe(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function a(f){let v;return f&&typeof f=="string"&&e.isElement&&(v=e.el.querySelector(f)||e.hostEl.querySelector(f),v)?v:(f&&(typeof f=="string"&&(v=[...document.querySelectorAll(f)]),e.params.uniqueNavElements&&typeof f=="string"&&v&&v.length>1&&e.el.querySelectorAll(f).length===1?v=e.el.querySelector(f):v&&v.length===1&&(v=v[0])),f&&!v?f:v)}function l(f,v){const b=e.params.navigation;f=ve(f),f.forEach(g=>{g&&(g.classList[v?"add":"remove"](...b.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=v),e.params.watchOverflow&&e.enabled&&g.classList[e.isLocked?"add":"remove"](b.lockClass))})}function o(){const{nextEl:f,prevEl:v}=e.navigation;if(e.params.loop){l(v,!1),l(f,!1);return}l(v,e.isBeginning&&!e.params.rewind),l(f,e.isEnd&&!e.params.rewind)}function c(f){f.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(f){f.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function h(){const f=e.params.navigation;if(e.params.navigation=Hl(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(f.nextEl||f.prevEl))return;let v=a(f.nextEl),b=a(f.prevEl);Object.assign(e.navigation,{nextEl:v,prevEl:b}),v=ve(v),b=ve(b);const g=(x,y)=>{x&&x.addEventListener("click",y==="next"?d:c),!e.enabled&&x&&x.classList.add(...f.lockClass.split(" "))};v.forEach(x=>g(x,"next")),b.forEach(x=>g(x,"prev"))}function u(){let{nextEl:f,prevEl:v}=e.navigation;f=ve(f),v=ve(v);const b=(g,x)=>{g.removeEventListener("click",x==="next"?d:c),g.classList.remove(...e.params.navigation.disabledClass.split(" "))};f.forEach(g=>b(g,"next")),v.forEach(g=>b(g,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?p():(h(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{u()}),i("enable disable",()=>{let{nextEl:f,prevEl:v}=e.navigation;if(f=ve(f),v=ve(v),e.enabled){o();return}[...f,...v].filter(b=>!!b).forEach(b=>b.classList.add(e.params.navigation.lockClass))}),i("click",(f,v)=>{let{nextEl:b,prevEl:g}=e.navigation;b=ve(b),g=ve(g);const x=v.target;let y=g.includes(x)||b.includes(x);if(e.isElement&&!y){const w=v.path||v.composedPath&&v.composedPath();w&&(y=w.find(_=>b.includes(_)||g.includes(_)))}if(e.params.navigation.hideOnClick&&!y){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===x||e.pagination.el.contains(x)))return;let w;b.length?w=b[0].classList.contains(e.params.navigation.hiddenClass):g.length&&(w=g[0].classList.contains(e.params.navigation.hiddenClass)),r(w===!0?"navigationShow":"navigationHide"),[...b,...g].filter(_=>!!_).forEach(_=>_.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),h(),o()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(e.navigation,{enable:m,disable:p,update:o,init:h,destroy:u})}function qe(n){let{swiper:e,extendParams:t,on:i}=n;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,a=!1;e.thumbs={swiper:null};function l(){const d=e.thumbs.swiper;if(!d||d.destroyed)return;const h=d.clickedIndex,u=d.clickedSlide;if(u&&u.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof h>"u"||h===null)return;let m;d.params.loop?m=parseInt(d.clickedSlide.getAttribute("data-swiper-slide-index"),10):m=h,e.params.loop?e.slideToLoop(m):e.slideTo(m)}function o(){const{thumbs:d}=e.params;if(r)return!1;r=!0;const h=e.constructor;if(d.swiper instanceof h){if(d.swiper.destroyed)return r=!1,!1;e.thumbs.swiper=d.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(rt(d.swiper)){const u=Object.assign({},d.swiper);Object.assign(u,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new h(u),a=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",l),!0}function c(d){const h=e.thumbs.swiper;if(!h||h.destroyed)return;const u=h.params.slidesPerView==="auto"?h.slidesPerViewDynamic():h.params.slidesPerView;let m=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(m=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(m=1),m=Math.floor(m),h.slides.forEach(b=>b.classList.remove(p)),h.params.loop||h.params.virtual&&h.params.virtual.enabled)for(let b=0;b{g.classList.add(p)});else for(let b=0;bw.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);g=h.slides.indexOf(y),x=e.activeIndex>e.previousIndex?"next":"prev"}else g=e.realIndex,x=g>e.previousIndex?"next":"prev";v&&(g+=x==="next"?f:-1*f),h.visibleSlidesIndexes&&h.visibleSlidesIndexes.indexOf(g)<0&&(h.params.centeredSlides?g>b?g=g-Math.floor(u/2)+1:g=g+Math.floor(u/2)-1:g>b&&h.params.slidesPerGroup,h.slideTo(g,d?0:void 0))}}i("beforeInit",()=>{const{thumbs:d}=e.params;if(!(!d||!d.swiper))if(typeof d.swiper=="string"||d.swiper instanceof HTMLElement){const h=Ee(),u=()=>{const p=typeof d.swiper=="string"?h.querySelector(d.swiper):d.swiper;if(p&&p.swiper)d.swiper=p.swiper,o(),c(!0);else if(p){const f=`${e.params.eventsPrefix}init`,v=b=>{d.swiper=b.detail[0],p.removeEventListener(f,v),o(),c(!0),d.swiper.update(),e.update()};p.addEventListener(f,v)}return p},m=()=>{if(e.destroyed)return;u()||requestAnimationFrame(m)};requestAnimationFrame(m)}else o(),c(!0)}),i("slideChange update resize observerUpdate",()=>{c()}),i("setTransition",(d,h)=>{const u=e.thumbs.swiper;!u||u.destroyed||u.setTransition(h)}),i("beforeDestroy",()=>{const d=e.thumbs.swiper;!d||d.destroyed||a&&d.destroy()}),Object.assign(e.thumbs,{init:o,update:c})}function Ye(n){let{swiper:e,extendParams:t,emit:i,once:r}=n;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){if(e.params.cssMode)return;const c=e.getTranslate();e.setTranslate(c),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function l(){if(e.params.cssMode)return;const{touchEventsData:c,touches:d}=e;c.velocities.length===0&&c.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:c.touchStartTime}),c.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:De()})}function o(c){let{currentPos:d}=c;if(e.params.cssMode)return;const{params:h,wrapperEl:u,rtlTranslate:m,snapGrid:p,touchEventsData:f}=e,b=De()-f.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length1){const S=f.velocities.pop(),N=f.velocities.pop(),E=S.position-N.position,P=S.time-N.time;e.velocity=E/P,e.velocity/=2,Math.abs(e.velocity)150||De()-S.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=h.freeMode.momentumVelocityRatio,f.velocities.length=0;let g=1e3*h.freeMode.momentumRatio;const x=e.velocity*g;let y=e.translate+x;m&&(y=-y);let w=!1,_;const M=Math.abs(e.velocity)*20*h.freeMode.momentumBounceRatio;let C;if(ye.minTranslate())h.freeMode.momentumBounce?(y-e.minTranslate()>M&&(y=e.minTranslate()+M),_=e.minTranslate(),w=!0,f.allowMomentumBounce=!0):y=e.minTranslate(),h.loop&&h.centeredSlides&&(C=!0);else if(h.freeMode.sticky){let S;for(let N=0;N-y){S=N;break}Math.abs(p[S]-y){e.loopFix()}),e.velocity!==0){if(m?g=Math.abs((-y-e.translate)/e.velocity):g=Math.abs((y-e.translate)/e.velocity),h.freeMode.sticky){const S=Math.abs((m?-y:y)-e.translate),N=e.slidesSizesGrid[e.activeIndex];S{!e||e.destroyed||!f.allowMomentumBounce||(i("momentumBounce"),e.setTransition(h.speed),setTimeout(()=>{e.setTranslate(_),Yt(u,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(g),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Yt(u,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(h.freeMode.sticky){e.slideToClosest();return}else h.freeMode&&i("_freeModeNoMomentumRelease");(!h.freeMode.momentum||b>=h.longSwipesMs)&&(i("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:a,onTouchMove:l,onTouchEnd:o}})}function $l(){const[n,e]=ne(null);return s(Z,{children:s("div",{className:"box-product-detail bg-[#F4F4F4] pb-[100px]",children:s("div",{className:"container",children:[s("div",{className:"breadcrumb p-[12px_0]",children:s("ol",{itemscope:!0,itemtype:"http://schema.org/BreadcrumbList",className:"ul flex flex-wrap items-center",children:[s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/template/homepage/homepage.html",itemprop:"item",className:"nopad-l flex items-center text-[#637381]",children:s("span",{itemprop:"name",children:[s("span",{style:"font-size: 0; display: none;",children:"Trang chủ"}),s("i",{className:"icon_2025 home mr-[5px] mb-[5px]"})]})})," ",s("i",{className:"icon_2025 angle-right ml-[12px]"}),s("meta",{itemprop:"position",content:"1"})]}),s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/man-hinh.html",itemprop:"item",className:"nopad-l flex items-center",children:[s("span",{itemprop:"name",children:"Màn hình máy tính"}),s("i",{className:"icon_2025 angle-right text-[#637381] ml-[12px]"})]}),s("meta",{itemprop:"position",content:"2"})]}),s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/aivision.html",itemprop:"item",className:"nopad-l flex items-center",children:s("span",{itemprop:"name",children:"AIVISION"})}),s("meta",{itemprop:"position",content:"3"})]})]})}),s("div",{className:"p-[15px] grid grid-cols-2 gap-[15px] rounded-[8px] bg-white",children:[s("div",{className:"left",children:[s("div",{className:"relative",children:s(Oe,{spaceBetween:10,navigation:!0,thumbs:{swiper:n},modules:[Ye,Xe,qe],className:"swiper border border-[#B1B1B1 rounded-[12px]",id:"js-slider-big",children:[s(D,{children:s("img",{src:"/assets/images/big-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail.jpg",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail-2.jpg",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail-3.jpg",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail-4.jpg",alt:""})})]})}),s("div",{className:"relative mt-[12px]",children:[s(Oe,{onSwiper:e,spaceBetween:15,slidesPerView:5,navigation:{prevEl:"#btn-slider-small .swiper-button-prev",nextEl:"#btn-slider-small .swiper-button-next"},freeMode:!0,watchSlidesProgress:!0,modules:[Ye,Xe,qe],className:"swiper",id:"js-slider-small",children:[s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",alt:""})})]}),s("div",{className:"btn-small",id:"btn-slider-small",children:[s("div",{className:"swiper-button-next right-[-15px] w-[30px] h-[30px]"}),s("div",{className:"swiper-button-prev left-[-15px] w-[30px] h-[30px]"})]})]})]}),s("div",{className:"right",children:[s("h1",{className:"text-[24px] text-black mb-[5px]",children:'Laptop Gaming Asus TUF FX505GE-BQ037T Core i7-8750H/Win10(15.6" FHD) - Hàng Chính Hãng'}),s("div",{className:"flex items-center text-base",children:[s("div",{className:"info-review flex items-center mr-[15px]",children:[s("i",{className:"icon-star star-small"}),s("span",{className:"ml-[5px] mt-[2px]",children:"5/5"})]}),s("div",{className:"info-view flex items-center mr-[15px]",children:[s("i",{className:"icon_2025 view"}),s("span",{className:"text-[#1877F2] ml-[5px]",children:"120"})]}),s("div",{className:"info-date flex items-center mr-[15px]",children:[s("i",{className:"icon_2025 time-big"}),s("span",{className:"text-[#1877F2] ml-[5px]",children:"12/03/2025"})]}),s("a",{href:"",className:"info-share flex items-center",children:[s("i",{className:"icon_2025 share"}),s("span",{className:"ml-[5px] mt-[2px]",children:"Chia sẻ"})]})]}),s("div",{className:"flex items-center mt-[5px] text-base",children:[s("div",{className:"source-review flex items-centermr-[10px]",children:[s("span",{children:"Reviews trên:"}),s("a",{href:"",className:"ml-[5px] text-[#1877F2]",children:"Internet"}),s("p",{className:"ml-[5px]",children:"1233 đánh giá"})]}),s("div",{className:"pl-[10px] ml-[10px] flex items-center border-l-[1.5px] border-[#000]",children:[s("a",{href:"",className:"mr-[5px] text-[#462F91]",children:"BestPC"}),s("p",{children:"12003 đánh giá"})]})]}),s("div",{className:"box-price flex items-center my-[10px]",children:[s("span",{className:"mr-[10px]",children:"Giá:"}),s("b",{className:"text-[#D80A00] text-[28px]",children:"9.000.000đ - 12.000.000đ"})]}),s("div",{className:"total-shop flex items-center",children:[s("div",{className:"box-shop",children:s("i",{className:"icon_2025 shop"})}),s("p",{className:"ml-[7px]",children:"Có 12 cửa hàng bán"})]}),s("div",{className:"box-summary mt-[15px]",children:s("ul",{children:[s("li",{children:"CPU: Intel Core i7-8750H ( 2.2 GHz - 4.1 GHz / 9MB / 6 nhân, 12 luồng )"}),s("li",{children:'Màn hình: 15.6" ( 1920 x 1080 ) , không cảm ứng'}),s("li",{children:"RAM: 1 x 8GB DDR4 2666MHz"}),s("li",{children:"Đồ họa: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1050Ti 4GB GDDR5"}),s("li",{children:"Lưu trữ: 128GB SSD M.2 NVMe / 1TB HDD 5400RPM"}),s("li",{children:"Hệ điều hành: Windows 10 Home SL 64-bit"}),s("li",{children:"Pin: 4 cell 64 Wh Pin liền"}),s("li",{children:"khối lượng: 2.5 kg"}),s("li",{children:"Cổng giao tiếp: 1x USB 2.0,"})]})}),s("a",{href:"",className:"group mt-4 flex items-center justify-center w-ful py-[10px] border border-[#D3D3D3] rounded-[4px] text-center hover:bg-[var(--color-global)] hover:text-white",children:[s("img",{src:"/assets/images/icon-file-save.png",className:"w-[18px] h-[24px] block group-hover:brightness-[0] group-hover:invert-[1]",alt:"save"}),s("b",{className:"ml-[10px] text-base",children:"Lưu sản phẩm lại xem sau"})]})]})]}),s(_l,{}),s(Bl,{}),s(jl,{}),s("div",{className:"mt-5 bg-white rounded-[8px] p-[15px]",children:[s("div",{className:"flex items-center justify-between mb-[15px] pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("h3",{className:"text-xl font-bold",children:"Sản phẩm tương tự"}),s("a",{href:"javascript:void(0)",className:"text-[#462F91] flex items-center justify-center w-[130px] h-[32px] leading-[32px] border-[#462F91] border-[1px] rounded-[4px] hover:bg-[#462F91] hover:text-white group",children:[s("span",{children:"Xem tất cả"}),s("i",{className:"icon_2025 mouse ml-[5px] group-hover:brightness-0 group-hover:invert-[1]"})]})]}),s("div",{className:"relative mt-[15px]",children:[s(Oe,{slidesPerView:5,spaceBetween:15,navigation:{prevEl:"#js-product-similar-btn .swiper-button-prev",nextEl:"#js-product-similar-btn .swiper-button-next"},freeMode:!0,watchSlidesProgress:!0,modules:[Ye,Xe,qe],className:"product-list swiper relative",children:[s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})})]}),s("div",{className:"btn-slider",id:"js-product-similar-btn",children:[s("div",{className:"swiper-button-next right-[-15px]"}),s("div",{className:"swiper-button-prev left-[-15px]"})]})]})]}),s("div",{className:"mt-5 bg-white rounded-[8px] p-[15px]",children:[s("div",{className:"flex items-center justify-between mb-[15px] pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("h3",{className:"text-xl font-bold",children:"Sản phẩm bạn có thể thích"}),s("a",{href:"javascript:void(0)",className:"text-[#462F91] flex items-center justify-center w-[130px] h-[32px] leading-[32px] border-[#462F91] border-[1px] rounded-[4px] hover:bg-[#462F91] hover:text-white group",children:[s("span",{children:"Xem tất cả"}),s("i",{className:"icon_2025 mouse ml-[5px] group-hover:brightness-0 group-hover:invert-[1]"})]})]}),s("div",{className:"relative mt-[15px]",children:[s(Oe,{slidesPerView:5,spaceBetween:15,navigation:{prevEl:"#js-product-like-btn .swiper-button-prev",nextEl:"#js-product-like-btn .swiper-button-next"},freeMode:!0,watchSlidesProgress:!0,modules:[Ye,Xe,qe],className:"product-list swiper relative",children:[s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})}),s(D,{children:s("div",{className:"product-item",children:[s("a",{href:"",className:"product-image",children:s("img",{src:"/assets/images/box-image.png",alt:"Laptop Dell"})}),s("div",{className:"info-product",children:[s("a",{href:"",className:"name-product line-clamp-2",children:"Laptop văn phòng Dell RAM 8G Core i7"}),s("div",{className:"summary line-clamp-1",children:"Intel Core i5 / 8GB / 256GB / SSD"}),s("div",{className:"locahost-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 map-3"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Quận Thanh Xuân"})]}),s("div",{className:"time-pro flex items-center mb-[5px]",children:[s("i",{className:"icon_2025 time-gray"}),s("div",{className:"flex items-center mt-[1px]",children:[s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"11/04/2025"}),s("span",{className:"ml-[5px]",children:"|"}),s("span",{className:"text-[#595959] ml-[5px] mt-[3px]",children:"Còn 01 ngày"})]})]}),s("div",{className:"price",children:"15.000.000đ"}),s("div",{className:"user-pro flex items-center",children:[s("img",{src:"/assets/images/avartar.png",className:"w-[24px] h-[24px] block rounded-[50%]",width:"24px",height:"24px",alt:"avartar"}),s("b",{className:"ml-[7px]",children:"Thanh Mai"})]})]})]})})]}),s("div",{className:"btn-slider",id:"js-product-like-btn",children:[s("div",{className:"swiper-button-next right-[-15px]"}),s("div",{className:"swiper-button-prev left-[-15px]"})]})]})]})]})})})}function Gl({show:n,onClose:e}){return s(Z,{children:[s("div",{id:"backgroundPopup",className:`${n?"active":""}`,onClick:e}),s("div",{className:`fixed w-[1400px] bg-white left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] z-[999] ${n?"":"hidden"}`,id:"js-modal-popup",children:[s("div",{className:"header-popup p-[10px] bg-[var(--color-global)] flex items-center justify-between",children:[s("b",{className:"w-[205px] mr-[15px] text-white",children:"Chọn linh kiện"}),s("div",{className:"w-[calc(100%-275px)] relative input-search",children:s("form",{action:"/search",enctype:"text/plain",method:"get",className:"relative w-full h-[45px] bg-white rounded-[3px] overflow-hidden",children:[s("input",{type:"text",name:"q",placeholder:"Bạn cần tìm linh kiện gì...",className:"search-input w-full h-full p-[0_10px] outline-none rounded-[8px] text-base"}),s("button",{type:"submit",className:"absolute right-[10px] top-[5px] w-[40px] h-[35px] pl-[10px]",children:s("i",{className:"icon_2025 search "})})]})}),s("a",{href:"javascript:void(0)",onClick:e,className:"w-[54px] flex items-center justify-end",children:s("i",{className:"icon_2025 close brightness-0 invert-[1]"})})]}),s("div",{className:"content-popup p-[10px] bg-white",children:s("div",{className:"flex gap-[15px]",children:[s("div",{className:"left w-[205px]",children:[s("b",{className:"",children:"230 sản phẩm"}),s("div",{className:"mt-3 title-filter flex items-center justify-between px-[20px] bg-[#f1f1f1] rounded-[4px_4px_0_0] h-[52px] w-full leading-[52px]",children:[s("b",{className:"text-xl",children:"Bộ lọc"}),s("i",{className:"icon_2025 filter"})]}),s("div",{className:"list-filter h-[calc(100vh-208px)] overflow-auto",children:[s("div",{className:"item-filter mb-2.5",children:[s("h3",{className:"text-lg font-[500] uppercase leading-loose text-black py-[5px] border-b-[1px] border-[#D3D3D3]",children:"Lọc theo"}),s("div",{className:"mt-2.5 text-base leading-8 text-black",children:[s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle1",className:"checkbox"}),s("label",{for:"vehicle1",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"Máy tính dành cho Máy tính dành cho"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle2",className:"checkbox"}),s("label",{for:"vehicle2",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"Máy tính dành cho"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle3",className:"checkbox"}),s("label",{for:"vehicle3",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"Máy tính dành cho"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle4",className:"checkbox"}),s("label",{for:"vehicle4",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"Máy tính dành cho"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle5",className:"checkbox"}),s("label",{for:"vehicle5",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"Máy tính dành cho"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"Máy tính dành cho"})]})]})]}),s("div",{className:"item-filter mb-2.5",children:[s("h3",{className:"text-lg font-[500] uppercase leading-loose text-black py-[5px] border-b-[1px] border-[#D3D3D3]",children:"Lọc theo"}),s("div",{className:"mt-2.5 grid grid-flow-col grid-rows-9 text-base leading-8 text-black",children:[s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle1",className:"checkbox"}),s("label",{for:"vehicle1",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"All"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle2",className:"checkbox"}),s("label",{for:"vehicle2",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"32gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle3",className:"checkbox"}),s("label",{for:"vehicle3",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"64bg"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle4",className:"checkbox"}),s("label",{for:"vehicle4",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"16bg"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle5",className:"checkbox"}),s("label",{for:"vehicle5",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"12gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"4gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"2gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"24gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle2",className:"checkbox"}),s("label",{for:"vehicle2",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"32gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle3",className:"checkbox"}),s("label",{for:"vehicle3",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"64bg"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle4",className:"checkbox"}),s("label",{for:"vehicle4",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"16bg"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle5",className:"checkbox"}),s("label",{for:"vehicle5",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"12gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"4gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"2gb"})]}),s("a",{href:"",className:"item flex items-center ",children:[s("input",{type:"checkbox",id:"vehicle6",className:"checkbox"}),s("label",{for:"vehicle6",className:"ml-2 line-clamp-1 w-[calc(100%-28px)]",children:"24gb"})]})]})]})]})]}),s("div",{className:"right w-[calc(100%-220px)]",children:[s("div",{className:"flex gap-[15px]",children:[s("a",{href:"",className:"text-[var(--color-hover)]",children:"Chọn tất cả"}),s("a",{href:"",children:"Bỏ chọn tất cả"}),s("a",{href:"",children:"So sánh sản phẩm đã chọn"})]}),s("div",{className:"mt-3 relative z-[9] grid grid-cols-11 bg-[#f1f1f1] rounded-[4px_4px_0_0] h-[52px] w-full leading-[52px]",children:[s("b",{className:"col-span-3 text-center",children:"Tên"}),s("b",{children:"Dung lượng"}),s("b",{children:"Thế hệ"}),s("b",{children:"Bộ nhớ"}),s("b",{children:"Độ ồn"}),s("b",{children:"Màu sắc"}),s("b",{children:"Đánh giá"}),s("b",{className:"col-span-2",children:"Thành tiền"})]}),s("div",{className:"list mt-3 h-[calc(100vh-208px)] overflow-auto",children:[s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]}),s("div",{className:"item grid grid-cols-11 items-center py-[10px] border-b-[1px] border-[#dedede]",children:[s("div",{className:"col-span-3",children:s("div",{className:"flex items-center",children:[s("input",{type:"checkbox",className:"checkbox w-[24px] mx-[20px]"}),s("a",{href:"",className:"image w-[50px] h-[50px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-140px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"text-center",children:"8bg"}),s("div",{className:"",children:"5"}),s("div",{children:"GDDR5"}),s("div",{className:"text-center",children:"5db"}),s("div",{children:"Đen"}),s("div",{className:"flex items-center",children:[s("i",{className:"icon_star star4"}),s("span",{className:"ml-[5px]",children:"(125)"})]}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("div",{className:"price",children:"3.400.000đ"}),s("a",{href:"",className:"block w-[60px] h-[40px] leading-[40px] text-center text-white font-bold bg-[var(--color-hover)] rounded-[4px]",children:"Add"})]})]})]})]})]})})]})]})}function Vl(){const[n,e]=ne(!1);return s(Z,{children:[s("div",{className:"mt-6 flex items-center border-b-[1px] border-neutral-200 pb-3",children:[s("b",{className:"left w-[200px] name-component",children:"Sản phẩm"}),s("div",{className:"right w-[calc(100%-200px)] grid grid-cols-8",children:[s("b",{className:"item col-span-3",children:"Thông tin"}),s("b",{className:"item",children:"Giá gốc"}),s("b",{className:"item",children:"Khuyến mãi"}),s("b",{className:"item",children:"Thành tiền"}),s("b",{className:"item col-span-2",children:"Nhà cung cấp "})]})]}),s("div",{className:"list-buildpc",children:[s("div",{className:"item-component flex items-start py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU"}),s("div",{className:"right w-[calc(100%-200px)]",children:s("div",{className:"item-info-product grid items-center grid-cols-8",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"/buildpc/detail",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"/buildpc/detail",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"total-amount",children:"4.000.000đ"}),s("div",{className:"supplier col-span-2 flex items-center justify-between",children:[s("a",{href:"",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-full block h-[30px] object-contain",alt:""})}),s("div",{className:"btn flex items-center",children:[s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"}),s("a",{href:"",className:"group hover:bg-red-500 p-1.5 rounded-[50%]",children:s("i",{className:"icon_2025 close group-hover:brightness-0 group-hover:invert-[1]"})})]})]})]})})]}),s("div",{className:"item-component flex items-start py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"right w-[calc(100%-200px)]",children:[s("div",{className:"item-info-product grid items-center grid-cols-8",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"/buildpc/detail",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"/buildpc/detail",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"total-amount",children:"4.000.000đ"}),s("div",{className:"supplier col-span-2 flex items-center justify-between",children:[s("a",{href:"",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-full block h-[30px] object-contain",alt:""})}),s("div",{className:"btn flex items-center",children:[s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"}),s("a",{href:"",className:"group hover:bg-red-500 p-1.5 rounded-[50%]",children:s("i",{className:"icon_2025 close group-hover:brightness-0 group-hover:invert-[1]"})})]})]})]}),s("div",{className:"item-info-product grid items-center grid-cols-8 mt-2.5 pt-2.5 border-t-[1px] border-neutral-200",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"/buildpc/detail",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"/buildpc/detail",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"total-amount",children:"4.000.000đ"}),s("div",{className:"supplier col-span-2 flex items-center justify-between",children:[s("a",{href:"",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-full block h-[30px] object-contain",alt:""})}),s("div",{className:"btn flex items-center",children:[s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"}),s("a",{href:"",className:"group hover:bg-red-500 p-1.5 rounded-[50%]",children:s("i",{className:"icon_2025 close group-hover:brightness-0 group-hover:invert-[1]"})})]})]})]}),s("a",{href:"javascript:void(0)",onClick:t=>{t.preventDefault(),e(!0)},className:"w-[130px] h-[30px] block text-xs mt-2.5 text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white",children:"+ Chọn thêm CPU"})]})]}),s("div",{className:"item-component flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"right w-[calc(100%-200px)]",children:s("a",{href:"javascript:void(0)",onClick:t=>{t.preventDefault(),e(!0)},className:"w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white",children:"+ Chọn thêm CPU"})})]}),s("div",{className:"item-component flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"right w-[calc(100%-200px)]",children:s("a",{href:"javascript:void(0)",onClick:t=>{t.preventDefault(),e(!0)},className:"w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white",children:"+ Chọn thêm CPU"})})]}),s("div",{className:"item-component flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"right w-[calc(100%-200px)]",children:s("a",{href:"javascript:void(0)",className:"w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white",children:"+ Chọn thêm CPU"})})]}),s("div",{className:"item-component flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"right w-[calc(100%-200px)]",children:s("a",{href:"javascript:void(0)",className:"w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white",children:"+ Chọn thêm CPU"})})]}),s("div",{className:"item-component flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"right w-[calc(100%-200px)]",children:s("a",{href:"javascript:void(0)",className:"w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white",children:"+ Chọn thêm CPU"})})]})]}),s("div",{className:"box-total-price pt-5",children:[s("b",{className:"block text-xl text-right text-red-600",children:"Tổng tiền 2 sản phẩm: 8.000.000đ"}),s("div",{className:"flex items-center justify-end gap-[10px] mt-3",children:[s("a",{href:"javascript:void(0)",className:"flex items-center px-7 py-2.5 border border-[#b3b3b3] rounded hover:bg-[#e0e0e0]",children:[s("i",{className:"icon_2025 print"}),s("span",{className:"ml-2",children:"In đơn hàng"})]}),s("a",{href:"javasript:void(0)",className:"px-7 py-2.5 text-center text-white bg-violet-900 rounded font-bold hover:bg-violet-700",children:"Mua hàng tại Hacom"})]})]}),s(Gl,{show:n,onClose:()=>e(!1)})]})}function Wl(){return s("div",{className:"page-buildpc bg-[#F4F4F4] pb-[100px]",children:s("div",{className:"container",children:[s("div",{className:"breadcrumb p-[12px_0]",children:s("ol",{itemscope:!0,itemtype:"http://schema.org/BreadcrumbList",className:"ul flex flex-wrap items-center",children:[s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/template/homepage/homepage.html",itemprop:"item",className:"nopad-l flex items-center text-[#637381]",children:s("span",{itemprop:"name",children:[s("span",{style:"font-size: 0; display: none;",children:"Trang chủ"}),s("i",{className:"icon_2025 home mr-[5px] mb-[5px]"})]})})," ",s("i",{className:"icon_2025 angle-right ml-[12px]"}),s("meta",{itemprop:"position",content:"1"})]}),s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/",itemprop:"item",className:"nopad-l flex items-center",children:s("span",{itemprop:"name",children:"Tạo máy tính riêng của bạn"})}),s("meta",{itemprop:"position",content:"2"})]})]})}),s("div",{className:"grid grid-cols-10 gap-2 px-3 py-2.5 mt-3 text-base leading-none text-black bg-white rounded",children:[s("div",{className:"col-span-4 h-[48px] rounded border border-solid border-neutral-200 flex items-center",children:[s("a",{className:"w-[24px] ml-[10px]",href:"javascript:void()",children:s("i",{className:"icon_2025 copy"})}),s("input",{type:"text",className:"w-full h-full p-[10px] outline-none",value:"https://bestpc.vn/restricted.php"})]}),s("div",{className:"col-span-3 h-[48px] rounded border border-solid border-neutral-200 flex items-center",children:[s("p",{className:"ml-[10px] block whitespace-nowrap",children:"Đặt tên:"}),s("input",{type:"text",className:"w-full h-full p-[10px] outline-none",value:""})]}),s("div",{className:"grid grid-cols-3 gap-[10px] col-span-3",children:[s("a",{href:"javascript:void(0)",className:"w-full block h-[48px] rounded border border-solid border-neutral-200 flex items-center justify-center hover:bg-[var(--color-global)] hover:text-white group",children:[s("i",{className:"icon_2025 history group-hover:brightness-0 group-hover:invert-[1]"}),s("span",{className:"ml-[5px]",children:"Lịch sử"})]}),s("a",{href:"javascript:void(0)",className:"w-full block h-[48px] rounded border border-solid border-neutral-200 flex items-center justify-center hover:bg-[var(--color-global)] hover:text-white group",children:[s("i",{className:"icon_2025 download group-hover:brightness-0 group-hover:invert-[1]"}),s("span",{className:"ml-[5px]",children:"Tải xuống"})]}),s("a",{href:"javascript:void(0)",className:"w-full block h-[48px] rounded border border-solid border-neutral-200 flex items-center justify-center hover:bg-[var(--color-global)] hover:text-white group",children:[s("i",{className:"icon_2025 return group-hover:brightness-0 group-hover:invert-[1]"}),s("span",{className:"ml-[5px]",children:"Làm mới"})]})]})]}),s("div",{className:"bg-white p-[15px]",children:[s("div",{className:"flex items-center gap-2",children:[s("a",{href:"/buildpc",className:"px-6 py-2.5 text-center font-bold text-white bg-violet-900 rounded",children:"Bắt đầu tạo"}),s("a",{href:"/buildpc/compare",className:"px-6 py-2.5 text-center font-bold text-stone-500 bg-zinc-100 rounded hover:text-white hover:bg-violet-900",children:"So sánh giá tại các cửa hàng"})]}),s(Vl,{})]})]})})}function Xl(){return s("div",{className:"list-component mt-5",children:[s("div",{className:"item-compare mb-12",children:[s("div",{className:"flex items-center border-b-[1px] border-neutral-200 pb-3",children:[s("b",{className:"left w-[200px] name-component",children:s("a",{href:"",className:"block m-[auto_auto_auto_0]",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-[150px] block h-[50px] object-contain",alt:""})})}),s("div",{className:"right w-[calc(100%-200px)] grid grid-cols-8",children:[s("b",{className:"item col-span-3",children:"Sản phẩm"}),s("b",{className:"item",children:"Giá gốc"}),s("b",{className:"item",children:"Khuyến mãi"}),s("b",{className:"item",children:"Giao hàng"}),s("b",{className:"item col-span-2",children:"Thành tiền"})]})]}),s("div",{className:"list-product",children:[s("div",{className:"item-info-product flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"w-[calc(100%-200px)] grid items-center grid-cols-8",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"ship underline",children:"Liên hệ"}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("b",{className:"total-amount",children:"4.000.000đ"}),s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"})]})]})]}),s("div",{className:"item-info-product flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"w-[calc(100%-200px)] grid items-center grid-cols-8",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"ship underline text-[#33c600]",children:"Liên hệ"}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("b",{className:"total-amount",children:"4.000.000đ"}),s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"})]})]})]})]}),s("div",{className:"text-right flex items-center font-bold justify-end mt-5",children:[s("div",{className:"mr-[10px]",children:["Tổng tiền (",s("span",{children:"2"})," sản phẩm) :"]}),s("div",{className:"font-bold",children:"6.000.000 Vnđ"})]})]}),s("div",{className:"item-compare mb-12",children:[s("div",{className:"flex items-center border-b-[1px] border-neutral-200 pb-3",children:[s("b",{className:"left w-[200px] name-component",children:s("a",{href:"",className:"block m-[auto_auto_auto_0]",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-[150px] block h-[50px] object-contain",alt:""})})}),s("div",{className:"right w-[calc(100%-200px)] grid grid-cols-8",children:[s("b",{className:"item col-span-3",children:"Sản phẩm"}),s("b",{className:"item",children:"Giá gốc"}),s("b",{className:"item",children:"Khuyến mãi"}),s("b",{className:"item",children:"Giao hàng"}),s("b",{className:"item col-span-2",children:"Thành tiền"})]})]}),s("div",{className:"list-product",children:[s("div",{className:"item-info-product flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"w-[calc(100%-200px)] grid items-center grid-cols-8",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"ship underline",children:"Liên hệ"}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("b",{className:"total-amount",children:"4.000.000đ"}),s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"})]})]})]}),s("div",{className:"item-info-product flex items-center py-2.5 border-b-[1px] border-neutral-200",children:[s("b",{className:"name-component block w-[200px]",children:"CPU Cooler"}),s("div",{className:"w-[calc(100%-200px)] grid items-center grid-cols-8",children:[s("div",{className:"info col-span-3",children:s("div",{className:"flex items-center",children:[s("a",{href:"",className:"image w-[60px] h-[60px] block border border-neutral-200 p-1 mr-[10px]",children:s("img",{src:"/assets/images/lienkien-ram.png",width:"100%",height:"100%",className:"block w-full h-full object-contain",alt:""})}),s("a",{href:"",className:"name-product w-[calc(100%-100px)] hover:text-[var(--color-hover)]",children:"AMD Ryzen 7 9800x3D 4.7 GHz 8-Core Processor"})]})}),s("div",{className:"old-price font-400",children:"4.700.000 Vnđ"}),s("div",{className:"price-saleoff font-400",children:"20%"}),s("b",{className:"ship underline text-[#33c600]",children:"Liên hệ"}),s("div",{className:"col-span-2 flex items-center justify-between",children:[s("b",{className:"total-amount",children:"4.000.000đ"}),s("a",{href:"",className:"px-5 py-2 bg-blue-600 rounded text-white font-bold mr-[10px] hover:bg-blue-800",children:"Mua ngay"})]})]})]})]}),s("div",{className:"text-right flex items-center font-bold justify-end mt-5",children:[s("div",{className:"mr-[10px]",children:["Tổng tiền (",s("span",{children:"2"})," sản phẩm) :"]}),s("div",{className:"font-bold",children:"6.000.000 Vnđ"})]})]})]})}function ql(){return s("div",{className:"page-buildpc bg-[#F4F4F4] pb-[100px]",children:s("div",{className:"container",children:[s("div",{className:"breadcrumb p-[12px_0]",children:s("ol",{itemscope:!0,itemtype:"http://schema.org/BreadcrumbList",className:"ul flex flex-wrap items-center",children:[s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/template/homepage/homepage.html",itemprop:"item",className:"nopad-l flex items-center text-[#637381]",children:s("span",{itemprop:"name",children:[s("span",{style:"font-size: 0; display: none;",children:"Trang chủ"}),s("i",{className:"icon_2025 home mr-[5px] mb-[5px]"})]})})," ",s("i",{className:"icon_2025 angle-right ml-[12px]"}),s("meta",{itemprop:"position",content:"1"})]}),s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/",itemprop:"item",className:"nopad-l flex items-center",children:s("span",{itemprop:"name",children:"So sánh giá tại các cửa hàng"})}),s("meta",{itemprop:"position",content:"2"})]})]})}),s("div",{className:"grid grid-cols-10 gap-2 px-3 py-2.5 mt-3 text-base leading-none text-black bg-white rounded",children:[s("div",{className:"col-span-4 h-[48px] rounded border border-solid border-neutral-200 flex items-center",children:[s("a",{className:"w-[24px] ml-[10px]",href:"javascript:void()",children:s("i",{className:"icon_2025 copy"})}),s("input",{type:"text",className:"w-full h-full p-[10px] outline-none",value:"https://bestpc.vn/restricted.php"})]}),s("div",{className:"col-span-3 h-[48px] rounded border border-solid border-neutral-200 flex items-center",children:[s("p",{className:"ml-[10px] block whitespace-nowrap",children:"Đặt tên:"}),s("input",{type:"text",className:"w-full h-full p-[10px] outline-none",value:""})]}),s("div",{className:"grid grid-cols-3 gap-[10px] col-span-3",children:[s("a",{href:"javascript:void(0)",className:"w-full block h-[48px] rounded border border-solid border-neutral-200 flex items-center justify-center hover:bg-[var(--color-global)] hover:text-white group",children:[s("i",{className:"icon_2025 history group-hover:brightness-0 group-hover:invert-[1]"}),s("span",{className:"ml-[5px]",children:"Lịch sử"})]}),s("a",{href:"javascript:void(0)",className:"w-full block h-[48px] rounded border border-solid border-neutral-200 flex items-center justify-center hover:bg-[var(--color-global)] hover:text-white group",children:[s("i",{className:"icon_2025 download group-hover:brightness-0 group-hover:invert-[1]"}),s("span",{className:"ml-[5px]",children:"Tải xuống"})]}),s("a",{href:"javascript:void(0)",className:"w-full block h-[48px] rounded border border-solid border-neutral-200 flex items-center justify-center hover:bg-[var(--color-global)] hover:text-white group",children:[s("i",{className:"icon_2025 return group-hover:brightness-0 group-hover:invert-[1]"}),s("span",{className:"ml-[5px]",children:"Làm mới"})]})]})]}),s("div",{className:"bg-white p-[15px]",children:[s("div",{className:"flex items-center gap-2",children:[s("a",{href:"/buildpc",className:"px-6 py-2.5 text-center font-bold text-stone-500 bg-zinc-100 rounded hover:text-white hover:bg-violet-900",children:"Bắt đầu tạo"}),s("a",{href:"/buildpc/compare",className:"px-6 py-2.5 text-center font-bold bg-violet-900 text-white rounded",children:"So sánh giá tại các cửa hàng"})]}),s(Xl,{})]})]})})}function Yl(){const[n,e]=ne(null);return s("div",{className:"page-buildpc pb-[100px]",children:s("div",{className:"container",children:[s("div",{className:"breadcrumb p-[12px_0]",children:s("ol",{itemscope:!0,itemtype:"http://schema.org/BreadcrumbList",className:"ul flex flex-wrap items-center",children:[s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/template/homepage/homepage.html",itemprop:"item",className:"nopad-l flex items-center text-[#637381]",children:s("span",{itemprop:"name",children:[s("span",{style:"font-size: 0; display: none;",children:"Trang chủ"}),s("i",{className:"icon_2025 home mr-[5px] mb-[5px]"})]})})," ",s("i",{className:"icon_2025 angle-right ml-[12px]"}),s("meta",{itemprop:"position",content:"1"})]}),s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/",itemprop:"item",className:"nopad-l flex items-center",children:s("span",{itemprop:"name",children:"Tạo máy tính riêng của bạn"})})," ",s("i",{className:"icon_2025 angle-right ml-[12px]"}),s("meta",{itemprop:"position",content:"2"})]}),s("li",{itemprop:"itemListElement",itemscope:!0,itemtype:"http://schema.org/ListItem",className:"flex items-center pr-[12px]",children:[s("a",{href:"/",itemprop:"item",className:"nopad-l flex items-center",children:s("span",{itemprop:"name",children:"Tham khảo giá sản phẩm"})}),s("meta",{itemprop:"position",content:"3"})]})]})}),s("h1",{className:"text-2xl mb-5 block font-bold",children:"Tham khảo giá sản phẩm"}),s("div",{className:"grid grid-cols-3 gap-[20px] mb-[30px]",children:[s("div",{className:"col-span-1 p-[15px] rounded-[8px] border border-[#d7d7d7]",children:[s(Oe,{spaceBetween:10,navigation:!0,thumbs:{swiper:n},modules:[Ye,Xe,qe],className:"swiper",id:"js-slider-build-big",children:[s(D,{children:s("img",{src:"/assets/images/big-product-detail.png",className:"block w-full h-[400px] object-contain",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail.png",className:"block w-full h-[400px] object-contain",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail.png",className:"block w-full h-[400px] object-contain",alt:""})}),s(D,{children:s("img",{src:"/assets/images/big-product-detail.png",className:"block w-full h-[400px] object-contain",alt:""})})]}),s("div",{className:"relative mt-[12px] w-[80%] mx-[auto]",children:[s(Oe,{onSwiper:e,spaceBetween:10,slidesPerView:3,navigation:{prevEl:"#btn-slider-small .swiper-button-prev",nextEl:"#btn-slider-small .swiper-button-next"},freeMode:!0,watchSlidesProgress:!0,modules:[Ye,Xe,qe],className:"swiper",id:"js-slider-build-small",children:[s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-full block h-[80px] object-contain ",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-full block h-[80px] object-contain ",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-full block h-[80px] object-contain ",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-full block h-[80px] object-contain ",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-full block h-[80px] object-contain ",alt:""})}),s(D,{children:s("img",{src:"/assets/images/small-product-detail.png",className:"w-full block h-[80px] object-contain ",alt:""})})]}),s("div",{className:"btn-small",id:"btn-slider-small",children:[s("div",{className:"swiper-button-next right-[-15px] w-[25px] h-[25px]"}),s("div",{className:"swiper-button-prev left-[-15px] w-[25px] h-[25px] text-sm"})]})]}),s("div",{className:"box-review mt-3",children:[s("div",{className:"flex items-center justify-center",children:[s("b",{children:"Người đánh giá"}),s("div",{className:"flex items-center ml-[10px]",children:["(40 ratings, 4.9 ",s("i",{className:"icon-star star-small ml-1"}),")"]})]}),s("div",{className:"",children:[s("div",{className:"flex items-center justify-between gap-[10px] w-full mb-1",children:[s("p",{className:"w-[11%] text-[var(--color-hover)] font-bold",children:"5 sao"}),s("div",{className:"relative w-[79%]",children:[s("div",{className:"block w-full h-[11px] bg-gray-500"}),s("div",{className:"absolute left-0 top-0 h-full w-[90%] bg-[#ff960b]"})]}),s("p",{className:"text-[var(--color-hover)] w-[9%] font-bold",children:"97%"})]}),s("div",{className:"flex items-center justify-between gap-[10px] w-full mb-1",children:[s("p",{className:"w-[11%] text-[var(--color-hover)] font-bold",children:"4 sao"}),s("div",{className:"relative w-[79%]",children:[s("div",{className:"block w-full h-[11px] bg-gray-500"}),s("div",{className:"absolute left-0 top-0 h-full w-[90%] bg-[#ff960b]"})]}),s("p",{className:"text-[var(--color-hover)] w-[9%] font-bold",children:"97%"})]}),s("div",{className:"flex items-center justify-between gap-[10px] w-full mb-1",children:[s("p",{className:"w-[11%] text-[var(--color-hover)] font-bold",children:"3 sao"}),s("div",{className:"relative w-[79%]",children:[s("div",{className:"block w-full h-[11px] bg-gray-500"}),s("div",{className:"absolute left-0 top-0 h-full w-[90%] bg-[#ff960b]"})]}),s("p",{className:"text-[var(--color-hover)] w-[9%] font-bold",children:"97%"})]}),s("div",{className:"flex items-center justify-between gap-[10px] w-full mb-1",children:[s("p",{className:"w-[11%] text-[var(--color-hover)] font-bold",children:"2 sao"}),s("div",{className:"relative w-[79%]",children:[s("div",{className:"block w-full h-[11px] bg-gray-500"}),s("div",{className:"absolute left-0 top-0 h-full w-[90%] bg-[#ff960b]"})]}),s("p",{className:"text-[var(--color-hover)] w-[9%] font-bold",children:"97%"})]}),s("div",{className:"flex items-center justify-between gap-[10px] w-full mb-1",children:[s("p",{className:"w-[11%] text-[var(--color-hover)] font-bold",children:"1 sao"}),s("div",{className:"relative w-[79%]",children:[s("div",{className:"block w-full h-[11px] bg-gray-500"}),s("div",{className:"absolute left-0 top-0 h-full w-[90%] bg-[#ff960b]"})]}),s("p",{className:"text-[var(--color-hover)] w-[9%] font-bold",children:"97%"})]})]})]})]}),s("div",{className:"col-span-2",children:[s("div",{className:"grid grid-cols-7 gap-[5px] items-center pb-2.5 border-b-[1px] border-[#ababab]",children:[s("b",{children:"Nhà cung cấp"}),s("b",{children:"Giá gốc"}),s("b",{children:"Khuyến mãi"}),s("b",{children:"Tình trạng"}),s("b",{children:"Giao hàng"}),s("b",{className:"col-span-2",children:"Thành tiền"})]}),s("div",{className:"list",children:[s("div",{className:"item grid grid-cols-7 items-center gap-[5px] py-2.5 border-b-[1px] border-[#ebebeb]",children:[s("a",{href:"",className:"block",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-full block h-[28px] object-contain",alt:""})}),s("div",{className:"price font-bold",children:"3.700.000Vnđ"}),s("div",{className:"saleoff text-center font-bold",children:"20%"}),s("div",{className:"status text-blue-500 font-bold",children:"Còn hàng"}),s("div",{className:"ship underline",children:"Liên hệ"}),s("div",{className:"flex items-center justify-between col-span-2",children:[s("div",{className:"total-price font-bold",children:"3.000.000Vnđ"}),s("a",{href:"",className:"block w-[115px] h-[40px] font-bold bg-blue-600 text-center text-white leading-[40px] rounded-[4px] hover:bg-blue-800",children:"Mua ngay"})]})]}),s("div",{className:"item grid grid-cols-7 items-center gap-[5px] py-2.5 border-b-[1px] border-[#ebebeb]",children:[s("a",{href:"",className:"block",children:s("img",{src:"/assets/images/logo-hacom.png",width:"100%",height:"100%",className:"w-full block h-[28px] object-contain",alt:""})}),s("div",{className:"price font-bold",children:"3.700.000Vnđ"}),s("div",{className:"saleoff text-center font-bold",children:"20%"}),s("div",{className:"status text-red-500 font-bold",children:"Còn hàng"}),s("div",{className:"ship underline text-green-500",children:"free"}),s("div",{className:"flex items-center justify-between col-span-2",children:[s("div",{className:"total-price font-bold",children:"3.000.000Vnđ"}),s("a",{href:"",className:"block w-[115px] h-[40px] font-bold bg-blue-600 text-center text-white leading-[40px] rounded-[4px] hover:bg-blue-800",children:"Mua ngay"})]})]})]})]})]}),s("div",{className:"grid grid-cols-3 gap-[20px]",children:[s("div",{className:"col-span-1",children:[s("h3",{className:"title text-2xl font-bold pb-2.5 border-b-[1px] border-[#ababab]",children:"Thông số kỹ thuật"}),s("div",{children:[s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Manufacturer"}),s("p",{children:"AMD"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Part #"}),s("ul",{children:[s("li",{children:"100-1000001084WOF"}),s("li",{children:"AMD Ryzen 7 9800X3D"}),s("li",{children:"100-100001084WOF"})]})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Series"}),s("p",{children:"AMD Ryzen 7"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Microarchitecture"}),s("p",{children:"Zen 5"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Core Family"}),s("p",{children:"Granite Ridge"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Socket"}),s("p",{children:"AM5"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Core"}),s("p",{children:"8"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Thread Count"}),s("p",{children:"16"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Performance Core Clock"}),s("p",{children:"4.7 GHz"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"Performance Core Boost Clock"}),s("p",{children:"5.2 GHz"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"L2 Cache"}),s("p",{children:"8 MB"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"L3 Cache"}),s("p",{children:"96 MB"})]}),s("div",{className:"item py-2 border-b-[1px] border-neutral-200",children:[s("b",{children:"TDP"}),s("p",{children:"120 W"})]}),s("div",{className:"item py-2",children:[s("b",{children:"Integrated Graphics"}),s("p",{children:"Radeon"})]})]})]}),s("div",{className:"col-span-2",children:[s("div",{className:"flex items-center justify-between pb-2.5 border-b-[1px] border-[#ababab]",children:[s("h3",{className:"title text-2xl font-bold",children:"Đánh giá"}),s("a",{href:"",className:"inline-block py-1 px-5 bg-blue-600 text-white font-bold rounded-[4px] hover:bg-blue-800",children:"Xem tất cả bình luận"})]}),s("div",{className:"list mt-3",children:s("div",{className:"item-review flex mb-[15px] pb-[15px] border-b-[1px] border-[#E4E4E4]",children:[s("div",{className:"w-[80px] mr-[20px]",children:[s("img",{src:"/assets/images/avartar-review-1.png",width:"75px",height:"75px",alt:"avartar"}),s("div",{className:"mt-[10px]",children:s("i",{className:"icon-star star5"})})]}),s("div",{className:"w-[calc(100%-100px)]",children:[s("b",{className:"mb-[10px]",children:"Dino"}),s("p",{className:"mb-[10px] block text-[#747474]",children:"10:00pm 20/02/2025"}),s("p",{className:"content mb-[5px]",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. I"}),s("div",{className:"btn flex items-center",children:[s("div",{className:"flex items-center mr-[10px]",children:[s("b",{className:"mr-[5px]",children:"120"}),s("i",{className:"icon_2025 view"})]}),s("div",{className:"flex items-center",children:[s("b",{className:"mr-[5px]",children:"120"}),s("i",{className:"icon_2025 comment"})]})]})]})]})})]})]})]})})}function Ul(){return s(ft,{children:s("main",{children:s(ms,{children:[s(xt,{path:"/product-detail",component:$l}),s(xt,{path:"/buildpc",component:Wl}),s(xt,{path:"/buildpc/compare",component:ql}),s(xt,{path:"/buildpc/detail",component:Yl})]})})})}Ke(s(Ul,{}),document.getElementById("root"));